var WT=Object.defineProperty;var VT=(e,t,n)=>t in e?WT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var iu=(e,t,n)=>(VT(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();const YT="modulepreload",qT=function(e,t){return new URL(e,t).href},_m={},GT=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=qT(s,r),s in _m)return;_m[s]=!0;const a=s.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const c=i[d];if(c.href===s&&(!a||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":YT,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((d,c)=>{u.addEventListener("load",d),u.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})};var Em=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function md(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ry={exports:{}},gd={},iy={exports:{}},Ze={};/** * @license React * 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 Ml=Symbol.for("react.element"),XT=Symbol.for("react.portal"),QT=Symbol.for("react.fragment"),KT=Symbol.for("react.strict_mode"),ZT=Symbol.for("react.profiler"),JT=Symbol.for("react.provider"),ex=Symbol.for("react.context"),tx=Symbol.for("react.forward_ref"),nx=Symbol.for("react.suspense"),rx=Symbol.for("react.memo"),ix=Symbol.for("react.lazy"),ym=Symbol.iterator;function sx(e){return e===null||typeof e!="object"?null:(e=ym&&e[ym]||e["@@iterator"],typeof e=="function"?e:null)}var sy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ay=Object.assign,oy={};function Qa(e,t,n){this.props=e,this.context=t,this.refs=oy,this.updater=n||sy}Qa.prototype.isReactComponent={};Qa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ly(){}ly.prototype=Qa.prototype;function g0(e,t,n){this.props=e,this.context=t,this.refs=oy,this.updater=n||sy}var _0=g0.prototype=new ly;_0.constructor=g0;ay(_0,Qa.prototype);_0.isPureReactComponent=!0;var wm=Array.isArray,uy=Object.prototype.hasOwnProperty,E0={current:null},cy={key:!0,ref:!0,__self:!0,__source:!0};function dy(e,t,n){var r,i={},s=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(s=""+t.key),t)uy.call(t,r)&&!cy.hasOwnProperty(r)&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1>>1,V=D[U];if(0>>1;Ui(de,k))gei(ue,de)?(D[U]=ue,D[ge]=k,U=ge):(D[U]=de,D[Ee]=k,U=Ee);else if(gei(ue,k))D[U]=ue,D[ge]=k,U=ge;else break e}}return j}function i(D,j){var k=D.sortIndex-j.sortIndex;return k!==0?k:D.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,o=a.now();e.unstable_now=function(){return a.now()-o}}var l=[],u=[],d=1,c=null,f=3,p=!1,h=!1,w=!1,v=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(D){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=D)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function b(D){if(w=!1,_(D),!h)if(n(l)!==null)h=!0,G(T);else{var j=n(u);j!==null&&B(b,j.startTime-D)}}function T(D,j){h=!1,w&&(w=!1,E(A),A=-1),p=!0;var k=f;try{for(_(j),c=n(l);c!==null&&(!(c.expirationTime>j)||D&&!P());){var U=c.callback;if(typeof U=="function"){c.callback=null,f=c.priorityLevel;var V=U(c.expirationTime<=j);j=e.unstable_now(),typeof V=="function"?c.callback=V:c===n(l)&&r(l),_(j)}else r(l);c=n(l)}if(c!==null)var I=!0;else{var Ee=n(u);Ee!==null&&B(b,Ee.startTime-j),I=!1}return I}finally{c=null,f=k,p=!1}}var x=!1,O=null,A=-1,N=5,S=-1;function P(){return!(e.unstable_now()-SD||125U?(D.sortIndex=k,t(u,D),n(l)===null&&D===n(u)&&(w?(E(A),A=-1):w=!0,B(b,k-U))):(D.sortIndex=V,t(l,D),h||p||(h=!0,G(T))),D},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(D){var j=f;return function(){var k=f;f=j;try{return D.apply(this,arguments)}finally{f=k}}}})(gy);my.exports=gy;var gx=my.exports;/** * @license React * 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 _x=C,_r=gx;function oe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dp=Object.prototype.hasOwnProperty,Ex=/^[: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]*$/,bm={},Tm={};function yx(e){return Dp.call(Tm,e)?!0:Dp.call(bm,e)?!1:Ex.test(e)?Tm[e]=!0:(bm[e]=!0,!1)}function wx(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 vx(e,t,n,r){if(t===null||typeof t>"u"||wx(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 Un(e,t,n,r,i,s,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=a}var vn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vn[e]=new Un(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vn[t]=new Un(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vn[e]=new Un(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vn[e]=new Un(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){vn[e]=new Un(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vn[e]=new Un(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vn[e]=new Un(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vn[e]=new Un(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vn[e]=new Un(e,5,!1,e.toLowerCase(),null,!1,!1)});var w0=/[\-:]([a-z])/g;function v0(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-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(w0,v0);vn[t]=new Un(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(w0,v0);vn[t]=new Un(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(w0,v0);vn[t]=new Un(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vn[e]=new Un(e,1,!1,e.toLowerCase(),null,!1,!1)});vn.xlinkHref=new Un("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vn[e]=new Un(e,1,!1,e.toLowerCase(),null,!0,!0)});function b0(e,t,n,r){var i=vn.hasOwnProperty(t)?vn[t]:null;(i!==null?i.type!==0:r||!(2o||i[a]!==s[o]){var l=` `+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=o);break}}}finally{ff=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lo(e):""}function bx(e){switch(e.tag){case 5:return Lo(e.type);case 16:return Lo("Lazy");case 13:return Lo("Suspense");case 19:return Lo("SuspenseList");case 0:case 2:case 15:return e=pf(e.type,!1),e;case 11:return e=pf(e.type.render,!1),e;case 1:return e=pf(e.type,!0),e;default:return""}}function $p(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 ma:return"Fragment";case ha:return"Portal";case Bp:return"Profiler";case T0:return"StrictMode";case Fp:return"Suspense";case Hp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yy:return(e.displayName||"Context")+".Consumer";case Ey:return(e._context.displayName||"Context")+".Provider";case x0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case S0:return t=e.displayName||null,t!==null?t:$p(e.type)||"Memo";case Yi:t=e._payload,e=e._init;try{return $p(e(t))}catch{}}return null}function Tx(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $p(t);case 8:return t===T0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function cs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xx(e){var t=vy(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 i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,s.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){e._valueTracker||(e._valueTracker=xx(e))}function by(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=vy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function wc(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 zp(e,t){var n=t.checked;return Ft({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Sm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cs(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 Ty(e,t){t=t.checked,t!=null&&b0(e,"checked",t,!1)}function Up(e,t){Ty(e,t);var n=cs(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")?jp(e,t.type,n):t.hasOwnProperty("defaultValue")&&jp(e,t.type,cs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cm(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 jp(e,t,n){(t!=="number"||wc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var No=Array.isArray;function ka(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=lu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ul(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Uo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sx=["Webkit","ms","Moz","O"];Object.keys(Uo).forEach(function(e){Sx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Uo[t]=Uo[e]})});function ky(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Uo.hasOwnProperty(e)&&Uo[e]?(""+t).trim():t+"px"}function Ay(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ky(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Cx=Ft({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yp(e,t){if(t){if(Cx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(oe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(oe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(oe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(oe(62))}}function qp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gp=null;function C0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xp=null,Aa=null,Ia=null;function Im(e){if(e=Fl(e)){if(typeof Xp!="function")throw Error(oe(280));var t=e.stateNode;t&&(t=vd(t),Xp(e.stateNode,e.type,t))}}function Iy(e){Aa?Ia?Ia.push(e):Ia=[e]:Aa=e}function Ly(){if(Aa){var e=Aa,t=Ia;if(Ia=Aa=null,Im(e),t)for(e=0;e>>=0,e===0?32:31-(Bx(e)/Fx|0)|0}var uu=64,cu=4194304;function Po(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function xc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,a=n&268435455;if(a!==0){var o=a&~i;o!==0?r=Po(o):(s&=a,s!==0&&(r=Po(s)))}else a=n&~i,a!==0?r=Po(a):s!==0&&(r=Po(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Dl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zr(t),e[t]=n}function Ux(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Wo),Fm=String.fromCharCode(32),Hm=!1;function Qy(e,t){switch(e){case"keyup":return gS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ky(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ga=!1;function ES(e,t){switch(e){case"compositionend":return Ky(t);case"keypress":return t.which!==32?null:(Hm=!0,Fm);case"textInput":return e=t.data,e===Fm&&Hm?null:e;default:return null}}function yS(e,t){if(ga)return e==="compositionend"||!R0&&Qy(e,t)?(e=Gy(),Yu=N0=Qi=null,ga=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=jm(n)}}function tw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nw(){for(var e=window,t=wc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=wc(e.document)}return t}function M0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function AS(e){var t=nw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tw(n.ownerDocument.documentElement,n)){if(r!==null&&M0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Wm(n,s);var a=Wm(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,_a=null,th=null,Yo=null,nh=!1;function Vm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nh||_a==null||_a!==wc(r)||(r=_a,"selectionStart"in r&&M0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yo&&ml(Yo,r)||(Yo=r,r=kc(th,"onSelect"),0wa||(e.current=lh[wa],lh[wa]=null,wa--)}function At(e,t){wa++,lh[wa]=e.current,e.current=t}var ds={},Pn=ms(ds),er=ms(!1),Us=ds;function Da(e,t){var n=e.type.contextTypes;if(!n)return ds;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tr(e){return e=e.childContextTypes,e!=null}function Ic(){Ot(er),Ot(Pn)}function Zm(e,t,n){if(Pn.current!==ds)throw Error(oe(168));At(Pn,t),At(er,n)}function dw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(oe(108,Tx(e)||"Unknown",i));return Ft({},n,r)}function Lc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ds,Us=Pn.current,At(Pn,e),At(er,er.current),!0}function Jm(e,t,n){var r=e.stateNode;if(!r)throw Error(oe(169));n?(e=dw(e,t,Us),r.__reactInternalMemoizedMergedChildContext=e,Ot(er),Ot(Pn),At(Pn,e)):Ot(er),At(er,n)}var Ei=null,bd=!1,kf=!1;function fw(e){Ei===null?Ei=[e]:Ei.push(e)}function $S(e){bd=!0,fw(e)}function gs(){if(!kf&&Ei!==null){kf=!0;var e=0,t=mt;try{var n=Ei;for(mt=1;e>=a,i-=a,bi=1<<32-zr(t)+i|n<A?(N=O,O=null):N=O.sibling;var S=f(E,O,_[A],b);if(S===null){O===null&&(O=N);break}e&&O&&S.alternate===null&&t(E,O),g=s(S,g,A),x===null?T=S:x.sibling=S,x=S,O=N}if(A===_.length)return n(E,O),Mt&&Ss(E,A),T;if(O===null){for(;A<_.length;A++)O=c(E,_[A],b),O!==null&&(g=s(O,g,A),x===null?T=O:x.sibling=O,x=O);return Mt&&Ss(E,A),T}for(O=r(E,O);A<_.length;A++)N=p(O,E,A,_[A],b),N!==null&&(e&&N.alternate!==null&&O.delete(N.key===null?A:N.key),g=s(N,g,A),x===null?T=N:x.sibling=N,x=N);return e&&O.forEach(function(P){return t(E,P)}),Mt&&Ss(E,A),T}function w(E,g,_,b){var T=fo(_);if(typeof T!="function")throw Error(oe(150));if(_=T.call(_),_==null)throw Error(oe(151));for(var x=T=null,O=g,A=g=0,N=null,S=_.next();O!==null&&!S.done;A++,S=_.next()){O.index>A?(N=O,O=null):N=O.sibling;var P=f(E,O,S.value,b);if(P===null){O===null&&(O=N);break}e&&O&&P.alternate===null&&t(E,O),g=s(P,g,A),x===null?T=P:x.sibling=P,x=P,O=N}if(S.done)return n(E,O),Mt&&Ss(E,A),T;if(O===null){for(;!S.done;A++,S=_.next())S=c(E,S.value,b),S!==null&&(g=s(S,g,A),x===null?T=S:x.sibling=S,x=S);return Mt&&Ss(E,A),T}for(O=r(E,O);!S.done;A++,S=_.next())S=p(O,E,A,S.value,b),S!==null&&(e&&S.alternate!==null&&O.delete(S.key===null?A:S.key),g=s(S,g,A),x===null?T=S:x.sibling=S,x=S);return e&&O.forEach(function(M){return t(E,M)}),Mt&&Ss(E,A),T}function v(E,g,_,b){if(typeof _=="object"&&_!==null&&_.type===ma&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case au:e:{for(var T=_.key,x=g;x!==null;){if(x.key===T){if(T=_.type,T===ma){if(x.tag===7){n(E,x.sibling),g=i(x,_.props.children),g.return=E,E=g;break e}}else if(x.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Yi&&ng(T)===x.type){n(E,x.sibling),g=i(x,_.props),g.ref=_o(E,x,_),g.return=E,E=g;break e}n(E,x);break}else t(E,x);x=x.sibling}_.type===ma?(g=Fs(_.props.children,E.mode,b,_.key),g.return=E,E=g):(b=ec(_.type,_.key,_.props,null,E.mode,b),b.ref=_o(E,g,_),b.return=E,E=b)}return a(E);case ha:e:{for(x=_.key;g!==null;){if(g.key===x)if(g.tag===4&&g.stateNode.containerInfo===_.containerInfo&&g.stateNode.implementation===_.implementation){n(E,g.sibling),g=i(g,_.children||[]),g.return=E,E=g;break e}else{n(E,g);break}else t(E,g);g=g.sibling}g=Mf(_,E.mode,b),g.return=E,E=g}return a(E);case Yi:return x=_._init,v(E,g,x(_._payload),b)}if(No(_))return h(E,g,_,b);if(fo(_))return w(E,g,_,b);_u(E,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,g!==null&&g.tag===6?(n(E,g.sibling),g=i(g,_),g.return=E,E=g):(n(E,g),g=Rf(_,E.mode,b),g.return=E,E=g),a(E)):n(E,g)}return v}var Fa=gw(!0),_w=gw(!1),Oc=ms(null),Rc=null,Ta=null,H0=null;function $0(){H0=Ta=Rc=null}function z0(e){var t=Oc.current;Ot(Oc),e._currentValue=t}function dh(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Na(e,t){Rc=e,H0=Ta=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Jn=!0),e.firstContext=null)}function Pr(e){var t=e._currentValue;if(H0!==e)if(e={context:e,memoizedValue:t,next:null},Ta===null){if(Rc===null)throw Error(oe(308));Ta=e,Rc.dependencies={lanes:0,firstContext:e}}else Ta=Ta.next=e;return t}var Ps=null;function U0(e){Ps===null?Ps=[e]:Ps.push(e)}function Ew(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,U0(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qi=!1;function j0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function xi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function as(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,lt&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ii(e,n)}return i=r.interleaved,i===null?(t.next=t,U0(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ii(e,n)}function Gu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,A0(e,n)}}function rg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=a:s=s.next=a,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Mc(e,t,n,r){var i=e.updateQueue;qi=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var l=o,u=l.next;l.next=null,a===null?s=u:a.next=u,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==a&&(o===null?d.firstBaseUpdate=u:o.next=u,d.lastBaseUpdate=l))}if(s!==null){var c=i.baseState;a=0,d=u=l=null,o=s;do{var f=o.lane,p=o.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,w=o;switch(f=t,p=n,w.tag){case 1:if(h=w.payload,typeof h=="function"){c=h.call(p,c,f);break e}c=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=w.payload,f=typeof h=="function"?h.call(p,c,f):h,f==null)break e;c=Ft({},c,f);break e;case 2:qi=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[o]:f.push(o))}else p={eventTime:p,lane:f,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(u=d=p,l=c):d=d.next=p,a|=f;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;f=o,o=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(d===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Vs|=a,e.lanes=a,e.memoizedState=c}}function ig(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=If.transition;If.transition={};try{e(!1),t()}finally{mt=n,If.transition=r}}function Dw(){return Or().memoizedState}function WS(e,t,n){var r=ls(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bw(e))Fw(t,n);else if(n=Ew(e,t,n,r),n!==null){var i=Hn();Ur(n,e,r,i),Hw(n,t,r)}}function VS(e,t,n){var r=ls(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bw(e))Fw(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var a=t.lastRenderedState,o=s(a,n);if(i.hasEagerState=!0,i.eagerState=o,Wr(o,a)){var l=t.interleaved;l===null?(i.next=i,U0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Ew(e,t,i,r),n!==null&&(i=Hn(),Ur(n,e,r,i),Hw(n,t,r))}}function Bw(e){var t=e.alternate;return e===Bt||t!==null&&t===Bt}function Fw(e,t){qo=Bc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,A0(e,n)}}var Fc={readContext:Pr,useCallback:Cn,useContext:Cn,useEffect:Cn,useImperativeHandle:Cn,useInsertionEffect:Cn,useLayoutEffect:Cn,useMemo:Cn,useReducer:Cn,useRef:Cn,useState:Cn,useDebugValue:Cn,useDeferredValue:Cn,useTransition:Cn,useMutableSource:Cn,useSyncExternalStore:Cn,useId:Cn,unstable_isNewReconciler:!1},YS={readContext:Pr,useCallback:function(e,t){return Jr().memoizedState=[e,t===void 0?null:t],e},useContext:Pr,useEffect:ag,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qu(4194308,4,Nw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qu(4,2,e,t)},useMemo:function(e,t){var n=Jr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=WS.bind(null,Bt,e),[r.memoizedState,e]},useRef:function(e){var t=Jr();return e={current:e},t.memoizedState=e},useState:sg,useDebugValue:K0,useDeferredValue:function(e){return Jr().memoizedState=e},useTransition:function(){var e=sg(!1),t=e[0];return e=jS.bind(null,e[1]),Jr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Bt,i=Jr();if(Mt){if(n===void 0)throw Error(oe(407));n=n()}else{if(n=t(),fn===null)throw Error(oe(349));Ws&30||Tw(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,ag(Sw.bind(null,r,s,e),[e]),r.flags|=2048,Tl(9,xw.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Jr(),t=fn.identifierPrefix;if(Mt){var n=Ti,r=bi;n=(r&~(1<<32-zr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ri]=t,e[El]=r,Xw(e,t,!1,!1),t.stateNode=e;e:{switch(a=qp(n,r),n){case"dialog":Nt("cancel",e),Nt("close",e),i=r;break;case"iframe":case"object":case"embed":Nt("load",e),i=r;break;case"video":case"audio":for(i=0;iza&&(t.flags|=128,r=!0,Eo(s,!1),t.lanes=4194304)}else{if(!r)if(e=Dc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Eo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!Mt)return kn(t),null}else 2*Yt()-s.renderingStartTime>za&&n!==1073741824&&(t.flags|=128,r=!0,Eo(s,!1),t.lanes=4194304);s.isBackwards?(a.sibling=t.child,t.child=a):(n=s.last,n!==null?n.sibling=a:t.child=a,s.last=a)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Yt(),t.sibling=null,n=Dt.current,At(Dt,r?n&1|2:n&1),t):(kn(t),null);case 22:case 23:return r1(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ar&1073741824&&(kn(t),t.subtreeFlags&6&&(t.flags|=8192)):kn(t),null;case 24:return null;case 25:return null}throw Error(oe(156,t.tag))}function e4(e,t){switch(B0(t),t.tag){case 1:return tr(t.type)&&Ic(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ha(),Ot(er),Ot(Pn),Y0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return V0(t),null;case 13:if(Ot(Dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(oe(340));Ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ot(Dt),null;case 4:return Ha(),null;case 10:return z0(t.type._context),null;case 22:case 23:return r1(),null;case 24:return null;default:return null}}var yu=!1,In=!1,t4=typeof WeakSet=="function"?WeakSet:Set,_e=null;function xa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ht(e,t,r)}else n.current=null}function wh(e,t,n){try{n()}catch(r){Ht(e,t,r)}}var _g=!1;function n4(e,t){if(rh=Sc,e=nw(),M0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var a=0,o=-1,l=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var p;c!==n||i!==0&&c.nodeType!==3||(o=a+i),c!==s||r!==0&&c.nodeType!==3||(l=a+r),c.nodeType===3&&(a+=c.nodeValue.length),(p=c.firstChild)!==null;)f=c,c=p;for(;;){if(c===e)break t;if(f===n&&++u===i&&(o=a),f===s&&++d===r&&(l=a),(p=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=p}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ih={focusedElem:e,selectionRange:n},Sc=!1,_e=t;_e!==null;)if(t=_e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_e=e;else for(;_e!==null;){t=_e;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var w=h.memoizedProps,v=h.memoizedState,E=t.stateNode,g=E.getSnapshotBeforeUpdate(t.elementType===t.type?w:Br(t.type,w),v);E.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(oe(163))}}catch(b){Ht(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,_e=e;break}_e=t.return}return h=_g,_g=!1,h}function Go(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&wh(t,n,s)}i=i.next}while(i!==r)}}function Sd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Zw(e){var t=e.alternate;t!==null&&(e.alternate=null,Zw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ri],delete t[El],delete t[oh],delete t[FS],delete t[HS])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jw(e){return e.tag===5||e.tag===3||e.tag===4}function Eg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ac));else if(r!==4&&(e=e.child,e!==null))for(bh(e,t,n),e=e.sibling;e!==null;)bh(e,t,n),e=e.sibling}function Th(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Th(e,t,n),e=e.sibling;e!==null;)Th(e,t,n),e=e.sibling}var gn=null,Fr=!1;function Bi(e,t,n){for(n=n.child;n!==null;)ev(e,t,n),n=n.sibling}function ev(e,t,n){if(ii&&typeof ii.onCommitFiberUnmount=="function")try{ii.onCommitFiberUnmount(_d,n)}catch{}switch(n.tag){case 5:In||xa(n,t);case 6:var r=gn,i=Fr;gn=null,Bi(e,t,n),gn=r,Fr=i,gn!==null&&(Fr?(e=gn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):gn.removeChild(n.stateNode));break;case 18:gn!==null&&(Fr?(e=gn,n=n.stateNode,e.nodeType===8?Cf(e.parentNode,n):e.nodeType===1&&Cf(e,n),pl(e)):Cf(gn,n.stateNode));break;case 4:r=gn,i=Fr,gn=n.stateNode.containerInfo,Fr=!0,Bi(e,t,n),gn=r,Fr=i;break;case 0:case 11:case 14:case 15:if(!In&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&wh(n,t,a),i=i.next}while(i!==r)}Bi(e,t,n);break;case 1:if(!In&&(xa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Ht(n,t,o)}Bi(e,t,n);break;case 21:Bi(e,t,n);break;case 22:n.mode&1?(In=(r=In)||n.memoizedState!==null,Bi(e,t,n),In=r):Bi(e,t,n);break;default:Bi(e,t,n)}}function yg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new t4),t.forEach(function(r){var i=d4.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Dr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~s}if(r=i,r=Yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i4(r/1960))-r,10e?16:e,Ki===null)var r=!1;else{if(e=Ki,Ki=null,zc=0,lt&6)throw Error(oe(331));var i=lt;for(lt|=4,_e=e.current;_e!==null;){var s=_e,a=s.child;if(_e.flags&16){var o=s.deletions;if(o!==null){for(var l=0;lYt()-t1?Bs(e,0):e1|=n),nr(e,t)}function lv(e,t){t===0&&(e.mode&1?(t=cu,cu<<=1,!(cu&130023424)&&(cu=4194304)):t=1);var n=Hn();e=Ii(e,t),e!==null&&(Dl(e,t,n),nr(e,n))}function c4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lv(e,n)}function d4(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(oe(314))}r!==null&&r.delete(t),lv(e,n)}var uv;uv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||er.current)Jn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Jn=!1,ZS(e,t,n);Jn=!!(e.flags&131072)}else Jn=!1,Mt&&t.flags&1048576&&pw(t,Pc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ku(e,t),e=t.pendingProps;var i=Da(t,Pn.current);Na(t,n),i=G0(null,t,r,e,i,n);var s=X0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tr(r)?(s=!0,Lc(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,j0(t),i.updater=xd,t.stateNode=i,i._reactInternals=t,ph(t,r,e,n),t=gh(null,t,r,!0,s,n)):(t.tag=0,Mt&&s&&D0(t),Dn(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ku(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=p4(r),e=Br(r,e),i){case 0:t=mh(null,t,r,e,n);break e;case 1:t=hg(null,t,r,e,n);break e;case 11:t=fg(null,t,r,e,n);break e;case 14:t=pg(null,t,r,Br(r.type,e),n);break e}throw Error(oe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Br(r,i),mh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Br(r,i),hg(e,t,r,i,n);case 3:e:{if(Yw(t),e===null)throw Error(oe(387));r=t.pendingProps,s=t.memoizedState,i=s.element,yw(e,t),Mc(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=$a(Error(oe(423)),t),t=mg(e,t,r,n,i);break e}else if(r!==i){i=$a(Error(oe(424)),t),t=mg(e,t,r,n,i);break e}else for(pr=ss(t.stateNode.containerInfo.firstChild),mr=t,Mt=!0,Hr=null,n=_w(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ba(),r===i){t=Li(e,t,n);break e}Dn(e,t,r,n)}t=t.child}return t;case 5:return ww(t),e===null&&ch(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,a=i.children,sh(r,i)?a=null:s!==null&&sh(r,s)&&(t.flags|=32),Vw(e,t),Dn(e,t,a,n),t.child;case 6:return e===null&&ch(t),null;case 13:return qw(e,t,n);case 4:return W0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fa(t,null,r,n):Dn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Br(r,i),fg(e,t,r,i,n);case 7:return Dn(e,t,t.pendingProps,n),t.child;case 8:return Dn(e,t,t.pendingProps.children,n),t.child;case 12:return Dn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value,At(Oc,r._currentValue),r._currentValue=a,s!==null)if(Wr(s.value,a)){if(s.children===i.children&&!er.current){t=Li(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){a=s.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=xi(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),dh(s.return,n,t),o.lanes|=n;break}l=l.next}}else if(s.tag===10)a=s.type===t.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(oe(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),dh(a,n,t),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}Dn(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Na(t,n),i=Pr(i),r=r(i),t.flags|=1,Dn(e,t,r,n),t.child;case 14:return r=t.type,i=Br(r,t.pendingProps),i=Br(r.type,i),pg(e,t,r,i,n);case 15:return jw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Br(r,i),Ku(e,t),t.tag=1,tr(r)?(e=!0,Lc(t)):e=!1,Na(t,n),$w(t,r,i),ph(t,r,i,n),gh(null,t,r,!0,e,n);case 19:return Gw(e,t,n);case 22:return Ww(e,t,n)}throw Error(oe(156,t.tag))};function cv(e,t){return By(e,t)}function f4(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ir(e,t,n,r){return new f4(e,t,n,r)}function s1(e){return e=e.prototype,!(!e||!e.isReactComponent)}function p4(e){if(typeof e=="function")return s1(e)?1:0;if(e!=null){if(e=e.$$typeof,e===x0)return 11;if(e===S0)return 14}return 2}function us(e,t){var n=e.alternate;return n===null?(n=Ir(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ec(e,t,n,r,i,s){var a=2;if(r=e,typeof e=="function")s1(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ma:return Fs(n.children,i,s,t);case T0:a=8,i|=8;break;case Bp:return e=Ir(12,n,t,i|2),e.elementType=Bp,e.lanes=s,e;case Fp:return e=Ir(13,n,t,i),e.elementType=Fp,e.lanes=s,e;case Hp:return e=Ir(19,n,t,i),e.elementType=Hp,e.lanes=s,e;case wy:return kd(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ey:a=10;break e;case yy:a=9;break e;case x0:a=11;break e;case S0:a=14;break e;case Yi:a=16,r=null;break e}throw Error(oe(130,e==null?e:typeof e,""))}return t=Ir(a,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Fs(e,t,n,r){return e=Ir(7,e,r,t),e.lanes=n,e}function kd(e,t,n,r){return e=Ir(22,e,r,t),e.elementType=wy,e.lanes=n,e.stateNode={isHidden:!1},e}function Rf(e,t,n){return e=Ir(6,e,null,t),e.lanes=n,e}function Mf(e,t,n){return t=Ir(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function h4(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mf(0),this.expirationTimes=mf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function a1(e,t,n,r,i,s,a,o,l){return e=new h4(e,t,n,o,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ir(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},j0(s),e}function m4(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hv)}catch(e){console.error(e)}}hv(),hy.exports=Er;var Pd=hy.exports,kg=Pd;yc.createRoot=kg.createRoot,yc.hydrateRoot=kg.hydrateRoot;var bu={};/*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */var Ag;function w4(){if(Ag)return bu;Ag=1,bu.parse=a,bu.serialize=u;var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,r=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function a(p,h){if(typeof p!="string")throw new TypeError("argument str must be a string");var w={},v=p.length;if(v<2)return w;var E=h&&h.decode||d,g=0,_=0,b=0;do{if(_=p.indexOf("=",g),_===-1)break;if(b=p.indexOf(";",g),b===-1)b=v;else if(_>b){g=p.lastIndexOf(";",_-1)+1;continue}var T=o(p,g,_),x=l(p,_,T),O=p.slice(T,x);if(!t.call(w,O)){var A=o(p,_+1,b),N=l(p,b,A);p.charCodeAt(A)===34&&p.charCodeAt(N-1)===34&&(A++,N--);var S=p.slice(A,N);w[O]=f(S,E)}g=b+1}while(gw;){var v=p.charCodeAt(--h);if(v!==32&&v!==9)return h+1}return w}function u(p,h,w){var v=w&&w.encode||encodeURIComponent;if(typeof v!="function")throw new TypeError("option encode is invalid");if(!n.test(p))throw new TypeError("argument name is invalid");var E=v(h);if(!r.test(E))throw new TypeError("argument val is invalid");var g=p+"="+E;if(!w)return g;if(w.maxAge!=null){var _=Math.floor(w.maxAge);if(!isFinite(_))throw new TypeError("option maxAge is invalid");g+="; Max-Age="+_}if(w.domain){if(!i.test(w.domain))throw new TypeError("option domain is invalid");g+="; Domain="+w.domain}if(w.path){if(!s.test(w.path))throw new TypeError("option path is invalid");g+="; Path="+w.path}if(w.expires){var b=w.expires;if(!c(b)||isNaN(b.valueOf()))throw new TypeError("option expires is invalid");g+="; Expires="+b.toUTCString()}if(w.httpOnly&&(g+="; HttpOnly"),w.secure&&(g+="; Secure"),w.partitioned&&(g+="; Partitioned"),w.priority){var T=typeof w.priority=="string"?w.priority.toLowerCase():w.priority;switch(T){case"low":g+="; Priority=Low";break;case"medium":g+="; Priority=Medium";break;case"high":g+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(w.sameSite){var x=typeof w.sameSite=="string"?w.sameSite.toLowerCase():w.sameSite;switch(x){case!0:g+="; SameSite=Strict";break;case"lax":g+="; SameSite=Lax";break;case"strict":g+="; SameSite=Strict";break;case"none":g+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return g}function d(p){return p.indexOf("%")!==-1?decodeURIComponent(p):p}function c(p){return e.call(p)==="[object Date]"}function f(p,h){try{return h(p)}catch{return p}}return bu}var tc=w4();function v4(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function b4(e){return typeof e=="string"?tc.parse(e):typeof e=="object"&&e!==null?e:{}}function Df(e,t={}){const n=T4(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function T4(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class x4{constructor(t,n={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const i=this.cookies;this.cookies=tc.parse(document.cookie),this._checkChanges(i)};const r=typeof document>"u"?"":document.cookie;this.cookies=b4(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=v4()}_emitChange(t){for(let n=0;n{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:Df(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,n={}){return n.doNotUpdate||this.update(),Df(this.cookies[t],n)}getAll(t={}){t.doNotUpdate||this.update();const n={};for(let r in this.cookies)n[r]=Df(this.cookies[r],t);return n}set(t,n,r){r?r=Object.assign(Object.assign({},this.defaultSetOptions),r):r=this.defaultSetOptions;const i=typeof n=="string"?n:JSON.stringify(n);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=tc.serialize(t,i,r)),this._emitChange({name:t,value:n,options:r})}remove(t,n){const r=n=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=tc.serialize(t,"",r)),this._emitChange({name:t,value:void 0,options:n})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const n=this.changeListeners.indexOf(t);n>=0&&this.changeListeners.splice(n,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const S4=C.createContext(new x4);var Bf={exports:{}},ht={};/** @license React v16.13.1 * react-is.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 Ig;function C4(){if(Ig)return ht;Ig=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,o=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function _(T){if(typeof T=="object"&&T!==null){var x=T.$$typeof;switch(x){case t:switch(T=T.type,T){case l:case u:case r:case s:case i:case c:return T;default:switch(T=T&&T.$$typeof,T){case o:case d:case h:case p:case a:return T;default:return x}}case n:return x}}}function b(T){return _(T)===u}return ht.AsyncMode=l,ht.ConcurrentMode=u,ht.ContextConsumer=o,ht.ContextProvider=a,ht.Element=t,ht.ForwardRef=d,ht.Fragment=r,ht.Lazy=h,ht.Memo=p,ht.Portal=n,ht.Profiler=s,ht.StrictMode=i,ht.Suspense=c,ht.isAsyncMode=function(T){return b(T)||_(T)===l},ht.isConcurrentMode=b,ht.isContextConsumer=function(T){return _(T)===o},ht.isContextProvider=function(T){return _(T)===a},ht.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},ht.isForwardRef=function(T){return _(T)===d},ht.isFragment=function(T){return _(T)===r},ht.isLazy=function(T){return _(T)===h},ht.isMemo=function(T){return _(T)===p},ht.isPortal=function(T){return _(T)===n},ht.isProfiler=function(T){return _(T)===s},ht.isStrictMode=function(T){return _(T)===i},ht.isSuspense=function(T){return _(T)===c},ht.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===u||T===s||T===i||T===c||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===h||T.$$typeof===p||T.$$typeof===a||T.$$typeof===o||T.$$typeof===d||T.$$typeof===v||T.$$typeof===E||T.$$typeof===g||T.$$typeof===w)},ht.typeOf=_,ht}var Lg;function k4(){return Lg||(Lg=1,Bf.exports=C4()),Bf.exports}var Ff,Ng;function A4(){if(Ng)return Ff;Ng=1;var e=k4(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=r,s[e.Memo]=i;function a(h){return e.isMemo(h)?i:s[h.$$typeof]||t}var o=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,f=Object.prototype;function p(h,w,v){if(typeof w!="string"){if(f){var E=c(w);E&&E!==f&&p(h,E,v)}var g=l(w);u&&(g=g.concat(u(w)));for(var _=a(h),b=a(w),T=0;T");const i=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[s,a]=C.useState(()=>n.getAll(i));I4()&&C.useLayoutEffect(()=>{function d(){const c=n.getAll(i);L4(e||null,c,s)&&a(c)}return n.addChangeListener(d),()=>{n.removeChangeListener(d)}},[n,s]);const o=C.useMemo(()=>n.set.bind(n),[n]),l=C.useMemo(()=>n.remove.bind(n),[n]),u=C.useMemo(()=>n.update.bind(n),[n]);return[s,o,l,u]}function L4(e,t,n){if(!e)return!0;for(let r of e)if(t[r]!==n[r])return!0;return!1}const qs=C.createContext({});function mv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ty.jsx("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsxs("g",{id:"Group 3427",children:[y.jsx("path",{id:"Vector 7",d:"M4.02778 0.666992H11.8056C12.3578 0.666992 12.8056 1.11471 12.8056 1.66699V7.22255C12.8056 7.77483 12.3578 8.22255 11.8056 8.22255H10.8982C10.6099 8.22255 10.3355 8.34703 10.1456 8.56404L7.4377 11.6588C7.24781 11.8758 6.97348 12.0003 6.68512 12.0003H6.53078C5.88021 12.0003 5.40285 11.3889 5.56063 10.7578L5.88381 9.46508C6.0416 8.83394 5.56424 8.22255 4.91367 8.22255H2C1.44772 8.22255 1 7.77483 1 7.22255V6.53366C1 6.40163 1.02614 6.27091 1.07692 6.14904L3.1047 1.28238C3.25997 0.90973 3.62408 0.666992 4.02778 0.666992Z",stroke:"#006CE1"}),y.jsx("path",{id:"Vector 8",d:"M10.4434 0.666992V8.22255",stroke:"#006CE1"})]})}),P4=e=>y.jsxs("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{d:"M9.97222 12.333L2.19444 12.333C1.64216 12.333 1.19444 11.8853 1.19444 11.333L1.19444 5.77745C1.19444 5.22517 1.64216 4.77745 2.19444 4.77745L3.10179 4.77745C3.39015 4.77745 3.66448 4.65297 3.85436 4.43596L6.5623 1.34117C6.75219 1.12415 7.02652 0.999674 7.31488 0.999674L7.46922 0.999674C8.11979 0.999674 8.59715 1.61106 8.43937 2.24221L8.11619 3.53492C7.9584 4.16606 8.43576 4.77745 9.08633 4.77745L12 4.77745C12.5523 4.77745 13 5.22517 13 5.77745L13 6.46634C13 6.59837 12.9739 6.72909 12.9231 6.85096L10.8953 11.7176C10.74 12.0903 10.3759 12.333 9.97222 12.333Z",stroke:"white"}),y.jsx("path",{d:"M3.55664 12.333L3.55664 4.77745",stroke:"white"})]}),gv=e=>y.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"36px",height:"36px",viewBox:"0 0 30 30",xmlSpace:"preserve",fill:"currentColor",...e,children:[y.jsxs("rect",{x:"4.5",y:"13",width:"3",height:"5",children:[y.jsx("animate",{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),y.jsx("animate",{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"})]}),y.jsxs("rect",{x:"13.5",y:"13",width:"3",height:"5",children:[y.jsx("animate",{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),y.jsx("animate",{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"})]}),y.jsxs("rect",{x:"22.5",y:"13",width:"3",height:"5",children:[y.jsx("animate",{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),y.jsx("animate",{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"})]})]}),Ah=({className:e,color:t,...n})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",stroke:t,className:e,...n,children:y.jsx("path",{d:"M14.0625 4.4375L3.9375 14.5625M3.9375 4.4375L14.0625 14.5625",strokeWidth:"1.5",strokeLinecap:"round"})}),O4=e=>y.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M6.46627 11.563L10.3295 12.154L6.46662 12.745L6.46661 12.7449L6.4589 12.7462C6.22441 12.7852 6.00511 12.8878 5.82484 13.0427C5.64458 13.1977 5.51024 13.3991 5.43645 13.6251L5.42508 13.6599L5.41802 13.6959L4.46909 18.5354C4.44256 18.6608 4.41415 18.8071 4.40406 18.9444C4.39569 19.0585 4.38658 19.2962 4.51627 19.5155C4.59192 19.6434 4.7074 19.7523 4.85898 19.8175C5.0014 19.8787 5.14003 19.8862 5.24854 19.8774C5.45069 19.861 5.65069 19.7792 5.82523 19.692L5.82523 19.692L5.82936 19.6899L18.8939 13.0346L18.9062 13.0283L18.9183 13.0215L18.9434 13.0072C19.1412 12.8946 19.3285 12.7881 19.4635 12.692C19.5345 12.6415 19.6249 12.5708 19.7016 12.478C19.7811 12.3819 19.8804 12.2195 19.8804 12C19.8804 11.7805 19.7811 11.6181 19.7016 11.522C19.6249 11.4292 19.5345 11.3585 19.4635 11.308C19.3285 11.2119 19.1412 11.1054 18.9434 10.9928L18.9183 10.9785L18.9013 10.9688L18.8836 10.9603L5.82211 4.61704C5.66503 4.53863 5.49326 4.46032 5.33246 4.42395C5.18664 4.39098 4.80089 4.34309 4.5488 4.68699C4.45098 4.82044 4.42035 4.9598 4.4088 5.048C4.39678 5.13964 4.3991 5.22735 4.40384 5.29685C4.41294 5.43037 4.43886 5.59097 4.46344 5.74329L4.46467 5.75091L4.46628 5.76088L4.46822 5.7708L5.41768 10.6121L5.42473 10.6481L5.4361 10.6829C5.5099 10.9089 5.64423 11.1103 5.82449 11.2652C6.00476 11.4202 6.22406 11.5228 6.45855 11.5618L6.45854 11.5618L6.46627 11.563Z",stroke:"#181818",strokeWidth:"1.2"})}),R4=e=>y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.139404 0.95166L18.236 9.99997L0.139404 19.0483L2.75895 10.6418L6.082 9.99997L2.75895 9.35823L0.139404 0.95166ZM10.6363 9.99997L3.5 11.5L1.99996 17L16 9.99997L1.99996 2.99997L3.5 8.5L10.6363 9.99997Z",fill:"#181818"})}),M4=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.00665 10.4968C6.04638 10.6185 6.11872 10.727 6.21578 10.8104C6.31285 10.8938 6.43093 10.9491 6.55719 10.9701L12.6042 11.8952C12.8965 11.9442 12.8965 12.3642 12.6042 12.4132L6.55754 13.3383C6.43128 13.3593 6.3132 13.4145 6.21613 13.4979C6.11907 13.5814 6.04673 13.6898 6.007 13.8115L5.05719 18.6555C4.95117 19.1555 4.93175 19.468 5.55719 19.1555L18.6217 12.5002C19.0609 12.2502 19.2806 12.1252 19.2806 12.0002C19.2806 11.8752 19.0609 11.7502 18.6217 11.5002L5.55719 5.15548C4.93175 4.84291 4.95117 4.99848 5.05719 5.6555L6.00665 10.4968ZM6.08733 4.07891C5.92811 3.99949 5.70112 3.8923 5.46499 3.8389C5.25782 3.79206 4.53923 3.68561 4.06507 4.33244C3.88445 4.57884 3.83251 4.82951 3.81407 4.9702C3.79473 5.11778 3.79942 5.24986 3.80541 5.33782C3.81644 5.49967 3.84631 5.68449 3.86934 5.82701C3.87041 5.83365 3.87147 5.84021 3.87251 5.84666L3.87573 5.86661L4.84318 10.7997L4.86593 10.8694C4.97378 11.1996 5.17011 11.494 5.43357 11.7204C5.69704 11.9469 6.01756 12.0968 6.36027 12.1538C6.01756 12.2108 5.69739 12.3614 5.43392 12.5879C5.17046 12.8144 4.97413 13.1087 4.86628 13.439L4.84353 13.5087L3.88134 18.4158C3.85445 18.5431 3.819 18.7217 3.80586 18.9006C3.79606 19.034 3.77067 19.4333 4.00002 19.8211C4.1363 20.0515 4.34654 20.2504 4.62216 20.3689C4.87945 20.4795 5.12237 20.4898 5.29715 20.4756C5.61698 20.4497 5.90092 20.3252 6.09363 20.2289L19.1911 13.5568L19.2153 13.5431C19.2274 13.5362 19.2397 13.5292 19.2521 13.5221C19.4382 13.4163 19.6506 13.2955 19.8115 13.1811C19.8985 13.1192 20.0383 13.0128 20.1642 12.8605C20.2956 12.7016 20.4806 12.4079 20.4806 12.0002C20.4806 11.5925 20.2956 11.2988 20.1642 11.1398C20.0383 10.9875 19.8985 10.8812 19.8115 10.8193C19.6506 10.7048 19.4382 10.584 19.2521 10.4782C19.2397 10.4712 19.2274 10.4642 19.2153 10.4573L19.1812 10.4379L6.08733 4.07891ZM6.19995 5.17588C6.19992 5.17546 6.19989 5.17506 6.19986 5.17466L6.19995 5.17588ZM18.4202 12.7748C18.4272 12.7803 18.4275 12.78 18.4202 12.7748C18.42 12.7747 18.4204 12.775 18.4202 12.7748Z",fill:"white"})}),D4=e=>y.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M4.5 12H19.5M12 4.5V19.5",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round"})}),B4=e=>y.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M4.5 12H19.5M12 4.5V19.5",stroke:"#181818",strokeWidth:"1.5",strokeLinecap:"square"})}),F4=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",...e,children:y.jsx("path",{d:"M5 12H20M12.5 4.5V19.5",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"})}),H4=e=>y.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{d:"M16.9 22C13.8 22 11.3 19.5 11.3 16.4C11.3 13.3 13.8 10.8 16.9 10.8C20 10.8 22.5 13.3 22.5 16.4C22.5 19.5 20 22 16.9 22ZM16.9 12C14.5 12 12.5 14 12.5 16.4C12.5 18.8 14.5 20.8 16.9 20.8C19.3 20.8 21.3 18.8 21.3 16.4C21.3 14 19.3 12 16.9 12Z",fill:"#181818"}),y.jsx("path",{d:"M18.9 15.4H14.9C14.6 15.4 14.3 15.1 14.3 14.8C14.3 14.5 14.6 14.2 14.9 14.2H18.9C19.2 14.2 19.5 14.5 19.5 14.8C19.5 15.1 19.2 15.4 18.9 15.4Z",fill:"#181818"}),y.jsx("path",{d:"M16.9 19.2C16.6 19.2 16.3 18.9 16.3 18.6V14.8C16.3 14.5 16.6 14.2 16.9 14.2C17.2 14.2 17.5 14.5 17.5 14.8V18.6C17.5 18.9 17.2 19.2 16.9 19.2Z",fill:"#181818"}),y.jsx("path",{d:"M8.1 15.2C6.1 15.2 4.5 13.6 4.5 11.6V5.6C4.5 3.6 6.1 2 8.1 2C10.1 2 11.7 3.6 11.7 5.6V11.6C11.7 13.6 10.1 15.2 8.1 15.2ZM8.1 3.2C6.8 3.2 5.7 4.3 5.7 5.6V11.6C5.7 12.9 6.8 14 8.1 14C9.4 14 10.5 12.9 10.5 11.6V5.6C10.5 4.3 9.4 3.2 8.1 3.2Z",fill:"#181818"}),y.jsx("path",{d:"M8.6 18.2H7.6C4.2 18.2 1.5 15.5 1.5 12.1V11.6C1.5 11.3 1.8 11 2.1 11C2.4 11 2.7 11.3 2.7 11.6V12.1C2.7 14.8 4.9 17 7.6 17H8.6C9.2 17 9.8 16.9 10.3 16.7C10.6 16.6 11 16.7 11.1 17.1C11.2 17.4 11.1 17.8 10.7 17.9C10 18.1 9.3 18.3 8.6 18.3V18.2Z",fill:"#181818"}),y.jsx("path",{d:"M8.1 20.7C7.8 20.7 7.5 20.4 7.5 20.1V17.6C7.5 17.3 7.8 17 8.1 17C8.4 17 8.7 17.3 8.7 17.6V20.1C8.7 20.4 8.4 20.7 8.1 20.7Z",fill:"#181818"})]}),$4=e=>y.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{d:"M9.3 15H4.5L3.5 14V3L4.5 2H9.5L10.5 3V10.2H9.5V3.5L9 3H5L4.5 3.5V13.5L5 14H9.3V15Z",fill:"#181818"}),y.jsx("path",{d:"M9.5 17H3.3L1.5 15.1V11.5H2.5V14.7L3.7 16H9.5V17Z",fill:"#181818"}),y.jsx("path",{d:"M7.5 16.5H6.5V19.5H7.5V16.5Z",fill:"#181818"}),y.jsx("path",{d:"M9.5 19H3V20H9.5V19Z",fill:"#181818"}),y.jsx("path",{d:"M16.5 8.1L10.5 11.6V18.5L16.5 22L22.5 18.5V11.6L16.5 8.1ZM20 14H17.5V18.5H15.5V14H13V13H20V14Z",fill:"#181818"})]}),z4=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[y.jsx("path",{d:"M16.9 22C13.8 22 11.3 19.5 11.3 16.4C11.3 13.3 13.8 10.8 16.9 10.8C20 10.8 22.5 13.3 22.5 16.4C22.5 19.5 20 22 16.9 22ZM16.9 12C14.5 12 12.5 14 12.5 16.4C12.5 18.8 14.5 20.8 16.9 20.8C19.3 20.8 21.3 18.8 21.3 16.4C21.3 14 19.3 12 16.9 12Z",fill:"white"}),y.jsx("path",{d:"M18.9 15.4H14.9C14.6 15.4 14.3 15.1 14.3 14.8C14.3 14.5 14.6 14.2 14.9 14.2H18.9C19.2 14.2 19.5 14.5 19.5 14.8C19.5 15.1 19.2 15.4 18.9 15.4Z",fill:"white"}),y.jsx("path",{d:"M16.9 19.2C16.6 19.2 16.3 18.9 16.3 18.6V14.8C16.3 14.5 16.6 14.2 16.9 14.2C17.2 14.2 17.5 14.5 17.5 14.8V18.6C17.5 18.9 17.2 19.2 16.9 19.2Z",fill:"white"}),y.jsx("path",{d:"M8.1 15.2C6.1 15.2 4.5 13.6 4.5 11.6V5.6C4.5 3.6 6.1 2 8.1 2C10.1 2 11.7 3.6 11.7 5.6V11.6C11.7 13.6 10.1 15.2 8.1 15.2ZM8.1 3.2C6.8 3.2 5.7 4.3 5.7 5.6V11.6C5.7 12.9 6.8 14 8.1 14C9.4 14 10.5 12.9 10.5 11.6V5.6C10.5 4.3 9.4 3.2 8.1 3.2Z",fill:"white"}),y.jsx("path",{d:"M8.6 18.2H7.6C4.2 18.2 1.5 15.5 1.5 12.1V11.6C1.5 11.3 1.8 11 2.1 11C2.4 11 2.7 11.3 2.7 11.6V12.1C2.7 14.8 4.9 17 7.6 17H8.6C9.2 17 9.8 16.9 10.3 16.7C10.6 16.6 11 16.7 11.1 17.1C11.2 17.4 11.1 17.8 10.7 17.9C10 18.1 9.3 18.3 8.6 18.3V18.2Z",fill:"white"}),y.jsx("path",{d:"M8.1 20.7C7.8 20.7 7.5 20.4 7.5 20.1V17.6C7.5 17.3 7.8 17 8.1 17C8.4 17 8.7 17.3 8.7 17.6V20.1C8.7 20.4 8.4 20.7 8.1 20.7Z",fill:"white"})]}),c1=e=>y.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M1.5 5L8 10.5L14.5 5",stroke:"#181818",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),d1=e=>y.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M6 9.55L1 4.55V2.5L6 7.5L11 2.5V4.55L6 9.55Z"})}),U4=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:y.jsx("path",{d:"M1.5 5L8 10.5L14.5 5",stroke:"#CDAB82",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),_v=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"currentColor",...e,children:y.jsx("path",{d:"M0 6C0 4.81331 0.351894 3.65328 1.01118 2.66658C1.67047 1.67989 2.60754 0.910851 3.7039 0.456726C4.80026 0.00259972 6.00666 -0.11622 7.17054 0.115291C8.33443 0.346802 9.40353 0.918247 10.2426 1.75736C11.0818 2.59648 11.6532 3.66558 11.8847 4.82946C12.1162 5.99335 11.9974 7.19975 11.5433 8.2961C11.0892 9.39246 10.3201 10.3295 9.33342 10.9888C8.34673 11.6481 7.18669 12 6 12C4.40927 11.9981 2.88422 11.3654 1.75941 10.2406C0.634589 9.11578 0.00185261 7.59073 0 6ZM1.2 6C1.2 6.94935 1.48152 7.87738 2.00895 8.66674C2.53638 9.4561 3.28603 10.0713 4.16312 10.4346C5.0402 10.7979 6.00532 10.893 6.93643 10.7078C7.86754 10.5226 8.72282 10.0654 9.39411 9.39412C10.0654 8.72282 10.5226 7.86755 10.7078 6.93644C10.893 6.00533 10.7979 5.04021 10.4346 4.16312C10.0713 3.28604 9.45609 2.53638 8.66674 2.00895C7.87738 1.48152 6.94935 1.2 6 1.2C4.72745 1.20159 3.50747 1.70781 2.60764 2.60764C1.70781 3.50747 1.20159 4.72745 1.2 6ZM5.4 9.6V4.8H6.6V9.6H5.4ZM5.4 3.6V2.4H6.6V3.6H5.4Z"})}),Ev=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36",...e,children:y.jsx("path",{d:"M14.4112 12.5746C14.3425 12.7722 14.1581 12.9061 13.9491 12.9104L4.45896 13.1038C3.985 13.1134 3.78931 13.7157 4.16708 14.0021L11.7311 19.7367C11.8977 19.863 11.9681 20.0798 11.9076 20.2799L9.15889 29.3653C9.02161 29.8191 9.53393 30.1913 9.92305 29.9205L17.7144 24.4988C17.886 24.3794 18.1139 24.3794 18.2856 24.4988L26.0769 29.9205C26.466 30.1913 26.9783 29.8191 26.841 29.3653L24.0924 20.2799C24.0318 20.0798 24.1022 19.863 24.2689 19.7367L31.8329 14.0021C32.2106 13.7157 32.0149 13.1134 31.541 13.1038L22.0509 12.9104C21.8418 12.9061 21.6574 12.7722 21.5888 12.5746L18.4722 3.60878C18.3166 3.161 17.6833 3.161 17.5277 3.60878L14.4112 12.5746ZM18 8.34153L16.3003 13.2313C15.957 14.219 15.0352 14.8887 13.9898 14.91L8.81412 15.0154L12.9393 18.143C13.7726 18.7747 14.1247 19.8582 13.8219 20.8591L12.3228 25.814L16.572 22.8572C17.4303 22.2599 18.5696 22.2599 19.4279 22.8572L23.6771 25.814L22.1781 20.8591C21.8753 19.8582 22.2273 18.7747 23.0606 18.143L27.1858 15.0154L22.0101 14.91C20.9647 14.8887 20.043 14.219 19.6997 13.2313L18 8.34153Z"})}),j4=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"圖層 1",viewBox:"0 0 32 32",...e,children:[y.jsx("path",{d:"M0 5.3v21.4h32V5.3zm13.9 12.12l4.34 3.11 6.86-7.27L29.86 18v6.6H7.41zm4.07.3l-4.37-3.14-9.07 10h-2.4V7.43h27.74V15L25 10.21z"}),y.jsx("path",{d:"M6.85 8.19a4 4 0 1 0 4 4 4 4 0 0 0-4-4zm0 2.13A1.83 1.83 0 1 1 5 12.15a1.83 1.83 0 0 1 1.85-1.83z"})]}),W4=e=>y.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{d:"M6 0C7.18669 0 8.34673 0.351894 9.33342 1.01118C10.3201 1.67047 11.0892 2.60754 11.5433 3.7039C11.9974 4.80026 12.1162 6.00666 11.8847 7.17054C11.6532 8.33443 11.0818 9.40353 10.2426 10.2426C9.40353 11.0818 8.33443 11.6532 7.17054 11.8847C6.00666 12.1162 4.80026 11.9974 3.7039 11.5433C2.60754 11.0892 1.67047 10.3201 1.01118 9.33342C0.351894 8.34673 0 7.18669 0 6C0 4.4087 0.632141 2.88258 1.75736 1.75736C2.88258 0.632141 4.4087 0 6 0Z",fill:"white"}),y.jsx("path",{d:"M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9953 4.41016 11.3616 2.8868 10.2374 1.7626C9.11321 0.638414 7.58984 0.00474818 6 0ZM6.692 9H5.308V7.846H6.692V9ZM6.692 6.462H5.308V2.769H6.692V6.462Z",fill:"#B42D18"})]}),V4=e=>y.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{d:"M6 0C7.18669 0 8.34673 0.351894 9.33342 1.01118C10.3201 1.67047 11.0892 2.60754 11.5433 3.7039C11.9974 4.80026 12.1162 6.00666 11.8847 7.17054C11.6532 8.33443 11.0818 9.40353 10.2426 10.2426C9.40353 11.0818 8.33443 11.6532 7.17054 11.8847C6.00666 12.1162 4.80026 11.9974 3.7039 11.5433C2.60754 11.0892 1.67047 10.3201 1.01118 9.33342C0.351894 8.34673 0 7.18669 0 6C0 4.4087 0.632141 2.88258 1.75736 1.75736C2.88258 0.632141 4.4087 0 6 0Z",fill:"white"}),y.jsx("path",{d:"M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9953 4.41016 11.3616 2.8868 10.2374 1.7626C9.11321 0.638414 7.58984 0.00474818 6 0ZM6.692 9H5.308V7.846H6.692V9ZM6.692 6.462H5.308V2.769H6.692V6.462Z",fill:"#FF4B4B"})]}),Y4=e=>y.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 9C7.20914 9 9 7.20914 9 5C9 2.79086 7.20914 1 5 1C2.79086 1 1 2.79086 1 5C1 7.20914 2.79086 9 5 9ZM5 10C7.76142 10 10 7.76142 10 5C10 2.23858 7.76142 0 5 0C2.23858 0 0 2.23858 0 5C0 7.76142 2.23858 10 5 10Z"}),y.jsx("path",{d:"M8 8.70703L8.70711 7.99992L11.8891 11.1819L11.182 11.889L8 8.70703Z"})]}),q4=e=>y.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("rect",{width:"24",height:"24",fill:"white"}),y.jsx("path",{d:"M15.9363 15.9363L19 19M17.4216 11.7103C17.4216 14.8649 14.8649 17.4216 11.7103 17.4216C8.55775 17.4216 6 14.8649 6 11.7103C6 8.55775 8.55667 6 11.7103 6C14.8649 6 17.4216 8.55667 17.4216 11.7103Z",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round"})]}),G4=e=>y.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[y.jsx("g",{clipPath:"url(#clip0_2271_6624)",children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0448 16.6453C13.0987 19.2274 8.61343 19.1134 5.8033 16.3033C2.87437 13.3744 2.87437 8.62563 5.8033 5.6967C8.73223 2.76777 13.481 2.76777 16.4099 5.6967C19.22 8.50683 19.334 12.9921 16.7519 15.9381L21.0061 20.1924L20.299 20.8995L16.0448 16.6453ZM15.7028 15.5962C18.2412 13.0578 18.2412 8.94221 15.7028 6.40381C13.1644 3.8654 9.04882 3.8654 6.51041 6.40381C3.972 8.94221 3.972 13.0578 6.51041 15.5962C9.04882 18.1346 13.1644 18.1346 15.7028 15.5962Z",fill:"#181818"})}),y.jsx("defs",{children:y.jsx("clipPath",{id:"clip0_2271_6624",children:y.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),X4=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",...e,children:y.jsx("path",{d:"M13.4363 12.9363L16.5 16M14.9216 8.71025C14.9216 11.8649 12.3649 14.4216 9.21025 14.4216C6.05775 14.4216 3.5 11.8649 3.5 8.71025C3.5 5.55775 6.05667 3 9.21025 3C12.3649 3 14.9216 5.55667 14.9216 8.71025Z",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round"})}),Q4=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",...e,children:y.jsx("path",{d:"M12.9363 12.9363L16 16M14.4216 8.71025C14.4216 11.8649 11.8649 14.4216 8.71025 14.4216C5.55775 14.4216 3 11.8649 3 8.71025C3 5.55775 5.55667 3 8.71025 3C11.8649 3 14.4216 5.55667 14.4216 8.71025Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"})}),K4=e=>y.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M12 4L4 12M4 4L12 12",strokeLinecap:"square"})}),Z4=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20.8C16.8601 20.8 20.8 16.8601 20.8 12C20.8 7.13989 16.8601 3.2 12 3.2C7.13989 3.2 3.2 7.13989 3.2 12C3.2 16.8601 7.13989 20.8 12 20.8ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"}),y.jsx("path",{d:"M8 9C8 8.44772 8.44772 8 9 8H15C15.5523 8 16 8.44772 16 9V15C16 15.5523 15.5523 16 15 16H9C8.44772 16 8 15.5523 8 15V9Z"})]}),J4=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z"}),y.jsx("path",{d:"M6 6H14V14H6V6Z"})]}),eC=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",...e,children:[y.jsx("path",{d:"M20.358 9.03954C20.934 11.1794 20.7552 13.4525 19.8518 15.4761C18.9483 17.4998 17.3754 19.1504 15.3976 20.1502C13.4199 21.15 11.1581 21.4379 8.99285 20.9657C6.82767 20.4933 4.89128 19.2895 3.50959 17.5568C2.1279 15.8242 1.38528 13.6685 1.4067 11.4524C1.42813 9.23641 2.21229 7.09539 3.62722 5.38978C5.04215 3.68415 7.00145 2.51801 9.1754 2.08763C11.1404 1.69861 13.1724 1.93221 14.9909 2.74722",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round"}),y.jsx("path",{d:"M14.971 0.748535L15.9781 3.33398C15.9781 3.33398 14.5487 3.84305 13.6328 4.16924",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round"}),y.jsx("path",{d:"M5.55078 8.49878L11.0518 10.9992V17.5004L5.55078 15V8.49878Z",stroke:"#181818",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M11.0527 17.5002L16.5538 14.9998V8.49854L11.0527 10.999V17.5002Z",stroke:"#181818",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M11.0518 10.9992L16.5528 8.49874L11.0518 5.99829L5.55078 8.49874L11.0518 10.9992Z",stroke:"#181818",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M13.9149 9.66446L14.1476 9.15236C14.3485 9.24364 14.4774 9.44389 14.4774 9.66446H13.9149ZM14.4774 11.6648C14.4774 11.9754 14.2256 12.2273 13.9149 12.2273C13.6043 12.2273 13.3524 11.9754 13.3524 11.6648H14.4774ZM14.4774 9.66446V11.6648H13.3524V9.66446H14.4774ZM8.80927 6.72583L14.1476 9.15236L13.6821 10.1765L8.34375 7.75001L8.80927 6.72583Z",fill:"#181818"})]}),tC=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",...e,children:[y.jsx("path",{d:"M20.358 9.03954C20.934 11.1794 20.7552 13.4525 19.8518 15.4761C18.9483 17.4998 17.3754 19.1504 15.3976 20.1502C13.4199 21.15 11.1581 21.4379 8.99285 20.9657C6.82767 20.4933 4.89128 19.2895 3.50959 17.5568C2.1279 15.8242 1.38528 13.6685 1.4067 11.4524C1.42813 9.23641 2.21229 7.09539 3.62722 5.38978C5.04215 3.68415 7.00145 2.51801 9.1754 2.08763C11.1404 1.69861 13.1724 1.93221 14.9909 2.74722",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"}),y.jsx("path",{d:"M14.971 0.748535L15.9781 3.33398C15.9781 3.33398 14.5487 3.84305 13.6328 4.16924",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"}),y.jsx("path",{d:"M5.55078 8.49878L11.0518 10.9992V17.5004L5.55078 15V8.49878Z",stroke:"white",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M11.0527 17.5002L16.5538 14.9998V8.49854L11.0527 10.999V17.5002Z",stroke:"white",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M11.0518 10.9992L16.5528 8.49874L11.0518 5.99829L5.55078 8.49874L11.0518 10.9992Z",stroke:"white",strokeWidth:"1.2",strokeLinejoin:"round"}),y.jsx("path",{d:"M13.9149 9.66446L14.1476 9.15236C14.3485 9.24364 14.4774 9.44389 14.4774 9.66446H13.9149ZM14.4774 11.6648C14.4774 11.9754 14.2256 12.2273 13.9149 12.2273C13.6043 12.2273 13.3524 11.9754 13.3524 11.6648H14.4774ZM14.4774 9.66446V11.6648H13.3524V9.66446H14.4774ZM8.80927 6.72583L14.1476 9.15236L13.6821 10.1765L8.34375 7.75001L8.80927 6.72583Z",fill:"white"})]}),nC=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58 2.5C7.44361 2.5 7.31128 2.54647 7.20484 2.63175L2.22484 6.62175C2.08271 6.73563 2 6.90788 2 7.09V19.41C2 20.5812 3.06311 21.42 4.21 21.42H13.95C14.2814 21.42 14.55 21.1514 14.55 20.82C14.55 20.4886 14.2814 20.22 13.95 20.22H4.21C3.57689 20.22 3.2 19.7788 3.2 19.41V7.3781L3.25923 7.33065C3.35406 7.39342 3.46775 7.42998 3.58999 7.42998H7.99999C8.33136 7.42998 8.59999 7.16135 8.59999 6.82998V3.7H15.54C16.1731 3.7 16.55 4.14124 16.55 4.51V11.15C16.55 11.4814 16.8186 11.75 17.15 11.75C17.4814 11.75 17.75 11.4814 17.75 11.15V4.51C17.75 3.33876 16.6869 2.5 15.54 2.5H7.58ZM7.39999 4.01305L4.633 6.22998H7.39999V4.01305Z",fill:"#181818"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 16.62C13 14.3446 14.8446 12.5 17.12 12.5C19.3954 12.5 21.24 14.3446 21.24 16.62C21.24 17.5298 20.9451 18.3707 20.4457 19.0524L22.5081 20.881C22.756 21.1008 22.7788 21.48 22.559 21.728C22.3392 21.9759 21.9599 21.9987 21.712 21.7789L19.6024 19.9084C18.9121 20.4304 18.0522 20.74 17.12 20.74C14.8446 20.74 13 18.8954 13 16.62ZM17.12 13.7C15.5073 13.7 14.2 15.0073 14.2 16.62C14.2 18.2327 15.5073 19.54 17.12 19.54C18.7327 19.54 20.04 18.2327 20.04 16.62C20.04 15.0073 18.7327 13.7 17.12 13.7Z",fill:"#181818"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6343 9.67572C13.8686 9.91012 13.8686 10.2899 13.6343 10.5243L9.2343 14.9243C9.0003 15.1582 8.6212 15.1586 8.3867 14.9252L6.1767 12.7252C5.94185 12.4914 5.94099 12.1115 6.17477 11.8767C6.40856 11.6419 6.78845 11.641 7.0233 11.8748L8.809 13.6524L12.7857 9.67572C13.02 9.44142 13.3999 9.44142 13.6343 9.67572Z",fill:"#181818"})]}),Pg=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58 2.5C7.44361 2.5 7.31128 2.54647 7.20484 2.63175L2.22484 6.62175C2.08271 6.73563 2 6.90788 2 7.09V19.41C2 20.5812 3.06311 21.42 4.21 21.42H13.95C14.2814 21.42 14.55 21.1514 14.55 20.82C14.55 20.4886 14.2814 20.22 13.95 20.22H4.21C3.57689 20.22 3.2 19.7788 3.2 19.41V7.3781L3.25923 7.33065C3.35406 7.39342 3.46775 7.42998 3.58999 7.42998H7.99999C8.33136 7.42998 8.59999 7.16135 8.59999 6.82998V3.7H15.54C16.1731 3.7 16.55 4.14124 16.55 4.51V11.15C16.55 11.4814 16.8186 11.75 17.15 11.75C17.4814 11.75 17.75 11.4814 17.75 11.15V4.51C17.75 3.33876 16.6869 2.5 15.54 2.5H7.58ZM7.39999 4.01305L4.633 6.22998H7.39999V4.01305Z",fill:"white"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 16.62C13 14.3446 14.8446 12.5 17.12 12.5C19.3954 12.5 21.24 14.3446 21.24 16.62C21.24 17.5298 20.9451 18.3707 20.4457 19.0524L22.5081 20.881C22.756 21.1008 22.7788 21.48 22.559 21.728C22.3392 21.9759 21.9599 21.9987 21.712 21.7789L19.6024 19.9084C18.9121 20.4304 18.0522 20.74 17.12 20.74C14.8446 20.74 13 18.8954 13 16.62ZM17.12 13.7C15.5073 13.7 14.2 15.0073 14.2 16.62C14.2 18.2327 15.5073 19.54 17.12 19.54C18.7327 19.54 20.04 18.2327 20.04 16.62C20.04 15.0073 18.7327 13.7 17.12 13.7Z",fill:"white"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6343 9.67572C13.8686 9.91012 13.8686 10.2899 13.6343 10.5243L9.2343 14.9243C9.0003 15.1582 8.6212 15.1586 8.3867 14.9252L6.1767 12.7252C5.94185 12.4914 5.94099 12.1115 6.17477 11.8767C6.40856 11.6419 6.78845 11.641 7.0233 11.8748L8.809 13.6524L12.7857 9.67572C13.02 9.44142 13.3999 9.44142 13.6343 9.67572Z",fill:"white"})]}),rC=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...e,children:y.jsx("path",{d:"M1.5 20H0.9C0.9 20.3314 1.16863 20.6 1.5 20.6L1.5 20ZM1.5 5V4.4C1.16863 4.4 0.9 4.66863 0.9 5H1.5ZM18.75 5H19.35C19.35 4.66863 19.0814 4.4 18.75 4.4V5ZM18.75 9.28573H18.15C18.15 9.51381 18.2793 9.72218 18.4837 9.8234L18.75 9.28573ZM22.5 11.1429H23.1C23.1 10.9148 22.9707 10.7064 22.7663 10.6052L22.5 11.1429ZM22.5 20V20.6C22.8314 20.6 23.1 20.3314 23.1 20H22.5ZM5.25 11.15C4.91863 11.15 4.65 11.4186 4.65 11.75C4.65 12.0814 4.91863 12.35 5.25 12.35V11.15ZM15 12.35C15.3314 12.35 15.6 12.0814 15.6 11.75C15.6 11.4186 15.3314 11.15 15 11.15V12.35ZM11.5757 14.3257C11.3414 14.5601 11.3414 14.9399 11.5757 15.1743C11.8101 15.4086 12.1899 15.4086 12.4243 15.1743L11.5757 14.3257ZM14.9473 11.8026L15.3716 12.2269C15.603 11.9955 15.6063 11.6213 15.379 11.3859L14.9473 11.8026ZM12.4316 8.33325C12.2015 8.09486 11.8216 8.08819 11.5832 8.31836C11.3449 8.54852 11.3382 8.92836 11.5684 9.16675L12.4316 8.33325ZM5.98028 22.118C7.27819 22.118 8.33025 21.0658 8.33025 19.768H7.13025C7.13025 20.4031 6.61538 20.918 5.98028 20.918V22.118ZM8.33025 19.768C8.33025 18.4701 7.27817 17.418 5.98028 17.418V18.618C6.6154 18.618 7.13025 19.1329 7.13025 19.768H8.33025ZM5.98028 17.418C4.68242 17.418 3.63028 18.4701 3.63028 19.768H4.83028C4.83028 19.1329 5.34516 18.618 5.98028 18.618V17.418ZM3.63028 19.768C3.63028 21.0658 4.6824 22.118 5.98028 22.118V20.918C5.34517 20.918 4.83028 20.4031 4.83028 19.768H3.63028ZM17.1802 22.118C18.4781 22.118 19.5302 21.0658 19.5302 19.768H18.3302C18.3302 20.4031 17.8153 20.918 17.1802 20.918V22.118ZM19.5302 19.768C19.5302 18.4701 18.4781 17.418 17.1802 17.418V18.618C17.8153 18.618 18.3302 19.1329 18.3302 19.768H19.5302ZM17.1802 17.418C15.8824 17.418 14.8302 18.4701 14.8302 19.768H16.0302C16.0302 19.1329 16.5451 18.618 17.1802 18.618V17.418ZM14.8302 19.768C14.8302 21.0658 15.8823 22.118 17.1802 22.118V20.918C16.5451 20.918 16.0302 20.4031 16.0302 19.768H14.8302ZM4.3 19.4H1.5V20.6H4.3V19.4ZM2.1 20V5H0.9V20H2.1ZM1.5 5.6H18.75V4.4H1.5V5.6ZM18.15 5V9.28573H19.35V5H18.15ZM18.4837 9.8234L22.2337 11.6806L22.7663 10.6052L19.0163 8.74805L18.4837 9.8234ZM21.9 11.1429V20H23.1V11.1429H21.9ZM22.5 19.4H19V20.6H22.5V19.4ZM15.5 19.2381H7.8V20.4381H15.5V19.2381ZM5.25 12.35H15V11.15H5.25V12.35ZM12.4243 15.1743L15.3716 12.2269L14.5231 11.3784L11.5757 14.3257L12.4243 15.1743ZM15.379 11.3859L12.4316 8.33325L11.5684 9.16675L14.5157 12.2194L15.379 11.3859Z",fill:"#181818"})}),iC=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...e,children:y.jsx("path",{d:"M1.5 20H0.9C0.9 20.3314 1.16863 20.6 1.5 20.6L1.5 20ZM1.5 5V4.4C1.16863 4.4 0.9 4.66863 0.9 5H1.5ZM18.75 5H19.35C19.35 4.66863 19.0814 4.4 18.75 4.4V5ZM18.75 9.28573H18.15C18.15 9.51381 18.2793 9.72218 18.4837 9.8234L18.75 9.28573ZM22.5 11.1429H23.1C23.1 10.9148 22.9707 10.7064 22.7663 10.6052L22.5 11.1429ZM22.5 20V20.6C22.8314 20.6 23.1 20.3314 23.1 20H22.5ZM5.25 11.15C4.91863 11.15 4.65 11.4186 4.65 11.75C4.65 12.0814 4.91863 12.35 5.25 12.35V11.15ZM15 12.35C15.3314 12.35 15.6 12.0814 15.6 11.75C15.6 11.4186 15.3314 11.15 15 11.15V12.35ZM11.5757 14.3257C11.3414 14.5601 11.3414 14.9399 11.5757 15.1743C11.8101 15.4086 12.1899 15.4086 12.4243 15.1743L11.5757 14.3257ZM14.9473 11.8026L15.3716 12.2269C15.603 11.9955 15.6063 11.6213 15.379 11.3859L14.9473 11.8026ZM12.4316 8.33325C12.2015 8.09486 11.8216 8.08819 11.5832 8.31836C11.3449 8.54852 11.3382 8.92836 11.5684 9.16675L12.4316 8.33325ZM5.98028 22.118C7.27819 22.118 8.33025 21.0658 8.33025 19.768H7.13025C7.13025 20.4031 6.61538 20.918 5.98028 20.918V22.118ZM8.33025 19.768C8.33025 18.4701 7.27817 17.418 5.98028 17.418V18.618C6.6154 18.618 7.13025 19.1329 7.13025 19.768H8.33025ZM5.98028 17.418C4.68242 17.418 3.63028 18.4701 3.63028 19.768H4.83028C4.83028 19.1329 5.34516 18.618 5.98028 18.618V17.418ZM3.63028 19.768C3.63028 21.0658 4.6824 22.118 5.98028 22.118V20.918C5.34517 20.918 4.83028 20.4031 4.83028 19.768H3.63028ZM17.1802 22.118C18.4781 22.118 19.5302 21.0658 19.5302 19.768H18.3302C18.3302 20.4031 17.8153 20.918 17.1802 20.918V22.118ZM19.5302 19.768C19.5302 18.4701 18.4781 17.418 17.1802 17.418V18.618C17.8153 18.618 18.3302 19.1329 18.3302 19.768H19.5302ZM17.1802 17.418C15.8824 17.418 14.8302 18.4701 14.8302 19.768H16.0302C16.0302 19.1329 16.5451 18.618 17.1802 18.618V17.418ZM14.8302 19.768C14.8302 21.0658 15.8823 22.118 17.1802 22.118V20.918C16.5451 20.918 16.0302 20.4031 16.0302 19.768H14.8302ZM4.3 19.4H1.5V20.6H4.3V19.4ZM2.1 20V5H0.9V20H2.1ZM1.5 5.6H18.75V4.4H1.5V5.6ZM18.15 5V9.28573H19.35V5H18.15ZM18.4837 9.8234L22.2337 11.6806L22.7663 10.6052L19.0163 8.74805L18.4837 9.8234ZM21.9 11.1429V20H23.1V11.1429H21.9ZM22.5 19.4H19V20.6H22.5V19.4ZM15.5 19.2381H7.8V20.4381H15.5V19.2381ZM5.25 12.35H15V11.15H5.25V12.35ZM12.4243 15.1743L15.3716 12.2269L14.5231 11.3784L11.5757 14.3257L12.4243 15.1743ZM15.379 11.3859L12.4316 8.33325L11.5684 9.16675L14.5157 12.2194L15.379 11.3859Z",fill:"white"})}),sC=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.18047 18V1.7H13.8305V5.74C13.8305 6.07137 14.0991 6.34 14.4305 6.34C14.7619 6.34 15.0305 6.07137 15.0305 5.74V1.61C15.0305 0.99863 14.5319 0.5 13.9205 0.5H2.09047C1.4791 0.5 0.980469 0.99863 0.980469 1.61V18.24C0.980469 18.3941 1.03973 18.5422 1.14599 18.6538L1.34594 18.8638L3.32196 20.88C3.43485 20.9952 3.58934 21.06 3.75061 21.06C3.91188 21.06 4.06635 20.995 4.17918 20.8798L5.16047 19.8776L6.14176 20.8798C6.25463 20.995 6.40915 21.06 6.57047 21.06C6.73179 21.06 6.88631 20.995 6.99918 20.8798L7.98047 19.8776L8.96179 20.8798C9.07459 20.995 9.22919 21.06 9.39049 21.06C9.55179 21.06 9.70629 20.995 9.81919 20.8798L10.8005 19.8776L11.7818 20.8798C11.8946 20.995 12.0491 21.06 12.2103 21.06C12.3716 21.06 12.5261 20.9952 12.639 20.88L14.609 18.87C14.6294 18.8491 14.648 18.8272 14.6648 18.8043C14.8956 18.7207 15.0605 18.4996 15.0605 18.24V16.91C15.0605 16.5786 14.7918 16.31 14.4605 16.31C14.1291 16.31 13.8605 16.5786 13.8605 16.91V17.9423C13.8218 17.9667 13.7854 17.996 13.752 18.03L12.2107 19.6026L11.2292 18.6002C11.1163 18.485 10.9618 18.42 10.8005 18.42C10.6392 18.42 10.4846 18.485 10.3718 18.6002L9.39049 19.6024L8.40919 18.6002C8.29629 18.485 8.14179 18.42 7.98047 18.42C7.81915 18.42 7.66463 18.485 7.55176 18.6002L6.57047 19.6024L5.58918 18.6002C5.47631 18.485 5.32179 18.42 5.16047 18.42C4.99915 18.42 4.84463 18.485 4.73176 18.6002L3.75027 19.6026L2.21197 18.0331L2.18047 18ZM2.90045 5.98C2.90045 5.64863 3.16908 5.38 3.50045 5.38H11.7005C12.0318 5.38 12.3005 5.64863 12.3005 5.98C12.3005 6.31138 12.0318 6.58 11.7005 6.58H3.50045C3.16908 6.58 2.90045 6.31138 2.90045 5.98ZM2.90045 8.6C2.90045 8.26863 3.16908 8 3.50045 8H9.00049C9.33179 8 9.60049 8.26863 9.60049 8.6C9.60049 8.9314 9.33179 9.2 9.00049 9.2H3.50045C3.16908 9.2 2.90045 8.9314 2.90045 8.6ZM3.50045 10.8C3.16908 10.8 2.90045 11.0686 2.90045 11.4C2.90045 11.7314 3.16908 12 3.50045 12H8.22049C8.55179 12 8.82049 11.7314 8.82049 11.4C8.82049 11.0686 8.55179 10.8 8.22049 10.8H3.50045ZM2.90045 14.25C2.90045 13.9187 3.16908 13.65 3.50045 13.65H8.22049C8.55179 13.65 8.82049 13.9187 8.82049 14.25C8.82049 14.5814 8.55179 14.85 8.22049 14.85H3.50045C3.16908 14.85 2.90045 14.5814 2.90045 14.25Z",fill:"#181818"}),y.jsx("mask",{id:"mask0_6350_135",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"20",height:"22",children:y.jsx("path",{d:"M21 0.5H1V21.5H21V0.5Z",fill:"white"})}),y.jsxs("g",{mask:"url(#mask0_6350_135)",children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.12 8.7C12.5073 8.7 11.2 10.0073 11.2 11.62C11.2 13.2327 12.5073 14.54 14.12 14.54C15.7327 14.54 17.04 13.2327 17.04 11.62C17.04 10.0073 15.7327 8.7 14.12 8.7ZM10 11.62C10 9.34459 11.8446 7.5 14.12 7.5C16.3954 7.5 18.24 9.34459 18.24 11.62C18.24 13.8954 16.3954 15.74 14.12 15.74C11.8446 15.74 10 13.8954 10 11.62Z",fill:"#181818"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1911 13.7419C16.4109 13.4939 16.7902 13.4711 17.0381 13.691L19.5081 15.881C19.756 16.1008 19.7788 16.48 19.559 16.728C19.3392 16.9759 18.9599 16.9987 18.712 16.7789L16.242 14.5889C15.994 14.369 15.9713 13.9898 16.1911 13.7419Z",fill:"#181818"})]})]}),aC=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",...e,children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.18047 18V1.7H13.8305V5.74C13.8305 6.07137 14.0991 6.34 14.4305 6.34C14.7619 6.34 15.0305 6.07137 15.0305 5.74V1.61C15.0305 0.99863 14.5319 0.5 13.9205 0.5H2.09047C1.4791 0.5 0.980469 0.99863 0.980469 1.61V18.24C0.980469 18.3941 1.03973 18.5422 1.14599 18.6538L1.34594 18.8638L3.32196 20.88C3.43485 20.9952 3.58934 21.06 3.75061 21.06C3.91188 21.06 4.06635 20.995 4.17918 20.8798L5.16047 19.8776L6.14176 20.8798C6.25463 20.995 6.40915 21.06 6.57047 21.06C6.73179 21.06 6.88631 20.995 6.99918 20.8798L7.98047 19.8776L8.96179 20.8798C9.07459 20.995 9.22919 21.06 9.39049 21.06C9.55179 21.06 9.70629 20.995 9.81919 20.8798L10.8005 19.8776L11.7818 20.8798C11.8946 20.995 12.0491 21.06 12.2103 21.06C12.3716 21.06 12.5261 20.9952 12.639 20.88L14.609 18.87C14.6294 18.8491 14.648 18.8272 14.6648 18.8043C14.8956 18.7207 15.0605 18.4996 15.0605 18.24V16.91C15.0605 16.5786 14.7918 16.31 14.4605 16.31C14.1291 16.31 13.8605 16.5786 13.8605 16.91V17.9423C13.8218 17.9667 13.7854 17.996 13.752 18.03L12.2107 19.6026L11.2292 18.6002C11.1163 18.485 10.9618 18.42 10.8005 18.42C10.6392 18.42 10.4846 18.485 10.3718 18.6002L9.39049 19.6024L8.40919 18.6002C8.29629 18.485 8.14179 18.42 7.98047 18.42C7.81915 18.42 7.66463 18.485 7.55176 18.6002L6.57047 19.6024L5.58918 18.6002C5.47631 18.485 5.32179 18.42 5.16047 18.42C4.99915 18.42 4.84463 18.485 4.73176 18.6002L3.75027 19.6026L2.21197 18.0331L2.18047 18ZM2.90045 5.98C2.90045 5.64863 3.16908 5.38 3.50045 5.38H11.7005C12.0318 5.38 12.3005 5.64863 12.3005 5.98C12.3005 6.31138 12.0318 6.58 11.7005 6.58H3.50045C3.16908 6.58 2.90045 6.31138 2.90045 5.98ZM2.90045 8.6C2.90045 8.26863 3.16908 8 3.50045 8H9.00049C9.33179 8 9.60049 8.26863 9.60049 8.6C9.60049 8.9314 9.33179 9.2 9.00049 9.2H3.50045C3.16908 9.2 2.90045 8.9314 2.90045 8.6ZM3.50045 10.8C3.16908 10.8 2.90045 11.0686 2.90045 11.4C2.90045 11.7314 3.16908 12 3.50045 12H8.22049C8.55179 12 8.82049 11.7314 8.82049 11.4C8.82049 11.0686 8.55179 10.8 8.22049 10.8H3.50045ZM2.90045 14.25C2.90045 13.9187 3.16908 13.65 3.50045 13.65H8.22049C8.55179 13.65 8.82049 13.9187 8.82049 14.25C8.82049 14.5814 8.55179 14.85 8.22049 14.85H3.50045C3.16908 14.85 2.90045 14.5814 2.90045 14.25Z",fill:"white"}),y.jsx("mask",{id:"mask0_6350_20819",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"20",height:"22",children:y.jsx("path",{d:"M21 0.5H1V21.5H21V0.5Z",fill:"white"})}),y.jsxs("g",{mask:"url(#mask0_6350_20819)",children:[y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.12 8.7C12.5073 8.7 11.2 10.0073 11.2 11.62C11.2 13.2327 12.5073 14.54 14.12 14.54C15.7327 14.54 17.04 13.2327 17.04 11.62C17.04 10.0073 15.7327 8.7 14.12 8.7ZM10 11.62C10 9.34459 11.8446 7.5 14.12 7.5C16.3954 7.5 18.24 9.34459 18.24 11.62C18.24 13.8954 16.3954 15.74 14.12 15.74C11.8446 15.74 10 13.8954 10 11.62Z",fill:"white"}),y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1911 13.7419C16.4109 13.4939 16.7902 13.4711 17.0381 13.691L19.5081 15.881C19.756 16.1008 19.7788 16.48 19.559 16.728C19.3392 16.9759 18.9599 16.9987 18.712 16.7789L16.242 14.5889C15.994 14.369 15.9713 13.9898 16.1911 13.7419Z",fill:"white"})]})]}),It=C.createContext({}),yv=".asus.com";function Si(e){const t={};return document.cookie.split(";").forEach(function(n){const[r,...i]=n.split("=");t[r.trim()]=i.join("=")}),t[e]}function ai(e,t){let n="";if(typeof t=="string")n=t.replace(/,/g,", ");else if(typeof t=="object"){for(const r in t)n+=`${r}=${t[r]}&`;n=JSON.stringify(n)}document.cookie=`${e}=${n}; domain=${yv}; path=/; Max-Age=25920000; SameSite=Lax; Secure`}function f1(e){document.cookie=`${e}=; domain=${yv}; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; Max-Age=0; SameSite=Lax; Secure`}const p1=e=>{if(!e||typeof e!="string")return{};const t=e.split("&"),n={};return t.forEach(r=>{const i=r.split("="),s=i[0],a=i[1];s&&(a==="true"||a==="false"?n[s]=a==="true":n[s]=a)}),n},oC=["ae-ar","eg","sa-ar","nafr-ar","me-ar","middleeast-fa","il"];function kr(e){return oC.includes(e)?"rtl":"ltr"}function lC(){window.dataLayer=window.dataLayer||[]}function De({event:e,session_id:t,name_ga4:n,intent:r,action:i,labels:s}){lC();let a={event:e,chatbot_session_id:t,event_name_ga4:n,event_category_DL:r,event_action_DL:i,event_label_DL:""};if(Array.isArray(s)){s.forEach(o=>{a={...a,event_label_DL:o},window.dataLayer.push(a)});return}a={...a,event_label_DL:s},window.dataLayer.push(a)}function uC({link:e,queries:t}){const n=new URL(e),{searchParams:r}=n;return r.append("utm_source","brand_assit"),r.append("utm_campaign","brand_assit"),Object.keys(t).forEach(i=>r.append(i,t[i])),n.toString()}function Hf(e){switch(e){case"suggestButton":return"rec_link";case"list":case"inlineMenu":return"support_menu";default:return""}}function Og(e){let t,n;return e.forEach(r=>{if(r.type==="intention")return t=r.value==="specification-consultation"?`Specified Product Inquiry/${r.value}`:`Check Product Inventory Status/${r.value}`;(r.type==="generateHint"||r.type==="mainProduct")&&(n=r.value.toString())}),{specificIntent:t,modelOneId:n}}function Ih(e){return e.split("/").filter(Boolean).join("/")}const cC={event:"data_layer_event",name_ga4:"menu_impression_brand_assit",intent:"default_menu",action:"displayed"},dC={event:"data_layer_event",name_ga4:"menu_click_brand_assit",intent:"default_menu",action:"clicked"},fC={event:"data_layer_event",name_ga4:"prod_card_impression_brand_assit",action:"displayed"},pC={event:"data_layer_event",name_ga4:"prod_card_click_brand_assit",action:"clicked"},hC={event:"data_layer_event",name_ga4:"prod_menu_impression_brand_assit",action:"displayed"},mC={event:"data_layer_event",name_ga4:"prod_menu_click_brand_assit",action:"clicked"},Rg={event:"data_layer_event"},Mg={event:"data_layer_event"},$f={event:"data_layer_event",name_ga4:"text_link_impression_brand_assit",action:"displayed"},gC={event:"data_layer_event",name_ga4:"text_link_click_brand_assit",action:"clicked"},_C={event:"data_layer_event",name_ga4:"to_agent_impression_brand_assit",action:"displayed"},EC={event:"data_layer_event",name_ga4:"to_agent_click_brand_assit",action:"clicked"},wo={event:"data_layer_event",action:"clicked",intent:"menu"},nc={event:"data_layer_event",intent:"icon"},Wc={event:"data_layer_event",intent:"agreement"},Lh={event:"data_layer_event",intent:"chat"},yC={event:"data_layer_event",name_ga4:"like_impression_brand_assit",labels:"like_impression",action:"displayed"},Dg={event:"data_layer_event",action:"clicked"},Ci={event:"data_layer_event",intent:"survey"},zf={event:"data_layer_event",intent:"product_helper"},Bg={event:"data_layer_event",intent:"event_card"};function Tu(e){return e.toString().padStart(2,"0")}function wC(e){return[e.getFullYear(),Tu(e.getMonth()+1),Tu(e.getDate())].join("-")+" "+[Tu(e.getHours()),Tu(e.getMinutes())].join(":")}function xt(e){const t=e?new Date(e):new Date,n=t.getHours(),r=t.getMinutes();return{hour:n>9?n.toString():"0"+n,min:r>9?r.toString():"0"+r}}function Fg(e){return typeof e=="boolean"?e:!(e==="false"||!e)}const Zn=(e="tw")=>{const t=Si(`aiAssistant_${e}`);let n={};t&&(n=p1(JSON.parse(t)));const{sessionId:r="",sessionDate:i=wC(new Date),expand:s="false",signApiCalled:a=!1}=n;return{sessionId:r,sessionDate:i,expand:Fg(s),signApiCalled:Fg(a)}},Hg=e=>{let t;const n=new Set,r=(d,c)=>{const f=typeof d=="function"?d(t):d;if(!Object.is(f,t)){const p=t;t=c??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(h=>h(t,p))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>u,subscribe:d=>(n.add(d),()=>n.delete(d)),destroy:()=>{n.clear()}},u=t=e(r,i,l);return l},vC=e=>e?Hg(e):Hg;var wv={exports:{}},vv={},bv={exports:{}},Tv={};/** * @license React * use-sync-external-store-shim.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 Ua=C;function bC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var TC=typeof Object.is=="function"?Object.is:bC,xC=Ua.useState,SC=Ua.useEffect,CC=Ua.useLayoutEffect,kC=Ua.useDebugValue;function AC(e,t){var n=t(),r=xC({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return CC(function(){i.value=n,i.getSnapshot=t,Uf(i)&&s({inst:i})},[e,n,t]),SC(function(){return Uf(i)&&s({inst:i}),e(function(){Uf(i)&&s({inst:i})})},[e]),kC(n),n}function Uf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!TC(e,n)}catch{return!0}}function IC(e,t){return t()}var LC=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?IC:AC;Tv.useSyncExternalStore=Ua.useSyncExternalStore!==void 0?Ua.useSyncExternalStore:LC;bv.exports=Tv;var NC=bv.exports;/** * @license React * use-sync-external-store-shim/with-selector.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 Od=C,PC=NC;function OC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var RC=typeof Object.is=="function"?Object.is:OC,MC=PC.useSyncExternalStore,DC=Od.useRef,BC=Od.useEffect,FC=Od.useMemo,HC=Od.useDebugValue;vv.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var s=DC(null);if(s.current===null){var a={hasValue:!1,value:null};s.current=a}else a=s.current;s=FC(function(){function l(p){if(!u){if(u=!0,d=p,p=r(p),i!==void 0&&a.hasValue){var h=a.value;if(i(h,p))return c=h}return c=p}if(h=c,RC(d,p))return h;var w=r(p);return i!==void 0&&i(h,w)?h:(d=p,c=w)}var u=!1,d,c,f=n===void 0?null:n;return[function(){return l(t())},f===null?void 0:function(){return l(f())}]},[t,n,r,i]);var o=MC(e,s[0],s[1]);return BC(function(){a.hasValue=!0,a.value=o},[o]),HC(o),o};wv.exports=vv;var $C=wv.exports;const zC=md($C),{useDebugValue:UC}=vi,{useSyncExternalStoreWithSelector:jC}=zC;const WC=e=>e;function VC(e,t=WC,n){const r=jC(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return UC(r),r}const $g=e=>{const t=typeof e=="function"?vC(e):e,n=(r,i)=>VC(t,r,i);return Object.assign(n,t),n},ra=e=>e?$g(e):$g,zg=Si("aiAssistant_autoOpen");let Ro={};zg&&(Ro=p1(JSON.parse(zg)));var YE,qE,GE;const YC={systemCode:Ro.systemCode||((YE=window.AsusAPIConfig)==null?void 0:YE.brandAssistantSystemCode)||"rog",theme:((qE=window.AsusAPIConfig)==null?void 0:qE.brandAssistantTheme)||"rog",websiteCode:(Ro==null?void 0:Ro.websiteCode)||((GE=window.AsusAPIConfig)==null?void 0:GE.websitePath)||new URLSearchParams(window.location.search.toLocaleLowerCase()).get("websitecode")||"tw",reachLimit:!1,model1Name:"",model1Id:0,hintIndex:-1},et=ra()(e=>({...YC,setWebsiteCode:t=>{window.AsusAPIConfig.websitePath=t,e(n=>({...n,websiteCode:t}))},setTheme:t=>{window.AsusAPIConfig.brandAssistantTheme=t,e(n=>({...n,theme:t}))},setSystemCode:t=>{window.AsusAPIConfig.brandAssistantSystemCode=t,e(n=>({...n,systemCode:t}))},setModel1Name:t=>{window.AsusAPIConfig.brandAssistantModel1Name=t,e(n=>({...n,model1Name:t}))},setModel1Id:t=>{window.AsusAPIConfig.brandAssistantModel1Id=t,e(n=>({...n,model1Id:t}))},setReachLimit:t=>e(n=>({...n,reachLimit:t})),setHintIndex:t=>e(n=>({...n,hintIndex:t}))})),qC=et.getState().websiteCode,GC=Si("aiAssistant_autoOpen"),{expand:XC}=GC?{expand:!0}:Zn(qC);var XE,QE,KE,ZE,JE,ey,ty,ny;const QC={display:((XE=window.AsusAPIConfig)==null?void 0:XE.brandAssistantDefaultDisplay)!==!1,expand:XC||((QE=window.AsusAPIConfig)==null?void 0:QE.brandAssistantDefaultExpand)||!1,shrink:!((KE=window.AsusAPIConfig)!=null&&KE.brandAssistantDefaultExpand),blockRedirect:((ZE=window.AsusAPIConfig)==null?void 0:ZE.brandAssistantBlockRedirect)||!1,offsetX:((JE=window.AsusAPIConfig)==null?void 0:JE.brandAssistantOffsetX)||32,offsetY:((ey=window.AsusAPIConfig)==null?void 0:ey.brandAssistantOffsetY)||32,iconSize:((ty=window.AsusAPIConfig)==null?void 0:ty.brandAssistantIconSize)||60,hintAlignment:((ny=window.AsusAPIConfig)==null?void 0:ny.brandAssistantHintAlignment)||"top",isIframeInit:!1,isResponseStopped:void 0},pn=ra()(e=>({...QC,isJune:!0,setDisplay:t=>e({display:t}),setExpand:t=>e({expand:t}),setShrink:t=>e({shrink:t}),setBlockRedirect:t=>e({blockRedirect:t}),setOffsetX:t=>e({offsetX:t}),setOffsetY:t=>e({offsetY:t}),setIconSize:t=>e({iconSize:t}),setIsIframeInit:t=>e({isIframeInit:t}),setIsResponseStopped:t=>e({isResponseStopped:t}),setHintAlignment:t=>e({hintAlignment:t})})),KC="_chatboxWindowJune_1f4jw_1",ZC="_chatboxWindow_1f4jw_1",Ug={chatboxWindowJune:KC,chatboxWindow:ZC},$l=({className:e,children:t,...n})=>{const{isJune:r}=pn();return y.jsx("div",{className:Q(r?Ug.chatboxWindowJune:Ug.chatboxWindow,e),...n,children:t})},JC="_buttonBase_13rz7_1",e6={buttonBase:JC},Rr=({children:e,className:t,...n})=>y.jsx("button",{...n,className:Q(e6.buttonBase,t),children:e}),t6="_buttonSecondary_13znh_1",n6={buttonSecondary:t6},xv=({children:e,className:t,...n})=>y.jsx("button",{...n,className:Q(n6.buttonSecondary,t),children:e}),r6="_logo_4ibbi_1",i6="_preloadImg_4ibbi_7",s6="_logo__rog_4ibbi_11",a6="_logo__asus_4ibbi_14",o6="_logo__aiot_4ibbi_17",l6="_logo__proart_4ibbi_20",jf={logo:r6,preloadImg:i6,logo__rog:s6,logo__asus:a6,logo__aiot:o6,logo__proart:l6},eo=({className:e,children:t,...n})=>{const{theme:r}=et(),i=()=>r||"asus";return y.jsxs("div",{...n,className:Q(jf.logo,e),children:[y.jsx("div",{className:Q(jf.preloadImg,jf[`logo__${i()}`])}),t]})},u6="_lightBoxJune_4gj6o_1",c6="_lightBox_4gj6o_1",d6="_main_4gj6o_16",f6="_rechat__header__close_4gj6o_42",p6="_rechat__avatar_4gj6o_51",h6="_rog_4gj6o_55",m6="_asus_4gj6o_58",g6="_aiot_4gj6o_61",_6="_proart_4gj6o_64",E6="_rechat__title_4gj6o_67",y6="_select_4gj6o_71",Xr={lightBoxJune:u6,lightBox:c6,main:d6,rechat__header__close:f6,rechat__avatar:p6,rog:h6,asus:m6,aiot:g6,proart:_6,rechat__title:E6,select:y6},w6=({cancelRechat:e,confirmRechat:t,...n})=>{const{theme:r}=et(),{isJune:i}=pn(),s=C.useContext(It);return y.jsx($l,{className:i?Xr.lightBoxJune:Xr.lightBox,...n,children:y.jsxs("div",{className:Xr.main,children:[y.jsx("div",{className:Xr.rechat__header,children:y.jsx("div",{className:Q(Xr.rechat__header__close),onClickCapture:e})}),y.jsxs("h2",{children:[y.jsx(eo,{className:Q(Xr.rechat__avatar,r?Xr[r]:Xr.asus)}),y.jsx("span",{className:Xr.rechat__title,children:s["session-new-conversation-ask"]})]}),y.jsx("p",{children:s["delete-notice"]}),y.jsxs("div",{className:Xr.select,children:[y.jsx(Rr,{onClick:a=>{t(a),e(a)},children:s.confirm}),y.jsx(xv,{onClick:e,children:s.cancel})]})]})})};function tn(){var e;return(e=window.crypto)==null?void 0:e.randomUUID()}function v6(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}const b6={sessionId:tn(),welcomeRenderDone:!1},Gt=ra()(e=>({...b6,setSessionId:t=>e({sessionId:t}),setWelcomeRenderDone:t=>e({welcomeRenderDone:t})})),T6=["rate","intent","text"],x6={snackbarMessage:"",showFeedback:!1,feedBackPartial:T6,showHeaderMenu:!1,bannerShrink:!1,isShowDislike:!1,isAutoTrigger:!1},_s=ra()(e=>({...x6,setSnackbarMessage:t=>e({snackbarMessage:t}),setShowFeedback:t=>e({showFeedback:t}),setFeedBackPartial:t=>e({feedBackPartial:t}),setShowHeaderMenu:t=>e({showHeaderMenu:t}),setBannerShrink:t=>e({bannerShrink:t}),setIsShowDislike:t=>e({isShowDislike:t}),setIsAutoTrigger:t=>e({isAutoTrigger:t})})),jg=e=>new RegExp(/\[(.*?)\]\(https:\/\/.*?\)/,e?"g":void 0),Wg=e=>new RegExp(/([^<]+)<\/a>/,e?"g":void 0),Gs=e=>new RegExp(/(https?:\/\/.[^(\s\\\n")]+)/,e?"g":void 0);function Vg(e,t){let n=[];return e.match(Gs(t))&&(n=e.match(Gs(t))||[]),e.match(jg(t))&&(n=e.match(jg(t))||[]),e.match(Wg(t))&&(n=e.match(Wg(t))||[]),n}const S6=Gs(),xu=({link:e,iframeElem:t,blockRedirect:n=!1,sessionId:r,websiteCode:i,cb:s,systemCode:a})=>{try{const o=new URL(e),l=o.hostname,u=window.location.hostname,c=["/tw/microsite/","/tw/events/","/tw/event/"].some(v=>o.href.includes(v)),f=a!=="rog"&&a!=="asus";if(!S6.test(e)||/^https:\/\/[^.]+\.asus\.com\/entry\/?.*$/.test(e)||!l)return;e=uC({link:e,queries:{utm_medium:n?"manual_redirect":"auto_redirect",utm_content:r}}),ai(`chatRecord_redirect_${i}`,r);const h=!1;if(l===u&&t&&!c&&!f)return s==null||s(),t.src=e;const w=Zn(i);ai(`aiAssistant_${i}`,{...w,expand:!0}),n&&window.open(e,"_blank")}catch{}},C6="_header_1j3u2_1",k6="_invertBg_1j3u2_8",A6="_headerJune_1j3u2_14",I6="_content_1j3u2_20",L6="_content__title_1j3u2_28",N6="_content__title__rog_1j3u2_47",P6="_headerAsus_1j3u2_51",O6="_headerAiot_1j3u2_58",R6="_headerProart_1j3u2_65",M6="_headerProartBorder_1j3u2_72",D6="_tool_1j3u2_75",B6="_menu_1j3u2_79",F6="_close_1j3u2_80",H6="_toolAsus_1j3u2_94",$6="_toolProart_1j3u2_105",z6="_closeArrow_1j3u2_116",U6="_nav_1j3u2_126",j6="_navAsus_1j3u2_144",W6="_navAiot_1j3u2_147",V6="_navProart_1j3u2_150",Y6="_navList_1j3u2_153",q6="_redirect_1j3u2_172",G6="_redirect__wrap_1j3u2_185",X6="_redirect__title_1j3u2_190",Q6="_redirect__hint_1j3u2_195",Lt={header:C6,invertBg:k6,headerJune:A6,content:I6,content__title:L6,content__title__rog:N6,headerAsus:P6,headerAiot:O6,headerProart:R6,headerProartBorder:M6,tool:D6,menu:B6,close:F6,toolAsus:H6,toolProart:$6,closeArrow:z6,nav:U6,navAsus:j6,navAiot:W6,navProart:V6,navList:Y6,redirect:q6,redirect__wrap:G6,redirect__title:X6,redirect__hint:Q6},Sv=({invertBg:e=!1,handleShrink:t,confirmRechat:n,className:r,anchor:i,...s})=>{const[a,o]=C.useState(!1),{isJune:l}=pn(),{sessionId:u}=Gt(),{websiteCode:d,theme:c,systemCode:f}=et(),{setShowFeedback:p,setFeedBackPartial:h,setShowHeaderMenu:w,showHeaderMenu:v}=_s(),E=C.useContext(It);function g(P){P.stopPropagation(),w(!v),De({...wo,labels:"setting",session_id:u,name_ga4:"setting_brand_assit"})}function _(){o(!0),De({...wo,labels:"new_chat",session_id:u,name_ga4:"new_chat_brand_assit"})}function b(P){P.stopPropagation(),o(!1)}function T(P){P.stopPropagation(),w(!1),n(P)}function x(){De({...wo,labels:"privacy_policy",session_id:u,name_ga4:"privacy_policy_brand_assit"})}function O(P){t(P),De(e?{...wo,labels:"close_chat",session_id:u,name_ga4:"close_chat_brand_assit"}:{...Wc,labels:"cancel",session_id:u,name_ga4:"cancel_brand_assit",action:"clicked"})}const A=()=>{},N=()=>{};C.useEffect(()=>{window.brandAssistantShowFeedback=()=>p==null?void 0:p(!0)},[p]);const S=y.jsxs(y.Fragment,{children:[y.jsx("div",{...s,className:Q(Lt.header,e&&Lt.invertBg,l&&Lt.headerJune,c.includes("asus")&&Lt.headerAsus,c.includes("aiot")&&Lt.headerAiot,c.includes("proart")&&Lt.headerProart,c.includes("proart")&&e&&Lt.headerProartBorder,r),"data-pid":"header",children:y.jsxs("div",{className:Lt.content,children:[e&&y.jsx(y.Fragment,{children:y.jsx("span",{className:Q(Lt.content__title,c.includes("rog")&&Lt.content__title__rog),onMouseDown:A,onMouseUp:N,children:E["assistant-title"]})}),e?y.jsxs("div",{className:Q(Lt.tool,c.includes("asus")&&Lt.toolAsus,c.includes("aiot")&&Lt.toolAsus,c.includes("proart")&&Lt.toolProart),children:[y.jsx("span",{className:Q(Lt.menu),onClick:g,"data-pid":"headerTool"}),y.jsx("span",{className:Q(Lt.close),onClick:O,"data-pid":"headerClose"})]}):y.jsx("span",{className:Q(Lt.closeArrow),onClick:O}),v&&y.jsxs("div",{"data-dir":kr(d),className:Q(Lt.nav,c.includes("asus")&&Lt.navAsus,c.includes("aiot")&&Lt.navAiot,c.includes("proart")&&Lt.navProart),onClick:P=>P.stopPropagation(),"data-pid":"headerNav",children:[y.jsx("button",{className:Lt.navList,onClick:_,children:E["session-new-conversation"]}),y.jsx("button",{className:Lt.navList,onClick:()=>{p==null||p(!0),h(["intent","rate","text"]),De({...wo,labels:"survey",session_id:u,name_ga4:"survey_brand_assit"})},children:E.feedback}),y.jsx("button",{className:Lt.navList,onClick:()=>{const P=`https://asus-brand-assistant.asus.com/documents/${f}/${d}/AI_Assistant_Intro.pdf`;window.open(P)},children:E["assistant-intro"]}),y.jsx("a",{href:E["terms-of-use-url"],target:"_blank",rel:"noreferrer",className:Lt.navList,onClick:x,children:E["terms-of-use"]})]})]})}),y.jsx(w6,{cancelRechat:b,confirmRechat:T,style:{height:a?void 0:0}})]});return i?Pd.createPortal(S,i):S},K6="_miniRoot_dsy94_1",Z6="_miniRoot__breath_dsy94_5",J6="_breathe_dsy94_1",e8="_miniRoot__popHint_dsy94_20",t8="_showHint_dsy94_1",n8="_miniRoot__popHint__top_dsy94_37",r8="_miniRoot__popHint__bottom_dsy94_41",i8="_miniRoot__hidePopHint_dsy94_45",s8="_miniRoot__transitionHint_dsy94_48",a8="_fadeoutHint_dsy94_1",o8="_miniRoot__avatar_dsy94_62",l8="_rog_dsy94_66",u8="_asus_dsy94_102",c8="_aiot_dsy94_138",d8="_proart_dsy94_174",f8="_miniRoot__close_dsy94_282",nn={miniRoot:K6,miniRoot__breath:Z6,breathe:J6,miniRoot__popHint:e8,showHint:t8,miniRoot__popHint__top:n8,miniRoot__popHint__bottom:r8,miniRoot__hidePopHint:i8,miniRoot__transitionHint:s8,fadeoutHint:a8,miniRoot__avatar:o8,rog:l8,"changeBackground-rog":"_changeBackground-rog_dsy94_1",asus:u8,"changeBackground-asus":"_changeBackground-asus_dsy94_1",aiot:c8,"changeBackground-aiot":"_changeBackground-aiot_dsy94_1",proart:d8,"changeBackground-proart":"_changeBackground-proart_dsy94_1","hoverChangeBackground-rog":"_hoverChangeBackground-rog_dsy94_1","hoverChangeBackground-asus":"_hoverChangeBackground-asus_dsy94_1","hoverChangeBackground-aiot":"_hoverChangeBackground-aiot_dsy94_1","hoverChangeBackground-proart":"_hoverChangeBackground-proart_dsy94_1",miniRoot__close:f8},Yg=({hintIndex:e,composedText:t,hintBreathRef:n,hintRef:r,hintSilence:i,...s})=>{const{display:a,shrink:o,iconSize:l}=pn(),{theme:u}=et(),{sessionId:d}=Gt(),c=f=>{var h;f.stopPropagation(),(h=r.current)==null||h.classList.remove(nn.miniRoot__popHint),De({...nc,labels:"icon_cancel",session_id:d,name_ga4:"new_icon_cancel_brand_assit",action:"clicked"});const p=".asus.com";document.cookie=`hintSilence=true; domain=${p}; path=/; Max-Age=1200; SameSite=Lax; Secure`};return o&&a&&y.jsxs("div",{...s,ref:n,className:nn.miniRoot,children:[y.jsx("div",{ref:r,className:Q(i&&nn.miniRoot__hidePopHint),children:e>-1&&t&&y.jsxs(y.Fragment,{children:[y.jsx("div",{className:nn.miniRoot__close,onClick:c,children:y.jsx(Ah,{color:"var(--mini--close)"})}),t]})}),y.jsx(eo,{className:Q(nn.miniRoot__avatar,u?nn[u]:nn.asus),style:{width:`${l}px`,height:`${l}px`},"data-pid":"shrinkIcon"})]})},p8="_chatContainer_ggcgb_1",h8="_outsideMessage_ggcgb_18",m8="_webcome_ggcgb_35",g8="_isDragging_ggcgb_39",_8="_resizeTrigger_ggcgb_42",E8="_miniContainer_ggcgb_51",Fi={chatContainer:p8,outsideMessage:h8,webcome:m8,isDragging:g8,resizeTrigger:_8,miniContainer:E8},y8=({children:e,invertBg:t=!1,historyContent:n,confirmRechat:r,aticket:i})=>{var q,ie,Se,Me,ze;const{embedPageToIframe:s,iframeRef:a}=C.useContext(qs),o=C.useContext(It),{sessionId:l}=Gt(),{setShowHeaderMenu:u,setIsAutoTrigger:d}=_s(),[c,f]=C.useState(!0),[p,h]=C.useState(0),[w,v]=C.useState(0),[E,g]=C.useState(!1),{setExpand:_,setShrink:b,display:T,expand:x,isJune:O,offsetX:A,offsetY:N,shrink:S,hintAlignment:P}=pn(),{websiteCode:M,theme:H,model1Name:$,hintIndex:z,setHintIndex:G}=et(),B=C.useRef(null),D=C.useRef(null),j=C.useRef(!0),k=C.useRef(null),U=C.useRef(null),V=C.useRef(null),[I]=Ja(["hintSilence"]);U.current&&(U.current.classList.remove(P==="bottom"?nn.miniRoot__popHint__top:nn.miniRoot__popHint__bottom),U.current.classList.add(P==="bottom"?nn.miniRoot__popHint__bottom:nn.miniRoot__popHint__top));const[Ee,de]=C.useState(""),[ge,ue]=C.useState(!0),fe=C.useRef(null),ke=C.useRef(null),be=C.useMemo(()=>[o["greet-message-1"],o["greet-message-2"],o["greet-message-3"]],[o]),Le=C.useMemo(()=>[o["greet-message-4"],o["greet-message-1"],o["greet-message-5"],o["greet-message-2"],o["greet-message-4"],o["greet-message-3"]],[o]),We=C.useMemo(()=>{let ye="";if(n&&(n==null?void 0:n.length)>0){const Oe=window.location.href,Ce=n[n.length-1],_t=Si(`chatDisabledPopMsg_${M}`)===Ce.chatId,he=Oe===Ce.redirectUrl;!_t&&Ce.redirectUrl&&he&&(ye=Ce.render[Ce.render.length-1].message||"")}return ye},[n,M]),Ve=C.useCallback(()=>{f(!1),n&&n.length>0&&ai(`chatDisabledPopMsg_${M}`,n==null?void 0:n[n.length-1].chatId)},[n,M]),rt=C.useCallback(()=>{if(i){const{sessionId:ye,sessionDate:Oe,...Ce}=Zn(M);ai(`aiAssistant_${M}`,{...Ce,expand:S,sessionId:i?ye:"",sessionDate:Oe})}b(!S),_(S),c&&We&&Ve()},[c,We,Ve,_,b,S,M,i]);function Be(){u(!1)}C.useEffect(()=>{var Ce;const ye=a.current;if(!S||!ye)return;function Oe(){if(ye&&ye.contentDocument&&ye.contentWindow){const Ae=ye.contentWindow.innerWidth-ye.contentDocument.documentElement.clientWidth,_t=ye.contentWindow.innerHeight-ye.contentDocument.documentElement.clientHeight;h(Ae),v(_t)}}return(Ce=ye.contentWindow)==null||Ce.addEventListener("resize",Oe),()=>{var Ae;return(Ae=ye.contentWindow)==null?void 0:Ae.removeEventListener("resize",Oe)}},[S,a,A]),C.useEffect(()=>{var ye;if(O&&window.self===window.top){const Oe=a.current;Oe&&(Oe.style.width=S?"100vw":`calc(100vw - ${(ye=B.current)==null?void 0:ye.offsetWidth}px)`)}},[O,S,a]),C.useEffect(()=>{if(!O&&window.self!==window.top)return;const ye=document.body,Oe=new ResizeObserver(()=>{const Ce=a.current,Ae=B.current;if(!Ae||!Ce)return;if(S)return Ce.style.width="100vw";if(ye.offsetWidth<681){Ae.style.width="",Ce.style.width="0";return}if(Ce.offsetWidth===0){Ce.style.width="calc(100vw - 360px)",Ae.style.width="360px";return}const _t=ye.offsetWidth-Ae.offsetWidth;Ce.style.width=_t+"px",Ae.style.width=`calc(100vw - ${Ce.offsetWidth})px`});return Oe.observe(ye),()=>Oe.disconnect()},[O,a,S]),C.useEffect(()=>{var Tt;if(!O)return;let ye=!1,Oe=0,Ce=0;const Ae=a.current,_t=D.current,he=B.current;if(!_t||!he)return;const Et=360;let it=0;const an=((Tt=window==null?void 0:window.AsusAPIConfig)==null?void 0:Tt.brandAssistantAlignment)||(kr(M)==="rtl"?"left":"right"),Ut=Ae==null?void 0:Ae.contentWindow;if(!Ut)return;const xn=yt=>{ye=!0,Oe=yt.clientX,Ce=he.offsetWidth,it=window.innerWidth-320,Ut.addEventListener("mousemove",on,!0),Ut.addEventListener("mouseup",Vn,!0)},on=yt=>{const pe=yt.target;if(!ye||!Ae||!pe||pe.tagName==="IFRAME")return;yt.preventDefault(),yt.stopPropagation();const He=pe.id!=="shadowRoot",jt=an==="left",Sn=pe.tagName==="HTML"?pe.offsetWidth:pe.closest("body").offsetWidth,ce=jt&&He?window.top.innerWidth-Sn-Ce+3:yt.clientX-Oe,Ie=jt?Ce+ce:Ce-ce;if(Ie>it){he.style.width=it+"px",Ae.style.width=`calc(100vw - ${it})px`;return}else if(Ie<=Et){he.style.width=Et+"px",Ae.style.width=`calc(100vw - ${Et}px)`;return}else he.style.width=Ie+"px",Ae.style.width=`calc(100vw - ${Ie}px)`},Vn=()=>{Ut.removeEventListener("mousemove",on),Ut.removeEventListener("mouseup",Vn,!0),ye=!1};return _t.addEventListener("mousedown",xn),window.addEventListener("mousemove",on),window.addEventListener("mouseup",Vn,!0),()=>{_t.removeEventListener("mousedown",xn),window.removeEventListener("mousemove",on),window.removeEventListener("mouseup",Vn,!0)}},[O,S,a,M]);const qe=((q=window==null?void 0:window.AsusAPIConfig)==null?void 0:q.brandAssistantAlignment)||(kr(M)==="rtl"?"left":"right"),dt=isNaN(Number((ie=window==null?void 0:window.AsusAPIConfig)==null?void 0:ie.brandAssistantZIndex))?1:Number((Se=window==null?void 0:window.AsusAPIConfig)==null?void 0:Se.brandAssistantZIndex),zt=isNaN(Number((Me=window==null?void 0:window.AsusAPIConfig)==null?void 0:Me.brandAssistantPanelZIndex))?1:Number((ze=window==null?void 0:window.AsusAPIConfig)==null?void 0:ze.brandAssistantPanelZIndex),Pe=C.useCallback(()=>!x||!B.current||O&&!a.current?"-100%":S?-B.current.clientWidth+"px":O?0:A+"px",[O,A,S,a,x]);C.useEffect(()=>{b(!x)},[x,b]),C.useEffect(()=>{function ye(){var Oe;E&&(g(!1),(Oe=window.getSelection())==null||Oe.removeAllRanges())}return window.addEventListener("mouseup",ye),()=>{window.removeEventListener("mouseup",ye)}},[E]),C.useEffect(()=>{j.current&&(j.current=!1,De({...nc,labels:"icon_impression",session_id:l,name_ga4:"icon_impression_brand_assit",action:"displayed"}))},[l]);const ut=C.useCallback(()=>{Le.length===0||be.length===0||(k.current=setTimeout(()=>{if(!S)return;const ye=$?Le.length-1:be.length-1;z>=ye||z===-1?G(0):G(z+1),de(""),ue(!0)},12e3))},[z,G,Le.length,be.length,$,S]),bt=C.useCallback(()=>{var Oe,Ce,Ae,_t,he;if(a.current){const Et=document.getElementsByName("brandAssistant-iframe")[0],it=(Oe=Et==null?void 0:Et.contentDocument)==null?void 0:Oe.getElementById("shadowRoot");if(it){const an=(Ce=it==null?void 0:it.shadowRoot)==null?void 0:Ce.querySelector("#brandAssistant-root"),Ut=y.jsx("div",{"data-theme":H,id:"iframeMiniContainer",children:y.jsxs("div",{className:Fi.miniContainer,style:{zIndex:dt,"--offsetX":`${(A||0)+p}px`,"--offsetY":`${(N||0)+w}px`,display:T?"block":"none"},"data-align":qe,children:[c&&We&&y.jsxs("div",{className:Fi.outsideMessage,children:[y.jsx(Ah,{onClick:Ve}),y.jsx("span",{dangerouslySetInnerHTML:{__html:We}})]}),y.jsx(Yg,{dir:kr(M),hintIndex:z,composedText:Ee,hintBreathRef:V,hintRef:U,hintSilence:I.hintSilence==="true"||I.hintSilence===!0,onClick:()=>{O&&s(),rt(),De({...nc,labels:"icon_click",session_id:l,name_ga4:"icon_click_brand_assit",action:"clicked"})}})]})});if(an){const xn=(Ae=it==null?void 0:it.shadowRoot)==null?void 0:Ae.querySelector("#iframeMiniContainer");(!ke.current||!xn)&&(de(""),ue(!0),Xt(),tt(),gt(),x||G(-1),ke.current=yc.createRoot(an)),ke.current.render(Ut);const on=(he=(_t=document.getElementById("shadowRoot"))==null?void 0:_t.shadowRoot)==null?void 0:he.querySelector("#initMiniContainer");on&&on.remove()}}}},[qe,T,s,Ve,rt,a,w,p,O,We,A,N,l,c,M,dt,H,Ee,z,G,I,x]);C.useEffect(()=>{var Oe;const ye=a.current;if(ye)return ye.addEventListener("load",bt),((Oe=ye.contentDocument)==null?void 0:Oe.readyState)==="complete"&&bt(),()=>{ye.removeEventListener("load",bt)}},[bt,a]);const tt=()=>{k.current&&clearTimeout(k.current),k.current=null},Xt=()=>{fe.current&&clearTimeout(fe.current),fe.current=null},gt=()=>{U.current&&U.current.classList.remove(nn.miniRoot__popHint),U.current&&U.current.classList.remove(nn.miniRoot__transitionHint),V.current&&V.current.classList.remove(nn.miniRoot__breath)};C.useEffect(()=>{if(I.hintSilence==="true"||I.hintSilence===!0||!T){tt();return}return ut(),()=>{tt()}},[z,I.hintSilence,T,ut]);const en=C.useCallback((ye,Oe)=>{if(!T||!Oe||!S||document.hidden){Xt();return}ue(!1);const Ce=Oe.split(/(]*>[\s\S]*?<\/svg>|]*>.+?|.)/g).filter(Boolean);fe.current=setTimeout(()=>{const Ae=Ce.shift();if(de(_t=>_t+Ae),Ce.length)U.current&&U.current.classList.remove(nn.miniRoot__transitionHint),U.current&&U.current.classList.add(nn.miniRoot__popHint),V.current&&V.current.classList.add(nn.miniRoot__breath);else{U.current.classList.add(nn.miniRoot__transitionHint),V.current.classList.remove(nn.miniRoot__breath),Xt();return}en(90,Ce.join(""))},ye)},[T,S]);return C.useEffect(()=>{z<0||(T?ge&&en(90,$?Le[z]:be[z]):(G(-1),de(""),Xt()))},[be,$,Le,z,en,T,G,ge]),C.useEffect(()=>{S||(Xt(),tt(),de(""),gt())},[S]),C.useEffect(()=>{function ye(){document.hidden?(de(""),ue(!0),Xt(),tt(),gt()):ut()}return window.addEventListener("visibilitychange",ye),()=>{window.removeEventListener("visibilitychange",ye)}},[be,z,G,en,ut]),y.jsxs(y.Fragment,{children:[y.jsxs("div",{id:"initMiniContainer",className:Fi.miniContainer,style:{zIndex:dt,"--offsetX":`${(A||0)+p}px`,"--offsetY":`${(N||0)+w}px`,display:T?"block":"none"},"data-align":qe,children:[c&&We&&y.jsxs("div",{className:Fi.outsideMessage,children:[y.jsx(Ah,{onClick:Ve}),y.jsx("span",{dangerouslySetInnerHTML:{__html:We}})]}),y.jsx(Yg,{dir:kr(M),hintIndex:z,composedText:Ee,hintBreathRef:V,hintRef:U,hintSilence:I.hintSilence==="true"||I.hintSilence===!0,onClick:()=>{O&&s(),rt(),d(!0),De({...nc,labels:"icon_click",session_id:l,name_ga4:"icon_click_brand_assit",action:"clicked"})}})]}),y.jsxs("div",{className:Q(Fi.chatContainer,"chatContainer"),ref:B,style:{zIndex:zt,"--offset-horizon":`${Pe()}`,"--offset-vertical":`${O?0:N}px`},"data-align":qe,dir:kr(M),children:[O&&!S&&y.jsx("div",{ref:D,className:Fi.resizeTrigger,"data-align":qe,onMouseDown:()=>{g(!0)}}),y.jsxs($l,{className:Q(!t&&Fi.webcome,E&&Fi.isDragging),onClick:Be,children:[y.jsx(Sv,{invertBg:t,handleShrink:rt,confirmRechat:r}),e]})]})]})},w8="_bigIcrLogo_17vid_1",v8="_bigIcon_17vid_6",b8="_rog_17vid_10",T8="_asus_17vid_13",x8="_aiot_17vid_16",S8="_proart_17vid_19",Su={bigIcrLogo:w8,bigIcon:v8,rog:b8,asus:T8,aiot:x8,proart:S8},h1=({className:e})=>{const{theme:t}=et();return y.jsx("div",{className:Q(Su.bigIcrLogo,e),children:y.jsx(eo,{className:Q(Su.bigIcon,t?Su[t]:Su.asus)})})},$n=(e,t)=>fetch("https://asuschatapi.asus.com/aiassistantapi"+e,{...t,mode:"cors"}).then(n=>n.status!==200?new Error("api fetch fail"):n.json()).catch(n=>(console.log(`fetch error!! `,n),new Error("api fetch fail"))),C8=(e,t)=>fetch(e,{...t,mode:"cors"}).then(n=>n.status!==200?new Error("api fetch fail"):n.json()).catch(n=>(console.log(`fetch error!! `,n),new Error("api fetch fail"))),zl=e=>{const t=/https:\/\/([\w-]*)./,n=location.origin.match(t);let r="";return n&&n.length&&(e?r=n[1]:r="&siteId="+n[1]),r},k8=e=>$n(`/api/v0c/privacyPolicy/?websiteCode=${e.websiteCode}${zl()}`,{method:"GET",headers:{"Content-Type":"application/json"}}),A8={historyContent:[],hasPrevLog:!1,privacyPolicyAgree:!1},Ul=ra()(e=>({...A8,setHistoryContent:t=>e({historyContent:t}),setHasPrevLog:t=>e({hasPrevLog:t}),setPrivacyPolicyAgree:t=>e({privacyPolicyAgree:t})}));var ei=(e=>(e[e.Normal=0]="Normal",e[e.Welcome=1]="Welcome",e[e.Hint=2]="Hint",e[e.InlineMenu=3]="InlineMenu",e[e.Idle=4]="Idle",e[e.Helper=5]="Helper",e[e.InlineSuggest=6]="InlineSuggest",e))(ei||{});const Cv=e=>$n("/api/v3/conversationRecord",{method:"PUT",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}}),m1=e=>$n(`/api/v3/conversationRecord/${e}`,{method:"POST"}),Xs=e=>$n(`/api/v1/visitorNumberLimit?systemCode=${e}`),Nh=async({systemCode:e})=>{const t={isLogin:!1,isReachLimit:!1},{result:n}=await Xs(e);return t.isReachLimit=n.isReachLimit,t},I8="_privacyBody_1exy2_1",L8="_privacyLogo_1exy2_24",N8="_termsNotice_1exy2_29",P8="_agreeWrap_1exy2_48",O8="_agree_1exy2_48",R8="_start_1exy2_98",M8="_bigIcon_1exy2_104",D8="_rog_1exy2_108",B8="_asus_1exy2_111",F8="_aiot_1exy2_114",H8="_proart_1exy2_117",vo={privacyBody:I8,privacyLogo:L8,termsNotice:N8,agreeWrap:P8,agree:O8,start:R8,bigIcon:M8,rog:D8,asus:B8,aiot:F8,proart:H8},$8=({handlePrivacy:e})=>{const[t,n]=C.useState(!1),[r,i]=C.useState(!1),[s,a]=C.useState({}),[o]=Ja(["aticket"]),l=C.useContext(It),{websiteCode:u,systemCode:d,setReachLimit:c}=et(),{sessionId:f,setSessionId:p}=Gt(),{setHistoryContent:h}=Ul();function w(){n(E=>!E),De({...Wc,labels:"agree_click",session_id:f,name_ga4:"agree_click_brand_assit",action:"clicked"})}function v(){i(!0);let{sessionId:E}=Zn(u),g=null;o.aticket||(g=tn(),E=g,p(g)),Nh({websiteCode:u,systemCode:d,aticket:o.aticket}).then(_=>(c(_.isReachLimit),!_.isReachLimit)).then(_=>{if(!_)throw new Error("login or get limitation")}).then(()=>Cv({websiteCode:s.websiteCode,privacyPolicyVersion:s.version,privacyPolicyAgree:!0,cusId:o.aticket,sessionId:E||f,visitorId:localStorage.getItem("idT")||"",systemCode:d})).then(({result:_})=>{if(!_.isSuccess)throw new Error("record privacy error");return m1(g||E||f)}).then(({result:_,status:b})=>{if(b!==200)throw new Error("get privacy error");return h(_.history)}).then(()=>{e()}),De({...Wc,labels:"start",session_id:g||f,name_ga4:"start_brand_assit",action:"clicked"})}return C.useEffect(()=>{k8({websiteCode:u}).then(E=>{const{result:g}=E;a(g)})},[u]),y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:vo.privacyBody,children:[y.jsx(h1,{}),y.jsx("h1",{children:l["assistant-name"]}),y.jsx("h4",{children:s.title}),y.jsx("p",{className:Q("scrollbarWrap",vo.termsNotice),dangerouslySetInnerHTML:{__html:s.content}}),y.jsx("div",{className:vo.agreeWrap,children:y.jsxs("div",{className:vo.agree,children:[y.jsx("h5",{children:l.startConversation}),y.jsxs("label",{children:[y.jsx("input",{type:"checkbox",name:"agree",checked:t,onChange:w}),y.jsx("span",{children:l.agree})]})]})})]}),y.jsx(Rr,{className:vo.start,disabled:!t||r,onClick:v,"data-pid":"privacyPass",children:l["session-start"]})]})},z8="_button_hb3t4_1",U8={button:z8},jl=({children:e,...t})=>y.jsx("button",{...t,className:Q(t.className,U8.button),children:e}),j8="_errorMessageBox_1v4ff_1",W8="_errorMessage_1v4ff_1",V8="_errorLogo_1v4ff_13",Y8="_buttonBox_1v4ff_17",q8="_primaryButton_1v4ff_28",G8="_cancelButton_1v4ff_35",X8="_cancelButtonbutton_1v4ff_40",bo={errorMessageBox:j8,errorMessage:W8,errorLogo:V8,buttonBox:Y8,primaryButton:q8,cancelButton:G8,cancelButtonbutton:X8};class Q8 extends C.Component{constructor(){super(...arguments);iu(this,"state",{hasError:!1});iu(this,"handleRedirect",()=>{location.href=this.props.liveSupportLink});iu(this,"handleRestart",()=>{this.props.updateIsError&&this.props.updateIsError(!1),this.setState({hasError:!1}),this.props.confirmRechat()})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("Uncaught error:",n,r)}resetError(){this.setState({hasError:!1})}render(){return this.state.hasError||this.props.isError?y.jsxs("div",{className:bo.errorMessageBox,"data-pid":"errorContainer",children:[y.jsx(h1,{className:bo.errorLogo}),y.jsx("p",{className:bo.errorMessage,children:this.props.systemErrorMessage}),y.jsx("div",{className:bo.buttonBox,children:y.jsx(jl,{className:bo.cancelButton,onClick:this.handleRestart,children:this.props.buttonText})})]}):this.props.children}}const K8="_snackbar_9u1uq_1",Z8="_active_9u1uq_11",J8="_slideUp_9u1uq_1",qg={snackbar:K8,active:Z8,slideUp:J8},e5=({content:e,...t})=>{const{setSnackbarMessage:n}=_s();return C.useEffect(()=>{const r=setTimeout(()=>{e&&n("")},5e3);return()=>{clearTimeout(r)}},[n,e]),y.jsx("div",{...t,className:Q(qg.snackbar,t.className,e!==""&&qg.active),children:e})};var to={};/** * @license React * react-dom-server-legacy.browser.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 kv=C;function je(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n