edition/assets/built/sodo-search.min.js

57 lines
261 KiB
JavaScript
Raw Permalink Normal View History

2024-11-04 17:21:31 +00:00
var ny=Object.defineProperty;var ry=(Y,J,ge)=>J in Y?ny(Y,J,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Y[J]=ge;var vo=(Y,J,ge)=>(ry(Y,typeof J!="symbol"?J+"":J,ge),ge),sy=(Y,J,ge)=>{if(!J.has(Y))throw TypeError("Cannot "+ge)};var An=(Y,J,ge)=>{if(J.has(Y))throw TypeError("Cannot add the same private member more than once");J instanceof WeakSet?J.add(Y):J.set(Y,ge)};var qe=(Y,J,ge)=>(sy(Y,J,"access private method"),ge);(function(Y){typeof define=="function"&&define.amd?define(Y):Y()})(function(){var go,Dd,mo,Fd,yo,Id,Tn,wo,Nn,So;"use strict";var Y=document.createElement("style");Y.textContent=`.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion: no-preference){.App-logo{animation:App-logo-spin infinite 20s linear}}.App-header{background-color:#282c34;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff}.App-link{color:#61dafb}@keyframes App-logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
`,document.head.appendChild(Y);function J(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ge={exports:{}},Ln={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Zl=Object.getOwnPropertySymbols,Md=Object.prototype.hasOwnProperty,Ud=Object.prototype.propertyIsEnumerable;function zd(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Bd(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(r.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(o){s[o]=o}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var ea=Bd()?Object.assign:function(e,t){for(var n,r=zd(e),s,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var i in n)Md.call(n,i)&&(r[i]=n[i]);if(Zl){s=Zl(n);for(var l=0;l<s.length;l++)Ud.call(n,s[l])&&(r[s[l]]=n[s[l]])}}return r},ta={exports:{}},F={};/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var xo=ea,Wt=60103,na=60106;F.Fragment=60107,F.StrictMode=60108,F.Profiler=60114;var ra=60109,sa=60110,oa=60112;F.Suspense=60113;var ia=60115,la=60116;if(typeof Symbol=="function"&&Symbol.for){var Le=Symbol.for;Wt=Le("react.element"),na=Le("react.portal"),F.Fragment=Le("react.fragment"),F.StrictMode=Le("react.strict_mode"),F.Profiler=Le("react.profiler"),ra=Le("react.provider"),sa=Le("react.context"),oa=Le("react.forward_ref"),F.Suspense=Le("react.suspense"),ia=Le("react.memo"),la=Le("react.lazy")}var aa=typeof Symbol=="function"&&Symbol.iterator;function Hd(e){return e===null||typeof e!="object"?null:(e=aa&&e[aa]||e["@@iterator"],typeof e=="function"?e:null)}function Rn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ua={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ca={};function bt(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||ua}bt.prototype.isReactComponent={},bt.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Rn(85));this.updater.enqueueSetState(this,e,t,"setState")},bt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fa(){}fa.prototype=bt.prototype;function Co(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||ua}var Eo=Co.prototype=new fa;Eo.constructor=Co,xo(Eo,bt.prototype),Eo.isPureReactComponent=!0;var $o={current:null},da=Object.prototype.hasOwnProperty,ha={key:!0,ref:!0,__self:!0,__source:!0};function pa(e,t,n){var r,s={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)da.call(t,r)&&!ha.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];s.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:Wt,type:e,key:o,ref:i,props:s,_owner:$o.current}}function Vd(e,t){return{$$typeof:Wt,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ko(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wt}function Kd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ga=/\/+/g;function Po(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Kd(""+e.key):t.toString(36)}function zr(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Wt:case na:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+Po(i,0):r,Array.isArray(s)?(n="",e!=null&&(n=e.replace(ga,"$&/")+"/"),zr(s,t,n,"",function(u){return u})):s!=null&&(ko(s)&&(s=Vd(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(ga,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Po(o,l);i+=zr(o,t,n,a,s)}else if(a=Hd(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Po(o,l++),i+=zr(o,t,n,a,s);else if(o==="object")throw t=""+e,Error(Rn(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return i}function Br(e,t,n){if(e==null)return e;var r=[],s=0;return zr(e,r,"","",function(o){return t.call(n,o,s++)}),r}function Wd(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var ma={current:null};function Je(){var e=ma.current;if(e===null)throw Error(Rn(321));return e}var bd={ReactCurrentDispatcher:ma,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:$o,IsSomeRendererActing:{current:!1},assign:xo};F.Children={map:Br,forEach:function(e,t,n){Br(e,function(){t.apply
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qd=R,ya=60103;if(Ln.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var va=Symbol.for;ya=va("react.element"),Ln.Fragment=va("react.fragment")}var Jd=qd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Qd=Object.prototype.hasOwnProperty,Gd={key:!0,ref:!0,__self:!0,__source:!0};function wa(e,t,n){var r,s={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Qd.call(t,r)&&!Gd.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:ya,type:e,key:o,ref:i,props:s,_owner:Jd.current}}Ln.jsx=wa,Ln.jsxs=wa,ge.exports=Ln;var $=ge.exports,Sa={exports:{}},$e={},xa={exports:{}},Ca={};/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){var t,n,r,s;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var a=null,u=null,f=function(){if(a!==null)try{var k=e.unstable_now();a(!0,k),a=null}catch(L){throw setTimeout(f,0),L}};t=function(k){a!==null?setTimeout(t,0,k):(a=k,setTimeout(f,0))},n=function(k,L){u=setTimeout(k,L)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,c=window.clearTimeout;if(typeof console<"u"){var v=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof v!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,y=null,h=-1,d=5,g=0;e.unstable_shouldYield=function(){return e.unstable_now()>=g},s=function(){},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<k?Math.floor(1e3/k):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(y!==null){var k=e.unstable_now();g=k+d;try{y(!0,k)?S.postMessage(null):(m=!1,y=null)}catch(L){throw S.postMessage(null),L}}else m=!1},t=function(k){y=k,m||(m=!0,S.postMessage(null))},n=function(k,L){h=p(function(){k(e.unstable_now())},L)},r=function(){c(h),h=-1}}function T(k,L){var _=k.length;k.push(L);e:for(;;){var q=_-1>>>1,ie=k[q];if(ie!==void 0&&0<j(ie,L))k[q]=L,k[_]=ie,_=q;else break e}}function C(k){return k=k[0],k===void 0?null:k}function P(k){var L=k[0];if(L!==void 0){var _=k.pop();if(_!==L){k[0]=_;e:for(var q=0,ie=k.length;q<ie;){var Vt=2*(q+1)-1,Kt=k[Vt],Ur=Vt+1,jn=k[Ur];if(Kt!==void 0&&0>j(Kt,_))jn!==void 0&&0>j(jn,Kt)?(k[q]=jn,k[Ur]=_,q=Ur):(k[q]=Kt,k[Vt]=_,q=Vt);else if(jn!==void 0&&0>j(jn,_))k[q]=jn,k[Ur]=_,q=Ur;else break e}}return L}return null}function j(k,L){var _=k.sortIndex-L.sortIndex;return _!==0?_:k.id-L.id}var O=[],G=[],nt=1,Ce=null,te=3,We=!1,Ee=!1,be=!1;function On(k){for(var L=C(G);L!==null;){if(L.callback===null)P(G);else if(L.startTime<=k)P(G),L.sortIndex=L.expirationTime,T(O,L);else break;L=C(G)}}function oe(k){if(be=!1,On(k),!Ee)if(C(O)!==null)Ee=!0,t(De);else{var L=C(G);L!==null&&n(oe,L.startTime-k)}}function De(k,L){Ee=!1,be&&(be=!1,r()),We=!0;var _=te;try{for(On(L),Ce=C(O);Ce!==null&&(!(Ce.expirationTime>L)||k&&!e.unstable_shouldYield());){var q=Ce.callback;if(typeof q=="function"){Ce.callback=null,te=Ce.priorityLevel;var ie=q(Ce.expirationTime<=L);L=e.unstable_now(),typeof ie=="function"?Ce.callback=ie:Ce===C(O)&&P(O),On(L)}else P(O);Ce=C(O)}if(Ce!==null)var Vt=!0;else{var Kt=C(G);Kt!==null&&n(oe,Kt.startTime-L),Vt=!1}return Vt}finally{Ce=null,te=_,We=!1}}var Ht=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){Ee||We||(Ee=!0,t(De))},e.unstable_getCurrentPriorityLevel=function(){return te},e.unstable_getFirstCallbackNode=function(){return C(O)},e.unstable_next=function(k){switch(te){case 1:case 2:case 3:var L=3;break;default:L=te}var _=te;te=L;try{return k()}finally{te=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Ht,e.unstable_runWithPriority=function(k,L){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var _=te;te=k;try{return L()}finally{te=_}},e.unstable_scheduleCallback=function(k,L,_){var q=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?q+_:q):_=q,k){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;bre
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Hr=R,z=ea,Z=Yd;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!Hr)throw Error(E(227));var Ea=new Set,_n={};function Pt(e,t){qt(e,t),qt(e+"Capture",t)}function qt(e,t){for(_n[e]=t,e=0;e<t.length;e++)Ea.add(t[e])}var Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,$a=Object.prototype.hasOwnProperty,ka={},Pa={};function Zd(e){return $a.call(Pa,e)?!0:$a.call(ka,e)?!1:Xd.test(e)?Pa[e]=!0:(ka[e]=!0,!1)}function eh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function th(e,t,n,r){if(t===null||typeof t>"u"||eh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function he(e,t,n,r,s,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new he(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new he(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new he(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new he(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ne[e]=new he(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ne[e]=new he(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ne[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)});var To=/[\-:]([a-z])/g;function No(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector
`+Mo+e}var Uo=!1;function br(e,t){if(!e||Uo)return"";Uo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(a){var r=a}Reflect.construct(e,[],t)}else{try{t.call()}catch(a){r=a}e.call(t.prototype)}else{try{throw Error()}catch(a){r=a}e()}}catch(a){if(a&&r&&typeof a.stack=="string"){for(var s=a.stack.split(`
`),o=r.stack.split(`
`),i=s.length-1,l=o.length-1;1<=i&&0<=l&&s[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(s[i]!==o[l]){if(i!==1||l!==1)do if(i--,l--,0>l||s[i]!==o[l])return`
`+s[i].replace(" at new "," at ");while(1<=i&&0<=l);break}}}finally{Uo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Un(e):""}function nh(e){switch(e.tag){case 5:return Un(e.type);case 16:return Un("Lazy");case 13:return Un("Suspense");case 19:return Un("SuspenseList");case 0:case 2:case 15:return e=br(e.type,!1),e;case 11:return e=br(e.type.render,!1),e;case 22:return e=br(e.type._render,!1),e;case 1:return e=br(e.type,!0),e;default:return""}}function Jt(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case st:return"Fragment";case Nt:return"Portal";case Fn:return"Profiler";case jo:return"StrictMode";case In:return"Suspense";case Kr:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Lo:return(e.displayName||"Context")+".Consumer";case Ao:return(e._context.displayName||"Context")+".Provider";case Vr:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Wr:return Jt(e.type);case _o:return Jt(e._render);case Ro:t=e._payload,e=e._init;try{return Jt(e(t))}catch{}}return null}function ot(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Oa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rh(e){var t=Oa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qr(e){e._valueTracker||(e._valueTracker=rh(e))}function ja(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Oa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zo(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Aa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ot(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function La(e,t){t=t.checked,t!=null&&Oo(e,"checked",t,!1)}function Bo(e,t){La(e,t);var n=ot(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ho(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ho(e,t.type,ot(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ra(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ho(e,t,n){(t!=="number"||Jr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function sh(e){var t="";return Hr.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function Vo(e,t){return e=z({children:void 0},t),(t=sh(t.children))&&(e.children=t),e}function Qt(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ot(n),t=null
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:s}}function sl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ep=typeof WeakMap=="function"?WeakMap:Map;function Hc(e,t,n){n=gt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fs||(Fs=!0,pl=r),sl(e,t)},n}function Vc(e,t,n){n=gt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return sl(e,t),r(s)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(Be===null?Be=new Set([this]):Be.add(this),sl(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}var $p=typeof WeakSet=="function"?WeakSet:Set;function Kc(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Ct(e,n)}else t.current=null}function kp(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Re(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Ni(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(E(163))}function Pp(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var s=e;r=s.next,s=s.tag,s&4&&s&1&&(of(n,e),_p(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Re(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&ic(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}ic(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&Bu(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&nu(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(E(163))}function Wc(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var s=n.memoizedProps.style;s=s!=null&&s.hasOwnProperty("display")?s.display:null,r.style.display=Ua("display",s)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bc(e,t){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(Ai,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,s=r.destroy;if(r=r.tag,s!==void 0)if(r&4)of(t,n);else{r=t;try{s()}catch(o){Ct(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Kc(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Ct(t,o)}break;case 5:Kc(t);break;case 4:Gc(e,t)}}function qc(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Jc(e){return e.tag===5||e.tag===3||e.tag===4}function Qc(e){e:{for(var t=e.return;t!==null;){if(Jc(t))break e;t=t.return}throw Error(E(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(E(161))}n.flags&16&&(zn(t,""),n.flags&=-17);e:t:for(n=e;;){
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}se!==5&&(se=2),a=rl(a,l),c=i;do{switch(c.tag){case 3:o=a,c.flags|=4096,t&=-t,c.lanes|=t;var T=Hc(c,o,t);oc(c,T);break e;case 1:o=a;var C=c.type,P=c.stateNode;if(!(c.flags&64)&&(typeof C.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Be===null||!Be.has(P)))){c.flags|=4096,t&=-t,c.lanes|=t;var j=Vc(c,o,t);oc(c,j);break e}}c=c.return}while(c!==null)}sf(n)}catch(O){t=O,X===n&&n!==null&&(X=n=n.return);continue}break}while(1)}function nf(){var e=_s.current;return _s.current=Ls,e===null?Ls:e}function kr(e,t){var n=A;A|=16;var r=nf();pe===e&&ce===t||Sn(e,t);do try{jp();break}catch(s){tf(e,s)}while(1);if(Ii(),A=n,_s.current=r,X!==null)throw Error(E(261));return pe=null,ce=0,se}function jp(){for(;X!==null;)rf(X)}function Ap(){for(;X!==null&&!dp();)rf(X)}function rf(e){var t=af(e.alternate,e,Mt);e.memoizedProps=e.pendingProps,t===null?sf(e):X=t,al.current=null}function sf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&2048){if(n=Cp(t),n!==null){n.flags&=2047,X=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(n=xp(n,t,Mt),n!==null){X=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||Mt&1073741824||!(n.mode&4)){for(var r=0,s=n.child;s!==null;)r|=s.lanes|s.childLanes,s=s.sibling;n.childLanes=r}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(t=t.sibling,t!==null){X=t;return}X=t=e}while(t!==null);se===0&&(se=5)}function Ut(e){var t=fn();return _t(99,Lp.bind(null,e,t)),null}function Lp(e,t){do xt();while(xr!==null);if(A&48)throw Error(E(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(E(177));e.callbackNode=null;var r=n.lanes|n.childLanes,s=r,o=e.pendingLanes&~s;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=s,e.mutableReadLanes&=s,e.entangledLanes&=s,s=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<o;){var a=31-ut(o),u=1<<a;s[a]=0,i[a]=-1,l[a]=-1,o&=~u}if(Ze!==null&&!(r&24)&&Ze.has(e)&&Ze.delete(e),e===pe&&(X=pe=null,ce=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(s=A,A|=32,al.current=null,ki=rs,i=Ou(),xi(i)){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else e:if(l=(l=i.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,o=u.anchorOffset,a=u.focusNode,u=u.focusOffset;try{l.nodeType,a.nodeType}catch{l=null;break e}var f=0,p=-1,c=-1,v=0,m=0,y=i,h=null;t:for(;;){for(var d;y!==l||o!==0&&y.nodeType!==3||(p=f+o),y!==a||u!==0&&y.nodeType!==3||(c=f+u),y.nodeType===3&&(f+=y.nodeValue.length),(d=y.firstChild)!==null;)h=y,y=d;for(;;){if(y===i)break t;if(h===l&&++v===o&&(p=f),h===a&&++m===u&&(c=f),(d=y.nextSibling)!==null)break;y=h,h=y.parentNode}y=d}l=p===-1||c===-1?null:{start:p,end:c}}else l=null;l=l||{start:0,end:0}}else l=null;Pi={focusedElem:i,selectionRange:l},rs=!1,$r=null,Us=!1,N=r;do try{Rp()}catch(O){if(N===null)throw Error(E(330));Ct(N,O),N=N.nextEffect}while(N!==null);$r=null,N=r;do try{for(i=e;N!==null;){var g=N.flags;if(g&16&&zn(N.stateNode,""),g&128){var w=N.alternate;if(w!==null){var S=w.ref;S!==null&&(typeof S=="function"?S(null):S.current=null)}}switch(g&1038){case 2:Qc(N),N.flags&=-3;break;case 6:Qc(N),N.flags&=-3,ll(N.alternate,N);break;case 1024:N.flags&=-1025;break;case 1028:N.flags&=-1025,ll(N.alternate,N);break;case 4:ll(N.alternate,N);break;case 8:l=N,Gc(i,l);var T=l.alternate;qc(l),T!==null&&qc(T)}N=N.nextEffect}}catch(O){if(N===null)throw Error(E(330));Ct(N,O),N=N.nextEffect}while(N!==null);if(S=Pi,w=Ou(),g=S.focusedElem,i=S.selectionRange,w!==g&&g&&g.ownerDocument&&Nu(g.ownerDocument.documentElement,g)){for(i!==null&&xi(g)&&(w=i.start,S=
:root {
--brandcolor: ${this.context.brandColor||""}
}
.ghost-display {
display: none;
}
`,n=this.context.stylesUrl;return n?$.jsxs($.Fragment,{children:[$.jsx("link",{rel:"stylesheet",href:n}),$.jsx("style",{dangerouslySetInnerHTML:{__html:t}}),$.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"})]}):$.jsxs($.Fragment,{children:[$.jsx("style",{dangerouslySetInnerHTML:{__html:t}}),$.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"})]})}renderFrameContainer(){const t=Xp(),n={...t.frame.common};return $.jsx("div",{style:t.modalContainer,className:"gh-root-frame",children:$.jsxs(qp,{style:n,title:"portal-popup",head:this.renderFrameStyles(),searchdir:this.context.dir,children:[$.jsx("div",{onClick:r=>this.handlePopupClose(r),className:"absolute top-0 bottom-0 left-0 right-0 block backdrop-blur-[2px] animate-fadein z-0 bg-gradient-to-br from-[rgba(0,0,0,0.2)] to-[rgba(0,0,0,0.1)]"}),$.jsx(hf,{})]})})}render(){const{showPopup:t}=this.context;return t?this.renderFrameContainer():null}}vo(mf,"contextType",fe);var K;function bs(e){return typeof e<"u"?e:!0}function yf(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=B();return t}function B(){return Object.create(null)}function yg(e,t){return t.length-e.length}function de(e){return typeof e=="string"}function $t(e){return typeof e=="object"}function Nl(e){return typeof e=="function"}function vf(e,t){var n=vg;if(e&&(t&&(e=qs(e,t)),this.H&&(e=qs(e,this.H)),this.J&&1<e.length&&(e=qs(e,this.J)),n||n==="")){if(t=e.split(n),this.filter){e=this.filter,n=t.length;const r=[];for(let s=0,o=0;s<n;s++){const i=t[s];i&&!e[i]&&(r[o++]=i)}e=r}else e=t;return e}return e}const vg=/[\p{Z}\p{S}\p{P}\p{C}]+/u,wg=/[\u0300-\u036f]/g;function wf(e,t){const n=Object.keys(e),r=n.length,s=[];let o="",i=0;for(let l=0,a,u;l<r;l++)a=n[l],(u=e[a])?(s[i++]=b(t?"(?!\\b)"+a+"(\\b|_)":a),s[i++]=u):o+=(o?"|":"")+a;return o&&(s[i++]=b(t?"(?!\\b)("+o+")(\\b|_)":"("+o+")"),s[i]=""),s}function qs(e,t){for(let n=0,r=t.length;n<r&&(e=e.replace(t[n],t[n+1]),e);n+=2);return e}function b(e){return new RegExp(e,"g")}function Sf(e){let t="",n="";for(let r=0,s=e.length,o;r<s;r++)(o=e[r])!==n&&(t+=n=o);return t}var Sg={encode:xf,F:!1,G:""};function xf(e){return vf.call(this,(""+e).toLowerCase(),!1)}const Cf={},zt={};function Ef(e){Nr(e,"add"),Nr(e,"append"),Nr(e,"search"),Nr(e,"update"),Nr(e,"remove")}function Nr(e,t){e[t+"Async"]=function(){const n=this,r=arguments;var s=r[r.length-1];let o;return Nl(s)&&(o=s,delete r[r.length-1]),s=new Promise(function(i){setTimeout(function(){n.async=!0;const l=n[t].apply(n,r);n.async=!1,i(l)})}),o?(s.then(o),this):s}}function $f(e,t,n,r){const s=e.length;let o=[],i,l,a=0;r&&(r=[]);for(let u=s-1;0<=u;u--){const f=e[u],p=f.length,c=B();let v=!i;for(let m=0;m<p;m++){const y=f[m],h=y.length;if(h)for(let d=0,g,w;d<h;d++)if(w=y[d],i){if(i[w]){if(!u){if(n)n--;else if(o[a++]=w,a===t)return o}(u||r)&&(c[w]=1),v=!0}if(r&&(g=(l[w]||0)+1,l[w]=g,g<s)){const S=r[g-2]||(r[g-2]=[]);S[S.length]=w}}else c[w]=1}if(r)i||(l=c);else if(!v)return[];i=c}if(r)for(let u=r.length-1,f,p;0<=u;u--){f=r[u],p=f.length;for(let c=0,v;c<p;c++)if(v=f[c],!i[v]){if(n)n--;else if(o[a++]=v,a===t)return o;i[v]=1}}return o}function xg(e,t){const n=B(),r=B(),s=[];for(let o=0;o<e.length;o++)n[e[o]]=1;for(let o=0,i;o<t.length;o++){i=t[o];for(let l=0,a;l<i.length;l++)a=i[l],n[a]&&!r[a]&&(r[a]=1,s[s.length]=a)}return s}function Js(e){this.l=e!==!0&&e,this.cache=B(),this.h=[]}function kf(e,t,n){$t(e)&&(e=e.query);let r=this.cache.get(e);return r||(r=this.search(e,t,n),this.cache.set(e,r)),r}Js.prototype.set=function(e,t){if(!this.cache[e]){var n=this.h.length;for(n===this.l?delete this.cache[this.h[n-1]]:n++,--n;0<n;n--)this.h[n]=this.h[n-1];this.h[0]=e}this.cache[e]=t},Js.prototype.get=function(e){const t=this.cache[e];if(this.l&&t&&(e=this.h.indexOf(e))){const n=this.h[e-1];this.h[e-1]=this.h[e],this.h[e]=n}return t};const Cg={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};fu
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&jm[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const rd=Symbol("internals");function _r(e){return e&&String(e).trim().toLowerCase()}function ro(e){return e===!1||e==null?e:x.isArray(e)?e.map(ro):String(e)}function Lm(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}const Rm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zl(e,t,n,r,s){if(x.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function _m(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Dm(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class so{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,a,u){const f=_r(a);if(!f)throw new Error("header name must be a non-empty string");const p=x.findKey(s,f);(!p||s[p]===void 0||u===!0||u===void 0&&s[p]!==!1)&&(s[p||a]=ro(l))}const i=(l,a)=>x.forEach(l,(u,f)=>o(u,f,a));return x.isPlainObject(t)||t instanceof this.constructor?i(t,n):x.isString(t)&&(t=t.trim())&&!Rm(t)?i(Am(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_r(t),t){const r=x.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Lm(s);if(x.isFunction(n))return n.call(this,s,r);if(x.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_r(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||zl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=_r(i),i){const l=x.findKey(r,i);l&&(!n||zl(r,r[l],l,n))&&(delete r[l],s=!0)}}return x.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||zl(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return x.forEach(this,(s,o)=>{const i=x.findKey(r,o);if(i){n[i]=ro(s),delete n[o];return}const l=t?_m(o):String(o).trim();l!==o&&delete n[o],n[l]=ro(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&x.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[rd]=this[rd]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=_r(i);r[l]||(Dm(s,i),r[l]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}}so.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(so.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(so);var tt=so;function Bl(e,t){const n=this||Ul,r=t||n,s=tt.from(r.headers);let o=r.data;return x.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function sd(e){return!!(e&&e.__CANCEL__)}function Dr(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(Dr,D,{__CANCEL__:!0});function Fm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var Im=Ve.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),x.isString(r)&&i.push("path="+r),x.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Um(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function od(e,t){return e&&!Mm(t)?Um(e,t):t}var zm=Ve.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=x.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Bm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Hm(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),f=r[o];i||(i=u),n[s]=a,r[s]=u;let p=o,c=0;for(;p!==s;)c+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const v=f&&u-f;return v?Math.round(c*1e3/v):void 0}}function id(e,t){let n=0;const r=Hm(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,a=r(l),u=o<=i;n=o;const f={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:a||void 0,estimated:a&&i&&u?(i-o)/a:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}var Vm=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let s=e.data;const o=tt.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let f;if(x.isFormData(s)){if(Ve.hasStandardBrowserEnv||Ve.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[y,...h]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([y||"multipart/form-data",...h].join("; "))}}let p=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(y+":"+h))}const c=od(e.baseURL,e.url);p.open(e.method.toUpperCase(),Xf(c,e.params,e.paramsSerializer),!0),p.timeout=e.timeout;function v(){if(!p)return;const y=tt.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),d={data:!i
`+o.map(ld).join(`
`):" "+ld(o[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Hl};function Vl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Dr(null,e)}function ud(e){return Vl(e),e.headers=tt.from(e.headers),e.data=Bl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ad.getAdapter(e.adapter||Ul.adapter)(e).then(function(r){return Vl(e),r.data=Bl.call(e,e.transformResponse,r),r.headers=tt.from(r.headers),r},function(r){return sd(r)||(Vl(e),r&&r.response&&(r.response.data=Bl.call(e,e.transformResponse,r.response),r.response.headers=tt.from(r.response.headers))),Promise.reject(r)})}const cd=e=>e instanceof tt?{...e}:e;function $n(e,t){t=t||{};const n={};function r(u,f,p){return x.isPlainObject(u)&&x.isPlainObject(f)?x.merge.call({caseless:p},u,f):x.isPlainObject(f)?x.merge({},f):x.isArray(f)?f.slice():f}function s(u,f,p){if(x.isUndefined(f)){if(!x.isUndefined(u))return r(void 0,u,p)}else return r(u,f,p)}function o(u,f){if(!x.isUndefined(f))return r(void 0,f)}function i(u,f){if(x.isUndefined(f)){if(!x.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,p){if(p in t)return r(u,f);if(p in e)return r(void 0,u)}const a={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,f)=>s(cd(u),cd(f),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(f){const p=a[f]||s,c=p(e[f],t[f],f);x.isUndefined(c)&&p!==l||(n[f]=c)}),n}const fd="1.6.8",Kl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Kl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const dd={};Kl.transitional=function(t,n,r){function s(o,i){return"[Axios v"+fd+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new D(s(i," has been removed"+(n?" in "+n:"")),D.ERR_DEPRECATED);return n&&!dd[i]&&(dd[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Wm(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new D("option "+o+" must be "+a,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+o,D.ERR_BAD_OPTION)}}var Wl={assertOptions:Wm,validators:Kl};const kt=Wl.validators;class oo{constructor(t){this.defaults=t,this.interceptors={request:new Zf,response:new Zf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$n(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Wl.assertOptions(r,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean)},!1),s!=null&&(x.isFunction(s)?n.paramsSerializer={serialize:s}:Wl.assertOptions(s,{encode:kt.function,serialize:kt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&x.merge(o.common,o[n.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=tt.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(a=a&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let f,p=0,c;if(!a){const m=[ud.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),c=m.length,f=Promise.resolve(n);p<c;)f=f.then(m[p++],m[p++]);return f}c=l.length;let v=n;for(p=0;p<c;){const m=l[p++],y=l[p++];try{v=m(v)}catch(h){y.call(this,h);break}}try{f=ud.call(this,v)}catch(m){return Promise.reject(m)}for(p=0,c=u.length;p<c;)f=f.then(u[p++],u[p++]);return f}getUri(t){t=$n(this.defaults,t);const n=od(t.baseURL,t.url);return Xf(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(t){oo.prototype[t]=function(n,r){return this.request($n(r||{},{method:t,url:n,data:(r||{}).data}))}}),x.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request($n(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}oo.prototype[t]=n(),oo.prototype[t+"Form"]=n(!0)});var io=oo;class bl{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new Dr(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new bl(function(s){t=s}),cancel:t}}}var bm=bl;function qm(e){return function(n){return e.apply(null,n)}}function Jm(e){return x.isObject(e)&&e.isAxiosError===!0}const ql={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(ql).forEach(([e,t])=>{ql[t]=e});var Qm=ql;function hd(e){const t=new io(e),n=Ff(io.prototype.request,t)
//# sourceMappingURL=sodo-search.min.js.map