main.js 93.7 KB
!function(){var e={511:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(e){"use strict";var t="SUIAccordion",n={};function r(r,o){this.element=r,this.$element=e(this.element),this.settings=e.extend({},n,o),this._defaults=n,this._name=t,this.init()}e.extend(r.prototype,{init:function(){this.$element.on("click","div.sui-accordion-item-header, tr.sui-accordion-item",(function(t){var n=e(this).closest(".sui-accordion-item"),r=(n.nextUntil(".sui-accordion-item").filter(".sui-accordion-item-content"),n.closest(".sui-accordion"),n.find(".sui-chartjs-animated"),e(t.target)),o=e(this),i=o.parent(),a=i.find(".sui-chartjs-animated"),s=i.parent(),c=o.next(".sui-accordion-item-body").find(" .sui-box"),u=e(this),l=u.nextUntil(".sui-accordion-item").filter(".sui-accordion-item-content"),d=l.find(".sui-box"),f=e(this).find(".sui-accordion-open-indicator > .sui-screen-reader-text"),p=null==f?void 0:f.text(),h=null==f?void 0:f.data("content");if(r.closest(".sui-accordion-item-action").length)return!0;o.hasClass("sui-accordion-item-header")&&(i.hasClass("sui-accordion-item--disabled")||i.hasClass("sui-accordion-item--open")?i.removeClass("sui-accordion-item--open"):(i.addClass("sui-accordion-item--open"),c.attr("tabindex","0").trigger("focus")),s.hasClass("sui-accordion-block")&&0!==a.length&&(i.find(".sui-accordion-item-data").addClass("sui-onload"),a.removeClass("sui-chartjs-loaded"),i.hasClass("sui-accordion-item--open")&&setTimeout((function(){i.find(".sui-accordion-item-data").removeClass("sui-onload"),a.addClass("sui-chartjs-loaded")}),1200))),u.hasClass("sui-accordion-item")&&(u.hasClass("sui-accordion-item--disabled")?l.removeClass("sui-accordion-item--open"):u.hasClass("sui-accordion-item--open")?(u.removeClass("sui-accordion-item--open"),l.removeClass("sui-accordion-item--open")):(u.addClass("sui-accordion-item--open"),l.addClass("sui-accordion-item--open"),d.attr("tabindex","0").trigger("focus"))),h&&(f.html(h),f.data("content",p)),t.stopPropagation()}))}}),e.fn[t]=function(n){return this.each((function(){e.data(this,t)||e.data(this,t,new r(this,n))}))}}(jQuery,window,document),function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.suiAccordion=function(e){return t(e).SUIAccordion({}),this},0!==t(".sui-2-12-18 .sui-accordion").length&&t(".sui-2-12-18 .sui-accordion").each((function(){SUI.suiAccordion(this)}))}(jQuery)},679:function(e,t,n){"use strict";var r=n(864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||r&&r[b]||m&&m[b]||s&&s[b])){var v=f(n,b);try{u(t,b,v)}catch(e){}}}}return t}},921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||S(e)===l},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===u},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=S},864:function(e,t,n){"use strict";e.exports=n(921)},774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=e[u],d=t[u];if(!1===(o=n?n.call(r,l,d,u):void 0)||void 0===o&&l!==d)return!1}return!0}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nc=void 0,function(){"use strict";var e=window.wp.element,t=window.React,r=n.n(t);const{__:__,sprintf:o}=wp.i18n;function i(t){return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"sui-box-banner",role:"banner","aria-hidden":"true"}),(0,e.createElement)("h2",{id:"blc-plugin-welcome-modal-header",className:"box-title"},__("Introducing Edit Link and Unlink features in Broken Link Checker!","broken-link-checker")))}function a(t){let n="",r=void 0!==t.id?t.id:"";return void 0!==t.classes&&(n=t.classes),(0,e.createElement)("div",{...r?{id:r}:{},className:`sui-grid ${n}`},t.children)}function s(t){let n="";return void 0!==t.classes&&(n=t.classes),(0,e.createElement)("div",{className:`sui-row ${n}`},t.children)}function c(t){let n="";return void 0!==t.classes&&(n=t.classes),(0,e.createElement)("div",{className:`sui-col ${n}`},t.children)}function u(t){const n=new Array("text","contained");let r="contained"===(void 0!==t.variant&&-1!=n.indexOf(t.variant)?t.variant:"contained")?"sui-button":"sui-button-icon",o=void 0!==t.content?t.content:"",i=void 0!==t.ariaLabel?t.ariaLabel:o,a=void 0!==t.id?t.id:"",s=void 0!==t.classes?t.classes:"",c=(void 0!==t.disabled&&t.disabled,!(void 0===t.outlined||!t.outlined)),u=!(void 0===t.dashed||!t.dashed),l=!(void 0===t.large||!t.large),d=void 0!==t.color?t.color:"",f=(void 0!==t.onClick&&t.onClick,{}),p="";return""!==d&&(p=`sui-button-${d}`),c&&(s+=" sui-button-ghost"),u&&(s+=" sui-button-dashed"),l&&(s+=" sui-button-lg"),void 0!==t.tooltip&&t.tooltip.length>0&&(f={"data-tooltip":t.tooltip},s+=" sui-tooltip",void 0!==t.tooltip_constrained&&t.tooltip_constrained&&(s+=" sui-tooltip-constrained"),void 0!==t.tooltip_bottom&&t.tooltip_bottom&&(s+=" sui-tooltip-bottom")),t.isLoading&&(s+=" sui-button-onload",o=(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"sui-icon-loader sui-loading","aria-hidden":"true"}),(0,e.createElement)("span",{className:"sui-loading-text"},o))),(0,e.createElement)("button",{...a?{id:a}:{},"aria-label":i,className:`${r} ${p} ${s}`,onClick:t.onClick,disabled:t.disabled,...f,ref:t.mainReference},t.buttonIcon&&(0,e.createElement)("span",{ref:t.iconReference,className:`sui-icon-${t.buttonIcon}`,"aria-hidden":"true"}),o,i&&(0,e.createElement)("span",{className:"sui-screen-reader-text"},i))}n(511);var l=n(864),d=n(774),f=n.n(d),p=function(e){function t(e,r,c,u,f){for(var p,h,m,g,w,E=0,x=0,O=0,C=0,k=0,j=0,I=m=p=0,B=0,D=0,F=0,U=0,M=c.length,z=M-1,$="",q="",H="",W="";B<M;){if(h=c.charCodeAt(B),B===z&&0!==x+C+O+E&&(0!==x&&(h=47===x?10:47),C=O=E=0,M++,z++),0===x+C+O+E){if(B===z&&(0<D&&($=$.replace(d,"")),0<$.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:$+=c.charAt(B)}h=59}switch(h){case 123:for(p=($=$.trim()).charCodeAt(0),m=1,U=++B;B<M;){switch(h=c.charCodeAt(B)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(B+1)){case 42:case 47:e:{for(I=B+1;I<z;++I)switch(c.charCodeAt(I)){case 47:if(42===h&&42===c.charCodeAt(I-1)&&B+2!==I){B=I+1;break e}break;case 10:if(47===h){B=I+1;break e}}B=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;B++<z&&c.charCodeAt(B)!==h;);}if(0===m)break;B++}if(m=c.substring(U,B),0===p&&(p=($=$.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<D&&($=$.replace(d,"")),h=$.charCodeAt(1)){case 100:case 109:case 115:case 45:D=r;break;default:D=P}if(U=(m=t(r,D,m,h,f+1)).length,0<_&&(w=s(3,m,D=n(P,$,F),r,R,A,U,h,f,u),$=D.join(""),void 0!==w&&0===(U=(m=w.trim()).length)&&(h=0,m="")),0<U)switch(h){case 115:$=$.replace(S,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(b,"$1 $2"))+"{"+m+"}",m=1===N||2===N&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===u&&(q+=m,m="")}else m=""}else m=t(r,n(r,$,F),m,u,f+1);H+=m,m=F=D=I=p=0,$="",h=c.charCodeAt(++B);break;case 125:case 59:if(1<(U=($=(0<D?$.replace(d,""):$).trim()).length))switch(0===I&&(p=$.charCodeAt(0),45===p||96<p&&123>p)&&(U=($=$.replace(" ",":")).length),0<_&&void 0!==(w=s(1,$,r,e,R,A,q.length,u,f,u))&&0===(U=($=w.trim()).length)&&($="\0\0"),p=$.charCodeAt(0),h=$.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){W+=$+c.charAt(B);break}default:58!==$.charCodeAt(U-1)&&(q+=o($,p,h,$.charCodeAt(2)))}F=D=I=p=0,$="",h=c.charCodeAt(++B)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==u&&0<$.length&&(D=1,$+="\0"),0<_*L&&s(0,$,r,e,R,A,q.length,u,f,u),A=1,R++;break;case 59:case 125:if(0===x+C+O+E){A++;break}default:switch(A++,g=c.charAt(B),h){case 9:case 32:if(0===C+E+x)switch(k){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+x+E&&(D=F=1,g="\f"+g);break;case 108:if(0===C+x+E+T&&0<I)switch(B-I){case 2:112===k&&58===c.charCodeAt(B-3)&&(T=k);case 8:111===j&&(T=j)}break;case 58:0===C+x+E&&(I=B);break;case 44:0===x+O+C+E&&(D=1,g+="\r");break;case 34:case 39:0===x&&(C=C===h?0:0===C?h:C);break;case 91:0===C+x+O&&E++;break;case 93:0===C+x+O&&E--;break;case 41:0===C+x+E&&O--;break;case 40:0===C+x+E&&(0===p&&(2*k+3*j==533||(p=1)),O++);break;case 64:0===x+O+C+E+I+m&&(m=1);break;case 42:case 47:if(!(0<C+E+O))switch(x){case 0:switch(2*h+3*c.charCodeAt(B+1)){case 235:x=47;break;case 220:U=B,x=42}break;case 42:47===h&&42===k&&U+2!==B&&(33===c.charCodeAt(U+2)&&(q+=c.substring(U,B+1)),g="",x=0)}}0===x&&($+=g)}j=k,k=h,B++}if(0<(U=q.length)){if(D=r,0<_&&void 0!==(w=s(2,q,D,e,R,A,U,u,f,u))&&0===(q=w).length)return W+q+H;if(q=D.join(",")+"{"+q+"}",0!=N*T){switch(2!==N||i(q,2)||(T=0),T){case 111:q=q.replace(y,":-moz-$1")+q;break;case 112:q=q.replace(v,"::-webkit-input-$1")+q.replace(v,"::-moz-$1")+q.replace(v,":-ms-input-$1")+q}T=0}}return W+q+H}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[c++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===N||2===N&&i(c,1)?"-webkit-"+c+c:c}if(0===N||2===N&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(k,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(w,"tb");break;case 232:c=a.replace(w,"tb-rl");break;case 220:c=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(O,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,c,l){for(var d,f=0,p=t;f<_;++f)switch(d=j[f].call(u,e,p,n,r,o,i,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?N=1:(N=2,I=e):N=0),c}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<_){var o=s(-1,n,r,r,R,A,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(P,r,n,0,0);return 0<_&&void 0!==(o=s(-2,i,r,r,R,A,i.length,0,0,0))&&(i=o),T=0,A=R=1,i}var l=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,b=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,x=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,A=1,R=1,T=0,N=1,P=[],j=[],_=0,I=null,L=0;return u.use=function e(t){switch(t){case void 0:case null:_=j.length=0;break;default:if("function"==typeof t)j[_++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},u.set=c,void 0!==e&&c(e),u},h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function m(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var g=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,b=m((function(e){return g.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),v=n(679),y=n.n(v);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var S=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},E=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,l.typeOf)(e)},x=Object.freeze([]),O=Object.freeze({});function C(e){return"function"==typeof e}function k(e){return e.displayName||e.name||"Component"}function A(e){return e&&"string"==typeof e.styledComponentId}var R="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",T="undefined"!=typeof window&&"HTMLElement"in window,N=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY));function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&P(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),_=new Map,I=new Map,L=1,B=function(e){if(_.has(e))return _.get(e);for(;I.has(L);)L++;var t=L++;return _.set(e,t),I.set(t,e),t},D=function(e){return I.get(e)},F=function(e,t){t>=L&&(L=t+1),_.set(e,t),I.set(t,e)},U="style["+R+'][data-styled-version="5.3.11"]',M=new RegExp("^"+R+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),z=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},$=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(M);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(F(u,c),z(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(a)}}},q=function(){return n.nc},H=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(R))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(R,"active"),r.setAttribute("data-styled-version","5.3.11");var a=q();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},W=function(){function e(e){var t=this.element=H(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}P(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),G=function(){function e(e){var t=this.element=H(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),V=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),J=T,K={isServer:!T,useCSSOMInjection:!N},Y=function(){function e(e,t,n){void 0===e&&(e=O),void 0===t&&(t={}),this.options=w({},K,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&T&&J&&(J=!1,function(e){for(var t=document.querySelectorAll(U),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(R)&&($(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return B(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(w({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new V(o):r?new W(o):new G(o),new j(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(B(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(B(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(B(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=D(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var c=R+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),X=/(a)(d)/gi,Q=function(e){return String.fromCharCode(e+(e>25?39:97))};function Z(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Q(t%52)+n;return(Q(t%52)+n).replace(X,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(C(n)&&!A(n))return!1}return!0}var re=te("5.3.11"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=Se(this.rules,e,t,n).join(""),a=Z(ee(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var f=this.rules[d];if("string"==typeof f)l+=f;else if(f){var p=Se(f,e,t,n),h=Array.isArray(p)?p.join(""):p;u=ee(u,h+d),l+=h}}if(l){var m=Z(u>>>0);if(!t.hasNameForId(r,m)){var g=n(l,"."+m,void 0,r);t.insertRules(r,m,g)}o.push(m)}}return o.join(" ")},e}(),ie=/^\s*\/\/.*$/gm,ae=[":","[",".","#"];function se(e){var t,n,r,o,i=void 0===e?O:e,a=i.options,s=void 0===a?O:a,c=i.plugins,u=void 0===c?x:c,l=new p(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,i){return 0===r&&-1!==ae.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,s){void 0===s&&(s="&");var c=e.replace(ie,""),u=i&&a?a+" "+i+" { "+c+" }":c;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(a||!i?"":i,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||P(15),ee(e,t.name)}),5381).toString():"",m}var ce=r().createContext(),ue=(ce.Consumer,r().createContext()),le=(ue.Consumer,new Y),de=se();function fe(){return(0,t.useContext)(ce)||le}function pe(e){var n=(0,t.useState)(e.stylisPlugins),o=n[0],i=n[1],a=fe(),s=(0,t.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=(0,t.useMemo)((function(){return se({options:{prefix:!e.disableVendorPrefixes},plugins:o})}),[e.disableVendorPrefixes,o]);return(0,t.useEffect)((function(){f()(o,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),r().createElement(ce.Provider,{value:s},r().createElement(ue.Provider,{value:c},e.children))}var he=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=de);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return P(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=de),this.name+e.hash},e}(),me=/([A-Z])/,ge=/([A-Z])/g,be=/^ms-/,ve=function(e){return"-"+e.toLowerCase()};function ye(e){return me.test(e)?e.replace(ge,ve).replace(be,"-ms-"):e}var we=function(e){return null==e||!1===e||""===e};function Se(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=Se(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return we(e)?"":A(e)?"."+e.styledComponentId:C(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:Se(e(t),t,n,r):e instanceof he?n?(e.inject(n,r),e.getName(r)):e:E(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!we(t[a])&&(Array.isArray(t[a])&&t[a].isCss||C(t[a])?i.push(ye(a)+":",t[a],";"):E(t[a])?i.push.apply(i,e(t[a],a)):i.push(ye(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in h||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var c}var Ee=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function xe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return C(e)||E(e)?Ee(Se(S(x,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ee(Se(S(e,n)))}new Set;var Oe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ce=/(^-|-$)/g;function ke(e){return e.replace(Oe,"-").replace(Ce,"")}function Ae(e){return"string"==typeof e&&!0}var Re=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Te=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ne(e,t,n){var r=e[n];Re(t)&&Re(r)?Pe(r,t):e[n]=t}function Pe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Re(a))for(var s in a)Te(s)&&Ne(e,a[s],s)}return e}var je=r().createContext();je.Consumer;var _e={};function Ie(e,n,o){var i=A(e),a=!Ae(e),s=n.attrs,c=void 0===s?x:s,u=n.componentId,l=void 0===u?function(e,t){var n="string"!=typeof e?"sc":ke(e);_e[n]=(_e[n]||0)+1;var r=n+"-"+function(e){return Z(te(e)>>>0)}("5.3.11"+n+_e[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):u,d=n.displayName,f=void 0===d?function(e){return Ae(e)?"styled."+e:"Styled("+k(e)+")"}(e):d,p=n.displayName&&n.componentId?ke(n.displayName)+"-"+n.componentId:n.componentId||l,h=i&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,m=n.shouldForwardProp;i&&e.shouldForwardProp&&(m=n.shouldForwardProp?function(t,r,o){return e.shouldForwardProp(t,r,o)&&n.shouldForwardProp(t,r,o)}:e.shouldForwardProp);var g,v=new oe(o,p,i?e.componentStyle:void 0),S=v.isStatic&&0===c.length,E=function(e,n){return function(e,n,r,o){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.shouldForwardProp,l=e.styledComponentId,d=e.target,f=function(e,t,n){void 0===e&&(e=O);var r=w({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in C(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(function(e,t,n){return void 0===n&&(n=O),e.theme!==n.theme&&e.theme||t||n.theme}(n,(0,t.useContext)(je),s)||O,n,i),p=f[0],h=f[1],m=function(e,n,r,o){var i=fe(),a=(0,t.useContext)(ue)||de;return n?e.generateAndInjectStyles(O,i,a):e.generateAndInjectStyles(r,i,a)}(a,o,p),g=r,v=h.$as||n.$as||h.as||n.as||d,y=Ae(v),S=h!==n?w({},n,{},h):n,E={};for(var x in S)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?E.as=S[x]:(u?u(x,b,v):!y||b(x))&&(E[x]=S[x]));return n.style&&h.style!==n.style&&(E.style=w({},n.style,{},h.style)),E.className=Array.prototype.concat(c,l,m!==l?m:null,n.className,h.className).filter(Boolean).join(" "),E.ref=g,(0,t.createElement)(v,E)}(g,e,n,S)};return E.displayName=f,(g=r().forwardRef(E)).attrs=h,g.componentStyle=v,g.displayName=f,g.shouldForwardProp=m,g.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):x,g.styledComponentId=p,g.target=i?e.target:e,g.withComponent=function(e){var t=n.componentId,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),i=t&&t+"-"+(Ae(e)?e:ke(k(e)));return Ie(e,w({},r,{attrs:h,componentId:i}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?Pe({},e.defaultProps,t):t}}),Object.defineProperty(g,"toString",{value:function(){return"."+g.styledComponentId}}),a&&y()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Le,Be=function(e){return function e(t,n,r){if(void 0===r&&(r=O),!(0,l.isValidElementType)(n))return P(1,String(n));var o=function(){return t(n,r,xe.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,w({},r,{},o))},o.attrs=function(o){return e(t,n,w({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Be[e]=Be(e)})),(Le=function(e,t){this.rules=e,this.componentId=t,this.isStatic=ne(e),Y.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,n,r){var o=r(Se(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},Le.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Le.renderStyles=function(e,t,n,r){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=q();return"<style "+[n&&'nonce="'+n+'"',R+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?P(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return P(2);var n=((t={})[R]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=q();return o&&(n.nonce=o),[r().createElement("style",w({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?P(2):r().createElement(pe,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return P(3)}}();var De,Fe,Ue,Me=Be;function ze(){return ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ze.apply(this,arguments)}function $e(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function qe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var He=["children","className"],We=["icon","tagLabel","tagColor","tagSize","tagDesign","className","children"],Ge=["title","titleIcon","tagLabel","tagColor","tagSize","tagDesign","className","children"],Ve=["title","description","className","children"],Je=30,Ke=20,Ye={mobile:"(min-width: ".concat(480,"px)"),tablet:"(min-width: ".concat(783,"px)"),laptop:"(min-width: ".concat(1200,"px)"),desktop:"(min-width: ".concat(1500,"px)")},Xe=function(e){var t=e.children,n=e.className,o=$e(e,He);return r().createElement("div",ze({className:void 0!==n&&""!==n?"sui-box ".concat(n):"sui-box"},o),t)},Qe=function(e){var t=e.icon,n=e.tagLabel,o=e.tagColor,i=e.tagSize,a=e.tagDesign,s=e.className,c=e.children,u=$e(e,We),l="sui-tag";switch(o){case"red":case"yellow":case"green":case"blue":case"purple":l+=" sui-tag-"+o}switch(i){case"sm":case"small":l+=" sui-tag-sm"}return"outlined"===a&&(l+=" sui-tag-ghost"),r().createElement("h3",ze({className:void 0!==s&&""!==s?"sui-box-title ".concat(s):"sui-box-title"},u),t&&""!==t&&r().createElement("span",{className:"sui-icon-".concat(t," sui-md"),"aria-hidden":"true"}),c,n&&""!==n&&r().createElement("span",{className:l,style:{marginLeft:10}},n))},Ze=Me.div.attrs((function(e){return{props:e}}))(De||(De=qe(["\n\t.sui-wrap && {\n\t\tdisplay: ",";\n\t\t","\n\t\t","\n\tmargin: 0;\n\t\tpadding-top: ","px;\n\t\tpadding-right: ","px;\n\t\tpadding-bottom: ","px;\n\t\tpadding-left: ","px;\n\t\tborder: 0 solid #e6e6e6;\n\t\tborder-bottom-width: ","px;\n\t\t","\n\n\t\t","\n\t","\n\n\t@media "," {\n\t\t\tpadding-top: ","px;\n\t\t\tpadding-right: ","px;\n\t\t\tpadding-bottom: ","px;\n\t\t\tpadding-left: ","px;\n\t\t}\n\t}\n"])),(function(e){return"block"!==e.display?"flex":"block"}),(function(e){return"block"!==e.display&&"flex-flow: row wrap;"}),(function(e){return"block"===e.display||"left"!==e.alignment&&"right"!==e.alignment&&"center"!==e.alignment?"justify-content: space-between;":"left"===e.alignment?"justify-content: flex-start;":"right"===e.alignment?"justify-content: flex-end;":"justify-content: center;"}),(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop>29?e.paddingTop-10:e.paddingTop:10}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight>29?e.paddingRight-10:e.paddingRight:Ke}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom>29?e.paddingBottom-10:e.paddingBottom:10}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft>29?e.paddingLeft-10:e.paddingLeft:Ke}),(function(e){return e.border||0===e.border?e.border:1}),(function(e){return"block"===e.display&&("right"===e.alignment||"center"===e.alignment)&&"text-align: "+e.alignment+";"}),(function(e){return"block"!==e.display&&"> * { max-width: 100%; flex: 0 0 auto; }"}),(function(e){return"block"!==e.display&&"> * + * { margin-left: 10px; }"}),Ye.tablet,(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop:15}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight:Je}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom:15}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft:Je})),et=function(e){var t=e.title,n=e.titleIcon,o=e.tagLabel,i=e.tagColor,a=e.tagSize,s=e.tagDesign;e.className;var c=e.children,u=$e(e,Ge);return r().createElement(Ze,u,t&&""!==t&&r().createElement(Qe,{icon:n,tagLabel:o,tagColor:i,tagSize:a,tagDesign:s},t),c)},tt=(Me.div.attrs((function(e){return{props:e}}))(Fe||(Fe=qe(["\n\t.sui-wrap && {\n\t\tmargin: 0;\n\t\tpadding-top: ","px;\n\t\tpadding-right: ","px;\n\t\tpadding-bottom: ","px;\n\t\tpadding-left: ","px;\n\t\tborder: 0 solid #e6e6e6;\n\t\tborder-top-width: ","px;\n\t\tborder-bottom-width: ","px;\n\t\ttext-align: ",";\n\n\t\t@media "," {\n\t\t\tpadding-top: ","px;\n\t\t\tpadding-right: ","px;\n\t\t\tpadding-bottom: ","px;\n\t\t\tpadding-left: ","px;\n\t\t}\n\t}\n"])),(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop>29?e.paddingTop-10:e.paddingTop:Ke}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight>29?e.paddingRight-10:e.paddingRight:Ke}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom>29?e.paddingBottom-10:e.paddingBottom:Ke}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft>29?e.paddingLeft-10:e.paddingLeft:Ke}),(function(e){return e.borderTop||0===e.borderTop?e.borderTop:0}),(function(e){return e.borderBottom||0===e.borderBottom?e.borderBottom:0}),(function(e){return e.alignment||"left"}),Ye.tablet,(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop:Je}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight:Je}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom:Je}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft:Je})),Me.div.attrs((function(e){return{props:e}}))(Ue||(Ue=qe(["\n\t.sui-wrap && {\n\t\tdisplay: ",";\n\t\t","\n\t\t","\n\tmargin: 0;\n\t\tpadding-top: ","px;\n\t\tpadding-right: ","px;\n\t\tpadding-bottom: ","px;\n\t\tpadding-left: ","px;\n\t\tborder: 0 solid #e6e6e6;\n\t\tborder-top-width: ","px;\n\t\t","\n\n\t\t","\n\t","\n\n\t@media "," {\n\t\t\tpadding-top: ","px;\n\t\t\tpadding-right: ","px;\n\t\t\tpadding-bottom: ","px;\n\t\t\tpadding-left: ","px;\n\t\t}\n\t}\n"])),(function(e){return"block"!==e.display?"flex":"block"}),(function(e){return"block"!==e.display&&"flex-flow: row wrap;"}),(function(e){return"block"===e.display||"left"!==e.alignment&&"right"!==e.alignment&&"center"!==e.alignment?"justify-content: space-between;":"left"===e.alignment?"justify-content: flex-start;":"right"===e.alignment?"justify-content: flex-end;":"justify-content: center;"}),(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop>29?e.paddingTop-10:e.paddingTop:Ke}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight>29?e.paddingRight-10:e.paddingRight:Ke}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom>29?e.paddingBottom-10:e.paddingBottom:Ke}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft>29?e.paddingLeft-10:e.paddingLeft:Ke}),(function(e){return e.border||0===e.border||""===e.border?e.border:1}),(function(e){return"block"===e.display&&("right"===e.alignment||"center"===e.alignment)&&"text-align: "+e.alignment+";"}),(function(e){return"block"!==e.display&&"> * { max-width: 100%; flex: 0 0 auto; }"}),(function(e){return"block"!==e.display&&"> * + * { margin-left: 10px; }"}),Ye.tablet,(function(e){return e.paddingTop||0===e.paddingTop?e.paddingTop:Je}),(function(e){return e.paddingRight||0===e.paddingRight?e.paddingRight:Je}),(function(e){return e.paddingBottom||0===e.paddingBottom?e.paddingBottom:Je}),(function(e){return e.paddingLeft||0===e.paddingLeft?e.paddingLeft:Je})),function(e){var t=e.title,n=e.description,o=e.className,i=e.children,a=$e(e,Ve);return r().createElement("div",ze({className:void 0!==o&&""!==o?"sui-box-settings-row ".concat(o):"sui-box-settings-row"},a),(t&&""!==t||n&&""!==n)&&r().createElement("div",{className:"sui-box-settings-col-1"},""!==t&&r().createElement("h4",{className:"sui-settings-label"},t),""!==n&&r().createElement("p",{className:"sui-description"},n)),r().createElement("div",{className:"sui-box-settings-col-2"},i))});const{__:nt}=wp.i18n;function rt(n){const[r,o]=(0,t.useState)(!1);(0,t.useEffect)((()=>{void 0!==n.isActive&&o(n.isActive)}),[n.isActive]);let i=void 0!==n.closeButtonCallback?n.closeButtonCallback:()=>{o(!1)},a=void 0!==n.classes?n.classes:"",s=void 0!==n.headerTitleAlign?n.headerTitleAlign:"center",c="md";if(void 0!==n.modalSize)switch(n.modalSize){case"large":c="lg";break;case"medium":c="md";break;case"small":c="sm"}return(0,e.createElement)("div",{className:`sui-modal sui-modal-${c} ${r&&"sui-active"} ${a}`},(0,e.createElement)("div",{role:"dialog",id:n.modalID,className:`sui-modal-content ${n.classes}`,"aria-modal":"true","aria-labelledby":n.ariaLabelledbBy,"aria-describedby":n.ariaDescribedBy},(0,e.createElement)(Xe,null,(0,e.createElement)("div",{className:"header-wrap"},(0,e.createElement)(et,null,(0,e.createElement)("div",{className:`sui-box-header sui-flatten sui-content-${s} modal-header`},n.closeButton&&(0,e.createElement)("button",{className:"sui-button-icon sui-button-float--right","data-modal-close":!0,onClick:i},(0,e.createElement)("i",{className:"sui-icon-close sui-md","aria-hidden":"true"}),(0,e.createElement)("span",{className:"sui-screen-reader-text"},nt("Close this modal","broken-link-checker"))),n.modalTitle&&(0,e.createElement)("h3",null,n.modalTitle),n.header))),(0,e.createElement)(Xe,{className:"sui-box-body sui-modal-content modal-content sui-box-center"},(0,e.createElement)(tt,null,n.content)),(0,e.createElement)(Xe,{className:"sui-box-footer sui-modal-content modal-content sui-box-center"},(0,e.createElement)(tt,null,n.footer)))))}const{__:ot,sprintf:it}=wp.i18n;function at(t){return(0,e.createElement)(a,null,(0,e.createElement)(s,null,(0,e.createElement)(c,{className:"sui-padding-30"},(0,e.createElement)("p",{className:"horizontal-inset font-size-15"},ot("Now you can edit links and unlink broken links directly from the new Cloud version with ease.","broken-link-checker")))))}const st=(0,t.createContext)();var ct=n=>{const[r,o]=(0,t.useState)(!0),[i,a]=(0,t.useState)(!1);return(0,e.createElement)(st.Provider,{value:{visible:r,setVisibility:o,callbackCalled:i,setCallbackCalled:a}},n.children)};function ut(e,t){return function(){return e.apply(t,arguments)}}const{toString:lt}=Object.prototype,{getPrototypeOf:dt}=Object,ft=(pt=Object.create(null),e=>{const t=lt.call(e);return pt[t]||(pt[t]=t.slice(8,-1).toLowerCase())});var pt;const ht=e=>(e=e.toLowerCase(),t=>ft(t)===e),mt=e=>t=>typeof t===e,{isArray:gt}=Array,bt=mt("undefined"),vt=ht("ArrayBuffer"),yt=mt("string"),wt=mt("function"),St=mt("number"),Et=e=>null!==e&&"object"==typeof e,xt=e=>{if("object"!==ft(e))return!1;const t=dt(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Ot=ht("Date"),Ct=ht("File"),kt=ht("Blob"),At=ht("FileList"),Rt=ht("URLSearchParams");function Tt(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),gt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Nt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Pt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,jt=e=>!bt(e)&&e!==Pt,_t=(It="undefined"!=typeof Uint8Array&&dt(Uint8Array),e=>It&&e instanceof It);var It;const Lt=ht("HTMLFormElement"),Bt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Dt=ht("RegExp"),Ft=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Tt(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},Ut="abcdefghijklmnopqrstuvwxyz",Mt="0123456789",zt={DIGIT:Mt,ALPHA:Ut,ALPHA_DIGIT:Ut+Ut.toUpperCase()+Mt},$t=ht("AsyncFunction");var qt={isArray:gt,isArrayBuffer:vt,isBuffer:function(e){return null!==e&&!bt(e)&&null!==e.constructor&&!bt(e.constructor)&&wt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||wt(e.append)&&("formdata"===(t=ft(e))||"object"===t&&wt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&vt(e.buffer),t},isString:yt,isNumber:St,isBoolean:e=>!0===e||!1===e,isObject:Et,isPlainObject:xt,isUndefined:bt,isDate:Ot,isFile:Ct,isBlob:kt,isRegExp:Dt,isFunction:wt,isStream:e=>Et(e)&&wt(e.pipe),isURLSearchParams:Rt,isTypedArray:_t,isFileList:At,forEach:Tt,merge:function e(){const{caseless:t}=jt(this)&&this||{},n={},r=(r,o)=>{const i=t&&Nt(n,o)||o;xt(n[i])&&xt(r)?n[i]=e(n[i],r):xt(r)?n[i]=e({},r):gt(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Tt(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Tt(t,((t,r)=>{n&&wt(t)?e[r]=ut(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&dt(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ft,kindOfTest:ht,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(gt(e))return e;let t=e.length;if(!St(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Lt,hasOwnProperty:Bt,hasOwnProp:Bt,reduceDescriptors:Ft,freezeMethods:e=>{Ft(e,((t,n)=>{if(wt(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];wt(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return gt(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:Nt,global:Pt,isContextDefined:jt,ALPHABET:zt,generateString:(e=16,t=zt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&wt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Et(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=gt(e)?[]:{};return Tt(e,((e,t)=>{const i=n(e,r+1);!bt(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:$t,isThenable:e=>e&&(Et(e)||wt(e))&&wt(e.then)&&wt(e.catch)};function Ht(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}qt.inherits(Ht,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:qt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wt=Ht.prototype,Gt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Gt[e]={value:e}})),Object.defineProperties(Ht,Gt),Object.defineProperty(Wt,"isAxiosError",{value:!0}),Ht.from=(e,t,n,r,o,i)=>{const a=Object.create(Wt);return qt.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ht.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Vt=Ht;function Jt(e){return qt.isPlainObject(e)||qt.isArray(e)}function Kt(e){return qt.endsWith(e,"[]")?e.slice(0,-2):e}function Yt(e,t,n){return e?e.concat(t).map((function(e,t){return e=Kt(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Xt=qt.toFlatObject(qt,{},null,(function(e){return/^is[A-Z]/.test(e)}));var Qt=function(e,t,n){if(!qt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=qt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!qt.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&qt.isSpecCompliantForm(t);if(!qt.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(qt.isDate(e))return e.toISOString();if(!s&&qt.isBlob(e))throw new Vt("Blob is not supported. Use a Buffer instead.");return qt.isArrayBuffer(e)||qt.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(qt.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(qt.isArray(e)&&function(e){return qt.isArray(e)&&!e.some(Jt)}(e)||(qt.isFileList(e)||qt.endsWith(n,"[]"))&&(s=qt.toArray(e)))return n=Kt(n),s.forEach((function(e,r){!qt.isUndefined(e)&&null!==e&&t.append(!0===a?Yt([n],r,i):null===a?n:n+"[]",c(e))})),!1;return!!Jt(e)||(t.append(Yt(o,n,i),c(e)),!1)}const l=[],d=Object.assign(Xt,{defaultVisitor:u,convertValue:c,isVisitable:Jt});if(!qt.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!qt.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),qt.forEach(n,(function(n,i){!0===(!(qt.isUndefined(n)||null===n)&&o.call(t,n,qt.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),l.pop()}}(e),t};function Zt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function en(e,t){this._pairs=[],e&&Qt(e,this,t)}const tn=en.prototype;tn.append=function(e,t){this._pairs.push([e,t])},tn.toString=function(e){const t=e?function(t){return e.call(this,t,Zt)}:Zt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var nn=en;function rn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function on(e,t,n){if(!t)return e;const r=n&&n.encode||rn,o=n&&n.serialize;let i;if(i=o?o(t,n):qt.isURLSearchParams(t)?t.toString():new nn(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var an=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){qt.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},sn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:nn,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},un=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&qt.isArray(r)?r.length:i,s?(qt.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&qt.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&qt.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(qt.isFormData(e)&&qt.isFunction(e.entries)){const n={};return qt.forEachEntry(e,((e,r)=>{t(function(e){return qt.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ln={transitional:sn,adapter:cn.isNode?"http":"xhr",transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=qt.isObject(e);if(o&&qt.isHTMLForm(e)&&(e=new FormData(e)),qt.isFormData(e))return r&&r?JSON.stringify(un(e)):e;if(qt.isArrayBuffer(e)||qt.isBuffer(e)||qt.isStream(e)||qt.isFile(e)||qt.isBlob(e))return e;if(qt.isArrayBufferView(e))return e.buffer;if(qt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Qt(e,new cn.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return cn.isNode&&qt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=qt.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Qt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(qt.isString(e))try{return(0,JSON.parse)(e),qt.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ln.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&qt.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Vt.from(e,Vt.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:cn.classes.FormData,Blob:cn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qt.forEach(["delete","get","head","post","put","patch"],(e=>{ln.headers[e]={}}));var dn=ln;const fn=qt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pn=Symbol("internals");function hn(e){return e&&String(e).trim().toLowerCase()}function mn(e){return!1===e||null==e?e:qt.isArray(e)?e.map(mn):String(e)}function gn(e,t,n,r,o){return qt.isFunction(r)?r.call(this,t,n):(o&&(t=n),qt.isString(t)?qt.isString(r)?-1!==t.indexOf(r):qt.isRegExp(r)?r.test(t):void 0:void 0)}class bn{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=hn(t);if(!o)throw new Error("header name must be a non-empty string");const i=qt.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=mn(e))}const i=(e,t)=>qt.forEach(e,((e,n)=>o(e,n,t)));return qt.isPlainObject(e)||e instanceof this.constructor?i(e,t):qt.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&fn[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=hn(e)){const n=qt.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(qt.isFunction(t))return t.call(this,e,n);if(qt.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=hn(e)){const n=qt.findKey(this,e);return!(!n||void 0===this[n]||t&&!gn(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=hn(e)){const o=qt.findKey(n,e);!o||t&&!gn(0,n[o],o,t)||(delete n[o],r=!0)}}return qt.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!gn(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return qt.forEach(this,((r,o)=>{const i=qt.findKey(n,o);if(i)return t[i]=mn(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=mn(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return qt.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&qt.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[pn]=this[pn]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=hn(e);t[r]||(function(e,t){const n=qt.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return qt.isArray(e)?e.forEach(r):r(e),this}}bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qt.reduceDescriptors(bn.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),qt.freezeMethods(bn);var vn=bn;function yn(e,t){const n=this||dn,r=t||n,o=vn.from(r.headers);let i=r.data;return qt.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function wn(e){return!(!e||!e.__CANCEL__)}function Sn(e,t,n){Vt.call(this,null==e?"canceled":e,Vt.ERR_CANCELED,t,n),this.name="CanceledError"}qt.inherits(Sn,Vt,{__CANCEL__:!0});var En=Sn,xn=cn.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),qt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),qt.isString(r)&&a.push("path="+r),qt.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function On(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Cn=cn.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=qt.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function kn(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const f=u&&c-u;return f?Math.round(1e3*d/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const An={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=vn.from(e.headers).normalize(),i=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}qt.isFormData(r)&&(cn.isStandardBrowserEnv||cn.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const u=On(e.baseURL,e.url);function l(){if(!c)return;const r=vn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Vt("Request failed with status code "+n.status,[Vt.ERR_BAD_REQUEST,Vt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:i&&"text"!==i&&"json"!==i?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),on(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(n(new Vt("Request aborted",Vt.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new Vt("Network Error",Vt.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||sn;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new Vt(t,r.clarifyTimeoutError?Vt.ETIMEDOUT:Vt.ECONNABORTED,e,c)),c=null},cn.isStandardBrowserEnv){const t=(e.withCredentials||Cn(u))&&e.xsrfCookieName&&xn.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&qt.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),qt.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&"json"!==i&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",kn(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",kn(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new En(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u);d&&-1===cn.protocols.indexOf(d)?n(new Vt("Unsupported protocol "+d+":",Vt.ERR_BAD_REQUEST,e)):c.send(r||null)}))}};qt.forEach(An,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Rn=e=>{e=qt.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=qt.isString(n)?An[n.toLowerCase()]:n));o++);if(!r){if(!1===r)throw new Vt(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(qt.hasOwnProp(An,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!qt.isFunction(r))throw new TypeError("adapter is not a function");return r};function Tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new En(null,e)}function Nn(e){return Tn(e),e.headers=vn.from(e.headers),e.data=yn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Rn(e.adapter||dn.adapter)(e).then((function(t){return Tn(e),t.data=yn.call(e,e.transformResponse,t),t.headers=vn.from(t.headers),t}),(function(t){return wn(t)||(Tn(e),t&&t.response&&(t.response.data=yn.call(e,e.transformResponse,t.response),t.response.headers=vn.from(t.response.headers))),Promise.reject(t)}))}const Pn=e=>e instanceof vn?e.toJSON():e;function jn(e,t){t=t||{};const n={};function r(e,t,n){return qt.isPlainObject(e)&&qt.isPlainObject(t)?qt.merge.call({caseless:n},e,t):qt.isPlainObject(t)?qt.merge({},t):qt.isArray(t)?t.slice():t}function o(e,t,n){return qt.isUndefined(t)?qt.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!qt.isUndefined(t))return r(void 0,t)}function a(e,t){return qt.isUndefined(t)?qt.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Pn(e),Pn(t),!0)};return qt.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,a=i(e[r],t[r],r);qt.isUndefined(a)&&i!==s||(n[r]=a)})),n}const In={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{In[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ln={};In.transitional=function(e,t,n){function r(e,t){return"[Axios v1.5.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Vt(r(o," has been removed"+(t?" in "+t:"")),Vt.ERR_DEPRECATED);return t&&!Ln[o]&&(Ln[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Bn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Vt("options must be an object",Vt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Vt("option "+i+" must be "+n,Vt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Vt("Unknown option "+i,Vt.ERR_BAD_OPTION)}},validators:In};const Dn=Bn.validators;class Fn{constructor(e){this.defaults=e,this.interceptors={request:new an,response:new an}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=jn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Bn.assertOptions(n,{silentJSONParsing:Dn.transitional(Dn.boolean),forcedJSONParsing:Dn.transitional(Dn.boolean),clarifyTimeoutError:Dn.transitional(Dn.boolean)},!1),null!=r&&(qt.isFunction(r)?t.paramsSerializer={serialize:r}:Bn.assertOptions(r,{encode:Dn.function,serialize:Dn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&qt.merge(o.common,o[t.method]);o&&qt.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=vn.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,d=0;if(!s){const e=[Nn.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);d<l;)u=u.then(e[d++],e[d++]);return u}l=a.length;let f=t;for(d=0;d<l;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=Nn.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,l=c.length;d<l;)u=u.then(c[d++],c[d++]);return u}getUri(e){return on(On((e=jn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}qt.forEach(["delete","get","head","options"],(function(e){Fn.prototype[e]=function(t,n){return this.request(jn(n||{},{method:e,url:t,data:(n||{}).data}))}})),qt.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(jn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Fn.prototype[e]=t(),Fn.prototype[e+"Form"]=t(!0)}));var Un=Fn;class Mn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new En(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Mn((function(t){e=t})),cancel:e}}}var zn=Mn;const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach((([e,t])=>{$n[t]=e}));var qn=$n;const Hn=function e(t){const n=new Un(t),r=ut(Un.prototype.request,n);return qt.extend(r,Un.prototype,n,{allOwnKeys:!0}),qt.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(jn(t,n))},r}(dn);Hn.Axios=Un,Hn.CanceledError=En,Hn.CancelToken=zn,Hn.isCancel=wn,Hn.VERSION="1.5.0",Hn.toFormData=Qt,Hn.AxiosError=Vt,Hn.Cancel=Hn.CanceledError,Hn.all=function(e){return Promise.all(e)},Hn.spread=function(e){return function(t){return e.apply(null,t)}},Hn.isAxiosError=function(e){return qt.isObject(e)&&!0===e.isAxiosError},Hn.mergeConfig=jn,Hn.AxiosHeaders=vn,Hn.formToJSON=e=>un(qt.isHTMLForm(e)?new FormData(e):e),Hn.getAdapter=Rn,Hn.HttpStatusCode=qn,Hn.default=Hn;var Wn=Hn;const{__:Gn}=wp.i18n;function Vn(n){const[r,o]=(0,t.useState)(!1),{setVisibility:i,callbackCalled:a}=(0,t.useContext)(st);(0,t.useEffect)((()=>{a&&s()}),[a]);const s=()=>{o(!0),c.post(window.blc_welcome_modal.data.settings_endpoint,{action:"save-version-highlights-option",version_highlights_shown:!0}).then((function(e){o(!1),i(!1)}))},c=Wn.create({baseURL:window.blc_welcome_modal.data.rest_url,headers:{"content-type":"application/json","X-WP-Nonce":window.blc_welcome_modal.data.nonce}});return(0,e.createElement)(u,{classes:"blc-route-button",content:Gn("Got it","broken-link-checker"),onClick:s,isLoading:r})}function Jn(t){return(0,e.createElement)(s,{classes:"sui-no-margin sui-full-width"},(0,e.createElement)(c,{classes:"sui-box-center"},(0,e.createElement)(Vn,null)))}function Kn(){return Kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}var Yn="data-focus-lock",Xn="data-focus-lock-disabled";var Qn={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Zn=function(e){var n=e.children;return t.createElement(t.Fragment,null,t.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Qn}),n,n&&t.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Qn}))};Zn.propTypes={},Zn.defaultProps={children:null};var er=function(){return er=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},er.apply(this,arguments)};function tr(e){return e}function nr(e,t){void 0===t&&(t=tr);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}function rr(e,t){return void 0===t&&(t=tr),nr(e,t)}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var or=rr({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),ir=rr(),ar=rr(),sr=function(e){void 0===e&&(e={});var t=nr(null);return t.options=er({async:!0,ssr:!1},e),t}({async:!0}),cr=[],ur=t.forwardRef((function(e,n){var r,o=t.useState(),i=o[0],a=o[1],s=t.useRef(),c=t.useRef(!1),u=t.useRef(null),l=e.children,d=e.disabled,f=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,m=e.autoFocus,g=(e.allowTextSelection,e.group),b=e.className,v=e.whiteList,y=e.hasPositiveIndices,w=e.shards,S=void 0===w?cr:w,E=e.as,x=void 0===E?"div":E,O=e.lockProps,C=void 0===O?{}:O,k=e.sideCar,A=e.returnFocus,R=e.focusOptions,T=e.onActivation,N=e.onDeactivation,P=t.useState({})[0],j=t.useCallback((function(){u.current=u.current||document&&document.activeElement,s.current&&T&&T(s.current),c.current=!0}),[T]),_=t.useCallback((function(){c.current=!1,N&&N(s.current)}),[N]);(0,t.useEffect)((function(){d||(u.current=null)}),[]);var I,L,B,D,F,U=t.useCallback((function(e){var t=u.current;if(t&&t.focus){var n="function"==typeof A?A(t):A;if(n){var r="object"==typeof n?n:void 0;u.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[A]),M=t.useCallback((function(e){c.current&&or.useMedium(e)}),[]),z=ir.useMedium,$=t.useCallback((function(e){s.current!==e&&(s.current=e,a(e))}),[]),q=Kn(((r={})[Xn]=d&&"disabled",r[Yn]=g,r),C),H=!0!==f,W=H&&"tail"!==f,G=(I=[n,$],B=L||null,D=function(e){return I.forEach((function(t){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(t,e)}))},(F=(0,t.useState)((function(){return{value:B,callback:D,facade:{get current(){return F.value},set current(e){var t=F.value;t!==e&&(F.value=e,F.callback(e,t))}}}}))[0]).callback=D,F.facade);return t.createElement(t.Fragment,null,H&&[t.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:Qn}),y?t.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:Qn}):null],!d&&t.createElement(k,{id:P,sideCar:sr,observed:i,disabled:d,persistentFocus:p,crossFrame:h,autoFocus:m,whiteList:v,shards:S,onActivation:j,onDeactivation:_,returnFocus:U,focusOptions:R}),t.createElement(x,Kn({ref:G},q,{className:b,onBlur:z,onFocus:M}),l),W&&t.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:Qn}))}));ur.propTypes={},ur.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var lr=ur;function dr(e,t){return dr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dr(e,t)}function fr(e){return fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fr(e)}var pr=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},hr=function(e){return Array.isArray(e)?e:[e]},mr=function(e){return Array.isArray(e)?e[0]:e},gr=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},br=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},vr=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!e||br(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(gr(e))}(t,vr.bind(void 0,e));return e.set(t,r),r},yr=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!br(e))||!!xr(e)&&t(gr(e))}(t,yr.bind(void 0,e));return e.set(t,r),r},wr=function(e){return e.dataset},Sr=function(e){return"INPUT"===e.tagName},Er=function(e){return Sr(e)&&"radio"===e.type},xr=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},Or=function(e){var t;return Boolean(e&&(null===(t=wr(e))||void 0===t?void 0:t.focusGuard))},Cr=function(e){return!Or(e)},kr=function(e){return Boolean(e)},Ar=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},Rr=function(e,t,n){return pr(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(Ar)},Tr=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Nr="".concat(Tr,", [data-focus-guard]"),Pr=function(e,t){return pr((e.shadowRoot||e).children).reduce((function(e,n){return e.concat(n.matches(t?Nr:Tr)?[n]:[],Pr(n))}),[])},jr=function(e,t){return e.reduce((function(e,n){var r,o=Pr(n,t),i=(r=[]).concat.apply(r,o.map((function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?jr([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(i,n.parentNode?pr(n.parentNode.querySelectorAll(Tr)).filter((function(e){return e===n})):[])}),[])},_r=function(e,t){return pr(e).filter((function(e){return vr(t,e)})).filter((function(e){return function(e){return!((Sr(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},Ir=function(e,t){return void 0===t&&(t=new Map),pr(e).filter((function(e){return yr(t,e)}))},Lr=function(e,t,n){return Rr(_r(jr(e,n),t),!0,n)},Br=function(e,t){return Rr(_r(jr(e),t),!1)},Dr=function(e,t){return e.shadowRoot?Dr(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||pr(e.children).some((function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&Dr(r,t)}return Dr(e,t)}))},Fr=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?Fr(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return t.contentWindow.document}catch(e){return}}()?Fr(t.contentWindow.document):t}},Ur=function(e){return e.parentNode?Ur(e.parentNode):e},Mr=function(e){return hr(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(Yn);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(pr(Ur(t).querySelectorAll("[".concat(Yn,'="').concat(n,'"]:not([').concat(Xn,'="disabled"])')))):[t]),e}),[])},zr=function(e,t){return void 0===t&&(t=Fr(mr(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&Mr(e).some((function(e){return Dr(e,t)||function(e,t){return Boolean(pr(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))},$r=function(e,t){return Er(e)&&e.name?function(e,t){return t.filter(Er).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},qr=function(e){return e[0]&&e.length>1?$r(e[0],e):e[0]},Hr=function(e,t){return e.length>1?e.indexOf($r(e[t],e)):t},Wr="NEW_FOCUS",Gr=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Gr(e.parentNode.host||e.parentNode,t),t},Vr=function(e,t){for(var n=Gr(e),r=Gr(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},Jr=function(e,t,n){var r=hr(e),o=hr(t),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Vr(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=Vr(i,e);t&&(a=!a||Dr(t,a)?t:Vr(t,a))}))})),a},Kr=function(e,t){var n,r,o,i,a,s,c=Fr(hr(e).length>0?document:mr(e).ownerDocument),u=Mr(e).filter(Cr),l=Jr(c||e,e,u),d=new Map,f=Br(u,d),p=Lr(u,d).filter((function(e){var t=e.node;return Cr(t)}));if(p[0]||(p=f)[0]){var h,m,g,b=Br([l],d).map((function(e){return e.node})),v=(h=b,m=p,g=new Map,m.forEach((function(e){return g.set(e.node,e)})),h.map((function(e){return g.get(e)})).filter(kr)),y=v.map((function(e){return e.node})),w=function(e,t,n,r){var o=e.length,i=e[0],a=e[o-1],s=Or(n);if(!(n&&e.indexOf(n)>=0)){var c,u,l=void 0!==n?t.indexOf(n):-1,d=r?t.indexOf(r):l,f=r?e.indexOf(r):-1,p=l-d,h=t.indexOf(i),m=t.indexOf(a),g=(c=t,u=new Set,c.forEach((function(e){return u.add($r(e,c))})),c.filter((function(e){return u.has(e)}))),b=(void 0!==n?g.indexOf(n):-1)-(r?g.indexOf(r):l),v=Hr(e,0),y=Hr(e,o-1);return-1===l||-1===f?Wr:!p&&f>=0?f:l<=h&&s&&Math.abs(p)>1?y:l>=m&&s&&Math.abs(p)>1?v:p&&Math.abs(b)>1?f:l<=h?y:l>m?v:p?Math.abs(p)>1?f:(o+f+p)%o:void 0}}(y,b,c,t);if(w===Wr){var S=(n=f,r=y,o=function(e,t){return e.reduce((function(e,n){return e.concat(function(e,t){return _r((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),pr(n).map((function(e){return jr([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n}(n,t))}),[])}(u,d),a=n.map((function(e){return e.node})),(s=Ir(a.filter((i=o,function(e){var t,n=null===(t=wr(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||i.indexOf(e)>=0}))))&&s.length?qr(s):qr(Ir(r)));return S?{node:S}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:v[w]}},Yr=0,Xr=!1,Qr=function(e,t,n){void 0===n&&(n={});var r,o,i=Kr(e,t);if(!Xr&&i){if(Yr>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Xr=!0,void setTimeout((function(){Xr=!1}),1);Yr++,r=i.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),Yr--}};function Zr(e){setTimeout(e,1)}var eo=null,to=null,no=null,ro=!1,oo=function(){return!0};function io(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var ao=function(e){return e&&"current"in e?e.current:e},so=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},co=function(){var e,t,n,r,o,i,a,s=!1;if(eo){var c=eo,u=c.observed,l=c.persistentFocus,d=c.autoFocus,f=c.shards,p=c.crossFrame,h=c.focusOptions,m=u||no&&no.portaledElement,g=document&&document.activeElement;if(m){var b=[m].concat(f.map(ao).filter(Boolean));if(g&&!function(e){return(eo.whiteList||oo)(e)}(g)||(l||(p?Boolean(ro):"meanwhile"===ro)||!(document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var t=Fr(e);return!!t&&pr(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return Dr(e,t)}))}())||!to&&d)&&(m&&!(zr(b)||g&&function(e,t){return t.some((function(t){return so(e,t,t)}))}(g,b)||(e=g,no&&no.portaledElement===e))&&(document&&!to&&g&&!d?(g.blur&&g.blur(),document.body.focus()):(s=Qr(b,to,{focusOptions:h}),no={})),ro=!1,to=document&&document.activeElement),document){var v=document&&document.activeElement,y=(n=Mr(t=b).filter(Cr),r=Jr(t,t,n),o=new Map,i=Lr([r],o,!0),a=Lr(n,o).filter((function(e){var t=e.node;return Cr(t)})).map((function(e){return e.node})),i.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:Or(t)}}))),w=y.map((function(e){return e.node})).indexOf(v);w>-1&&(y.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),io(w,y.length,1,y),io(w,-1,-1,y))}}}return s},uo=function(e){co()&&e&&(e.stopPropagation(),e.preventDefault())},lo=function(){return Zr(co)},fo=function(){ro="just",Zr((function(){ro="meanwhile"}))};or.assignSyncMedium((function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(no={observerNode:n,portaledElement:t})})),ir.assignMedium(lo),ar.assignMedium((function(e){return e({moveFocusInside:Qr,focusInside:zr})}));var po,ho,mo=(po=function(e){return e.filter((function(e){return!e.disabled}))},ho=function(e){var t=e.slice(-1)[0];t&&!eo&&(document.addEventListener("focusin",uo),document.addEventListener("focusout",lo),window.addEventListener("blur",fo));var n=eo,r=n&&t&&t.id===n.id;eo=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(to=null,r&&n.observed===t.observed||t.onActivation(),co(),Zr(co)):(document.removeEventListener("focusin",uo),document.removeEventListener("focusout",lo),window.removeEventListener("blur",fo),to=null)},function(e){var n,o=[];function i(){n=po(o.map((function(e){return e.props}))),ho(n)}var a,s,c,u=function(t){var a,s;function c(){return t.apply(this,arguments)||this}s=t,(a=c).prototype=Object.create(s.prototype),a.prototype.constructor=a,dr(a,s),c.peek=function(){return n};var u=c.prototype;return u.componentDidMount=function(){o.push(this),i()},u.componentDidUpdate=function(){i()},u.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),i()},u.render=function(){return r().createElement(e,this.props)},c}(t.PureComponent);return a=u,s="displayName",c="SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")",(s=function(e){var t=function(e,t){if("object"!==fr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==fr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===fr(t)?t:String(t)}(s))in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,u})((function(){return null})),go=t.forwardRef((function(e,n){return t.createElement(lr,Kn({sideCar:mo,ref:n},e))})),bo=lr.propTypes||{};bo.sideCar,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n])}(bo,["sideCar"]),go.propTypes={};var vo=go;function yo(n){const{visible:r,setCallbackCalled:o}=(0,t.useContext)(st);return(0,e.createElement)(vo,null,(0,e.createElement)(rt,{isActive:r,closeButton:!0,closeButtonCallback:()=>{o(!0)},modalID:"blc-plugin-welcome-modal",classes:"blc-plugin-welcome-modal",ariaLabelledBy:"blc-plugin-welcome-modal-header",ariaDescribedBy:"blc-plugin-welcome-modal-header",header:(0,e.createElement)(i,null),content:(0,e.createElement)(at,null),footer:(0,e.createElement)(Jn,null)}))}const wo=()=>(0,e.createElement)(ct,null,(0,e.createElement)(yo,null)),So=document.getElementById(window.blc_welcome_modal.data.unique_id);e.createRoot?(0,e.createRoot)(So).render((0,e.createElement)(e.StrictMode,null,(0,e.createElement)(wo,null))):(0,e.render)((0,e.createElement)(e.StrictMode,null,(0,e.createElement)(wo,null)),So)}()}();