@pie-element/placement-ordering 15.0.3-next.20261007184841 → 15.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/author/index.js +1369 -1369
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +237 -238
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/{drag-provider-ClKwhQWw.js → drag-provider-CD83T8uu.js} +2938 -2975
- package/dist/browser/drag-provider-CD83T8uu.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +4277 -4277
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +237 -238
- package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/{drag-provider-DZxHQkwd.js → drag-provider-DqD0-DIx.js} +2938 -2975
- package/dist/browser/editor-runtime/drag-provider-DqD0-DIx.js.map +1 -0
- package/dist/delivery/tile.js +66 -67
- package/dist/index.iife.js +33 -33
- package/package.json +15 -15
- package/dist/browser/drag-provider-ClKwhQWw.js.map +0 -1
- package/dist/browser/editor-runtime/drag-provider-DZxHQkwd.js.map +0 -1
- package/dist/delivery/__tests__/math-control-names.test.d.ts +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -3,9 +3,9 @@ this.PlacementOrderingElement=(function(){var e=Object.create,t=Object.definePro
|
|
|
3
3
|
`),a=r.stack.split(`
|
|
4
4
|
`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
|
|
5
5
|
`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{oe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?ae(e):``}function ce(e){switch(e.tag){case 5:return ae(e.type);case 16:return ae(`Lazy`);case 13:return ae(`Suspense`);case 19:return ae(`SuspenseList`);case 0:case 2:case 15:return e=se(e.type,!1),e;case 11:return e=se(e.type.render,!1),e;case 1:return e=se(e.type,!0),e;default:return``}}function le(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 E:return`Fragment`;case T:return`Portal`;case ee:return`Profiler`;case D:return`StrictMode`;case A:return`Suspense`;case ne:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case te:return(e.displayName||`Context`)+`.Consumer`;case O:return(e._context.displayName||`Context`)+`.Provider`;case k:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case j:return t=e.displayName||null,t===null?le(e.type)||`Memo`:t;case M:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}function ue(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`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return le(t);case 8:return t===D?`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 de(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function fe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function pe(e){var t=fe(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function I(e){e._valueTracker||=pe(e)}function me(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=fe(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function L(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function he(e,t){var n=t.checked;return P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ge(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=de(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function _e(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function ve(e,t){_e(e,t);var n=de(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`)?be(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&be(e,t.type,de(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ye(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 be(e,t,n){(t!==`number`||L(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var xe=Array.isArray;function Se(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+de(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ce(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return P({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function we(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(xe(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:de(n)}}function Te(e,t){var n=de(t.value),r=de(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function Ee(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function De(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Oe(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?De(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var ke,Ae=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(ke||=document.createElement(`div`),ke.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=ke.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function je(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Me={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},Ne=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Me).forEach(function(e){Ne.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Me[t]=Me[e]})});function Pe(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Me.hasOwnProperty(e)&&Me[e]?(``+t).trim():t+`px`}function Fe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Pe(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Ie=P({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 Le(e,t){if(t){if(Ie[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Re(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 ze=null;function Be(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ve=null,He=null,Ue=null;function We(e){if(e=Wi(e)){if(typeof Ve!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ki(t),Ve(e.stateNode,e.type,t))}}function Ge(e){He?Ue?Ue.push(e):Ue=[e]:He=e}function Ke(){if(He){var e=He,t=Ue;if(Ue=He=null,We(e),t)for(e=0;e<t.length;e++)We(t[e])}}function qe(e,t){return e(t)}function Je(){}var Ye=!1;function Xe(e,t,n){if(Ye)return e(t,n);Ye=!0;try{return qe(e,t,n)}finally{Ye=!1,(He!==null||Ue!==null)&&(Je(),Ke())}}function Ze(e,t){var n=e.stateNode;if(n===null)return null;var i=Ki(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var Qe=!1;if(c)try{var $e={};Object.defineProperty($e,"passive",{get:function(){Qe=!0}}),window.addEventListener(`test`,$e,$e),window.removeEventListener(`test`,$e,$e)}catch{Qe=!1}function et(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var tt=!1,nt=null,rt=!1,it=null,at={onError:function(e){tt=!0,nt=e}};function ot(e,t,n,r,i,a,o,s,c){tt=!1,nt=null,et.apply(at,arguments)}function st(e,t,n,i,a,o,s,c,l){if(ot.apply(this,arguments),tt){if(tt){var u=nt;tt=!1,nt=null}else throw Error(r(198));rt||(rt=!0,it=u)}}function ct(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function lt(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ut(e){if(ct(e)!==e)throw Error(r(188))}function dt(e){var t=e.alternate;if(!t){if(t=ct(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return ut(a),e;if(o===i)return ut(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function ft(e){return e=dt(e),e===null?null:pt(e)}function pt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=pt(e);if(t!==null)return t;e=e.sibling}return null}var mt=n.unstable_scheduleCallback,ht=n.unstable_cancelCallback,gt=n.unstable_shouldYield,_t=n.unstable_requestPaint,vt=n.unstable_now,yt=n.unstable_getCurrentPriorityLevel,bt=n.unstable_ImmediatePriority,xt=n.unstable_UserBlockingPriority,St=n.unstable_NormalPriority,Ct=n.unstable_LowPriority,wt=n.unstable_IdlePriority,Tt=null,Et=null;function Dt(e){if(Et&&typeof Et.onCommitFiberRoot==`function`)try{Et.onCommitFiberRoot(Tt,e,void 0,(e.current.flags&128)==128)}catch{}}var Ot=Math.clz32?Math.clz32:jt,kt=Math.log,At=Math.LN2;function jt(e){return e>>>=0,e===0?32:31-(kt(e)/At|0)|0}var Mt=64,Nt=4194304;function Pt(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 Ft(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Pt(a))):r=Pt(s)}else o=n&~i,o===0?a!==0&&(r=Pt(a)):r=Pt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ot(t),i=1<<n,r|=e[n],t&=~i;return r}function It(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Lt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Ot(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=It(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Rt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function zt(){var e=Mt;return Mt<<=1,!(Mt&4194240)&&(Mt=64),e}function Bt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ot(t),e[t]=n}function Ht(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<n;){var i=31-Ot(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Ut(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var R=0;function Wt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Gt,Kt,qt,Jt,Yt,Xt=!1,Zt=[],Qt=null,$t=null,en=null,tn=new Map,nn=new Map,rn=[],an=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function on(e,t){switch(e){case`focusin`:case`focusout`:Qt=null;break;case`dragenter`:case`dragleave`:$t=null;break;case`mouseover`:case`mouseout`:en=null;break;case`pointerover`:case`pointerout`:tn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:nn.delete(t.pointerId)}}function sn(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Wi(t),t!==null&&Kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function cn(e,t,n,r,i){switch(t){case`focusin`:return Qt=sn(Qt,e,t,n,r,i),!0;case`dragenter`:return $t=sn($t,e,t,n,r,i),!0;case`mouseover`:return en=sn(en,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return tn.set(a,sn(tn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,nn.set(a,sn(nn.get(a)||null,e,t,n,r,i)),!0}return!1}function ln(e){var t=Ui(e.target);if(t!==null){var n=ct(t);if(n!==null){if(t=n.tag,t===13){if(t=lt(n),t!==null){e.blockedOn=t,Yt(e.priority,function(){qt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function un(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=xn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ze=r,n.target.dispatchEvent(r),ze=null}else return t=Wi(n),t!==null&&Kt(t),e.blockedOn=n,!1;t.shift()}return!0}function dn(e,t,n){un(e)&&n.delete(t)}function fn(){Xt=!1,Qt!==null&&un(Qt)&&(Qt=null),$t!==null&&un($t)&&($t=null),en!==null&&un(en)&&(en=null),tn.forEach(dn),nn.forEach(dn)}function pn(e,t){e.blockedOn===t&&(e.blockedOn=null,Xt||(Xt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,fn)))}function mn(e){function t(t){return pn(t,e)}if(0<Zt.length){pn(Zt[0],e);for(var n=1;n<Zt.length;n++){var r=Zt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Qt!==null&&pn(Qt,e),$t!==null&&pn($t,e),en!==null&&pn(en,e),tn.forEach(t),nn.forEach(t),n=0;n<rn.length;n++)r=rn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<rn.length&&(n=rn[0],n.blockedOn===null);)ln(n),n.blockedOn===null&&rn.shift()}var hn=C.ReactCurrentBatchConfig,gn=!0;function _n(e,t,n,r){var i=R,a=hn.transition;hn.transition=null;try{R=1,yn(e,t,n,r)}finally{R=i,hn.transition=a}}function vn(e,t,n,r){var i=R,a=hn.transition;hn.transition=null;try{R=4,yn(e,t,n,r)}finally{R=i,hn.transition=a}}function yn(e,t,n,r){if(gn){var i=xn(e,t,n,r);if(i===null)hi(e,t,r,bn,n),on(e,r);else if(cn(i,e,t,n,r))r.stopPropagation();else if(on(e,r),t&4&&-1<an.indexOf(e)){for(;i!==null;){var a=Wi(i);if(a!==null&&Gt(a),a=xn(e,t,n,r),a===null&&hi(e,t,r,bn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else hi(e,t,r,null,n)}}var bn=null;function xn(e,t,n,r){if(bn=null,e=Be(r),e=Ui(e),e!==null)if(t=ct(e),t===null)e=null;else if(n=t.tag,n===13){if(e=lt(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return bn=e,null}function Sn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(yt()){case bt:return 1;case xt:return 4;case St:case Ct:return 16;case wt:return 536870912;default:return 16}default:return 16}}var Cn=null,wn=null,Tn=null;function En(){if(Tn)return Tn;var e,t=wn,n=t.length,r,i=`value`in Cn?Cn.value:Cn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Tn=i.slice(e,1<r?1-r:void 0)}function Dn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function On(){return!0}function kn(){return!1}function An(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?On:kn,this.isPropagationStopped=kn,this}return P(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=On)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=On)},persist:function(){},isPersistent:On}),t}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mn=An(jn),Nn=P({},jn,{view:0,detail:0}),Pn=An(Nn),Fn,In,Ln,Rn=P({},Nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Ln&&(Ln&&e.type===`mousemove`?(Fn=e.screenX-Ln.screenX,In=e.screenY-Ln.screenY):In=Fn=0,Ln=e),Fn)},movementY:function(e){return`movementY`in e?e.movementY:In}}),zn=An(Rn),Bn=An(P({},Rn,{dataTransfer:0})),Vn=An(P({},Nn,{relatedTarget:0})),Hn=An(P({},jn,{animationName:0,elapsedTime:0,pseudoElement:0})),Un=An(P({},jn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Wn=An(P({},jn,{data:0})),Gn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Kn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},qn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qn[e])?!!t[e]:!1}function Yn(){return Jn}var Xn=An(P({},Nn,{key:function(e){if(e.key){var t=Gn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Dn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Kn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yn,charCode:function(e){return e.type===`keypress`?Dn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Dn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Zn=An(P({},Rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Qn=An(P({},Nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yn})),$n=An(P({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0})),er=An(P({},Rn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),tr=[9,13,27,32],nr=c&&`CompositionEvent`in window,rr=null;c&&`documentMode`in document&&(rr=document.documentMode);var ir=c&&`TextEvent`in window&&!rr,ar=c&&(!nr||rr&&8<rr&&11>=rr),or=` `,sr=!1;function cr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function lr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ur=!1;function dr(e,t){switch(e){case`compositionend`:return lr(t);case`keypress`:return t.which===32?(sr=!0,or):null;case`textInput`:return e=t.data,e===or&&sr?null:e;default:return null}}function fr(e,t){if(ur)return e===`compositionend`||!nr&&cr(e,t)?(e=En(),Tn=wn=Cn=null,ur=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return ar&&t.locale!==`ko`?null:t.data;default:return null}}var pr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!pr[e.type]:t===`textarea`}function hr(e,t,n,r){Ge(r),t=_i(t,`onChange`),0<t.length&&(n=new Mn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var gr=null,_r=null;function vr(e){li(e,0)}function yr(e){if(me(Gi(e)))return e}function br(e,t){if(e===`change`)return t}var xr=!1;if(c){var Sr;if(c){var Cr=`oninput`in document;if(!Cr){var wr=document.createElement(`div`);wr.setAttribute(`oninput`,`return;`),Cr=typeof wr.oninput==`function`}Sr=Cr}else Sr=!1;xr=Sr&&(!document.documentMode||9<document.documentMode)}function Tr(){gr&&(gr.detachEvent(`onpropertychange`,Er),_r=gr=null)}function Er(e){if(e.propertyName===`value`&&yr(_r)){var t=[];hr(t,_r,e,Be(e)),Xe(vr,t)}}function Dr(e,t,n){e===`focusin`?(Tr(),gr=t,_r=n,gr.attachEvent(`onpropertychange`,Er)):e===`focusout`&&Tr()}function Or(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return yr(_r)}function kr(e,t){if(e===`click`)return yr(t)}function Ar(e,t){if(e===`input`||e===`change`)return yr(t)}function jr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Mr=typeof Object.is==`function`?Object.is:jr;function Nr(e,t){if(Mr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Mr(e[i],t[i]))return!1}return!0}function Pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fr(e,t){var n=Pr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Pr(n)}}function Ir(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ir(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lr(){for(var e=window,t=L();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=L(e.document)}return t}function Rr(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 zr(e){var t=Lr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ir(n.ownerDocument.documentElement,n)){if(r!==null&&Rr(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,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Fr(n,a);var o=Fr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Br=c&&`documentMode`in document&&11>=document.documentMode,Vr=null,Hr=null,Ur=null,Wr=!1;function Gr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wr||Vr==null||Vr!==L(r)||(r=Vr,`selectionStart`in r&&Rr(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}),Ur&&Nr(Ur,r)||(Ur=r,r=_i(Hr,`onSelect`),0<r.length&&(t=new Mn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Vr)))}function Kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var qr={animationend:Kr(`Animation`,`AnimationEnd`),animationiteration:Kr(`Animation`,`AnimationIteration`),animationstart:Kr(`Animation`,`AnimationStart`),transitionend:Kr(`Transition`,`TransitionEnd`)},Jr={},Yr={};c&&(Yr=document.createElement(`div`).style,`AnimationEvent`in window||(delete qr.animationend.animation,delete qr.animationiteration.animation,delete qr.animationstart.animation),`TransitionEvent`in window||delete qr.transitionend.transition);function Xr(e){if(Jr[e])return Jr[e];if(!qr[e])return e;var t=qr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Yr)return Jr[e]=t[n];return e}var Zr=Xr(`animationend`),Qr=Xr(`animationiteration`),$r=Xr(`animationstart`),ei=Xr(`transitionend`),ti=new Map,ni=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function ri(e,t){ti.set(e,t),o(t,[e])}for(var ii=0;ii<ni.length;ii++){var ai=ni[ii];ri(ai.toLowerCase(),`on`+(ai[0].toUpperCase()+ai.slice(1)))}ri(Zr,`onAnimationEnd`),ri(Qr,`onAnimationIteration`),ri($r,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(ei,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var oi=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),si=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(oi));function ci(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,st(r,t,void 0,e),e.currentTarget=null}function li(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;ci(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;ci(i,s,l),a=c}}}if(rt)throw e=it,rt=!1,it=null,e}function ui(e,t){var n=t[Bi];n===void 0&&(n=t[Bi]=new Set);var r=e+`__bubble`;n.has(r)||(mi(t,e,2,!1),n.add(r))}function di(e,t,n){var r=0;t&&(r|=4),mi(n,e,r,t)}var fi=`_reactListening`+Math.random().toString(36).slice(2);function pi(e){if(!e[fi]){e[fi]=!0,i.forEach(function(t){t!==`selectionchange`&&(si.has(t)||di(t,!1,e),di(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fi]||(t[fi]=!0,di(`selectionchange`,!1,t))}}function mi(e,t,n,r){switch(Sn(t)){case 1:var i=_n;break;case 4:i=vn;break;default:i=yn}n=i.bind(null,t,n,e),i=void 0,!Qe||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function hi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Ui(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}Xe(function(){var r=a,i=Be(n),o=[];a:{var s=ti.get(e);if(s!==void 0){var c=Mn,l=e;switch(e){case`keypress`:if(Dn(n)===0)break a;case`keydown`:case`keyup`:c=Xn;break;case`focusin`:l=`focus`,c=Vn;break;case`focusout`:l=`blur`,c=Vn;break;case`beforeblur`:case`afterblur`:c=Vn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=zn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Bn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=Qn;break;case Zr:case Qr:case $r:c=Hn;break;case ei:c=$n;break;case`scroll`:c=Pn;break;case`wheel`:c=er;break;case`copy`:case`cut`:case`paste`:c=Un;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=Zn}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=Ze(p,f),h!=null&&u.push(gi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==ze&&(l=n.relatedTarget||n.fromElement)&&(Ui(l)||l[zi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Ui(l):null,l!==null&&(d=ct(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=zn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=Zn,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Gi(c),m=l==null?s:Gi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ui(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=vi(m))p++;for(m=0,h=f;h;h=vi(h))m++;for(;0<p-m;)u=vi(u),p--;for(;0<m-p;)f=vi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=vi(u),f=vi(f)}u=null}else u=null;c!==null&&yi(o,s,c,u,!1),l!==null&&d!==null&&yi(o,d,l,u,!0)}}a:{if(s=r?Gi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=br;else if(mr(s))if(xr)g=Ar;else{g=Or;var _=Dr}else(c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=kr);if(g&&=g(e,r)){hr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&be(s,`number`,s.value)}switch(_=r?Gi(r):window,e){case`focusin`:(mr(_)||_.contentEditable===`true`)&&(Vr=_,Hr=r,Ur=null);break;case`focusout`:Ur=Hr=Vr=null;break;case`mousedown`:Wr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Wr=!1,Gr(o,n,i);break;case`selectionchange`:if(Br)break;case`keydown`:case`keyup`:Gr(o,n,i)}var v;if(nr)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else ur?cr(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(ar&&n.locale!==`ko`&&(ur||y!==`onCompositionStart`?y===`onCompositionEnd`&&ur&&(v=En()):(Cn=i,wn=`value`in Cn?Cn.value:Cn.textContent,ur=!0)),_=_i(r,y),0<_.length&&(y=new Wn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=lr(n),v!==null&&(y.data=v)))),(v=ir?dr(e,n):fr(e,n))&&(r=_i(r,`onBeforeInput`),0<r.length&&(i=new Wn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}li(o,t)})}function gi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _i(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Ze(e,n),a!=null&&r.unshift(gi(e,a,i)),a=Ze(e,t),a!=null&&r.push(gi(e,a,i))),e=e.return}return r}function vi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function yi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=Ze(n,a),c!=null&&o.unshift(gi(n,c,s))):i||(c=Ze(n,a),c!=null&&o.push(gi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var bi=/\r\n?/g,xi=/\u0000|\uFFFD/g;function Si(e){return(typeof e==`string`?e:``+e).replace(bi,`
|
|
6
|
-
`).replace(xi,``)}function Ci(e,t,n){if(t=Si(t),Si(e)!==t&&n)throw Error(r(425))}function wi(){}var Ti=null,Ei=null;function Di(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Oi=typeof setTimeout==`function`?setTimeout:void 0,ki=typeof clearTimeout==`function`?clearTimeout:void 0,Ai=typeof Promise==`function`?Promise:void 0,ji=typeof queueMicrotask==`function`?queueMicrotask:Ai===void 0?Oi:function(e){return Ai.resolve(null).then(e).catch(Mi)};function Mi(e){setTimeout(function(){throw e})}function Ni(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),mn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);mn(t)}function Pi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Fi(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Ii=Math.random().toString(36).slice(2),Li=`__reactFiber$`+Ii,Ri=`__reactProps$`+Ii,zi=`__reactContainer$`+Ii,Bi=`__reactEvents$`+Ii,Vi=`__reactListeners$`+Ii,Hi=`__reactHandles$`+Ii;function Ui(e){var t=e[Li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zi]||n[Li]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fi(e);e!==null;){if(n=e[Li])return n;e=Fi(e)}return t}e=n,n=e.parentNode}return null}function Wi(e){return e=e[Li]||e[zi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ki(e){return e[Ri]||null}var qi=[],Ji=-1;function Yi(e){return{current:e}}function Xi(e){0>Ji||(e.current=qi[Ji],qi[Ji]=null,Ji--)}function Zi(e,t){Ji++,qi[Ji]=e.current,e.current=t}var Qi={},$i=Yi(Qi),ea=Yi(!1),ta=Qi;function na(e,t){var n=e.type.contextTypes;if(!n)return Qi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ra(e){return e=e.childContextTypes,e!=null}function ia(){Xi(ea),Xi($i)}function aa(e,t,n){if($i.current!==Qi)throw Error(r(168));Zi($i,t),Zi(ea,n)}function oa(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,ue(e)||`Unknown`,a));return P({},n,i)}function sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qi,ta=$i.current,Zi($i,e),Zi(ea,ea.current),!0}function ca(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=oa(e,t,ta),i.__reactInternalMemoizedMergedChildContext=e,Xi(ea),Xi($i),Zi($i,e)):Xi(ea),Zi(ea,n)}var la=null,ua=!1,da=!1;function fa(e){la===null?la=[e]:la.push(e)}function pa(e){ua=!0,fa(e)}function ma(){if(!da&&la!==null){da=!0;var e=0,t=R;try{var n=la;for(R=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}la=null,ua=!1}catch(t){throw la!==null&&(la=la.slice(e+1)),mt(bt,ma),t}finally{R=t,da=!1}}return null}var ha=[],ga=0,_a=null,va=0,ya=[],ba=0,xa=null,Sa=1,Ca=``;function wa(e,t){ha[ga++]=va,ha[ga++]=_a,_a=e,va=t}function Ta(e,t,n){ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,xa=e;var r=Sa;e=Ca;var i=32-Ot(r)-1;r&=~(1<<i),n+=1;var a=32-Ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Sa=1<<32-Ot(t)+i|n<<i|r,Ca=a+e}else Sa=1<<a|n<<i|r,Ca=e}function z(e){e.return!==null&&(wa(e,1),Ta(e,1,0))}function Ea(e){for(;e===_a;)_a=ha[--ga],ha[ga]=null,va=ha[--ga],ha[ga]=null;for(;e===xa;)xa=ya[--ba],ya[ba]=null,Ca=ya[--ba],ya[ba]=null,Sa=ya[--ba],ya[ba]=null}var Da=null,Oa=null,ka=!1,Aa=null;function ja(e,t){var n=Ql(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ma(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,Da=e,Oa=Pi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Da=e,Oa=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=xa===null?null:{id:Sa,overflow:Ca},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ql(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Da=e,Oa=null,!0);default:return!1}}function Na(e){return(e.mode&1)!=0&&(e.flags&128)==0}function B(e){if(ka){var t=Oa;if(t){var n=t;if(!Ma(e,t)){if(Na(e))throw Error(r(418));t=Pi(n.nextSibling);var i=Da;t&&Ma(e,t)?ja(i,n):(e.flags=e.flags&-4097|2,ka=!1,Da=e)}}else{if(Na(e))throw Error(r(418));e.flags=e.flags&-4097|2,ka=!1,Da=e}}}function Pa(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Da=e}function Fa(e){if(e!==Da)return!1;if(!ka)return Pa(e),ka=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Di(e.type,e.memoizedProps)),t&&=Oa){if(Na(e))throw Ia(),Error(r(418));for(;t;)ja(e,t),t=Pi(t.nextSibling)}if(Pa(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Oa=Pi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Oa=null}}else Oa=Da?Pi(e.stateNode.nextSibling):null;return!0}function Ia(){for(var e=Oa;e;)e=Pi(e.nextSibling)}function La(){Oa=Da=null,ka=!1}function Ra(e){Aa===null?Aa=[e]:Aa.push(e)}var za=C.ReactCurrentBatchConfig;function Ba(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ha(e){var t=e._init;return t(e._payload)}function Ua(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=tu(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=au(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===M&&Ha(i)===t.type)?(r=a(t,n.props),r.ref=Ba(e,t,n),r.return=e,r):(r=nu(n.type,n.key,n.props,null,e.mode,r),r.ref=Ba(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ou(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ru(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=au(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=nu(t.type,t.key,t.props,null,e.mode,n),n.ref=Ba(e,null,t),n.return=e,n;case T:return t=ou(t,e.mode,n),t.return=e,t;case M:var r=t._init;return f(e,r(t._payload),n)}if(xe(t)||ie(t))return t=ru(t,e.mode,n,null),t.return=e,t;Va(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case M:return i=n._init,p(e,t,i(n._payload),r)}if(xe(n)||ie(n))return i===null?d(e,t,n,r,null):null;Va(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case M:var a=r._init;return m(e,t,n,a(r._payload),i)}if(xe(r)||ie(r))return e=e.get(n)||null,d(t,e,r,i,null);Va(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),ka&&wa(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ka&&wa(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),ka&&wa(r,h),l}function g(a,s,c,l){var u=ie(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ka&&wa(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ka&&wa(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ka&&wa(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===M&&Ha(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ba(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=ru(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=nu(i.type,i.key,i.props,null,e.mode,o),o.ref=Ba(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=ou(i,e.mode,o),r.return=e,e=r}return s(e);case M:return l=i._init,_(e,r,l(i._payload),o)}if(xe(i))return h(e,r,i,o);if(ie(i))return g(e,r,i,o);Va(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=au(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Wa=Ua(!0),Ga=Ua(!1),V=Yi(null),Ka=null,qa=null,Ja=null;function Ya(){Ja=qa=Ka=null}function Xa(e){var t=V.current;Xi(V),e._currentValue=t}function Za(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qa(e,t){Ka=e,Ja=qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Bs=!0),e.firstContext=null)}function $a(e){var t=e._currentValue;if(Ja!==e)if(e={context:e,memoizedValue:t,next:null},qa===null){if(Ka===null)throw Error(r(308));qa=e,Ka.dependencies={lanes:0,firstContext:e}}else qa=qa.next=e;return t}var eo=null;function to(e){eo===null?eo=[e]:eo.push(e)}function no(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,to(t)):(n.next=i.next,i.next=n),t.interleaved=n,ro(e,r)}function ro(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 io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oo(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 so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ro(e,n)}return i=r.interleaved,i===null?(t.next=t,to(r)):(t.next=i.next,i.next=t),r.interleaved=t,ro(e,n)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ut(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 fo(e,t,n,r){var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=P({},d,f);break a;case 2:io=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);tl|=o,e.lanes=o,e.memoizedState=d}}function po(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var mo={},ho=Yi(mo),go=Yi(mo),_o=Yi(mo);function vo(e){if(e===mo)throw Error(r(174));return e}function yo(e,t){switch(Zi(_o,t),Zi(go,e),Zi(ho,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Oe(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Oe(t,e)}Xi(ho),Zi(ho,t)}function bo(){Xi(ho),Xi(go),Xi(_o)}function xo(e){vo(_o.current);var t=vo(ho.current),n=Oe(t,e.type);t!==n&&(Zi(go,e),Zi(ho,n))}function So(e){go.current===e&&(Xi(ho),Xi(go))}var Co=Yi(0);function wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var To=[];function Eo(){for(var e=0;e<To.length;e++)To[e]._workInProgressVersionPrimary=null;To.length=0}var Do=C.ReactCurrentDispatcher,Oo=C.ReactCurrentBatchConfig,ko=0,Ao=null,jo=null,Mo=null,No=!1,Po=!1,Fo=0,Io=0;function Lo(){throw Error(r(321))}function Ro(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Mr(e[n],t[n]))return!1;return!0}function zo(e,t,n,i,a,o){if(ko=o,Ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Do.current=e===null||e.memoizedState===null?xs:Ss,e=n(i,a),Po){o=0;do{if(Po=!1,Fo=0,25<=o)throw Error(r(301));o+=1,Mo=jo=null,t.updateQueue=null,Do.current=Cs,e=n(i,a)}while(Po)}if(Do.current=bs,t=jo!==null&&jo.next!==null,ko=0,Mo=jo=Ao=null,No=!1,t)throw Error(r(300));return e}function Bo(){var e=Fo!==0;return Fo=0,e}function Vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e,Mo}function Ho(){if(jo===null){var e=Ao.alternate;e=e===null?null:e.memoizedState}else e=jo.next;var t=Mo===null?Ao.memoizedState:Mo.next;if(t!==null)Mo=t,jo=e;else{if(e===null)throw Error(r(310));jo=e,e={memoizedState:jo.memoizedState,baseState:jo.baseState,baseQueue:jo.baseQueue,queue:jo.queue,next:null},Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e}return Mo}function Uo(e,t){return typeof t==`function`?t(e):t}function Wo(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=jo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((ko&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Ao.lanes|=d,tl|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Mr(i,t.memoizedState)||(Bs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Ao.lanes|=o,tl|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Go(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Mr(o,t.memoizedState)||(Bs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ko(){}function qo(e,t){var n=Ao,i=Ho(),a=t(),o=!Mr(i.memoizedState,a);if(o&&(i.memoizedState=a,Bs=!0),i=i.queue,as(Xo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Mo!==null&&Mo.memoizedState.tag&1){if(n.flags|=2048,es(9,Yo.bind(null,n,i,a,t),void 0,null),Jc===null)throw Error(r(349));ko&30||Jo(n,t,a)}return a}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yo(e,t,n,r){t.value=n,t.getSnapshot=r,Zo(t)&&Qo(e)}function Xo(e,t,n){return n(function(){Zo(t)&&Qo(e)})}function Zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mr(e,n)}catch{return!0}}function Qo(e){var t=ro(e,1);t!==null&&bl(t,e,1,-1)}function $o(e){var t=Vo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=gs.bind(null,Ao,e),[t.memoizedState,e]}function es(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ts(){return Ho().memoizedState}function ns(e,t,n,r){var i=Vo();Ao.flags|=e,i.memoizedState=es(1|t,n,void 0,r===void 0?null:r)}function rs(e,t,n,r){var i=Ho();r=r===void 0?null:r;var a=void 0;if(jo!==null){var o=jo.memoizedState;if(a=o.destroy,r!==null&&Ro(r,o.deps)){i.memoizedState=es(t,n,a,r);return}}Ao.flags|=e,i.memoizedState=es(1|t,n,a,r)}function is(e,t){return ns(8390656,8,e,t)}function as(e,t){return rs(2048,8,e,t)}function os(e,t){return rs(4,2,e,t)}function H(e,t){return rs(4,4,e,t)}function ss(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cs(e,t,n){return n=n==null?null:n.concat([e]),rs(4,4,ss.bind(null,t,e),n)}function ls(){}function us(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ds(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fs(e,t,n){return ko&21?(Mr(n,t)||(n=zt(),Ao.lanes|=n,tl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Bs=!0),e.memoizedState=n)}function ps(e,t){var n=R;R=n!==0&&4>n?n:4,e(!0);var r=Oo.transition;Oo.transition={};try{e(!1),t()}finally{R=n,Oo.transition=r}}function ms(){return Ho().memoizedState}function hs(e,t,n){var r=yl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_s(e))vs(t,n);else if(n=no(e,t,n,r),n!==null){var i=q();bl(n,e,r,i),ys(n,t,r)}}function gs(e,t,n){var r=yl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_s(e))vs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Mr(s,o)){var c=t.interleaved;c===null?(i.next=i,to(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=no(e,t,i,r),n!==null&&(i=q(),bl(n,e,r,i),ys(n,t,r))}}function _s(e){var t=e.alternate;return e===Ao||t!==null&&t===Ao}function vs(e,t){Po=No=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ys(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ut(e,n)}}var bs={readContext:$a,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useInsertionEffect:Lo,useLayoutEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useMutableSource:Lo,useSyncExternalStore:Lo,useId:Lo,unstable_isNewReconciler:!1},xs={readContext:$a,useCallback:function(e,t){return Vo().memoizedState=[e,t===void 0?null:t],e},useContext:$a,useEffect:is,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),ns(4194308,4,ss.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){return ns(4,2,e,t)},useMemo:function(e,t){var n=Vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vo();return t=n===void 0?t:n(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=hs.bind(null,Ao,e),[r.memoizedState,e]},useRef:function(e){var t=Vo();return e={current:e},t.memoizedState=e},useState:$o,useDebugValue:ls,useDeferredValue:function(e){return Vo().memoizedState=e},useTransition:function(){var e=$o(!1),t=e[0];return e=ps.bind(null,e[1]),Vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ao,a=Vo();if(ka){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Jc===null)throw Error(r(349));ko&30||Jo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,is(Xo.bind(null,i,o,e),[e]),i.flags|=2048,es(9,Yo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Vo(),t=Jc.identifierPrefix;if(ka){var n=Ca,r=Sa;n=(r&~(1<<32-Ot(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Fo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Io++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Ss={readContext:$a,useCallback:us,useContext:$a,useEffect:as,useImperativeHandle:cs,useInsertionEffect:os,useLayoutEffect:H,useMemo:ds,useReducer:Wo,useRef:ts,useState:function(){return Wo(Uo)},useDebugValue:ls,useDeferredValue:function(e){return fs(Ho(),jo.memoizedState,e)},useTransition:function(){return[Wo(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:ms,unstable_isNewReconciler:!1},Cs={readContext:$a,useCallback:us,useContext:$a,useEffect:as,useImperativeHandle:cs,useInsertionEffect:os,useLayoutEffect:H,useMemo:ds,useReducer:Go,useRef:ts,useState:function(){return Go(Uo)},useDebugValue:ls,useDeferredValue:function(e){var t=Ho();return jo===null?t.memoizedState=e:fs(t,jo.memoizedState,e)},useTransition:function(){return[Go(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:ms,unstable_isNewReconciler:!1};function ws(e,t){if(e&&e.defaultProps){for(var n in t=P({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ts(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:P({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Es={isMounted:function(e){return(e=e._reactInternals)?ct(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=q(),i=yl(e),a=so(r,i);a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(bl(t,e,i,r),lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=q(),i=yl(e),a=so(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(bl(t,e,i,r),lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=q(),r=yl(e),i=so(n,r);i.tag=2,t!=null&&(i.callback=t),t=co(e,i,r),t!==null&&(bl(t,e,r,n),lo(t,e,r))}};function Ds(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Nr(n,r)||!Nr(i,a):!0}function Os(e,t,n){var r=!1,i=Qi,a=t.contextType;return typeof a==`object`&&a?a=$a(a):(i=ra(t)?ta:$i.current,r=t.contextTypes,a=(r=r!=null)?na(e,i):Qi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Es,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function ks(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Es.enqueueReplaceState(t,t.state,null)}function As(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ao(e);var a=t.contextType;typeof a==`object`&&a?i.context=$a(a):(a=ra(t)?ta:$i.current,i.context=na(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Ts(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Es.enqueueReplaceState(i,i.state,null),fo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function js(e,t){try{var n=``,r=t;do n+=ce(r),r=r.return;while(r);var i=n}catch(e){i=`
|
|
6
|
+
`).replace(xi,``)}function Ci(e,t,n){if(t=Si(t),Si(e)!==t&&n)throw Error(r(425))}function wi(){}var Ti=null,Ei=null;function Di(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Oi=typeof setTimeout==`function`?setTimeout:void 0,ki=typeof clearTimeout==`function`?clearTimeout:void 0,Ai=typeof Promise==`function`?Promise:void 0,ji=typeof queueMicrotask==`function`?queueMicrotask:Ai===void 0?Oi:function(e){return Ai.resolve(null).then(e).catch(Mi)};function Mi(e){setTimeout(function(){throw e})}function Ni(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),mn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);mn(t)}function Pi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Fi(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Ii=Math.random().toString(36).slice(2),Li=`__reactFiber$`+Ii,Ri=`__reactProps$`+Ii,zi=`__reactContainer$`+Ii,Bi=`__reactEvents$`+Ii,Vi=`__reactListeners$`+Ii,Hi=`__reactHandles$`+Ii;function Ui(e){var t=e[Li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zi]||n[Li]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fi(e);e!==null;){if(n=e[Li])return n;e=Fi(e)}return t}e=n,n=e.parentNode}return null}function Wi(e){return e=e[Li]||e[zi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ki(e){return e[Ri]||null}var qi=[],Ji=-1;function Yi(e){return{current:e}}function Xi(e){0>Ji||(e.current=qi[Ji],qi[Ji]=null,Ji--)}function Zi(e,t){Ji++,qi[Ji]=e.current,e.current=t}var Qi={},$i=Yi(Qi),ea=Yi(!1),ta=Qi;function na(e,t){var n=e.type.contextTypes;if(!n)return Qi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ra(e){return e=e.childContextTypes,e!=null}function ia(){Xi(ea),Xi($i)}function aa(e,t,n){if($i.current!==Qi)throw Error(r(168));Zi($i,t),Zi(ea,n)}function oa(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,ue(e)||`Unknown`,a));return P({},n,i)}function sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qi,ta=$i.current,Zi($i,e),Zi(ea,ea.current),!0}function ca(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=oa(e,t,ta),i.__reactInternalMemoizedMergedChildContext=e,Xi(ea),Xi($i),Zi($i,e)):Xi(ea),Zi(ea,n)}var la=null,ua=!1,da=!1;function fa(e){la===null?la=[e]:la.push(e)}function pa(e){ua=!0,fa(e)}function ma(){if(!da&&la!==null){da=!0;var e=0,t=R;try{var n=la;for(R=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}la=null,ua=!1}catch(t){throw la!==null&&(la=la.slice(e+1)),mt(bt,ma),t}finally{R=t,da=!1}}return null}var ha=[],ga=0,_a=null,va=0,ya=[],ba=0,xa=null,Sa=1,Ca=``;function z(e,t){ha[ga++]=va,ha[ga++]=_a,_a=e,va=t}function wa(e,t,n){ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,xa=e;var r=Sa;e=Ca;var i=32-Ot(r)-1;r&=~(1<<i),n+=1;var a=32-Ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Sa=1<<32-Ot(t)+i|n<<i|r,Ca=a+e}else Sa=1<<a|n<<i|r,Ca=e}function Ta(e){e.return!==null&&(z(e,1),wa(e,1,0))}function Ea(e){for(;e===_a;)_a=ha[--ga],ha[ga]=null,va=ha[--ga],ha[ga]=null;for(;e===xa;)xa=ya[--ba],ya[ba]=null,Ca=ya[--ba],ya[ba]=null,Sa=ya[--ba],ya[ba]=null}var Da=null,Oa=null,ka=!1,Aa=null;function ja(e,t){var n=Ql(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function B(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,Da=e,Oa=Pi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Da=e,Oa=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=xa===null?null:{id:Sa,overflow:Ca},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ql(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Da=e,Oa=null,!0);default:return!1}}function Ma(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Na(e){if(ka){var t=Oa;if(t){var n=t;if(!B(e,t)){if(Ma(e))throw Error(r(418));t=Pi(n.nextSibling);var i=Da;t&&B(e,t)?ja(i,n):(e.flags=e.flags&-4097|2,ka=!1,Da=e)}}else{if(Ma(e))throw Error(r(418));e.flags=e.flags&-4097|2,ka=!1,Da=e}}}function Pa(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Da=e}function Fa(e){if(e!==Da)return!1;if(!ka)return Pa(e),ka=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Di(e.type,e.memoizedProps)),t&&=Oa){if(Ma(e))throw Ia(),Error(r(418));for(;t;)ja(e,t),t=Pi(t.nextSibling)}if(Pa(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Oa=Pi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Oa=null}}else Oa=Da?Pi(e.stateNode.nextSibling):null;return!0}function Ia(){for(var e=Oa;e;)e=Pi(e.nextSibling)}function La(){Oa=Da=null,ka=!1}function Ra(e){Aa===null?Aa=[e]:Aa.push(e)}var za=C.ReactCurrentBatchConfig;function Ba(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ha(e){var t=e._init;return t(e._payload)}function Ua(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=tu(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=au(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===M&&Ha(i)===t.type)?(r=a(t,n.props),r.ref=Ba(e,t,n),r.return=e,r):(r=nu(n.type,n.key,n.props,null,e.mode,r),r.ref=Ba(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ou(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ru(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=au(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=nu(t.type,t.key,t.props,null,e.mode,n),n.ref=Ba(e,null,t),n.return=e,n;case T:return t=ou(t,e.mode,n),t.return=e,t;case M:var r=t._init;return f(e,r(t._payload),n)}if(xe(t)||ie(t))return t=ru(t,e.mode,n,null),t.return=e,t;Va(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case M:return i=n._init,p(e,t,i(n._payload),r)}if(xe(n)||ie(n))return i===null?d(e,t,n,r,null):null;Va(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case M:var a=r._init;return m(e,t,n,a(r._payload),i)}if(xe(r)||ie(r))return e=e.get(n)||null,d(t,e,r,i,null);Va(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),ka&&z(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ka&&z(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),ka&&z(r,h),l}function g(a,s,c,l){var u=ie(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ka&&z(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ka&&z(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ka&&z(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===M&&Ha(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ba(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=ru(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=nu(i.type,i.key,i.props,null,e.mode,o),o.ref=Ba(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=ou(i,e.mode,o),r.return=e,e=r}return s(e);case M:return l=i._init,_(e,r,l(i._payload),o)}if(xe(i))return h(e,r,i,o);if(ie(i))return g(e,r,i,o);Va(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=au(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var V=Ua(!0),Wa=Ua(!1),Ga=Yi(null),Ka=null,qa=null,Ja=null;function Ya(){Ja=qa=Ka=null}function Xa(e){var t=Ga.current;Xi(Ga),e._currentValue=t}function Za(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qa(e,t){Ka=e,Ja=qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Bs=!0),e.firstContext=null)}function $a(e){var t=e._currentValue;if(Ja!==e)if(e={context:e,memoizedValue:t,next:null},qa===null){if(Ka===null)throw Error(r(308));qa=e,Ka.dependencies={lanes:0,firstContext:e}}else qa=qa.next=e;return t}var eo=null;function to(e){eo===null?eo=[e]:eo.push(e)}function no(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,to(t)):(n.next=i.next,i.next=n),t.interleaved=n,ro(e,r)}function ro(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 io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oo(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 so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,G&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ro(e,n)}return i=r.interleaved,i===null?(t.next=t,to(r)):(t.next=i.next,i.next=t),r.interleaved=t,ro(e,n)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ut(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 fo(e,t,n,r){var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=P({},d,f);break a;case 2:io=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);tl|=o,e.lanes=o,e.memoizedState=d}}function po(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var mo={},ho=Yi(mo),go=Yi(mo),_o=Yi(mo);function vo(e){if(e===mo)throw Error(r(174));return e}function yo(e,t){switch(Zi(_o,t),Zi(go,e),Zi(ho,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Oe(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Oe(t,e)}Xi(ho),Zi(ho,t)}function bo(){Xi(ho),Xi(go),Xi(_o)}function xo(e){vo(_o.current);var t=vo(ho.current),n=Oe(t,e.type);t!==n&&(Zi(go,e),Zi(ho,n))}function So(e){go.current===e&&(Xi(ho),Xi(go))}var Co=Yi(0);function wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var To=[];function Eo(){for(var e=0;e<To.length;e++)To[e]._workInProgressVersionPrimary=null;To.length=0}var Do=C.ReactCurrentDispatcher,Oo=C.ReactCurrentBatchConfig,ko=0,Ao=null,jo=null,Mo=null,No=!1,Po=!1,Fo=0,Io=0;function Lo(){throw Error(r(321))}function Ro(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Mr(e[n],t[n]))return!1;return!0}function zo(e,t,n,i,a,o){if(ko=o,Ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Do.current=e===null||e.memoizedState===null?xs:Ss,e=n(i,a),Po){o=0;do{if(Po=!1,Fo=0,25<=o)throw Error(r(301));o+=1,Mo=jo=null,t.updateQueue=null,Do.current=Cs,e=n(i,a)}while(Po)}if(Do.current=bs,t=jo!==null&&jo.next!==null,ko=0,Mo=jo=Ao=null,No=!1,t)throw Error(r(300));return e}function Bo(){var e=Fo!==0;return Fo=0,e}function Vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e,Mo}function Ho(){if(jo===null){var e=Ao.alternate;e=e===null?null:e.memoizedState}else e=jo.next;var t=Mo===null?Ao.memoizedState:Mo.next;if(t!==null)Mo=t,jo=e;else{if(e===null)throw Error(r(310));jo=e,e={memoizedState:jo.memoizedState,baseState:jo.baseState,baseQueue:jo.baseQueue,queue:jo.queue,next:null},Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e}return Mo}function Uo(e,t){return typeof t==`function`?t(e):t}function Wo(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=jo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((ko&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Ao.lanes|=d,tl|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Mr(i,t.memoizedState)||(Bs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Ao.lanes|=o,tl|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Go(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Mr(o,t.memoizedState)||(Bs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ko(){}function qo(e,t){var n=Ao,i=Ho(),a=t(),o=!Mr(i.memoizedState,a);if(o&&(i.memoizedState=a,Bs=!0),i=i.queue,H(Xo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Mo!==null&&Mo.memoizedState.tag&1){if(n.flags|=2048,es(9,Yo.bind(null,n,i,a,t),void 0,null),K===null)throw Error(r(349));ko&30||Jo(n,t,a)}return a}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yo(e,t,n,r){t.value=n,t.getSnapshot=r,Zo(t)&&Qo(e)}function Xo(e,t,n){return n(function(){Zo(t)&&Qo(e)})}function Zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mr(e,n)}catch{return!0}}function Qo(e){var t=ro(e,1);t!==null&&bl(t,e,1,-1)}function $o(e){var t=Vo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=gs.bind(null,Ao,e),[t.memoizedState,e]}function es(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ts(){return Ho().memoizedState}function ns(e,t,n,r){var i=Vo();Ao.flags|=e,i.memoizedState=es(1|t,n,void 0,r===void 0?null:r)}function rs(e,t,n,r){var i=Ho();r=r===void 0?null:r;var a=void 0;if(jo!==null){var o=jo.memoizedState;if(a=o.destroy,r!==null&&Ro(r,o.deps)){i.memoizedState=es(t,n,a,r);return}}Ao.flags|=e,i.memoizedState=es(1|t,n,a,r)}function is(e,t){return ns(8390656,8,e,t)}function H(e,t){return rs(2048,8,e,t)}function as(e,t){return rs(4,2,e,t)}function os(e,t){return rs(4,4,e,t)}function ss(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cs(e,t,n){return n=n==null?null:n.concat([e]),rs(4,4,ss.bind(null,t,e),n)}function ls(){}function us(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ds(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fs(e,t,n){return ko&21?(Mr(n,t)||(n=zt(),Ao.lanes|=n,tl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Bs=!0),e.memoizedState=n)}function ps(e,t){var n=R;R=n!==0&&4>n?n:4,e(!0);var r=Oo.transition;Oo.transition={};try{e(!1),t()}finally{R=n,Oo.transition=r}}function ms(){return Ho().memoizedState}function hs(e,t,n){var r=yl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_s(e))vs(t,n);else if(n=no(e,t,n,r),n!==null){var i=vl();bl(n,e,r,i),ys(n,t,r)}}function gs(e,t,n){var r=yl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_s(e))vs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Mr(s,o)){var c=t.interleaved;c===null?(i.next=i,to(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=no(e,t,i,r),n!==null&&(i=vl(),bl(n,e,r,i),ys(n,t,r))}}function _s(e){var t=e.alternate;return e===Ao||t!==null&&t===Ao}function vs(e,t){Po=No=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ys(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ut(e,n)}}var bs={readContext:$a,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useInsertionEffect:Lo,useLayoutEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useMutableSource:Lo,useSyncExternalStore:Lo,useId:Lo,unstable_isNewReconciler:!1},xs={readContext:$a,useCallback:function(e,t){return Vo().memoizedState=[e,t===void 0?null:t],e},useContext:$a,useEffect:is,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),ns(4194308,4,ss.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){return ns(4,2,e,t)},useMemo:function(e,t){var n=Vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vo();return t=n===void 0?t:n(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=hs.bind(null,Ao,e),[r.memoizedState,e]},useRef:function(e){var t=Vo();return e={current:e},t.memoizedState=e},useState:$o,useDebugValue:ls,useDeferredValue:function(e){return Vo().memoizedState=e},useTransition:function(){var e=$o(!1),t=e[0];return e=ps.bind(null,e[1]),Vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ao,a=Vo();if(ka){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),K===null)throw Error(r(349));ko&30||Jo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,is(Xo.bind(null,i,o,e),[e]),i.flags|=2048,es(9,Yo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Vo(),t=K.identifierPrefix;if(ka){var n=Ca,r=Sa;n=(r&~(1<<32-Ot(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Fo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Io++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Ss={readContext:$a,useCallback:us,useContext:$a,useEffect:H,useImperativeHandle:cs,useInsertionEffect:as,useLayoutEffect:os,useMemo:ds,useReducer:Wo,useRef:ts,useState:function(){return Wo(Uo)},useDebugValue:ls,useDeferredValue:function(e){return fs(Ho(),jo.memoizedState,e)},useTransition:function(){return[Wo(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:ms,unstable_isNewReconciler:!1},Cs={readContext:$a,useCallback:us,useContext:$a,useEffect:H,useImperativeHandle:cs,useInsertionEffect:as,useLayoutEffect:os,useMemo:ds,useReducer:Go,useRef:ts,useState:function(){return Go(Uo)},useDebugValue:ls,useDeferredValue:function(e){var t=Ho();return jo===null?t.memoizedState=e:fs(t,jo.memoizedState,e)},useTransition:function(){return[Go(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:ms,unstable_isNewReconciler:!1};function ws(e,t){if(e&&e.defaultProps){for(var n in t=P({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ts(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:P({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Es={isMounted:function(e){return(e=e._reactInternals)?ct(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vl(),i=yl(e),a=so(r,i);a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(bl(t,e,i,r),lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vl(),i=yl(e),a=so(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(bl(t,e,i,r),lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vl(),r=yl(e),i=so(n,r);i.tag=2,t!=null&&(i.callback=t),t=co(e,i,r),t!==null&&(bl(t,e,r,n),lo(t,e,r))}};function Ds(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Nr(n,r)||!Nr(i,a):!0}function Os(e,t,n){var r=!1,i=Qi,a=t.contextType;return typeof a==`object`&&a?a=$a(a):(i=ra(t)?ta:$i.current,r=t.contextTypes,a=(r=r!=null)?na(e,i):Qi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Es,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function ks(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Es.enqueueReplaceState(t,t.state,null)}function As(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ao(e);var a=t.contextType;typeof a==`object`&&a?i.context=$a(a):(a=ra(t)?ta:$i.current,i.context=na(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Ts(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Es.enqueueReplaceState(i,i.state,null),fo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function js(e,t){try{var n=``,r=t;do n+=ce(r),r=r.return;while(r);var i=n}catch(e){i=`
|
|
7
7
|
Error generating stack: `+e.message+`
|
|
8
|
-
`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ms(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ns(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var U=typeof WeakMap==`function`?WeakMap:Map;function Ps(e,t,n){n=so(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ll||(ll=!0,ul=r),Ns(e,t)},n}function Fs(e,t,n){n=so(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ns(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Ns(e,t),typeof r!=`function`&&(dl===null?dl=new Set([this]):dl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Is(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new U;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Gl.bind(null,e,t,n),t.then(e,e))}function Ls(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null||t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Rs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=so(-1,1),t.tag=2,co(n,t,1))),n.lanes|=1),e)}var zs=C.ReactCurrentOwner,Bs=!1;function Vs(e,t,n,r){t.child=e===null?Ga(t,null,n,r):Wa(t,e.child,n,r)}function Hs(e,t,n,r,i){n=n.render;var a=t.ref;return Qa(t,i),r=zo(e,t,n,r,a,i),n=Bo(),e!==null&&!Bs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,cc(e,t,i)):(ka&&n&&z(t),t.flags|=1,Vs(e,t,r,i),t.child)}function Us(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!$l(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ws(e,t,a,r,i)):(e=nu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Nr:n,n(o,r)&&e.ref===t.ref)return cc(e,t,i)}return t.flags|=1,e=tu(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ws(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Nr(a,r)&&e.ref===t.ref)if(Bs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Bs=!0);else return t.lanes=e.lanes,cc(e,t,i)}return qs(e,t,n,r,i)}function Gs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zi(Qc,Zc),Zc|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Zi(Qc,Zc),Zc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,Zi(Qc,Zc),Zc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),Zi(Qc,Zc),Zc|=r;return Vs(e,t,i,n),t.child}function Ks(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qs(e,t,n,r,i){var a=ra(n)?ta:$i.current;return a=na(t,a),Qa(t,i),n=zo(e,t,n,r,a,i),r=Bo(),e!==null&&!Bs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,cc(e,t,i)):(ka&&r&&z(t),t.flags|=1,Vs(e,t,n,i),t.child)}function Js(e,t,n,r,i){if(ra(n)){var a=!0;sa(t)}else a=!1;if(Qa(t,i),t.stateNode===null)sc(e,t),Os(t,n,r),As(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=$a(l):(l=ra(n)?ta:$i.current,l=na(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&ks(t,o,r,l),io=!1;var f=t.memoizedState;o.state=f,fo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ea.current||io?(typeof u==`function`&&(Ts(t,n,u,r),c=t.memoizedState),(s=io||Ds(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ws(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=$a(c):(c=ra(n)?ta:$i.current,c=na(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&ks(t,o,r,c),io=!1,f=t.memoizedState,o.state=f,fo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ea.current||io?(typeof p==`function`&&(Ts(t,n,p,r),m=t.memoizedState),(l=io||Ds(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ys(e,t,n,r,a,i)}function Ys(e,t,n,r,i,a){Ks(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&ca(t,n,!1),cc(e,t,a);r=t.stateNode,zs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Wa(t,e.child,null,a),t.child=Wa(t,null,s,a)):Vs(e,t,s,a),t.memoizedState=r.state,i&&ca(t,n,!0),t.child}function Xs(e){var t=e.stateNode;t.pendingContext?aa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&aa(e,t.context,!1),yo(e,t.containerInfo)}function Zs(e,t,n,r,i){return La(),Ra(i),t.flags|=256,Vs(e,t,n,r),t.child}var Qs={dehydrated:null,treeContext:null,retryLane:0};function $s(e){return{baseLanes:e,cachePool:null,transitions:null}}function ec(e,t,n){var r=t.pendingProps,i=Co.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Zi(Co,i&1),e===null)return B(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=iu(o,r,0,null),e=ru(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=$s(n),t.memoizedState=Qs,e):tc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return rc(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=tu(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=ru(a,o,n,null),a.flags|=2):a=tu(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?$s(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Qs,r}return a=e.child,e=a.sibling,r=tu(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function tc(e,t){return t=iu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function nc(e,t,n,r){return r!==null&&Ra(r),Wa(t,e.child,null,n),e=tc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rc(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ms(Error(r(422))),nc(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=iu({mode:`visible`,children:i.children},a,0,null),o=ru(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Wa(t,e.child,null,s),t.child.memoizedState=$s(s),t.memoizedState=Qs,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return nc(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ms(o,i,void 0),nc(e,t,s,i)}if(c=(s&e.childLanes)!==0,Bs||c){if(i=Jc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,ro(e,a),bl(i,e,a,-1))}return Pl(),i=Ms(Error(r(421))),nc(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=ql.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Oa=Pi(a.nextSibling),Da=t,ka=!0,Aa=null,e!==null&&(ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,Sa=e.id,Ca=e.overflow,xa=t),t=tc(t,i.children),t.flags|=4096,t)}function ic(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Za(e.return,t,n)}function ac(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function oc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Vs(e,t,r.children,n),r=Co.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ic(e,n,t);else if(e.tag===19)ic(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Zi(Co,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&wo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ac(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&wo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ac(t,!0,n,null,a);break;case`together`:ac(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),tl|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=tu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lc(e,t,n){switch(t.tag){case 3:Xs(t),La();break;case 5:xo(t);break;case 1:ra(t.type)&&sa(t);break;case 4:yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Zi(V,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Zi(Co,Co.current&1),e=cc(e,t,n),e===null?null:e.sibling):ec(e,t,n):(Zi(Co,Co.current&1),t.flags|=128,null);Zi(Co,Co.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return oc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Zi(Co,Co.current),r)break;return null;case 22:case 23:return t.lanes=0,Gs(e,t,n)}return cc(e,t,n)}var uc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},dc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vo(ho.current);var o=null;switch(n){case`input`:i=he(e,i),r=he(e,r),o=[];break;case`select`:i=P({},i,{value:void 0}),r=P({},r,{value:void 0}),o=[];break;case`textarea`:i=Ce(e,i),r=Ce(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=wi)}Le(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&ui(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},fc=function(e,t,n,r){n!==r&&(t.flags|=4)};function pc(e,t){if(!ka)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function W(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function mc(e,t,n){var i=t.pendingProps;switch(Ea(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return W(t),null;case 1:return ra(t.type)&&ia(),W(t),null;case 3:return i=t.stateNode,bo(),Xi(ea),Xi($i),Eo(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Fa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Aa!==null&&(wl(Aa),Aa=null))),W(t),null;case 5:So(t);var o=vo(_o.current);if(n=t.type,e!==null&&t.stateNode!=null)dc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return W(t),null}if(e=vo(ho.current),Fa(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Li]=t,i[Ri]=s,e=(t.mode&1)!=0,n){case`dialog`:ui(`cancel`,i),ui(`close`,i);break;case`iframe`:case`object`:case`embed`:ui(`load`,i);break;case`video`:case`audio`:for(o=0;o<oi.length;o++)ui(oi[o],i);break;case`source`:ui(`error`,i);break;case`img`:case`image`:case`link`:ui(`error`,i),ui(`load`,i);break;case`details`:ui(`toggle`,i);break;case`input`:ge(i,s),ui(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},ui(`invalid`,i);break;case`textarea`:we(i,s),ui(`invalid`,i)}for(var c in Le(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&ui(`scroll`,i)}switch(n){case`input`:I(i),ye(i,s,!0);break;case`textarea`:I(i),Ee(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=wi)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=De(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Li]=t,e[Ri]=i,uc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Re(n,i),n){case`dialog`:ui(`cancel`,e),ui(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:ui(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<oi.length;o++)ui(oi[o],e);o=i;break;case`source`:ui(`error`,e),o=i;break;case`img`:case`image`:case`link`:ui(`error`,e),ui(`load`,e),o=i;break;case`details`:ui(`toggle`,e),o=i;break;case`input`:ge(e,i),o=he(e,i),ui(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=P({},i,{value:void 0}),ui(`invalid`,e);break;case`textarea`:we(e,i),o=Ce(e,i),ui(`invalid`,e);break;default:o=i}for(s in Le(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Fe(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Ae(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&je(e,u):typeof u==`number`&&je(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&ui(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:I(e),ye(e,i,!1);break;case`textarea`:I(e),Ee(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+de(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Se(e,!!i.multiple,i.defaultValue,!0):Se(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=wi)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return W(t),null;case 6:if(e&&t.stateNode!=null)fc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=vo(_o.current),vo(ho.current),Fa(t)){if(i=t.stateNode,n=t.memoizedProps,i[Li]=t,(s=i.nodeValue!==n)&&(e=Da,e!==null))switch(e.tag){case 3:Ci(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ci(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Li]=t,t.stateNode=i}return W(t),null;case 13:if(Xi(Co),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ka&&Oa!==null&&t.mode&1&&!(t.flags&128))Ia(),La(),t.flags|=98560,s=!1;else if(s=Fa(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Li]=t}else La(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;W(t),s=!1}else Aa!==null&&(wl(Aa),Aa=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Co.current&1?$c===0&&($c=3):Pl())),t.updateQueue!==null&&(t.flags|=4),W(t),null);case 4:return bo(),e===null&&pi(t.stateNode.containerInfo),W(t),null;case 10:return Xa(t.type._context),W(t),null;case 17:return ra(t.type)&&ia(),W(t),null;case 19:if(Xi(Co),s=t.memoizedState,s===null)return W(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)pc(s,!1);else{if($c!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=wo(e),c!==null){for(t.flags|=128,pc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Zi(Co,Co.current&1|2),t.child}e=e.sibling}s.tail!==null&&vt()>sl&&(t.flags|=128,i=!0,pc(s,!1),t.lanes=4194304)}else{if(!i)if(e=wo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),pc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!ka)return W(t),null}else 2*vt()-s.renderingStartTime>sl&&n!==1073741824&&(t.flags|=128,i=!0,pc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(W(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=vt(),t.sibling=null,n=Co.current,Zi(Co,i?n&1|2:n&1),t);case 22:case 23:return Al(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Zc&1073741824&&(W(t),t.subtreeFlags&6&&(t.flags|=8192)):W(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function hc(e,t){switch(Ea(t),t.tag){case 1:return ra(t.type)&&ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),Xi(ea),Xi($i),Eo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return So(t),null;case 13:if(Xi(Co),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));La()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Xi(Co),null;case 4:return bo(),null;case 10:return Xa(t.type._context),null;case 22:case 23:return Al(),null;case 24:return null;default:return null}}var gc=!1,_c=!1,vc=typeof WeakSet==`function`?WeakSet:Set,G=null;function yc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Wl(e,t,n)}else n.current=null}function bc(e,t,n){try{n()}catch(n){Wl(e,t,n)}}var xc=!1;function Sc(e,t){if(Ti=gn,e=Lr(),Rr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Ei={focusedElem:e,selectionRange:n},gn=!1,G=t;G!==null;)if(t=G,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,G=e;else for(;G!==null;){t=G;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 g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ws(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Wl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=xc,xc=!1,h}function Cc(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&bc(t,n,a)}i=i.next}while(i!==r)}}function wc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,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 Tc(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 Ec(e){var t=e.alternate;t!==null&&(e.alternate=null,Ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Li],delete t[Ri],delete t[Bi],delete t[Vi],delete t[Hi])),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 Dc(e){return e.tag===5||e.tag===3||e.tag===4}function Oc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Dc(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 a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kc(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=wi));else if(r!==4&&(e=e.child,e!==null))for(kc(e,t,n),e=e.sibling;e!==null;)kc(e,t,n),e=e.sibling}function Ac(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(Ac(e,t,n),e=e.sibling;e!==null;)Ac(e,t,n),e=e.sibling}var jc=null,Mc=!1;function Nc(e,t,n){for(n=n.child;n!==null;)Pc(e,t,n),n=n.sibling}function Pc(e,t,n){if(Et&&typeof Et.onCommitFiberUnmount==`function`)try{Et.onCommitFiberUnmount(Tt,n)}catch{}switch(n.tag){case 5:_c||yc(n,t);case 6:var r=jc,i=Mc;jc=null,Nc(e,t,n),jc=r,Mc=i,jc!==null&&(Mc?(e=jc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):jc.removeChild(n.stateNode));break;case 18:jc!==null&&(Mc?(e=jc,n=n.stateNode,e.nodeType===8?Ni(e.parentNode,n):e.nodeType===1&&Ni(e,n),mn(e)):Ni(jc,n.stateNode));break;case 4:r=jc,i=Mc,jc=n.stateNode.containerInfo,Mc=!0,Nc(e,t,n),jc=r,Mc=i;break;case 0:case 11:case 14:case 15:if(!_c&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&bc(n,t,o),i=i.next}while(i!==r)}Nc(e,t,n);break;case 1:if(!_c&&(yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Wl(n,t,e)}Nc(e,t,n);break;case 21:Nc(e,t,n);break;case 22:n.mode&1?(_c=(r=_c)||n.memoizedState!==null,Nc(e,t,n),_c=r):Nc(e,t,n);break;default:Nc(e,t,n)}}function Fc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vc),t.forEach(function(t){var r=Jl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Ic(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:jc=c.stateNode,Mc=!1;break a;case 3:jc=c.stateNode.containerInfo,Mc=!0;break a;case 4:jc=c.stateNode.containerInfo,Mc=!0;break a}c=c.return}if(jc===null)throw Error(r(160));Pc(o,s,a),jc=null,Mc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Wl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Lc(t,e),t=t.sibling}function Lc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ic(t,e),Rc(e),i&4){try{Cc(3,e,e.return),wc(3,e)}catch(t){Wl(e,e.return,t)}try{Cc(5,e,e.return)}catch(t){Wl(e,e.return,t)}}break;case 1:Ic(t,e),Rc(e),i&512&&n!==null&&yc(n,n.return);break;case 5:if(Ic(t,e),Rc(e),i&512&&n!==null&&yc(n,n.return),e.flags&32){var a=e.stateNode;try{je(a,``)}catch(t){Wl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&_e(a,o),Re(c,s);var u=Re(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Fe(a,f):d===`dangerouslySetInnerHTML`?Ae(a,f):d===`children`?je(a,f):S(a,d,f,u)}switch(c){case`input`:ve(a,o);break;case`textarea`:Te(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Se(a,!!o.multiple,o.multiple?[]:``,!1):Se(a,!!o.multiple,o.defaultValue,!0)):Se(a,!!o.multiple,m,!1)}a[Ri]=o}catch(t){Wl(e,e.return,t)}}break;case 6:if(Ic(t,e),Rc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Wl(e,e.return,t)}}break;case 3:if(Ic(t,e),Rc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{mn(t.containerInfo)}catch(t){Wl(e,e.return,t)}break;case 4:Ic(t,e),Rc(e);break;case 13:Ic(t,e),Rc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ol=vt())),i&4&&Fc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(_c=(u=_c)||d,Ic(t,e),_c=u):Ic(t,e),Rc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(G=e,d=e.child;d!==null;){for(f=G=d;G!==null;){switch(p=G,m=p.child,p.tag){case 0:case 11:case 14:case 15:Cc(4,p,p.return);break;case 1:yc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Wl(i,n,e)}}break;case 5:yc(p,p.return);break;case 22:if(p.memoizedState!==null){Hc(f);continue}}m===null?Hc(f):(m.return=p,G=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Pe(`display`,s))}catch(t){Wl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Wl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ic(t,e),Rc(e),i&4&&Fc(e);break;case 21:break;default:Ic(t,e),Rc(e)}}function Rc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Dc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(je(a,``),i.flags&=-33),Ac(e,Oc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;kc(e,Oc(e),o);break;default:throw Error(r(161))}}catch(t){Wl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function zc(e,t,n){G=e,Bc(e,t,n)}function Bc(e,t,n){for(var r=(e.mode&1)!=0;G!==null;){var i=G,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||gc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||_c;s=gc;var l=_c;if(gc=o,(_c=c)&&!l)for(G=i;G!==null;)o=G,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Uc(i):(c.return=o,G=c);for(;a!==null;)G=a,Bc(a,t,n),a=a.sibling;G=i,gc=s,_c=l}Vc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,G=a):Vc(e,t,n)}}function Vc(e){for(;G!==null;){var t=G;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_c||wc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!_c)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ws(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&po(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}po(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&mn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}_c||t.flags&512&&Tc(t)}catch(e){Wl(t,t.return,e)}}if(t===e){G=null;break}if(n=t.sibling,n!==null){n.return=t.return,G=n;break}G=t.return}}function Hc(e){for(;G!==null;){var t=G;if(t===e){G=null;break}var n=t.sibling;if(n!==null){n.return=t.return,G=n;break}G=t.return}}function Uc(e){for(;G!==null;){var t=G;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{wc(4,t)}catch(e){Wl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Wl(t,i,e)}}var a=t.return;try{Tc(t)}catch(e){Wl(t,a,e)}break;case 5:var o=t.return;try{Tc(t)}catch(e){Wl(t,o,e)}}}catch(e){Wl(t,t.return,e)}if(t===e){G=null;break}var s=t.sibling;if(s!==null){s.return=t.return,G=s;break}G=t.return}}var Wc=Math.ceil,Gc=C.ReactCurrentDispatcher,Kc=C.ReactCurrentOwner,qc=C.ReactCurrentBatchConfig,K=0,Jc=null,Yc=null,Xc=0,Zc=0,Qc=Yi(0),$c=0,el=null,tl=0,nl=0,rl=0,il=null,al=null,ol=0,sl=1/0,cl=null,ll=!1,ul=null,dl=null,fl=!1,pl=null,ml=0,hl=0,gl=null,_l=-1,vl=0;function q(){return K&6?vt():_l===-1?_l=vt():_l}function yl(e){return e.mode&1?K&2&&Xc!==0?Xc&-Xc:za.transition===null?(e=R,e===0?(e=window.event,e=e===void 0?16:Sn(e.type),e):e):(vl===0&&(vl=zt()),vl):1}function bl(e,t,n,i){if(50<hl)throw hl=0,gl=null,Error(r(185));Vt(e,n,i),(!(K&2)||e!==Jc)&&(e===Jc&&(!(K&2)&&(nl|=n),$c===4&&El(e,Xc)),xl(e,i),n===1&&K===0&&!(t.mode&1)&&(sl=vt()+500,ua&&ma()))}function xl(e,t){var n=e.callbackNode;Lt(e,t);var r=Ft(e,e===Jc?Xc:0);if(r===0)n!==null&&ht(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ht(n),t===1)e.tag===0?pa(Dl.bind(null,e)):fa(Dl.bind(null,e)),ji(function(){!(K&6)&&ma()}),n=null;else{switch(Wt(r)){case 1:n=bt;break;case 4:n=xt;break;case 16:n=St;break;case 536870912:n=wt;break;default:n=St}n=Xl(n,Sl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sl(e,t){if(_l=-1,vl=0,K&6)throw Error(r(327));var n=e.callbackNode;if(Hl()&&e.callbackNode!==n)return null;var i=Ft(e,e===Jc?Xc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Fl(e,i);else{t=i;var a=K;K|=2;var o=Nl();(Jc!==e||Xc!==t)&&(cl=null,sl=vt()+500,jl(e,t));do try{Ll();break}catch(t){Ml(e,t)}while(1);Ya(),Gc.current=o,K=a,Yc===null?(Jc=null,Xc=0,t=$c):t=0}if(t!==0){if(t===2&&(a=Rt(e),a!==0&&(i=a,t=Cl(e,a))),t===1)throw n=el,jl(e,0),El(e,i),xl(e,vt()),n;if(t===6)El(e,i);else{if(a=e.current.alternate,!(i&30)&&!Tl(a)&&(t=Fl(e,i),t===2&&(o=Rt(e),o!==0&&(i=o,t=Cl(e,o))),t===1))throw n=el,jl(e,0),El(e,i),xl(e,vt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Bl(e,al,cl);break;case 3:if(El(e,i),(i&130023424)===i&&(t=ol+500-vt(),10<t)){if(Ft(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){q(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Oi(Bl.bind(null,e,al,cl),t);break}Bl(e,al,cl);break;case 4:if(El(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Ot(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=vt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Wc(i/1960))-i,10<i){e.timeoutHandle=Oi(Bl.bind(null,e,al,cl),i);break}Bl(e,al,cl);break;case 5:Bl(e,al,cl);break;default:throw Error(r(329))}}}return xl(e,vt()),e.callbackNode===n?Sl.bind(null,e):null}function Cl(e,t){var n=il;return e.current.memoizedState.isDehydrated&&(jl(e,t).flags|=256),e=Fl(e,t),e!==2&&(t=al,al=n,t!==null&&wl(t)),e}function wl(e){al===null?al=e:al.push.apply(al,e)}function Tl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Mr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function El(e,t){for(t&=~rl,t&=~nl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ot(t),r=1<<n;e[n]=-1,t&=~r}}function Dl(e){if(K&6)throw Error(r(327));Hl();var t=Ft(e,0);if(!(t&1))return xl(e,vt()),null;var n=Fl(e,t);if(e.tag!==0&&n===2){var i=Rt(e);i!==0&&(t=i,n=Cl(e,i))}if(n===1)throw n=el,jl(e,0),El(e,t),xl(e,vt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Bl(e,al,cl),xl(e,vt()),null}function Ol(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(sl=vt()+500,ua&&ma())}}function kl(e){pl!==null&&pl.tag===0&&!(K&6)&&Hl();var t=K;K|=1;var n=qc.transition,r=R;try{if(qc.transition=null,R=1,e)return e()}finally{R=r,qc.transition=n,K=t,!(K&6)&&ma()}}function Al(){Zc=Qc.current,Xi(Qc)}function jl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ki(n)),Yc!==null)for(n=Yc.return;n!==null;){var r=n;switch(Ea(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ia();break;case 3:bo(),Xi(ea),Xi($i),Eo();break;case 5:So(r);break;case 4:bo();break;case 13:Xi(Co);break;case 19:Xi(Co);break;case 10:Xa(r.type._context);break;case 22:case 23:Al()}n=n.return}if(Jc=e,Yc=e=tu(e.current,null),Xc=Zc=t,$c=0,el=null,rl=nl=tl=0,al=il=null,eo!==null){for(t=0;t<eo.length;t++)if(n=eo[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}eo=null}return e}function Ml(e,t){do{var n=Yc;try{if(Ya(),Do.current=bs,No){for(var i=Ao.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}No=!1}if(ko=0,Mo=jo=Ao=null,Po=!1,Fo=0,Kc.current=null,n===null||n.return===null){$c=1,el=t,Yc=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=Xc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Ls(s);if(m!==null){m.flags&=-257,Rs(m,s,c,o,t),m.mode&1&&Is(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Is(o,u,t),Pl();break a}l=Error(r(426))}}else if(ka&&c.mode&1){var _=Ls(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Rs(_,s,c,o,t),Ra(js(l,c));break a}}o=l=js(l,c),$c!==4&&($c=2),il===null?il=[o]:il.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Ps(o,l,t);uo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(dl===null||!dl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Fs(o,c,t);uo(o,x);break a}}o=o.return}while(o!==null)}zl(n)}catch(e){t=e,Yc===n&&n!==null&&(Yc=n=n.return);continue}break}while(1)}function Nl(){var e=Gc.current;return Gc.current=bs,e===null?bs:e}function Pl(){($c===0||$c===3||$c===2)&&($c=4),Jc===null||!(tl&268435455)&&!(nl&268435455)||El(Jc,Xc)}function Fl(e,t){var n=K;K|=2;var i=Nl();(Jc!==e||Xc!==t)&&(cl=null,jl(e,t));do try{Il();break}catch(t){Ml(e,t)}while(1);if(Ya(),K=n,Gc.current=i,Yc!==null)throw Error(r(261));return Jc=null,Xc=0,$c}function Il(){for(;Yc!==null;)Rl(Yc)}function Ll(){for(;Yc!==null&&!gt();)Rl(Yc)}function Rl(e){var t=Yl(e.alternate,e,Zc);e.memoizedProps=e.pendingProps,t===null?zl(e):Yc=t,Kc.current=null}function zl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=hc(n,t),n!==null){n.flags&=32767,Yc=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$c=6,Yc=null;return}}else if(n=mc(n,t,Zc),n!==null){Yc=n;return}if(t=t.sibling,t!==null){Yc=t;return}Yc=t=e}while(t!==null);$c===0&&($c=5)}function Bl(e,t,n){var r=R,i=qc.transition;try{qc.transition=null,R=1,Vl(e,t,n,r)}finally{qc.transition=i,R=r}return null}function Vl(e,t,n,i){do Hl();while(pl!==null);if(K&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ht(e,o),e===Jc&&(Yc=Jc=null,Xc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||fl||(fl=!0,Xl(St,function(){return Hl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=qc.transition,qc.transition=null;var s=R;R=1;var c=K;K|=4,Kc.current=null,Sc(e,n),Lc(n,e),zr(Ei),gn=!!Ti,Ei=Ti=null,e.current=n,zc(n,e,a),_t(),K=c,R=s,qc.transition=o}else e.current=n;if(fl&&(fl=!1,pl=e,ml=a),o=e.pendingLanes,o===0&&(dl=null),Dt(n.stateNode,i),xl(e,vt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(ll)throw ll=!1,e=ul,ul=null,e;return ml&1&&e.tag!==0&&Hl(),o=e.pendingLanes,o&1?e===gl?hl++:(hl=0,gl=e):hl=0,ma(),null}function Hl(){if(pl!==null){var e=Wt(ml),t=qc.transition,n=R;try{if(qc.transition=null,R=16>e?16:e,pl===null)var i=!1;else{if(e=pl,pl=null,ml=0,K&6)throw Error(r(331));var a=K;for(K|=4,G=e.current;G!==null;){var o=G,s=o.child;if(G.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(G=u;G!==null;){var d=G;switch(d.tag){case 0:case 11:case 15:Cc(8,d,o)}var f=d.child;if(f!==null)f.return=d,G=f;else for(;G!==null;){d=G;var p=d.sibling,m=d.return;if(Ec(d),d===u){G=null;break}if(p!==null){p.return=m,G=p;break}G=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}G=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,G=s;else b:for(;G!==null;){if(o=G,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Cc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,G=v;break b}G=o.return}}var y=e.current;for(G=y;G!==null;){s=G;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,G=b;else b:for(s=y;G!==null;){if(c=G,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:wc(9,c)}}catch(e){Wl(c,c.return,e)}if(c===s){G=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,G=x;break b}G=c.return}}if(K=a,ma(),Et&&typeof Et.onPostCommitFiberRoot==`function`)try{Et.onPostCommitFiberRoot(Tt,e)}catch{}i=!0}return i}finally{R=n,qc.transition=t}}return!1}function Ul(e,t,n){t=js(n,t),t=Ps(e,t,1),e=co(e,t,1),t=q(),e!==null&&(Vt(e,1,t),xl(e,t))}function Wl(e,t,n){if(e.tag===3)Ul(e,e,n);else for(;t!==null;){if(t.tag===3){Ul(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(dl===null||!dl.has(r))){e=js(n,e),e=Fs(t,e,1),t=co(t,e,1),e=q(),t!==null&&(Vt(t,1,e),xl(t,e));break}}t=t.return}}function Gl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=q(),e.pingedLanes|=e.suspendedLanes&n,Jc===e&&(Xc&n)===n&&($c===4||$c===3&&(Xc&130023424)===Xc&&500>vt()-ol?jl(e,0):rl|=n),xl(e,t)}function Kl(e,t){t===0&&(e.mode&1?(t=Nt,Nt<<=1,!(Nt&130023424)&&(Nt=4194304)):t=1);var n=q();e=ro(e,t),e!==null&&(Vt(e,t,n),xl(e,n))}function ql(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kl(e,n)}function Jl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Kl(e,n)}var Yl=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ea.current)Bs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Bs=!1,lc(e,t,n);Bs=!!(e.flags&131072)}else Bs=!1,ka&&t.flags&1048576&&Ta(t,va,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;sc(e,t),e=t.pendingProps;var a=na(t,$i.current);Qa(t,n),a=zo(null,t,i,e,a,n);var o=Bo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ra(i)?(o=!0,sa(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ao(t),a.updater=Es,t.stateNode=a,a._reactInternals=t,As(t,i,e,n),t=Ys(null,t,i,!0,o,n)):(t.tag=0,ka&&o&&z(t),Vs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(sc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=eu(i),e=ws(i,e),a){case 0:t=qs(null,t,i,e,n);break a;case 1:t=Js(null,t,i,e,n);break a;case 11:t=Hs(null,t,i,e,n);break a;case 14:t=Us(null,t,i,ws(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),qs(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),Js(e,t,i,a,n);case 3:a:{if(Xs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,oo(e,t),fo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=js(Error(r(423)),t),t=Zs(e,t,i,n,a);break a}else if(i!==a){a=js(Error(r(424)),t),t=Zs(e,t,i,n,a);break a}else for(Oa=Pi(t.stateNode.containerInfo.firstChild),Da=t,ka=!0,Aa=null,n=Ga(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(La(),i===a){t=cc(e,t,n);break a}Vs(e,t,i,n)}t=t.child}return t;case 5:return xo(t),e===null&&B(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Di(i,a)?s=null:o!==null&&Di(i,o)&&(t.flags|=32),Ks(e,t),Vs(e,t,s,n),t.child;case 6:return e===null&&B(t),null;case 13:return ec(e,t,n);case 4:return yo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Wa(t,null,i,n):Vs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),Hs(e,t,i,a,n);case 7:return Vs(e,t,t.pendingProps,n),t.child;case 8:return Vs(e,t,t.pendingProps.children,n),t.child;case 12:return Vs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Zi(V,i._currentValue),i._currentValue=s,o!==null)if(Mr(o.value,s)){if(o.children===a.children&&!ea.current){t=cc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=so(-1,n&-n),l.tag=2;var u=o.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}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Za(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Za(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Vs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Qa(t,n),a=$a(a),i=i(a),t.flags|=1,Vs(e,t,i,n),t.child;case 14:return i=t.type,a=ws(i,t.pendingProps),a=ws(i.type,a),Us(e,t,i,a,n);case 15:return Ws(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),sc(e,t),t.tag=1,ra(i)?(e=!0,sa(t)):e=!1,Qa(t,n),Os(t,i,a),As(t,i,a,n),Ys(null,t,i,!0,e,n);case 19:return oc(e,t,n);case 22:return Gs(e,t,n)}throw Error(r(156,t.tag))};function Xl(e,t){return mt(e,t)}function Zl(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 Ql(e,t,n,r){return new Zl(e,t,n,r)}function $l(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eu(e){if(typeof e==`function`)return+!!$l(e);if(e!=null){if(e=e.$$typeof,e===k)return 11;if(e===j)return 14}return 2}function tu(e,t){var n=e.alternate;return n===null?(n=Ql(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 nu(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)$l(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return ru(n.children,a,o,t);case D:s=8,a|=8;break;case ee:return e=Ql(12,n,t,a|2),e.elementType=ee,e.lanes=o,e;case A:return e=Ql(13,n,t,a),e.elementType=A,e.lanes=o,e;case ne:return e=Ql(19,n,t,a),e.elementType=ne,e.lanes=o,e;case N:return iu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case O:s=10;break a;case te:s=9;break a;case k:s=11;break a;case j:s=14;break a;case M:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=Ql(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function ru(e,t,n,r){return e=Ql(7,e,r,t),e.lanes=n,e}function iu(e,t,n,r){return e=Ql(22,e,r,t),e.elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function au(e,t,n){return e=Ql(6,e,null,t),e.lanes=n,e}function ou(e,t,n){return t=Ql(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function su(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=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cu(e,t,n,r,i,a,o,s,c){return e=new su(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=Ql(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ao(a),e}function lu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function uu(e){if(!e)return Qi;e=e._reactInternals;a:{if(ct(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ra(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ra(n))return oa(e,n,t)}return t}function du(e,t,n,r,i,a,o,s,c){return e=cu(n,r,!0,e,i,a,o,s,c),e.context=uu(null),n=e.current,r=q(),i=yl(n),a=so(r,i),a.callback=t??null,co(n,a,i),e.current.lanes=i,Vt(e,i,r),xl(e,r),e}function fu(e,t,n,r){var i=t.current,a=q(),o=yl(i);return n=uu(n),t.context===null?t.context=n:t.pendingContext=n,t=so(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=co(i,t,o),e!==null&&(bl(e,i,o,a),lo(e,i,o)),o}function pu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function mu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hu(e,t){mu(e,t),(e=e.alternate)&&mu(e,t)}function gu(){return null}var _u=typeof reportError==`function`?reportError:function(e){console.error(e)};function vu(e){this._internalRoot=e}yu.prototype.render=vu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));fu(e,t,null,null)},yu.prototype.unmount=vu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kl(function(){fu(null,e,null,null)}),t[zi]=null}};function yu(e){this._internalRoot=e}yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<rn.length&&t!==0&&t<rn[n].priority;n++);rn.splice(n,0,e),n===0&&ln(e)}};function bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function Su(){}function Cu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=pu(o);a.call(e)}}var o=du(t,r,e,0,null,!1,!1,``,Su);return e._reactRootContainer=o,e[zi]=o.current,pi(e.nodeType===8?e.parentNode:e),kl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=pu(c);s.call(e)}}var c=cu(e,0,!1,null,null,!1,!1,``,Su);return e._reactRootContainer=c,e[zi]=c.current,pi(e.nodeType===8?e.parentNode:e),kl(function(){fu(t,c,n,r)}),c}function wu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=pu(o);s.call(e)}}fu(t,o,e,i)}else o=Cu(n,t,e,i,r);return pu(o)}Gt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pt(t.pendingLanes);n!==0&&(Ut(t,n|1),xl(t,vt()),!(K&6)&&(sl=vt()+500,ma()))}break;case 13:kl(function(){var t=ro(e,1);t!==null&&bl(t,e,1,q())}),hu(e,1)}},Kt=function(e){if(e.tag===13){var t=ro(e,134217728);t!==null&&bl(t,e,134217728,q()),hu(e,134217728)}},qt=function(e){if(e.tag===13){var t=yl(e),n=ro(e,t);n!==null&&bl(n,e,t,q()),hu(e,t)}},Jt=function(){return R},Yt=function(e,t){var n=R;try{return R=e,t()}finally{R=n}},Ve=function(e,t,n){switch(t){case`input`:if(ve(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Ki(i);if(!a)throw Error(r(90));me(i),ve(i,a)}}}break;case`textarea`:Te(e,n);break;case`select`:t=n.value,t!=null&&Se(e,!!n.multiple,t,!1)}},qe=Ol,Je=kl;var Tu={usingClientEntryPoint:!1,Events:[Wi,Gi,Ki,Ge,Ke,Ol]},Eu={findFiberByHostInstance:Ui,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Du={bundleType:Eu.bundleType,version:Eu.version,rendererPackageName:Eu.rendererPackageName,rendererConfig:Eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ft(e),e===null?null:e.stateNode},findFiberByHostInstance:Eu.findFiberByHostInstance||gu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ou.isDisabled&&Ou.supportsFiber)try{Tt=Ou.inject(Du),Et=Ou}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!bu(t))throw Error(r(200));return lu(e,t,null,n)},e.createRoot=function(e,t){if(!bu(e))throw Error(r(299));var n=!1,i=``,a=_u;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=cu(e,1,!1,null,null,n,!1,i,a),e[zi]=t.current,pi(e.nodeType===8?e.parentNode:e),new vu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=ft(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return kl(e)},e.hydrate=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!bu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=_u;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=du(t,null,e,1,n??null,a,!1,o,s),e[zi]=t.current,pi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new yu(t)},e.render=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!xu(e))throw Error(r(40));return e._reactRootContainer?(kl(function(){wu(null,null,e,!1,function(){e._reactRootContainer=null,e[zi]=null})}),!0):!1},e.unstable_batchedUpdates=Ol,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!xu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return wu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),_=1,v=2,y=4,b=1,x=2,S=200,C=500,w=9007199254740991,T=`[object Arguments]`,E=`[object Array]`,D=`[object ArrayBuffer]`,ee=`[object AsyncFunction]`,O=`[object Boolean]`,te=`[object DataView]`,k=`[object Date]`,A=`[object Error]`,ne=`[object Function]`,j=`[object GeneratorFunction]`,M=`[object Map]`,N=`[object Number]`,re=`[object Object]`,ie=`[object Proxy]`,P=`[object RegExp]`,F=`[object Set]`,ae=`[object String]`,oe=`[object Symbol]`,se=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),ce=new Set([T,E,D,O,te,k,M,N,re,P,F,ae,oe,...se]),le=/\\(\\)?/g,ue=/\w*$/,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fe=/^\w*$/,pe=/^(?:0|[1-9]\d*)$/,I=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,me=Object.prototype,L=me.hasOwnProperty,he=me.toString,ge=me.propertyIsEnumerable;Function.prototype.toString.call(Object);var _e=Symbol.prototype.toString,ve=Symbol.prototype.valueOf;function ye(e){return typeof e==`object`&&!!e}function be(e,t){return e===t||e!==e&&t!==t}function xe(e){let t=L.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=he.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function Se(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?xe(e):he.call(e)}function Ce(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=w}function we(e,t){let n=typeof e,r=t??w;return!!r&&(n==`number`||n!=`symbol`&&pe.test(e))&&e>-1&&e%1==0&&e<r}function Te(e){return e!=null&&Ce(e.length)&&!ln(e)}function Ee(e){return ye(e)&&Te(e)}function De(e){return ye(e)&&Se(e)==T}function Oe(e){return ye(e)&&Ce(e.length)&&se.has(Se(e))}function ke(e){return typeof e==`symbol`||ye(e)&&Se(e)==oe}function Ae(e){return ye(e)&&Se(e)==M}function je(e){return ye(e)&&Se(e)==F}function Me(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||me)}function Ne(e){return e===e&&!un(e)}function Pe(e){if(typeof e==`string`)return e;if(Array.isArray(e))return ze(e,Pe)+``;if(ke(e))return _e.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Fe(e){return e==null?``:Pe(e)}function Ie(e){if(typeof e==`string`||ke(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Le(e){return e}function Re(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function ze(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function Be(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function Ve(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r;)if(t(e[n],n))return!0;return!1}function He(e){return e!==e}function Ue(e,t,n){let{length:r}=e,i=n-1;for(;++i<r;)if(t(e[i],i,e))return i;return-1}function We(e,t,n){let r=n-1,{length:i}=e;for(;++r<i;)if(e[r]===t)return r;return-1}function Ge(e,t,n){return t===t?We(e,t,n):Ue(e,He,n)}function Ke(e,t){return!!(e!=null&&e.length)&&Ge(e,t,0)>-1}function qe(e,t,n){let r=-1,i=e==null?0:e.length;for(;++r<i;)if(n(t,e[r]))return!0;return!1}function Je(e){let t=new Set,n=e==null?0:e.length;for(let r=0;r<n;r++)t.add(e[r]);return t}function Ye(e,t){return e.has(t)}function Xe(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function Ze(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function Qe(e){let t=-1,n=Array(e.size);return e.forEach(e=>{n[++t]=e}),n}function $e(e){let t=-1,n=Array(e.size);return e.forEach((e,r)=>{n[++t]=[r,e]}),n}function et(e,t){let n=Array.isArray(e),r=!n&&De(e),i=!n&&!r&&Oe(e),a=n||r||i,o=a?Xe(e.length,String):[],{length:s}=o;for(let n in e)(t||L.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||we(n,s)))&&o.push(n);return o}function tt(e){if(!Me(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))L.call(e,n)&&n!=`constructor`&&t.push(n);return t}function nt(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function rt(e){if(!un(e))return nt(e);let t=Me(e),n=[];for(let r in e)r==`constructor`&&(t||!L.call(e,r))||n.push(r);return n}function it(e){return Te(e)?et(e,!1):tt(e)}function at(e){return Te(e)?et(e,!0):rt(e)}function ot(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>ge.call(t,e))}function st(e){let t=[],n=e;for(;n;)Be(t,ot(n)),n=Object.getPrototypeOf(Object(n));return t}function ct(e){let t=it(e);return Array.isArray(e)?t:Be(t,ot(e))}function lt(e){let t=at(e);return Array.isArray(e)?t:Be(t,st(e))}function ut(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function dt(e,t,n){let r=e[t];(!(L.call(e,t)&&be(r,n))||n===void 0&&!(t in e))&&ut(e,t,n)}function ft(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?ut(i,n,e[n]):dt(i,n,e[n])}return i}function pt(e,t){return e&&ft(t,it(t),e)}function mt(e,t){return e&&ft(t,at(t),e)}function ht(e,t){return ft(e,ot(e),t)}function gt(e,t){return ft(e,st(e),t)}function _t(e,t,n){if(!un(n))return!1;let r=typeof t;return(r==`number`?Te(n)&&we(t,n.length):r==`string`&&t in n)?be(n[t],e):!1}function vt(e,t,n){let r=-1,{length:i}=t,a=i>2?t[2]:void 0;a&&_t(t[0],t[1],a)&&(i=1);let o=Object(e);for(;++r<i;){let e=t[r];e&&n(o,e)}return o}function yt(e,t,n){let r=-1,i=Object(e),a=n(e),{length:o}=a;for(;o--;){let e=a[++r];if(t(i[e],e,i)===!1)break}return e}function bt(e,t){return e&&yt(e,t,it)}function xt(e,t){if(e==null)return e;if(!Te(e))return bt(e,t);let{length:n}=e,r=-1,i=Object(e);for(;++r<n&&t(i[r],r,i)!==!1;);return e}function St(e){return Array.isArray(e)||De(e)||!!(e&&e[Symbol.isConcatSpreadable])}function Ct(e,t,n=St,r=!1,i=[]){let a=-1,{length:o}=e;for(;++a<o;){let o=e[a];t>0&&n(o)?t>1?Ct(o,t-1,n,r,i):Be(i,o):r||(i[i.length]=o)}return i}function wt(e,t,n){let r=-1,i=Ke,a=!0,{length:o}=e,s=[],c=t.length,l=t;if(!o)return s;n?(i=qe,a=!1):t.length>=S&&(i=Ye,a=!1,l=Je(t));outer:for(;++r<o;){let t=e[r],o=t;if(t=n||t!==0?t:0,a&&o===o){let e=c;for(;e--;)if(l[e]===o)continue outer;s.push(t)}else i(l,o,n)||s.push(t)}return s}function Tt(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(I,(e,n,r,i)=>(t.push(r?i.replace(le,`$1`):n||e),e)),t}var Et=new Map;function Dt(e){Et.size===C&&Et.clear();let t=Et.get(e);return t===void 0&&(t=Tt(e),Et.set(e,t)),t}function Ot(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||ke(e)?!0:fe.test(e)||!de.test(e)||t!=null&&e in Object(t)}function kt(e,t){return Array.isArray(e)?e:Ot(e,t)?[e]:Dt(Fe(e))}function At(e,t){let n=kt(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[Ie(n[r++])];return r&&r==i?a:void 0}function jt(e,t){return e!=null&&t in Object(e)}function Mt(e,t,n){let r=kt(t,e),i=-1,{length:a}=r,o=!1,s,c=e;for(;++i<a&&(s=Ie(r[i]),o=c!=null&&n(c,s),o);)c=c[s];return o||++i!=a?o:(a=c==null?0:c.length,!!a&&Ce(a)&&we(s,a)&&(Array.isArray(c)||De(c)))}function Nt(e,t){return e!=null&&Mt(e,t,jt)}function Pt(e){return t=>t?.[e]}function Ft(e){return t=>At(t,e)}function It(e){return Ot(e)?Pt(Ie(e)):Ft(e)}function Lt(e,t){return e.byteLength==t.byteLength&&Ht(new Uint8Array(e),new Uint8Array(t))}function Rt(e,t,n,r,i){let a=n&b,o=e.length,s=t.length;if(o!=s&&!(a&&s>o))return!1;let c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;let u=-1,d=!0,f=n&x?new Set:void 0;for(i.set(e,t),i.set(t,e);++u<o;){let o=e[u],s=t[u],c;if(r&&(c=a?r(s,o,u,t,e,i):r(o,s,u,e,t,i)),c!==void 0){if(c)continue;d=!1;break}if(f){if(!Ve(t,(e,t)=>!f.has(t)&&(o===e||Ht(o,e,n,r,i))?f.add(t):!1)){d=!1;break}}else if(!(o===s||Ht(o,s,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function zt(e,t,n,r,i,a){switch(n){case te:return e.byteLength==t.byteLength&&e.byteOffset==t.byteOffset&&Lt(e.buffer,t.buffer);case D:return Lt(e,t);case O:case k:case N:return be(+e,+t);case A:return e.name==t.name&&e.message==t.message;case P:case ae:return e==t+``;case M:case F:{let o=r&b;if(e.size!=t.size&&!o)return!1;let s=a.get(e);if(s)return s==t;let c=n==M?$e:Qe;a.set(e,t);let l=Rt(c(e),c(t),r|x,i,a);return a.delete(e),l}case oe:return ve.call(e)==ve.call(t)}return!1}function Bt(e,t,n,r,i){let a=n&b,o=ct(e),s=o.length;if(s!=ct(t).length&&!a)return!1;let c=s;for(;c--;){let e=o[c];if(!(a?e in t:L.call(t,e)))return!1}let l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;let d=!0;i.set(e,t),i.set(t,e);let f=!!a;for(;++c<s;){let s=o[c],l=e[s],u=t[s],p;if(r&&(p=a?r(u,l,s,t,e,i):r(l,u,s,e,t,i)),!(p===void 0?l===u||Ht(l,u,n,r,i):p)){d=!1;break}f||=s==`constructor`}if(d&&!f){let n=e.constructor,r=t.constructor;n!=r&&`constructor`in e&&`constructor`in t&&!(typeof n==`function`&&n instanceof n&&typeof r==`function`&&r instanceof r)&&(d=!1)}return i.delete(e),i.delete(t),d}function Vt(e,t,n,r,i){let a=Array.isArray(e),o=Array.isArray(t),s=a?E:Se(e),c=o?E:Se(t);s=s==T?re:s,c=c==T?re:c;let l=s==re,u=s==c;return u&&!l?a||Oe(e)?Rt(e,t,n,r,i||new Map):zt(e,t,s,n,r,i||new Map):u?Bt(e,t,n,r,i||new Map):!1}function Ht(e,t,n=0,r,i){return e===t?!0:e==null||t==null||!ye(e)&&!ye(t)?e!==e&&t!==t:Vt(e,t,n,r,i)}function Ut(e){return it(e).map(t=>[t,e[t],Ne(e[t])])}function R(e,t){return n=>n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}function Wt(e,t){let n=t.length,r=n;if(e==null)return!r;let i=Object(e);for(;n--;){let[e,r,a]=t[n];if(a?r!==i[e]:!(e in i))return!1}for(;++n<r;){let[e,r,a]=t[n],o=i[e];if(a){if(o===void 0&&!(e in i))return!1}else if(!Ht(r,o,3))return!1}return!0}function Gt(e){let t=Ut(e);return t.length==1&&t[0][2]?R(t[0][0],t[0][1]):n=>n===e||Wt(n,t)}function Kt(e,t){return Ot(e)&&Ne(t)?R(Ie(e),t):n=>{let r=on(n,e);return r===void 0&&r===t?Nt(n,e):Ht(t,r,3)}}function qt(e){return typeof e==`function`?e:e==null?Le:typeof e==`object`?Array.isArray(e)?Kt(e[0],e[1]):Gt(e):It(e)}function Jt(e){return un(e)?Object.create(e):{}}function Yt(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&L.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Xt(e){return typeof e.constructor==`function`&&!Me(e)?Jt(Object.getPrototypeOf(Object(e))):{}}function Zt(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function Qt(e,t){let n=t?Zt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $t(e,t,n){let r=e.constructor;switch(t){case D:return Zt(e);case O:case k:return new r(+e);case te:return new r(n?Zt(e.buffer):e.buffer,e.byteOffset,e.byteLength);case M:case F:return new r;case N:case ae:return new r(e);case P:{let t=new r(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}case oe:return Object(ve.call(e))}return se.has(t)?Qt(e,n):void 0}function en(e,t,n,r,i,a){let o,s=!!(t&_),c=!!(t&v),l=!!(t&y);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!un(e))return e;let u=Array.isArray(e);if(u){if(o=Yt(e),!s)return Ze(e,o)}else{let t=Se(e),n=t==ne||t==j;if(t==re||t==T||n&&!i){if(o=c||n?{}:Xt(e),!s)return c?gt(e,mt(o,e)):ht(e,pt(o,e))}else{if(!ce.has(t))return i?e:{};o=$t(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),je(e)?e.forEach(r=>{o.add(en(r,t,n,r,e,d))}):Ae(e)&&e.forEach((r,i)=>{o.set(i,en(r,t,n,i,e,d))});let p=u?void 0:(l?c?lt:ct:c?at:it)(e);return Re(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),dt(o,a,en(s,t,n,a,e,d))}),o}function tn(e,...t){return vt(e,t,(e,t)=>{if(Me(t)||Te(t)){ft(t,it(t),e);return}for(let n in t)L.call(t,n)&&dt(e,n,t[n])})}function nn(e){return en(e,5)}function rn(e){let t=-1,n=e==null?0:e.length,r=[];for(;++t<n;){let n=e[t];n&&r.push(n)}return r}function an(e,...t){return Ee(e)?wt(e,Ct(t,1,Ee,!0)):[]}function on(e,t,n){let r=e==null?void 0:At(e,t);return r===void 0?n:r}function sn(e){if(e==null)return!0;if(Te(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||Oe(e)||De(e)))return!e.length;let t=Se(e);if(t==M||t==F)return!e.size;if(Me(e))return!tt(e).length;for(let t in e)if(L.call(e,t))return!1;return!0}function cn(e,t){return Ht(e,t)}function ln(e){if(!un(e))return!1;let t=Se(e);return t==ne||t==j||t==ee||t==ie}function un(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function dn(e,t){let n=qt(t);if(Array.isArray(e))return ze(e,n);let r=-1,i=Te(e)?Array(e.length):[];return xt(e,(e,t,a)=>{i[++r]=n(e,t,a)}),i}var fn=()=>{};function pn(){let e=function(){};return e.enabled=!1,e.log=fn,e.extend=()=>e,e.destroy=fn,e}pn.log=fn,pn.enable=fn,pn.disable=()=>``,pn.enabled=()=>!1;var mn=`4.1.3`,hn=`https://github.com/pie-framework/pie-elements-ng/blob/develop/docs/MATH-RENDERING.md#assets`,gn=`@pie-lib/math-rendering@2`,_n=[`nemeth`,`euro`],vn=`mathjax@${mn}/sre`,yn=/^[^@]+@[^@]+$/;function bn(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.origin===`null`)return;let n=t.pathname.split(`/`);for(let e=n.length-1;e>0;e--){let r=n[e];if(r===`node_modules`)return;if(!yn.test(r))continue;let i=n[e-1]?.startsWith(`@`)?e-1:e;return t.origin+n.slice(0,i).join(`/`)}}function xn(){let e=globalThis[gn]?.opts;return e&&typeof e==`object`?e:{}}function Sn(e){if(typeof e!=`string`||!e)return;let t=typeof document>`u`?void 0:document.baseURI;try{return new URL(e,t).href.replace(/\/+$/,``)}catch{return}}function Cn(e){if(!e||typeof e!=`object`)return;let t=new Map;for(let[n,r]of Object.entries(e)){let e=Sn(r);e&&t.set(n,e)}return t.size?t:void 0}function wn(e){if(Array.isArray(e))return new Map(e.filter(e=>typeof e==`string`).map(e=>[e,void 0]));if(e&&typeof e==`object`)return new Map(Object.entries(e).map(([e,t])=>[e,typeof t==`string`?t:void 0]))}function Tn(e,t){let n=xn(),r=Sn(e.assetRoot??n.assetRoot)??bn(t);return{root:r,speechPath:Sn(e.speechPath??n.speechPath)??(r?`${r}/${vn}`:void 0),speechLocales:wn(e.speechLocales??n.speechLocales),urls:Cn(e.assetUrls??n.assetUrls)}}function En(e,t){if(!(!e||!t)){for(let n of[...e.keys()])!t.has(n)&&!_n.includes(n)&&e.delete(n);for(let[n,r]of t)(r||!e.has(n))&&e.set(n,r??n)}}function Dn(e){if(!(!e||e.has(`en`)))return[...e.keys()].find(e=>!_n.includes(e))}var On=`pie-mathjax-no-asset-root`,kn={untypeset:`no MathJax loads, so math stays untypeset`,"no-web-fonts":`math renders without web fonts`,"no-web-fonts-or-speech":`math renders without web fonts and speech`},An=Symbol.for(`@pie-element/shared-math-rendering-mathjax/no-assets`);function jn(e){let t=globalThis;t[An]??=[];let n=t[An];if(n.includes(e))return;n.push(e);let r=`[math-rendering] No asset root for MathJax: ${kn[e]}. Set window['${gn}'].opts.assetRoot to an npm root. See ${hn}`;e===`untypeset`?console.error(r):console.warn(r),!(typeof window>`u`)&&window.dispatchEvent(new CustomEvent(On,{detail:{effect:e,message:r,docsUrl:hn}}))}var Mn=`https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page`,Nn=`pie-mathjax-version-conflict`,Pn=Symbol.for(`@pie-element/shared-math-rendering-mathjax/unsupported-page`);function Fn(e,t){if(typeof window>`u`)return;let n=globalThis;n[Pn]??={logged:!1,conditions:[]};let r=n[Pn];if(r.conditions.includes(e))return;r.conditions.push(e);let i=`[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${Mn}`;r.logged||(r.logged=!0,console.error(i)),window.dispatchEvent(new CustomEvent(Nn,{detail:{condition:e,message:i,docsUrl:Mn}}))}function In(){let e=window.MathJax?.version;return typeof e==`string`&&e.startsWith(`3.`)?e:void 0}function Ln(){return window.MathJax}function Rn(e,{root:t,speechPath:n}){t&&(e.loader={...e.loader,paths:{fonts:`${t}/@mathjax`,"mathjax-newcm":`${t}/@mathjax/mathjax-newcm-font@${mn}`,"mathjax-mhchem-extension":`${t}/@mathjax/mathjax-mhchem-font-extension@${mn}`}}),n&&(e.options={...e.options,worker:{path:n,maps:`${n}/mathmaps`}})}function zn(e,t){let n=t.srcUrl||(t.root?`${t.root}/mathjax@4.1.3/tex-mml-chtml.js`:void 0);return n?(Rn(e,t),new Promise((t,r)=>{window.MathJax=e;let i=document.createElement(`script`);i.src=n,i.async=!0,i.onload=()=>t(!0),i.onerror=()=>r(Error(`Failed to load MathJax`)),document.head.appendChild(i)})):(jn(`untypeset`),Promise.resolve(!1))}var Bn=globalThis,Vn=`PIE-MJX-CHTML-styles`,Hn=[`MJX-CHTML-styles`,`MJX-SVG-styles`],Un=In,Wn=`http://www.w3.org/1998/Math/MathML`,Gn=/^([a-z_][\w.-]*):math$/,Kn=/^[a-z][a-z0-9-]*$/;function qn(e){for(let t of e.querySelectorAll(`*`)){let n=Gn.exec(t.tagName.toLowerCase())?.[1];!n||!e.contains(t)||t.closest(`mjx-container`)||t.replaceWith(Jn(t,`${n}:`))}}function Jn(e,t){let n=e.tagName.toLowerCase().slice(t.length);if(!Kn.test(n))return e;let r=e.ownerDocument.createElementNS(Wn,n);for(let t of e.attributes)r.setAttribute(t.name,t.value);for(let n of[...e.childNodes]){let e=n instanceof Element&&n.tagName.toLowerCase().startsWith(t);r.appendChild(e?Jn(n,t):n)}return r}var Yn=new Set([`updiagonalstrike`,`downdiagonalstrike`,`verticalstrike`,`horizontalstrike`]),Xn={thin:`0.035em`,medium:`0.07em`,thick:`0.14em`},Zn={tight:`0em`,medium:`0.1em`,loose:`0.2em`},Qn=/^(\d+(\.\d*)?|\.\d+)(em|ex|px|pt|pc|in|cm|mm)$/,$n=/^(#[0-9a-f]{3,8}|[a-z]+)$/i,er=/^(\d+(\.\d*)?|\.\d+)$/,tr=new Set([`mn`,`mo`,`mi`,`mtext`]),nr=new Set([`stackalign`,`charalign`,`charspacing`,`longdivstyle`]);function rr(e,t,n=[],r={}){let i=e.createElementNS(Wn,t);for(let[e,t]of Object.entries(r))i.setAttribute(e,t);for(let e of n)e&&i.appendChild(e);return i}function ir(e,t){let n=rr(e.document,`mo`);return n.textContent=t,n}function ar(e){let t=rr(e.document,`mn`);return t.textContent=`0`,rr(e.document,`mphantom`,[t])}function or(e,t){return e.getAttribute(t)?.trim().toLowerCase()||void 0}function sr(e,t){let n=Number.parseInt(e.getAttribute(t)??``,10);return Number.isFinite(n)?n:0}function cr(e){return e.localName===`none`||e.localName===`mrow`&&e.children.length===0&&!e.textContent?.trim()}function lr(e,t,n=e){switch(t){case`left`:return 0;case`center`:return Math.floor(e/2);case`right`:return e;default:return n}}function ur(e,t,n){let r=[],i,a,o=(e,t)=>{let s=e=>t.reduceRight((e,t)=>{let n=t.cloneNode(!1);return n.appendChild(e),n},e);if(e.localName===`mstyle`)for(let n of[...e.children])o(n,[...t,e]);else if(cr(e))r.push(null);else if(e.localName===`mn`&&e.children.length===0){let t=[...(e.textContent??``).trim()];for(let a of t){a===n.decimalPoint&&(i??=r.length);let t=e.cloneNode(!1);t.textContent=a,r.push(s(t))}t.length&&(a??=r.length)}else tr.has(e.localName)&&e.textContent?.trim()===n.decimalPoint&&(i??=r.length),r.push(s(e))};for(let t of e)o(t,[]);return{kind:`digits`,cells:r,anchor:lr(r.length,n.stackAlign,i??a),position:t}}function dr(e){return(e??``).toLowerCase().split(/\s+/).filter(e=>Yn.has(e))}function fr(e,t){let n=[...e.children].filter(e=>!cr(e));return n.length<=1?n[0]??null:rr(t.document,`mrow`,n)}function pr(e,t,n){let r=or(e,`location`)??`n`,i=dr(e.getAttribute(`crossout`)),a=[...e.children].map(e=>cr(e)?null:e.localName===`mscarry`?{content:fr(e,n),location:or(e,`location`)??r,crossout:e.hasAttribute(`crossout`)?dr(e.getAttribute(`crossout`)):i}:{content:e,location:r,crossout:i}),o=e.getAttribute(`scriptsizemultiplier`)?.trim()??``;return{kind:`carries`,carries:a,anchor:lr(a.length,n.stackAlign),position:t,scale:er.test(o)?o:`0.6`}}function mr(e){let t=or(e,`mslinethickness`)??`medium`,n=Xn[t]??(Qn.test(t)?t:`0.07em`),r=e.getAttribute(`mathcolor`)?.trim()??``;return`${n} solid ${$n.test(r)?r:`currentColor`}`}function hr(e,t,n){let r=Math.max(0,sr(e,`length`));return{kind:`line`,length:r,anchor:lr(r,n.stackAlign),position:t,border:mr(e)}}function gr(e,t,n,r,i){e.forEach((e,a)=>{let o=t+a*n+sr(e,`position`);switch(e.localName){case`msgroup`:gr([...e.children],o,sr(e,`shift`),r,i);break;case`msline`:i.push(hr(e,o,r));break;case`mscarries`:i.push(pr(e,o,r));break;case`msrow`:case`mrow`:i.push(ur([...e.children],o,r));break;default:i.push(ur([e],o,r))}})}function _r(e){return-e.anchor-e.position}function vr(e){return e.kind===`digits`?e.cells.length:e.kind===`carries`?e.carries.length:e.length}function yr(e){return _r(e)+vr(e)-1}function br(e,t,n,r){let i=e=>rr(r.document,`mpadded`,[t],{width:`0`,...e?{lspace:e}:{}}),a=(e,t)=>rr(r.document,e,t);switch(n){case`s`:return a(`munder`,[e,i(`-0.5width`)]);case`ne`:return a(`msup`,[e,i()]);case`se`:return a(`msub`,[e,i()]);case`nw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),a(`none`,[]),i(`-1width`)]);case`sw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),i(`-1width`),a(`none`,[])]);case`w`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[i(`-1width`),e]);case`e`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[e,i()]);default:return a(`mover`,[e,i(`-0.5width`)])}}function xr(e,t,n){let r=rr(n.document,`menclose`,[e],{notation:t.join(` `),"data-padding":`0.1em`,"data-thickness":`0.067em`}),i=t.some(e=>e.endsWith(`diagonalstrike`))?.167:t.includes(`horizontalstrike`)?.1:0;return i?rr(n.document,`mpadded`,[r],{lspace:`-${i}em`,width:`-${2*i}em`}):r}function Sr(e,t,n,r,i){let a=e&&t.crossout.length?xr(e,t.crossout,i):e;if(!t.content)return a;let o=rr(i.document,`mstyle`,[t.content],{scriptsizemultiplier:r});return br(a??ar(i),o,n,i)}function Cr(e,t){return e.carries[t-_r(e)]??null}function wr(e,t,n,r){let i=e.content;n.forEach((e,a)=>{let o=n.length-1-a,s=n[o],c=Cr(s,t),l=n.slice(0,o).some(e=>Cr(e,t));if(!c&&!l)return;let u=c??{content:ar(r),location:`n`,crossout:[]},d=a===0?u.location:`n`;i=Sr(i,u,d,s.scale,r)}),e.content=i}function Tr(e,t){let n=e.filter(e=>vr(e)>0),r=Math.min(0,...n.map(_r)),i=Math.max(r,...n.map(yr))-r+1,a=-r,o=[],s=new Map,c=()=>Array.from({length:i},()=>({content:null,borders:{}})),l=e=>e.length===0?Array.from({length:i},(e,t)=>t):Array.from({length:e.length},(t,n)=>a+_r(e)+n),u=[],d=[],f=e=>{let n=c();e.cells.forEach((t,r)=>{n[a+_r(e)+r].content=t}),u.length&&n.forEach((e,n)=>{wr(e,n-a,u,t)});for(let e of d)for(let t of l(e))n[t].borders.top=e.border;u=[],d=[],s.set(e,o.length),o.push(n)};for(let t of e)t.kind===`digits`?f(t):t.kind===`carries`?u.push(t):d.push(t);(u.length||!o.length)&&f({kind:`digits`,cells:[],anchor:0,position:0});let p=o[o.length-1];for(let e of d)for(let t of l(e))p[t].borders.bottom=e.border;return{rows:o,rowOf:s,origin:a}}function Er(e,{rows:t},n){let r=rr(n.document,`mtable`,t.map(e=>rr(n.document,`mtr`,e.map(e=>{let t=Object.entries(e.borders).map(([e,t])=>`border-${e}:${t}`).join(`;`);return rr(n.document,`mtd`,[e.content],{...t?{style:t}:{},...e.align?{columnalign:e.align}:{}})}))));for(let{name:t,value:n}of[...e.attributes])nr.has(t)||r.setAttribute(t,n);let i=or(e,`charspacing`)??`medium`,a=or(e,`charalign`);return r.setAttribute(`columnspacing`,Zn[i]??(Qn.test(i)?i:Zn.medium)),r.setAttribute(`columnalign`,a===`left`||a===`center`?a:`right`),r.setAttribute(`rowspacing`,`0`),r.setAttribute(`align`,e.getAttribute(`align`)??`baseline`),r}function Dr(e){return{document:e.ownerDocument,stackAlign:or(e,`stackalign`)??`decimalpoint`,decimalPoint:e.closest(`[decimalpoint]`)?.getAttribute(`decimalpoint`)?.trim().charAt(0)||`.`}}function Or(e){let t=Dr(e),n=[];return gr([...e.children],0,0,t,n),Er(e,Tr(n,t),t)}function kr(e,t,n,r,i,a){for(let o=n;o<=r;o++)e[t][o].borders[i]=a}function Ar(e,t){let n=ir(t,`)`);return n.setAttribute(`minsize`,`1.2em`),[rr(t.document,`mrow`,[e,rr(t.document,`mspace`,[],{width:`0.2em`})]),rr(t.document,`mpadded`,[n],{voffset:`0.1em`,lspace:`-0.15em`,depth:`-0.2em`,height:`-0.2em`})]}function jr(e){let t=Dr(e),[n,r,...i]=[...e.children],a=n&&!cr(n)?n:null,o=r&&!cr(r)?r:null,s=or(e,`longdivstyle`)??`lefttop`,c=mr(e),l=[];gr(i,0,0,t,l);let u=l.find(e=>e.kind===`digits`);u||(u={kind:`digits`,cells:[],anchor:0,position:0},l.unshift(u));let d=[],f=(...e)=>{u.cells.unshift(...e),u.anchor+=e.length},p=(...e)=>{let n=e.flatMap(e=>e?e.localName===`mrow`?[...e.children]:[e]:[]);u.cells.push(...ur(n,0,t).cells)};switch(s){case`left/\\right`:f(a,ir(t,`/`)),p(ir(t,`\\`),o);break;case`left)(right`:f(a,ir(t,`)`)),p(ir(t,`(`),o);break;case`:right=right`:p(ir(t,`:`),a,ir(t,`=`),o);break;case`righttop`:case`stackedleftlinetop`:case`lefttop`:o&&gr([o],0,0,t,d),l.splice(l.indexOf(u),0,...d),s===`righttop`?p(a):s===`stackedleftlinetop`?f(a):f(...Ar(a,t));break}let m=Tr(l,t),h=m.rows,g=m.rowOf.get(u)??0,_=e=>m.origin+_r(u)+e,v=Math.max(_(u.cells.length-1),...d.map(e=>m.origin+yr(e)));switch(s){case`left/\\right`:case`left)(right`:case`:right=right`:break;case`righttop`:{let e=h[g][_(u.cells.length-1)];e.borders.left=c,e.borders.bottom=c,kr(h,g,_(0),_(u.cells.length-1),`top`,c);break}case`stackedleftlinetop`:{let e=h[g][_(0)];e.borders.right=c,e.borders.bottom=c,kr(h,g,_(1),v,`top`,c);break}case`stackedrightright`:case`mediumstackedrightright`:case`shortstackedrightright`:case`stackedleftleft`:Mr(h,g,s,a,o,c,t);break;default:kr(h,g,_(1),v,`top`,c)}return Er(e,m,t)}function Mr(e,t,n,r,i,a,o){let s=n===`stackedleftleft`,c=s?`right`:`left`,l=e=>e&&rr(o.document,`mpadded`,[e],{lspace:`0.2em`,width:`+0.4em`});e.length<t+2&&e.push(e[0].map(()=>({content:null,borders:{}}))),e.forEach((e,o)=>{let u={content:null,borders:{},align:s?`right`:`left`};o===t?(u.content=l(r),u.borders={[c]:a,bottom:a}):o===t+1?(u.content=l(i),n!==`shortstackedrightright`&&(u.borders[c]=a)):o>t+1&&(n===`stackedrightright`||s)&&(u.borders[c]=a),s?e.unshift(u):e.push(u)})}function Nr(e){for(let t of[...e.querySelectorAll(`mstack, mlongdiv`)])!t.closest(`math`)||t.closest(`mjx-container`)||t.replaceWith(t.localName===`mstack`?Or(t):jr(t))}var Pr=`PIE-MJX-explorer-styles`,Fr=`var(--pie-text, black)`,Ir=`var(--pie-background, #ffffff)`,Lr=`var(--pie-border-dark, #66686A)`,Rr=`var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565C0)))`,zr=`color-mix(in srgb, ${Rr} 15%, transparent)`,Br=`
|
|
8
|
+
`+e.stack}return{value:e,source:t,stack:i,digest:null}}function U(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ms(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var Ns=typeof WeakMap==`function`?WeakMap:Map;function Ps(e,t,n){n=so(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ll||(ll=!0,ul=r),Ms(e,t)},n}function Fs(e,t,n){n=so(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ms(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Ms(e,t),typeof r!=`function`&&(dl===null?dl=new Set([this]):dl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Is(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ns;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Gl.bind(null,e,t,n),t.then(e,e))}function Ls(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null||t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Rs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=so(-1,1),t.tag=2,co(n,t,1))),n.lanes|=1),e)}var zs=C.ReactCurrentOwner,Bs=!1;function Vs(e,t,n,r){t.child=e===null?Wa(t,null,n,r):V(t,e.child,n,r)}function Hs(e,t,n,r,i){n=n.render;var a=t.ref;return Qa(t,i),r=zo(e,t,n,r,a,i),n=Bo(),e!==null&&!Bs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,cc(e,t,i)):(ka&&n&&Ta(t),t.flags|=1,Vs(e,t,r,i),t.child)}function Us(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!$l(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ws(e,t,a,r,i)):(e=nu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Nr:n,n(o,r)&&e.ref===t.ref)return cc(e,t,i)}return t.flags|=1,e=tu(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ws(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Nr(a,r)&&e.ref===t.ref)if(Bs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Bs=!0);else return t.lanes=e.lanes,cc(e,t,i)}return qs(e,t,n,r,i)}function Gs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zi(Qc,Zc),Zc|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Zi(Qc,Zc),Zc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,Zi(Qc,Zc),Zc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),Zi(Qc,Zc),Zc|=r;return Vs(e,t,i,n),t.child}function Ks(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qs(e,t,n,r,i){var a=ra(n)?ta:$i.current;return a=na(t,a),Qa(t,i),n=zo(e,t,n,r,a,i),r=Bo(),e!==null&&!Bs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,cc(e,t,i)):(ka&&r&&Ta(t),t.flags|=1,Vs(e,t,n,i),t.child)}function Js(e,t,n,r,i){if(ra(n)){var a=!0;sa(t)}else a=!1;if(Qa(t,i),t.stateNode===null)sc(e,t),Os(t,n,r),As(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=$a(l):(l=ra(n)?ta:$i.current,l=na(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&ks(t,o,r,l),io=!1;var f=t.memoizedState;o.state=f,fo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ea.current||io?(typeof u==`function`&&(Ts(t,n,u,r),c=t.memoizedState),(s=io||Ds(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ws(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=$a(c):(c=ra(n)?ta:$i.current,c=na(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&ks(t,o,r,c),io=!1,f=t.memoizedState,o.state=f,fo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ea.current||io?(typeof p==`function`&&(Ts(t,n,p,r),m=t.memoizedState),(l=io||Ds(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ys(e,t,n,r,a,i)}function Ys(e,t,n,r,i,a){Ks(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&ca(t,n,!1),cc(e,t,a);r=t.stateNode,zs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=V(t,e.child,null,a),t.child=V(t,null,s,a)):Vs(e,t,s,a),t.memoizedState=r.state,i&&ca(t,n,!0),t.child}function Xs(e){var t=e.stateNode;t.pendingContext?aa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&aa(e,t.context,!1),yo(e,t.containerInfo)}function Zs(e,t,n,r,i){return La(),Ra(i),t.flags|=256,Vs(e,t,n,r),t.child}var Qs={dehydrated:null,treeContext:null,retryLane:0};function $s(e){return{baseLanes:e,cachePool:null,transitions:null}}function ec(e,t,n){var r=t.pendingProps,i=Co.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Zi(Co,i&1),e===null)return Na(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=iu(o,r,0,null),e=ru(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=$s(n),t.memoizedState=Qs,e):tc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return rc(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=tu(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=ru(a,o,n,null),a.flags|=2):a=tu(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?$s(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Qs,r}return a=e.child,e=a.sibling,r=tu(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function tc(e,t){return t=iu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function nc(e,t,n,r){return r!==null&&Ra(r),V(t,e.child,null,n),e=tc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rc(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=U(Error(r(422))),nc(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=iu({mode:`visible`,children:i.children},a,0,null),o=ru(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&V(t,e.child,null,s),t.child.memoizedState=$s(s),t.memoizedState=Qs,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return nc(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=U(o,i,void 0),nc(e,t,s,i)}if(c=(s&e.childLanes)!==0,Bs||c){if(i=K,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,ro(e,a),bl(i,e,a,-1))}return Pl(),i=U(Error(r(421))),nc(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=ql.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Oa=Pi(a.nextSibling),Da=t,ka=!0,Aa=null,e!==null&&(ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,Sa=e.id,Ca=e.overflow,xa=t),t=tc(t,i.children),t.flags|=4096,t)}function ic(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Za(e.return,t,n)}function ac(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function oc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Vs(e,t,r.children,n),r=Co.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ic(e,n,t);else if(e.tag===19)ic(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Zi(Co,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&wo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ac(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&wo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ac(t,!0,n,null,a);break;case`together`:ac(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),tl|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=tu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lc(e,t,n){switch(t.tag){case 3:Xs(t),La();break;case 5:xo(t);break;case 1:ra(t.type)&&sa(t);break;case 4:yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Zi(Ga,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Zi(Co,Co.current&1),e=cc(e,t,n),e===null?null:e.sibling):ec(e,t,n):(Zi(Co,Co.current&1),t.flags|=128,null);Zi(Co,Co.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return oc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Zi(Co,Co.current),r)break;return null;case 22:case 23:return t.lanes=0,Gs(e,t,n)}return cc(e,t,n)}var uc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},dc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vo(ho.current);var o=null;switch(n){case`input`:i=he(e,i),r=he(e,r),o=[];break;case`select`:i=P({},i,{value:void 0}),r=P({},r,{value:void 0}),o=[];break;case`textarea`:i=Ce(e,i),r=Ce(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=wi)}Le(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&ui(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},fc=function(e,t,n,r){n!==r&&(t.flags|=4)};function pc(e,t){if(!ka)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function mc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hc(e,t,n){var i=t.pendingProps;switch(Ea(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mc(t),null;case 1:return ra(t.type)&&ia(),mc(t),null;case 3:return i=t.stateNode,bo(),Xi(ea),Xi($i),Eo(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Fa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Aa!==null&&(wl(Aa),Aa=null))),mc(t),null;case 5:So(t);var o=vo(_o.current);if(n=t.type,e!==null&&t.stateNode!=null)dc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return mc(t),null}if(e=vo(ho.current),Fa(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Li]=t,i[Ri]=s,e=(t.mode&1)!=0,n){case`dialog`:ui(`cancel`,i),ui(`close`,i);break;case`iframe`:case`object`:case`embed`:ui(`load`,i);break;case`video`:case`audio`:for(o=0;o<oi.length;o++)ui(oi[o],i);break;case`source`:ui(`error`,i);break;case`img`:case`image`:case`link`:ui(`error`,i),ui(`load`,i);break;case`details`:ui(`toggle`,i);break;case`input`:ge(i,s),ui(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},ui(`invalid`,i);break;case`textarea`:we(i,s),ui(`invalid`,i)}for(var c in Le(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&Ci(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&ui(`scroll`,i)}switch(n){case`input`:I(i),ye(i,s,!0);break;case`textarea`:I(i),Ee(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=wi)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=De(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Li]=t,e[Ri]=i,uc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Re(n,i),n){case`dialog`:ui(`cancel`,e),ui(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:ui(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<oi.length;o++)ui(oi[o],e);o=i;break;case`source`:ui(`error`,e),o=i;break;case`img`:case`image`:case`link`:ui(`error`,e),ui(`load`,e),o=i;break;case`details`:ui(`toggle`,e),o=i;break;case`input`:ge(e,i),o=he(e,i),ui(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=P({},i,{value:void 0}),ui(`invalid`,e);break;case`textarea`:we(e,i),o=Ce(e,i),ui(`invalid`,e);break;default:o=i}for(s in Le(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Fe(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Ae(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&je(e,u):typeof u==`number`&&je(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&ui(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:I(e),ye(e,i,!1);break;case`textarea`:I(e),Ee(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+de(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Se(e,!!i.multiple,i.defaultValue,!0):Se(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=wi)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return mc(t),null;case 6:if(e&&t.stateNode!=null)fc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=vo(_o.current),vo(ho.current),Fa(t)){if(i=t.stateNode,n=t.memoizedProps,i[Li]=t,(s=i.nodeValue!==n)&&(e=Da,e!==null))switch(e.tag){case 3:Ci(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ci(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Li]=t,t.stateNode=i}return mc(t),null;case 13:if(Xi(Co),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ka&&Oa!==null&&t.mode&1&&!(t.flags&128))Ia(),La(),t.flags|=98560,s=!1;else if(s=Fa(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Li]=t}else La(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;mc(t),s=!1}else Aa!==null&&(wl(Aa),Aa=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Co.current&1?$c===0&&($c=3):Pl())),t.updateQueue!==null&&(t.flags|=4),mc(t),null);case 4:return bo(),e===null&&pi(t.stateNode.containerInfo),mc(t),null;case 10:return Xa(t.type._context),mc(t),null;case 17:return ra(t.type)&&ia(),mc(t),null;case 19:if(Xi(Co),s=t.memoizedState,s===null)return mc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)pc(s,!1);else{if($c!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=wo(e),c!==null){for(t.flags|=128,pc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Zi(Co,Co.current&1|2),t.child}e=e.sibling}s.tail!==null&&vt()>sl&&(t.flags|=128,i=!0,pc(s,!1),t.lanes=4194304)}else{if(!i)if(e=wo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),pc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!ka)return mc(t),null}else 2*vt()-s.renderingStartTime>sl&&n!==1073741824&&(t.flags|=128,i=!0,pc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(mc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=vt(),t.sibling=null,n=Co.current,Zi(Co,i?n&1|2:n&1),t);case 22:case 23:return Al(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Zc&1073741824&&(mc(t),t.subtreeFlags&6&&(t.flags|=8192)):mc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function gc(e,t){switch(Ea(t),t.tag){case 1:return ra(t.type)&&ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),Xi(ea),Xi($i),Eo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return So(t),null;case 13:if(Xi(Co),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));La()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Xi(Co),null;case 4:return bo(),null;case 10:return Xa(t.type._context),null;case 22:case 23:return Al(),null;case 24:return null;default:return null}}var _c=!1,vc=!1,yc=typeof WeakSet==`function`?WeakSet:Set,W=null;function bc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Wl(e,t,n)}else n.current=null}function xc(e,t,n){try{n()}catch(n){Wl(e,t,n)}}var Sc=!1;function Cc(e,t){if(Ti=gn,e=Lr(),Rr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Ei={focusedElem:e,selectionRange:n},gn=!1,W=t;W!==null;)if(t=W,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;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 g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ws(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Wl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return h=Sc,Sc=!1,h}function wc(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&xc(t,n,a)}i=i.next}while(i!==r)}}function Tc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,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 Ec(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 Dc(e){var t=e.alternate;t!==null&&(e.alternate=null,Dc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Li],delete t[Ri],delete t[Bi],delete t[Vi],delete t[Hi])),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 Oc(e){return e.tag===5||e.tag===3||e.tag===4}function kc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Oc(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 a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ac(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=wi));else if(r!==4&&(e=e.child,e!==null))for(Ac(e,t,n),e=e.sibling;e!==null;)Ac(e,t,n),e=e.sibling}function jc(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(jc(e,t,n),e=e.sibling;e!==null;)jc(e,t,n),e=e.sibling}var Mc=null,Nc=!1;function Pc(e,t,n){for(n=n.child;n!==null;)Fc(e,t,n),n=n.sibling}function Fc(e,t,n){if(Et&&typeof Et.onCommitFiberUnmount==`function`)try{Et.onCommitFiberUnmount(Tt,n)}catch{}switch(n.tag){case 5:vc||bc(n,t);case 6:var r=Mc,i=Nc;Mc=null,Pc(e,t,n),Mc=r,Nc=i,Mc!==null&&(Nc?(e=Mc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Mc.removeChild(n.stateNode));break;case 18:Mc!==null&&(Nc?(e=Mc,n=n.stateNode,e.nodeType===8?Ni(e.parentNode,n):e.nodeType===1&&Ni(e,n),mn(e)):Ni(Mc,n.stateNode));break;case 4:r=Mc,i=Nc,Mc=n.stateNode.containerInfo,Nc=!0,Pc(e,t,n),Mc=r,Nc=i;break;case 0:case 11:case 14:case 15:if(!vc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&xc(n,t,o),i=i.next}while(i!==r)}Pc(e,t,n);break;case 1:if(!vc&&(bc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Wl(n,t,e)}Pc(e,t,n);break;case 21:Pc(e,t,n);break;case 22:n.mode&1?(vc=(r=vc)||n.memoizedState!==null,Pc(e,t,n),vc=r):Pc(e,t,n);break;default:Pc(e,t,n)}}function Ic(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yc),t.forEach(function(t){var r=Jl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Lc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Mc=c.stateNode,Nc=!1;break a;case 3:Mc=c.stateNode.containerInfo,Nc=!0;break a;case 4:Mc=c.stateNode.containerInfo,Nc=!0;break a}c=c.return}if(Mc===null)throw Error(r(160));Fc(o,s,a),Mc=null,Nc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Wl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Rc(t,e),t=t.sibling}function Rc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Lc(t,e),zc(e),i&4){try{wc(3,e,e.return),Tc(3,e)}catch(t){Wl(e,e.return,t)}try{wc(5,e,e.return)}catch(t){Wl(e,e.return,t)}}break;case 1:Lc(t,e),zc(e),i&512&&n!==null&&bc(n,n.return);break;case 5:if(Lc(t,e),zc(e),i&512&&n!==null&&bc(n,n.return),e.flags&32){var a=e.stateNode;try{je(a,``)}catch(t){Wl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&_e(a,o),Re(c,s);var u=Re(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Fe(a,f):d===`dangerouslySetInnerHTML`?Ae(a,f):d===`children`?je(a,f):S(a,d,f,u)}switch(c){case`input`:ve(a,o);break;case`textarea`:Te(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Se(a,!!o.multiple,o.multiple?[]:``,!1):Se(a,!!o.multiple,o.defaultValue,!0)):Se(a,!!o.multiple,m,!1)}a[Ri]=o}catch(t){Wl(e,e.return,t)}}break;case 6:if(Lc(t,e),zc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Wl(e,e.return,t)}}break;case 3:if(Lc(t,e),zc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{mn(t.containerInfo)}catch(t){Wl(e,e.return,t)}break;case 4:Lc(t,e),zc(e);break;case 13:Lc(t,e),zc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ol=vt())),i&4&&Ic(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(vc=(u=vc)||d,Lc(t,e),vc=u):Lc(t,e),zc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(W=e,d=e.child;d!==null;){for(f=W=d;W!==null;){switch(p=W,m=p.child,p.tag){case 0:case 11:case 14:case 15:wc(4,p,p.return);break;case 1:bc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Wl(i,n,e)}}break;case 5:bc(p,p.return);break;case 22:if(p.memoizedState!==null){Uc(f);continue}}m===null?Uc(f):(m.return=p,W=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Pe(`display`,s))}catch(t){Wl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Wl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Lc(t,e),zc(e),i&4&&Ic(e);break;case 21:break;default:Lc(t,e),zc(e)}}function zc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Oc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(je(a,``),i.flags&=-33),jc(e,kc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Ac(e,kc(e),o);break;default:throw Error(r(161))}}catch(t){Wl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Bc(e,t,n){W=e,Vc(e,t,n)}function Vc(e,t,n){for(var r=(e.mode&1)!=0;W!==null;){var i=W,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||_c;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||vc;s=_c;var l=vc;if(_c=o,(vc=c)&&!l)for(W=i;W!==null;)o=W,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Wc(i):(c.return=o,W=c);for(;a!==null;)W=a,Vc(a,t,n),a=a.sibling;W=i,_c=s,vc=l}Hc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,W=a):Hc(e,t,n)}}function Hc(e){for(;W!==null;){var t=W;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vc||Tc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!vc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ws(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&po(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}po(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&mn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}vc||t.flags&512&&Ec(t)}catch(e){Wl(t,t.return,e)}}if(t===e){W=null;break}if(n=t.sibling,n!==null){n.return=t.return,W=n;break}W=t.return}}function Uc(e){for(;W!==null;){var t=W;if(t===e){W=null;break}var n=t.sibling;if(n!==null){n.return=t.return,W=n;break}W=t.return}}function Wc(e){for(;W!==null;){var t=W;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Tc(4,t)}catch(e){Wl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Wl(t,i,e)}}var a=t.return;try{Ec(t)}catch(e){Wl(t,a,e)}break;case 5:var o=t.return;try{Ec(t)}catch(e){Wl(t,o,e)}}}catch(e){Wl(t,t.return,e)}if(t===e){W=null;break}var s=t.sibling;if(s!==null){s.return=t.return,W=s;break}W=t.return}}var Gc=Math.ceil,Kc=C.ReactCurrentDispatcher,qc=C.ReactCurrentOwner,Jc=C.ReactCurrentBatchConfig,G=0,K=null,Yc=null,Xc=0,Zc=0,Qc=Yi(0),$c=0,el=null,tl=0,nl=0,rl=0,il=null,al=null,ol=0,sl=1/0,cl=null,ll=!1,ul=null,dl=null,fl=!1,pl=null,ml=0,hl=0,gl=null,q=-1,_l=0;function vl(){return G&6?vt():q===-1?q=vt():q}function yl(e){return e.mode&1?G&2&&Xc!==0?Xc&-Xc:za.transition===null?(e=R,e===0?(e=window.event,e=e===void 0?16:Sn(e.type),e):e):(_l===0&&(_l=zt()),_l):1}function bl(e,t,n,i){if(50<hl)throw hl=0,gl=null,Error(r(185));Vt(e,n,i),(!(G&2)||e!==K)&&(e===K&&(!(G&2)&&(nl|=n),$c===4&&El(e,Xc)),xl(e,i),n===1&&G===0&&!(t.mode&1)&&(sl=vt()+500,ua&&ma()))}function xl(e,t){var n=e.callbackNode;Lt(e,t);var r=Ft(e,e===K?Xc:0);if(r===0)n!==null&&ht(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ht(n),t===1)e.tag===0?pa(Dl.bind(null,e)):fa(Dl.bind(null,e)),ji(function(){!(G&6)&&ma()}),n=null;else{switch(Wt(r)){case 1:n=bt;break;case 4:n=xt;break;case 16:n=St;break;case 536870912:n=wt;break;default:n=St}n=Xl(n,Sl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sl(e,t){if(q=-1,_l=0,G&6)throw Error(r(327));var n=e.callbackNode;if(Hl()&&e.callbackNode!==n)return null;var i=Ft(e,e===K?Xc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Fl(e,i);else{t=i;var a=G;G|=2;var o=Nl();(K!==e||Xc!==t)&&(cl=null,sl=vt()+500,jl(e,t));do try{Ll();break}catch(t){Ml(e,t)}while(1);Ya(),Kc.current=o,G=a,Yc===null?(K=null,Xc=0,t=$c):t=0}if(t!==0){if(t===2&&(a=Rt(e),a!==0&&(i=a,t=Cl(e,a))),t===1)throw n=el,jl(e,0),El(e,i),xl(e,vt()),n;if(t===6)El(e,i);else{if(a=e.current.alternate,!(i&30)&&!Tl(a)&&(t=Fl(e,i),t===2&&(o=Rt(e),o!==0&&(i=o,t=Cl(e,o))),t===1))throw n=el,jl(e,0),El(e,i),xl(e,vt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Bl(e,al,cl);break;case 3:if(El(e,i),(i&130023424)===i&&(t=ol+500-vt(),10<t)){if(Ft(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){vl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Oi(Bl.bind(null,e,al,cl),t);break}Bl(e,al,cl);break;case 4:if(El(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Ot(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=vt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Gc(i/1960))-i,10<i){e.timeoutHandle=Oi(Bl.bind(null,e,al,cl),i);break}Bl(e,al,cl);break;case 5:Bl(e,al,cl);break;default:throw Error(r(329))}}}return xl(e,vt()),e.callbackNode===n?Sl.bind(null,e):null}function Cl(e,t){var n=il;return e.current.memoizedState.isDehydrated&&(jl(e,t).flags|=256),e=Fl(e,t),e!==2&&(t=al,al=n,t!==null&&wl(t)),e}function wl(e){al===null?al=e:al.push.apply(al,e)}function Tl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Mr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function El(e,t){for(t&=~rl,t&=~nl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ot(t),r=1<<n;e[n]=-1,t&=~r}}function Dl(e){if(G&6)throw Error(r(327));Hl();var t=Ft(e,0);if(!(t&1))return xl(e,vt()),null;var n=Fl(e,t);if(e.tag!==0&&n===2){var i=Rt(e);i!==0&&(t=i,n=Cl(e,i))}if(n===1)throw n=el,jl(e,0),El(e,t),xl(e,vt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Bl(e,al,cl),xl(e,vt()),null}function Ol(e,t){var n=G;G|=1;try{return e(t)}finally{G=n,G===0&&(sl=vt()+500,ua&&ma())}}function kl(e){pl!==null&&pl.tag===0&&!(G&6)&&Hl();var t=G;G|=1;var n=Jc.transition,r=R;try{if(Jc.transition=null,R=1,e)return e()}finally{R=r,Jc.transition=n,G=t,!(G&6)&&ma()}}function Al(){Zc=Qc.current,Xi(Qc)}function jl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ki(n)),Yc!==null)for(n=Yc.return;n!==null;){var r=n;switch(Ea(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ia();break;case 3:bo(),Xi(ea),Xi($i),Eo();break;case 5:So(r);break;case 4:bo();break;case 13:Xi(Co);break;case 19:Xi(Co);break;case 10:Xa(r.type._context);break;case 22:case 23:Al()}n=n.return}if(K=e,Yc=e=tu(e.current,null),Xc=Zc=t,$c=0,el=null,rl=nl=tl=0,al=il=null,eo!==null){for(t=0;t<eo.length;t++)if(n=eo[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}eo=null}return e}function Ml(e,t){do{var n=Yc;try{if(Ya(),Do.current=bs,No){for(var i=Ao.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}No=!1}if(ko=0,Mo=jo=Ao=null,Po=!1,Fo=0,qc.current=null,n===null||n.return===null){$c=1,el=t,Yc=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=Xc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Ls(s);if(m!==null){m.flags&=-257,Rs(m,s,c,o,t),m.mode&1&&Is(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Is(o,u,t),Pl();break a}l=Error(r(426))}}else if(ka&&c.mode&1){var _=Ls(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Rs(_,s,c,o,t),Ra(js(l,c));break a}}o=l=js(l,c),$c!==4&&($c=2),il===null?il=[o]:il.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Ps(o,l,t);uo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(dl===null||!dl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Fs(o,c,t);uo(o,x);break a}}o=o.return}while(o!==null)}zl(n)}catch(e){t=e,Yc===n&&n!==null&&(Yc=n=n.return);continue}break}while(1)}function Nl(){var e=Kc.current;return Kc.current=bs,e===null?bs:e}function Pl(){($c===0||$c===3||$c===2)&&($c=4),K===null||!(tl&268435455)&&!(nl&268435455)||El(K,Xc)}function Fl(e,t){var n=G;G|=2;var i=Nl();(K!==e||Xc!==t)&&(cl=null,jl(e,t));do try{Il();break}catch(t){Ml(e,t)}while(1);if(Ya(),G=n,Kc.current=i,Yc!==null)throw Error(r(261));return K=null,Xc=0,$c}function Il(){for(;Yc!==null;)Rl(Yc)}function Ll(){for(;Yc!==null&&!gt();)Rl(Yc)}function Rl(e){var t=Yl(e.alternate,e,Zc);e.memoizedProps=e.pendingProps,t===null?zl(e):Yc=t,qc.current=null}function zl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=gc(n,t),n!==null){n.flags&=32767,Yc=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$c=6,Yc=null;return}}else if(n=hc(n,t,Zc),n!==null){Yc=n;return}if(t=t.sibling,t!==null){Yc=t;return}Yc=t=e}while(t!==null);$c===0&&($c=5)}function Bl(e,t,n){var r=R,i=Jc.transition;try{Jc.transition=null,R=1,Vl(e,t,n,r)}finally{Jc.transition=i,R=r}return null}function Vl(e,t,n,i){do Hl();while(pl!==null);if(G&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ht(e,o),e===K&&(Yc=K=null,Xc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||fl||(fl=!0,Xl(St,function(){return Hl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Jc.transition,Jc.transition=null;var s=R;R=1;var c=G;G|=4,qc.current=null,Cc(e,n),Rc(n,e),zr(Ei),gn=!!Ti,Ei=Ti=null,e.current=n,Bc(n,e,a),_t(),G=c,R=s,Jc.transition=o}else e.current=n;if(fl&&(fl=!1,pl=e,ml=a),o=e.pendingLanes,o===0&&(dl=null),Dt(n.stateNode,i),xl(e,vt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(ll)throw ll=!1,e=ul,ul=null,e;return ml&1&&e.tag!==0&&Hl(),o=e.pendingLanes,o&1?e===gl?hl++:(hl=0,gl=e):hl=0,ma(),null}function Hl(){if(pl!==null){var e=Wt(ml),t=Jc.transition,n=R;try{if(Jc.transition=null,R=16>e?16:e,pl===null)var i=!1;else{if(e=pl,pl=null,ml=0,G&6)throw Error(r(331));var a=G;for(G|=4,W=e.current;W!==null;){var o=W,s=o.child;if(W.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(W=u;W!==null;){var d=W;switch(d.tag){case 0:case 11:case 15:wc(8,d,o)}var f=d.child;if(f!==null)f.return=d,W=f;else for(;W!==null;){d=W;var p=d.sibling,m=d.return;if(Dc(d),d===u){W=null;break}if(p!==null){p.return=m,W=p;break}W=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}W=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,W=s;else b:for(;W!==null;){if(o=W,o.flags&2048)switch(o.tag){case 0:case 11:case 15:wc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,W=v;break b}W=o.return}}var y=e.current;for(W=y;W!==null;){s=W;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,W=b;else b:for(s=y;W!==null;){if(c=W,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Tc(9,c)}}catch(e){Wl(c,c.return,e)}if(c===s){W=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,W=x;break b}W=c.return}}if(G=a,ma(),Et&&typeof Et.onPostCommitFiberRoot==`function`)try{Et.onPostCommitFiberRoot(Tt,e)}catch{}i=!0}return i}finally{R=n,Jc.transition=t}}return!1}function Ul(e,t,n){t=js(n,t),t=Ps(e,t,1),e=co(e,t,1),t=vl(),e!==null&&(Vt(e,1,t),xl(e,t))}function Wl(e,t,n){if(e.tag===3)Ul(e,e,n);else for(;t!==null;){if(t.tag===3){Ul(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(dl===null||!dl.has(r))){e=js(n,e),e=Fs(t,e,1),t=co(t,e,1),e=vl(),t!==null&&(Vt(t,1,e),xl(t,e));break}}t=t.return}}function Gl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=vl(),e.pingedLanes|=e.suspendedLanes&n,K===e&&(Xc&n)===n&&($c===4||$c===3&&(Xc&130023424)===Xc&&500>vt()-ol?jl(e,0):rl|=n),xl(e,t)}function Kl(e,t){t===0&&(e.mode&1?(t=Nt,Nt<<=1,!(Nt&130023424)&&(Nt=4194304)):t=1);var n=vl();e=ro(e,t),e!==null&&(Vt(e,t,n),xl(e,n))}function ql(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kl(e,n)}function Jl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Kl(e,n)}var Yl=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ea.current)Bs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Bs=!1,lc(e,t,n);Bs=!!(e.flags&131072)}else Bs=!1,ka&&t.flags&1048576&&wa(t,va,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;sc(e,t),e=t.pendingProps;var a=na(t,$i.current);Qa(t,n),a=zo(null,t,i,e,a,n);var o=Bo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ra(i)?(o=!0,sa(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ao(t),a.updater=Es,t.stateNode=a,a._reactInternals=t,As(t,i,e,n),t=Ys(null,t,i,!0,o,n)):(t.tag=0,ka&&o&&Ta(t),Vs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(sc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=eu(i),e=ws(i,e),a){case 0:t=qs(null,t,i,e,n);break a;case 1:t=Js(null,t,i,e,n);break a;case 11:t=Hs(null,t,i,e,n);break a;case 14:t=Us(null,t,i,ws(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),qs(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),Js(e,t,i,a,n);case 3:a:{if(Xs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,oo(e,t),fo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=js(Error(r(423)),t),t=Zs(e,t,i,n,a);break a}else if(i!==a){a=js(Error(r(424)),t),t=Zs(e,t,i,n,a);break a}else for(Oa=Pi(t.stateNode.containerInfo.firstChild),Da=t,ka=!0,Aa=null,n=Wa(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(La(),i===a){t=cc(e,t,n);break a}Vs(e,t,i,n)}t=t.child}return t;case 5:return xo(t),e===null&&Na(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Di(i,a)?s=null:o!==null&&Di(i,o)&&(t.flags|=32),Ks(e,t),Vs(e,t,s,n),t.child;case 6:return e===null&&Na(t),null;case 13:return ec(e,t,n);case 4:return yo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=V(t,null,i,n):Vs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),Hs(e,t,i,a,n);case 7:return Vs(e,t,t.pendingProps,n),t.child;case 8:return Vs(e,t,t.pendingProps.children,n),t.child;case 12:return Vs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Zi(Ga,i._currentValue),i._currentValue=s,o!==null)if(Mr(o.value,s)){if(o.children===a.children&&!ea.current){t=cc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=so(-1,n&-n),l.tag=2;var u=o.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}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Za(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Za(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Vs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Qa(t,n),a=$a(a),i=i(a),t.flags|=1,Vs(e,t,i,n),t.child;case 14:return i=t.type,a=ws(i,t.pendingProps),a=ws(i.type,a),Us(e,t,i,a,n);case 15:return Ws(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ws(i,a),sc(e,t),t.tag=1,ra(i)?(e=!0,sa(t)):e=!1,Qa(t,n),Os(t,i,a),As(t,i,a,n),Ys(null,t,i,!0,e,n);case 19:return oc(e,t,n);case 22:return Gs(e,t,n)}throw Error(r(156,t.tag))};function Xl(e,t){return mt(e,t)}function Zl(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 Ql(e,t,n,r){return new Zl(e,t,n,r)}function $l(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eu(e){if(typeof e==`function`)return+!!$l(e);if(e!=null){if(e=e.$$typeof,e===k)return 11;if(e===j)return 14}return 2}function tu(e,t){var n=e.alternate;return n===null?(n=Ql(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 nu(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)$l(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return ru(n.children,a,o,t);case D:s=8,a|=8;break;case ee:return e=Ql(12,n,t,a|2),e.elementType=ee,e.lanes=o,e;case A:return e=Ql(13,n,t,a),e.elementType=A,e.lanes=o,e;case ne:return e=Ql(19,n,t,a),e.elementType=ne,e.lanes=o,e;case N:return iu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case O:s=10;break a;case te:s=9;break a;case k:s=11;break a;case j:s=14;break a;case M:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=Ql(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function ru(e,t,n,r){return e=Ql(7,e,r,t),e.lanes=n,e}function iu(e,t,n,r){return e=Ql(22,e,r,t),e.elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function au(e,t,n){return e=Ql(6,e,null,t),e.lanes=n,e}function ou(e,t,n){return t=Ql(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function su(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=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cu(e,t,n,r,i,a,o,s,c){return e=new su(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=Ql(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ao(a),e}function lu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function uu(e){if(!e)return Qi;e=e._reactInternals;a:{if(ct(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ra(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ra(n))return oa(e,n,t)}return t}function du(e,t,n,r,i,a,o,s,c){return e=cu(n,r,!0,e,i,a,o,s,c),e.context=uu(null),n=e.current,r=vl(),i=yl(n),a=so(r,i),a.callback=t??null,co(n,a,i),e.current.lanes=i,Vt(e,i,r),xl(e,r),e}function fu(e,t,n,r){var i=t.current,a=vl(),o=yl(i);return n=uu(n),t.context===null?t.context=n:t.pendingContext=n,t=so(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=co(i,t,o),e!==null&&(bl(e,i,o,a),lo(e,i,o)),o}function pu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function mu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hu(e,t){mu(e,t),(e=e.alternate)&&mu(e,t)}function gu(){return null}var _u=typeof reportError==`function`?reportError:function(e){console.error(e)};function vu(e){this._internalRoot=e}yu.prototype.render=vu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));fu(e,t,null,null)},yu.prototype.unmount=vu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kl(function(){fu(null,e,null,null)}),t[zi]=null}};function yu(e){this._internalRoot=e}yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<rn.length&&t!==0&&t<rn[n].priority;n++);rn.splice(n,0,e),n===0&&ln(e)}};function bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function Su(){}function Cu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=pu(o);a.call(e)}}var o=du(t,r,e,0,null,!1,!1,``,Su);return e._reactRootContainer=o,e[zi]=o.current,pi(e.nodeType===8?e.parentNode:e),kl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=pu(c);s.call(e)}}var c=cu(e,0,!1,null,null,!1,!1,``,Su);return e._reactRootContainer=c,e[zi]=c.current,pi(e.nodeType===8?e.parentNode:e),kl(function(){fu(t,c,n,r)}),c}function wu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=pu(o);s.call(e)}}fu(t,o,e,i)}else o=Cu(n,t,e,i,r);return pu(o)}Gt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pt(t.pendingLanes);n!==0&&(Ut(t,n|1),xl(t,vt()),!(G&6)&&(sl=vt()+500,ma()))}break;case 13:kl(function(){var t=ro(e,1);t!==null&&bl(t,e,1,vl())}),hu(e,1)}},Kt=function(e){if(e.tag===13){var t=ro(e,134217728);t!==null&&bl(t,e,134217728,vl()),hu(e,134217728)}},qt=function(e){if(e.tag===13){var t=yl(e),n=ro(e,t);n!==null&&bl(n,e,t,vl()),hu(e,t)}},Jt=function(){return R},Yt=function(e,t){var n=R;try{return R=e,t()}finally{R=n}},Ve=function(e,t,n){switch(t){case`input`:if(ve(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Ki(i);if(!a)throw Error(r(90));me(i),ve(i,a)}}}break;case`textarea`:Te(e,n);break;case`select`:t=n.value,t!=null&&Se(e,!!n.multiple,t,!1)}},qe=Ol,Je=kl;var Tu={usingClientEntryPoint:!1,Events:[Wi,Gi,Ki,Ge,Ke,Ol]},Eu={findFiberByHostInstance:Ui,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Du={bundleType:Eu.bundleType,version:Eu.version,rendererPackageName:Eu.rendererPackageName,rendererConfig:Eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ft(e),e===null?null:e.stateNode},findFiberByHostInstance:Eu.findFiberByHostInstance||gu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ou.isDisabled&&Ou.supportsFiber)try{Tt=Ou.inject(Du),Et=Ou}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!bu(t))throw Error(r(200));return lu(e,t,null,n)},e.createRoot=function(e,t){if(!bu(e))throw Error(r(299));var n=!1,i=``,a=_u;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=cu(e,1,!1,null,null,n,!1,i,a),e[zi]=t.current,pi(e.nodeType===8?e.parentNode:e),new vu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=ft(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return kl(e)},e.hydrate=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!bu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=_u;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=du(t,null,e,1,n??null,a,!1,o,s),e[zi]=t.current,pi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new yu(t)},e.render=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!xu(e))throw Error(r(40));return e._reactRootContainer?(kl(function(){wu(null,null,e,!1,function(){e._reactRootContainer=null,e[zi]=null})}),!0):!1},e.unstable_batchedUpdates=Ol,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!xu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return wu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),_=1,v=2,y=4,b=1,x=2,S=200,C=500,w=9007199254740991,T=`[object Arguments]`,E=`[object Array]`,D=`[object ArrayBuffer]`,ee=`[object AsyncFunction]`,O=`[object Boolean]`,te=`[object DataView]`,k=`[object Date]`,A=`[object Error]`,ne=`[object Function]`,j=`[object GeneratorFunction]`,M=`[object Map]`,N=`[object Number]`,re=`[object Object]`,ie=`[object Proxy]`,P=`[object RegExp]`,F=`[object Set]`,ae=`[object String]`,oe=`[object Symbol]`,se=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),ce=new Set([T,E,D,O,te,k,M,N,re,P,F,ae,oe,...se]),le=/\\(\\)?/g,ue=/\w*$/,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fe=/^\w*$/,pe=/^(?:0|[1-9]\d*)$/,I=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,me=Object.prototype,L=me.hasOwnProperty,he=me.toString,ge=me.propertyIsEnumerable;Function.prototype.toString.call(Object);var _e=Symbol.prototype.toString,ve=Symbol.prototype.valueOf;function ye(e){return typeof e==`object`&&!!e}function be(e,t){return e===t||e!==e&&t!==t}function xe(e){let t=L.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=he.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function Se(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?xe(e):he.call(e)}function Ce(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=w}function we(e,t){let n=typeof e,r=t??w;return!!r&&(n==`number`||n!=`symbol`&&pe.test(e))&&e>-1&&e%1==0&&e<r}function Te(e){return e!=null&&Ce(e.length)&&!ln(e)}function Ee(e){return ye(e)&&Te(e)}function De(e){return ye(e)&&Se(e)==T}function Oe(e){return ye(e)&&Ce(e.length)&&se.has(Se(e))}function ke(e){return typeof e==`symbol`||ye(e)&&Se(e)==oe}function Ae(e){return ye(e)&&Se(e)==M}function je(e){return ye(e)&&Se(e)==F}function Me(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||me)}function Ne(e){return e===e&&!un(e)}function Pe(e){if(typeof e==`string`)return e;if(Array.isArray(e))return ze(e,Pe)+``;if(ke(e))return _e.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Fe(e){return e==null?``:Pe(e)}function Ie(e){if(typeof e==`string`||ke(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Le(e){return e}function Re(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function ze(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function Be(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function Ve(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r;)if(t(e[n],n))return!0;return!1}function He(e){return e!==e}function Ue(e,t,n){let{length:r}=e,i=n-1;for(;++i<r;)if(t(e[i],i,e))return i;return-1}function We(e,t,n){let r=n-1,{length:i}=e;for(;++r<i;)if(e[r]===t)return r;return-1}function Ge(e,t,n){return t===t?We(e,t,n):Ue(e,He,n)}function Ke(e,t){return!!(e!=null&&e.length)&&Ge(e,t,0)>-1}function qe(e,t,n){let r=-1,i=e==null?0:e.length;for(;++r<i;)if(n(t,e[r]))return!0;return!1}function Je(e){let t=new Set,n=e==null?0:e.length;for(let r=0;r<n;r++)t.add(e[r]);return t}function Ye(e,t){return e.has(t)}function Xe(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function Ze(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function Qe(e){let t=-1,n=Array(e.size);return e.forEach(e=>{n[++t]=e}),n}function $e(e){let t=-1,n=Array(e.size);return e.forEach((e,r)=>{n[++t]=[r,e]}),n}function et(e,t){let n=Array.isArray(e),r=!n&&De(e),i=!n&&!r&&Oe(e),a=n||r||i,o=a?Xe(e.length,String):[],{length:s}=o;for(let n in e)(t||L.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||we(n,s)))&&o.push(n);return o}function tt(e){if(!Me(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))L.call(e,n)&&n!=`constructor`&&t.push(n);return t}function nt(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function rt(e){if(!un(e))return nt(e);let t=Me(e),n=[];for(let r in e)r==`constructor`&&(t||!L.call(e,r))||n.push(r);return n}function it(e){return Te(e)?et(e,!1):tt(e)}function at(e){return Te(e)?et(e,!0):rt(e)}function ot(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>ge.call(t,e))}function st(e){let t=[],n=e;for(;n;)Be(t,ot(n)),n=Object.getPrototypeOf(Object(n));return t}function ct(e){let t=it(e);return Array.isArray(e)?t:Be(t,ot(e))}function lt(e){let t=at(e);return Array.isArray(e)?t:Be(t,st(e))}function ut(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function dt(e,t,n){let r=e[t];(!(L.call(e,t)&&be(r,n))||n===void 0&&!(t in e))&&ut(e,t,n)}function ft(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?ut(i,n,e[n]):dt(i,n,e[n])}return i}function pt(e,t){return e&&ft(t,it(t),e)}function mt(e,t){return e&&ft(t,at(t),e)}function ht(e,t){return ft(e,ot(e),t)}function gt(e,t){return ft(e,st(e),t)}function _t(e,t,n){if(!un(n))return!1;let r=typeof t;return(r==`number`?Te(n)&&we(t,n.length):r==`string`&&t in n)?be(n[t],e):!1}function vt(e,t,n){let r=-1,{length:i}=t,a=i>2?t[2]:void 0;a&&_t(t[0],t[1],a)&&(i=1);let o=Object(e);for(;++r<i;){let e=t[r];e&&n(o,e)}return o}function yt(e,t,n){let r=-1,i=Object(e),a=n(e),{length:o}=a;for(;o--;){let e=a[++r];if(t(i[e],e,i)===!1)break}return e}function bt(e,t){return e&&yt(e,t,it)}function xt(e,t){if(e==null)return e;if(!Te(e))return bt(e,t);let{length:n}=e,r=-1,i=Object(e);for(;++r<n&&t(i[r],r,i)!==!1;);return e}function St(e){return Array.isArray(e)||De(e)||!!(e&&e[Symbol.isConcatSpreadable])}function Ct(e,t,n=St,r=!1,i=[]){let a=-1,{length:o}=e;for(;++a<o;){let o=e[a];t>0&&n(o)?t>1?Ct(o,t-1,n,r,i):Be(i,o):r||(i[i.length]=o)}return i}function wt(e,t,n){let r=-1,i=Ke,a=!0,{length:o}=e,s=[],c=t.length,l=t;if(!o)return s;n?(i=qe,a=!1):t.length>=S&&(i=Ye,a=!1,l=Je(t));outer:for(;++r<o;){let t=e[r],o=t;if(t=n||t!==0?t:0,a&&o===o){let e=c;for(;e--;)if(l[e]===o)continue outer;s.push(t)}else i(l,o,n)||s.push(t)}return s}function Tt(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(I,(e,n,r,i)=>(t.push(r?i.replace(le,`$1`):n||e),e)),t}var Et=new Map;function Dt(e){Et.size===C&&Et.clear();let t=Et.get(e);return t===void 0&&(t=Tt(e),Et.set(e,t)),t}function Ot(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||ke(e)?!0:fe.test(e)||!de.test(e)||t!=null&&e in Object(t)}function kt(e,t){return Array.isArray(e)?e:Ot(e,t)?[e]:Dt(Fe(e))}function At(e,t){let n=kt(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[Ie(n[r++])];return r&&r==i?a:void 0}function jt(e,t){return e!=null&&t in Object(e)}function Mt(e,t,n){let r=kt(t,e),i=-1,{length:a}=r,o=!1,s,c=e;for(;++i<a&&(s=Ie(r[i]),o=c!=null&&n(c,s),o);)c=c[s];return o||++i!=a?o:(a=c==null?0:c.length,!!a&&Ce(a)&&we(s,a)&&(Array.isArray(c)||De(c)))}function Nt(e,t){return e!=null&&Mt(e,t,jt)}function Pt(e){return t=>t?.[e]}function Ft(e){return t=>At(t,e)}function It(e){return Ot(e)?Pt(Ie(e)):Ft(e)}function Lt(e,t){return e.byteLength==t.byteLength&&Ht(new Uint8Array(e),new Uint8Array(t))}function Rt(e,t,n,r,i){let a=n&b,o=e.length,s=t.length;if(o!=s&&!(a&&s>o))return!1;let c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;let u=-1,d=!0,f=n&x?new Set:void 0;for(i.set(e,t),i.set(t,e);++u<o;){let o=e[u],s=t[u],c;if(r&&(c=a?r(s,o,u,t,e,i):r(o,s,u,e,t,i)),c!==void 0){if(c)continue;d=!1;break}if(f){if(!Ve(t,(e,t)=>!f.has(t)&&(o===e||Ht(o,e,n,r,i))?f.add(t):!1)){d=!1;break}}else if(!(o===s||Ht(o,s,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function zt(e,t,n,r,i,a){switch(n){case te:return e.byteLength==t.byteLength&&e.byteOffset==t.byteOffset&&Lt(e.buffer,t.buffer);case D:return Lt(e,t);case O:case k:case N:return be(+e,+t);case A:return e.name==t.name&&e.message==t.message;case P:case ae:return e==t+``;case M:case F:{let o=r&b;if(e.size!=t.size&&!o)return!1;let s=a.get(e);if(s)return s==t;let c=n==M?$e:Qe;a.set(e,t);let l=Rt(c(e),c(t),r|x,i,a);return a.delete(e),l}case oe:return ve.call(e)==ve.call(t)}return!1}function Bt(e,t,n,r,i){let a=n&b,o=ct(e),s=o.length;if(s!=ct(t).length&&!a)return!1;let c=s;for(;c--;){let e=o[c];if(!(a?e in t:L.call(t,e)))return!1}let l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;let d=!0;i.set(e,t),i.set(t,e);let f=!!a;for(;++c<s;){let s=o[c],l=e[s],u=t[s],p;if(r&&(p=a?r(u,l,s,t,e,i):r(l,u,s,e,t,i)),!(p===void 0?l===u||Ht(l,u,n,r,i):p)){d=!1;break}f||=s==`constructor`}if(d&&!f){let n=e.constructor,r=t.constructor;n!=r&&`constructor`in e&&`constructor`in t&&!(typeof n==`function`&&n instanceof n&&typeof r==`function`&&r instanceof r)&&(d=!1)}return i.delete(e),i.delete(t),d}function Vt(e,t,n,r,i){let a=Array.isArray(e),o=Array.isArray(t),s=a?E:Se(e),c=o?E:Se(t);s=s==T?re:s,c=c==T?re:c;let l=s==re,u=s==c;return u&&!l?a||Oe(e)?Rt(e,t,n,r,i||new Map):zt(e,t,s,n,r,i||new Map):u?Bt(e,t,n,r,i||new Map):!1}function Ht(e,t,n=0,r,i){return e===t?!0:e==null||t==null||!ye(e)&&!ye(t)?e!==e&&t!==t:Vt(e,t,n,r,i)}function Ut(e){return it(e).map(t=>[t,e[t],Ne(e[t])])}function R(e,t){return n=>n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}function Wt(e,t){let n=t.length,r=n;if(e==null)return!r;let i=Object(e);for(;n--;){let[e,r,a]=t[n];if(a?r!==i[e]:!(e in i))return!1}for(;++n<r;){let[e,r,a]=t[n],o=i[e];if(a){if(o===void 0&&!(e in i))return!1}else if(!Ht(r,o,3))return!1}return!0}function Gt(e){let t=Ut(e);return t.length==1&&t[0][2]?R(t[0][0],t[0][1]):n=>n===e||Wt(n,t)}function Kt(e,t){return Ot(e)&&Ne(t)?R(Ie(e),t):n=>{let r=on(n,e);return r===void 0&&r===t?Nt(n,e):Ht(t,r,3)}}function qt(e){return typeof e==`function`?e:e==null?Le:typeof e==`object`?Array.isArray(e)?Kt(e[0],e[1]):Gt(e):It(e)}function Jt(e){return un(e)?Object.create(e):{}}function Yt(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&L.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Xt(e){return typeof e.constructor==`function`&&!Me(e)?Jt(Object.getPrototypeOf(Object(e))):{}}function Zt(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function Qt(e,t){let n=t?Zt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $t(e,t,n){let r=e.constructor;switch(t){case D:return Zt(e);case O:case k:return new r(+e);case te:return new r(n?Zt(e.buffer):e.buffer,e.byteOffset,e.byteLength);case M:case F:return new r;case N:case ae:return new r(e);case P:{let t=new r(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}case oe:return Object(ve.call(e))}return se.has(t)?Qt(e,n):void 0}function en(e,t,n,r,i,a){let o,s=!!(t&_),c=!!(t&v),l=!!(t&y);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!un(e))return e;let u=Array.isArray(e);if(u){if(o=Yt(e),!s)return Ze(e,o)}else{let t=Se(e),n=t==ne||t==j;if(t==re||t==T||n&&!i){if(o=c||n?{}:Xt(e),!s)return c?gt(e,mt(o,e)):ht(e,pt(o,e))}else{if(!ce.has(t))return i?e:{};o=$t(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),je(e)?e.forEach(r=>{o.add(en(r,t,n,r,e,d))}):Ae(e)&&e.forEach((r,i)=>{o.set(i,en(r,t,n,i,e,d))});let p=u?void 0:(l?c?lt:ct:c?at:it)(e);return Re(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),dt(o,a,en(s,t,n,a,e,d))}),o}function tn(e,...t){return vt(e,t,(e,t)=>{if(Me(t)||Te(t)){ft(t,it(t),e);return}for(let n in t)L.call(t,n)&&dt(e,n,t[n])})}function nn(e){return en(e,5)}function rn(e){let t=-1,n=e==null?0:e.length,r=[];for(;++t<n;){let n=e[t];n&&r.push(n)}return r}function an(e,...t){return Ee(e)?wt(e,Ct(t,1,Ee,!0)):[]}function on(e,t,n){let r=e==null?void 0:At(e,t);return r===void 0?n:r}function sn(e){if(e==null)return!0;if(Te(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||Oe(e)||De(e)))return!e.length;let t=Se(e);if(t==M||t==F)return!e.size;if(Me(e))return!tt(e).length;for(let t in e)if(L.call(e,t))return!1;return!0}function cn(e,t){return Ht(e,t)}function ln(e){if(!un(e))return!1;let t=Se(e);return t==ne||t==j||t==ee||t==ie}function un(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function dn(e,t){let n=qt(t);if(Array.isArray(e))return ze(e,n);let r=-1,i=Te(e)?Array(e.length):[];return xt(e,(e,t,a)=>{i[++r]=n(e,t,a)}),i}var fn=()=>{};function pn(){let e=function(){};return e.enabled=!1,e.log=fn,e.extend=()=>e,e.destroy=fn,e}pn.log=fn,pn.enable=fn,pn.disable=()=>``,pn.enabled=()=>!1;var mn=`4.1.3`,hn=`https://github.com/pie-framework/pie-elements-ng/blob/develop/docs/MATH-RENDERING.md#assets`,gn=`@pie-lib/math-rendering@2`,_n=[`nemeth`,`euro`],vn=`mathjax@${mn}/sre`,yn=/^[^@]+@[^@]+$/;function bn(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.origin===`null`)return;let n=t.pathname.split(`/`);for(let e=n.length-1;e>0;e--){let r=n[e];if(r===`node_modules`)return;if(!yn.test(r))continue;let i=n[e-1]?.startsWith(`@`)?e-1:e;return t.origin+n.slice(0,i).join(`/`)}}function xn(){let e=globalThis[gn]?.opts;return e&&typeof e==`object`?e:{}}function Sn(e){if(typeof e!=`string`||!e)return;let t=typeof document>`u`?void 0:document.baseURI;try{return new URL(e,t).href.replace(/\/+$/,``)}catch{return}}function Cn(e){if(!e||typeof e!=`object`)return;let t=new Map;for(let[n,r]of Object.entries(e)){let e=Sn(r);e&&t.set(n,e)}return t.size?t:void 0}function wn(e){if(Array.isArray(e))return new Map(e.filter(e=>typeof e==`string`).map(e=>[e,void 0]));if(e&&typeof e==`object`)return new Map(Object.entries(e).map(([e,t])=>[e,typeof t==`string`?t:void 0]))}function Tn(e,t){let n=xn(),r=Sn(e.assetRoot??n.assetRoot)??bn(t);return{root:r,speechPath:Sn(e.speechPath??n.speechPath)??(r?`${r}/${vn}`:void 0),speechLocales:wn(e.speechLocales??n.speechLocales),urls:Cn(e.assetUrls??n.assetUrls)}}function En(e,t){if(!(!e||!t)){for(let n of[...e.keys()])!t.has(n)&&!_n.includes(n)&&e.delete(n);for(let[n,r]of t)(r||!e.has(n))&&e.set(n,r??n)}}function Dn(e){if(!(!e||e.has(`en`)))return[...e.keys()].find(e=>!_n.includes(e))}var On=`pie-mathjax-no-asset-root`,kn={untypeset:`no MathJax loads, so math stays untypeset`,"no-web-fonts":`math renders without web fonts`,"no-web-fonts-or-speech":`math renders without web fonts and speech`},An=Symbol.for(`@pie-element/shared-math-rendering-mathjax/no-assets`);function jn(e){let t=globalThis;t[An]??=[];let n=t[An];if(n.includes(e))return;n.push(e);let r=`[math-rendering] No asset root for MathJax: ${kn[e]}. Set window['${gn}'].opts.assetRoot to an npm root. See ${hn}`;e===`untypeset`?console.error(r):console.warn(r),!(typeof window>`u`)&&window.dispatchEvent(new CustomEvent(On,{detail:{effect:e,message:r,docsUrl:hn}}))}var Mn=`https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page`,Nn=`pie-mathjax-version-conflict`,Pn=Symbol.for(`@pie-element/shared-math-rendering-mathjax/unsupported-page`);function Fn(e,t){if(typeof window>`u`)return;let n=globalThis;n[Pn]??={logged:!1,conditions:[]};let r=n[Pn];if(r.conditions.includes(e))return;r.conditions.push(e);let i=`[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${Mn}`;r.logged||(r.logged=!0,console.error(i)),window.dispatchEvent(new CustomEvent(Nn,{detail:{condition:e,message:i,docsUrl:Mn}}))}function In(){let e=window.MathJax?.version;return typeof e==`string`&&e.startsWith(`3.`)?e:void 0}function Ln(){return window.MathJax}function Rn(e,{root:t,speechPath:n}){t&&(e.loader={...e.loader,paths:{fonts:`${t}/@mathjax`,"mathjax-newcm":`${t}/@mathjax/mathjax-newcm-font@${mn}`,"mathjax-mhchem-extension":`${t}/@mathjax/mathjax-mhchem-font-extension@${mn}`}}),n&&(e.options={...e.options,worker:{path:n,maps:`${n}/mathmaps`}})}function zn(e,t){let n=t.srcUrl||(t.root?`${t.root}/mathjax@4.1.3/tex-mml-chtml.js`:void 0);return n?(Rn(e,t),new Promise((t,r)=>{window.MathJax=e;let i=document.createElement(`script`);i.src=n,i.async=!0,i.onload=()=>t(!0),i.onerror=()=>r(Error(`Failed to load MathJax`)),document.head.appendChild(i)})):(jn(`untypeset`),Promise.resolve(!1))}var Bn=globalThis,Vn=`PIE-MJX-CHTML-styles`,Hn=[`MJX-CHTML-styles`,`MJX-SVG-styles`],Un=In,Wn=`http://www.w3.org/1998/Math/MathML`,Gn=/^([a-z_][\w.-]*):math$/,Kn=/^[a-z][a-z0-9-]*$/;function qn(e){for(let t of e.querySelectorAll(`*`)){let n=Gn.exec(t.tagName.toLowerCase())?.[1];!n||!e.contains(t)||t.closest(`mjx-container`)||t.replaceWith(Jn(t,`${n}:`))}}function Jn(e,t){let n=e.tagName.toLowerCase().slice(t.length);if(!Kn.test(n))return e;let r=e.ownerDocument.createElementNS(Wn,n);for(let t of e.attributes)r.setAttribute(t.name,t.value);for(let n of[...e.childNodes]){let e=n instanceof Element&&n.tagName.toLowerCase().startsWith(t);r.appendChild(e?Jn(n,t):n)}return r}var Yn=new Set([`updiagonalstrike`,`downdiagonalstrike`,`verticalstrike`,`horizontalstrike`]),Xn={thin:`0.035em`,medium:`0.07em`,thick:`0.14em`},Zn={tight:`0em`,medium:`0.1em`,loose:`0.2em`},Qn=/^(\d+(\.\d*)?|\.\d+)(em|ex|px|pt|pc|in|cm|mm)$/,$n=/^(#[0-9a-f]{3,8}|[a-z]+)$/i,er=/^(\d+(\.\d*)?|\.\d+)$/,tr=new Set([`mn`,`mo`,`mi`,`mtext`]),nr=new Set([`stackalign`,`charalign`,`charspacing`,`longdivstyle`]);function rr(e,t,n=[],r={}){let i=e.createElementNS(Wn,t);for(let[e,t]of Object.entries(r))i.setAttribute(e,t);for(let e of n)e&&i.appendChild(e);return i}function ir(e,t){let n=rr(e.document,`mo`);return n.textContent=t,n}function ar(e){let t=rr(e.document,`mn`);return t.textContent=`0`,rr(e.document,`mphantom`,[t])}function or(e,t){return e.getAttribute(t)?.trim().toLowerCase()||void 0}function sr(e,t){let n=Number.parseInt(e.getAttribute(t)??``,10);return Number.isFinite(n)?n:0}function cr(e){return e.localName===`none`||e.localName===`mrow`&&e.children.length===0&&!e.textContent?.trim()}function lr(e,t,n=e){switch(t){case`left`:return 0;case`center`:return Math.floor(e/2);case`right`:return e;default:return n}}function ur(e,t,n){let r=[],i,a,o=(e,t)=>{let s=e=>t.reduceRight((e,t)=>{let n=t.cloneNode(!1);return n.appendChild(e),n},e);if(e.localName===`mstyle`)for(let n of[...e.children])o(n,[...t,e]);else if(cr(e))r.push(null);else if(e.localName===`mn`&&e.children.length===0){let t=[...(e.textContent??``).trim()];for(let a of t){a===n.decimalPoint&&(i??=r.length);let t=e.cloneNode(!1);t.textContent=a,r.push(s(t))}t.length&&(a??=r.length)}else tr.has(e.localName)&&e.textContent?.trim()===n.decimalPoint&&(i??=r.length),r.push(s(e))};for(let t of e)o(t,[]);return{kind:`digits`,cells:r,anchor:lr(r.length,n.stackAlign,i??a),position:t}}function dr(e){return(e??``).toLowerCase().split(/\s+/).filter(e=>Yn.has(e))}function fr(e,t){let n=[...e.children].filter(e=>!cr(e));return n.length<=1?n[0]??null:rr(t.document,`mrow`,n)}function pr(e,t,n){let r=or(e,`location`)??`n`,i=dr(e.getAttribute(`crossout`)),a=[...e.children].map(e=>cr(e)?null:e.localName===`mscarry`?{content:fr(e,n),location:or(e,`location`)??r,crossout:e.hasAttribute(`crossout`)?dr(e.getAttribute(`crossout`)):i}:{content:e,location:r,crossout:i}),o=e.getAttribute(`scriptsizemultiplier`)?.trim()??``;return{kind:`carries`,carries:a,anchor:lr(a.length,n.stackAlign),position:t,scale:er.test(o)?o:`0.6`}}function mr(e){let t=or(e,`mslinethickness`)??`medium`,n=Xn[t]??(Qn.test(t)?t:`0.07em`),r=e.getAttribute(`mathcolor`)?.trim()??``;return`${n} solid ${$n.test(r)?r:`currentColor`}`}function hr(e,t,n){let r=Math.max(0,sr(e,`length`));return{kind:`line`,length:r,anchor:lr(r,n.stackAlign),position:t,border:mr(e)}}function gr(e,t,n,r,i){e.forEach((e,a)=>{let o=t+a*n+sr(e,`position`);switch(e.localName){case`msgroup`:gr([...e.children],o,sr(e,`shift`),r,i);break;case`msline`:i.push(hr(e,o,r));break;case`mscarries`:i.push(pr(e,o,r));break;case`msrow`:case`mrow`:i.push(ur([...e.children],o,r));break;default:i.push(ur([e],o,r))}})}function _r(e){return-e.anchor-e.position}function vr(e){return e.kind===`digits`?e.cells.length:e.kind===`carries`?e.carries.length:e.length}function yr(e){return _r(e)+vr(e)-1}function br(e,t,n,r){let i=e=>rr(r.document,`mpadded`,[t],{width:`0`,...e?{lspace:e}:{}}),a=(e,t)=>rr(r.document,e,t);switch(n){case`s`:return a(`munder`,[e,i(`-0.5width`)]);case`ne`:return a(`msup`,[e,i()]);case`se`:return a(`msub`,[e,i()]);case`nw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),a(`none`,[]),i(`-1width`)]);case`sw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),i(`-1width`),a(`none`,[])]);case`w`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[i(`-1width`),e]);case`e`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[e,i()]);default:return a(`mover`,[e,i(`-0.5width`)])}}function xr(e,t,n){let r=rr(n.document,`menclose`,[e],{notation:t.join(` `),"data-padding":`0.1em`,"data-thickness":`0.067em`}),i=t.some(e=>e.endsWith(`diagonalstrike`))?.167:t.includes(`horizontalstrike`)?.1:0;return i?rr(n.document,`mpadded`,[r],{lspace:`-${i}em`,width:`-${2*i}em`}):r}function Sr(e,t,n,r,i){let a=e&&t.crossout.length?xr(e,t.crossout,i):e;if(!t.content)return a;let o=rr(i.document,`mstyle`,[t.content],{scriptsizemultiplier:r});return br(a??ar(i),o,n,i)}function Cr(e,t){return e.carries[t-_r(e)]??null}function wr(e,t,n,r){let i=e.content;n.forEach((e,a)=>{let o=n.length-1-a,s=n[o],c=Cr(s,t),l=n.slice(0,o).some(e=>Cr(e,t));if(!c&&!l)return;let u=c??{content:ar(r),location:`n`,crossout:[]},d=a===0?u.location:`n`;i=Sr(i,u,d,s.scale,r)}),e.content=i}function Tr(e,t){let n=e.filter(e=>vr(e)>0),r=Math.min(0,...n.map(_r)),i=Math.max(r,...n.map(yr))-r+1,a=-r,o=[],s=new Map,c=()=>Array.from({length:i},()=>({content:null,borders:{}})),l=e=>e.length===0?Array.from({length:i},(e,t)=>t):Array.from({length:e.length},(t,n)=>a+_r(e)+n),u=[],d=[],f=e=>{let n=c();e.cells.forEach((t,r)=>{n[a+_r(e)+r].content=t}),u.length&&n.forEach((e,n)=>{wr(e,n-a,u,t)});for(let e of d)for(let t of l(e))n[t].borders.top=e.border;u=[],d=[],s.set(e,o.length),o.push(n)};for(let t of e)t.kind===`digits`?f(t):t.kind===`carries`?u.push(t):d.push(t);(u.length||!o.length)&&f({kind:`digits`,cells:[],anchor:0,position:0});let p=o[o.length-1];for(let e of d)for(let t of l(e))p[t].borders.bottom=e.border;return{rows:o,rowOf:s,origin:a}}function Er(e,{rows:t},n){let r=rr(n.document,`mtable`,t.map(e=>rr(n.document,`mtr`,e.map(e=>{let t=Object.entries(e.borders).map(([e,t])=>`border-${e}:${t}`).join(`;`);return rr(n.document,`mtd`,[e.content],{...t?{style:t}:{},...e.align?{columnalign:e.align}:{}})}))));for(let{name:t,value:n}of[...e.attributes])nr.has(t)||r.setAttribute(t,n);let i=or(e,`charspacing`)??`medium`,a=or(e,`charalign`);return r.setAttribute(`columnspacing`,Zn[i]??(Qn.test(i)?i:Zn.medium)),r.setAttribute(`columnalign`,a===`left`||a===`center`?a:`right`),r.setAttribute(`rowspacing`,`0`),r.setAttribute(`align`,e.getAttribute(`align`)??`baseline`),r}function Dr(e){return{document:e.ownerDocument,stackAlign:or(e,`stackalign`)??`decimalpoint`,decimalPoint:e.closest(`[decimalpoint]`)?.getAttribute(`decimalpoint`)?.trim().charAt(0)||`.`}}function Or(e){let t=Dr(e),n=[];return gr([...e.children],0,0,t,n),Er(e,Tr(n,t),t)}function kr(e,t,n,r,i,a){for(let o=n;o<=r;o++)e[t][o].borders[i]=a}function Ar(e,t){let n=ir(t,`)`);return n.setAttribute(`minsize`,`1.2em`),[rr(t.document,`mrow`,[e,rr(t.document,`mspace`,[],{width:`0.2em`})]),rr(t.document,`mpadded`,[n],{voffset:`0.1em`,lspace:`-0.15em`,depth:`-0.2em`,height:`-0.2em`})]}function jr(e){let t=Dr(e),[n,r,...i]=[...e.children],a=n&&!cr(n)?n:null,o=r&&!cr(r)?r:null,s=or(e,`longdivstyle`)??`lefttop`,c=mr(e),l=[];gr(i,0,0,t,l);let u=l.find(e=>e.kind===`digits`);u||(u={kind:`digits`,cells:[],anchor:0,position:0},l.unshift(u));let d=[],f=(...e)=>{u.cells.unshift(...e),u.anchor+=e.length},p=(...e)=>{let n=e.flatMap(e=>e?e.localName===`mrow`?[...e.children]:[e]:[]);u.cells.push(...ur(n,0,t).cells)};switch(s){case`left/\\right`:f(a,ir(t,`/`)),p(ir(t,`\\`),o);break;case`left)(right`:f(a,ir(t,`)`)),p(ir(t,`(`),o);break;case`:right=right`:p(ir(t,`:`),a,ir(t,`=`),o);break;case`righttop`:case`stackedleftlinetop`:case`lefttop`:o&&gr([o],0,0,t,d),l.splice(l.indexOf(u),0,...d),s===`righttop`?p(a):s===`stackedleftlinetop`?f(a):f(...Ar(a,t));break}let m=Tr(l,t),h=m.rows,g=m.rowOf.get(u)??0,_=e=>m.origin+_r(u)+e,v=Math.max(_(u.cells.length-1),...d.map(e=>m.origin+yr(e)));switch(s){case`left/\\right`:case`left)(right`:case`:right=right`:break;case`righttop`:{let e=h[g][_(u.cells.length-1)];e.borders.left=c,e.borders.bottom=c,kr(h,g,_(0),_(u.cells.length-1),`top`,c);break}case`stackedleftlinetop`:{let e=h[g][_(0)];e.borders.right=c,e.borders.bottom=c,kr(h,g,_(1),v,`top`,c);break}case`stackedrightright`:case`mediumstackedrightright`:case`shortstackedrightright`:case`stackedleftleft`:Mr(h,g,s,a,o,c,t);break;default:kr(h,g,_(1),v,`top`,c)}return Er(e,m,t)}function Mr(e,t,n,r,i,a,o){let s=n===`stackedleftleft`,c=s?`right`:`left`,l=e=>e&&rr(o.document,`mpadded`,[e],{lspace:`0.2em`,width:`+0.4em`});e.length<t+2&&e.push(e[0].map(()=>({content:null,borders:{}}))),e.forEach((e,o)=>{let u={content:null,borders:{},align:s?`right`:`left`};o===t?(u.content=l(r),u.borders={[c]:a,bottom:a}):o===t+1?(u.content=l(i),n!==`shortstackedrightright`&&(u.borders[c]=a)):o>t+1&&(n===`stackedrightright`||s)&&(u.borders[c]=a),s?e.unshift(u):e.push(u)})}function Nr(e){for(let t of[...e.querySelectorAll(`mstack, mlongdiv`)])!t.closest(`math`)||t.closest(`mjx-container`)||t.replaceWith(t.localName===`mstack`?Or(t):jr(t))}var Pr=`PIE-MJX-explorer-styles`,Fr=`var(--pie-text, black)`,Ir=`var(--pie-background, #ffffff)`,Lr=`var(--pie-border-dark, #66686A)`,Rr=`var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565C0)))`,zr=`color-mix(in srgb, ${Rr} 15%, transparent)`,Br=`
|
|
9
9
|
:root mjx-container [data-sre-highlight-1]:not([data-mjx-collapsed], rect) {
|
|
10
10
|
color: ${Fr} !important;
|
|
11
11
|
fill: ${Fr} !important;
|
|
@@ -40,7 +40,7 @@ Error generating stack: `+e.message+`
|
|
|
40
40
|
color: ${Fr} !important;
|
|
41
41
|
background-color: ${zr} !important;
|
|
42
42
|
}
|
|
43
|
-
`;function Vr(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=Pr,t.textContent=Br,e.head.appendChild(t)}var Hr=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Ur(){let e=globalThis;e[Hr]||(e[Hr]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${hn}`))}function Wr(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Ur()}function Gr(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>Wr(e),{once:!0}),a})}`${vn}`;var Kr={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},qr=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Jr=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Yr=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Xr=/\\embed\{newLine\}\[\]/g,Zr=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Qr=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),$r=`MJX-CHTML-styles`,ei=`PIE-MJX-SVG-styles`,ti=`PIE-MathJax-Menu-Settings`,ni={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},ri=200,ii=201;function ai(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function oi(e){for(let[t,n]of Zr)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function si(e){return oi(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var ci=`mathjax_ignore`,li=`mathjax_process`;function ui(e,t){let n=e.closest(`.${ci}, .${li}`);return n!==null&&t.contains(n)&&!n.classList.contains(li)}function di(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||ui(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${si(n)}\\)`.replace(Xr,`\\newline `),t.dataset.mathHandled=`true`)}}function fi(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function pi(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Yr:Jr).test(e.textContent??``)}function mi(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Tn(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=Ln();return hi(t)&&gi(t),e}}},startup:{typeset:!1,ready:()=>{let e=Ln(),r=e?.startup,i=hi(e);i&&(gi(e),_i(e,s.speechLocales),En(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(vi(r?.document),r?.document?.addStyles?.(ni),Gr(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Kr}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(qr),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=Dn(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),zn(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function hi(e){return!!e?.version?.startsWith(`4.`)}function gi(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=Vn);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=ei)}function _i(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=ti;try{let e=localStorage.getItem(ti);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(ti,JSON.stringify(i)):localStorage.removeItem(ti)}catch{}}}function vi(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(ai(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,ii,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&ai(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===$r&&(r.id=Vn),xi()}function yi(e){return e instanceof HTMLStyleElement&&Hn.includes(e.id)}function bi(e){Fn(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function xi(){let e=document.head,t=[...e.children].find(yi);if(t){bi(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(yi);if(e){bi(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Si(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=ri&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Ci(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=Ln()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function wi(e){let t=Ln();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Ci(t):mi(e)}function Ti(e){return wi(e).then(()=>{let e=Ln();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function Ei(e){let t=Bn,n=t[Qr];return n||(n=Ti(e),t[Qr]=n),n}function Di(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=Un();r&&Fn(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),di(n),qn(n),fi(n),Nr(n);let i=Ei(e);if(!pi(n,t)){i.catch(()=>{});return}await i;let a=Ln();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){Vr(),Si(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}ai(n)}}}var Oi=/[-]/g,ki={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},Ai={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},ji={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},Mi={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},Ni={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...Ai,...ji,...Mi},Pi=new Set([`|`,`‖`]),Fi=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),Ii={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},Li={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Ri={2:[`half`,`halves`],3:[`third`,`thirds`],4:[`quarter`,`quarters`],5:[`fifth`,`fifths`],6:[`sixth`,`sixths`],7:[`seventh`,`sevenths`],8:[`eighth`,`eighths`],9:[`ninth`,`ninths`],10:[`tenth`,`tenths`]},zi=e=>(e.textContent??``).replace(Oi,``).replace(/\s+/g,` `).trim(),Bi=e=>e.replace(/\s+/g,` `).trim(),Vi=e=>[...e.children];function Hi(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?Hi(e.children[0]):!1}function Ui(e){let t=e?zi(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Wi(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function Gi(e){return Ii[e]??e}function Ki(e){return Ni[e]??e}function qi(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(na(r)),n=!0;continue}let e=zi(r);e&&(!n&&ki[e]?t.push(ki[e]):e in Mi?t.push(Mi[e]):(t.push(Ki(e)),n=e in ji||Pi.has(e)&&n))}return t.filter(Boolean).join(` `)}function Ji(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(zi(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&zi(t)===zi(r)&&!a.some(i)){let e=Bi(qi(a));return zi(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return qi(e)}function Yi(e,t){let n=Ui(e),r=Ui(t),i=r===void 0?void 0:Ri[r];if(n!==void 0&&i)return`${n} ${n===1?i[0]:i[1]}`;let a=e?na(e):``,o=t?na(t):``;return Hi(e)&&Hi(t)?`${a} over ${o}`:`the fraction with numerator ${a} and denominator ${o}`}function Xi(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function Zi(e,t){let n=t?zi(t):``;if(t&&Hi(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in Mi)return`${e} ${Mi[n]}`}let r=t?na(t):``;return Hi(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function Qi(e,t){let n=t?na(t):``;return Hi(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function $i(e,t,n){let r=zi(e);if(r===`lim`)return`limit as ${t?na(t):``} of`;if(!Fi.has(r))return;let i=t?`from ${na(t)}`:``,a=n?`to ${na(n)}`:``;return`${Ki(r)} ${i} ${a} of`}function ea(e){let t=Vi(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Vi(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>Bi(qi(Vi(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function ta(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Vi(e).map((e,t,n)=>t<n.length-1?`${na(e)} ${Ki(r[Math.min(t,r.length-1)]??`,`)}`:na(e));return[Ki(t),...i,Ki(n)].filter(Boolean).join(` `)}function na(e){let t=Vi(e);switch(e.localName){case`mi`:return Gi(zi(e));case`mn`:case`mtext`:case`ms`:return zi(e);case`mo`:return Ki(zi(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?na(t[0]):``;case`mfrac`:return Yi(t[0],t[1]);case`msqrt`:return Xi(Bi(qi(t)),`square root`,t.length===1&&Hi(t[0]));case`mroot`:{let e=Ui(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Wi(e)} root`:`root with index ${t[1]?na(t[1]):``}`;return Xi(t[0]?na(t[0]):``,n,Hi(t[0]))}case`msup`:return Zi(t[0]?na(t[0]):``,t[1]);case`msub`:return Qi(t[0]?na(t[0]):``,t[1]);case`msubsup`:return(t[0]?$i(t[0],t[1],t[2]):void 0)||Zi(Qi(t[0]?na(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?$i(n,a,o):void 0;if(s)return s;let c=n?na(n):``,l=e.localName===`mover`&&r?Li[zi(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${na(a)} below`:``,o?`with ${na(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return ta(e);case`mtable`:return ea(e);case`mrow`:case`math`:return Ji(t);default:return t.length?qi(t):zi(e)}}function ra(e){return Bi(na(e))}var ia=new Set(`address.article.aside.blockquote.br.dd.div.dl.dt.fieldset.figure.footer.h1.h2.h3.h4.h5.h6.header.hr.li.ol.p.pre.section.table.td.th.tr.ul`.split(`.`)),aa=e=>e.replace(/\s+/g,` `).trim();function oa(e){return e.getAttribute(`aria-hidden`)===`true`||e.hidden===!0||e.style?.display===`none`}function sa(e){return e.localName===`math`?e:e.querySelector(`math`)}function ca(e,t,n){if(e.nodeType===3)return e.textContent??``;if(!(e instanceof Element)||oa(e))return``;let r=e.localName===`mjx-container`||e.localName===`math`?sa(e):null;if(r){let e=aa(t(r)??r.textContent??``);return e&&(n.math=!0),` ${e} `}if(e.localName===`mjx-container`)return` `;let i=e.getAttribute(`aria-label`)?.trim();if(i)return` ${i} `;if(e.localName===`img`)return` ${e.getAttribute(`alt`)??``} `;let a=[...e.childNodes].map(e=>ca(e,t,n)).join(``);return ia.has(e.localName)?` ${a} `:a}function la(e,t={}){let n=t.speak??ra,r={math:!1},i=aa([...e.childNodes].map(e=>ca(e,n,r)).join(``));return r.math&&i?i:void 0}var ua=`@pie-lib/math-rendering`,da=`@pie-lib/math-rendering@2`,fa=`pie-print`,pa=50,ma=1e4,ha=null;function ga(){return!!window[da]?.opts?.useSingleDollar}function _a(){return ha||=Di({useSingleDollar:ga()}),ha}function va(){if(typeof window>`u`)return null;let e=window[ua];return typeof e?.renderMath==`function`&&e.renderMath!==Sa?e:null}function ya(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===fa)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function ba(){let e=window.renderMath;return typeof e==`function`?e:null}async function xa(e){let t=ya(e);if(!t)return null;let n=ba();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+ma;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,pa));let e=ba();if(e)return e}return null}var Sa=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=va(),i=r||t?null:await xa(n);return r?await r.renderMath?.(n):i&&i!==Sa?await i(n):await _a()(n),t?n.innerHTML:void 0};(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var Ca=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},wa=function(){return null};wa.isRequired=wa;var Ta=()=>wa,z={array:wa,bigint:wa,bool:wa,func:wa,number:wa,object:wa,string:wa,symbol:wa,any:wa,element:wa,elementType:wa,node:wa,arrayOf:Ta,instanceOf:Ta,objectOf:Ta,oneOf:Ta,oneOfType:Ta,shape:Ta,exact:Ta,checkPropTypes:()=>{},resetWarningCache:()=>{}};z.PropTypes=z;function Ea(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Da=`$$material`;function Oa(){return Oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oa.apply(null,arguments)}function ka(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Aa(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var ja=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Aa(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=ka(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ma=`-ms-`,Na=`-moz-`,B=`-webkit-`,Pa=`comm`,Fa=`rule`,Ia=`decl`,La=`@import`,Ra=`@keyframes`,za=`@layer`,Ba=Math.abs,Va=String.fromCharCode,Ha=Object.assign;function Ua(e,t){return qa(e,0)^45?(((t<<2^qa(e,0))<<2^qa(e,1))<<2^qa(e,2))<<2^qa(e,3):0}function Wa(e){return e.trim()}function Ga(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,n){return e.replace(t,n)}function Ka(e,t){return e.indexOf(t)}function qa(e,t){return e.charCodeAt(t)|0}function Ja(e,t,n){return e.slice(t,n)}function Ya(e){return e.length}function Xa(e){return e.length}function Za(e,t){return t.push(e),e}function Qa(e,t){return e.map(t).join(``)}var $a=1,eo=1,to=0,no=0,ro=0,io=``;function ao(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:$a,column:eo,length:o,return:``}}function oo(e,t){return Ha(ao(``,null,null,``,null,null,0),e,{length:-e.length},t)}function so(){return ro}function co(){return ro=no>0?qa(io,--no):0,eo--,ro===10&&(eo=1,$a--),ro}function lo(){return ro=no<to?qa(io,no++):0,eo++,ro===10&&(eo=1,$a++),ro}function uo(){return qa(io,no)}function fo(){return no}function po(e,t){return Ja(io,e,t)}function mo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ho(e){return $a=eo=1,to=Ya(io=e),no=0,[]}function go(e){return io=``,e}function _o(e){return Wa(po(no-1,bo(e===91?e+2:e===40?e+1:e)))}function vo(e){for(;(ro=uo())&&ro<33;)lo();return mo(e)>2||mo(ro)>3?``:` `}function yo(e,t){for(;--t&&lo()&&!(ro<48||ro>102||ro>57&&ro<65||ro>70&&ro<97););return po(e,fo()+(t<6&&uo()==32&&lo()==32))}function bo(e){for(;lo();)switch(ro){case e:return no;case 34:case 39:e!==34&&e!==39&&bo(ro);break;case 40:e===41&&bo(e);break;case 92:lo();break}return no}function xo(e,t){for(;lo()&&e+ro!==57&&!(e+ro===84&&uo()===47););return`/*`+po(t,no-1)+`*`+Va(e===47?e:lo())}function So(e){for(;!mo(uo());)lo();return po(e,no)}function Co(e){return go(wo(``,null,null,null,[``],e=ho(e),0,[0],e))}function wo(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=lo()){case 40:if(m!=108&&qa(C,d-1)==58){Ka(C+=V(_o(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=_o(v);break;case 9:case 10:case 13:case 32:C+=vo(m);break;case 92:C+=yo(fo()-1,7);continue;case 47:switch(uo()){case 42:case 47:Za(Eo(xo(lo(),fo()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Ya(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=V(C,/\f/g,``)),p>0&&Ya(C)-d&&Za(p>32?Do(C+`;`,r,n,d-1):Do(V(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Za(S=To(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)wo(C,t,S,S,b,a,d,s,x);else switch(f===99&&qa(C,3)===110?100:f){case 100:case 108:case 109:case 115:wo(e,S,S,r&&Za(To(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:wo(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Ya(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&co()==125)continue}switch(C+=Va(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Ya(C)-1)*_,_=1;break;case 64:uo()===45&&(C+=_o(lo())),f=uo(),u=d=Ya(y=C+=So(fo())),v++;break;case 45:m===45&&Ya(C)==2&&(h=0)}}return a}function To(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Xa(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Ja(e,d+1,d=Ba(h=o[m])),y=e;_<p;++_)(y=Wa(h>0?f[_]+` `+v:V(v,/&\f/g,f[_])))&&(c[g++]=y);return ao(e,t,n,i===0?Fa:s,c,l,u)}function Eo(e,t,n){return ao(e,t,n,Pa,Va(so()),Ja(e,2,-2),0)}function Do(e,t,n,r){return ao(e,t,n,Ia,Ja(e,0,r),Ja(e,r+1,-1),r)}function Oo(e,t){for(var n=``,r=Xa(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function ko(e,t,n,r){switch(e.type){case za:if(e.children.length)break;case La:case Ia:return e.return=e.return||e.value;case Pa:return``;case Ra:return e.return=e.value+`{`+Oo(e.children,r)+`}`;case Fa:e.value=e.props.join(`,`)}return Ya(n=Oo(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Ao(e){var t=Xa(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function jo(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mo(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var No=function(e,t,n){for(var r=0,i=0;r=i,i=uo(),r===38&&i===12&&(t[n]=1),!mo(i);)lo();return po(e,no)},Po=function(e,t){var n=-1,r=44;do switch(mo(r)){case 0:r===38&&uo()===12&&(t[n]=1),e[n]+=No(no-1,t,n);break;case 2:e[n]+=_o(r);break;case 4:if(r===44){e[++n]=uo()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Va(r)}while(r=lo());return e},Fo=function(e,t){return go(Po(ho(e),t))},Io=new WeakMap,Lo=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Io.get(n))&&!r){Io.set(e,!0);for(var i=[],a=Fo(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Ro=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function zo(e,t){switch(Ua(e,t)){case 5103:return B+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+Na+e+Ma+e+e;case 6828:case 4268:return B+e+Ma+e+e;case 6165:return B+e+Ma+`flex-`+e+e;case 5187:return B+e+V(e,/(\w+).+(:[^]+)/,B+`box-$1$2`+Ma+`flex-$1$2`)+e;case 5443:return B+e+Ma+`flex-item-`+V(e,/flex-|-self/,``)+e;case 4675:return B+e+Ma+`flex-line-pack`+V(e,/align-content|flex-|-self/,``)+e;case 5548:return B+e+Ma+V(e,`shrink`,`negative`)+e;case 5292:return B+e+Ma+V(e,`basis`,`preferred-size`)+e;case 6060:return B+`box-`+V(e,`-grow`,``)+B+e+Ma+V(e,`grow`,`positive`)+e;case 4554:return B+V(e,/([^-])(transform)/g,`$1`+B+`$2`)+e;case 6187:return V(V(V(e,/(zoom-|grab)/,B+`$1`),/(image-set)/,B+`$1`),e,``)+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,B+`box-pack:$3`+Ma+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+B+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,B+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ya(e)-1-t>6)switch(qa(e,t+1)){case 109:if(qa(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,`$1`+B+`$2-$3$1`+Na+(qa(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Ka(e,`stretch`)?zo(V(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(qa(e,t+1)!==115)break;case 6444:switch(qa(e,Ya(e)-3-(~Ka(e,`!important`)&&10))){case 107:return V(e,`:`,`:`+B)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+B+(qa(e,14)===45?`inline-`:``)+`box$3$1`+B+`$2$3$1`+Ma+`$2box$3`)+e}break;case 5936:switch(qa(e,t+11)){case 114:return B+e+Ma+V(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return B+e+Ma+V(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return B+e+Ma+V(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return B+e+Ma+e+e}return e}var Bo=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ia:e.return=zo(e.value,e.length);break;case Ra:return Oo([oo(e,{value:V(e.value,`@`,`@`+B)})],r);case Fa:if(e.length)return Qa(e.props,function(t){switch(Ga(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Oo([oo(e,{props:[V(t,/:(read-\w+)/,`:`+Na+`$1`)]})],r);case`::placeholder`:return Oo([oo(e,{props:[V(t,/:(plac\w+)/,`:`+B+`input-$1`)]}),oo(e,{props:[V(t,/:(plac\w+)/,`:`+Na+`$1`)]}),oo(e,{props:[V(t,/:(plac\w+)/,Ma+`input-$1`)]})],r)}return``})}}],Vo=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Bo,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Lo,Ro],l,u=[ko,jo(function(e){l.insert(e)})],d=Ao(c.concat(r,u)),f=function(e){return Oo(Co(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new ja({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Ho=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Uo=o(((e,t)=>{t.exports=Ho()})),Wo=o(((e,t)=>{var n=Uo(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Go(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ko=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},qo=function(e,t,n){Ko(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Jo(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Yo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xo=/[A-Z]|^ms/g,Zo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qo=function(e){return e.charCodeAt(1)===45},$o=function(e){return e!=null&&typeof e!=`boolean`},es=Mo(function(e){return Qo(e)?e:e.replace(Xo,`-$&`).toLowerCase()}),ts=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Zo,function(e,t,n){return as={name:t,styles:n,next:as},t})}return Yo[e]!==1&&!Qo(e)&&typeof t==`number`&&t!==0?t+`px`:t};function ns(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return as={name:i.name,styles:i.styles,next:as},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)as={name:o.name,styles:o.styles,next:as},o=o.next;return a.styles+`;`}return rs(e,t,n);case`function`:if(e!==void 0){var s=as,c=n(e);return as=s,ns(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function rs(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ns(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:$o(s)&&(r+=es(a)+`:`+ts(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)$o(o[c])&&(r+=es(a)+`:`+ts(a,o[c])+`;`);else{var l=ns(e,t,o);switch(a){case`animation`:case`animationName`:r+=es(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var is=/label:\s*([^\s;{]+)\s*(;|$)/g,as;function os(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;as=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=ns(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=ns(n,t,e[o]),r&&(i+=a[o]);is.lastIndex=0;for(var s=``,c;(c=is.exec(i))!==null;)s+=`-`+c[1];return{name:Jo(i)+s,styles:i,next:as}}var H=l(d()),ss=function(e){return e()},cs=H.useInsertionEffect?H.useInsertionEffect:!1,ls=cs||ss,us=cs||H.useLayoutEffect,ds=H.createContext(typeof HTMLElement<`u`?Vo({key:`css`}):null),fs=ds.Provider,ps=function(e){return(0,H.forwardRef)(function(t,n){return e(t,(0,H.useContext)(ds),n)})},ms=H.createContext({}),hs={}.hasOwnProperty,gs=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,_s=function(e,t){var n={};for(var r in t)hs.call(t,r)&&(n[r]=t[r]);return n[gs]=e,n},vs=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ko(t,n,r),ls(function(){return qo(t,n,r)}),null},ys=ps(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[gs],a=[r],o=``;typeof e.className==`string`?o=Go(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=os(a,void 0,H.useContext(ms));o+=t.key+`-`+s.name;var c={};for(var l in e)hs.call(e,l)&&l!==`css`&&l!==gs&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),H.createElement(H.Fragment,null,H.createElement(vs,{cache:t,serialized:s,isStringTag:typeof i==`string`}),H.createElement(i,c))});Wo();var bs=function(e,t){var n=arguments;if(t==null||!hs.call(t,`css`))return H.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=ys,i[1]=_s(e,t);for(var a=2;a<r;a++)i[a]=n[a];return H.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(bs||={});var xs=ps(function(e,t){var n=e.styles,r=os([n],void 0,H.useContext(ms)),i=H.useRef();return us(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),us(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&qo(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Ss(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return os(t)}function Cs(){var e=Ss.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var ws=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ts=Mo(function(e){return ws.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Es=function(e){return e!==`theme`},Ds=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Ts:Es},Os=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},ks=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ko(t,n,r),ls(function(){return qo(t,n,r)}),null},As=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Os(t,n,r),c=s||Ds(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=ps(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=H.useContext(ms)}typeof e.className==`string`?a=Go(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=os(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Ds(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),H.createElement(H.Fragment,null,H.createElement(ks,{cache:t,serialized:m,isStringTag:typeof r==`string`}),H.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,Oa({},n,r,{shouldForwardProp:Os(h,r,!0)})).apply(void 0,d)},h}},js=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),Ms=As.bind(null);js.forEach(function(e){Ms[e]=Ms(e)});var Ns=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),U=o(((e,t)=>{t.exports=Ns()}))(),Ps=new Map,Fs={insert:void 0},Is=(e,t)=>{let n=Vo(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ls;if(typeof document==`object`&&(Ls=document.querySelector(`[name="emotion-insertion-point"]`),!Ls)){Ls=document.createElement(`meta`),Ls.setAttribute(`name`,`emotion-insertion-point`),Ls.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ls)}function Rs(e,t){if(e||t){class n extends ja{insert(e,t){return Fs.insert?Fs.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ls),super.insert(e,t))}}let r=Is({key:`css`,insertionPoint:e?Ls:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function zs(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=H.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ps.has(e))return Ps.get(e);let r=Rs(t,n);return Ps.set(e,r),r},[t,n]);return i?(0,U.jsx)(fs,{value:i,children:r}):r}function Bs(e){return e==null||Object.keys(e).length===0}function Vs(e){let{styles:t,defaultTheme:n={}}=e;return(0,U.jsx)(xs,{styles:typeof t==`function`?e=>t(Bs(e)?n:e):t})}function Hs(e,t){return Ms(e,t)}function Us(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ws=[];function Gs(e){return Ws[0]=e,os(Ws)}var Ks=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),qs=o(((e,t)=>{t.exports=Ks()}))();function Js(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ys(e){if(H.isValidElement(e)||(0,qs.isValidElementType)(e)||!Js(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Ys(e[n])}),t}function Xs(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Js(e)&&Js(t)&&Object.keys(t).forEach(i=>{H.isValidElement(t[i])||(0,qs.isValidElementType)(t[i])?r[i]=t[i]:Js(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Js(e[i])?r[i]=Xs(e[i],t[i],n):n.clone?r[i]=Js(t[i])?Ys(t[i]):t[i]:r[i]=t[i]}),r}var Zs=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Qs(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Zs(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function $s(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function ec(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function tc(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function nc(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var rc={borderRadius:4};function ic(e,t){return t?Xs(e,t,{clone:!1}):e}var ac={xs:0,sm:600,md:900,lg:1200,xl:1536},oc={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${ac[e]}px)`},sc={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ac[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function cc(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||oc;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||oc;return Object.keys(t).reduce((i,a)=>{if(ec(e.keys,a)){let e=tc(r.containerQueries?r:sc,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||ac).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function lc(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function uc(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function dc(e){if(typeof e!=`string`)throw Error(Ea(7));return e.charAt(0).toUpperCase()+e.slice(1)}function fc(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function pc(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:fc(e,n)||r,t&&(i=t(i,r,e)),i}function W(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=fc(o,r)||{};return cc(e,a,e=>{let r=pc(s,i,e);return e===r&&typeof e==`string`&&(r=pc(s,i,`${t}${e==="default"?``:dc(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function mc(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var hc={m:`margin`,p:`padding`},gc={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},_c={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},vc=mc(e=>{if(e.length>2)if(_c[e])e=_c[e];else return[e];let[t,n]=e.split(``),r=hc[t],i=gc[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),G=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],yc=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],bc=[...G,...yc];function xc(e,t,n,r){let i=fc(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Sc(e){return xc(e,`spacing`,8,`spacing`)}function Cc(e,t){return typeof t==`string`||t==null?t:e(t)}function wc(e,t){return n=>e.reduce((e,r)=>(e[r]=Cc(t,n),e),{})}function Tc(e,t,n,r){if(!t.includes(n))return null;let i=wc(vc(n),r),a=e[n];return cc(e,a,i)}function Ec(e,t){let n=Sc(e.theme);return Object.keys(e).map(r=>Tc(e,t,r,n)).reduce(ic,{})}function Dc(e){return Ec(e,G)}Dc.propTypes={},Dc.filterProps=G;function Oc(e){return Ec(e,yc)}Oc.propTypes={},Oc.filterProps=yc;function kc(e){return Ec(e,bc)}kc.propTypes={},kc.filterProps=bc;function Ac(e=8,t=Sc({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function jc(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?ic(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Mc(e){return typeof e==`number`?`${e}px solid`:e}function Nc(e,t){return W({prop:e,themeKey:`borders`,transform:t})}var Pc=Nc(`border`,Mc),Fc=Nc(`borderTop`,Mc),Ic=Nc(`borderRight`,Mc),Lc=Nc(`borderBottom`,Mc),Rc=Nc(`borderLeft`,Mc),zc=Nc(`borderColor`),Bc=Nc(`borderTopColor`),Vc=Nc(`borderRightColor`),Hc=Nc(`borderBottomColor`),Uc=Nc(`borderLeftColor`),Wc=Nc(`outline`,Mc),Gc=Nc(`outlineColor`),Kc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=xc(e.theme,`shape.borderRadius`,4,`borderRadius`);return cc(e,e.borderRadius,e=>({borderRadius:Cc(t,e)}))}return null};Kc.propTypes={},Kc.filterProps=[`borderRadius`],jc(Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Kc,Wc,Gc);var qc=e=>{if(e.gap!==void 0&&e.gap!==null){let t=xc(e.theme,`spacing`,8,`gap`);return cc(e,e.gap,e=>({gap:Cc(t,e)}))}return null};qc.propTypes={},qc.filterProps=[`gap`];var K=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=xc(e.theme,`spacing`,8,`columnGap`);return cc(e,e.columnGap,e=>({columnGap:Cc(t,e)}))}return null};K.propTypes={},K.filterProps=[`columnGap`];var Jc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=xc(e.theme,`spacing`,8,`rowGap`);return cc(e,e.rowGap,e=>({rowGap:Cc(t,e)}))}return null};Jc.propTypes={},Jc.filterProps=[`rowGap`],jc(qc,K,Jc,W({prop:`gridColumn`}),W({prop:`gridRow`}),W({prop:`gridAutoFlow`}),W({prop:`gridAutoColumns`}),W({prop:`gridAutoRows`}),W({prop:`gridTemplateColumns`}),W({prop:`gridTemplateRows`}),W({prop:`gridTemplateAreas`}),W({prop:`gridArea`}));function Yc(e,t){return t===`grey`?t:e}jc(W({prop:`color`,themeKey:`palette`,transform:Yc}),W({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Yc}),W({prop:`backgroundColor`,themeKey:`palette`,transform:Yc}));function Xc(e){return e<=1&&e!==0?`${e*100}%`:e}var Zc=W({prop:`width`,transform:Xc}),Qc=e=>e.maxWidth!==void 0&&e.maxWidth!==null?cc(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||ac[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Xc(t)}}):null;Qc.filterProps=[`maxWidth`];var $c=W({prop:`minWidth`,transform:Xc}),el=W({prop:`height`,transform:Xc}),tl=W({prop:`maxHeight`,transform:Xc}),nl=W({prop:`minHeight`,transform:Xc});W({prop:`size`,cssProperty:`width`,transform:Xc}),W({prop:`size`,cssProperty:`height`,transform:Xc}),jc(Zc,Qc,$c,el,tl,nl,W({prop:`boxSizing`}));var rl={border:{themeKey:`borders`,transform:Mc},borderTop:{themeKey:`borders`,transform:Mc},borderRight:{themeKey:`borders`,transform:Mc},borderBottom:{themeKey:`borders`,transform:Mc},borderLeft:{themeKey:`borders`,transform:Mc},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Mc},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Kc},color:{themeKey:`palette`,transform:Yc},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Yc},backgroundColor:{themeKey:`palette`,transform:Yc},p:{style:Oc},pt:{style:Oc},pr:{style:Oc},pb:{style:Oc},pl:{style:Oc},px:{style:Oc},py:{style:Oc},padding:{style:Oc},paddingTop:{style:Oc},paddingRight:{style:Oc},paddingBottom:{style:Oc},paddingLeft:{style:Oc},paddingX:{style:Oc},paddingY:{style:Oc},paddingInline:{style:Oc},paddingInlineStart:{style:Oc},paddingInlineEnd:{style:Oc},paddingBlock:{style:Oc},paddingBlockStart:{style:Oc},paddingBlockEnd:{style:Oc},m:{style:Dc},mt:{style:Dc},mr:{style:Dc},mb:{style:Dc},ml:{style:Dc},mx:{style:Dc},my:{style:Dc},margin:{style:Dc},marginTop:{style:Dc},marginRight:{style:Dc},marginBottom:{style:Dc},marginLeft:{style:Dc},marginX:{style:Dc},marginY:{style:Dc},marginInline:{style:Dc},marginInlineStart:{style:Dc},marginInlineEnd:{style:Dc},marginBlock:{style:Dc},marginBlockStart:{style:Dc},marginBlockEnd:{style:Dc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:qc},rowGap:{style:Jc},columnGap:{style:K},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Xc},maxWidth:{style:Qc},minWidth:{transform:Xc},height:{transform:Xc},maxHeight:{transform:Xc},minHeight:{transform:Xc},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function il(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function al(e,t){return typeof e==`function`?e(t):e}function ol(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=fc(n,s)||{};return l?l(i):cc(i,t,t=>{let n=pc(u,c,t);return t===n&&typeof t==`string`&&(n=pc(u,c,`${e}${t==="default"?``:dc(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??rl;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=lc(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=al(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=ic(l,e(n,a,i,o));else{let e=cc({theme:i},a,e=>({[n]:e}));il(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=ic(l,e)}else l=ic(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":$s(i,uc(c,l))}:$s(i,uc(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var sl=ol();sl.filterProps=[`sx`];function cl(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function ll(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Qs(n),c=Ac(i),l=Xs({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...rc,...a}},o);return l=nc(l),l.applyStyles=cl,l=t.reduce((e,t)=>Xs(e,t),l),l.unstable_sxConfig={...rl,...o?.unstable_sxConfig},l.unstable_sx=function(e){return sl({sx:e,theme:this})},l}function ul(e){return Object.keys(e).length===0}function dl(e=null){let t=H.useContext(ms);return!t||ul(t)?e:t}var fl=ll();function pl(e=fl){return dl(e)}function ml(e){let t=Gs(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function hl({styles:e,themeId:t,defaultTheme:n={}}){let r=pl(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>ml(typeof e==`function`?e(i):e)):ml(a)),(0,U.jsx)(Vs,{styles:a})}var gl=e=>e,_l=(()=>{let e=gl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gl}}})();function vl(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;t<i;t++)e[t]&&(n=vl(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function q(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=vl(e))&&(r&&(r+=` `),r+=t);return r}var yl={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function bl(e,t,n=`Mui`){let r=yl[t];return r?`${n}-${r}`:`${_l.generate(e)}-${t}`}function xl(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=bl(e,t,n)}),r}function Sl(e){let{variants:t,...n}=e,r={variants:t,style:Gs(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Gs(e.style))}),r}var Cl=ll();function wl(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Tl(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function El(e){return e?(t,n)=>n[e]:null}function Dl(e,t,n){e.theme=jl(e.theme)?n:e.theme[t]||e.theme}function Ol(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Ol(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Tl(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Tl(Gs(i),n):i}return kl(e,r.variants,[t],n)}return r?.isProcessed?n?Tl(Gs(r.style),n):r.style:n?Tl(Gs(r),n):r}function kl(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Tl(Gs(o.style(i)),r):o.style(i))):n.push(r?Tl(Gs(o.style),r):o.style)}return n}function Al(e={}){let{themeId:t,defaultTheme:n=Cl,rootShouldForwardProp:r=wl,slotShouldForwardProp:i=wl}=e;function a(e){Dl(e,t,n)}return(e,t={})=>{Us(e,e=>e.filter(e=>e!==sl));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=El(Nl(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=wl;o===`Root`||o===`root`?m=r:o?m=i:Ml(e)&&(m=void 0);let h=Hs(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Ol(t,e,t.theme.modularCssLayers?d:void 0)};if(Js(e)){let t=Sl(e);return function(e){return t.variants?Ol(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Tl(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Ol(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?kl(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(sl),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function jl(e){for(let t in e)return!1;return!0}function Ml(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Nl(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Pl(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=Pl(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=q(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Fl=typeof window<`u`?H.useLayoutEffect:H.useEffect;function Il(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Ll(e,t=0,n=1){return Il(e,t,n)}function Rl(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function zl(e){if(e.type)return e;if(e.charAt(0)===`#`)return zl(Rl(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Ea(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Ea(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var Bl=e=>{let t=zl(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Vl=(e,t)=>{try{return Bl(e)}catch{return e}};function Hl(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Ul(e){e=zl(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Hl({type:s,values:c})}function Wl(e){e=zl(e);let t=e.type===`hsl`||e.type===`hsla`?zl(Ul(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Gl(e,t){let n=Wl(e),r=Wl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Kl(e,t){return e=zl(e),t=Ll(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Hl(e)}function ql(e,t,n){try{return Kl(e,t)}catch{return e}}function Jl(e,t){if(e=zl(e),t=Ll(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Hl(e)}function Yl(e,t,n){try{return Jl(e,t)}catch{return e}}function Xl(e,t){if(e=zl(e),t=Ll(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Hl(e)}function Zl(e,t,n){try{return Xl(e,t)}catch{return e}}function Ql(e,t=.15){return Wl(e)>.5?Jl(e,t):Xl(e,t)}function $l(e,t,n){try{return Ql(e,t)}catch{return e}}var eu=H.createContext(null);function tu(){return H.useContext(eu)}var nu=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function ru(e,t){return typeof t==`function`?t(e):{...e,...t}}function iu(e){let{children:t,theme:n}=e,r=tu(),i=H.useMemo(()=>{let e=r===null?{...n}:ru(r,n);return e!=null&&(e[nu]=r!==null),e},[n,r]);return(0,U.jsx)(eu.Provider,{value:i,children:t})}var au=H.createContext();function ou({value:e,...t}){return(0,U.jsx)(au.Provider,{value:e??!0,...t})}var su=()=>H.useContext(au)??!1,cu=H.createContext(void 0);function lu({value:e,children:t}){return(0,U.jsx)(cu.Provider,{value:e,children:t})}function uu(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Pl(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Pl(i,r,t.components.mergeClassNameAndStyle):r}function du({props:e,name:t}){return uu({props:e,name:t,theme:{components:H.useContext(cu)}})}var fu=0;function pu(e){let[t,n]=H.useState(e),r=e||t;return H.useEffect(()=>{t??(fu+=1,n(`mui-${fu}`))},[t]),r}var mu={...H}.useId;function hu(e){if(mu!==void 0){let t=mu();return e??t}return pu(e)}function gu(e){let t=dl(),n=hu()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Fl(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,U.jsx)(hl,{styles:i}):null}var _u={};function vu(e,t,n,r=!1){return H.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function yu(e){let{children:t,theme:n,themeId:r}=e,i=dl(_u),a=tu()||_u,o=vu(r,i,n),s=vu(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=gu(o);return(0,U.jsx)(iu,{theme:s,children:(0,U.jsx)(ms.Provider,{value:o,children:(0,U.jsx)(ou,{value:c,children:(0,U.jsxs)(lu,{value:r?o[r].components:o.components,children:[l,t]})})})})}var bu={theme:void 0};function xu(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(bu.theme=r.theme,i=Sl(e(bu)),t=i,n=r.theme),i}}var Su=`mode`,Cu=`color-scheme`,wu=`data-color-scheme`;function Tu(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Su,colorSchemeStorageKey:a=Cu,attribute:o=wu,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
43
|
+
`;function Vr(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=Pr,t.textContent=Br,e.head.appendChild(t)}var Hr=/[-]/g,Ur={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},Wr={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},Gr={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},Kr={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},qr={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...Wr,...Gr,...Kr},Jr=new Set([`|`,`‖`]),Yr=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),Xr={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},Zr={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Qr=e=>(e.textContent??``).replace(Hr,``).replace(/\s+/g,` `).trim(),$r=e=>e.replace(/\s+/g,` `).trim(),ei=e=>[...e.children];function ti(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?ti(e.children[0]):!1}function ni(e){let t=e?Qr(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function ri(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function ii(e){return Xr[e]??e}function ai(e){return qr[e]??e}function oi(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(hi(r)),n=!0;continue}let e=Qr(r);e&&(!n&&Ur[e]?t.push(Ur[e]):e in Kr?t.push(Kr[e]):(t.push(ai(e)),n=e in Gr||Jr.has(e)&&n))}return t.filter(Boolean).join(` `)}function si(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Qr(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Qr(t)===Qr(r)&&!a.some(i)){let e=$r(oi(a));return Qr(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return oi(e)}function ci(e,t){let n=e?hi(e):``,r=t?hi(t):``;return ti(e)&&ti(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function li(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function ui(e,t){let n=t?Qr(t):``;if(t&&ti(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in Kr)return`${e} ${Kr[n]}`}let r=t?hi(t):``;return ti(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function di(e,t){let n=t?hi(t):``;return ti(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function fi(e,t,n){let r=Qr(e);if(r===`lim`)return`limit as ${t?hi(t):``} of`;if(!Yr.has(r))return;let i=t?`from ${hi(t)}`:``,a=n?`to ${hi(n)}`:``;return`${ai(r)} ${i} ${a} of`}function pi(e){let t=ei(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>ei(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>$r(oi(ei(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function mi(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=ei(e).map((e,t,n)=>t<n.length-1?`${hi(e)} ${ai(r[Math.min(t,r.length-1)]??`,`)}`:hi(e));return[ai(t),...i,ai(n)].filter(Boolean).join(` `)}function hi(e){let t=ei(e);switch(e.localName){case`mi`:return ii(Qr(e));case`mn`:case`mtext`:case`ms`:return Qr(e);case`mo`:return ai(Qr(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?hi(t[0]):``;case`mfrac`:return ci(t[0],t[1]);case`msqrt`:return li($r(oi(t)),`square root`,t.length===1&&ti(t[0]));case`mroot`:{let e=ni(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${ri(e)} root`:`root with index ${t[1]?hi(t[1]):``}`;return li(t[0]?hi(t[0]):``,n,ti(t[0]))}case`msup`:return ui(t[0]?hi(t[0]):``,t[1]);case`msub`:return di(t[0]?hi(t[0]):``,t[1]);case`msubsup`:return(t[0]?fi(t[0],t[1],t[2]):void 0)||ui(di(t[0]?hi(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?fi(n,a,o):void 0;if(s)return s;let c=n?hi(n):``,l=e.localName===`mover`&&r?Zr[Qr(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${hi(a)} below`:``,o?`with ${hi(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return mi(e);case`mtable`:return pi(e);case`mrow`:case`math`:return si(t);default:return t.length?oi(t):Qr(e)}}function gi(e){return $r(hi(e))}var _i=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function vi(e){if(e.hasAttribute(`aria-label`)||!e.closest(_i))return;let t=e.querySelector(`math`),n=t?gi(t):``;n&&e.setAttribute(`aria-label`,n)}function yi(e){for(let t of e.querySelectorAll(`mjx-container`))vi(t)}var bi=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function xi(){let e=globalThis;e[bi]||(e[bi]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${hn}`))}function Si(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),xi()}function Ci(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>Si(e),{once:!0}),a})}`${vn}`;var wi={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},Ti=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Ei=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Di=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Oi=/\\embed\{newLine\}\[\]/g,ki=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Ai=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),ji=`MJX-CHTML-styles`,Mi=`PIE-MJX-SVG-styles`,Ni=`PIE-MathJax-Menu-Settings`,Pi={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},Fi=200,Ii=201,Li=202;function Ri(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function zi(e){for(let[t,n]of ki)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function Bi(e){return zi(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var Vi=`mathjax_ignore`,Hi=`mathjax_process`;function Ui(e,t){let n=e.closest(`.${Vi}, .${Hi}`);return n!==null&&t.contains(n)&&!n.classList.contains(Hi)}function Wi(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||Ui(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${Bi(n)}\\)`.replace(Oi,`\\newline `),t.dataset.mathHandled=`true`)}}function Gi(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function Ki(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Di:Ei).test(e.textContent??``)}function qi(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Tn(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=Ln();return Ji(t)&&Yi(t),e}}},startup:{typeset:!1,ready:()=>{let e=Ln(),r=e?.startup,i=Ji(e);i&&(Yi(e),Xi(e,s.speechLocales),En(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Zi(r?.document),Qi(r?.document),r?.document?.addStyles?.(Pi),Ci(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...wi}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(Ti),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=Dn(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),zn(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function Ji(e){return!!e?.version?.startsWith(`4.`)}function Yi(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=Vn);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=Mi)}function Xi(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=Ni;try{let e=localStorage.getItem(Ni);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(Ni,JSON.stringify(i)):localStorage.removeItem(Ni)}catch{}}}function Zi(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(Ri(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,Ii,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&Ri(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===ji&&(r.id=Vn),ta()}function Qi(e){let t=e=>{e.typesetRoot&&vi(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,Li,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function $i(e){return e instanceof HTMLStyleElement&&Hn.includes(e.id)}function ea(e){Fn(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function ta(){let e=document.head,t=[...e.children].find($i);if(t){ea(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find($i);if(e){ea(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function na(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=Fi&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function ra(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=Ln()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function ia(e){let t=Ln();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():ra(t):qi(e)}function aa(e){return ia(e).then(()=>{let e=Ln();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function oa(e){let t=Bn,n=t[Ai];return n||(n=aa(e),t[Ai]=n),n}function sa(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=Un();r&&Fn(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),Wi(n),qn(n),Gi(n),Nr(n);let i=oa(e);if(!Ki(n,t)){i.catch(()=>{});return}await i;let a=Ln();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){Vr(),na(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}Ri(n),yi(n)}}}var ca=`@pie-lib/math-rendering`,la=`@pie-lib/math-rendering@2`,ua=`pie-print`,da=50,fa=1e4,pa=null;function ma(){return!!window[la]?.opts?.useSingleDollar}function ha(){return pa||=sa({useSingleDollar:ma()}),pa}function ga(){if(typeof window>`u`)return null;let e=window[ca];return typeof e?.renderMath==`function`&&e.renderMath!==ba?e:null}function _a(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===ua)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function va(){let e=window.renderMath;return typeof e==`function`?e:null}async function ya(e){let t=_a(e);if(!t)return null;let n=va();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+fa;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,da));let e=va();if(e)return e}return null}var ba=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=ga(),i=r||t?null:await ya(n);return r?(await r.renderMath?.(n),yi(n)):i&&i!==ba?(await i(n),yi(n)):await ha()(n),t?n.innerHTML:void 0};(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var xa=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},Sa=function(){return null};Sa.isRequired=Sa;var Ca=()=>Sa,z={array:Sa,bigint:Sa,bool:Sa,func:Sa,number:Sa,object:Sa,string:Sa,symbol:Sa,any:Sa,element:Sa,elementType:Sa,node:Sa,arrayOf:Ca,instanceOf:Ca,objectOf:Ca,oneOf:Ca,oneOfType:Ca,shape:Ca,exact:Ca,checkPropTypes:()=>{},resetWarningCache:()=>{}};z.PropTypes=z;function wa(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Ta=`$$material`;function Ea(){return Ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ea.apply(null,arguments)}function Da(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Oa(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var ka=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Oa(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Da(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Aa=`-ms-`,ja=`-moz-`,B=`-webkit-`,Ma=`comm`,Na=`rule`,Pa=`decl`,Fa=`@import`,Ia=`@keyframes`,La=`@layer`,Ra=Math.abs,za=String.fromCharCode,Ba=Object.assign;function Va(e,t){return Ga(e,0)^45?(((t<<2^Ga(e,0))<<2^Ga(e,1))<<2^Ga(e,2))<<2^Ga(e,3):0}function Ha(e){return e.trim()}function Ua(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,n){return e.replace(t,n)}function Wa(e,t){return e.indexOf(t)}function Ga(e,t){return e.charCodeAt(t)|0}function Ka(e,t,n){return e.slice(t,n)}function qa(e){return e.length}function Ja(e){return e.length}function Ya(e,t){return t.push(e),e}function Xa(e,t){return e.map(t).join(``)}var Za=1,Qa=1,$a=0,eo=0,to=0,no=``;function ro(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Za,column:Qa,length:o,return:``}}function io(e,t){return Ba(ro(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ao(){return to}function oo(){return to=eo>0?Ga(no,--eo):0,Qa--,to===10&&(Qa=1,Za--),to}function so(){return to=eo<$a?Ga(no,eo++):0,Qa++,to===10&&(Qa=1,Za++),to}function co(){return Ga(no,eo)}function lo(){return eo}function uo(e,t){return Ka(no,e,t)}function fo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function po(e){return Za=Qa=1,$a=qa(no=e),eo=0,[]}function mo(e){return no=``,e}function ho(e){return Ha(uo(eo-1,vo(e===91?e+2:e===40?e+1:e)))}function go(e){for(;(to=co())&&to<33;)so();return fo(e)>2||fo(to)>3?``:` `}function _o(e,t){for(;--t&&so()&&!(to<48||to>102||to>57&&to<65||to>70&&to<97););return uo(e,lo()+(t<6&&co()==32&&so()==32))}function vo(e){for(;so();)switch(to){case e:return eo;case 34:case 39:e!==34&&e!==39&&vo(to);break;case 40:e===41&&vo(e);break;case 92:so();break}return eo}function yo(e,t){for(;so()&&e+to!==57&&!(e+to===84&&co()===47););return`/*`+uo(t,eo-1)+`*`+za(e===47?e:so())}function bo(e){for(;!fo(co());)so();return uo(e,eo)}function xo(e){return mo(So(``,null,null,null,[``],e=po(e),0,[0],e))}function So(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=so()){case 40:if(m!=108&&Ga(C,d-1)==58){Wa(C+=V(ho(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=ho(v);break;case 9:case 10:case 13:case 32:C+=go(m);break;case 92:C+=_o(lo()-1,7);continue;case 47:switch(co()){case 42:case 47:Ya(wo(yo(so(),lo()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=qa(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=V(C,/\f/g,``)),p>0&&qa(C)-d&&Ya(p>32?To(C+`;`,r,n,d-1):To(V(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Ya(S=Co(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)So(C,t,S,S,b,a,d,s,x);else switch(f===99&&Ga(C,3)===110?100:f){case 100:case 108:case 109:case 115:So(e,S,S,r&&Ya(Co(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:So(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+qa(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&oo()==125)continue}switch(C+=za(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(qa(C)-1)*_,_=1;break;case 64:co()===45&&(C+=ho(so())),f=co(),u=d=qa(y=C+=bo(lo())),v++;break;case 45:m===45&&qa(C)==2&&(h=0)}}return a}function Co(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Ja(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Ka(e,d+1,d=Ra(h=o[m])),y=e;_<p;++_)(y=Ha(h>0?f[_]+` `+v:V(v,/&\f/g,f[_])))&&(c[g++]=y);return ro(e,t,n,i===0?Na:s,c,l,u)}function wo(e,t,n){return ro(e,t,n,Ma,za(ao()),Ka(e,2,-2),0)}function To(e,t,n,r){return ro(e,t,n,Pa,Ka(e,0,r),Ka(e,r+1,-1),r)}function Eo(e,t){for(var n=``,r=Ja(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Do(e,t,n,r){switch(e.type){case La:if(e.children.length)break;case Fa:case Pa:return e.return=e.return||e.value;case Ma:return``;case Ia:return e.return=e.value+`{`+Eo(e.children,r)+`}`;case Na:e.value=e.props.join(`,`)}return qa(n=Eo(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Oo(e){var t=Ja(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function ko(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ao(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var jo=function(e,t,n){for(var r=0,i=0;r=i,i=co(),r===38&&i===12&&(t[n]=1),!fo(i);)so();return uo(e,eo)},Mo=function(e,t){var n=-1,r=44;do switch(fo(r)){case 0:r===38&&co()===12&&(t[n]=1),e[n]+=jo(eo-1,t,n);break;case 2:e[n]+=ho(r);break;case 4:if(r===44){e[++n]=co()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=za(r)}while(r=so());return e},No=function(e,t){return mo(Mo(po(e),t))},Po=new WeakMap,Fo=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Po.get(n))&&!r){Po.set(e,!0);for(var i=[],a=No(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Io=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Lo(e,t){switch(Va(e,t)){case 5103:return B+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+ja+e+Aa+e+e;case 6828:case 4268:return B+e+Aa+e+e;case 6165:return B+e+Aa+`flex-`+e+e;case 5187:return B+e+V(e,/(\w+).+(:[^]+)/,B+`box-$1$2`+Aa+`flex-$1$2`)+e;case 5443:return B+e+Aa+`flex-item-`+V(e,/flex-|-self/,``)+e;case 4675:return B+e+Aa+`flex-line-pack`+V(e,/align-content|flex-|-self/,``)+e;case 5548:return B+e+Aa+V(e,`shrink`,`negative`)+e;case 5292:return B+e+Aa+V(e,`basis`,`preferred-size`)+e;case 6060:return B+`box-`+V(e,`-grow`,``)+B+e+Aa+V(e,`grow`,`positive`)+e;case 4554:return B+V(e,/([^-])(transform)/g,`$1`+B+`$2`)+e;case 6187:return V(V(V(e,/(zoom-|grab)/,B+`$1`),/(image-set)/,B+`$1`),e,``)+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,B+`box-pack:$3`+Aa+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+B+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,B+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qa(e)-1-t>6)switch(Ga(e,t+1)){case 109:if(Ga(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,`$1`+B+`$2-$3$1`+ja+(Ga(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Wa(e,`stretch`)?Lo(V(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Ga(e,t+1)!==115)break;case 6444:switch(Ga(e,qa(e)-3-(~Wa(e,`!important`)&&10))){case 107:return V(e,`:`,`:`+B)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+B+(Ga(e,14)===45?`inline-`:``)+`box$3$1`+B+`$2$3$1`+Aa+`$2box$3`)+e}break;case 5936:switch(Ga(e,t+11)){case 114:return B+e+Aa+V(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return B+e+Aa+V(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return B+e+Aa+V(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return B+e+Aa+e+e}return e}var Ro=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Pa:e.return=Lo(e.value,e.length);break;case Ia:return Eo([io(e,{value:V(e.value,`@`,`@`+B)})],r);case Na:if(e.length)return Xa(e.props,function(t){switch(Ua(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Eo([io(e,{props:[V(t,/:(read-\w+)/,`:`+ja+`$1`)]})],r);case`::placeholder`:return Eo([io(e,{props:[V(t,/:(plac\w+)/,`:`+B+`input-$1`)]}),io(e,{props:[V(t,/:(plac\w+)/,`:`+ja+`$1`)]}),io(e,{props:[V(t,/:(plac\w+)/,Aa+`input-$1`)]})],r)}return``})}}],zo=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Ro,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Fo,Io],l,u=[Do,ko(function(e){l.insert(e)})],d=Oo(c.concat(r,u)),f=function(e){return Eo(xo(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new ka({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Bo=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Vo=o(((e,t)=>{t.exports=Bo()})),Ho=o(((e,t)=>{var n=Vo(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Uo(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Wo=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Go=function(e,t,n){Wo(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Ko(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jo=/[A-Z]|^ms/g,Yo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xo=function(e){return e.charCodeAt(1)===45},Zo=function(e){return e!=null&&typeof e!=`boolean`},Qo=Ao(function(e){return Xo(e)?e:e.replace(Jo,`-$&`).toLowerCase()}),$o=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Yo,function(e,t,n){return rs={name:t,styles:n,next:rs},t})}return qo[e]!==1&&!Xo(e)&&typeof t==`number`&&t!==0?t+`px`:t};function es(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return rs={name:i.name,styles:i.styles,next:rs},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)rs={name:o.name,styles:o.styles,next:rs},o=o.next;return a.styles+`;`}return ts(e,t,n);case`function`:if(e!==void 0){var s=rs,c=n(e);return rs=s,es(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function ts(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=es(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Zo(s)&&(r+=Qo(a)+`:`+$o(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Zo(o[c])&&(r+=Qo(a)+`:`+$o(a,o[c])+`;`);else{var l=es(e,t,o);switch(a){case`animation`:case`animationName`:r+=Qo(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var ns=/label:\s*([^\s;{]+)\s*(;|$)/g,rs;function is(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;rs=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=es(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=es(n,t,e[o]),r&&(i+=a[o]);ns.lastIndex=0;for(var s=``,c;(c=ns.exec(i))!==null;)s+=`-`+c[1];return{name:Ko(i)+s,styles:i,next:rs}}var H=l(d()),as=function(e){return e()},os=H.useInsertionEffect?H.useInsertionEffect:!1,ss=os||as,cs=os||H.useLayoutEffect,ls=H.createContext(typeof HTMLElement<`u`?zo({key:`css`}):null),us=ls.Provider,ds=function(e){return(0,H.forwardRef)(function(t,n){return e(t,(0,H.useContext)(ls),n)})},fs=H.createContext({}),ps={}.hasOwnProperty,ms=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,hs=function(e,t){var n={};for(var r in t)ps.call(t,r)&&(n[r]=t[r]);return n[ms]=e,n},gs=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Wo(t,n,r),ss(function(){return Go(t,n,r)}),null},_s=ds(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[ms],a=[r],o=``;typeof e.className==`string`?o=Uo(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=is(a,void 0,H.useContext(fs));o+=t.key+`-`+s.name;var c={};for(var l in e)ps.call(e,l)&&l!==`css`&&l!==ms&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),H.createElement(H.Fragment,null,H.createElement(gs,{cache:t,serialized:s,isStringTag:typeof i==`string`}),H.createElement(i,c))});Ho();var vs=function(e,t){var n=arguments;if(t==null||!ps.call(t,`css`))return H.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=_s,i[1]=hs(e,t);for(var a=2;a<r;a++)i[a]=n[a];return H.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(vs||={});var ys=ds(function(e,t){var n=e.styles,r=is([n],void 0,H.useContext(fs)),i=H.useRef();return cs(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),cs(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&Go(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function bs(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return is(t)}function xs(){var e=bs.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var Ss=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Cs=Ao(function(e){return Ss.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ws=function(e){return e!==`theme`},Ts=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Cs:ws},Es=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Ds=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Wo(t,n,r),ss(function(){return Go(t,n,r)}),null},Os=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Es(t,n,r),c=s||Ts(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=ds(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=H.useContext(fs)}typeof e.className==`string`?a=Uo(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=is(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Ts(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),H.createElement(H.Fragment,null,H.createElement(Ds,{cache:t,serialized:m,isStringTag:typeof r==`string`}),H.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,Ea({},n,r,{shouldForwardProp:Es(h,r,!0)})).apply(void 0,d)},h}},ks=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),As=Os.bind(null);ks.forEach(function(e){As[e]=As(e)});var js=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),U=o(((e,t)=>{t.exports=js()}))(),Ms=new Map,Ns={insert:void 0},Ps=(e,t)=>{let n=zo(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Fs;if(typeof document==`object`&&(Fs=document.querySelector(`[name="emotion-insertion-point"]`),!Fs)){Fs=document.createElement(`meta`),Fs.setAttribute(`name`,`emotion-insertion-point`),Fs.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Fs)}function Is(e,t){if(e||t){class n extends ka{insert(e,t){return Ns.insert?Ns.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Fs),super.insert(e,t))}}let r=Ps({key:`css`,insertionPoint:e?Fs:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Ls(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=H.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ms.has(e))return Ms.get(e);let r=Is(t,n);return Ms.set(e,r),r},[t,n]);return i?(0,U.jsx)(us,{value:i,children:r}):r}function Rs(e){return e==null||Object.keys(e).length===0}function zs(e){let{styles:t,defaultTheme:n={}}=e;return(0,U.jsx)(ys,{styles:typeof t==`function`?e=>t(Rs(e)?n:e):t})}function Bs(e,t){return As(e,t)}function Vs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Hs=[];function Us(e){return Hs[0]=e,is(Hs)}var Ws=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),Gs=o(((e,t)=>{t.exports=Ws()}))();function Ks(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function qs(e){if(H.isValidElement(e)||(0,Gs.isValidElementType)(e)||!Ks(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=qs(e[n])}),t}function Js(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Ks(e)&&Ks(t)&&Object.keys(t).forEach(i=>{H.isValidElement(t[i])||(0,Gs.isValidElementType)(t[i])?r[i]=t[i]:Ks(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ks(e[i])?r[i]=Js(e[i],t[i],n):n.clone?r[i]=Ks(t[i])?qs(t[i]):t[i]:r[i]=t[i]}),r}var Ys=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Xs(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ys(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function Zs(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Qs(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function $s(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function ec(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var tc={borderRadius:4};function nc(e,t){return t?Js(e,t,{clone:!1}):e}var rc={xs:0,sm:600,md:900,lg:1200,xl:1536},ic={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${rc[e]}px)`},ac={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:rc[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function oc(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||ic;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||ic;return Object.keys(t).reduce((i,a)=>{if(Qs(e.keys,a)){let e=$s(r.containerQueries?r:ac,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||rc).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function sc(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function cc(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function lc(e){if(typeof e!=`string`)throw Error(wa(7));return e.charAt(0).toUpperCase()+e.slice(1)}function uc(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function dc(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:uc(e,n)||r,t&&(i=t(i,r,e)),i}function fc(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=uc(o,r)||{};return oc(e,a,e=>{let r=dc(s,i,e);return e===r&&typeof e==`string`&&(r=dc(s,i,`${t}${e==="default"?``:lc(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function pc(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var mc={m:`margin`,p:`padding`},hc={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},gc={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},_c=pc(e=>{if(e.length>2)if(gc[e])e=gc[e];else return[e];let[t,n]=e.split(``),r=mc[t],i=hc[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),vc=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],yc=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],W=[...vc,...yc];function bc(e,t,n,r){let i=uc(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function xc(e){return bc(e,`spacing`,8,`spacing`)}function Sc(e,t){return typeof t==`string`||t==null?t:e(t)}function Cc(e,t){return n=>e.reduce((e,r)=>(e[r]=Sc(t,n),e),{})}function wc(e,t,n,r){if(!t.includes(n))return null;let i=Cc(_c(n),r),a=e[n];return oc(e,a,i)}function Tc(e,t){let n=xc(e.theme);return Object.keys(e).map(r=>wc(e,t,r,n)).reduce(nc,{})}function Ec(e){return Tc(e,vc)}Ec.propTypes={},Ec.filterProps=vc;function Dc(e){return Tc(e,yc)}Dc.propTypes={},Dc.filterProps=yc;function Oc(e){return Tc(e,W)}Oc.propTypes={},Oc.filterProps=W;function kc(e=8,t=xc({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Ac(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?nc(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function jc(e){return typeof e==`number`?`${e}px solid`:e}function Mc(e,t){return fc({prop:e,themeKey:`borders`,transform:t})}var Nc=Mc(`border`,jc),Pc=Mc(`borderTop`,jc),Fc=Mc(`borderRight`,jc),Ic=Mc(`borderBottom`,jc),Lc=Mc(`borderLeft`,jc),Rc=Mc(`borderColor`),zc=Mc(`borderTopColor`),Bc=Mc(`borderRightColor`),Vc=Mc(`borderBottomColor`),Hc=Mc(`borderLeftColor`),Uc=Mc(`outline`,jc),Wc=Mc(`outlineColor`),Gc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=bc(e.theme,`shape.borderRadius`,4,`borderRadius`);return oc(e,e.borderRadius,e=>({borderRadius:Sc(t,e)}))}return null};Gc.propTypes={},Gc.filterProps=[`borderRadius`],Ac(Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Gc,Uc,Wc);var Kc=e=>{if(e.gap!==void 0&&e.gap!==null){let t=bc(e.theme,`spacing`,8,`gap`);return oc(e,e.gap,e=>({gap:Sc(t,e)}))}return null};Kc.propTypes={},Kc.filterProps=[`gap`];var qc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=bc(e.theme,`spacing`,8,`columnGap`);return oc(e,e.columnGap,e=>({columnGap:Sc(t,e)}))}return null};qc.propTypes={},qc.filterProps=[`columnGap`];var Jc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=bc(e.theme,`spacing`,8,`rowGap`);return oc(e,e.rowGap,e=>({rowGap:Sc(t,e)}))}return null};Jc.propTypes={},Jc.filterProps=[`rowGap`],Ac(Kc,qc,Jc,fc({prop:`gridColumn`}),fc({prop:`gridRow`}),fc({prop:`gridAutoFlow`}),fc({prop:`gridAutoColumns`}),fc({prop:`gridAutoRows`}),fc({prop:`gridTemplateColumns`}),fc({prop:`gridTemplateRows`}),fc({prop:`gridTemplateAreas`}),fc({prop:`gridArea`}));function G(e,t){return t===`grey`?t:e}Ac(fc({prop:`color`,themeKey:`palette`,transform:G}),fc({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:G}),fc({prop:`backgroundColor`,themeKey:`palette`,transform:G}));function K(e){return e<=1&&e!==0?`${e*100}%`:e}var Yc=fc({prop:`width`,transform:K}),Xc=e=>e.maxWidth!==void 0&&e.maxWidth!==null?oc(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||rc[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:K(t)}}):null;Xc.filterProps=[`maxWidth`];var Zc=fc({prop:`minWidth`,transform:K}),Qc=fc({prop:`height`,transform:K}),$c=fc({prop:`maxHeight`,transform:K}),el=fc({prop:`minHeight`,transform:K});fc({prop:`size`,cssProperty:`width`,transform:K}),fc({prop:`size`,cssProperty:`height`,transform:K}),Ac(Yc,Xc,Zc,Qc,$c,el,fc({prop:`boxSizing`}));var tl={border:{themeKey:`borders`,transform:jc},borderTop:{themeKey:`borders`,transform:jc},borderRight:{themeKey:`borders`,transform:jc},borderBottom:{themeKey:`borders`,transform:jc},borderLeft:{themeKey:`borders`,transform:jc},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:jc},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Gc},color:{themeKey:`palette`,transform:G},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:G},backgroundColor:{themeKey:`palette`,transform:G},p:{style:Dc},pt:{style:Dc},pr:{style:Dc},pb:{style:Dc},pl:{style:Dc},px:{style:Dc},py:{style:Dc},padding:{style:Dc},paddingTop:{style:Dc},paddingRight:{style:Dc},paddingBottom:{style:Dc},paddingLeft:{style:Dc},paddingX:{style:Dc},paddingY:{style:Dc},paddingInline:{style:Dc},paddingInlineStart:{style:Dc},paddingInlineEnd:{style:Dc},paddingBlock:{style:Dc},paddingBlockStart:{style:Dc},paddingBlockEnd:{style:Dc},m:{style:Ec},mt:{style:Ec},mr:{style:Ec},mb:{style:Ec},ml:{style:Ec},mx:{style:Ec},my:{style:Ec},margin:{style:Ec},marginTop:{style:Ec},marginRight:{style:Ec},marginBottom:{style:Ec},marginLeft:{style:Ec},marginX:{style:Ec},marginY:{style:Ec},marginInline:{style:Ec},marginInlineStart:{style:Ec},marginInlineEnd:{style:Ec},marginBlock:{style:Ec},marginBlockStart:{style:Ec},marginBlockEnd:{style:Ec},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kc},rowGap:{style:Jc},columnGap:{style:qc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:K},maxWidth:{style:Xc},minWidth:{transform:K},height:{transform:K},maxHeight:{transform:K},minHeight:{transform:K},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function nl(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function rl(e,t){return typeof e==`function`?e(t):e}function il(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=uc(n,s)||{};return l?l(i):oc(i,t,t=>{let n=dc(u,c,t);return t===n&&typeof t==`string`&&(n=dc(u,c,`${e}${t==="default"?``:lc(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??tl;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=sc(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=rl(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=nc(l,e(n,a,i,o));else{let e=oc({theme:i},a,e=>({[n]:e}));nl(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=nc(l,e)}else l=nc(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Zs(i,cc(c,l))}:Zs(i,cc(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var al=il();al.filterProps=[`sx`];function ol(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function sl(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Xs(n),c=kc(i),l=Js({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...tc,...a}},o);return l=ec(l),l.applyStyles=ol,l=t.reduce((e,t)=>Js(e,t),l),l.unstable_sxConfig={...tl,...o?.unstable_sxConfig},l.unstable_sx=function(e){return al({sx:e,theme:this})},l}function cl(e){return Object.keys(e).length===0}function ll(e=null){let t=H.useContext(fs);return!t||cl(t)?e:t}var ul=sl();function dl(e=ul){return ll(e)}function fl(e){let t=Us(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function pl({styles:e,themeId:t,defaultTheme:n={}}){let r=dl(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>fl(typeof e==`function`?e(i):e)):fl(a)),(0,U.jsx)(zs,{styles:a})}var ml=e=>e,hl=(()=>{let e=ml;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ml}}})();function gl(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;t<i;t++)e[t]&&(n=gl(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function q(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=gl(e))&&(r&&(r+=` `),r+=t);return r}var _l={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function vl(e,t,n=`Mui`){let r=_l[t];return r?`${n}-${r}`:`${hl.generate(e)}-${t}`}function yl(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=vl(e,t,n)}),r}function bl(e){let{variants:t,...n}=e,r={variants:t,style:Us(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Us(e.style))}),r}var xl=sl();function Sl(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Cl(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wl(e){return e?(t,n)=>n[e]:null}function Tl(e,t,n){e.theme=kl(e.theme)?n:e.theme[t]||e.theme}function El(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>El(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Cl(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Cl(Us(i),n):i}return Dl(e,r.variants,[t],n)}return r?.isProcessed?n?Cl(Us(r.style),n):r.style:n?Cl(Us(r),n):r}function Dl(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Cl(Us(o.style(i)),r):o.style(i))):n.push(r?Cl(Us(o.style),r):o.style)}return n}function Ol(e={}){let{themeId:t,defaultTheme:n=xl,rootShouldForwardProp:r=Sl,slotShouldForwardProp:i=Sl}=e;function a(e){Tl(e,t,n)}return(e,t={})=>{Vs(e,e=>e.filter(e=>e!==al));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=wl(jl(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Sl;o===`Root`||o===`root`?m=r:o?m=i:Al(e)&&(m=void 0);let h=Bs(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return El(t,e,t.theme.modularCssLayers?d:void 0)};if(Ks(e)){let t=bl(e);return function(e){return t.variants?El(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Cl(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=El(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Dl(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(al),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function kl(e){for(let t in e)return!1;return!0}function Al(e){return typeof e==`string`&&e.charCodeAt(0)>96}function jl(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ml(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=Ml(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=q(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Nl=typeof window<`u`?H.useLayoutEffect:H.useEffect;function Pl(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Fl(e,t=0,n=1){return Pl(e,t,n)}function Il(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Ll(e){if(e.type)return e;if(e.charAt(0)===`#`)return Ll(Il(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(wa(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(wa(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var Rl=e=>{let t=Ll(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},zl=(e,t)=>{try{return Rl(e)}catch{return e}};function Bl(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Vl(e){e=Ll(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Bl({type:s,values:c})}function Hl(e){e=Ll(e);let t=e.type===`hsl`||e.type===`hsla`?Ll(Vl(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ul(e,t){let n=Hl(e),r=Hl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Wl(e,t){return e=Ll(e),t=Fl(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Bl(e)}function Gl(e,t,n){try{return Wl(e,t)}catch{return e}}function Kl(e,t){if(e=Ll(e),t=Fl(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Bl(e)}function ql(e,t,n){try{return Kl(e,t)}catch{return e}}function Jl(e,t){if(e=Ll(e),t=Fl(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Bl(e)}function Yl(e,t,n){try{return Jl(e,t)}catch{return e}}function Xl(e,t=.15){return Hl(e)>.5?Kl(e,t):Jl(e,t)}function Zl(e,t,n){try{return Xl(e,t)}catch{return e}}var Ql=H.createContext(null);function $l(){return H.useContext(Ql)}var eu=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function tu(e,t){return typeof t==`function`?t(e):{...e,...t}}function nu(e){let{children:t,theme:n}=e,r=$l(),i=H.useMemo(()=>{let e=r===null?{...n}:tu(r,n);return e!=null&&(e[eu]=r!==null),e},[n,r]);return(0,U.jsx)(Ql.Provider,{value:i,children:t})}var ru=H.createContext();function iu({value:e,...t}){return(0,U.jsx)(ru.Provider,{value:e??!0,...t})}var au=()=>H.useContext(ru)??!1,ou=H.createContext(void 0);function su({value:e,children:t}){return(0,U.jsx)(ou.Provider,{value:e,children:t})}function cu(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Ml(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Ml(i,r,t.components.mergeClassNameAndStyle):r}function lu({props:e,name:t}){return cu({props:e,name:t,theme:{components:H.useContext(ou)}})}var uu=0;function du(e){let[t,n]=H.useState(e),r=e||t;return H.useEffect(()=>{t??(uu+=1,n(`mui-${uu}`))},[t]),r}var fu={...H}.useId;function pu(e){if(fu!==void 0){let t=fu();return e??t}return du(e)}function mu(e){let t=ll(),n=pu()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Nl(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,U.jsx)(pl,{styles:i}):null}var hu={};function gu(e,t,n,r=!1){return H.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function _u(e){let{children:t,theme:n,themeId:r}=e,i=ll(hu),a=$l()||hu,o=gu(r,i,n),s=gu(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=mu(o);return(0,U.jsx)(nu,{theme:s,children:(0,U.jsx)(fs.Provider,{value:o,children:(0,U.jsx)(iu,{value:c,children:(0,U.jsxs)(su,{value:r?o[r].components:o.components,children:[l,t]})})})})}var vu={theme:void 0};function yu(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(vu.theme=r.theme,i=bl(e(vu)),t=i,n=r.theme),i}}var bu=`mode`,xu=`color-scheme`,Su=`data-color-scheme`;function Cu(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=bu,colorSchemeStorageKey:a=xu,attribute:o=Su,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
44
44
|
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
|
|
45
45
|
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
46
46
|
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,U.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -67,22 +67,22 @@ try {
|
|
|
67
67
|
if (colorScheme) {
|
|
68
68
|
${l}
|
|
69
69
|
}
|
|
70
|
-
} catch(e){}})();`}},`mui-color-scheme-init`)}function Eu(){}var Du=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return Eu;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function Ou(){}function ku(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function Au(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function ju(e){return Au(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function Mu(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=Su,colorSchemeStorageKey:o=Cu,storageWindow:s=typeof window>`u`?void 0:window,storageManager:c=Du,noSsr:l=!1}=e,u=i.join(`,`),d=i.length>1,f=H.useMemo(()=>c?.({key:a,storageWindow:s}),[c,a,s]),p=H.useMemo(()=>c?.({key:`${o}-light`,storageWindow:s}),[c,o,s]),m=H.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:s}),[c,o,s]),[h,g]=H.useState(()=>{let e=f?.get(t)||t,i=p?.get(n)||n,a=m?.get(r)||r;return{mode:e,systemMode:ku(e),lightColorScheme:i,darkColorScheme:a}}),[_,v]=H.useState(l||!d);H.useEffect(()=>{v(!0)},[]);let y=ju(h),b=H.useCallback(e=>{g(n=>{if(e===n.mode)return n;let r=e??t;return f?.set(r),{...n,mode:r,systemMode:ku(r)}})},[f,t]),x=H.useCallback(e=>{e?typeof e==`string`?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):g(t=>{let n={...t};return Au(t,t=>{t===`light`&&(p?.set(e),n.lightColorScheme=e),t===`dark`&&(m?.set(e),n.darkColorScheme=e)}),n}):g(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;return a&&(u.includes(a)?(i.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(u.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):g(e=>(p?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[u,p,m,n,r]),S=H.useCallback(e=>{h.mode===`system`&&g(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[h.mode]),C=H.useRef(S);return C.current=S,H.useEffect(()=>{if(typeof window.matchMedia!=`function`||!d)return;let e=(...e)=>C.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),H.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&b(e||t)})||Ou,n=p?.subscribe(e=>{(!e||u.match(e))&&x({light:e})})||Ou,r=m?.subscribe(e=>{(!e||u.match(e))&&x({dark:e})})||Ou;return()=>{e(),n(),r()}}},[x,b,u,t,s,d,f,p,m]),{...h,mode:_?h.mode:void 0,systemMode:_?h.systemMode:void 0,colorScheme:_?y:void 0,setMode:b,setColorScheme:x}}var Nu=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function Pu(e){let{themeId:t,theme:n={},modeStorageKey:r=Su,colorSchemeStorageKey:i=Cu,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:s}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},l=H.createContext(void 0),u=()=>H.useContext(l)||c,d={},f={};function p(e){let{children:c,theme:u,modeStorageKey:p=r,colorSchemeStorageKey:m=i,disableTransitionOnChange:h=a,storageManager:g,storageWindow:_=typeof window>`u`?void 0:window,documentNode:v=typeof document>`u`?void 0:document,colorSchemeNode:y=typeof document>`u`?void 0:document.documentElement,disableNestedContext:b=!1,disableStyleSheetGeneration:x=!1,defaultMode:S=`system`,forceThemeRerender:C=!1,noSsr:w}=e,T=H.useRef(!1),E=tu(),D=H.useContext(l),ee=!!D&&!b,O=H.useMemo(()=>u||(typeof n==`function`?n():n),[u]),te=O[t],k=te||O,{colorSchemes:A=d,components:ne=f,cssVarPrefix:j}=k,M=Object.keys(A).filter(e=>!!A[e]).join(`,`),N=H.useMemo(()=>M.split(`,`),[M]),re=typeof o==`string`?o:o.light,ie=typeof o==`string`?o:o.dark,{mode:P,setMode:F,systemMode:ae,lightColorScheme:oe,darkColorScheme:se,colorScheme:ce,setColorScheme:le}=Mu({supportedColorSchemes:N,defaultLightColorScheme:re,defaultDarkColorScheme:ie,modeStorageKey:p,colorSchemeStorageKey:m,defaultMode:A[re]&&A[ie]?S:A[k.defaultColorScheme]?.palette?.mode||k.palette?.mode,storageManager:g,storageWindow:_,noSsr:w}),ue=P,de=ce;ee&&(ue=D.mode,de=D.colorScheme);let fe=de||k.defaultColorScheme;k.vars&&!C&&(fe=k.defaultColorScheme);let pe=H.useMemo(()=>{let e=k.generateThemeVars?.()||k.vars,t={...k,components:ne,colorSchemes:A,cssVarPrefix:j,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),fe){let e=A[fe];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[k,fe,ne,A,j]),I=k.colorSchemeSelector;Fl(()=>{if(de&&y&&I&&I!==`media`){let e=I,t=I;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))y.classList.remove(...N.map(e=>t.substring(1).replace(`%s`,e))),y.classList.add(t.substring(1).replace(`%s`,de));else{let e=t.replace(`%s`,de).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||N.forEach(e=>{y.removeAttribute(t.replace(de,e))}),y.setAttribute(t,n?n.replace(/"|'/g,``):``)}else y.setAttribute(t,de)}}},[de,I,y,N]),H.useEffect(()=>{let e;if(h&&T.current&&v){let t=v.createElement(`style`);t.appendChild(v.createTextNode(Nu)),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[de,h,v]),H.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);let me=H.useMemo(()=>({allColorSchemes:N,colorScheme:de,darkColorScheme:se,lightColorScheme:oe,mode:ue,setColorScheme:le,setMode:F,systemMode:ae}),[N,de,se,oe,ue,le,F,ae,pe.colorSchemeSelector]),L=!0;(x||k.cssVariables===!1||ee&&E?.cssVarPrefix===j)&&(L=!1);let he=(0,U.jsxs)(H.Fragment,{children:[(0,U.jsx)(yu,{themeId:te?t:void 0,theme:pe,children:c}),L&&(0,U.jsx)(Vs,{styles:pe.generateStyleSheets?.()||[]})]});return ee?he:(0,U.jsx)(l.Provider,{value:me,children:he})}let m=typeof o==`string`?o:o.light,h=typeof o==`string`?o:o.dark;return{CssVarsProvider:p,useColorScheme:u,getInitColorSchemeScript:e=>Tu({colorSchemeStorageKey:i,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:r,...e})}}function Fu(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var Iu=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Lu=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Ru=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function zu(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Lu(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Ru(e,t);Object.assign(i,{[r]:c}),Iu(a,e,`var(${r})`,s),Iu(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Bu(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=zu(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=zu(n,t);p=Xs(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=zu(h,t);p=Xs(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=Xs(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function Vu(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function Hu(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function Uu(e,t){return H.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var Wu={black:`#000`,white:`#fff`},Gu={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`},Ku={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},qu={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},Ju={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},Yu={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},Xu={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},Zu={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};function Qu(){return{text:{primary:`rgba(0, 0, 0, 0.87)`,secondary:`rgba(0, 0, 0, 0.6)`,disabled:`rgba(0, 0, 0, 0.38)`},divider:`rgba(0, 0, 0, 0.12)`,background:{paper:Wu.white,default:Wu.white},action:{active:`rgba(0, 0, 0, 0.54)`,hover:`rgba(0, 0, 0, 0.04)`,hoverOpacity:.04,selected:`rgba(0, 0, 0, 0.08)`,selectedOpacity:.08,disabled:`rgba(0, 0, 0, 0.26)`,disabledBackground:`rgba(0, 0, 0, 0.12)`,disabledOpacity:.38,focus:`rgba(0, 0, 0, 0.12)`,focusOpacity:.12,activatedOpacity:.12}}}var $u=Qu();function ed(){return{text:{primary:Wu.white,secondary:`rgba(255, 255, 255, 0.7)`,disabled:`rgba(255, 255, 255, 0.5)`,icon:`rgba(255, 255, 255, 0.5)`},divider:`rgba(255, 255, 255, 0.12)`,background:{paper:`#121212`,default:`#121212`},action:{active:Wu.white,hover:`rgba(255, 255, 255, 0.08)`,hoverOpacity:.08,selected:`rgba(255, 255, 255, 0.16)`,selectedOpacity:.16,disabled:`rgba(255, 255, 255, 0.3)`,disabledBackground:`rgba(255, 255, 255, 0.12)`,disabledOpacity:.38,focus:`rgba(255, 255, 255, 0.12)`,focusOpacity:.12,activatedOpacity:.24}}}var td=ed();function nd(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=Xl(e.main,i):t===`dark`&&(e.dark=Jl(e.main,a)))}function rd(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function id(e=`light`){return e===`dark`?{main:Yu[200],light:Yu[50],dark:Yu[400]}:{main:Yu[700],light:Yu[400],dark:Yu[800]}}function ad(e=`light`){return e===`dark`?{main:Ku[200],light:Ku[50],dark:Ku[400]}:{main:Ku[500],light:Ku[300],dark:Ku[700]}}function od(e=`light`){return e===`dark`?{main:qu[500],light:qu[300],dark:qu[700]}:{main:qu[700],light:qu[400],dark:qu[800]}}function sd(e=`light`){return e===`dark`?{main:Xu[400],light:Xu[300],dark:Xu[700]}:{main:Xu[700],light:Xu[500],dark:Xu[900]}}function cd(e=`light`){return e===`dark`?{main:Zu[400],light:Zu[300],dark:Zu[700]}:{main:Zu[800],light:Zu[500],dark:Zu[900]}}function ld(e=`light`){return e===`dark`?{main:Ju[400],light:Ju[300],dark:Ju[700]}:{main:`#ed6c02`,light:Ju[500],dark:Ju[900]}}function ud(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function dd(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||id(t),s=e.secondary||ad(t),c=e.error||od(t),l=e.info||sd(t),u=e.success||cd(t),d=e.warning||ld(t);function f(e){return i?ud(e):Gl(e,td.text.primary)>=n?td.text.primary:$u.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(Ea(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(Ea(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(rd(i,e,`light`,a,r),rd(i,e,`dark`,o,r)):(nd(e,`light`,a,r),nd(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Qu():t===`dark`&&(m=ed()),Xs({common:{...Wu},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:Gu,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function fd(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function pd(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function md(e){return Math.round(e*1e5)/1e5}var hd={textTransform:`uppercase`},gd=`"Roboto", "Helvetica", "Arial", sans-serif`;function _d(e,t){let{fontFamily:n=gd,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===gd?{letterSpacing:`${md(i/t)}em`}:{},...a,...l});return Xs({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,hd),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,hd),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var vd=.2,yd=.14,bd=.12;function xd(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${vd})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${yd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${bd})`].join(`,`)}var Sd=[`none`,xd(0,2,1,-1,0,1,1,0,0,1,3,0),xd(0,3,1,-2,0,2,2,0,0,1,5,0),xd(0,3,3,-2,0,3,4,0,0,1,8,0),xd(0,2,4,-1,0,4,5,0,0,1,10,0),xd(0,3,5,-1,0,5,8,0,0,1,14,0),xd(0,3,5,-1,0,6,10,0,0,1,18,0),xd(0,4,5,-2,0,7,10,1,0,2,16,1),xd(0,5,5,-3,0,8,10,1,0,3,14,2),xd(0,5,6,-3,0,9,12,1,0,3,16,2),xd(0,6,6,-3,0,10,14,1,0,4,18,3),xd(0,6,7,-4,0,11,15,1,0,4,20,3),xd(0,7,8,-4,0,12,17,2,0,5,22,4),xd(0,7,8,-4,0,13,19,2,0,5,24,4),xd(0,7,9,-4,0,14,21,2,0,5,26,4),xd(0,8,9,-5,0,15,22,2,0,6,28,5),xd(0,8,10,-5,0,16,24,2,0,6,30,5),xd(0,8,11,-5,0,17,26,2,0,6,32,5),xd(0,9,11,-5,0,18,28,2,0,7,34,6),xd(0,9,12,-6,0,19,29,2,0,7,36,6),xd(0,10,13,-6,0,20,31,3,0,8,38,7),xd(0,10,13,-6,0,21,33,3,0,8,40,7),xd(0,10,14,-6,0,22,35,3,0,8,42,7),xd(0,11,14,-7,0,23,36,3,0,9,44,8),xd(0,11,15,-7,0,24,38,3,0,9,46,8)],Cd={easeInOut:`cubic-bezier(0.4, 0, 0.2, 1)`,easeOut:`cubic-bezier(0.0, 0, 0.2, 1)`,easeIn:`cubic-bezier(0.4, 0, 1, 1)`,sharp:`cubic-bezier(0.4, 0, 0.6, 1)`},wd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Td(e){return`${Math.round(e)}ms`}function Ed(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Dd(e){let t={...Cd,...e.easing},n={...wd,...e.duration};return{getAutoHeightDuration:Ed,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:Td(i)} ${a} ${typeof o==`string`?o:Td(o)}`).join(`,`)},...e,easing:t,duration:n}}var Od={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function kd(e){return Js(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Ad(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!kd(a)||i.startsWith(`unstable_`)?delete e[i]:Js(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
70
|
+
} catch(e){}})();`}},`mui-color-scheme-init`)}function wu(){}var Tu=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return wu;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function Eu(){}function Du(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function Ou(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function ku(e){return Ou(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function Au(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=bu,colorSchemeStorageKey:o=xu,storageWindow:s=typeof window>`u`?void 0:window,storageManager:c=Tu,noSsr:l=!1}=e,u=i.join(`,`),d=i.length>1,f=H.useMemo(()=>c?.({key:a,storageWindow:s}),[c,a,s]),p=H.useMemo(()=>c?.({key:`${o}-light`,storageWindow:s}),[c,o,s]),m=H.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:s}),[c,o,s]),[h,g]=H.useState(()=>{let e=f?.get(t)||t,i=p?.get(n)||n,a=m?.get(r)||r;return{mode:e,systemMode:Du(e),lightColorScheme:i,darkColorScheme:a}}),[_,v]=H.useState(l||!d);H.useEffect(()=>{v(!0)},[]);let y=ku(h),b=H.useCallback(e=>{g(n=>{if(e===n.mode)return n;let r=e??t;return f?.set(r),{...n,mode:r,systemMode:Du(r)}})},[f,t]),x=H.useCallback(e=>{e?typeof e==`string`?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):g(t=>{let n={...t};return Ou(t,t=>{t===`light`&&(p?.set(e),n.lightColorScheme=e),t===`dark`&&(m?.set(e),n.darkColorScheme=e)}),n}):g(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;return a&&(u.includes(a)?(i.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(u.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):g(e=>(p?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[u,p,m,n,r]),S=H.useCallback(e=>{h.mode===`system`&&g(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[h.mode]),C=H.useRef(S);return C.current=S,H.useEffect(()=>{if(typeof window.matchMedia!=`function`||!d)return;let e=(...e)=>C.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),H.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&b(e||t)})||Eu,n=p?.subscribe(e=>{(!e||u.match(e))&&x({light:e})})||Eu,r=m?.subscribe(e=>{(!e||u.match(e))&&x({dark:e})})||Eu;return()=>{e(),n(),r()}}},[x,b,u,t,s,d,f,p,m]),{...h,mode:_?h.mode:void 0,systemMode:_?h.systemMode:void 0,colorScheme:_?y:void 0,setMode:b,setColorScheme:x}}var ju=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function Mu(e){let{themeId:t,theme:n={},modeStorageKey:r=bu,colorSchemeStorageKey:i=xu,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:s}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},l=H.createContext(void 0),u=()=>H.useContext(l)||c,d={},f={};function p(e){let{children:c,theme:u,modeStorageKey:p=r,colorSchemeStorageKey:m=i,disableTransitionOnChange:h=a,storageManager:g,storageWindow:_=typeof window>`u`?void 0:window,documentNode:v=typeof document>`u`?void 0:document,colorSchemeNode:y=typeof document>`u`?void 0:document.documentElement,disableNestedContext:b=!1,disableStyleSheetGeneration:x=!1,defaultMode:S=`system`,forceThemeRerender:C=!1,noSsr:w}=e,T=H.useRef(!1),E=$l(),D=H.useContext(l),ee=!!D&&!b,O=H.useMemo(()=>u||(typeof n==`function`?n():n),[u]),te=O[t],k=te||O,{colorSchemes:A=d,components:ne=f,cssVarPrefix:j}=k,M=Object.keys(A).filter(e=>!!A[e]).join(`,`),N=H.useMemo(()=>M.split(`,`),[M]),re=typeof o==`string`?o:o.light,ie=typeof o==`string`?o:o.dark,{mode:P,setMode:F,systemMode:ae,lightColorScheme:oe,darkColorScheme:se,colorScheme:ce,setColorScheme:le}=Au({supportedColorSchemes:N,defaultLightColorScheme:re,defaultDarkColorScheme:ie,modeStorageKey:p,colorSchemeStorageKey:m,defaultMode:A[re]&&A[ie]?S:A[k.defaultColorScheme]?.palette?.mode||k.palette?.mode,storageManager:g,storageWindow:_,noSsr:w}),ue=P,de=ce;ee&&(ue=D.mode,de=D.colorScheme);let fe=de||k.defaultColorScheme;k.vars&&!C&&(fe=k.defaultColorScheme);let pe=H.useMemo(()=>{let e=k.generateThemeVars?.()||k.vars,t={...k,components:ne,colorSchemes:A,cssVarPrefix:j,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),fe){let e=A[fe];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[k,fe,ne,A,j]),I=k.colorSchemeSelector;Nl(()=>{if(de&&y&&I&&I!==`media`){let e=I,t=I;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))y.classList.remove(...N.map(e=>t.substring(1).replace(`%s`,e))),y.classList.add(t.substring(1).replace(`%s`,de));else{let e=t.replace(`%s`,de).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||N.forEach(e=>{y.removeAttribute(t.replace(de,e))}),y.setAttribute(t,n?n.replace(/"|'/g,``):``)}else y.setAttribute(t,de)}}},[de,I,y,N]),H.useEffect(()=>{let e;if(h&&T.current&&v){let t=v.createElement(`style`);t.appendChild(v.createTextNode(ju)),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[de,h,v]),H.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);let me=H.useMemo(()=>({allColorSchemes:N,colorScheme:de,darkColorScheme:se,lightColorScheme:oe,mode:ue,setColorScheme:le,setMode:F,systemMode:ae}),[N,de,se,oe,ue,le,F,ae,pe.colorSchemeSelector]),L=!0;(x||k.cssVariables===!1||ee&&E?.cssVarPrefix===j)&&(L=!1);let he=(0,U.jsxs)(H.Fragment,{children:[(0,U.jsx)(_u,{themeId:te?t:void 0,theme:pe,children:c}),L&&(0,U.jsx)(zs,{styles:pe.generateStyleSheets?.()||[]})]});return ee?he:(0,U.jsx)(l.Provider,{value:me,children:he})}let m=typeof o==`string`?o:o.light,h=typeof o==`string`?o:o.dark;return{CssVarsProvider:p,useColorScheme:u,getInitColorSchemeScript:e=>Cu({colorSchemeStorageKey:i,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:r,...e})}}function Nu(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var Pu=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Fu=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Iu=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function Lu(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Fu(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Iu(e,t);Object.assign(i,{[r]:c}),Pu(a,e,`var(${r})`,s),Pu(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Ru(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=Lu(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Lu(n,t);p=Js(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Lu(h,t);p=Js(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=Js(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function zu(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function Bu(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function Vu(e,t){return H.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var Hu={black:`#000`,white:`#fff`},Uu={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`},Wu={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},Gu={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},Ku={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},qu={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},Ju={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},Yu={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};function Xu(){return{text:{primary:`rgba(0, 0, 0, 0.87)`,secondary:`rgba(0, 0, 0, 0.6)`,disabled:`rgba(0, 0, 0, 0.38)`},divider:`rgba(0, 0, 0, 0.12)`,background:{paper:Hu.white,default:Hu.white},action:{active:`rgba(0, 0, 0, 0.54)`,hover:`rgba(0, 0, 0, 0.04)`,hoverOpacity:.04,selected:`rgba(0, 0, 0, 0.08)`,selectedOpacity:.08,disabled:`rgba(0, 0, 0, 0.26)`,disabledBackground:`rgba(0, 0, 0, 0.12)`,disabledOpacity:.38,focus:`rgba(0, 0, 0, 0.12)`,focusOpacity:.12,activatedOpacity:.12}}}var Zu=Xu();function Qu(){return{text:{primary:Hu.white,secondary:`rgba(255, 255, 255, 0.7)`,disabled:`rgba(255, 255, 255, 0.5)`,icon:`rgba(255, 255, 255, 0.5)`},divider:`rgba(255, 255, 255, 0.12)`,background:{paper:`#121212`,default:`#121212`},action:{active:Hu.white,hover:`rgba(255, 255, 255, 0.08)`,hoverOpacity:.08,selected:`rgba(255, 255, 255, 0.16)`,selectedOpacity:.16,disabled:`rgba(255, 255, 255, 0.3)`,disabledBackground:`rgba(255, 255, 255, 0.12)`,disabledOpacity:.38,focus:`rgba(255, 255, 255, 0.12)`,focusOpacity:.12,activatedOpacity:.24}}}var $u=Qu();function ed(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=Jl(e.main,i):t===`dark`&&(e.dark=Kl(e.main,a)))}function td(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function nd(e=`light`){return e===`dark`?{main:qu[200],light:qu[50],dark:qu[400]}:{main:qu[700],light:qu[400],dark:qu[800]}}function rd(e=`light`){return e===`dark`?{main:Wu[200],light:Wu[50],dark:Wu[400]}:{main:Wu[500],light:Wu[300],dark:Wu[700]}}function id(e=`light`){return e===`dark`?{main:Gu[500],light:Gu[300],dark:Gu[700]}:{main:Gu[700],light:Gu[400],dark:Gu[800]}}function ad(e=`light`){return e===`dark`?{main:Ju[400],light:Ju[300],dark:Ju[700]}:{main:Ju[700],light:Ju[500],dark:Ju[900]}}function od(e=`light`){return e===`dark`?{main:Yu[400],light:Yu[300],dark:Yu[700]}:{main:Yu[800],light:Yu[500],dark:Yu[900]}}function sd(e=`light`){return e===`dark`?{main:Ku[400],light:Ku[300],dark:Ku[700]}:{main:`#ed6c02`,light:Ku[500],dark:Ku[900]}}function cd(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function ld(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||nd(t),s=e.secondary||rd(t),c=e.error||id(t),l=e.info||ad(t),u=e.success||od(t),d=e.warning||sd(t);function f(e){return i?cd(e):Ul(e,$u.text.primary)>=n?$u.text.primary:Zu.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(wa(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(wa(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(td(i,e,`light`,a,r),td(i,e,`dark`,o,r)):(ed(e,`light`,a,r),ed(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Xu():t===`dark`&&(m=Qu()),Js({common:{...Hu},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:Uu,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function ud(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function dd(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function fd(e){return Math.round(e*1e5)/1e5}var pd={textTransform:`uppercase`},md=`"Roboto", "Helvetica", "Arial", sans-serif`;function hd(e,t){let{fontFamily:n=md,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===md?{letterSpacing:`${fd(i/t)}em`}:{},...a,...l});return Js({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,pd),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,pd),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var gd=.2,_d=.14,vd=.12;function yd(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gd})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_d})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${vd})`].join(`,`)}var bd=[`none`,yd(0,2,1,-1,0,1,1,0,0,1,3,0),yd(0,3,1,-2,0,2,2,0,0,1,5,0),yd(0,3,3,-2,0,3,4,0,0,1,8,0),yd(0,2,4,-1,0,4,5,0,0,1,10,0),yd(0,3,5,-1,0,5,8,0,0,1,14,0),yd(0,3,5,-1,0,6,10,0,0,1,18,0),yd(0,4,5,-2,0,7,10,1,0,2,16,1),yd(0,5,5,-3,0,8,10,1,0,3,14,2),yd(0,5,6,-3,0,9,12,1,0,3,16,2),yd(0,6,6,-3,0,10,14,1,0,4,18,3),yd(0,6,7,-4,0,11,15,1,0,4,20,3),yd(0,7,8,-4,0,12,17,2,0,5,22,4),yd(0,7,8,-4,0,13,19,2,0,5,24,4),yd(0,7,9,-4,0,14,21,2,0,5,26,4),yd(0,8,9,-5,0,15,22,2,0,6,28,5),yd(0,8,10,-5,0,16,24,2,0,6,30,5),yd(0,8,11,-5,0,17,26,2,0,6,32,5),yd(0,9,11,-5,0,18,28,2,0,7,34,6),yd(0,9,12,-6,0,19,29,2,0,7,36,6),yd(0,10,13,-6,0,20,31,3,0,8,38,7),yd(0,10,13,-6,0,21,33,3,0,8,40,7),yd(0,10,14,-6,0,22,35,3,0,8,42,7),yd(0,11,14,-7,0,23,36,3,0,9,44,8),yd(0,11,15,-7,0,24,38,3,0,9,46,8)],xd={easeInOut:`cubic-bezier(0.4, 0, 0.2, 1)`,easeOut:`cubic-bezier(0.0, 0, 0.2, 1)`,easeIn:`cubic-bezier(0.4, 0, 1, 1)`,sharp:`cubic-bezier(0.4, 0, 0.6, 1)`},Sd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Cd(e){return`${Math.round(e)}ms`}function wd(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Td(e){let t={...xd,...e.easing},n={...Sd,...e.duration};return{getAutoHeightDuration:wd,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:Cd(i)} ${a} ${typeof o==`string`?o:Cd(o)}`).join(`,`)},...e,easing:t,duration:n}}var Ed={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Dd(e){return Ks(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Od(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!Dd(a)||i.startsWith(`unstable_`)?delete e[i]:Ks(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
71
71
|
|
|
72
72
|
const theme = ${JSON.stringify(t,null,2)};
|
|
73
73
|
|
|
74
74
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
75
75
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
76
76
|
|
|
77
|
-
export default theme;`}function
|
|
78
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Kd(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var qd=e=>{try{return e()}catch{}},Jd=(e=`mui`)=>Fu(e);function Yd(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=zd({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Pd({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Ld(a),...n?.opacity},overlays:n?.overlays||Rd(a)},s}function Xd(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Bd,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Jd(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(Ea(21,f));let b;o&&(b=`oklch`);let x=Yd(b,v,y,u,f);h&&!v.light&&Yd(b,v,h,void 0,`light`),g&&!v.dark&&Yd(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...fd(x.typography),...x.font},spacing:Kd(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(J(t.common,`background`,`#fff`),J(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(J(t.common,`background`,`#000`),J(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===ql&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===Yl&&(r=`#000 ${(n*100).toFixed(0)}%`),e===Zl&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Ud(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){J(t.Alert,`errorColor`,r(Yl,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(Yl,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(Yl,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(Yl,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-main`)),J(t.Alert,`infoFilledBg`,n(`palette-info-main`)),J(t.Alert,`successFilledBg`,n(`palette-success-main`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),J(t.Alert,`errorFilledColor`,qd(()=>t.getContrastText(t.error.main))),J(t.Alert,`infoFilledColor`,qd(()=>t.getContrastText(t.info.main))),J(t.Alert,`successFilledColor`,qd(()=>t.getContrastText(t.success.main))),J(t.Alert,`warningFilledColor`,qd(()=>t.getContrastText(t.warning.main))),J(t.Alert,`errorStandardBg`,r(Zl,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(Zl,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(Zl,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(Zl,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-100`)),J(t.Avatar,`defaultBg`,n(`palette-grey-400`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),J(t.Chip,`defaultBorder`,n(`palette-grey-400`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),J(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),J(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),J(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),J(t.LinearProgress,`primaryBg`,r(Zl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.LinearProgress,`secondaryBg`,r(Zl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.LinearProgress,`errorBg`,r(Zl,o?p(`palette-error-main`):t.error.main,.62)),J(t.LinearProgress,`infoBg`,r(Zl,o?p(`palette-info-main`):t.info.main,.62)),J(t.LinearProgress,`successBg`,r(Zl,o?p(`palette-success-main`):t.success.main,.62)),J(t.LinearProgress,`warningBg`,r(Zl,o?p(`palette-warning-light`):t.warning.main,.62)),J(t.Skeleton,`bg`,b?r(ql,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),J(t.Slider,`primaryTrack`,r(Zl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Slider,`secondaryTrack`,r(Zl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Slider,`errorTrack`,r(Zl,o?p(`palette-error-main`):t.error.main,.62)),J(t.Slider,`infoTrack`,r(Zl,o?p(`palette-info-main`):t.info.main,.62)),J(t.Slider,`successTrack`,r(Zl,o?p(`palette-success-main`):t.success.main,.62)),J(t.Slider,`warningTrack`,r(Zl,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(Yl,o?p(`palette-background-default`):t.background.default,.6825):$l(t.background.default,.8);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,qd(()=>b?td.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,$l(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-400`)),J(t.StepContent,`border`,n(`palette-grey-400`)),J(t.Switch,`defaultColor`,n(`palette-common-white`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),J(t.Switch,`primaryDisabledColor`,r(Zl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Switch,`secondaryDisabledColor`,r(Zl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Switch,`errorDisabledColor`,r(Zl,o?p(`palette-error-main`):t.error.main,.62)),J(t.Switch,`infoDisabledColor`,r(Zl,o?p(`palette-info-main`):t.info.main,.62)),J(t.Switch,`successDisabledColor`,r(Zl,o?p(`palette-success-main`):t.success.main,.62)),J(t.Switch,`warningDisabledColor`,r(Zl,o?p(`palette-warning-main`):t.warning.main,.62)),J(t.TableCell,`border`,r(Zl,ql(o?p(`palette-divider`):t.divider,1),.88)),J(t.Tooltip,`bg`,r(ql,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){J(t.Alert,`errorColor`,r(Zl,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(Zl,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(Zl,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(Zl,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),J(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),J(t.Alert,`successFilledBg`,n(`palette-success-dark`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),J(t.Alert,`errorFilledColor`,qd(()=>t.getContrastText(t.error.dark))),J(t.Alert,`infoFilledColor`,qd(()=>t.getContrastText(t.info.dark))),J(t.Alert,`successFilledColor`,qd(()=>t.getContrastText(t.success.dark))),J(t.Alert,`warningFilledColor`,qd(()=>t.getContrastText(t.warning.dark))),J(t.Alert,`errorStandardBg`,r(Yl,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(Yl,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(Yl,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(Yl,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-900`)),J(t.AppBar,`darkBg`,n(`palette-background-paper`)),J(t.AppBar,`darkColor`,n(`palette-text-primary`)),J(t.Avatar,`defaultBg`,n(`palette-grey-600`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),J(t.Chip,`defaultBorder`,n(`palette-grey-700`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),J(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),J(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),J(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),J(t.LinearProgress,`primaryBg`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.LinearProgress,`secondaryBg`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.LinearProgress,`errorBg`,r(Yl,o?p(`palette-error-main`):t.error.main,.5)),J(t.LinearProgress,`infoBg`,r(Yl,o?p(`palette-info-main`):t.info.main,.5)),J(t.LinearProgress,`successBg`,r(Yl,o?p(`palette-success-main`):t.success.main,.5)),J(t.LinearProgress,`warningBg`,r(Yl,o?p(`palette-warning-main`):t.warning.main,.5)),J(t.Skeleton,`bg`,b?r(ql,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),J(t.Slider,`primaryTrack`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.Slider,`secondaryTrack`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.Slider,`errorTrack`,r(Yl,o?p(`palette-error-main`):t.error.main,.5)),J(t.Slider,`infoTrack`,r(Yl,o?p(`palette-info-main`):t.info.main,.5)),J(t.Slider,`successTrack`,r(Yl,o?p(`palette-success-main`):t.success.main,.5)),J(t.Slider,`warningTrack`,r(Yl,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(Zl,o?p(`palette-background-default`):t.background.default,.985):$l(t.background.default,.98);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,qd(()=>b?$u.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,$l(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-600`)),J(t.StepContent,`border`,n(`palette-grey-600`)),J(t.Switch,`defaultColor`,n(`palette-grey-300`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),J(t.Switch,`primaryDisabledColor`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.55)),J(t.Switch,`secondaryDisabledColor`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.55)),J(t.Switch,`errorDisabledColor`,r(Yl,o?p(`palette-error-main`):t.error.main,.55)),J(t.Switch,`infoDisabledColor`,r(Yl,o?p(`palette-info-main`):t.info.main,.55)),J(t.Switch,`successDisabledColor`,r(Yl,o?p(`palette-success-main`):t.success.main,.55)),J(t.Switch,`warningDisabledColor`,r(Yl,o?p(`palette-warning-light`):t.warning.main,.55)),J(t.TableCell,`border`,r(Yl,ql(o?p(`palette-divider`):t.divider,1),.68)),J(t.Tooltip,`bg`,r(ql,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Gd(t.background,`default`),Gd(t.background,`paper`),Gd(t.common,`background`),Gd(t.common,`onBackground`),Gd(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&J(t[e],`mainChannel`,Vl(Wd(n.main))),n.light&&J(t[e],`lightChannel`,Vl(Wd(n.light))),n.dark&&J(t[e],`darkChannel`,Vl(Wd(n.dark))),n.contrastText&&J(t[e],`contrastTextChannel`,Vl(Wd(n.contrastText))),e===`text`&&(Gd(t[e],`primary`),Gd(t[e],`secondary`)),e===`action`&&(n.active&&Gd(t[e],`active`),n.selected&&Gd(t[e],`selected`)))})}),S=t.reduce((e,t)=>Xs(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Hd(S),enableContrastVars:o},{vars:w,generateThemeVars:T,generateStyleSheets:E}=Bu(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=T,S.generateStyleSheets=E,S.generateSpacing=function(){return Ac(u.spacing,Sc(this))},S.getColorSchemeSelector=Vu(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...rl,...u?.unstable_sxConfig},S.unstable_sx=function(e){return sl({sx:e,theme:this})},S.toRuntimeSource=Ad,S}function Zd(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:dd({...n===!0?{}:n.palette,mode:t})})}function Qd(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Pd(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Pd({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Zd(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Zd(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Xd({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var $d=Qd();function ef(){let e=pl($d);return e.$$material||e}function tf(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var nf=e=>tf(e)&&e!==`classes`,Y=Al({themeId:Da,defaultTheme:$d,rootShouldForwardProp:nf});function rf({theme:e,...t}){let n=`$$material`in e?e[Da]:void 0;return(0,U.jsx)(yu,{...t,themeId:n?Da:void 0,theme:n||e})}var af={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:of,useColorScheme:sf,getInitColorSchemeScript:cf}=Pu({themeId:Da,theme:()=>Qd({cssVariables:!0}),colorSchemeStorageKey:af.colorSchemeStorageKey,modeStorageKey:af.modeStorageKey,defaultColorScheme:{light:af.defaultLightColorScheme,dark:af.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:_d(e.palette,e.typography)};return t.unstable_sx=function(e){return sl({sx:e,theme:this})},t}}),lf=of;function uf({theme:e,...t}){let n=H.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[Da]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,U.jsx)(rf,{theme:n,...t}):(0,U.jsx)(lf,{theme:e,...t})}var df=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function ff(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function pf(e){return`nodeType`in e}function mf(e){return e?ff(e)?e:pf(e)?e.ownerDocument?.defaultView??window:window:window}function hf(e){let{Document:t}=mf(e);return e instanceof t}function gf(e){return!ff(e)&&e instanceof mf(e).HTMLElement}function _f(e){return e instanceof mf(e).SVGElement}function vf(e){return e?ff(e)?e.document:pf(e)?hf(e)?e:gf(e)||_f(e)?e.ownerDocument:document:document:document}var yf=df?H.useLayoutEffect:H.useEffect;function bf(e){let t=(0,H.useRef)(e);return yf(()=>{t.current=e}),(0,H.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function xf(){let e=(0,H.useRef)(null);return[(0,H.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,H.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Sf(e,t){t===void 0&&(t=[e]);let n=(0,H.useRef)(e);return yf(()=>{n.current!==e&&(n.current=e)},t),n}function Cf(e,t){let n=(0,H.useRef)();return(0,H.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function wf(e){let t=bf(e),n=(0,H.useRef)(null);return[n,(0,H.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Tf(e){let t=(0,H.useRef)();return(0,H.useEffect)(()=>{t.current=e},[e]),t.current}var Ef={};function Df(e,t){return(0,H.useMemo)(()=>{if(t)return t;let n=Ef[e]==null?0:Ef[e]+1;return Ef[e]=n,e+`-`+n},[e,t])}function Of(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var kf=Of(1),Af=Of(-1);function jf(e){return`clientX`in e&&`clientY`in e}function Mf(e){if(!e)return!1;let{KeyboardEvent:t}=mf(e.target);return t&&e instanceof t}function Nf(e){if(!e)return!1;let{TouchEvent:t}=mf(e.target);return t&&e instanceof t}function Pf(e){if(Nf(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return jf(e)?{x:e.clientX,y:e.clientY}:null}var Ff=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function If(e){return e.matches(Ff)?e:e.querySelector(Ff)}function Lf(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var Rf=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return!n||!t?r:Lf(r,n,t)},zf=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,Bf=({size:e,children:t})=>(e=zf(e),(0,U.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));Bf.propTypes={size:z.number,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var Vf=({size:e,children:t,sx:n})=>(0,U.jsx)(Bf,{size:e,children:(0,U.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});Vf.propTypes={size:z.oneOfType([z.string,z.number]),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,sx:z.object};var Hf=({fill:e})=>(0,U.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});Hf.propTypes={fill:z.string.isRequired};var Uf=({fill:e})=>(0,U.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});Uf.propTypes={fill:z.string.isRequired};var Wf=({fill:e})=>(0,U.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});Wf.propTypes={fill:z.string.isRequired};var Gf=({fill:e})=>(0,U.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});Gf.propTypes={fill:z.string.isRequired};var Kf=({fill:e})=>(0,U.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});Kf.propTypes={fill:z.string.isRequired};var qf=(e,t)=>{class n extends H.Component{static propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,size:z.oneOfType([z.number,z.string]),fg:z.string,bg:z.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,U.jsx)(e,{fill:s}):(0,U.jsx)(t,{fill:s}),u=n===`check`?(0,U.jsx)(e,{fill:c}):(0,U.jsx)(t,{fill:c});return a?(0,U.jsx)(Vf,{size:o,children:u}):(0,U.jsxs)(Vf,{size:o,children:[i===`feedback`?r===`round`?(0,U.jsx)(Wf,{fill:c}):(0,U.jsx)(Uf,{fill:c}):r===`round`?(0,U.jsx)(Gf,{fill:c}):(0,U.jsx)(Kf,{fill:c}),l]})}}return n},Jf=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,U.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
79
|
-
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,U.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,U.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});
|
|
80
|
-
M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z`,fill:e}),(0,U.jsx)(`polygon`,{points:`-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6`,fill:t})]});
|
|
77
|
+
export default theme;`}function kd(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Ad=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function jd(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:Wl(t,Ad(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${kd(n)})`:Jl(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${kd(n)})`:Kl(t,n)}})}function Md(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(wa(20));let d=ld({...a,colorSpace:l}),f=sl(e),p=Js(f,{mixins:dd(f.breakpoints,r),palette:d,shadows:bd.slice(),typography:hd(d,s),transitions:Td(o),zIndex:{...Ed}});return p=Js(p,u),p=t.reduce((e,t)=>Js(e,t),p),p.unstable_sxConfig={...tl,...u?.unstable_sxConfig},p.unstable_sx=function(e){return al({sx:e,theme:this})},p.toRuntimeSource=Od,jd(p),p}function Nd(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Pd=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Nd(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Fd(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Id(e){return e===`dark`?Pd:[]}function Ld(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=ld({...t,colorSpace:i});return{palette:o,opacity:{...Fd(o.mode),...n},overlays:r||Id(o.mode),...a}}function Rd(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var zd=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Bd=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return zd(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Vd(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function J(e,t,n){!e[t]&&n&&(e[t]=n)}function Hd(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:Vl(e)}function Ud(e,t){`${t}Channel`in e||(e[`${t}Channel`]=zl(Hd(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
78
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Wd(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Gd=e=>{try{return e()}catch{}},Kd=(e=`mui`)=>Nu(e);function qd(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Ld({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Md({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Fd(a),...n?.opacity},overlays:n?.overlays||Id(a)},s}function Jd(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Rd,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Kd(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(wa(21,f));let b;o&&(b=`oklch`);let x=qd(b,v,y,u,f);h&&!v.light&&qd(b,v,h,void 0,`light`),g&&!v.dark&&qd(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...ud(x.typography),...x.font},spacing:Wd(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(J(t.common,`background`,`#fff`),J(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(J(t.common,`background`,`#000`),J(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===Gl&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===ql&&(r=`#000 ${(n*100).toFixed(0)}%`),e===Yl&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Vd(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){J(t.Alert,`errorColor`,r(ql,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(ql,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(ql,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(ql,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-main`)),J(t.Alert,`infoFilledBg`,n(`palette-info-main`)),J(t.Alert,`successFilledBg`,n(`palette-success-main`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),J(t.Alert,`errorFilledColor`,Gd(()=>t.getContrastText(t.error.main))),J(t.Alert,`infoFilledColor`,Gd(()=>t.getContrastText(t.info.main))),J(t.Alert,`successFilledColor`,Gd(()=>t.getContrastText(t.success.main))),J(t.Alert,`warningFilledColor`,Gd(()=>t.getContrastText(t.warning.main))),J(t.Alert,`errorStandardBg`,r(Yl,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(Yl,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(Yl,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(Yl,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-100`)),J(t.Avatar,`defaultBg`,n(`palette-grey-400`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),J(t.Chip,`defaultBorder`,n(`palette-grey-400`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),J(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),J(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),J(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),J(t.LinearProgress,`primaryBg`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.LinearProgress,`secondaryBg`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.LinearProgress,`errorBg`,r(Yl,o?p(`palette-error-main`):t.error.main,.62)),J(t.LinearProgress,`infoBg`,r(Yl,o?p(`palette-info-main`):t.info.main,.62)),J(t.LinearProgress,`successBg`,r(Yl,o?p(`palette-success-main`):t.success.main,.62)),J(t.LinearProgress,`warningBg`,r(Yl,o?p(`palette-warning-light`):t.warning.main,.62)),J(t.Skeleton,`bg`,b?r(Gl,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),J(t.Slider,`primaryTrack`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Slider,`secondaryTrack`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Slider,`errorTrack`,r(Yl,o?p(`palette-error-main`):t.error.main,.62)),J(t.Slider,`infoTrack`,r(Yl,o?p(`palette-info-main`):t.info.main,.62)),J(t.Slider,`successTrack`,r(Yl,o?p(`palette-success-main`):t.success.main,.62)),J(t.Slider,`warningTrack`,r(Yl,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(ql,o?p(`palette-background-default`):t.background.default,.6825):Zl(t.background.default,.8);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,Gd(()=>b?$u.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,Zl(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-400`)),J(t.StepContent,`border`,n(`palette-grey-400`)),J(t.Switch,`defaultColor`,n(`palette-common-white`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),J(t.Switch,`primaryDisabledColor`,r(Yl,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Switch,`secondaryDisabledColor`,r(Yl,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Switch,`errorDisabledColor`,r(Yl,o?p(`palette-error-main`):t.error.main,.62)),J(t.Switch,`infoDisabledColor`,r(Yl,o?p(`palette-info-main`):t.info.main,.62)),J(t.Switch,`successDisabledColor`,r(Yl,o?p(`palette-success-main`):t.success.main,.62)),J(t.Switch,`warningDisabledColor`,r(Yl,o?p(`palette-warning-main`):t.warning.main,.62)),J(t.TableCell,`border`,r(Yl,Gl(o?p(`palette-divider`):t.divider,1),.88)),J(t.Tooltip,`bg`,r(Gl,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){J(t.Alert,`errorColor`,r(Yl,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(Yl,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(Yl,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(Yl,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),J(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),J(t.Alert,`successFilledBg`,n(`palette-success-dark`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),J(t.Alert,`errorFilledColor`,Gd(()=>t.getContrastText(t.error.dark))),J(t.Alert,`infoFilledColor`,Gd(()=>t.getContrastText(t.info.dark))),J(t.Alert,`successFilledColor`,Gd(()=>t.getContrastText(t.success.dark))),J(t.Alert,`warningFilledColor`,Gd(()=>t.getContrastText(t.warning.dark))),J(t.Alert,`errorStandardBg`,r(ql,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(ql,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(ql,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(ql,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-900`)),J(t.AppBar,`darkBg`,n(`palette-background-paper`)),J(t.AppBar,`darkColor`,n(`palette-text-primary`)),J(t.Avatar,`defaultBg`,n(`palette-grey-600`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),J(t.Chip,`defaultBorder`,n(`palette-grey-700`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),J(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),J(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),J(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),J(t.LinearProgress,`primaryBg`,r(ql,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.LinearProgress,`secondaryBg`,r(ql,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.LinearProgress,`errorBg`,r(ql,o?p(`palette-error-main`):t.error.main,.5)),J(t.LinearProgress,`infoBg`,r(ql,o?p(`palette-info-main`):t.info.main,.5)),J(t.LinearProgress,`successBg`,r(ql,o?p(`palette-success-main`):t.success.main,.5)),J(t.LinearProgress,`warningBg`,r(ql,o?p(`palette-warning-main`):t.warning.main,.5)),J(t.Skeleton,`bg`,b?r(Gl,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),J(t.Slider,`primaryTrack`,r(ql,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.Slider,`secondaryTrack`,r(ql,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.Slider,`errorTrack`,r(ql,o?p(`palette-error-main`):t.error.main,.5)),J(t.Slider,`infoTrack`,r(ql,o?p(`palette-info-main`):t.info.main,.5)),J(t.Slider,`successTrack`,r(ql,o?p(`palette-success-main`):t.success.main,.5)),J(t.Slider,`warningTrack`,r(ql,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(Yl,o?p(`palette-background-default`):t.background.default,.985):Zl(t.background.default,.98);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,Gd(()=>b?Zu.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,Zl(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-600`)),J(t.StepContent,`border`,n(`palette-grey-600`)),J(t.Switch,`defaultColor`,n(`palette-grey-300`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),J(t.Switch,`primaryDisabledColor`,r(ql,o?p(`palette-primary-main`):t.primary.main,.55)),J(t.Switch,`secondaryDisabledColor`,r(ql,o?p(`palette-secondary-main`):t.secondary.main,.55)),J(t.Switch,`errorDisabledColor`,r(ql,o?p(`palette-error-main`):t.error.main,.55)),J(t.Switch,`infoDisabledColor`,r(ql,o?p(`palette-info-main`):t.info.main,.55)),J(t.Switch,`successDisabledColor`,r(ql,o?p(`palette-success-main`):t.success.main,.55)),J(t.Switch,`warningDisabledColor`,r(ql,o?p(`palette-warning-light`):t.warning.main,.55)),J(t.TableCell,`border`,r(ql,Gl(o?p(`palette-divider`):t.divider,1),.68)),J(t.Tooltip,`bg`,r(Gl,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Ud(t.background,`default`),Ud(t.background,`paper`),Ud(t.common,`background`),Ud(t.common,`onBackground`),Ud(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&J(t[e],`mainChannel`,zl(Hd(n.main))),n.light&&J(t[e],`lightChannel`,zl(Hd(n.light))),n.dark&&J(t[e],`darkChannel`,zl(Hd(n.dark))),n.contrastText&&J(t[e],`contrastTextChannel`,zl(Hd(n.contrastText))),e===`text`&&(Ud(t[e],`primary`),Ud(t[e],`secondary`)),e===`action`&&(n.active&&Ud(t[e],`active`),n.selected&&Ud(t[e],`selected`)))})}),S=t.reduce((e,t)=>Js(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Bd(S),enableContrastVars:o},{vars:w,generateThemeVars:T,generateStyleSheets:E}=Ru(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=T,S.generateStyleSheets=E,S.generateSpacing=function(){return kc(u.spacing,xc(this))},S.getColorSchemeSelector=zu(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...tl,...u?.unstable_sxConfig},S.unstable_sx=function(e){return al({sx:e,theme:this})},S.toRuntimeSource=Od,S}function Yd(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:ld({...n===!0?{}:n.palette,mode:t})})}function Xd(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Md(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Md({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Yd(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Yd(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Jd({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Zd=Xd();function Qd(){let e=dl(Zd);return e.$$material||e}function $d(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var ef=e=>$d(e)&&e!==`classes`,Y=Ol({themeId:Ta,defaultTheme:Zd,rootShouldForwardProp:ef});function tf({theme:e,...t}){let n=`$$material`in e?e[Ta]:void 0;return(0,U.jsx)(_u,{...t,themeId:n?Ta:void 0,theme:n||e})}var nf={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:rf,useColorScheme:af,getInitColorSchemeScript:of}=Mu({themeId:Ta,theme:()=>Xd({cssVariables:!0}),colorSchemeStorageKey:nf.colorSchemeStorageKey,modeStorageKey:nf.modeStorageKey,defaultColorScheme:{light:nf.defaultLightColorScheme,dark:nf.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:hd(e.palette,e.typography)};return t.unstable_sx=function(e){return al({sx:e,theme:this})},t}}),sf=rf;function cf({theme:e,...t}){let n=H.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[Ta]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,U.jsx)(tf,{theme:n,...t}):(0,U.jsx)(sf,{theme:e,...t})}var lf=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function uf(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function df(e){return`nodeType`in e}function ff(e){return e?uf(e)?e:df(e)?e.ownerDocument?.defaultView??window:window:window}function pf(e){let{Document:t}=ff(e);return e instanceof t}function mf(e){return!uf(e)&&e instanceof ff(e).HTMLElement}function hf(e){return e instanceof ff(e).SVGElement}function gf(e){return e?uf(e)?e.document:df(e)?pf(e)?e:mf(e)||hf(e)?e.ownerDocument:document:document:document}var _f=lf?H.useLayoutEffect:H.useEffect;function vf(e){let t=(0,H.useRef)(e);return _f(()=>{t.current=e}),(0,H.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function yf(){let e=(0,H.useRef)(null);return[(0,H.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,H.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function bf(e,t){t===void 0&&(t=[e]);let n=(0,H.useRef)(e);return _f(()=>{n.current!==e&&(n.current=e)},t),n}function xf(e,t){let n=(0,H.useRef)();return(0,H.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function Sf(e){let t=vf(e),n=(0,H.useRef)(null);return[n,(0,H.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Cf(e){let t=(0,H.useRef)();return(0,H.useEffect)(()=>{t.current=e},[e]),t.current}var wf={};function Tf(e,t){return(0,H.useMemo)(()=>{if(t)return t;let n=wf[e]==null?0:wf[e]+1;return wf[e]=n,e+`-`+n},[e,t])}function Ef(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var Df=Ef(1),Of=Ef(-1);function kf(e){return`clientX`in e&&`clientY`in e}function Af(e){if(!e)return!1;let{KeyboardEvent:t}=ff(e.target);return t&&e instanceof t}function jf(e){if(!e)return!1;let{TouchEvent:t}=ff(e.target);return t&&e instanceof t}function Mf(e){if(jf(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return kf(e)?{x:e.clientX,y:e.clientY}:null}var Nf=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function Pf(e){return e.matches(Nf)?e:e.querySelector(Nf)}function Ff(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var If=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return!n||!t?r:Ff(r,n,t)},Lf=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,Rf=({size:e,children:t})=>(e=Lf(e),(0,U.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));Rf.propTypes={size:z.number,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var zf=({size:e,children:t,sx:n})=>(0,U.jsx)(Rf,{size:e,children:(0,U.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});zf.propTypes={size:z.oneOfType([z.string,z.number]),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,sx:z.object};var Bf=({fill:e})=>(0,U.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});Bf.propTypes={fill:z.string.isRequired};var Vf=({fill:e})=>(0,U.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});Vf.propTypes={fill:z.string.isRequired};var Hf=({fill:e})=>(0,U.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});Hf.propTypes={fill:z.string.isRequired};var Uf=({fill:e})=>(0,U.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});Uf.propTypes={fill:z.string.isRequired};var Wf=({fill:e})=>(0,U.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});Wf.propTypes={fill:z.string.isRequired};var Gf=(e,t)=>{class n extends H.Component{static propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,size:z.oneOfType([z.number,z.string]),fg:z.string,bg:z.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,U.jsx)(e,{fill:s}):(0,U.jsx)(t,{fill:s}),u=n===`check`?(0,U.jsx)(e,{fill:c}):(0,U.jsx)(t,{fill:c});return a?(0,U.jsx)(zf,{size:o,children:u}):(0,U.jsxs)(zf,{size:o,children:[i===`feedback`?r===`round`?(0,U.jsx)(Hf,{fill:c}):(0,U.jsx)(Vf,{fill:c}):r===`round`?(0,U.jsx)(Uf,{fill:c}):(0,U.jsx)(Wf,{fill:c}),l]})}}return n},Kf=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,U.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
79
|
+
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,U.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,U.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});Kf.propTypes={fill:z.string.isRequired};var qf=({fill:e,x:t=0,y:n=0})=>(0,U.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});qf.propTypes={fill:z.string.isRequired,x:z.number,y:z.number};var Jf=Gf(qf,Kf);Jf.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},Jf.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};var Yf=({bgFill:e,fgFill:t})=>(0,U.jsxs)(`svg`,{"aria-hidden":`true`,focusable:`false`,preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-283 359 34 35`,style:{enableBackground:`new -283 359 34 35`},children:[(0,U.jsx)(`circle`,{cx:`-266`,cy:`375.9`,r:`14`,fill:e}),(0,U.jsx)(`path`,{d:`M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z
|
|
80
|
+
M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z`,fill:e}),(0,U.jsx)(`polygon`,{points:`-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6`,fill:t})]});Yf.propTypes={bgFill:z.string.isRequired,fgFill:z.string.isRequired};var Xf=({bgFill:e,fgFill:t,borderFill:n})=>(0,U.jsxs)(`svg`,{"aria-hidden":`true`,focusable:`false`,preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-129.5 127 34 35`,style:{enableBackground:`new -129.5 127 34 35`},children:[(0,U.jsx)(`path`,{style:{fill:`#D0CAC5`,stroke:`#E6E3E0`,strokeWidth:.75,strokeMiterlimit:10},d:`M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
|
|
81
81
|
C-97.4,153.5-104.3,160.4-112.9,160.4z`}),(0,U.jsx)(`path`,{style:{fill:`#B3ABA4`,stroke:`#CDC7C2`,strokeWidth:.5,strokeMiterlimit:10},d:`M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z`}),(0,U.jsx)(`circle`,{cx:`-114.2`,cy:`143.5`,r:`14`,fill:e}),(0,U.jsx)(`path`,{d:`M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
|
|
82
|
-
M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z`,fill:n}),(0,U.jsx)(`polygon`,{points:`-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2`,fill:t})]});
|
|
83
|
-
C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});op.propTypes={fill:z.string.isRequired};var sp=class extends H.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),emoji:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(op,{fill:t})]}),feedback:{check:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(op,{fill:t})]}),emoji:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(op,{fill:t})]}),square:{check:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),emoji:(0,U.jsxs)(Vf,{children:[(0,U.jsx)(ap,{fill:n}),(0,U.jsx)(op,{fill:t})]}),open:{check:(0,U.jsx)(Vf,{children:(0,U.jsx)(ip,{fill:n})}),emoji:(0,U.jsx)(Vf,{children:(0,U.jsx)(op,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};sp.propTypes={iconSet:z.oneOf([`emoji`,`check`,void 0]),shape:z.oneOf([`square`,void 0]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string},sp.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var cp=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,U.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,U.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});cp.propTypes={fill:z.string.isRequired};var lp=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,U.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,U.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,U.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});lp.propTypes={fill:z.string.isRequired};var up=qf(cp,lp);up.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},up.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};function dp(e){return typeof e==`string`}function fp(e){return du(e)}function pp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var mp=pp;function hp(e){return e&&e.ownerDocument||document}var gp=hp;function _p(e){return hp(e).defaultView||window}var vp=_p,yp={};function bp(e,t){let n=H.useRef(yp);return n.current===yp&&(n.current=e(t)),n}var xp=[];function Sp(e){H.useEffect(e,xp)}var Cp=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function wp(){let e=bp(Cp.create).current;return Sp(e.disposeEffect),e}function Tp(e){return e?.ref||null}function Ep(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Dp(e,t){return Dp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dp(e,t)}function Op(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Dp(e,t)}function kp(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function Ap(e,t){e.classList?e.classList.add(t):kp(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function jp(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function Mp(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=jp(e.className,t):e.setAttribute(`class`,jp(e.className&&e.className.baseVal||``,t))}var Np={disabled:!1},Pp=H.createContext(null),Fp=function(e){return e.scrollTop},Ip=l(h()),Lp=`unmounted`,Rp=`exited`,zp=`entering`,Bp=`entered`,Vp=`exiting`,Hp=function(e){Op(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=Rp,r.appearStatus=zp):o=Bp:o=t.unmountOnExit||t.mountOnEnter?Lp:Rp,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:Rp}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=zp):(n===`entering`||n===`entered`)&&(t=Vp)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Ip.findDOMNode(this);n&&Fp(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:Lp})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Ip.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||Np.disabled){this.safeSetState({status:Bp},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:zp},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Bp},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Ip.findDOMNode(this);if(!t||Np.disabled){this.safeSetState({status:Rp},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:Vp},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Rp},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Ip.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Ep(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return H.createElement(Pp.Provider,{value:null},typeof n==`function`?n(e,r):H.cloneElement(H.Children.only(n),r))},t}(H.Component);Hp.contextType=Pp,Hp.propTypes={};function Up(){}Hp.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Up,onEntering:Up,onEntered:Up,onExit:Up,onExiting:Up,onExited:Up},Hp.UNMOUNTED=Lp,Hp.EXITED=Rp,Hp.ENTERING=zp,Hp.ENTERED=Bp,Hp.EXITING=Vp;var Wp=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return Ap(e,t)})},Gp=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return Mp(e,t)})},Kp=function(e){Op(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&Fp(e),r&&(this.appliedClasses[t][n]=r,Wp(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&Gp(e,r),i&&Gp(e,i),a&&Gp(e,a)},n.render=function(){var e=this.props;e.classNames;var t=Ep(e,[`classNames`]);return H.createElement(Hp,Oa({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(H.Component);Kp.defaultProps={classNames:``},Kp.propTypes={};function qp(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Jp(e,t){var n=function(e){return t&&(0,H.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&H.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function Yp(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function Xp(e,t,n){return n[t]==null?e.props[t]:n[t]}function Zp(e,t){return Jp(e.children,function(n){return(0,H.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Xp(n,`appear`,e),enter:Xp(n,`enter`,e),exit:Xp(n,`exit`,e)})})}function Qp(e,t,n){var r=Jp(e.children),i=Yp(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,H.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,H.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,H.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Xp(o,`exit`,e),enter:Xp(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,H.cloneElement)(o,{in:!1}):c&&s&&(0,H.isValidElement)(l)&&(i[a]=(0,H.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:Xp(o,`exit`,e),enter:Xp(o,`enter`,e)}))}}),i}var $p=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},em={component:`div`,childFactory:function(e){return e}},tm=function(e){Op(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(qp(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Zp(e,r):Qp(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Jp(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Oa({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ep(e,[`component`,`childFactory`]),i=this.state.contextValue,a=$p(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?H.createElement(Pp.Provider,{value:i},a):H.createElement(Pp.Provider,{value:i},H.createElement(t,r,a))},t}(H.Component);tm.propTypes={},tm.defaultProps=em;var nm=e=>e.scrollTop;function rm(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function im(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function am(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function om(...e){let t=H.useRef(void 0),n=H.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return H.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var sm=om;function cm(e){return`scale(${e}, ${e**2})`}var lm={entering:{opacity:1,transform:cm(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:cm(.75)},exited:{opacity:0,transform:cm(.75)}},um={opacity:0,transform:cm(.75),visibility:`hidden`},dm=H.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=wp(),_=H.useRef(),v=ef(),y=H.useRef(null),b=sm(y,Tp(i),t),x=rm(y,l),S=rm(y,(e,t)=>{nm(e);let{duration:n,delay:r,easing:i}=am({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=rm(y,c),w=rm(y,f),T=rm(y,e=>{let{duration:t,delay:n,easing:r}=am({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=cm(.75),u&&u(e)}),E=rm(y,e=>{e.style.transition=``,d&&d(e)});return(0,U.jsx)(Hp,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=im(e,o,lm,um,p,i.props.style);return H.cloneElement(i,{style:r,ref:b,...n})}})});dm&&(dm.muiSupportAuto=!0);function fm(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function pm(e){let t=hp(e);return t.body===e?_p(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function mm(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function hm(e){return parseFloat(_p(e).getComputedStyle(e).paddingRight)||0}function gm(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function _m(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!gm(e);t&&n&&mm(e,i)})}function vm(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function ym(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(pm(r)){let e=fm(_p(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${hm(r)+e}px`;let t=hp(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${hm(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=hp(r).body;else{let t=r.parentElement,n=_p(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function bm(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var xm=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&mm(e.modalRef,!1);let r=bm(t);_m(t,e.mount,e.modalRef,r,!0);let i=vm(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=vm(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=ym(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=vm(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&mm(e.modalRef,t),_m(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&mm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Sm(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var Cm=Sm;function wm(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Tm=wm,Em=`data-mui-focusable`;function Dm(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${Em}]`):null}var Om=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function km(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function Am(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function jm(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||Am(e))}function Mm(e){let t=[],n=[];return Array.from(e.querySelectorAll(Om)).forEach((e,r)=>{let i=km(e);i===-1||!jm(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Nm(){return!0}function Pm(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Mm,isEnabled:o=Nm,open:s}=e,c=H.useRef(!1),l=H.useRef(null),u=H.useRef(null),d=H.useRef(null),f=H.useRef(null),p=H.useRef(!1),m=H.useRef(null),h=om(Tp(t),m),g=H.useRef(null);H.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),H.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=Tm(hp(m.current)),t=Dm(m.current)??m.current;return Cm(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),H.useEffect(()=>{if(!s||!m.current)return;let e=hp(m.current),t=t=>{g.current=t,!(r||!o()||t.key!==`Tab`)&&Tm(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=Tm(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(Cm(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=Tm(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,U.jsxs)(H.Fragment,{children:[(0,U.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),H.cloneElement(t,{ref:h,onFocus:_}),(0,U.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function Fm(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function Im(e){return typeof e==`function`?e():e}var Lm=H.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=H.useState(null),s=om(H.isValidElement(n)?Tp(n):null,t);if(Fl(()=>{i||o(Im(r)||document.body)},[r,i]),Fl(()=>{if(a&&!i)return Fm(t,a),()=>{Fm(t,null)}},[t,a,i]),i){if(H.isValidElement(n)){let e={ref:s};return H.cloneElement(n,e)}return n}return a&&Ip.createPortal(n,a)}),Rm=xu;function zm(e,t,n){return e===void 0||dp(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Bm(e,t,n){return typeof e==`function`?e(t,n):e}function Vm(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Hm(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Um(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=q(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Vm({...i,...r}),s=Hm(r),c=Hm(i),l=t(o),u=q(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Wm(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Bm(d[e],i),{props:{component:h,...g},internalRef:_}=Um({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=om(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,zm(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}var Gm={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Km={opacity:0,visibility:`hidden`},qm=H.forwardRef(function(e,t){let n=ef(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=H.useRef(null),y=sm(v,Tp(o),t),b=rm(v,d),x=rm(v,(e,t)=>{nm(e);let r=am({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=rm(v,u),C=rm(v,m),w=rm(v,e=>{let t=am({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=rm(v,e=>{e.style.transition=``,p&&p(e)});return(0,U.jsx)(Hp,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=im(e,c,Gm,Km,h,o.props.style);return H.cloneElement(o,{style:r,ref:y,...n})}})});function Jm(e){return bl(`MuiBackdrop`,e)}xl(`MuiBackdrop`,[`root`,`invisible`]);var Ym=e=>{let{classes:t,invisible:n}=e;return Hu({root:[`root`,n&&`invisible`]},Jm,t)},Xm=Y(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Zm=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=Ym(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=Wm(`root`,{elementType:Xm,externalForwardedProps:_,className:q(g.root,i),ownerState:h}),[b,x]=Wm(`transition`,{elementType:qm,externalForwardedProps:_,ownerState:h});return(0,U.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,U.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Qm(e){let t=H.useRef(e);return Fl(()=>{t.current=e}),H.useRef((...e)=>(0,t.current)(...e)).current}function $m(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function eh(e){return typeof e==`function`?e():e}function th(e){return e?e.props.hasOwnProperty(`in`):!1}var nh=()=>{},rh=new xm;function ih(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=H.useRef({}),f=H.useRef(null),p=H.useRef(null),m=om(p,u),[h,g]=H.useState(!l),_=th(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>hp(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{rh.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=Qm(()=>{let e=eh(t)||y().body;rh.add(b(),e),p.current&&x()}),C=()=>rh.isTopModal(b()),w=Qm(e=>{f.current=e,e&&(l&&C()?x():p.current&&mm(p.current,v))}),T=H.useCallback(()=>{rh.remove(b(),v)},[v]);H.useEffect(()=>()=>{T()},[T]),H.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!C())&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=Vm(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:$m(()=>{g(!1),a&&a()},s?.props.onEnter??nh),onExited:$m(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??nh)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function ah(e){return bl(`MuiModal`,e)}xl(`MuiModal`,[`root`,`hidden`,`backdrop`]);var oh=e=>{let{open:t,exited:n,classes:r}=e;return Hu({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},ah,r)},sh=Y(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Rm(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),ch=Y(Zm,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),lh=H.forwardRef(function(e,t){let n=fp({name:`MuiModal`,props:e}),{BackdropComponent:r=ch,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...ee}=n,O={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:te,getBackdropProps:k,getTransitionProps:A,portalRef:ne,isTopModal:j,exited:M,hasTransition:N}=ih({...O,rootRef:t}),re={...O,exited:M},ie=oh(re),P={};if(c.props.tabIndex===void 0&&(P.tabIndex=`-1`),N){let{onEnter:e,onExited:t}=A();P.onEnter=e,P.onExited=t}let F={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[ae,oe]=Wm(`root`,{ref:t,elementType:sh,externalForwardedProps:{...F,...ee,component:u},getSlotProps:te,ownerState:re,className:q(o,ie?.root,!re.open&&re.exited&&ie?.hidden)}),[se,ce]=Wm(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:F,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>k({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:q(i?.className,ie?.backdrop),ownerState:re});return!b&&!w&&(!N||M)?null:(0,U.jsx)(Lm,{ref:ne,container:l,disablePortal:g,children:(0,U.jsxs)(ae,{...oe,children:[!y&&r?(0,U.jsx)(se,{...ce}):null,(0,U.jsx)(Pm,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:j,open:w,children:H.cloneElement(c,P)})]})})});function uh(e){return bl(`MuiPaper`,e)}xl(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var dh=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return Hu({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},uh,i)},fh=Y(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Rm(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),ph=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiPaper`}),r=ef(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=dh(u);return(0,U.jsx)(fh,{as:a,ownerState:u,className:q(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${Kl(`#fff`,Fd(o))}, ${Kl(`#fff`,Fd(o))})`}},...l.style}})});function mh(e){return bl(`MuiPopover`,e)}xl(`MuiPopover`,[`root`,`paper`]);var hh=dc;function gh(e){return bl(`MuiSvgIcon`,e)}xl(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var _h=e=>{let{color:t,fontSize:n,classes:r}=e;return Hu({root:[`root`,t!==`inherit`&&`color${hh(t)}`,`fontSize${hh(n)}`]},gh,r)},vh=Y(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${hh(n.color)}`],t[`fontSize${hh(n.fontSize)}`]]}})(Rm(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),yh=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=H.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};l||(h.viewBox=d);let g=_h(m);return(0,U.jsxs)(vh,{as:o,className:q(g.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,U.jsx)(`title`,{children:u}):null]})});yh.muiName=`SvgIcon`;function bh(e,t){function n(t,n){return(0,U.jsx)(yh,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=yh.muiName,H.memo(H.forwardRef(n))}var xh=Uu,Sh=Fl,Ch=hu,wh=Qm;function Th(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Eh(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{Th(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=q(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=q(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Dh(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function Oh(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function kh(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function Ah(e){return typeof e==`function`?e():e}var jh=e=>{let{classes:t}=e;return Hu({root:[`root`],paper:[`paper`]},mh,t)},Mh=Y(lh,{name:`MuiPopover`,slot:`Root`})({}),Nh=Y(ph,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),Ph=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=H.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=jh(w),E=H.useCallback(()=>{if(s===`anchorPosition`)return o;let e=Ah(i),t=(e&&e.nodeType===1?e:gp(C.current).body).getBoundingClientRect();return{top:t.top+Dh(t,a.vertical),left:t.left+Oh(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=H.useCallback(e=>({vertical:Dh(e,_.vertical),horizontal:Oh(e,_.horizontal)}),[_.horizontal,_.vertical]),ee=H.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:kh(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=vp(Ah(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:kh(n)}},[i,s,E,D,f]),[O,te]=H.useState(p),k=H.useCallback(()=>{let e=C.current;if(!e)return;let t=ee(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,te(!0)},[ee]);H.useEffect(()=>(x&&window.addEventListener(`scroll`,k),()=>window.removeEventListener(`scroll`,k)),[i,x,k]);let A=()=>{k()},ne=()=>{te(!1)};H.useEffect(()=>{p&&k()}),H.useImperativeHandle(r,()=>p?{updatePosition:()=>{k()}}:null,[p,k]),H.useEffect(()=>{if(!p)return;let e=mp(()=>{k()}),t=vp(Ah(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,k]);let j=y,M={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[N,re]=Wm(`transition`,{elementType:dm,externalForwardedProps:M,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),A()},onExited:t=>{e.onExited?.(t),ne()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!N.muiSupportAuto&&(j=void 0);let ie=u||(i?gp(Ah(i)).body:void 0),[P,{slots:F,slotProps:ae,...oe}]=Wm(`root`,{ref:t,elementType:Mh,externalForwardedProps:{...M,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:Eh(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:ie,open:p},ownerState:w,className:q(T.root,l)}),[se,ce]=Wm(`paper`,{ref:C,className:T.paper,elementType:Nh,externalForwardedProps:M,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:O?void 0:{opacity:0}},ownerState:w});return(0,U.jsx)(P,{...oe,...!dp(P)&&{slots:F,slotProps:ae,disableScrollLock:x},children:(0,U.jsx)(N,{...re,timeout:j,children:(0,U.jsx)(se,{...ce,children:c})})})});function Fh(e,t){this.v=e,this.k=t}function Ih(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Lh(e){if(Array.isArray(e))return e}function Rh(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function zh(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bh(e,t){return Lh(e)||Rh(e,t)||Vh(e,t)||zh()}function Vh(e,t){if(e){if(typeof e==`string`)return Ih(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ih(e,t):void 0}}function Hh(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Fh;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}Hh.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},Hh.prototype.next=function(e){return this._invoke(`next`,e)},Hh.prototype.throw=function(e){return this._invoke(`throw`,e)},Hh.prototype.return=function(e){return this._invoke(`return`,e)};var Uh=Object.entries,Wh=Object.setPrototypeOf,Gh=Object.isFrozen,Kh=Object.getPrototypeOf,qh=Object.getOwnPropertyDescriptor,Jh=Object.freeze,Yh=Object.seal,Xh=Object.create,Zh=typeof Reflect<`u`&&Reflect,Qh=Zh.apply,$h=Zh.construct;Jh||=function(e){return e},Yh||=function(e){return e},Qh||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},$h||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var eg=bg(Array.prototype.forEach);Array.prototype.indexOf;var tg=bg(Array.prototype.lastIndexOf),ng=bg(Array.prototype.pop),rg=bg(Array.prototype.push);Array.prototype.slice;var ig=bg(Array.prototype.splice),ag=Array.isArray,og=bg(String.prototype.toLowerCase),sg=bg(String.prototype.toString),cg=bg(String.prototype.match),lg=bg(String.prototype.replace),ug=bg(String.prototype.indexOf),dg=bg(String.prototype.trim),fg=bg(Number.prototype.toString),pg=bg(Boolean.prototype.toString),mg=typeof BigInt>`u`?null:bg(BigInt.prototype.toString),hg=typeof Symbol>`u`?null:bg(Symbol.prototype.toString),gg=bg(Object.prototype.hasOwnProperty),_g=bg(Object.prototype.toString),vg=bg(RegExp.prototype.test),yg=xg(TypeError);function bg(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Qh(e,t,r)}}function xg(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return $h(e,n)}}function X(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:og;if(Wh&&Wh(e,null),!ag(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Gh(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Sg(e){for(let t=0;t<e.length;t++)gg(e,t)||(e[t]=null);return e}function Cg(e){let t=Xh(null);for(let r of Uh(e)){var n=Bh(r,2);let i=n[0],a=n[1];gg(e,i)&&(ag(a)?t[i]=Sg(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=Cg(a):t[i]=a)}return t}function wg(e){switch(typeof e){case`string`:return e;case`number`:return fg(e);case`boolean`:return pg(e);case`bigint`:return mg?mg(e):`0`;case`symbol`:return hg?hg(e):`Symbol()`;case`undefined`:return _g(e);case`function`:case`object`:{if(e===null)return _g(e);let t=e,n=Tg(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:_g(e)}return _g(e)}default:return _g(e)}}function Tg(e,t){for(;e!==null;){let n=qh(e,t);if(n){if(n.get)return bg(n.get);if(typeof n.value==`function`)return bg(n.value)}e=Kh(e)}function n(){return null}return n}function Eg(e){try{return vg(e,``),!0}catch{return!1}}var Dg=Jh(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Og=Jh(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),kg=Jh([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Ag=Jh([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),jg=Jh(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Mg=Jh([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Ng=Jh([`#text`]),Pg=Jh(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Fg=Jh(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Ig=Jh(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Lg=Jh([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Rg=Yh(/{{[\w\W]*|^[\w\W]*}}/g),zg=Yh(/<%[\w\W]*|^[\w\W]*%>/g),Bg=Yh(/\${[\w\W]*/g),Vg=Yh(/^data-[\-\w.\u00B7-\uFFFF]+$/),Hg=Yh(/^aria-[\-\w]+$/),Ug=Yh(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wg=Yh(/^(?:\w+script|data):/i),Gg=Yh(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Kg=Yh(/^html$/i),qg=Yh(/^[a-z][.\w]*(-[.\w]+)+$/i),Jg=Yh(/<[/\w!]/g),Yg=Yh(/<[/\w]/g),Xg=Yh(/<\/no(script|embed|frames)/i),Zg=Yh(/\/>/i),Qg={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},$g=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],e_=Jh(X({},$g)),t_=function(){let e={};return eg($g,t=>{e[t]=Yh(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),Jh(e)}(),n_=function(){return typeof window>`u`?null:window},r_=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},i_=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},a_=function(e,t,n,r){return gg(e,t)&&ag(e[t])?X(r.base?Cg(r.base):{},e[t],r.transform):n},o_=function(e,t,n){let r=gg(e,t)?e[t]:void 0;return r&&typeof r==`object`?Cg(r):n()};function s_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n_(),t=e=>s_(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==Qg.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=Tg(d,`cloneNode`),p=Tg(d,`remove`),m=Tg(d,`removeAttributeNode`),h=Tg(d,`nextSibling`),g=Tg(d,`childNodes`),_=Tg(d,`parentNode`),v=Tg(d,`shadowRoot`),y=Tg(d,`attributes`),b=o&&o.prototype?Tg(o.prototype,`nodeType`):null,x=o&&o.prototype?Tg(o.prototype,`nodeName`):null,S=o&&o.prototype?Tg(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let T,E=``,D,ee=!1,O=0,te=function(){if(O>0)throw yg(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},k=function(e){te(),O++;try{return T.createHTML(e)}finally{O--}},A=function(e){te(),O++;try{return T.createScriptURL(e)}finally{O--}},ne=function(){return ee||=(D=r_(u,i),!0),D},j=n,M=j.implementation,N=j.createNodeIterator,re=j.createDocumentFragment,ie=j.getElementsByTagName,P=r.importNode,F=i_();t.isSupported=typeof Uh==`function`&&typeof _==`function`&&M&&M.createHTMLDocument!==void 0;let ae=Rg,oe=zg,se=Bg,ce=Vg,le=Hg,ue=Wg,de=Gg,fe=qg,pe=Ug,I=null,me=X({},[...Dg,...Og,...kg,...jg,...Ng]),L=null,he=X({},[...Pg,...Fg,...Ig,...Lg]),ge=Object.seal(Xh(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,ve=null,ye=Object.seal(Xh(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),be=!0,xe=!0,Se=!1,Ce=!0,we=!1,Te=!0,Ee=!1,De=!1,Oe=null,ke=null,Ae=!1,je=!1,Me=!1,Ne=!1,Pe=!0,Fe=!1,Ie=`user-content-`,Le=!0,Re=!1,ze={},Be=null,Ve=X({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),He=null,Ue=X({},[`audio`,`video`,`img`,`source`,`image`,`track`]),We=null,Ge=X({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ke=`http://www.w3.org/1998/Math/MathML`,qe=`http://www.w3.org/2000/svg`,Je=`http://www.w3.org/1999/xhtml`,Ye=Je,Xe=!1,Ze=null,Qe=X({},[Ke,qe,Je],sg),$e=Jh([`mi`,`mo`,`mn`,`ms`,`mtext`]),et=X({},$e),tt=Jh([`annotation-xml`]),nt=X({},tt),rt=X({},[`title`,`style`,`font`,`a`,`script`]),it=null,at=[`application/xhtml+xml`,`text/html`],ot=null,st=null,ct=n.createElement(`form`),lt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(st&&st===e)return;(!e||typeof e!=`object`)&&(e={}),e=Cg(e),it=at.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,ot=it===`application/xhtml+xml`?sg:og,I=a_(e,`ALLOWED_TAGS`,me,{transform:ot}),L=a_(e,`ALLOWED_ATTR`,he,{transform:ot}),Ze=a_(e,`ALLOWED_NAMESPACES`,Qe,{transform:sg}),We=a_(e,`ADD_URI_SAFE_ATTR`,Ge,{transform:ot,base:Ge}),He=a_(e,`ADD_DATA_URI_TAGS`,Ue,{transform:ot,base:Ue}),Be=a_(e,`FORBID_CONTENTS`,Ve,{transform:ot}),_e=a_(e,`FORBID_TAGS`,Cg({}),{transform:ot}),ve=a_(e,`FORBID_ATTR`,Cg({}),{transform:ot}),ze=gg(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?Cg(e.USE_PROFILES):e.USE_PROFILES:!1,be=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,we=e.SAFE_FOR_TEMPLATES||!1,Te=e.SAFE_FOR_XML!==!1,Ee=e.WHOLE_DOCUMENT||!1,je=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Ne=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Pe=e.SANITIZE_DOM!==!1,Fe=e.SANITIZE_NAMED_PROPS||!1,Le=e.KEEP_CONTENT!==!1,Re=e.IN_PLACE||!1,pe=Eg(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Ug,Ye=typeof e.NAMESPACE==`string`?e.NAMESPACE:Je,et=o_(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>X({},$e)),nt=o_(e,`HTML_INTEGRATION_POINTS`,()=>X({},tt));let t=o_(e,`CUSTOM_ELEMENT_HANDLING`,()=>Xh(null));if(ge=Xh(null),gg(t,`tagNameCheck`)&<(t.tagNameCheck)&&(ge.tagNameCheck=t.tagNameCheck),gg(t,`attributeNameCheck`)&<(t.attributeNameCheck)&&(ge.attributeNameCheck=t.attributeNameCheck),gg(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(ge.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Yh(ge),we&&(xe=!1),Me&&(je=!0),ze&&(I=X({},Ng),L=Xh(null),ze.html===!0&&(X(I,Dg),X(L,Pg)),ze.svg===!0&&(X(I,Og),X(L,Fg),X(L,Lg)),ze.svgFilters===!0&&(X(I,kg),X(L,Fg),X(L,Lg)),ze.mathMl===!0&&(X(I,jg),X(L,Ig),X(L,Lg))),ye.tagCheck=null,ye.attributeCheck=null,gg(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ye.tagCheck=e.ADD_TAGS:ag(e.ADD_TAGS)&&(I===me&&(I=Cg(I)),X(I,e.ADD_TAGS,ot))),gg(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ye.attributeCheck=e.ADD_ATTR:ag(e.ADD_ATTR)&&(L===he&&(L=Cg(L)),X(L,e.ADD_ATTR,ot))),gg(e,`ADD_FORBID_CONTENTS`)&&ag(e.ADD_FORBID_CONTENTS)&&(Be===Ve&&(Be=Cg(Be)),X(Be,e.ADD_FORBID_CONTENTS,ot)),Le&&(I[`#text`]=!0),Ee&&X(I,[`html`,`head`,`body`]),I.table&&(X(I,[`tbody`]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw yg(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw yg(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=T;T=e.TRUSTED_TYPES_POLICY;try{E=k(``)}catch(e){throw T=t,e}}else e.TRUSTED_TYPES_POLICY===null?(T=void 0,E=``):(T===void 0&&(T=ne()),T&&typeof E==`string`&&(E=k(``)));Jh&&Jh(e),st=e},dt=X({},[...Og,...kg,...Ag]),ft=X({},[...jg,...Mg]),pt=function(e,t,n){return t.namespaceURI===Je?e===`svg`:t.namespaceURI===Ke?e===`svg`&&(n===`annotation-xml`||et[n]):!!dt[e]},mt=function(e,t,n){return t.namespaceURI===Je?e===`math`:t.namespaceURI===qe?e===`math`&&nt[n]:!!ft[e]},ht=function(e,t,n){return t.namespaceURI===qe&&!nt[n]||t.namespaceURI===Ke&&!et[n]?!1:!ft[e]&&(rt[e]||!dt[e])},gt=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:Ye,tagName:`template`});let n=og(e.tagName),r=og(t.tagName);return Ze[e.namespaceURI]?e.namespaceURI===qe?pt(n,t,r):e.namespaceURI===Ke?mt(n,t,r):e.namespaceURI===Je?ht(n,t,r):!!(it===`application/xhtml+xml`&&Ze[e.namespaceURI]):!1},_t=function(e){rg(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw yg(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},vt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},yt=function(e){St(e);let t=g(e);if(t){let e=[];eg(t,t=>{rg(e,t)}),eg(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&vt(e,r,i)}},bt=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}rg(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`)if(je||Me)try{_t(n)}catch{}else try{n.setAttribute(e,``)}catch{}},xt=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||L[ot(i)]||vt(e,r,i)}},St=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===Qg.element&&xt(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Ct=function(e,t){return Te?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},wt=function(e){if(!Te)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===Qg.processingInstruction||n===Qg.comment&&vg(Yg,e.data)){try{p(e)}catch{}continue}if(n===Qg.element){let t=e,n=ot(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&Ct(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Tt=function(e){let t=null,r=null;if(Ae)e=`<remove></remove>`+e;else{let t=cg(e,/^[\r\n\t ]+/);r=t&&t[0]}it===`application/xhtml+xml`&&Ye===Je&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=T?k(e):e;if(Ye===Je)try{t=new l().parseFromString(i,it)}catch{}if(!t||!t.documentElement){t=M.createDocument(Ye,`template`,null);try{t.documentElement.innerHTML=Xe?E:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ye===Je?ie.call(t,Ee?`html`:`body`)[0]:Ee?t.documentElement:a},Et=function(e){let t=S?S(e):e.ownerDocument;return N.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Dt=function(e){return e=lg(e,ae,` `),e=lg(e,oe,` `),e=lg(e,se,` `),e},Ot=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=N.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Dt(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&eg(i,e=>{At(e.content)&&Ot(e.content)})},kt=function(e){let t=x?x(e):null;return typeof t!=`string`||ot(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},At=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===Qg.documentFragment}catch{return!1}},jt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function Mt(e,n,r){e.length!==0&&eg(e,e=>{e.call(t,n,r,st)})}let Nt=function(e,t){return!!(Te&&e.hasChildNodes()&&!jt(e.firstElementChild)&&vg(Jg,e.textContent)&&vg(Jg,e.innerHTML)||Te&&e.namespaceURI===Je&&e_[t]&&(jt(e.firstElementChild)||typeof e.textContent==`string`&&vg(t_[t],e.textContent))||e.nodeType===Qg.processingInstruction||Te&&e.nodeType===Qg.comment&&vg(Yg,e.data))},Pt=function(e,t){if(e instanceof RegExp)return vg(e,t);if(e instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!e(t,...r)}return!1},Ft=function(e,t,n){if(!_e[t]&&Vt(t)&&Pt(ge.tagNameCheck,t))return!1;if(Le&&!Be[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return _t(e),!0},It=function(e,t,n,r){return e.length===0?t:t===n||t===r?Cg(t):t},Lt=function(e,t){return e===t||_(e)!==null?!1:(Re&&St(e),!0)},Rt=function(e,n){if(Mt(F.beforeSanitizeElements,e,null),Lt(e,n))return!0;if(kt(e))return _t(e),!0;let r=ot(w(e));if(I=It(F.uponSanitizeElement,I,me,Oe),Mt(F.uponSanitizeElement,e,{tagName:r,allowedTags:I}),Lt(e,n))return!0;if(Nt(e,r))return _t(e),!0;if(_e[r]||!(ye.tagCheck instanceof Function&&ye.tagCheck(r))&&!I[r]){let t=Ft(e,r,n);return t===!1&&(Mt(F.afterSanitizeElements,e,null),Lt(e,n))?!0:t}if(C(e)===Qg.element&&!gt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&vg(Xg,e.innerHTML))return _t(e),!0;if(we&&e.nodeType===Qg.text){let n=Dt(e.textContent);e.textContent!==n&&(rg(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Mt(F.afterSanitizeElements,e,null),Lt(e,n)},zt=function(e,t,r){if(ve[t]||Ct(t,e)||Pe&&(t===`id`||t===`name`)&&(r in n||r in ct))return!1;let i=L[t]||ye.attributeCheck instanceof Function&&ye.attributeCheck(t,e);return xe&&vg(ce,t)||be&&vg(le,t)?!0:i?We[t]||vg(pe,lg(r,de,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&ug(r,`data:`)===0&&He[e]||Se&&!vg(ue,lg(r,de,``))?!0:!r:Vt(e)&&Pt(ge.tagNameCheck,e)&&Pt(ge.attributeNameCheck,t,e)||t===`is`&&ge.allowCustomizedBuiltInElements&&Pt(ge.tagNameCheck,r)},Bt=X({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Vt=function(e){return!Bt[og(e)]&&vg(fe,e)},Ht=function(e,t,n,r){if(T&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return k(r);case`TrustedScriptURL`:return A(r)}return r},Ut=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),kt(e)?(_t(e),!1):!0}catch{return bt(t,e),!1}},R=function(e,n){if(Mt(F.beforeSanitizeAttributes,e,null),Lt(e,n))return;let r=e.attributes;if(!r||kt(e))return;L=It(F.uponSanitizeAttribute,L,he,ke);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},a=r.length,o=ot(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=ot(s),d=l,f=s===`value`?d:dg(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,Mt(F.uponSanitizeAttribute,e,i),f=i.attrValue,Fe&&(u===`id`||u===`name`)&&ug(f,Ie)!==0&&(bt(s,e,n),f=Ie+f,p=!0),Te&&vg(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){bt(s,e,n);continue}if(u===`attributename`&&cg(f,`href`)){bt(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){bt(s,e,n);continue}if(!Ce&&vg(Zg,f)){bt(s,e,n);continue}if(we&&(f=Dt(f)),!zt(o,u,f)){bt(s,e,n);continue}f=Ht(o,u,c,f),f!==d&&Ut(e,s,c,f)&&p&&ng(t.removed)}}Mt(F.afterSanitizeAttributes,e,null),Lt(e,n)},Wt=function(e){let t=null,n=Et(e);for(Mt(F.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Mt(F.uponSanitizeShadowNode,t,null),Rt(t,e),R(t,e),At(t.content)&&Wt(t.content),C(t)===Qg.element){let e=v(t);At(e)&&(Gt(e),Wt(e))}Mt(F.afterSanitizeShadowDOM,e,null)},Gt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Wt(e.shadow);continue}let n=e.node,r=C(n)===Qg.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&ot(e)===`template`){let e=n.content;At(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);At(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Xe=!e,Xe&&(e=`<!-->`),typeof e!=`string`&&!jt(e)&&(e=wg(e),typeof e!=`string`))throw yg(`dirty is not a string, aborting`);if(!t.isSupported)return e;De?(I=Oe,L=ke):ut(n),(F.uponSanitizeElement.length>0||F.uponSanitizeAttribute.length>0)&&(I=Cg(I)),F.uponSanitizeAttribute.length>0&&(L=Cg(L)),t.removed=[];let c=Re&&typeof e!=`string`&&jt(e);if(c){wt(e);let t=w(e);if(typeof t==`string`){let n=ot(t);if(!I[n]||_e[n])throw yt(e),yg(`root node is forbidden and cannot be sanitized in-place`)}if(kt(e))throw yt(e),yg(`root node is clobbered and cannot be sanitized in-place`);try{Gt(e)}catch(t){throw yt(e),t}}else if(jt(e))i=Tt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Qg.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Gt(i);else{if(!je&&!we&&!Ee&&e.indexOf(`<`)===-1)return T&&Ne?k(e):e;if(i=Tt(e),!i)return je?null:Ne?E:``}i&&Ae&&_t(i.firstChild);let l=c?e:i;try{let e=Et(l);for(;o=e.nextNode();)Rt(o,l),R(o,l),At(o.content)&&Wt(o.content)}catch(n){throw c&&(yt(e),eg(t.removed,e=>{e.element&&St(e.element)})),n}if(c){let n=!1;if(eg(t.removed,t=>{t.element&&(t.element===e&&(n=!0),St(t.element))}),n)throw yg(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return we&&Ot(e),e}if(je){if(we&&Ot(i),Me)for(s=re.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(L.shadowroot||L.shadowrootmode)&&(s=P.call(r,s,!0)),s}let u=Ee?i.outerHTML:i.innerHTML;return Ee&&I[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&vg(Kg,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
85
|
-
`+u),we&&(u=Dt(u)),T&&Ne?k(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ut(e),De=!0,Oe=I,ke=L},t.clearConfig=function(){st=null,De=!1,Oe=null,ke=null,T=D,E=``},t.isValidAttribute=function(e,t,n){st||ut({});let r=ot(e),i=ot(t);return zt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&gg(F,e)&&rg(F[e],t)},t.removeHook=function(e,t){if(gg(F,e)){if(t!==void 0){let n=tg(F[e],t);return n===-1?void 0:ig(F[e],n,1)[0]}return ng(F[e])}},t.removeHooks=function(e){gg(F,e)&&(F[e]=[])},t.removeAllHooks=function(){F=i_()},t}var c_=s_(),l_=`data-pie-authored-ink`,u_=`data-pie-authored-fill`,d_=`data-pie-authored-border`,f_=[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],p_=new Set([`currentcolor`,`inherit`,`initial`,`unset`,`revert`,`revert-layer`,`transparent`]);function m_(e){let t=e?.trim().toLowerCase();return!t||p_.has(t)||t.includes(`var(`)?!1:v_(t)?.a!==0}function h_(e){let t=v_(e);if(!t)return`shade`;let n=e=>(e*t.a+255*(1-t.a))/255,[r,i,a]=[n(t.r),n(t.g),n(t.b)],o=.2126*R_(r)+.7152*R_(i)+.0722*R_(a),s=Math.max(r,i,a)-Math.min(r,i,a);return o>=.85&&s<=.08?`light`:`shade`}function g_(e){e.removeAttribute(l_),e.removeAttribute(u_),e.removeAttribute(d_);let t=e.hasAttribute(`style`)?e.style:void 0,n=e=>t?.getPropertyValue(e).trim()??``,r=[],i=n(`color`),a=e.localName===`font`?e.getAttribute(`color`):null;m_(i||a)&&(e.setAttribute(l_,``),i&&r.push(`color`));let o=n(`background-color`),s=o||__(e.getAttribute(`bgcolor`));m_(s)&&(e.setAttribute(u_,h_(s)),o&&r.push(`background-color`));let c=f_.filter(e=>m_(n(e)));c.length&&(e.setAttribute(d_,``),r.push(...c));for(let e of r)t?.getPropertyPriority(e)===`important`&&t.setProperty(e,t.getPropertyValue(e))}function __(e){let t=e?.trim()??``;return/^(?:[\da-f]{3}|[\da-f]{6})$/i.test(t)?`#${t}`:t}function v_(e){let t=e.trim().toLowerCase();if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=b_().get(t);if(n)return x_(n);if(t.startsWith(`#`))return x_(t.slice(1));let r=/^([a-z]+)\(([^()]*)\)$/.exec(t);if(!r)return null;let i=r[2].trim().split(/\s*[\s,/]\s*/);if(i.length!==3&&i.length!==4)return null;let[a,o,s,c]=i,l=T_(c),u;switch(r[1]){case`rgb`:case`rgba`:u=[a,o,s].map(e=>C_(e,255)/255);break;case`hsl`:case`hsla`:u=D_(w_(a),C_(o,100)/100,C_(s,100)/100);break;case`hwb`:u=O_(w_(a),C_(o,100)/100,C_(s,100)/100);break;case`lab`:u=P_(C_(a,100),C_(o,125),C_(s,125));break;case`lch`:u=P_(C_(a,100),...E_(C_(o,150),w_(s)));break;case`oklab`:u=F_(C_(a,1),C_(o,.4),C_(s,.4));break;case`oklch`:u=F_(C_(a,1),...E_(C_(o,.4),w_(s)));break;default:return null}if(Number.isNaN(l)||u.some(Number.isNaN))return null;let[d,f,p]=u.map(e=>z_(e,0,1)*255);return{r:d,g:f,b:p,a:l}}var y_;function b_(){return y_??=new Map(`aliceblue:f0f8ff antiquewhite:faebd7 aqua:00ffff aquamarine:7fffd4 azure:f0ffff beige:f5f5dc bisque:ffe4c4 black:000000 blanchedalmond:ffebcd blue:0000ff blueviolet:8a2be2 brown:a52a2a burlywood:deb887 cadetblue:5f9ea0 chartreuse:7fff00 chocolate:d2691e coral:ff7f50 cornflowerblue:6495ed cornsilk:fff8dc crimson:dc143c cyan:00ffff darkblue:00008b darkcyan:008b8b darkgoldenrod:b8860b darkgray:a9a9a9 darkgreen:006400 darkgrey:a9a9a9 darkkhaki:bdb76b darkmagenta:8b008b darkolivegreen:556b2f darkorange:ff8c00 darkorchid:9932cc darkred:8b0000 darksalmon:e9967a darkseagreen:8fbc8f darkslateblue:483d8b darkslategray:2f4f4f darkslategrey:2f4f4f darkturquoise:00ced1 darkviolet:9400d3 deeppink:ff1493 deepskyblue:00bfff dimgray:696969 dimgrey:696969 dodgerblue:1e90ff firebrick:b22222 floralwhite:fffaf0 forestgreen:228b22 fuchsia:ff00ff gainsboro:dcdcdc ghostwhite:f8f8ff gold:ffd700 goldenrod:daa520 gray:808080 green:008000 greenyellow:adff2f grey:808080 honeydew:f0fff0 hotpink:ff69b4 indianred:cd5c5c indigo:4b0082 ivory:fffff0 khaki:f0e68c lavender:e6e6fa lavenderblush:fff0f5 lawngreen:7cfc00 lemonchiffon:fffacd lightblue:add8e6 lightcoral:f08080 lightcyan:e0ffff lightgoldenrodyellow:fafad2 lightgray:d3d3d3 lightgreen:90ee90 lightgrey:d3d3d3 lightpink:ffb6c1 lightsalmon:ffa07a lightseagreen:20b2aa lightskyblue:87cefa lightslategray:778899 lightslategrey:778899 lightsteelblue:b0c4de lightyellow:ffffe0 lime:00ff00 limegreen:32cd32 linen:faf0e6 magenta:ff00ff maroon:800000 mediumaquamarine:66cdaa mediumblue:0000cd mediumorchid:ba55d3 mediumpurple:9370db mediumseagreen:3cb371 mediumslateblue:7b68ee mediumspringgreen:00fa9a mediumturquoise:48d1cc mediumvioletred:c71585 midnightblue:191970 mintcream:f5fffa mistyrose:ffe4e1 moccasin:ffe4b5 navajowhite:ffdead navy:000080 oldlace:fdf5e6 olive:808000 olivedrab:6b8e23 orange:ffa500 orangered:ff4500 orchid:da70d6 palegoldenrod:eee8aa palegreen:98fb98 paleturquoise:afeeee palevioletred:db7093 papayawhip:ffefd5 peachpuff:ffdab9 peru:cd853f pink:ffc0cb plum:dda0dd powderblue:b0e0e6 purple:800080 rebeccapurple:663399 red:ff0000 rosybrown:bc8f8f royalblue:4169e1 saddlebrown:8b4513 salmon:fa8072 sandybrown:f4a460 seagreen:2e8b57 seashell:fff5ee sienna:a0522d silver:c0c0c0 skyblue:87ceeb slateblue:6a5acd slategray:708090 slategrey:708090 snow:fffafa springgreen:00ff7f steelblue:4682b4 tan:d2b48c teal:008080 thistle:d8bfd8 tomato:ff6347 turquoise:40e0d0 violet:ee82ee wheat:f5deb3 white:ffffff whitesmoke:f5f5f5 yellow:ffff00 yellowgreen:9acd32`.split(` `).map(e=>e.split(`:`))),y_}function x_(e){if(!/^(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/.test(e))return null;let[t,n,r,i=255]=(e.length<=4?[...e].map(e=>e+e):e.match(/../g)??[]).map(e=>Number.parseInt(e,16));return{r:t,g:n,b:r,a:i/255}}var S_=/^([+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)(%|deg|rad|grad|turn)?$/;function C_(e,t){if(e===`none`)return 0;let n=S_.exec(e);return!n||n[2]&&n[2]!==`%`?NaN:n[2]?Number(n[1])/100*t:Number(n[1])}function w_(e){if(e===`none`)return 0;let t=S_.exec(e);if(!t||t[2]===`%`)return NaN;let n=Number(t[1]);return((t[2]===`rad`?n*180/Math.PI:t[2]===`grad`?n*.9:t[2]===`turn`?n*360:n)%360+360)%360}function T_(e){return e===void 0?1:z_(C_(e,1),0,1)}function E_(e,t){let n=Math.max(0,e),r=t*Math.PI/180;return[n*Math.cos(r),n*Math.sin(r)]}function D_(e,t,n){let r=z_(t,0,1),i=z_(n,0,1),a=t=>{let n=(t+e/30)%12,a=r*Math.min(i,1-i);return i-a*Math.max(-1,Math.min(n-3,9-n,1))};return[a(0),a(8),a(4)]}function O_(e,t,n){let r=z_(t,0,1),i=z_(n,0,1);return r+i>=1?[,,,].fill(r/(r+i)):D_(e,1,.5).map(e=>e*(1-r-i)+r)}var k_=24389/27,A_=216/24389,j_=[.3457/.3585,1,.2958/.3585],M_=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]],N_=[[12831/3959,-329/214,-1974/3959],[-851781/878810,1648619/878810,36519/878810],[705/12673,-2585/12673,705/667]];function P_(e,t,n){let r=z_(e,0,100),i=(r+16)/116,a=t/500+i,o=i-n/200;return I_(N_,I_(M_,[a**3>A_?a**3:(116*a-16)/k_,r>k_*A_?i**3:r/k_,o**3>A_?o**3:(116*o-16)/k_].map((e,t)=>e*j_[t]))).map(L_)}function F_(e,t,n){let r=z_(e,0,1);return I_([[4.0767416621,-3.3077115913,.2309699292],[-1.2684380046,2.6097574011,-.3413193965],[-.0041960863,-.7034186147,1.707614701]],[r+.3963377774*t+.2158037573*n,r-.1055613458*t-.0638541728*n,r-.0894841775*t-1.291485548*n].map(e=>e**3)).map(L_)}function I_(e,t){return e.map(e=>e[0]*t[0]+e[1]*t[1]+e[2]*t[2])}function L_(e){let t=z_(e,0,1);return t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055}function R_(e){return e<=.04045?e/12.92:((e+.055)/1.055)**2.4}function z_(e,t,n){return Math.min(n,Math.max(t,e))}var B_=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],V_=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],H_=new Set([`iframe`,`object`,`mstack`,`mlongdiv`,`msgroup`,`msrow`,`msline`,`mscarries`,`mscarry`,`semantics`,`annotation`,`none`]),U_=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,W_=[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`,`stackalign`,`charalign`,`charspacing`,`longdivstyle`,`position`,`shift`,`location`,`crossout`,`leftoverhang`,`rightoverhang`,`mslinethickness`,`linebreak`],G_=/^\s*document\.getElementById\((['"])([^'"]+)\1\)\.play\(\)\s*;?\s*(?:return\s+false\s*;?\s*)?$/,K_=`data-pie-play-audio`,q_={ADD_TAGS:e=>H_.has(e)||U_.test(e),ADD_ATTR:W_,FORBID_TAGS:B_,FORBID_ATTR:V_,ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},J_=!1;function Y_(e){for(let t of e.composedPath()){if(!(t instanceof Element))continue;let n=t.getAttribute(K_);if(n===null)continue;e.preventDefault();let r=t.getRootNode().getElementById?.(n)??document.getElementById(n);r instanceof HTMLMediaElement&&r.play()?.catch(()=>void 0);return}}var X_=null;function Z_(){return X_||(X_=c_(window),X_.addHook(`beforeSanitizeAttributes`,e=>{if(e.nodeName!==`A`)return;let t=G_.exec(e.getAttribute(`onclick`)??``)?.[2];t!==void 0&&(e.removeAttribute(`onclick`),e.setAttribute(K_,t),J_||=(document.addEventListener(`click`,Y_),!0))}),X_.addHook(`afterSanitizeAttributes`,g_),X_)}var Q_=1e6,$_=new Map,ev=0;function tv(e){if(e==null||e===``||!c_.isSupported)return``;let t=typeof e==`string`?e:String(e),n=$_.get(t);if(n!==void 0)return n;let r=String(Z_().sanitize(t,q_)),i=t.length+r.length;if(i>Q_)return r;for(let[e,t]of $_){if(ev+i<=Q_)break;$_.delete(e),ev-=e.length+t.length}return $_.set(t,r),ev+=i,r}var nv={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},rv={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},iv=s({background:()=>Ov,backgroundDark:()=>kv,black:()=>Hv,blueGrey100:()=>Qv,blueGrey300:()=>$v,blueGrey600:()=>ey,blueGrey900:()=>ty,border:()=>Fv,borderDark:()=>Lv,borderGray:()=>Rv,borderLight:()=>Iv,buttonBorder:()=>fy,buttonFocusOutline:()=>Yv,buttonHoverBg:()=>py,correct:()=>uv,correctSecondary:()=>dv,correctTertiary:()=>fv,correctWithIcon:()=>pv,defaults:()=>Z,disabled:()=>sv,disabledSecondary:()=>cv,disabledText:()=>lv,dropdownBackground:()=>jv,editorToolbar:()=>dy,fadedPrimary:()=>Cv,focusChecked:()=>Gv,focusCheckedBorder:()=>Kv,focusOutline:()=>Xv,focusUnchecked:()=>qv,focusUncheckedBorder:()=>Jv,incorrect:()=>mv,incorrectSecondary:()=>gv,incorrectWithIcon:()=>hv,keyBoardFocusIndicator:()=>Zv,keypadButton:()=>iy,keypadButtonHover:()=>sy,keypadButtonOperator:()=>ay,keypadButtonOperatorHover:()=>cy,keypadEmptyPlaceholder:()=>oy,keypadInk:()=>uy,missing:()=>_v,missingWithIcon:()=>vv,primary:()=>yv,primaryDark:()=>xv,primaryLight:()=>bv,primaryText:()=>Sv,secondary:()=>wv,secondaryBackground:()=>Av,secondaryDark:()=>Ev,secondaryLight:()=>Tv,secondaryText:()=>Dv,surface:()=>Mv,tableGrid:()=>zv,tableGridLight:()=>Bv,tableStripe:()=>Vv,tertiary:()=>Nv,tertiaryLight:()=>Pv,text:()=>ov,transparent:()=>Wv,v:()=>av,visualElementsColors:()=>my,white:()=>Uv}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:Zu[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:qu[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:qu[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:rv[500],PRIMARY_LIGHT:rv[200],PRIMARY_DARK:rv[800],SECONDARY:nv.A400,SECONDARY_LIGHT:nv[200],SECONDARY_DARK:nv[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var av=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=av(`pie`),ov=()=>Q(`text`,Z.TEXT),sv=()=>Q(`disabled`,Z.DISABLED),cv=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),lv=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),uv=()=>Q(`correct`,Z.CORRECT),dv=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),fv=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),pv=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),mv=()=>Q(`incorrect`,Z.INCORRECT),hv=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),gv=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),_v=()=>Q(`missing`,Z.MISSING),vv=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),yv=()=>Q(`primary`,Z.PRIMARY),bv=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),xv=()=>Q(`primary-dark`,Z.PRIMARY_DARK),Sv=()=>Q(`primary-text`,`text`,Z.TEXT),Cv=()=>Q(`faded-primary`,Z.FADED_PRIMARY),wv=()=>Q(`secondary`,Z.SECONDARY),Tv=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),Ev=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Dv=()=>Q(`secondary-text`,`text`,Z.TEXT),Ov=()=>Q(`background`,Z.BACKGROUND),kv=()=>Q(`background-dark`,Z.BACKGROUND_DARK),Av=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),jv=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Mv=()=>Q(`surface`,Z.SURFACE),Nv=()=>Q(`tertiary`,Z.TERTIARY),Pv=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Fv=()=>Q(`border`,Z.BORDER),Iv=()=>Q(`border-light`,Z.BORDER_LIGHT),Lv=()=>Q(`border-dark`,Z.BORDER_DARK),Rv=()=>Q(`border-gray`,Z.BORDER_GRAY),zv=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Bv=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),Vv=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Hv=()=>Q(`black`,Z.BLACK),Uv=()=>Q(`white`,Z.WHITE),Wv=()=>Z.TRANSPARENT,Gv=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),Kv=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),qv=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),Jv=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),Yv=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),Xv=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),Zv=Xv,Qv=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),$v=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),ey=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),ty=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),ny=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},ry=(e,t)=>`color-mix(in srgb, rgb(${ny(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,iy=()=>Q(`keypad-button`,ry(Z.KEYPAD_BUTTON,.5)),ay=()=>Q(`keypad-button-operator`,ry(Z.KEYPAD_BUTTON_OPERATOR,.5)),oy=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),sy=()=>Q(`keypad-button-hover`,ry(Z.KEYPAD_BUTTON_HOVER,.25)),cy=()=>Q(`keypad-button-operator-hover`,ry(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),ly=`clamp(0.6, (r + g + b) / 450, 1)`,uy=()=>`rgb(from ${ov()} calc(r * ${ly}) calc(g * ${ly}) calc(b * ${ly}))`,dy=()=>ry(Z.EDITOR_TOOLBAR,.125),fy=()=>Q(`button-border`,Z.BUTTON_BORDER),py=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),my={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},hy=Y(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),gy=Y(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${kv()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${ov()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${dv()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${gv()})`}}),_y=Y(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),vy=class extends H.Component{static propTypes={correctness:z.string,feedback:z.string};nodeRef=H.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,U.jsx)(Kp,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,U.jsx)(_y,{ref:this.nodeRef,children:(0,U.jsx)(hy,{children:(0,U.jsx)(gy,{role:`alert`,className:e,dangerouslySetInnerHTML:{__html:tv(t)}})})})},`hasFeedback`)}render(){return(0,U.jsx)(`div`,{children:(0,U.jsx)(tm,{children:this.renderFeedback()})})}},yy=s({Correct:()=>Ty,Incorrect:()=>Ey,NothingSubmitted:()=>Oy,PartiallyCorrect:()=>Dy}),by=pn(`pie-libs:render-ui:response-indicators`),xy=Y(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Sy=Y(Ph)({cursor:`pointer`}),Cy=Y(`div`)({padding:`0`,borderRadius:`4px`}),wy=(e,t)=>{class n extends H.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{by(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,U.jsxs)(xy,{hasFeedback:!!n,children:[(0,U.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,U.jsx)(e,{})}),n&&(0,U.jsx)(Sy,{PaperComponent:Cy,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,U.jsx)(vy,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:z.string},n},Ty=wy(Xf,`correct`),Ey=wy(rp,`incorrect`),Dy=wy(up,`partially-correct`),Oy=wy(sp,`nothing-submitted`);function ky(e){return bl(`MuiCollapse`,e)}xl(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var Ay=e=>{let{orientation:t,classes:n}=e;return Hu({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},ky,n)},jy=Y(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(Rm(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),My=Y(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Ny=Y(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Py=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=wd.standard,TransitionComponent:x=Hp,...S}=n,C={...n,orientation:g,collapsedSize:o},w=Ay(C),T=ef(),E=wp(),D=H.useRef(null),ee=H.useRef(),O=typeof o==`number`?`${o}px`:o,te=g===`horizontal`,k=te?`width`:`height`,A=H.useRef(null),ne=sm(t,A),j=()=>D.current?D.current[te?`clientWidth`:`clientHeight`]:0,M=rm(A,(e,t)=>{D.current&&te&&(D.current.style.position=`absolute`),e.style[k]=O,u&&u(e,t)}),N=rm(A,(e,t)=>{let n=j();D.current&&te&&(D.current.style.position=``);let{duration:r,easing:i}=am({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,ee.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[k]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),re=rm(A,(e,t)=>{e.style[k]=`auto`,d&&d(e,t)}),ie=rm(A,e=>{e.style[k]=`${j()}px`,p&&p(e)}),P=rm(A,m),F=rm(A,e=>{let t=j(),{duration:n,easing:r}=am({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,ee.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[k]=O,e.style.transitionTimingFunction=r,h&&h(e)}),ae=e=>{b===`auto`&&E.start(ee.current||0,e),r&&r(A.current,e)},oe={slots:_,slotProps:v,component:s},[se,ce]=Wm(`root`,{ref:ne,className:q(w.root,a),elementType:jy,externalForwardedProps:oe,ownerState:C,additionalProps:{style:{[te?`minWidth`:`minHeight`]:O,...y}}}),[le,ue]=Wm(`wrapper`,{ref:D,className:w.wrapper,elementType:My,externalForwardedProps:oe,ownerState:C}),[de,fe]=Wm(`wrapperInner`,{className:w.wrapperInner,elementType:Ny,externalForwardedProps:oe,ownerState:C});return(0,U.jsx)(x,{in:l,onEnter:M,onEntered:re,onEntering:N,onExit:ie,onExited:P,onExiting:F,addEndListener:ae,nodeRef:A,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,U.jsx)(se,{...ce,className:q(ce.className,{entered:w.entered,exited:!l&&O===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,U.jsx)(le,{...ue,ownerState:r,children:(0,U.jsx)(de,{...fe,ownerState:r,children:i})})})}})});Py&&(Py.muiSupportAuto=!0);var Fy={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},Iy={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},$=e=>typeof e==`string`,Ly=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Ry=e=>e==null?``:``+e,zy=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},By=/###/g,Vy=e=>e&&e.indexOf(`###`)>-1?e.replace(By,`.`):e,Hy=e=>!e||$(e),Uy=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Hy(e))return{};let t=Vy(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Hy(e)?{}:{obj:e,k:Vy(r[i])}},Wy=(e,t,n)=>{let{obj:r,k:i}=Uy(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Uy(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Uy(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Gy=(e,t,n,r)=>{let{obj:i,k:a}=Uy(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Ky=(e,t)=>{let{obj:n,k:r}=Uy(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},qy=(e,t,n)=>{let r=Ky(e,n);return r===void 0?Ky(t,n):r},Jy=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Jy(e[r],t[r],n):e[r]=t[r]);return e},Yy=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Xy={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},Zy=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>Xy[e]):e,Qy=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},$y=[` `,`,`,`?`,`!`,`;`],eb=new Qy(20),tb=(e,t,n)=>{t||=``,n||=``;let r=$y.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=eb.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},nb=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},rb=e=>e?.replace(/_/g,`-`),ib={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},ab=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||ib,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:($(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},ob=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},sb=class extends ob{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Ky(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:nb(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Wy(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Ky(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Jy(s,n,i):s={...s,...n},Wy(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},cb={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},lb=Symbol(`i18next/PATH_KEY`);function ub(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===lb?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function db(e,t){let{[lb]:n}=e(ub()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var fb={},pb=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,mb=class e extends ob{constructor(e,t={}){super(),zy([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=ab.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=pb(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!tb(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=db(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?db(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=pb(E),ee=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(ee)<0&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:pb(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=cb.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?db(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!fb[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(fb[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},hb=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ab.create(`languageUtils`)}getScriptPartFromCode(e){if(e=rb(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=rb(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):$(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},gb={zero:0,one:1,two:2,few:3,many:4,other:5},_b={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},vb=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=ab.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=rb(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),_b;if(!e.match(/-|_/))return _b;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>gb[e]-gb[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},yb=(e,t,n,r=`.`,i=!0)=>{let a=qy(e,t,n);return!a&&i&&$(n)&&(a=nb(e,n,r),a===void 0&&(a=nb(t,n,r))),a},bb=e=>e.replace(/\$/g,`$$$$`),xb=class{constructor(e={}){this.logger=ab.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Zy:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?Yy(i):a||`{{`,this.suffix=o?Yy(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?Yy(d):f||Yy(`$t(`),this.nestingSuffix=p?Yy(p):m||Yy(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=yb(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(yb(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>bb(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?bb(this.escape(e)):bb(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!$(a)&&!this.useRawValueToEscape&&(a=Ry(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${Yy(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=Ry(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},Sb=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Cb=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(rb(r),i),t[o]=s),s(n)}},wb=e=>(t,n,r)=>e(rb(n),r)(t),Tb=class{constructor(e={}){this.logger=ab.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Cb:wb;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Cb(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Sb(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},Eb=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Db=class extends ob{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=ab.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Gy(n.loaded,[i],a),Eb(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},Ob=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),kb=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),Ab=()=>{},jb=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Mb=`__i18next_supportNoticeShown`,Nb=()=>!!(typeof globalThis<`u`&&globalThis[Mb]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),Pb=()=>{typeof globalThis<`u`&&(globalThis[Mb]=!0)},Fb=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),Ib=class e extends ob{constructor(e={},t){if(super(),this.options=kb(e),this.services={},this.logger=ab,this.modules={external:[]},jb(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=Ob();this.options={...n,...this.options,...kb(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Fb(this)&&!Nb()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),Pb());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?ab.init(r(this.modules.logger),this.options):ab.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Tb;let t=new hb(this.options);this.store=new sb(this.options.resources,this.options);let i=this.services;i.logger=ab,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new vb(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new xb(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Db(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new mb(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Ab,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Ly(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Ab){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Ly();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Ab,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&cb.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Ly();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=db(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=db(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=db(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return $(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=Ly();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Ly();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new hb(Ob());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Ab){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new sb(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...Ob().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new xb(n)}return a.translator=new mb(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();Ib.createInstance,Ib.dir,Ib.init,Ib.loadResources,Ib.reloadResources,Ib.use,Ib.changeLanguage,Ib.getFixedT,Ib.t,Ib.exists,Ib.setDefaultNamespace,Ib.hasLoadedNamespace,Ib.loadNamespaces,Ib.loadLanguages,Ib.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:Fy,es:Iy}});var Lb={translator:{...Ib,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return Ib.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},Rb=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,zb=e=>H.useState(()=>Rb(e))[0],{translator:Bb}=Lb,Vb=Y(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:Nv(),cursor:`pointer`}),Hb=Y(`span`)({borderBottom:`1px dotted currentColor`}),Ub=Y(Py)(({theme:e})=>({paddingTop:e.spacing(2)})),Wb=class extends H.Component{static propTypes={className:z.string,children:z.object,labels:z.shape({visible:z.string,hidden:z.string}),language:z.string};static defaultProps={labels:{}};state={expanded:!1};panelId=Rb(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){Sa(this.root)}componentDidUpdate(){Sa(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||Bb.t(`common:hide`,{lng:r}):e.hidden||Bb.t(`common:show`,{lng:r});return(0,U.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,U.jsx)(`div`,{children:(0,U.jsx)(Vb,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,U.jsx)(Hb,{children:a})})}),(0,U.jsx)(`div`,{id:this.panelId,children:(0,U.jsx)(Ub,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function Gb(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var Kb=class e{static create(){return new e}static use(){let t=bp(e.create).current,[n,r]=H.useState(!1);return t.shouldMount=n,t.setShouldMount=r,H.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Jb(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function qb(){return Kb.use()}function Jb(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function Yb(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=H.useState(!1),f=q(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=q(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),H.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,U.jsx)(`span`,{className:f,style:p,children:(0,U.jsx)(`span`,{className:m})})}var Xb=xl(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Zb=550,Qb=Cs`
|
|
82
|
+
M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z`,fill:n}),(0,U.jsx)(`polygon`,{points:`-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2`,fill:t})]});Xf.propTypes={bgFill:z.string.isRequired,fgFill:z.string.isRequired,borderFill:z.string.isRequired};var Zf=Y(`div`)(({size:e})=>({width:e||`25px`,height:e||`25px`})),Qf=({open:e,size:t})=>(0,U.jsx)(Zf,{size:t,children:e?(0,U.jsx)(Yf,{bgFill:`#bce2ff`,fgFill:`#1a9cff`}):(0,U.jsx)(Xf,{bgFill:`white`,fgFill:`#1a9cff`,borderFill:`#bce2ff`})});Qf.propTypes={open:z.bool,size:z.string},Qf.defaultProps={open:!1};var $f=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(0.5, 0.5)`,children:[(0,U.jsx)(`rect`,{x:`11`,y:`17.3`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)`,width:`16.6`,height:`3.7`,fill:e}),(0,U.jsx)(`rect`,{x:`17.4`,y:`10.7`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)`,width:`3.7`,height:`16.6`,fill:e})]});$f.propTypes={fill:z.string.isRequired};var ep=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(1,0)`,children:[(0,U.jsx)(`rect`,{x:`21`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,U.jsx)(`rect`,{x:`12.7`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,U.jsx)(`rect`,{x:`12.2`,y:`22.5`,width:`13`,height:`3.3`,fill:e})]});ep.propTypes={fill:z.string.isRequired};var tp=Gf($f,ep);tp.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},tp.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#fcb733`,bg:`#fbf2e3`,size:30};var np=({fill:e})=>(0,U.jsxs)(`g`,{children:[(0,U.jsx)(`rect`,{x:`19.3`,y:`10.3`,width:`4.5`,height:`12.7`,fill:e}),(0,U.jsx)(`rect`,{x:`19.3`,y:`26.2`,width:`4.5`,height:`4.5`,fill:e})]});np.propTypes={fill:z.string.isRequired};var rp=({fill:e})=>(0,U.jsx)(`polygon`,{points:`14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5`,fill:e});rp.propTypes={fill:z.string.isRequired};var ip=({fill:e})=>(0,U.jsxs)(`g`,{children:[(0,U.jsx)(`rect`,{x:`23.8`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,U.jsx)(`rect`,{x:`16`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,U.jsx)(`path`,{d:`M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0
|
|
83
|
+
C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});ip.propTypes={fill:z.string.isRequired};var ap=class extends H.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(np,{fill:t})]}),emoji:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),feedback:{check:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),emoji:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),square:{check:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(np,{fill:t})]}),emoji:(0,U.jsxs)(zf,{children:[(0,U.jsx)(rp,{fill:n}),(0,U.jsx)(ip,{fill:t})]}),open:{check:(0,U.jsx)(zf,{children:(0,U.jsx)(np,{fill:n})}),emoji:(0,U.jsx)(zf,{children:(0,U.jsx)(ip,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};ap.propTypes={iconSet:z.oneOf([`emoji`,`check`,void 0]),shape:z.oneOf([`square`,void 0]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string},ap.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var op=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,U.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,U.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});op.propTypes={fill:z.string.isRequired};var sp=({fill:e})=>(0,U.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,U.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,U.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,U.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});sp.propTypes={fill:z.string.isRequired};var cp=Gf(op,sp);cp.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},cp.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};function lp(e){return typeof e==`string`}function up(e){return lu(e)}function dp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var fp=dp;function pp(e){return e&&e.ownerDocument||document}var mp=pp;function hp(e){return pp(e).defaultView||window}var gp=hp,_p={};function vp(e,t){let n=H.useRef(_p);return n.current===_p&&(n.current=e(t)),n}var yp=[];function bp(e){H.useEffect(e,yp)}var xp=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Sp(){let e=vp(xp.create).current;return bp(e.disposeEffect),e}function Cp(e){return e?.ref||null}function wp(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Tp(e,t){return Tp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tp(e,t)}function Ep(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Tp(e,t)}function Dp(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function Op(e,t){e.classList?e.classList.add(t):Dp(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function kp(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function Ap(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=kp(e.className,t):e.setAttribute(`class`,kp(e.className&&e.className.baseVal||``,t))}var jp={disabled:!1},Mp=H.createContext(null),Np=function(e){return e.scrollTop},Pp=l(h()),Fp=`unmounted`,Ip=`exited`,Lp=`entering`,Rp=`entered`,zp=`exiting`,Bp=function(e){Ep(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=Ip,r.appearStatus=Lp):o=Rp:o=t.unmountOnExit||t.mountOnEnter?Fp:Ip,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:Ip}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=Lp):(n===`entering`||n===`entered`)&&(t=zp)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Pp.findDOMNode(this);n&&Np(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:Fp})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Pp.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||jp.disabled){this.safeSetState({status:Rp},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:Lp},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Rp},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Pp.findDOMNode(this);if(!t||jp.disabled){this.safeSetState({status:Ip},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:zp},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Ip},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Pp.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=wp(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return H.createElement(Mp.Provider,{value:null},typeof n==`function`?n(e,r):H.cloneElement(H.Children.only(n),r))},t}(H.Component);Bp.contextType=Mp,Bp.propTypes={};function Vp(){}Bp.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vp,onEntering:Vp,onEntered:Vp,onExit:Vp,onExiting:Vp,onExited:Vp},Bp.UNMOUNTED=Fp,Bp.EXITED=Ip,Bp.ENTERING=Lp,Bp.ENTERED=Rp,Bp.EXITING=zp;var Hp=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return Op(e,t)})},Up=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return Ap(e,t)})},Wp=function(e){Ep(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&Np(e),r&&(this.appliedClasses[t][n]=r,Hp(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&Up(e,r),i&&Up(e,i),a&&Up(e,a)},n.render=function(){var e=this.props;e.classNames;var t=wp(e,[`classNames`]);return H.createElement(Bp,Ea({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(H.Component);Wp.defaultProps={classNames:``},Wp.propTypes={};function Gp(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Kp(e,t){var n=function(e){return t&&(0,H.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&H.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function qp(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function Jp(e,t,n){return n[t]==null?e.props[t]:n[t]}function Yp(e,t){return Kp(e.children,function(n){return(0,H.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Jp(n,`appear`,e),enter:Jp(n,`enter`,e),exit:Jp(n,`exit`,e)})})}function Xp(e,t,n){var r=Kp(e.children),i=qp(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,H.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,H.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,H.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Jp(o,`exit`,e),enter:Jp(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,H.cloneElement)(o,{in:!1}):c&&s&&(0,H.isValidElement)(l)&&(i[a]=(0,H.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:Jp(o,`exit`,e),enter:Jp(o,`enter`,e)}))}}),i}var Zp=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Qp={component:`div`,childFactory:function(e){return e}},$p=function(e){Ep(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(Gp(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Yp(e,r):Xp(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Kp(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Ea({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=wp(e,[`component`,`childFactory`]),i=this.state.contextValue,a=Zp(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?H.createElement(Mp.Provider,{value:i},a):H.createElement(Mp.Provider,{value:i},H.createElement(t,r,a))},t}(H.Component);$p.propTypes={},$p.defaultProps=Qp;var em=e=>e.scrollTop;function tm(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function nm(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function rm(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function im(...e){let t=H.useRef(void 0),n=H.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return H.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var am=im;function om(e){return`scale(${e}, ${e**2})`}var sm={entering:{opacity:1,transform:om(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:om(.75)},exited:{opacity:0,transform:om(.75)}},cm={opacity:0,transform:om(.75),visibility:`hidden`},lm=H.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=Sp(),_=H.useRef(),v=Qd(),y=H.useRef(null),b=am(y,Cp(i),t),x=tm(y,l),S=tm(y,(e,t)=>{em(e);let{duration:n,delay:r,easing:i}=rm({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=tm(y,c),w=tm(y,f),T=tm(y,e=>{let{duration:t,delay:n,easing:r}=rm({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=om(.75),u&&u(e)}),E=tm(y,e=>{e.style.transition=``,d&&d(e)});return(0,U.jsx)(Bp,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=nm(e,o,sm,cm,p,i.props.style);return H.cloneElement(i,{style:r,ref:b,...n})}})});lm&&(lm.muiSupportAuto=!0);function um(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function dm(e){let t=pp(e);return t.body===e?hp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fm(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function pm(e){return parseFloat(hp(e).getComputedStyle(e).paddingRight)||0}function mm(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function hm(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!mm(e);t&&n&&fm(e,i)})}function gm(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function _m(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(dm(r)){let e=um(hp(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${pm(r)+e}px`;let t=pp(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${pm(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=pp(r).body;else{let t=r.parentElement,n=hp(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function vm(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var ym=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&fm(e.modalRef,!1);let r=vm(t);hm(t,e.mount,e.modalRef,r,!0);let i=gm(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=gm(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=_m(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=gm(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&fm(e.modalRef,t),hm(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&fm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function bm(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var xm=bm;function Sm(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Cm=Sm,wm=`data-mui-focusable`;function Tm(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${wm}]`):null}var Em=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function Dm(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function Om(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function km(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||Om(e))}function Am(e){let t=[],n=[];return Array.from(e.querySelectorAll(Em)).forEach((e,r)=>{let i=Dm(e);i===-1||!km(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function jm(){return!0}function Mm(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Am,isEnabled:o=jm,open:s}=e,c=H.useRef(!1),l=H.useRef(null),u=H.useRef(null),d=H.useRef(null),f=H.useRef(null),p=H.useRef(!1),m=H.useRef(null),h=im(Cp(t),m),g=H.useRef(null);H.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),H.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=Cm(pp(m.current)),t=Tm(m.current)??m.current;return xm(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),H.useEffect(()=>{if(!s||!m.current)return;let e=pp(m.current),t=t=>{g.current=t,!(r||!o()||t.key!==`Tab`)&&Cm(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=Cm(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(xm(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=Cm(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,U.jsxs)(H.Fragment,{children:[(0,U.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),H.cloneElement(t,{ref:h,onFocus:_}),(0,U.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function Nm(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function Pm(e){return typeof e==`function`?e():e}var Fm=H.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=H.useState(null),s=im(H.isValidElement(n)?Cp(n):null,t);if(Nl(()=>{i||o(Pm(r)||document.body)},[r,i]),Nl(()=>{if(a&&!i)return Nm(t,a),()=>{Nm(t,null)}},[t,a,i]),i){if(H.isValidElement(n)){let e={ref:s};return H.cloneElement(n,e)}return n}return a&&Pp.createPortal(n,a)}),Im=yu;function Lm(e,t,n){return e===void 0||lp(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Rm(e,t,n){return typeof e==`function`?e(t,n):e}function zm(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Bm(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Vm(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=q(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=zm({...i,...r}),s=Bm(r),c=Bm(i),l=t(o),u=q(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Hm(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Rm(d[e],i),{props:{component:h,...g},internalRef:_}=Vm({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=im(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,Lm(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}var Um={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Wm={opacity:0,visibility:`hidden`},Gm=H.forwardRef(function(e,t){let n=Qd(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=H.useRef(null),y=am(v,Cp(o),t),b=tm(v,d),x=tm(v,(e,t)=>{em(e);let r=rm({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=tm(v,u),C=tm(v,m),w=tm(v,e=>{let t=rm({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=tm(v,e=>{e.style.transition=``,p&&p(e)});return(0,U.jsx)(Bp,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=nm(e,c,Um,Wm,h,o.props.style);return H.cloneElement(o,{style:r,ref:y,...n})}})});function Km(e){return vl(`MuiBackdrop`,e)}yl(`MuiBackdrop`,[`root`,`invisible`]);var qm=e=>{let{classes:t,invisible:n}=e;return Bu({root:[`root`,n&&`invisible`]},Km,t)},Jm=Y(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Ym=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=qm(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=Hm(`root`,{elementType:Jm,externalForwardedProps:_,className:q(g.root,i),ownerState:h}),[b,x]=Hm(`transition`,{elementType:Gm,externalForwardedProps:_,ownerState:h});return(0,U.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,U.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Xm(e){let t=H.useRef(e);return Nl(()=>{t.current=e}),H.useRef((...e)=>(0,t.current)(...e)).current}function Zm(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function Qm(e){return typeof e==`function`?e():e}function $m(e){return e?e.props.hasOwnProperty(`in`):!1}var eh=()=>{},th=new ym;function nh(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=H.useRef({}),f=H.useRef(null),p=H.useRef(null),m=im(p,u),[h,g]=H.useState(!l),_=$m(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>pp(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{th.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=Xm(()=>{let e=Qm(t)||y().body;th.add(b(),e),p.current&&x()}),C=()=>th.isTopModal(b()),w=Xm(e=>{f.current=e,e&&(l&&C()?x():p.current&&fm(p.current,v))}),T=H.useCallback(()=>{th.remove(b(),v)},[v]);H.useEffect(()=>()=>{T()},[T]),H.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!C())&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=zm(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:Zm(()=>{g(!1),a&&a()},s?.props.onEnter??eh),onExited:Zm(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??eh)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function rh(e){return vl(`MuiModal`,e)}yl(`MuiModal`,[`root`,`hidden`,`backdrop`]);var ih=e=>{let{open:t,exited:n,classes:r}=e;return Bu({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},rh,r)},ah=Y(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Im(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),oh=Y(Ym,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),sh=H.forwardRef(function(e,t){let n=up({name:`MuiModal`,props:e}),{BackdropComponent:r=oh,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...ee}=n,O={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:te,getBackdropProps:k,getTransitionProps:A,portalRef:ne,isTopModal:j,exited:M,hasTransition:N}=nh({...O,rootRef:t}),re={...O,exited:M},ie=ih(re),P={};if(c.props.tabIndex===void 0&&(P.tabIndex=`-1`),N){let{onEnter:e,onExited:t}=A();P.onEnter=e,P.onExited=t}let F={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[ae,oe]=Hm(`root`,{ref:t,elementType:ah,externalForwardedProps:{...F,...ee,component:u},getSlotProps:te,ownerState:re,className:q(o,ie?.root,!re.open&&re.exited&&ie?.hidden)}),[se,ce]=Hm(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:F,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>k({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:q(i?.className,ie?.backdrop),ownerState:re});return!b&&!w&&(!N||M)?null:(0,U.jsx)(Fm,{ref:ne,container:l,disablePortal:g,children:(0,U.jsxs)(ae,{...oe,children:[!y&&r?(0,U.jsx)(se,{...ce}):null,(0,U.jsx)(Mm,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:j,open:w,children:H.cloneElement(c,P)})]})})});function ch(e){return vl(`MuiPaper`,e)}yl(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var lh=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return Bu({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},ch,i)},uh=Y(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Im(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),dh=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiPaper`}),r=Qd(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=lh(u);return(0,U.jsx)(uh,{as:a,ownerState:u,className:q(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${Wl(`#fff`,Nd(o))}, ${Wl(`#fff`,Nd(o))})`}},...l.style}})});function fh(e){return vl(`MuiPopover`,e)}yl(`MuiPopover`,[`root`,`paper`]);var ph=lc;function mh(e){return vl(`MuiSvgIcon`,e)}yl(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var hh=e=>{let{color:t,fontSize:n,classes:r}=e;return Bu({root:[`root`,t!==`inherit`&&`color${ph(t)}`,`fontSize${ph(n)}`]},mh,r)},gh=Y(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${ph(n.color)}`],t[`fontSize${ph(n.fontSize)}`]]}})(Im(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),_h=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=H.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};l||(h.viewBox=d);let g=hh(m);return(0,U.jsxs)(gh,{as:o,className:q(g.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,U.jsx)(`title`,{children:u}):null]})});_h.muiName=`SvgIcon`;function vh(e,t){function n(t,n){return(0,U.jsx)(_h,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=_h.muiName,H.memo(H.forwardRef(n))}var yh=Vu,bh=Nl,xh=pu,Sh=Xm;function Ch(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function wh(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{Ch(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=q(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=q(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Th(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function Eh(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function Dh(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function Oh(e){return typeof e==`function`?e():e}var kh=e=>{let{classes:t}=e;return Bu({root:[`root`],paper:[`paper`]},fh,t)},Ah=Y(sh,{name:`MuiPopover`,slot:`Root`})({}),jh=Y(dh,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),Mh=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=H.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=kh(w),E=H.useCallback(()=>{if(s===`anchorPosition`)return o;let e=Oh(i),t=(e&&e.nodeType===1?e:mp(C.current).body).getBoundingClientRect();return{top:t.top+Th(t,a.vertical),left:t.left+Eh(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=H.useCallback(e=>({vertical:Th(e,_.vertical),horizontal:Eh(e,_.horizontal)}),[_.horizontal,_.vertical]),ee=H.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:Dh(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=gp(Oh(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:Dh(n)}},[i,s,E,D,f]),[O,te]=H.useState(p),k=H.useCallback(()=>{let e=C.current;if(!e)return;let t=ee(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,te(!0)},[ee]);H.useEffect(()=>(x&&window.addEventListener(`scroll`,k),()=>window.removeEventListener(`scroll`,k)),[i,x,k]);let A=()=>{k()},ne=()=>{te(!1)};H.useEffect(()=>{p&&k()}),H.useImperativeHandle(r,()=>p?{updatePosition:()=>{k()}}:null,[p,k]),H.useEffect(()=>{if(!p)return;let e=fp(()=>{k()}),t=gp(Oh(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,k]);let j=y,M={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[N,re]=Hm(`transition`,{elementType:lm,externalForwardedProps:M,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),A()},onExited:t=>{e.onExited?.(t),ne()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!N.muiSupportAuto&&(j=void 0);let ie=u||(i?mp(Oh(i)).body:void 0),[P,{slots:F,slotProps:ae,...oe}]=Hm(`root`,{ref:t,elementType:Ah,externalForwardedProps:{...M,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:wh(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:ie,open:p},ownerState:w,className:q(T.root,l)}),[se,ce]=Hm(`paper`,{ref:C,className:T.paper,elementType:jh,externalForwardedProps:M,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:O?void 0:{opacity:0}},ownerState:w});return(0,U.jsx)(P,{...oe,...!lp(P)&&{slots:F,slotProps:ae,disableScrollLock:x},children:(0,U.jsx)(N,{...re,timeout:j,children:(0,U.jsx)(se,{...ce,children:c})})})});function Nh(e,t){this.v=e,this.k=t}function Ph(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fh(e){if(Array.isArray(e))return e}function Ih(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Lh(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rh(e,t){return Fh(e)||Ih(e,t)||zh(e,t)||Lh()}function zh(e,t){if(e){if(typeof e==`string`)return Ph(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ph(e,t):void 0}}function Bh(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Nh;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}Bh.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},Bh.prototype.next=function(e){return this._invoke(`next`,e)},Bh.prototype.throw=function(e){return this._invoke(`throw`,e)},Bh.prototype.return=function(e){return this._invoke(`return`,e)};var Vh=Object.entries,Hh=Object.setPrototypeOf,Uh=Object.isFrozen,Wh=Object.getPrototypeOf,Gh=Object.getOwnPropertyDescriptor,Kh=Object.freeze,qh=Object.seal,Jh=Object.create,Yh=typeof Reflect<`u`&&Reflect,Xh=Yh.apply,Zh=Yh.construct;Kh||=function(e){return e},qh||=function(e){return e},Xh||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},Zh||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Qh=vg(Array.prototype.forEach);Array.prototype.indexOf;var $h=vg(Array.prototype.lastIndexOf),eg=vg(Array.prototype.pop),tg=vg(Array.prototype.push);Array.prototype.slice;var ng=vg(Array.prototype.splice),rg=Array.isArray,ig=vg(String.prototype.toLowerCase),ag=vg(String.prototype.toString),og=vg(String.prototype.match),sg=vg(String.prototype.replace),cg=vg(String.prototype.indexOf),lg=vg(String.prototype.trim),ug=vg(Number.prototype.toString),dg=vg(Boolean.prototype.toString),fg=typeof BigInt>`u`?null:vg(BigInt.prototype.toString),pg=typeof Symbol>`u`?null:vg(Symbol.prototype.toString),mg=vg(Object.prototype.hasOwnProperty),hg=vg(Object.prototype.toString),gg=vg(RegExp.prototype.test),_g=yg(TypeError);function vg(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Xh(e,t,r)}}function yg(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zh(e,n)}}function X(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ig;if(Hh&&Hh(e,null),!rg(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Uh(t)||(t[r]=e),i=e)}e[i]=!0}return e}function bg(e){for(let t=0;t<e.length;t++)mg(e,t)||(e[t]=null);return e}function xg(e){let t=Jh(null);for(let r of Vh(e)){var n=Rh(r,2);let i=n[0],a=n[1];mg(e,i)&&(rg(a)?t[i]=bg(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=xg(a):t[i]=a)}return t}function Sg(e){switch(typeof e){case`string`:return e;case`number`:return ug(e);case`boolean`:return dg(e);case`bigint`:return fg?fg(e):`0`;case`symbol`:return pg?pg(e):`Symbol()`;case`undefined`:return hg(e);case`function`:case`object`:{if(e===null)return hg(e);let t=e,n=Cg(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:hg(e)}return hg(e)}default:return hg(e)}}function Cg(e,t){for(;e!==null;){let n=Gh(e,t);if(n){if(n.get)return vg(n.get);if(typeof n.value==`function`)return vg(n.value)}e=Wh(e)}function n(){return null}return n}function wg(e){try{return gg(e,``),!0}catch{return!1}}var Tg=Kh(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Eg=Kh(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Dg=Kh([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Og=Kh([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),kg=Kh(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Ag=Kh([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),jg=Kh([`#text`]),Mg=Kh(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Ng=Kh(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Pg=Kh(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Fg=Kh([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Ig=qh(/{{[\w\W]*|^[\w\W]*}}/g),Lg=qh(/<%[\w\W]*|^[\w\W]*%>/g),Rg=qh(/\${[\w\W]*/g),zg=qh(/^data-[\-\w.\u00B7-\uFFFF]+$/),Bg=qh(/^aria-[\-\w]+$/),Vg=qh(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hg=qh(/^(?:\w+script|data):/i),Ug=qh(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wg=qh(/^html$/i),Gg=qh(/^[a-z][.\w]*(-[.\w]+)+$/i),Kg=qh(/<[/\w!]/g),qg=qh(/<[/\w]/g),Jg=qh(/<\/no(script|embed|frames)/i),Yg=qh(/\/>/i),Xg={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Zg=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Qg=Kh(X({},Zg)),$g=function(){let e={};return Qh(Zg,t=>{e[t]=qh(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),Kh(e)}(),e_=function(){return typeof window>`u`?null:window},t_=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},n_=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r_=function(e,t,n,r){return mg(e,t)&&rg(e[t])?X(r.base?xg(r.base):{},e[t],r.transform):n},i_=function(e,t,n){let r=mg(e,t)?e[t]:void 0;return r&&typeof r==`object`?xg(r):n()};function a_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e_(),t=e=>a_(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==Xg.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=Cg(d,`cloneNode`),p=Cg(d,`remove`),m=Cg(d,`removeAttributeNode`),h=Cg(d,`nextSibling`),g=Cg(d,`childNodes`),_=Cg(d,`parentNode`),v=Cg(d,`shadowRoot`),y=Cg(d,`attributes`),b=o&&o.prototype?Cg(o.prototype,`nodeType`):null,x=o&&o.prototype?Cg(o.prototype,`nodeName`):null,S=o&&o.prototype?Cg(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let T,E=``,D,ee=!1,O=0,te=function(){if(O>0)throw _g(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},k=function(e){te(),O++;try{return T.createHTML(e)}finally{O--}},A=function(e){te(),O++;try{return T.createScriptURL(e)}finally{O--}},ne=function(){return ee||=(D=t_(u,i),!0),D},j=n,M=j.implementation,N=j.createNodeIterator,re=j.createDocumentFragment,ie=j.getElementsByTagName,P=r.importNode,F=n_();t.isSupported=typeof Vh==`function`&&typeof _==`function`&&M&&M.createHTMLDocument!==void 0;let ae=Ig,oe=Lg,se=Rg,ce=zg,le=Bg,ue=Hg,de=Ug,fe=Gg,pe=Vg,I=null,me=X({},[...Tg,...Eg,...Dg,...kg,...jg]),L=null,he=X({},[...Mg,...Ng,...Pg,...Fg]),ge=Object.seal(Jh(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,ve=null,ye=Object.seal(Jh(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),be=!0,xe=!0,Se=!1,Ce=!0,we=!1,Te=!0,Ee=!1,De=!1,Oe=null,ke=null,Ae=!1,je=!1,Me=!1,Ne=!1,Pe=!0,Fe=!1,Ie=`user-content-`,Le=!0,Re=!1,ze={},Be=null,Ve=X({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),He=null,Ue=X({},[`audio`,`video`,`img`,`source`,`image`,`track`]),We=null,Ge=X({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ke=`http://www.w3.org/1998/Math/MathML`,qe=`http://www.w3.org/2000/svg`,Je=`http://www.w3.org/1999/xhtml`,Ye=Je,Xe=!1,Ze=null,Qe=X({},[Ke,qe,Je],ag),$e=Kh([`mi`,`mo`,`mn`,`ms`,`mtext`]),et=X({},$e),tt=Kh([`annotation-xml`]),nt=X({},tt),rt=X({},[`title`,`style`,`font`,`a`,`script`]),it=null,at=[`application/xhtml+xml`,`text/html`],ot=null,st=null,ct=n.createElement(`form`),lt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(st&&st===e)return;(!e||typeof e!=`object`)&&(e={}),e=xg(e),it=at.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,ot=it===`application/xhtml+xml`?ag:ig,I=r_(e,`ALLOWED_TAGS`,me,{transform:ot}),L=r_(e,`ALLOWED_ATTR`,he,{transform:ot}),Ze=r_(e,`ALLOWED_NAMESPACES`,Qe,{transform:ag}),We=r_(e,`ADD_URI_SAFE_ATTR`,Ge,{transform:ot,base:Ge}),He=r_(e,`ADD_DATA_URI_TAGS`,Ue,{transform:ot,base:Ue}),Be=r_(e,`FORBID_CONTENTS`,Ve,{transform:ot}),_e=r_(e,`FORBID_TAGS`,xg({}),{transform:ot}),ve=r_(e,`FORBID_ATTR`,xg({}),{transform:ot}),ze=mg(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?xg(e.USE_PROFILES):e.USE_PROFILES:!1,be=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,we=e.SAFE_FOR_TEMPLATES||!1,Te=e.SAFE_FOR_XML!==!1,Ee=e.WHOLE_DOCUMENT||!1,je=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Ne=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Pe=e.SANITIZE_DOM!==!1,Fe=e.SANITIZE_NAMED_PROPS||!1,Le=e.KEEP_CONTENT!==!1,Re=e.IN_PLACE||!1,pe=wg(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Vg,Ye=typeof e.NAMESPACE==`string`?e.NAMESPACE:Je,et=i_(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>X({},$e)),nt=i_(e,`HTML_INTEGRATION_POINTS`,()=>X({},tt));let t=i_(e,`CUSTOM_ELEMENT_HANDLING`,()=>Jh(null));if(ge=Jh(null),mg(t,`tagNameCheck`)&<(t.tagNameCheck)&&(ge.tagNameCheck=t.tagNameCheck),mg(t,`attributeNameCheck`)&<(t.attributeNameCheck)&&(ge.attributeNameCheck=t.attributeNameCheck),mg(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(ge.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),qh(ge),we&&(xe=!1),Me&&(je=!0),ze&&(I=X({},jg),L=Jh(null),ze.html===!0&&(X(I,Tg),X(L,Mg)),ze.svg===!0&&(X(I,Eg),X(L,Ng),X(L,Fg)),ze.svgFilters===!0&&(X(I,Dg),X(L,Ng),X(L,Fg)),ze.mathMl===!0&&(X(I,kg),X(L,Pg),X(L,Fg))),ye.tagCheck=null,ye.attributeCheck=null,mg(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ye.tagCheck=e.ADD_TAGS:rg(e.ADD_TAGS)&&(I===me&&(I=xg(I)),X(I,e.ADD_TAGS,ot))),mg(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ye.attributeCheck=e.ADD_ATTR:rg(e.ADD_ATTR)&&(L===he&&(L=xg(L)),X(L,e.ADD_ATTR,ot))),mg(e,`ADD_FORBID_CONTENTS`)&&rg(e.ADD_FORBID_CONTENTS)&&(Be===Ve&&(Be=xg(Be)),X(Be,e.ADD_FORBID_CONTENTS,ot)),Le&&(I[`#text`]=!0),Ee&&X(I,[`html`,`head`,`body`]),I.table&&(X(I,[`tbody`]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw _g(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw _g(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=T;T=e.TRUSTED_TYPES_POLICY;try{E=k(``)}catch(e){throw T=t,e}}else e.TRUSTED_TYPES_POLICY===null?(T=void 0,E=``):(T===void 0&&(T=ne()),T&&typeof E==`string`&&(E=k(``)));Kh&&Kh(e),st=e},dt=X({},[...Eg,...Dg,...Og]),ft=X({},[...kg,...Ag]),pt=function(e,t,n){return t.namespaceURI===Je?e===`svg`:t.namespaceURI===Ke?e===`svg`&&(n===`annotation-xml`||et[n]):!!dt[e]},mt=function(e,t,n){return t.namespaceURI===Je?e===`math`:t.namespaceURI===qe?e===`math`&&nt[n]:!!ft[e]},ht=function(e,t,n){return t.namespaceURI===qe&&!nt[n]||t.namespaceURI===Ke&&!et[n]?!1:!ft[e]&&(rt[e]||!dt[e])},gt=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:Ye,tagName:`template`});let n=ig(e.tagName),r=ig(t.tagName);return Ze[e.namespaceURI]?e.namespaceURI===qe?pt(n,t,r):e.namespaceURI===Ke?mt(n,t,r):e.namespaceURI===Je?ht(n,t,r):!!(it===`application/xhtml+xml`&&Ze[e.namespaceURI]):!1},_t=function(e){tg(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw _g(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},vt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},yt=function(e){St(e);let t=g(e);if(t){let e=[];Qh(t,t=>{tg(e,t)}),Qh(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&vt(e,r,i)}},bt=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}tg(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`)if(je||Me)try{_t(n)}catch{}else try{n.setAttribute(e,``)}catch{}},xt=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||L[ot(i)]||vt(e,r,i)}},St=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===Xg.element&&xt(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Ct=function(e,t){return Te?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},wt=function(e){if(!Te)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===Xg.processingInstruction||n===Xg.comment&&gg(qg,e.data)){try{p(e)}catch{}continue}if(n===Xg.element){let t=e,n=ot(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&Ct(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Tt=function(e){let t=null,r=null;if(Ae)e=`<remove></remove>`+e;else{let t=og(e,/^[\r\n\t ]+/);r=t&&t[0]}it===`application/xhtml+xml`&&Ye===Je&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=T?k(e):e;if(Ye===Je)try{t=new l().parseFromString(i,it)}catch{}if(!t||!t.documentElement){t=M.createDocument(Ye,`template`,null);try{t.documentElement.innerHTML=Xe?E:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ye===Je?ie.call(t,Ee?`html`:`body`)[0]:Ee?t.documentElement:a},Et=function(e){let t=S?S(e):e.ownerDocument;return N.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Dt=function(e){return e=sg(e,ae,` `),e=sg(e,oe,` `),e=sg(e,se,` `),e},Ot=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=N.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Dt(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Qh(i,e=>{At(e.content)&&Ot(e.content)})},kt=function(e){let t=x?x(e):null;return typeof t!=`string`||ot(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},At=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===Xg.documentFragment}catch{return!1}},jt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function Mt(e,n,r){e.length!==0&&Qh(e,e=>{e.call(t,n,r,st)})}let Nt=function(e,t){return!!(Te&&e.hasChildNodes()&&!jt(e.firstElementChild)&&gg(Kg,e.textContent)&&gg(Kg,e.innerHTML)||Te&&e.namespaceURI===Je&&Qg[t]&&(jt(e.firstElementChild)||typeof e.textContent==`string`&&gg($g[t],e.textContent))||e.nodeType===Xg.processingInstruction||Te&&e.nodeType===Xg.comment&&gg(qg,e.data))},Pt=function(e,t){if(e instanceof RegExp)return gg(e,t);if(e instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!e(t,...r)}return!1},Ft=function(e,t,n){if(!_e[t]&&Vt(t)&&Pt(ge.tagNameCheck,t))return!1;if(Le&&!Be[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return _t(e),!0},It=function(e,t,n,r){return e.length===0?t:t===n||t===r?xg(t):t},Lt=function(e,t){return e===t||_(e)!==null?!1:(Re&&St(e),!0)},Rt=function(e,n){if(Mt(F.beforeSanitizeElements,e,null),Lt(e,n))return!0;if(kt(e))return _t(e),!0;let r=ot(w(e));if(I=It(F.uponSanitizeElement,I,me,Oe),Mt(F.uponSanitizeElement,e,{tagName:r,allowedTags:I}),Lt(e,n))return!0;if(Nt(e,r))return _t(e),!0;if(_e[r]||!(ye.tagCheck instanceof Function&&ye.tagCheck(r))&&!I[r]){let t=Ft(e,r,n);return t===!1&&(Mt(F.afterSanitizeElements,e,null),Lt(e,n))?!0:t}if(C(e)===Xg.element&&!gt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&gg(Jg,e.innerHTML))return _t(e),!0;if(we&&e.nodeType===Xg.text){let n=Dt(e.textContent);e.textContent!==n&&(tg(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Mt(F.afterSanitizeElements,e,null),Lt(e,n)},zt=function(e,t,r){if(ve[t]||Ct(t,e)||Pe&&(t===`id`||t===`name`)&&(r in n||r in ct))return!1;let i=L[t]||ye.attributeCheck instanceof Function&&ye.attributeCheck(t,e);return xe&&gg(ce,t)||be&&gg(le,t)?!0:i?We[t]||gg(pe,sg(r,de,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&cg(r,`data:`)===0&&He[e]||Se&&!gg(ue,sg(r,de,``))?!0:!r:Vt(e)&&Pt(ge.tagNameCheck,e)&&Pt(ge.attributeNameCheck,t,e)||t===`is`&&ge.allowCustomizedBuiltInElements&&Pt(ge.tagNameCheck,r)},Bt=X({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Vt=function(e){return!Bt[ig(e)]&&gg(fe,e)},Ht=function(e,t,n,r){if(T&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return k(r);case`TrustedScriptURL`:return A(r)}return r},Ut=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),kt(e)?(_t(e),!1):!0}catch{return bt(t,e),!1}},R=function(e,n){if(Mt(F.beforeSanitizeAttributes,e,null),Lt(e,n))return;let r=e.attributes;if(!r||kt(e))return;L=It(F.uponSanitizeAttribute,L,he,ke);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},a=r.length,o=ot(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=ot(s),d=l,f=s===`value`?d:lg(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,Mt(F.uponSanitizeAttribute,e,i),f=i.attrValue,Fe&&(u===`id`||u===`name`)&&cg(f,Ie)!==0&&(bt(s,e,n),f=Ie+f,p=!0),Te&&gg(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){bt(s,e,n);continue}if(u===`attributename`&&og(f,`href`)){bt(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){bt(s,e,n);continue}if(!Ce&&gg(Yg,f)){bt(s,e,n);continue}if(we&&(f=Dt(f)),!zt(o,u,f)){bt(s,e,n);continue}f=Ht(o,u,c,f),f!==d&&Ut(e,s,c,f)&&p&&eg(t.removed)}}Mt(F.afterSanitizeAttributes,e,null),Lt(e,n)},Wt=function(e){let t=null,n=Et(e);for(Mt(F.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Mt(F.uponSanitizeShadowNode,t,null),Rt(t,e),R(t,e),At(t.content)&&Wt(t.content),C(t)===Xg.element){let e=v(t);At(e)&&(Gt(e),Wt(e))}Mt(F.afterSanitizeShadowDOM,e,null)},Gt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Wt(e.shadow);continue}let n=e.node,r=C(n)===Xg.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&ot(e)===`template`){let e=n.content;At(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);At(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Xe=!e,Xe&&(e=`<!-->`),typeof e!=`string`&&!jt(e)&&(e=Sg(e),typeof e!=`string`))throw _g(`dirty is not a string, aborting`);if(!t.isSupported)return e;De?(I=Oe,L=ke):ut(n),(F.uponSanitizeElement.length>0||F.uponSanitizeAttribute.length>0)&&(I=xg(I)),F.uponSanitizeAttribute.length>0&&(L=xg(L)),t.removed=[];let c=Re&&typeof e!=`string`&&jt(e);if(c){wt(e);let t=w(e);if(typeof t==`string`){let n=ot(t);if(!I[n]||_e[n])throw yt(e),_g(`root node is forbidden and cannot be sanitized in-place`)}if(kt(e))throw yt(e),_g(`root node is clobbered and cannot be sanitized in-place`);try{Gt(e)}catch(t){throw yt(e),t}}else if(jt(e))i=Tt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Xg.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Gt(i);else{if(!je&&!we&&!Ee&&e.indexOf(`<`)===-1)return T&&Ne?k(e):e;if(i=Tt(e),!i)return je?null:Ne?E:``}i&&Ae&&_t(i.firstChild);let l=c?e:i;try{let e=Et(l);for(;o=e.nextNode();)Rt(o,l),R(o,l),At(o.content)&&Wt(o.content)}catch(n){throw c&&(yt(e),Qh(t.removed,e=>{e.element&&St(e.element)})),n}if(c){let n=!1;if(Qh(t.removed,t=>{t.element&&(t.element===e&&(n=!0),St(t.element))}),n)throw _g(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return we&&Ot(e),e}if(je){if(we&&Ot(i),Me)for(s=re.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(L.shadowroot||L.shadowrootmode)&&(s=P.call(r,s,!0)),s}let u=Ee?i.outerHTML:i.innerHTML;return Ee&&I[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&gg(Wg,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
85
|
+
`+u),we&&(u=Dt(u)),T&&Ne?k(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ut(e),De=!0,Oe=I,ke=L},t.clearConfig=function(){st=null,De=!1,Oe=null,ke=null,T=D,E=``},t.isValidAttribute=function(e,t,n){st||ut({});let r=ot(e),i=ot(t);return zt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&mg(F,e)&&tg(F[e],t)},t.removeHook=function(e,t){if(mg(F,e)){if(t!==void 0){let n=$h(F[e],t);return n===-1?void 0:ng(F[e],n,1)[0]}return eg(F[e])}},t.removeHooks=function(e){mg(F,e)&&(F[e]=[])},t.removeAllHooks=function(){F=n_()},t}var o_=a_(),s_=`data-pie-authored-ink`,c_=`data-pie-authored-fill`,l_=`data-pie-authored-border`,u_=[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],d_=new Set([`currentcolor`,`inherit`,`initial`,`unset`,`revert`,`revert-layer`,`transparent`]);function f_(e){let t=e?.trim().toLowerCase();return!t||d_.has(t)||t.includes(`var(`)?!1:g_(t)?.a!==0}function p_(e){let t=g_(e);if(!t)return`shade`;let n=e=>(e*t.a+255*(1-t.a))/255,[r,i,a]=[n(t.r),n(t.g),n(t.b)],o=.2126*I_(r)+.7152*I_(i)+.0722*I_(a),s=Math.max(r,i,a)-Math.min(r,i,a);return o>=.85&&s<=.08?`light`:`shade`}function m_(e){e.removeAttribute(s_),e.removeAttribute(c_),e.removeAttribute(l_);let t=e.hasAttribute(`style`)?e.style:void 0,n=e=>t?.getPropertyValue(e).trim()??``,r=[],i=n(`color`),a=e.localName===`font`?e.getAttribute(`color`):null;f_(i||a)&&(e.setAttribute(s_,``),i&&r.push(`color`));let o=n(`background-color`),s=o||h_(e.getAttribute(`bgcolor`));f_(s)&&(e.setAttribute(c_,p_(s)),o&&r.push(`background-color`));let c=u_.filter(e=>f_(n(e)));c.length&&(e.setAttribute(l_,``),r.push(...c));for(let e of r)t?.getPropertyPriority(e)===`important`&&t.setProperty(e,t.getPropertyValue(e))}function h_(e){let t=e?.trim()??``;return/^(?:[\da-f]{3}|[\da-f]{6})$/i.test(t)?`#${t}`:t}function g_(e){let t=e.trim().toLowerCase();if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=v_().get(t);if(n)return y_(n);if(t.startsWith(`#`))return y_(t.slice(1));let r=/^([a-z]+)\(([^()]*)\)$/.exec(t);if(!r)return null;let i=r[2].trim().split(/\s*[\s,/]\s*/);if(i.length!==3&&i.length!==4)return null;let[a,o,s,c]=i,l=C_(c),u;switch(r[1]){case`rgb`:case`rgba`:u=[a,o,s].map(e=>x_(e,255)/255);break;case`hsl`:case`hsla`:u=T_(S_(a),x_(o,100)/100,x_(s,100)/100);break;case`hwb`:u=E_(S_(a),x_(o,100)/100,x_(s,100)/100);break;case`lab`:u=M_(x_(a,100),x_(o,125),x_(s,125));break;case`lch`:u=M_(x_(a,100),...w_(x_(o,150),S_(s)));break;case`oklab`:u=N_(x_(a,1),x_(o,.4),x_(s,.4));break;case`oklch`:u=N_(x_(a,1),...w_(x_(o,.4),S_(s)));break;default:return null}if(Number.isNaN(l)||u.some(Number.isNaN))return null;let[d,f,p]=u.map(e=>L_(e,0,1)*255);return{r:d,g:f,b:p,a:l}}var __;function v_(){return __??=new Map(`aliceblue:f0f8ff antiquewhite:faebd7 aqua:00ffff aquamarine:7fffd4 azure:f0ffff beige:f5f5dc bisque:ffe4c4 black:000000 blanchedalmond:ffebcd blue:0000ff blueviolet:8a2be2 brown:a52a2a burlywood:deb887 cadetblue:5f9ea0 chartreuse:7fff00 chocolate:d2691e coral:ff7f50 cornflowerblue:6495ed cornsilk:fff8dc crimson:dc143c cyan:00ffff darkblue:00008b darkcyan:008b8b darkgoldenrod:b8860b darkgray:a9a9a9 darkgreen:006400 darkgrey:a9a9a9 darkkhaki:bdb76b darkmagenta:8b008b darkolivegreen:556b2f darkorange:ff8c00 darkorchid:9932cc darkred:8b0000 darksalmon:e9967a darkseagreen:8fbc8f darkslateblue:483d8b darkslategray:2f4f4f darkslategrey:2f4f4f darkturquoise:00ced1 darkviolet:9400d3 deeppink:ff1493 deepskyblue:00bfff dimgray:696969 dimgrey:696969 dodgerblue:1e90ff firebrick:b22222 floralwhite:fffaf0 forestgreen:228b22 fuchsia:ff00ff gainsboro:dcdcdc ghostwhite:f8f8ff gold:ffd700 goldenrod:daa520 gray:808080 green:008000 greenyellow:adff2f grey:808080 honeydew:f0fff0 hotpink:ff69b4 indianred:cd5c5c indigo:4b0082 ivory:fffff0 khaki:f0e68c lavender:e6e6fa lavenderblush:fff0f5 lawngreen:7cfc00 lemonchiffon:fffacd lightblue:add8e6 lightcoral:f08080 lightcyan:e0ffff lightgoldenrodyellow:fafad2 lightgray:d3d3d3 lightgreen:90ee90 lightgrey:d3d3d3 lightpink:ffb6c1 lightsalmon:ffa07a lightseagreen:20b2aa lightskyblue:87cefa lightslategray:778899 lightslategrey:778899 lightsteelblue:b0c4de lightyellow:ffffe0 lime:00ff00 limegreen:32cd32 linen:faf0e6 magenta:ff00ff maroon:800000 mediumaquamarine:66cdaa mediumblue:0000cd mediumorchid:ba55d3 mediumpurple:9370db mediumseagreen:3cb371 mediumslateblue:7b68ee mediumspringgreen:00fa9a mediumturquoise:48d1cc mediumvioletred:c71585 midnightblue:191970 mintcream:f5fffa mistyrose:ffe4e1 moccasin:ffe4b5 navajowhite:ffdead navy:000080 oldlace:fdf5e6 olive:808000 olivedrab:6b8e23 orange:ffa500 orangered:ff4500 orchid:da70d6 palegoldenrod:eee8aa palegreen:98fb98 paleturquoise:afeeee palevioletred:db7093 papayawhip:ffefd5 peachpuff:ffdab9 peru:cd853f pink:ffc0cb plum:dda0dd powderblue:b0e0e6 purple:800080 rebeccapurple:663399 red:ff0000 rosybrown:bc8f8f royalblue:4169e1 saddlebrown:8b4513 salmon:fa8072 sandybrown:f4a460 seagreen:2e8b57 seashell:fff5ee sienna:a0522d silver:c0c0c0 skyblue:87ceeb slateblue:6a5acd slategray:708090 slategrey:708090 snow:fffafa springgreen:00ff7f steelblue:4682b4 tan:d2b48c teal:008080 thistle:d8bfd8 tomato:ff6347 turquoise:40e0d0 violet:ee82ee wheat:f5deb3 white:ffffff whitesmoke:f5f5f5 yellow:ffff00 yellowgreen:9acd32`.split(` `).map(e=>e.split(`:`))),__}function y_(e){if(!/^(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/.test(e))return null;let[t,n,r,i=255]=(e.length<=4?[...e].map(e=>e+e):e.match(/../g)??[]).map(e=>Number.parseInt(e,16));return{r:t,g:n,b:r,a:i/255}}var b_=/^([+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)(%|deg|rad|grad|turn)?$/;function x_(e,t){if(e===`none`)return 0;let n=b_.exec(e);return!n||n[2]&&n[2]!==`%`?NaN:n[2]?Number(n[1])/100*t:Number(n[1])}function S_(e){if(e===`none`)return 0;let t=b_.exec(e);if(!t||t[2]===`%`)return NaN;let n=Number(t[1]);return((t[2]===`rad`?n*180/Math.PI:t[2]===`grad`?n*.9:t[2]===`turn`?n*360:n)%360+360)%360}function C_(e){return e===void 0?1:L_(x_(e,1),0,1)}function w_(e,t){let n=Math.max(0,e),r=t*Math.PI/180;return[n*Math.cos(r),n*Math.sin(r)]}function T_(e,t,n){let r=L_(t,0,1),i=L_(n,0,1),a=t=>{let n=(t+e/30)%12,a=r*Math.min(i,1-i);return i-a*Math.max(-1,Math.min(n-3,9-n,1))};return[a(0),a(8),a(4)]}function E_(e,t,n){let r=L_(t,0,1),i=L_(n,0,1);return r+i>=1?[,,,].fill(r/(r+i)):T_(e,1,.5).map(e=>e*(1-r-i)+r)}var D_=24389/27,O_=216/24389,k_=[.3457/.3585,1,.2958/.3585],A_=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]],j_=[[12831/3959,-329/214,-1974/3959],[-851781/878810,1648619/878810,36519/878810],[705/12673,-2585/12673,705/667]];function M_(e,t,n){let r=L_(e,0,100),i=(r+16)/116,a=t/500+i,o=i-n/200;return P_(j_,P_(A_,[a**3>O_?a**3:(116*a-16)/D_,r>D_*O_?i**3:r/D_,o**3>O_?o**3:(116*o-16)/D_].map((e,t)=>e*k_[t]))).map(F_)}function N_(e,t,n){let r=L_(e,0,1);return P_([[4.0767416621,-3.3077115913,.2309699292],[-1.2684380046,2.6097574011,-.3413193965],[-.0041960863,-.7034186147,1.707614701]],[r+.3963377774*t+.2158037573*n,r-.1055613458*t-.0638541728*n,r-.0894841775*t-1.291485548*n].map(e=>e**3)).map(F_)}function P_(e,t){return e.map(e=>e[0]*t[0]+e[1]*t[1]+e[2]*t[2])}function F_(e){let t=L_(e,0,1);return t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055}function I_(e){return e<=.04045?e/12.92:((e+.055)/1.055)**2.4}function L_(e,t,n){return Math.min(n,Math.max(t,e))}var R_=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],z_=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],B_=new Set([`iframe`,`object`,`mstack`,`mlongdiv`,`msgroup`,`msrow`,`msline`,`mscarries`,`mscarry`,`semantics`,`annotation`,`none`]),V_=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,H_=[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`,`stackalign`,`charalign`,`charspacing`,`longdivstyle`,`position`,`shift`,`location`,`crossout`,`leftoverhang`,`rightoverhang`,`mslinethickness`,`linebreak`],U_=/^\s*document\.getElementById\((['"])([^'"]+)\1\)\.play\(\)\s*;?\s*(?:return\s+false\s*;?\s*)?$/,W_=`data-pie-play-audio`,G_={ADD_TAGS:e=>B_.has(e)||V_.test(e),ADD_ATTR:H_,FORBID_TAGS:R_,FORBID_ATTR:z_,ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},K_=!1;function q_(e){for(let t of e.composedPath()){if(!(t instanceof Element))continue;let n=t.getAttribute(W_);if(n===null)continue;e.preventDefault();let r=t.getRootNode().getElementById?.(n)??document.getElementById(n);r instanceof HTMLMediaElement&&r.play()?.catch(()=>void 0);return}}var J_=null;function Y_(){return J_||(J_=o_(window),J_.addHook(`beforeSanitizeAttributes`,e=>{if(e.nodeName!==`A`)return;let t=U_.exec(e.getAttribute(`onclick`)??``)?.[2];t!==void 0&&(e.removeAttribute(`onclick`),e.setAttribute(W_,t),K_||=(document.addEventListener(`click`,q_),!0))}),J_.addHook(`afterSanitizeAttributes`,m_),J_)}var X_=1e6,Z_=new Map,Q_=0;function $_(e){if(e==null||e===``||!o_.isSupported)return``;let t=typeof e==`string`?e:String(e),n=Z_.get(t);if(n!==void 0)return n;let r=String(Y_().sanitize(t,G_)),i=t.length+r.length;if(i>X_)return r;for(let[e,t]of Z_){if(Q_+i<=X_)break;Z_.delete(e),Q_-=e.length+t.length}return Z_.set(t,r),Q_+=i,r}var ev={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},tv={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},nv=s({background:()=>Ev,backgroundDark:()=>Dv,black:()=>Bv,blueGrey100:()=>Xv,blueGrey300:()=>Zv,blueGrey600:()=>Qv,blueGrey900:()=>$v,border:()=>Nv,borderDark:()=>Fv,borderGray:()=>Iv,borderLight:()=>Pv,buttonBorder:()=>uy,buttonFocusOutline:()=>qv,buttonHoverBg:()=>dy,correct:()=>cv,correctSecondary:()=>lv,correctTertiary:()=>uv,correctWithIcon:()=>dv,defaults:()=>Z,disabled:()=>av,disabledSecondary:()=>ov,disabledText:()=>sv,dropdownBackground:()=>kv,editorToolbar:()=>ly,fadedPrimary:()=>xv,focusChecked:()=>Uv,focusCheckedBorder:()=>Wv,focusOutline:()=>Jv,focusUnchecked:()=>Gv,focusUncheckedBorder:()=>Kv,incorrect:()=>fv,incorrectSecondary:()=>mv,incorrectWithIcon:()=>pv,keyBoardFocusIndicator:()=>Yv,keypadButton:()=>ny,keypadButtonHover:()=>ay,keypadButtonOperator:()=>ry,keypadButtonOperatorHover:()=>oy,keypadEmptyPlaceholder:()=>iy,keypadInk:()=>cy,missing:()=>hv,missingWithIcon:()=>gv,primary:()=>_v,primaryDark:()=>yv,primaryLight:()=>vv,primaryText:()=>bv,secondary:()=>Sv,secondaryBackground:()=>Ov,secondaryDark:()=>wv,secondaryLight:()=>Cv,secondaryText:()=>Tv,surface:()=>Av,tableGrid:()=>Lv,tableGridLight:()=>Rv,tableStripe:()=>zv,tertiary:()=>jv,tertiaryLight:()=>Mv,text:()=>iv,transparent:()=>Hv,v:()=>rv,visualElementsColors:()=>fy,white:()=>Vv}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:Yu[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:Gu[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:Gu[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:tv[500],PRIMARY_LIGHT:tv[200],PRIMARY_DARK:tv[800],SECONDARY:ev.A400,SECONDARY_LIGHT:ev[200],SECONDARY_DARK:ev[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var rv=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=rv(`pie`),iv=()=>Q(`text`,Z.TEXT),av=()=>Q(`disabled`,Z.DISABLED),ov=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),sv=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),cv=()=>Q(`correct`,Z.CORRECT),lv=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),uv=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),dv=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),fv=()=>Q(`incorrect`,Z.INCORRECT),pv=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),mv=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),hv=()=>Q(`missing`,Z.MISSING),gv=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),_v=()=>Q(`primary`,Z.PRIMARY),vv=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),yv=()=>Q(`primary-dark`,Z.PRIMARY_DARK),bv=()=>Q(`primary-text`,`text`,Z.TEXT),xv=()=>Q(`faded-primary`,Z.FADED_PRIMARY),Sv=()=>Q(`secondary`,Z.SECONDARY),Cv=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),wv=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Tv=()=>Q(`secondary-text`,`text`,Z.TEXT),Ev=()=>Q(`background`,Z.BACKGROUND),Dv=()=>Q(`background-dark`,Z.BACKGROUND_DARK),Ov=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),kv=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Av=()=>Q(`surface`,Z.SURFACE),jv=()=>Q(`tertiary`,Z.TERTIARY),Mv=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Nv=()=>Q(`border`,Z.BORDER),Pv=()=>Q(`border-light`,Z.BORDER_LIGHT),Fv=()=>Q(`border-dark`,Z.BORDER_DARK),Iv=()=>Q(`border-gray`,Z.BORDER_GRAY),Lv=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Rv=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),zv=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Bv=()=>Q(`black`,Z.BLACK),Vv=()=>Q(`white`,Z.WHITE),Hv=()=>Z.TRANSPARENT,Uv=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),Wv=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),Gv=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),Kv=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),qv=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),Jv=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),Yv=Jv,Xv=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),Zv=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),Qv=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),$v=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),ey=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},ty=(e,t)=>`color-mix(in srgb, rgb(${ey(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,ny=()=>Q(`keypad-button`,ty(Z.KEYPAD_BUTTON,.5)),ry=()=>Q(`keypad-button-operator`,ty(Z.KEYPAD_BUTTON_OPERATOR,.5)),iy=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),ay=()=>Q(`keypad-button-hover`,ty(Z.KEYPAD_BUTTON_HOVER,.25)),oy=()=>Q(`keypad-button-operator-hover`,ty(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),sy=`clamp(0.6, (r + g + b) / 450, 1)`,cy=()=>`rgb(from ${iv()} calc(r * ${sy}) calc(g * ${sy}) calc(b * ${sy}))`,ly=()=>ty(Z.EDITOR_TOOLBAR,.125),uy=()=>Q(`button-border`,Z.BUTTON_BORDER),dy=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),fy={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},py=Y(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),my=Y(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Dv()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${iv()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${lv()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${mv()})`}}),hy=Y(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),gy=class extends H.Component{static propTypes={correctness:z.string,feedback:z.string};nodeRef=H.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,U.jsx)(Wp,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,U.jsx)(hy,{ref:this.nodeRef,children:(0,U.jsx)(py,{children:(0,U.jsx)(my,{role:`alert`,className:e,dangerouslySetInnerHTML:{__html:$_(t)}})})})},`hasFeedback`)}render(){return(0,U.jsx)(`div`,{children:(0,U.jsx)($p,{children:this.renderFeedback()})})}},_y=s({Correct:()=>Cy,Incorrect:()=>wy,NothingSubmitted:()=>Ey,PartiallyCorrect:()=>Ty}),vy=pn(`pie-libs:render-ui:response-indicators`),yy=Y(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),by=Y(Mh)({cursor:`pointer`}),xy=Y(`div`)({padding:`0`,borderRadius:`4px`}),Sy=(e,t)=>{class n extends H.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{vy(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,U.jsxs)(yy,{hasFeedback:!!n,children:[(0,U.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,U.jsx)(e,{})}),n&&(0,U.jsx)(by,{PaperComponent:xy,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,U.jsx)(gy,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:z.string},n},Cy=Sy(Jf,`correct`),wy=Sy(tp,`incorrect`),Ty=Sy(cp,`partially-correct`),Ey=Sy(ap,`nothing-submitted`);function Dy(e){return vl(`MuiCollapse`,e)}yl(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var Oy=e=>{let{orientation:t,classes:n}=e;return Bu({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Dy,n)},ky=Y(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(Im(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),Ay=Y(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),jy=Y(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),My=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=Sd.standard,TransitionComponent:x=Bp,...S}=n,C={...n,orientation:g,collapsedSize:o},w=Oy(C),T=Qd(),E=Sp(),D=H.useRef(null),ee=H.useRef(),O=typeof o==`number`?`${o}px`:o,te=g===`horizontal`,k=te?`width`:`height`,A=H.useRef(null),ne=am(t,A),j=()=>D.current?D.current[te?`clientWidth`:`clientHeight`]:0,M=tm(A,(e,t)=>{D.current&&te&&(D.current.style.position=`absolute`),e.style[k]=O,u&&u(e,t)}),N=tm(A,(e,t)=>{let n=j();D.current&&te&&(D.current.style.position=``);let{duration:r,easing:i}=rm({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,ee.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[k]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),re=tm(A,(e,t)=>{e.style[k]=`auto`,d&&d(e,t)}),ie=tm(A,e=>{e.style[k]=`${j()}px`,p&&p(e)}),P=tm(A,m),F=tm(A,e=>{let t=j(),{duration:n,easing:r}=rm({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,ee.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[k]=O,e.style.transitionTimingFunction=r,h&&h(e)}),ae=e=>{b===`auto`&&E.start(ee.current||0,e),r&&r(A.current,e)},oe={slots:_,slotProps:v,component:s},[se,ce]=Hm(`root`,{ref:ne,className:q(w.root,a),elementType:ky,externalForwardedProps:oe,ownerState:C,additionalProps:{style:{[te?`minWidth`:`minHeight`]:O,...y}}}),[le,ue]=Hm(`wrapper`,{ref:D,className:w.wrapper,elementType:Ay,externalForwardedProps:oe,ownerState:C}),[de,fe]=Hm(`wrapperInner`,{className:w.wrapperInner,elementType:jy,externalForwardedProps:oe,ownerState:C});return(0,U.jsx)(x,{in:l,onEnter:M,onEntered:re,onEntering:N,onExit:ie,onExited:P,onExiting:F,addEndListener:ae,nodeRef:A,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,U.jsx)(se,{...ce,className:q(ce.className,{entered:w.entered,exited:!l&&O===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,U.jsx)(le,{...ue,ownerState:r,children:(0,U.jsx)(de,{...fe,ownerState:r,children:i})})})}})});My&&(My.muiSupportAuto=!0);var Ny={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},Py={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},$=e=>typeof e==`string`,Fy=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Iy=e=>e==null?``:``+e,Ly=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Ry=/###/g,zy=e=>e&&e.indexOf(`###`)>-1?e.replace(Ry,`.`):e,By=e=>!e||$(e),Vy=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(By(e))return{};let t=zy(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return By(e)?{}:{obj:e,k:zy(r[i])}},Hy=(e,t,n)=>{let{obj:r,k:i}=Vy(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Vy(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Vy(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Uy=(e,t,n,r)=>{let{obj:i,k:a}=Vy(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Wy=(e,t)=>{let{obj:n,k:r}=Vy(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Gy=(e,t,n)=>{let r=Wy(e,n);return r===void 0?Wy(t,n):r},Ky=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Ky(e[r],t[r],n):e[r]=t[r]);return e},qy=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Jy={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},Yy=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>Jy[e]):e,Xy=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Zy=[` `,`,`,`?`,`!`,`;`],Qy=new Xy(20),$y=(e,t,n)=>{t||=``,n||=``;let r=Zy.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Qy.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},eb=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},tb=e=>e?.replace(/_/g,`-`),nb={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},rb=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||nb,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:($(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},ib=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},ab=class extends ib{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Wy(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:eb(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Hy(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Wy(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Ky(s,n,i):s={...s,...n},Hy(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},ob={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},sb=Symbol(`i18next/PATH_KEY`);function cb(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===sb?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function lb(e,t){let{[sb]:n}=e(cb()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var ub={},db=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,fb=class e extends ib{constructor(e,t={}){super(),Ly([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=rb.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=db(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!$y(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=lb(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?lb(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=db(E),ee=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(ee)<0&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:db(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=ob.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?lb(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!ub[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(ub[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},pb=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rb.create(`languageUtils`)}getScriptPartFromCode(e){if(e=tb(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=tb(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):$(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},mb={zero:0,one:1,two:2,few:3,many:4,other:5},hb={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},gb=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=rb.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=tb(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),hb;if(!e.match(/-|_/))return hb;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>mb[e]-mb[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},_b=(e,t,n,r=`.`,i=!0)=>{let a=Gy(e,t,n);return!a&&i&&$(n)&&(a=eb(e,n,r),a===void 0&&(a=eb(t,n,r))),a},vb=e=>e.replace(/\$/g,`$$$$`),yb=class{constructor(e={}){this.logger=rb.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Yy:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?qy(i):a||`{{`,this.suffix=o?qy(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?qy(d):f||qy(`$t(`),this.nestingSuffix=p?qy(p):m||qy(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=_b(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(_b(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>vb(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?vb(this.escape(e)):vb(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!$(a)&&!this.useRawValueToEscape&&(a=Iy(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${qy(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=Iy(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},bb=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},xb=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(tb(r),i),t[o]=s),s(n)}},Sb=e=>(t,n,r)=>e(tb(n),r)(t),Cb=class{constructor(e={}){this.logger=rb.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?xb:Sb;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=xb(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=bb(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},wb=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Tb=class extends ib{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=rb.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Uy(n.loaded,[i],a),wb(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},Eb=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Db=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),Ob=()=>{},kb=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Ab=`__i18next_supportNoticeShown`,jb=()=>!!(typeof globalThis<`u`&&globalThis[Ab]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),Mb=()=>{typeof globalThis<`u`&&(globalThis[Ab]=!0)},Nb=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),Pb=class e extends ib{constructor(e={},t){if(super(),this.options=Db(e),this.services={},this.logger=rb,this.modules={external:[]},kb(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=Eb();this.options={...n,...this.options,...Db(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Nb(this)&&!jb()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),Mb());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?rb.init(r(this.modules.logger),this.options):rb.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Cb;let t=new pb(this.options);this.store=new ab(this.options.resources,this.options);let i=this.services;i.logger=rb,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new gb(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new yb(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Tb(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new fb(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Ob,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Fy(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Ob){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Fy();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Ob,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&ob.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Fy();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=lb(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=lb(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=lb(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return $(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=Fy();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Fy();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new pb(Eb());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Ob){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new ab(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...Eb().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new yb(n)}return a.translator=new fb(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();Pb.createInstance,Pb.dir,Pb.init,Pb.loadResources,Pb.reloadResources,Pb.use,Pb.changeLanguage,Pb.getFixedT,Pb.t,Pb.exists,Pb.setDefaultNamespace,Pb.hasLoadedNamespace,Pb.loadNamespaces,Pb.loadLanguages,Pb.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:Ny,es:Py}});var Fb={translator:{...Pb,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return Pb.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},Ib=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,Lb=e=>H.useState(()=>Ib(e))[0],{translator:Rb}=Fb,zb=Y(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:jv(),cursor:`pointer`}),Bb=Y(`span`)({borderBottom:`1px dotted currentColor`}),Vb=Y(My)(({theme:e})=>({paddingTop:e.spacing(2)})),Hb=class extends H.Component{static propTypes={className:z.string,children:z.object,labels:z.shape({visible:z.string,hidden:z.string}),language:z.string};static defaultProps={labels:{}};state={expanded:!1};panelId=Ib(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){ba(this.root)}componentDidUpdate(){ba(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||Rb.t(`common:hide`,{lng:r}):e.hidden||Rb.t(`common:show`,{lng:r});return(0,U.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,U.jsx)(`div`,{children:(0,U.jsx)(zb,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,U.jsx)(Bb,{children:a})})}),(0,U.jsx)(`div`,{id:this.panelId,children:(0,U.jsx)(Vb,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function Ub(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var Wb=class e{static create(){return new e}static use(){let t=vp(e.create).current,[n,r]=H.useState(!1);return t.shouldMount=n,t.setShouldMount=r,H.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Kb(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Gb(){return Wb.use()}function Kb(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function qb(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=H.useState(!1),f=q(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=q(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),H.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,U.jsx)(`span`,{className:f,style:p,children:(0,U.jsx)(`span`,{className:m})})}var Jb=yl(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Yb=550,Xb=xs`
|
|
86
86
|
0% {
|
|
87
87
|
transform: scale(0);
|
|
88
88
|
opacity: 0.1;
|
|
@@ -92,7 +92,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
92
92
|
transform: scale(1);
|
|
93
93
|
opacity: 0.3;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
`,Zb=xs`
|
|
96
96
|
0% {
|
|
97
97
|
opacity: 1;
|
|
98
98
|
}
|
|
@@ -100,7 +100,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
100
100
|
100% {
|
|
101
101
|
opacity: 0;
|
|
102
102
|
}
|
|
103
|
-
`,
|
|
103
|
+
`,Qb=xs`
|
|
104
104
|
0% {
|
|
105
105
|
transform: scale(1);
|
|
106
106
|
}
|
|
@@ -112,23 +112,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
112
112
|
100% {
|
|
113
113
|
transform: scale(1);
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
`,$b=Y(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),ex=Y(qb,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
116
116
|
opacity: 0;
|
|
117
117
|
position: absolute;
|
|
118
118
|
|
|
119
|
-
&.${
|
|
119
|
+
&.${Jb.rippleVisible} {
|
|
120
120
|
opacity: 0.3;
|
|
121
121
|
transform: scale(1);
|
|
122
|
-
animation-name: ${
|
|
123
|
-
animation-duration: ${
|
|
122
|
+
animation-name: ${Xb};
|
|
123
|
+
animation-duration: ${Yb}ms;
|
|
124
124
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
&.${
|
|
127
|
+
&.${Jb.ripplePulsate} {
|
|
128
128
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
& .${
|
|
131
|
+
& .${Jb.child} {
|
|
132
132
|
opacity: 1;
|
|
133
133
|
display: block;
|
|
134
134
|
width: 100%;
|
|
@@ -137,25 +137,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
137
137
|
background-color: currentColor;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
& .${
|
|
140
|
+
& .${Jb.childLeaving} {
|
|
141
141
|
opacity: 0;
|
|
142
|
-
animation-name: ${
|
|
143
|
-
animation-duration: ${
|
|
142
|
+
animation-name: ${Zb};
|
|
143
|
+
animation-duration: ${Yb}ms;
|
|
144
144
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
& .${
|
|
147
|
+
& .${Jb.childPulsate} {
|
|
148
148
|
position: absolute;
|
|
149
149
|
/* @noflip */
|
|
150
150
|
left: 0px;
|
|
151
151
|
top: 0;
|
|
152
|
-
animation-name: ${
|
|
152
|
+
animation-name: ${Qb};
|
|
153
153
|
animation-duration: 2500ms;
|
|
154
154
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
155
155
|
animation-iteration-count: infinite;
|
|
156
156
|
animation-delay: 200ms;
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
158
|
+
`,tx=H.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=up({props:e,name:`MuiTouchRipple`}),[o,s]=H.useState([]),c=H.useRef(0),l=H.useRef(null);H.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=H.useRef(!1),d=Sp(),f=H.useRef(null),p=H.useRef(null),m=H.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,U.jsx)(ex,{classes:{ripple:q(r.ripple,Jb.ripple),rippleVisible:q(r.rippleVisible,Jb.rippleVisible),ripplePulsate:q(r.ripplePulsate,Jb.ripplePulsate),child:q(r.child,Jb.child),childLeaving:q(r.childLeaving,Jb.childLeaving),childPulsate:q(r.childPulsate,Jb.childPulsate)},timeout:Yb,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=H.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=H.useCallback(()=>{h({},{pulsate:!0})},[h]),_=H.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return H.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,U.jsx)($b,{className:q(Jb.root,r.root,i),ref:p,...a,children:(0,U.jsx)($p,{component:null,exit:!0,children:o})})});function nx(e){return vl(`MuiButtonBase`,e)}var rx=yl(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),ix=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Bu({root:[`root`,t&&`disabled`,n&&`focusVisible`]},nx,i);return n&&r&&(a.root+=` ${r}`),a},ax=Y(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${rx.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),ox=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:ee=0,TouchRippleProps:O,touchRippleRef:te,type:k,...A}=n,ne=H.useRef(null),j=Gb(),M=am(j.ref,te),[N,re]=H.useState(!1);c&&N&&re(!1),H.useImperativeHandle(r,()=>({focusVisible:()=>{re(!0),ne.current.focus()}}),[]);let ie=j.shouldMount&&!l&&!c;H.useEffect(()=>{N&&d&&!l&&j.pulsate()},[l,d,N,j]);let P=sx(j,`start`,S,u),F=sx(j,`stop`,g,u),ae=sx(j,`stop`,_,u),oe=sx(j,`stop`,w,u),se=sx(j,`stop`,e=>{N&&e.preventDefault(),C&&C(e)},u),ce=sx(j,`start`,D,u),le=sx(j,`stop`,T,u),ue=sx(j,`stop`,E,u),de=sx(j,`stop`,e=>{Ub(e.target)||re(!1),m&&m(e)},!1),fe=Sh(e=>{ne.current||=e.currentTarget,Ub(e.target)&&(re(!0),y&&y(e)),v&&v(e)}),pe=()=>{let e=ne.current;return e?e.tagName!==`BUTTON`&&!(e.tagName===`A`&&e.href):s&&s!==`button`},I=Sh(e=>{d&&!e.repeat&&N&&e.key===` `&&j.stop(e,()=>{j.start(e)}),e.target===e.currentTarget&&pe()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&pe()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),me=Sh(e=>{d&&e.key===` `&&N&&!e.defaultPrevented&&j.stop(e,()=>{j.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&pe()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),L=s;L===`button`&&(A.href||A.to)&&(L=p);let he={};if(L===`button`){let e=!!A.formAction;he.type=k===void 0&&!e?`button`:k,he.disabled=c}else!A.href&&!A.to&&(he.role=`button`),c&&(he[`aria-disabled`]=c);let ge=am(t,ne),_e={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:ee,focusVisible:N},ve=ix(_e);return(0,U.jsxs)(ax,{as:L,className:q(ve.root,o),ownerState:_e,onBlur:de,onClick:h,onContextMenu:F,onFocus:fe,onKeyDown:I,onKeyUp:me,onMouseDown:P,onMouseLeave:se,onMouseUp:oe,onDragLeave:ae,onTouchEnd:le,onTouchMove:ue,onTouchStart:ce,ref:ge,tabIndex:c?-1:ee,type:k,...he,...A,children:[a,ie?(0,U.jsx)(tx,{ref:M,center:i,...O}):null]})});function sx(e,t,n,r=!1){return Sh(i=>(n&&n(i),r||e[t](i),!0))}function cx(e){return typeof e.main==`string`}function lx(e,t=[]){if(!cx(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function ux(e=[]){return([,t])=>t&&lx(t,e)}function dx(e){return vl(`MuiCircularProgress`,e)}yl(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var fx=44,px=xs`
|
|
159
159
|
0% {
|
|
160
160
|
transform: rotate(0deg);
|
|
161
161
|
}
|
|
@@ -163,7 +163,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
163
163
|
100% {
|
|
164
164
|
transform: rotate(360deg);
|
|
165
165
|
}
|
|
166
|
-
`,
|
|
166
|
+
`,mx=xs`
|
|
167
167
|
0% {
|
|
168
168
|
stroke-dasharray: 1px, 200px;
|
|
169
169
|
stroke-dashoffset: 0;
|
|
@@ -178,12 +178,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
178
178
|
stroke-dasharray: 1px, 200px;
|
|
179
179
|
stroke-dashoffset: -126px;
|
|
180
180
|
}
|
|
181
|
-
`,
|
|
182
|
-
animation: ${
|
|
183
|
-
`,
|
|
184
|
-
animation: ${
|
|
185
|
-
`,yx=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Hu({root:[`root`,n,`color${hh(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${hh(n)}`,i&&`circleDisableShrink`]},px,t)},bx=Y(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${hh(n.color)}`]]}})(Rm(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:_x||{animation:`${hx} 1.4s linear infinite`}},...Object.entries(e.palette).filter(fx()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),xx=Y(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Sx=Y(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${hh(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Rm(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:vx||{animation:`${gx} 1.4s ease-in-out infinite`}}]}))),Cx=Y(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Rm(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),wx=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=yx(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((mx-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,U.jsx)(bx,{className:q(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,U.jsxs)(xx,{className:m.svg,ownerState:p,viewBox:`${mx/2} ${mx/2} ${mx} ${mx}`,children:[o?(0,U.jsx)(Cx,{className:m.track,ownerState:p,cx:mx,cy:mx,r:(mx-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,U.jsx)(Sx,{className:m.circle,style:h,ownerState:p,cx:mx,cy:mx,r:(mx-l)/2,fill:`none`,strokeWidth:l})]})})});function Tx(e){return bl(`MuiButton`,e)}var Ex=xl(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Dx=H.createContext({}),Ox=H.createContext(void 0),kx=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Hu({root:[`root`,o&&`loading`,a,`${a}${hh(t)}`,`size${hh(i)}`,`${a}Size${hh(i)}`,`color${hh(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${hh(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${hh(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${hh(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Tx,c);return{...c,...l}},Ax=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],jx=Y(cx,{shouldForwardProp:e=>nf(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${hh(n.color)}`],t[`size${hh(n.size)}`],t[`${n.variant}Size${hh(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Rm(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${Ex.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Ex.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ex.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${Ex.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(fx()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${Ex.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Ex.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${Ex.loading}`]:{color:`transparent`}}}]}})),Mx=Y(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${hh(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...Ax]})),Nx=Y(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${hh(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Ax]})),Px=Y(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Fx=Y(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Ix=H.forwardRef(function(e,t){let n=H.useContext(Dx),r=H.useContext(Ox),i=fp({props:Pl(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=Ch(h),T=_??(0,U.jsx)(wx,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=kx(E),ee=(b||g&&v===`start`)&&(0,U.jsx)(Mx,{className:D.startIcon,ownerState:E,children:b||(0,U.jsx)(Fx,{className:D.loadingIconPlaceholder,ownerState:E})}),O=(f||g&&v===`end`)&&(0,U.jsx)(Nx,{className:D.endIcon,ownerState:E,children:f||(0,U.jsx)(Fx,{className:D.loadingIconPlaceholder,ownerState:E})}),te=r||``,k=typeof g==`boolean`?(0,U.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,U.jsx)(Px,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:A,...ne}=D;return(0,U.jsxs)(jx,{ownerState:E,className:q(n.className,D.root,c,te),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:q(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[ee,v!==`end`&&k,a,v===`end`&&k,O]})}),Lx=bh((0,U.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),Rx=bh((0,U.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),zx=Y(`div`)({display:`flex`,flexDirection:`column`}),Bx=Y(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),Vx=Y(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),Hx=Y(Ix)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),Ux=e=>{class t extends H.Component{static propTypes={session:z.object,onSessionChange:z.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,U.jsxs)(zx,{children:[(0,U.jsxs)(Bx,{children:[(0,U.jsxs)(Hx,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,U.jsx)(Vx,{children:(0,U.jsx)(Rx,{})}),`Undo`]}),(0,U.jsxs)(Hx,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,U.jsx)(Vx,{children:(0,U.jsx)(Lx,{})}),`Start Over`]})]}),(0,U.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Wx=Qd({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Gx=Y(`div`)({"& table, th, td":{fontSize:`inherit`}}),Kx=class extends H.Component{static propTypes={className:z.string,children:z.array,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=Rb(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,U.jsx)(zs,{injectFirst:!0,children:(0,U.jsxs)(uf,{theme:Wx,children:[i?.rules?(0,U.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,U.jsx)(Gx,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},qx=Y(Kx)({display:`flex`,flexDirection:`column`,position:`relative`}),Jx=class extends H.Component{static propTypes={ariaLabel:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,role:z.string,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,U.jsx)(qx,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},Yx=class extends H.Component{static propTypes={tag:z.string,className:z.string,html:z.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,U.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:tv(n)}})}};function Xx({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Zx=H.createContext(void 0);function Qx(){return H.useContext(Zx)}function $x(e){return bl(`MuiFormLabel`,e)}var eS=xl(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),tS=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return Hu({root:[`root`,`color${hh(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},$x,t)},nS=Y(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Rm(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(fx()).map(([t])=>({props:{color:t},style:{[`&.${eS.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${eS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${eS.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),rS=Y(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Rm(({theme:e})=>({[`&.${eS.error}`]:{color:(e.vars||e).palette.error.main}}))),iS=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Xx({props:n,muiFormControl:Qx(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=tS(m);return(0,U.jsxs)(nS,{as:o,ownerState:m,className:q(h.root,i),ref:t,...f,children:[r,p.required&&(0,U.jsxs)(rS,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function aS(e){return bl(`MuiInputLabel`,e)}xl(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var oS=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=Hu({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${hh(r)}`,o],asterisk:[s&&`asterisk`]},aS,t);return{...t,...c}},sS=Y(iS,{shouldForwardProp:e=>nf(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${eS.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Rm(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),cS=H.forwardRef(function(e,t){let n=fp({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Qx(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Xx({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=oS(f);return(0,U.jsx)(sS,{"data-shrink":u,ref:t,className:q(p.root,s),...c,ownerState:f,classes:p})});function lS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function uS(e,t=!1){return e&&(lS(e.value)&&e.value!==``||t&&lS(e.defaultValue)&&e.defaultValue!==``)}function dS(e){return e.startAdornment}function fS(e){return bl(`MuiFormControl`,e)}xl(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var pS=e=>{let{classes:t,margin:n,fullWidth:r}=e;return Hu({root:[`root`,n!==`none`&&`margin${hh(n)}`,r&&`fullWidth`]},fS,t)},mS=Y(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${hh(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),hS=Y(H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=pS(_),[y,b]=H.useState(()=>{let e=!1;return r&&H.Children.forEach(r,t=>{if(!xh(t,[`Input`,`Select`]))return;let n=xh(t,[`Select`])?t.props.input:t;n&&dS(n.props)&&(e=!0)}),e}),[x,S]=H.useState(()=>{let e=!1;return r&&H.Children.forEach(r,t=>{xh(t,[`Input`,`Select`])&&(uS(t.props,!0)||uS(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=H.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;H.useRef(!1);let E=H.useCallback(()=>{S(!0)},[]),D=H.useCallback(()=>{S(!1)},[]),ee=H.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,U.jsx)(Zx.Provider,{value:ee,children:(0,U.jsx)(mS,{as:o,ownerState:_,className:q(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),gS=Y(cS)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),_S=({label:e,className:t,children:n})=>(0,U.jsxs)(hS,{className:t,children:[(0,U.jsx)(gS,{shrink:!0,children:e}),n]});_S.propTypes={label:z.oneOfType([z.string,z.object]).isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var{translator:vS}=Lb,yS=`pie-prompt-audio-player`,bS=`play-audio-button`,xS=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,SS=Y(`div`)(({theme:e,tagName:t})=>({[`& .${bS}:focus-visible`]:{outline:`2px solid ${Xv()}`,outlineOffset:`2px`},[xS(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:zv()},[xS(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Vv()},[xS(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Vv()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[xS(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:ov()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${ov()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),CS=/\\embed\{newLine\}\[\]/g,wS=`\\newline `,TS=`preview-prompt`,ES=class extends H.Component{static propTypes={prompt:z.string,tagName:z.string,className:z.string,onClick:z.func,defaultClassName:z.string,autoplayAudioEnabled:z.bool,customAudioButton:z.shape({playImage:z.string,pauseImage:z.string}),language:z.string};static defaultProps={onClick:()=>{}};promptRef=H.createRef();audioId=Rb(yS);playButtonId=Rb(bS);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=tv(e);let a=i.querySelector(`audio`);if(a){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,a.getAttribute(`src`)),a.removeAttribute(`src`),a.id=this.audioId,a.classList.add(yS),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,vS.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=bS,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${t?n.pauseImage:n.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),a.parentNode.insertBefore(e,a)}}return i.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=this.promptRef.current,r=n?.querySelector(`.${bS}`),i=n?.querySelector(`.${yS}`);if(e&&i&&i.play().then(()=>{r&&t&&i.addEventListener(`ended`,o)}).catch(e=>{r&&t&&(r.style.backgroundImage=`url(${t.playImage})`),console.error(`Error playing audio`,e)}),!r||!i||!t)return;let a=()=>{i.paused&&i.play()},o=()=>{r.style.backgroundImage=`url(${t.playImage})`},s=()=>{Object.assign(r.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},c=()=>{Object.assign(r.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};r.addEventListener(`click`,a),i.addEventListener(`play`,s),i.addEventListener(`pause`,c),i.addEventListener(`ended`,o),this._playButton=r,this._audio=i,this._handlePlayClick=a,this._handleAudioPlay=s,this._handleAudioPause=c,this._handleAudioEnded=o}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof Sa==`function`&&Sa(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${TS}`.trim();return(0,U.jsx)(SS,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(CS,wS)}})}},DS=e=>(0,U.jsx)(U.Fragment,{children:H.Children.map(e.children,t=>H.cloneElement(t,{"data-pie-readable":e.false===void 0}))});DS.propTypes={children:z.node,false:z.bool};var OS=e=>(0,U.jsx)(U.Fragment,{children:H.Children.map(e.children,t=>H.cloneElement(t,{"data-pie-purpose":e.purpose}))});OS.propTypes={children:z.node,purpose:z.string};var kS;typeof window<`u`&&(kS=new DOMParser);var AS=e=>kS.parseFromString(e,`text/html`).body.textContent,jS=e=>{if(!e)return!1;let t=AS(e);return!!(t&&t.trim())},MS;typeof window<`u`&&(MS=new DOMParser);var NS=e=>{if(!e)return!1;let t=MS.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},PS=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhE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AAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function FS(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function IS(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Bm(n,r),{props:s,internalRef:c}=Um({...a,externalSlotProps:o}),l=om(c,o?.ref,e.additionalProps?.ref);return zm(t,{...s,ref:l},r)}var LS=H.createContext({});function RS(e){return bl(`MuiList`,e)}xl(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var zS=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Hu({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},RS,t)},BS=Y(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),VS=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=H.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=zS(d);return(0,U.jsx)(LS.Provider,{value:u,children:(0,U.jsxs)(BS,{as:a,className:q(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),HS=fm;function US(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function WS(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function GS(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function KS(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!GS(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var qS=H.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=H.useRef(null),p=H.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sh(()=>{r&&f.current.focus()},[r]),H.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${HS(vp(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=Tm(gp(t));if(n===`ArrowDown`)e.preventDefault(),KS(t,r,c,s,US);else if(n===`ArrowUp`)e.preventDefault(),KS(t,r,c,s,WS);else if(n===`Home`)e.preventDefault(),KS(t,null,c,s,US);else if(n===`End`)e.preventDefault(),KS(t,null,c,s,WS);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&GS(r,i);i.previousKeyMatched&&(c||KS(t,r,!1,s,US,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=sm(f,t),g=-1;H.Children.forEach(a,(e,t)=>{if(!H.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=H.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),H.cloneElement(e,t)}return e});return(0,U.jsx)(VS,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function JS(e){return bl(`MuiMenu`,e)}xl(`MuiMenu`,[`root`,`paper`,`list`]);var YS={vertical:`top`,horizontal:`right`},XS={vertical:`top`,horizontal:`left`},ZS=e=>{let{classes:t}=e;return Hu({root:[`root`],paper:[`paper`],list:[`list`]},JS,t)},QS=Y(Ph,{shouldForwardProp:e=>nf(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),$S=Y(Nh,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),eC=Y(qS,{name:`MuiMenu`,slot:`List`})({outline:0}),tC=H.forwardRef(function(e,t){let n=fp({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=su(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=ZS(b),S=r&&!o&&l,C=H.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;H.Children.map(i,(e,t)=>{H.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},ee=IS({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[O,te]=Wm(`paper`,{className:x.paper,elementType:$S,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[k,A]=Wm(`list`,{className:q(x.list,s.className),elementType:eC,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ne=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,U.jsx)(QS,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?YS:XS,slots:{root:g.root,paper:O,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:ee,paper:te,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ne,onEntering:(...e)=>{w(...e),ne?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,U.jsx)(k,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...A,children:i})})}),nC=({slotProps:e,...t})=>(0,U.jsx)(tC,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}});function rC(e,t){let[n,r]=(0,H.useState)(),i=(0,H.useRef)({node:null,observer:null}),a=(0,H.useRef)(t);return a.current=t,(0,H.useLayoutEffect)(()=>{let t=i.current,n=e.current;if(n===t.node)return;if(t.observer?.disconnect(),t.observer=null,t.node=n,!n){r(void 0);return}let o=()=>r(n.querySelector(`math`)?la(n,{speak:a.current}):void 0);o(),!(typeof MutationObserver>`u`)&&(t.observer=new MutationObserver(o),t.observer.observe(n,{childList:!0,subtree:!0,characterData:!0}))}),(0,H.useLayoutEffect)(()=>()=>{i.current.observer?.disconnect(),i.current={node:null,observer:null}},[]),n}function iC({speak:e,children:t}){let n=(0,H.useRef)(null);return(0,U.jsx)(U.Fragment,{children:t(rC(n,e),n)})}var aC=s({Collapsible:()=>Wb,EnableAudioAutoplayImage:()=>PS,Feedback:()=>vy,HtmlAndMath:()=>Yx,InlineMenu:()=>nC,InputContainer:()=>_S,MathName:()=>iC,PreviewLayout:()=>Jx,PreviewPrompt:()=>ES,Purpose:()=>OS,Readable:()=>DS,UiLayout:()=>Kx,color:()=>iv,createUniqueId:()=>Rb,hasMedia:()=>NS,hasText:()=>jS,indicators:()=>yy,transformDataHeadings:()=>FS,useMathName:()=>rC,useUniqueId:()=>zb,withUndoReset:()=>Ux}),oC=`height ease-in 300ms, opacity ease-in 300ms`,sC=Y(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:oC,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:oC,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),cC=e=>{let{show:t,children:n,className:r}=e,i=(0,H.useRef)(null);return(0,U.jsx)(Kp,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,U.jsx)(sC,{ref:i,className:r,children:n})})};cC.propTypes={show:z.bool.isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};function lC(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function uC(e,t){return!e||lC(e)?e:lC(e.default)?e.default:t&&lC(e[t])?e[t]:t&&lC(e[t]?.default)?e[t].default:e}var dC=uC(DS,`Readable`)||uC(mC.Readable,`Readable`),fC=aC,pC=fC.default,mC=pC&&typeof pC==`object`?pC:fC,{translator:hC}=Lb,gC={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},_C=Y(`div`)(()=>({width:`100%`,cursor:`pointer`})),vC=Y(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${Yv()}`,outlineOffset:`-2px`}})),yC=Y(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${ov()})`,fontWeight:`normal`,...gC})),bC=Y(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),xC=Y(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),SC=class e extends H.Component{static propTypes={onToggle:z.func,toggled:z.bool,show:z.bool,hideMessage:z.string,showMessage:z.string,className:z.string,language:z.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=H.createRef(),this.closedIconRef=H.createRef(),e.defaultProps={...e.defaultProps,showMessage:hC.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:hC.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:hC.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:hC.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,U.jsx)(_C,{className:e,children:(0,U.jsx)(cC,{show:this.state.show,children:(0,U.jsxs)(vC,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,U.jsxs)(xC,{children:[(0,U.jsx)(Kp,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,U.jsx)(bC,{ref:this.openIconRef,children:(0,U.jsx)(ep,{open:t},`correct-open`)})}),(0,U.jsx)(Kp,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,U.jsx)(bC,{ref:this.closedIconRef,children:(0,U.jsx)(ep,{open:t},`correct-closed`)})})]}),(0,U.jsx)(dC,{false:!0,children:(0,U.jsx)(yC,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},CC=av(`pie`)(`background`,Z.WHITE),wC=Y(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:CC,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${Lv()}`},"&.placeholderDisabled":{boxShadow:`none`,background:CC},"&.over":{border:`1px solid ${Fv()}`,backgroundColor:kv()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Mv()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Mv()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),TC=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=q(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&(p.border=`1px solid ${Lv()}`,p.background=Mv());let m=c?`categorizeBoard`:`board`;return(0,U.jsx)(wC,{style:{...p,minHeight:u,...d},className:q(s?m:f,l&&`verticalPool`),children:t})};TC.propTypes={choiceBoard:z.bool,grid:z.shape({columns:z.number,rows:z.number,rowsRepeatValue:z.string}),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,className:z.string,isOver:z.bool,index:z.number,type:z.string,disabled:z.bool,isCategorize:z.bool,isVerticalPool:z.bool,minHeight:z.number};var EC={display:`none`};function DC(e){let{id:t,value:n}=e;return H.createElement(`div`,{id:t,style:EC},n)}function OC(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return H.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function kC(){let[e,t]=(0,H.useState)(``);return{announce:(0,H.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var AC=(0,H.createContext)(null);function jC(e){let t=(0,H.useContext)(AC);(0,H.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function MC(){let[e]=(0,H.useState)(()=>new Set),t=(0,H.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,H.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var NC={draggable:`
|
|
181
|
+
`,hx=typeof px==`string`?null:bs`
|
|
182
|
+
animation: ${px} 1.4s linear infinite;
|
|
183
|
+
`,gx=typeof mx==`string`?null:bs`
|
|
184
|
+
animation: ${mx} 1.4s ease-in-out infinite;
|
|
185
|
+
`,_x=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Bu({root:[`root`,n,`color${ph(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${ph(n)}`,i&&`circleDisableShrink`]},dx,t)},vx=Y(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ph(n.color)}`]]}})(Im(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:hx||{animation:`${px} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),yx=Y(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),bx=Y(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${ph(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Im(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:gx||{animation:`${mx} 1.4s ease-in-out infinite`}}]}))),xx=Y(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Im(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Sx=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=_x(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((fx-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,U.jsx)(vx,{className:q(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,U.jsxs)(yx,{className:m.svg,ownerState:p,viewBox:`${fx/2} ${fx/2} ${fx} ${fx}`,children:[o?(0,U.jsx)(xx,{className:m.track,ownerState:p,cx:fx,cy:fx,r:(fx-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,U.jsx)(bx,{className:m.circle,style:h,ownerState:p,cx:fx,cy:fx,r:(fx-l)/2,fill:`none`,strokeWidth:l})]})})});function Cx(e){return vl(`MuiButton`,e)}var wx=yl(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Tx=H.createContext({}),Ex=H.createContext(void 0),Dx=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Bu({root:[`root`,o&&`loading`,a,`${a}${ph(t)}`,`size${ph(i)}`,`${a}Size${ph(i)}`,`color${ph(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${ph(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${ph(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${ph(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Cx,c);return{...c,...l}},Ox=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],kx=Y(ox,{shouldForwardProp:e=>ef(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ph(n.color)}`],t[`size${ph(n.size)}`],t[`${n.variant}Size${ph(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Im(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${wx.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${wx.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${wx.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${wx.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${wx.loading}`]:{color:`transparent`}}}]}})),Ax=Y(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ph(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...Ox]})),jx=Y(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ph(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Ox]})),Mx=Y(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Nx=Y(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Px=H.forwardRef(function(e,t){let n=H.useContext(Tx),r=H.useContext(Ex),i=up({props:Ml(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=xh(h),T=_??(0,U.jsx)(Sx,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=Dx(E),ee=(b||g&&v===`start`)&&(0,U.jsx)(Ax,{className:D.startIcon,ownerState:E,children:b||(0,U.jsx)(Nx,{className:D.loadingIconPlaceholder,ownerState:E})}),O=(f||g&&v===`end`)&&(0,U.jsx)(jx,{className:D.endIcon,ownerState:E,children:f||(0,U.jsx)(Nx,{className:D.loadingIconPlaceholder,ownerState:E})}),te=r||``,k=typeof g==`boolean`?(0,U.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,U.jsx)(Mx,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:A,...ne}=D;return(0,U.jsxs)(kx,{ownerState:E,className:q(n.className,D.root,c,te),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:q(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[ee,v!==`end`&&k,a,v===`end`&&k,O]})}),Fx=vh((0,U.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),Ix=vh((0,U.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),Lx=Y(`div`)({display:`flex`,flexDirection:`column`}),Rx=Y(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),zx=Y(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),Bx=Y(Px)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),Vx=e=>{class t extends H.Component{static propTypes={session:z.object,onSessionChange:z.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,U.jsxs)(Lx,{children:[(0,U.jsxs)(Rx,{children:[(0,U.jsxs)(Bx,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,U.jsx)(zx,{children:(0,U.jsx)(Ix,{})}),`Undo`]}),(0,U.jsxs)(Bx,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,U.jsx)(zx,{children:(0,U.jsx)(Fx,{})}),`Start Over`]})]}),(0,U.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Hx=Xd({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Ux=Y(`div`)({"& table, th, td":{fontSize:`inherit`}}),Wx=class extends H.Component{static propTypes={className:z.string,children:z.array,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=Ib(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,U.jsx)(Ls,{injectFirst:!0,children:(0,U.jsxs)(cf,{theme:Hx,children:[i?.rules?(0,U.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,U.jsx)(Ux,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},Gx=Y(Wx)({display:`flex`,flexDirection:`column`,position:`relative`}),Kx=class extends H.Component{static propTypes={ariaLabel:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,role:z.string,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,U.jsx)(Gx,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},qx=class extends H.Component{static propTypes={tag:z.string,className:z.string,html:z.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,U.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:$_(n)}})}};function Jx({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Yx=H.createContext(void 0);function Xx(){return H.useContext(Yx)}function Zx(e){return vl(`MuiFormLabel`,e)}var Qx=yl(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),$x=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return Bu({root:[`root`,`color${ph(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},Zx,t)},eS=Y(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Im(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{[`&.${Qx.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Qx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qx.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),tS=Y(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Im(({theme:e})=>({[`&.${Qx.error}`]:{color:(e.vars||e).palette.error.main}}))),nS=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Jx({props:n,muiFormControl:Xx(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=$x(m);return(0,U.jsxs)(eS,{as:o,ownerState:m,className:q(h.root,i),ref:t,...f,children:[r,p.required&&(0,U.jsxs)(tS,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function rS(e){return vl(`MuiInputLabel`,e)}yl(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var iS=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=Bu({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${ph(r)}`,o],asterisk:[s&&`asterisk`]},rS,t);return{...t,...c}},aS=Y(nS,{shouldForwardProp:e=>ef(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Qx.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Im(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),oS=H.forwardRef(function(e,t){let n=up({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Xx(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Jx({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=iS(f);return(0,U.jsx)(aS,{"data-shrink":u,ref:t,className:q(p.root,s),...c,ownerState:f,classes:p})});function sS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function cS(e,t=!1){return e&&(sS(e.value)&&e.value!==``||t&&sS(e.defaultValue)&&e.defaultValue!==``)}function lS(e){return e.startAdornment}function uS(e){return vl(`MuiFormControl`,e)}yl(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var dS=e=>{let{classes:t,margin:n,fullWidth:r}=e;return Bu({root:[`root`,n!==`none`&&`margin${ph(n)}`,r&&`fullWidth`]},uS,t)},fS=Y(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${ph(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),pS=Y(H.forwardRef(function(e,t){let n=up({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=dS(_),[y,b]=H.useState(()=>{let e=!1;return r&&H.Children.forEach(r,t=>{if(!yh(t,[`Input`,`Select`]))return;let n=yh(t,[`Select`])?t.props.input:t;n&&lS(n.props)&&(e=!0)}),e}),[x,S]=H.useState(()=>{let e=!1;return r&&H.Children.forEach(r,t=>{yh(t,[`Input`,`Select`])&&(cS(t.props,!0)||cS(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=H.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;H.useRef(!1);let E=H.useCallback(()=>{S(!0)},[]),D=H.useCallback(()=>{S(!1)},[]),ee=H.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,U.jsx)(Yx.Provider,{value:ee,children:(0,U.jsx)(fS,{as:o,ownerState:_,className:q(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),mS=Y(oS)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),hS=({label:e,className:t,children:n})=>(0,U.jsxs)(pS,{className:t,children:[(0,U.jsx)(mS,{shrink:!0,children:e}),n]});hS.propTypes={label:z.oneOfType([z.string,z.object]).isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var{translator:gS}=Fb,_S=`pie-prompt-audio-player`,vS=`play-audio-button`,yS=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,bS=Y(`div`)(({theme:e,tagName:t})=>({[`& .${vS}:focus-visible`]:{outline:`2px solid ${Jv()}`,outlineOffset:`2px`},[yS(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:Lv()},[yS(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:zv()},[yS(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:zv()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[yS(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:iv()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${iv()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),xS=/\\embed\{newLine\}\[\]/g,SS=`\\newline `,CS=`preview-prompt`,wS=class extends H.Component{static propTypes={prompt:z.string,tagName:z.string,className:z.string,onClick:z.func,defaultClassName:z.string,autoplayAudioEnabled:z.bool,customAudioButton:z.shape({playImage:z.string,pauseImage:z.string}),language:z.string};static defaultProps={onClick:()=>{}};promptRef=H.createRef();audioId=Ib(_S);playButtonId=Ib(vS);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=$_(e);let a=i.querySelector(`audio`);if(a){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,a.getAttribute(`src`)),a.removeAttribute(`src`),a.id=this.audioId,a.classList.add(_S),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,gS.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=vS,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${t?n.pauseImage:n.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),a.parentNode.insertBefore(e,a)}}return i.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=this.promptRef.current,r=n?.querySelector(`.${vS}`),i=n?.querySelector(`.${_S}`);if(e&&i&&i.play().then(()=>{r&&t&&i.addEventListener(`ended`,o)}).catch(e=>{r&&t&&(r.style.backgroundImage=`url(${t.playImage})`),console.error(`Error playing audio`,e)}),!r||!i||!t)return;let a=()=>{i.paused&&i.play()},o=()=>{r.style.backgroundImage=`url(${t.playImage})`},s=()=>{Object.assign(r.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},c=()=>{Object.assign(r.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};r.addEventListener(`click`,a),i.addEventListener(`play`,s),i.addEventListener(`pause`,c),i.addEventListener(`ended`,o),this._playButton=r,this._audio=i,this._handlePlayClick=a,this._handleAudioPlay=s,this._handleAudioPause=c,this._handleAudioEnded=o}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof ba==`function`&&ba(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${CS}`.trim();return(0,U.jsx)(bS,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(xS,SS)}})}},TS=e=>(0,U.jsx)(U.Fragment,{children:H.Children.map(e.children,t=>H.cloneElement(t,{"data-pie-readable":e.false===void 0}))});TS.propTypes={children:z.node,false:z.bool};var ES=e=>(0,U.jsx)(U.Fragment,{children:H.Children.map(e.children,t=>H.cloneElement(t,{"data-pie-purpose":e.purpose}))});ES.propTypes={children:z.node,purpose:z.string};var DS;typeof window<`u`&&(DS=new DOMParser);var OS=e=>DS.parseFromString(e,`text/html`).body.textContent,kS=e=>{if(!e)return!1;let t=OS(e);return!!(t&&t.trim())},AS;typeof window<`u`&&(AS=new DOMParser);var jS=e=>{if(!e)return!1;let t=AS.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},MS=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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gAAAAAAjXDW1vpAoAAAAAAAEV7K7u+YFAAAAAABHezsrvkBQAAAAAAAAET46Wt9IFAAAAAAAAARO4FAAAAAABLK97armBQJdXtfV8gKAAAAIlYCgAAAAAAiXHW9/oAoAAAAAAI72dnZ8gKAAAAAAAAAivZXVnzAoAAAAAAAEb4aXv8AQBQAAAAAARXsrqz5gUAAAAAAAAAAARuybSv5gFle9tXzAoAAAAAAAAABLa3AoETvfzAUAAAAAAAABErc7gUAAAiaeqdwKAAAAAACK+t36AKAAAAAAAAAAAI72dld8gKAAAAAAAAAAAAEsr3tq+YBO6Tat5gKAAAAAAAAAjVwKAAjdrecCgAAAAAAARrhra30gUAAAARtLVuwFAAAAAAAAAAAAAAAltbgUCJ3SbVvMBQAAAAAAAAAAAAltb3+YCgAI3ZNvkBQAAAAAAAAAAAAivzYFAAAAETTuk+HECgAAAAAAAAJZXvbVcwCvrdegCgAAAAAAAAAAAAAltbgUCN2TaV/MBQAAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function NS(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function PS(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Rm(n,r),{props:s,internalRef:c}=Vm({...a,externalSlotProps:o}),l=im(c,o?.ref,e.additionalProps?.ref);return Lm(t,{...s,ref:l},r)}var FS=H.createContext({});function IS(e){return vl(`MuiList`,e)}yl(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var LS=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Bu({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},IS,t)},RS=Y(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),zS=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=H.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=LS(d);return(0,U.jsx)(FS.Provider,{value:u,children:(0,U.jsxs)(RS,{as:a,className:q(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),BS=um;function VS(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function HS(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function US(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function WS(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!US(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var GS=H.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=H.useRef(null),p=H.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bh(()=>{r&&f.current.focus()},[r]),H.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${BS(gp(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=Cm(mp(t));if(n===`ArrowDown`)e.preventDefault(),WS(t,r,c,s,VS);else if(n===`ArrowUp`)e.preventDefault(),WS(t,r,c,s,HS);else if(n===`Home`)e.preventDefault(),WS(t,null,c,s,VS);else if(n===`End`)e.preventDefault(),WS(t,null,c,s,HS);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&US(r,i);i.previousKeyMatched&&(c||WS(t,r,!1,s,VS,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=am(f,t),g=-1;H.Children.forEach(a,(e,t)=>{if(!H.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=H.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),H.cloneElement(e,t)}return e});return(0,U.jsx)(zS,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function KS(e){return vl(`MuiMenu`,e)}yl(`MuiMenu`,[`root`,`paper`,`list`]);var qS={vertical:`top`,horizontal:`right`},JS={vertical:`top`,horizontal:`left`},YS=e=>{let{classes:t}=e;return Bu({root:[`root`],paper:[`paper`],list:[`list`]},KS,t)},XS=Y(Mh,{shouldForwardProp:e=>ef(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),ZS=Y(jh,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),QS=Y(GS,{name:`MuiMenu`,slot:`List`})({outline:0}),$S=H.forwardRef(function(e,t){let n=up({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=au(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=YS(b),S=r&&!o&&l,C=H.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;H.Children.map(i,(e,t)=>{H.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},ee=PS({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[O,te]=Hm(`paper`,{className:x.paper,elementType:ZS,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[k,A]=Hm(`list`,{className:q(x.list,s.className),elementType:QS,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ne=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,U.jsx)(XS,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?qS:JS,slots:{root:g.root,paper:O,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:ee,paper:te,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ne,onEntering:(...e)=>{w(...e),ne?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,U.jsx)(k,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...A,children:i})})}),eC=({slotProps:e,...t})=>(0,U.jsx)($S,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),tC=s({Collapsible:()=>Hb,EnableAudioAutoplayImage:()=>MS,Feedback:()=>gy,HtmlAndMath:()=>qx,InlineMenu:()=>eC,InputContainer:()=>hS,PreviewLayout:()=>Kx,PreviewPrompt:()=>wS,Purpose:()=>ES,Readable:()=>TS,UiLayout:()=>Wx,color:()=>nv,createUniqueId:()=>Ib,hasMedia:()=>jS,hasText:()=>kS,indicators:()=>_y,transformDataHeadings:()=>NS,useUniqueId:()=>Lb,withUndoReset:()=>Vx}),nC=`height ease-in 300ms, opacity ease-in 300ms`,rC=Y(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:nC,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:nC,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),iC=e=>{let{show:t,children:n,className:r}=e,i=(0,H.useRef)(null);return(0,U.jsx)(Wp,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,U.jsx)(rC,{ref:i,className:r,children:n})})};iC.propTypes={show:z.bool.isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};function aC(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function oC(e,t){return!e||aC(e)?e:aC(e.default)?e.default:t&&aC(e[t])?e[t]:t&&aC(e[t]?.default)?e[t].default:e}var sC=oC(TS,`Readable`)||oC(uC.Readable,`Readable`),cC=tC,lC=cC.default,uC=lC&&typeof lC==`object`?lC:cC,{translator:dC}=Fb,fC={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},pC=Y(`div`)(()=>({width:`100%`,cursor:`pointer`})),mC=Y(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${qv()}`,outlineOffset:`-2px`}})),hC=Y(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${iv()})`,fontWeight:`normal`,...fC})),gC=Y(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),_C=Y(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),vC=class e extends H.Component{static propTypes={onToggle:z.func,toggled:z.bool,show:z.bool,hideMessage:z.string,showMessage:z.string,className:z.string,language:z.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=H.createRef(),this.closedIconRef=H.createRef(),e.defaultProps={...e.defaultProps,showMessage:dC.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:dC.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:dC.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:dC.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,U.jsx)(pC,{className:e,children:(0,U.jsx)(iC,{show:this.state.show,children:(0,U.jsxs)(mC,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,U.jsxs)(_C,{children:[(0,U.jsx)(Wp,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,U.jsx)(gC,{ref:this.openIconRef,children:(0,U.jsx)(Qf,{open:t},`correct-open`)})}),(0,U.jsx)(Wp,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,U.jsx)(gC,{ref:this.closedIconRef,children:(0,U.jsx)(Qf,{open:t},`correct-closed`)})})]}),(0,U.jsx)(sC,{false:!0,children:(0,U.jsx)(hC,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},yC=rv(`pie`)(`background`,Z.WHITE),bC=Y(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:yC,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${Fv()}`},"&.placeholderDisabled":{boxShadow:`none`,background:yC},"&.over":{border:`1px solid ${Nv()}`,backgroundColor:Dv()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Av()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Av()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),xC=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=q(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&(p.border=`1px solid ${Fv()}`,p.background=Av());let m=c?`categorizeBoard`:`board`;return(0,U.jsx)(bC,{style:{...p,minHeight:u,...d},className:q(s?m:f,l&&`verticalPool`),children:t})};xC.propTypes={choiceBoard:z.bool,grid:z.shape({columns:z.number,rows:z.number,rowsRepeatValue:z.string}),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,className:z.string,isOver:z.bool,index:z.number,type:z.string,disabled:z.bool,isCategorize:z.bool,isVerticalPool:z.bool,minHeight:z.number};var SC={display:`none`};function CC(e){let{id:t,value:n}=e;return H.createElement(`div`,{id:t,style:SC},n)}function wC(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return H.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function TC(){let[e,t]=(0,H.useState)(``);return{announce:(0,H.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var EC=(0,H.createContext)(null);function DC(e){let t=(0,H.useContext)(EC);(0,H.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function OC(){let[e]=(0,H.useState)(()=>new Set),t=(0,H.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,H.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var kC={draggable:`
|
|
186
186
|
To pick up a draggable item, press the space bar.
|
|
187
187
|
While dragging, use the arrow keys to move the item.
|
|
188
188
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
189
|
-
`},PC={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function FC(e){let{announcements:t=PC,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=NC}=e,{announce:a,announcement:o}=kC(),s=Df(`DndLiveRegion`),[c,l]=(0,H.useState)(!1);if((0,H.useEffect)(()=>{l(!0)},[]),jC((0,H.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=H.createElement(H.Fragment,null,H.createElement(DC,{id:r,value:i.draggable}),H.createElement(OC,{id:s,announcement:o}));return n?(0,Ip.createPortal)(u,n):u}var IC;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(IC||={});function LC(){}function RC(e,t){return(0,H.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function zC(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,H.useMemo)(()=>[...t].filter(e=>e!=null),[...t])}var BC=Object.freeze({x:0,y:0});function VC(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function HC(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function UC(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var WC=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=UC(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(VC)};function GC(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function KC(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:BC}function qC(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var JC=qC(1);function YC(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function XC(e,t,n){let r=YC(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var ZC={ignoreTransform:!1};function QC(e,t){t===void 0&&(t=ZC);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=mf(e).getComputedStyle(e);t&&(n=XC(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function $C(e){return QC(e,{ignoreTransform:!0})}function ew(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function tw(e,t){return t===void 0&&(t=mf(e).getComputedStyle(e)),t.position===`fixed`}function nw(e,t){t===void 0&&(t=mf(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function rw(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(hf(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!gf(i)||_f(i)||n.includes(i))return n;let a=mf(e).getComputedStyle(i);return i!==e&&nw(i,a)&&n.push(i),tw(i,a)?n:r(i.parentNode)}return e?r(e):n}function iw(e){let[t]=rw(e,1);return t??null}function aw(e){return!df||!e?null:ff(e)?e:pf(e)?hf(e)||e===vf(e).scrollingElement?window:gf(e)?e:null:null}function ow(e){return ff(e)?e.scrollX:e.scrollLeft}function sw(e){return ff(e)?e.scrollY:e.scrollTop}function cw(e){return{x:ow(e),y:sw(e)}}var lw;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(lw||={});function uw(e){return!df||!e?!1:e===document.scrollingElement}function dw(e){let t={x:0,y:0},n=uw(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var fw={x:.2,y:.2};function pw(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=fw);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=dw(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=lw.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=lw.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=lw.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=lw.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function mw(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function hw(e){return e.reduce((e,t)=>kf(e,cw(t)),BC)}function gw(e){return e.reduce((e,t)=>e+ow(t),0)}function _w(e){return e.reduce((e,t)=>e+sw(t),0)}function vw(e,t){if(t===void 0&&(t=QC),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);iw(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var yw=[[`x`,[`left`,`right`],gw],[`y`,[`top`,`bottom`],_w]],bw=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=rw(t),r=hw(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of yw)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},xw=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function Sw(e){let{EventTarget:t}=mf(e);return e instanceof t?e:vf(e)}function Cw(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var ww;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(ww||={});function Tw(e){e.preventDefault()}function Ew(e){e.stopPropagation()}var Dw;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(Dw||={});var Ow={start:[Dw.Space,Dw.Enter],cancel:[Dw.Esc],end:[Dw.Space,Dw.Enter,Dw.Tab]},kw=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Dw.Right:return{...n,x:n.x+25};case Dw.Left:return{...n,x:n.x-25};case Dw.Down:return{...n,y:n.y+25};case Dw.Up:return{...n,y:n.y-25}}},Aw=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new xw(vf(t)),this.windowListeners=new xw(mf(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ww.Resize,this.handleCancel),this.windowListeners.add(ww.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ww.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&vw(n),t(BC)}handleKeyDown(e){if(Mf(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=Ow,coordinateGetter:a=kw,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:BC;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=Af(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=dw(n),p=mw(n),m={x:Math.min(i===Dw.Right?p.right-p.width/2:p.right,Math.max(i===Dw.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===Dw.Down?p.bottom-p.height/2:p.bottom,Math.max(i===Dw.Down?p.top:p.top+p.height/2,u.y))},h=i===Dw.Right&&!s||i===Dw.Left&&!c,g=i===Dw.Down&&!l||i===Dw.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===Dw.Right&&e<=d.x||i===Dw.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===Dw.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}else if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===Dw.Down&&e<=d.y||i===Dw.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===Dw.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,kf(Af(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};Aw.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=Ow,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function jw(e){return!!(e&&`distance`in e)}function Mw(e){return!!(e&&`delay`in e)}var Nw=class{constructor(e,t,n){n===void 0&&(n=Sw(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=vf(i),this.documentListeners=new xw(this.document),this.listeners=new xw(n),this.windowListeners=new xw(mf(i)),this.initialCoordinates=Pf(r)??BC,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(ww.Resize,this.handleCancel),this.windowListeners.add(ww.DragStart,Tw),this.windowListeners.add(ww.VisibilityChange,this.handleCancel),this.windowListeners.add(ww.ContextMenu,Tw),this.documentListeners.add(ww.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Mw(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(jw(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ww.Click,Ew,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ww.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=Pf(e)??BC,s=Af(n,o);if(!t&&a){if(jw(a)){if(a.tolerance!=null&&Cw(s,a.tolerance))return this.handleCancel();if(Cw(s,a.distance))return this.handleStart()}if(Mw(a)&&Cw(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===Dw.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},Pw={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},Fw=class extends Nw{constructor(e){let{event:t}=e,n=vf(t.target);super(e,Pw,n)}};Fw.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var Iw={move:{name:`mousemove`},end:{name:`mouseup`}},Lw;(function(e){e[e.RightClick=2]=`RightClick`})(Lw||={});var Rw=class extends Nw{constructor(e){super(e,Iw,vf(e.event.target))}};Rw.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Lw.RightClick?!1:(r?.({event:n}),!0)}}];var zw={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Bw=class extends Nw{constructor(e){super(e,zw)}static setup(){return window.addEventListener(zw.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(zw.move.name,e)};function e(){}}};Bw.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Vw;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Vw||={});var Hw;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Hw||={});function Uw(e){let{acceleration:t,activator:n=Vw.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Hw.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Gw({delta:d,disabled:!a}),[m,h]=xf(),g=(0,H.useRef)({x:0,y:0}),_=(0,H.useRef)({x:0,y:0}),v=(0,H.useMemo)(()=>{switch(n){case Vw.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Vw.DraggableRect:return i}},[n,i,c]),y=(0,H.useRef)(null),b=(0,H.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,H.useMemo)(()=>s===Hw.TreeOrder?[...l].reverse():l,[s,l]);(0,H.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=pw(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Ww={x:{[lw.Backward]:!1,[lw.Forward]:!1},y:{[lw.Backward]:!1,[lw.Forward]:!1}};function Gw(e){let{delta:t,disabled:n}=e,r=Tf(t);return Cf(e=>{if(n||!r||!e)return Ww;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[lw.Backward]:e.x[lw.Backward]||i.x===-1,[lw.Forward]:e.x[lw.Forward]||i.x===1},y:{[lw.Backward]:e.y[lw.Backward]||i.y===-1,[lw.Forward]:e.y[lw.Forward]||i.y===1}}},[n,t,r])}function Kw(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return Cf(e=>t==null?null:r??e??null,[r,t])}function qw(e,t){return(0,H.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Jw;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Jw||={});var Yw;(function(e){e.Optimized=`optimized`})(Yw||={});var Xw=new Map;function Zw(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,H.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,H.useRef)(e),d=g(),f=Sf(d),p=(0,H.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,H.useRef)(null),h=Cf(t=>{if(d&&!n)return Xw;if(!t||t===Xw||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new bw(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,H.useEffect)(()=>{u.current=e},[e]),(0,H.useEffect)(()=>{d||p()},[n,d]),(0,H.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,H.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Jw.Always:return!1;case Jw.BeforeDragging:return n;default:return!n}}}function Qw(e,t){return Cf(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function $w(e,t){return Qw(e,t)}function eT(e){let{callback:t,disabled:n}=e,r=bf(t),i=(0,H.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,H.useEffect)(()=>()=>i?.disconnect(),[i]),i}function tT(e){let{callback:t,disabled:n}=e,r=bf(t),i=(0,H.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,H.useEffect)(()=>()=>i?.disconnect(),[i]),i}function nT(e){return new bw(QC(e),e)}function rT(e,t,n){t===void 0&&(t=nT);let[r,i]=(0,H.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=eT({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=tT({callback:a});return yf(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function iT(e){return KC(e,Qw(e))}var aT=[];function oT(e){let t=(0,H.useRef)(e),n=Cf(n=>e?n&&n!==aT&&e&&t.current&&e.parentNode===t.current.parentNode?n:rw(e):aT,[e]);return(0,H.useEffect)(()=>{t.current=e},[e]),n}function sT(e){let[t,n]=(0,H.useState)(null),r=(0,H.useRef)(e),i=(0,H.useCallback)(e=>{let t=aw(e.target);t&&n(e=>e?(e.set(t,cw(t)),new Map(e)):null)},[]);return(0,H.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=aw(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,cw(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{aw(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,H.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>kf(e,t),BC):hw(e):BC,[e,t])}function cT(e,t){t===void 0&&(t=[]);let n=(0,H.useRef)(null);return(0,H.useEffect)(()=>{n.current=null},t),(0,H.useEffect)(()=>{let t=e!==BC;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?Af(e,n.current):BC}function lT(e){(0,H.useEffect)(()=>{if(!df)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function uT(e,t){return(0,H.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function dT(e){return(0,H.useMemo)(()=>e?ew(e):null,[e])}var fT=[];function pT(e,t){t===void 0&&(t=QC);let[n]=e,r=dT(n?mf(n):null),[i,a]=(0,H.useState)(fT);function o(){a(()=>e.length?e.map(e=>uw(e)?r:new bw(t(e),e)):fT)}let s=tT({callback:o});return yf(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function mT(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return gf(t)?t:e}function hT(e){let{measure:t}=e,[n,r]=(0,H.useState)(null),i=tT({callback:(0,H.useCallback)(e=>{for(let{target:n}of e)if(gf(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=wf((0,H.useCallback)(e=>{let n=mT(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,H.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var gT=[{sensor:Fw,options:{}},{sensor:Aw,options:{}}],_T={current:{}},vT={draggable:{measure:$C},droppable:{measure:$C,strategy:Jw.WhileDragging,frequency:Yw.Optimized},dragOverlay:{measure:QC}},yT=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},bT={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new yT,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:LC},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:vT,measureDroppableContainers:LC,windowRect:null,measuringScheduled:!1},xT={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:LC,draggableNodes:new Map,over:null,measureDroppableContainers:LC},ST=(0,H.createContext)(xT),CT=(0,H.createContext)(bT);function wT(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new yT}}}function TT(e,t){switch(t.type){case IC.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case IC.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case IC.DragEnd:case IC.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case IC.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new yT(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case IC.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new yT(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case IC.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new yT(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function ET(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,H.useContext)(ST),a=Tf(r),o=Tf(n?.id);return(0,H.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!Mf(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=If(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function DT(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function OT(e){return(0,H.useMemo)(()=>({draggable:{...vT.draggable,...e?.draggable},droppable:{...vT.droppable,...e?.droppable},dragOverlay:{...vT.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function kT(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,H.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;yf(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=KC(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=iw(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var AT=(0,H.createContext)({...BC,scaleX:1,scaleY:1}),jT;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(jT||={});var MT=(0,H.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=gT,collisionDetection:o=WC,measuring:s,modifiers:c,...l}=e,[u,d]=(0,H.useReducer)(TT,void 0,wT),[f,p]=MC(),[m,h]=(0,H.useState)(jT.Uninitialized),g=m===jT.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,H.useRef)({initial:null,translated:null}),C=(0,H.useMemo)(()=>_==null?null:{id:_,data:x?.data??_T,rect:S},[_,x]),w=(0,H.useRef)(null),[T,E]=(0,H.useState)(null),[D,ee]=(0,H.useState)(null),O=Sf(l,Object.values(l)),te=Df(`DndDescribedBy`,t),k=(0,H.useMemo)(()=>b.getEnabled(),[b]),A=OT(s),{droppableRects:ne,measureDroppableContainers:j,measuringScheduled:M}=Zw(k,{dragging:g,dependencies:[y.x,y.y],config:A.droppable}),N=Kw(v,_),re=(0,H.useMemo)(()=>D?Pf(D):null,[D]),ie=je(),P=$w(N,A.draggable.measure);kT({activeNode:_==null?null:v.get(_),config:ie.layoutShiftCompensation,initialRect:P,measure:A.draggable.measure});let F=rT(N,A.draggable.measure,P),ae=rT(N?N.parentElement:null),oe=(0,H.useRef)({activatorEvent:null,active:null,activeNode:N,collisionRect:null,collisions:null,droppableRects:ne,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=b.getNodeFor(oe.current.over?.id),ce=hT({measure:A.dragOverlay.measure}),le=ce.nodeRef.current??N,ue=g?ce.rect??F:null,de=!!(ce.nodeRef.current&&ce.rect),fe=iT(de?null:F),pe=dT(le?mf(le):null),I=oT(g?se??N:null),me=pT(I),L=DT(c,{transform:{x:y.x-fe.x,y:y.y-fe.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:F,containerNodeRect:ae,draggingNodeRect:ue,over:oe.current.over,overlayNodeRect:ce.rect,scrollableAncestors:I,scrollableAncestorRects:me,windowRect:pe}),he=re?kf(re,y):null,ge=sT(I),_e=cT(ge),ve=cT(ge,[F]),ye=kf(L,_e),be=ue?JC(ue,L):null,xe=C&&be?o({active:C,collisionRect:be,droppableRects:ne,droppableContainers:k,pointerCoordinates:he}):null,Se=HC(xe,`id`),[Ce,we]=(0,H.useState)(null),Te=GC(de?L:kf(L,ve),Ce?.rect??null,F),Ee=(0,H.useRef)(null),De=(0,H.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:oe,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=O.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=O.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=O.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,Ip.unstable_batchedUpdates)(()=>{r?.(i),h(jT.Initializing),d({type:IC.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ee.current),ee(a)})},onMove(e){d({type:IC.DragMove,coordinates:e})},onEnd:s(IC.DragEnd),onCancel:s(IC.DragCancel)});Ee.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=oe.current,o=null;if(t&&i){let{cancelDrop:s}=O.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===IC.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=IC.DragCancel)}w.current=null,(0,Ip.unstable_batchedUpdates)(()=>{d({type:e}),h(jT.Uninitialized),we(null),E(null),ee(null),Ee.current=null;let t=e===IC.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=O.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Oe=qw(a,(0,H.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,De(n,t))},[v,De]));lT(a),yf(()=>{F&&m===jT.Initializing&&h(jT.Initialized)},[F,m]),(0,H.useEffect)(()=>{let{onDragMove:e}=O.current,{active:t,activatorEvent:n,collisions:r,over:i}=oe.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ye.x,y:ye.y},over:i};(0,Ip.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ye.x,ye.y]),(0,H.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=oe.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=O.current,o=r.get(Se),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Ip.unstable_batchedUpdates)(()=>{we(s),a?.(c),f({type:`onDragOver`,event:c})})},[Se]),yf(()=>{oe.current={activatorEvent:D,active:C,activeNode:N,collisionRect:be,collisions:xe,droppableRects:ne,draggableNodes:v,draggingNode:le,draggingNodeRect:ue,droppableContainers:b,over:Ce,scrollableAncestors:I,scrollAdjustedTranslate:ye},S.current={initial:ue,translated:be}},[C,N,xe,be,v,le,ue,ne,b,Ce,I,ye]),Uw({...ie,delta:y,draggingRect:be,pointerCoordinates:he,scrollableAncestors:I,scrollableAncestorRects:me});let ke=(0,H.useMemo)(()=>({active:C,activeNode:N,activeNodeRect:F,activatorEvent:D,collisions:xe,containerNodeRect:ae,dragOverlay:ce,draggableNodes:v,droppableContainers:b,droppableRects:ne,over:Ce,measureDroppableContainers:j,scrollableAncestors:I,scrollableAncestorRects:me,measuringConfiguration:A,measuringScheduled:M,windowRect:pe}),[C,N,F,D,xe,ae,ce,v,b,ne,Ce,j,I,me,A,M,pe]),Ae=(0,H.useMemo)(()=>({activatorEvent:D,activators:Oe,active:C,activeNodeRect:F,ariaDescribedById:{draggable:te},dispatch:d,draggableNodes:v,over:Ce,measureDroppableContainers:j}),[D,Oe,C,F,d,te,v,Ce,j]);return H.createElement(AC.Provider,{value:p},H.createElement(ST.Provider,{value:Ae},H.createElement(CT.Provider,{value:ke},H.createElement(AT.Provider,{value:Te},i)),H.createElement(ET,{disabled:n?.restoreFocus===!1})),H.createElement(FC,{...n,hiddenTextDescribedById:te}));function je(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),NT=(0,H.createContext)(null),PT=`button`,FT=`Draggable`;function IT(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=Df(FT),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,H.useContext)(ST),{role:p=PT,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,H.useContext)(g?AT:NT),[v,y]=wf(),[b,x]=wf(),S=uT(o,t),C=Sf(n);return yf(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,H.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===PT?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}var LT=`Droppable`,RT={timeout:25};function zT(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=Df(LT),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,H.useContext)(ST),u=(0,H.useRef)({disabled:n}),d=(0,H.useRef)(!1),f=(0,H.useRef)(null),p=(0,H.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...RT,...i},_=Sf(h??r),v=tT({callback:(0,H.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=wf((0,H.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=Sf(t);return(0,H.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,H.useEffect)(()=>(s({type:IC.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:IC.UnregisterDroppable,key:a,id:r})),[r]),(0,H.useEffect)(()=>{n!==u.current.disabled&&(s({type:IC.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function BT({children:e,onDragEnd:t,onDragStart:n,onDragCancel:r,collisionDetection:i,modifiers:a,autoScroll:o,keyboardCoordinateGetter:s,keyboardCodes:c,accessibility:l}){let[u,d]=(0,H.useState)(null),f=zb(`drag-instructions`),p=s||c?{coordinateGetter:s,keyboardCodes:c}:void 0,m=zC(RC(Fw,{activationConstraint:{distance:8}}),RC(Aw,p));return(0,U.jsx)(MT,{id:f,sensors:m,onDragStart:e=>{d(e.active.id),n&&n(e)},onDragEnd:e=>{d(null),t&&t(e)},onDragCancel:e=>{d(null),r&&r(e)},collisionDetection:i,modifiers:a,autoScroll:o,accessibility:l,children:e})}BT.propTypes={children:z.node.isRequired,onDragEnd:z.func,onDragStart:z.func,onDragCancel:z.func,collisionDetection:z.func,modifiers:z.arrayOf(z.func),autoScroll:z.object,keyboardCoordinateGetter:z.func,keyboardCodes:z.shape({start:z.arrayOf(z.string),cancel:z.arrayOf(z.string),end:z.arrayOf(z.string)}),accessibility:z.object};var VT=(e,t,n)=>({...e,left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}),HT=(e,t)=>{let n=new Map;return e.forEach((e,r)=>{let i=Math.max(e.left,t.left),a=Math.max(e.top,t.top),o=Math.min(e.right,t.right),s=Math.min(e.bottom,t.bottom);i<o&&a<s&&n.set(r,{left:i,top:a,right:o,bottom:s,width:o-i,height:s-a})}),n};function UT({detect:e=WC,modifiers:t}={}){let n=null,r={x:0,y:0},i=null;return{collisionDetection:a=>(n=a.pointerCoordinates,e(!t||!n?a:{...a,collisionRect:VT(a.collisionRect,-r.x,-r.y),droppableRects:i?HT(a.droppableRects,i):a.droppableRects})),...t&&{modifiers:[e=>{let n=DT(t,e);return r={x:n.x-e.transform.x,y:n.y-e.transform.y},i=e.scrollableAncestorRects[0]??null,n}]},lastPointer:()=>n,reset:()=>{n=null}}}var WT=pn(`pie-elements:placement-ordering:tile`),GT=Y(`div`)(({theme:e})=>({width:`100%`,fontSize:e.typography.fontSize+4,textAlign:`center`,color:`inherit`})),KT=({type:e,index:t,isOver:n,disabled:r})=>(0,U.jsx)(TC,{type:e,isOver:n,disabled:r,children:e===`target`&&t!==void 0&&(0,U.jsx)(GT,{children:t})});KT.propTypes={type:z.string,index:z.number,isOver:z.bool,disabled:z.bool};var qT=Y(`div`)(({theme:e,isDragging:t,isSelected:n,isOver:r,disabled:i,outcome:a,label:o,type:s})=>({cursor:i?`not-allowed`:`grab`,width:`100%`,height:`100%`,padding:`10px`,boxSizing:`border-box`,overflow:`hidden`,border:s===`choice`||s===`target`?`1px solid ${Lv()}`:`1px solid transparent`,backgroundColor:s===`choice`||s===`target`?Ov():`transparent`,transition:s===`choice`||s===`target`?`background-color 150ms ease, border-color 150ms ease, opacity 150ms ease`:`none`,pointerEvents:`none`,userSelect:`none`,...(s===`choice`||s===`target`)&&{"&:hover":{backgroundColor:i?Ov():wv(),borderColor:i?sv():e.palette.primary.main,transform:i?`none`:`scale(1.02)`}},...(s===`choice`||s===`target`)&&r&&!i&&{opacity:.4,backgroundColor:bv(),borderColor:e.palette.primary.main,borderStyle:`dashed`,transform:`scale(1.05)`},...(s===`choice`||s===`target`)&&(t||n)&&!i&&{opacity:.6,backgroundColor:Tv(),transform:`scale(1.05) rotate(2deg)`,boxShadow:`0 8px 16px rgba(0,0,0,0.2)`,cursor:`grabbing`},...(s===`choice`||s===`target`)&&i&&{cursor:`not-allowed`,"&:hover":{backgroundColor:Ov(),transform:`none`}},...(s===`choice`||s===`target`)&&a===`incorrect`&&{border:`1px solid ${mv()}`},...(s===`choice`||s===`target`)&&a===`correct`&&{border:`1px solid ${uv()}`},...!o&&{border:`none`,"&:hover":{backgroundColor:`unset`}}})),JT=e=>{let{type:t,isDragging:n,isSelected:r,empty:i,isOver:a,label:o,disabled:s,outcome:c,guideIndex:l}=e;return i?(0,U.jsx)(KT,{type:t,index:l,isOver:a,disabled:s}):(0,U.jsx)(qT,{type:t,isDragging:n,isSelected:r,isOver:a,disabled:s,outcome:c,label:o,dangerouslySetInnerHTML:{__html:tv(o)}})},YT=e=>{let{label:t,type:n,id:r,empty:i,disabled:a,outcome:o,index:s,guideIndex:c,instanceId:l,draggable:u,tileIndex:d,selectedChoice:f,onChoiceClick:p,onPlacementClick:m}=e,h=`tile-${n}-${r??`empty`}-${d}-${l}`,g=`drop-${n}-${r??`empty`}-${d}-${l}`,_={id:r,type:n,instanceId:l,value:t,index:s},{attributes:v,listeners:y,setNodeRef:b,transform:x,isDragging:S}=IT({id:h,data:_,disabled:!u||a}),{setNodeRef:C,isOver:w}=zT({id:g,data:_,disabled:S}),T=!!f&&f.type===_.type&&f.id===_.id&&f.index===_.index,[E,D]=H.useState(!1),ee=!!f&&!a,O=w||n===`target`&&ee&&E,te=()=>{a||(n===`choice`?f?.type===`target`?m?.(_):u&&p?.(_):n===`target`&&(T?p?.(_):f?m?.(_):u&&p?.(_)))},k=u&&!a,A=!k&&!a&&ee,ne=e=>{(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),te())},j=H.useRef(null),M=rC(j);H.useEffect(()=>{let e=j.current,t=e=>{e.preventDefault()};return e&&e.addEventListener(`touchstart`,t,{passive:!1}),()=>{e&&e.removeEventListener(`touchstart`,t)}},[]);let N=e=>{j.current=e,b(e),C(e)};WT(`[render], props: `,e);let re=n===`target`?`target-${s}`:n===`choice`?`choice-${r}`:null,ie=re?`${l}:${re}`:void 0;return(0,U.jsx)(`div`,{ref:N,style:{transform:x?`translate3d(${x.x}px, ${x.y}px, 0)`:void 0,boxSizing:`border-box`,overflow:`visible`,padding:0,margin:0,textAlign:`center`,pointerEvents:`auto`,cursor:a?`not-allowed`:n===`target`&&ee?`pointer`:S?`grabbing`:`grab`,zIndex:S?1e3:`auto`,willChange:S?`transform`:`auto`},role:A?`button`:void 0,tabIndex:A?0:void 0,onKeyDown:A?ne:void 0,onClick:te,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1),"data-tile-id":ie,"aria-label":k||A?M:void 0,...k?{...y,...v}:{},children:(0,U.jsx)(JT,{label:t,id:r,empty:i,index:s,guideIndex:c,isOver:O,isDragging:S,isSelected:T,disabled:a,outcome:o,type:n})})};YT.propTypes={id:z.any,label:z.string,isOver:z.bool,type:z.string,empty:z.bool,disabled:z.bool,outcome:z.string,index:z.number,guideIndex:z.number,instanceId:z.any,draggable:z.bool,tileIndex:z.number,selectedChoice:z.object,onChoiceClick:z.func,onPlacementClick:z.func};var XT={choiceLabel:z.string,targetLabel:z.string,disabled:z.bool,tiles:z.array.isRequired,tileSize:z.string,addGuide:z.bool,selectedChoice:z.object,onChoiceClick:z.func,onPlacementClick:z.func},ZT={tileSize:`1fr`,disabled:!1,addGuide:!1},QT=e=>{let t=(t,n)=>(t.instanceId=e.instanceId,t.disabled=e.disabled,t.guideIndex=e.addGuide?t.index+1:void 0,t.tileIndex=n,t.selectedChoice=e.selectedChoice,t.onChoiceClick=e.onChoiceClick,t.onPlacementClick=e.onPlacementClick,e.includeTargets||t.type===`choice`?(0,H.createElement)(YT,{...t,key:n}):(0,H.createElement)(YT,{...t,label:``,key:n}));return t.propTypes={...XT},t},$T=Y(`div`)(({theme:e,includeTargets:t})=>({display:`grid`,paddingBottom:e.spacing(2),...t&&{gridGap:`10px`}})),eE=Y(`div`)({textAlign:`center`}),tE=Y(`div`)({textAlign:`center`,gridRow:`3/4`}),nE=Y(`div`)(({includeTargets:e})=>({gridAutoFlow:`column`,display:`grid`,...e&&{gridGap:`10px`}})),rE=Y(`div`)({gridColumn:`1/2`,textAlign:`center`}),iE=Y(`div`)({gridColumn:`2/3`,textAlign:`center`}),aE=class extends H.Component{static propTypes={...XT};static defaultProps={...ZT};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?`auto ${a} auto ${a}`:`auto ${a} auto`,s=e?i.length/2:i.length,c={gridTemplateColumns:e?`repeat(${s}, ${a})`:`auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`,gridTemplateRows:o},l={gridColumn:`1/${s+1}`};return(0,U.jsxs)($T,{includeTargets:e,style:c,children:[(0,U.jsx)(eE,{style:l,dangerouslySetInnerHTML:{__html:tv(t?n:``)}}),e&&(0,U.jsx)(tE,{style:l,dangerouslySetInnerHTML:{__html:tv(r)}}),i.map(QT(this.props))]})}},oE=class extends H.Component{static propTypes={...XT};static defaultProps={...ZT};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?2:1,s=e?i.length/2:i.length,c={gridTemplateColumns:`repeat(${o}, ${a})`,gridTemplateRows:e?`auto repeat(${s}, ${a})`:`auto auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`};return(0,U.jsxs)(nE,{includeTargets:e,style:c,children:[(0,U.jsx)(rE,{dangerouslySetInnerHTML:{__html:tv(t?n:``)}}),e&&(0,U.jsx)(iE,{dangerouslySetInnerHTML:{__html:tv(r)}}),i.map(QT(this.props))]})}},sE=pn(`pie-elements:placement-ordering:ordering`),cE=(e,t,n)=>{let r=e.find((e,n)=>n===t),i=e.filter((e,n)=>n!==t);return[...i.slice(0,n),r,...i.slice(n)]};function lE(e,t){let n=nn(e.response);if(n[t.index]===t.id)n[t.index]=void 0;else throw Error(`Tried to remove from index: ${t.index}, but the id doesn't match: array: ${n}, target: ${t.id}`);return n}function uE(e,t,n){let{response:r,opts:i}=e,a=nn(r);if(i.includeTargets)return t.type===`choice`&&n.type===`target`?(a[n.index]=t.id,a):t.type===`target`&&n.type===`choice`?(a[t.index]=void 0,a):t.type===`target`&&n.type===`target`?(a[n.index]=t.id,a[t.index]=void 0,a):(sE(`do nothing to the response`),r);let o=e.response.findIndex(e=>e!==void 0&&e===t.id),s=e.response.findIndex(e=>e!==void 0&&e===n.id);return sE(`fromIndex: `,o,`toIndex:`,s),cE(e.response,o,s)}function dE(e,t,n,r){if(r.includeTargets){let i=[];for(let r=0;r<t.length;r++){let a=t[r],o=e.find(e=>a!=null&&e.id===a),s=n[r],c=Object.assign({type:`target`,index:r,empty:o===void 0},o,s,{draggable:o!==void 0});i.push(c)}return e.map(e=>t.indexOf(e.id)!==-1&&!r.allowSameChoiceInTargets?{type:`choice`,id:e.id,empty:!0,droppable:!0,draggable:!1}:Object.assign({},e,{type:`choice`,droppable:!1,draggable:!0})).concat(i)}else return t.reduce((t,r,i)=>{let a=Object.assign({type:`empty`,draggable:!1,droppable:!0},e.find(e=>e.id===r),n[i]),o=Object.assign({type:`choice`,draggable:!0,droppable:!0},e.find(e=>e.id===r),n[i]);return i===0&&t.push(a),t.push(o,a),t},[])}function fE(e,t,n,r){return r=tn({includeTargets:!0},r),n||=[],t=!t||sn(t)?r.includeTargets?Array(e.length):dn(e,e=>e.id):t,{choices:e,response:t,opts:r,outcomes:n,tiles:dE(e,t,n,r)}}function pE(e,t){switch(e.type){case`move`:{let{from:n,to:r}=e,i=uE(t,n,r),a=dE(t.choices,i,t.outcomes,t.opts);return Object.assign({},t,{response:i,tiles:a})}case`remove`:{let{target:n}=e,r=lE(t,n),i=dE(t.choices,r,t.outcomes,t.opts);return Object.assign({},t,{response:r,tiles:i})}}return t}var mE=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;let n=e=>e.map(e=>JSON.stringify(e)).sort(),r=n(e),i=n(t),a=r.every((e,t)=>e===i[t]),o=e.every((e,n)=>JSON.stringify(e)===JSON.stringify(t[n]));return a&&!o},hE=(e,{active:t,context:n,currentCoordinates:r})=>{let{code:i}=e,a=i===`Tab`,o=i===Dw.Down||i===Dw.Up||i===Dw.Left||i===Dw.Right;if(!a&&!o)return;if(o)return kw(e,{context:n,currentCoordinates:r});e.preventDefault();let{droppableRects:s,droppableContainers:c,collisionRect:l,draggableNodes:u,active:d}=n;if(!s||s.size===0)return r;let f={x:(l?.width||0)/2,y:(l?.height||0)/2},p={x:r.x+f.x,y:r.y+f.y},m=u?.get(t)?.data?.current?.id,h=d?.rect?.current?.initial,g=typeof t==`string`?t.replace(/^tile-/,`drop-`):void 0,_=[],v;for(let[e,t]of c){let n=t?.data?.current,r=e===g;if(t?.disabled&&!r)continue;let i=n?.type===`choice`&&n?.id===m;if(n?.type===`choice`&&!i)continue;let a=(r?h:null)||s.get(e);if(!a)continue;let o={x:a.left+a.width/2,y:a.top+a.height/2},c={id:e,dropPosition:{x:a.left,y:a.top+a.height/2-f.y},center:o};i?v=c:_.push(c)}if(_.length===0&&!v)return r;let y=e.shiftKey;_.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x),v&&_.push(v);let b=0,x=1/0;for(let e=0;e<_.length;e++){let t=gE(p,_[e].center);t<x&&(x=t,b=e)}return _[y?(b-1+_.length)%_.length:(b+1)%_.length].dropPosition},gE=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2);function _E(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function vE(e,t){return!e||_E(e)?e:_E(e.default)?e.default:t&&_E(e[t])?e[t]:t&&_E(e[t]?.default)?e[t].default:e}var yE=vE(Kx,`UiLayout`)||vE(TE.UiLayout,`UiLayout`),bE=vE(ES,`PreviewPrompt`)||vE(TE.PreviewPrompt,`PreviewPrompt`),xE=vE(vy,`Feedback`)||vE(TE.Feedback,`Feedback`),SE=vE(Wb,`Collapsible`)||vE(TE.Collapsible,`Collapsible`),CE=aC,wE=CE.default,TE=wE&&typeof wE==`object`?wE:CE,EE=250,DE=(e,t)=>{if(!e||!t)return!1;let n=t.left+t.width/2,r=t.top+t.height/2;return n>=e.left&&n<=e.right&&r>=e.top&&r<=e.bottom},OE=(e,t,n)=>{let{initial:r,translated:i}=e||{};if(!r||!t||typeof n?.clientX!=`number`)return i;let a=t.x-n.clientX,o=t.y-n.clientY;return{...r,left:r.left+a,right:r.right+a,top:r.top+o,bottom:r.bottom+o}},kE=e=>e?{keyboardCoordinateGetter:hE,keyboardCodes:{start:[`Space`,`Enter`],cancel:[`Escape`],end:[`Space`,`Enter`]},accessibility:{screenReaderInstructions:{draggable:`Press Space or Enter to pick up this answer choice. Once picked up, use Tab or Shift+Tab to cycle through response areas, or use arrow keys to move it freely. Press Space or Enter to drop, or Escape to cancel.`}}}:{},{translator:AE}=Lb,jE=pn(`pie-elements:placement-ordering`),ME=Y(`div`)({color:ov(),backgroundColor:Ov(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`}),NE=Y(`div`)({alignSelf:`stretch`,maxWidth:`100%`,overflowX:`auto`,overflowY:`hidden`}),PE=Y(`div`)({display:`flex`,justifyContent:`center`,minWidth:`min-content`}),FE=Y(`div`)(({theme:e})=>({paddingBottom:e.spacing(1)})),IE=Y(`div`)(({theme:e})=>({paddingBottom:e.spacing(2)})),LE=Y(SC)(({theme:e})=>({paddingBottom:e.spacing(1)})),RE=Y(SE)(({theme:e})=>({marginBottom:e.spacing(2),alignSelf:`flex-start`})),zE=e=>{let{tiler:t,ordering:n,onDropChoice:r,onRemoveChoice:i,...a}=e;return(0,U.jsx)(t,{...a,tiles:n.tiles,onDropChoice:(e,t)=>r(e,t,n),onRemoveChoice:e=>i(e,n)})};zE.propTypes={tiler:z.func,ordering:z.any,onDropChoice:z.func,onRemoveChoice:z.func};var BE=class extends H.Component{static propTypes={onSessionChange:z.func.isRequired,model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired])};constructor(e){super(e),this.instanceId=Rb(`placement-ordering`);let{value:t,needsReset:n}=this.validateSession(e);this.state={showingCorrect:!1,selectedChoice:null},this.lastDragEndAt=0,this.dragCollision=UT();let{model:r}=e||{},{env:i}=r||{},{mode:a}=i||{};n&&a===`gather`&&this.props.onSessionChange({...e.session,value:t})}toggleCorrect=e=>this.setState({showingCorrect:e});componentDidUpdate(){Sa(Ip.findDOMNode(this))}validateSession=({model:e,session:t},n=!1)=>{let{config:r,choices:i}=e||{},{includeTargets:a}=r||{},o=i.map(e=>e.id),{value:s}=t||{},c;if(a)s&&s.length!==o.length&&(c=!0,s=s.length<o.length?s.concat(Array(o.length-s.length)):s.filter(e=>o.includes(e)));else{if(!s||!s.length||n)s=o;else{let e=an(o,s),t=an(s,o);(e.length||t.length)&&(s=o)}c=!cn(t.value,s)}return c&&console.warn(`This session is not valid anymore. It will be reset.`),{value:s,needsReset:c}};UNSAFE_componentWillReceiveProps(e){let{model:t={}}=e||{},{model:n={}}=this.props||{},{correctResponse:r,config:i,choices:a=[],env:o}=t,{includeTargets:s}=i||{},c={},l=n.language&&n.language!==t.language,u=n.note&&n.note===AE.t(`common:commonCorrectAnswerWithAlternates`,{lng:n.language});l&&u&&(n.note=AE.t(`common:commonCorrectAnswerWithAlternates`,{lng:t.language})),r||(c.showingCorrect=!1);let d=mE(a,n.choices),{value:f,needsReset:p}=this.validateSession(e,d),m={...e.session,value:f},h=n.config?.includeTargets!==s;s&&h&&(p=!0,delete m.value),this.setState(c,()=>{let{mode:e}=o||{};p&&e===`gather`&&this.props.onSessionChange(m)})}onDropChoice=(e,t,n)=>{let{onSessionChange:r,session:i}=this.props,a=n.tiles.find(e=>e.id===t.id&&e.type===t.type&&e.index===t.index),o=e;jE(`[onDropChoice] `,a,o);let s=pE({type:`move`,from:a,to:o},n);r(Object.assign({},i,{value:s.response}))};onRemoveChoice=(e,t)=>{let{onSessionChange:n,session:r}=this.props;jE(`[onRemoveChoice]`,e);let i=pE({type:`remove`,target:e},t);n(Object.assign({},r,{value:i.response}))};createOrdering=()=>{let{model:e,session:t}=this.props,{showingCorrect:n}=this.state,{includeTargets:r}=e.config||{orientation:`vertical`,includeTargets:!0};return n?fE(e.choices,e.correctResponse,e.correctResponse.map(e=>({id:e,outcome:`correct`})),{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets}):fE(e.choices,t.value,e.outcomes,{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets})};onDragEnd=e=>{let{over:t,active:n,activatorEvent:r}=e,i=this.createOrdering();if(this.cancelSelection(),this.lastDragEndAt=Date.now(),t&&n){let e=n.data.current,r=t.data.current;if(e&&r&&r.type===`target`){this.onDropChoice(r,e,i),this.focusTile(this.getDestinationSlotId(r));return}e&&r&&(this.onDropChoice(r,e,i),this.focusTile(this.getDestinationSlotId(r)))}else if(!t&&n){let e=n.data.current,t=n.rect?.current,a=OE(t,this.dragCollision.lastPointer(),r),o=DE(t?.initial,a);e&&e.type===`target`&&!o&&(this.onRemoveChoice(e,i),this.focusTile(this.getDestinationSlotId({type:`choice`,id:e.id})))}};onDragStart=e=>{let{active:t}=e;this.dragCollision.reset(),t?.data?.current&&this.selectChoice(t.data.current)};onDragCancel=()=>{this.cancelSelection(),this.lastDragEndAt=Date.now()};isSameChoice=(e,t)=>!!e&&!!t&&e.type===t.type&&e.id===t.id&&e.index===t.index;selectChoice=e=>{this.setState({selectedChoice:e})};toggleChoiceSelection=e=>{this.setState(t=>({selectedChoice:this.isSameChoice(t.selectedChoice,e)?null:e}))};cancelSelection=()=>{this.setState({selectedChoice:null})};endAnyLiveKeyboardDrag=()=>{document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0}))};placeSelectedChoice=e=>{let{selectedChoice:t}=this.state;if(!t)return;let n=this.createOrdering(),r=this.getDestinationSlotId(e);this.onDropChoice(e,t,n),this.cancelSelection(),this.endAnyLiveKeyboardDrag(),this.lastDragEndAt=Date.now(),this.focusTile(r)};getDestinationSlotId=e=>e?e.type===`target`?`target-${e.index}`:e.type===`choice`?`choice-${e.id}`:null:null;focusTile=e=>{if(!e)return;let t=`[data-tile-id="${this.instanceId}:${e}"]`;requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.querySelector(t)?.focus()})})};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<EE;onChoiceClick=e=>{this.isClickSoonAfterDragEnd()||this.toggleChoiceSelection(e)};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedChoice(e)};render(){let{model:e}=this.props,{correctResponse:t,correctness:n,extraCSSRules:r,prompt:i,rationale:a,feedback:o,config:s,note:c,showNote:l,env:u,disabled:d,teacherInstructions:f,language:p}=e,m=t&&t.length>0,{showingCorrect:h}=this.state,g=s||{orientation:`vertical`,includeTargets:!0},{orientation:_,includeTargets:v}=g,y=_===`vertical`,b=this.createOrdering(),{mode:x,role:S}=u||{},C=y?oE:aE,w=(h||x===`view`&&S===`instructor`)&&l&&c,T=a&&(jS(a)||NS(a)),E=f&&(jS(f)||NS(f)),D={color:ov(),backgroundColor:Ov(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`,width:`100%`},ee=v?{selectedChoice:this.state.selectedChoice,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick}:{};return(0,U.jsx)(BT,{onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,onDragCancel:this.onDragCancel,collisionDetection:this.dragCollision.collisionDetection,modifiers:[Rf],...kE(v),children:(0,U.jsx)(ME,{children:(0,U.jsxs)(yE,{extraCSSRules:r,style:D,children:[E&&(0,U.jsx)(RE,{labels:{hidden:AE.t(`common:showTeacherInstructions`,{lng:p}),visible:AE.t(`common:hideTeacherInstructions`,{lng:p})},className:`collapsible`,children:(0,U.jsx)(bE,{prompt:f})}),(0,U.jsx)(FE,{children:(0,U.jsx)(bE,{prompt:i})}),(0,U.jsx)(LE,{show:m,toggled:h,onToggle:this.toggleCorrect,language:p}),(0,U.jsx)(NE,{children:(0,U.jsx)(PE,{children:(0,U.jsx)(zE,{instanceId:this.instanceId,choiceLabel:g.choiceLabel,targetLabel:g.targetLabel,ordering:b,tiler:C,disabled:d,addGuide:g.showOrdering,tileSize:g.tileSize,includeTargets:v,choiceLabelEnabled:e.config&&e.config.choiceLabelEnabled,...ee})})}),w&&(0,U.jsx)(IE,{dangerouslySetInnerHTML:{__html:tv(c)}}),T&&(0,U.jsx)(RE,{labels:{hidden:AE.t(`common:showRationale`,{lng:p}),visible:AE.t(`common:hideRationale`,{lng:p})},className:`collapsible`,children:(0,U.jsx)(bE,{prompt:a})}),!h&&(0,U.jsx)(xE,{correctness:n,feedback:o})]})})})}},VE=class extends H.Component{static propTypes={model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired]),onSessionChange:z.func.isRequired};render(){let{model:e,session:t,onSessionChange:n}=this.props;return(0,U.jsx)(BE,{model:e,session:t,onSessionChange:n})}},HE=g(),UE=pn(`pie-elements:placement-ordering`),WE=class extends HTMLElement{constructor(){super(),this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&this._mathObserver.disconnect(),Sa(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(this._scheduleMathRender),this._mathObserver.observe(this,{childList:!0,subtree:!0}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}isComplete=e=>e&&rn(e).length===this._model.completeLength;sessionChange=e=>{this._session.value=e.value,this.render(),this.dispatchEvent(new Ca(this.tagName.toLowerCase(),this._session&&this.isComplete(this._session.value)))};set model(e){this._model=e,this.render(),this.dispatchEvent(new CustomEvent(`model-set`,{bubbles:!0,detail:{complete:!1}}))}set session(e){this._session=e,this.render()}get session(){return this._session}render(){if(this._model&&this._session){UE(`[render] session: `,this._session.value),UE(`[render] model: `,this._model),this._initMathObserver();let e=H.createElement(VE,{model:this._model,session:this._session,onSessionChange:this.sessionChange});this._root||=(0,HE.createRoot)(this),this._root.render(e)}}connectedCallback(){this._initMathObserver(),this.render()}disconnectedCallback(){this._disconnectMathObserver(),this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`placement-ordering-element`)&&customElements.define(`placement-ordering-element`,WE),WE})();
|
|
189
|
+
`},AC={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function jC(e){let{announcements:t=AC,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=kC}=e,{announce:a,announcement:o}=TC(),s=Tf(`DndLiveRegion`),[c,l]=(0,H.useState)(!1);if((0,H.useEffect)(()=>{l(!0)},[]),DC((0,H.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=H.createElement(H.Fragment,null,H.createElement(CC,{id:r,value:i.draggable}),H.createElement(wC,{id:s,announcement:o}));return n?(0,Pp.createPortal)(u,n):u}var MC;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(MC||={});function NC(){}function PC(e,t){return(0,H.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function FC(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,H.useMemo)(()=>[...t].filter(e=>e!=null),[...t])}var IC=Object.freeze({x:0,y:0});function LC(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function RC(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function zC(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var BC=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=zC(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(LC)};function VC(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function HC(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:IC}function UC(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var WC=UC(1);function GC(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function KC(e,t,n){let r=GC(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var qC={ignoreTransform:!1};function JC(e,t){t===void 0&&(t=qC);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=ff(e).getComputedStyle(e);t&&(n=KC(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function YC(e){return JC(e,{ignoreTransform:!0})}function XC(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function ZC(e,t){return t===void 0&&(t=ff(e).getComputedStyle(e)),t.position===`fixed`}function QC(e,t){t===void 0&&(t=ff(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function $C(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(pf(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!mf(i)||hf(i)||n.includes(i))return n;let a=ff(e).getComputedStyle(i);return i!==e&&QC(i,a)&&n.push(i),ZC(i,a)?n:r(i.parentNode)}return e?r(e):n}function ew(e){let[t]=$C(e,1);return t??null}function tw(e){return!lf||!e?null:uf(e)?e:df(e)?pf(e)||e===gf(e).scrollingElement?window:mf(e)?e:null:null}function nw(e){return uf(e)?e.scrollX:e.scrollLeft}function rw(e){return uf(e)?e.scrollY:e.scrollTop}function iw(e){return{x:nw(e),y:rw(e)}}var aw;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(aw||={});function ow(e){return!lf||!e?!1:e===document.scrollingElement}function sw(e){let t={x:0,y:0},n=ow(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var cw={x:.2,y:.2};function lw(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=cw);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=sw(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=aw.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=aw.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=aw.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=aw.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function uw(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function dw(e){return e.reduce((e,t)=>Df(e,iw(t)),IC)}function fw(e){return e.reduce((e,t)=>e+nw(t),0)}function pw(e){return e.reduce((e,t)=>e+rw(t),0)}function mw(e,t){if(t===void 0&&(t=JC),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);ew(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var hw=[[`x`,[`left`,`right`],fw],[`y`,[`top`,`bottom`],pw]],gw=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=$C(t),r=dw(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of hw)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},_w=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function vw(e){let{EventTarget:t}=ff(e);return e instanceof t?e:gf(e)}function yw(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var bw;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(bw||={});function xw(e){e.preventDefault()}function Sw(e){e.stopPropagation()}var Cw;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(Cw||={});var ww={start:[Cw.Space,Cw.Enter],cancel:[Cw.Esc],end:[Cw.Space,Cw.Enter,Cw.Tab]},Tw=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Cw.Right:return{...n,x:n.x+25};case Cw.Left:return{...n,x:n.x-25};case Cw.Down:return{...n,y:n.y+25};case Cw.Up:return{...n,y:n.y-25}}},Ew=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new _w(gf(t)),this.windowListeners=new _w(ff(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(bw.Resize,this.handleCancel),this.windowListeners.add(bw.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(bw.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&mw(n),t(IC)}handleKeyDown(e){if(Af(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ww,coordinateGetter:a=Tw,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:IC;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=Of(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=sw(n),p=uw(n),m={x:Math.min(i===Cw.Right?p.right-p.width/2:p.right,Math.max(i===Cw.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===Cw.Down?p.bottom-p.height/2:p.bottom,Math.max(i===Cw.Down?p.top:p.top+p.height/2,u.y))},h=i===Cw.Right&&!s||i===Cw.Left&&!c,g=i===Cw.Down&&!l||i===Cw.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===Cw.Right&&e<=d.x||i===Cw.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===Cw.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}else if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===Cw.Down&&e<=d.y||i===Cw.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===Cw.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,Df(Of(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};Ew.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=ww,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function Dw(e){return!!(e&&`distance`in e)}function Ow(e){return!!(e&&`delay`in e)}var kw=class{constructor(e,t,n){n===void 0&&(n=vw(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=gf(i),this.documentListeners=new _w(this.document),this.listeners=new _w(n),this.windowListeners=new _w(ff(i)),this.initialCoordinates=Mf(r)??IC,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(bw.Resize,this.handleCancel),this.windowListeners.add(bw.DragStart,xw),this.windowListeners.add(bw.VisibilityChange,this.handleCancel),this.windowListeners.add(bw.ContextMenu,xw),this.documentListeners.add(bw.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ow(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(Dw(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(bw.Click,Sw,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(bw.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=Mf(e)??IC,s=Of(n,o);if(!t&&a){if(Dw(a)){if(a.tolerance!=null&&yw(s,a.tolerance))return this.handleCancel();if(yw(s,a.distance))return this.handleStart()}if(Ow(a)&&yw(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===Cw.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},Aw={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},jw=class extends kw{constructor(e){let{event:t}=e,n=gf(t.target);super(e,Aw,n)}};jw.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var Mw={move:{name:`mousemove`},end:{name:`mouseup`}},Nw;(function(e){e[e.RightClick=2]=`RightClick`})(Nw||={});var Pw=class extends kw{constructor(e){super(e,Mw,gf(e.event.target))}};Pw.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Nw.RightClick?!1:(r?.({event:n}),!0)}}];var Fw={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Iw=class extends kw{constructor(e){super(e,Fw)}static setup(){return window.addEventListener(Fw.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Fw.move.name,e)};function e(){}}};Iw.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Lw;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Lw||={});var Rw;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Rw||={});function zw(e){let{acceleration:t,activator:n=Lw.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Rw.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Vw({delta:d,disabled:!a}),[m,h]=yf(),g=(0,H.useRef)({x:0,y:0}),_=(0,H.useRef)({x:0,y:0}),v=(0,H.useMemo)(()=>{switch(n){case Lw.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Lw.DraggableRect:return i}},[n,i,c]),y=(0,H.useRef)(null),b=(0,H.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,H.useMemo)(()=>s===Rw.TreeOrder?[...l].reverse():l,[s,l]);(0,H.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=lw(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Bw={x:{[aw.Backward]:!1,[aw.Forward]:!1},y:{[aw.Backward]:!1,[aw.Forward]:!1}};function Vw(e){let{delta:t,disabled:n}=e,r=Cf(t);return xf(e=>{if(n||!r||!e)return Bw;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[aw.Backward]:e.x[aw.Backward]||i.x===-1,[aw.Forward]:e.x[aw.Forward]||i.x===1},y:{[aw.Backward]:e.y[aw.Backward]||i.y===-1,[aw.Forward]:e.y[aw.Forward]||i.y===1}}},[n,t,r])}function Hw(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return xf(e=>t==null?null:r??e??null,[r,t])}function Uw(e,t){return(0,H.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Ww;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Ww||={});var Gw;(function(e){e.Optimized=`optimized`})(Gw||={});var Kw=new Map;function qw(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,H.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,H.useRef)(e),d=g(),f=bf(d),p=(0,H.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,H.useRef)(null),h=xf(t=>{if(d&&!n)return Kw;if(!t||t===Kw||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new gw(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,H.useEffect)(()=>{u.current=e},[e]),(0,H.useEffect)(()=>{d||p()},[n,d]),(0,H.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,H.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Ww.Always:return!1;case Ww.BeforeDragging:return n;default:return!n}}}function Jw(e,t){return xf(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Yw(e,t){return Jw(e,t)}function Xw(e){let{callback:t,disabled:n}=e,r=vf(t),i=(0,H.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,H.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Zw(e){let{callback:t,disabled:n}=e,r=vf(t),i=(0,H.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,H.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Qw(e){return new gw(JC(e),e)}function $w(e,t,n){t===void 0&&(t=Qw);let[r,i]=(0,H.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=Xw({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Zw({callback:a});return _f(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function eT(e){return HC(e,Jw(e))}var tT=[];function nT(e){let t=(0,H.useRef)(e),n=xf(n=>e?n&&n!==tT&&e&&t.current&&e.parentNode===t.current.parentNode?n:$C(e):tT,[e]);return(0,H.useEffect)(()=>{t.current=e},[e]),n}function rT(e){let[t,n]=(0,H.useState)(null),r=(0,H.useRef)(e),i=(0,H.useCallback)(e=>{let t=tw(e.target);t&&n(e=>e?(e.set(t,iw(t)),new Map(e)):null)},[]);return(0,H.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=tw(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,iw(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{tw(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,H.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>Df(e,t),IC):dw(e):IC,[e,t])}function iT(e,t){t===void 0&&(t=[]);let n=(0,H.useRef)(null);return(0,H.useEffect)(()=>{n.current=null},t),(0,H.useEffect)(()=>{let t=e!==IC;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?Of(e,n.current):IC}function aT(e){(0,H.useEffect)(()=>{if(!lf)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function oT(e,t){return(0,H.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function sT(e){return(0,H.useMemo)(()=>e?XC(e):null,[e])}var cT=[];function lT(e,t){t===void 0&&(t=JC);let[n]=e,r=sT(n?ff(n):null),[i,a]=(0,H.useState)(cT);function o(){a(()=>e.length?e.map(e=>ow(e)?r:new gw(t(e),e)):cT)}let s=Zw({callback:o});return _f(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function uT(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return mf(t)?t:e}function dT(e){let{measure:t}=e,[n,r]=(0,H.useState)(null),i=Zw({callback:(0,H.useCallback)(e=>{for(let{target:n}of e)if(mf(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=Sf((0,H.useCallback)(e=>{let n=uT(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,H.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var fT=[{sensor:jw,options:{}},{sensor:Ew,options:{}}],pT={current:{}},mT={draggable:{measure:YC},droppable:{measure:YC,strategy:Ww.WhileDragging,frequency:Gw.Optimized},dragOverlay:{measure:JC}},hT=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},gT={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new hT,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:NC},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:mT,measureDroppableContainers:NC,windowRect:null,measuringScheduled:!1},_T={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:NC,draggableNodes:new Map,over:null,measureDroppableContainers:NC},vT=(0,H.createContext)(_T),yT=(0,H.createContext)(gT);function bT(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new hT}}}function xT(e,t){switch(t.type){case MC.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case MC.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case MC.DragEnd:case MC.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case MC.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new hT(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case MC.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new hT(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case MC.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new hT(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function ST(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,H.useContext)(vT),a=Cf(r),o=Cf(n?.id);return(0,H.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!Af(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=Pf(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function CT(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function wT(e){return(0,H.useMemo)(()=>({draggable:{...mT.draggable,...e?.draggable},droppable:{...mT.droppable,...e?.droppable},dragOverlay:{...mT.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function TT(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,H.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;_f(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=HC(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=ew(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var ET=(0,H.createContext)({...IC,scaleX:1,scaleY:1}),DT;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(DT||={});var OT=(0,H.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=fT,collisionDetection:o=BC,measuring:s,modifiers:c,...l}=e,[u,d]=(0,H.useReducer)(xT,void 0,bT),[f,p]=OC(),[m,h]=(0,H.useState)(DT.Uninitialized),g=m===DT.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,H.useRef)({initial:null,translated:null}),C=(0,H.useMemo)(()=>_==null?null:{id:_,data:x?.data??pT,rect:S},[_,x]),w=(0,H.useRef)(null),[T,E]=(0,H.useState)(null),[D,ee]=(0,H.useState)(null),O=bf(l,Object.values(l)),te=Tf(`DndDescribedBy`,t),k=(0,H.useMemo)(()=>b.getEnabled(),[b]),A=wT(s),{droppableRects:ne,measureDroppableContainers:j,measuringScheduled:M}=qw(k,{dragging:g,dependencies:[y.x,y.y],config:A.droppable}),N=Hw(v,_),re=(0,H.useMemo)(()=>D?Mf(D):null,[D]),ie=je(),P=Yw(N,A.draggable.measure);TT({activeNode:_==null?null:v.get(_),config:ie.layoutShiftCompensation,initialRect:P,measure:A.draggable.measure});let F=$w(N,A.draggable.measure,P),ae=$w(N?N.parentElement:null),oe=(0,H.useRef)({activatorEvent:null,active:null,activeNode:N,collisionRect:null,collisions:null,droppableRects:ne,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=b.getNodeFor(oe.current.over?.id),ce=dT({measure:A.dragOverlay.measure}),le=ce.nodeRef.current??N,ue=g?ce.rect??F:null,de=!!(ce.nodeRef.current&&ce.rect),fe=eT(de?null:F),pe=sT(le?ff(le):null),I=nT(g?se??N:null),me=lT(I),L=CT(c,{transform:{x:y.x-fe.x,y:y.y-fe.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:F,containerNodeRect:ae,draggingNodeRect:ue,over:oe.current.over,overlayNodeRect:ce.rect,scrollableAncestors:I,scrollableAncestorRects:me,windowRect:pe}),he=re?Df(re,y):null,ge=rT(I),_e=iT(ge),ve=iT(ge,[F]),ye=Df(L,_e),be=ue?WC(ue,L):null,xe=C&&be?o({active:C,collisionRect:be,droppableRects:ne,droppableContainers:k,pointerCoordinates:he}):null,Se=RC(xe,`id`),[Ce,we]=(0,H.useState)(null),Te=VC(de?L:Df(L,ve),Ce?.rect??null,F),Ee=(0,H.useRef)(null),De=(0,H.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:oe,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=O.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=O.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=O.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,Pp.unstable_batchedUpdates)(()=>{r?.(i),h(DT.Initializing),d({type:MC.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ee.current),ee(a)})},onMove(e){d({type:MC.DragMove,coordinates:e})},onEnd:s(MC.DragEnd),onCancel:s(MC.DragCancel)});Ee.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=oe.current,o=null;if(t&&i){let{cancelDrop:s}=O.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===MC.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=MC.DragCancel)}w.current=null,(0,Pp.unstable_batchedUpdates)(()=>{d({type:e}),h(DT.Uninitialized),we(null),E(null),ee(null),Ee.current=null;let t=e===MC.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=O.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Oe=Uw(a,(0,H.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,De(n,t))},[v,De]));aT(a),_f(()=>{F&&m===DT.Initializing&&h(DT.Initialized)},[F,m]),(0,H.useEffect)(()=>{let{onDragMove:e}=O.current,{active:t,activatorEvent:n,collisions:r,over:i}=oe.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ye.x,y:ye.y},over:i};(0,Pp.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ye.x,ye.y]),(0,H.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=oe.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=O.current,o=r.get(Se),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Pp.unstable_batchedUpdates)(()=>{we(s),a?.(c),f({type:`onDragOver`,event:c})})},[Se]),_f(()=>{oe.current={activatorEvent:D,active:C,activeNode:N,collisionRect:be,collisions:xe,droppableRects:ne,draggableNodes:v,draggingNode:le,draggingNodeRect:ue,droppableContainers:b,over:Ce,scrollableAncestors:I,scrollAdjustedTranslate:ye},S.current={initial:ue,translated:be}},[C,N,xe,be,v,le,ue,ne,b,Ce,I,ye]),zw({...ie,delta:y,draggingRect:be,pointerCoordinates:he,scrollableAncestors:I,scrollableAncestorRects:me});let ke=(0,H.useMemo)(()=>({active:C,activeNode:N,activeNodeRect:F,activatorEvent:D,collisions:xe,containerNodeRect:ae,dragOverlay:ce,draggableNodes:v,droppableContainers:b,droppableRects:ne,over:Ce,measureDroppableContainers:j,scrollableAncestors:I,scrollableAncestorRects:me,measuringConfiguration:A,measuringScheduled:M,windowRect:pe}),[C,N,F,D,xe,ae,ce,v,b,ne,Ce,j,I,me,A,M,pe]),Ae=(0,H.useMemo)(()=>({activatorEvent:D,activators:Oe,active:C,activeNodeRect:F,ariaDescribedById:{draggable:te},dispatch:d,draggableNodes:v,over:Ce,measureDroppableContainers:j}),[D,Oe,C,F,d,te,v,Ce,j]);return H.createElement(EC.Provider,{value:p},H.createElement(vT.Provider,{value:Ae},H.createElement(yT.Provider,{value:ke},H.createElement(ET.Provider,{value:Te},i)),H.createElement(ST,{disabled:n?.restoreFocus===!1})),H.createElement(jC,{...n,hiddenTextDescribedById:te}));function je(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),kT=(0,H.createContext)(null),AT=`button`,jT=`Draggable`;function MT(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=Tf(jT),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,H.useContext)(vT),{role:p=AT,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,H.useContext)(g?ET:kT),[v,y]=Sf(),[b,x]=Sf(),S=oT(o,t),C=bf(n);return _f(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,H.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===AT?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}var NT=`Droppable`,PT={timeout:25};function FT(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=Tf(NT),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,H.useContext)(vT),u=(0,H.useRef)({disabled:n}),d=(0,H.useRef)(!1),f=(0,H.useRef)(null),p=(0,H.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...PT,...i},_=bf(h??r),v=Zw({callback:(0,H.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=Sf((0,H.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=bf(t);return(0,H.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,H.useEffect)(()=>(s({type:MC.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:MC.UnregisterDroppable,key:a,id:r})),[r]),(0,H.useEffect)(()=>{n!==u.current.disabled&&(s({type:MC.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function IT({children:e,onDragEnd:t,onDragStart:n,onDragCancel:r,collisionDetection:i,modifiers:a,autoScroll:o,keyboardCoordinateGetter:s,keyboardCodes:c,accessibility:l}){let[u,d]=(0,H.useState)(null),f=Lb(`drag-instructions`),p=s||c?{coordinateGetter:s,keyboardCodes:c}:void 0,m=FC(PC(jw,{activationConstraint:{distance:8}}),PC(Ew,p));return(0,U.jsx)(OT,{id:f,sensors:m,onDragStart:e=>{d(e.active.id),n&&n(e)},onDragEnd:e=>{d(null),t&&t(e)},onDragCancel:e=>{d(null),r&&r(e)},collisionDetection:i,modifiers:a,autoScroll:o,accessibility:l,children:e})}IT.propTypes={children:z.node.isRequired,onDragEnd:z.func,onDragStart:z.func,onDragCancel:z.func,collisionDetection:z.func,modifiers:z.arrayOf(z.func),autoScroll:z.object,keyboardCoordinateGetter:z.func,keyboardCodes:z.shape({start:z.arrayOf(z.string),cancel:z.arrayOf(z.string),end:z.arrayOf(z.string)}),accessibility:z.object};var LT=(e,t,n)=>({...e,left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}),RT=(e,t)=>{let n=new Map;return e.forEach((e,r)=>{let i=Math.max(e.left,t.left),a=Math.max(e.top,t.top),o=Math.min(e.right,t.right),s=Math.min(e.bottom,t.bottom);i<o&&a<s&&n.set(r,{left:i,top:a,right:o,bottom:s,width:o-i,height:s-a})}),n};function zT({detect:e=BC,modifiers:t}={}){let n=null,r={x:0,y:0},i=null;return{collisionDetection:a=>(n=a.pointerCoordinates,e(!t||!n?a:{...a,collisionRect:LT(a.collisionRect,-r.x,-r.y),droppableRects:i?RT(a.droppableRects,i):a.droppableRects})),...t&&{modifiers:[e=>{let n=CT(t,e);return r={x:n.x-e.transform.x,y:n.y-e.transform.y},i=e.scrollableAncestorRects[0]??null,n}]},lastPointer:()=>n,reset:()=>{n=null}}}var BT=pn(`pie-elements:placement-ordering:tile`),VT=Y(`div`)(({theme:e})=>({width:`100%`,fontSize:e.typography.fontSize+4,textAlign:`center`,color:`inherit`})),HT=({type:e,index:t,isOver:n,disabled:r})=>(0,U.jsx)(xC,{type:e,isOver:n,disabled:r,children:e===`target`&&t!==void 0&&(0,U.jsx)(VT,{children:t})});HT.propTypes={type:z.string,index:z.number,isOver:z.bool,disabled:z.bool};var UT=Y(`div`)(({theme:e,isDragging:t,isSelected:n,isOver:r,disabled:i,outcome:a,label:o,type:s})=>({cursor:i?`not-allowed`:`grab`,width:`100%`,height:`100%`,padding:`10px`,boxSizing:`border-box`,overflow:`hidden`,border:s===`choice`||s===`target`?`1px solid ${Fv()}`:`1px solid transparent`,backgroundColor:s===`choice`||s===`target`?Ev():`transparent`,transition:s===`choice`||s===`target`?`background-color 150ms ease, border-color 150ms ease, opacity 150ms ease`:`none`,pointerEvents:`none`,userSelect:`none`,...(s===`choice`||s===`target`)&&{"&:hover":{backgroundColor:i?Ev():Sv(),borderColor:i?av():e.palette.primary.main,transform:i?`none`:`scale(1.02)`}},...(s===`choice`||s===`target`)&&r&&!i&&{opacity:.4,backgroundColor:vv(),borderColor:e.palette.primary.main,borderStyle:`dashed`,transform:`scale(1.05)`},...(s===`choice`||s===`target`)&&(t||n)&&!i&&{opacity:.6,backgroundColor:Cv(),transform:`scale(1.05) rotate(2deg)`,boxShadow:`0 8px 16px rgba(0,0,0,0.2)`,cursor:`grabbing`},...(s===`choice`||s===`target`)&&i&&{cursor:`not-allowed`,"&:hover":{backgroundColor:Ev(),transform:`none`}},...(s===`choice`||s===`target`)&&a===`incorrect`&&{border:`1px solid ${fv()}`},...(s===`choice`||s===`target`)&&a===`correct`&&{border:`1px solid ${cv()}`},...!o&&{border:`none`,"&:hover":{backgroundColor:`unset`}}})),WT=e=>{let{type:t,isDragging:n,isSelected:r,empty:i,isOver:a,label:o,disabled:s,outcome:c,guideIndex:l}=e;return i?(0,U.jsx)(HT,{type:t,index:l,isOver:a,disabled:s}):(0,U.jsx)(UT,{type:t,isDragging:n,isSelected:r,isOver:a,disabled:s,outcome:c,label:o,dangerouslySetInnerHTML:{__html:$_(o)}})},GT=e=>{let{label:t,type:n,id:r,empty:i,disabled:a,outcome:o,index:s,guideIndex:c,instanceId:l,draggable:u,tileIndex:d,selectedChoice:f,onChoiceClick:p,onPlacementClick:m}=e,h=`tile-${n}-${r??`empty`}-${d}-${l}`,g=`drop-${n}-${r??`empty`}-${d}-${l}`,_={id:r,type:n,instanceId:l,value:t,index:s},{attributes:v,listeners:y,setNodeRef:b,transform:x,isDragging:S}=MT({id:h,data:_,disabled:!u||a}),{setNodeRef:C,isOver:w}=FT({id:g,data:_,disabled:S}),T=!!f&&f.type===_.type&&f.id===_.id&&f.index===_.index,[E,D]=H.useState(!1),ee=!!f&&!a,O=w||n===`target`&&ee&&E,te=()=>{a||(n===`choice`?f?.type===`target`?m?.(_):u&&p?.(_):n===`target`&&(T?p?.(_):f?m?.(_):u&&p?.(_)))},k=!(u&&!a)&&!a&&ee,A=e=>{(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),te())},ne=H.useRef(null);H.useEffect(()=>{let e=ne.current,t=e=>{e.preventDefault()};return e&&e.addEventListener(`touchstart`,t,{passive:!1}),()=>{e&&e.removeEventListener(`touchstart`,t)}},[]);let j=e=>{ne.current=e,b(e),C(e)};BT(`[render], props: `,e);let M=n===`target`?`target-${s}`:n===`choice`?`choice-${r}`:null,N=M?`${l}:${M}`:void 0;return(0,U.jsx)(`div`,{ref:j,style:{transform:x?`translate3d(${x.x}px, ${x.y}px, 0)`:void 0,boxSizing:`border-box`,overflow:`visible`,padding:0,margin:0,textAlign:`center`,pointerEvents:`auto`,cursor:a?`not-allowed`:n===`target`&&ee?`pointer`:S?`grabbing`:`grab`,zIndex:S?1e3:`auto`,willChange:S?`transform`:`auto`},role:k?`button`:void 0,tabIndex:k?0:void 0,onKeyDown:k?A:void 0,onClick:te,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1),"data-tile-id":N,...u&&!a?{...y,...v}:{},children:(0,U.jsx)(WT,{label:t,id:r,empty:i,index:s,guideIndex:c,isOver:O,isDragging:S,isSelected:T,disabled:a,outcome:o,type:n})})};GT.propTypes={id:z.any,label:z.string,isOver:z.bool,type:z.string,empty:z.bool,disabled:z.bool,outcome:z.string,index:z.number,guideIndex:z.number,instanceId:z.any,draggable:z.bool,tileIndex:z.number,selectedChoice:z.object,onChoiceClick:z.func,onPlacementClick:z.func};var KT={choiceLabel:z.string,targetLabel:z.string,disabled:z.bool,tiles:z.array.isRequired,tileSize:z.string,addGuide:z.bool,selectedChoice:z.object,onChoiceClick:z.func,onPlacementClick:z.func},qT={tileSize:`1fr`,disabled:!1,addGuide:!1},JT=e=>{let t=(t,n)=>(t.instanceId=e.instanceId,t.disabled=e.disabled,t.guideIndex=e.addGuide?t.index+1:void 0,t.tileIndex=n,t.selectedChoice=e.selectedChoice,t.onChoiceClick=e.onChoiceClick,t.onPlacementClick=e.onPlacementClick,e.includeTargets||t.type===`choice`?(0,H.createElement)(GT,{...t,key:n}):(0,H.createElement)(GT,{...t,label:``,key:n}));return t.propTypes={...KT},t},YT=Y(`div`)(({theme:e,includeTargets:t})=>({display:`grid`,paddingBottom:e.spacing(2),...t&&{gridGap:`10px`}})),XT=Y(`div`)({textAlign:`center`}),ZT=Y(`div`)({textAlign:`center`,gridRow:`3/4`}),QT=Y(`div`)(({includeTargets:e})=>({gridAutoFlow:`column`,display:`grid`,...e&&{gridGap:`10px`}})),$T=Y(`div`)({gridColumn:`1/2`,textAlign:`center`}),eE=Y(`div`)({gridColumn:`2/3`,textAlign:`center`}),tE=class extends H.Component{static propTypes={...KT};static defaultProps={...qT};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?`auto ${a} auto ${a}`:`auto ${a} auto`,s=e?i.length/2:i.length,c={gridTemplateColumns:e?`repeat(${s}, ${a})`:`auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`,gridTemplateRows:o},l={gridColumn:`1/${s+1}`};return(0,U.jsxs)(YT,{includeTargets:e,style:c,children:[(0,U.jsx)(XT,{style:l,dangerouslySetInnerHTML:{__html:$_(t?n:``)}}),e&&(0,U.jsx)(ZT,{style:l,dangerouslySetInnerHTML:{__html:$_(r)}}),i.map(JT(this.props))]})}},nE=class extends H.Component{static propTypes={...KT};static defaultProps={...qT};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?2:1,s=e?i.length/2:i.length,c={gridTemplateColumns:`repeat(${o}, ${a})`,gridTemplateRows:e?`auto repeat(${s}, ${a})`:`auto auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`};return(0,U.jsxs)(QT,{includeTargets:e,style:c,children:[(0,U.jsx)($T,{dangerouslySetInnerHTML:{__html:$_(t?n:``)}}),e&&(0,U.jsx)(eE,{dangerouslySetInnerHTML:{__html:$_(r)}}),i.map(JT(this.props))]})}},rE=pn(`pie-elements:placement-ordering:ordering`),iE=(e,t,n)=>{let r=e.find((e,n)=>n===t),i=e.filter((e,n)=>n!==t);return[...i.slice(0,n),r,...i.slice(n)]};function aE(e,t){let n=nn(e.response);if(n[t.index]===t.id)n[t.index]=void 0;else throw Error(`Tried to remove from index: ${t.index}, but the id doesn't match: array: ${n}, target: ${t.id}`);return n}function oE(e,t,n){let{response:r,opts:i}=e,a=nn(r);if(i.includeTargets)return t.type===`choice`&&n.type===`target`?(a[n.index]=t.id,a):t.type===`target`&&n.type===`choice`?(a[t.index]=void 0,a):t.type===`target`&&n.type===`target`?(a[n.index]=t.id,a[t.index]=void 0,a):(rE(`do nothing to the response`),r);let o=e.response.findIndex(e=>e!==void 0&&e===t.id),s=e.response.findIndex(e=>e!==void 0&&e===n.id);return rE(`fromIndex: `,o,`toIndex:`,s),iE(e.response,o,s)}function sE(e,t,n,r){if(r.includeTargets){let i=[];for(let r=0;r<t.length;r++){let a=t[r],o=e.find(e=>a!=null&&e.id===a),s=n[r],c=Object.assign({type:`target`,index:r,empty:o===void 0},o,s,{draggable:o!==void 0});i.push(c)}return e.map(e=>t.indexOf(e.id)!==-1&&!r.allowSameChoiceInTargets?{type:`choice`,id:e.id,empty:!0,droppable:!0,draggable:!1}:Object.assign({},e,{type:`choice`,droppable:!1,draggable:!0})).concat(i)}else return t.reduce((t,r,i)=>{let a=Object.assign({type:`empty`,draggable:!1,droppable:!0},e.find(e=>e.id===r),n[i]),o=Object.assign({type:`choice`,draggable:!0,droppable:!0},e.find(e=>e.id===r),n[i]);return i===0&&t.push(a),t.push(o,a),t},[])}function cE(e,t,n,r){return r=tn({includeTargets:!0},r),n||=[],t=!t||sn(t)?r.includeTargets?Array(e.length):dn(e,e=>e.id):t,{choices:e,response:t,opts:r,outcomes:n,tiles:sE(e,t,n,r)}}function lE(e,t){switch(e.type){case`move`:{let{from:n,to:r}=e,i=oE(t,n,r),a=sE(t.choices,i,t.outcomes,t.opts);return Object.assign({},t,{response:i,tiles:a})}case`remove`:{let{target:n}=e,r=aE(t,n),i=sE(t.choices,r,t.outcomes,t.opts);return Object.assign({},t,{response:r,tiles:i})}}return t}var uE=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;let n=e=>e.map(e=>JSON.stringify(e)).sort(),r=n(e),i=n(t),a=r.every((e,t)=>e===i[t]),o=e.every((e,n)=>JSON.stringify(e)===JSON.stringify(t[n]));return a&&!o},dE=(e,{active:t,context:n,currentCoordinates:r})=>{let{code:i}=e,a=i===`Tab`,o=i===Cw.Down||i===Cw.Up||i===Cw.Left||i===Cw.Right;if(!a&&!o)return;if(o)return Tw(e,{context:n,currentCoordinates:r});e.preventDefault();let{droppableRects:s,droppableContainers:c,collisionRect:l,draggableNodes:u,active:d}=n;if(!s||s.size===0)return r;let f={x:(l?.width||0)/2,y:(l?.height||0)/2},p={x:r.x+f.x,y:r.y+f.y},m=u?.get(t)?.data?.current?.id,h=d?.rect?.current?.initial,g=typeof t==`string`?t.replace(/^tile-/,`drop-`):void 0,_=[],v;for(let[e,t]of c){let n=t?.data?.current,r=e===g;if(t?.disabled&&!r)continue;let i=n?.type===`choice`&&n?.id===m;if(n?.type===`choice`&&!i)continue;let a=(r?h:null)||s.get(e);if(!a)continue;let o={x:a.left+a.width/2,y:a.top+a.height/2},c={id:e,dropPosition:{x:a.left,y:a.top+a.height/2-f.y},center:o};i?v=c:_.push(c)}if(_.length===0&&!v)return r;let y=e.shiftKey;_.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x),v&&_.push(v);let b=0,x=1/0;for(let e=0;e<_.length;e++){let t=fE(p,_[e].center);t<x&&(x=t,b=e)}return _[y?(b-1+_.length)%_.length:(b+1)%_.length].dropPosition},fE=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2);function pE(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function mE(e,t){return!e||pE(e)?e:pE(e.default)?e.default:t&&pE(e[t])?e[t]:t&&pE(e[t]?.default)?e[t].default:e}var hE=mE(Wx,`UiLayout`)||mE(xE.UiLayout,`UiLayout`),gE=mE(wS,`PreviewPrompt`)||mE(xE.PreviewPrompt,`PreviewPrompt`),_E=mE(gy,`Feedback`)||mE(xE.Feedback,`Feedback`),vE=mE(Hb,`Collapsible`)||mE(xE.Collapsible,`Collapsible`),yE=tC,bE=yE.default,xE=bE&&typeof bE==`object`?bE:yE,SE=250,CE=(e,t)=>{if(!e||!t)return!1;let n=t.left+t.width/2,r=t.top+t.height/2;return n>=e.left&&n<=e.right&&r>=e.top&&r<=e.bottom},wE=(e,t,n)=>{let{initial:r,translated:i}=e||{};if(!r||!t||typeof n?.clientX!=`number`)return i;let a=t.x-n.clientX,o=t.y-n.clientY;return{...r,left:r.left+a,right:r.right+a,top:r.top+o,bottom:r.bottom+o}},TE=e=>e?{keyboardCoordinateGetter:dE,keyboardCodes:{start:[`Space`,`Enter`],cancel:[`Escape`],end:[`Space`,`Enter`]},accessibility:{screenReaderInstructions:{draggable:`Press Space or Enter to pick up this answer choice. Once picked up, use Tab or Shift+Tab to cycle through response areas, or use arrow keys to move it freely. Press Space or Enter to drop, or Escape to cancel.`}}}:{},{translator:EE}=Fb,DE=pn(`pie-elements:placement-ordering`),OE=Y(`div`)({color:iv(),backgroundColor:Ev(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`}),kE=Y(`div`)({alignSelf:`stretch`,maxWidth:`100%`,overflowX:`auto`,overflowY:`hidden`}),AE=Y(`div`)({display:`flex`,justifyContent:`center`,minWidth:`min-content`}),jE=Y(`div`)(({theme:e})=>({paddingBottom:e.spacing(1)})),ME=Y(`div`)(({theme:e})=>({paddingBottom:e.spacing(2)})),NE=Y(vC)(({theme:e})=>({paddingBottom:e.spacing(1)})),PE=Y(vE)(({theme:e})=>({marginBottom:e.spacing(2),alignSelf:`flex-start`})),FE=e=>{let{tiler:t,ordering:n,onDropChoice:r,onRemoveChoice:i,...a}=e;return(0,U.jsx)(t,{...a,tiles:n.tiles,onDropChoice:(e,t)=>r(e,t,n),onRemoveChoice:e=>i(e,n)})};FE.propTypes={tiler:z.func,ordering:z.any,onDropChoice:z.func,onRemoveChoice:z.func};var IE=class extends H.Component{static propTypes={onSessionChange:z.func.isRequired,model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired])};constructor(e){super(e),this.instanceId=Ib(`placement-ordering`);let{value:t,needsReset:n}=this.validateSession(e);this.state={showingCorrect:!1,selectedChoice:null},this.lastDragEndAt=0,this.dragCollision=zT();let{model:r}=e||{},{env:i}=r||{},{mode:a}=i||{};n&&a===`gather`&&this.props.onSessionChange({...e.session,value:t})}toggleCorrect=e=>this.setState({showingCorrect:e});componentDidUpdate(){ba(Pp.findDOMNode(this))}validateSession=({model:e,session:t},n=!1)=>{let{config:r,choices:i}=e||{},{includeTargets:a}=r||{},o=i.map(e=>e.id),{value:s}=t||{},c;if(a)s&&s.length!==o.length&&(c=!0,s=s.length<o.length?s.concat(Array(o.length-s.length)):s.filter(e=>o.includes(e)));else{if(!s||!s.length||n)s=o;else{let e=an(o,s),t=an(s,o);(e.length||t.length)&&(s=o)}c=!cn(t.value,s)}return c&&console.warn(`This session is not valid anymore. It will be reset.`),{value:s,needsReset:c}};UNSAFE_componentWillReceiveProps(e){let{model:t={}}=e||{},{model:n={}}=this.props||{},{correctResponse:r,config:i,choices:a=[],env:o}=t,{includeTargets:s}=i||{},c={},l=n.language&&n.language!==t.language,u=n.note&&n.note===EE.t(`common:commonCorrectAnswerWithAlternates`,{lng:n.language});l&&u&&(n.note=EE.t(`common:commonCorrectAnswerWithAlternates`,{lng:t.language})),r||(c.showingCorrect=!1);let d=uE(a,n.choices),{value:f,needsReset:p}=this.validateSession(e,d),m={...e.session,value:f},h=n.config?.includeTargets!==s;s&&h&&(p=!0,delete m.value),this.setState(c,()=>{let{mode:e}=o||{};p&&e===`gather`&&this.props.onSessionChange(m)})}onDropChoice=(e,t,n)=>{let{onSessionChange:r,session:i}=this.props,a=n.tiles.find(e=>e.id===t.id&&e.type===t.type&&e.index===t.index),o=e;DE(`[onDropChoice] `,a,o);let s=lE({type:`move`,from:a,to:o},n);r(Object.assign({},i,{value:s.response}))};onRemoveChoice=(e,t)=>{let{onSessionChange:n,session:r}=this.props;DE(`[onRemoveChoice]`,e);let i=lE({type:`remove`,target:e},t);n(Object.assign({},r,{value:i.response}))};createOrdering=()=>{let{model:e,session:t}=this.props,{showingCorrect:n}=this.state,{includeTargets:r}=e.config||{orientation:`vertical`,includeTargets:!0};return n?cE(e.choices,e.correctResponse,e.correctResponse.map(e=>({id:e,outcome:`correct`})),{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets}):cE(e.choices,t.value,e.outcomes,{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets})};onDragEnd=e=>{let{over:t,active:n,activatorEvent:r}=e,i=this.createOrdering();if(this.cancelSelection(),this.lastDragEndAt=Date.now(),t&&n){let e=n.data.current,r=t.data.current;if(e&&r&&r.type===`target`){this.onDropChoice(r,e,i),this.focusTile(this.getDestinationSlotId(r));return}e&&r&&(this.onDropChoice(r,e,i),this.focusTile(this.getDestinationSlotId(r)))}else if(!t&&n){let e=n.data.current,t=n.rect?.current,a=wE(t,this.dragCollision.lastPointer(),r),o=CE(t?.initial,a);e&&e.type===`target`&&!o&&(this.onRemoveChoice(e,i),this.focusTile(this.getDestinationSlotId({type:`choice`,id:e.id})))}};onDragStart=e=>{let{active:t}=e;this.dragCollision.reset(),t?.data?.current&&this.selectChoice(t.data.current)};onDragCancel=()=>{this.cancelSelection(),this.lastDragEndAt=Date.now()};isSameChoice=(e,t)=>!!e&&!!t&&e.type===t.type&&e.id===t.id&&e.index===t.index;selectChoice=e=>{this.setState({selectedChoice:e})};toggleChoiceSelection=e=>{this.setState(t=>({selectedChoice:this.isSameChoice(t.selectedChoice,e)?null:e}))};cancelSelection=()=>{this.setState({selectedChoice:null})};endAnyLiveKeyboardDrag=()=>{document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0}))};placeSelectedChoice=e=>{let{selectedChoice:t}=this.state;if(!t)return;let n=this.createOrdering(),r=this.getDestinationSlotId(e);this.onDropChoice(e,t,n),this.cancelSelection(),this.endAnyLiveKeyboardDrag(),this.lastDragEndAt=Date.now(),this.focusTile(r)};getDestinationSlotId=e=>e?e.type===`target`?`target-${e.index}`:e.type===`choice`?`choice-${e.id}`:null:null;focusTile=e=>{if(!e)return;let t=`[data-tile-id="${this.instanceId}:${e}"]`;requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.querySelector(t)?.focus()})})};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<SE;onChoiceClick=e=>{this.isClickSoonAfterDragEnd()||this.toggleChoiceSelection(e)};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedChoice(e)};render(){let{model:e}=this.props,{correctResponse:t,correctness:n,extraCSSRules:r,prompt:i,rationale:a,feedback:o,config:s,note:c,showNote:l,env:u,disabled:d,teacherInstructions:f,language:p}=e,m=t&&t.length>0,{showingCorrect:h}=this.state,g=s||{orientation:`vertical`,includeTargets:!0},{orientation:_,includeTargets:v}=g,y=_===`vertical`,b=this.createOrdering(),{mode:x,role:S}=u||{},C=y?nE:tE,w=(h||x===`view`&&S===`instructor`)&&l&&c,T=a&&(kS(a)||jS(a)),E=f&&(kS(f)||jS(f)),D={color:iv(),backgroundColor:Ev(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`,width:`100%`},ee=v?{selectedChoice:this.state.selectedChoice,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick}:{};return(0,U.jsx)(IT,{onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,onDragCancel:this.onDragCancel,collisionDetection:this.dragCollision.collisionDetection,modifiers:[If],...TE(v),children:(0,U.jsx)(OE,{children:(0,U.jsxs)(hE,{extraCSSRules:r,style:D,children:[E&&(0,U.jsx)(PE,{labels:{hidden:EE.t(`common:showTeacherInstructions`,{lng:p}),visible:EE.t(`common:hideTeacherInstructions`,{lng:p})},className:`collapsible`,children:(0,U.jsx)(gE,{prompt:f})}),(0,U.jsx)(jE,{children:(0,U.jsx)(gE,{prompt:i})}),(0,U.jsx)(NE,{show:m,toggled:h,onToggle:this.toggleCorrect,language:p}),(0,U.jsx)(kE,{children:(0,U.jsx)(AE,{children:(0,U.jsx)(FE,{instanceId:this.instanceId,choiceLabel:g.choiceLabel,targetLabel:g.targetLabel,ordering:b,tiler:C,disabled:d,addGuide:g.showOrdering,tileSize:g.tileSize,includeTargets:v,choiceLabelEnabled:e.config&&e.config.choiceLabelEnabled,...ee})})}),w&&(0,U.jsx)(ME,{dangerouslySetInnerHTML:{__html:$_(c)}}),T&&(0,U.jsx)(PE,{labels:{hidden:EE.t(`common:showRationale`,{lng:p}),visible:EE.t(`common:hideRationale`,{lng:p})},className:`collapsible`,children:(0,U.jsx)(gE,{prompt:a})}),!h&&(0,U.jsx)(_E,{correctness:n,feedback:o})]})})})}},LE=class extends H.Component{static propTypes={model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired]),onSessionChange:z.func.isRequired};render(){let{model:e,session:t,onSessionChange:n}=this.props;return(0,U.jsx)(IE,{model:e,session:t,onSessionChange:n})}},RE=g(),zE=pn(`pie-elements:placement-ordering`),BE=class extends HTMLElement{constructor(){super(),this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&this._mathObserver.disconnect(),ba(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(this._scheduleMathRender),this._mathObserver.observe(this,{childList:!0,subtree:!0}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}isComplete=e=>e&&rn(e).length===this._model.completeLength;sessionChange=e=>{this._session.value=e.value,this.render(),this.dispatchEvent(new xa(this.tagName.toLowerCase(),this._session&&this.isComplete(this._session.value)))};set model(e){this._model=e,this.render(),this.dispatchEvent(new CustomEvent(`model-set`,{bubbles:!0,detail:{complete:!1}}))}set session(e){this._session=e,this.render()}get session(){return this._session}render(){if(this._model&&this._session){zE(`[render] session: `,this._session.value),zE(`[render] model: `,this._model),this._initMathObserver();let e=H.createElement(LE,{model:this._model,session:this._session,onSessionChange:this.sessionChange});this._root||=(0,RE.createRoot)(this),this._root.render(e)}}connectedCallback(){this._initMathObserver(),this.render()}disconnectedCallback(){this._disconnectMathObserver(),this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`placement-ordering-element`)&&customElements.define(`placement-ordering-element`,BE),BE})();
|