PageSourceSearch

https://www.spk-mecklenburg-nordwest.de/etc/clientlibs/myif/master/ima/js/ima.min.js

js spk-mecklenburg-nordwest.de collected 2026-10-04 00:22:02 UTC 964,190 bytes, 161 lines download raw bytes

vendor: 9,428 bytes, lines 1-2
1(function(){"use strict";var ky=document.createElement("style");ky.textContent=`@media print{._hide-on-print_jdj0c_2{display:none!important}}
2/*$vite$:1*/`,document.head.appendChild(ky);function Gf(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(i,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var cx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fx(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var a=!1;try{a=this instanceof i}catch{}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),n}var sg={exports:{}},sc={};var Oy;function hx(){if(Oy)return sc;Oy=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,a,o){var f=null;if(o!==void 0&&(f=""+o),a.key!==void 0&&(f=""+a.key),"key"in a){o={};for(var p in a)p!=="key"&&(o[p]=a[p])}else o=a;return a=o.ref,{$$typeof:e,type:i,key:f,ref:a!==void 0?a:null,props:o}}return sc.Fragment=t,sc.jsx=n,sc.jsxs=n,sc}var Ry;function dx(){return Ry||(Ry=1,sg.exports=hx()),sg.exports}var te=dx();const px=Gf({__proto__:null,default:jo(te)},[te]);var ag={exports:{}},ac={},og={exports:{}},lg={};var Ly;function gx(){return Ly||(Ly=1,(function(e){function t(Z,ke){var Ie=Z.length;Z.push(ke);e:for(;0<Ie;){var Fe=Ie-1>>>1,et=Z[Fe];if(0<a(et,ke))Z[Fe]=ke,Z[Ie]=et,Ie=Fe;else break e}}function n(Z){return Z.length===0?null:Z[0]}function i(Z){if(Z.length===0)return null;var ke=Z[0],Ie=Z.pop();if(Ie!==ke){Z[0]=Ie;e:for(var Fe=0,et=Z.length,$=et>>>1;Fe<$;){var Te=2*(Fe+1)-1,ze=Z[Te],He=Te+1,nt=Z[He];if(0>a(ze,Ie))He<et&&0>a(nt,ze)?(Z[Fe]=nt,Z[He]=Ie,Fe=He):(Z[Fe]=ze,Z[Te]=Ie,Fe=Te);else if(He<et&&0>a(nt,Ie))Z[Fe]=nt,Z[He]=Ie,Fe=He;else break e}}return ke}function a(Z,ke){var Ie=Z.sortIndex-ke.sortIndex;return Ie!==0?Ie:Z.id-ke.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var f=Date,p=f.now();e.unstable_now=function(){return f.now()-p}}var g=[],u=[],y=1,S=null,x=3,O=!1,L=!1,R=!1,V=!1,K=typeof setTimeout=="function"?setTimeout:null,se=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function J(Z){for(var ke=n(u);ke!==null;){if(ke.callback===null)i(u);else if(ke.startTime<=Z)i(u),ke.sortIndex=ke.expirationTime,t(g,ke);else break;ke=n(u)}}function X(Z){if(R=!1,J(Z),!L)if(n(g)!==null)L=!0,U||(U=!0,I());else{var ke=n(u);ke!==null&&De(X,ke.startTime-Z)}}var U=!1,Y=-1,Ce=5,oe=-1;function _e(){return V?!0:!(e.unstable_now()-oe<Ce)}function ge(){if(V=!1,U){var Z=e.unstable_now();oe=Z;var ke=!0;try{e:{L=!1,R&&(R=!1,se(Y),Y=-1),O=!0;var Ie=x;try{t:{for(J(Z),S=n(g);S!==null&&!(S.expirationTime>Z&&_e());){var Fe=S.callback;if(typeof Fe=="function"){S.callback=null,x=S.priorityLevel;var et=Fe(S.expirationTime<=Z);if(Z=e.unstable_now(),typeof et=="function"){S.callback=et,J(Z),ke=!0;break t}S===n(g)&&i(g),J(Z)}else i(g);S=n(g)}if(S!==null)ke=!0;else{var $=n(u);$!==null&&De(X,$.startTime-Z),ke=!1}}break e}finally{S=null,x=Ie,O=!1}ke=void 0}}finally{ke?I():U=!1}}}var I;if(typeof ne=="function")I=function(){ne(ge)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,me=ue.port2;ue.port1.onmessage=ge,I=function(){me.postMessage(null)}}else I=function(){K(ge,0)};function De(Z,ke){Y=K(function(){Z(e.unstable_now())},ke)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Z){Z.callback=null},e.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<Z?Math.floor(1e3/Z):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(Z){switch(x){case 1:case 2:case 3:var ke=3;break;default:ke=x}var Ie=x;x=ke;try{return Z()}finally{x=Ie}},e.unstable_requestPaint=function(){V=!0},e.unstable_runWithPriority=function(Z,ke){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var Ie=x;x=Z;try{return ke()}finally{x=Ie}},e.unstable_scheduleCallback=function(Z,ke,Ie){var Fe=e.unstable_now();switch(typeof Ie=="object"&&Ie!==null?(Ie=Ie.delay,Ie=typeof Ie=="number"&&0<Ie?Fe+Ie:Fe):Ie=Fe,Z){case 1:var et=-1;break;case 2:et=250;break;case 5:et=1073741823;break;case 4:et=1e4;break;default:et=5e3}return et=Ie+et,Z={id:y++,callback:ke,priorityLevel:Z,startTime:Ie,expirationTime:et,sortIndex:-1},Ie>Fe?(Z.sortIndex=Ie,t(u,Z),n(g)===null&&Z===n(u)&&(R?(se(Y),Y=-1):R=!0,De(X,Ie-Fe))):(Z.sortIndex=et,t(g,Z),L||O||(L=!0,U||(U=!0,I()))),Z},e.unstable_shouldYield=_e,e.unstable_wrapCallback=function(Z){var ke=x;return function(){var Ie=x;x=ke;try{return Z.apply(this,arguments)}finally{x=Ie}}}})(lg)),lg}var Iy;function mx(){return Iy||(Iy=1,og.exports=gx()),og.exports}var ug={exports:{}},yt={};var My;function vx(){if(My)return yt;My=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),x=Symbol.iterator;function O($){return $===null||typeof $!="object"?null:($=x&&$[x]||$["@@iterator"],typeof $=="function"?$:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,V={};function K($,Te,ze){this.props=$,this.context=Te,this.refs=V,this.updater=ze||L}K.prototype.isReactComponent={},K.prototype.setState=function($,Te){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,Te,"setState")},K.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function se(){}se.prototype=K.prototype;function ne($,Te,ze){this.props=$,this.context=Te,this.refs=V,this.updater=ze||L}var J=ne.prototype=new se;J.constructor=ne,R(J,K.prototype),J.isPureReactComponent=!0;var X=Array.isArray;function U(){}var Y={H:null,A:null,T:null,S:null},Ce=Object.prototype.hasOwnProperty;function oe($,Te,ze){var He=ze.ref;return{$$typeof:e,type:$,key:Te,ref:He!==void 0?He:null,props:ze}}function _e($,Te){return oe($.type,Te,$.props)}function ge($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function I($){var Te={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(ze){return Te[ze]})}var ue=/\/+/g;function me($,Te){return typeof $=="object"&&$!==null&&$.key!=null?I(""+$.key):Te.toString(36)}function De($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(U,U):($.status="pending",$.then(function(Te){$.status==="pending"&&($.status="fulfilled",$.value=Te)},function(Te){$.status==="pending"&&($.status="rejected",$.reason=Te)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function Z($,Te,ze,He,nt){var Ve=typeof $;(Ve==="undefined"||Ve==="boolean")&&($=null);var at=!1;if($===null)at=!0;else switch(Ve){case"bigint":case"string":case"number":at=!0;break;case"object":switch($.$$typeof){case e:case t:at=!0;break;case y:return at=$._init,Z(at($._payload),Te,ze,He,nt)}}if(at)return nt=nt($),at=He===""?"."+me($,0):He,X(nt)?(ze="",at!=null&&(ze=at.replace(ue,"$&/")+"/"),Z(nt,Te,ze,"",function(Qn){return Qn})):nt!=null&&(ge(nt)&&(nt=_e(nt,ze+(nt.key==null||$&&$.key===nt.key?"":(""+nt.key).replace(ue,"$&/")+"/")+at)),Te.push(nt)),1;at=0;var It=He===""?".":He+":";if(X($))for(var xt=0;xt<$.length;xt++)He=$[xt],Ve=It+me(He,xt),at+=Z(He,Te,ze,Ve,nt);else if(xt=O($),typeof xt=="function")for($=xt.call($),xt=0;!(He=$.next()).done;)He=He.value,Ve=It+me(He,xt++),at+=Z(He,Te,ze,Ve,nt);else if(Ve==="object"){if(typeof $.then=="function")return Z(De($),Te,ze,He,nt);throw Te=String($),Error("Objects are not valid as a React child (found: "+(Te==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":Te)+"). If you meant to render a collection of children, use an array instead.")}return at}function ke($,Te,ze){if($==null)return $;var He=[],nt=0;return Z($,He,"","",function(Ve){return Te.call(ze,Ve,nt++)}),He}function Ie($){if($._status===-1){var Te=$._result;Te=Te(),Te.then(function(ze){($._status===0||$._status===-1)&&($._status=1,$._result=ze)},function(ze){($._status===0||$._status===-1)&&($._status=2,$._result=ze)}),$._status===-1&&($._status=0,$._result=Te)}
vendor: 8,805 bytes, line 2
2if($._status===1)return $._result.default;throw $._result}var Fe=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Te=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Te))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},et={map:ke,forEach:function($,Te,ze){ke($,function(){Te.apply(this,arguments)},ze)},count:function($){var Te=0;return ke($,function(){Te++}),Te},toArray:function($){return ke($,function(Te){return Te})||[]},only:function($){if(!ge($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return yt.Activity=S,yt.Children=et,yt.Component=K,yt.Fragment=n,yt.Profiler=a,yt.PureComponent=ne,yt.StrictMode=i,yt.Suspense=g,yt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,yt.__COMPILER_RUNTIME={__proto__:null,c:function($){return Y.H.useMemoCache($)}},yt.cache=function($){return function(){return $.apply(null,arguments)}},yt.cacheSignal=function(){return null},yt.cloneElement=function($,Te,ze){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var He=R({},$.props),nt=$.key;if(Te!=null)for(Ve in Te.key!==void 0&&(nt=""+Te.key),Te)!Ce.call(Te,Ve)||Ve==="key"||Ve==="__self"||Ve==="__source"||Ve==="ref"&&Te.ref===void 0||(He[Ve]=Te[Ve]);var Ve=arguments.length-2;if(Ve===1)He.children=ze;else if(1<Ve){for(var at=Array(Ve),It=0;It<Ve;It++)at[It]=arguments[It+2];He.children=at}return oe($.type,nt,He)},yt.createContext=function($){return $={$$typeof:f,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:o,_context:$},$},yt.createElement=function($,Te,ze){var He,nt={},Ve=null;if(Te!=null)for(He in Te.key!==void 0&&(Ve=""+Te.key),Te)Ce.call(Te,He)&&He!=="key"&&He!=="__self"&&He!=="__source"&&(nt[He]=Te[He]);var at=arguments.length-2;if(at===1)nt.children=ze;else if(1<at){for(var It=Array(at),xt=0;xt<at;xt++)It[xt]=arguments[xt+2];nt.children=It}if($&&$.defaultProps)for(He in at=$.defaultProps,at)nt[He]===void 0&&(nt[He]=at[He]);return oe($,Ve,nt)},yt.createRef=function(){return{current:null}},yt.forwardRef=function($){return{$$typeof:p,render:$}},yt.isValidElement=ge,yt.lazy=function($){return{$$typeof:y,_payload:{_status:-1,_result:$},_init:Ie}},yt.memo=function($,Te){return{$$typeof:u,type:$,compare:Te===void 0?null:Te}},yt.startTransition=function($){var Te=Y.T,ze={};Y.T=ze;try{var He=$(),nt=Y.S;nt!==null&&nt(ze,He),typeof He=="object"&&He!==null&&typeof He.then=="function"&&He.then(U,Fe)}catch(Ve){Fe(Ve)}finally{Te!==null&&ze.types!==null&&(Te.types=ze.types),Y.T=Te}},yt.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},yt.use=function($){return Y.H.use($)},yt.useActionState=function($,Te,ze){return Y.H.useActionState($,Te,ze)},yt.useCallback=function($,Te){return Y.H.useCallback($,Te)},yt.useContext=function($){return Y.H.useContext($)},yt.useDebugValue=function(){},yt.useDeferredValue=function($,Te){return Y.H.useDeferredValue($,Te)},yt.useEffect=function($,Te){return Y.H.useEffect($,Te)},yt.useEffectEvent=function($){return Y.H.useEffectEvent($)},yt.useId=function(){return Y.H.useId()},yt.useImperativeHandle=function($,Te,ze){return Y.H.useImperativeHandle($,Te,ze)},yt.useInsertionEffect=function($,Te){return Y.H.useInsertionEffect($,Te)},yt.useLayoutEffect=function($,Te){return Y.H.useLayoutEffect($,Te)},yt.useMemo=function($,Te){return Y.H.useMemo($,Te)},yt.useOptimistic=function($,Te){return Y.H.useOptimistic($,Te)},yt.useReducer=function($,Te,ze){return Y.H.useReducer($,Te,ze)},yt.useRef=function($){return Y.H.useRef($)},yt.useState=function($){return Y.H.useState($)},yt.useSyncExternalStore=function($,Te,ze){return Y.H.useSyncExternalStore($,Te,ze)},yt.useTransition=function(){return Y.H.useTransition()},yt.version="19.2.4",yt}var Ny;function oc(){return Ny||(Ny=1,ug.exports=vx()),ug.exports}var cg={exports:{}},$r={};var Py;function yx(){if(Py)return $r;Py=1;var e=oc();function t(g){var u="https://react.dev/errors/"+g;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)u+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(g,u,y){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:S==null?null:""+S,children:g,containerInfo:u,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,u){if(g==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return $r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,$r.createPortal=function(g,u){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(t(299));return o(g,u,null,y)},$r.flushSync=function(g){var u=f.T,y=i.p;try{if(f.T=null,i.p=2,g)return g()}finally{f.T=u,i.p=y,i.d.f()}},$r.preconnect=function(g,u){typeof g=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,i.d.C(g,u))},$r.prefetchDNS=function(g){typeof g=="string"&&i.d.D(g)},$r.preinit=function(g,u){if(typeof g=="string"&&u&&typeof u.as=="string"){var y=u.as,S=p(y,u.crossOrigin),x=typeof u.integrity=="string"?u.integrity:void 0,O=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;y==="style"?i.d.S(g,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:S,integrity:x,fetchPriority:O}):y==="script"&&i.d.X(g,{crossOrigin:S,integrity:x,fetchPriority:O,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},$r.preinitModule=function(g,u){if(typeof g=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var y=p(u.as,u.crossOrigin);i.d.M(g,{crossOrigin:y,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&i.d.M(g)},$r.preload=function(g,u){if(typeof g=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var y=u.as,S=p(y,u.crossOrigin);i.d.L(g,y,{crossOrigin:S,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},$r.preloadModule=function(g,u){if(typeof g=="string")if(u){var y=p(u.as,u.crossOrigin);i.d.m(g,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:y,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else i.d.m(g)},$r.requestFormReset=function(g){i.d.r(g)},$r.unstable_batchedUpdates=function(g,u){return g(u)},$r.useFormState=function(g,u,y){return f.H.useFormState(g,u,y)},$r.useFormStatus=function(){return f.H.useHostTransitionStatus()},$r.version="19.2.4",$r}var Dy;function Uy(){if(Dy)return cg.exports;Dy=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),cg.exports=yx(),cg.exports}var jy;function bx(){if(jy)return ac;jy=1;var e=mx(),t=oc(),n=Uy();function i(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function o(r){var s=r,l=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(l=s.return),r=s.return;while(r)}return s.tag===3?l:null}function f(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function p(r){if(r.tag===31){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function g(r){if(o(r)!==r)throw Error(i(188))}function u(r){var s=r.alternate;
vendor: 10,289 bytes, lines 2-9
2if(!s){if(s=o(r),s===null)throw Error(i(188));return s!==r?null:r}for(var l=r,h=s;;){var m=l.return;if(m===null)break;var b=m.alternate;if(b===null){if(h=m.return,h!==null){l=h;continue}break}if(m.child===b.child){for(b=m.child;b;){if(b===l)return g(m),r;if(b===h)return g(m),s;b=b.sibling}throw Error(i(188))}if(l.return!==h.return)l=m,h=b;else{for(var A=!1,P=m.child;P;){if(P===l){A=!0,l=m,h=b;break}if(P===h){A=!0,h=m,l=b;break}P=P.sibling}if(!A){for(P=b.child;P;){if(P===l){A=!0,l=b,h=m;break}if(P===h){A=!0,h=b,l=m;break}P=P.sibling}if(!A)throw Error(i(189))}}if(l.alternate!==h)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?r:s}function y(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=y(r),s!==null)return s;r=r.sibling}return null}var S=Object.assign,x=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),se=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),Ce=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),_e=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function I(r){return r===null||typeof r!="object"?null:(r=ge&&r[ge]||r["@@iterator"],typeof r=="function"?r:null)}var ue=Symbol.for("react.client.reference");function me(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ue?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case R:return"Fragment";case K:return"Profiler";case V:return"StrictMode";case X:return"Suspense";case U:return"SuspenseList";case oe:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case L:return"Portal";case ne:return r.displayName||"Context";case se:return(r._context.displayName||"Context")+".Consumer";case J:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Y:return s=r.displayName||null,s!==null?s:me(r.type)||"Memo";case Ce:s=r._payload,r=r._init;try{return me(r(s))}catch{}}return null}var De=Array.isArray,Z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ke=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ie={pending:!1,data:null,method:null,action:null},Fe=[],et=-1;function $(r){return{current:r}}function Te(r){0>et||(r.current=Fe[et],Fe[et]=null,et--)}function ze(r,s){et++,Fe[et]=r.current,r.current=s}var He=$(null),nt=$(null),Ve=$(null),at=$(null);function It(r,s){switch(ze(Ve,s),ze(nt,r),ze(He,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?kA(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=kA(s),r=OA(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}Te(He),ze(He,r)}function xt(){Te(He),Te(nt),Te(Ve)}function Qn(r){r.memoizedState!==null&&ze(at,r);var s=He.current,l=OA(s,r.type);s!==l&&(ze(nt,r),ze(He,l))}function Xe(r){nt.current===r&&(Te(He),Te(nt)),at.current===r&&(Te(at),$f._currentValue=Ie)}var Kt,Jt;function vn(r){if(Kt===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);Kt=s&&s[1]||"",Jt=-1<l.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+Kt+r+Jt}var kn=!1;function ot(r,s){if(!r||kn)return"";kn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(Oe){var xe=Oe}Reflect.construct(r,[],Pe)}else{try{Pe.call()}catch(Oe){xe=Oe}r.call(Pe.prototype)}}else{try{throw Error()}catch(Oe){xe=Oe}(Pe=r())&&typeof Pe.catch=="function"&&Pe.catch(function(){})}}catch(Oe){if(Oe&&xe&&typeof Oe.stack=="string")return[Oe.stack,xe.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=h.DetermineComponentFrameRoot(),A=b[0],P=b[1];if(A&&P){var re=A.split(`
5`),Ae=P.split(`
6`);for(m=h=0;h<re.length&&!re[h].includes("DetermineComponentFrameRoot");)h++;for(;m<Ae.length&&!Ae[m].includes("DetermineComponentFrameRoot");)m++;if(h===re.length||m===Ae.length)for(h=re.length-1,m=Ae.length-1;1<=h&&0<=m&&re[h]!==Ae[m];)m--;for(;1<=h&&0<=m;h--,m--)if(re[h]!==Ae[m]){if(h!==1||m!==1)do if(h--,m--,0>m||re[h]!==Ae[m]){var Le=`
7`+re[h].replace(" at new "," at ");return r.displayName&&Le.includes("<anonymous>")&&(Le=Le.replace("<anonymous>",r.displayName)),Le}while(1<=h&&0<=m);break}}}finally{kn=!1,Error.prepareStackTrace=l}return(l=r?r.displayName||r.name:"")?vn(l):""}function Tt(r,s){switch(r.tag){case 26:case 27:case 5:return vn(r.type);case 16:return vn("Lazy");case 13:return r.child!==s&&s!==null?vn("Suspense Fallback"):vn("Suspense");case 19:return vn("SuspenseList");case 0:case 15:return ot(r.type,!1);case 11:return ot(r.type.render,!1);case 1:return ot(r.type,!0);case 31:return vn("Activity");default:return""}}function en(r){try{var s="",l=null;do s+=Tt(r,l),l=r,r=r.return;while(r);return s}catch(h){return`
8Error generating stack: `+h.message+`
9`+h.stack}}var $n=Object.prototype.hasOwnProperty,mr=e.unstable_scheduleCallback,Yr=e.unstable_cancelCallback,rt=e.unstable_shouldYield,Ze=e.unstable_requestPaint,Ot=e.unstable_now,qe=e.unstable_getCurrentPriorityLevel,Ke=e.unstable_ImmediatePriority,mt=e.unstable_UserBlockingPriority,_t=e.unstable_NormalPriority,kt=e.unstable_LowPriority,bt=e.unstable_IdlePriority,on=e.log,On=e.unstable_setDisableYieldValue,gt=null,ln=null;function vr(r){if(typeof on=="function"&&On(r),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(gt,r)}catch{}}var Pn=Math.clz32?Math.clz32:Me,Ps=Math.log,eo=Math.LN2;function Me(r){return r>>>=0,r===0?32:31-(Ps(r)/eo|0)|0}var St=256,Mt=262144,wt=4194304;function it(r){var s=r&42;if(s!==0)return s;switch(r&-r){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Vt(r,s,l){var h=r.pendingLanes;if(h===0)return 0;var m=0,b=r.suspendedLanes,A=r.pingedLanes;r=r.warmLanes;var P=h&134217727;return P!==0?(h=P&~b,h!==0?m=it(h):(A&=P,A!==0?m=it(A):l||(l=P&~r,l!==0&&(m=it(l))))):(P=h&~b,P!==0?m=it(P):A!==0?m=it(A):l||(l=h&~r,l!==0&&(m=it(l)))),m===0?0:s!==0&&s!==m&&(s&b)===0&&(b=m&-m,l=s&-s,b>=l||b===32&&(l&4194048)!==0)?s:m}function sr(r,s){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&s)===0}function Be(r,s){switch(r){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32: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 s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function En(){var r=wt;return wt<<=1,(wt&62914560)===0&&(wt=4194304),r}function Mr(r){for(var s=[],l=0;31>l;l++)s.push(r);return s}function yr(r,s){r.pendingLanes|=s,s!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Rn(r,s,l,h,m,b){var A=r.pendingLanes;r.pendingLanes=l,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=l,r.entangledLanes&=l,r.errorRecoveryDisabledLanes&=l,r.shellSuspendCounter=0;var P=r.entanglements,re=r.expirationTimes,Ae=r.hiddenUpdates;for(l=A&~l;0<l;){var Le=31-Pn(l),Pe=1<<Le;P[Le]=0,re[Le]=-1;var xe=Ae[Le];if(xe!==null)for(Ae[Le]=null,Le=0;Le<xe.length;Le++){var Oe=xe[Le];Oe!==null&&(Oe.lane&=-536870913)}l&=~Pe}h!==0&&ya(r,h,0),b!==0&&m===0&&r.tag!==0&&(r.suspendedLanes|=b&~(A&~s))}function ya(r,s,l){r.pendingLanes|=s,r.suspendedLanes&=~s;var h=31-Pn(s);r.entangledLanes|=s,r.entanglements[h]=r.entanglements[h]|1073741824|l&261930}function xi(r,s){var l=r.entangledLanes|=s;for(r=r.entanglements;l;){var h=31-Pn(l),m=1<<h;m&s|r[h]&s&&(r[h]|=s),l&=~m}}function Ds(r,s){var l=s&-s;return l=(l&42)!==0?1:yn(l),(l&(r.suspendedLanes|s))!==0?0:l}function yn(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;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:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Us(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Nt(){var r=ke.p;return r!==0?r:(r=window.event,r===void 0?32:QA(r.type))}function ul(r,s){var l=ke.p;try{return ke.p=r,s()}finally{ke.p=l}}var Xr=Math.random().toString(36).slice(2),Vn="__reactFiber$"+Xr,hr="__reactProps$"+Xr,fs="__reactContainer$"+Xr,to="__reactEvents$"+Xr,_u="__reactListeners$"+Xr,cl="__reactHandles$"+Xr,fl="__reactResources$"+Xr,zi="__reactMarker$"+Xr;function no(r){delete r[Vn],delete r[hr],delete r[to],delete r[_u],delete r[cl]}function Hi(r){var s=r[Vn];if(s)return s;for(var l=r.parentNode;l;){if(s=l[fs]||l[Vn]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(r=DA(r);r!==null;){if(l=r[Vn])return l;r=DA(r)}return s}r=l,l=r.parentNode}return null}function $i(r){if(r=r[Vn]||r[fs]){var s=r.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return r}return null}function Vi(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r.stateNode;throw Error(i(33))}function qi(r){var s=r[fl];return s||(s=r[fl]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function An(r){r[zi]=!0}var hi=new Set,ar={};
vendor: 6,950 bytes, line 9
9function qn(r,s){Nr(r,s),Nr(r+"Capture",s)}function Nr(r,s){for(ar[r]=s,r=0;r<s.length;r++)hi.add(s[r])}var ro=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),br={},js={};function ba(r){return $n.call(js,r)?!0:$n.call(br,r)?!1:ro.test(r)?js[r]=!0:(br[r]=!0,!1)}function Pt(r,s,l){if(ba(s))if(l===null)r.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":r.removeAttribute(s);return;case"boolean":var h=s.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){r.removeAttribute(s);return}}r.setAttribute(s,""+l)}}function Fs(r,s,l){if(l===null)r.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttribute(s,""+l)}}function un(r,s,l,h){if(h===null)r.removeAttribute(l);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttributeNS(s,l,""+h)}}function Pr(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function io(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function hs(r,s,l){var h=Object.getOwnPropertyDescriptor(r.constructor.prototype,s);if(!r.hasOwnProperty(s)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var m=h.get,b=h.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return m.call(this)},set:function(A){l=""+A,b.call(this,A)}}),Object.defineProperty(r,s,{enumerable:h.enumerable}),{getValue:function(){return l},setValue:function(A){l=""+A},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function bn(r){if(!r._valueTracker){var s=io(r)?"checked":"value";r._valueTracker=hs(r,s,""+r[s])}}function so(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var l=s.getValue(),h="";return r&&(h=io(r)?r.checked?"true":"false":r.value),r=h,r!==l?(s.setValue(r),!0):!1}function di(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Eu=/[\n"\\]/g;function Sr(r){return r.replace(Eu,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Ci(r,s,l,h,m,b,A,P){r.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?r.type=A:r.removeAttribute("type"),s!=null?A==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+Pr(s)):r.value!==""+Pr(s)&&(r.value=""+Pr(s)):A!=="submit"&&A!=="reset"||r.removeAttribute("value"),s!=null?Ti(r,A,Pr(s)):l!=null?Ti(r,A,Pr(l)):h!=null&&r.removeAttribute("value"),m==null&&b!=null&&(r.defaultChecked=!!b),m!=null&&(r.checked=m&&typeof m!="function"&&typeof m!="symbol"),P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?r.name=""+Pr(P):r.removeAttribute("name")}function wr(r,s,l,h,m,b,A,P){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(r.type=b),s!=null||l!=null){if(!(b!=="submit"&&b!=="reset"||s!=null)){bn(r);return}l=l!=null?""+Pr(l):"",s=s!=null?""+Pr(s):l,P||s===r.value||(r.value=s),r.defaultValue=s}h=h??m,h=typeof h!="function"&&typeof h!="symbol"&&!!h,r.checked=P?r.checked:!!h,r.defaultChecked=!!h,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(r.name=A),bn(r)}function Ti(r,s,l){s==="number"&&di(r.ownerDocument)===r||r.defaultValue===""+l||(r.defaultValue=""+l)}function _r(r,s,l,h){if(r=r.options,s){s={};for(var m=0;m<l.length;m++)s["$"+l[m]]=!0;for(l=0;l<r.length;l++)m=s.hasOwnProperty("$"+r[l].value),r[l].selected!==m&&(r[l].selected=m),m&&h&&(r[l].defaultSelected=!0)}else{for(l=""+Pr(l),s=null,m=0;m<r.length;m++){if(r[m].value===l){r[m].selected=!0,h&&(r[m].defaultSelected=!0);return}s!==null||r[m].disabled||(s=r[m])}s!==null&&(s.selected=!0)}}function Sa(r,s,l){if(s!=null&&(s=""+Pr(s),s!==r.value&&(r.value=s),l==null)){r.defaultValue!==s&&(r.defaultValue=s);return}r.defaultValue=l!=null?""+Pr(l):""}function ds(r,s,l,h){if(s==null){if(h!=null){if(l!=null)throw Error(i(92));if(De(h)){if(1<h.length)throw Error(i(93));h=h[0]}l=h}l==null&&(l=""),s=l}l=Pr(s),r.defaultValue=l,h=r.textContent,h===l&&h!==""&&h!==null&&(r.value=h),bn(r)}function Ki(r,s){if(s){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=s;return}}r.textContent=s}var Vd=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qd(r,s,l){var h=s.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?h?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="":h?r.setProperty(s,l):typeof l!="number"||l===0||Vd.has(s)?s==="float"?r.cssFloat=l:r[s]=(""+l).trim():r[s]=l+"px"}function Kd(r,s,l){if(s!=null&&typeof s!="object")throw Error(i(62));if(r=r.style,l!=null){for(var h in l)!l.hasOwnProperty(h)||s!=null&&s.hasOwnProperty(h)||(h.indexOf("--")===0?r.setProperty(h,""):h==="float"?r.cssFloat="":r[h]="");for(var m in s)h=s[m],s.hasOwnProperty(m)&&l[m]!==h&&qd(r,m,h)}else for(var b in s)s.hasOwnProperty(b)&&qd(r,b,s[b])}function Au(r){if(r.indexOf("-")===-1)return!1;switch(r){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 F0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
9dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ff=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ps(r){return ff.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function Gi(){}var xu=null;function Cu(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var ao=null,wa=null;function oo(r){var s=$i(r);if(s&&(r=s.stateNode)){var l=r[hr]||null;e:switch(r=s.stateNode,s.type){case"input":if(Ci(r,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),s=l.name,l.type==="radio"&&s!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Sr(""+s)+'"][type="radio"]'),s=0;s<l.length;s++){var h=l[s];if(h!==r&&h.form===r.form){var m=h[hr]||null;if(!m)throw Error(i(90));Ci(h,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(s=0;s<l.length;s++)h=l[s],h.form===r.form&&so(h)}break e;case"textarea":Sa(r,l.value,l.defaultValue);break e;case"select":s=l.value,s!=null&&_r(r,!!l.multiple,s,!1)}}}var Tu=!1;function Bs(r,s,l){if(Tu)return r(s,l);Tu=!0;try{var h=r(s);return h}finally{if(Tu=!1,(ao!==null||wa!==null)&&(Dp(),ao&&(s=ao,r=wa,wa=ao=null,oo(s),r)))for(s=0;s<r.length;s++)oo(r[s])}}function lo(r,s){var l=r.stateNode;if(l===null)return null;var h=l[hr]||null;if(h===null)return null;l=h[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(r=r.type,h=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!h;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(i(231,s,typeof l));return l}var gs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uo=!1;if(gs)try{var _a={};Object.defineProperty(_a,"passive",{get:function(){uo=!0}}),window.addEventListener("test",_a,_a),window.removeEventListener("test",_a,_a)}catch{uo=!1}var zs=null,hf=null,ku=null;function Gd(){if(ku)return ku;var r,s=hf,l=s.length,h,m="value"in zs?zs.value:zs.textContent,b=m.length;for(r=0;r<l&&s[r]===m[r];r++);var A=l-r;for(h=1;h<=A&&s[l-h]===m[b-h];h++);return ku=m.slice(r,1<h?1-h:void 0)}function Ou(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function Ru(){return!0}function Wd(){return!1}function Zr(r){function s(l,h,m,b,A){this._reactName=l,this._targetInst=m,this.type=h,this.nativeEvent=b,this.target=A,this.currentTarget=null;for(var P in r)r.hasOwnProperty(P)&&(l=r[P],this[P]=l?l(b):b[P]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Ru:Wd,this.isPropagationStopped=Wd,this}return S(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ru)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ru)},persist:function(){},isPersistent:Ru}),s}var Hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$s=Zr(Hs),pi=S({},Hs,{view:0,detail:0}),Vs=Zr(pi),Wi,Er,Kn,Lu=S({},pi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Iu,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Kn&&(Kn&&r.type==="mousemove"?(Wi=r.screenX-Kn.screenX,Er=r.screenY-Kn.screenY):Er=Wi=0,Kn=r),Wi)},movementY:function(r){return"movementY"in r?r.movementY:Er}}),Ea=Zr(Lu),Aa=S({},Lu,{dataTransfer:0}),hl=Zr(Aa),Yd=S({},pi,{relatedTarget:0}),dl=Zr(Yd),Xd=S({},Hs,{animationName:0,elapsedTime:0,pseudoElement:0}),df=Zr(Xd),pl=S({},Hs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),co=Zr(pl),gl=S({},Hs,{data:0}),fo=Zr(gl),B0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zd={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"},Qd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jd(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=Qd[r])?!!s[r]:!1}function Iu(){return Jd}
vendor: 4,996 bytes, line 9
9var ep=S({},pi,{key:function(r){if(r.key){var s=B0[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Ou(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Zd[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Iu,charCode:function(r){return r.type==="keypress"?Ou(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Ou(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Mu=Zr(ep),tp=S({},Lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pf=Zr(tp),np=S({},pi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Iu}),ml=Zr(np),ho=S({},Hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),rp=Zr(ho),z0=S({},Lu,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),H0=Zr(z0),ip=S({},Hs,{newState:0,oldState:0}),$0=Zr(ip),Gn=[9,13,27,32],vl=gs&&"CompositionEvent"in window,Jn=null;gs&&"documentMode"in document&&(Jn=document.documentMode);var V0=gs&&"TextEvent"in window&&!Jn,sp=gs&&(!vl||Jn&&8<Jn&&11>=Jn),qs=" ",si=!1;function ap(r,s){switch(r){case"keyup":return Gn.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yi(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ks=!1;function Gs(r,s){switch(r){case"compositionend":return Yi(s);case"keypress":return s.which!==32?null:(si=!0,qs);case"textInput":return r=s.data,r===qs&&si?null:r;default:return null}}function or(r,s){if(Ks)return r==="compositionend"||!vl&&ap(r,s)?(r=Gd(),ku=hf=zs=null,Ks=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return sp&&s.locale!=="ko"?null:s.data;default:return null}}var ms={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 po(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!ms[r.type]:s==="textarea"}function Nu(r,s,l,h){ao?wa?wa.push(h):wa=[h]:ao=h,s=$p(s,"onChange"),0<s.length&&(l=new $s("onChange","change",null,l,h),r.push({event:l,listeners:s}))}var c=null,d=null;function v(r){_A(r,0)}function w(r){var s=Vi(r);if(so(s))return r}function E(r,s){if(r==="change")return s}var _=!1;if(gs){var T;if(gs){var j="oninput"in document;if(!j){var k=document.createElement("div");k.setAttribute("oninput","return;"),j=typeof k.oninput=="function"}T=j}else T=!1;_=T&&(!document.documentMode||9<document.documentMode)}function q(){c&&(c.detachEvent("onpropertychange",Q),d=c=null)}function Q(r){if(r.propertyName==="value"&&w(d)){var s=[];Nu(s,d,r,Cu(r)),Bs(v,s)}}function be(r,s,l){r==="focusin"?(q(),c=s,d=l,c.attachEvent("onpropertychange",Q)):r==="focusout"&&q()}function D(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return w(d)}function ee(r,s){if(r==="click")return w(s)}function le(r,s){if(r==="input"||r==="change")return w(s)}function ae(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var de=typeof Object.is=="function"?Object.is:ae;function W(r,s){if(de(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var l=Object.keys(r),h=Object.keys(s);if(l.length!==h.length)return!1;for(h=0;h<l.length;h++){var m=l[h];if(!$n.call(s,m)||!de(r[m],s[m]))return!1}return!0}function H(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function N(r,s){var l=H(r);r=0;for(var h;l;){if(l.nodeType===3){if(h=r+l.textContent.length,r<=s&&h>=s)return{node:l,offset:s-r};r=h}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=H(l)}}function F(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?F(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function G(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var s=di(r.document);s instanceof r.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)r=s.contentWindow;else break;s=di(r.document)}return s}function ce(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}var ye=gs&&"documentMode"in document&&11>=document.documentMode,Se=null,je=null,ct=null,tt=!1;function $e(r,s,l){var h=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;
vendor: 18,157 bytes, line 9
9tt||Se==null||Se!==di(h)||(h=Se,"selectionStart"in h&&ce(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),ct&&W(ct,h)||(ct=h,h=$p(je,"onSelect"),0<h.length&&(s=new $s("onSelect","select",null,s,l),r.push({event:s,listeners:h}),s.target=Se)))}function lt(r,s){var l={};return l[r.toLowerCase()]=s.toLowerCase(),l["Webkit"+r]="webkit"+s,l["Moz"+r]="moz"+s,l}var Ye={animationend:lt("Animation","AnimationEnd"),animationiteration:lt("Animation","AnimationIteration"),animationstart:lt("Animation","AnimationStart"),transitionrun:lt("Transition","TransitionRun"),transitionstart:lt("Transition","TransitionStart"),transitioncancel:lt("Transition","TransitionCancel"),transitionend:lt("Transition","TransitionEnd")},Ue={},z={};gs&&(z=document.createElement("div").style,"AnimationEvent"in window||(delete Ye.animationend.animation,delete Ye.animationiteration.animation,delete Ye.animationstart.animation),"TransitionEvent"in window||delete Ye.transitionend.transition);function ie(r){if(Ue[r])return Ue[r];if(!Ye[r])return r;var s=Ye[r],l;for(l in s)if(s.hasOwnProperty(l)&&l in z)return Ue[r]=s[l];return r}var C=ie("animationend"),M=ie("animationiteration"),we=ie("animationstart"),he=ie("transitionrun"),We=ie("transitionstart"),ht=ie("transitioncancel"),dt=ie("transitionend"),Ht=new Map,jt="abort auxClick beforeToggle 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(" ");jt.push("scrollEnd");function tn(r,s){Ht.set(r,s),qn(s,[r])}var dr=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},Dn=[],er=0,tr=0;function Ar(){for(var r=er,s=tr=er=0;s<r;){var l=Dn[s];Dn[s++]=null;var h=Dn[s];Dn[s++]=null;var m=Dn[s];Dn[s++]=null;var b=Dn[s];if(Dn[s++]=null,h!==null&&m!==null){var A=h.pending;A===null?m.next=m:(m.next=A.next,A.next=m),h.pending=m}b!==0&&vs(l,m,b)}}function qt(r,s,l,h){Dn[er++]=r,Dn[er++]=s,Dn[er++]=l,Dn[er++]=h,tr|=h,r.lanes|=h,r=r.alternate,r!==null&&(r.lanes|=h)}function Qe(r,s,l,h){return qt(r,s,l,h),gi(r)}function Dr(r,s){return qt(r,null,null,s),gi(r)}function vs(r,s,l){r.lanes|=l;var h=r.alternate;h!==null&&(h.lanes|=l);for(var m=!1,b=r.return;b!==null;)b.childLanes|=l,h=b.alternate,h!==null&&(h.childLanes|=l),b.tag===22&&(r=b.stateNode,r===null||r._visibility&1||(m=!0)),r=b,b=b.return;return r.tag===3?(b=r.stateNode,m&&s!==null&&(m=31-Pn(l),r=b.hiddenUpdates,h=r[m],h===null?r[m]=[s]:h.push(s),s.lane=l|536870912),b):null}function gi(r){if(50<Df)throw Df=0,Xv=null,Error(i(185));for(var s=r.return;s!==null;)r=s,s=r.return;return r.tag===3?r.stateNode:null}var Ur={};function ys(r,s,l,h){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Un(r,s,l,h){return new ys(r,s,l,h)}function xr(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Cr(r,s){var l=r.alternate;return l===null?(l=Un(r.tag,s,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=s,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&65011712,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,s=r.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l.refCleanup=r.refCleanup,l}function bs(r,s){r.flags&=65011714;var l=r.alternate;return l===null?(r.childLanes=0,r.lanes=s,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=l.childLanes,r.lanes=l.lanes,r.child=l.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=l.memoizedProps,r.memoizedState=l.memoizedState,r.updateQueue=l.updateQueue,r.type=l.type,s=l.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r}function Qr(r,s,l,h,m,b){var A=0;if(h=r,typeof r=="function")xr(r)&&(A=1);else if(typeof r=="string")A=oU(r,l,He.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case oe:return r=Un(31,l,s,m),r.elementType=oe,r.lanes=b,r;case R:return Jr(l.children,m,b,s);case V:A=8,m|=24;break;case K:return r=Un(12,l,s,m|2),r.elementType=K,r.lanes=b,r;case X:return r=Un(13,l,s,m),r.elementType=X,r.lanes=b,r;case U:return r=Un(19,l,s,m),r.elementType=U,r.lanes=b,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case ne:A=10;break e;case se:A=9;break e;case J:A=11;break e;case Y:A=14;break e;case Ce:A=16,h=null;break e}A=29,l=Error(i(130,r===null?"null":typeof r,"")),h=null}return s=Un(A,l,s,m),s.elementType=r,s.type=h,s.lanes=b,s}function Jr(r,s,l,h){return r=Un(7,r,h,s),r.lanes=l,r}function ai(r,s,l){return r=Un(6,r,null,s),r.lanes=l,r}function Ws(r){var s=Un(18,null,null,0);return s.stateNode=r,s}function go(r,s,l){return s=Un(4,r.children!==null?r.children:[],r.key,s),s.lanes=l,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}var yl=new WeakMap;function jr(r,s){if(typeof r=="object"&&r!==null){var l=yl.get(r);return l!==void 0?l:(s={value:r,source:s,stack:en(s)},yl.set(r,s),s)}return{value:r,source:s,stack:en(s)}}var Pu=[],Du=0,op=null,gf=0,Xi=[],Zi=0,mo=null,Ys=1,Xs="";function xa(r,s){Pu[Du++]=gf,Pu[Du++]=op,op=r,gf=s}function oE(r,s,l){Xi[Zi++]=Ys,Xi[Zi++]=Xs,Xi[Zi++]=mo,mo=r;var h=Ys;r=Xs;var m=32-Pn(h)-1;h&=~(1<<m),l+=1;var b=32-Pn(s)+m;if(30<b){var A=m-m%5;b=(h&(1<<A)-1).toString(32),h>>=A,m-=A,Ys=1<<32-Pn(s)+m|l<<m|h,Xs=b+r}else Ys=1<<b|l<<m|h,Xs=r}function q0(r){r.return!==null&&(xa(r,1),oE(r,1,0))}function K0(r){for(;r===op;)op=Pu[--Du],Pu[Du]=null,gf=Pu[--Du],Pu[Du]=null;for(;r===mo;)mo=Xi[--Zi],Xi[Zi]=null,Xs=Xi[--Zi],Xi[Zi]=null,Ys=Xi[--Zi],Xi[Zi]=null}function lE(r,s){Xi[Zi++]=Ys,Xi[Zi++]=Xs,Xi[Zi++]=mo,Ys=s.id,Xs=s.overflow,mo=r}var Fr=null,xn=null,$t=!1,vo=null,Qi=!1,G0=Error(i(519));function yo(r){var s=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw mf(jr(s,r)),G0}function uE(r){var s=r.stateNode,l=r.type,h=r.memoizedProps;switch(s[Vn]=r,s[hr]=h,l){case"dialog":Ut("cancel",s),Ut("close",s);break;case"iframe":case"object":case"embed":Ut("load",s);break;case"video":case"audio":for(l=0;l<jf.length;l++)Ut(jf[l],s);break;case"source":Ut("error",s);break;case"img":case"image":case"link":Ut("error",s),Ut("load",s);break;case"details":Ut("toggle",s);break;case"input":Ut("invalid",s),wr(s,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":Ut("invalid",s);break;case"textarea":Ut("invalid",s),ds(s,h.value,h.defaultValue,h.children)}l=h.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||s.textContent===""+l||h.suppressHydrationWarning===!0||CA(s.textContent,l)?(h.popover!=null&&(Ut("beforetoggle",s),Ut("toggle",s)),h.onScroll!=null&&Ut("scroll",s),h.onScrollEnd!=null&&Ut("scrollend",s),h.onClick!=null&&(s.onclick=Gi),s=!0):s=!1,s||yo(r,!0)}function cE(r){for(Fr=r.return;Fr;)switch(Fr.tag){case 5:case 31:case 13:Qi=!1;return;case 27:case 3:Qi=!0;return;default:Fr=Fr.return}}function Uu(r){if(r!==Fr)return!1;if(!$t)return cE(r),$t=!0,!1;var s=r.tag,l;if((l=s!==3&&s!==27)&&((l=s===5)&&(l=r.type,l=!(l!=="form"&&l!=="button")||fy(r.type,r.memoizedProps)),l=!l),l&&xn&&yo(r),cE(r),s===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));xn=PA(r)}else if(s===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));xn=PA(r)}else s===27?(s=xn,Io(r.type)?(r=my,my=null,xn=r):xn=s):xn=Fr?es(r.stateNode.nextSibling):null;return!0}function bl(){xn=Fr=null,$t=!1}function W0(){var r=vo;return r!==null&&(bi===null?bi=r:bi.push.apply(bi,r),vo=null),r}function mf(r){vo===null?vo=[r]:vo.push(r)}var Y0=$(null),Sl=null,Ca=null;function bo(r,s,l){ze(Y0,s._currentValue),s._currentValue=l}function Ta(r){r._currentValue=Y0.current,Te(Y0)}function X0(r,s,l){for(;r!==null;){var h=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),r===l)break;r=r.return}}function Z0(r,s,l,h){var m=r.child;for(m!==null&&(m.return=r);m!==null;){var b=m.dependencies;if(b!==null){var A=m.child;b=b.firstContext;e:for(;b!==null;){var P=b;b=m;for(var re=0;re<s.length;re++)if(P.context===s[re]){b.lanes|=l,P=b.alternate,P!==null&&(P.lanes|=l),X0(b.return,l,r),h||(A=null);break e}b=P.next}}else if(m.tag===18){if(A=m.return,A===null)throw Error(i(341));A.lanes|=l,b=A.alternate,b!==null&&(b.lanes|=l),X0(A,l,r),A=null}else A=m.child;if(A!==null)A.return=m;else for(A=m;A!==null;){if(A===r){A=null;break}if(m=A.sibling,m!==null){m.return=A.return,A=m;break}A=A.return}m=A}}function ju(r,s,l,h){r=null;for(var m=s,b=!1;m!==null;){if(!b){if((m.flags&524288)!==0)b=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var A=m.alternate;if(A===null)throw Error(i(387));if(A=A.memoizedProps,A!==null){var P=m.type;de(m.pendingProps.value,A.value)||(r!==null?r.push(P):r=[P])}}else if(m===at.current){if(A=m.alternate,A===null)throw Error(i(387));A.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(r!==null?r.push($f):r=[$f])}m=m.return}r!==null&&Z0(s,r,l,h),s.flags|=262144}function lp(r){for(r=r.firstContext;r!==null;){if(!de(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function wl(r){Sl=r,Ca=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Br(r){return fE(Sl,r)}function up(r,s){return Sl===null&&wl(r),fE(r,s)}function fE(r,s){var l=s._currentValue;if(s={context:s,memoizedValue:l,next:null},Ca===null){if(r===null)throw Error(i(308));Ca=s,r.dependencies={lanes:0,firstContext:s},r.flags|=524288}else Ca=Ca.next=s;return l}var rD=typeof AbortController<"u"?AbortController:function(){var r=[],s=this.signal={aborted:!1,addEventListener:function(l,h){r.push(h)}};this.abort=function(){s.aborted=!0,r.forEach(function(l){return l()})}},iD=e.unstable_scheduleCallback,sD=e.unstable_NormalPriority,lr={$$typeof:ne,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Q0(){return{controller:new rD,data:new Map,refCount:0}}function vf(r){r.refCount--,r.refCount===0&&iD(sD,function(){r.controller.abort()})}var yf=null,J0=0,Fu=0,Bu=null;function aD(r,s){if(yf===null){var l=yf=[];J0=0,Fu=ny(),Bu={status:"pending",value:void 0,then:function(h){l.push(h)}}}return J0++,s.then(hE,hE),s}function hE(){if(--J0===0&&yf!==null){Bu!==null&&(Bu.status="fulfilled");var r=yf;yf=null,Fu=0,Bu=null;for(var s=0;s<r.length;s++)(0,r[s])()}}function oD(r,s){var l=[],h={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return r.then(function(){h.status="fulfilled",h.value=s;for(var m=0;m<l.length;m++)(0,l[m])(s)},function(m){for(h.status="rejected",h.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),h}var dE=Z.S;Z.S=function(r,s){X2=Ot(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&aD(r,s),dE!==null&&dE(r,s)};var _l=$(null);function ev(){var r=_l.current;return r!==null?r:Sn.pooledCache}function cp(r,s){s===null?ze(_l,_l.current):ze(_l,s.pool)}function pE(){var r=ev();return r===null?null:{parent:lr._currentValue,pool:r}}var zu=Error(i(460)),tv=Error(i(474)),fp=Error(i(542)),hp={then:function(){}};function gE(r){return r=r.status,r==="fulfilled"||r==="rejected"}function mE(r,s,l){switch(l=r[l],l===void 0?r.push(s):l!==s&&(s.then(Gi,Gi),s=l),s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,yE(r),r;default:if(typeof s.status=="string")s.then(Gi,Gi);else{if(r=Sn,r!==null&&100<r.shellSuspendCounter)throw Error(i(482));r=s,r.status="pending",r.then(function(h){if(s.status==="pending"){var m=s;m.status="fulfilled",m.value=h}},function(h){if(s.status==="pending"){var m=s;m.status="rejected",m.reason=h}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,yE(r),r}throw Al=s,zu}}function El(r){try{var s=r._init;return s(r._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Al=l,zu):l}}var Al=null;function vE(){if(Al===null)throw Error(i(459));var r=Al;return Al=null,r}function yE(r){if(r===zu||r===fp)throw Error(i(483))}var Hu=null,bf=0;function dp(r){var s=bf;return bf+=1,Hu===null&&(Hu=[]),mE(Hu,r,s)}function Sf(r,s){s=s.props.ref,r.ref=s!==void 0?s:null}function pp(r,s){throw s.$$typeof===x?Error(i(525)):(r=Object.prototype.toString.call(s),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r)))}function bE(r){function s(ve,fe){if(r){var Ee=ve.deletions;Ee===null?(ve.deletions=[fe],ve.flags|=16):Ee.push(fe)}}function l(ve,fe){if(!r)return null;for(;fe!==null;)s(ve,fe),fe=fe.sibling;return null}function h(ve){for(var fe=new Map;ve!==null;)ve.key!==null?fe.set(ve.key,ve):fe.set(ve.index,ve),ve=ve.sibling;return fe}function m(ve,fe){return ve=Cr(ve,fe),ve.index=0,ve.sibling=null,ve}function b(ve,fe,Ee){return ve.index=Ee,r?(Ee=ve.alternate,Ee!==null?(Ee=Ee.index,Ee<fe?(ve.flags|=67108866,fe):Ee):(ve.flags|=67108866,fe)):(ve.flags|=1048576,fe)}function A(ve){return r&&ve.alternate===null&&(ve.flags|=67108866),ve}function P(ve,fe,Ee,Ne){return fe===null||fe.tag!==6?(fe=ai(Ee,ve.mode,Ne),fe.return=ve,fe):(fe=m(fe,Ee),fe.return=ve,fe)}function re(ve,fe,Ee,Ne){var ft=Ee.type;return ft===R?Le(ve,fe,Ee.props.children,Ne,Ee.key):fe!==null&&(fe.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===Ce&&El(ft)===fe.type)?(fe=m(fe,Ee.props),Sf(fe,Ee),fe.return=ve,fe):(fe=Qr(Ee.type,Ee.key,Ee.props,null,ve.mode,Ne),Sf(fe,Ee),fe.return=ve,fe)}function Ae(ve,fe,Ee,Ne){return fe===null||fe.tag!==4||fe.stateNode.containerInfo!==Ee.containerInfo||fe.stateNode.implementation!==Ee.implementation?(fe=go(Ee,ve.mode,Ne),fe.return=ve,fe):(fe=m(fe,Ee.children||[]),fe.return=ve,fe)}function Le(ve,fe,Ee,Ne,ft){return fe===null||fe.tag!==7?(fe=Jr(Ee,ve.mode,Ne,ft),fe.return=ve,fe):(fe=m(fe,Ee),fe.return=ve,fe)}function Pe(ve,fe,Ee){if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return fe=ai(""+fe,ve.mode,Ee),fe.return=ve,fe;if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case O:return Ee=Qr(fe.type,fe.key,fe.props,null,ve.mode,Ee),Sf(Ee,fe),Ee.return=ve,Ee;case L:return fe=go(fe,ve.mode,Ee),fe.return=ve,fe;case Ce:return fe=El(fe),Pe(ve,fe,Ee)}if(De(fe)||I(fe))return fe=Jr(fe,ve.mode,Ee,null),fe.return=ve,fe;if(typeof fe.then=="function")return Pe(ve,dp(fe),Ee);if(fe.$$typeof===ne)return Pe(ve,up(ve,fe),Ee);pp(ve,fe)}return null}function xe(ve,fe,Ee,Ne){var ft=fe!==null?fe.key:null;if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint")return ft!==null?null:P(ve,fe,""+Ee,Ne);if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case O:return Ee.key===ft?re(ve,fe,Ee,Ne):null;case L:return Ee.key===ft?Ae(ve,fe,Ee,Ne):null;case Ce:return Ee=El(Ee),xe(ve,fe,Ee,Ne)}if(De(Ee)||I(Ee))return ft!==null?null:Le(ve,fe,Ee,Ne,null);if(typeof Ee.then=="function")return xe(ve,fe,dp(Ee),Ne);if(Ee.$$typeof===ne)return xe(ve,fe,up(ve,Ee),Ne);pp(ve,Ee)}return null}function Oe(ve,fe,Ee,Ne,ft){if(typeof Ne=="string"&&Ne!==""||typeof Ne=="number"||typeof Ne=="bigint")return ve=ve.get(Ee)||null,P(fe,ve,""+Ne,ft);if(typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case O:return ve=ve.get(Ne.key===null?Ee:Ne.key)||null,re(fe,ve,Ne,ft);case L:return ve=ve.get(Ne.key===null?Ee:Ne.key)||null,Ae(fe,ve,Ne,ft);case Ce:return Ne=El(Ne),Oe(ve,fe,Ee,Ne,ft)}if(De(Ne)||I(Ne))return ve=ve.get(Ee)||null,Le(fe,ve,Ne,ft,null);if(typeof Ne.then=="function")return Oe(ve,fe,Ee,dp(Ne),ft);if(Ne.$$typeof===ne)return Oe(ve,fe,Ee,up(fe,Ne),ft);pp(fe,Ne)}return null}function Je(ve,fe,Ee,Ne){for(var ft=null,Gt=null,st=fe,Ct=fe=0,Bt=null;st!==null&&Ct<Ee.length;Ct++){st.index>Ct?(Bt=st,st=null):Bt=st.sibling;var Wt=xe(ve,st,Ee[Ct],Ne);if(Wt===null){st===null&&(st=Bt);break}r&&st&&Wt.alternate===null&&s(ve,st),fe=b(Wt,fe,Ct),Gt===null?ft=Wt:Gt.sibling=Wt,Gt=Wt,st=Bt}if(Ct===Ee.length)return l(ve,st),$t&&xa(ve,Ct),ft;if(st===null){for(;Ct<Ee.length;Ct++)st=Pe(ve,Ee[Ct],Ne),st!==null&&(fe=b(st,fe,Ct),Gt===null?ft=st:Gt.sibling=st,Gt=st);return $t&&xa(ve,Ct),ft}for(st=h(st);Ct<Ee.length;Ct++)Bt=Oe(st,ve,Ct,Ee[Ct],Ne),Bt!==null&&(r&&Bt.alternate!==null&&st.delete(Bt.key===null?Ct:Bt.key),fe=b(Bt,fe,Ct),Gt===null?ft=Bt:Gt.sibling=Bt,Gt=Bt);return r&&st.forEach(function(Uo){return s(ve,Uo)}),$t&&xa(ve,Ct),ft}function pt(ve,fe,Ee,Ne){if(Ee==null)throw Error(i(151));for(var ft=null,Gt=null,st=fe,Ct=fe=0,Bt=null,Wt=Ee.next();st!==null&&!Wt.done;Ct++,Wt=Ee.next()){st.index>Ct?(Bt=st,st=null):Bt=st.sibling;var Uo=xe(ve,st,Wt.value,Ne);if(Uo===null){st===null&&(st=Bt);break}r&&st&&Uo.alternate===null&&s(ve,st),fe=b(Uo,fe,Ct),Gt===null?ft=Uo:Gt.sibling=Uo,Gt=Uo,st=Bt}if(Wt.done)return l(ve,st),$t&&xa(ve,Ct),ft;if(st===null){for(;!Wt.done;Ct++,Wt=Ee.next())Wt=Pe(ve,Wt.value,Ne),Wt!==null&&(fe=b(Wt,fe,Ct),Gt===null?ft
vendor: 3,283 bytes, line 9
9=Wt:Gt.sibling=Wt,Gt=Wt);return $t&&xa(ve,Ct),ft}for(st=h(st);!Wt.done;Ct++,Wt=Ee.next())Wt=Oe(st,ve,Ct,Wt.value,Ne),Wt!==null&&(r&&Wt.alternate!==null&&st.delete(Wt.key===null?Ct:Wt.key),fe=b(Wt,fe,Ct),Gt===null?ft=Wt:Gt.sibling=Wt,Gt=Wt);return r&&st.forEach(function(yU){return s(ve,yU)}),$t&&xa(ve,Ct),ft}function gn(ve,fe,Ee,Ne){if(typeof Ee=="object"&&Ee!==null&&Ee.type===R&&Ee.key===null&&(Ee=Ee.props.children),typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case O:e:{for(var ft=Ee.key;fe!==null;){if(fe.key===ft){if(ft=Ee.type,ft===R){if(fe.tag===7){l(ve,fe.sibling),Ne=m(fe,Ee.props.children),Ne.return=ve,ve=Ne;break e}}else if(fe.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===Ce&&El(ft)===fe.type){l(ve,fe.sibling),Ne=m(fe,Ee.props),Sf(Ne,Ee),Ne.return=ve,ve=Ne;break e}l(ve,fe);break}else s(ve,fe);fe=fe.sibling}Ee.type===R?(Ne=Jr(Ee.props.children,ve.mode,Ne,Ee.key),Ne.return=ve,ve=Ne):(Ne=Qr(Ee.type,Ee.key,Ee.props,null,ve.mode,Ne),Sf(Ne,Ee),Ne.return=ve,ve=Ne)}return A(ve);case L:e:{for(ft=Ee.key;fe!==null;){if(fe.key===ft)if(fe.tag===4&&fe.stateNode.containerInfo===Ee.containerInfo&&fe.stateNode.implementation===Ee.implementation){l(ve,fe.sibling),Ne=m(fe,Ee.children||[]),Ne.return=ve,ve=Ne;break e}else{l(ve,fe);break}else s(ve,fe);fe=fe.sibling}Ne=go(Ee,ve.mode,Ne),Ne.return=ve,ve=Ne}return A(ve);case Ce:return Ee=El(Ee),gn(ve,fe,Ee,Ne)}if(De(Ee))return Je(ve,fe,Ee,Ne);if(I(Ee)){if(ft=I(Ee),typeof ft!="function")throw Error(i(150));return Ee=ft.call(Ee),pt(ve,fe,Ee,Ne)}if(typeof Ee.then=="function")return gn(ve,fe,dp(Ee),Ne);if(Ee.$$typeof===ne)return gn(ve,fe,up(ve,Ee),Ne);pp(ve,Ee)}return typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint"?(Ee=""+Ee,fe!==null&&fe.tag===6?(l(ve,fe.sibling),Ne=m(fe,Ee),Ne.return=ve,ve=Ne):(l(ve,fe),Ne=ai(Ee,ve.mode,Ne),Ne.return=ve,ve=Ne),A(ve)):l(ve,fe)}return function(ve,fe,Ee,Ne){try{bf=0;var ft=gn(ve,fe,Ee,Ne);return Hu=null,ft}catch(st){if(st===zu||st===fp)throw st;var Gt=Un(29,st,null,ve.mode);return Gt.lanes=Ne,Gt.return=ve,Gt}}}var xl=bE(!0),SE=bE(!1),So=!1;function nv(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function rv(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function wo(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function _o(r,s,l){var h=r.updateQueue;if(h===null)return null;if(h=h.shared,(nn&2)!==0){var m=h.pending;return m===null?s.next=s:(s.next=m.next,m.next=s),h.pending=s,s=gi(r),vs(r,null,l),s}return qt(r,h,s,l),gi(r)}function wf(r,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194048)!==0)){var h=s.lanes;h&=r.pendingLanes,l|=h,s.lanes=l,xi(r,l)}}function iv(r,s){var l=r.updateQueue,h=r.alternate;if(h!==null&&(h=h.updateQueue,l===h)){var m=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var A={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?m=b=A:b=b.next=A,l=l.next}while(l!==null);b===null?m=b=s:b=b.next=s}else m=b=s;l={baseState:h.baseState,firstBaseUpdate:m,lastBaseUpdate:b,shared:h.shared,callbacks:h.callbacks},r.updateQueue=l;return}
vendor: 4,289 bytes, line 9
9r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=s:r.next=s,l.lastBaseUpdate=s}var sv=!1;function _f(){if(sv){var r=Bu;if(r!==null)throw r}}function Ef(r,s,l,h){sv=!1;var m=r.updateQueue;So=!1;var b=m.firstBaseUpdate,A=m.lastBaseUpdate,P=m.shared.pending;if(P!==null){m.shared.pending=null;var re=P,Ae=re.next;re.next=null,A===null?b=Ae:A.next=Ae,A=re;var Le=r.alternate;Le!==null&&(Le=Le.updateQueue,P=Le.lastBaseUpdate,P!==A&&(P===null?Le.firstBaseUpdate=Ae:P.next=Ae,Le.lastBaseUpdate=re))}if(b!==null){var Pe=m.baseState;A=0,Le=Ae=re=null,P=b;do{var xe=P.lane&-536870913,Oe=xe!==P.lane;if(Oe?(Ft&xe)===xe:(h&xe)===xe){xe!==0&&xe===Fu&&(sv=!0),Le!==null&&(Le=Le.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var Je=r,pt=P;xe=s;var gn=l;switch(pt.tag){case 1:if(Je=pt.payload,typeof Je=="function"){Pe=Je.call(gn,Pe,xe);break e}Pe=Je;break e;case 3:Je.flags=Je.flags&-65537|128;case 0:if(Je=pt.payload,xe=typeof Je=="function"?Je.call(gn,Pe,xe):Je,xe==null)break e;Pe=S({},Pe,xe);break e;case 2:So=!0}}xe=P.callback,xe!==null&&(r.flags|=64,Oe&&(r.flags|=8192),Oe=m.callbacks,Oe===null?m.callbacks=[xe]:Oe.push(xe))}else Oe={lane:xe,tag:P.tag,payload:P.payload,callback:P.callback,next:null},Le===null?(Ae=Le=Oe,re=Pe):Le=Le.next=Oe,A|=xe;if(P=P.next,P===null){if(P=m.shared.pending,P===null)break;Oe=P,P=Oe.next,Oe.next=null,m.lastBaseUpdate=Oe,m.shared.pending=null}}while(!0);Le===null&&(re=Pe),m.baseState=re,m.firstBaseUpdate=Ae,m.lastBaseUpdate=Le,b===null&&(m.shared.lanes=0),To|=A,r.lanes=A,r.memoizedState=Pe}}function wE(r,s){if(typeof r!="function")throw Error(i(191,r));r.call(s)}function _E(r,s){var l=r.callbacks;if(l!==null)for(r.callbacks=null,r=0;r<l.length;r++)wE(l[r],s)}var $u=$(null),gp=$(0);function EE(r,s){r=Da,ze(gp,r),ze($u,s),Da=r|s.baseLanes}function av(){ze(gp,Da),ze($u,$u.current)}function ov(){Da=gp.current,Te($u),Te(gp)}var ki=$(null),Ji=null;function Eo(r){var s=r.alternate;ze(nr,nr.current&1),ze(ki,r),Ji===null&&(s===null||$u.current!==null||s.memoizedState!==null)&&(Ji=r)}function lv(r){ze(nr,nr.current),ze(ki,r),Ji===null&&(Ji=r)}function AE(r){r.tag===22?(ze(nr,nr.current),ze(ki,r),Ji===null&&(Ji=r)):Ao()}function Ao(){ze(nr,nr.current),ze(ki,ki.current)}function Oi(r){Te(ki),Ji===r&&(Ji=null),Te(nr)}var nr=$(0);function mp(r){for(var s=r;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||py(l)||gy(l)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var ka=0,Et=null,dn=null,ur=null,vp=!1,Vu=!1,Cl=!1,yp=0,Af=0,qu=null,lD=0;function Wn(){throw Error(i(321))}function uv(r,s){if(s===null)return!1;for(var l=0;l<s.length&&l<r.length;l++)if(!de(r[l],s[l]))return!1;return!0}function cv(r,s,l,h,m,b){return ka=b,Et=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Z.H=r===null||r.memoizedState===null?o2:xv,Cl=!1,b=l(h,m),Cl=!1,Vu&&(b=CE(s,l,h,m)),xE(r),b}function xE(r){Z.H=Tf;var s=dn!==null&&dn.next!==null;if(ka=0,ur=dn=Et=null,vp=!1,Af=0,qu=null,s)throw Error(i(300));r===null||cr||(r=r.dependencies,r!==null&&lp(r)&&(cr=!0))}function CE(r,s,l,h){Et=r;var m=0;do{if(Vu&&(qu=null),Af=0,Vu=!1,25<=m)throw Error(i(301));if(m+=1,ur=dn=null,r.updateQueue!=null){var b=r.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}Z.H=l2,b=s(l,h)}while(Vu);return b}function uD(){var r=Z.H,s=r.useState()[0];return s=typeof s.then=="function"?xf(s):s,r=r.useState()[0],(dn!==null?dn.memoizedState:null)!==r&&(Et.flags|=1024),s}function fv(){var r=yp!==0;return yp=0,r}function hv(r,s,l){s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~l}function dv(r){if(vp){for(r=r.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}vp=!1}ka=0,ur=dn=Et=null,Vu=!1,Af=yp=0,qu=null}function oi(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ur===null?Et.memoizedState=ur=r:ur=ur.next=r,ur}
vendor: 4,950 bytes, line 9
9function rr(){if(dn===null){var r=Et.alternate;r=r!==null?r.memoizedState:null}else r=dn.next;var s=ur===null?Et.memoizedState:ur.next;if(s!==null)ur=s,dn=r;else{if(r===null)throw Et.alternate===null?Error(i(467)):Error(i(310));dn=r,r={memoizedState:dn.memoizedState,baseState:dn.baseState,baseQueue:dn.baseQueue,queue:dn.queue,next:null},ur===null?Et.memoizedState=ur=r:ur=ur.next=r}return ur}function bp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xf(r){var s=Af;return Af+=1,qu===null&&(qu=[]),r=mE(qu,r,s),s=Et,(ur===null?s.memoizedState:ur.next)===null&&(s=s.alternate,Z.H=s===null||s.memoizedState===null?o2:xv),r}function Sp(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return xf(r);if(r.$$typeof===ne)return Br(r)}throw Error(i(438,String(r)))}function pv(r){var s=null,l=Et.updateQueue;if(l!==null&&(s=l.memoCache),s==null){var h=Et.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(s={data:h.data.map(function(m){return m.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),l===null&&(l=bp(),Et.updateQueue=l),l.memoCache=s,l=s.data[s.index],l===void 0)for(l=s.data[s.index]=Array(r),h=0;h<r;h++)l[h]=_e;return s.index++,l}function Oa(r,s){return typeof s=="function"?s(r):s}function wp(r){var s=rr();return gv(s,dn,r)}function gv(r,s,l){var h=r.queue;if(h===null)throw Error(i(311));h.lastRenderedReducer=l;var m=r.baseQueue,b=h.pending;if(b!==null){if(m!==null){var A=m.next;m.next=b.next,b.next=A}s.baseQueue=m=b,h.pending=null}if(b=r.baseState,m===null)r.memoizedState=b;else{s=m.next;var P=A=null,re=null,Ae=s,Le=!1;do{var Pe=Ae.lane&-536870913;if(Pe!==Ae.lane?(Ft&Pe)===Pe:(ka&Pe)===Pe){var xe=Ae.revertLane;if(xe===0)re!==null&&(re=re.next={lane:0,revertLane:0,gesture:null,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null}),Pe===Fu&&(Le=!0);else if((ka&xe)===xe){Ae=Ae.next,xe===Fu&&(Le=!0);continue}else Pe={lane:0,revertLane:Ae.revertLane,gesture:null,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null},re===null?(P=re=Pe,A=b):re=re.next=Pe,Et.lanes|=xe,To|=xe;Pe=Ae.action,Cl&&l(b,Pe),b=Ae.hasEagerState?Ae.eagerState:l(b,Pe)}else xe={lane:Pe,revertLane:Ae.revertLane,gesture:Ae.gesture,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null},re===null?(P=re=xe,A=b):re=re.next=xe,Et.lanes|=Pe,To|=Pe;Ae=Ae.next}while(Ae!==null&&Ae!==s);if(re===null?A=b:re.next=P,!de(b,r.memoizedState)&&(cr=!0,Le&&(l=Bu,l!==null)))throw l;r.memoizedState=b,r.baseState=A,r.baseQueue=re,h.lastRenderedState=b}return m===null&&(h.lanes=0),[r.memoizedState,h.dispatch]}function mv(r){var s=rr(),l=s.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=r;var h=l.dispatch,m=l.pending,b=s.memoizedState;if(m!==null){l.pending=null;var A=m=m.next;do b=r(b,A.action),A=A.next;while(A!==m);de(b,s.memoizedState)||(cr=!0),s.memoizedState=b,s.baseQueue===null&&(s.baseState=b),l.lastRenderedState=b}return[b,h]}function TE(r,s,l){var h=Et,m=rr(),b=$t;if(b){if(l===void 0)throw Error(i(407));l=l()}else l=s();var A=!de((dn||m).memoizedState,l);if(A&&(m.memoizedState=l,cr=!0),m=m.queue,bv(RE.bind(null,h,m,r),[r]),m.getSnapshot!==s||A||ur!==null&&ur.memoizedState.tag&1){if(h.flags|=2048,Ku(9,{destroy:void 0},OE.bind(null,h,m,l,s),null),Sn===null)throw Error(i(349));b||(ka&127)!==0||kE(h,s,l)}return l}function kE(r,s,l){r.flags|=16384,r={getSnapshot:s,value:l},s=Et.updateQueue,s===null?(s=bp(),Et.updateQueue=s,s.stores=[r]):(l=s.stores,l===null?s.stores=[r]:l.push(r))}function OE(r,s,l,h){s.value=l,s.getSnapshot=h,LE(s)&&IE(r)}function RE(r,s,l){return l(function(){LE(s)&&IE(r)})}function LE(r){var s=r.getSnapshot;r=r.value;try{var l=s();return!de(r,l)}catch{return!0}}function IE(r){var s=Dr(r,2);s!==null&&Si(s,r,2)}function vv(r){var s=oi();if(typeof r=="function"){var l=r;if(r=l(),Cl){vr(!0);try{l()}finally{vr(!1)}}}return s.memoizedState=s.baseState=r,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:r},s}function ME(r,s,l,h){return r.baseState=l,gv(r,dn,typeof h=="function"?h:Oa)}function cD(r,s,l,h,m){if(Ap(r))throw Error(i(485));if(r=s.action,r!==null){var b={payload:m,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){b.listeners.push(A)}};Z.T!==null?l(!0):b.isTransition=!1,h(b),l=s.pending,l===null?(b.next=s.pending=b,NE(s,b)):(b.next=l.next,s.pending=l.next=b)}}function NE(r,s){var l=s.action,h=s.payload,m=r.state;if(s.isTransition){var b=Z.T,A={};Z.T=A;try{var P=l(m,h),re=Z.S;re!==null&&re(A,P),PE(r,s,P)}catch(Ae){yv(r,s,Ae)}finally{b!==null&&A.types!==null&&(b.types=A.types),Z.T=b}}else try{b=l(m,h),PE(r,s,b)}catch(Ae){yv(r,s,Ae)}}function PE(r,s,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(h){DE(r,s,h)},function(h){return yv(r,s,h)}):DE(r,s,l)}function DE(r,s,l){s.status="fulfilled",s.value=l,UE(s),r.state=l,s=r.pen
vendor: 5,991 bytes, line 9
9ding,s!==null&&(l=s.next,l===s?r.pending=null:(l=l.next,s.next=l,NE(r,l)))}function yv(r,s,l){var h=r.pending;if(r.pending=null,h!==null){h=h.next;do s.status="rejected",s.reason=l,UE(s),s=s.next;while(s!==h)}r.action=null}function UE(r){r=r.listeners;for(var s=0;s<r.length;s++)(0,r[s])()}function jE(r,s){return s}function FE(r,s){if($t){var l=Sn.formState;if(l!==null){e:{var h=Et;if($t){if(xn){t:{for(var m=xn,b=Qi;m.nodeType!==8;){if(!b){m=null;break t}if(m=es(m.nextSibling),m===null){m=null;break t}}b=m.data,m=b==="F!"||b==="F"?m:null}if(m){xn=es(m.nextSibling),h=m.data==="F!";break e}}yo(h)}h=!1}h&&(s=l[0])}}return l=oi(),l.memoizedState=l.baseState=s,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jE,lastRenderedState:s},l.queue=h,l=i2.bind(null,Et,h),h.dispatch=l,h=vv(!1),b=Av.bind(null,Et,!1,h.queue),h=oi(),m={state:s,dispatch:null,action:r,pending:null},h.queue=m,l=cD.bind(null,Et,m,b,l),m.dispatch=l,h.memoizedState=r,[s,l,!1]}function BE(r){var s=rr();return zE(s,dn,r)}function zE(r,s,l){if(s=gv(r,s,jE)[0],r=wp(Oa)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var h=xf(s)}catch(A){throw A===zu?fp:A}else h=s;s=rr();var m=s.queue,b=m.dispatch;return l!==s.memoizedState&&(Et.flags|=2048,Ku(9,{destroy:void 0},fD.bind(null,m,l),null)),[h,b,r]}function fD(r,s){r.action=s}function HE(r){var s=rr(),l=dn;if(l!==null)return zE(s,l,r);rr(),s=s.memoizedState,l=rr();var h=l.queue.dispatch;return l.memoizedState=r,[s,h,!1]}function Ku(r,s,l,h){return r={tag:r,create:l,deps:h,inst:s,next:null},s=Et.updateQueue,s===null&&(s=bp(),Et.updateQueue=s),l=s.lastEffect,l===null?s.lastEffect=r.next=r:(h=l.next,l.next=r,r.next=h,s.lastEffect=r),r}function $E(){return rr().memoizedState}function _p(r,s,l,h){var m=oi();Et.flags|=r,m.memoizedState=Ku(1|s,{destroy:void 0},l,h===void 0?null:h)}function Ep(r,s,l,h){var m=rr();h=h===void 0?null:h;var b=m.memoizedState.inst;dn!==null&&h!==null&&uv(h,dn.memoizedState.deps)?m.memoizedState=Ku(s,b,l,h):(Et.flags|=r,m.memoizedState=Ku(1|s,b,l,h))}function VE(r,s){_p(8390656,8,r,s)}function bv(r,s){Ep(2048,8,r,s)}function hD(r){Et.flags|=4;var s=Et.updateQueue;if(s===null)s=bp(),Et.updateQueue=s,s.events=[r];else{var l=s.events;l===null?s.events=[r]:l.push(r)}}function qE(r){var s=rr().memoizedState;return hD({ref:s,nextImpl:r}),function(){if((nn&2)!==0)throw Error(i(440));return s.impl.apply(void 0,arguments)}}function KE(r,s){return Ep(4,2,r,s)}function GE(r,s){return Ep(4,4,r,s)}function WE(r,s){if(typeof s=="function"){r=r();var l=s(r);return function(){typeof l=="function"?l():s(null)}}if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function YE(r,s,l){l=l!=null?l.concat([r]):null,Ep(4,4,WE.bind(null,s,r),l)}function Sv(){}function XE(r,s){var l=rr();s=s===void 0?null:s;var h=l.memoizedState;return s!==null&&uv(s,h[1])?h[0]:(l.memoizedState=[r,s],r)}function ZE(r,s){var l=rr();s=s===void 0?null:s;var h=l.memoizedState;if(s!==null&&uv(s,h[1]))return h[0];if(h=r(),Cl){vr(!0);try{r()}finally{vr(!1)}}return l.memoizedState=[h,s],h}function wv(r,s,l){return l===void 0||(ka&1073741824)!==0&&(Ft&261930)===0?r.memoizedState=s:(r.memoizedState=l,r=Q2(),Et.lanes|=r,To|=r,l)}function QE(r,s,l,h){return de(l,s)?l:$u.current!==null?(r=wv(r,l,h),de(r,s)||(cr=!0),r):(ka&42)===0||(ka&1073741824)!==0&&(Ft&261930)===0?(cr=!0,r.memoizedState=l):(r=Q2(),Et.lanes|=r,To|=r,s)}function JE(r,s,l,h,m){var b=ke.p;ke.p=b!==0&&8>b?b:8;var A=Z.T,P={};Z.T=P,Av(r,!1,s,l);try{var re=m(),Ae=Z.S;if(Ae!==null&&Ae(P,re),re!==null&&typeof re=="object"&&typeof re.then=="function"){var Le=oD(re,h);Cf(r,s,Le,Ii(r))}else Cf(r,s,h,Ii(r))}catch(Pe){Cf(r,s,{then:function(){},status:"rejected",reason:Pe},Ii())}finally{ke.p=b,A!==null&&P.types!==null&&(A.types=P.types),Z.T=A}}function dD(){}function _v(r,s,l,h){if(r.tag!==5)throw Error(i(476));var m=e2(r).queue;JE(r,m,s,Ie,l===null?dD:function(){return t2(r),l(h)})}function e2(r){var s=r.memoizedState;if(s!==null)return s;s={memoizedState:Ie,baseState:Ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:Ie},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:l},next:null},r.memoizedState=s,r=r.alternate,r!==null&&(r.memoizedState=s),s}function t2(r){var s=e2(r);s.next===null&&(s=r.alternate.memoizedState),Cf(r,s.next.queue,{},Ii())}function Ev(){return Br($f)}function n2(){return rr().memoizedState}function r2(){return rr().memoizedState}function pD(r){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var l=Ii();r=wo(l);var h=_o(s,r,l);h!==null&&(Si(h,s,l),wf(h,s,l)),s={cache:Q0()},r.payload=s;return}s=s.return}}function gD(r,s,l){var h=Ii();l={lane:h,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ap(r)?s2(s,l):(l=Qe(r,s,l,h),l!==null&&(Si(l,r,h),a2(l,s,h)))}function i2(r,s,l){var h=Ii();Cf(r,s,l,h)}function Cf(r,s,l,h){var m={lane:h,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ap(r))s2(s,m);else{var b=r.alternate;if(r.lanes===0&&(b===null||b.lanes===0)&&(b=s.lastRenderedReducer,b!==null))try{var A=s.lastRenderedState,P=b(A,l);if(m.hasEagerState=!0,m.eagerState=P,de(P,A))return qt(r,s,m,0),Sn===null&&Ar(),!1}catch{}if(l=Qe(r,s,m,h),l!==null)return Si(l,r,h),a2(l,s,h),!0}return!1}function Av(r,s,l,h){if(h={lane:2,revertLane:ny(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},Ap(r)){if(s)throw Error(i(479))}else s=Qe(r,l,h,2),s!==null&&Si(s,r,2)}function Ap(r){var s=r.alternate;return r===Et||s!==null&&s===Et}function s2(r,s){Vu=vp=!0;var l=r.pending;l===null?s.next=s:(s.next=l.next,l.next=s),r.pending=s}function a2(r,s,l){if((l&4194048)!==0){var h=s.lanes;h&=r.pendingLanes,l|=h,s.lanes=l,xi(r,l)}}var Tf={readContext:Br,use:Sp,useCallback:Wn,useContext:Wn,useEffect:Wn,useImperativeHandle:Wn,useLayoutEffect:Wn,useInsertionEffect:Wn,useMemo:Wn,useReducer:Wn,useRef
vendor: 8,894 bytes, line 9
9:Wn,useState:Wn,useDebugValue:Wn,useDeferredValue:Wn,useTransition:Wn,useSyncExternalStore:Wn,useId:Wn,useHostTransitionStatus:Wn,useFormState:Wn,useActionState:Wn,useOptimistic:Wn,useMemoCache:Wn,useCacheRefresh:Wn};Tf.useEffectEvent=Wn;var o2={readContext:Br,use:Sp,useCallback:function(r,s){return oi().memoizedState=[r,s===void 0?null:s],r},useContext:Br,useEffect:VE,useImperativeHandle:function(r,s,l){l=l!=null?l.concat([r]):null,_p(4194308,4,WE.bind(null,s,r),l)},useLayoutEffect:function(r,s){return _p(4194308,4,r,s)},useInsertionEffect:function(r,s){_p(4,2,r,s)},useMemo:function(r,s){var l=oi();s=s===void 0?null:s;var h=r();if(Cl){vr(!0);try{r()}finally{vr(!1)}}return l.memoizedState=[h,s],h},useReducer:function(r,s,l){var h=oi();if(l!==void 0){var m=l(s);if(Cl){vr(!0);try{l(s)}finally{vr(!1)}}}else m=s;return h.memoizedState=h.baseState=m,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:m},h.queue=r,r=r.dispatch=gD.bind(null,Et,r),[h.memoizedState,r]},useRef:function(r){var s=oi();return r={current:r},s.memoizedState=r},useState:function(r){r=vv(r);var s=r.queue,l=i2.bind(null,Et,s);return s.dispatch=l,[r.memoizedState,l]},useDebugValue:Sv,useDeferredValue:function(r,s){var l=oi();return wv(l,r,s)},useTransition:function(){var r=vv(!1);return r=JE.bind(null,Et,r.queue,!0,!1),oi().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,s,l){var h=Et,m=oi();if($t){if(l===void 0)throw Error(i(407));l=l()}else{if(l=s(),Sn===null)throw Error(i(349));(Ft&127)!==0||kE(h,s,l)}m.memoizedState=l;var b={value:l,getSnapshot:s};return m.queue=b,VE(RE.bind(null,h,b,r),[r]),h.flags|=2048,Ku(9,{destroy:void 0},OE.bind(null,h,b,l,s),null),l},useId:function(){var r=oi(),s=Sn.identifierPrefix;if($t){var l=Xs,h=Ys;l=(h&~(1<<32-Pn(h)-1)).toString(32)+l,s="_"+s+"R_"+l,l=yp++,0<l&&(s+="H"+l.toString(32)),s+="_"}else l=lD++,s="_"+s+"r_"+l.toString(32)+"_";return r.memoizedState=s},useHostTransitionStatus:Ev,useFormState:FE,useActionState:FE,useOptimistic:function(r){var s=oi();s.memoizedState=s.baseState=r;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=l,s=Av.bind(null,Et,!0,l),l.dispatch=s,[r,s]},useMemoCache:pv,useCacheRefresh:function(){return oi().memoizedState=pD.bind(null,Et)},useEffectEvent:function(r){var s=oi(),l={impl:r};return s.memoizedState=l,function(){if((nn&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},xv={readContext:Br,use:Sp,useCallback:XE,useContext:Br,useEffect:bv,useImperativeHandle:YE,useInsertionEffect:KE,useLayoutEffect:GE,useMemo:ZE,useReducer:wp,useRef:$E,useState:function(){return wp(Oa)},useDebugValue:Sv,useDeferredValue:function(r,s){var l=rr();return QE(l,dn.memoizedState,r,s)},useTransition:function(){var r=wp(Oa)[0],s=rr().memoizedState;return[typeof r=="boolean"?r:xf(r),s]},useSyncExternalStore:TE,useId:n2,useHostTransitionStatus:Ev,useFormState:BE,useActionState:BE,useOptimistic:function(r,s){var l=rr();return ME(l,dn,r,s)},useMemoCache:pv,useCacheRefresh:r2};xv.useEffectEvent=qE;var l2={readContext:Br,use:Sp,useCallback:XE,useContext:Br,useEffect:bv,useImperativeHandle:YE,useInsertionEffect:KE,useLayoutEffect:GE,useMemo:ZE,useReducer:mv,useRef:$E,useState:function(){return mv(Oa)},useDebugValue:Sv,useDeferredValue:function(r,s){var l=rr();return dn===null?wv(l,r,s):QE(l,dn.memoizedState,r,s)},useTransition:function(){var r=mv(Oa)[0],s=rr().memoizedState;return[typeof r=="boolean"?r:xf(r),s]},useSyncExternalStore:TE,useId:n2,useHostTransitionStatus:Ev,useFormState:HE,useActionState:HE,useOptimistic:function(r,s){var l=rr();return dn!==null?ME(l,dn,r,s):(l.baseState=r,[r,l.queue.dispatch])},useMemoCache:pv,useCacheRefresh:r2};l2.useEffectEvent=qE;function Cv(r,s,l,h){s=r.memoizedState,l=l(h,s),l=l==null?s:S({},s,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var Tv={enqueueSetState:function(r,s,l){r=r._reactInternals;var h=Ii(),m=wo(h);m.payload=s,l!=null&&(m.callback=l),s=_o(r,m,h),s!==null&&(Si(s,r,h),wf(s,r,h))},enqueueReplaceState:function(r,s,l){r=r._reactInternals;var h=Ii(),m=wo(h);m.tag=1,m.payload=s,l!=null&&(m.callback=l),s=_o(r,m,h),s!==null&&(Si(s,r,h),wf(s,r,h))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var l=Ii(),h=wo(l);h.tag=2,s!=null&&(h.callback=s),s=_o(r,h,l),s!==null&&(Si(s,r,l),wf(s,r,l))}};function u2(r,s,l,h,m,b,A){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(h,b,A):s.prototype&&s.prototype.isPureReactComponent?!W(l,h)||!W(m,b):!0}function c2(r,s,l,h){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,h),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,h),s.state!==r&&Tv.enqueueReplaceState(s,s.state,null)}function Tl(r,s){var l=s;if("ref"in s){l={};for(var h in s)h!=="ref"&&(l[h]=s[h])}if(r=r.defaultProps){l===s&&(l=S({},l));for(var m in r)l[m]===void 0&&(l[m]=r[m])}return l}function f2(r){dr(r)}function h2(r){console.error(r)}function d2(r){dr(r)}function xp(r,s){try{var l=r.onUncaughtError;l(s.value,{componentStack:s.stack})}catch(h){setTimeout(function(){throw h})}}function p2(r,s,l){try{var h=r.onCaughtError;h(l.value,{componentStack:l.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function kv(r,s,l){return l=wo(l),l.tag=3,l.payload={element:null},l.callback=function(){xp(r,s)},l}function g2(r){return r=wo(r),r.tag=3,r}function m2(r,s,l,h){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var b=h.value;r.payload=function(){return m(b)},r.callback=function(){p2(s,l,h)}}var A=l.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(r.callback=function(){p2(s,l,h),typeof m!="function"&&(ko===null?ko=new Set([this]):ko.add(this));var P=h.stack;this.componentDidCatch(h.value,{componentStack:P!==null?P:""})})}function mD(r,s,l,h,m){if(l.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(s=l.alternate,s!==null&&ju(s,l,m,!0),l=ki.current,l!==null){switch(l.tag){case 31:case 13:return Ji===null?Up():l.alternate===null&&Yn===0&&(Yn=3),l.flags&=-257,l.flags|=65536,l.lanes=m,h===hp?l.flags|=16384:(s=l.updateQueue,s===null?l.updateQueue=new Set([h]):s.add(h),Jv(r,h,m)),!1;case 22:return l.flags|=65536,h===hp?l.flags|=16384:(s=l.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([h])},l.updateQueue=s):(l=s.retryQueue,l===null?s.retryQueue=new Set([h]):l.add(h)),Jv(r,h,m)),!1}throw Error(i(435,l.tag))}return Jv(r,h,m),Up(),!1}if($t)return s=ki.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=m,h!==G0&&(r=Error(i(422),{cause:h}),mf(jr(r,l)))):(h!==G0&&(s=Error(i(423),{cause:h}),mf(jr(s,l))),r=r.current.alternate,r.flags|=65536,m&=-m,r.lanes|=m,h=jr(h,l),m=kv(r.stateNode,h,m),iv(r,m),Yn!==4&&(Yn=2)),!1;var b=Error(i(520),{cause:h});if(b=jr(b,l),Pf===null?Pf=[b]:Pf.push(b),Yn!==4&&(Yn=2),s===null)return!0;h=jr(h,l),l=s;do{switch(l.tag){case 3:return l.flags|=65536,r=m&-m,l.lanes|=r,r=kv(l.stateNode,h,r),iv(l,r),!1;case 1:if(s=l.type,b=l.stateNode,(l.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(ko===null||!ko.has(b))))return l.flags|=65536,m&=-m,l.lanes|=m,m=g2(m),m2(m,r,l,h),iv(l,m),!1}l=l.return}while(l!==null);return!1}var Ov=Error(i(461)),cr=!1;function zr(r,s,l,h){s.child=r===null?SE(s,null,l,h):xl(s,r.child,l,h)}function v2(r,s,l,h,m){l=l.render;var b=s.ref;if("ref"in h){var A={};for(var P in h)P!=="ref"&&(A[P]=h[P])}else A=h;return wl(s),h=cv(r,s,l,A,b,m),P=fv(),r!==null&&!cr?(hv(r,s,m),Ra(r,s,m)):($t&&P&&q0(s),s.flags|=1,zr(r,s,h,m),s.child)}function y2(r,s,l,h,m){if(r===null){var b=l.type;return typeof b=="function"&&!xr(b)&&b.defaultProps===void 0&&l.compare===null?(s.tag=15,s.type=b,b2(r,s,b,h,m)):(r=Qr(l.type,null,h,s,s.mode,m),r.ref=s.ref,r.return=s,s.child=r)}if(b=r.child,!Uv(r,m)){var A=b.memoizedProps;if(l=l.compare,l=l!==null?l:W,l(A,h)&&r.ref===s.ref)return Ra(r,s,m)}return s.flags|=1,r=Cr(b,h),r.ref=s.ref,r.return=s,s.child=r}function b2(r,s,l,h,m){if(r!==null){var b=r.memoizedProps;if(W(b,h)&&r.ref===s.ref)if(cr=!1,s.pendingProps=h=b,Uv(r,m))(r.flags&131072)!==0&&(cr=!0);else return s.lanes=r.lanes,Ra(r,s,m)}return Rv(r,s,l,h,m)}function S2(r,s,l,h){var m=h.children,b=r!==null?r.memoizedState:null;if(r===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((s.flags&128)!==0){if(b=b!==null?b.baseLanes|l:l,r!==null){for(h=s.child=r.child,m=0;h!==null;)m=m|h.lanes|h.childLanes,h=h.sibling;h=m&~b}else h=0,s.child=null;return w2(r,s,b,l,h)}if((l&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},r!==null&&cp(s,b!==null?b.cachePool:null),b!==null?EE(s,b):av(),AE(s);else return h=s.lanes=536870912,w2(r,s,b!==null?b.baseLanes|l:l,l,h)}
vendor: 9,648 bytes, line 9
9else b!==null?(cp(s,b.cachePool),EE(s,b),Ao(),s.memoizedState=null):(r!==null&&cp(s,null),av(),Ao());return zr(r,s,m,l),s.child}function kf(r,s){return r!==null&&r.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function w2(r,s,l,h,m){var b=ev();return b=b===null?null:{parent:lr._currentValue,pool:b},s.memoizedState={baseLanes:l,cachePool:b},r!==null&&cp(s,null),av(),AE(s),r!==null&&ju(r,s,h,!0),s.childLanes=m,null}function Cp(r,s){return s=kp({mode:s.mode,children:s.children},r.mode),s.ref=r.ref,r.child=s,s.return=r,s}function _2(r,s,l){return xl(s,r.child,null,l),r=Cp(s,s.pendingProps),r.flags|=2,Oi(s),s.memoizedState=null,r}function vD(r,s,l){var h=s.pendingProps,m=(s.flags&128)!==0;if(s.flags&=-129,r===null){if($t){if(h.mode==="hidden")return r=Cp(s,h),s.lanes=536870912,kf(null,r);if(lv(s),(r=xn)?(r=NA(r,Qi),r=r!==null&&r.data==="&"?r:null,r!==null&&(s.memoizedState={dehydrated:r,treeContext:mo!==null?{id:Ys,overflow:Xs}:null,retryLane:536870912,hydrationErrors:null},l=Ws(r),l.return=s,s.child=l,Fr=s,xn=null)):r=null,r===null)throw yo(s);return s.lanes=536870912,null}return Cp(s,h)}var b=r.memoizedState;if(b!==null){var A=b.dehydrated;if(lv(s),m)if(s.flags&256)s.flags&=-257,s=_2(r,s,l);else if(s.memoizedState!==null)s.child=r.child,s.flags|=128,s=null;else throw Error(i(558));else if(cr||ju(r,s,l,!1),m=(l&r.childLanes)!==0,cr||m){if(h=Sn,h!==null&&(A=Ds(h,l),A!==0&&A!==b.retryLane))throw b.retryLane=A,Dr(r,A),Si(h,r,A),Ov;Up(),s=_2(r,s,l)}else r=b.treeContext,xn=es(A.nextSibling),Fr=s,$t=!0,vo=null,Qi=!1,r!==null&&lE(s,r),s=Cp(s,h),s.flags|=4096;return s}return r=Cr(r.child,{mode:h.mode,children:h.children}),r.ref=s.ref,s.child=r,r.return=s,r}function Tp(r,s){var l=s.ref;if(l===null)r!==null&&r.ref!==null&&(s.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(r===null||r.ref!==l)&&(s.flags|=4194816)}}function Rv(r,s,l,h,m){return wl(s),l=cv(r,s,l,h,void 0,m),h=fv(),r!==null&&!cr?(hv(r,s,m),Ra(r,s,m)):($t&&h&&q0(s),s.flags|=1,zr(r,s,l,m),s.child)}function E2(r,s,l,h,m,b){return wl(s),s.updateQueue=null,l=CE(s,h,l,m),xE(r),h=fv(),r!==null&&!cr?(hv(r,s,b),Ra(r,s,b)):($t&&h&&q0(s),s.flags|=1,zr(r,s,l,b),s.child)}function A2(r,s,l,h,m){if(wl(s),s.stateNode===null){var b=Ur,A=l.contextType;typeof A=="object"&&A!==null&&(b=Br(A)),b=new l(h,b),s.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Tv,s.stateNode=b,b._reactInternals=s,b=s.stateNode,b.props=h,b.state=s.memoizedState,b.refs={},nv(s),A=l.contextType,b.context=typeof A=="object"&&A!==null?Br(A):Ur,b.state=s.memoizedState,A=l.getDerivedStateFromProps,typeof A=="function"&&(Cv(s,l,A,h),b.state=s.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(A=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),A!==b.state&&Tv.enqueueReplaceState(b,b.state,null),Ef(s,h,b,m),_f(),b.state=s.memoizedState),typeof b.componentDidMount=="function"&&(s.flags|=4194308),h=!0}else if(r===null){b=s.stateNode;var P=s.memoizedProps,re=Tl(l,P);b.props=re;var Ae=b.context,Le=l.contextType;A=Ur,typeof Le=="object"&&Le!==null&&(A=Br(Le));var Pe=l.getDerivedStateFromProps;Le=typeof Pe=="function"||typeof b.getSnapshotBeforeUpdate=="function",P=s.pendingProps!==P,Le||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(P||Ae!==A)&&c2(s,b,h,A),So=!1;var xe=s.memoizedState;b.state=xe,Ef(s,h,b,m),_f(),Ae=s.memoizedState,P||xe!==Ae||So?(typeof Pe=="function"&&(Cv(s,l,Pe,h),Ae=s.memoizedState),(re=So||u2(s,l,re,h,xe,Ae,A))?(Le||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(s.flags|=4194308)):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=Ae),b.props=h,b.state=Ae,b.context=A,h=re):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{b=s.stateNode,rv(r,s),A=s.memoizedProps,Le=Tl(l,A),b.props=Le,Pe=s.pendingProps,xe=b.context,Ae=l.contextType,re=Ur,typeof Ae=="object"&&Ae!==null&&(re=Br(Ae)),P=l.getDerivedStateFromProps,(Ae=typeof P=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(A!==Pe||xe!==re)&&c2(s,b,h,re),So=!1,xe=s.memoizedState,b.state=xe,Ef(s,h,b,m),_f();var Oe=s.memoizedState;A!==Pe||xe!==Oe||So||r!==null&&r.dependencies!==null&&lp(r.dependencies)?(typeof P=="function"&&(Cv(s,l,P,h),Oe=s.memoizedState),(Le=So||u2(s,l,Le,h,xe,Oe,re)||r!==null&&r.dependencies!==null&&lp(r.dependencies))?(Ae||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(h,Oe,re),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(h,Oe,re)),typeof b.componentDidUpdate=="function"&&(s.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof b.componentDidUpdate!="function"||A===r.memoizedProps&&xe===r.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||A===r.memoizedProps&&xe===r.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=Oe),b.props=h,b.state=Oe,b.context=re,h=Le):(typeof b.componentDidUpdate!="function"||A===r.memoizedProps&&xe===r.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||A===r.memoizedProps&&xe===r.memoizedState||(s.flags|=1024),h=!1)}return b=h,Tp(r,s),h=(s.flags&128)!==0,b||h?(b=s.stateNode,l=h&&typeof l.getDerivedStateFromError!="function"?null:b.render(),s.flags|=1,r!==null&&h?(s.child=xl(s,r.child,null,m),s.child=xl(s,null,l,m)):zr(r,s,l,m),s.memoizedState=b.state,r=s.child):r=Ra(r,s,m),r}function x2(r,s,l,h){return bl(),s.flags|=256,zr(r,s,l,h),s.child}var Lv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Iv(r){return{baseLanes:r,cachePool:pE()}}function Mv(r,s,l){return r=r!==null?r.childLanes&~l:0,s&&(r|=Li),r}function C2(r,s,l){var h=s.pendingProps,m=!1,b=(s.flags&128)!==0,A;if((A=b)||(A=r!==null&&r.memoizedState===null?!1:(nr.current&2)!==0),A&&(m=!0,s.flags&=-129),A=(s.flags&32)!==0,s.flags&=-33,r===null){if($t){if(m?Eo(s):Ao(),(r=xn)?(r=NA(r,Qi),r=r!==null&&r.data!=="&"?r:null,r!==null&&(s.memoizedState={dehydrated:r,treeContext:mo!==null?{id:Ys,overflow:Xs}:null,retryLane:536870912,hydrationErrors:null},l=Ws(r),l.return=s,s.child=l,Fr=s,xn=null)):r=null,r===null)throw yo(s);return gy(r)?s.lanes=32:s.lanes=536870912,null}var P=h.children;return h=h.fallback,m?(Ao(),m=s.mode,P=kp({mode:"hidden",children:P},m),h=Jr(h,m,l,null),P.return=s,h.return=s,P.sibling=h,s.child=P,h=s.child,h.memoizedState=Iv(l),h.childLanes=Mv(r,A,l),s.memoizedState=Lv,kf(null,h)):(Eo(s),Nv(s,P))}var re=r.memoizedState;if(re!==null&&(P=re.dehydrated,P!==null)){if(b)s.flags&256?(Eo(s),s.flags&=-257,s=Pv(r,s,l)):s.memoizedState!==null?(Ao(),s.child=r.child,s.flags|=128,s=null):(Ao(),P=h.fallback,m=s.mode,h=kp({mode:"visible",children:h.children},m),P=Jr(P,m,l,null),P.flags|=2,h.return=s,P.return=s,h.sibling=P,s.child=h,xl(s,r.child,null,l),h=s.child,h.memoizedState=Iv(l),h.childLanes=Mv(r,A,l),s.memoizedState=Lv,s=kf(null,h));else if(Eo(s),gy(P)){if(A=P.nextSibling&&P.nextSibling.dataset,A)var Ae=A.dgst;A=Ae,h=Error(i(419)),h.stack="",h.digest=A,mf({value:h,source:null,stack:null}),s=Pv(r,s,l)}else if(cr||ju(r,s,l,!1),A=(l&r.childLanes)!==0,cr||A){if(A=Sn,A!==null&&(h=Ds(A,l),h!==0&&h!==re.retryLane))throw re.retryLane=h,Dr(r,h),Si(A,r,h),Ov;py(P)||Up(),s=Pv(r,s,l)}else py(P)?(s.flags|=192,s.child=r.child,s=null):(r=re.treeContext,xn=es(P.nextSibling),Fr=s,$t=!0,vo=null,Qi=!1,r!==null&&lE(s,r),s=Nv(s,h.children),s.flags|=4096);return s}return m?(Ao(),P=h.fallback,m=s.mode,re=r.child,Ae=re.sibling,h=Cr(re,{mode:"hidden",children:h.children}),h.subtreeFlags=re.subtreeFlags&65011712,Ae!==null?P=Cr(Ae,P):(P=Jr(P,m,l,null),P.flags|=2),P.return=s,h.return=s,h.sibling=P,s.child=h,kf(null,h),h=s.child,P=r.child.memoizedState,P===null?P=Iv(l):(m=P.cachePool,m!==null?(re=lr._currentValue,m=m.parent!==re?{parent:re,pool:re}:m):m=pE(),P={baseLanes:P.baseLanes|l,cachePool:m}),h.memoizedState=P,h.childLanes=Mv(r,A,l),s.memoizedState=Lv,kf(r.child,h)):(Eo(s),l=r.child,r=l.sibling,l=Cr(l,{mode:"visible",children:h.children}),l.return=s,l.sibling=null,r!==null&&(A=s.deletions,A===null?(s.deletions=[r],s.flags|=16):A.push(r)),s.child=l,s.memoizedState=null,l)}function Nv(r,s){return s=kp({mode:"visible",children:s},r.mode),s.return=r,r.child=s}function kp(r,s){return r=Un(22,r,null,s),r.lanes=0,r}function Pv(r,s,l){return xl(s,r.child,null,l),r=Nv(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function T2(r,s,l){r.lanes|=s;var h=r.alternate;h!==null&&(h.lanes|=s),X0(r.return,s,l)}function Dv(r,s,l,h,m,b){var A=r.memoizedState;A===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:l,tailMode:m,treeForkCount:b}:(A.isBackwards=s,A.rendering=null,A.renderingStartTime=0,A.last=h,A.tail=l,A.tailMode=m,A.treeForkCount=b)}function k2(r,s,l){var h=s.pendingProps,m=h.revealOrder,b=h.tail;h=h.children;var A=nr.current,P=(A&2)!==0;if(P?(A=A&1|2,s.flags|=128):A&=1,ze(nr,A),zr(r,s,h,l),h=$t?gf:0,
vendor: 4,410 bytes, line 9
9!P&&r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&T2(r,l,s);else if(r.tag===19)T2(r,l,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(m){case"forwards":for(l=s.child,m=null;l!==null;)r=l.alternate,r!==null&&mp(r)===null&&(m=l),l=l.sibling;l=m,l===null?(m=s.child,s.child=null):(m=l.sibling,l.sibling=null),Dv(s,!1,m,l,b,h);break;case"backwards":case"unstable_legacy-backwards":for(l=null,m=s.child,s.child=null;m!==null;){if(r=m.alternate,r!==null&&mp(r)===null){s.child=m;break}r=m.sibling,m.sibling=l,l=m,m=r}Dv(s,!0,l,null,b,h);break;case"together":Dv(s,!1,null,null,void 0,h);break;default:s.memoizedState=null}return s.child}function Ra(r,s,l){if(r!==null&&(s.dependencies=r.dependencies),To|=s.lanes,(l&s.childLanes)===0)if(r!==null){if(ju(r,s,l,!1),(l&s.childLanes)===0)return null}else return null;if(r!==null&&s.child!==r.child)throw Error(i(153));if(s.child!==null){for(r=s.child,l=Cr(r,r.pendingProps),s.child=l,l.return=s;r.sibling!==null;)r=r.sibling,l=l.sibling=Cr(r,r.pendingProps),l.return=s;l.sibling=null}return s.child}function Uv(r,s){return(r.lanes&s)!==0?!0:(r=r.dependencies,!!(r!==null&&lp(r)))}function yD(r,s,l){switch(s.tag){case 3:It(s,s.stateNode.containerInfo),bo(s,lr,r.memoizedState.cache),bl();break;case 27:case 5:Qn(s);break;case 4:It(s,s.stateNode.containerInfo);break;case 10:bo(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,lv(s),null;break;case 13:var h=s.memoizedState;if(h!==null)return h.dehydrated!==null?(Eo(s),s.flags|=128,null):(l&s.child.childLanes)!==0?C2(r,s,l):(Eo(s),r=Ra(r,s,l),r!==null?r.sibling:null);Eo(s);break;case 19:var m=(r.flags&128)!==0;if(h=(l&s.childLanes)!==0,h||(ju(r,s,l,!1),h=(l&s.childLanes)!==0),m){if(h)return k2(r,s,l);s.flags|=128}if(m=s.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),ze(nr,nr.current),h)break;return null;case 22:return s.lanes=0,S2(r,s,l,s.pendingProps);case 24:bo(s,lr,r.memoizedState.cache)}return Ra(r,s,l)}function O2(r,s,l){if(r!==null)if(r.memoizedProps!==s.pendingProps)cr=!0;else{if(!Uv(r,l)&&(s.flags&128)===0)return cr=!1,yD(r,s,l);cr=(r.flags&131072)!==0}else cr=!1,$t&&(s.flags&1048576)!==0&&oE(s,gf,s.index);switch(s.lanes=0,s.tag){case 16:e:{var h=s.pendingProps;if(r=El(s.elementType),s.type=r,typeof r=="function")xr(r)?(h=Tl(r,h),s.tag=1,s=A2(null,s,r,h,l)):(s.tag=0,s=Rv(null,s,r,h,l));else{if(r!=null){var m=r.$$typeof;if(m===J){s.tag=11,s=v2(null,s,r,h,l);break e}else if(m===Y){s.tag=14,s=y2(null,s,r,h,l);break e}}throw s=me(r)||r,Error(i(306,s,""))}}return s;case 0:return Rv(r,s,s.type,s.pendingProps,l);case 1:return h=s.type,m=Tl(h,s.pendingProps),A2(r,s,h,m,l);case 3:e:{if(It(s,s.stateNode.containerInfo),r===null)throw Error(i(387));h=s.pendingProps;var b=s.memoizedState;m=b.element,rv(r,s),Ef(s,h,null,l);var A=s.memoizedState;if(h=A.cache,bo(s,lr,h),h!==b.cache&&Z0(s,[lr],l,!0),_f(),h=A.element,b.isDehydrated)if(b={element:h,isDehydrated:!1,cache:A.cache},s.updateQueue.baseState=b,s.memoizedState=b,s.flags&256){s=x2(r,s,h,l);break e}else if(h!==m){m=jr(Error(i(424)),s),mf(m),s=x2(r,s,h,l);break e}else for(r=s.stateNode.containerInfo,r.nodeType===9?r=r.body:r=r.nodeName==="HTML"?r.ownerDocument.body:r,xn=es(r.firstChild),Fr=s,$t=!0,vo=null,Qi=!0,l=SE(s,null,h,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(bl(),h===m){s=Ra(r,s,l);break e}zr(r,s,h,l)}s=s.child}return s;case 26:return Tp(r,s),r===null?(l=BA(s.type,null,s.pendingProps,null))?s.memoizedState=l:$t||(l=s.type,r=s.pendingProps,h=Vp(Ve.current).createElement(l),h[Vn]=s,h[hr]=r,Hr(h,l,r),An(h),s.stateNode=h):s.memoizedState=BA(s.type,r.memoizedProps,s.pendingProps,r.memoizedState),null;case 27:return Qn(s),r===null&&$t&&(h=s.stateNode=UA(s.type,s.pendingProps,Ve.current),Fr=s,Qi=!0,m=xn,Io(s.type)?(my=m,xn=es(h.firstChild)):xn=m),zr(r,s,s.pendingProps.children,l),Tp(r,s),r===null&&(s.flags|=4194304),s.child;case 5:return r===null&&$t&&((m=h=xn)&&(h=WD(h,s.type,s.pendingProps,Qi),h!==null?(s.stateNode=h,Fr=s,xn=es(h.firstChild),Qi=!1,m=!0):m=!1),m||yo(s)),Qn(s),m=s.type,b=s.pendingProps,A=r!==null?r.memoizedProps:null,h=b.children,fy(m,b)?h=null:A!==null&&fy(m,A)&&(s.flags|=32),s.memoizedState!==null&&(m=cv(r,s,uD,null,
vendor: 1,170 bytes, line 9
9null,l),$f._currentValue=m),Tp(r,s),zr(r,s,h,l),s.child;case 6:return r===null&&$t&&((r=l=xn)&&(l=YD(l,s.pendingProps,Qi),l!==null?(s.stateNode=l,Fr=s,xn=null,r=!0):r=!1),r||yo(s)),null;case 13:return C2(r,s,l);case 4:return It(s,s.stateNode.containerInfo),h=s.pendingProps,r===null?s.child=xl(s,null,h,l):zr(r,s,h,l),s.child;case 11:return v2(r,s,s.type,s.pendingProps,l);case 7:return zr(r,s,s.pendingProps,l),s.child;case 8:return zr(r,s,s.pendingProps.children,l),s.child;case 12:return zr(r,s,s.pendingProps.children,l),s.child;case 10:return h=s.pendingProps,bo(s,s.type,h.value),zr(r,s,h.children,l),s.child;case 9:return m=s.type._context,h=s.pendingProps.children,wl(s),m=Br(m),h=h(m),s.flags|=1,zr(r,s,h,l),s.child;case 14:return y2(r,s,s.type,s.pendingProps,l);case 15:return b2(r,s,s.type,s.pendingProps,l);case 19:return k2(r,s,l);case 31:return vD(r,s,l);case 22:return S2(r,s,l,s.pendingProps);case 24:return wl(s),h=Br(lr),r===null?(m=ev(),m===null&&(m=Sn,b=Q0(),m.pooledCache=b,b.refCount++,b!==null&&(m.pooledCacheLanes|=l),m=b),s.memoizedState={parent:h,cache:m},nv(s),bo(s,lr,m)):((r.lanes&l)!==0&&(rv(r,s),Ef(s,null,null,l),_f()),m=r.memoizedState,b
vendor: 4,474 bytes, line 9
9=s.memoizedState,m.parent!==h?(m={parent:h,cache:h},s.memoizedState=m,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=m),bo(s,lr,h)):(h=b.cache,bo(s,lr,h),h!==m.cache&&Z0(s,[lr],l,!0))),zr(r,s,s.pendingProps.children,l),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function La(r){r.flags|=4}function jv(r,s,l,h,m){if((s=(r.mode&32)!==0)&&(s=!1),s){if(r.flags|=16777216,(m&335544128)===m)if(r.stateNode.complete)r.flags|=8192;else if(nA())r.flags|=8192;else throw Al=hp,tv}else r.flags&=-16777217}function R2(r,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!qA(s))if(nA())r.flags|=8192;else throw Al=hp,tv}function Op(r,s){s!==null&&(r.flags|=4),r.flags&16384&&(s=r.tag!==22?En():536870912,r.lanes|=s,Xu|=s)}function Of(r,s){if(!$t)switch(r.tailMode){case"hidden":s=r.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var h=null;l!==null;)l.alternate!==null&&(h=l),l=l.sibling;h===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:h.sibling=null}}function Cn(r){var s=r.alternate!==null&&r.alternate.child===r.child,l=0,h=0;if(s)for(var m=r.child;m!==null;)l|=m.lanes|m.childLanes,h|=m.subtreeFlags&65011712,h|=m.flags&65011712,m.return=r,m=m.sibling;else for(m=r.child;m!==null;)l|=m.lanes|m.childLanes,h|=m.subtreeFlags,h|=m.flags,m.return=r,m=m.sibling;return r.subtreeFlags|=h,r.childLanes=l,s}function bD(r,s,l){var h=s.pendingProps;switch(K0(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Cn(s),null;case 1:return Cn(s),null;case 3:return l=s.stateNode,h=null,r!==null&&(h=r.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),Ta(lr),xt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(r===null||r.child===null)&&(Uu(s)?La(s):r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,W0())),Cn(s),null;case 26:var m=s.type,b=s.memoizedState;return r===null?(La(s),b!==null?(Cn(s),R2(s,b)):(Cn(s),jv(s,m,null,h,l))):b?b!==r.memoizedState?(La(s),Cn(s),R2(s,b)):(Cn(s),s.flags&=-16777217):(r=r.memoizedProps,r!==h&&La(s),Cn(s),jv(s,m,r,h,l)),null;case 27:if(Xe(s),l=Ve.current,m=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==h&&La(s);else{if(!h){if(s.stateNode===null)throw Error(i(166));return Cn(s),null}r=He.current,Uu(s)?uE(s):(r=UA(m,h,l),s.stateNode=r,La(s))}return Cn(s),null;case 5:if(Xe(s),m=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==h&&La(s);else{if(!h){if(s.stateNode===null)throw Error(i(166));return Cn(s),null}if(b=He.current,Uu(s))uE(s);else{var A=Vp(Ve.current);switch(b){case 1:b=A.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:b=A.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":b=A.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":b=A.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":b=A.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof h.is=="string"?A.createElement("select",{is:h.is}):A.createElement("select"),h.multiple?b.multiple=!0:h.size&&(b.size=h.size);break;default:b=typeof h.is=="string"?A.createElement(m,{is:h.is}):A.createElement(m)}}b[Vn]=s,b[hr]=h;e:for(A=s.child;A!==null;){if(A.tag===5||A.tag===6)b.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===s)break e;for(;A.sibling===null;){if(A.return===null||A.return===s)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}s.stateNode=b;e:switch(Hr(b,m,h),m){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&La(s)}}return Cn(s),jv(s,s.type,r===null?null:r.memoizedProps,s.pendingProps,l),null;case 6:if(r&&s.stateNode!=null)r.memoizedProps!==h&&La(s);else{if(typeof h!="string"&&s.stateNode===null)throw Error(i(166));if(r=Ve.current,Uu(s)){if(r=s.stateNode,l=s.memoizedProps,h=null,m=Fr,m!==null)switch(m.tag){case 27:case 5:h=m.memoizedProps}r[Vn]=s,r=!!(r.nodeValue===l||h!==null&&h.suppressHydrationWarning===!0||CA(r.nodeValue,l)),r||yo(s,!0)}else r=Vp(r).createTextNode(h),r[Vn]=s,s.stateNode=r}return Cn(s),null;case 31:if(l=s.memoizedState,r===null||r.memoizedState!==null){if(h=Uu(s),l!==null){if(r===null){if(!h)throw Error(i(318));if(r=s.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(557)
vendor: 20,612 bytes, line 9
9);r[Vn]=s}else bl(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Cn(s),r=!1}else l=W0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=l),r=!0;if(!r)return s.flags&256?(Oi(s),s):(Oi(s),null);if((s.flags&128)!==0)throw Error(i(558))}return Cn(s),null;case 13:if(h=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(m=Uu(s),h!==null&&h.dehydrated!==null){if(r===null){if(!m)throw Error(i(318));if(m=s.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[Vn]=s}else bl(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Cn(s),m=!1}else m=W0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=m),m=!0;if(!m)return s.flags&256?(Oi(s),s):(Oi(s),null)}return Oi(s),(s.flags&128)!==0?(s.lanes=l,s):(l=h!==null,r=r!==null&&r.memoizedState!==null,l&&(h=s.child,m=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(m=h.alternate.memoizedState.cachePool.pool),b=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(b=h.memoizedState.cachePool.pool),b!==m&&(h.flags|=2048)),l!==r&&l&&(s.child.flags|=8192),Op(s,s.updateQueue),Cn(s),null);case 4:return xt(),r===null&&ay(s.stateNode.containerInfo),Cn(s),null;case 10:return Ta(s.type),Cn(s),null;case 19:if(Te(nr),h=s.memoizedState,h===null)return Cn(s),null;if(m=(s.flags&128)!==0,b=h.rendering,b===null)if(m)Of(h,!1);else{if(Yn!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(b=mp(r),b!==null){for(s.flags|=128,Of(h,!1),r=b.updateQueue,s.updateQueue=r,Op(s,r),s.subtreeFlags=0,r=l,l=s.child;l!==null;)bs(l,r),l=l.sibling;return ze(nr,nr.current&1|2),$t&&xa(s,h.treeForkCount),s.child}r=r.sibling}h.tail!==null&&Ot()>Np&&(s.flags|=128,m=!0,Of(h,!1),s.lanes=4194304)}else{if(!m)if(r=mp(b),r!==null){if(s.flags|=128,m=!0,r=r.updateQueue,s.updateQueue=r,Op(s,r),Of(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!$t)return Cn(s),null}else 2*Ot()-h.renderingStartTime>Np&&l!==536870912&&(s.flags|=128,m=!0,Of(h,!1),s.lanes=4194304);h.isBackwards?(b.sibling=s.child,s.child=b):(r=h.last,r!==null?r.sibling=b:s.child=b,h.last=b)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Ot(),r.sibling=null,l=nr.current,ze(nr,m?l&1|2:l&1),$t&&xa(s,h.treeForkCount),r):(Cn(s),null);case 22:case 23:return Oi(s),ov(),h=s.memoizedState!==null,r!==null?r.memoizedState!==null!==h&&(s.flags|=8192):h&&(s.flags|=8192),h?(l&536870912)!==0&&(s.flags&128)===0&&(Cn(s),s.subtreeFlags&6&&(s.flags|=8192)):Cn(s),l=s.updateQueue,l!==null&&Op(s,l.retryQueue),l=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==l&&(s.flags|=2048),r!==null&&Te(_l),null;case 24:return l=null,r!==null&&(l=r.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),Ta(lr),Cn(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function SD(r,s){switch(K0(s),s.tag){case 1:return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Ta(lr),xt(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 26:case 27:case 5:return Xe(s),null;case 31:if(s.memoizedState!==null){if(Oi(s),s.alternate===null)throw Error(i(340));bl()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 13:if(Oi(s),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(i(340));bl()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Te(nr),null;case 4:return xt(),null;case 10:return Ta(s.type),null;case 22:case 23:return Oi(s),ov(),r!==null&&Te(_l),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 24:return Ta(lr),null;case 25:return null;default:return null}}function L2(r,s){switch(K0(s),s.tag){case 3:Ta(lr),xt();break;case 26:case 27:case 5:Xe(s);break;case 4:xt();break;case 31:s.memoizedState!==null&&Oi(s);break;case 13:Oi(s);break;case 19:Te(nr);break;case 10:Ta(s.type);break;case 22:case 23:Oi(s),ov(),r!==null&&Te(_l);break;case 24:Ta(lr)}}function Rf(r,s){try{var l=s.updateQueue,h=l!==null?l.lastEffect:null;if(h!==null){var m=h.next;l=m;do{if((l.tag&r)===r){h=void 0;var b=l.create,A=l.inst;h=b(),A.destroy=h}l=l.next}while(l!==m)}}catch(P){fn(s,s.return,P)}}function xo(r,s,l){try{var h=s.updateQueue,m=h!==null?h.lastEffect:null;if(m!==null){var b=m.next;h=b;do{if((h.tag&r)===r){var A=h.inst,P=A.destroy;if(P!==void 0){A.destroy=void 0,m=s;var re=l,Ae=P;try{Ae()}catch(Le){fn(m,re,Le)}}}h=h.next}while(h!==b)}}catch(Le){fn(s,s.return,Le)}}function I2(r){var s=r.updateQueue;if(s!==null){var l=r.stateNode;try{_E(s,l)}catch(h){fn(r,r.return,h)}}}function M2(r,s,l){l.props=Tl(r.type,r.memoizedProps),l.state=r.memoizedState;try{l.componentWillUnmount()}catch(h){fn(r,s,h)}}function Lf(r,s){try{var l=r.ref;if(l!==null){switch(r.tag){case 26:case 27:case 5:var h=r.stateNode;break;case 30:h=r.stateNode;break;default:h=r.stateNode}typeof l=="function"?r.refCleanup=l(h):l.current=h}}catch(m){fn(r,s,m)}}function Zs(r,s){var l=r.ref,h=r.refCleanup;if(l!==null)if(typeof h=="function")try{h()}catch(m){fn(r,s,m)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){fn(r,s,m)}else l.current=null}function N2(r){var s=r.type,l=r.memoizedProps,h=r.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":l.autoFocus&&h.focus();break e;case"img":l.src?h.src=l.src:l.srcSet&&(h.srcset=l.srcSet)}}catch(m){fn(r,r.return,m)}}function Fv(r,s,l){try{var h=r.stateNode;HD(h,r.type,l,s),h[hr]=s}catch(m){fn(r,r.return,m)}}function P2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Io(r.type)||r.tag===4}function Bv(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||P2(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&Io(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function zv(r,s,l){var h=r.tag;if(h===5||h===6)r=r.stateNode,s?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(r,s):(s=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,s.appendChild(r),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Gi));else if(h!==4&&(h===27&&Io(r.type)&&(l=r.stateNode,s=null),r=r.child,r!==null))for(zv(r,s,l),r=r.sibling;r!==null;)zv(r,s,l),r=r.sibling}function Rp(r,s,l){var h=r.tag;if(h===5||h===6)r=r.stateNode,s?l.insertBefore(r,s):l.appendChild(r);else if(h!==4&&(h===27&&Io(r.type)&&(l=r.stateNode),r=r.child,r!==null))for(Rp(r,s,l),r=r.sibling;r!==null;)Rp(r,s,l),r=r.sibling}function D2(r){var s=r.stateNode,l=r.memoizedProps;try{for(var h=r.type,m=s.attributes;m.length;)s.removeAttributeNode(m[0]);Hr(s,h,l),s[Vn]=r,s[hr]=l}catch(b){fn(r,r.return,b)}}var Ia=!1,fr=!1,Hv=!1,U2=typeof WeakSet=="function"?WeakSet:Set,Tr=null;function wD(r,s){if(r=r.containerInfo,uy=Zp,r=G(r),ce(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var h=l.getSelection&&l.getSelection();if(h&&h.rangeCount!==0){l=h.anchorNode;var m=h.anchorOffset,b=h.focusNode;h=h.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var A=0,P=-1,re=-1,Ae=0,Le=0,Pe=r,xe=null;t:for(;;){for(var Oe;Pe!==l||m!==0&&Pe.nodeType!==3||(P=A+m),Pe!==b||h!==0&&Pe.nodeType!==3||(re=A+h),Pe.nodeType===3&&(A+=Pe.nodeValue.length),(Oe=Pe.firstChild)!==null;)xe=Pe,Pe=Oe;for(;;){if(Pe===r)break t;if(xe===l&&++Ae===m&&(P=A),xe===b&&++Le===h&&(re=A),(Oe=Pe.nextSibling)!==null)break;Pe=xe,xe=Pe.parentNode}Pe=Oe}l=P===-1||re===-1?null:{start:P,end:re}}else l=null}l=l||{start:0,end:0}}else l=null;for(cy={focusedElem:r,selectionRange:l},Zp=!1,Tr=s;Tr!==null;)if(s=Tr,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,Tr=r;else for(;Tr!==null;){switch(s=Tr,b=s.alternate,r=s.flags,s.tag){case 0:if((r&4)!==0&&(r=s.updateQueue,r=r!==null?r.events:null,r!==null))for(l=0;l<r.length;l++)m=r[l],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&b!==null){r=void 0,l=s,m=b.memoizedProps,b=b.memoizedState,h=l.stateNode;try{var Je=Tl(l.type,m);r=h.getSnapshotBeforeUpdate(Je,b),h.__reactInternalSnapshotBeforeUpdate=r}catch(pt){fn(l,l.return,pt)}}break;case 3:if((r&1024)!==0){if(r=s.stateNode.containerInfo,l=r.nodeType,l===9)dy(r);else if(l===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":dy(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(i(163))}if(r=s.sibling,r!==null){r.return=s.return,Tr=r;break}Tr=s.return}}function j2(r,s,l){var h=l.flags;switch(l.tag){case 0:case 11:case 15:Na(r,l),h&4&&Rf(5,l);break;case 1:if(Na(r,l),h&4)if(r=l.stateNode,s===null)try{r.componentDidMount()}catch(A){fn(l,l.return,A)}else{var m=Tl(l.type,s.memoizedProps);s=s.memoizedState;try{r.componentDidUpdate(m,s,r.__reactInternalSnapshotBeforeUpdate)}catch(A){fn(l,l.return,A)}}h&64&&I2(l),h&512&&Lf(l,l.return);break;case 3:if(Na(r,l),h&64&&(r=l.updateQueue,r!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{_E(r,s)}catch(A){fn(l,l.return,A)}}break;case 27:s===null&&h&4&&D2(l);case 26:case 5:Na(r,l),s===null&&h&4&&N2(l),h&512&&Lf(l,l.return);break;case 12:Na(r,l);break;case 31:Na(r,l),h&4&&z2(r,l);break;case 13:Na(r,l),h&4&&H2(r,l),h&64&&(r=l.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(l=RD.bind(null,l),XD(r,l))));break;case 22:if(h=l.memoizedState!==null||Ia,!h){s=s!==null&&s.memoizedState!==null||fr,m=Ia;var b=fr;Ia=h,(fr=s)&&!b?Pa(r,l,(l.subtreeFlags&8772)!==0):Na(r,l),Ia=m,fr=b}break;case 30:break;default:Na(r,l)}}function F2(r){var s=r.alternate;s!==null&&(r.alternate=null,F2(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&no(s)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var Ln=null,mi=!1;function Ma(r,s,l){for(l=l.child;l!==null;)B2(r,s,l),l=l.sibling}function B2(r,s,l){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(gt,l)}catch{}switch(l.tag){case 26:fr||Zs(l,s),Ma(r,s,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:fr||Zs(l,s);var h=Ln,m=mi;Io(l.type)&&(Ln=l.stateNode,mi=!1),Ma(r,s,l),Bf(l.stateNode),Ln=h,mi=m;break;case 5:fr||Zs(l,s);case 6:if(h=Ln,m=mi,Ln=null,Ma(r,s,l),Ln=h,mi=m,Ln!==null)if(mi)try{(Ln.nodeType===9?Ln.body:Ln.nodeName==="HTML"?Ln.ownerDocument.body:Ln).removeChild(l.stateNode)}catch(b){fn(l,s,b)}else try{Ln.removeChild(l.stateNode)}catch(b){fn(l,s,b)}break;case 18:Ln!==null&&(mi?(r=Ln,IA(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,l.stateNode),ic(r)):IA(Ln,l.stateNode));break;case 4:h=Ln,m=mi,Ln=l.stateNode.containerInfo,mi=!0,Ma(r,s,l),Ln=h,mi=m;break;case 0:case 11:case 14:case 15:xo(2,l,s),fr||xo(4,l,s),Ma(r,s,l);break;case 1:fr||(Zs(l,s),h=l.stateNode,typeof h.componentWillUnmount=="function"&&M2(l,s,h)),Ma(r,s,l);break;case 21:Ma(r,s,l);break;case 22:fr=(h=fr)||l.memoizedState!==null,Ma(r,s,l),fr=h;break;default:Ma(r,s,l)}}function z2(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{ic(r)}catch(l){fn(s,s.return,l)}}}function H2(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{ic(r)}catch(l){fn(s,s.return,l)}}function _D(r){switch(r.tag){case 31:case 13:case 19:var s=r.stateNode;return s===null&&(s=r.stateNode=new U2),s;case 22:return r=r.stateNode,s=r._retryCache,s===null&&(s=r._retryCache=new U2),s;default:throw Error(i(435,r.tag))}}function Lp(r,s){var l=_D(r);s.forEach(function(h){if(!l.has(h)){l.add(h);var m=LD.bind(null,r,h);h.then(m,m)}})}function vi(r,s){var l=s.deletions;if(l!==null)for(var h=0;h<l.length;h++){var m=l[h],b=r,A=s,P=A;e:for(;P!==null;){switch(P.tag){case 27:if(Io(P.type)){Ln=P.stateNode,mi=!1;break e}break;case 5:Ln=P.stateNode,mi=!1;break e;case 3:case 4:Ln=P.stateNode.containerInfo,mi=!0;break e}P=P.return}if(Ln===null)throw Error(i(160));B2(b,A,m),Ln=null,mi=!1,b=m.alternate,b!==null&&(b.return=null),m.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)$2(s,r),s=s.sibling}var Ss=null;function $2(r,s){var l=r.alternate,h=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:vi(s,r),yi(r),h&4&&(xo(3,r,r.return),Rf(3,r),xo(5,r,r.return));break;case 1:vi(s,r),yi(r),h&512&&(fr||l===null||Zs(l,l.return)),h&64&&Ia&&(r=r.updateQueue,r!==null&&(h=r.callbacks,h!==null&&(l=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=l===null?h:l.concat(h))));break;case 26:var m=Ss;if(vi(s,r),yi(r),h&512&&(fr||l===null||Zs(l,l.return)),h&4){var b=l!==null?l.memoizedState:null;if(h=r.memoizedState,l===null)if(h===null)if(r.stateNode===null){e:{h=r.type,l=r.memoizedProps,m=m.ownerDocument||m;t:switch(h){case"title":b=m.getElementsByTagName("title")[0],(!b||b[zi]||b[Vn]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=m.createElement(h),m.head.insertBefore(b,m.querySelector("head > title"))),Hr(b,h,l),b[Vn]=r,An(b),h=b;break e;case"link":var A=$A("link","href",m).get(h+(l.href||""));if(A){for(var P=0;P<A.length;P++)if(b=A[P],b.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&b.getAttribute("rel")===(l.rel==null?null:l.rel)&&b.getAttribute("title")===(l.title==null?null:l.title)&&b.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){A.splice(P,1);break t}}b=m.createElement(h),Hr(b,h,l),m.head.appendChild(b);break;case"meta":if(A=$A("meta","content",m).get(h+(l.content||""))){for(P=0;P<A.length;P++)if(b=A[P],b.getAttribute("content")===(l.content==null?null:""+l.content)&&b.getAttribute("name")===(l.name==null?null:l.name)&&b.getAttribute("property")===(l.property==null?null:l.property)&&b.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&b.getAttribute("charset")===(l.charSet==null?null:l.charSet)){A.splice(P,1);break t}}b=m.createElement(h),Hr(b,h,l),m.head.appendChild(b);break;default:throw Error(i(468,h))}b[Vn]=r,An(b),h=b}r.stateNode=h}else VA(m,r.type,r.stateNode);else r.stateNode=HA(m,h,r.memoizedProps);else b!==h?(b===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):b.count--,h===null?VA(m,r.type,r.stateNode):HA(m,h,r.memoizedProps)):h===null&&r.stateNode!==null&&Fv(r,r.memoizedProps,l.memoizedProps)}break;case 27:vi(s,r),yi(r),h&512&&(fr||l===null||Zs(l,l.return)),l!==null&&h&4&&Fv(r,r.memoizedProps,l.memoizedProps);break;case 5:if(vi(s,r),yi(r),h&512&&(fr||l===null||Zs(l,l.return)),r.flags&32){m=r.stateNode;try{Ki(m,"")}catch(Je){fn(r,r.return,Je)}}h&4&&r.stateNode!=null&&(m=r.memoizedProps,Fv(r,m,l!==null?l.memoizedProps:m)),h&1024&&(Hv=!0);break;case 6:if(vi(s,r),yi(r),h&4){if(r.stateNode===null)throw Error(i(162));h=r.memoizedProps,l=r.stateNode;try{l.nodeValue=h}catch(Je){fn(r,r.return,Je)}}break;case 3:if(Gp=null,m=Ss,Ss=qp(s.containerInfo),vi(s,r),Ss=m,yi(r),h&4&&l!==null&&l.memoizedState.isDehydrated)try{ic(s.containerInfo)}catch(Je){fn(r,r.return,Je)}Hv&&(Hv=!1,V2(r));break;case 4:h=Ss,Ss=qp(r.stateNode.containerInfo),vi(s,r),yi(r),Ss=h;break;case 12:vi(s,r),yi(r);break;case 31:vi(s,r),yi(r),h&4&&(h=r.updateQueue,h!==null&&(r.updateQueue=null,Lp(r,h)));break;case 13:vi(s,r),yi(r),r.child.flags&8192&&r.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Mp=Ot()),h&4&&(h=r.updateQueue,h!==null&&(r.updateQueue=null,Lp(r,h)));break;case 22:m=r.memoizedState!==null;var re=l!==null&&l.memoizedState!==null,Ae=Ia,Le=fr;if(Ia=Ae||m,fr=Le||re,vi(s,r),fr=Le,Ia=Ae,yi(r),h&8192)e:for(s=r.stateNode,s._visibility=m?s._visibility&-2:s._visibility|1,m&&(l===null||re||Ia||fr||kl(r)),l=null,s=r;;){if(s.tag===5||s.tag===26){if(l===null){re=l=s;try{if(b=re.stateNode,m)A=b.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{P=re.stateNode;var Pe=re.memoizedProps.style,xe=Pe!=null&&Pe.hasOwnProperty("display")?Pe.display:null;P.style.display=xe==null||typeof xe=="boolean"?"":(""+xe).trim()}}catch(Je){fn(re,re.return,Je)}}}else if(s.tag===6){if(l===null){re=s;try{re.stateNode.nodeValue=m?"":re.memoizedProps}catch(Je){fn(re,re.return,Je)}}}else if(s.tag===18){if(l===null){re=s;try{var Oe=re.stateNode;m?MA(Oe,!0):MA(re.stateNode,!1)}catch(Je){fn(re,re.return,Je)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===r)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break e;for(;s.sibling===null;){if(s.return===null||s.return===r)break e;l===s&&(l=null),s=s.return}l===s&&(l=null),s.sibling.return=s.return,s=s.sibling}h&4&&(h=r.updateQueue,h!==null&&(l=h.retryQueue,l!==null&&(h.retryQueue=null,Lp(r,l))));break;case 19:vi(s,r),yi(r),h&4&&(h=r.updateQueue,h!==null&&(r.updateQueue=null,Lp(r,h)));break;case 30:break;case 21:break;default:vi(s,r),yi(r)}}function yi(r){var s=r.flags;if(s&2){try{for(var l,h=r.return;h!==null;){if(P2(h)){l=h;break}h=h.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var m=l.stateNode,b=Bv(r);Rp(r,b,m);break;case 5:var A=l.stateNode;l.flags&32&&(Ki(A,""),l.flags&=-33);var P=Bv(r);Rp(r,P,A);break;case 3:case 4:var re=l.stateNode.containerInfo,Ae=Bv(r);zv(r,Ae,re);break;default:throw Error(i(161))}}catch(Le){fn(r,r.return,Le)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function V2(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var s=r;V2(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),r=r.sibling}}function Na(r,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)j2(r,s.alternate,s),s=s.sibling}function kl(r){for(r=r.child;r!==null;){var s=r;switch(s.tag){case 0:case 11:case 14:case 15:xo(4,s,s.return),kl(s);break;case 1:Zs(s,s.return);var l=s.stateNode;typeof l.componentWillUnmount=="function"&&M2(s,s.return,l),kl(s);break;case 27:Bf(s.stateNode);case 26:case 5:Zs(s,s.return),kl(s);break;case 22:s.memoizedState===null&&kl(s);break;case 30:kl(s);break;default:kl(s)}r=r.sibling}}function Pa(r,s,l){for(l=l&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var h=s.alternate,m=r,b=s,A=b.flags;switch(b.tag){case 0:case 11:case 15:Pa(m,b,l),Rf(4,b);break;case 1:if(Pa(m,b,l),h=b,m=h.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(Ae){fn(h,h.return,Ae)}if(h=b,m=h.updateQueue,m!==null){var P=h.stateNode;try{var re=m.shared.hiddenCallbacks;if(re!==null)for(m.shared.hiddenCallbacks=null,m=0;m<re.length;m++)wE(re[m],P)}catch(Ae){fn(h,h.return,Ae)}}l&&A&64&&I2(b),Lf(b,b.return);break;case 27:D2(b);case 26:case 5:Pa(m,b,l),l&&h===null&&A&4&&N2(b),Lf(b,b.return);break;case 12:Pa(m,b,l);break;case 31:Pa(m,b,l),l&&A&4&&z2(m,b);break;case 13:Pa(m,b,l),l&&A&4&&H2(m,b);break;case 22:b.memoizedState===null&&Pa(m,b,l),Lf(b,b.return);break;case 30:break;default:Pa(m,b,l)}s=s.sibling}}function $v(r,s){var l=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==l&&(r!=null&&r.refCount++,l!=null&&vf(l))}function Vv(r,s){r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&vf(r))}function ws(r,s,l,h){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)q2(r,s,l,h),s=s.sibling}function q2(r,s,l,h){var m=s.flags;switch(s.tag){case 0:case 11:case 15:ws(r,s,l,h),m&2048&&Rf(9,s);break;case 1:ws(r,s,l,h);break;case 3:ws(r,s,l,h),m&2048&&(r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&vf(r)));break;case 12:if(m&2048){ws(r,s,l,h),r=s.stateNode;try{var b=s.memoizedProps,A=b.id,P=b.onPostCommit;typeof P=="function"&&P(A,s.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(re){fn(s,s.return,re)}}else ws(r,s,l,h);break;case 31:ws(r,s,l,h);break;case 13:ws(r,s,l,h);break;case 23:break;case 22:b=s.stateNode,A=s.alternate,s.memoizedState!==null?b._visibility&2?ws(r,s,l,h):If(r,s):b._visibility&2?ws(r,s,l,h):(b._visibility|=2,Gu(r,s,l,h,(s.subtreeFlags&10256)!==0||!1)),m&2048&&$v(A,s);break;case 24:ws(r,s,l,h),m&2048&&Vv(s.alternate,s);break;default:ws(r,s,l,h)}}function Gu(r,s,l,h,m){for(m=m&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var b=r,A=s,P=l,re=h,Ae=A.flags;switch(A.tag){case 0:case 11:case 15:Gu(b,A,P,re,m),Rf(8,A);break;case 23:break;case 22:var Le=A.stateNode;
vendor: 5,412 bytes, line 9
9A.memoizedState!==null?Le._visibility&2?Gu(b,A,P,re,m):If(b,A):(Le._visibility|=2,Gu(b,A,P,re,m)),m&&Ae&2048&&$v(A.alternate,A);break;case 24:Gu(b,A,P,re,m),m&&Ae&2048&&Vv(A.alternate,A);break;default:Gu(b,A,P,re,m)}s=s.sibling}}function If(r,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var l=r,h=s,m=h.flags;switch(h.tag){case 22:If(l,h),m&2048&&$v(h.alternate,h);break;case 24:If(l,h),m&2048&&Vv(h.alternate,h);break;default:If(l,h)}s=s.sibling}}var Mf=8192;function Wu(r,s,l){if(r.subtreeFlags&Mf)for(r=r.child;r!==null;)K2(r,s,l),r=r.sibling}function K2(r,s,l){switch(r.tag){case 26:Wu(r,s,l),r.flags&Mf&&r.memoizedState!==null&&lU(l,Ss,r.memoizedState,r.memoizedProps);break;case 5:Wu(r,s,l);break;case 3:case 4:var h=Ss;Ss=qp(r.stateNode.containerInfo),Wu(r,s,l),Ss=h;break;case 22:r.memoizedState===null&&(h=r.alternate,h!==null&&h.memoizedState!==null?(h=Mf,Mf=16777216,Wu(r,s,l),Mf=h):Wu(r,s,l));break;default:Wu(r,s,l)}}function G2(r){var s=r.alternate;if(s!==null&&(r=s.child,r!==null)){s.child=null;do s=r.sibling,r.sibling=null,r=s;while(r!==null)}}function Nf(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var h=s[l];Tr=h,Y2(h,r)}G2(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)W2(r),r=r.sibling}function W2(r){switch(r.tag){case 0:case 11:case 15:Nf(r),r.flags&2048&&xo(9,r,r.return);break;case 3:Nf(r);break;case 12:Nf(r);break;case 22:var s=r.stateNode;r.memoizedState!==null&&s._visibility&2&&(r.return===null||r.return.tag!==13)?(s._visibility&=-3,Ip(r)):Nf(r);break;default:Nf(r)}}function Ip(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var h=s[l];Tr=h,Y2(h,r)}G2(r)}for(r=r.child;r!==null;){switch(s=r,s.tag){case 0:case 11:case 15:xo(8,s,s.return),Ip(s);break;case 22:l=s.stateNode,l._visibility&2&&(l._visibility&=-3,Ip(s));break;default:Ip(s)}r=r.sibling}}function Y2(r,s){for(;Tr!==null;){var l=Tr;switch(l.tag){case 0:case 11:case 15:xo(8,l,s);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var h=l.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:vf(l.memoizedState.cache)}if(h=l.child,h!==null)h.return=l,Tr=h;else e:for(l=r;Tr!==null;){h=Tr;var m=h.sibling,b=h.return;if(F2(h),h===l){Tr=null;break e}if(m!==null){m.return=b,Tr=m;break e}Tr=b}}}var ED={getCacheForType:function(r){var s=Br(lr),l=s.data.get(r);return l===void 0&&(l=r(),s.data.set(r,l)),l},cacheSignal:function(){return Br(lr).controller.signal}},AD=typeof WeakMap=="function"?WeakMap:Map,nn=0,Sn=null,Dt=null,Ft=0,cn=0,Ri=null,Co=!1,Yu=!1,qv=!1,Da=0,Yn=0,To=0,Ol=0,Kv=0,Li=0,Xu=0,Pf=null,bi=null,Gv=!1,Mp=0,X2=0,Np=1/0,Pp=null,ko=null,pr=0,Oo=null,Zu=null,Ua=0,Wv=0,Yv=null,Z2=null,Df=0,Xv=null;function Ii(){return(nn&2)!==0&&Ft!==0?Ft&-Ft:Z.T!==null?ny():Nt()}function Q2(){if(Li===0)if((Ft&536870912)===0||$t){var r=Mt;Mt<<=1,(Mt&3932160)===0&&(Mt=262144),Li=r}else Li=536870912;return r=ki.current,r!==null&&(r.flags|=32),Li}function Si(r,s,l){(r===Sn&&(cn===2||cn===9)||r.cancelPendingCommit!==null)&&(Qu(r,0),Ro(r,Ft,Li,!1)),yr(r,l),((nn&2)===0||r!==Sn)&&(r===Sn&&((nn&2)===0&&(Ol|=l),Yn===4&&Ro(r,Ft,Li,!1)),Qs(r))}function J2(r,s,l){if((nn&6)!==0)throw Error(i(327));var h=!l&&(s&127)===0&&(s&r.expiredLanes)===0||sr(r,s),m=h?TD(r,s):Qv(r,s,!0),b=h;do{if(m===0){Yu&&!h&&Ro(r,s,0,!1);break}else{if(l=r.current.alternate,b&&!xD(l)){m=Qv(r,s,!1),b=!1;continue}if(m===2){if(b=s,r.errorRecoveryDisabledLanes&b)var A=0;else A=r.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){s=A;e:{var P=r;m=Pf;var re=P.current.memoizedState.isDehydrated;if(re&&(Qu(P,A).flags|=256),A=Qv(P,A,!1),A!==2){if(qv&&!re){P.errorRecoveryDisabledLanes|=b,Ol|=b,m=4;break e}b=bi,bi=m,b!==null&&(bi===null?bi=b:bi.push.apply(bi,b))}m=A}if(b=!1,m!==2)continue}}if(m===1){Qu(r,0),Ro(r,s,0,!0);break}e:{switch(h=r,b=m,b){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:Ro(h,s,Li,!Co);break e;case 2:bi=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(m=Mp+300-Ot(),10<m)){if(Ro(h,s,Li,!Co),Vt(h,0,!0)!==0)break e;Ua=s,h.timeoutHandle=RA(eA.bind(null,h,l,bi,Pp,Gv,s,Li,Ol,Xu,Co,b,"Throttled",-0,0),m);break e}eA(h,l,bi,Pp,Gv,s,Li,Ol,Xu,Co,b,null,-0,0)}}break}while(!0);Qs(r)}function eA(r,s,l,h,m,b,A,P,re,Ae,Le,Pe,xe,Oe){if(r.timeoutHandle=-1,Pe=s.subtreeFlags,Pe&8192||(Pe&16785408)===16785408){Pe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Gi},K2(s,b,Pe);var Je=(b&62914560)===b?Mp-Ot():(b&4194048)===b?X2-Ot():0;if(Je=uU(Pe,Je),Je!==null){Ua=b,r.cancelPendingCommit=Je(lA.bind(null,r,s,b,l,h,m,A,P,re,Le,Pe,null,xe,Oe)),Ro(r,b,A,!Ae);return}}lA(r,s,b,l,h,m,A,P,re)}function xD(r){for(var s=r;;){var l=s.tag;if((l===0||l===11||l===15)&&s.flags&16384&&(l=s.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var h=0;h<l.length;h++){var m=l[h],b=m.getSnapshot;m=m.value;try{if(!de(b(),m))return!1}catch{return!1}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Ro(r,s,l,h){s&=~Kv,s&=~Ol,r.suspendedLanes|=s,r.pingedLanes&=~s,h&&(r.warmLanes|=s),h=r.expirationTimes;for(var m=s;0<m;){var b=31-Pn(m),A=1<<b;h[b]=-1,m&=~A}l!==0&&ya(r,l,s)}function Dp(){return(nn&6)===0?(Uf(0),!1):!0}
vendor: 2,073 bytes, line 9
9function Zv(){if(Dt!==null){if(cn===0)var r=Dt.return;else r=Dt,Ca=Sl=null,dv(r),Hu=null,bf=0,r=Dt;for(;r!==null;)L2(r.alternate,r),r=r.return;Dt=null}}function Qu(r,s){var l=r.timeoutHandle;l!==-1&&(r.timeoutHandle=-1,qD(l)),l=r.cancelPendingCommit,l!==null&&(r.cancelPendingCommit=null,l()),Ua=0,Zv(),Sn=r,Dt=l=Cr(r.current,null),Ft=s,cn=0,Ri=null,Co=!1,Yu=sr(r,s),qv=!1,Xu=Li=Kv=Ol=To=Yn=0,bi=Pf=null,Gv=!1,(s&8)!==0&&(s|=s&32);var h=r.entangledLanes;if(h!==0)for(r=r.entanglements,h&=s;0<h;){var m=31-Pn(h),b=1<<m;s|=r[m],h&=~b}return Da=s,Ar(),l}function tA(r,s){Et=null,Z.H=Tf,s===zu||s===fp?(s=vE(),cn=3):s===tv?(s=vE(),cn=4):cn=s===Ov?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,Ri=s,Dt===null&&(Yn=1,xp(r,jr(s,r.current)))}function nA(){var r=ki.current;return r===null?!0:(Ft&4194048)===Ft?Ji===null:(Ft&62914560)===Ft||(Ft&536870912)!==0?r===Ji:!1}function rA(){var r=Z.H;return Z.H=Tf,r===null?Tf:r}function iA(){var r=Z.A;return Z.A=ED,r}function Up(){Yn=4,Co||(Ft&4194048)!==Ft&&ki.current!==null||(Yu=!0),(To&134217727)===0&&(Ol&134217727)===0||Sn===null||Ro(Sn,Ft,Li,!1)}function Qv(r,s,l){var h=nn;nn|=2;var m=rA(),b=iA();(Sn!==r||Ft!==s)&&(Pp=null,Qu(r,s)),s=!1;var A=Yn;e:do try{if(cn!==0&&Dt!==null){var P=Dt,re=Ri;switch(cn){case 8:Zv(),A=6;break e;case 3:case 2:case 9:case 6:ki.current===null&&(s=!0);var Ae=cn;if(cn=0,Ri=null,Ju(r,P,re,Ae),l&&Yu){A=0;break e}break;default:Ae=cn,cn=0,Ri=null,Ju(r,P,re,Ae)}}CD(),A=Yn;break}catch(Le){tA(r,Le)}while(!0);return s&&r.shellSuspendCounter++,Ca=Sl=null,nn=h,Z.H=m,Z.A=b,Dt===null&&(Sn=null,Ft=0,Ar()),A}function CD(){for(;Dt!==null;)sA(Dt)}function TD(r,s){var l=nn;nn|=2;var h=rA(),m=iA();Sn!==r||Ft!==s?(Pp=null,Np=Ot()+500,Qu(r,s)):Yu=sr(r,s);e:do try{if(cn!==0&&Dt!==null){s=Dt;var b=Ri;t:switch(cn){case 1:cn=0,Ri=null,Ju(r,s,b,1);break;case 2:case 9:if(gE(b)){cn=0,Ri=null,aA(s);break}s=function(){cn!==2&&cn!==9||Sn!==r||(cn=7),Qs(r)},b.then(s,s);break e;case 3:cn=7;break e;case 4:cn=5;break e;case 7:gE(b)?(cn=0,Ri=null,aA(s)):(cn=0,Ri=null,Ju(r,s,b,7));break;case 5:var A=null;
vendor: 9,959 bytes, line 9
9switch(Dt.tag){case 26:A=Dt.memoizedState;case 5:case 27:var P=Dt;if(A?qA(A):P.stateNode.complete){cn=0,Ri=null;var re=P.sibling;if(re!==null)Dt=re;else{var Ae=P.return;Ae!==null?(Dt=Ae,jp(Ae)):Dt=null}break t}}cn=0,Ri=null,Ju(r,s,b,5);break;case 6:cn=0,Ri=null,Ju(r,s,b,6);break;case 8:Zv(),Yn=6;break e;default:throw Error(i(462))}}kD();break}catch(Le){tA(r,Le)}while(!0);return Ca=Sl=null,Z.H=h,Z.A=m,nn=l,Dt!==null?0:(Sn=null,Ft=0,Ar(),Yn)}function kD(){for(;Dt!==null&&!rt();)sA(Dt)}function sA(r){var s=O2(r.alternate,r,Da);r.memoizedProps=r.pendingProps,s===null?jp(r):Dt=s}function aA(r){var s=r,l=s.alternate;switch(s.tag){case 15:case 0:s=E2(l,s,s.pendingProps,s.type,void 0,Ft);break;case 11:s=E2(l,s,s.pendingProps,s.type.render,s.ref,Ft);break;case 5:dv(s);default:L2(l,s),s=Dt=bs(s,Da),s=O2(l,s,Da)}r.memoizedProps=r.pendingProps,s===null?jp(r):Dt=s}function Ju(r,s,l,h){Ca=Sl=null,dv(s),Hu=null,bf=0;var m=s.return;try{if(mD(r,m,s,l,Ft)){Yn=1,xp(r,jr(l,r.current)),Dt=null;return}}catch(b){if(m!==null)throw Dt=m,b;Yn=1,xp(r,jr(l,r.current)),Dt=null;return}s.flags&32768?($t||h===1?r=!0:Yu||(Ft&536870912)!==0?r=!1:(Co=r=!0,(h===2||h===9||h===3||h===6)&&(h=ki.current,h!==null&&h.tag===13&&(h.flags|=16384))),oA(s,r)):jp(s)}function jp(r){var s=r;do{if((s.flags&32768)!==0){oA(s,Co);return}r=s.return;var l=bD(s.alternate,s,Da);if(l!==null){Dt=l;return}if(s=s.sibling,s!==null){Dt=s;return}Dt=s=r}while(s!==null);Yn===0&&(Yn=5)}function oA(r,s){do{var l=SD(r.alternate,r);if(l!==null){l.flags&=32767,Dt=l;return}if(l=r.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!s&&(r=r.sibling,r!==null)){Dt=r;return}Dt=r=l}while(r!==null);Yn=6,Dt=null}function lA(r,s,l,h,m,b,A,P,re){r.cancelPendingCommit=null;do Fp();while(pr!==0);if((nn&6)!==0)throw Error(i(327));if(s!==null){if(s===r.current)throw Error(i(177));if(b=s.lanes|s.childLanes,b|=tr,Rn(r,l,b,A,P,re),r===Sn&&(Dt=Sn=null,Ft=0),Zu=s,Oo=r,Ua=l,Wv=b,Yv=m,Z2=h,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,ID(_t,function(){return dA(),null})):(r.callbackNode=null,r.callbackPriority=0),h=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||h){h=Z.T,Z.T=null,m=ke.p,ke.p=2,A=nn,nn|=4;try{wD(r,s,l)}finally{nn=A,ke.p=m,Z.T=h}}pr=1,uA(),cA(),fA()}}function uA(){if(pr===1){pr=0;var r=Oo,s=Zu,l=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||l){l=Z.T,Z.T=null;var h=ke.p;ke.p=2;var m=nn;nn|=4;try{$2(s,r);var b=cy,A=G(r.containerInfo),P=b.focusedElem,re=b.selectionRange;if(A!==P&&P&&P.ownerDocument&&F(P.ownerDocument.documentElement,P)){if(re!==null&&ce(P)){var Ae=re.start,Le=re.end;if(Le===void 0&&(Le=Ae),"selectionStart"in P)P.selectionStart=Ae,P.selectionEnd=Math.min(Le,P.value.length);else{var Pe=P.ownerDocument||document,xe=Pe&&Pe.defaultView||window;if(xe.getSelection){var Oe=xe.getSelection(),Je=P.textContent.length,pt=Math.min(re.start,Je),gn=re.end===void 0?pt:Math.min(re.end,Je);!Oe.extend&&pt>gn&&(A=gn,gn=pt,pt=A);var ve=N(P,pt),fe=N(P,gn);if(ve&&fe&&(Oe.rangeCount!==1||Oe.anchorNode!==ve.node||Oe.anchorOffset!==ve.offset||Oe.focusNode!==fe.node||Oe.focusOffset!==fe.offset)){var Ee=Pe.createRange();Ee.setStart(ve.node,ve.offset),Oe.removeAllRanges(),pt>gn?(Oe.addRange(Ee),Oe.extend(fe.node,fe.offset)):(Ee.setEnd(fe.node,fe.offset),Oe.addRange(Ee))}}}}for(Pe=[],Oe=P;Oe=Oe.parentNode;)Oe.nodeType===1&&Pe.push({element:Oe,left:Oe.scrollLeft,top:Oe.scrollTop});for(typeof P.focus=="function"&&P.focus(),P=0;P<Pe.length;P++){var Ne=Pe[P];Ne.element.scrollLeft=Ne.left,Ne.element.scrollTop=Ne.top}}Zp=!!uy,cy=uy=null}finally{nn=m,ke.p=h,Z.T=l}}r.current=s,pr=2}}function cA(){if(pr===2){pr=0;var r=Oo,s=Zu,l=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||l){l=Z.T,Z.T=null;var h=ke.p;ke.p=2;var m=nn;nn|=4;try{j2(r,s.alternate,s)}finally{nn=m,ke.p=h,Z.T=l}}pr=3}}function fA(){if(pr===4||pr===3){pr=0,Ze();var r=Oo,s=Zu,l=Ua,h=Z2;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?pr=5:(pr=0,Zu=Oo=null,hA(r,r.pendingLanes));var m=r.pendingLanes;if(m===0&&(ko=null),Us(l),s=s.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(gt,s,void 0,(s.current.flags&128)===128)}catch{}if(h!==null){s=Z.T,m=ke.p,ke.p=2,Z.T=null;try{for(var b=r.onRecoverableError,A=0;A<h.length;A++){var P=h[A];b(P.value,{componentStack:P.stack})}}finally{Z.T=s,ke.p=m}}(Ua&3)!==0&&Fp(),Qs(r),m=r.pendingLanes,(l&261930)!==0&&(m&42)!==0?r===Xv?Df++:(Df=0,Xv=r):Df=0,Uf(0)}}function hA(r,s){(r.pooledCacheLanes&=s)===0&&(s=r.pooledCache,s!=null&&(r.pooledCache=null,vf(s)))}function Fp(){return uA(),cA(),fA(),dA()}function dA(){if(pr!==5)return!1;var r=Oo,s=Wv;Wv=0;var l=Us(Ua),h=Z.T,m=ke.p;try{ke.p=32>l?32:l,Z.T=null,l=Yv,Yv=null;var b=Oo,A=Ua;if(pr=0,Zu=Oo=null,Ua=0,(nn&6)!==0)throw Error(i(331));var P=nn;if(nn|=4,W2(b.current),q2(b,b.current,A,l),nn=P,Uf(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(gt,b)}catch{}return!0}finally{ke.p=m,Z.T=h,hA(r,s)}}function pA(r,s,l){s=jr(l,s),s=kv(r.stateNode,s,2),r=_o(r,s,2),r!==null&&(yr(r,2),Qs(r))}function fn(r,s,l){if(r.tag===3)pA(r,r,l);else for(;s!==null;){if(s.tag===3){pA(s,r,l);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(ko===null||!ko.has(h))){r=jr(l,r),l=g2(2),h=_o(s,l,2),h!==null&&(m2(l,h,s,r),yr(h,2),Qs(h));break}}s=s.return}}function Jv(r,s,l){var h=r.pingCache;if(h===null){h=r.pingCache=new AD;var m=new Set;h.set(s,m)}else m=h.get(s),m===void 0&&(m=new Set,h.set(s,m));m.has(l)||(qv=!0,m.add(l),r=OD.bind(null,r,s,l),s.then(r,r))}function OD(r,s,l){var h=r.pingCache;h!==null&&h.delete(s),r.pingedLanes|=r.suspendedLanes&l,r.warmLanes&=~l,Sn===r&&(Ft&l)===l&&(Yn===4||Yn===3&&(Ft&62914560)===Ft&&300>Ot()-Mp?(nn&2)===0&&Qu(r,0):Kv|=l,Xu===Ft&&(Xu=0)),Qs(r)}function gA(r,s){s===0&&(s=En()),r=Dr(r,s),r!==null&&(yr(r,s),Qs(r))}function RD(r){var s=r.memoizedState,l=0;s!==null&&(l=s.retryLane),gA(r,l)}function LD(r,s){var l=0;switch(r.tag){case 31:case 13:var h=r.stateNode,m=r.memoizedState;m!==null&&(l=m.retryLane);break;case 19:h=r.stateNode;break;case 22:h=r.stateNode._retryCache;break;default:throw Error(i(314))}h!==null&&h.delete(s),gA(r,l)}function ID(r,s){return mr(r,s)}var Bp=null,ec=null,ey=!1,zp=!1,ty=!1,Lo=0;function Qs(r){r!==ec&&r.next===null&&(ec===null?Bp=ec=r:ec=ec.next=r),zp=!0,ey||(ey=!0,ND())}function Uf(r,s){if(!ty&&zp){ty=!0;do for(var l=!1,h=Bp;h!==null;){if(r!==0){var m=h.pendingLanes;if(m===0)var b=0;else{var A=h.suspendedLanes,P=h.pingedLanes;b=(1<<31-Pn(42|r)+1)-1,b&=m&~(A&~P),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,bA(h,b))}else b=Ft,b=Vt(h,h===Sn?b:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(b&3)===0||sr(h,b)||(l=!0,bA(h,b));h=h.next}while(l);ty=!1}}function MD(){mA()}function mA(){zp=ey=!1;var r=0;Lo!==0&&VD()&&(r=Lo);for(var s=Ot(),l=null,h=Bp;h!==null;){var m=h.next,b=vA(h,s);b===0?(h.next=null,l===null?Bp=m:l.next=m,m===null&&(ec=l)):(l=h,(r!==0||(b&3)!==0)&&(zp=!0)),h=m}pr!==0&&pr!==5||Uf(r),Lo!==0&&(Lo=0)}function vA(r,s){for(var l=r.suspendedLanes,h=r.pingedLanes,m=r.expirationTimes,b=r.pendingLanes&-62914561;0<b;){var A=31-Pn(b),P=1<<A,re=m[A];re===-1?((P&l)===0||(P&h)!==0)&&(m[A]=Be(P,s)):re<=s&&(r.expiredLanes|=P),b&=~P}if(s=Sn,l=Ft,l=Vt(r,r===s?l:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),h=r.callbackNode,l===0||r===s&&(cn===2||cn===9)||r.cancelPendingCommit!==null)return h!==null&&h!==null&&Yr(h),r.callbackNode=null,r.callbackPriority=0;if((l&3)===0||sr(r,l)){if(s=l&-l,s===r.callbackPriority)return s;switch(h!==null&&Yr(h),Us(l)){case 2:case 8:l=mt;break;case 32:l=_t;break;case 268435456:l=bt;break;default:l=_t}return h=yA.bind(null,r),l=mr(l,h),r.callbackPriority=s,r.callbackNode=l,s}return h!==null&&h!==null&&Yr(h),r.callbackPriority=2,r.callbackNode=null,2}function yA(r,s){if(pr!==0&&pr!==5)return r.callbackNode=null,r.callbackPriority=0,null;var l=r.callbackNode;if(Fp()&&r.callbackNode!==l)return null;var h=Ft;return h=Vt(r,r===Sn?h:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),h===0?null:(J2(r,h,s),vA(r,Ot()),r.callbackNode!=null&&r.callbackNode===l?yA.bind(null,r):null)}function bA(r,s){if(Fp())return null;J2(r,s,!0)}function ND(){KD(function(){(nn&6)!==0?mr(Ke,MD):mA()})}function ny(){if(Lo===0){var r=Fu;r===0&&(r=St,St<<=1,(St&261888)===0&&(St=256)),Lo=r}return Lo}function SA(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:ps(""+r)}function wA(r,s){var l=s.ownerDocument.createElement("input");return l.name=s.name,l.value=s.value,r.id&&l.setAttribute("form",r.id),s.parentNode.insertBefore(l,s),r=new FormData(r),l.parentNode.removeChild(l),r}function PD(r,s,l,h,m){if(s==="submit"&&l&&l.stateNode===m){var b=SA((m[hr]||null).action),A=h.submitter;A&&(s=(s=A[hr]||null)?SA(s.formAction):A.getAttribute("formAction"),s!==null&&(b=s,A=null));var P=new $s("action","action",null,h,m);r.push({event:P,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(Lo!==0){var re=A?wA(m,A):new FormData(m);_v(l,{pending:!0,data:re,method:m.method,action:b},null,re)}}else typeof b=="function"&&(P.preventDefault(),re=A?wA(m,A):new FormData(m),_v(l,{pending:!0,data:re,method:m.method,action:b},b,re))},currentTarget:m}]})}}for(var ry=0;ry<jt.length;ry++){var iy=jt[ry],DD=iy.toLowerCase(),UD=iy[0].toUpperCase()+iy.slice(1);tn(DD,"on"+UD)}tn(C,"onAnimationEnd"),tn(M,"onAnimationIteration"),tn(we,"onAnimationStart"),tn("dblclick","onDoubleClick"),tn("focusin","onFocus"),tn("focusout","onBlur"),tn(he,"onTransitionRun"),tn(We,"onTransitionStart"),tn(ht,"onTransitionCancel"),tn(dt,"onTransitionEnd"),Nr("onMouseEnter",["mouseout","mouseover"]),Nr("onMouseLeave",["mouseout","mouseover"]),Nr("onPointerEnter",["pointerout","pointerover"]),Nr("onPointerLeave",["pointerout","pointerover"]),qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qn("onSelect","focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange".split(" ")),qn("onBeforeInput",["compositionend","keypress","textInput","paste"]),qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jf="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(" "),jD=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(jf));function _A(r,s){s=(s&4)!==0;for(var l=0;l<r.length;l++){var h=r[l],m=h.event;h=h.listeners;e:{var b=void 0;if(s)for(var A=h.length-1;0<=A;A--){var P=h[A],re=P.instance,Ae=P.currentTarget;if(P=P.listener,re!==b&&m.isPropagationStopped())break e;b=P,m.currentTarget=Ae;try{b(m)}catch(Le){dr(Le)}m.currentTarget=null,b=re}else for(A=0;A<h.length;A++){if(P=h[A],re=P.instance,Ae=P.currentTarget,P=P.listener,re!==b&&m.isPropagationStopped())break e;b=P,m.currentTarget=Ae;try{b(m)}catch(Le){dr(Le)}m.currentTarget=null,b=re}}}}function Ut(r,s){var l=s[to];l===void 0&&(l=s[to]=new Set);var h=r+"__bubble";l.has(h)||(EA(s,r,2,!1),l.add(h))}function sy(r,s,l){var h=0;s&&(h|=4),EA(l,r,h,s)}var Hp="_reactListening"+Math.random().toString(36).slice(2);function ay(r){if(!r[Hp]){r[Hp]=!0,hi.forEach(function(l){l!=="selectionchange"&&(jD.has(l)||sy(l,!1,r),sy(l,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Hp]||(s[Hp]=!0,sy("selectionchange",!1,s))}}function EA(r,s,l,h){switch(QA(s)){case 2:var m=hU;break;case 8:m=dU;break;default:m=wy}l=m.bind(null,s,l,r),m=void 0,!uo||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(m=!0),h?m!==void 0?r.addEventListener(s,l,{capture:!0,passive:m}):r.addEventListener(s,l,!0):m!==void 0?r.addEventListener(s,l,{passive:m}):r.addEventListener(s,l,!1)}function oy(r,s,l,h,m){var b=h;if((s&1)===0&&(s&2)===0&&h!==null)e:for(;;){if(h===null)return;var A=h.tag;if(A===3||A===4){var P=h.stateNode.containerInfo;if(P===m)break;if(A===4)for(A=h.return;A!==null;){var re=A.tag;if((re===3||re===4)&&A.stateNode.containerInfo===m)return;A=A.return}for(;P!==null;){if(A=Hi(P),A===null)return;if(re=A.tag,re===5||re===6||re===26||re===27){h=b=A;continue e}P=P.parentNode}}h=h.return}Bs(function(){var Ae=b,Le=Cu(l),Pe=[];e:{var xe=Ht.get(r);if(xe!==void 0){var Oe=$s,Je=r;switch(r){case"keypress":if(Ou(l)===0)break e;case"keydown":case"keyup":Oe=Mu;break;case"focusin":Je="focus",Oe=dl;break;case"focusout":Je="blur",Oe=dl;break;case"beforeblur":case"afterblur":Oe=dl;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=Ea;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=hl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=ml;break;case C:case M:case we:Oe=df;break;case dt:Oe=rp;break;case"scroll":case"scrollend":Oe=Vs;break;case"wheel":Oe=H0;break;case"copy":case"cut":case"paste":Oe=co;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=pf;break;case"toggle":case"beforetoggle":Oe=$0}var pt=(s&4)!==0,gn=!pt&&(r==="scroll"||r==="scrollend"),ve=pt?xe!==null?xe+"Capture":null:xe;pt=[];for(var fe=Ae,Ee;fe!==null;){var Ne=fe;if(Ee=Ne.stateNode,Ne=Ne.tag,Ne!==5&&Ne!==26&&Ne!==27||Ee===null||ve===null||(Ne=lo(fe,ve),Ne!=null&&pt.push(Ff(fe,Ne,Ee))),gn)break;fe=fe.return}0<pt.length&&(xe=new Oe(xe,Je,null,l,Le),Pe.push({event:xe,listeners:pt}))}}if((s&7)===0){e:{if(xe=r==="mouseover"||r==="pointerover",Oe=r==="mouseout"||r==="pointerout",xe&&l!==xu&&(Je=l.relatedTarget||l.fromElement)&&(Hi(Je)||Je[fs]))break e;if((Oe||xe)&&(xe=Le.window===Le?Le:(xe=Le.ownerDocument)?xe.defaultView||xe.parentWindow:window,Oe?(Je=l.relatedTarget||l.toElement,Oe=Ae,Je=Je?Hi(Je):null,Je!==null&&(gn=o(Je),pt=Je.tag,Je!==gn||pt!==5&&pt!==27&&pt!==6)&&(Je=null)):(Oe=null,Je=Ae),Oe!==Je)){if(pt=Ea,Ne="onMouseLeave",ve="onMouseEnter",fe="mou
9se",(r==="pointerout"||r==="pointerover")&&(pt=pf,Ne="onPointerLeave",ve="onPointerEnter",fe="pointer"),gn=Oe==null?xe:Vi(Oe),Ee=Je==null?xe:Vi(Je),xe=new pt(Ne,fe+"leave",Oe,l,Le),xe.target=gn,xe.relatedTarget=Ee,Ne=null,Hi(Le)===Ae&&(pt=new pt(ve,fe+"enter",Je,l,Le),pt.target=Ee,pt.relatedTarget=gn,Ne=pt),gn=Ne,Oe&&Je)t:{for(pt=FD,ve=Oe,fe=Je,Ee=0,Ne=ve;Ne;Ne=pt(Ne))Ee++;Ne=0;for(var ft=fe;ft;ft=pt(ft))Ne++;for(;0<Ee-Ne;)ve=pt(ve),Ee--;for(;0<Ne-Ee;)fe=pt(fe),Ne--;for(;Ee--;){if(ve===fe||fe!==null&&ve===fe.alternate){pt=ve;break t}ve=pt(ve),fe=pt(fe)}pt=null}else pt=null;Oe!==null&&AA(Pe,xe,Oe,pt,!1),Je!==null&&gn!==null&&AA(Pe,gn,Je,pt,!0)}}e:{if(xe=Ae?Vi(Ae):window,Oe=xe.nodeName&&xe.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&xe.type==="file")var Gt=E;else if(po(xe))if(_)Gt=le;else{Gt=D;var st=be}else Oe=xe.nodeName,!Oe||Oe.toLowerCase()!=="input"||xe.type!=="checkbox"&&xe.type!=="radio"?Ae&&Au(Ae.elementType)&&(Gt=E):Gt=ee;if(Gt&&(Gt=Gt(r,Ae))){Nu(Pe,Gt,l,Le);break e}st&&st(r,xe,Ae),r==="focusout"&&Ae&&xe.type==="number"&&Ae.memoizedProps.value!=null&&Ti(xe,"number",xe.value)}switch(st=Ae?Vi(Ae):window,r){case"focusin":(po(st)||st.contentEditable==="true")&&(Se=st,je=Ae,ct=null);break;case"focusout":ct=je=Se=null;break;case"mousedown":tt=!0;break;case"contextmenu":case"mouseup":case"dragend":tt=!1,$e(Pe,l,Le);break;case"selectionchange":if(ye)break;case"keydown":case"keyup":$e(Pe,l,Le)}var Ct;if(vl)e:{switch(r){case"compositionstart":var Bt="onCompositionStart";break e;case"compositionend":Bt="onCompositionEnd";break e;case"compositionupdate":Bt="onCompositionUpdate";break e}Bt=void 0}else Ks?ap(r,l)&&(Bt="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(Bt="onCompositionStart");Bt&&(sp&&l.locale!=="ko"&&(Ks||Bt!=="onCompositionStart"?Bt==="onCompositionEnd"&&Ks&&(Ct=Gd()):(zs=Le,hf="value"in zs?zs.value:zs.textContent,Ks=!0)),st=$p(Ae,Bt),0<st.length&&(Bt=new fo(Bt,r,null,l,Le),Pe.push({event:Bt,listeners:st}),Ct?Bt.data=Ct:(Ct=Yi(l),Ct!==null&&(Bt.data=Ct)))),(Ct=V0?Gs(r,l):or(r,l))&&(Bt=$p(Ae,"onBeforeInput"),0<Bt.length&&(st=new fo("onBeforeInput","beforeinput",null,l,Le),Pe.push({event:st,listeners:Bt}),st.data=Ct)),PD(Pe,r,Ae,l,Le)}_A(Pe,s)})}function Ff(r,s,l){return{instance:r,listener:s,currentTarget:l}}function $p(r,s){for(var l=s+"Capture",h=[];r!==null;){var m=r,b=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||b===null||(m=lo(r,l),m!=null&&h.unshift(Ff(r,m,b)),m=lo(r,s),m!=null&&h.push(Ff(r,m,b))),r.tag===3)return h;r=r.return}return[]}function FD(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function AA(r,s,l,h,m){for(var b=s._reactName,A=[];l!==null&&l!==h;){var P=l,re=P.alternate,Ae=P.stateNode;if(P=P.tag,re!==null&&re===h)break;P!==5&&P!==26&&P!==27||Ae===null||(re=Ae,m?(Ae=lo(l,b),Ae!=null&&A.unshift(Ff(l,Ae,re))):m||(Ae=lo(l,b),Ae!=null&&A.push(Ff(l,Ae,re)))),l=l.return}A.length!==0&&r.push({event:s,listeners:A})}var BD=/\r\n?/g,zD=/\u0000|\uFFFD/g;function xA(r){return(typeof r=="string"?r:""+r).replace(BD,`
10`).replace(zD,"")}function CA(r,s){return s=xA(s),xA(r)===s}function pn(r,s,l,h,m,b){switch(l){case"children":typeof h=="string"?s==="body"||s==="textarea"&&h===""||Ki(r,h):(typeof h=="number"||typeof h=="bigint")&&s!=="body"&&Ki(r,""+h);break;case"className":Fs(r,"class",h);break;case"tabIndex":Fs(r,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Fs(r,l,h);break;case"style":Kd(r,h,b);break;case"data":if(s!=="object"){Fs(r,"data",h);break}case"src":case"href":if(h===""&&(s!=="a"||l!=="href")){r.removeAttribute(l);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){r.removeAttribute(l);break}h=ps(""+h),r.setAttribute(l,h);break;case"action":case"formAction":if(typeof h=="function"){r.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(l==="formAction"?(s!=="input"&&pn(r,s,"name",m.name,m,null),pn(r,s,"formEncType",m.formEncType,m,null),pn(r,s,"formMethod",m.formMethod,m,null),pn(r,s,"formTarget",m.formTarget,m,null)):(pn(r,s,"encType",m.encType,m,null),pn(r,s,"method",m.method,m,null),pn(r,s,"target",m.target,m,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){r.removeAttribute(l);break}h=ps(""+h),r.setAttribute(l,h);break;case"onClick":h!=null&&(r.onclick=Gi);break;case"onScroll":h!=null&&Ut("scroll",r);break;case"onScrollEnd":h!=null&&Ut("scrollend",r);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(i(61));if(l=h.__html,l!=null){if(m.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"multiple":r.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":r.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){r.removeAttribute("xlink:href");break}l=ps(""+h),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?r.setAttribute(l,""+h):r.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?r.setAttribute(l,""):r.removeAttribute(l);break;case"capture":case"download":h===!0?r.setAttribute(l,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?r.setAttribute(l,h):r.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?r.setAttribute(l,h):r.removeAttribute(l);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?r.removeAttribute(l):r.setAttribute(l,h);break;case"popover":Ut("beforetoggle",r),Ut("toggle",r),Pt(r,"popover",h);break;case"xlinkActuate":un(r,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":un(r,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":un(r,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":un(r,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":un(r,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":un(r,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":un(r,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":un(r,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":un(r,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":Pt(r,"is",h);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=F0.get(l)||l,Pt(r,l,h))}}function ly(r,s,l,h,m,b){switch(l){case"style":Kd(r,h,b);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(i(61));if(l=h.__html,l!=null){if(m.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"children":typeof h=="string"?Ki(r,h):(typeof h=="number"||typeof h=="bigint")&&Ki(r,""+h);break;case"onScroll":h!=null&&Ut("scroll",r);break;case"onScrollEnd":h!=null&&Ut("scrollend",r);break;case"onClick":h!=null&&(r.onclick=Gi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ar.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),s=l.slice(2,m?l.length-7:void 0),b=r[hr]||null,b=b!=null?b[l]:null,typeof b=="function"&&r.removeEventListener(s,b,m),typeof h=="function")){typeof b!="function"&&b!==null&&(l in r?r[l]=null:r.hasAttribute(l)&&r.removeAttribute(l)),r.addEventListener(s,h,m);break e}l in r?r[l]=h:h===!0?r.setAttribute(l,""):Pt(r,l,h)}}}function Hr(r,s,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ut("error",r),Ut("load",r);var h=!1,m=!1,b;for(b in l)if(l.hasOwnProperty(b)){var A=l[b];if(A!=null)switch(b){case"src":h=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:pn(r,s,b,A,l,null)}}m&&pn(r,s,"srcSet",l.srcSet,l,null),h&&pn(r,s,"src",l.src,l,null);return;case"input":Ut("invalid",r);var P=b=A=m=null,re=null,Ae=null;for(h in l)if(l.hasOwnProperty(h)){var Le=l[h];if(Le!=null)switch(h){case"name":m=Le;break;case"type":A=Le;break;case"checked":re=Le;break;case"defaultChecked":Ae=Le;break;case"value":b=Le;break;case"defaultValue":P=Le;break;case"children":case"dangerouslySetInnerHTML":if(Le!=null)throw Error(i(137,s));break;default:pn(r,s,h,Le,l,null)}}wr(r,b,P,re,Ae,A,m,!1);return;case"select":Ut("invalid",r),h=A=b=null;for(m in l)if(l.hasOwnProperty(m)&&(P=l[m],P!=null))switch(m){case"value":b=P;break;case"defaultValue":A=P;break;case"multiple":h=P;default:pn(r,s,m,P,l,null)}s=b,l=A,r.multiple=!!h,s!=null?_r(r,!!h,s,!1):l!=null&&_r(r,!!h,l,!0);return;case"textarea":Ut("invalid",r),b=m=h=null;for(A in l)if(l.hasOwnProperty(A)&&(P=l[A],P!=null))switch(A){case"value":h=P;break;case"defaultValue":m=P;break;case"children":b=P;break;case"dangerouslySetInnerHTML":if(P!=null)throw Error(i(91));break;default:pn(r,s,A,P,l,null)}ds(r,h,m,b);return;case"option":for(re in l)l.hasOwnProperty(re)&&(h=l[re],h!=null)&&(re==="selected"?r.selected=h&&typeof h!="function"&&typeof h!="symbol":pn(r,s,re,h,l,null));return;case"dialog":Ut("beforetoggle",r),Ut("toggle",r),Ut("cancel",r),Ut("close",r);break;case"iframe":case"object":Ut("load",r);break;case"video":case"audio":for(h=0;h<jf.length;h++)Ut(jf[h],r);break;case"image":Ut("error",r),Ut("load",r);break;case"details":Ut("toggle",r);break;case"embed":case"source":case"link":Ut("error",r),Ut("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Ae in l)if(l.hasOwnProperty(Ae)&&(h=l[Ae],h!=null))switch(Ae){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:pn(r,s,Ae,h,l,null)}return;default:if(Au(s)){for(Le in l)l.hasOwnProperty(Le)&&(h=l[Le],h!==void 0&&ly(r,s,Le,h,l,void 0));return}}for(P in l)l.hasOwnProperty(P)&&(h=l[P],h!=null&&pn(r,s,P,h,l,null))}function HD(r,s,l,h){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,b=null,A=null,P=null,re=null,Ae=null,Le=null;for(Oe in l){var Pe=l[Oe];if(l.hasOwnProperty(Oe)&&Pe!=null)switch(Oe){case"checked":break;case"value":break;case"defaultValue":re=Pe;default:h.hasOwnProperty(Oe)||pn(r,s,Oe,null,h,Pe)}}for(var xe in h){var Oe=h[xe];if(Pe=l[xe],h.hasOwnProperty(xe)&&(Oe!=null||Pe!=null))switch(xe){case"type":b=Oe;break;case"name":m=Oe;break;case"checked":Ae=Oe;break;case"defaultChecked":Le=Oe;break;case"value":A=Oe;break;case"defaultValue":P=Oe;break;case"children":case"dangerouslySetInnerHTML":if(Oe!=null)throw Error(i(137,s));break;default:Oe!==Pe&&pn(r,s,xe,Oe,h,Pe)}}Ci(r,A,P,re,Ae,Le,b,m);return;case"select":Oe=A=P=xe=null;for(b in l)if(re=l[b],l.hasOwnProperty(b)&&re!=null)switch(b){case"value":break;case"multiple":Oe=re;default:h.hasOwnProperty(b)||pn(r,s,b,null,h,re)}for(m in h)if(b=h[m],re=l[m],h.hasOwnProperty(m)&&(b!=null||re!=null))switch(m){case"value":xe=b;break;case"defaultValue":P=b;break;case"multiple":A=b;default:b!==re&&pn(r,s,m,b,h,re)}s=P,l=A,h=Oe,xe!=null?_r(r,!!l,xe,!1):!!h!=!!l&&(s!=null?_r(r,!!l,s,!0):_r(r,!!l,l?[]:"",!1));return;
vendor: 6,770 bytes, line 10
10case"textarea":Oe=xe=null;for(P in l)if(m=l[P],l.hasOwnProperty(P)&&m!=null&&!h.hasOwnProperty(P))switch(P){case"value":break;case"children":break;default:pn(r,s,P,null,h,m)}for(A in h)if(m=h[A],b=l[A],h.hasOwnProperty(A)&&(m!=null||b!=null))switch(A){case"value":xe=m;break;case"defaultValue":Oe=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(i(91));break;default:m!==b&&pn(r,s,A,m,h,b)}Sa(r,xe,Oe);return;case"option":for(var Je in l)xe=l[Je],l.hasOwnProperty(Je)&&xe!=null&&!h.hasOwnProperty(Je)&&(Je==="selected"?r.selected=!1:pn(r,s,Je,null,h,xe));for(re in h)xe=h[re],Oe=l[re],h.hasOwnProperty(re)&&xe!==Oe&&(xe!=null||Oe!=null)&&(re==="selected"?r.selected=xe&&typeof xe!="function"&&typeof xe!="symbol":pn(r,s,re,xe,h,Oe));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pt in l)xe=l[pt],l.hasOwnProperty(pt)&&xe!=null&&!h.hasOwnProperty(pt)&&pn(r,s,pt,null,h,xe);for(Ae in h)if(xe=h[Ae],Oe=l[Ae],h.hasOwnProperty(Ae)&&xe!==Oe&&(xe!=null||Oe!=null))switch(Ae){case"children":case"dangerouslySetInnerHTML":if(xe!=null)throw Error(i(137,s));break;default:pn(r,s,Ae,xe,h,Oe)}return;default:if(Au(s)){for(var gn in l)xe=l[gn],l.hasOwnProperty(gn)&&xe!==void 0&&!h.hasOwnProperty(gn)&&ly(r,s,gn,void 0,h,xe);for(Le in h)xe=h[Le],Oe=l[Le],!h.hasOwnProperty(Le)||xe===Oe||xe===void 0&&Oe===void 0||ly(r,s,Le,xe,h,Oe);return}}for(var ve in l)xe=l[ve],l.hasOwnProperty(ve)&&xe!=null&&!h.hasOwnProperty(ve)&&pn(r,s,ve,null,h,xe);for(Pe in h)xe=h[Pe],Oe=l[Pe],!h.hasOwnProperty(Pe)||xe===Oe||xe==null&&Oe==null||pn(r,s,Pe,xe,h,Oe)}function TA(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function $D(){if(typeof performance.getEntriesByType=="function"){for(var r=0,s=0,l=performance.getEntriesByType("resource"),h=0;h<l.length;h++){var m=l[h],b=m.transferSize,A=m.initiatorType,P=m.duration;if(b&&P&&TA(A)){for(A=0,P=m.responseEnd,h+=1;h<l.length;h++){var re=l[h],Ae=re.startTime;if(Ae>P)break;var Le=re.transferSize,Pe=re.initiatorType;Le&&TA(Pe)&&(re=re.responseEnd,A+=Le*(re<P?1:(P-Ae)/(re-Ae)))}if(--h,s+=8*(b+A)/(m.duration/1e3),r++,10<r)break}}if(0<r)return s/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var uy=null,cy=null;function Vp(r){return r.nodeType===9?r:r.ownerDocument}function kA(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function OA(r,s){if(r===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&s==="foreignObject"?0:r}function fy(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var hy=null;function VD(){var r=window.event;return r&&r.type==="popstate"?r===hy?!1:(hy=r,!0):(hy=null,!1)}var RA=typeof setTimeout=="function"?setTimeout:void 0,qD=typeof clearTimeout=="function"?clearTimeout:void 0,LA=typeof Promise=="function"?Promise:void 0,KD=typeof queueMicrotask=="function"?queueMicrotask:typeof LA<"u"?function(r){return LA.resolve(null).then(r).catch(GD)}:RA;function GD(r){setTimeout(function(){throw r})}function Io(r){return r==="head"}function IA(r,s){var l=s,h=0;do{var m=l.nextSibling;if(r.removeChild(l),m&&m.nodeType===8)if(l=m.data,l==="/$"||l==="/&"){if(h===0){r.removeChild(m),ic(s);return}h--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")h++;else if(l==="html")Bf(r.ownerDocument.documentElement);else if(l==="head"){l=r.ownerDocument.head,Bf(l);for(var b=l.firstChild;b;){var A=b.nextSibling,P=b.nodeName;b[zi]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&b.rel.toLowerCase()==="stylesheet"||l.removeChild(b),b=A}}else l==="body"&&Bf(r.ownerDocument.body);l=m}while(l);ic(s)}function MA(r,s){var l=r;r=0;do{var h=l.nextSibling;if(l.nodeType===1?s?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(s?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),h&&h.nodeType===8)if(l=h.data,l==="/$"){if(r===0)break;r--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||r++;l=h}while(l)}function dy(r){var s=r.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var l=s;switch(s=s.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":dy(l),no(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}r.removeChild(l)}}function WD(r,s,l,h){for(;r.nodeType===1;){var m=l;if(r.nodeName.toLowerCase()!==s.toLowerCase()){if(!h&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(h){if(!r[zi])switch(s){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(b=r.getAttribute("rel"),b==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(b!==m.rel||r.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||r.getAttribute("title")!==(m.title==null?null:m.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(b=r.getAttribute("src"),(b!==(m.src==null?null:m.src)||r.getAttribute("type")!==(m.type==null?null:m.type)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&b&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(s==="input"&&r.type==="hidden"){var b=m.name==null?null:""+m.name;if(m.type==="hidden"&&r.getAttribute("name")===b)return r}else return r;if(r=es(r.nextSibling),r===null)break}return null}function YD(r,s,l){if(s==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=es(r.nextSibling),r===null))return null;return r}function NA(r,s){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=es(r.nextSibling),r===null))return null;return r}function py(r){return r.data==="$?"||r.data==="$~"}function gy(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function XD(r,s){var l=r.ownerDocument;if(r.data==="$~")r._reactRetry=s;else if(r.data!=="$?"||l.readyState!=="loading")s();else{var h=function(){s(),l.removeEventListener("DOMContentLoaded",h)};l.addEventListener("DOMContentLoaded",h),r._reactRetry=h}}function es(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;
vendor: 5,076 bytes, line 10
10if(s==="/$"||s==="/&")return null}}return r}var my=null;function PA(r){r=r.nextSibling;for(var s=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"||l==="/&"){if(s===0)return es(r.nextSibling);s--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||s++}r=r.nextSibling}return null}function DA(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(s===0)return r;s--}else l!=="/$"&&l!=="/&"||s++}r=r.previousSibling}return null}function UA(r,s,l){switch(s=Vp(l),r){case"html":if(r=s.documentElement,!r)throw Error(i(452));return r;case"head":if(r=s.head,!r)throw Error(i(453));return r;case"body":if(r=s.body,!r)throw Error(i(454));return r;default:throw Error(i(451))}}function Bf(r){for(var s=r.attributes;s.length;)r.removeAttributeNode(s[0]);no(r)}var ts=new Map,jA=new Set;function qp(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var ja=ke.d;ke.d={f:ZD,r:QD,D:JD,C:eU,L:tU,m:nU,X:iU,S:rU,M:sU};function ZD(){var r=ja.f(),s=Dp();return r||s}function QD(r){var s=$i(r);s!==null&&s.tag===5&&s.type==="form"?t2(s):ja.r(r)}var tc=typeof document>"u"?null:document;function FA(r,s,l){var h=tc;if(h&&typeof s=="string"&&s){var m=Sr(s);m='link[rel="'+r+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),jA.has(m)||(jA.add(m),r={rel:r,crossOrigin:l,href:s},h.querySelector(m)===null&&(s=h.createElement("link"),Hr(s,"link",r),An(s),h.head.appendChild(s)))}}function JD(r){ja.D(r),FA("dns-prefetch",r,null)}function eU(r,s){ja.C(r,s),FA("preconnect",r,s)}function tU(r,s,l){ja.L(r,s,l);var h=tc;if(h&&r&&s){var m='link[rel="preload"][as="'+Sr(s)+'"]';s==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+Sr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+Sr(l.imageSizes)+'"]')):m+='[href="'+Sr(r)+'"]';var b=m;switch(s){case"style":b=nc(r);break;case"script":b=rc(r)}ts.has(b)||(r=S({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:r,as:s},l),ts.set(b,r),h.querySelector(m)!==null||s==="style"&&h.querySelector(zf(b))||s==="script"&&h.querySelector(Hf(b))||(s=h.createElement("link"),Hr(s,"link",r),An(s),h.head.appendChild(s)))}}function nU(r,s){ja.m(r,s);var l=tc;if(l&&r){var h=s&&typeof s.as=="string"?s.as:"script",m='link[rel="modulepreload"][as="'+Sr(h)+'"][href="'+Sr(r)+'"]',b=m;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=rc(r)}if(!ts.has(b)&&(r=S({rel:"modulepreload",href:r},s),ts.set(b,r),l.querySelector(m)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Hf(b)))return}h=l.createElement("link"),Hr(h,"link",r),An(h),l.head.appendChild(h)}}}function rU(r,s,l){ja.S(r,s,l);var h=tc;if(h&&r){var m=qi(h).hoistableStyles,b=nc(r);s=s||"default";var A=m.get(b);if(!A){var P={loading:0,preload:null};if(A=h.querySelector(zf(b)))P.loading=5;else{r=S({rel:"stylesheet",href:r,"data-precedence":s},l),(l=ts.get(b))&&vy(r,l);var re=A=h.createElement("link");An(re),Hr(re,"link",r),re._p=new Promise(function(Ae,Le){re.onload=Ae,re.onerror=Le}),re.addEventListener("load",function(){P.loading|=1}),re.addEventListener("error",function(){P.loading|=2}),P.loading|=4,Kp(A,s,h)}A={type:"stylesheet",instance:A,count:1,state:P},m.set(b,A)}}}function iU(r,s){ja.X(r,s);var l=tc;if(l&&r){var h=qi(l).hoistableScripts,m=rc(r),b=h.get(m);b||(b=l.querySelector(Hf(m)),b||(r=S({src:r,async:!0},s),(s=ts.get(m))&&yy(r,s),b=l.createElement("script"),An(b),Hr(b,"link",r),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(m,b))}}function sU(r,s){ja.M(r,s);var l=tc;if(l&&r){var h=qi(l).hoistableScripts,m=rc(r),b=h.get(m);b||(b=l.querySelector(Hf(m)),b||(r=S({src:r,async:!0,type:"module"},s),(s=ts.get(m))&&yy(r,s),b=l.createElement("script"),An(b),Hr(b,"link",r),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(m,b))}}function BA(r,s,l,h){var m=(m=Ve.current)?qp(m):null;if(!m)throw Error(i(446));switch(r){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=nc(l.href),l=qi(m).hoistableStyles,h=l.get(s),h||(h={type:"style",instance:null,count:0,state:null},l.set(s,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){r=nc(l.href);var b=qi(m).hoistableStyles,A=b.get(r);if(A||(m=m.ownerDocument||m,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(r,A),(b=m.querySelector(zf(r)))&&!b._p&&(A.instance=b,A.state.loading=5),ts.has(r)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},ts.set(r,l),b||aU(m,r,l,A.state))),s&&h===null)throw Error(i(528,""));return A}if(s&&h!==null)throw Error(i(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?
vendor: 5,255 bytes, line 10
10(s=rc(l),l=qi(m).hoistableScripts,h=l.get(s),h||(h={type:"script",instance:null,count:0,state:null},l.set(s,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,r))}}function nc(r){return'href="'+Sr(r)+'"'}function zf(r){return'link[rel="stylesheet"]['+r+"]"}function zA(r){return S({},r,{"data-precedence":r.precedence,precedence:null})}function aU(r,s,l,h){r.querySelector('link[rel="preload"][as="style"]['+s+"]")?h.loading=1:(s=r.createElement("link"),h.preload=s,s.addEventListener("load",function(){return h.loading|=1}),s.addEventListener("error",function(){return h.loading|=2}),Hr(s,"link",l),An(s),r.head.appendChild(s))}function rc(r){return'[src="'+Sr(r)+'"]'}function Hf(r){return"script[async]"+r}function HA(r,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var h=r.querySelector('style[data-href~="'+Sr(l.href)+'"]');if(h)return s.instance=h,An(h),h;var m=S({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return h=(r.ownerDocument||r).createElement("style"),An(h),Hr(h,"style",m),Kp(h,l.precedence,r),s.instance=h;case"stylesheet":m=nc(l.href);var b=r.querySelector(zf(m));if(b)return s.state.loading|=4,s.instance=b,An(b),b;h=zA(l),(m=ts.get(m))&&vy(h,m),b=(r.ownerDocument||r).createElement("link"),An(b);var A=b;return A._p=new Promise(function(P,re){A.onload=P,A.onerror=re}),Hr(b,"link",h),s.state.loading|=4,Kp(b,l.precedence,r),s.instance=b;case"script":return b=rc(l.src),(m=r.querySelector(Hf(b)))?(s.instance=m,An(m),m):(h=l,(m=ts.get(b))&&(h=S({},l),yy(h,m)),r=r.ownerDocument||r,m=r.createElement("script"),An(m),Hr(m,"link",h),r.head.appendChild(m),s.instance=m);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(h=s.instance,s.state.loading|=4,Kp(h,l.precedence,r));return s.instance}function Kp(r,s,l){for(var h=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=h.length?h[h.length-1]:null,b=m,A=0;A<h.length;A++){var P=h[A];if(P.dataset.precedence===s)b=P;else if(b!==m)break}b?b.parentNode.insertBefore(r,b.nextSibling):(s=l.nodeType===9?l.head:l,s.insertBefore(r,s.firstChild))}function vy(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.title==null&&(r.title=s.title)}function yy(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.integrity==null&&(r.integrity=s.integrity)}var Gp=null;function $A(r,s,l){if(Gp===null){var h=new Map,m=Gp=new Map;m.set(l,h)}else m=Gp,h=m.get(l),h||(h=new Map,m.set(l,h));if(h.has(r))return h;for(h.set(r,null),l=l.getElementsByTagName(r),m=0;m<l.length;m++){var b=l[m];if(!(b[zi]||b[Vn]||r==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var A=b.getAttribute(s)||"";A=r+A;var P=h.get(A);P?P.push(b):h.set(A,[b])}}return h}function VA(r,s,l){r=r.ownerDocument||r,r.head.insertBefore(l,s==="title"?r.querySelector("head > title"):null)}function oU(r,s,l){if(l===1||s.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(r=s.disabled,typeof s.precedence=="string"&&r==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function qA(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function lU(r,s,l,h){if(l.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var m=nc(h.href),b=s.querySelector(zf(m));if(b){s=b._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(r.count++,r=Wp.bind(r),s.then(r,r)),l.state.loading|=4,l.instance=b,An(b);return}b=s.ownerDocument||s,h=zA(h),(m=ts.get(m))&&vy(h,m),b=b.createElement("link"),An(b);var A=b;A._p=new Promise(function(P,re){A.onload=P,A.onerror=re}),Hr(b,"link",h),l.instance=b}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(l,s),(s=l.state.preload)&&(l.state.loading&3)===0&&(r.count++,l=Wp.bind(r),s.addEventListener("load",l),s.addEventListener("error",l))}}var by=0;function uU(r,s){return r.stylesheets&&r.count===0&&Xp(r,r.stylesheets),0<r.count||0<r.imgCount?function(l){var h=setTimeout(function(){if(r.stylesheets&&Xp(r,r.stylesheets),r.unsuspend){var b=r.unsuspend;r.unsuspend=null,b()}},6e4+s);0<r.imgBytes&&by===0&&(by=62500*$D());var m=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&Xp(r,r.stylesheets),r.unsuspend)){var b=r.unsuspend;r.unsuspend=null,b()}},(r.imgBytes>by?50:800)+s);return r.unsuspend=l,function(){r.unsuspend=null,clearTimeout(h),clearTimeout(m)}}:null}function Wp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xp(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Yp=null;function Xp(r,s){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Yp=new Map,s.forEac
vendor: 9,879 bytes, line 10
10h(cU,r),Yp=null,Wp.call(r))}function cU(r,s){if(!(s.state.loading&4)){var l=Yp.get(r);if(l)var h=l.get(null);else{l=new Map,Yp.set(r,l);for(var m=r.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<m.length;b++){var A=m[b];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(l.set(A.dataset.precedence,A),h=A)}h&&l.set(null,h)}m=s.instance,A=m.getAttribute("data-precedence"),b=l.get(A)||h,b===h&&l.set(null,m),l.set(A,m),this.count++,h=Wp.bind(this),m.addEventListener("load",h),m.addEventListener("error",h),b?b.parentNode.insertBefore(m,b.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(m,r.firstChild)),s.state.loading|=4}}var $f={$$typeof:ne,Provider:null,Consumer:null,_currentValue:Ie,_currentValue2:Ie,_threadCount:0};function fU(r,s,l,h,m,b,A,P,re){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Mr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mr(0),this.hiddenUpdates=Mr(null),this.identifierPrefix=h,this.onUncaughtError=m,this.onCaughtError=b,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=re,this.incompleteTransitions=new Map}function KA(r,s,l,h,m,b,A,P,re,Ae,Le,Pe){return r=new fU(r,s,l,A,re,Ae,Le,Pe,P),s=1,b===!0&&(s|=24),b=Un(3,null,null,s),r.current=b,b.stateNode=r,s=Q0(),s.refCount++,r.pooledCache=s,s.refCount++,b.memoizedState={element:h,isDehydrated:l,cache:s},nv(b),r}function GA(r){return r?(r=Ur,r):Ur}function WA(r,s,l,h,m,b){m=GA(m),h.context===null?h.context=m:h.pendingContext=m,h=wo(s),h.payload={element:l},b=b===void 0?null:b,b!==null&&(h.callback=b),l=_o(r,h,s),l!==null&&(Si(l,r,s),wf(l,r,s))}function YA(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<s?l:s}}function Sy(r,s){YA(r,s),(r=r.alternate)&&YA(r,s)}function XA(r){if(r.tag===13||r.tag===31){var s=Dr(r,67108864);s!==null&&Si(s,r,67108864),Sy(r,67108864)}}function ZA(r){if(r.tag===13||r.tag===31){var s=Ii();s=yn(s);var l=Dr(r,s);l!==null&&Si(l,r,s),Sy(r,s)}}var Zp=!0;function hU(r,s,l,h){var m=Z.T;Z.T=null;var b=ke.p;try{ke.p=2,wy(r,s,l,h)}finally{ke.p=b,Z.T=m}}function dU(r,s,l,h){var m=Z.T;Z.T=null;var b=ke.p;try{ke.p=8,wy(r,s,l,h)}finally{ke.p=b,Z.T=m}}function wy(r,s,l,h){if(Zp){var m=_y(h);if(m===null)oy(r,s,h,Qp,l),JA(r,h);else if(gU(m,r,s,l,h))h.stopPropagation();else if(JA(r,h),s&4&&-1<pU.indexOf(r)){for(;m!==null;){var b=$i(m);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var A=it(b.pendingLanes);if(A!==0){var P=b;for(P.pendingLanes|=2,P.entangledLanes|=2;A;){var re=1<<31-Pn(A);P.entanglements[1]|=re,A&=~re}Qs(b),(nn&6)===0&&(Np=Ot()+500,Uf(0))}}break;case 31:case 13:P=Dr(b,2),P!==null&&Si(P,b,2),Dp(),Sy(b,2)}if(b=_y(h),b===null&&oy(r,s,h,Qp,l),b===m)break;m=b}m!==null&&h.stopPropagation()}else oy(r,s,h,null,l)}}function _y(r){return r=Cu(r),Ey(r)}var Qp=null;function Ey(r){if(Qp=null,r=Hi(r),r!==null){var s=o(r);if(s===null)r=null;else{var l=s.tag;if(l===13){if(r=f(s),r!==null)return r;r=null}else if(l===31){if(r=p(s),r!==null)return r;r=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null)}}return Qp=r,null}function QA(r){switch(r){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(qe()){case Ke:return 2;case mt:return 8;case _t:case kt:return 32;case bt:return 268435456;default:return 32}default:return 32}}var Ay=!1,Mo=null,No=null,Po=null,Vf=new Map,qf=new Map,Do=[],pU="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".split(" ");function JA(r,s){switch(r){case"focusin":case"focusout":Mo=null;break;case"dragenter":case"dragleave":No=null;break;case"mouseover":case"mouseout":Po=null;break;case"pointerover":case"pointerout":Vf.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":qf.delete(s.pointerId)}}function Kf(r,s,l,h,m,b){return r===null||r.nativeEvent!==b?(r={blockedOn:s,domEventName:l,eventSystemFlags:h,nativeEvent:b,targetContainers:[m]},s!==null&&(s=$i(s),s!==null&&XA(s)),r):(r.eventSystemFlags|=h,s=r.targetContainers,m!==null&&s.indexOf(m)===-1&&s.push(m),r)}function gU(r,s,l,h,m){switch(s){case"focusin":return Mo=Kf(Mo,r,s,l,h,m),!0;case"dragenter":return No=Kf(No,r,s,l,h,m),!0;case"mouseover":return Po=Kf(Po,r,s,l,h,m),!0;case"pointerover":var b=m.pointerId;return Vf.set(b,Kf(Vf.get(b)||null,r,s,l,h,m)),!0;case"gotpointercapture":return b=m.pointerId,qf.set(b,Kf(qf.get(b)||null,r,s,l,h,m)),!0}return!1}function ex(r){var s=Hi(r.target);if(s!==null){var l=o(s);if(l!==null){if(s=l.tag,s===13){if(s=f(l),s!==null){r.blockedOn=s,ul(r.priority,function(){ZA(l)});return}}else if(s===31){if(s=p(l),s!==null){r.blockedOn=s,ul(r.priority,function(){ZA(l)});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Jp(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var l=_y(r.nativeEvent);if(l===null){l=r.nativeEvent;var h=new l.constructor(l.type,l);xu=h,l.target.dispatchEvent(h),xu=null}else return s=$i(l),s!==null&&XA(s),r.blockedOn=l,!1;s.shift()}return!0}function tx(r,s,l){Jp(r)&&l.delete(s)}function mU(){Ay=!1,Mo!==null&&Jp(Mo)&&(Mo=null),No!==null&&Jp(No)&&(No=null),Po!==null&&Jp(Po)&&(Po=null),Vf.forEach(tx),qf.forEach(tx)}function eg(r,s){r.blockedOn===s&&(r.blockedOn=null,Ay||(Ay=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,mU)))}var tg=null;function nx(r){tg!==r&&(tg=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){tg===r&&(tg=null);for(var s=0;s<r.length;s+=3){var l=r[s],h=r[s+1],m=r[s+2];if(typeof h!="function"){if(Ey(h||l)===null)continue;break}var b=$i(l);b!==null&&(r.splice(s,3),s-=3,_v(b,{pending:!0,data:m,method:l.method,action:h},h,m))}}))}function ic(r){function s(re){return eg(re,r)}Mo!==null&&eg(Mo,r),No!==null&&eg(No,r),Po!==null&&eg(Po,r),Vf.forEach(s),qf.forEach(s);for(var l=0;l<Do.length;l++){var h=Do[l];h.blockedOn===r&&(h.blockedOn=null)}for(;0<Do.length&&(l=Do[0],l.blockedOn===null);)ex(l),l.blockedOn===null&&Do.shift();if(l=(r.ownerDocument||r).$$reactFormReplay,l!=null)for(h=0;h<l.length;h+=3){var m=l[h],b=l[h+1],A=m[hr]||null;if(typeof b=="function")A||nx(l);else if(A){var P=null;if(b&&b.hasAttribute("formAction")){if(m=b,A=b[hr]||null)P=A.formAction;else if(Ey(m)!==null)continue}else P=A.action;typeof P=="function"?l[h+1]=P:(l.splice(h,3),h-=3),nx(l)}}}function rx(){function r(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(A){return m=A})},focusReset:"manual",scroll:"manual"})}function s(){m!==null&&(m(),m=null),h||setTimeout(l,20)}function l(){if(!h&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,m=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(l,100),function(){h=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),m!==null&&(m(),m=null)}}}function xy(r){this._internalRoot=r}ng.prototype.render=xy.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(i(409));var l=s.current,h=Ii();WA(l,h,r,s,null,null)},ng.prototype.unmount=xy.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;WA(r.current,2,null,r,null,null),Dp(),s[fs]=null}};function ng(r){this._internalRoot=r}ng.prototype.unstable_scheduleHydration=function(r){if(r){var s=Nt();r={blockedOn:null,target:r,priority:s};for(var l=0;l<Do.length&&s!==0&&s<Do[l].priority;l++);Do.splice(l,0,r),l===0&&ex(r)}};var ix=t.version;if(ix!=="19.2.4")throw Error(i(527,ix,"19.2.4"));ke.findDOMNode=function(r){var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=u(s),r=r!==null?y(r):null,r=r===null?null:r.stateNode,r};var vU={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:Z,reconcilerVersion:"19.2.4"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rg.isDisabled&&rg.supportsFiber)try{gt=rg.inject(vU),ln=rg}catch{}}return ac.createRoot=function(r,s){if(!a(r))throw Error(i(299));var l=!1,h="",m=f2,b=h2,A=d2;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(m=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(A=s.onRecoverableError)),s=KA(r,1,!1,null,null,l,h,null,m,b,A,rx),r[fs]=s.current,ay(r),new xy(s)},ac.hydrateRoot=function(r,s,l){if(!a(r))throw Error(i(299));var h=!1,m="",b=f2,A=h2,P=d2,re=null;return l!=null&&(l.unstable_strictMode===!0&&(h=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(A=l.onCaughtError),l.onRecoverableError!==void 0&&(P=l.onRecoverableError),l.formState!==void 0&&(re=l.formState)),s=KA(r,1,!0,s,l??null,h,m,re,b,A,P,rx),s.context=GA(null),l=s.current,h=Ii(),h=yn(h),m=wo(h),m.callback=null,_o(l,m,h),l=h,s.current.lanes=l,yr(s,l),Qs(s),r[fs]=s.current,ay(r),new ng(s)},ac.version="19.2.4",ac}var Fy;function Sx(){if(Fy)return ag.exports;Fy=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ag.exports=bx(),ag.exports}var Wf=Sx();const wx=Gf({__proto__:null,default:jo(Wf)},[Wf]),wU="modulepreload",_U=function(e){return"/etc/clientlibs/myif/master/ima/"+e},EU={},Mi=function(t,n,i){let a=Promise.resolve();function o(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return a.then(f=>{for(const p of f||[])p.status==="rejected"&&o(p.reason);return t().catch(o)})},_x=(e,t,n)=>{const i=e[t];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((a,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};var B=oc();const Lt=jo(B),lc=Gf({__proto__:null,default:Lt},[B]);var Yt={DefaultUuiVersion:1,HttpSevereError:-1,HttpAbortedError:-100,HttpOK:200,HttpBadRequest:400,HttpForbidden:403,HttpNotFound:404,HttpInternalServerError:500,ToHundreds:100,Zero:0,ArrayFirstEntry:0,DecimalRadix:10,ExpectedAuthenticationPayloadLength:1};let Yf;const Ex=new Uint8Array(16);function Ax(){if(!Yf&&(Yf=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Yf))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Yf(Ex)}const kr=[];for(let e=0;e<256;++e)kr.push((e+256).toString(16).slice(1));function xx(e,t=0){return kr[e[t+0]]+kr[e[t+1]]+kr[e[t+2]]+kr[e[t+3]]+"-"+kr[e[t+4]]+kr[e[t+5]]+"-"+kr[e[t+6]]+kr[e[t+7]]+"-"+kr[e[t+8]]+kr[e[t+9]]+"-"+kr[e[t+10]]+kr[e[t+11]]+kr[e[t+12]]+kr[e[t+13]]+kr[e[t+14]]+kr[e[t+15]]}const By={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ta(e,t,n){if(By.randomUUID&&!e)return By.randomUUID();e=e||{};const i=e.random||(e.rng||Ax)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,xx(i)}var At=(function(){function e(t,n){this.id=t,this.detail=n}return e.subscribeInternal=function(t,n,i){var a=ta(),o=function(f){if(f instanceof CustomEvent){t(f);return}throw Error("Event '".concat(n,"' ist kein CustomEvent!"))};return this.listeners.set(a,{handler:o,target:i??window}),(i??window).addEventListener(n,o),a},e.unsubscribeInternal=function(t,n){var i=this.listeners.get(n);i!==void 0&&(i.target.removeEventListener(t,i.handler),this.listeners.delete(n))},e.prototype.dispatch=function(t,n){var i=this;if(n===!0){setTimeout(function(){return i.dispatchInternal(t)});return}this.dispatchInternal(t)},e.prototype.asCustomEvent=function(){return new CustomEvent(this.id,{detail:this.detail})},e.prototype.dispatchInternal=function(t){(t??window).dispatchEvent(this.asCustomEvent())},e.listeners=new Map,e})(),Cx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}
10t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),uc=(function(e){Cx(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-connectionstatus",t})(At),Fo;(function(e){e.Unknown="UNKNOWN",e.Online="ONLINE",e.Offline="OFFLINE"})(Fo||(Fo={}));var fg=Fo.Unknown,zy=Date.now(),Hy=0;function $y(){return{status:fg,since:zy,lastCheck:Hy}}function Vy(e){var t=Date.now();e!==fg&&(fg=e,zy=t,new uc($y()).dispatch()),Hy=t}var na={getStatus:function(){return $y()},setOnline:function(){Vy(Fo.Online)},setOffline:function(){Vy(Fo.Offline)}},hg={},qy;function Tx(){return qy||(qy=1,(function(e){(function(){var t={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(p){return a(f(p),arguments)}function i(p,g){return n.apply(null,[p].concat(g||[]))}function a(p,g){var u=1,y=p.length,S,x="",O,L,R,V,K,se,ne,J;for(O=0;O<y;O++)if(typeof p[O]=="string")x+=p[O];else if(typeof p[O]=="object"){if(R=p[O],R.keys)for(S=g[u],L=0;L<R.keys.length;L++){if(S==null)throw new Error(n('[sprintf] Cannot access property "%s" of undefined value "%s"',R.keys[L],R.keys[L-1]));S=S[R.keys[L]]}else R.param_no?S=g[R.param_no]:S=g[u++];if(t.not_type.test(R.type)&&t.not_primitive.test(R.type)&&S instanceof Function&&(S=S()),t.numeric_arg.test(R.type)&&typeof S!="number"&&isNaN(S))throw new TypeError(n("[sprintf] expecting number but found %T",S));switch(t.number.test(R.type)&&(ne=S>=0),R.type){case"b":S=parseInt(S,10).toString(2);break;case"c":S=String.fromCharCode(parseInt(S,10));break;case"d":case"i":S=parseInt(S,10);break;case"j":S=JSON.stringify(S,null,R.width?parseInt(R.width):0);break;case"e":S=R.precision?parseFloat(S).toExponential(R.precision):parseFloat(S).toExponential();break;case"f":S=R.precision?parseFloat(S).toFixed(R.precision):parseFloat(S);break;case"g":S=R.precision?String(Number(S.toPrecision(R.precision))):parseFloat(S);break;case"o":S=(parseInt(S,10)>>>0).toString(8);break;case"s":S=String(S),S=R.precision?S.substring(0,R.precision):S;break;case"t":S=String(!!S),S=R.precision?S.substring(0,R.precision):S;break;case"T":S=Object.prototype.toString.call(S).slice(8,-1).toLowerCase(),S=R.precision?S.substring(0,R.precision):S;break;case"u":S=parseInt(S,10)>>>0;break;case"v":S=S.valueOf(),S=R.precision?S.substring(0,R.precision):S;break;case"x":S=(parseInt(S,10)>>>0).toString(16);break;case"X":S=(parseInt(S,10)>>>0).toString(16).toUpperCase();break}t.json.test(R.type)?x+=S:(t.number.test(R.type)&&(!ne||R.sign)?(J=ne?"+":"-",S=S.toString().replace(t.sign,"")):J="",K=R.pad_char?R.pad_char==="0"?"0":R.pad_char.charAt(1):" ",se=R.width-(J+S).length,V=R.width&&se>0?K.repeat(se):"",x+=R.align?J+S+V:K==="0"?J+V+S:V+J+S)}return x}var o=Object.create(null);function f(p){if(o[p])return o[p];for(var g=p,u,y=[],S=0;g;){if((u=t.text.exec(g))!==null)y.push(u[0]);else if((u=t.modulo.exec(g))!==null)y.push("%");else if((u=t.placeholder.exec(g))!==null){if(u[2]){S|=1;var x=[],O=u[2],L=[];if((L=t.key.exec(O))!==null)for(x.push(L[1]);(O=O.substring(L[0].length))!=="";)if((L=t.key_access.exec(O))!==null)x.push(L[1]);else if((L=t.index_access.exec(O))!==null)x.push(L[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");u[2]=x}else S|=2;if(S===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");y.push({placeholder:u[0],param_no:u[1],keys:u[2],sign:u[3],pad_char:u[4],align:u[5],width:u[6],precision:u[7],type:u[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");g=g.substring(u[0].length)}return o[p]=y}e.sprintf=n,e.vsprintf=i,typeof window<"u"&&(window.sprintf=n,window.vsprintf=i)})()})(hg)),hg}var Ky=Tx(),Rt;(function(e){e.Info="INFO",e.Warn="WARN",e.Error="ERROR",e.Debug="DEBUG"})(Rt||(Rt={}));var cc=function(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,o;i<a;
10i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))},kx=(function(){function e(t,n,i,a){this.appId=t,this.moduleId=n,this.slotId=i,this.filters=a}return e.prototype.debug=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.log.apply(this,cc([Rt.Debug,t],n,!1))},e.prototype.error=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.log.apply(this,cc([Rt.Error,t],n,!1))},e.prototype.info=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.log.apply(this,cc([Rt.Info,t],n,!1))},e.prototype.warn=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.log.apply(this,cc([Rt.Warn,t],n,!1))},e.prototype.log=function(t,n){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];for(var o=Ky.sprintf.apply(void 0,cc([n],i,!1)),f=new Date,p=0,g=this.filters;p<g.length;p++){var u=g[p];if(!u.log({message:o,level:t,time:f,app:this.appId,module:this.moduleId,slot:this.slotId}))break}},e})(),Ox=0,Rx=1,Lx=2,Ix=3;function Gy(e){switch(e){case Rt.Debug:return Ox;case Rt.Info:return Rx;case Rt.Warn:return Lx;case Rt.Error:return Ix;default:return 0}}var dg=(function(){function e(){this.logs=[],this.retrievedIndex=Yt.ArrayFirstEntry,this.logLevel=Rt.Debug}return e.prototype.setLogLevel=function(t){this.logLevel=t},e.prototype.log=function(t){return Gy(t.level)>=Gy(this.logLevel)&&this.logs.push(t),!0},e.prototype.getLogs=function(){return this.retrievedIndex=this.logs.length,this.logs},e.prototype.clearLogs=function(){this.logs.splice(Yt.ArrayFirstEntry,this.retrievedIndex),this.retrievedIndex=0},e})(),ns=new dg,ei={INSTANCES:{},FILTERS:[ns],getInstance:function(e,t,n){var i=this,a,o="".concat(e,":").concat(t).concat(n!==void 0?":".concat(n):""),f=function(){var p=new kx(e,t,n,i.FILTERS);return i.INSTANCES[o]=p,p};return(a=this.INSTANCES[o])!==null&&a!==void 0?a:f()},pushLogFilter:function(e){this.FILTERS.push(e)}},gr={assertNotBlank:function(e,t){if(e.trim()==="")throw Error("Parameter ".concat(t!==void 0?"".concat(t," "):"","darf nicht leer sein."))},assertNotZero:function(e,t){if(e===Yt.Zero)throw Error("Parameter ".concat(t!==void 0?"".concat(t," "):"","darf nicht 0 sein."))},assertPositive:function(e,t){if(!(e>Yt.Zero))throw Error("Parameter ".concat(t!==void 0?"".concat(t," "):"","darf nicht 0 oder negativ sein."))},assertSafeInteger:function(e,t){if(!Number.isSafeInteger(e))throw Error("Parameter ".concat(t!==void 0?"".concat(t," "):"","muss eine sichere Ganzzahl sein."))}},Xf={floor:function(e,t){gr.assertPositive(t,"accuracy"),gr.assertSafeInteger(t,"accuracy");var n=Math.abs(e),i=Math.sign(e);return i*Math.floor(n/t)*t}},Mx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Fa=(function(e){Mx(t,e);function t(n,i){var a,o=e.call(this)||this;return o.httpResponse=n,o.cause=i,o.message=(a=i?.message)!==null&&a!==void 0?a:"".concat(n.url,": ").concat(n.status),Object.setPrototypeOf(o,t.prototype),o.cause!==void 0&&(o.stack=o.stack!==void 0?"".concat(o.stack,`
11Caused by: `).concat(o.cause.stack):o.cause.stack),o}return t.prototype.isSevereError=function(){return this.httpResponse.status===Yt.HttpSevereError},t.prototype.isAborted=function(){return this.httpResponse.status===Yt.HttpAbortedError},t.prototype.isClientError=function(){return Xf.floor(this.httpResponse.status,Yt.ToHundreds)===Yt.HttpBadRequest},t.prototype.isServerError=function(){return Xf.floor(this.httpResponse.status,Yt.ToHundreds)===Yt.HttpInternalServerError},t})(Error),Nx={CONTENT_TYPE:"Content-Type",HEADER_SAFELIST:["Accept","Accept-Language","Content-Language","Content-Type"],CONTENT_TYPE_SAFELIST:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],checkCorsSafelist:function(e){var t=this,n=ei.getInstance("cpl","clientlib");Object.keys(e).filter(function(i){return!t.HEADER_SAFELIST.includes(i)}
11).forEach(function(i){return n.warn("CORS-Safelist: Header ".concat(i," wird möglicherweise verworfen."))}),this.CONTENT_TYPE_SAFELIST.includes(e[this.CONTENT_TYPE])&&n.warn("CORS: Header Content-Type='".concat(e[this.CONTENT_TYPE],"' ist nicht erlaubt."))}},_s;(function(e){e.Post="post",e.Get="get",e.Delete="delete",e.Put="put"})(_s||(_s={}));var Bo;(function(e){e.JSON="JSON",e.Text="TEXT"})(Bo||(Bo={}));var Ba=function(){return Ba=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ba.apply(this,arguments)},pg=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},gg=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Px=function(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,o;i<a;
11i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))},za=(function(){function e(t){this.defaultHeaders=this.initDefaultHeaders(t)}return e.prototype.execute=function(t){return pg(this,void 0,void 0,function(){var n,i,a,o,f,p,g,u,y,S,x,O,L,R,V,K,se,ne;return gg(this,function(J){return n=t.queryParams,i=new URL(t.url+(n!==void 0?"?".concat(new URLSearchParams(n).toString()):"")),a=(R=t.cors)!==null&&R!==void 0?R:!0,o=(V=t.credentials)!==null&&V!==void 0?V:!0,f=(K=t.aplRequest)!==null&&K!==void 0?K:!1,p=(se=t.method)!==null&&se!==void 0?se:_s.Get,g=(ne=t.headers)!==null&&ne!==void 0?ne:{},u={method:p,headers:Ba(Ba({},this.defaultHeaders),g),mode:a?"cors":"no-cors",cache:"no-cache",signal:t.signal,credentials:o?"include":"omit",referrerPolicy:"strict-origin-when-cross-origin"},a||Nx.checkCorsSafelist(g),t.body!==void 0&&(u.body=JSON.stringify(t.body)),y=function(X,U,Y){var Ce={url:X.url,success:!0,status:X.status,payload:U};Y(Ce)},S=function(X,U,Y,Ce,oe){var _e,ge,I,ue,me,De,Z,ke=L(Y),Ie={url:X?.url,success:!1,status:(ge=(_e=Ce??X?.status)!==null&&_e!==void 0?_e:ke)!==null&&ge!==void 0?ge:Yt.HttpSevereError,payload:U??void 0},Fe=(Z=(De=(me=(ue=(I=Y?.cause)===null||I===void 0?void 0:I.toString())!==null&&ue!==void 0?ue:Y?.message)!==null&&me!==void 0?me:Ce)!==null&&De!==void 0?De:ke)!==null&&Z!==void 0?Z:"unknown error";e.LOG.error("fetch failed: ".concat(t.url," (").concat(Fe,")")),oe(new Fa(Ie,Y??void 0))},x=function(X,U,Y,Ce){if(X.status<Yt.HttpBadRequest){y(X,U,Y);return}S(X,U,null,null,Ce)},O=function(X,U,Y,Ce){if(!U||t.responseType===Bo.Text){x(X,U,Y,Ce);return}var oe=X.headers.get("Content-Type");if(oe?.includes("json")===!0){x(X,JSON.parse(U),Y,Ce);return}S(X,null,new Error("Unerwarteter Content-Type: ".concat(oe," (erwartet: application/*json)")),Yt.HttpSevereError,Ce)},L=function(X){var U;return X===((U=t.signal)===null||U===void 0?void 0:U.reason)||X?.name==="AbortError"?Yt.HttpAbortedError:null},[2,new Promise(function(X,U){fetch(i.toString(),u).then(function(Y){f&&na.setOnline(),Y.text().then(function(Ce){return O(Y,Ce,X,U)}).catch(function(Ce){return S(Y,null,Ce,null,U)})}).catch(function(Y){f&&na.setOffline(),S(null,null,Y,null,U)})})]})})},e.prototype.get=function(t,n){return pg(this,void 0,void 0,function(){return gg(this,function(i){return[2,this.execute(Ba(Ba({},n),{url:t,method:_s.Get}))]})})},e.prototype.post=function(t,n,i){return pg(this,void 0,void 0,function(){return gg(this,function(a){return[2,this.execute(Ba(Ba({},i),{url:t,body:n,method:_s.Post}))]})})},e.prototype.initDefaultHeaders=function(t){if(t===void 0)return{};var n=t.toBcpString(),i=navigator.languages.filter(function(a){return a!==n}).map(function(a){return"".concat(a,";q=0.5")});return{"Accept-Language":Px([n],i,!0).join(",")}},e.LOG=ei.getInstance("cpl","clientlib"),e})(),Ha=function(){return Ha=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ha.apply(this,arguments)},Dx=1,Ux=5,fc=(function(){function e(t){t===void 0&&(t={}),this.options=t}return Object.defineProperty(e.prototype,"defaultSlotId",{get:function(){return this.options.slotId&&this.options.slotId.length!==0?this.options.slotId:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"product",{get:function(){var t;return(t=this.options.productName)!==null&&t!==void 0?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseUrl",{get:function(){var t,n,i;return(i=(t=this.options.baseUrl)!==null&&t!==void 0?t:(n=document.CplFrame)===null||n===void 0?void 0:n.baseUrl)!==null&&i!==void 0?i:e.DEFAULT_BASE_URL},enumerable:!1,configurable:!0}),e.prototype.createUuiServiceHeaders=function(t,n){return t===void 0&&(t=Dx),n===void 0&&(n=null),gr.assertPositive(t,"version"),Ha(Ha({},this.createBaseServiceHeaders(n)),{"Content-Type":"application/apl.universal.ui.v".concat(t,"+json"),Accept:"application/apl.universal.ui.v".concat(t,"+json")})},e.prototype.createMkgServiceHeaders=function(t,n){return t===void 0&&(t=Ux),n===void 0&&(n=null),gr.assertPositive(t,"version"),Ha(Ha({},this.createBaseServiceHeaders(n)),{"Content-Type":e.CONTENT_TYPE_JSON})},e.prototype.createBaseServiceHeaders=function(t){var n=t??this.defaultSlotId;return Ha(Ha({"X-Uui-Request-Nonce":ta(),"X-Uui-Request-Time":new Date().getTime().toString(Yt.DecimalRadix)},this.options.productName!==void 0&&{"X-Auth-PRODUCT-NAME":this.options.productName}),n!==null&&{"X-Cpl-Spa-Slot-Id":n})},e.CONTENT_TYPE_JSON="application/json",e.DEFAULT_BASE_URL=window.location.origin,e})(),jx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}
11t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),ra=(function(e){jx(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-error",t})(At),Fx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Rl=(function(e){Fx(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-notification",t})(At),Bx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),mg=(function(e){Bx(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-serverside-event",t})(At),zx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),ia=(function(e){zx(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-uuiservice",t})(At),Es;(function(e){e.Start="START",e.End="END",e.Error="ERROR"})(Es||(Es={}));var Hx=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=[],a=function(){return i.forEach(function(f){return f()})};t.forEach(function(f){if(f){var p=function(){e.abort(),a()};f.addEventListener("abort",p),i.push(function(){return f.removeEventListener("abort",p)})}});var o=function(){return a()};return e.signal.addEventListener("abort",o),i.push(function(){return e.signal.removeEventListener("abort",o)}),e.signal},$x=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},Vx=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}
11if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wy=(function(){function e(t){this.pool=new Map,this.log=ei.getInstance("cpl","clientlib",t)}return e.of=function(t){return e.poolsBySlot.hasOwnProperty(t)||(e.poolsBySlot[t]=new e(t)),e.poolsBySlot[t]},e.prototype.push=function(t){return $x(this,void 0,void 0,function(){return Vx(this,function(n){switch(n.label){case 0:return n.trys.push([0,,2,3]),this.pool.set(t.id,t),[4,t.start()];case 1:return[2,n.sent()];case 2:return this.pool.delete(t.id),[7];case 3:return[2]}})})},e.prototype.clear=function(t){var n=this.pool.size;return this.pool.forEach(function(i){return i.abort(t)}),this.pool.clear(),n===1?this.log.warn("1 aktiver Task wurde ".concat(t," abgebrochen.")):n>1&&this.log.warn("".concat(n," aktive Tasks wurden ").concat(t," abgebrochen.")),n},e.poolsBySlot={},e})(),qx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Zf=(function(e){qx(t,e);function t(n){var i=e.call(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return t})(Error),Qf=function(){return Qf=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Qf.apply(this,arguments)},Yy=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},Xy=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},vg=(function(){function e(t){this.queue=[],this.working=null,this.log=ei.getInstance("cpl","clientlib",t)}return e.of=function(t){return e.queuesBySlot.hasOwnProperty(t)||(e.queuesBySlot[t]=new e(t)),e.queuesBySlot[t]},Object.defineProperty(e.prototype,"pending",{get:function(){return this.queue.length===0?null:this.queue[this.queue.length-1]},enumerable:!1,configurable:!0}),e.prototype.push=function(t){return Yy(this,void 0,void 0,function(){var n=this;return Xy(this,function(i){return this.alreadyPending(t.id)?[2,Promise.reject(new Zf("".concat(t.id," wurde bereits abgesendet.")))]:[2,new Promise(function(a,o){n.queue.push(Qf(Qf({},t),{resolve:a,reject:o})),n.tryDequeue()})]})})},e.prototype.clear=function(t){var n,i=this.working!==null;(n=this.working)===null||n===void 0||n.abort(),this.working=null;var a=this.discard(t);return i?(this.log.warn("1 aktiver Task wurde ".concat(t," abgebrochen.")),a+1):a},e.prototype.discard=function(t){var n=this.queue.length;return this.queue=[],this.working=null,n===1?this.log.warn("1 ausstehender Task wurde ".concat(t," verworfen.")):n>1&&this.log.warn("".concat(n," ausstehende Tasks wurden ").concat(t," verworfen.")),n},e.prototype.enqueue=function(t,n){return Yy(this,void 0,void 0,function(){var i=this;return Xy(this,function(a){return[2,this.push({id:t,start:n,abort:function(){return i.log.warn("Task ".concat(t," kann nicht abgebrochen werden: Keine abort-Funktion übergeben!"))}})]})})},e.prototype.tryDequeue=function(){var t=this;if(this.working)return!1;var n=this.queue.shift();if(n===void 0)return!1;try{this.working=n,n.start().then(function(i){n.resolve(i)}).catch(function(i){n.reject(i)}).finally(function(){t.working=null,t.tryDequeue()})}catch(i){n.reject(i),this.working=null,this.tryDequeue()}return!0},e.prototype.alreadyPending=function(t){var n,i;return"userActivation"in navigator?navigator.userActivation.hasBeenActive?((n=this.pending)===null||n===void 0?void 0:n.id)===t||((i=this.working)===null||i===void 0?void 0:i.id)===t:!1:(this.log.warn("UserActivation wird in dieser Umgebung nicht unterstützt. Kein Schutz vor Mehrfach-Interaktion!"),!1)},e.queuesBySlot={},e})(),yg;(function(e){e[e.SESSION=0]="SESSION"})(yg||(yg={}));var Ni;(function(e){e.Success="SUCCESS",e.Info="INFO",e.Warn="WARN",e.Error="ERROR"})(Ni||(Ni={}));var Kx=ei.getInstance("cpl","clientlib"),rs;(function(e){e.Success="success",e.Info="info",e.Warning="warning",e.Error="error"})(rs||(rs={}));function bg(e){switch(e){case Ni.Success:return rs.Success;case Ni.Info:return rs.Info;case Ni.Warn:return rs.Warning;case Ni.Error:return rs.Error;default:return Kx.warn('Unbekannter MessageType "'.concat(e,'", wird als Error interpretiert')),rs.Error}}var Gx=Yt.HttpForbidden;function Wx(e){return typeof e=="object"&&e!==null&&"status"in e&&e.status==="403"&&"supportID"in e&&typeof e.supportID=="string"}var Yx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}
11t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Xx=(function(e){Yx(t,e);function t(n,i,a){var o=e.call(this,n)||this;return o.supportID=i,o.cause=a,Object.setPrototypeOf(o,t.prototype),o.stack=o.stack!==void 0?"".concat(o.stack,`
12Caused by: `).concat(o.cause.stack):o.cause.stack,o}return Object.defineProperty(t.prototype,"errorId",{get:function(){return this.supportID},enumerable:!1,configurable:!0}),t})(Error),Zx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Qx=(function(e){Zx(t,e);function t(n,i){var a=e.call(this,"".concat(n,": ").concat(i.message))||this;return a.cause=i,Object.setPrototypeOf(a,t.prototype),a.stack=a.stack!==void 0?"".concat(a.stack,`
13Caused by: `).concat(a.cause.stack):a.cause.stack,a}return t})(Error),Jx=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Ll=function(){return Ll=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ll.apply(this,arguments)},Jf=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},eh=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Il=(function(e){Jx(t,e);function t(n,i,a){var o=e.call(this,typeof a=="string"?{baseUrl:a}:a)||this;return o.httpService=n,o.sourceId=i,o}return t.prototype.execute=function(n){return Jf(this,void 0,void 0,function(){var i,a,o,f,p,g,u,y=this,S;return eh(this,function(x){return i="UUI:".concat(ta()),a=(S=n.slotId)!==null&&S!==void 0?S:this.defaultSlotId,o=new AbortController,f=function(){return Jf(y,void 0,void 0,function(){var O=this;return eh(this,function(L){return this.dispatchEvent(n,Es.Start),[2,new Promise(function(R,V){var K,se,ne;O.httpService.execute({url:O.createUuiServiceUrl(n),method:(K=n.method)!==null&&K!==void 0?K:_s.Post,body:O.createUuiServiceRequestBody(n),responseType:Bo.JSON,headers:Ll(Ll({},(se=n.additionalHeaders)!==null&&se!==void 0?se:{}),O.createUuiServiceHeaders(1,(ne=n.slotId)!==null&&ne!==void 0?ne:null)),cors:!0,queryParams:n.params,aplRequest:!0,signal:Hx(o,n.signal)}
13).then(function(J){return Ll(Ll({},J),J.payload)}).then(function(J){return R(J),J}).then(function(J){var X;(X=J.messages)===null||X===void 0||X.forEach(function(U){return O.processMessage(U)})}).then(function(){return O.dispatchEvent(n,Es.End,!0)}).catch(function(J){O.handleError(J,n,V),O.dispatchEvent(n,Es.Error,!0)})})]})})},p=function(O){o.abort(O)},g=function(){return Jf(y,void 0,void 0,function(){return eh(this,function(O){return a?[2,Wy.of(a).push({id:i,start:f,abort:p})]:[2,f()]})})},u=function(){return Jf(y,void 0,void 0,function(){return eh(this,function(O){return!n.disableQueue&&a?[2,vg.of(a).enqueue(i,g)]:[2,g()]})})},[2,u()]})})},t.prototype.handleError=function(n,i,a){if(!(n instanceof Fa&&n.isAborted())){if(i.rejectOnNetworkError){t.LOG.debug("Fehler ".concat(n," aufgrund explizitem Wunsch an Fachanwendung zur Behandlung weiterreichen.")),a(n);return}if(n instanceof Fa&&n.httpResponse.status===Gx&&Wx(n.httpResponse.payload)){this.dispatchError(i,"aufgrund eines blockierten UUI-Services",new Xx("Die Ausführung des UUI-Services ".concat(this.createUuiServiceUrlPath(i)," wurde blockiert"),n.httpResponse.payload.supportID,n));return}if(n instanceof Fa&&!n.isSevereError()){a(n);return}this.dispatchError(i,"aufgrund eines schweren Fehlers",new Qx("Schwerer Fehler beim Ausführen des UUI-Services ".concat(this.createUuiServiceUrlPath(i)),n))}},t.prototype.dispatchError=function(n,i,a){var o,f=(o=n.slotId)!==null&&o!==void 0?o:this.defaultSlotId;f&&vg.of(f).clear(i),new ra({source:this.sourceId,error:a}).dispatch()},t.prototype.processMessage=function(n){var i,a=n.message,o=n.code,f=n.metadata;if(f){var p=f;if(p.event===!0){new mg({event:o,payload:p.payload}).dispatch(null,!0);return}if(p.hidden)return}if(!a){t.LOG.info("Nachricht ohne Message vom UUI Services wird beim Erzeugen von Nachrichten für die Nachrichtenzentrale ignoriert: ".concat(n.code));return}var g=f;new Rl({id:(i=g?.uuid)!==null&&i!==void 0?i:ta(),source:this.sourceId,severity:bg(n.messageType),label:g?.label,message:a,timestamp:Date.now(),scope:yg.SESSION,seen:!1}).dispatch(null,!0)},t.prototype.dispatchEvent=function(n,i,a){a===void 0&&(a=!1),new ia({source:this.sourceId,stage:i,app:n.app,module:n.module,name:n.service,blocking:n.blocking===!0}).dispatch(null,a)},t.prototype.createUuiServiceUrl=function(n){return this.baseUrl+this.createUuiServiceUrlPath(n)},t.prototype.createUuiServiceUrlPath=function(n){var i,a;return gr.assertNotBlank(n.app,"config.app"),gr.assertNotBlank(n.module,"config.module"),gr.assertNotBlank(n.service,"config.service"),"/".concat(n.app,"/service/")+"".concat(n.module,"/v").concat((i=n.moduleVersion)!==null&&i!==void 0?i:Yt.DefaultUuiVersion,"/")+"".concat(n.service,"/v").concat((a=n.serviceVersion)!==null&&a!==void 0?a:Yt.DefaultUuiVersion)},t.prototype.createUuiServiceRequestBody=function(n){return n.payload!==void 0?{payload:n.payload}:void 0},t.LOG=ei.getInstance("cpl","clientlib"),t})(fc);function Sg(e){return e!==null&&typeof e=="object"&&"code"in e&&typeof e.code=="string"}function wg(e){return e!==null&&typeof e=="object"&&"errorId"in e&&typeof e.errorId=="string"}function Zy(e,t){return t===void 0&&(t=function(n){return!0}),!e||typeof e!="object"?!1:!!("payload"in e&&t(e)||"messages"in e&&Array.isArray(e.messages)&&e.messages.every(Sg)||"error"in e&&wg(e.error))}var eC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),th=function(){return th=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},th.apply(this,arguments)},Ml=(function(e){eC(t,e);function t(n){var i=e.call(this,t.ID,th(th({}
13,n),{confirm:function(a){if(i.called)throw Error("CplConfirmNavigationEvent: Callback darf nicht erneut ausgelöst werden!");i.called=!0,n.confirm(a)}}))||this;return i.called=!1,i}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-confirm-redirection",t.create=function(n,i){return new t({source:n,confirm:i,reason:"unsaved-changes"})},t})(At),tC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),nh=function(){return nh=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},nh.apply(this,arguments)},nC=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n},$a=(function(e){tC(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-metadata",t.fromWorkflowResponse=function(n,i){var a,o,f=(o=(a=i.payload)===null||a===void 0?void 0:a.ui)!==null&&o!==void 0?o:{},p=f.metadata,g=nC(f,["metadata"]);return new t(nh(nh({source:n,uuiMessages:i.messages},p),g))},t})(At),zo;(function(e){e.Stay="STAY",e.Next="NEXT",e.Back="BACK",e.Exit="EXIT",e.End="END",e.Fail="FAIL"})(zo||(zo={}));var rC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),sa=(function(e){rC(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-redirection",t.fromWorkflowResponse=function(n,i){var a=i.payload;if(a===void 0)throw Error("Response enthält keine WorkflowResponse und ist daher ungültig.");return new t({source:n,navigationType:a.navigationType,exit:a.exit,target:a.ui,input:a.output,productId:a.productId,uuiMessages:i.messages})},t.fromClear=function(n,i){return new t({source:n,navigationType:zo.End,uuiMessages:i.messages})},t})(At),iC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),rh=(function(e){iC(t,e);function t(n){var i=e.call(this)||this;return i.response=n,i.message=i.response.messages!==void 0?i.response.messages.map(function(a){var o;return"".concat(a.code," [").concat(a.messageType,"] ").concat((o=a.message)!==null&&o!==void 0?o:"(keine Nachricht)",`
14`)}).reduce(function(a,o){return a+o}):new Fa(i.response).message,Object.setPrototypeOf(i,t.prototype),i}return t})(Error),sC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}
14t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),ih=(function(e){sC(t,e);function t(n){var i=e.call(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return t})(Error),In=function(){return In=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},In.apply(this,arguments)},Or=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},Rr=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},aC=2,hc=(function(){function e(t,n,i,a,o){a===void 0&&(a=null),o===void 0&&(o=aC),this.uuiServiceClient=t,this.sourceId=n,this.slot=i,this.app=a,this.api=o,this.overrideUnsavedChanges=null,this.log=ei.getInstance("cpl","clientlib",this.slot.name),this.queue=vg.of(this.slot.name),this.pool=Wy.of(this.slot.name)}return Object.defineProperty(e.prototype,"unsavedChanges",{get:function(){return this.overrideUnsavedChanges!==null?this.overrideUnsavedChanges:this.slot.unsavedChanges},enumerable:!1,configurable:!0}),e.prototype.startWorkflow=function(t,n,i,a){return Or(this,void 0,void 0,function(){var o=this;return Rr(this,function(f){return gr.assertNotBlank(t,"app"),gr.assertNotBlank(n,"workflowId"),[2,this.queue.enqueue("Workflow '".concat(t,".").concat(n,".").concat(i,"'"),function(){return Or(o,void 0,void 0,function(){var p=this;return Rr(this,function(g){return[2,new Promise(function(u,y){var S=function(O){p.handleError("start(".concat(t,".").concat(n,".").concat(i,")"),O,y)},x=function(){p.execute(t,e.UUI_SERVICE_START,p.createWorkflowDto(t,n,i,a?.input,a?.contextData,a?.productId,a?.statistikId,ns.getLogs(),a?.resumeIfAlreadyActive,a?.replaceIfAlreadyActive),a?.additionalHeaders,a?.clearSlot?{clearSlot:a.clearSlot}:"").then(function(O){return p.handleSuccess("".concat(t,".").concat(n,".").concat(i),O,u,y)}).catch(S)};p.checkUnsavedChangesAndExecute("".concat(t,".").concat(n,".").concat(i),x,y)})]})})})]})})},e.prototype.startBuiltInWorkflow=function(t,n,i,a){return Or(this,void 0,void 0,function(){var o=this;return Rr(this,function(f){return gr.assertNotBlank(t,"app"),gr.assertNotBlank(n,"workflowName"),[2,this.queue.enqueue("Workflow '".concat(e.BUILTIN_APP,"@").concat(t,".").concat(n,".").concat(i,"'"),function(){return Or(o,void 0,void 0,function(){var p=this;return Rr(this,function(g){return[2,new Promise(function(u,y){var S=function(O){p.handleError("start(".concat(e.BUILTIN_APP,"@").concat(t,".").concat(n,".").concat(i,")"),O,y)},x=function(){p.execute(t,e.UUI_SERVICE_START,p.createWorkflowDto(e.BUILTIN_APP,n,i,a?.input,a?.contextData,a?.productId,a?.statistikId,ns.getLogs(),a?.resumeIfAlreadyActive,a?.replaceIfAlreadyActive),a?.additionalHeaders,a?.clearSlot?{clearSlot:a.clearSlot}:"").then(function(O){return p.handleSuccess("".concat(t,".").concat(n,".").concat(i),O,u,y)}).catch(S)};p.checkUnsavedChangesAndExecute("".concat(e.BUILTIN_APP,"@").concat(t,".").concat(n,".").concat(i),x,y)})]})})})]})})},e.prototype.startBookmark=function(t,n,i){return Or(this,void 0,void 0,function(){var a=this;return Rr(this,function(o){return gr.assertNotBlank(t,"app"),gr.assertNotBlank(n,"bookmark"),[2,this.queue.enqueue("Bookmark /".concat(t).concat(n),function(){return Or(a,void 0,void 0,function(){var f=this;return Rr(this,function(p){return[2,new Promise(function(g,u){var y=function(x){f.handleError("startBookmark(".concat(t).concat(n,")"),x,u)},S=function(){f.execute(t,e.UUI_SERVICE_BOOKMARK,f.createBookmarkDto(t,n,i?.contextData,i?.productId,i?.statistikId,ns.getLogs(),i?.resumeIfAlreadyActive,i?.replaceIfAlreadyActive),i?.additionalHeaders,i?.clearSlot?{clearSlot:i.clearSlot}:"").then(function(x){return f.handleSuccess(n,x,g,u,null,i?.resumeIfAlreadyActive)}).catch(y)};f.checkUnsavedChangesAndExecute("Bookmark ".concat(n),S,u)})]})})})]})})},e.prototype.resumeWorkflow=function(t){return Or(this,void 0,void 0,function(){var n=this;return Rr(this,function(i){return gr.assertNotBlank(t,"app"),[2,this.queue.enqueue("Resume '".concat(t,"'"),function(){return Or(n,void 0,void 0,function(){var a=this;return Rr(this,function(o){return[2,new Promise(function(f,p){var g=function(u){a.handleError("resume(".concat(t,")"),u,p)};a.execute(t,e.UUI_SERVICE_RESUME).then(function(u){return a.handleSuccess("resume",u,f,p,null,!0)}).catch(g)})]})})})]})})},e.prototype.updateWorkflow=function(t,n){return Or(this,void 0,void 0,function(){var i=this;return Rr(this,function(a){return gr.assertNotBlank(t,"app"),[2,this.queue.enqueue("Update '".concat(t,"'"),function(){return Or(i,void 0,void 0,function(){var o=this;return Rr(this,function(f){return[2,new Promise(function(p,g){var u=function(y){o.handleError("update(".concat(t,")"),y,g)};o.execute(t,e.UUI_SERVICE_UPDATE,o.createUpdateDto(n,ns.getLogs())).then(function(y){return o.handleSuccess("update",y,p,g,null,!0)}).catch(u)})]})})})]})})},e.prototype.executeAction=function(t,n,i,a,o){return Or(this,void 0,void 0,function(){var f=this;
14return Rr(this,function(p){return gr.assertNotBlank(t,"id"),[2,this.queue.enqueue("Action '".concat(t,"'"),function(){return Or(f,void 0,void 0,function(){return Rr(this,function(g){return[2,this.executeActionInternal(t,n,i,a,o)]})})})]})})},e.prototype.clear=function(){return Or(this,void 0,void 0,function(){var t=this;return Rr(this,function(n){return[2,this.queue.enqueue("Clear",function(){return Or(t,void 0,void 0,function(){var i=this;return Rr(this,function(a){return[2,new Promise(function(o,f){if(i.app===null){i.handleNoAppError("clear",f);return}var p=function(u){i.handleError("clear()",u,f)},g=function(u){if(u.status!==Yt.HttpOK){f(Error("Unerwarteter Status-Code: ".concat(u.status)));return}ns.clearLogs(),i.clearTasks(),sa.fromClear(i.sourceId,u).dispatch(),o(u)};i.execute(i.app,e.UUI_SERVICE_CLEAR,i.createClearDto(void 0,ns.getLogs())).then(g).catch(p)})]})})})]})})},e.prototype.checkUnsavedChangesAndExecute=function(t,n,i){if(this.unsavedChanges){Ml.create(this.sourceId,function(a){if(a){n();return}i(new ih("".concat(t,": Start durch Benutzer-Interaktion abgebrochen.")))}).dispatch();return}n()},e.prototype.executeActionInternal=function(t,n,i,a,o){return Or(this,void 0,void 0,function(){var f=this;return Rr(this,function(p){return[2,new Promise(function(g,u){if(f.app===null){f.handleNoAppError("executeAction",u);return}var y=function(x){f.handleError("action(".concat(t,")"),x,u)},S=function(){return Or(f,void 0,void 0,function(){return Rr(this,function(x){return[2,this.executeActionInternal(t,n,i,a,o)]})})};f.execute(f.app,e.UUI_SERVICE_ACTION,f.createActionDto(t,n,f.unsavedChanges,i,o,ns.getLogs()),a).then(function(x){return f.handleSuccess(t,x,g,u,S)}).catch(y)})]})})},e.prototype.execute=function(t,n,i,a,o){return Or(this,void 0,void 0,function(){return Rr(this,function(f){return[2,this.uuiServiceClient.execute(In(In({app:t,module:e.UUI_MODULE,moduleVersion:this.api,service:n,blocking:!0,disableQueue:!0},i!==void 0&&{payload:i}),{params:In({slot:this.slot.name},o??{}),additionalHeaders:a}))]})})},e.prototype.handleNoAppError=function(t,n){n(Error("".concat(t," nicht möglich: Es wurde keine aktive Workflow-ID gesetzt.")))},e.prototype.handleSuccess=function(t,n,i,a,o,f){var p=this,g;if(o===void 0&&(o=null),f===void 0&&(f=!1),n.status!==Yt.HttpOK){a(Error("Unerwarteter Status-Code: ".concat(n.status)));return}var u=n.payload;if(u===void 0){a(Error("Response enthält keine WorkflowResponse und ist daher ungültig."));return}if(ns.clearLogs(),u.navigationType!==zo.Stay){this.clearTasks(),this.dispatchNavigationEvent(n);return}if(f){this.clearTasks(),this.dispatchNavigationEvent(n);return}if(((g=u.ui)===null||g===void 0?void 0:g.forceStay)!==!0){this.dispatchMetadataEvent(n),i(n);return}if(o===null){this.log.warn("".concat(t,": Bestätigung einer Navigation ist erforderlich, aber nicht möglich.")),this.dispatchMetadataEvent(n),i(n);return}Ml.create(this.sourceId,function(y){if(y){p.overrideUnsavedChanges=!1,o().then(i).catch(a);return}p.dispatchMetadataEvent(n),i(n)}).dispatch()},e.prototype.clearTasks=function(){this.queue.discard("aufgrund einer Navigation"),this.pool.clear("aufgrund einer Navigation")},e.prototype.dispatchNavigationEvent=function(t){sa.fromWorkflowResponse(this.slot.name,t).dispatch(),this.dispatchMetadataEvent(t,!0)},e.prototype.dispatchMetadataEvent=function(t,n){n===void 0&&(n=!1),$a.fromWorkflowResponse(this.slot.name,t).dispatch(void 0,n)},e.prototype.handleError=function(t,n,i){if(this.log.error("".concat(t," fehlgeschlagen (").concat(this.app,", ").concat(this.sourceId,")")),n.isSevereError()||n.isServerError()){this.queue.clear("aufgrund eines Fehlers"),this.pool.clear("aufgrund eines Fehlers"),new ra({source:this.sourceId,error:n}).dispatch();return}i(new rh(n.httpResponse))},e.prototype.createWorkflowDto=function(t,n,i,a,o,f,p,g,u,y){return i===void 0&&(i=Yt.DefaultUuiVersion),a===void 0&&(a=void 0),o===void 0&&(o=void 0),f===void 0&&(f=void 0),p===void 0&&(p=void 0),g===void 0&&(g=void 0),u===void 0&&(u=!1),y===void 0&&(y=!1),In(In(In(In(In(In({app:t,workflowId:n,version:i},a!==void 0&&{input:a}),f!==void 0&&{productId:f}),p!==void 0&&{statistikId:p}),o!==void 0&&{contextData:o}),g!==void 0&&{clientLogs:g}),{resumeIfAlreadyActive:u,replaceIfAlreadyActive:y})},e.prototype.createBookmarkDto=function(t,n,i,a,o,f,p,g){return i===void 0&&(i=void 0),a===void 0&&(a=void 0),o===void 0&&(o=void 0),f===void 0&&(f=void 0),p===void 0&&(p=!1),g===void 0&&(g=!1),In(In(In(In(In({app:t,bookmark:n},a!==void 0&&{productId:a}),o!==void 0&&{statistikId:o}),i!==void 0&&{contextData:i}),f!==void 0&&{clientLogs:f}),{resumeIfAlreadyActive:p,replaceIfAlreadyActive:g})},e.prototype.createActionDto=function(t,n,i,a,o,f){return In(In(In(In({action:t,unsavedChanges:i},n!==null&&{input:n}),a!==void 0&&{contextData:a}),f!==void 0&&{clientLogs:f}),o!==void 0&&{bookmark:o})},e.prototype.createClearDto=function(t,n){return In(In({},t!==void 0&&{contextData:t}),n!==void 0&&{clientLogs:n})},e.prototype.createUpdateDto=function(t,n){return In({contextData:t},n!==void 0&&{clientLogs:n})},e.BUILTIN_APP="cpl",e.UUI_MODULE="cpl_workflow",e.UUI_SERVICE_START="start",e.UUI_SERVICE_BOOKMARK="bookmark",e.UUI_SERVICE_RESUME="resume",e.UUI_SERVICE_UPDATE="update",e.UUI_SERVICE_ACTION="action",e.UUI_SERVICE_CLEAR="clear",e})(),sh;(function(e){e.Entry="ENTRY",e.Check="CHECK",e.Confirmation="CONFIRMATION",e.None="NONE"})(sh||(sh={}));var ti;(function(e){e.Any="ANY",e.React="REACT",e.OSPlusNeo="OSPLUS_NEO",e.InternetFiliale="INTERNET_FILIALE"})(ti||(ti={}));
14class dc extends Error{}dc.prototype.name="InvalidTokenError";function oC(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function lC(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return oC(t)}catch{return atob(t)}}function uC(e,t){if(typeof e!="string")throw new dc("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new dc(`Invalid token specified: missing part #${n+1}`);let a;try{a=lC(i)}catch(o){throw new dc(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(a)}catch(o){throw new dc(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}var cC={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},As,xs,ah=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(ah||{});(e=>{function t(){As=3,xs=cC}e.reset=t;function n(a){if(!(0<=a&&a<=4))throw new Error("Invalid log level");As=a}e.setLevel=n;function i(a){xs=a}e.setLogger=i})(ah||(ah={}));var zt=class Js{constructor(t){this._name=t}debug(...t){As>=4&&xs.debug(Js._format(this._name,this._method),...t)}info(...t){As>=3&&xs.info(Js._format(this._name,this._method),...t)}warn(...t){As>=2&&xs.warn(Js._format(this._name,this._method),...t)}error(...t){As>=1&&xs.error(Js._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const n=Object.create(this);return n._method=t,n.debug("begin"),n}static createStatic(t,n){const i=new Js(`${t}.${n}`);return i.debug("begin"),i}static _format(t,n){const i=`[${t}]`;return n?`${i} ${n}:`:i}static debug(t,...n){As>=4&&xs.debug(Js._format(t),...n)}static info(t,...n){As>=3&&xs.info(Js._format(t),...n)}static warn(t,...n){As>=2&&xs.warn(Js._format(t),...n)}static error(t,...n){As>=1&&xs.error(Js._format(t),...n)}};ah.reset();var oh=class{static decode(e){try{return uC(e)}catch(t){throw zt.error("JwtUtils.decode",t),t}}static async generateSignedJwt(e,t,n){const i=li.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),a=li.encodeBase64Url(new TextEncoder().encode(JSON.stringify(t))),o=`${i}.${a}`,f=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},n,new TextEncoder().encode(o)),p=li.encodeBase64Url(new Uint8Array(f));return`${o}.${p}`}},fC="10000000-1000-4000-8000-100000000000",_g=e=>btoa([...new Uint8Array(e)].map(t=>String.fromCharCode(t)).join("")),Qy=class ea{static _randomWord(){const t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]}static generateUUIDv4(){return fC.replace(/[018]/g,n=>(+n^ea._randomWord()&15>>+n/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return ea.generateUUIDv4()+ea.generateUUIDv4()+ea.generateUUIDv4()}static async generateCodeChallenge(t){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const i=new TextEncoder().encode(t),a=await crypto.subtle.digest("SHA-256",i);return _g(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(n){throw zt.error("CryptoUtils.generateCodeChallenge",n),n}}static generateBasicAuth(t,n){const a=new TextEncoder().encode([t,n].join(":"));return _g(a)}static async hash(t,n){const i=new TextEncoder().encode(n),a=await crypto.subtle.digest(t,i);return new Uint8Array(a)}static async customCalculateJwkThumbprint(t){let n;switch(t.kty){case"RSA":n={e:t.e,kty:t.kty,n:t.n};break;case"EC":n={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":n={crv:t.crv,kty:t.kty,x:t.x};break;case"oct":n={crv:t.k,kty:t.kty};break;default:throw new Error("Unknown jwk type")}const i=await ea.hash("SHA-256",JSON.stringify(n));return ea.encodeBase64Url(i)}static async generateDPoPProof({url:t,accessToken:n,httpMethod:i,keyPair:a,nonce:o}){let f,p;const g={jti:window.crypto.randomUUID(),htm:i??"GET",htu:t,iat:Math.floor(Date.now()/1e3)};
14n&&(f=await ea.hash("SHA-256",n),p=ea.encodeBase64Url(f),g.ath=p),o&&(g.nonce=o);try{const u=await crypto.subtle.exportKey("jwk",a.publicKey),y={alg:"ES256",typ:"dpop+jwt",jwk:{crv:u.crv,kty:u.kty,x:u.x,y:u.y}};return await oh.generateSignedJwt(y,g,a.privateKey)}catch(u){throw u instanceof TypeError?new Error(`Error exporting dpop public key: ${u.message}`):u}}static async generateDPoPJkt(t){try{const n=await crypto.subtle.exportKey("jwk",t.publicKey);return await ea.customCalculateJwkThumbprint(n)}catch(n){throw n instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${n.message}`):n}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}};Qy.encodeBase64Url=e=>_g(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var li=Qy,Va=class{constructor(t){this._name=t,this._callbacks=[],this._logger=new zt(`Event('${this._name}')`)}addHandler(t){return this._callbacks.push(t),()=>this.removeHandler(t)}removeHandler(t){const n=this._callbacks.lastIndexOf(t);n>=0&&this._callbacks.splice(n,1)}async raise(...t){this._logger.debug("raise:",...t);for(const n of this._callbacks)await n(...t)}},Jy=class{static center({...e}){var t,n,i;return e.width==null&&(e.width=(t=[800,720,600,480].find(a=>a<=window.outerWidth/1.618))!=null?t:360),(n=e.left)!=null||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),e.height!=null&&((i=e.top)!=null||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,t])=>t!=null).map(([t,n])=>`${t}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},aa=class ig extends Va{constructor(){super(...arguments),this._logger=new zt(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-ig.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=ig.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const n=this._logger.create("init");t=Math.max(Math.floor(t),1);const i=ig.getEpochTime()+t;if(this.expiration===i&&this._timerHandle){n.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),n.debug("using duration",t),this._expiration=i;const a=Math.min(t,5);this._timerHandle=setInterval(this._callback,a*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},Eg=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const i=new URL(e,"http://127.0.0.1")[t==="fragment"?"hash":"search"];return new URLSearchParams(i.slice(1))}},Nl=";",Ho=class extends Error{constructor(e,t){var n,i,a;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw zt.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=(n=e.error_description)!=null?n:null,this.error_uri=(i=e.error_uri)!=null?i:null,this.state=e.userState,this.session_state=(a=e.session_state)!=null?a:null,this.url_state=e.url_state}},Ag=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},hC=class{constructor(e){this._logger=new zt("AccessTokenEvents"),this._expiringTimer=new aa("Access token expiring"),this._expiredTimer=new aa("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}async load(e){const t=this._logger.create("load");if(e.access_token&&e.expires_in!==void 0){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let a=n-this._expiringNotificationTimeInSeconds;a<=0&&(a=1),t.debug("registering expiring timer, raising in",a,"seconds"),this._expiringTimer.init(a)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const i=n+1;t.debug("registering expired timer, raising in",i,"seconds"),this._expiredTimer.init(i)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}async unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},dC=class{constructor(e,t,n,i,a){this._callback=e,this._client_id=t,this._intervalInSeconds=i,this._stopOnError=a,this._logger=new zt("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=f=>{f.origin===this._frame_origin&&f.source===this._frame.contentWindow&&(f.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):f.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(f.data+" message from check session op iframe"))};const o=new URL(n);this._frame_origin=o.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=o.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},e1=class{constructor(){this._logger=new zt("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}}
14,xg=class extends Error{constructor(e,t){super(t),this.name="ErrorDPoPNonce",this.nonce=e}},Cg=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new zt("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:n,...i}=t;if(!n)return await fetch(e,i);const a=new AbortController,o=setTimeout(()=>a.abort(),n*1e3);try{return await fetch(e,{...t,signal:a.signal})}catch(f){throw f instanceof DOMException&&f.name==="AbortError"?new Ag("Network timed out"):f}finally{clearTimeout(o)}}async getJson(e,{token:t,credentials:n,timeoutInSeconds:i}={}){const a=this._logger.create("getJson"),o={Accept:this._contentTypes.join(", ")};t&&(a.debug("token passed, setting Authorization header"),o.Authorization="Bearer "+t),this._appendExtraHeaders(o);let f;try{a.debug("url:",e),f=await this.fetchWithTimeout(e,{method:"GET",headers:o,timeoutInSeconds:i,credentials:n})}catch(u){throw a.error("Network Error"),u}a.debug("HTTP response received, status",f.status);const p=f.headers.get("Content-Type");if(p&&!this._contentTypes.find(u=>p.startsWith(u))&&a.throw(new Error(`Invalid response Content-Type: ${p??"undefined"}, from URL: ${e}`)),f.ok&&this._jwtHandler&&p?.startsWith("application/jwt"))return await this._jwtHandler(await f.text());let g;try{g=await f.json()}catch(u){throw a.error("Error parsing JSON response",u),f.ok?u:new Error(`${f.statusText} (${f.status})`)}if(!f.ok)throw a.error("Error from server:",g),g.error?new Ho(g):new Error(`${f.statusText} (${f.status}): ${JSON.stringify(g)}`);return g}async postForm(e,{body:t,basicAuth:n,timeoutInSeconds:i,initCredentials:a,extraHeaders:o}){const f=this._logger.create("postForm"),p={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...o};n!==void 0&&(p.Authorization="Basic "+n),this._appendExtraHeaders(p);let g;try{f.debug("url:",e),g=await this.fetchWithTimeout(e,{method:"POST",headers:p,body:t,timeoutInSeconds:i,credentials:a})}catch(x){throw f.error("Network error"),x}f.debug("HTTP response received, status",g.status);const u=g.headers.get("Content-Type");if(u&&!this._contentTypes.find(x=>u.startsWith(x)))throw new Error(`Invalid response Content-Type: ${u??"undefined"}, from URL: ${e}`);const y=await g.text();let S={};if(y)try{S=JSON.parse(y)}catch(x){throw f.error("Error parsing JSON response",x),g.ok?x:new Error(`${g.statusText} (${g.status})`)}if(!g.ok){if(f.error("Error from server:",S),g.headers.has("dpop-nonce")){const x=g.headers.get("dpop-nonce");throw new xg(x,`${JSON.stringify(S)}`)}throw S.error?new Ho(S,t):new Error(`${g.statusText} (${g.status}): ${JSON.stringify(S)}`)}return S}_appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),i=["accept","content-type"],a=["authorization"];n.length!==0&&n.forEach(o=>{if(i.includes(o.toLocaleLowerCase())){t.warn("Protected header could not be set",o,i);return}if(a.includes(o.toLocaleLowerCase())&&Object.keys(e).includes(o)){t.warn("Header could not be overridden",o,a);return}const f=typeof this._extraHeaders[o]=="function"?this._extraHeaders[o]():this._extraHeaders[o];f&&f!==""&&(e[o]=f)})}},pC=class{constructor(e){this._settings=e,this._logger=new zt("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new Cg(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},t,this._settings.metadataSeed),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const n=this._logger.create(`_getMetadataProperty('${e}')`),i=await this.getMetadata();if(n.debug("resolved"),i[e]===void 0){if(t===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+e))}return i[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},Tg=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new zt("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n<e;n++){const i=await this._store.key(n);i&&i.indexOf(this._prefix)===0&&t.push(i.substr(this._prefix.length))}return t}},gC="code",mC="openid",vC="client_secret_post",yC=900,kg=class{constructor({authority:e,metadataUrl:t,metadata:n,signingKeys:i,metadataSeed:a,client_id:o,client_secret:f,response_type:p=g
14C,scope:g=mC,redirect_uri:u,post_logout_redirect_uri:y,client_authentication:S=vC,prompt:x,display:O,max_age:L,ui_locales:R,acr_values:V,resource:K,response_mode:se,filterProtocolClaims:ne=!0,loadUserInfo:J=!1,requestTimeoutInSeconds:X,staleStateAgeInSeconds:U=yC,mergeClaimsStrategy:Y={array:"replace"},disablePKCE:Ce=!1,stateStore:oe,revokeTokenAdditionalContentTypes:_e,fetchRequestCredentials:ge,refreshTokenAllowedScope:I,extraQueryParams:ue={},extraTokenParams:me={},extraHeaders:De={},dpop:Z,omitScopeWhenRequesting:ke=!1}){var Ie;if(this.authority=e,t?this.metadataUrl=t:(this.metadataUrl=e,e&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=n,this.metadataSeed=a,this.signingKeys=i,this.client_id=o,this.client_secret=f,this.response_type=p,this.scope=g,this.redirect_uri=u,this.post_logout_redirect_uri=y,this.client_authentication=S,this.prompt=x,this.display=O,this.max_age=L,this.ui_locales=R,this.acr_values=V,this.resource=K,this.response_mode=se,this.filterProtocolClaims=ne??!0,this.loadUserInfo=!!J,this.staleStateAgeInSeconds=U,this.mergeClaimsStrategy=Y,this.omitScopeWhenRequesting=ke,this.disablePKCE=!!Ce,this.revokeTokenAdditionalContentTypes=_e,this.fetchRequestCredentials=ge||"same-origin",this.requestTimeoutInSeconds=X,oe)this.stateStore=oe;else{const Fe=typeof window<"u"?window.localStorage:new e1;this.stateStore=new Tg({store:Fe})}if(this.refreshTokenAllowedScope=I,this.extraQueryParams=ue,this.extraTokenParams=me,this.extraHeaders=De,this.dpop=Z,this.dpop&&!((Ie=this.dpop)!=null&&Ie.store))throw new Error("A DPoPStore is required when dpop is enabled")}},bC=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new zt("UserInfoService"),this._getClaimsFromJwt=async n=>{const i=this._logger.create("_getClaimsFromJwt");try{const a=oh.decode(n);return i.debug("JWT decoding successful"),a}catch(a){throw i.error("Error parsing JWT response"),a}},this._jsonService=new Cg(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const i=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return t.debug("got claims",i),i}},t1=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new zt("TokenClient"),this._jsonService=new Cg(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:i=this._settings.client_secret,extraHeaders:a,...o}){const f=this._logger.create("exchangeCode");n||f.throw(new Error("A client_id is required")),t||f.throw(new Error("A redirect_uri is required")),o.code||f.throw(new Error("A code is required"));const p=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[S,x]of Object.entries(o))x!=null&&p.set(S,x);let g;switch(this._settings.client_authentication){case"client_secret_basic":if(i==null)throw f.throw(new Error("A client_secret is required")),null;g=li.generateBasicAuth(n,i);break;case"client_secret_post":p.append("client_id",n),i&&p.append("client_secret",i);break}const u=await this._metadataService.getTokenEndpoint(!1);f.debug("got token endpoint");const y=await this._jsonService.postForm(u,{body:p,basicAuth:g,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:a});return f.debug("got response"),y}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:i=this._settings.scope,...a}){const o=this._logger.create("exchangeCredentials");t||o.throw(new Error("A client_id is required"));const f=new URLSearchParams({grant_type:e});this._settings.omitScopeWhenRequesting||f.set("scope",i);for(const[y,S]of Object.entries(a))S!=null&&f.set(y,S);let p;switch(this._settings.client_authentication){case"client_secret_basic":if(n==null)throw o.throw(new Error("A client_secret is required")),null;p=li.generateBasicAuth(t,n);break;case"client_secret_post":f.append("client_id",t),n&&f.append("client_secret",n);break}const g=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const u=await this._jsonService.postForm(g,{body:f,basicAuth:p,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),u}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:i,extraHeaders:a,...o}){const f=this._logger.create("exchangeRefreshToken");t||f.throw(new Error("A client_id is required")),o.refresh_token||f.throw(new Error("A refresh_token is required"));const p=new URLSearchParams({grant_type:e});for(const[S,x]of Object.entries(o))Array.isArray(x)?x.forEach(O=>p.append(S,O)):x!=null&&p.set(S,x);let g;switch(this._settings.client_authentication){case"client_secret_basic":if(n==null)throw f.throw(new Error("A client_secret is required")),null;g=li.generateBasicAuth(t,n);break;case"client_secret_post":p.append("client_id",t),n&&p.append("client_secret",n);break}const u=await this._metadataService.getTokenEndpoint(!1);f.debug("got token endpoint");const y=await this._jsonService.postForm(u,{body:p,basicAuth:g,timeoutInSeconds:i,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:a});return f.debug("got response"),y}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const i=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:"default token type"}`);const a=new URLSearchParams;for(const[o,f]of Object.entries(e))f!=null&&a.set(o,f);a.set("client_id",this._settings.client_id),this._settings.client_secret&&a.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(i,{body:a,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),n.debug("got response")}},SC=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new zt("ResponseValidator"),this._userInfoService=new bC(this._settings,this._metadataService),this._tokenClient=new t1(this._settings,this._metadataService)}async validateSigninResponse(e,t,n){const i=this._logger.create("validateSigninResponse");this._processSigninState(e,t),i.debug("state processed"),await this._processCode(e,t,n),i.debug("code processed"),e.isOpenId&&this._val
14idateIdTokenAttributes(e),i.debug("tokens validated"),await this._processClaims(e,t?.skipUserInfo,e.isOpenId),i.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse"),i=e.isOpenId&&!!e.id_token;i&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,i),n.debug("claims processed")}async validateRefreshResponse(e,t){var n,i;const a=this._logger.create("validateRefreshResponse");e.userState=t.data,(n=e.session_state)!=null||(e.session_state=t.session_state),(i=e.scope)!=null||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),a.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const o=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,o),a.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new Ho(e)}_processSigninState(e,t){var n;const i=this._logger.create("_processSigninState");if(t.id!==e.state&&i.throw(new Error("State does not match")),t.client_id||i.throw(new Error("No client_id on state")),t.authority||i.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&i.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&i.throw(new Error("client_id mismatch on settings vs. signin state")),i.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,(n=e.scope)!=null||(e.scope=t.scope),e.error)throw i.warn("Response was error",e.error),new Ho(e);t.code_verifier&&!e.code&&i.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,n=!0){const i=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){i.debug("not loading user info");return}i.debug("loading user info");const a=await this._userInfoService.getClaims(e.access_token);i.debug("user info claims received from user info endpoint"),n&&a.sub!==e.profile.sub&&i.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(a)),i.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t,n){const i=this._logger.create("_processCode");if(e.code){i.debug("Validating code");const a=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,extraHeaders:n,...t.extraTokenParams});Object.assign(e,a)}else i.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const i=this._logger.create("_validateIdTokenAttributes");i.debug("decoding ID Token JWT");const a=oh.decode((n=e.id_token)!=null?n:"");if(a.sub||i.throw(new Error("ID Token is missing a subject claim")),t){const o=oh.decode(t);a.sub!==o.sub&&i.throw(new Error("sub in id_token does not match current sub")),a.auth_time&&a.auth_time!==o.auth_time&&i.throw(new Error("auth_time in id_token does not match original auth_time")),a.azp&&a.azp!==o.azp&&i.throw(new Error("azp in id_token does not match original azp")),!a.azp&&o.azp&&i.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=a}},lh=class Cy{constructor(t){this.id=t.id||li.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=aa.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new zt("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return zt.createStatic("State","fromStorageString"),Promise.resolve(new Cy(JSON.parse(t)))}static async clearStaleState(t,n){const i=zt.createStatic("State","clearStaleState"),a=aa.getEpochTime()-n,o=await t.getAllKeys();i.debug("got keys",o);for(let f=0;f<o.length;
14f++){const p=o[f],g=await t.get(p);let u=!1;if(g)try{const y=await Cy.fromStorageString(g);i.debug("got item from key:",p,y.created),y.created<=a&&(u=!0)}catch(y){i.error("Error parsing state for key:",p,y),u=!0}else i.debug("no item in storage for key:",p),u=!0;u&&(i.debug("removed item for key:",p),t.remove(p))}}},n1=class Ty extends lh{constructor(t){super(t),this.code_verifier=t.code_verifier,this.code_challenge=t.code_challenge,this.authority=t.authority,this.client_id=t.client_id,this.redirect_uri=t.redirect_uri,this.scope=t.scope,this.client_secret=t.client_secret,this.extraTokenParams=t.extraTokenParams,this.response_mode=t.response_mode,this.skipUserInfo=t.skipUserInfo}static async create(t){const n=t.code_verifier===!0?li.generateCodeVerifier():t.code_verifier||void 0,i=n?await li.generateCodeChallenge(n):void 0;return new Ty({...t,code_verifier:n,code_challenge:i})}toStorageString(){return new zt("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(t){zt.createStatic("SigninState","fromStorageString");const n=JSON.parse(t);return Ty.create(n)}},r1=class sx{constructor(t){this.url=t.url,this.state=t.state}static async create({url:t,authority:n,client_id:i,redirect_uri:a,response_type:o,scope:f,state_data:p,response_mode:g,request_type:u,client_secret:y,nonce:S,url_state:x,resource:O,skipUserInfo:L,extraQueryParams:R,extraTokenParams:V,disablePKCE:K,dpopJkt:se,omitScopeWhenRequesting:ne,...J}){if(!t)throw this._logger.error("create: No url passed"),new Error("url");if(!i)throw this._logger.error("create: No client_id passed"),new Error("client_id");if(!a)throw this._logger.error("create: No redirect_uri passed"),new Error("redirect_uri");if(!o)throw this._logger.error("create: No response_type passed"),new Error("response_type");if(!f)throw this._logger.error("create: No scope passed"),new Error("scope");if(!n)throw this._logger.error("create: No authority passed"),new Error("authority");const X=await n1.create({data:p,request_type:u,url_state:x,code_verifier:!K,client_id:i,authority:n,redirect_uri:a,response_mode:g,client_secret:y,scope:f,extraTokenParams:V,skipUserInfo:L}),U=new URL(t);U.searchParams.append("client_id",i),U.searchParams.append("redirect_uri",a),U.searchParams.append("response_type",o),ne||U.searchParams.append("scope",f),S&&U.searchParams.append("nonce",S),se&&U.searchParams.append("dpop_jkt",se);let Y=X.id;x&&(Y=`${Y}${Nl}${x}`),U.searchParams.append("state",Y),X.code_challenge&&(U.searchParams.append("code_challenge",X.code_challenge),U.searchParams.append("code_challenge_method","S256")),O&&(Array.isArray(O)?O:[O]).forEach(oe=>U.searchParams.append("resource",oe));for(const[Ce,oe]of Object.entries({response_mode:g,...J,...R}))oe!=null&&U.searchParams.append(Ce,oe.toString());return new sx({url:U.href,state:X})}};r1._logger=new zt("SigninRequest");var wC=r1,_C="openid",Og=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const t=decodeURIComponent(this.state).split(Nl);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Nl))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-aa.getEpochTime()}set expires_in(e){typeof e=="string"&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+aa.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(" ").includes(_C))||!!this.id_token}},EC=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:i,extraQueryParams:a,request_type:o,client_id:f,url_state:p}
14){if(this._logger=new zt("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const g=new URL(e);if(n&&g.searchParams.append("id_token_hint",n),f&&g.searchParams.append("client_id",f),i&&(g.searchParams.append("post_logout_redirect_uri",i),t||p)){this.state=new lh({data:t,request_type:o,url_state:p});let u=this.state.id;p&&(u=`${u}${Nl}${p}`),g.searchParams.append("state",u)}for(const[u,y]of Object.entries({...a}))y!=null&&g.searchParams.append(u,y.toString());this.url=g.href}},AC=class{constructor(e){if(this.state=e.get("state"),this.state){const t=decodeURIComponent(this.state).split(Nl);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Nl))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},xC=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],CC=["sub","iss","aud","exp","iat"],TC=class{constructor(e){this._settings=e,this._logger=new zt("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=xC;for(const i of n)CC.includes(i)||delete t[i]}return t}mergeClaims(e,t){const n={...e};for(const[i,a]of Object.entries(t))if(n[i]!==a)if(Array.isArray(n[i])||Array.isArray(a))if(this._settings.mergeClaimsStrategy.array=="replace")n[i]=a;else{const o=Array.isArray(n[i])?n[i]:[n[i]];for(const f of Array.isArray(a)?a:[a])o.includes(f)||o.push(f);n[i]=o}else typeof n[i]=="object"&&typeof a=="object"?n[i]=this.mergeClaims(n[i],a):n[i]=a;return n}},i1=class{constructor(e,t){this.keys=e,this.nonce=t}},kC=class{constructor(e,t){this._logger=new zt("OidcClient"),this.settings=e instanceof kg?e:new kg(e),this.metadataService=t??new pC(this.settings),this._claimsService=new TC(this.settings),this._validator=new SC(this.settings,this.metadataService,this._claimsService),this._tokenClient=new t1(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:n,request_type:i,id_token_hint:a,login_hint:o,skipUserInfo:f,nonce:p,url_state:g,response_type:u=this.settings.response_type,scope:y=this.settings.scope,redirect_uri:S=this.settings.redirect_uri,prompt:x=this.settings.prompt,display:O=this.settings.display,max_age:L=this.settings.max_age,ui_locales:R=this.settings.ui_locales,acr_values:V=this.settings.acr_values,resource:K=this.settings.resource,response_mode:se=this.settings.response_mode,extraQueryParams:ne=this.settings.extraQueryParams,extraTokenParams:J=this.settings.extraTokenParams,dpopJkt:X,omitScopeWhenRequesting:U=this.settings.omitScopeWhenRequesting}){const Y=this._logger.create("createSigninRequest");if(u!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const Ce=await this.metadataService.getAuthorizationEndpoint();Y.debug("Received authorization endpoint",Ce);const oe=await wC.create({url:Ce,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:S,response_type:u,scope:y,state_data:e,url_state:g,prompt:x,display:O,max_age:L,ui_locales:R,id_token_hint:a,login_hint:o,acr_values:V,dpopJkt:X,resource:K,request:t,request_uri:n,extraQueryParams:ne,extraTokenParams:J,request_type:i,response_mode:se,client_secret:this.settings.client_secret,skipUserInfo:f,nonce:p,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:U});await this.clearStaleState();const _e=oe.state;return await this.settings.stateStore.set(_e.id,_e.toStorageString()),oe}async readSigninResponseState(e,t=!1){const n=this._logger.create("readSigninResponseState"),i=new Og(Eg.readParams(e,this.settings.response_mode));if(!i.state)throw n.throw(new Error("No state in response")),null;const a=await this.settings.stateStore[t?"remove":"get"](i.state);if(!a)throw n.throw(new Error("No matching state found in storage")),null;return{state:await n1.fromStorageString(a),response:i}}async processSigninResponse(e,t,n=!0){const i=this._logger.create("processSigninResponse"),{state:a,response:o}=await this.readSigninResponseState(e,n);if(i.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const f=await this.getDpopProof(this.settings.dpop.store);t={...t,DPoP:f}}
14try{await this._validator.validateSigninResponse(o,a,t)}catch(f){if(f instanceof xg&&this.settings.dpop){const p=await this.getDpopProof(this.settings.dpop.store,f.nonce);t.DPoP=p,await this._validator.validateSigninResponse(o,a,t)}else throw f}return o}async getDpopProof(e,t){let n,i;return(await e.getAllKeys()).includes(this.settings.client_id)?(i=await e.get(this.settings.client_id),i.nonce!==t&&t&&(i.nonce=t,await e.set(this.settings.client_id,i))):(n=await li.generateDPoPKeys(),i=new i1(n,t),await e.set(this.settings.client_id,i)),await li.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:i.keys,nonce:i.nonce})}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:i={}}){const a=await this._tokenClient.exchangeCredentials({username:e,password:t,...i}),o=new Og(new URLSearchParams);return Object.assign(o,a),await this._validator.validateCredentialsResponse(o,n),o}async useRefreshToken({state:e,redirect_uri:t,resource:n,timeoutInSeconds:i,extraHeaders:a,extraTokenParams:o}){var f;const p=this._logger.create("useRefreshToken");let g;if(this.settings.refreshTokenAllowedScope===void 0)g=e.scope;else{const S=this.settings.refreshTokenAllowedScope.split(" ");g=(((f=e.scope)==null?void 0:f.split(" "))||[]).filter(O=>S.includes(O)).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const S=await this.getDpopProof(this.settings.dpop.store);a={...a,DPoP:S}}let u;try{u=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:g,redirect_uri:t,resource:n,timeoutInSeconds:i,extraHeaders:a,...o})}catch(S){if(S instanceof xg&&this.settings.dpop)a.DPoP=await this.getDpopProof(this.settings.dpop.store,S.nonce),u=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:g,redirect_uri:t,resource:n,timeoutInSeconds:i,extraHeaders:a,...o});else throw S}const y=new Og(new URLSearchParams);return Object.assign(y,u),p.debug("validating response",y),await this._validator.validateRefreshResponse(y,{...e,scope:g}),y}async createSignoutRequest({state:e,id_token_hint:t,client_id:n,request_type:i,url_state:a,post_logout_redirect_uri:o=this.settings.post_logout_redirect_uri,extraQueryParams:f=this.settings.extraQueryParams}={}){const p=this._logger.create("createSignoutRequest"),g=await this.metadataService.getEndSessionEndpoint();if(!g)throw p.throw(new Error("No end session endpoint")),null;p.debug("Received end session endpoint",g),!n&&o&&!t&&(n=this.settings.client_id);const u=new EC({url:g,id_token_hint:t,client_id:n,post_logout_redirect_uri:o,state_data:e,extraQueryParams:f,request_type:i,url_state:a});await this.clearStaleState();const y=u.state;return y&&(p.debug("Signout request has state to persist"),await this.settings.stateStore.set(y.id,y.toStorageString())),u}async readSignoutResponseState(e,t=!1){const n=this._logger.create("readSignoutResponseState"),i=new AC(Eg.readParams(e,this.settings.response_mode));if(!i.state){if(n.debug("No state in response"),i.error)throw n.warn("Response was error:",i.error),new Ho(i);return{state:void 0,response:i}}const a=await this.settings.stateStore[t?"remove":"get"](i.state);if(!a)throw n.throw(new Error("No matching state found in storage")),null;return{state:await lh.fromStorageString(a),response:i}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:i}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(i,n)):t.debug("No state from storage; skipping response validation"),i}clearStaleState(){return this._logger.create("clearStaleState"),lh.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},OC=class{constructor(e){this._userManager=e,this._logger=new zt("SessionMonitor"),this._start=async t=>{const n=t.session_state;if(!n)return;const i=this._logger.create("_start");if(t.profile?(this._sub=t.profile.sub,i.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,i.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const a=await this._userManager.metadataService.getCheckSessionIframe();if(a){i.debug("initializing check session iframe");const o=this._userManager.settings.client_id,f=this._userManager.settings.checkSessionIntervalInSeconds,p=this._userManager.settings.stopCheckSessionOnError,g=new dC(this._callback,o,a,f,p);await g.load(),this._checkSessionIFrame=g,g.start(n)}else i.warn("no check session iframe found in the metadata")}catch(a){i.error("Error from getCheckSessionIframe:",a instanceof Error?a.message:a)}},this._stop=()=>{const t=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const i=await this._userManager.querySessionStatus();if(i){const a={session_state:i.session_state,profile:i.sub?{sub:i.sub}:null};this._start(a)}}catch(i){t.error("error from querySessionStatus",i instanceof Error?i.message:i)}},1e3)}},this._callback=async()=>{const t=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let i=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(i=!1,this._checkSessionIFrame.start(n.session_state),t.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),await this._userManager.events._raiseUserSessionChanged()):t.debug("different subject signed into OP",n.sub):t.debug("subject no longer signed into OP"),i?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():t.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(t.debug("Error calling queryCurrentSigninSession; raising signed out event",n),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(t=>{this._logger.error(t)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const t=await this._userManager.querySessionStatus();if(t){const n={session_state:t.session_state,profile:t.sub?{sub:t.sub}:null};this._start(n)}}}},Rg=class ax{constructor(t){var n;this.id_token=t.id_token,this.session_state=(n=t.session_state)!=null?n:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState,this.url_state=t.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-aa.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+aa.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,n;return(n=(t=this.scope)==null?void 0:t.split(" "))!=null?n:[]}toStorageString(){return new zt("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return zt.createStatic("User","fromStorageString"),new ax(JSON.parse(t))}},s1="oidc-client",a1=class{constructor(){this._abort=new Va("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:i}=await new Promise((a,o)=>{const f=g=>{var u;const y=g.data,S=(u=e.scriptOrigin)!=null?u:window.location.origin;if(!(g.origin!==S||y?.source!==s1)){try{const x=Eg.readParams(y.url,e.response_mode).get("state");if(x||t.warn("no state found in response url"),g.source!==this._window&&x!==e.state)return}catch{this._dispose(),o(new Error("Invalid response from window"))}a(y)}};window.addEventListener("message",f,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",f,!1));const p=new BroadcastChannel(`oidc-client-popup-${e.state}`);p.addEventListener("message",f,!1),this._disposeHandlers.add(()=>p.close()),this._disposeHandlers.add(this._abort.addHandler(g=>{this._dispose(),o(g)}))});return t.debug("got response from window"),this._dispose(),i||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,n=!1,i=window.location.origin){const a={source:s1,url:t,keepOpen:n},o=new zt("_notifyParent");
14if(e)o.debug("With parent. Using parent.postMessage."),e.postMessage(a,i);else{o.debug("No parent. Using BroadcastChannel.");const f=new URL(t).searchParams.get("state");if(!f)throw new Error("No parent and no state in URL. Can't complete notification.");const p=new BroadcastChannel(`oidc-client-popup-${f}`);p.postMessage(a),p.close()}}},o1={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},l1="_blank",RC=60,LC=2,u1=10,IC=class extends kg{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:i=o1,popupWindowTarget:a=l1,redirectMethod:o="assign",redirectTarget:f="self",iframeNotifyParentOrigin:p=e.iframeNotifyParentOrigin,iframeScriptOrigin:g=e.iframeScriptOrigin,requestTimeoutInSeconds:u,silent_redirect_uri:y=e.redirect_uri,silentRequestTimeoutInSeconds:S,automaticSilentRenew:x=!0,validateSubOnSilentRenew:O=!0,includeIdTokenInSilentRenew:L=!1,monitorSession:R=!1,monitorAnonymousSession:V=!1,checkSessionIntervalInSeconds:K=LC,query_status_response_type:se="code",stopCheckSessionOnError:ne=!0,revokeTokenTypes:J=["access_token","refresh_token"],revokeTokensOnSignout:X=!1,includeIdTokenInSilentSignout:U=!1,accessTokenExpiringNotificationTimeInSeconds:Y=RC,userStore:Ce}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=i,this.popupWindowTarget=a,this.redirectMethod=o,this.redirectTarget=f,this.iframeNotifyParentOrigin=p,this.iframeScriptOrigin=g,this.silent_redirect_uri=y,this.silentRequestTimeoutInSeconds=S||u||u1,this.automaticSilentRenew=x,this.validateSubOnSilentRenew=O,this.includeIdTokenInSilentRenew=L,this.monitorSession=R,this.monitorAnonymousSession=V,this.checkSessionIntervalInSeconds=K,this.stopCheckSessionOnError=ne,this.query_status_response_type=se,this.revokeTokenTypes=J,this.revokeTokensOnSignout=X,this.includeIdTokenInSilentSignout=U,this.accessTokenExpiringNotificationTimeInSeconds=Y,Ce)this.userStore=Ce;else{const oe=typeof window<"u"?window.sessionStorage:new e1;this.userStore=new Tg({store:oe})}}},c1=class ox extends a1{constructor({silentRequestTimeoutInSeconds:t=u1}){super(),this._logger=new zt("IFrameWindow"),this._timeoutInSeconds=t,this._frame=ox.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const n=setTimeout(()=>{this._abort.raise(new Ag("IFrame timed out without a response"))},this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(n)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",n=>{var i;const a=n.target;(i=a.parentNode)==null||i.removeChild(a),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,n){return super._notifyParent(window.parent,t,!1,n)}},MC=class{constructor(e){this._settings=e,this._logger=new zt("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new c1({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),c1.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},NC=500,PC=1e3,f1=class extends a1{constructor({popupWindowTarget:e=l1,popupWindowFeatures:t={},popupSignal:n}){super(),this._logger=new zt("PopupWindow");const i=Jy.center({...o1,...t});this._window=window.open(void 0,e,Jy.serialize(i)),n&&n.addEventListener("abort",()=>{var a;this._abort.raise(new Error((a=n.reason)!=null?a:"Popup aborted"))}),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},t.closePopupWindowAfterInSeconds*PC)}async navigate(e){var t;(t=this._window)==null||t.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&(this._logger.debug("Popup closed by user or isolated by redirect"),i(),this._disposeHandlers.delete(i))},NC),i=()=>clearInterval(n);return this._disposeHandlers.add(i),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){super._notifyParent(window.opener,e,t),!t&&!window.opener&&window.close()}},DC=class{constructor(e){this._settings=e,this._logger=new zt("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget,popupSignal:n}){return new f1({popupWindowFeatures:e,popupWindowTarget:t,popupSignal:n})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),f1.notifyOpener(e,t)}},UC=class{constructor(e){this._settings=e,this._logger=new zt("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var n;this._logger.create("prepare");let i=window.self;t==="top"&&(i=(n=window.top)!=null?n:window.self);const a=i.location[e].bind(i.location);let o;return{navigate:async f=>{this._logger.create("navigate");const p=new Promise((g,u)=>{o=u});return a(f.url),await p},close:()=>{this._logger.create("close"),o?.(new Error("Redirect aborted")),i.stop()}}}async callback(){}},jC=class extends hC{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new zt("UserManagerEvents"),this._userLoaded=new Va("User loaded"),this._userUnloaded=new Va("User unloaded"),this._silentRenewError=ne
14w Va("Silent renew error"),this._userSignedIn=new Va("User signed in"),this._userSignedOut=new Va("User signed out"),this._userSessionChanged=new Va("User session changed")}async load(e,t=!0){await super.load(e),t&&await this._userLoaded.raise(e)}async unload(){await super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},FC=class{constructor(e){this._userManager=e,this._logger=new zt("SilentRenewService"),this._isStarted=!1,this._retryTimer=new aa("Retry Silent Renew"),this._tokenExpiring=async()=>{const t=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),t.debug("silent token renewal successful")}catch(n){if(n instanceof Ag){t.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}t.error("Error from signinSilent:",n),await this._userManager.events._raiseSilentRenewError(n)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},BC=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},zC=class{constructor(e,t,n,i){this._logger=new zt("UserManager"),this.settings=new IC(e),this._client=new kC(e),this._redirectNavigator=t??new UC(this.settings),this._popupNavigator=n??new DC(this.settings),this._iframeNavigator=i??new MC(this.settings),this._events=new jC(this.settings),this._silentRenewService=new FC(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new OC(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(e=!1){const t=this._logger.create("getUser"),n=await this._loadUser();return n?(t.info("user loaded"),await this._events.load(n,e),n):(t.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),await this._events.unload()}async signinRedirect(e={}){var t;this._logger.create("signinRedirect");const{redirectMethod:n,...i}=e;let a;(t=this.settings.dpop)!=null&&t.bind_authorization_code&&(a=await this.generateDPoPJkt(this.settings.dpop));const o=await this._redirectNavigator.prepare({redirectMethod:n});await this._signinStart({request_type:"si:r",dpopJkt:a,...i},o)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(e);return n.profile&&n.profile.sub?t.info("success, signed in subject",n.profile.sub):t.info("no subject"),n}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:n=!1}){const i=this._logger.create("signinResourceOwnerCredential"),a=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});i.debug("got signin response");const o=await this._buildUser(a);return o.profile&&o.profile.sub?i.info("success, signed in subject",o.profile.sub):i.info("no subject"),o}async signinPopup(e={}){var t;const n=this._logger.create("signinPopup");let i;(t=this.settings.dpop)!=null&&t.bind_authorization_code&&(i=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:a,popupWindowTarget:o,popupSignal:f,...p}=e,g=this.settings.popup_redirect_uri;g||n.throw(new Error("No popup_redirect_uri configured"));const u=await this._popupNavigator.prepare({popupWindowFeatures:a,popupWindowTarget:o,popupSignal:f}),y=await this._signin({request_type:"si:p",redirect_uri:g,display:"popup",dpopJkt:i,...p},u);return y&&(y.profile&&y.profile.sub?n.info("success, signed in subject",
14y.profile.sub):n.info("no subject")),y}async signinPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async signinSilent(e={}){var t,n;const i=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:a,...o}=e;let f=await this._loadUser();if(f?.refresh_token){i.debug("using refresh token");const S=new BC(f);return await this._useRefreshToken({state:S,redirect_uri:o.redirect_uri,resource:o.resource,extraTokenParams:o.extraTokenParams,timeoutInSeconds:a})}let p;(t=this.settings.dpop)!=null&&t.bind_authorization_code&&(p=await this.generateDPoPJkt(this.settings.dpop));const g=this.settings.silent_redirect_uri;g||i.throw(new Error("No silent_redirect_uri configured"));let u;f&&this.settings.validateSubOnSilentRenew&&(i.debug("subject prior to silent renew:",f.profile.sub),u=f.profile.sub);const y=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:a});return f=await this._signin({request_type:"si:s",redirect_uri:g,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?f?.id_token:void 0,dpopJkt:p,...o},y,u),f&&((n=f.profile)!=null&&n.sub?i.info("success, signed in subject",f.profile.sub):i.info("no subject")),f}async _useRefreshToken(e){const t=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...e}),n=new Rg({...e.state,...t});return await this.storeUser(n),await this._events.load(n),n}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":await this.signinPopupCallback(e);break;case"si:s":await this.signinSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:n}=await this._client.readSignoutResponseState(e);if(n)switch(n.request_type){case"so:r":return await this.signoutRedirectCallback(e);case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...i}=e,a=this.settings.silent_redirect_uri;a||t.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),f=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),p=await this._signinStart({request_type:"si:s",redirect_uri:a,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o?.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...i},f);try{const g={},u=await this._client.processSigninResponse(p.url,g);return t.debug("got signin response"),u.session_state&&u.profile.sub?(t.info("success for subject",u.profile.sub),{session_state:u.session_state,sub:u.profile.sub}):(t.info("success, user not authenticated"),null)}catch(g){if(this.settings.monitorAnonymousSession&&g instanceof Ho)switch(g.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:g.session_state}}throw g}}async _signin(e,t,n){const i=await this._signinStart(e,t);return await this._signinEnd(i.url,n)}async _signinStart(e,t){const n=this._logger.create("_signinStart");try{const i=await this._client.createSigninRequest(e);return n.debug("got signin request"),await t.navigate({url:i.url,state:i.state.id,response_mode:i.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw n.debug("error after preparing navigator, closing navigator window"),t.close(),i}}async _signinEnd(e,t){const n=this._logger.create("_signinEnd"),i={},a=await this._client.processSigninResponse(e,i);return n.debug("got signin response"),await this._buildUser(a,t)}async _buildUser(e,t){const n=this._logger.create("_buildUser"),i=new Rg(e);if(t){if(t!==i.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",i.profile.sub),new Ho({...e,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(i),n.debug("user stored"),await this._events.load(i),i}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:n,...i}=e,a=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...i},a),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(e);return t.info("success"),n}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:i,popupSignal:a,...o}=e,f=this.settings.popup_post_logout_redirect_uri,p=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:i,popupSignal:a});await this._signout({request_type:"so:p",post_logout_redirect_uri:f,state:f==null?void 0:{},...o},p),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async _signout(e,t){const n=await this._signoutStart(e,t);return await this._signoutEnd(n.url)}async _signoutStart(e={},t){var n;const i=this._logger.create("_signoutStart");try{const a=await this._loadUser();i.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(a);const o=e.id_token_hint||a&&a.id_token;o&&(i.debug("setting id_token_hint in signout request"),e.id_token_hint=o),await this.removeUser(),i.debug("user removed, creating signout request");
14const f=await this._client.createSignoutRequest(e);return i.debug("got signout request"),await t.navigate({url:f.url,state:(n=f.state)==null?void 0:n.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(a){throw i.debug("error after preparing navigator, closing navigator window"),t.close(),a}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(e);return t.debug("got signout response"),n}async signoutSilent(e={}){var t;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:i,...a}=e,o=this.settings.includeIdTokenInSilentSignout?(t=await this._loadUser())==null?void 0:t.id_token:void 0,f=this.settings.popup_post_logout_redirect_uri,p=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:i});await this._signout({request_type:"so:s",post_logout_redirect_uri:f,id_token_hint:o,...a},p),n.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!e)return;const i=t.filter(a=>typeof e[a]=="string");if(!i.length){n.debug("no need to revoke due to no token(s)");return}for(const a of i)await this._client.revokeToken(e[a],a),n.info(`${a} revoked successfully`),a!=="access_token"&&(e[a]=null);await this.storeUser(e),n.debug("user stored"),await this._events.load(e)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),Rg.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const n=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(e,t,n,i){var a,o;const f=await((o=(a=this.settings.dpop)==null?void 0:a.store)==null?void 0:o.get(this.settings.client_id));if(f)return await li.generateDPoPProof({url:e,accessToken:t?.access_token,httpMethod:n,keyPair:f.keys,nonce:i})}async generateDPoPJkt(e){let t=await e.store.get(this.settings.client_id);if(!t){const n=await li.generateDPoPKeys();t=new i1(n),await e.store.set(this.settings.client_id,t)}return await li.generateDPoPJkt(t.keys)}},HC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),oa=(function(e){HC(t,e);function t(){return e.call(this,t.ID,{})||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-authentication",t})(At),$C=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Vr;(function(e){e.AUTHORITY_RESOLUTION_FAILED="authorityResolutionFailed",e.ACQUIRE_TOKEN_FAILED="aquireTokenFailed",e.NO_AUTHORITY_AVAILABLE="noAuthorityAvailable",e.SESSION_LOGIN_FAILED="sessionLoginFailed",e.WRONG_OIDC_CONFIG="wrongOidcConfig"})(Vr||(Vr={}));var la=(function(e){$C(t,e);function t(n){var i=this,a="OIDC Error: ",o=!1;switch(n){case Vr.AUTHORITY_RESOLUTION_FAILED:a+="Authority resolution failed";break;case Vr.ACQUIRE_TOKEN_FAILED:a+="Failed to get token";break;case Vr.NO_AUTHORITY_AVAILABLE:a+="No authority available",o=!0;break;case Vr.SESSION_LOGIN_FAILED:a+="Session login failed";break;case Vr.WRONG_OIDC_CONFIG:a+="Wrong or missing oidc config";break;default:a+="".concat(n)}return i=e.call(this,a)||this,i.type=n,i.userError=!1,i.name="OIDCError",i.userError=o,Object.setPrototypeOf(i,t.prototype),i}return t.prototype.isUserError=function(){return this.userError},t})(Error);function h1(e){return e.name==="OIDCError"}var ua;(function(e){e[e.Success=0]="Success",e[e.Blocked=1057]="Blocked",e[e.Invalid=6106]="Invalid",e[e.InvalidAlternative=6108]="InvalidAlternative",e[e.Expired=6107]="Expired",e[e.InvalidNewPassword=6111]="InvalidNewPassword"})(ua||(ua={}));var Pl;(function(e){e.DynS="DYNSUSER_STATIONAER",e.DynSChangePassword="DYNSUSER_STATIONAER_CHANGE_PASSWORD",e.LDAP="INT
14ERNAL"})(Pl||(Pl={}));var VC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),uh=function(){return uh=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},uh.apply(this,arguments)},pc=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},gc=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ch=5,qC="stationaer",KC="stationaerPwChange",d1=function(e,t,n){if(e.payload===void 0){n(Error("Login-Response enthält keine Payload."));return}if(e.payload.length!==Yt.ExpectedAuthenticationPayloadLength){n(Error("Login-Response muss genau ein Element enthalten."));return}try{var i=g1(e.payload[Yt.ArrayFirstEntry]);new oa().dispatch(),t(i)}catch(a){n(a)}},GC=function(e,t,n){new oa().dispatch(),t({success:!0,status:ua.Success})},p1=function(e,t,n){if(e.httpResponse.status===Yt.HttpSevereError){n(e);return}if(e.httpResponse.payload===void 0){n(Error("Login-Response enthält keine Payload."));return}if(e.httpResponse.payload.length!==Yt.ExpectedAuthenticationPayloadLength){n(Error("Login-Response muss genau ein Element enthalten."));return}try{var i=g1(e.httpResponse.payload[Yt.ArrayFirstEntry]);t(i)}catch(a){n(a)}},WC=function(e,t,n){if(e.httpResponse.status!==Yt.HttpOK){n(e);return}t({success:!1,status:ua.Invalid})},g1=function(e){var t=YC(e);return{success:t===ua.Success,status:t,message:e.message}},YC=function(e){if(e.message==="SUCCESS")return ua.Success;var t=parseInt(e.code,10);if(!isNaN(t)&&ua[t])return t;throw Error("Login-Response enthält unbekannten Code: ".concat(e.code))},Lg=(function(e){VC(t,e);function t(n,i){var a=e.call(this,typeof i=="string"?{baseUrl:i}:i)||this;return a.httpService=n,a}return t.prototype.authenticate=function(n){return pc(this,void 0,void 0,function(){var i,a=this;return gc(this,function(o){return i={headers:uh(uh({},this.createMkgServiceHeaders(ch)),{"X-Auth-PRODUCT-NAME":n.loginType===Pl.DynSChangePassword?KC:qC}),aplRequest:!0},[2,new Promise(function(f,p){n.loginType===Pl.LDAP?a.httpService.post("".concat(a.baseUrl,"/authenticate"),{username:n.userId,password:n.password},{headers:{"X-Auth-PRODUCT-NAME":a.requiredProduct(),"Content-Type":"application/json"},aplRequest:!0}).then(function(g){return GC(g,f)}).catch(function(g){return WC(g,f,p)}):a.httpService.post("".concat(a.baseUrl,"/fisession/authenticate"),n,i).then(function(g){return d1(g,f,p)}).catch(function(g){return p1(g,f,p)})})]})})},t.prototype.logout=function(){return pc(this,void 0,void 0,function(){var n,i=this;return gc(this,function(a){return n={headers:this.createMkgServiceHeaders(ch),aplRequest:!0},[2,new Promise(function(o,f){i.httpService.post("".concat(i.baseUrl,"/fisession/logout"),void 0,n).then(function(p){return d1(p,o,f)}
14).catch(function(p){return p1(p,o,f)})})]})})},t.prototype.userManager=function(n){return pc(this,void 0,void 0,function(){var i,a,o,f,p;return gc(this,function(g){switch(g.label){case 0:i={headers:this.createMkgServiceHeaders(ch),responseType:Bo.Text,aplRequest:!0},a="",g.label=1;case 1:return g.trys.push([1,3,,4]),[4,this.httpService.get("".concat(this.baseUrl,"/route/proxy/keycloak?blz=").concat(n.blz),i)];case 2:return o=g.sent(),a=o.payload,[3,4];case 3:throw f=g.sent(),p=f,p.httpResponse.status===Yt.HttpBadRequest?new la(Vr.NO_AUTHORITY_AVAILABLE):new la(Vr.AUTHORITY_RESOLUTION_FAILED);case 4:if(!a)throw new la(Vr.AUTHORITY_RESOLUTION_FAILED);if(!URL.canParse(a))throw new la(Vr.AUTHORITY_RESOLUTION_FAILED);return[2,new zC({authority:a,client_id:n.clientId,redirect_uri:n.url,userStore:new Tg({store:window.localStorage}),redirectMethod:"assign",automaticSilentRenew:!1})]}})})},t.prototype.authenticateOIDC=function(n){return pc(this,void 0,void 0,function(){var i;return gc(this,function(a){switch(a.label){case 0:return[4,this.userManager(n)];case 1:return i=a.sent(),i.signinRedirect(),[2]}})})},t.prototype.authenticateOIDCCallback=function(n){return pc(this,void 0,void 0,function(){var i,a,o,f;return gc(this,function(p){switch(p.label){case 0:return i={headers:this.createMkgServiceHeaders(ch)},[4,this.userManager(n)];case 1:a=p.sent(),p.label=2;case 2:return p.trys.push([2,4,,5]),[4,a.signinCallback()];case 3:return o=p.sent(),[3,5];case 4:throw p.sent(),new la(Vr.ACQUIRE_TOKEN_FAILED);case 5:if(!o)throw new la(Vr.ACQUIRE_TOKEN_FAILED);p.label=6;case 6:return p.trys.push([6,8,,9]),[4,this.httpService.post("".concat(this.baseUrl,"/fisession/loginDynsAccessToken"),{blz:n.blz,userId:o.profile.username,accessToken:o.access_token},i)];case 7:return f=p.sent(),f.success&&new oa().dispatch(),[2,f];case 8:throw p.sent(),new la(Vr.SESSION_LOGIN_FAILED);case 9:return[2]}})})},t.prototype.requiredProduct=function(){if(this.product!==null)return this.product;throw Error("MKG-Productname ist erforderlich für LoginType.LDAP, wurde aber nicht definiert.")},t})(fc),XC=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),m1=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},v1=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ZC=5,fh=(function(e){XC(t,e);function t(n,i){var a=e.call(this,typeof i=="string"?{baseUrl:i}:i)||this;return a.httpService=n,a}return t.prototype.activeApplication=function(n){return m1(this,void 0,void 0,function(){var i,a,o=this;return v1(this,function(f){return i={headers:this.createMkgServiceHeaders(ZC),queryParams:{slot:n},aplRequest:!0},a=function(p){return m1(o,void 0,void 0,function(){return v1(this,function(g){return p.payload===void 0?[2,Promise.reject(Error("Payload darf nicht leer sein"))]:[2,Promise.resolve(p.payload)]})})},[2,this.httpService.get("".concat(this.baseUrl,"/fiss/workflow/activeAp
14plication"),i).then(a)]})})},t})(fc),QC=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},JC=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},hh="KeepAlive",eT="cpl_workflow",tT="keepalive",nT=(function(){function e(){var t=this;this.uuiServiceClient=new Il(new za,hh),this.internalLastServiceApp=void 0,ia.subscribe(function(n){var i=n.detail;i.stage===Es.Start&&(t.internalLastServiceApp=i.app)})}return Object.defineProperty(e.prototype,"lastServiceApp",{get:function(){return this.internalLastServiceApp},enumerable:!1,configurable:!0}),e.prototype.execute=function(t){return QC(this,void 0,void 0,function(){var n;return JC(this,function(i){return n=t??this.lastServiceApp,n===void 0?[2,Promise.reject(new Error("KeepAlive-Aufruf nicht möglich: Keine Anwendung ermittelbar, die kontaktiert werden soll"))]:[2,this.uuiServiceClient.execute({app:n,module:eT,service:tT,method:_s.Get})]})})},e})(),mc=new nT,dh=function(){return dh=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},dh.apply(this,arguments)},rT=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},iT=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ig=dh(dh({},na),{checkStatus:function(e){return rT(this,void 0,void 0,function(){return iT(this,function(t){return[2,mc.execute(e).then(function(){return na.getStatus()}).catch(function(){return na.setOffline(),na.getStatus()})]})})}}),y1=(function(){function e(t,n,i,a,o,f){i===void 0&&(i=new Date),this.level=t,this.message=n,this.time=i,this.app=a,this.module=o,this.slot=f}return e})(),Dl,Ul,sT=(Dl={},Dl[Rt.Error]="error",Dl[Rt.Warn]="warn",Dl[Rt.Info]="info",Dl[Rt.Debug]="log",Dl),aT=(Ul={},Ul[Rt.Error]="ERROR",Ul[Rt.Warn]="WARN",Ul[Rt.Info]="INFO",Ul[Rt.Debug]="DEBUG",Ul),Mg=(function(){function e(){}return e.prototype.log=function(t){return console[sT[t.level]](Ky.sprintf("%s %5s [%15s] %s",t.time.toISOString(),aT[t.level],"".concat(t.app,":").concat(t.module),t.message)),!0},e})(),Ng=new Mg,oT=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}
14return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},lT=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Pg="UserService",uT="cpl_user",cT="getCurrentUser",Dg=(function(){function e(t,n){n===void 0&&(n=new za),this.app=t,this.httpService=n,this.internalUuiServiceClient=void 0}return Object.defineProperty(e.prototype,"uuiServiceClient",{get:function(){return this.internalUuiServiceClient===void 0&&(this.internalUuiServiceClient=new Il(this.httpService,Pg)),this.internalUuiServiceClient},enumerable:!1,configurable:!0}),e.prototype.currentUser=function(){return oT(this,void 0,void 0,function(){var t;return lT(this,function(n){switch(n.label){case 0:return[4,this.uuiServiceClient.execute({method:_s.Get,app:this.app,module:uT,service:cT})];case 1:if(t=n.sent(),t.payload===void 0)throw Error("Es ist ein Fehler beim Abfragen des aktuellen Benutzers aufgetreten");return[2,t.payload]}})})},e})(),fT=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Ug=(function(e){fT(t,e);function t(n,i){var a=e.call(this,n)||this;return a.response=i,Object.setPrototypeOf(a,t.prototype),a}return t})(Error),jl=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},Fl=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},hT=255,jg=(function(){function e(){this.sfTanCache=null,this.sfTanReady=!1,this.lastUsedId=0,this.pendingPromises=new Map}return e.prototype.getClientInfo=function(){return jl(this,void 0,void 0,function(){return Fl(this,function(t){return[2,this.callNativeAPI("getClientInfo")]})})},e.prototype.getProtocolVersion=function(){return jl(this,void 0,void 0,function(){return Fl(this,function(t){return[2,this.callNativeAPI("getProtocolVersion")]})})},e.prototype.getPushTan=function(t){return jl(this,void 0,void 0,function(){return Fl(this,function(n){return[2,this.callNativeAPI("getPushTan",t)]})})},e.prototype.getTanMedium=function(){return jl(this,void 0,void 0,function(){return Fl(this,function(t){return[2,this.callNativeAPI("getTanMedium")]})})},e.prototype.getTanProcedure=function(){return jl(this,void 0,void 0,function(){return Fl(this,function(t){return[2,this.callNativeAPI("getTanProcedure")]})})},e.prototype.destruct=function(){var t;this.sfTanReady&&(window.SfTan=(t=this.sfTanCache)!==null&&t!==void 0?t:void 0,this.sfTanReady=!1)},e.prototype.init=function(){var t=this;this.sfTanReady||(window.SfTan&&(this.sfTanCache=window.SfTan),window.SfTan={_bridgeConnector:function(n,i,a){return t.callback(n,i,a)}},this.sfTanReady=!0)},e.prototype.callNativeAPI=function(t){return jl(this,arguments,void 0,function(n,i){var a=this;return i===void 0&&(i={}),Fl(this,function(o){return this.init(),[2,new Promise(function(f,p){var g=a.nextId();if(a.pendingPromises.set(g,{resolve:f,reject:p}),window.SfBridge!==void 0){switch(n){case"getProtocolVersion":window.SfBridge.getProtocolVersion(g);break;case"getClientInfo":window.SfBridge.getClientInfo(g);break;case"getTanProcedure":window.SfBridge.getTanProcedure(g);break;case"getTanMedium":window.SfBridge.getTanMedium(g);break;case"getPushTan":"orderId"in i?window.SfBridge.getPushTan(g,i.orderId):p(Error("Function 'getPushTan' expects an object with key 'orderId'"));break;default:a.pendingPromises.delete(g),p(Error("TanAction '".concat(n,"' is not supported")))}return}if(window.webkit){window.webkit.messageHandlers.SfTan.postMessage([n,g,i]);return}a.pendingPromises.delete(g),p(Error("No native TAN-provider connected. This API can only be called from within Sparkasse app!"))})]})})},e.prototype.callback=function(t,n,i){var a=this.pendingPromises.get(t);if(this.pendingPromises.delete(t),this.pendingPromises.size===0&&this.destruct(),!a)throw Error("Received a TAN-callback for call-id '".concat(t,"' but there is no such pending promise"));try{if(n){a.resolve(this.asTanServiceResult(n));return}
14if(i){a.reject(new Ug("Received an error-response from TAN-provider (response might contain further details)",this.asTanServiceResult(i)));return}a.reject(Error("Response from TAN-provider was unexpectedly empty"))}catch(o){a.reject(o)}},e.prototype.asTanServiceResult=function(t){var n=JSON.parse(t);return{raw:n,as:function(i){return i(n),n}}},e.prototype.nextId=function(){return this.lastUsedId++%(hT+1)},e.INSTANCE=new e,e})(),ph=function(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,o;i<a;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))},dT=/^([\w.\-~!$&'()*+,;=:@]|%([\da-fA-F]){2})+$/iu,b1=function(e){e===void 0&&(e=!1);for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=[],a="";return t.map(function(o){return o.split("/")}).reduce(function(o,f){return o.concat(f)},[]).forEach(function(o){switch(o){case"":case".":a="/";break;case"..":if(i.length>0&&i[i.length-1]!=="..")i.pop();else if(e)i.push("..");else throw Error("Kumulierter Pfad darf nicht mit '../' beginnen");a="/";break;default:if(!dT.test(o))throw Error("Pfad-Segment enthält ungültige Zeichen");i.push(o),a="";break}}),i.length===0&&(a=""),"/"+i.join("/")+a},S1=function(e){e===void 0&&(e=!1);for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(t.length>0){var i=t[t.length-1],a=i.indexOf("?"),o=a>=0?a:i.indexOf("#");if(o>=0){var f=i.substring(o);return t[t.length-1]=i.substring(0,o),b1.apply(void 0,ph([e],t,!1))+f}}return b1.apply(void 0,ph([e],t,!1))},Fg={join:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return S1.apply(void 0,ph([!1],e,!1))},joinAllowParent:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return S1.apply(void 0,ph([!0],e,!1))}},w1={javaSplit:function(e,t,n){var i=e.split(t);if(i.length<n)return i;var a=n-1,o=i.slice(0,a);return o.concat(i.slice(a).join(t))}},qa;(function(e){e[e.None=0]="None",e[e.Language=1]="Language",e[e.Full=2]="Full"})(qa||(qa={}));var Bl=(function(){function e(t,n){this.language=t,this.region=n}return e.parse=function(t){var n,i=this.IETF_LANG_TAG.exec(t);if(i===null)throw Error("'".concat(t,"' ist kein gültiges Locale."));return new e(i[1],(n=i[3])!==null&&n!==void 0?n:null)},Object.defineProperty(e.prototype,"country",{get:function(){return this.region},enumerable:!1,configurable:!0}),e.prototype.toBcpString=function(){return this.toString("-")},e.prototype.toCamcelCaseString=function(){return this.toString("")},e.prototype.accordanceTo=function(t){return this.language!==t.language?qa.None:this.region!==t.region?qa.Language:qa.Full},e.prototype.toString=function(t){return this.region===null?this.language.toLowerCase():this.language.toLowerCase()+t+this.region.toUpperCase()},e.IETF_LANG_TAG=/^([a-z]{2,3})-?([A-z]{4})?-?([A-Z]{2,3}|[0-9]{3})?$/u,e})(),_1=(function(){function e(t,n){this.locales=t,this.fallback=n}return e.create=function(t,n){return new e(t.map(function(i){return Bl.parse(i)}),Bl.parse(n))},e.prototype.bestMatch=function(t){if(t===void 0)return this.fallback;var n=this.locales.map(function(i){return{locale:i,acc:i.accordanceTo(t)}}).reduce(function(i,a){return a.acc<i.acc?i:a});return n.acc===qa.None?this.fallback:n.locale},e})(),pT=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),Ka=(function(e){pT(t,e);function t(){return e.call(this,t.ID,{})||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-history",t})(At),Bg={exports:{}};const E1=fx(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var A1;function gT(){return A1||(A1=1,(function(e){(function(){var t="input is invali
14d type",n=typeof window=="object",i=n?window:{};i.JS_SHA256_NO_WINDOW&&(n=!1);var a=!n&&typeof self=="object",o=!i.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;o?i=cx:a&&(i=self);var f=!i.JS_SHA256_NO_COMMON_JS&&!0&&e.exports,p=!i.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",g="0123456789abcdef".split(""),u=[-2147483648,8388608,32768,128],y=[24,16,8,0],S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],x=["hex","array","digest","arrayBuffer"],O=[];(i.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),p&&(i.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});var L=function(U,Y){return function(Ce){return new ne(Y,!0).update(Ce)[U]()}},R=function(U){var Y=L("hex",U);o&&(Y=V(Y,U)),Y.create=function(){return new ne(U)},Y.update=function(_e){return Y.create().update(_e)};for(var Ce=0;Ce<x.length;++Ce){var oe=x[Ce];Y[oe]=L(oe,U)}return Y},V=function(U,Y){var Ce=E1,oe=E1.Buffer,_e=Y?"sha224":"sha256",ge;oe.from&&!i.JS_SHA256_NO_BUFFER_FROM?ge=oe.from:ge=function(ue){return new oe(ue)};var I=function(ue){if(typeof ue=="string")return Ce.createHash(_e).update(ue,"utf8").digest("hex");if(ue==null)throw new Error(t);return ue.constructor===ArrayBuffer&&(ue=new Uint8Array(ue)),Array.isArray(ue)||ArrayBuffer.isView(ue)||ue.constructor===oe?Ce.createHash(_e).update(ge(ue)).digest("hex"):U(ue)};return I},K=function(U,Y){return function(Ce,oe){return new J(Ce,Y,!0).update(oe)[U]()}},se=function(U){var Y=K("hex",U);Y.create=function(_e){return new J(_e,U)},Y.update=function(_e,ge){return Y.create(_e).update(ge)};for(var Ce=0;Ce<x.length;++Ce){var oe=x[Ce];Y[oe]=K(oe,U)}return Y};function ne(U,Y){Y?(O[0]=O[16]=O[1]=O[2]=O[3]=O[4]=O[5]=O[6]=O[7]=O[8]=O[9]=O[10]=O[11]=O[12]=O[13]=O[14]=O[15]=0,this.blocks=O):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],U?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=U}ne.prototype.update=function(U){if(!this.finalized){var Y,Ce=typeof U;if(Ce!=="string"){if(Ce==="object"){if(U===null)throw new Error(t);if(p&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!p||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);Y=!0}for(var oe,_e=0,ge,I=U.length,ue=this.blocks;_e<I;){if(this.hashed&&(this.hashed=!1,ue[0]=this.block,this.block=ue[16]=ue[1]=ue[2]=ue[3]=ue[4]=ue[5]=ue[6]=ue[7]=ue[8]=ue[9]=ue[10]=ue[11]=ue[12]=ue[13]=ue[14]=ue[15]=0),Y)for(ge=this.start;_e<I&&ge<64;++_e)ue[ge>>>2]|=U[_e]<<y[ge++&3];else for(ge=this.start;_e<I&&ge<64;++_e)oe=U.charCodeAt(_e),oe<128?ue[ge>>>2]|=oe<<y[ge++&3]:oe<2048?(ue[ge>>>2]|=(192|oe>>>6)<<y[ge++&3],ue[ge>>>2]|=(128|oe&63)<<y[ge++&3]):oe<55296||oe>=57344?(ue[ge>>>2]|=(224|oe>>>12)<<y[ge++&3],ue[ge>>>2]|=(128|oe>>>6&63)<<y[ge++&3],ue[ge>>>2]|=(128|oe&63)<<y[ge++&3]):(oe=65536+((oe&1023)<<10|U.charCodeAt(++_e)&1023),ue[ge>>>2]|=(240|oe>>>18)<<y[ge++&3],ue[ge>>>2]|=(128|oe>>>12&63)<<y[ge++&3],ue[ge>>>2]|=(128|oe>>>6&63)<<y[ge++&3],ue[ge>>>2]|=(128|oe&63)<<y[ge++&3]);this.lastByteIndex=ge,this.bytes+=ge-this.start,ge>=64?(this.block=ue[16],this.start=ge-64,this.hash(),this.hashed=!0):this.start=ge}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},ne.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var U=this.blocks,Y=this.lastByteIndex;U[16]=this.block,U[Y>>>2]|=u[Y&3],this.block=U[16],Y>=56&&(this.hashed||this.hash(),U[0]=this.block,U[16]=U[1]=U[2]=U[3]=U[4]=U[5]=U[6]=U[7]=U[8]=U[9]=U[10]=U[11]=U[12]=U[13]=U[14]=U[15]=0),U[14]=this.hBytes<<3|this.bytes>>>29,U[15]=this.bytes<<3,this.hash()}},ne.prototype.hash=function(){var U=this.h0,Y=this.h1,Ce=this.h2,oe=this.h3,_e=this.h4,ge=this.h5,I=this.h6,ue=this.h7,me=this.blocks,De,Z,ke,Ie,Fe,et,$,Te,ze,He,nt;for(De=16;De<64;++De)Fe=me[De-15],Z=(Fe>>>7|Fe<<25)^(Fe>>>18|Fe<<14)^Fe>>>3,Fe=me[De-2],ke=(Fe>>>17|Fe<<15)^(Fe>>>19|Fe<<13)^Fe>>>10,me[De]=me[De-16]+Z+me[De-7]+ke<<0;for(nt=Y&Ce,De=0;De<64;De+=4)this.first?(this.is224?(Te=300032,Fe=me[0]-1413257819,ue=Fe-150054599<<0,oe=Fe+24177077<<0):(Te=704751109,Fe=me[0]-210244248,ue=Fe-1521486534<<0,oe=Fe+143694565<<0),this.first=!1):(Z=(U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10),ke=(_e>>>6|_e<<26)^(_e>>>11|_e<<21)^(_e>>>25|_e<<7),Te=U&Y,Ie=Te^U&Ce^nt,$=_e&ge^~_e&I,Fe=ue+ke+$+S[De]+me[De],et=Z+Ie,ue=oe+Fe<<0,oe=Fe+et<<0),Z=(oe>>>2|oe<<30)^(oe>>>13|oe<<19)^(oe>>>22|oe<<10),ke=(ue>>>6|ue<<26)^(ue>>>11|ue<<21)^(ue>>>25|ue<<7),ze=oe&U,Ie=ze^oe&Y^Te,$=ue&_e^~ue&ge,Fe=I+ke+$+S[De+1]+me[De+1],et=Z+Ie,I=Ce+Fe<<0,Ce=Fe+et<<0,Z=(Ce>>>2|Ce<<30)^(Ce>>>13|Ce<<19)^(Ce>>>22|Ce<<10),ke=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),He=Ce&oe,Ie=He^Ce&U^ze,$=I&ue^~I&_e,Fe=ge+ke+$+S[De+2]+me[De+2],et=Z+Ie,ge=Y+Fe<<0,Y=Fe+et<<0,Z=(Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10),ke=(ge>>>6|ge<<26)^(ge>>>11|ge<<21)^(ge>>>25|ge<<7),nt=Y&Ce,Ie=nt^Y&oe^He,$=ge&I^~ge&ue,Fe=_e+ke+$+S[De+3]+me[De+3],et=Z+Ie,_e=U+Fe<<0,U=Fe+et<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+U<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+Ce<<0,this.h3=this.h3+oe<<0,this.h4=this.h4+_e<<0,this.h5=this.h5+ge<<0,this.h6=this.h6+I<<0,this.h7=this.h7+ue<<0},ne.prototype.hex=function(){this.finalize();var U=this.h0,Y=this.h1,Ce=this.h2,oe=this.h3,_e=this.h4,ge=this.h5,I=this.h6,ue=this.h7,me=g[U>>>28&15]+g[U>>>24&15]+g[U>>>20&15]+g[U>>>16&15]+g[U>>>12&15]+g[U>>>8&15]+g[U>>>4&15]+g[U&15]+g[Y>>>28&15]+g[Y>>>24&15]+g[Y>>>20&15]+g[Y>>>16&15]+g[Y>>>12&15]+g[Y>>>8&15]+g[Y>>>4&15]+g[Y&15]+g[Ce>>>28&15]+g[Ce>>>24&15]+g[Ce>>>20&15]+g[Ce>>>16&15]+g[Ce>>>12&15]+g[Ce>>>8&15]+g[Ce>>>4&15]+g[Ce&15]+g[oe>>>28&15]+g[oe>>>
1424&15]+g[oe>>>20&15]+g[oe>>>16&15]+g[oe>>>12&15]+g[oe>>>8&15]+g[oe>>>4&15]+g[oe&15]+g[_e>>>28&15]+g[_e>>>24&15]+g[_e>>>20&15]+g[_e>>>16&15]+g[_e>>>12&15]+g[_e>>>8&15]+g[_e>>>4&15]+g[_e&15]+g[ge>>>28&15]+g[ge>>>24&15]+g[ge>>>20&15]+g[ge>>>16&15]+g[ge>>>12&15]+g[ge>>>8&15]+g[ge>>>4&15]+g[ge&15]+g[I>>>28&15]+g[I>>>24&15]+g[I>>>20&15]+g[I>>>16&15]+g[I>>>12&15]+g[I>>>8&15]+g[I>>>4&15]+g[I&15];return this.is224||(me+=g[ue>>>28&15]+g[ue>>>24&15]+g[ue>>>20&15]+g[ue>>>16&15]+g[ue>>>12&15]+g[ue>>>8&15]+g[ue>>>4&15]+g[ue&15]),me},ne.prototype.toString=ne.prototype.hex,ne.prototype.digest=function(){this.finalize();var U=this.h0,Y=this.h1,Ce=this.h2,oe=this.h3,_e=this.h4,ge=this.h5,I=this.h6,ue=this.h7,me=[U>>>24&255,U>>>16&255,U>>>8&255,U&255,Y>>>24&255,Y>>>16&255,Y>>>8&255,Y&255,Ce>>>24&255,Ce>>>16&255,Ce>>>8&255,Ce&255,oe>>>24&255,oe>>>16&255,oe>>>8&255,oe&255,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255,ge>>>24&255,ge>>>16&255,ge>>>8&255,ge&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255];return this.is224||me.push(ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255),me},ne.prototype.array=ne.prototype.digest,ne.prototype.arrayBuffer=function(){this.finalize();var U=new ArrayBuffer(this.is224?28:32),Y=new DataView(U);return Y.setUint32(0,this.h0),Y.setUint32(4,this.h1),Y.setUint32(8,this.h2),Y.setUint32(12,this.h3),Y.setUint32(16,this.h4),Y.setUint32(20,this.h5),Y.setUint32(24,this.h6),this.is224||Y.setUint32(28,this.h7),U};function J(U,Y,Ce){var oe,_e=typeof U;if(_e==="string"){var ge=[],I=U.length,ue=0,me;for(oe=0;oe<I;++oe)me=U.charCodeAt(oe),me<128?ge[ue++]=me:me<2048?(ge[ue++]=192|me>>>6,ge[ue++]=128|me&63):me<55296||me>=57344?(ge[ue++]=224|me>>>12,ge[ue++]=128|me>>>6&63,ge[ue++]=128|me&63):(me=65536+((me&1023)<<10|U.charCodeAt(++oe)&1023),ge[ue++]=240|me>>>18,ge[ue++]=128|me>>>12&63,ge[ue++]=128|me>>>6&63,ge[ue++]=128|me&63);U=ge}else if(_e==="object"){if(U===null)throw new Error(t);if(p&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!p||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);U.length>64&&(U=new ne(Y,!0).update(U).array());var De=[],Z=[];for(oe=0;oe<64;++oe){var ke=U[oe]||0;De[oe]=92^ke,Z[oe]=54^ke}ne.call(this,Y,Ce),this.update(Z),this.oKeyPad=De,this.inner=!0,this.sharedMemory=Ce}J.prototype=new ne,J.prototype.finalize=function(){if(ne.prototype.finalize.call(this),this.inner){this.inner=!1;var U=this.array();ne.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(U),ne.prototype.finalize.call(this)}};var X=R();X.sha256=X,X.sha224=R(!0),X.sha256.hmac=se(),X.sha224.hmac=se(!0),f?e.exports=X:(i.sha256=X.sha256,i.sha224=X.sha224)})()})(Bg)),Bg.exports}var mT=gT(),vT=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},yT=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},bT=16,ST=2,gh={sha256:function(e){return vT(void 0,void 0,void 0,function(){var t,n;return yT(this,function(i){switch(i.label){case 0:return window.isSecureContext?(t=new TextEncoder().encode(e),[4,crypto.subtle.digest("SHA-256",t)]):[3,2];case 1:return n=i.sent(),[2,Array.from(new Uint8Array(n)).map(function(a){return a.toString(bT).padStart(ST,"0")}
14).join("")];case 2:return[2,mT.sha256(e)]}})})}},zl=function(){return zl=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},zl.apply(this,arguments)},Hl=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},$l=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},x1="",wT=5,zg=2,C1=ei.getInstance("cpl","clientlib"),T1=function(e,t){return Hl(void 0,void 0,void 0,function(){var n,i,a,o,f,p;
14return $l(this,function(g){switch(g.label){case 0:return[4,gh.sha256(_T(e))];case 1:return n=g.sent().toString().substring(0,wT),i=(f=e.bookmark)!==null&&f!==void 0?f:null,t==="bookmarkable"&&i!==null?(a=window.location.pathname,o=(p=e.appName)!==null&&p!==void 0?p:a.substring(0,a.indexOf("/",1)),[2,Fg.join(o,"".concat(e.bookmark,"#").concat(n))]):[2,"#".concat(n)]}})})},_T=function(e){if(e.type===ti.React)return[e.uiName,e.viewName].filter(function(t){return t!==null}).join("-");if(e.type===ti.InternetFiliale)return[e.ifId,e.ifQualifier].filter(function(t){return t!==null}).join("-");if(e.type===ti.OSPlusNeo)return"".concat(e.neoId,"-").concat(e.neoEntry);throw Error("Für User-Interfaces vom Typ ".concat(e.type," werden keine Browser-Navigation unterstützt."))},is={getCurrentState:function(){return window.history.state},back:function(){window.history.back()},go:function(e){window.history.go(e)},setPathParam:function(e,t){return Hl(this,void 0,void 0,function(){var n,i,a,o;return $l(this,function(f){switch(f.label){case 0:return n=e+zg,i=window.location.pathname.split("/"),e>=0&&n<=i.length?(t===void 0?i.splice(n,1):i[n]=t,a=this.getCurrentState(),a===null?(C1.warn("Pfad Parameter konnten nicht aktualisiert werden weil der Browser State kein CPL State ist."),[2]):(o="/"+i.slice(zg).join("/")+window.location.search,[4,this.replaceState(zl(zl({},a),{bookmark:o}),"bookmarkable")])):[3,2];case 1:f.sent(),f.label=2;case 2:return[2]}})})},setQueryParam:function(e,t){return Hl(this,void 0,void 0,function(){var n;return $l(this,function(i){return[2,this.setQueryParams((n={},n[e]=t,n))]})})},setQueryParams:function(e){return Hl(this,void 0,void 0,function(){var t,n,i,a,o,f,p,g,u;return $l(this,function(y){switch(y.label){case 0:for(t=window.location.pathname.split("/"),n=new URLSearchParams(window.location.search),i=function(S){var x=e[S];
14n.delete(S),x!==void 0&&(typeof x=="string"?n.set(S,x):x.forEach(function(O){return n.append(S,O)}))},a=0,o=Object.keys(e);a<o.length;a++)f=o[a],i(f);return p=n.toString(),g=this.getCurrentState(),g===null?(C1.warn("Query Parameter konnten nicht aktualisiert werden weil der Browser State kein CPL State ist."),[2]):(u="/"+t.slice(zg).join("/")+(p===""?"":"?".concat(p)),[4,this.replaceState(zl(zl({},g),{bookmark:u}),"bookmarkable")]);case 1:return y.sent(),[2]}})})},replaceState:function(e,t){return Hl(void 0,void 0,void 0,function(){var n,i,a;return $l(this,function(o){switch(o.label){case 0:return i=(n=window.history).replaceState,a=[e,x1],[4,T1(e,t)];case 1:return i.apply(n,a.concat([o.sent()])),new Ka().dispatch(),[2]}})})},pushState:function(e,t){return Hl(void 0,void 0,void 0,function(){var n,i,a;return $l(this,function(o){switch(o.label){case 0:return i=(n=window.history).pushState,a=[e,x1],[4,T1(e,t)];case 1:return i.apply(n,a.concat([o.sent()])),new Ka().dispatch(),[2]}})})}},ET=1,Hg=2,Vl;(function(e){function t(){var n=window.location,i=n.href,a=n.origin,o=n.pathname,f=n.protocol,p=n.host,g=n.hostname,u=n.port,y=o.split("/"),S=y.length>Hg?y.slice(Hg).join("/"):"",x=new URLSearchParams(window.location.search);return{href:i,origin:a,pathname:o,protocol:f,host:p,hostname:g,port:u,search:x,app:y[ET],bookmark:"/".concat(S),getPathParam:function(O){return O>=0?y[O+Hg]:void 0},setPathParam:function(O,L){is.setPathParam(O,L)},getQueryParam:function(O){return x.has(O)?x.getAll(O):void 0},setQueryParam:function(O,L){is.setQueryParam(O,L)},setQueryParams:function(O){is.setQueryParams(O)}}}e.createCurrentLocation=t})(Vl||(Vl={}));function k1(e,t){if(t===void 0&&(t=AT),"requestIdleCallback"in window){requestIdleCallback(e);return}setTimeout(e,t)}var AT=200,$g=(function(){function e(t){this.frames=t}return e.prototype.getFrames=function(){return this.frames},e.fromError=function(t){var n;return this.fromStack((n=t.stack)!==null&&n!==void 0?n:"")},e.fromStack=function(t){for(var n=[],i=t.split(`
15`),a=0,o=i;a<o.length;a++){var f=o[a],p=/([a-zA-Z]+:\/\/.+):(\d+):(\d+)/gu.exec(f);if(p){var g=p[1],u=parseInt(p[2],10),y=parseInt(p[3],10);n.push({source:g,line:u,column:y})}}return new e(n)},e})(),O1=function(e,t,n){n===void 0&&(n=xT);var i=document.querySelector("#".concat(e));if(i){t();return}var a=new MutationObserver(function(){document.querySelector("#".concat(e))&&(a.disconnect(),t())});a.observe(document.body,{childList:!0,subtree:!0}),setTimeout(function(){a.disconnect(),t()},n)},xT=200,CT=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),$o=(function(e){CT(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-busy",t})(At),TT=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),mh=function(){return mh=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},mh.apply(this,arguments)},vc=(function(e){TT(t,e);function t(n){var i=e.call(this,t.ID,mh(mh({},n),{delay:function(a){if(i.internalDelayed)throw Error("CplRenderEvent: Callback darf nicht erneut ausgelöst werden!");a.then(function(o){return i.resolve(o)}).catch(function(o){return i.reject(o)}),i.internalDelayed=!0}}))||this;return i.internalDelayed=!1,i.pending=[],i}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},Object.defineProperty(t.prototype,"resume",{get:function(){var n=this;if(this.internalDelayed)return new Promise(function(i,a){n.pending.push({resolve:i,reject:a})});throw Error("CplRenderEvent: Delay wurde nicht angefordert!")}
15,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"delayed",{get:function(){return this.internalDelayed},enumerable:!1,configurable:!0}),t.prototype.resolve=function(n){this.pending.forEach(function(i){var a=i.resolve;return a(n)})},t.prototype.reject=function(n){this.pending.forEach(function(i){var a=i.reject;return a(n)})},t.ID="cpl-render",t})(At);function kT(e){return ei.getInstance("cpl","clientlib",e)}function Vg(e){var t=oa.subscribe(function(S){return e("CplAuthenticationEvent","")}),n=uc.subscribe(function(S){return e("CplConnectivityEvent","status=".concat(S.detail.status," since=").concat(S.detail.since," lastCheck=").concat(S.detail.lastCheck))}),i=ra.subscribe(function(S){return e("CplErrorEvent",S.detail.error.message)}),a=Ka.subscribe(function(S){return e("CplHistoryEvent","")}),o=$a.subscribe(function(S){return e("CplMetadataEvent",JSON.stringify(S.detail))}),f=sa.subscribe(function(S){return e("CplNavigationEvent","type=".concat(S.detail.navigationType," target=").concat(JSON.str
15ingify(S.detail.target)))}),p=Rl.subscribe(function(S){return e("CplNotificationEvent","id=".concat(S.detail.id," severity=").concat(S.detail.severity," label=").concat(S.detail.label," message=").concat(S.detail.message)+" timestamp=".concat(S.detail.timestamp," scope=").concat(S.detail.scope))}),g=ia.subscribe(function(S){return e("CplUuiServiceEvent","name=".concat(S.detail.name," stage=").concat(S.detail.stage," source=").concat(S.detail.source," blocking=").concat(S.detail.blocking))}),u=$o.subscribe(function(S){return e("CplBusyEvent","slotId=".concat(S.detail.slotId," busy=").concat(S.detail.busy," illustration=").concat(S.detail.illustration," label=").concat(S.detail.label))}),y=vc.subscribe(function(S){return e("CplRenderEvent","source=".concat(S.detail.source," target=").concat(JSON.stringify(S.detail.target)))});return function(){oa.unsubscribe(t),uc.unsubscribe(n),ra.unsubscribe(i),Ka.unsubscribe(a),$a.unsubscribe(o),sa.unsubscribe(f),Rl.unsubscribe(p),ia.unsubscribe(g),$o.unsubscribe(u),vc.unsubscribe(y)}}var qg=(function(){function e(){}return e.prototype.init=function(t){var n=this;t===void 0&&(t=!0),t&&ei.pushLogFilter(Ng),Vg(function(i,a){kT().error(n.getLogMessage(i,a??""))})},e.prototype.getLogMessage=function(t,n){return"CplEventLogger [".concat(t,"] ").concat(n)},e})(),R1=new qg,OT=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),yc=(function(e){OT(t,e);function t(n){return e.call(this,t.ID,n)||this}return t.subscribe=function(n,i){return At.subscribeInternal(n,t.ID,i)},t.unsubscribe=function(n){At.unsubscribeInternal(t.ID,n)},t.ID="cpl-help",t})(At),bc;(function(e){e.UI="UI",e.A11y="A11y",e.Application="Application"})(bc||(bc={}));var L1="cpl_pi_callback",vh;(function(e){e.CALLBACK_PARAMS="callback-params",e.CALLBACK_PARAMS_ACK="callback-params-ack",e.CALLBACK_FINISH_BUTTON="callback-finish-button"})(vh||(vh={}));const RT=Object.freeze(Object.defineProperty({__proto__:null,AuthenticationServiceImpl:Lg,get AuthenticationStatus(){return ua},get BroadcastMessageType(){return vh},CALLBACK_BROADCAST_CHANNEL:L1,ConnectivityServiceImpl:Ig,get ConnectivityStatus(){return Fo},ConnectivityTracker:na,ConsoleLogFilter:Mg,ConsoleLogFilterInstance:Ng,Constants:Yt,CplAuthenticationEvent:oa,CplBusyEvent:$o,CplConfirmNavigationEvent:Ml,CplConnectivityEvent:uc,CplErrorEvent:ra,CplEvent:At,CplEventLogger:qg,CplEventLoggerInstance:R1,CplHelpEvent:yc,get CplHelpType(){return bc},CplHistoryEvent:Ka,CplMetadataEvent:$a,CplNavigationEvent:sa,CplNotificationEvent:Rl,CplRenderEvent:vc,CplServersideEvent:mg,CplUuiServiceEvent:ia,CryptoUtil:gh,FiSessionServiceClientImpl:fh,History:is,HttpError:Fa,get HttpMethod(){return _s},get HttpResponseType(){return Bo},HttpServiceImpl:za,KeepAlive:mc,Locale:Bl,get LocaleAccordance(){return qa},get LocationUtil(){return Vl},LogEntry:y1,get LogLevel(){return Rt},LoggerFactory:ei,get LoginTypes(){return Pl},MathUtil:Xf,get NavigationType(){return zo},get NotificationSeverity(){return rs},OIDCError:la,get OIDCErrorType(){return Vr},PathUtil:Fg,SERVICE_SOURCE_KEEPALIVE:hh,SERVICE_SOURCE_USERSERVICE:Pg,StackTrace:$g,StorageLogFilter:dg,StorageLogFilterInstance:ns,StringUtil:w1,SupportedLocales:_1,TanError:Ug,TanServiceImpl:jg,get UserInterfaceType(){return ti},UserServiceImpl:Dg,UuiServiceClientBase:fc,UuiServiceClientImpl:Il,get UuiServiceMessageType(){return Ni},get UuiServiceStage(){return Es},ValidationUtil:gr,WorkflowDuplicateSubmitError:Zf,WorkflowError:rh,WorkflowNavigationRejectedError:ih,WorkflowServiceImpl:hc,get WorkflowStateType(){return sh},isOIDCError:h1,isUuiError:wg,isUuiServiceMessage:Sg,isUuiServiceResponse:Zy,registerCplEventListener:Vg,severityFromUuiMessageType:bg,version:"13.3.1",waitForHTMLElement:O1,waitForReact:k1},Symbol.toStringTag,{value:"Module"}));class LT{constructor(t){this.slotEventListenerMapping=new Map,this.appShell=t,this.registerForAppShellEvents()}addListenerForSlot(t,n){this.slotEventListenerMapping.set(t,n)}removeListenerForSlot(t){this.appShell.findSlot(t)&&this.slotEventListenerMapping.delete(t)}
15registerForAppShellEvents(){this.appShell.onUpdate=(t,n)=>{this.onAppShellUpdate(t,n)},this.registerNavigationEventHandler(),this.registerNotificationEventHandler(),this.registerMetaDataEventHandler()}onAppShellUpdate(t,n){const i=n.config.name;this.slotEventListenerMapping.get(i)?.onSlotUpdate(t,n)}registerNavigationEventHandler(){sa.subscribe(t=>{this.slotEventListenerMapping.get(t.detail.source)?.onNavigationEvent(t.detail)})}registerNotificationEventHandler(){Rl.subscribe(t=>{this.slotEventListenerMapping.get(t.detail.source)?.onNotificationEvent(t.detail)})}registerMetaDataEventHandler(){$a.subscribe(t=>{this.slotEventListenerMapping.get(t.detail.source)?.onMetaDataEvent(t.detail)})}}var I1=Uy();const Kg=jo(I1),IT=Gf({__proto__:null,default:Kg},[I1]),{slice:MT,forEach:NT}=[];function PT(e){return NT.call(MT.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function DT(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const M1=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,UT=function(e,t){const i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let o=`${e}=${a}`;if(i.maxAge>0){const f=i.maxAge-0;if(Number.isNaN(f))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(f)}`}if(i.domain){if(!M1.test(i.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${i.domain}`}if(i.path){if(!M1.test(i.path))throw new TypeError("option path is invalid");o+=`; Path=${i.path}`}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invali
15d");o+=`; Expires=${i.expires.toUTCString()}`}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(o+="; Partitioned"),o},N1={create(e,t,n,i){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),i&&(a.domain=i),document.cookie=UT(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let i=0;i<n.length;i++){let a=n[i];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var jT={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return N1.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:i,cookieDomain:a,cookieOptions:o}=t;n&&typeof document<"u"&&N1.create(n,e,i,a,o)}},FT={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:i}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const o=i.substring(1).split("&");for(let f=0;f<o.length;f++){const p=o[f].indexOf("=");p>0&&o[f].substring(0,p)===t&&(n=o[f].substring(p+1))}}return n}},BT={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,i;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const o=a.substring(1);if(t){const f=o.split("&");for(let p=0;p<f.length;p++){const g=f[p].indexOf("=");g>0&&f[p].substring(0,g)===t&&(i=f[p].substring(g+1))}}if(i)return i;if(!i&&n>-1){const f=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(f)?f[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return i}};let ql=null;const P1=()=>{if(ql!==null)return ql;try{if(ql=typeof window<"u"&&window.localStorage!==null,!ql)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{ql=!1}return ql};var zT={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&P1())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&P1()&&window.localStorage.setItem(n,e)}};let Kl=null;const D1=()=>{if(Kl!==null)return Kl;try{if(Kl=typeof window<"u"&&window.sessionStorage!==null,!Kl)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Kl=!1}return Kl};var HT={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&D1())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&D1()&&window.sessionStorage.setItem(n,e)}},$T={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:i,language:a}=navigator;if(n)for(let o=0;o<n.length;o++)t.push(n[o]);i&&t.push(i),a&&t.push(a)}return t.length>0?t:void 0}},VT={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const i=t||(typeof document<"u"?document.documentElement:null);return i&&typeof i.getAttribute=="function"&&(n=i.getAttribute("lang")),n}},qT={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},KT={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,i=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[n]}};let U1=!1;try{document.cookie,U1=!0}catch{}const j1=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];U1||j1.splice(1,1);const GT=()=>({order:j1,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class Gg{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=PT(n,this.options||{},GT()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(jT),this.addDetector(FT),this.addDetector(zT),this.addDetector(HT),this.addDetector($T),this.addDetector(VT),this.addDetector(qT),this.addDetector(KT),this.addDetector(BT)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(i=>
15{if(this.detectors[i]){let a=this.detectors[i].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.filter(i=>i!=null&&!DT(i)).map(i=>this.options.convertDetectedLanguage(i)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(i=>{this.detectors[i]&&this.detectors[i].cacheUserLanguage(t,this.options)}))}}Gg.type="languageDetector";const F1=new Gg(null,{order:["querystring","htmlTag","navigator"],caches:[],lookupQuerystring:"language"});function B1(e=!0){const t=B.useContext(wn);return t.locale!==void 0||!e?t.locale??null:yh()}function yh(){const e=F1.detect();return typeof e=="string"?Bl.parse(e):Array.isArray(e)&&e.length>0?Bl.parse(e[0]):null}const wn=B.createContext({appId:"",slotId:"",slot:{name:"",unsavedChanges:!1,title:void 0,helpId:void 0},apiVersion:1}),z1=e=>{const[t,n]=B.useState(),i=B.useCallback((a,o)=>{n(f=>o||!f?a:Math.min(f,a))},[t]);return te.jsx(wn.Provider,{value:{...e,minHLevel:t,updateMinHLevel:i},children:e.children})},H1=()=>B.useContext(wn).appId,$1=()=>{const e=B.useContext(wn).slot;if(e===void 0)throw Error("useSlotId kann nur innerhalb eines CPL-Slots verwendet werden.");return e.name},WT=()=>B.useContext(wn).slot?.title,YT=e=>{const t=B.useContext(wn).slot;t!==void 0&&(t.title=e)},XT=()=>B.useContext(wn).slot?.helpId,ZT=e=>{const t=B.useContext(wn).slot;t!==void 0&&(t.helpId=e)};function QT(){return B.useContext(wn).inputModel}const bh=()=>{const e=H1();return t=>{new ra({source:e,error:t}).dispatch()}},JT=()=>{const e=B.useContext(wn),t=Sh();return new hc(t,e.appId,e.slot??{name:"",unsavedChanges:!1,helpId:void 0,title:void 0},e.route,e.apiVersion)},Sh=()=>{const e=B.useContext(wn),t=Sc(),n=e.slot;if(n===void 0)throw Error("useUuiService kann nur innerhalb eines CPL-Slots verwendet werden.");return B.useMemo(()=>new Il(t,n.name,e),[t,n.name,e])},ek=()=>{const e=B.useContext(wn),t=Sc();return new Lg(t,e)},V1=e=>{const t=B.useContext(wn),n=e??t.route;if(n===void 0)throw new Error("appId zum Zugriff auf User-Informationen konnte nicht aus dem Kontext ermittelt werden");return new Dg(n)},tk=()=>{const e=B.useContext(wn),t=Sc();return new fh(t,e)},Sc=()=>{const e=B1();return B.useMemo(()=>new za(e??void 0),[])},wc=(e,t)=>{const n=B.useContext(wn);return ei.getInstance(e,t,n.slotId)},nk=()=>{const e=B.useContext(wn);return{...na,async checkStatus(t){return Ig.checkStatus(t??e.route)}}},rk=()=>B.useContext(wn).sizes;function ik(e){if(document.CplFrame===void 0)throw Error("Der CplFrame darf nicht undefined sein");return document.CplFrame.register(e)}const q1=1,K1=6;function G1(e){return e>=q1&&e<=K1}var Xn;(function(e){e.INIT="INIT",e.DATA="DATA",e.LOAD="LOAD",e.BUSY="BUSY",e.ERROR="ERROR",e.DESTROY="DESTROY",e.INTERNAL="INTERNAL"})(Xn||(Xn={}));var ut;(function(e){e.CREATED="CREATED",e.EMPTY="EMPTY",e.ACTIVE="ACTIVE",e.WAITING="WAITING",e.BACKGROUND="BACKGROUND",e.BUSY="BUSY",e.ERROR="ERROR",e.DESTROYED="DESTROYED",e.DESTROYING="DESTROYING"})(ut||(ut={}));const W1=e=>(bh()(Error(`<CplView name="${e.name}"> darf nur innerhalb eines <CplViewRouter> verwendet werden. Ein direktes Rendering ist nicht möglich.`)),null),wh=()=>te.jsx(Lt.Fragment,{}),sk=e=>{const t=Lt.useContext(wn),n=bh(),i=()=>{if(t.view===void 0)throw Error("<CplViewRouter> hat keinen View-Namen im Kontext der <CplAppRoot> gefunden.");if(e.views!==void 0&&e.resolveViewName===void 0)throw Error("Wenn das <CplViewRouter> [views] Attribut nicht leer ist, muss auch das [resolveViewName] Attribute angegeben werden.");if(e.views===void 0&&e.resolveView===void 0&&e.children===void 0)throw Error("Der <CplViewRouter> ist leer. Bitte definieren Sie mindestens ein <CplView>-Element oder nutzen Sie das automatische Routing (Attribut [resolveView] oder [views])")},a=(u,y=!1)=>y?te.jsx(Lt.Suspense,{fallback:te.jsx(wh,{}),children:u}):te.jsx(te.Fragment,{children:u}),o=u=>{if(u.type!==W1){const y=typeof u.type=="string"?u.type:u.type.n
15ame;throw Error(`Element <${y}> ist als Child von <CplViewRouter> nicht zulässig. Alle Children müssen vom Typ <CplView> sein.`)}return u},f=()=>{const u=t.view;if(u===void 0)throw Error("<CplViewRouter> kann keine Component laden: [view] ist undefined");const y=e.resolveView;if(y!==void 0){const O=Lt.lazy(async()=>y(u).catch(async L=>(n(Error(`<CplViewRouter> kann keine Component zu View-ID [${t.view}] laden. Details: ${L.message}`)),Promise.resolve({default:wh}))));return a(Lt.createElement(O),!0)}const S=e.views,x=e.resolveViewName;if(S!==void 0&&x!==void 0){const O=Lt.lazy(async()=>{const L=S[x(u)];return L().then(R=>R).catch(async R=>(n(Error(`<CplViewRouter> kann keine Component zu View-ID [${t.view}] laden. Details: ${R.message}`)),Promise.resolve({default:wh})))});return a(Lt.createElement(O),!0)}throw Error("<CplViewRouter> kann keine Component laden: [resolveView] und [views] ist undefined")},p=u=>{const S=(Array.isArray(e.children)?e.children:[e.children]).filter(x=>x!==void 0).filter(x=>Lt.isValidElement(x)).map(o).find(x=>x.props.name===t.view);if(S!==void 0){const x=S.props;return a(x.component,x.lazy)}if(!u)throw Error(`<CplViewRouter> kann keine <CplView> mit dem Namen '${t.view}' finden.`)};return B.useMemo(()=>{try{i();const u=e.resolveView!==void 0||e.views!==void 0;return p(u)??f()}catch(u){return n(u),te.jsx(wh,{})}},[e.resolveView,e.children,t.view])},_c={black:"#000",white:"#fff"},Gl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Wl={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Yl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Xl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Zl={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Ec={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},ak={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"};function Vo(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Ac="$$material";function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ql.apply(null,arguments)}function ok(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 lk(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 Wg=(function(){function e(n){var i=this;this._insertTag=function(a){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,o),i.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(lk(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=ok(a);try{o.insertRule(i,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++}
vendor: 4,719 bytes, line 15
15,t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e})(),qr="-ms-",_h="-moz-",Xt="-webkit-",Y1="comm",Yg="rule",Xg="decl",uk="@import",X1="@keyframes",ck="@layer",fk=Math.abs,Eh=String.fromCharCode,hk=Object.assign;function dk(e,t){return Lr(e,0)^45?(((t<<2^Lr(e,0))<<2^Lr(e,1))<<2^Lr(e,2))<<2^Lr(e,3):0}function Z1(e){return e.trim()}function pk(e,t){return(e=t.exec(e))?e[0]:e}function Zt(e,t,n){return e.replace(t,n)}function Zg(e,t){return e.indexOf(t)}function Lr(e,t){return e.charCodeAt(t)|0}function xc(e,t,n){return e.slice(t,n)}function Cs(e){return e.length}function Qg(e){return e.length}function Ah(e,t){return t.push(e),e}function gk(e,t){return e.map(t).join("")}var xh=1,Jl=1,Q1=0,ui=0,ir=0,eu="";function Ch(e,t,n,i,a,o,f){return{value:e,root:t,parent:n,type:i,props:a,children:o,line:xh,column:Jl,length:f,return:""}}function Cc(e,t){return hk(Ch("",null,null,"",null,null,0),e,{length:-e.length},t)}function mk(){return ir}function vk(){return ir=ui>0?Lr(eu,--ui):0,Jl--,ir===10&&(Jl=1,xh--),ir}function wi(){return ir=ui<Q1?Lr(eu,ui++):0,Jl++,ir===10&&(Jl=1,xh++),ir}function Ts(){return Lr(eu,ui)}function Th(){return ui}function Tc(e,t){return xc(eu,e,t)}function kc(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 J1(e){return xh=Jl=1,Q1=Cs(eu=e),ui=0,[]}function eb(e){return eu="",e}function kh(e){return Z1(Tc(ui-1,Jg(e===91?e+2:e===40?e+1:e)))}function yk(e){for(;(ir=Ts())&&ir<33;)wi();return kc(e)>2||kc(ir)>3?"":" "}function bk(e,t){for(;--t&&wi()&&!(ir<48||ir>102||ir>57&&ir<65||ir>70&&ir<97););return Tc(e,Th()+(t<6&&Ts()==32&&wi()==32))}function Jg(e){for(;wi();)switch(ir){case e:return ui;case 34:case 39:e!==34&&e!==39&&Jg(ir);break;case 40:e===41&&Jg(e);break;case 92:wi();break}return ui}function Sk(e,t){for(;wi()&&e+ir!==57;)if(e+ir===84&&Ts()===47)break;return"/*"+Tc(t,ui-1)+"*"+Eh(e===47?e:wi())}function wk(e){for(;!kc(Ts());)wi();return Tc(e,ui)}function _k(e){return eb(Oh("",null,null,null,[""],e=J1(e),0,[0],e))}function Oh(e,t,n,i,a,o,f,p,g){for(var u=0,y=0,S=f,x=0,O=0,L=0,R=1,V=1,K=1,se=0,ne="",J=a,X=o,U=i,Y=ne;V;)switch(L=se,se=wi()){case 40:if(L!=108&&Lr(Y,S-1)==58){Zg(Y+=Zt(kh(se),"&","&\f"),"&\f")!=-1&&(K=-1);break}case 34:case 39:case 91:Y+=kh(se);break;case 9:case 10:case 13:case 32:Y+=yk(L);break;case 92:Y+=bk(Th()-1,7);continue;case 47:switch(Ts()){case 42:case 47:Ah(Ek(Sk(wi(),Th()),t,n),g);break;default:Y+="/"}break;case 123*R:p[u++]=Cs(Y)*K;case 125*R:case 59:case 0:switch(se){case 0:case 125:V=0;case 59+y:K==-1&&(Y=Zt(Y,/\f/g,"")),O>0&&Cs(Y)-S&&Ah(O>32?nb(Y+";",i,n,S-1):nb(Zt(Y," ","")+";",i,n,S-2),g);break;case 59:Y+=";";default:if(Ah(U=tb(Y,t,n,u,y,a,p,ne,J=[],X=[],S),o),se===123)if(y===0)Oh(Y,t,U,U,J,o,S,p,X);else switch(x===99&&Lr(Y,3)===110?100:x){case 100:case 108:case 109:case 115:Oh(e,U,U,i&&Ah(tb(e,U,U,0,0,a,p,ne,a,J=[],S),X),a,X,S,p,i?J:X);break;default:Oh(Y,U,U,U,[""],X,0,p,X)}}u=y=O=0,R=K=1,ne=Y="",S=f;break;case 58:S=1+Cs(Y),O=L;default:if(R<1){if(se==123)--R;else if(se==125&&R++==0&&vk()==125)continue}switch(Y+=Eh(se),se*R){case 38:K=y>0?1:(Y+="\f",-1);break;case 44:p[u++]=(Cs(Y)-1)*K,K=1;break;case 64:Ts()===45&&(Y+=kh(wi())),x=Ts(),y=S=Cs(ne=Y+=wk(Th())),se++;break;case 45:L===45&&Cs(Y)==2&&(R=0)}}return o}function tb(e,t,n,i,a,o,f,p,g,u,y){for(var S=a-1,x=a===0?o:[""],O=Qg(x),L=0,R=0,V=0;L<i;++L)for(var K=0,se=xc(e,S+1,S=fk(R=f[L])),ne=e;K<O;++K)(ne=Z1(R>0?x[K]+" "+se:Zt(se,/&\f/g,x[K])))&&(g[V++]=ne);return Ch(e,t,n,a===0?Yg:p,g,u,y)}function Ek(e,t,n){return Ch(e,t,n,Y1,Eh(mk()),xc(e,2,-2),0)}function nb(e,t,n,i){return Ch(e,t,n,Xg,xc(e,0,i),xc(e,i+1,-1),i)}function tu(e,t){for(var n="",i=Qg(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}function Ak(e,t,n,i){switch(e.type){case ck:if(e.children.length)break;case uk:case Xg:return e.return=e.return||e.value;case Y1:return"";case X1:return e.return=e.value+"{"+tu(e.children,i)+"}";case Yg:e.value=e.props.join(",")}return Cs(n=tu(e.children,i))?e.return=e.value+"{"+n+"}":""}function xk(e){var t=Qg(e);return function(n,i,a,o){for(var f="",p=0;p<t;p++)f+=e[p](n,i,a,o)||"";return f}}function Ck(e){return function(t){t.root||(t=t.return)&&e(t)}}var rb=function(t){var n=new WeakMap;return function(i){if(n.has(i))return n.get(i);var a=t(i);return n.set(i,a),a}};function ib(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Tk=function(t,n,i){for(var a=0,o=0;a=o,o=Ts(),a===38&&o===12&&(n[i]=1),!kc(o);)wi();return Tc(t,ui)}
vendor: 11,998 bytes, line 15
15,kk=function(t,n){var i=-1,a=44;do switch(kc(a)){case 0:a===38&&Ts()===12&&(n[i]=1),t[i]+=Tk(ui-1,n,i);break;case 2:t[i]+=kh(a);break;case 4:if(a===44){t[++i]=Ts()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=Eh(a)}while(a=wi());return t},Ok=function(t,n){return eb(kk(J1(t),n))},sb=new WeakMap,Rk=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!sb.get(i))&&!a){sb.set(t,!0);for(var o=[],f=Ok(n,o),p=i.props,g=0,u=0;g<f.length;g++)for(var y=0;y<p.length;y++,u++)t.props[u]=o[g]?f[g].replace(/&\f/g,p[y]):p[y]+" "+f[g]}}},Lk=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function ab(e,t){switch(dk(e,t)){case 5103:return Xt+"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 Xt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xt+e+_h+e+qr+e+e;case 6828:case 4268:return Xt+e+qr+e+e;case 6165:return Xt+e+qr+"flex-"+e+e;case 5187:return Xt+e+Zt(e,/(\w+).+(:[^]+)/,Xt+"box-$1$2"+qr+"flex-$1$2")+e;case 5443:return Xt+e+qr+"flex-item-"+Zt(e,/flex-|-self/,"")+e;case 4675:return Xt+e+qr+"flex-line-pack"+Zt(e,/align-content|flex-|-self/,"")+e;case 5548:return Xt+e+qr+Zt(e,"shrink","negative")+e;case 5292:return Xt+e+qr+Zt(e,"basis","preferred-size")+e;case 6060:return Xt+"box-"+Zt(e,"-grow","")+Xt+e+qr+Zt(e,"grow","positive")+e;case 4554:return Xt+Zt(e,/([^-])(transform)/g,"$1"+Xt+"$2")+e;case 6187:return Zt(Zt(Zt(e,/(zoom-|grab)/,Xt+"$1"),/(image-set)/,Xt+"$1"),e,"")+e;case 5495:case 3959:return Zt(e,/(image-set\([^]*)/,Xt+"$1$`$1");case 4968:return Zt(Zt(e,/(.+:)(flex-)?(.*)/,Xt+"box-pack:$3"+qr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xt+e+e;case 4095:case 3583:case 4068:case 2532:return Zt(e,/(.+)-inline(.+)/,Xt+"$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(Cs(e)-1-t>6)switch(Lr(e,t+1)){case 109:if(Lr(e,t+4)!==45)break;case 102:return Zt(e,/(.+:)(.+)-([^]+)/,"$1"+Xt+"$2-$3$1"+_h+(Lr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zg(e,"stretch")?ab(Zt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Lr(e,t+1)!==115)break;case 6444:switch(Lr(e,Cs(e)-3-(~Zg(e,"!important")&&10))){case 107:return Zt(e,":",":"+Xt)+e;case 101:return Zt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xt+(Lr(e,14)===45?"inline-":"")+"box$3$1"+Xt+"$2$3$1"+qr+"$2box$3")+e}break;case 5936:switch(Lr(e,t+11)){case 114:return Xt+e+qr+Zt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xt+e+qr+Zt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xt+e+qr+Zt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xt+e+qr+e+e}return e}var Ik=function(t,n,i,a){if(t.length>-1&&!t.return)switch(t.type){case Xg:t.return=ab(t.value,t.length);break;case X1:return tu([Cc(t,{value:Zt(t.value,"@","@"+Xt)})],a);case Yg:if(t.length)return gk(t.props,function(o){switch(pk(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return tu([Cc(t,{props:[Zt(o,/:(read-\w+)/,":"+_h+"$1")]})],a);case"::placeholder":return tu([Cc(t,{props:[Zt(o,/:(plac\w+)/,":"+Xt+"input-$1")]}),Cc(t,{props:[Zt(o,/:(plac\w+)/,":"+_h+"$1")]}),Cc(t,{props:[Zt(o,/:(plac\w+)/,qr+"input-$1")]})],a)}return""})}},Mk=[Ik],Rh=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(R){var V=R.getAttribute("data-emotion");V.indexOf(" ")!==-1&&(document.head.appendChild(R),R.setAttribute("data-s",""))})}var a=t.stylisPlugins||Mk,o={},f,p=[];f=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(R){for(var V=R.getAttribute("data-emotion").split(" "),K=1;K<V.length;K++)o[V[K]]=!0;p.push(R)});var g,u=[Rk,Lk];{var y,S=[Ak,Ck(function(R){y.insert(R)})],x=xk(u.concat(a,S)),O=function(V){return tu(_k(V),x)};g=function(V,K,se,ne){y=se,O(V?V+"{"+K.styles+"}":K.styles),ne&&(L.inserted[K.name]=!0)}}var L={key:n,sheet:new Wg({key:n,container:f,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:g};return L.sheet.hydrate(p),L},em={exports:{}},rn={};var ob;function Nk(){if(ob)return rn;ob=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,S=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,O=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,V=e?Symbol.for("react.fundamental"):60117,K=e?Symbol.for("react.responder"):60118,se=e?Symbol.for("react.scope"):60119;function ne(X){if(typeof X=="object"&&X!==null){var U=X.$$typeof;switch(U){case t:switch(X=X.type,X){case g:case u:case i:case o:case a:case S:return X;default:switch(X=X&&X.$$typeof,X){case p:case y:case L:case O:case f:return X;default:return U}}case n:return U}}}function J(X){return ne(X)===u}return rn.AsyncMode=g,rn.ConcurrentMode=u,rn.ContextConsumer=p,rn.ContextProvider=f,rn.Element=t,rn.ForwardRef=y,rn.Fragment=i,rn.Lazy=L,rn.Memo=O,rn.Portal=n,rn.Profiler=o,rn.StrictMode=a,rn.Suspense=S,rn.isAsyncMode=function(X){return J(X)||ne(X)===g},rn.isConcurrentMode=J,rn.isContextConsumer=function(X){return ne(X)===p},rn.isContextProvider=function(X){return ne(X)===f},rn.isElement=function(X){return typeof X=="object"&&X!==null&&X.$$typeof===t},rn.isForwardRef=function(X){return ne(X)===y},rn.isFragment=function(X){return ne(X)===i},rn.isLazy=function(X){return ne(X)===L},rn.isMemo=function(X){return ne(X)===O},rn.isPortal=function(X){return ne(X)===n},rn.isProfiler=function(X){return ne(X)===o},rn.isStrictMode=function(X){return ne(X)===a},rn.isSuspense=function(X){return ne(X)===S},rn.isValidElementType=function(X){return typeof X=="string"||typeof X=="function"||X===i||X===u||X===o||X===a||X===S||X===x||typeof X=="object"&&X!==null&&(X.$$typeof===L||X.$$typeof===O||X.$$typeof===f||X.$$typeof===p||X.$$typeof===y||X.$$typeof===V||X.$$typeof===K||X.$$typeof===se||X.$$typeof===R)},rn.typeOf=ne,rn}var lb;function Pk(){return lb||(lb=1,em.exports=Nk()),em.exports}var tm,ub;function Dk(){if(ub)return tm;ub=1;var e=Pk(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=i,o[e.Memo]=a;function f(L){return e.isMemo(L)?a:o[L.$$typeof]||t}var p=Object.defineProperty,g=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,x=Object.prototype;function O(L,R,V){if(typeof R!="string"){if(x){var K=S(R);K&&K!==x&&O(L,K,V)}var se=g(R);u&&(se=se.concat(u(R)));for(var ne=f(L),J=f(R),X=0;X<se.length;++X){var U=se[X];if(!n[U]&&!(V&&V[U])&&!(J&&J[U])&&!(ne&&ne[U])){var Y=y(R,U);try{p(L,U,Y)}catch{}}}}return L}return tm=O,tm}var Uk=Dk();const jk=jo(Uk);var Fk=(function(e,t){return jk(e,t)}),Bk=!0;function Oc(e,t,n){var i="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Lh=function(t,n,i){var a=t.key+"-"+n.name;(i===!1||Bk===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},Rc=function(t,n,i){Lh(t,n,i);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+a:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function zk(e){for(var t=0,n,i=0,a=e.length;a>=4;++i,a-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&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(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 Hk={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},$k=/[A-Z]|^ms/g,Vk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cb=function(t){return t.charCodeAt(1)===45},fb=function(t){return t!=null&&typeof t!="boolean"},nm=ib(function(e){return cb(e)?e:e.replace($k,"-$&").toLowerCase()}),hb=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vk,function(i,a,o){return ks={name:a,styles:o,next:ks},a})}return Hk[t]!==1&&!cb(t)&&typeof n=="number"&&n!==0?n+"px":n};function Lc(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var a=n;if(a.anim===1)return ks={name:a.name,styles:a.styles,next:ks},a.name;var o=n;if(o.styles!==void 0){var f=o.next;if(f!==void 0)for(;f!==void 0;)ks={name:f.name,styles:f.styles,next:ks},f=f.next;var p=o.styles+";";return p}return qk(e,t,n)}case"function":{if(e!==void 0){var g=ks,u=n(e);return ks=g,Lc(e,t,u)}break}}var y=n;if(t==null)return y;var S=t[y];return S!==void 0?S:y}function qk(e,t,n){var i="";if(Array.isArray(n))for(var a=0;a<n.length;a++)i+=Lc(e,t,n[a])+";";else for(var o in n){var f=n[o];if(typeof f!="object"){var p=f;t!=null&&t[p]!==void 0?i+=o+"{"+t[p]+"}":fb(p)&&(i+=nm(o)+":"+hb(o,p)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var g=0;g<f.length;g++)fb(f[g])&&(i+=nm(o)+":"+hb(o,f[g])+";");else{var u=Lc(e,t,f);switch(o){case"animation":case"animationName":{i+=nm(o)+":"+u+";";break}default:i+=o+"{"+u+"}"}}}return i}var db=/label:\s*([^\s;{]+)\s*(;|$)/g,ks;function ca(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ks=void 0;var o=e[0];if(o==null||o.raw===void 0)i=!1,a+=Lc(n,t,o);else{var f=o;a+=f[0]}for(var p=1;p<e.length;p++)if(a+=Lc(n,t,e[p]),i){var g=o;a+=g[p]}db.lastIndex=0;for(var u="",y;(y=db.exec(a))!==null;)u+="-"+y[1];var S=zk(a)+u;return{name:S,styles:a,next:ks}}var Kk=function(t){return t()},pb=lc.useInsertionEffect?lc.useInsertionEffect:!1,rm=pb||Kk,gb=pb||B.useLayoutEffect,im=B.createContext(typeof HTMLElement<"u"?Rh({key:"css"}):null),sm=im.Provider,Gk=function(){return B.useContext(im)},Ic=function(t){return B.forwardRef(function(n,i){var a=B.useContext(im);return t(n,a,i)})},Os=B.createContext({}),Wk=function(){return B.useContext(Os)},Yk=function(t,n){if(typeof n=="function"){var i=n(t);return i}return Ql({},t,n)},Xk=rb(function(e){return rb(function(t){return Yk(e,t)})}),Zk=function(t){var n=B.useContext(Os);return t.theme!==n&&(n=Xk(n)(t.theme)),B.createElement(Os.Provider,{value:n},t.children)};
15function Qk(e){var t=e.displayName||e.name||"Component",n=B.forwardRef(function(a,o){var f=B.useContext(Os);return B.createElement(e,Ql({theme:f,ref:o},a))});return n.displayName="WithTheme("+t+")",Fk(n,e)}var am={}.hasOwnProperty,om="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Jk=function(t,n){var i={};for(var a in n)am.call(n,a)&&(i[a]=n[a]);return i[om]=t,i},eO=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return Lh(n,i,a),rm(function(){return Rc(n,i,a)}),null},tO=Ic(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var a=e[om],o=[i],f="";typeof e.className=="string"?f=Oc(t.registered,o,e.className):e.className!=null&&(f=e.className+" ");var p=ca(o,void 0,B.useContext(Os));f+=t.key+"-"+p.name;var g={};for(var u in e)am.call(e,u)&&u!=="css"&&u!==om&&(g[u]=e[u]);return g.className=f,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(eO,{cache:t,serialized:p,isStringTag:typeof a=="string"}),B.createElement(a,g))}),nO=tO,Ih=function(t,n){var i=arguments;if(n==null||!am.call(n,"css"))return B.createElement.apply(void 0,i);var a=i.length,o=new Array(a);o[0]=nO,o[1]=Jk(t,n);for(var f=2;f<a;f++)o[f]=i[f];return B.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ih||(Ih={}));var mb=Ic(function(e,t){var n=e.styles,i=ca([n],void 0,B.useContext(Os)),a=B.useRef();return gb(function(){var o=t.key+"-global",f=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),p=!1,g=document.querySelector('style[data-emotion="'+o+" "+i.name+'"]');return t.sheet.tags.length&&(f.before=t.sheet.tags[0]),g!==null&&(p=!0,g.setAttribute("data-emotion",o),f.hydrate([g])),a.current=[f,p],function(){f.flush()}},[t]),gb(function(){var o=a.current,f=o[0],p=o[1];if(p){o[1]=!1;return}if(i.next!==void 0&&Rc(t,i.next,!0),f.tags.length){var g=f.tags[f.tags.length-1].nextElementSibling;f.before=g,f.flush()}t.insert("",i,f,!1)},[t,i.name]),null});function Mh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ca(t)}function nu(){var e=Mh.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 rO=function e(t){for(var n=t.length,i=0,a="";i<n;i++){var o=t[i];if(o!=null){var f=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))f=e(o);else{f="";for(var p in o)o[p]&&p&&(f&&(f+=" "),f+=p)}break}default:f=o}f&&(a&&(a+=" "),a+=f)}}return a};function iO(e,t,n){var i=[],a=Oc(e,i,n);return i.length<2?n:a+t(i)}var sO=function(t){var n=t.cache,i=t.serializedArr;return rm(function(){for(var a=0;a<i.length;a++)Rc(n,i[a],!1)}),null},aO=Ic(function(e,t){var n=[],i=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];var S=ca(u,t.registered);return n.push(S),Lh(t,S,!1),t.key+"-"+S.name},a=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];return iO(t.registered,i,rO(u))},o={css:i,cx:a,theme:B.useContext(Os)},f=e.children(o);return B.createElement(B.Fragment,null,B.createElement(sO,{cache:t,serializedArr:n}),f)});const oO=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:sm,ClassNames:aO,Global:mb,ThemeContext:Os,ThemeProvider:Zk,__unsafe_useEmotionCache:Gk,get createElement(){return Ih},css:Mh,get jsx(){return Ih},keyframes:nu,useTheme:Wk,withEmotionCache:Ic,withTheme:Qk},Symbol.toStringTag,{value:"Module"}));var lO=/^((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|playsInl
15ine|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)-.*))$/,uO=ib(function(e){return lO.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),cO=uO,fO=function(t){return t!=="theme"},vb=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?cO:fO},yb=function(t,n,i){var a;if(n){var o=n.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(f){return t.__emotion_forwardProp(f)&&o(f)}:o}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},hO=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return Lh(n,i,a),rm(function(){return Rc(n,i,a)}),null},dO=function e(t,n){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,o,f;n!==void 0&&(o=n.label,f=n.target);var p=yb(t,n,i),g=p||vb(a),u=!g("as");return function(){var y=arguments,S=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&S.push("label:"+o+";"),y[0]==null||y[0].raw===void 0)S.push.apply(S,y);else{var x=y[0];S.push(x[0]);for(var O=y.length,L=1;L<O;L++)S.push(y[L],x[L])}var R=Ic(function(V,K,se){var ne=u&&V.as||a,J="",X=[],U=V;if(V.theme==null){U={};for(var Y in V)U[Y]=V[Y];U.theme=B.useContext(Os)}typeof V.className=="string"?J=Oc(K.registered,X,V.className):V.className!=null&&(J=V.className+" ");var Ce=ca(S.concat(X),K.registered,U);J+=K.key+"-"+Ce.name,f!==void 0&&(J+=" "+f);var oe=u&&p===void 0?vb(ne):g,_e={};for(var ge in V)u&&ge==="as"||oe(ge)&&(_e[ge]=V[ge]);return _e.className=J,se&&(_e.ref=se),B.createElement(B.Fragment,null,B.createElement(hO,{cache:K,serialized:Ce,isStringTag:typeof ne=="string"}),B.createElement(ne,_e))});
15return R.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",R.defaultProps=t.defaultProps,R.__emotion_real=R,R.__emotion_base=a,R.__emotion_styles=S,R.__emotion_forwardProp=p,Object.defineProperty(R,"toString",{value:function(){return"."+f}}),R.withComponent=function(V,K){var se=e(V,Ql({},n,K,{shouldForwardProp:yb(R,K,!0)}));return se.apply(void 0,S)},R}},pO=["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"],lm=dO.bind(null);pO.forEach(function(e){lm[e]=lm(e)});const um=new Map,gO=(e,t)=>{const n=Rh(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};let Ga;if(typeof document=="object"&&(Ga=document.querySelector('[name="emotion-insertion-point"]'),!Ga)){Ga=document.createElement("meta"),Ga.setAttribute("name","emotion-insertion-point"),Ga.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(Ga)}function mO(e,t){if(e||t){class n extends Wg{insert(o,f){return this.key&&this.key.endsWith("global")&&(this.before=Ga),super.insert(o,f)}}const i=gO({key:"css",insertionPoint:e?Ga:void 0},n);if(t){const a=i.insert;i.insert=(...o)=>(o[1].styles.match(/^@layer\s+[^{]*$/)||(o[1].styles=`@layer mui {${o[1].styles}}`),a(...o))}return i}}function vO(e){const{injectFirst:t,enableCssLayer:n,children:i}=e,a=B.useMemo(()=>{const o=`${t}-${n}`;if(typeof document=="object"&&um.has(o))return um.get(o);const f=mO(t,n);return um.set(o,f),f},[t,n]);return a?te.jsx(sm,{value:a,children:i}):i}function yO(e){return e==null||Object.keys(e).length===0}function bO(e){const{styles:t,defaultTheme:n={}}=e,i=typeof t=="function"?a=>t(yO(a)?n:a):t;return te.jsx(mb,{styles:i})}function bb(e,t){return lm(e,t)}function SO(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Sb=[];function Wa(e){return Sb[0]=e,ca(Sb)}var cm={exports:{}},hn={};var wb;function wO(){if(wb)return hn;wb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),O=Symbol.for("react.client.reference");function L(R){if(typeof R=="object"&&R!==null){var V=R.$$typeof;switch(V){case e:switch(R=R.type,R){case n:case a:case i:case g:case u:case x:return R;default:switch(R=R&&R.$$typeof,R){case f:case p:case S:case y:return R;case o:return R;default:return V}}case t:return V}}}return hn.ContextConsumer=o,hn.ContextProvider=f,hn.Element=e,hn.ForwardRef=p,hn.Fragment=n,hn.Lazy=S,hn.Memo=y,hn.Portal=t,hn.Profiler=a,hn.StrictMode=i,hn.Suspense=g,hn.SuspenseList=u,hn.isContextConsumer=function(R){return L(R)===o},hn.isContextProvider=function(R){return L(R)===f},hn.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},hn.isForwardRef=function(R){return L(R)===p},hn.isFragment=function(R){return L(R)===n},hn.isLazy=function(R){return L(R)===S},hn.isMemo=function(R){return L(R)===y},hn.isPortal=function(R){return L(R)===t},hn.isProfiler=function(R){return L(R)===a},hn.isStrictMode=function(R){return L(R)===i},hn.isSuspense=function(R){return L(R)===g},hn.isSuspenseList=function(R){return L(R)===u}
15,hn.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===a||R===i||R===g||R===u||typeof R=="object"&&R!==null&&(R.$$typeof===S||R.$$typeof===y||R.$$typeof===f||R.$$typeof===o||R.$$typeof===p||R.$$typeof===O||R.getModuleId!==void 0)},hn.typeOf=L,hn}var _b;function _O(){return _b||(_b=1,cm.exports=wO()),cm.exports}var Eb=_O();function Rs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ab(e){if(B.isValidElement(e)||Eb.isValidElementType(e)||!Rs(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ab(e[n])}),t}function ni(e,t,n={clone:!0}){const i=n.clone?{...e}:e;return Rs(e)&&Rs(t)&&Object.keys(t).forEach(a=>{B.isValidElement(t[a])||Eb.isValidElementType(t[a])?i[a]=t[a]:Rs(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Rs(e[a])?i[a]=ni(e[a],t[a],n):n.clone?i[a]=Rs(t[a])?Ab(t[a]):t[a]:i[a]=t[a]}),i}const EO=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function AO(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...a}=e,o=EO(t),f=Object.keys(o);function p(x){return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n})`}function g(x){return`@media (max-width:${(typeof t[x]=="number"?t[x]:x)-i/100}${n})`}function u(x,O){const L=f.indexOf(O);return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n}) and (max-width:${(L!==-1&&typeof t[f[L]]=="number"?t[f[L]]:O)-i/100}${n})`}function y(x){return f.indexOf(x)+1<f.length?u(x,f[f.indexOf(x)+1]):p(x)}function S(x){const O=f.indexOf(x);return O===0?p(f[1]):O===f.length-1?g(f[O]):u(x,f[f.indexOf(x)+1]).replace("@media","@media not all and")}return{keys:f,values:o,up:p,down:g,between:u,only:y,not:S,unit:n,...a}}function xb(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,a)=>{const o=/min-width:\s*([0-9.]+)/;return+(i.match(o)?.[1]||0)-+(a.match(o)?.[1]||0)});return n.length?n.reduce((i,a)=>{const o=t[a];return delete i[a],i[a]=o,i},{...t}):t}function xO(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function CO(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,a]=n,o=Number.isNaN(+i)?i||0:+i;return e.containerQueries(a).up(o)}function TO(e){const t=(o,f)=>o.replace("@media",f?`@container ${f}`:"@container");function n(o,f){o.up=(...p)=>t(e.breakpoints.up(...p),f),o.down=(...p)=>t(e.breakpoints.down(...p),f),o.between=(...p)=>t(e.breakpoints.between(...p),f),o.only=(...p)=>t(e.breakpoints.only(...p),f),o.not=(...p)=>{const g=t(e.breakpoints.not(...p),f);return g.includes("not all and")?g.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):g}}const i={},a=o=>(n(i,o),i);return n(a),{...e,containerQueries:a}}const kO={borderRadius:4};function Mc(e,t){return t?ni(e,t,{clone:!1}):e}const Nh={xs:0,sm:600,md:900,lg:1200,xl:1536},Cb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nh[e]}px)`},OO={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Nh[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function ss(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const o=i.breakpoints||Cb;return t.reduce((f,p,g)=>(f[o.up(o.keys[g])]=n(t[g]),f),{})}if(typeof t=="object"){const o=i.breakpoints||Cb;return Object.keys(t).reduce((f,p)=>{if(xO(o.keys,p)){const g=CO(i.containerQueries?i:OO,p);g&&(f[g]=n(t[p],p))}else if(Object.keys(o.values||Nh).includes(p)){const g=o.up(p);f[g]=n(t[p],p)}else{const g=p;f[g]=t[g]}return f},{})}return n(t)}function Tb(e={}){return e.keys?.reduce((n,i)=>{const a=e.up(i);return n[a]={},n},{})||{}}function fm(e,t){return e.reduce((n,i)=>{const a=n[i];return(!a||Object.keys(a).length===0)&&delete n[i],n},t)}function RO(e,...t){const n=Tb(e),i=[n,...t].reduce((a,o)=>ni(a,o),{});return fm(Object.keys(n),i)}function LO(e,t){if(typeof e!="object")return{};const n={},i=Object.keys(t);
15return Array.isArray(e)?i.forEach((a,o)=>{o<e.length&&(n[a]=!0)}):i.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function hm({values:e,breakpoints:t,base:n}){const i=n||LO(e,t),a=Object.keys(i);if(a.length===0)return e;let o;return a.reduce((f,p,g)=>(Array.isArray(e)?(f[p]=e[g]!=null?e[g]:e[o],o=g):typeof e=="object"?(f[p]=e[p]!=null?e[p]:e[o],o=p):f[p]=e,f),{})}function mn(e){if(typeof e!="string")throw new Error(Vo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ph(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(i!=null)return i}return t.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function Dh(e,t,n,i=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||i:a=Ph(e,n)||i,t&&(a=t(a,i,e)),a}function Zn(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:a}=e,o=f=>{if(f[t]==null)return null;const p=f[t],g=f.theme,u=Ph(g,i)||{};return ss(f,p,S=>{let x=Dh(u,a,S);return S===x&&typeof S=="string"&&(x=Dh(u,a,`${t}${S==="default"?"":mn(S)}`,S)),n===!1?x:{[n]:x}})};return o.propTypes={},o.filterProps=[t],o}function IO(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const MO={m:"margin",p:"padding"},NO={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},PO=IO(e=>{if(e.length>2)if(kb[e])e=kb[e];else return[e];const[t,n]=e.split(""),i=MO[t],a=NO[n]||"";return Array.isArray(a)?a.map(o=>i+o):[i+a]}),dm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...dm,...pm];function Nc(e,t,n,i){const a=Ph(e,t,!0)??n;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:typeof a=="string"?a.startsWith("var(")&&o===0?0:a.startsWith("var(")&&o===1?a:`calc(${o} * ${a})`:a*o:Array.isArray(a)?o=>{if(typeof o=="string")return o;const f=Math.abs(o),p=a[f];return o>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof a=="function"?a:()=>{}}function Uh(e){return Nc(e,"spacing",8)}function qo(e,t){return typeof t=="string"||t==null?t:e(t)}function DO(e,t){return n=>e.reduce((i,a)=>(i[a]=qo(t,n),i),{})}function UO(e,t,n,i){if(!t.includes(n))return null;const a=PO(n),o=DO(a,i),f=e[n];return ss(e,f,o)}function Ob(e,t){const n=Uh(e.theme);return Object.keys(e).map(i=>UO(e,t,i,n)).reduce(Mc,{})}function jn(e){return Ob(e,dm)}jn.propTypes={},jn.filterProps=dm;function Fn(e){return Ob(e,pm)}Fn.propTypes={},Fn.filterProps=pm;function Rb(e=8,t=Uh({spacing:e})){if(e.mui)return e;const n=(...i)=>(i.length===0?[1]:i).map(o=>{const f=t(o);return typeof f=="number"?`${f}px`:f}).join(" ");return n.mui=!0,n}function jh(...e){const t=e.reduce((i,a)=>(a.filterProps.forEach(o=>{i[o]=a}),i),{}),n=i=>Object.keys(i).reduce((a,o)=>t[o]?Mc(a,t[o](i)):a,{});return n.propTypes={},n.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),n}function Pi(e){return typeof e!="number"?e:`${e}px solid`}function Di(e,t){return Zn({prop:e,themeKey:"borders",transform:t})}const jO=Di("border",Pi),FO=Di("borderTop",Pi),BO=Di("borderRight",Pi),zO=Di("borderBottom",Pi),HO=Di("borderLeft",Pi),$O=Di("borderColor"),VO=Di("borderTopColor"),qO=Di("borderRightColor"),KO=Di("borderBottomColor"),GO=Di("borderLeftColor"),WO=Di("outline",Pi),YO=Di("outlineColor"),Fh=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Nc(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:qo(t,i)});return ss(e,e.borderRadius,n)}return null};Fh.propTypes={},Fh.filterProps=["borderRadius"],jh(jO,FO,BO,zO,HO,$O,VO,qO,KO,GO,Fh,WO,YO);const Bh=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Nc(e.theme,"spacing",8),n=i=>({gap:qo(t,i)});return ss(e,e.gap,n)}return null};Bh.propTypes={},Bh.filterProps=["gap"];const zh=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Nc(e.theme,"spacing",8),n=i=>({columnGap:qo(t,i)});return ss(e,e.columnGap,n)}return null};zh.propTypes={},zh.filterProps=["columnGap"];const Hh=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Nc(e.theme,"spacing",8),n=i=>({rowGap:qo(t,i)});return ss(e,e.rowGap,n)}return null};Hh.propTypes={},Hh.filterProps=["rowGap"];const XO=Zn({prop:"gridColumn"}),ZO=Zn({prop:"gridRow"}),QO=Zn({prop:"gridAutoFlow"}),JO=Zn({prop:"gridAutoColumns"}),eR=Zn({prop:"gridAutoRows"}),tR=Zn({prop:"gridTemplateColumns"}),nR=Zn({prop:"gridTemplateRows"}),rR=Zn({prop:"gridTemplateAreas"}),iR=Zn({prop:"gridArea"});jh(Bh,zh,Hh,XO,ZO,QO,JO,eR,tR,nR,rR,iR);function ru(e,t){return t==="grey"?t:e}const sR=Zn({prop:"color",themeKey:"palette",transform:ru}),aR=Zn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ru}),oR=Zn({prop:"backgroundColor",themeKey:"palette",transform:ru});jh(sR,aR,oR);function _i(e){return e<=1&&e!==0?`${e*100}%`:e}const lR=Zn({prop:"width",transform:_i}),gm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const i=e.theme?.breakpoints?.values?.[n]||Nh[n];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:_i(n)}};return ss(e,e.maxWidth,t)}return null};gm.filterProps=["maxWidth"];const uR=Zn({prop:"minWidth",transform:_i}),cR=Zn({prop:"height",transform:_i}),fR=Zn({prop:"maxHeight",transform:_i}),hR=Zn({prop:"minHeight",transform:_i});Zn({prop:"size",cssProperty:"width",transform:_i}),Zn({prop:"size",cssProperty:"height",transform:_i});const dR=Zn({prop:"boxSizing"});jh(lR,gm,uR,cR,fR,hR,dR);const Pc={border:{themeKey:"borders",transform:Pi},borderTop:{themeKey:"borders",transform:Pi},borderRight:{themeKey:"borders",transform:Pi},borderBottom:{themeKey:"borders",transform:Pi},borderLeft:{themeKey:"borders",transform:Pi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Pi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fh},color:{themeKey:"palette",transform:ru},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ru},backgroundColor:{themeKey:"palette",transform:ru},p:{style:Fn},pt:{style:Fn},pr:{style:Fn},pb:{style:Fn},pl:{style:Fn},px:{style:Fn},py:{style:Fn},padding:{style:Fn},paddingTop:{style:Fn},paddingRight:{style:Fn}
15,paddingBottom:{style:Fn},paddingLeft:{style:Fn},paddingX:{style:Fn},paddingY:{style:Fn},paddingInline:{style:Fn},paddingInlineStart:{style:Fn},paddingInlineEnd:{style:Fn},paddingBlock:{style:Fn},paddingBlockStart:{style:Fn},paddingBlockEnd:{style:Fn},m:{style:jn},mt:{style:jn},mr:{style:jn},mb:{style:jn},ml:{style:jn},mx:{style:jn},my:{style:jn},margin:{style:jn},marginTop:{style:jn},marginRight:{style:jn},marginBottom:{style:jn},marginLeft:{style:jn},marginX:{style:jn},marginY:{style:jn},marginInline:{style:jn},marginInlineStart:{style:jn},marginInlineEnd:{style:jn},marginBlock:{style:jn},marginBlockStart:{style:jn},marginBlockEnd:{style:jn},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:Bh},rowGap:{style:Hh},columnGap:{style:zh},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_i},maxWidth:{style:gm},minWidth:{transform:_i},height:{transform:_i},maxHeight:{transform:_i},minHeight:{transform:_i},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 pR(...e){const t=e.reduce((i,a)=>i.concat(Object.keys(a)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function gR(e,t){return typeof e=="function"?e(t):e}function mR(){function e(n,i,a,o){const f={[n]:i,theme:a},p=o[n];if(!p)return{[n]:i};const{cssProperty:g=n,themeKey:u,transform:y,style:S}=p;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const x=Ph(a,u)||{};return S?S(f):ss(f,i,L=>{let R=Dh(x,y,L);return L===R&&typeof L=="string"&&(R=Dh(x,y,`${n}${L==="default"?"":mn(L)}`,L)),g===!1?R:{[g]:R}})}function t(n){const{sx:i,theme:a={},nested:o}=n||{};if(!i)return null;const f=a.unstable_sxConfig??Pc;function p(g){let u=g;if(typeof g=="function")u=g(a);else if(typeof g!="object")return g;if(!u)return null;const y=Tb(a.breakpoints),S=Object.keys(y);let x=y;return Object.keys(u).forEach(O=>{const L=gR(u[O],a);if(L!=null)if(typeof L=="object")if(f[O])x=Mc(x,e(O,L,a,f));else{const R=ss({theme:a},L,V=>({[O]:V}));pR(R,L)?x[O]=t({sx:L,theme:a,nested:!0}):x=Mc(x,R)}else x=Mc(x,e(O,L,a,f))}),!o&&a.modularCssLayers?{"@layer sx":xb(a,fm(S,x))}:xb(a,fm(S,x))}return Array.isArray(i)?i.map(p):p(i)}return t}const Ko=mR();Ko.filterProps=["sx"];function vR(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function $h(e={},...t){const{breakpoints:n={},palette:i={},spacing:a,shape:o={},...f}=e,p=AO(n),g=Rb(a);let u=ni({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:g,shape:{...kO,...o}},f);return u=TO(u),u.applyStyles=vR,u=t.reduce((y,S)=>ni(y,S),u),u.unstable_sxConfig={...Pc,...f?.unstable_sxConfig},u.unstable_sx=function(S){return Ko({sx:S,theme:this})},u}function yR(e){return Object.keys(e).length===0}function Lb(e=null){const t=B.useContext(Os);return!t||yR(t)?e:t}const bR=$h();function Vh(e=bR){return Lb(e)}function mm(e){const t=Wa(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function SR({styles:e,themeId:t,defaultTheme:n={}}){const i=Vh(n),a=t&&i[t]||i;let o=typeof e=="function"?e(a):e;return a.modularCssLayers&&(Array.isArray(o)?o=o.map(f=>mm(typeof f=="function"?f(a):f)):o=mm(o)),te.jsx(bO,{styles:o})}const wR=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Pc;return Object.keys(e).forEach(i=>
15{n[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function vm(e){const{sx:t,...n}=e,{systemProps:i,otherProps:a}=wR(n);let o;return Array.isArray(t)?o=[i,...t]:typeof t=="function"?o=(...f)=>{const p=t(...f);return Rs(p)?{...i,...p}:i}:o={...i,...t},{...a,sx:o}}const Ib=e=>e,Mb=(()=>{let e=Ib;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ib}}})();function Nb(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Nb(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function _n(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Nb(e))&&(i&&(i+=" "),i+=t);return i}function _R(e={}){const{themeId:t,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:a}=e,o=bb("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Ko);return B.forwardRef(function(g,u){const y=Vh(n),{className:S,component:x="div",...O}=vm(g);return te.jsx(o,{as:x,ref:u,className:_n(S,a?a(i):i),theme:t&&y[t]||y,...O})})}const ER={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 fa(e,t,n="Mui"){const i=ER[t];return i?`${n}-${i}`:`${Mb.generate(e)}-${t}`}function ha(e,t,n="Mui"){const i={};return t.forEach(a=>{i[a]=fa(e,a,n)}),i}function Pb(e){const{variants:t,...n}=e,i={variants:t,style:Wa(n),isProcessed:!0};return i.style===n||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=Wa(a.style))}),i}const AR=$h();function ym(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Go(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function xR(e){return e?(t,n)=>n[e]:null}function CR(e,t,n){e.theme=kR(e.theme)?n:e.theme[t]||e.theme}function qh(e,t,n){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(a=>qh(e,a,n));if(Array.isArray(i?.variants)){let a;if(i.isProcessed)a=n?Go(i.style,n):i.style;else{const{variants:o,...f}=i;a=n?Go(Wa(f),n):f}return Db(e,i.variants,[a],n)}return i?.isProcessed?n?Go(Wa(i.style),n):i.style:n?Go(Wa(i),n):i}function Db(e,t,n=[],i=void 0){let a;e:for(let o=0;o<t.length;o+=1){const f=t[o];if(typeof f.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!f.props(a))continue}else for(const p in f.props)if(e[p]!==f.props[p]&&e.ownerState?.[p]!==f.props[p])continue e;typeof f.style=="function"?(a??={...e,...e.ownerState,ownerState:e.ownerState},n.push(i?Go(Wa(f.style(a)),i):f.style(a))):n.push(i?Go(Wa(f.style),i):f.style)}return n}function Ub(e={}){const{themeId:t,defaultTheme:n=AR,rootShouldForwardProp:i=ym,slotShouldForwardProp:a=ym}=e;function o(p){CR(p,t,n)}return(p,g={})=>{SO(p,U=>U.filter(Y=>Y!==Ko));const{name:u,slot:y,skipVariantsResolver:S,skipSx:x,overridesResolver:O=xR(RR(y)),...L}=g,R=u&&u.startsWith("Mui")||y?"components":"custom",V=S!==void 0?S:y&&y!=="Root"&&y!=="root"||!1,K=x||!1;let se=ym;y==="Root"||y==="root"?se=i:y?se=a:OR(p)&&(se=void 0);const ne=bb(p,{shouldForwardProp:se,label:TR(),...L}),J=U=>{if(U.__emotion_real===U)return U;if(typeof U=="function")return function(Ce){return qh(Ce,U,Ce.theme.modularCssLayers?R:void 0)};if(Rs(U)){const Y=Pb(U);return function(oe){return Y.variants?qh(oe,Y,oe.theme.modularCssLayers?R:void 0):oe.theme.modularCssLayers?Go(Y.style,R):Y.style}}return U},X=(...U)=>{const Y=[],Ce=U.map(J),oe=[];if(Y.push(o),u&&O&&oe.push(function(ue){const De=ue.theme.components?.[u]?.styleOverrides;if(!De)return null;const Z={};for(const ke in De)Z[ke]=qh(ue,De[ke],ue.theme.modularCssLayers?"theme":void 0);return O(ue,Z)}),u&&!V&&oe.push(function(ue){const De=ue.theme?.components?.[u]?.variants;return De?Db(ue,De,[],ue.theme.modularCssLayers?"theme":void 0):null}),K||oe.push(Ko),Array.isArray(Ce[0])){const I=Ce.shift(),ue=new Array(Y.length).fill(""),me=new Array(oe.length).fill("");let De;De=[...ue,...I,...me],De.raw=[...ue,...I.raw,...me],Y.unshift(De)}const _e=[...Y,...Ce,...oe],ge=ne(..._e);return p.muiName&&(ge.muiName=p.muiName),ge};return ne.withConfig&&(X.withConfig=ne.withConfig),X}}function TR(e,t){return void 0}function kR(e){for(const t in e)return!1;return!0}function OR(e){return typeof e=="string"&&e.charCodeAt(0)>96}function RR(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const LR=Ub();function Kh(e,t,n=!1){const i={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const o=a;if(o==="components"||o==="slots")i[o]={...e[o],...i[o]};else if(o==="componentsProps"||o==="slotProps"){const f=e[o],p=t[o];if(!p)i[o]=f||{};else if(!f)i[o]=p;else{i[o]={...p};for(const g in f)if(Object.prototype.hasOwnProperty.call(f,g)){const u=g;i[o][u]=Kh(f[u],p[u],n)}}}else o==="className"&&n&&t.className?i.className=_n(e?.className,t?.className):o==="style"&&n&&t.style?i.style={...e?.style,...t?.style}:i[o]===void 0&&(i[o]=e[o])}return i}function jb(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:Kh(t.components[n].defaultProps,i)}function IR({props:e,name:t,defaultTheme:n,themeId:i}){let a=Vh(n);return i&&(a=a[i]||a),jb({theme:a,name:t,props:e})}const bm=typeof window<"u"?B.useLayoutEffect:B.useEffect;
15function MR(e,t,n,i,a){const[o,f]=B.useState(()=>a&&n?n(e).matches:i?i(e).matches:t);return bm(()=>{if(!n)return;const p=n(e),g=()=>{f(p.matches)};return g(),p.addEventListener("change",g),()=>{p.removeEventListener("change",g)}},[e,n]),o}const Fb={...lc}.useSyncExternalStore;function NR(e,t,n,i,a){const o=B.useCallback(()=>t,[t]),f=B.useMemo(()=>{if(a&&n)return()=>n(e).matches;if(i!==null){const{matches:y}=i(e);return()=>y}return o},[o,e,i,a,n]),[p,g]=B.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const y=n(e);return[()=>y.matches,S=>(y.addEventListener("change",S),()=>{y.removeEventListener("change",S)})]},[o,n,e]);return Fb(g,p,f)}function Bb(e={}){const{themeId:t}=e;return function(i,a={}){let o=Lb();o&&t&&(o=o[t]||o);const f=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:p=!1,matchMedia:g=f?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:y=!1}=jb({name:"MuiUseMediaQuery",props:a,theme:o});let S=typeof i=="function"?i(o):i;return S=S.replace(/^@media( ?)/m,""),S.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
16`)),(Fb!==void 0?NR:MR)(S,p,g,u,y)}}Bb();function iu(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Sm(e,t=0,n=1){return iu(e,t,n)}function PR(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,a)=>a<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Ya(e){if(e.type)return e;if(e.charAt(0)==="#")return Ya(PR(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Vo(9,e));let i=e.substring(t+1,e.length-1),a;if(n==="color"){if(i=i.split(" "),a=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(Vo(10,a))}else i=i.split(",");return i=i.map(o=>parseFloat(o)),{type:n,values:i,colorSpace:a}}const DR=e=>{const t=Ya(e);return t.values.slice(0,3).map((n,i)=>t.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},Dc=(e,t)=>{try{return DR(e)}catch{return e}};function Gh(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((a,o)=>o<3?parseInt(a,10):a):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function zb(e){e=Ya(e);const{values:t}=e,n=t[0],i=t[1]/100,a=t[2]/100,o=i*Math.min(a,1-a),f=(u,y=(u+n/30)%12)=>a-o*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const g=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return e.type==="hsla"&&(p+="a",g.push(t[3])),Gh({type:p,values:g})}function wm(e){e=Ya(e);let t=e.type==="hsl"||e.type==="hsla"?Ya(zb(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function UR(e,t){const n=wm(e),i=wm(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Hb(e,t){return e=Ya(e),t=Sm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Gh(e)}function Wo(e,t,n){try{return Hb(e,t)}catch{return e}}function Wh(e,t){if(e=Ya(e),t=Sm(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 Gh(e)}function sn(e,t,n){try{return Wh(e,t)}catch{return e}}function Yh(e,t){if(e=Ya(e),t=Sm(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 Gh(e)}function an(e,t,n){try{return Yh(e,t)}catch{return e}}function jR(e,t=.15){return wm(e)>.5?Wh(e,t):Yh(e,t)}
16function Xh(e,t,n){try{return jR(e,t)}catch{return e}}const FR=B.createContext(),BR=()=>B.useContext(FR)??!1,zR=B.createContext(void 0);function HR(e){const{theme:t,name:n,props:i}=e;if(!t||!t.components||!t.components[n])return i;const a=t.components[n];return a.defaultProps?Kh(a.defaultProps,i,t.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?Kh(a,i,t.components.mergeClassNameAndStyle):i}function $R({props:e,name:t}){const n=B.useContext(zR);return HR({props:e,name:t,theme:{components:n}})}let $b=0;function VR(e){const[t,n]=B.useState(e),i=e||t;return B.useEffect(()=>{t==null&&($b+=1,n(`mui-${$b}`))},[t]),i}const Vb={...lc}.useId;function qR(e){if(Vb!==void 0){const t=Vb();return e??t}return VR(e)}const qb={theme:void 0};function KR(e){let t,n;return function(a){let o=t;return(o===void 0||a.theme!==n)&&(qb.theme=a.theme,o=Pb(e(qb)),t=o,n=a.theme),o}}function GR(e=""){function t(...i){if(!i.length)return"";const a=i[0];return typeof a=="string"&&!a.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}-`:""}${a}${t(...i.slice(1))})`:`, ${a}`}return(i,...a)=>`var(--${e?`${e}-`:""}${i}${t(...a)})`}const Kb=(e,t,n,i=[])=>{let a=e;t.forEach((o,f)=>{f===t.length-1?Array.isArray(a)?a[Number(o)]=n:a&&typeof a=="object"&&(a[o]=n):a&&typeof a=="object"&&(a[o]||(a[o]=i.includes(o)?[]:{}),a=a[o])})},WR=(e,t,n)=>{function i(a,o=[],f=[]){Object.entries(a).forEach(([p,g])=>{(!n||n&&!n([...o,p]))&&g!=null&&(typeof g=="object"&&Object.keys(g).length>0?i(g,[...o,p],Array.isArray(g)?[...f,p]:f):t([...o,p],g,f))})}i(e)},YR=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function _m(e,t){const{prefix:n,shouldSkipGeneratingVar:i}=t||{},a={},o={},f={};return WR(e,(p,g,u)=>{if((typeof g=="string"||typeof g=="number")&&(!i||!i(p,g))){const y=`--${n?`${n}-`:""}${p.join("-")}`,S=YR(p,g);Object.assign(a,{[y]:S}),Kb(o,p,`var(${y})`,u),Kb(f,p,`var(${y}, ${S})`,u)}},p=>p[0]==="vars"),{css:a,vars:o,varsWithDefaults:f}}function XR(e,t={}){const{getSelector:n=K,disableCssColorScheme:i,colorSchemeSelector:a,enableContrastVars:o}=t,{colorSchemes:f={},components:p,defaultColorScheme:g="light",...u}=e,{vars:y,css:S,varsWithDefaults:x}=_m(u,t);let O=x;const L={},{[g]:R,...V}=f;if(Object.entries(V||{}).forEach(([J,X])=>{const{vars:U,css:Y,varsWithDefaults:Ce}=_m(X,t);O=ni(O,Ce),L[J]={css:Y,vars:U}}),R){const{css:J,vars:X,varsWithDefaults:U}=_m(R,t);O=ni(O,U),L[g]={css:J,vars:X}}function K(J,X){let U=a;if(a==="class"&&(U=".%s"),a==="data"&&(U="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(U=`[${a}="%s"]`),J){if(U==="media")return e.defaultColorScheme===J?":root":{[`@media (prefers-color-scheme: ${f[J]?.palette?.mode||J})`]:{":root":X}};if(U)return e.defaultColorScheme===J?`:root, ${U.replace("%s",String(J))}`:U.replace("%s",String(J))}return":root"}return{vars:O,generateThemeVars:()=>{let J={...y};return Object.entries(L).forEach(([,{vars:X}])=>{J=ni(J,X)}),J},generateStyleSheets:()=>{const J=[],X=e.defaultColorScheme||"light";function U(oe,_e){Object.keys(_e).length&&J.push(typeof oe=="string"?{[oe]:{..._e}}:oe)}U(n(void 0,{...S}),S);const{[X]:Y,...Ce}=L;if(Y){const{css:oe}=Y,_e=f[X]?.palette?.mode,ge=!i&&_e?{colorScheme:_e,...oe}:{...oe};U(n(X,{...ge}),ge)}return Object.entries(Ce).forEach(([oe,{css:_e}])=>{const ge=f[oe]?.palette?.mode,I=!i&&ge?{colorScheme:ge,..._e}:{..._e};U(n(oe,{...I}),I)}),o&&J.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)"}}),J}}}function ZR(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function Xa(e,t,n=void 0){const i={};for(const a in e){const o=e[a];let f="",p=!0;for(let g=0;g<o.length;g+=1){const u=o[g];u&&(f+=(p===!0?"":" ")+t(u),p=!1,n&&n[u]&&(f+=" "+n[u]))}i[a]=f}return i}const QR=$h(),JR=LR("div",{name:"MuiStack",slot:"Root"});function e3(e){return IR({props:e,name:"MuiStack",defaultTheme:QR})}
16function t3(e,t){const n=B.Children.toArray(e).filter(Boolean);return n.reduce((i,a,o)=>(i.push(a),o<n.length-1&&i.push(B.cloneElement(t,{key:`separator-${o}`})),i),[])}const n3=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],r3=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...ss({theme:t},hm({values:e.direction,breakpoints:t.breakpoints.values}),i=>({flexDirection:i}))};if(e.spacing){const i=Uh(t),a=Object.keys(t.breakpoints.values).reduce((g,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(g[u]=!0),g),{}),o=hm({values:e.direction,base:a}),f=hm({values:e.spacing,base:a});typeof o=="object"&&Object.keys(o).forEach((g,u,y)=>{if(!o[g]){const x=u>0?o[y[u-1]]:"column";o[g]=x}}),n=ni(n,ss({theme:t},f,(g,u)=>e.useFlexGap?{gap:qo(i,g)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${n3(u?o[u]:e.direction)}`]:qo(i,g)}}))}return n=RO(t.breakpoints,n),n};function i3(e={}){const{createStyledComponent:t=JR,useThemeProps:n=e3,componentName:i="MuiStack"}=e,a=()=>Xa({root:["root"]},g=>fa(i,g),{}),o=t(r3);return B.forwardRef(function(g,u){const y=n(g),S=vm(y),{component:x="div",direction:O="column",spacing:L=0,divider:R,children:V,className:K,useFlexGap:se=!1,...ne}=S,J={direction:O,spacing:L,useFlexGap:se},X=a();return te.jsx(o,{as:x,ownerState:J,ref:u,className:_n(X.root,K),...ne,children:R?t3(V,R):V})})}function Gb(){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:_c.white,default:_c.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}}}const Wb=Gb();function Yb(){return{text:{primary:_c.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:_c.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}}}const Em=Yb();function Xb(e,t,n,i){const a=i.light||i,o=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Yh(e.main,a):t==="dark"&&(e.dark=Wh(e.main,o)))}function Zb(e,t,n,i,a){const o=a.light||a,f=a.dark||a*1.5;t[n]||(t.hasOwnProperty(i)?t[n]=t[i]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(o*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(f*100).toFixed(0)}%)`))}function s3(e="light"){return e==="dark"?{main:Yl[200],light:Yl[50],dark:Yl[400]}:{main:Yl[700],light:Yl[400],dark:Yl[800]}}function a3(e="light"){return e==="dark"?{main:Wl[200],light:Wl[50],dark:Wl[400]}:{main:Wl[500],light:Wl[300],dark:Wl[700]}}function o3(e="light"){return e==="dark"?{main:Gl[500],light:Gl[300],dark:Gl[700]}:{main:Gl[700],light:Gl[400],dark:Gl[800]}}function l3(e="light"){return e==="dark"?{main:Xl[400],light:Xl[300],dark:Xl[700]}:{main:Xl[700],light:Xl[500],dark:Xl[900]}}function u3(e="light"){return e==="dark"?{main:Zl[400],light:Zl[300],dark:Zl[700]}:{main:Zl[800],light:Zl[500],dark:Zl[900]}}function c3(e="light"){return e==="dark"?{main:Ec[400],light:Ec[300],dark:Ec[700]}:{main:"#ed6c02",light:Ec[500],dark:Ec[900]}}function f3(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Am(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2,colorSpace:a,...o}=e,f=e.primary||s3(t),p=e.secondary||a3(t),g=e.error||o3(t),u=e.info||l3(t),y=e.success||u3(t),S=e.warning||c3(t);function x(V){return a?f3(V):UR(V,Em.text.primary)>=n?Em.text.primary:Wb.text.primary}const O=({color:V,name:K,mainShade:se=500,lightShade:ne=300,darkShade:J=700})=>{if(V={...V},!V.main&&V[se]&&(V.main=V[se]),!V.hasOwnProperty("main"))throw new Error(Vo(11,K?` (${K})`:"",se));if(typeof V.main!="string")throw new Error(Vo(12,K?` (${K})`:"",JSON.stringify(V.main)));return a?(Zb(a,V,"light",ne,i),Zb(a,V,"dark",J,i)):(Xb(V,"light",ne,i),Xb(V,"dark",J,i)),V.contrastText||(V.contrastText=x(V.main)),V};let L;return t==="light"?L=Gb():t==="dark"&&(L=Yb()),ni({common:{..._c},mode:t,primary:O({color:f,name:"primary"}
16),secondary:O({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:g,name:"error"}),warning:O({color:S,name:"warning"}),info:O({color:u,name:"info"}),success:O({color:y,name:"success"}),grey:ak,contrastThreshold:n,getContrastText:x,augmentColor:O,tonalOffset:i,...L},o)}function h3(e){const t={};return Object.entries(e).forEach(i=>{const[a,o]=i;typeof o=="object"&&(t[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),t}function d3(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function p3(e){return Math.round(e*1e5)/1e5}const Qb={textTransform:"uppercase"},Jb='"Roboto", "Helvetica", "Arial", sans-serif';function g3(e,t){const{fontFamily:n=Jb,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:g=16,allVariants:u,pxToRem:y,...S}=typeof t=="function"?t(e):t,x=i/14,O=y||(V=>`${V/g*x}rem`),L=(V,K,se,ne,J)=>({fontFamily:n,fontWeight:V,fontSize:O(K),lineHeight:se,...n===Jb?{letterSpacing:`${p3(ne/K)}em`}:{},...J,...u}),R={h1:L(a,96,1.167,-1.5),h2:L(a,60,1.2,-.5),h3:L(o,48,1.167,0),h4:L(o,34,1.235,.25),h5:L(o,24,1.334,0),h6:L(f,20,1.6,.15),subtitle1:L(o,16,1.75,.15),subtitle2:L(f,14,1.57,.1),body1:L(o,16,1.5,.15),body2:L(o,14,1.43,.15),button:L(f,14,1.75,.4,Qb),caption:L(o,12,1.66,.4),overline:L(o,12,2.66,1,Qb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ni({htmlFontSize:g,pxToRem:O,fontFamily:n,fontSize:i,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:f,fontWeightBold:p,...R},S,{clone:!1})}const m3=.2,v3=.14,y3=.12;function Tn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${m3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${v3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${y3})`].join(",")}const b3=["none",Tn(0,2,1,-1,0,1,1,0,0,1,3,0),Tn(0,3,1,-2,0,2,2,0,0,1,5,0),Tn(0,3,3,-2,0,3,4,0,0,1,8,0),Tn(0,2,4,-1,0,4,5,0,0,1,10,0),Tn(0,3,5,-1,0,5,8,0,0,1,14,0),Tn(0,3,5,-1,0,6,10,0,0,1,18,0),Tn(0,4,5,-2,0,7,10,1,0,2,16,1),Tn(0,5,5,-3,0,8,10,1,0,3,14,2),Tn(0,5,6,-3,0,9,12,1,0,3,16,2),Tn(0,6,6,-3,0,10,14,1,0,4,18,3),Tn(0,6,7,-4,0,11,15,1,0,4,20,3),Tn(0,7,8,-4,0,12,17,2,0,5,22,4),Tn(0,7,8,-4,0,13,19,2,0,5,24,4),Tn(0,7,9,-4,0,14,21,2,0,5,26,4),Tn(0,8,9,-5,0,15,22,2,0,6,28,5),Tn(0,8,10,-5,0,16,24,2,0,6,30,5),Tn(0,8,11,-5,0,17,26,2,0,6,32,5),Tn(0,9,11,-5,0,18,28,2,0,7,34,6),Tn(0,9,12,-6,0,19,29,2,0,7,36,6),Tn(0,10,13,-6,0,20,31,3,0,8,38,7),Tn(0,10,13,-6,0,21,33,3,0,8,40,7),Tn(0,10,14,-6,0,22,35,3,0,8,42,7),Tn(0,11,14,-7,0,23,36,3,0,9,44,8),Tn(0,11,15,-7,0,24,38,3,0,9,46,8)],S3={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)"},w3={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function eS(e){return`${Math.round(e)}ms`}function _3(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function E3(e){const t={...S3,...e.easing},n={...w3,...e.duration};return{getAutoHeightDuration:_3,create:(a=["all"],o={})=>{const{duration:f=n.standard,easing:p=t.easeInOut,delay:g=0,...u}=o;return(Array.isArray(a)?a:[a]).map(y=>`${y} ${typeof f=="string"?f:eS(f)} ${p} ${typeof g=="string"?g:eS(g)}`).join(",")},...e,easing:t,duration:n}}const A3={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function x3(e){return Rs(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function tS(e={}){const t={...e};function n(i){const a=Object.entries(i);for(let o=0;o<a.length;o++){const[f,p]=a[o];!x3(p)||f.startsWith("unstable_")?delete i[f]:Rs(p)&&(i[f]={...p},n(i[f]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
17
18const theme = ${JSON.stringify(t,null,2)};
19
20theme.breakpoints = createBreakpoints(theme.breakpoints || {});
21theme.transitions = createTransitions(theme.transitions || {});
22
23export default theme;`}function nS(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const C3=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let i=0;i<t.length;i+=1)n+=+t[i];return n};function T3(e){Object.assign(e,{alpha(t,n){const i=this||e;return i.colorSpace?`oklch(from ${t} l c h / ${typeof n=="string"?`calc(${n})`:n})`:i.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Hb(t,C3(n))},lighten(t,n){const i=this||e;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${t}, #fff ${nS(n)})`:Yh(t,n)},darken(t,n){const i=this||e;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${t}, #000 ${nS(n)})`:Wh(t,n)}})}function xm(e={},...t){const{breakpoints:n,mixins:i={},spacing:a,palette:o={},transitions:f={},typography:p={},shape:g,colorSpace:u,...y}=e;
23if(e.vars&&e.generateThemeVars===void 0)throw new Error(Vo(20));const S=Am({...o,colorSpace:u}),x=$h(e);let O=ni(x,{mixins:d3(x.breakpoints,i),palette:S,shadows:b3.slice(),typography:g3(S,p),transitions:E3(f),zIndex:{...A3}});return O=ni(O,y),O=t.reduce((L,R)=>ni(L,R),O),O.unstable_sxConfig={...Pc,...y?.unstable_sxConfig},O.unstable_sx=function(R){return Ko({sx:R,theme:this})},O.toRuntimeSource=tS,T3(O),O}function k3(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const O3=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=k3(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function rS(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function iS(e){return e==="dark"?O3:[]}function R3(e){const{palette:t={mode:"light"},opacity:n,overlays:i,colorSpace:a,...o}=e,f=Am({...t,colorSpace:a});return{palette:f,opacity:{...rS(f.mode),...n},overlays:i||iS(f.mode),...o}}function L3(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)/)}const I3=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],M3=e=>(t,n)=>{const i=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if(a==="class"&&(o=".%s"),a==="data"&&(o="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const f={};return I3(e.cssVarPrefix).forEach(p=>{f[p]=n[p],delete n[p]}),o==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:f}}:o?{[o.replace("%s",t)]:f,[`${i}, ${o.replace("%s",t)}`]:n}:{[i]:{...n,...f}}}if(o&&o!=="media")return`${i}, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[i]:n}};if(o)return o.replace("%s",String(t))}return i};function N3(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Re(e,t,n){!e[t]&&n&&(e[t]=n)}function Uc(e){return typeof e!="string"||!e.startsWith("hsl")?e:zb(e)}function da(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Dc(Uc(e[t])))}function P3(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ls=e=>{try{return e()}catch{}},D3=(e="mui")=>GR(e);function Cm(e,t,n,i,a){if(!n)return;n=n===!0?{}:n;const o=a==="dark"?"dark":"light";if(!i){t[a]=R3({...n,palette:{mode:o,...n?.palette},colorSpace:e});return}const{palette:f,...p}=xm({...i,palette:{mode:o,...n?.palette},colorSpace:e});return t[a]={...n,palette:f,opacity:{...rS(o),...n?.opacity},overlays:n?.overlays||iS(o)},p}function U3(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",nativeColor:f=!1,shouldSkipGeneratingVar:p=L3,colorSchemeSelector:g=n.light&&n.dark?"media":void 0,rootSelector:u=":root",...y}=e,S=Object.keys(n)[0],x=i||(n.light&&S!=="light"?"light":S),O=D3(o),{[x]:L,light:R,dark:V,...K}=n,se={...K};let ne=L;if((x==="dark"&&!("dark"in n)||x==="light"&&!("light"in n))&&(ne=!0),!ne)throw new Error(Vo(21,x));let J;f&&(J="oklch");const X=Cm(J,se,ne,y,x);R&&!se.light&&Cm(J,se,R,void 0,"light"),V&&!se.dark&&Cm(J,se,V,void 0,"dark");let U={defaultColorScheme:x,...X,cssVarPrefix:o,colorSchemeSelector:g,rootSelector:u,getCssVar:O,colorSchemes:se,font:{...h3(X.typography),...X.font},spacing:P3(y.spacing)};Object.keys(U.colorSchemes).forEach(ge=>{const I=U.colorSchemes[ge].palette,ue=De=>{const Z=De.split("-"),ke=Z[1],Ie=Z[2];return O(De,I[ke][Ie])};I.mode==="light"&&(Re(I.common,"background","#fff"),Re(I.common,"onBackground","#000")),I.mode==="dark"&&(Re(I.common,"background","#000"),Re(I.common,"onBackground","#fff"));function me(De,Z,ke){if(J){let Ie;return De===Wo&&(Ie=`transparent ${((1-ke)*100).toFixed(0)}%`),De===sn&&(Ie=`#000 ${(ke*100).toFixed(0)}%`),De===an&&(Ie=`#fff ${(ke*100).toFixed(0)}%`),`color-mix(in ${J}, ${Z}, ${Ie})`}return De(Z,ke)}if(N3(I,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),I.mode==="light"){Re(I.Alert,"errorColor",me(sn,I.error.light,.6)),Re(I.Alert,"infoColor",me(sn,I.info.light,.6)),Re(I.Alert,"successColor",me(sn,I.success.light,.6)),Re(I.Alert,"warningColor",me(sn,I.warning.light,.6)),Re(I.Alert,"errorFilledBg",ue("palette-error-main")),Re(
23I.Alert,"infoFilledBg",ue("palette-info-main")),Re(I.Alert,"successFilledBg",ue("palette-success-main")),Re(I.Alert,"warningFilledBg",ue("palette-warning-main")),Re(I.Alert,"errorFilledColor",Ls(()=>I.getContrastText(I.error.main))),Re(I.Alert,"infoFilledColor",Ls(()=>I.getContrastText(I.info.main))),Re(I.Alert,"successFilledColor",Ls(()=>I.getContrastText(I.success.main))),Re(I.Alert,"warningFilledColor",Ls(()=>I.getContrastText(I.warning.main))),Re(I.Alert,"errorStandardBg",me(an,I.error.light,.9)),Re(I.Alert,"infoStandardBg",me(an,I.info.light,.9)),Re(I.Alert,"successStandardBg",me(an,I.success.light,.9)),Re(I.Alert,"warningStandardBg",me(an,I.warning.light,.9)),Re(I.Alert,"errorIconColor",ue("palette-error-main")),Re(I.Alert,"infoIconColor",ue("palette-info-main")),Re(I.Alert,"successIconColor",ue("palette-success-main")),Re(I.Alert,"warningIconColor",ue("palette-warning-main")),Re(I.AppBar,"defaultBg",ue("palette-grey-100")),Re(I.Avatar,"defaultBg",ue("palette-grey-400")),Re(I.Button,"inheritContainedBg",ue("palette-grey-300")),Re(I.Button,"inheritContainedHoverBg",ue("palette-grey-A100")),Re(I.Chip,"defaultBorder",ue("palette-grey-400")),Re(I.Chip,"defaultAvatarColor",ue("palette-grey-700")),Re(I.Chip,"defaultIconColor",ue("palette-grey-700")),Re(I.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Re(I.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Re(I.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Re(I.LinearProgress,"primaryBg",me(an,I.primary.main,.62)),Re(I.LinearProgress,"secondaryBg",me(an,I.secondary.main,.62)),Re(I.LinearProgress,"errorBg",me(an,I.error.main,.62)),Re(I.LinearProgress,"infoBg",me(an,I.info.main,.62)),Re(I.LinearProgress,"successBg",me(an,I.success.main,.62)),Re(I.LinearProgress,"warningBg",me(an,I.warning.main,.62)),Re(I.Skeleton,"bg",J?me(Wo,I.text.primary,.11):`rgba(${ue("palette-text-primaryChannel")} / 0.11)`),Re(I.Slider,"primaryTrack",me(an,I.primary.main,.62)),Re(I.Slider,"secondaryTrack",me(an,I.secondary.main,.62)),Re(I.Slider,"errorTrack",me(an,I.error.main,.62)),Re(I.Slider,"infoTrack",me(an,I.info.main,.62)),Re(I.Slider,"successTrack",me(an,I.success.main,.62)),Re(I.Slider,"warningTrack",me(an,I.warning.main,.62));const De=J?me(sn,I.background.default,.6825):Xh(I.background.default,.8);Re(I.SnackbarContent,"bg",De),Re(I.SnackbarContent,"color",Ls(()=>J?Em.text.primary:I.getContrastText(De))),Re(I.SpeedDialAction,"fabHoverBg",Xh(I.background.paper,.15)),Re(I.StepConnector,"border",ue("palette-grey-400")),Re(I.StepContent,"border",ue("palette-grey-400")),Re(I.Switch,"defaultColor",ue("palette-common-white")),Re(I.Switch,"defaultDisabledColor",ue("palette-grey-100")),Re(I.Switch,"primaryDisabledColor",me(an,I.primary.main,.62)),Re(I.Switch,"secondaryDisabledColor",me(an,I.secondary.main,.62)),Re(I.Switch,"errorDisabledColor",me(an,I.error.main,.62)),Re(I.Switch,"infoDisabledColor",me(an,I.info.main,.62)),Re(I.Switch,"successDisabledColor",me(an,I.success.main,.62)),Re(I.Switch,"warningDisabledColor",me(an,I.warning.main,.62)),Re(I.TableCell,"border",me(an,me(Wo,I.divider,1),.88)),Re(I.Tooltip,"bg",me(Wo,I.grey[700],.92))}if(I.mode==="dark"){Re(I.Alert,"errorColor",me(an,I.error.light,.6)),Re(I.Alert,"infoColor",me(an,I.info.light,.6)),Re(I.Alert,"successColor",me(an,I.success.light,.6)),Re(I.Alert,"warningColor",me(an,I.warning.light,.6)),Re(I.Alert,"errorFilledBg",ue("palette-error-dark")),Re(I.Alert,"infoFilledBg",ue("palette-info-dark")),Re(I.Alert,"successFilledBg",ue("palette-success-dark")),Re(I.Alert,"warningFilledBg",ue("palette-warning-dark")),Re(I.Alert,"errorFilledColor",Ls(()=>I.getContrastText(I.error.dark))),Re(I.Alert,"infoFilledColor",Ls(()=>I.getContrastText(I.info.dark))),Re(I.Alert,"successFilledColor",Ls(()=>I.getContrastText(I.success.dark))),Re(I.Alert,"warningFilledColor",Ls(()=>I.getContrastText(I.warning.dark))),Re(I.Alert,"errorStandardBg",me(sn,I.error.light,.9)),Re(I.Alert,"infoStandardBg",me(sn,I.info.light,.9)),Re(I.Alert,"successStandardBg",me(sn,I.success.light,.9)),Re(I.Alert,"warningStandardBg",me(sn,I.warning.light,.9)),Re(I.Alert,"errorIconColor",ue("palette-error-main")),Re(
23I.Alert,"infoIconColor",ue("palette-info-main")),Re(I.Alert,"successIconColor",ue("palette-success-main")),Re(I.Alert,"warningIconColor",ue("palette-warning-main")),Re(I.AppBar,"defaultBg",ue("palette-grey-900")),Re(I.AppBar,"darkBg",ue("palette-background-paper")),Re(I.AppBar,"darkColor",ue("palette-text-primary")),Re(I.Avatar,"defaultBg",ue("palette-grey-600")),Re(I.Button,"inheritContainedBg",ue("palette-grey-800")),Re(I.Button,"inheritContainedHoverBg",ue("palette-grey-700")),Re(I.Chip,"defaultBorder",ue("palette-grey-700")),Re(I.Chip,"defaultAvatarColor",ue("palette-grey-300")),Re(I.Chip,"defaultIconColor",ue("palette-grey-300")),Re(I.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Re(I.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Re(I.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Re(I.LinearProgress,"primaryBg",me(sn,I.primary.main,.5)),Re(I.LinearProgress,"secondaryBg",me(sn,I.secondary.main,.5)),Re(I.LinearProgress,"errorBg",me(sn,I.error.main,.5)),Re(I.LinearProgress,"infoBg",me(sn,I.info.main,.5)),Re(I.LinearProgress,"successBg",me(sn,I.success.main,.5)),Re(I.LinearProgress,"warningBg",me(sn,I.warning.main,.5)),Re(I.Skeleton,"bg",J?me(Wo,I.text.primary,.13):`rgba(${ue("palette-text-primaryChannel")} / 0.13)`),Re(I.Slider,"primaryTrack",me(sn,I.primary.main,.5)),Re(I.Slider,"secondaryTrack",me(sn,I.secondary.main,.5)),Re(I.Slider,"errorTrack",me(sn,I.error.main,.5)),Re(I.Slider,"infoTrack",me(sn,I.info.main,.5)),Re(I.Slider,"successTrack",me(sn,I.success.main,.5)),Re(I.Slider,"warningTrack",me(sn,I.warning.main,.5));const De=J?me(an,I.background.default,.985):Xh(I.background.default,.98);Re(I.SnackbarContent,"bg",De),Re(I.SnackbarContent,"color",Ls(()=>J?Wb.text.primary:I.getContrastText(De))),Re(I.SpeedDialAction,"fabHoverBg",Xh(I.background.paper,.15)),Re(I.StepConnector,"border",ue("palette-grey-600")),Re(I.StepContent,"border",ue("palette-grey-600")),Re(I.Switch,"defaultColor",ue("palette-grey-300")),Re(I.Switch,"defaultDisabledColor",ue("palette-grey-600")),Re(I.Switch,"primaryDisabledColor",me(sn,I.primary.main,.55)),Re(I.Switch,"secondaryDisabledColor",me(sn,I.secondary.main,.55)),Re(I.Switch,"errorDisabledColor",me(sn,I.error.main,.55)),Re(I.Switch,"infoDisabledColor",me(sn,I.info.main,.55)),Re(I.Switch,"successDisabledColor",me(sn,I.success.main,.55)),Re(I.Switch,"warningDisabledColor",me(sn,I.warning.main,.55)),Re(I.TableCell,"border",me(sn,me(Wo,I.divider,1),.68)),Re(I.Tooltip,"bg",me(Wo,I.grey[700],.92))}da(I.background,"default"),da(I.background,"paper"),da(I.common,"background"),da(I.common,"onBackground"),da(I,"divider"),Object.keys(I).forEach(De=>{const Z=I[De];De!=="tonalOffset"&&Z&&typeof Z=="object"&&(Z.main&&Re(I[De],"mainChannel",Dc(Uc(Z.main))),Z.light&&Re(I[De],"lightChannel",Dc(Uc(Z.light))),Z.dark&&Re(I[De],"darkChannel",Dc(Uc(Z.dark))),Z.contrastText&&Re(I[De],"contrastTextChannel",Dc(Uc(Z.contrastText))),De==="text"&&(da(I[De],"primary"),da(I[De],"secondary")),De==="action"&&(Z.active&&da(I[De],"active"),Z.selected&&da(I[De],"selected")))})}),U=t.reduce((ge,I)=>ni(ge,I),U);const Y={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:p,getSelector:M3(U),enableContrastVars:f},{vars:Ce,generateThemeVars:oe,generateStyleSheets:_e}=XR(U,Y);return U.vars=Ce,Object.entries(U.colorSchemes[U.defaultColorScheme]).forEach(([ge,I])=>{U[ge]=I}),U.generateThemeVars=oe,U.generateStyleSheets=_e,U.generateSpacing=function(){return Rb(y.spacing,Uh(this))},U.getColorSchemeSelector=ZR(g),U.spacing=U.generateSpacing(),U.shouldSkipGeneratingVar=p,U.unstable_sxConfig={...Pc,...y?.unstable_sxConfig},U.unstable_sx=function(I){return Ko({sx:I,theme:this})},U.toRuntimeSource=tS,U}function sS(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Am({...n===!0?{}:n.palette,mode:t})})}function aS(e={},...t){const{palette:n,cssVariables:i=!1,colorSchemes:a=n?void 0:{light:!0},defaultColorScheme:o=n?.mode,...f}=e,p=o||"light",g=a?.[p],u={...a,...n?{[p]:{...typeof g!="boolean"&&g,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in e))return xm(e,...t);let y=n;"palette"in e||u[p]&&(u[p]!==!0?y=u[p].palette:p==="dark"&&(y={mode:"dark"}));const S=xm({...e,palette:y},...t);return S.defaultColorScheme=p,S.colorSchemes=u,S.palette.mode==="light"&&(S.colorSchemes.light={...u.light!==!0&&u.light,palette:S.palette},sS(S,"dark",u.dark)),S.palette.mode==="dark"&&(S.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:S.palette},sS(S,"light",u.light)),S}return!n&&!("light"in u)&&p==="light"&&(u.light=!0),U3({...f,colorSchemes:u,defaultColorScheme:p,...typeof i!="boolean"&&i},...t)}const Tm=aS();function j3(){const e=Vh(Tm);return e[Ac]||e}function km(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Bn=Ub({themeId:Ac,defaultTheme:Tm,rootShouldForwardProp:e=>km(e)&&e!=="classes"});
23function F3(e){return te.jsx(SR,{...e,defaultTheme:Tm,themeId:Ac})}function B3(){return vm}const ci=KR;function pa(e){return $R(e)}function z3(e){return fa("MuiSvgIcon",e)}ha("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const H3=e=>{const{color:t,fontSize:n,classes:i}=e,a={root:["root",t!=="inherit"&&`color${mn(t)}`,`fontSize${mn(n)}`]};return Xa(a,z3,i)},$3=Bn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${mn(n.color)}`],t[`fontSize${mn(n.fontSize)}`]]}})(ci(({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:t=>!t.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(([,t])=>t&&t.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}}]}))),Mn=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiSvgIcon"}),{children:a,className:o,color:f="inherit",component:p="svg",fontSize:g="medium",htmlColor:u,inheritViewBox:y=!1,titleAccess:S,viewBox:x="0 0 24 24",...O}=i,L=B.isValidElement(a)&&a.type==="svg",R={...i,color:f,component:p,fontSize:g,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:x,hasSvgAsChild:L},V={};y||(V.viewBox=x);const K=H3(R);return te.jsxs($3,{as:p,className:_n(K.root,o),focusable:"false",color:u,"aria-hidden":S?void 0:!0,role:S?"img":void 0,ref:n,...V,...O,...L&&a.props,ownerState:R,children:[L?a.props.children:a,S?te.jsx("title",{children:S}):null]})});Mn.muiName="SvgIcon";function V3(e,t){function n(i,a){return te.jsx(Mn,{"data-testid":void 0,ref:a,...i,children:e})}return n.muiName=Mn.muiName,B.memo(B.forwardRef(n))}function Yo(e){return e&&e.ownerDocument||document}function q3(e){const{controlled:t,default:n}=e,{current:i}=B.useRef(t!==void 0),[a,o]=B.useState(n),f=i?t:a,p=B.useCallback(g=>{i||o(g)},[]);return[f,p]}function Za(e){const t=B.useRef(e);return bm(()=>{t.current=e}),B.useRef((...n)=>(0,t.current)(...n)).current}function su(...e){const t=B.useRef(void 0),n=B.useCallback(i=>{const a=e.map(o=>{if(o==null)return null;if(typeof o=="function"){const f=o,p=f(i);return typeof p=="function"?p:()=>{f(null)}}return o.current=i,()=>{o.current=null}});return()=>{a.forEach(o=>o?.())}},e);return B.useMemo(()=>e.every(i=>i==null)?null:i=>{t.current&&(t.current(),t.current=void 0),i!=null&&(t.current=n(i))},e)}function K3(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function Om(e,t){return Om=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Om(e,t)}function G3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Om(e,t)}const oS=Lt.createContext(null);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(e,t){var n=function(o){return t&&B.isValidElement(o)?t(o):o},i=Object.create(null);return e&&B.Children.map(e,function(a){return a}).forEach(function(a){i[a.key]=n(a)}),i}function Y3(e,t){e=e||{},t=t||{};function n(y){return y in t?t[y]:e[y]}var i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var f,p={};for(var g in t){if(i[g])for(f=0;f<i[g].length;f++){var u=i[g][f];p[i[g][f]]=n(u)}p[g]=n(g)}for(f=0;f<a.length;f++)p[a[f]]=n(a[f]);return p}function Xo(e,t,n){return n[t]!=null?n[t]:e.props[t]}function X3(e,t){return Rm(e.children,function(n){return B.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Xo(n,"appear",e),enter
23:Xo(n,"enter",e),exit:Xo(n,"exit",e)})})}function Z3(e,t,n){var i=Rm(e.children),a=Y3(t,i);return Object.keys(a).forEach(function(o){var f=a[o];if(B.isValidElement(f)){var p=o in t,g=o in i,u=t[o],y=B.isValidElement(u)&&!u.props.in;g&&(!p||y)?a[o]=B.cloneElement(f,{onExited:n.bind(null,f),in:!0,exit:Xo(f,"exit",e),enter:Xo(f,"enter",e)}):!g&&p&&!y?a[o]=B.cloneElement(f,{in:!1}):g&&p&&B.isValidElement(u)&&(a[o]=B.cloneElement(f,{onExited:n.bind(null,f),in:u.props.in,exit:Xo(f,"exit",e),enter:Xo(f,"enter",e)}))}}),a}var Q3=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},J3={component:"div",childFactory:function(t){return t}},Lm=(function(e){G3(t,e);function t(i,a){var o;o=e.call(this,i,a)||this;var f=o.handleExited.bind(W3(o));return o.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},o}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(a,o){var f=o.children,p=o.handleExited,g=o.firstRender;return{children:g?X3(a,p):Z3(a,f,p),firstRender:!1}},n.handleExited=function(a,o){var f=Rm(this.props.children);a.key in f||(a.props.onExited&&a.props.onExited(o),this.mounted&&this.setState(function(p){var g=Ql({},p.children);return delete g[a.key],{children:g}}))},n.render=function(){var a=this.props,o=a.component,f=a.childFactory,p=K3(a,["component","childFactory"]),g=this.state.contextValue,u=Q3(this.state.children).map(f);return delete p.appear,delete p.enter,delete p.exit,o===null?Lt.createElement(oS.Provider,{value:g},u):Lt.createElement(oS.Provider,{value:g},Lt.createElement(o,p,u))},t})(Lt.Component);Lm.propTypes={},Lm.defaultProps=J3;const lS={};function uS(e,t){const n=B.useRef(lS);return n.current===lS&&(n.current=e(t)),n}const eL=[];function tL(e){B.useEffect(e,eL)}class Im{static create(){return new Im}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function nL(){const e=uS(Im.create).current;return tL(e.disposeEffect),e}function jc(e){return typeof e=="string"}function cS(e,t,n){return e===void 0||jc(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function fS(e,t,n){return typeof e=="function"?e(t,n):e}function Zh(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!t.includes(i)).forEach(i=>{n[i]=e[i]}),n}function hS(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function dS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:i,externalForwardedProps:a,className:o}=e;if(!t){const O=_n(n?.className,o,a?.className,i?.className),L={...n?.style,...a?.style,...i?.style},R={...n,...a,...i};return O.length>0&&(R.className=O),Object.keys(L).length>0&&(R.style=L),{props:R,internalRef:void 0}}const f=Zh({...a,...i}),p=hS(i),g=hS(a),u=t(f),y=_n(u?.className,n?.className,o,a?.className,i?.className),S={...u?.style,...n?.style,...a?.style,...i?.style},x={...u,...n,...g,...p};return y.length>0&&(x.className=y),Object.keys(S).length>0&&(x.style=S),{props:x,internalRef:u.ref}}function Mm(e,t){const{className:n,elementType:i,ownerState:a,externalForwardedProps:o,internalForwardedProps:f,shouldForwardComponentProp:p=!1,...g}=t,{component:u,slots:y={[e]:void 0},slotProps:S={[e]:void 0},...x}=o,O=y[e]||i,L=fS(S[e],a),{props:{component:R,...V},internalRef:K}=dS({className:n,...g,externalForwardedProps:e==="root"?x:void 0,externalSlotProps:L}),se=su(K,L?.ref,t.ref),ne=e==="root"?R||u:R,J=cS(O,{...e==="root"&&!u&&!y[e]&&f,...e!=="root"&&!y[e]&&f,...V,...ne&&!p&&{as:ne},...ne&&p&&{component:ne},ref:se},a);return[O,J]}function Qh(e){try{return e.matches(":focus-visible")}catch{}return!1}class Jh{static create(){return new Jh}static use(){const t=uS(Jh.create).current,[n,i]=B.useState(!1);return t.shouldMount=n,t.setShouldMount=i,B.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=iL(),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(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function rL(){return Jh.use()}function iL(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});return n.resolve=e,n.reject=t,n}function sL(e){const{className:t,classes:n,pulsate:i=!1,rippleX:a,rippleY:o,rippleSize:f,in:p,onExited:g,timeout:u}=e,[y,S]=B.useState(!1),x=_n(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),O={width:f,height:f,top:-(f/2)+o,left:-(f/2)+a},L=_n(n.child,y&&n.childLeaving,i&&n.childPulsate);return!p&&!y&&S(!0),B.useEffect(()=>{if(!p&&g!=null){const R=setTimeout(g,u);return()=>{clearTimeout(R)}}},[g,p,u]),te.jsx("span",{className:x,style:O,children:te.jsx("span",{className:L})})}const Ui=ha("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Nm=550,aL=80,oL=nu`
24  0% {
25    transform: scale(0);
26    opacity: 0.1;
27  }
28
29  100% {
30    transform: scale(1);
31    opacity: 0.3;
32  }
33`,lL=nu`
34  0% {
35    opacity: 1;
36  }
37
38  100% {
39    opacity: 0;
40  }
41`,uL=nu`
42  0% {
43    transform: scale(1);
44  }
45
46  50% {
47    transform: scale(0.92);
48  }
49
50  100% {
51    transform: scale(1);
52  }
53`,cL=Bn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),fL=Bn(sL,{name:"MuiTouchRipple",slot:"Ripple"})`
54  opacity: 0;
55  position: absolute;
56
57  &.${Ui.rippleVisible} {
58    opacity: 0.3;
59    transform: scale(1);
60    animation-name: ${oL};
61    animation-duration: ${Nm}ms;
62    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
63  }
64
65  &.${Ui.ripplePulsate} {
66    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
67  }
68
69  & .${Ui.child} {
70    opacity: 1;
71    display: block;
72    width: 100%;
73    height: 100%;
74    border-radius: 50%;
75    background-color: currentColor;
76  }
77
78  & .${Ui.childLeaving} {
79    opacity: 0;
80    animation-name: ${lL};
81    animation-duration: ${Nm}ms;
82    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
83  }
84
85  & .${Ui.childPulsate} {
86    position: absolute;
87    /* @noflip */
88    left: 0px;
89    top: 0;
90    animation-name: ${uL};
91    animation-duration: 2500ms;
92    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
93    animation-iteration-count: infinite;
94    animation-delay: 200ms;
95  }
96`,hL=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:o={},className:f,...p}=i,[g,u]=B.useState([]),y=B.useRef(0),S=B.useRef(null);B.useEffect(()=>{S.current&&(S.current(),S.current=null)},[g]);const x=B.useRef(!1),O=nL(),L=B.useRef(null),R=B.useRef(null),V=B.useCallback(J=>{const{pulsate:X,rippleX:U,rippleY:Y,rippleSize:Ce,cb:oe}=J;u(_e=>[..._e,te.jsx(fL,{classes:{ripple:_n(o.ripple,Ui.ripple),rippleVisible:_n(o.rippleVisible,Ui.rippleVisible),ripplePulsate:_n(o.ripplePulsate,Ui.ripplePulsate),
96child:_n(o.child,Ui.child),childLeaving:_n(o.childLeaving,Ui.childLeaving),childPulsate:_n(o.childPulsate,Ui.childPulsate)},timeout:Nm,pulsate:X,rippleX:U,rippleY:Y,rippleSize:Ce},y.current)]),y.current+=1,S.current=oe},[o]),K=B.useCallback((J={},X={},U=()=>{})=>{const{pulsate:Y=!1,center:Ce=a||X.pulsate,fakeElement:oe=!1}=X;if(J?.type==="mousedown"&&x.current){x.current=!1;return}J?.type==="touchstart"&&(x.current=!0);const _e=oe?null:R.current,ge=_e?_e.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,ue,me;if(Ce||J===void 0||J.clientX===0&&J.clientY===0||!J.clientX&&!J.touches)I=Math.round(ge.width/2),ue=Math.round(ge.height/2);else{const{clientX:De,clientY:Z}=J.touches&&J.touches.length>0?J.touches[0]:J;I=Math.round(De-ge.left),ue=Math.round(Z-ge.top)}if(Ce)me=Math.sqrt((2*ge.width**2+ge.height**2)/3),me%2===0&&(me+=1);else{const De=Math.max(Math.abs((_e?_e.clientWidth:0)-I),I)*2+2,Z=Math.max(Math.abs((_e?_e.clientHeight:0)-ue),ue)*2+2;me=Math.sqrt(De**2+Z**2)}J?.touches?L.current===null&&(L.current=()=>{V({pulsate:Y,rippleX:I,rippleY:ue,rippleSize:me,cb:U})},O.start(aL,()=>{L.current&&(L.current(),L.current=null)})):V({pulsate:Y,rippleX:I,rippleY:ue,rippleSize:me,cb:U})},[a,V,O]),se=B.useCallback(()=>{K({},{pulsate:!0})},[K]),ne=B.useCallback((J,X)=>{if(O.clear(),J?.type==="touchend"&&L.current){L.current(),L.current=null,O.start(0,()=>{ne(J,X)});return}L.current=null,u(U=>U.length>0?U.slice(1):U),S.current=X},[O]);return B.useImperativeHandle(n,()=>({pulsate:se,start:K,stop:ne}),[se,K,ne]),te.jsx(cL,{className:_n(Ui.root,o.root,f),ref:R,...p,children:te.jsx(Lm,{component:null,exit:!0,children:g})})});function dL(e){return fa("MuiButtonBase",e)}const pL=ha("MuiButtonBase",["root","disabled","focusVisible"]),gL=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:a}=e,f=Xa({root:["root",t&&"disabled",n&&"focusVisible"]},dL,a);return n&&i&&(f.root+=` ${i}`),f},mL=Bn("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"},[`&.${pL.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vL=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:o=!1,children:f,className:p,component:g="button",disabled:u=!1,disableRipple:y=!1,disableTouchRipple:S=!1,focusRipple:x=!1,focusVisibleClassName:O,LinkComponent:L="a",onBlur:R,onClick:V,onContextMenu:K,onDragLeave:se,onFocus:ne,onFocusVisible:J,onKeyDown:X,onKeyUp:U,onMouseDown:Y,onMouseLeave:Ce,onMouseUp:oe,onTouchEnd:_e,onTouchMove:ge,onTouchStart:I,tabIndex:ue=0,TouchRippleProps:me,touchRippleRef:De,type:Z,...ke}=i,Ie=B.useRef(null),Fe=rL(),et=su(Fe.ref,De),[$,Te]=B.useState(!1);u&&$&&Te(!1),B.useImperativeHandle(a,()=>({focusVisible:()=>{Te(!0),Ie.current.focus()}}),[]);const ze=Fe.shouldMount&&!y&&!u;B.useEffect(()=>{$&&x&&!y&&Fe.pulsate()},[y,x,$,Fe]);const He=ga(Fe,"start",Y,S),nt=ga(Fe,"stop",K,S),Ve=ga(Fe,"stop",se,S),at=ga(Fe,"stop",oe,S),It=ga(Fe,"stop",rt=>{$&&rt.preventDefault(),Ce&&Ce(rt)},S),xt=ga(Fe,"start",I,S),Qn=ga(Fe,"stop",_e,S),Xe=ga(Fe,"stop",ge,S),Kt=ga(Fe,"stop",rt=>{Qh(rt.target)||Te(!1),R&&R(rt)},!1),Jt=Za(rt=>{Ie.current||(Ie.current=rt.currentTarget),Qh(rt.target)&&(Te(!0),J&&J(rt)),ne&&ne(rt)}),vn=()=>{const rt=Ie.current;return g&&g!=="button"&&!(rt.tagName==="A"&&rt.href)},kn=Za(rt=>{x&&!rt.repeat&&$&&rt.key===" "&&Fe.stop(rt,()=>{Fe.start(rt)}),rt.target===rt.currentTarget&&vn()&&rt.key===" "&&rt.preventDefault(),X&&X(rt),rt.target===rt.currentTarget&&vn()&&rt.key==="Enter"&&!u&&(rt.preventDefault(),V&&V(rt))}),ot=Za(rt=>{x&&rt.key===" "&&$&&!rt.defaultPrevented&&Fe.stop(rt,()=>{Fe.pulsate(rt)}),U&&U(rt),V&&rt.target===rt.currentTarget&&vn()&&rt.key===" "&&!rt.defaultPrevented&&V(rt)});let Tt=g;Tt==="button"&&(ke.href||ke.to)&&(Tt=L);const en={};if(Tt==="button"){const rt=!!ke.formAction;en.type=Z===void 0&&!rt?"button":Z,en.disabled=u}else!ke.href&&!ke.to&&(en.role="button"),u&&(en["aria-disabled"]=u);const $n=su(n,Ie),mr={...i,centerRipple:o,component:g,disabled:u,disableRipple:y,disableTouchRipple:S,focusRipple:x,tabIndex:ue,focusVisible:$},Yr=gL(mr);
96return te.jsxs(mL,{as:Tt,className:_n(Yr.root,p),ownerState:mr,onBlur:Kt,onClick:V,onContextMenu:nt,onFocus:Jt,onKeyDown:kn,onKeyUp:ot,onMouseDown:He,onMouseLeave:It,onMouseUp:at,onDragLeave:Ve,onTouchEnd:Qn,onTouchMove:Xe,onTouchStart:xt,ref:$n,tabIndex:u?-1:ue,type:Z,...en,...ke,children:[f,ze?te.jsx(hL,{ref:et,center:o,...me}):null]})});function ga(e,t,n,i=!1){return Za(a=>(n&&n(a),i||e[t](a),!0))}function yL(e){return typeof e.main=="string"}function bL(e,t=[]){if(!yL(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Zo(e=[]){return([,t])=>t&&bL(t,e)}function SL(e){return fa("MuiCircularProgress",e)}ha("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const as=44,Pm=nu`
97  0% {
98    transform: rotate(0deg);
99  }
100
101  100% {
102    transform: rotate(360deg);
103  }
104`,Dm=nu`
105  0% {
106    stroke-dasharray: 1px, 200px;
107    stroke-dashoffset: 0;
108  }
109
110  50% {
111    stroke-dasharray: 100px, 200px;
112    stroke-dashoffset: -15px;
113  }
114
115  100% {
116    stroke-dasharray: 1px, 200px;
117    stroke-dashoffset: -126px;
118  }
119`,wL=typeof Pm!="string"?Mh`
120        animation: ${Pm} 1.4s linear infinite;
121      `:null,_L=typeof Dm!="string"?Mh`
122        animation: ${Dm} 1.4s ease-in-out infinite;
123      `:null,EL=e=>{const{classes:t,variant:n,color:i,disableShrink:a}=e,o={root:["root",n,`color${mn(i)}`],svg:["svg"],track:["track"],circle:["circle",`circle${mn(n)}`,a&&"circleDisableShrink"]};return Xa(o,SL,t)},AL=Bn("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${mn(n.color)}`]]}})(ci(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:wL||{animation:`${Pm} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),xL=Bn("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),CL=Bn("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${mn(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(ci(({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:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:_L||{animation:`${Dm} 1.4s ease-in-out infinite`}}]}))),TL=Bn("circle",{name:"MuiCircularProgress",slot:"Track"})(ci(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),kL=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiCircularProgress"}),{className:a,color:o="primary",disableShrink:f=!1,enableTrackSlot:p=!1,size:g=40,style:u,thickness:y=3.6,value:S=0,variant:x="indeterminate",...O}=i,L={...i,color:o,disableShrink:f,size:g,thickness:y,value:S,variant:x,enableTrackSlot:p},R=EL(L),V={},K={},se={};if(x==="determinate"){const ne=2*Math.PI*((as-y)/2);V.strokeDasharray=ne.toFixed(3),se["aria-valuenow"]=Math.round(S),V.strokeDashoffset=`${((100-S)/100*ne).toFixed(3)}px`,K.transform="rotate(-90deg)"}return te.jsx(AL,{className:_n(R.root,a),style:{width:g,height:g,...K,...u},ownerState:L,ref:n,role:"progressbar",...se,...O,children:te.jsxs(xL,{className:R.svg,ownerState:L,viewBox:`${as/2} ${as/2} ${as} ${as}`,children:[p?te.jsx(TL,{className:R.track,ownerState:L,cx:as,cy:as,r:(as-y)/2,fill:"none",strokeWidth:y,"aria-hidden":"true"}):null,te.jsx(CL,{className:R.circle,style:V,ownerState:L,cx:as,cy:as,r:(as-y)/2,fill:"none",strokeWidth:y})]})})});function OL(e){return fa("MuiIconButton",e)}const pS=ha("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),RL=e=>{const{classes:t,disabled:n,color:i,edge:a,size:o,loading:f}=e,p={root:["root",f&&"loading",n&&"disabled",i!=="default"&&`color${mn(i)}`,a&&`edge${mn(a)}`,`size${mn(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Xa(p,OL,t)},LL=Bn(vL,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${mn(n.color)}`],n.edge&&t[`edge${mn(n.edge)}`],t[`size${mn(n.size)}`]]}})(ci(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),ci(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${pS.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${pS.loading}`]:{color:"transparent"}}))),IL=Bn("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Um=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiIconButton"}),{edge:a=!1,children:o,className:f,color:p="default",disabled:g=!1,disableFocusRipple:u=!1,size:y="medium",id:S,loading:x=null,loadingIndicator:O,...L}=i,R=qR(S),V=O??te.jsx(kL,{"aria-labelledby":R,color:"inherit",size:16}
123),K={...i,edge:a,color:p,disabled:g,disableFocusRipple:u,loading:x,loadingIndicator:V,size:y},se=RL(K);return te.jsxs(LL,{id:x?R:S,className:_n(se.root,f),centerRipple:!0,focusRipple:!u,disabled:g||x,ref:n,...L,ownerState:K,children:[typeof x=="boolean"&&te.jsx("span",{className:se.loadingWrapper,style:{display:"contents"},children:te.jsx(IL,{className:se.loadingIndicator,ownerState:K,children:x&&V})}),o]})});function ML(e){return fa("MuiTypography",e)}ha("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const NL={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},PL=B3(),DL=e=>{const{align:t,gutterBottom:n,noWrap:i,paragraph:a,variant:o,classes:f}=e,p={root:["root",o,e.align!=="inherit"&&`align${mn(t)}`,n&&"gutterBottom",i&&"noWrap",a&&"paragraph"]};return Xa(p,ML,f)},UL=Bn("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${mn(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(ci(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${mn(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),gS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},jL=B.forwardRef(function(t,n){const{color:i,...a}=pa({props:t,name:"MuiTypography"}),o=!NL[i],f=PL({...a,...o&&{color:i}}),{align:p="inherit",className:g,component:u,gutterBottom:y=!1,noWrap:S=!1,paragraph:x=!1,variant:O="body1",variantMapping:L=gS,...R}=f,V={...f,align:p,color:i,className:g,component:u,gutterBottom:y,noWrap:S,paragraph:x,variant:O,variantMapping:L},K=u||(x?"p":L[O]||gS[O])||"span",se=DL(V);return te.jsx(UL,{as:K,ref:n,className:_n(se.root,g),...R,ownerState:V,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...R.style}})});function Qa(e){const{elementType:t,externalSlotProps:n,ownerState:i,skipResolvingSlotProps:a=!1,...o}=e,f=a?{}:fS(n,i),{props:p,internalRef:g}=dS({...o,externalSlotProps:f}),u=su(g,f?.ref,e.additionalProps?.ref);return cS(t,{...p,ref:u},i)}function FL(e){return parseInt(B.version,10)>=19?e?.props?.ref||null:e?.ref||null}const BL=V3(te.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));function zL(e){return fa("MuiAvatar",e)}ha("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const HL=e=>{const{classes:t,variant:n,colorDefault:i}=e;return Xa({root:["root",n,i&&"colorDefault"],img:["img"],fallback:["fallback"]},zL,t)},$L=Bn("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(ci(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),VL=Bn("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),qL=Bn(BL,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function KL({crossOrigin:e,referrerPolicy:t,src:n,srcSet:i}){const[a,o]=B.useState(!1);return B.useEffect(()=>{if(!n&&!i)return;o(!1);let f=!0;const p=new Image;return p.onload=()=>{f&&o("loaded")},p.onerror=()=>{f&&o("error")},p.crossOrigin=e,p.referrerPolicy=t,p.src=n,i&&(p.srcset=i),()=>{f=!1}},[e,t,n,i]),a}const GL=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiAvatar"}),{alt:a,children:o,className:f,component:p="div",slots:g={},slotProps:u={},imgProps:y,sizes:S,src:x,srcSet:O,variant:L="circular",...R}=i;let V=null;const K={...i,component:p,variant:L},se=KL({...y,...typeof u.img=="function"?u.img(K):u.img,src:x,srcSet:O}),ne=x||O,J=ne&&se!=="error";K.colorDefault=!J,delete K.ownerState;const X=HL(K),[U,Y]=Mm("root",{ref:n,className:_n(X.root,f),elementType:$L,externalForwardedProps:{slots:g,slotProps:u,component:p,...R},ownerState:K}),[Ce,oe]=Mm("img",{className:X.img,elementType:VL,externalForwardedProps:{slots:g,slotProps:{img:{...y,...u.img}}},additionalProps:{alt:a,src:x,srcSet:O,sizes:S},ownerState:K}),[_e,ge]=Mm("fallback",{className:X.fallback,elementType:qL,externalForwardedProps:{slots:g,slotProps:u},shouldForwardComponentProp:!0,ownerState:K});return J?V=te.jsx(Ce,{...oe}):o||o===0?V=o:ne&&a?V=a[0]:V=te.jsx(_e,{...ge}),te.jsx(U,{...Y,children:V})}),WL=ha("MuiBox",["root"]),YL=aS(),mS=_R({themeId:Ac,defaultTheme:YL,defaultClassName:WL.root,generateClassName:Mb.generate});function vS(e){return e.substring(2).toLowerCase()}function XL(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function ZL(e){const{children:t,disableReactTree:n=!1,mouseEvent:i="onClick",onClickAway:a,touchEvent:o="onTouchEnd"}=e,f=B.useRef(!1),p=B.useRef(null),g=B.useRef(!1),u=B.useRef(!1);B.useEffect(()=>(setTimeout(()=>{g.current=!0},0),()=>{g.current=!1}),[]);const y=su(FL(t),p),S=Za(L=>{const R=u.current;u.current=!1;const V=Yo(p.current);if(!g.current||!p.current||"clientX"in L&&XL(L,V))return;if(f.current){f.current=!1;return}let K;L.composedPath?K=L.composedPath().includes(p.current):K=!V.documentElement.contains(L.target)||p.current.contains(L.target),!K&&(n||!R)&&a(L)}),x=L=>R=>{u.current=!0;const V=t.props[L];V&&V(R)},O={ref:y};return o!==!1&&(O[o]=x(o)),B.useEffect(()=>{if(o!==!1){const L=vS(o),R=Yo(p.current),V=()=>{f.current=!0};return R.addEventListener(L,S),R.addEventListener("touchmove",V),()=>{R.removeEventListener(L,S),R.removeEventListener("touchmove",V)}}},[S,o]),i!==!1&&(O[i]=x(i)),B.useEffect(()=>{if(i!==!1){const L=vS(i),R=Yo(p.current);return R.addEventListener(L,S),()=>{R.removeEventListener(L,S)}}},[S,i]),B.cloneElement(t,O)}const QL={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function JL(e,t,n=(i,a)=>i===a){return e.length===t.length&&e.every((i,a)=>n(i,t[a]))}const e4=2;function au(e,t,n,i,a){return n===1?Math.min(e+t,a):Math.max(e-t,i)}function yS(e,t){return e-t}function bS(e,t){const{index:n}=e.reduce((i,a,o)=>{const f=Math.abs(t-a);return i===null||f<i.distance||f===i.distance?{distance:f,index:o}:i},null)??{};return n}function ed(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let i=0;i<n.changedTouches.length;i+=1){const a=n.changedTouches[i];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function td(e,t,n){return(e-t)*100/(n-t)}function t4(e,t,n){return(n-t)*e+t}function n4(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),i=n[0].split(".")[1];return(i?i.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function r4(e,t,n){const i=Math.round((e-n)/t)*t+n;return Number(i.toFixed(n4(t)))}
123function SS({values:e,newValue:t,index:n}){const i=e.slice();return i[n]=t,i.sort(yS)}function nd({sliderRef:e,activeIndex:t,setActive:n}){const i=Yo(e.current);(!e.current?.contains(i.activeElement)||Number(i?.activeElement?.getAttribute("data-index"))!==t)&&e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),n&&n(t)}function rd(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?JL(e,t):!1}const i4={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},s4=e=>e;let id;function wS(){return id===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?id=CSS.supports("touch-action","none"):id=!0),id}function a4(e){const{"aria-labelledby":t,defaultValue:n,disabled:i=!1,disableSwap:a=!1,isRtl:o=!1,marks:f=!1,max:p=100,min:g=0,name:u,onChange:y,onChangeCommitted:S,orientation:x="horizontal",rootRef:O,scale:L=s4,step:R=1,shiftStep:V=10,tabIndex:K,value:se}=e,ne=B.useRef(void 0),[J,X]=B.useState(-1),[U,Y]=B.useState(-1),[Ce,oe]=B.useState(!1),_e=B.useRef(0),ge=B.useRef(null),[I,ue]=q3({controlled:se,default:n??g}),me=y&&((qe,Ke,mt)=>{const _t=qe.nativeEvent||qe,kt=new _t.constructor(_t.type,_t);Object.defineProperty(kt,"target",{writable:!0,value:{value:Ke,name:u}}),ge.current=Ke,y(kt,Ke,mt)}),De=Array.isArray(I);let Z=De?I.slice().sort(yS):[I];Z=Z.map(qe=>qe==null?g:iu(qe,g,p));const ke=f===!0&&R!==null?[...Array(Math.floor((p-g)/R)+1)].map((qe,Ke)=>({value:g+R*Ke})):f||[],Ie=ke.map(qe=>qe.value),[Fe,et]=B.useState(-1),$=B.useRef(null),Te=su(O,$),ze=qe=>Ke=>{const mt=Number(Ke.currentTarget.getAttribute("data-index"));
123Qh(Ke.target)&&et(mt),Y(mt),qe?.onFocus?.(Ke)},He=qe=>Ke=>{Qh(Ke.target)||et(-1),Y(-1),qe?.onBlur?.(Ke)},nt=(qe,Ke)=>{const mt=Number(qe.currentTarget.getAttribute("data-index")),_t=Z[mt],kt=Ie.indexOf(_t);let bt=Ke;if(ke&&R==null){const on=Ie[Ie.length-1];bt>=on?bt=on:bt<=Ie[0]?bt=Ie[0]:bt=bt<_t?Ie[kt-1]:Ie[kt+1]}if(bt=iu(bt,g,p),De){a&&(bt=iu(bt,Z[mt-1]||-1/0,Z[mt+1]||1/0));const on=bt;bt=SS({values:Z,newValue:bt,index:mt});let On=mt;a||(On=bt.indexOf(on)),nd({sliderRef:$,activeIndex:On})}ue(bt),et(mt),me&&!rd(bt,I)&&me(qe,bt,mt),S&&S(qe,ge.current??bt)},Ve=qe=>Ke=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(Ke.key)){Ke.preventDefault();const mt=Number(Ke.currentTarget.getAttribute("data-index")),_t=Z[mt];let kt=null;if(R!=null){const bt=Ke.shiftKey?V:R;switch(Ke.key){case"ArrowUp":kt=au(_t,bt,1,g,p);break;case"ArrowRight":kt=au(_t,bt,o?-1:1,g,p);break;case"ArrowDown":kt=au(_t,bt,-1,g,p);break;case"ArrowLeft":kt=au(_t,bt,o?1:-1,g,p);break;case"PageUp":kt=au(_t,V,1,g,p);break;case"PageDown":kt=au(_t,V,-1,g,p);break;case"Home":kt=g;break;case"End":kt=p;break}}else if(ke){const bt=Ie[Ie.length-1],on=Ie.indexOf(_t),On=[o?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],gt=[o?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];On.includes(Ke.key)?on===0?kt=Ie[0]:kt=Ie[on-1]:gt.includes(Ke.key)&&(on===Ie.length-1?kt=bt:kt=Ie[on+1])}kt!=null&&nt(Ke,kt)}qe?.onKeyDown?.(Ke)};bm(()=>{i&&$.current.contains(document.activeElement)&&document.activeElement?.blur()},[i]),i&&J!==-1&&X(-1),i&&Fe!==-1&&et(-1);const at=qe=>Ke=>{qe.onChange?.(Ke),nt(Ke,Ke.target.valueAsNumber)},It=B.useRef(void 0);let xt=x;o&&x==="horizontal"&&(xt+="-reverse");const Qn=({finger:qe,move:Ke=!1})=>{const{current:mt}=$,{width:_t,height:kt,bottom:bt,left:on}=mt.getBoundingClientRect();let On;xt.startsWith("vertical")?On=(bt-qe.y)/kt:On=(qe.x-on)/_t,xt.includes("-reverse")&&(On=1-On);let gt;if(gt=t4(On,g,p),R)gt=r4(gt,R,g);else{const vr=bS(Ie,gt);gt=Ie[vr]}gt=iu(gt,g,p);let ln=0;if(De){Ke?ln=It.current:ln=bS(Z,gt),a&&(gt=iu(gt,Z[ln-1]||-1/0,Z[ln+1]||1/0));const vr=gt;gt=SS({values:Z,newValue:gt,index:ln}),a&&Ke||(ln=gt.indexOf(vr),It.current=ln)}return{newValue:gt,activeIndex:ln}},Xe=Za(qe=>{const Ke=ed(qe,ne);if(!Ke)return;if(_e.current+=1,qe.type==="mousemove"&&qe.buttons===0){Kt(qe);return}const{newValue:mt,activeIndex:_t}=Qn({finger:Ke,move:!0});nd({sliderRef:$,activeIndex:_t,setActive:X}),ue(mt),!Ce&&_e.current>e4&&oe(!0),me&&!rd(mt,I)&&me(qe,mt,_t)}),Kt=Za(qe=>{const Ke=ed(qe,ne);if(oe(!1),!Ke)return;const{newValue:mt}=Qn({finger:Ke,move:!0});X(-1),qe.type==="touchend"&&Y(-1),S&&S(qe,ge.current??mt),ne.current=void 0,vn()}),Jt=Za(qe=>{if(i)return;wS()||qe.preventDefault();const Ke=qe.changedTouches[0];Ke!=null&&(ne.current=Ke.identifier);const mt=ed(qe,ne);if(mt!==!1){const{newValue:kt,activeIndex:bt}=Qn({finger:mt});nd({sliderRef:$,activeIndex:bt,setActive:X}),ue(kt),me&&!rd(kt,I)&&me(qe,kt,bt)}_e.current=0;const _t=Yo($.current);_t.addEventListener("touchmove",Xe,{passive:!0}),_t.addEventListener("touchend",Kt,{passive:!0})}),vn=B.useCallback(()=>{const qe=Yo($.current);qe.removeEventListener("mousemove",Xe),qe.removeEventListener("mouseup",Kt),qe.removeEventListener("touchmove",Xe),qe.removeEventListener("touchend",Kt)},[Kt,Xe]);B.useEffect(()=>{const{current:qe}=$;return qe.addEventListener("touchstart",Jt,{passive:wS()}),()=>{qe.removeEventListener("touchstart",Jt),vn()}},[vn,Jt]),B.useEffect(()=>{i&&vn()},[i,vn]);const kn=qe=>Ke=>{if(qe.onMouseDown?.(Ke),i||Ke.defaultPrevented||Ke.button!==0)return;Ke.preventDefault();const mt=ed(Ke,ne);if(mt!==!1){const{newValue:kt,activeIndex:bt}=Qn({finger:mt});nd({sliderRef:$,activeIndex:bt,setActive:X}),ue(kt),me&&!rd(kt,I)&&me(Ke,kt,bt)}_e.current=0;const _t=Yo($.current);_t.addEventListener("mousemove",Xe,{passive:!0}),_t.addEventListener("mouseup",Kt)},ot=td(De?Z[0]:g,g,p),Tt=td(Z[Z.length-1],g,p)-ot,en=(qe={})=>{const Ke=Zh(qe),mt={onMouseDown:kn(Ke||{})},_t={...Ke,...mt};return{...qe,ref:Te,..._t}},$n=qe=>Ke=>{qe.onMouseOver?.(Ke);const mt=Number(Ke.currentTarget.getAttribute("data-index"));Y(mt)},mr=qe=>Ke=>{qe.onMouseLeave?.(Ke),Y(-1)},Yr=(qe={})=>{const Ke=Zh(qe),mt={onMouseOver:$n(Ke||{}),onMouseLeave:mr(Ke||{})};return{...qe,...Ke,...mt}},rt=qe=>({pointerEvents:J!==-1&&J!==qe?"none":void 0});let Ze;return x==="vertical"&&(Ze=o?"vertical-rl":"vertical-lr"),{active:J,axis:xt,axisProps:i4,dragging:Ce,focu
123sedThumbIndex:Fe,getHiddenInputProps:(qe={})=>{const Ke=Zh(qe),mt={onChange:at(Ke||{}),onFocus:ze(Ke||{}),onBlur:He(Ke||{}),onKeyDown:Ve(Ke||{})},_t={...Ke,...mt};return{tabIndex:K,"aria-labelledby":t,"aria-orientation":x,"aria-valuemax":L(p),"aria-valuemin":L(g),name:u,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:i,...qe,..._t,style:{...QL,direction:o?"rtl":"ltr",width:"100%",height:"100%",writingMode:Ze}}},getRootProps:en,getThumbProps:Yr,marks:ke,open:U,range:De,rootRef:Te,trackLeap:Tt,trackOffset:ot,values:Z,getThumbStyle:rt}}const o4=e=>!e||!jc(e);function l4(e){return fa("MuiSlider",e)}const ji=ha("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),u4=e=>{const{open:t}=e;return{offset:_n(t&&ji.valueLabelOpen),circle:ji.valueLabelCircle,label:ji.valueLabelLabel}};function c4(e){const{children:t,className:n,value:i}=e,a=u4(e);return t?B.cloneElement(t,{className:t.props.className},te.jsxs(B.Fragment,{children:[t.props.children,te.jsx("span",{className:_n(a.offset,n),"aria-hidden":!0,children:te.jsx("span",{className:a.circle,children:te.jsx("span",{className:a.label,children:i})})})]})):null}function _S(e){return e}const f4=Bn("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${mn(n.color)}`],n.size!=="medium"&&t[`size${mn(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(ci(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${ji.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${ji.dragging}`]:{[`& .${ji.thumb}, & .${ji.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),h4=Bn("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),d4=Bn("span",{name:"MuiSlider",slot:"Track"})(ci(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),p4=Bn("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${mn(n.color)}`],n.size!=="medium"&&t[`thumbSize${mn(n.size)}`]]}})(ci(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,he
vendor: 4,773 bytes, line 123
123ight:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${ji.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(Zo()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${ji.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${ji.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),g4=Bn(c4,{name:"MuiSlider",slot:"ValueLabel"})(ci(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${ji.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${ji.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),m4=Bn("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>km(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(ci(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),v4=Bn("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>km(e)&&e!=="markLabelActive"})(ci(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),y4=e=>{const{disabled:t,dragging:n,marked:i,orientation:a,track:o,classes:f,color:p,size:g}=e,u={root:["root",t&&"disabled",n&&"dragging",i&&"marked",a==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",p&&`color${mn(p)}`,g&&`size${mn(g)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",g&&`thumbSize${mn(g)}`,p&&`thumbColor${mn(p)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Xa(u,l4,f)},b4=({children:e})=>e,S4=B.forwardRef(function(t,n){const i=pa({props:t,name:"MuiSlider"}),a=BR(),{"aria-label":o,"aria-valuetext":f,"aria-labelledby":p,component:g="span",components:u={},componentsProps:y={},color:S="primary",classes:x,className:O,disableSwap:L=!1,disabled:R=!1,getAriaLabel:V,getAriaValueText:K,marks:se=!1,max:ne=100,min:J=0,name:X,onChange:U,onChangeCommitted:Y,orientation:Ce="horizontal",shiftStep:oe=10,size:_e="medium",step:ge=1,scale:I=_S,slotProps:ue,slots:me,tabIndex:De,track:Z="normal",value:ke,valueLabelDisplay:Ie="off",valueLabelFormat:Fe=_S,...et}=i,$={...i,isRtl:a,max:ne,min:J,classes:x,disabled:R,disableSwap:L,orientation:Ce,marks:se,color:S,size:_e,step:ge,shiftStep:oe,scale:I,track:Z,valueLabelDisplay:Ie,valueLabelFormat:Fe},{axisProps:Te,getRootProps:ze,getHiddenInputProps:He,getThumbProps:nt,open:Ve,active:at,axis:It,focusedThumbIndex:xt,range:Qn,dragging:Xe,marks:Kt,values:Jt,trackOffset:vn,trackLeap:kn,getThumbStyle:ot}=a4({...$,rootRef:n});$.marked=Kt.length>0&&Kt.some(wt=>wt.label),$.dragging=Xe,$.focusedThumbIndex=xt;
123const Tt=y4($),en=me?.root??u.Root??f4,$n=me?.rail??u.Rail??h4,mr=me?.track??u.Track??d4,Yr=me?.thumb??u.Thumb??p4,rt=me?.valueLabel??u.ValueLabel??g4,Ze=me?.mark??u.Mark??m4,Ot=me?.markLabel??u.MarkLabel??v4,qe=me?.input??u.Input??"input",Ke=ue?.root??y.root,mt=ue?.rail??y.rail,_t=ue?.track??y.track,kt=ue?.thumb??y.thumb,bt=ue?.valueLabel??y.valueLabel,on=ue?.mark??y.mark,On=ue?.markLabel??y.markLabel,gt=ue?.input??y.input,ln=Qa({elementType:en,getSlotProps:ze,externalSlotProps:Ke,externalForwardedProps:et,additionalProps:{...o4(en)&&{as:g}},ownerState:{...$,...Ke?.ownerState},className:[Tt.root,O]}),vr=Qa({elementType:$n,externalSlotProps:mt,ownerState:$,className:Tt.rail}),Pn=Qa({elementType:mr,externalSlotProps:_t,additionalProps:{style:{...Te[It].offset(vn),...Te[It].leap(kn)}},ownerState:{...$,..._t?.ownerState},className:Tt.track}),Ps=Qa({elementType:Yr,getSlotProps:nt,externalSlotProps:kt,ownerState:{...$,...kt?.ownerState},className:Tt.thumb}),eo=Qa({elementType:rt,externalSlotProps:bt,ownerState:{...$,...bt?.ownerState},className:Tt.valueLabel}),Me=Qa({elementType:Ze,externalSlotProps:on,ownerState:$,className:Tt.mark}),St=Qa({elementType:Ot,externalSlotProps:On,ownerState:$,className:Tt.markLabel}),Mt=Qa({elementType:qe,getSlotProps:He,externalSlotProps:gt,ownerState:$});return te.jsxs(en,{...ln,children:[te.jsx($n,{...vr}),te.jsx(mr,{...Pn}),Kt.filter(wt=>wt.value>=J&&wt.value<=ne).map((wt,it)=>{const Vt=td(wt.value,J,ne),sr=Te[It].offset(Vt);let Be;return Z===!1?Be=Jt.includes(wt.value):Be=Z==="normal"&&(Qn?wt.value>=Jt[0]&&wt.value<=Jt[Jt.length-1]:wt.value<=Jt[0])||Z==="inverted"&&(Qn?wt.value<=Jt[0]||wt.value>=Jt[Jt.length-1]:wt.value>=Jt[0]),te.jsxs(B.Fragment,{children:[te.jsx(Ze,{"data-index":it,...Me,...!jc(Ze)&&{markActive:Be},style:{...sr,...Me.style},className:_n(Me.className,Be&&Tt.markActive)}),wt.label!=null?te.jsx(Ot,{"aria-hidden":!0,"data-index":it,...St,...!jc(Ot)&&{markLabelActive:Be},style:{...sr,...St.style},className:_n(Tt.markLabel,St.className,Be&&Tt.markLabelActive),children:wt.label}):null]},it)}),Jt.map((wt,it)=>{const Vt=td(wt,J,ne),sr=Te[It].offset(Vt),Be=Ie==="off"?b4:rt;return te.jsx(Be,{...!jc(Be)&&{valueLabelFormat:Fe,valueLabelDisplay:Ie,value:typeof Fe=="function"?Fe(I(wt),it):Fe,index:it,open:Ve===it||at===it||Ie==="on",disabled:R},...eo,children:te.jsx(Yr,{"data-index":it,...Ps,className:_n(Tt.thumb,Ps.className,at===it&&Tt.active,xt===it&&Tt.focusVisible),style:{...sr,...ot(it),...Ps.style},children:te.jsx(qe,{"data-index":it,"aria-label":V?V(it):o,"aria-valuenow":I(wt),"aria-labelledby":p,"aria-valuetext":K?K(I(wt),it):f,value:Jt[it],...Mt})})},it)})]})}),ES=i3({createStyledComponent:Bn("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>pa({props:e,name:"MuiStack"})}),w4=Bb({themeId:Ac}),_4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M27 11H5a1 1 0 0 1-.537-1.844l11-7a1 1 0 0 1 1.074 0l11 7A1 1 0 0 1 27 11zM8.434 9h15.132L16 4.186zM28 30H4a1 1 0 0 1 0-2h24a1 1 0 0 1 0 2zM26 26H6a1 1 0 0 1 0-2h20a1 1 0 0 1 0 2zM8 22a1 1 0 0 1-1-1v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-1 1zM12 22a1 1 0 0 1-1-1v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-1 1zM16 22a1 1 0 0 1-1-1v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-1 1zM20 22a1 1 0 0 1-1-1v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-1 1zM24 22a1 1 0 0 1-1-1v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-1 1z"})})),E4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M20 9H4a1 1 0 0 1-.53-1.848l8-5a1 1 0 0 1 1.06 0l8 5A1 1 0 0 1 20 9zM7.486 7h9.028L12 4.179zM6 16a1 1 0 0 1-1-1v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1zM10 16a1 1 0 0 1-1-1v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1zM14 16a1 1 0 0 1-1-1v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1zM18 16a1 1 0 0 1-1-1v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1zM19 19H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zM21 22H3a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2z"})})),A4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M2 9.683h4.581c3.445 0 4.1 2.179 4.1 3.184a2.949 2.949 0 0 1-1.453 2.766 3.13 3.13 0 0 1 2.346 3.22c0 2.365-1.666 4.078-4.9 4.078H2Zm3.93 5.18c1.778 0 1.982
123-.98 1.982-1.657 0-1-.84-1.378-1.982-1.378H4.66v3.035Zm.362 5.914c1.928 0 2.441-.9 2.441-1.91 0-1.4-1-1.852-2.533-1.852H4.66v3.762ZM12.811 9.683h2.868c.493 2.225 1.228 5.112 2.263 8.96l2.328-8.649h2.4l2.347 8.7a85.116 85.116 0 0 0 2.216-9.013H30a89.147 89.147 0 0 1-1.043 4.348 75.754 75.754 0 0 1-2.905 8.9h-2.328l-2.309-9.166-2.31 9.172h-2.346a116.644 116.644 0 0 1-3.948-13.252Z"})})),x4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M2 7.078h3.272c2.461 0 2.928 1.556 2.928 2.274a2.107 2.107 0 0 1-1.038 1.976 2.236 2.236 0 0 1 1.676 2.3c0 1.689-1.19 2.913-3.5 2.913H2Zm2.807 3.7c1.27 0 1.416-.7 1.416-1.184 0-.711-.6-.984-1.416-.984H3.9v2.168Zm.259 4.224c1.377 0 1.743-.645 1.743-1.364 0-1-.712-1.323-1.809-1.323H3.9v2.687ZM9.722 7.078h2.049c.352 1.589.877 3.651 1.616 6.4L15.05 7.3h1.716l1.676 6.212a60.765 60.765 0 0 0 1.583-6.438H22c-.18.871-.432 1.909-.745 3.106a54.144 54.144 0 0 1-2.075 6.358h-1.663l-1.649-6.547-1.65 6.551h-1.676a83.458 83.458 0 0 1-2.82-9.464Z"})})),C4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M6.04 20.883a4.549 4.549 0 0 0 3.676-1.333 5.4 5.4 0 0 0 1.559-4A5.481 5.481 0 0 0 9.7 11.4a5.222 5.222 0 0 0-4.024-1.286H2v10.769Zm-.348-2.362H4.633v-6.088h1.044a2.711 2.711 0 0 1 2.98 3.029c0 2.12-.953 3.059-2.965 3.059Zm12.286 2.362-2.815-4.664v4.664h-2.647V10.117h2.647v5.072l3.178-5.072h2.92l-3.54 5.483 3.434 5.285Zm4.517 0V10.117h3.677c2.193 0 3.328.954 3.328 2.65a2.3 2.3 0 0 1-1.346 2.3A2.353 2.353 0 0 1 30 17.552a3.344 3.344 0 0 1-1.044 2.529c-.788.711-1.77.8-3.193.8Zm2.542-2.256h.893c1 0 1.468-.242 1.468-1.121 0-.907-.469-1.149-1.513-1.149h-.848Zm0-4.33h.635c.984 0 1.437-.212 1.437-.909s-.393-1.014-1.21-1.014h-.862Z"})})),T4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M4.88 15.85a3.3 3.3 0 0 0 2.63-.95c.75-.76 1.15-1.79 1.11-2.86A3.92 3.92 0 0 0 7.5 9.08a3.73 3.73 0 0 0-2.87-.92H2v7.69h2.88Zm-.24-1.69h-.76V9.81h.75c1.06-.11 2.02.65 2.13 1.72.02.15.01.3 0 .44 0 1.51-.68 2.18-2.12 2.18Zm8.77 1.69-2.01-3.33v3.33H9.51V8.16h1.89v3.62l2.27-3.62h2.09l-2.53 3.92 2.45 3.77h-2.27Zm3.23 0V8.16h2.63c1.57 0 2.38.68 2.38 1.89.06.7-.32 1.36-.96 1.64.82.18 1.38.94 1.32 1.77.02.68-.25 1.34-.75 1.81-.56.51-1.26.57-2.28.57h-2.33Zm1.81-1.61h.64c.71 0 1.05-.17 1.05-.8s-.33-.82-1.08-.82h-.61v1.62Zm0-3.09h.45c.7 0 1.03-.15 1.03-.65s-.28-.72-.86-.72h-.62v1.37Z"})})),k4=e=>Lt.createElement(Mn,e,te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:[te.jsx("path",{fill:"var(--brand-01-sk)",d:"M7 15.34H5.48v4.9h3.44v-1.2H7v-3.7zM17.23 17.41c-.44-.19-.91-.33-1.39-.39-.19-.04-.54-.09-.54-.35s.29-.31.49-.31c.35-.04.68.16.79.49l1.24-.38a1.932 1.932 0 0 0-1.97-1.2c-.5-.02-.99.11-1.41.37-.39.29-.63.74-.63 1.23 0 1.16 1.09 1.41 2.01 1.59.21.04.55.09.6.35v.05c0 .27-.39.3-.58.3-.31.03-.61-.1-.79-.35a.88.88 0 0 1-.11-.24l-1.33.23h-.07c.27.98 1.2 1.62 2.21 1.51.97 0 2.09-.43 2.18-1.5v-.15c.02-.52-.27-1.01-.73-1.25ZM12.41 17.7v-.02c.49-.11.84-.56.83-1.06 0-.41-.19-.79-.52-1.03-.32-.19-.69-.28-1.06-.25H9.27v4.9h2.24c.47.05.94-.05 1.35-.28.34-.29.52-.71.5-1.16 0-.56-.4-1.03-.95-1.1Zm-1.77-1.32h.58c.29 0 .59.05.59.41 0 .12-.05.24-.14.32a.61.61 0 0 1-.42.09h-.61v-.83Zm1.26 2.42a.49.49 0 0 1-.17.25.65.65 0 0 1-.43.09h-.65v-.89h.59c.15-.01.3.01.44.06.15.07.24.22.24.39v.09Z"}),te.jsx("path",{d:"M29.98 12.6c-.11-.08-.23-.15-.35-.2-.96-.4-2-.57-3.03-.51-1.12 0-2.23.21-3.28.61-1.24.46-2.4 1.08-3.47 1.85a13.892 13.892 0 0 0-8.11-2.65c-3.63-.03-7.12 1.37-9.72 3.91-.04.04-.02.06.04.01a15.17 15.17 0 0 1 8.99-3.11c2.86 0 5.26.6 8.79 3.17.68-.57 1.4-1.09 2.16-1.56 1-.67 2.09-1.18 3.24-1.51 1.42-.37 2.92-.4 4.35-.07.09.02.19.05.33.09.09.03.08 0 .05-.02Z",fill:"var(--brand-01-sk)"})]})),O4=e=>Lt.createElement(Mn,e,te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[te.jsx("path",{fill:"var(--brand-01-sk)",d:"M5.57 11.52H4.49v3.5h2.45v-.86H5.57v-2.64zM21.98 9.57v.01h.01l-.01-.01z"}),te.jsx("path",{d:"M21.74 9.43c-.68-.29-1.42-.41-2.16-.37-.8.01-1.59.16-2.34.44-.88.33-1.72.77-2.48 1.32a9.895 9.895 0 0 0-5.79-1.89c-2.59-.02-5.09.98-6.94 2.79-.03.02-.01.03.03 0 1.85-1.41 4.1-2.19 6.42-2.22 2.03 0 3.75.42 6.27 2.26.48-.41 1-.78 1.54-1.11a8.26 8.26 0 0 1 2.31-1.08 6.42 6.42 0 0 1 3.34.01c.05.02.05 0 .04 0-.08-.06-.16-.11-.24-.15Z",fill:"var(--brand-01-sk)"}),te.jsx("path",{d:"M12.88 13a3.85 3.85 0 0 0-.99-.28c-.13-.03-.39-.07-.39-.25s.2-.22.35-.22c.25-.03.48.12.57.35l.89-.27a1.4 1.4 0 0 0-1.41-.86c-.35 0-.7.08-1 .27-.28.2-.45.53-.45.88 0 .83.78 1.01 1.44 1.14.15.03.39.07.43.25v.04c0 .19-.28.21-.41.21a.613.613 0 0 1-.56-.25.886.886 0 0 1-.08-.17l-.95.17v-.02h-.06c.19.7.86 1.15 1.58 1.07.69 0 1.49-.31 1.56-1.07v-.1a.972.972 0 0 0-.52-.89ZM9.43 13.2c.35-.09.6-.41.59-.77 0-.29-.14-.57-.37-.74-.23-.14-.49-.2-.75-.18H7.19v3.5h1.6c.33.03.67-.04.96-.2.24-.2.37-.51.36-.82 0-.4-.29-.73-.68-.79Zm-1.26-.93h.42c.2 0 .42.04.42.3 0 .09-.04.17-.1.23-.09.06-.2.08-.3.07h-.44v-.6Zm.91 1.74v-.02c-.03.07-.07.13-.13.18-.09.06-.2.08-.31.07h-.46v-.63h.42c.11 0 .21 0 .31.05s.17.16.17.28v.07Z",fill:"var(--brand-01-sk)"})]})),R4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{className:"ic_nordlb_m_svg__a",d:"M2.753 2h6.895L22.28 19.119h.07V2h6.897v28H22.35L9.718 12.842h-.07V30H2.753V2"})})),L4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M2.54 2h4.92l9.03 12.23h.05V2h4.92v20h-4.92L7.51 9.74h-.05V22H2.54V2z"})})),I4=e=>Lt.createElement(Mn,e,te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[te.jsx("path",{d:"M12 22a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10zm0-18a8 8 0 1 0 8 8 8.009 8.009 0 0 0-8-8z"}),te.jsx("rect",{x:8,y:8,width:3,height:8,rx:1}),te.jsx("rect",{x:13,y:8,width:3,height:8,rx:1})]})),M4=e=>Lt.createElement(Mn,e,te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[te.jsx("path",{d:"M12 22a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10zm0-18a8 8 0 1 0 8 8 8.009 8.009 0 0 0-8-8z"}),te.jsx("path",{d:"M9.49 8.354v7.292a.894.894 0 0 0 1.452.7L15.5 12.7a.893.893 0 0 0 0-1.4l-4.558-3.644a.894.894 0 0 0-1.452.698z"})]})),N4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M4 6V4c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1H5.09a7.98 7.98 0 0 1 10.92-2.9 7.98 7.98 0 0 1 2.9 10.92 7.98 7.98 0 0 1-10.92 2.9 8.014 8.014 0 0 1-2.21-1.89.992.992 
1230 0 0-1.4-.18c-.44.34-.52.96-.18 1.4.01.01.02.03.03.04 3.47 4.3 9.77 4.96 14.06 1.49 4.3-3.47 4.96-9.77 1.49-14.06-3.47-4.3-9.77-4.97-14.06-1.5C5.08 4.74 4.5 5.34 4.01 6Z"})})),P4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M20.291 18.589v-2.215c.259.017.6.027.858.027.12 0 .249 0 .369-.01l1.2 2.2h1.027v-.406l-1.107-2.012a1.9 1.9 0 0 0 1.107-2.013c0-1.156-.659-1.836-2.275-1.836-.758 0-1.667.053-2.275.089v6.178Zm-6.506-5.137a7.387 7.387 0 0 1 1.537-.229c1.137 0 1.337.22 1.337 1.041v.654c-.36-.027-.9-.045-1.507-.045a1.83 1.83 0 0 0-2.086 1.9c0 1.289.609 1.907 1.956 1.907a4.955 4.955 0 0 0 1.866-.406l.33.318h.538V14c0-1.033-.618-1.677-2.3-1.677a8.592 8.592 0 0 0-1.886.265l.21.865Zm-5.8 0a7.367 7.367 0 0 1 1.537-.229c1.137 0 1.337.22 1.337 1.041v.654c-.36-.027-.9-.045-1.507-.045a1.83 1.83 0 0 0-2.086 1.9c0 1.289.609 1.907 1.956 1.907a4.96 4.96 0 0 0 1.866-.406l.329.318h.539V14c0-1.033-.619-1.677-2.3-1.677a8.592 8.592 0 0 0-1.886.265Zm-1.946-.883a8.592 8.592 0 0 0-1.9-.247c-1.428 0-2 .679-2 1.792a1.433 1.433 0 0 0 1.168 1.58l1.307.379c.609.186.668.344.668.874 0 .706-.308.83-1.247.83a5.232 5.232 0 0 1-1.786-.354l-.261.9a6.188 6.188 0 0 0 2 .353c1.606 0 2.394-.476 2.394-1.819 0-.873-.219-1.332-1.008-1.579l-1.516-.467c-.519-.159-.7-.309-.7-.778 0-.679.3-.811 1.118-.811a7.1 7.1 0 0 1 1.537.212l.219-.866Zm21.892 2.957c.311.033.624.051.937.053.759 0 1.128-.282 1.128-.944a.794.794 0 0 0-.489-.751.8.8 0 0 0 .289-.653c0-.494-.308-.83-.978-.83-.3.005-.592.022-.887.054v3.071Zm-6.786.036c-.269 0-.6-.009-.858-.018v-2.33c.239-.018.678-.053 1.107-.053 1.058 0 1.258.265 1.258 1.156.004 1.068-.316 1.245-1.503 1.245Zm-5.877.159c.319 0 .987.018 1.387.044v1.677a3.283 3.283 0 0 1-1.627.353c-.549 0-.838-.22-.838-.936 0-.776.289-1.139 1.078-1.139Zm-5.8 0c.32 0 .988.018 1.387.044v1.678a3.283 3.283 0 0 1-1.627.353c-.548 0-.838-.22-.838-.936.01-.777.296-1.14 1.084-1.14Zm16.505-.492v-2.818h-.42v3.151h1.756l.081-.334Zm2.355-1.122h.572c.519 0 .7.212.7.548 0 .45-.219.591-.728.591a4.386 4.386 0 0 1-.538-.026Zm0-.317v-1.026a3.62 3.62 0 0 1 .488-.027c.42 0 .6.159.6.494 0 .406-.169.557-.6.557h-.488Z",fill:"var(--readable-01)"})})),D4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M15.07 14.21v-1.58c.18.01.43.02.61.02h.26l.86 1.57h.73v-.29l-.79-1.44c.56-.25.88-.84.79-1.44 0-.83-.47-1.31-1.62-1.31-.54 0-1.19.04-1.62.06v4.41h.78Zm-4.65-3.67c.36-.09.73-.15 1.1-.16.81 0 .95.16.95.74v.47c-.26-.02-.64-.03-1.08-.03-.71-.1-1.38.39-1.48 1.11-.01.08-.02.16-.01.25 0 .92.43 1.36 1.4 1.36.46 0 .91-.11 1.33-.29l.24.23h.38v-3.28c0-.74-.44-1.2-1.64-1.2-.45.01-.91.08-1.35.19l.15.62Zm-4.14 0c.36-.09.73-.15 1.1-.16.81 0 .95.16.95.74v.47c-.26-.02-.64-.03-1.08-.03-.71-.1-1.38.39-1.48 1.11-.01.08-.02.16-.01.25 0 .92.43 1.36 1.4 1.36.46 0 .91-.11 1.33-.29l.23.23h.38v-3.28c0-.74-.44-1.2-1.64-1.2-.45.01-.91.08-1.35.19l.15.62Zm-1.39-.63c-.44-.11-.9-.17-1.36-.18-1.02 0-1.43.48-1.43 1.28-.06.54.3 1.03.83 1.13l.93.27c.43.13.48.25.48.62 0 .5-.22.59-.89.59-.44 0-.87-.09-1.28-.25l-.19.64c.46.16.94.25 1.43.25 1.15 0 1.71-.34 1.71-1.3 0-.62-.16-.95-.72-1.13l-1.08-.33c-.37-.11-.5-.22-.5-.56 0-.48.21-.58.8-.58.37.01.74.06 1.1.15l.16-.62Zm15.64 2.11c.22.02.45.04.67.04.54 0 .81-.2.81-.67 0-.23-.13-.45-.35-.54.14-.11.21-.29.21-.47 0-.35-.22-.59-.7-.59-.21 0-.42.02-.63.04v2.19Zm-4.85.02c-.19 0-.43 0-.61-.01v-1.66c.17-.01.48-.04.79-.04.76 0 .9.19.9.83 0 .76-.23.89-1.07.89Zm-4.2.12c.23 0 .7.01.99.03v1.2c-.36.18-.76.27-1.16.25-.39 0-.6-.16-.6-.67 0-.55.21-.81.77-.81Zm-4.14 0c.23 0 .71.01.99.03v1.2c-.36.18-.76.27-1.16.25-.39 0-.6-.16-.6-.67 0-.55.21-.81.77-.81Zm11.79-.35V9.8h-.3v2.25h1.25l.06-.24h-1.01Zm1.68-.81h.41c.37 0 .5.15.5.39 0 .32-.16.42-.52.42-.13 0-.26 0-.38-.02V11Zm0-.22v-.73c.12-.01.23-.02.35-.02.3 0 .43.11.43.35 0 .29-.12.4-.43.4h-.35Z",fill:"var(--readable-01)"})})),U4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M25.91 13.48v-.63c.04-.9-.28-1.78-.88-2.45a3.418 3.418 0 0 0-2.35-1.11H9.32c-.9.04-1.74.44-2.35 1.11-.61.67-.92 1.54-.88 2.44v6.89h15.65v2.09H6.09v.63c-.04.9.28 1.78.88 2.45.61.67 1.45 1.06 2.35 1.11h13.36c.9-.04 1.74-.44 2.35-1.11.61-.67.92-1.54.88-2.44v-6.89H10.26v-2.09h15.65ZM16 2a2.615 2.615 0 0 1 2.56 3.12c-.1.51-.35.97-.71 1.34-.36.36-.83.61-1.34.71a2.615 2.615 0 0 1-3.12-2.56c0-.34.06-.68.19-1 .13-.32.32-.61.56-.85.24-.24.53-.43.85-.56.32-.13.66-.2 1-.19Z"})})),j4=e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M20.26 10.57v-.52c.02-.37-.04-.74-.17-1.09-.13-.35-.32-.67-.57-.95-.25-.27-.55-.5-.89-.65-.34-.16-.7-.25-1.07-.26H6.43c-.37.02-.74.11-1.07.26s-.64.38-.89.65-.44.6-.57.95c-.13.35-.18.72-.17 1.09v5.74h13.05v1.74H3.74v.52c-.03.75.23 1.48.74 2.04s1.21.89 1.96.92h11.13c.37-.02.74-.11 1.07-.26.34-.16.64-.38.89-.65s.44-.6.57-.95c.13-.35.18-.72.17-1.09v-5.74H7.22v-1.74h13.04ZM12 1a2.182 2.182 0 0 1 2.01 1.35c.16.4.21.83.12 1.26a2.149 2.149 0 0 1-1.7 1.7c-.42.08-.86.04-1.26-.12s-.74-.44-.98-.8a2.201 2.201 0 0 1-.21-2.05A2.147 2.147 0 0 1 12 1Z"})})),F4=e=>Lt.createElement(Mn,e,te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:[te.jsx("path",{d:"M13.286 21.571H8.643a.929.929 0 1 1 0-1.857h4.643a.929.929 0 0 1 0 1.857zM17.929 25.286H8.643a.929.929 0 1 1 0-1.857h9.286a.929.929 0 0 1 0 1.857z"}),te.jsx("circle",{cx:21.643,cy:24.357,r:.929}),te.jsx("circle",{cx:25.357,cy:24.357,r:.929}),te.jsx("path",{className:"ic_two_cards_m_svg__b",d:"M27.214 11.357H6.786A2.789 2.789 0 0 0 4 14.143v12.071A2.789 2.789 0 0 0 6.786 29h20.428A2.789 2.789 0 0 0 30 26.214V14.143a2.789 2.789 0 0 0-2.786-2.786zM6.786 13.214h20.428a.93.93 0 0 1 .929.929v.928H5.857v-.928a.93.93 0 0 1 .929-.929zm20.428 13.929H6.786a.93.93 0 0 1-.929-.929v-8.357h22.286v8.357a.93.93 0 0 1-.929.929z"}),te.jsx("path",{d:"m3.944 10.959-.227-.9a.93.93 0 0 1 .672-1.128l19.8-5.012a.929.929 0 0 1 1.128.672l.228.9L8.307 9.857h11.354l6.572-1.663.421 1.663h.56a4.243 4.243 0 0 1 1.421.261l-1.513-5.98a2.789 2.789 0 0 0-3.384-2.017L3.934 7.133a2.788 2.788 0 0 0-2.017 3.384l.683 2.712a4.271 4.271 0 0 1 1.344-2.27z"})]})),AS={IcBankM:_4,IcSparkasseM:U4,IcSparkasseS:j4,IcNordlbM:R4,IcNordlbS:L4,IcBankS:E4,IcDkbM:C4,IcDkbS:T4,IcLbsM:k4,IcLbsS:O4,IcBwM:A4,IcBwS:x4,IcSaarLbM:P4,IcSaarLbS:D4,IcWeberbankM:e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:te.jsx("path",{d:"M11.028 27.177H9.851a1.415 1.415 0 0 1-.131-.653 5.959 5.959 0 0 0-.262-1.046L9.2 24.3l-.13-.524L4.748 8.745C4.224 6.653 3.57 6.13 2 6V4.823c1.832.131 2.486.261 4.449.261 1.7 0 2.486-.13 4.317-.261V6c-1.7.261-2.093.391-2.093 1.176 0 .262.131.654.262 1.438l2.747 9.805 4.842-13.6h1.308l4.841 14.118 2.879-10.2a6.414 6.414 0 0 0 .392-1.568c0-.915-.392-1.177-1.963-1.177V4.823c1.309 0 1.832.131 2.879.131s1.832-.131 3.14-.131V6h-.262c-1.439.261-1.7.653-2.224 2.483L23.2 23.256a7.347 7.347 0 0 0-.523 1.961c-.131.261-.523 1.96-.523 1.96h-1.312a20.086 20.086 0 0 0-.784-3.268L16.131 11.1l-4.056 12.156a54.598 54.598 0 0 0-.784 3.137l-.262.784"})})),IcWeberbankS:e=>Lt.createElement(Mn,e,te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:te.jsx("path",{d:"M8.45 19.98h-.84a.964.964 0 0 1-.09-.47c-.04-.25-.1-.5-.19-.75l-.18-.84-.09-.37-3.1-10.73C3.59 5.33 3.12 4.95 2 4.86v-.84c1.31.09 1.78.19 3.18.19 1.21 0 1.78-.09 3.08-.19v.84c-1.21.19-1.49.28-1.49.84 0 .19.09.47.19 1.03l1.96 7 3.46-9.71h.93l3.46 10.08 2.06-7.29c.14-.36.23-.74.28-1.12 0-.65-.28-.84-1.4-.84v-.84c.94 0 1.31.09 2.06.09s1.31-.09 2.24-.09v.84h-.19c-1.03.19-1.21.47-1.59 1.77l-3.08 10.55c-.19.45-.31.92-.37 1.4-.09.19-.37 1.4-.37 1.4h-.94c-.12-.79-.31-1.57-.56-2.33l-2.8-9.15-2.9 8.68c-.28 1.03-.37 1.4-.56 2.24l-.19.56"})}))},B4=e=>{const t=j3(),n=wc("cpl","reactlib");let i=t.brandIcon;t.brandIcon===void 0&&(n.warn(`Das BrandIcon konnte nicht im Theme gefunden werden.
124			 Das Default-BrandIcon wird stattdessen ausgegeben: IcBankM.`),i="IcBankM");let a=AS[`${i}`];a===void 0&&(n.warn(`Die Icon-Variante ${i} konnte nicht gefunden werden. 
125		 Die Default-BrandIcon Icon-Variante wird stattdessen ausgegeben: IcBankM.`),a=AS.IcBankM);const{sx:o,...f}=e;
125return te.jsx(a,{...f,sx:{...o,"& path":{fill:"currentColor"}}})},sd={headline01:"h1",headline01Light:"h1",headline02:"h1",headline02Light:"h2",headline03:"h3",headline03Light:"h3",headline04:"h4",headline04Light:"h4",headline05:"h5",headline05Light:"h5",headline06:"h6",multiline01:"p",multiline02:"p",multiline01Bold:"p",multiline02Bold:"p",multiline01Italic:"p",multiline02Italic:"p"},xS="p",jm=e=>e===void 0?!1:/^h[1-6]?$/gu.test(e),ad=e=>e===void 0?!1:/^headline0[1-6](Light)?$/gu.test(e),ou=e=>{if(jm(e))return parseInt(e.charAt(1),10);if(ad(e)){const t=sd[e];if(t)return parseInt(t.charAt(1),10)}throw Error(`'${e}' ist kein gültiges H-Level`)},CS=e=>{const[t,n]=B.useState(null),i=B.useContext(wn),a=wc("cpl","reactlib");return B.useEffect(()=>{if(!ad(e)&&!jm(e))return;const o=ou(e),f=t!==null&&t===i.minHLevel&&t<o;i.updateMinHLevel?(i.updateMinHLevel(o,f),n(o)):a.warn("DynamicTypography: Überschriften-Berechnung nicht möglich. Bitte stelle sicher, dass Anwendung und Anwendungsrahmen kompatible Versionen der CPL/Reactlib nutzen.")},[e,t]),{current:ad(e)||jm(e)?ou(e):void 0,min:i.minHLevel,max:i.maxHLevel??(i.hLevel!==void 0?ou(i.hLevel):void 0)}},Fm=(e,t,n)=>{const i=e-(t!==void 0?t-1:0)+(n??0);return G1(i)?`h${i}`:"h6"},z4=(e,t,n)=>ad(e)?Fm(ou(e),t,n):e,H4=e=>{const{current:t,min:n,max:i}=CS(e);if(t)return Fm(t,n,i);throw Error(`H-Level für '${e}' ist unerwartet undefined`)},TS=()=>{const e=B.useContext(wn);return B.useMemo(()=>Object.entries(sd).map(([t,n])=>[t,z4(n,e.minHLevel,e.maxHLevel)]).reduce((t,[n,i])=>({...t,[n]:i}),{}),[e.minHLevel,e.maxHLevel])},kS=e=>{const{current:t,min:n,max:i}=CS(e);return B.useMemo(()=>t?Fm(t,n,i):e===void 0?xS:sd[e]??xS,[t,n,i])},$4=e=>{const t=kS(e.variant),n=TS();return e.html===!0?te.jsx(t,{children:e.children}):te.jsx(jL,{component:t,...e,variantMapping:n})};var Qo;(function(e){function t(p,g){return p.fontFamily===g.fontFamily&&p.fontWeight===g.fontWeight&&p.fontStyle===g.fontStyle}e.conflicts=t;function n(p,g){return JSON.stringify(p)===JSON.stringify(g)}e.equals=n;function i(p){return`@font-face {
126			font-family: "${p.fontFamily}";
127			src: ${p.src.map(a).join(", ")};
128			${f("font-weight",p.fontWeight)}
129			${f("font-style",p.fontStyle)}
130		}`}e.fontFaceToCss=i;function a(p){return o(p)?`local("${p.local}")`:`url("${p.url}") format("${p.format}")`}function o(p){return!!p.local}function f(p,g){return g===void 0?"":`${p}: ${g};`}})(Qo||(Qo={}));function V4(e){const n=B.useContext(wn).injectFontFace,i=B.useMemo(()=>{if(!n)return Qo.fontFaceToCss(e);n(e)},[e,n]);return i?te.jsx(F3,{styles:i}):null}function q4(e){const t=Sh(),n=bh(),i=B.useRef(null),a=wc("cpl","reactlib"),o=B.useContext(wn),f=B.useMemo(()=>e.name??ta(),[e.name]),p=g=>new hc(t,g.name,g,o.route);return B.useEffect(()=>{const g=$o.subscribe(u=>{const y=e.sync??"parent",S=o.slot;y==="parent"&&u.detail.slotId===S.name&&S.getChild(f).busy(u.detail.busy),y==="child"&&u.detail.slotId===f&&S.busy(u.detail.busy)});return()=>{$o.unsubscribe(g)}},[e.sync]),B.useEffect(()=>{if(i.current===null){n(Error("Fragment-Fehler: Ref darf nicht null sein."));return}const g=o.slot,u=(y,S)=>{if(S.status===ut.EMPTY){e.onEmpty?.();return}y===Xn.ERROR&&S.error!==void 0&&e.onError?.(S.error)};return g.createChild(f,i.current).then(async y=>(y.subscribe(u),await p(y).startWorkflow(e.app,e.workflow,e.version,{input:e.input}))).then(()=>a.info(`Ablauf ${e.app}.${e.workflow}.${e.version??"1"} als Fragment '${f}' erfolgreich gestartet.`)).catch(y=>a.error(`Fehler beim Starten des Ablaufs ${e.app}.${e.workflow}.${e.version??"1"} als Fragment '${f}': ${y}`)),()=>{g.removeChild(f,async y=>await p(y).clear().catch(S=>a.error(`Fehler bei Fragment-Clear von '${f}': ${S}`))).catch(y=>a.error(`Fehler bei Fragment-Remove von '${f}': ${y}`))}},[e.name,e.app,e.workflow,e.version,e.input]),te.jsx(mS,{ref:i,component:"div"})}var Fc={exports:{}},K4=Fc.exports,OS;function G4(){return OS||(OS=1,(function(e,t){typeof document<"u"&&typeof navigator<"u"&&(function(n,i){e.exports=i()})(K4,(function(){var n="http://www.w3.org/2000/svg",i="",a=!1,o=-999999,f=function(d){a=!!d},p=function(){return a},g=function(d){i=d},u=function(){return i};function y(c){return document.createElement(c)}function S(c,d){var v,w=c.length,E;for(v=0;v<w;
130v+=1){E=c[v].prototype;for(var _ in E)Object.prototype.hasOwnProperty.call(E,_)&&(d.prototype[_]=E[_])}}function x(c){function d(){}return d.prototype=c,d}var O=(function(){function c(d){this.audios=[],this.audioFactory=d,this._volume=1,this._isMuted=!1}return c.prototype={addAudio:function(v){this.audios.push(v)},pause:function(){var v,w=this.audios.length;for(v=0;v<w;v+=1)this.audios[v].pause()},resume:function(){var v,w=this.audios.length;for(v=0;v<w;v+=1)this.audios[v].resume()},setRate:function(v){var w,E=this.audios.length;for(w=0;w<E;w+=1)this.audios[w].setRate(v)},createAudio:function(v){return this.audioFactory?this.audioFactory(v):window.Howl?new window.Howl({src:[v]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(v){this.audioFactory=v},setVolume:function(v){this._volume=v,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var v,w=this.audios.length;for(v=0;v<w;v+=1)this.audios[v].volume(this._volume*(this._isMuted?0:1))}},function(){return new c}})(),L=(function(){function c(v,w){var E=0,_=[],T;switch(v){case"int16":case"uint8c":T=1;break;default:T=1.1;break}for(E=0;E<w;E+=1)_.push(T);return _}function d(v,w){return v==="float32"?new Float32Array(w):v==="int16"?new Int16Array(w):v==="uint8c"?new Uint8ClampedArray(w):c(v,w)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?d:c})();function R(c){return Array.apply(null,{length:c})}var V=!0,K=null,se="",ne=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),J=Math.pow,X=Math.sqrt,U=Math.floor,Y=Math.min,Ce=150,oe=Math.PI/180,_e=.5519;function ge(c,d,v,w){this.type=c,this.currentTime=d,this.totalTime=v,this.direction=w<0?-1:1}function I(c,d){this.type=c,this.direction=d<0?-1:1}function ue(c,d,v,w){this.type=c,this.currentLoop=v,this.totalLoops=d,this.direction=w<0?-1:1}function me(c,d,v){this.type=c,this.firstFrame=d,this.totalFrames=v}function De(c,d){this.type=c,this.target=d}function Z(c,d){this.type="renderFrameError",this.nativeError=c,this.currentTime=d}function ke(c){this.type="configError",this.nativeError=c}var Ie=(function(){var c=0;return function(){return c+=1,se+"__lottie_element_"+c}})();function Fe(c,d,v){var w,E,_,T,j,k,q,Q;switch(T=Math.floor(c*6),j=c*6-T,k=v*(1-d),q=v*(1-j*d),Q=v*(1-(1-j)*d),T%6){case 0:w=v,E=Q,_=k;break;case 1:w=q,E=v,_=k;break;case 2:w=k,E=v,_=Q;break;case 3:w=k,E=q,_=v;break;case 4:w=Q,E=k,_=v;break;case 5:w=v,E=k,_=q;break}return[w,E,_]}function et(c,d,v){var w=Math.max(c,d,v),E=Math.min(c,d,v),_=w-E,T,j=w===0?0:_/w,k=w/255;switch(w){case E:T=0;break;case c:T=d-v+_*(d<v?6:0),T/=6*_;break;case d:T=v-c+_*2,T/=6*_;break;case v:T=c-d+_*4,T/=6*_;break}return[T,j,k]}function $(c,d){var v=et(c[0]*255,c[1]*255,c[2]*255);return v[1]+=d,v[1]>1?v[1]=1:v[1]<=0&&(v[1]=0),Fe(v[0],v[1],v[2])}function Te(c,d){var v=et(c[0]*255,c[1]*255,c[2]*255);return v[2]+=d,v[2]>1?v[2]=1:v[2]<0&&(v[2]=0),Fe(v[0],v[1],v[2])}function ze(c,d){var v=et(c[0]*255,c[1]*255,c[2]*255);return v[0]+=d/360,v[0]>1?v[0]-=1:v[0]<0&&(v[0]+=1),Fe(v[0],v[1],v[2])}(function(){var c=[],d,v;for(d=0;d<256;d+=1)v=d.toString(16),c[d]=v.length===1?"0"+v:v;return function(w,E,_){return w<0&&(w=0),E<0&&(E=0),_<0&&(_=0),"#"+c[w]+c[E]+c[_]}})();var He=function(d){V=!!d},nt=function(){return V},Ve=function(d){K=d},at=function(){return K},It=function(d){Ce=d},xt=function(){return Ce},Qn=function(d){se=d};function Xe(c){return document.createElementNS(n,c)}function Kt(c){"@babel/helpers - typeof";return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Kt(c)}var Jt=(function(){var c=1,d=[],v,w,E={onmessage:function(){},postMessage:function(ee){v({data:ee})}},_={postMessage:function(ee){E.onmessage({data:ee})}};function T(D){if(window.Worker&&window.Blob&&p()){var ee=new Blob(["var _workerSelf = self;
130 self.onmessage = ",D.toString()],{type:"text/javascript"}),le=URL.createObjectURL(ee);return new Worker(le)}return v=D,E}function j(){w||(w=T(function(ee){function le(){function de(Ue,z){var ie,C,M=Ue.length,we,he,We,ht;for(C=0;C<M;C+=1)if(ie=Ue[C],"ks"in ie&&!ie.completed){if(ie.completed=!0,ie.hasMask){var dt=ie.masksProperties;for(he=dt.length,we=0;we<he;we+=1)if(dt[we].pt.k.i)G(dt[we].pt.k);else for(ht=dt[we].pt.k.length,We=0;We<ht;We+=1)dt[we].pt.k[We].s&&G(dt[we].pt.k[We].s[0]),dt[we].pt.k[We].e&&G(dt[we].pt.k[We].e[0])}ie.ty===0?(ie.layers=N(ie.refId,z),de(ie.layers,z)):ie.ty===4?F(ie.shapes):ie.ty===5&&lt(ie)}}function W(Ue,z){if(Ue){var ie=0,C=Ue.length;for(ie=0;ie<C;ie+=1)Ue[ie].t===1&&(Ue[ie].data.layers=N(Ue[ie].data.refId,z),de(Ue[ie].data.layers,z))}}function H(Ue,z){for(var ie=0,C=z.length;ie<C;){if(z[ie].id===Ue)return z[ie];ie+=1}return null}function N(Ue,z){var ie=H(Ue,z);return ie?ie.layers.__used?JSON.parse(JSON.stringify(ie.layers)):(ie.layers.__used=!0,ie.layers):null}function F(Ue){var z,ie=Ue.length,C,M;for(z=ie-1;z>=0;z-=1)if(Ue[z].ty==="sh")if(Ue[z].ks.k.i)G(Ue[z].ks.k);else for(M=Ue[z].ks.k.length,C=0;C<M;C+=1)Ue[z].ks.k[C].s&&G(Ue[z].ks.k[C].s[0]),Ue[z].ks.k[C].e&&G(Ue[z].ks.k[C].e[0]);else Ue[z].ty==="gr"&&F(Ue[z].it)}function G(Ue){var z,ie=Ue.i.length;for(z=0;z<ie;z+=1)Ue.i[z][0]+=Ue.v[z][0],Ue.i[z][1]+=Ue.v[z][1],Ue.o[z][0]+=Ue.v[z][0],Ue.o[z][1]+=Ue.v[z][1]}function ce(Ue,z){var ie=z?z.split("."):[100,100,100];return Ue[0]>ie[0]?!0:ie[0]>Ue[0]?!1:Ue[1]>ie[1]?!0:ie[1]>Ue[1]?!1:Ue[2]>ie[2]?!0:ie[2]>Ue[2]?!1:null}var ye=(function(){var Ue=[4,4,14];function z(C){var M=C.t.d;C.t.d={k:[{s:M,t:0}]}}function ie(C){var M,we=C.length;for(M=0;M<we;M+=1)C[M].ty===5&&z(C[M])}return function(C){if(ce(Ue,C.v)&&(ie(C.layers),C.assets)){var M,we=C.assets.length;for(M=0;M<we;M+=1)C.assets[M].layers&&ie(C.assets[M].layers)}}})(),Se=(function(){var Ue=[4,7,99];return function(z){if(z.chars&&!ce(Ue,z.v)){var ie,C=z.chars.length;for(ie=0;ie<C;ie+=1){var M=z.chars[ie];M.data&&M.data.shapes&&(F(M.data.shapes),M.data.ip=0,M.data.op=99999,M.data.st=0,M.data.sr=1,M.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},z.chars[ie].t||(M.data.shapes.push({ty:"no"}),M.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}})(),je=(function(){var Ue=[5,7,15];function z(C){var M=C.t.p;typeof M.a=="number"&&(M.a={a:0,k:M.a}),typeof M.p=="number"&&(M.p={a:0,k:M.p}),typeof M.r=="number"&&(M.r={a:0,k:M.r})}function ie(C){var M,we=C.length;for(M=0;M<we;M+=1)C[M].ty===5&&z(C[M])}return function(C){if(ce(Ue,C.v)&&(ie(C.layers),C.assets)){var M,we=C.assets.length;for(M=0;M<we;M+=1)C.assets[M].layers&&ie(C.assets[M].layers)}}})(),ct=(function(){var Ue=[4,1,9];function z(C){var M,we=C.length,he,We;for(M=0;M<we;M+=1)if(C[M].ty==="gr")z(C[M].it);else if(C[M].ty==="fl"||C[M].ty==="st")if(C[M].c.k&&C[M].c.k[0].i)for(We=C[M].c.k.length,he=0;he<We;he+=1)C[M].c.k[he].s&&(C[M].c.k[he].s[0]/=255,C[M].c.k[he].s[1]/=255,C[M].c.k[he].s[2]/=255,C[M].c.k[he].s[3]/=255),C[M].c.k[he].e&&(C[M].c.k[he].e[0]/=255,C[M].c.k[he].e[1]/=255,C[M].c.k[he].e[2]/=255,C[M].c.k[he].e[3]/=255);else C[M].c.k[0]/=255,C[M].c.k[1]/=255,C[M].c.k[2]/=255,C[M].c.k[3]/=255}function ie(C){var M,we=C.length;for(M=0;M<we;M+=1)C[M].ty===4&&z(C[M].shapes)}return function(C){if(ce(Ue,C.v)&&(ie(C.layers),C.assets)){var M,we=C.assets.length;for(M=0;M<we;M+=1)C.assets[M].layers&&ie(C.assets[M].layers)}}})(),tt=(function(){var Ue=[4,4,18];function z(C){var M,we=C.length,he,We;for(M=we-1;M>=0;M-=1)if(C[M].ty==="sh")if(C[M].ks.k.i)C[M].ks.k.c=C[M].closed;else for(We=C[M].ks.k.length,he=0;he<We;he+=1)C[M].ks.k[he].s&&(C[M].ks.k[he].s[0].c=C[M].closed),C[M].ks.k[he].e&&(C[M].ks.k[he].e[0].c=C[M].closed);else C[M].ty==="gr"&&z(C[M].it)}function ie(C){var M,we,he=C.length,We,ht,dt,Ht;for(we=0;we<he;we+=1){if(M=C[we],M.hasMask){var jt=M.masksProperties;for(ht=jt.length,We=0;We<ht;We+=1)if(jt[We].pt.k.i)jt[We].pt.k.c=jt[We].cl;else for(Ht=jt[We].pt.k.length,dt=0;dt<Ht;
vendor: 36,305 bytes, lines 130-131
130dt+=1)jt[We].pt.k[dt].s&&(jt[We].pt.k[dt].s[0].c=jt[We].cl),jt[We].pt.k[dt].e&&(jt[We].pt.k[dt].e[0].c=jt[We].cl)}M.ty===4&&z(M.shapes)}}return function(C){if(ce(Ue,C.v)&&(ie(C.layers),C.assets)){var M,we=C.assets.length;for(M=0;M<we;M+=1)C.assets[M].layers&&ie(C.assets[M].layers)}}})();function $e(Ue){Ue.__complete||(ct(Ue),ye(Ue),Se(Ue),je(Ue),tt(Ue),de(Ue.layers,Ue.assets),W(Ue.chars,Ue.assets),Ue.__complete=!0)}function lt(Ue){Ue.t.a.length===0&&"m"in Ue.t.p}var Ye={};return Ye.completeData=$e,Ye.checkColors=ct,Ye.checkChars=Se,Ye.checkPathProperties=je,Ye.checkShapes=tt,Ye.completeLayers=de,Ye}if(_.dataManager||(_.dataManager=le()),_.assetLoader||(_.assetLoader=(function(){function de(H){var N=H.getResponseHeader("content-type");return N&&H.responseType==="json"&&N.indexOf("json")!==-1||H.response&&Kt(H.response)==="object"?H.response:H.response&&typeof H.response=="string"?JSON.parse(H.response):H.responseText?JSON.parse(H.responseText):null}function W(H,N,F,G){var ce,ye=new XMLHttpRequest;try{ye.responseType="json"}catch{}ye.onreadystatechange=function(){if(ye.readyState===4)if(ye.status===200)ce=de(ye),F(ce);else try{ce=de(ye),F(ce)}catch(Se){G&&G(Se)}};try{ye.open(["G","E","T"].join(""),H,!0)}catch{ye.open(["G","E","T"].join(""),N+"/"+H,!0)}ye.send()}return{load:W}})()),ee.data.type==="loadAnimation")_.assetLoader.load(ee.data.path,ee.data.fullPath,function(de){_.dataManager.completeData(de),_.postMessage({id:ee.data.id,payload:de,status:"success"})},function(){_.postMessage({id:ee.data.id,status:"error"})});else if(ee.data.type==="complete"){var ae=ee.data.animation;_.dataManager.completeData(ae),_.postMessage({id:ee.data.id,payload:ae,status:"success"})}else ee.data.type==="loadData"&&_.assetLoader.load(ee.data.path,ee.data.fullPath,function(de){_.postMessage({id:ee.data.id,payload:de,status:"success"})},function(){_.postMessage({id:ee.data.id,status:"error"})})}),w.onmessage=function(D){var ee=D.data,le=ee.id,ae=d[le];d[le]=null,ee.status==="success"?ae.onComplete(ee.payload):ae.onError&&ae.onError()})}function k(D,ee){c+=1;var le="processId_"+c;return d[le]={onComplete:D,onError:ee},le}function q(D,ee,le){j();var ae=k(ee,le);w.postMessage({type:"loadAnimation",path:D,fullPath:window.location.origin+window.location.pathname,id:ae})}function Q(D,ee,le){j();var ae=k(ee,le);w.postMessage({type:"loadData",path:D,fullPath:window.location.origin+window.location.pathname,id:ae})}function be(D,ee,le){j();var ae=k(ee,le);w.postMessage({type:"complete",animation:D,id:ae})}return{loadAnimation:q,loadData:Q,completeAnimation:be}})(),vn=(function(){var c=(function(){var W=y("canvas");W.width=1,W.height=1;var H=W.getContext("2d");return H.fillStyle="rgba(0,0,0,0)",H.fillRect(0,0,1,1),W})();function d(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function v(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function w(W,H,N){var F="";if(W.e)F=W.p;else if(H){var G=W.p;G.indexOf("images/")!==-1&&(G=G.split("/")[1]),F=H+G}else F=N,F+=W.u?W.u:"",F+=W.p;return F}function E(W){var H=0,N=setInterval((function(){var F=W.getBBox();(F.width||H>500)&&(this._imageLoaded(),clearInterval(N)),H+=1}).bind(this),50)}function _(W){var H=w(W,this.assetsPath,this.path),N=Xe("image");ne?this.testImageLoaded(N):N.addEventListener("load",this._imageLoaded,!1),N.addEventListener("error",(function(){F.img=c,this._imageLoaded()}).bind(this),!1),N.setAttributeNS("http://www.w3.org/1999/xlink","href",H),this._elementHelper.append?this._elementHelper.append(N):this._elementHelper.appendChild(N);var F={img:N,assetData:W};return F}function T(W){var H=w(W,this.assetsPath,this.path),N=y("img");N.crossOrigin="anonymous",N.addEventListener("load",this._imageLoaded,!1),N.addEventListener("error",(function(){F.img=c,this._imageLoaded()}).bind(this),!1),N.src=H;var F={img:N,assetData:W};return F}function j(W){var H={assetData:W},N=w(W,this.assetsPath,this.path);return Jt.loadData(N,(function(F){H.img=F,this._footageLoaded()}).bind(this),(function(){H.img={},this._footageLoaded()}).bind(this)),H}function k(W,H){this.imagesLoadedCb=H;var N,F=W.length;for(N=0;N<F;N+=1)W[N].layers||(!W[N].t||W[N].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(W[N]))):W[N].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(W[N]))))}function q(W){this.path=W||""}function Q(W){this.assetsPath=W||""}function be(W){for(var H=0,N=this.images.length;H<N;){if(this.images[H].assetData===W)return this.images[H].img;H+=1}return null}function D(){this.imagesLoadedCb=null,this.images.length=0}function ee(){return this.totalImages===this.loadedAssets}function le(){return this.totalFootages===this.loadedFootagesCount}function ae(W,H){W==="svg"?(this._elementHelper=H,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function de(){this._imageLoaded=d.bind(this),this._footageLoaded=v.bind(this),this.testImageLoaded=E.bind(this),this.createFootageData=j.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return de.prototype={loadAssets:k,setAssetsPath:Q,setPath:q,loadedImages:ee,loadedFootages:le,destroy:D,getAsset:be,createImgData:T,createImageData:_,imageLoaded:d,footageLoaded:v,setCacheType:ae},de})();function kn(){}kn.prototype={triggerEvent:function(d,v){if(this._cbs[d])for(var w=this._cbs[d],E=0;E<w.length;E+=1)w[E](v)},addEventListener:function(d,v){return this._cbs[d]||(this._cbs[d]=[]),this._cbs[d].push(v),(function(){this.removeEventListener(d,v)}).bind(this)},removeEventListener:function(d,v){if(!v)this._cbs[d]=null;else if(this._cbs[d]){for(var w=0,E=this._cbs[d].length;w<E;)this._cbs[d][w]===v&&(this._cbs[d].splice(w,1),w-=1,E-=1),w+=1;this._cbs[d].length||(this._cbs[d]=null)}}};var ot=(function(){function c(d){for(var v=d.split(`\r
131`),w={},E,_=0,T=0;T<v.length;T+=1)E=v[T].split(":"),E.length===2&&(w[E[0]]=E[1].trim(),_+=1);if(_===0)throw new Error;return w}return function(d){for(var v=[],w=0;w<d.length;w+=1){var E=d[w],_={time:E.tm,duration:E.dr};try{_.payload=JSON.parse(d[w].cm)}catch{try{_.payload=c(d[w].cm)}catch{_.payload={name:d[w].cm}}}v.push(_)}return v}})(),Tt=(function(){function c(d){this.compositions.push(d)}return function(){function d(v){for(var w=0,E=this.compositions.length;w<E;){if(this.compositions[w].data&&this.compositions[w].data.nm===v)return this.compositions[w].prepareFrame&&this.compositions[w].data.xt&&this.compositions[w].prepareFrame(this.currentFrame),this.compositions[w].compInterface;w+=1}return null}return d.compositions=[],d.currentFrame=0,d.registerComposition=c,d}})(),en={},$n=function(d,v){en[d]=v};function mr(c){return en[c]}function Yr(){if(en.canvas)return"canvas";for(var c in en)if(en[c])return c;return""}function rt(c){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},rt(c)}var Ze=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ie(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=nt(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Tt(),this.imagePreloader=new vn,this.audioController=O(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ge("drawnFrame",0,0,0),this.expressionsPlugin=at()};S([kn],Ze),Ze.prototype.setParams=function(c){(c.wrapper||c.container)&&(this.wrapper=c.wrapper||c.container);var d="svg";c.animType?d=c.animType:c.renderer&&(d=c.renderer);var v=mr(d);this.renderer=new v(this,c.rendererSettings),this.imagePreloader.setCacheType(d,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=d,c.loop===""||c.loop===null||c.loop===void 0||c.loop===!0?this.loop=!0:c.loop===!1?this.loop=!1:this.loop=parseInt(c.loop,10),this.autoplay="autoplay"in c?c.autoplay:!0,this.name=c.name?c.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(c,"autoloadSegments")?c.autoloadSegments:!0,this.assetsPath=c.assetsPath,this.initialSegment=c.initialSegment,c.audioFactory&&this.audioController.setAudioFactory(c.audioFactory),c.animationData?this.setupAnimation(c.animationData):c.path&&(c.path.lastIndexOf("\\")!==-1?this.path=c.path.substr(0,c.path.lastIndexOf("\\")+1):this.path=c.path.substr(0,c.path.lastIndexOf("/")+1),this.fileName=c.path.substr(c.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Jt.loadAnimation(c.path,this.configAnimation,this.onSetupError))},Ze.prototype.onSetupError=function(){this.trigger("data_failed")},Ze.prototype.setupAnimation=function(c){Jt.completeAnimation(c,this.configAnimation)},Ze.prototype.setData=function(c,d){d&&rt(d)!=="object"&&(d=JSON.parse(d));var v={wrapper:c,animationData:d},w=c.attributes;v.path=w.getNamedItem("data-animation-path")?w.getNamedItem("data-animation-path").value:w.getNamedItem("data-bm-path")?w.getNamedItem("data-bm-path").value:w.getNamedItem("bm-path")?w.getNamedItem("bm-path").value:"",v.animType=w.getNamedItem("data-anim-type")?w.getNamedItem("data-anim-type").value:w.getNamedItem("data-bm-type")?w.getNamedItem("data-bm-type").value:w.getNamedItem("bm-type")?w.getNamedItem("bm-type").value:w.getNamedItem("data-bm-renderer")?w.getNamedItem("data-bm-renderer").value:w.getNamedItem("bm-renderer")?w.getNamedItem("bm-renderer").value:Yr()||"canvas";var E=w.getNamedItem("data-anim-loop")?w.getNamedItem("data-anim-loop").value:w.getNamedItem("data-bm-loop")?w.getNamedItem("data-bm-loop").value:w.getNamedItem("bm-loop")?w.getNamedItem("bm-loop").value:"";E==="false"?v.loop=!1:E==="true"?v.loop=!0:E!==""&&(v.loop=parseInt(E,10));var _=w.getNamedItem("data-anim-autoplay")?w.getNamedItem("data-anim-autoplay").value:w.getNamedItem("data-bm-autoplay")?w.getNamedItem("data-bm-autoplay").value:w.getNamedItem("bm-autoplay")?w.getNamedItem("bm-autoplay").value:!0;v.autoplay=_!=="false",v.name=w.getNamedItem("data-name")?w.getNamedItem("data-name").value:w.getNamedItem("data-bm-name")?w.getNamedItem("data-bm-name").value:w.getNamedItem("bm-name")?w.getNamedItem("bm-name").value:"";var T=w.getNamedItem("data-anim-prerender")?w.getNamedItem("data-anim-prerender").value:w.getNamedItem("data-bm-prerender")?w.getNamedItem("data-bm-prerender").value:w.getNamedItem("bm-prerender")?w.getNamedItem("bm-prerender").value:"";T==="false"&&(v.prerender=!1),v.path?this.setParams(v):this.trigger("destroy")},Ze.prototype.includeLayers=function(c){c.op>this.animationData.op&&(this.animationData.op=c.op,this.totalFrames=Math.floor(c.op-this.animationData.ip));var d=this.animationData.layers,v,w=d.length,E=c.layers,_,T=E.length;for(_=0;_<T;_+=1)for(v=0;v<w;){if(d[v].id===E[_].id){d[v]=E[_];break}v+=1}if((c.chars||c.fonts)&&(this.renderer.globalData.fontManager.addChars(c.chars),this.renderer.globalData.fontManager.addFonts(c.fonts,this.renderer.globalData.defs)),c.assets)for(w=c.assets.length,v=0;v<w;v+=1)this.animationData.assets.push(c.assets[v]);this.animationData.__complete=!1,Jt.completeAnimation(this.animationData,this.onSegmentComplete)},Ze.prototype.onSegmentComplete=function(c){this.animationData=c;var d=at();d&&d.initExpressions(this),this.loadNextSegment()},Ze.prototype.loadNextSegment=function(){var c=this.animationData.segments;if(!c||c.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var d=c.shift();this.timeCompleted=d.time*this.frameRate;var v=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Jt.loadData(v,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},Ze.prototype.loadSegments=function(){var c=this.animationData.segments;c||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},Ze.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},Ze.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},Ze.prototype.configAnimation=function(c){if(this.renderer)try{this.animationData=c,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(c),c.assets||(c.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(c.assets),this.markers=ot(c.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(d){this.triggerConfigError(d)}},Ze.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},Ze.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var c=at();c&&c.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},Ze.prototype.resize=function(c,d){var v=typeof c=="number"?c:void 0,w=typeof d=="number"?d:void 0;this.renderer.updateContainerSize(v,w)},Ze.prototype.setSubframe=function(c){this.isSubframeEnabled=!!c},Ze.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},Ze.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(c){this.triggerRenderFrameError(c)}},Ze.prototype.play=function(c){c&&this.name!==c||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},Ze.prototype.pause=function(c){c&&this.name!==c||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},Ze.prototype.togglePause=function(c){c&&this.name!==c||(this.isPaused===!0?this.play():this.pause())},Ze.prototype.stop=function(c){c&&this.name!==c||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},Ze.prototype.getMarkerData=function(c){for(var d,v=0;v<this.markers.length;v+=1)if(d=this.markers[v],d.payload&&d.payload.name===c)return d;return null},Ze.prototype.goToAndStop=function(c,d,v){if(!(v&&this.name!==v)){var w=Number(c);if(isNaN(w)){var E=this.getMarkerData(c);E&&this.goToAndStop(E.time,!0)}else d?this.setCurrentRawFrameValue(c):this.setCurrentRawFrameValue(c*this.frameModifier);this.pause()}},Ze.prototype.goToAndPlay=function(c,d,v){if(!(v&&this.name!==v)){var w=Number(c);if(isNaN(w)){var E=this.getMarkerData(c);E&&(E.duration?this.playSegments([E.time,E.time+E.duration],!0):this.goToAndStop(E.time,!0))}else this.goToAndStop(w,d,v);this.play()}},Ze.prototype.advanceTime=function(c){if(!(this.isPaused===!0||this.isLoaded===!1)){var d=this.currentRawFrame+c*this.frameModifier,v=!1;d>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(d>this.totalFrames?d%this.totalFrames:0)||(v=!0,d=this.totalFrames-1):d>=this.totalFrames?(this.playCount+=1,this.checkSegments(d%this.totalFrames)||(this.setCurrentRawFrameValue(d%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(d):d<0?this.checkSegments(d%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+d%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(v=!0,d=0)):this.setCurrentRawFrameValue(d),v&&(this.setCurrentRawFrameValue(d),this.pause(),this.trigger("complete"))}},Ze.prototype.adjustSegment=function(c,d){this.playCount=0,c[1]<c[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=c[0]-c[1],this.timeCompleted=this.totalFrames,this.firstFrame=c[1],this.setCurrentRawFrameValue(this.totalFrames-.001-d)):c[1]>c[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=c[1]-c[0],this.timeCompleted=this.totalFrames,this.firstFrame=c[0],this.setCurrentRawFrameValue(.001+d)),this.trigger("segmentStart")},Ze.prototype.setSegment=function(c,d){var v=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<c?v=c:this.currentRawFrame+this.firstFrame>d&&(v=d-c)),this.firstFrame=c,this.totalFrames=d-c,this.timeCompleted=this.totalFrames,v!==-1&&this.goToAndStop(v,!0)},Ze.prototype.playSegments=function(c,d){if(d&&(this.segments.length=0),rt(c[0])==="object"){var v,w=c.length;for(v=0;v<w;v+=1)this.segments.push(c[v])}else this.segments.push(c);this.segments.length&&d&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},Ze.prototype.resetSegments=function(c){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),c&&this.checkSegments(0)},Ze.prototype.checkSegments=function(c){return this.segments.length?(this.adjustSegment(this.segments.shift(),c),!0):!1},Ze.prototype.destroy=function(c){c&&this.name!==c||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},Ze.prototype.setCurrentRawFrameValue=function(c){this.currentRawFrame=c,this.gotoFrame()},Ze.prototype.setSpeed=function(c){this.playSpeed=c,this.updaFrameModifier()},Ze.prototype.setDirection=function(c){this.playDirection=c<0?-1:1,this.updaFrameModifier()},Ze.prototype.setLoop=function(c){this.loop=c},Ze.prototype.setVolume=function(c,d){d&&this.name!==d||this.audioController.setVolume(c)},Ze.prototype.getVolume=function(){return this.audioController.getVolume()},Ze.prototype.mute=function(c){c&&this.name!==c||this.audioController.mute()},Ze.prototype.unmute=function(c){c&&this.name!==c||this.audioController.unmute()},Ze.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},Ze.prototype.getPath=function(){return this.path},Ze.prototype.getAssetsPath=function(c){var d="";if(c.e)d=c.p;else if(this.assetsPath){var v=c.p;v.indexOf("images/")!==-1&&(v=v.split("/")[1]),d=this.assetsPath+v}else d=this.path,d+=c.u?c.u:"",d+=c.p;return d},Ze.prototype.getAssetData=function(c){for(var d=0,v=this.assets.length;d<v;){if(c===this.assets[d].id)return this.assets[d];d+=1}return null},Ze.prototype.hide=function(){this.renderer.hide()},Ze.prototype.show=function(){this.renderer.show()},Ze.prototype.getDuration=function(c){return c?this.totalFrames:this.totalFrames/this.frameRate},Ze.prototype.updateDocumentData=function(c,d,v){try{var w=this.renderer.getElementByPath(c);w.updateDocumentData(d,v)}catch{}},Ze.prototype.trigger=function(c){if(this._cbs&&this._cbs[c])switch(c){case"enterFrame":this.triggerEvent(c,new ge(c,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(c,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(c,new ue(c,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(c,new I(c,this.frameMult));break;case"segmentStart":this.triggerEvent(c,new me(c,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(c,new De(c,this));break;default:this.triggerEvent(c)}c==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ge(c,this.currentFrame,this.totalFrames,this.frameMult)),c==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new ue(c,this.loop,this.playCount,this.frameMult)),c==="complete"&&this.onComplete&&this.onComplete.call(this,new I(c,this.frameMult)),c==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new me(c,this.firstFrame,this.totalFrames)),c==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new De(c,this))},Ze.prototype.triggerRenderFrameError=function(c){var d=new Z(c,this.currentFrame);this.triggerEvent("error",d),this.onError&&this.onError.call(this,d)},Ze.prototype.triggerConfigError=function(c){var d=new ke(c,this.currentFrame);this.triggerEvent("error",d),this.onError&&this.onError.call(this,d)};var Ot=(function(){var c={},d=[],v=0,w=0,E=0,_=!0,T=!1;function j(z){for(var ie=0,C=z.target;ie<w;)d[ie].animation===C&&(d.splice(ie,1),ie-=1,w-=1,C.isPaused||be()),ie+=1}function k(z,ie){if(!z)return null;for(var C=0;C<w;){if(d[C].elem===z&&d[C].elem!==null)return d[C].animation;C+=1}var M=new Ze;return D(M,z),M.setData(z,ie),M}function q(){var z,ie=d.length,C=[];for(z=0;z<ie;z+=1)C.push(d[z].animation);return C}function Q(){E+=1,ct()}function be(){E-=1}function D(z,ie){z.addEventListener("destroy",j),z.addEventListener("_active",Q),z.addEventListener("_idle",be),d.push({elem:ie,animation:z}),w+=1}function ee(z){var ie=new Ze;return D(ie,null),ie.setParams(z),ie}function le(z,ie){var C;for(C=0;C<w;C+=1)d[C].animation.setSpeed(z,ie)}function ae(z,ie){var C;for(C=0;C<w;C+=1)d[C].animation.setDirection(z,ie)}function de(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.play(z)}function W(z){var ie=z-v,C;for(C=0;C<w;C+=1)d[C].animation.advanceTime(ie);v=z,E&&!T?window.requestAnimationFrame(W):_=!0}function H(z){v=z,window.requestAnimationFrame(W)}function N(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.pause(z)}function F(z,ie,C){var M;for(M=0;M<w;M+=1)d[M].animation.goToAndStop(z,ie,C)}function G(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.stop(z)}function ce(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.togglePause(z)}function ye(z){var ie;for(ie=w-1;ie>=0;ie-=1)d[ie].animation.destroy(z)}function Se(z,ie,C){var M=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),we,he=M.length;for(we=0;we<he;we+=1)C&&M[we].setAttribute("data-bm-type",C),k(M[we],z);if(ie&&he===0){C||(C="svg");var We=document.getElementsByTagName("body")[0];We.innerText="";var ht=y("div");ht.style.width="100%",ht.style.height="100%",ht.setAttribute("data-bm-type",C),We.appendChild(ht),k(ht,z)}}function je(){var z;for(z=0;z<w;z+=1)d[z].animation.resize()}function ct(){!T&&E&&_&&(window.requestAnimationFrame(H),_=!1)}function tt(){T=!0}function $e(){T=!1,ct()}function lt(z,ie){var C;for(C=0;C<w;C+=1)d[C].animation.setVolume(z,ie)}function Ye(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.mute(z)}function Ue(z){var ie;for(ie=0;ie<w;ie+=1)d[ie].animation.unmute(z)}return c.registerAnimation=k,c.loadAnimation=ee,c.setSpeed=le,c.setDirection=ae,c.play=de,c.pause=N,c.stop=G,c.togglePause=ce,c.searchAnimations=Se,c.resize=je,c.goToAndStop=F,c.destroy=ye,c.freeze=tt,c.unfreeze=$e,c.setVolume=lt,c.mute=Ye,c.unmute=Ue,c.getRegisteredAnimations=q,c})(),qe=(function(){var c={};c.getBezierEasing=v;var d={};function v(H,N,F,G,ce){var ye=ce||("bez_"+H+"_"+N+"_"+F+"_"+G).replace(/\./g,"p");if(d[ye])return d[ye];var Se=new W([H,N,F,G]);return d[ye]=Se,Se}var w=4,E=.001,_=1e-7,T=10,j=11,k=1/(j-1),q=typeof Float32Array=="function";function Q(H,N){return 1-3*N+3*H}function be(H,N){return 3*N-6*H}function D(H){return 3*H}function ee(H,N,F){return((Q(N,F)*H+be(N,F))*H+D(N))*H}function le(H,N,F){return 3*Q(N,F)*H*H+2*be(N,F)*H+D(N)}function ae(H,N,F,G,ce){var ye,Se,je=0;do Se=N+(F-N)/2,ye=ee(Se,G,ce)-H,ye>0?F=Se:N=Se;while(Math.abs(ye)>_&&++je<T);return Se}function de(H,N,F,G){for(var ce=0;ce<w;++ce){var ye=le(N,F,G);if(ye===0)return N;var Se=ee(N,F,G)-H;N-=Se/ye}return N}function W(H){this._p=H,this._mSampleValues=q?new Float32Array(j):new Array(j),this._precomputed=!1,this.get=this.get.bind(this)}return W.prototype={get:function(N){var F=this._p[0],G=this._p[1],ce=this._p[2],ye=this._p[3];return this._precomputed||this._precompute(),F===G&&ce===ye?N:N===0?0:N===1?1:ee(this._getTForX(N),G,ye)},_precompute:function(){var N=this._p[0],F=this._p[1],G=this._p[2],ce=this._p[3];this._precomputed=!0,(N!==F||G!==ce)&&this._calcSampleValues()},_calcSampleValues:function(){for(var N=this._p[0],F=this._p[2],G=0;G<j;++G)this._mSampleValues[G]=ee(G*k,N,F)},_getTForX:function(N){for(var F=this._p[0],G=this._p[2],ce=this._mSampleValues,ye=0,Se=1,je=j-1;Se!==je&&ce[Se]<=N;++Se)ye+=k;--Se;var ct=(N-ce[Se])/(ce[Se+1]-ce[Se]),tt=ye+ct*k,$e=le(tt,F,G);return $e>=E?de(N,tt,F,G):$e===0?tt:ae(N,ye,ye+k,F,G)}},c})(),Ke=(function(){function c(d){return d.concat(R(d.length))}return{double:c}})(),mt=(function(){return function(c,d,v){var w=0,E=c,_=R(E),T={newElement:j,release:k};function j(){var q;return w?(w-=1,q=_[w]):q=d(),q}function k(q){w===E&&(_=Ke.double(_),E*=2),v&&v(q),_[w]=q,w+=1}return T}})(),_t=(function(){function c(){return{addedLength:0,percents:L("float32",xt()),lengths:L("float32",xt())}}return mt(8,c)})(),kt=(function(){function c(){return{lengths:[],totalLength:0}}function d(v){var w,E=v.lengths.length;for(w=0;w<E;w+=1)_t.release(v.lengths[w]);v.lengths.length=0}return mt(8,c,d)})();function bt(){var c=Math;function d(D,ee,le,ae,de,W){var H=D*ae+ee*de+le*W-de*ae-W*D-le*ee;return H>-.001&&H<.001}function v(D,ee,le,ae,de,W,H,N,F){if(le===0&&W===0&&F===0)return d(D,ee,ae,de,H,N);var G=c.sqrt(c.pow(ae-D,2)+c.pow(de-ee,2)+c.pow(W-le,2)),ce=c.sqrt(c.pow(H-D,2)+c.pow(N-ee,2)+c.pow(F-le,2)),ye=c.sqrt(c.pow(H-ae,2)+c.pow(N-de,2)+c.pow(F-W,2)),Se;return G>ce?G>ye?Se=G-ce-ye:Se=ye-ce-G:ye>ce?Se=ye-ce-G:Se=ce-G-ye,Se>-1e-4&&Se<1e-4}var w=(function(){return function(D,ee,le,ae){var de=xt(),W,H,N,F,G,ce=0,ye,Se=[],je=[],ct=_t.newElement();for(N=le.length,W=0;W<de;W+=1){for(G=W/(de-1),ye=0,H=0;H<N;H+=1)F=J(1-G,3)*D[H]+3*J(1-G,2)*G*le[H]+3*(1-G)*J(G,2)*ae[H]+J(G,3)*ee[H],Se[H]=F,je[H]!==null&&(ye+=J(Se[H]-je[H],2)),je[H]=Se[H];ye&&(ye=X(ye),ce+=ye),ct.percents[W]=G,ct.lengths[W]=ce}return ct.addedLength=ce,ct}})();function E(D){var ee=kt.newElement(),le=D.c,ae=D.v,de=D.o,W=D.i,H,N=D._length,F=ee.lengths,G=0;for(H=0;H<N-1;H+=1)F[H]=w(ae[H],ae[H+1],de[H],W[H+1]),G+=F[H].addedLength;return le&&N&&(F[H]=w(ae[H],ae[0],de[H],W[0]),G+=F[H].addedLength),ee.totalLength=G,ee}function _(D){this.segmentLength=0,this.points=new Array(D)}function T(D,ee){this.partialLength=D,this.point=ee}var j=(function(){var D={};return function(ee,le,ae,de){var W=(ee[0]+"_"+ee[1]+"_"+le[0]+"_"+le[1]+"_"+ae[0]+"_"+ae[1]+"_"+de[0]+"_"+de[1]).replace(/\./g,"p");if(!D[W]){var H=xt(),N,F,G,ce,ye,Se=0,je,ct,tt=null;ee.length===2&&(ee[0]!==le[0]||ee[1]!==le[1])&&d(ee[0],ee[1],le[0],le[1],ee[0]+ae[0],ee[1]+ae[1])&&d(ee[0],ee[1],le[0],le[1],le[0]+de[0],le[1]+de[1])&&(H=2);var $e=new _(H);for(G=ae.length,N=0;N<H;N+=1){for(ct=R(G),ye=N/(H-1),je=0,F=0;F<G;F+=1)ce=J(1-ye,3)*ee[F]+3*J(1-ye,2)*ye*(ee[F]+ae[F])+3*(1-ye)*J(ye,2)*(le[F]+de[F])+J(ye,3)*le[F],ct[F]=ce,tt!==null&&(je+=J(ct[F]-tt[F],2));je=X(je),Se+=je,$e.points[N]=new T(je,ct),tt=ct}$e.segmentLength=Se,D[W]=$e}return D[W]}})();function k(D,ee){var le=ee.percents,ae=ee.lengths,de=le.length,W=U((de-1)*D),H=D*ee.addedLength,N=0;if(W===de-1||W===0||H===ae[W])return le[W];for(var F=ae[W]>H?-1:1,G=!0;G;)if(ae[W]<=H&&ae[W+1]>H?(N=(H-ae[W])/(ae[W+1]-ae[W]),G=!1):W+=F,W<0||W>=de-1){if(W===de-1)return le[W];G=!1}return le[W]+(le[W+1]-le[W])*N}function q(D,ee,le,ae,de,W){var H=k(de,W),N=1-H,F=c.round((N*N*N*D[0]+(H*N*N+N*H*N+N*N*H)*le[0]+(H*H*N+N*H*H+H*N*H)*ae[0]+H*H*H*ee[0])*1e3)/1e3,G=c.round((N*N*N*D[1]+(H*N*N+N*H*N+N*N*H)*le[1]+(H*H*N+N*H*H+H*N*H)*ae[1]+H*H*H*ee[1])*1e3)/1e3;return[F,G]}var Q=L("float32",8);function be(D,ee,le,ae,de,W,H){de<0?de=0:de>1&&(de=1);var N=k(de,H);W=W>1?1:W;var F=k(W,H),G,ce=D.length,ye=1-N,Se=1-F,je=ye*ye*ye,ct=N*ye*ye*3,tt=N*N*ye*3,$e=N*N*N,lt=ye*ye*Se,Ye=N*ye*Se+ye*N*Se+ye*ye*F,Ue=N*N*Se+ye*N*F+N*ye*F,z=N*N*F,ie=ye*Se*Se,C=N*Se*Se+ye*F*Se+ye*Se*F,M=N*F*Se+ye*F*F+N*Se*F,we=N*F*F,he=Se*Se*Se,We=F*Se*Se+Se*F*Se+Se*Se*F,ht=F*F*Se+Se*F*F+F*Se*F,dt=F*F*F;for(G=0;G<ce;G+=1)Q[G*4]=c.round((je*D[G]+ct*le[G]+tt*ae[G]+$e*ee[G])*1e3)/1e3,Q[G*4+1]=c.round((lt*D[G]+Ye*le[G]+Ue*ae[G]+z*ee[G])*1e3)/1e3,Q[G*4+2]=c.round((ie*D[G]+C*le[G]+M*ae[G]+we*ee[G])*1e3)/1e3,Q[G*4+3]=c.round((he*D[G]+We*le[G]+ht*ae[G]+dt*ee[G])*1e3)/1e3;return Q}return{getSegmentsLength:E,getNewSegment:be,getPointInSegment:q,buildBezierData:j,pointOnLine2D:d,pointOnLine3D:v}}var on=bt(),On=o,gt=Math.abs;function ln(c,d){var v=this.offsetTime,w;this.propType==="multidimensional"&&(w=L("float32",this.pv.length));for(var E=d.lastIndex,_=E,T=this.keyframes.length-1,j=!0,k,q,Q;j;){if(k=this.keyframes[_],q=this.keyframes[_+1],_===T-1&&c>=q.t-v){k.h&&(k=q),E=0;break}if(q.t-v>c){E=_;break}_<T-1?_+=1:(E=0,j=!1)}Q=this.keyframesMetadata[_]||{};var be,D,ee,le,ae,de,W=q.t-v,H=k.t-v,N;if(k.to){Q.bezierData||(Q.bezierData=on.buildBezierData(k.s,q.s||k.e,k.to,k.ti));var F=Q.bezierData;if(c>=W||c<H){var G=c>=W?F.points.length-1:0;for(D=F.points[G].point.length,be=0;be<D;be+=1)w[be]=F.points[G].point[be]}else{Q.__fnct?de=Q.__fnct:(de=qe.getBezierEasing(k.o.x,k.o.y,k.i.x,k.i.y,k.n).get,Q.__fnct=de),ee=de((c-H)/(W-H));var ce=F.segmentLength*ee,ye,Se=d.lastFrame<c&&d._lastKeyframeIndex===_?d._lastAddedLength:0;for(ae=d.lastFrame<c&&d._lastKeyframeIndex===_?d._lastPoint:0,j=!0,le=F.points.length;j;){if(Se+=F.points[ae].partialLength,ce===0||ee===0||ae===F.points.length-1){for(D=F.points[ae].point.length,be=0;be<D;be+=1)w[be]=F.points[ae].point[be];break}else if(ce>=Se&&ce<Se+F.points[ae+1].partialLength){for(ye=(ce-Se)/F.points[ae+1].partialLength,D=F.points[ae].point.length,be=0;be<D;be+=1)w[be]=F.points[ae].point[be]+(F.points[ae+1].point[be]-F.points[ae].point[be])*ye;break}ae<le-1?ae+=1:j=!1}d._lastPoint=ae,d._lastAddedLength=Se-F.points[ae].partialLength,d._lastKeyframeIndex=_}}else{var je,ct,tt,$e,lt;if(T=k.s.length,N=q.s||k.e,this.sh&&k.h!==1)if(c>=W)w[0]=N[0],w[1]=N[1],w[2]=N[2];else if(c<=H)w[0]=k.s[0],w[1]=k.s[1],w[2]=k.s[2];else{var Ye=Ps(k.s),Ue=Ps(N),z=(c-H)/(W-H);Pn(w,vr(Ye,Ue,z))}else for(_=0;_<T;_+=1)k.h!==1&&(c>=W?ee=1:c<H?ee=0:(k.o.x.constructor===Array?(Q.__fnct||(Q.__fnct=[]),Q.__fnct[_]?de=Q.__fnct[_]:(je=k.o.x[_]===void 0?k.o.x[0]:k.o.x[_],ct=k.o.y[_]===void 0?k.o.y[0]:k.o.y[_],tt=k.i.x[_]===void 0?k.i.x[0]:k.i.x[_],$e=k.i.y[_]===void 0?k.i.y[0]:k.i.y[_],de=qe.getBezierEasing(je,ct,tt,$e).get,Q.__fnct[_]=de)):Q.__fnct?de=Q.__fnct:(je=k.o.x,ct=k.o.y,tt=k.i.x,$e=k.i.y,de=qe.getBezierEasing(je,ct,tt,$e).get,k.keyframeMetadata=de),ee=de((c-H)/(W-H)))),N=q.s||k.e,lt=k.h===1?k.s[_]:k.s[_]+(N[_]-k.s[_])*ee,this.propType==="multidimensional"?w[_]=lt:w=lt}return d.lastIndex=E,w}function vr(c,d,v){var w=[],E=c[0],_=c[1],T=c[2],j=c[3],k=d[0],q=d[1],Q=d[2],be=d[3],D,ee,le,ae,de;return ee=E*k+_*q+T*Q+j*be,ee<0&&(ee=-ee,k=-k,q=-q,Q=-Q,be=-be),1-ee>1e-6?(D=Math.acos(ee),le=Math.sin(D),ae=Math.sin((1-v)*D)/le,de=Math.sin(v*D)/le):(ae=1-v,de=v),w[0]=ae*E+de*k,w[1]=ae*_+de*q,w[2]=ae*T+de*Q,w[3]=ae*j+de*be,w}function Pn(c,d){var v=d[0],w=d[1],E=d[2],_=d[3],T=Math.atan2(2*w*_-2*v*E,1-2*w*w-2*E*E),j=Math.asin(2*v*w+2*E*_),k=Math.atan2(2*v*_-2*w*E,1-2*v*v-2*E*E);c[0]=T/oe,c[1]=j/oe,c[2]=k/oe}function Ps(c){var d=c[0]*oe,v=c[1]*oe,w=c[2]*oe,E=Math.cos(d/2),_=Math.cos(v/2),T=Math.cos(w/2),j=Math.sin(d/2),k=Math.sin(v/2),q=Math.sin(w/2),Q=E*_*T-j*k*q,be=j*k*T+E*_*q,D=j*_*T+E*k*q,ee=E*k*T-j*_*q;return[be,D,ee,Q]}function eo(){var c=this.comp.renderedFrame-this.offsetTime,d=this.keyframes[0].t-this.offsetTime,v=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(c===this._caching.lastFrame||this._caching.lastFrame!==On&&(this._caching.lastFrame>=v&&c>=v||this._caching.lastFrame<d&&c<d))){this._caching.lastFrame>=c&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var w=this.interpolateValue(c,this._caching);this.pv=w}return this._caching.lastFrame=c,this.pv}function Me(c){var d;if(this.propType==="unidimensional")d=c*this.mult,gt(this.v-d)>1e-5&&(this.v=d,this._mdf=!0);else for(var v=0,w=this.v.length;v<w;)d=c[v]*this.mult,gt(this.v[v]-d)>1e-5&&(this.v[v]=d,this._mdf=!0),v+=1}function St(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var c,d=this.effectsSequence.length,v=this.kf?this.pv:this.data.k;for(c=0;c<d;c+=1)v=this.effectsSequence[c](v);this.setVValue(v),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Mt(c){this.effectsSequence.push(c),this.container.addDynamicProperty(this)}function wt(c,d,v,w){this.propType="unidimensional",this.mult=v||1,this.data=d,this.v=v?d.k*v:d.k,this.pv=d.k,this._mdf=!1,this.elem=c,this.container=w,this.comp=c.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=St,this.setVValue=Me,this.addEffect=Mt}function it(c,d,v,w){this.propType="multidimensional",this.mult=v||1,this.data=d,this._mdf=!1,this.elem=c,this.container=w,this.comp=c.comp,this.k=!1,this.kf=!1,this.frameId=-1;var E,_=d.k.length;for(this.v=L("float32",_),this.pv=L("float32",_),this.vel=L("float32",_),E=0;E<_;E+=1)this.v[E]=d.k[E]*this.mult,this.pv[E]=d.k[E];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=St,this.setVValue=Me,this.addEffect=Mt}function Vt(c,d,v,w){this.propType="unidimensional",this.keyframes=d.k,this.keyframesMetadata=[],this.offsetTime=c.data.st,this.frameId=-1,this._caching={lastFrame:On,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=d,this.mult=v||1,this.elem=c,this.container=w,this.comp=c.comp,this.v=On,this.pv=On,this._isFirstFrame=!0,this.getValue=St,this.setVValue=Me,this.interpolateValue=ln,this.effectsSequence=[eo.bind(this)],this.addEffect=Mt}function sr(c,d,v,w){this.propType="multidimensional";var E,_=d.k.length,T,j,k,q;for(E=0;E<_-1;E+=1)d.k[E].to&&d.k[E].s&&d.k[E+1]&&d.k[E+1].s&&(T=d.k[E].s,j=d.k[E+1].s,k=d.k[E].to,q=d.k[E].ti,(T.length===2&&!(T[0]===j[0]&&T[1]===j[1])&&on.pointOnLine2D(T[0],T[1],j[0],j[1],T[0]+k[0],T[1]+k[1])&&on.pointOnLine2D(T[0],T[1],j[0],j[1],j[0]+q[0],j[1]+q[1])||T.length===3&&!(T[0]===j[0]&&T[1]===j[1]&&T[2]===j[2])&&on.pointOnLine3D(T[0],T[1],T[2],j[0],j[1],j[2],T[0]+k[0],T[1]+k[1],T[2]+k[2])&&on.pointOnLine3D(T[0],T[1],T[2],j[0],j[1],j[2],j[0]+q[0],j[1]+q[1],j[2]+q[2]))&&(d.k[E].to=null,d.k[E].ti=null),T[0]===j[0]&&T[1]===j[1]&&k[0]===0&&k[1]===0&&q[0]===0&&q[1]===0&&(T.length===2||T[2]===j[2]&&k[2]===0&&q[2]===0)&&(d.k[E].to=null,d.k[E].ti=null));this.effectsSequence=[eo.bind(this)],this.data=d,this.keyframes=d.k,this.keyframesMetadata=[],this.offsetTime=c.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=v||1,this.elem=c,this.container=w,this.comp=c.comp,this.getValue=St,this.setVValue=Me,this.interpolateValue=ln,this.frameId=-1;
131var Q=d.k[0].s.length;for(this.v=L("float32",Q),this.pv=L("float32",Q),E=0;E<Q;E+=1)this.v[E]=On,this.pv[E]=On;this._caching={lastFrame:On,lastIndex:0,value:L("float32",Q)},this.addEffect=Mt}var Be=(function(){function c(v,w,E,_,T){w.sid&&(w=v.globalData.slotManager.getProp(w));var j;if(!w.k.length)j=new wt(v,w,_,T);else if(typeof w.k[0]=="number")j=new it(v,w,_,T);else switch(E){case 0:j=new Vt(v,w,_,T);break;case 1:j=new sr(v,w,_,T);break}return j.effectsSequence.length&&T.addDynamicProperty(j),j}var d={getProp:c};return d})();function En(){}En.prototype={addDynamicProperty:function(d){this.dynamicProperties.indexOf(d)===-1&&(this.dynamicProperties.push(d),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var d,v=this.dynamicProperties.length;for(d=0;d<v;d+=1)this.dynamicProperties[d].getValue(),this.dynamicProperties[d]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(d){this.container=d,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Mr=(function(){function c(){return L("float32",2)}return mt(8,c)})();function yr(){this.c=!1,this._length=0,this._maxLength=8,this.v=R(this._maxLength),this.o=R(this._maxLength),this.i=R(this._maxLength)}yr.prototype.setPathData=function(c,d){this.c=c,this.setLength(d);for(var v=0;v<d;)this.v[v]=Mr.newElement(),this.o[v]=Mr.newElement(),this.i[v]=Mr.newElement(),v+=1},yr.prototype.setLength=function(c){for(;this._maxLength<c;
vendor: 84,134 bytes, line 131
131)this.doubleArrayLength();this._length=c},yr.prototype.doubleArrayLength=function(){this.v=this.v.concat(R(this._maxLength)),this.i=this.i.concat(R(this._maxLength)),this.o=this.o.concat(R(this._maxLength)),this._maxLength*=2},yr.prototype.setXYAt=function(c,d,v,w,E){var _;switch(this._length=Math.max(this._length,w+1),this._length>=this._maxLength&&this.doubleArrayLength(),v){case"v":_=this.v;break;case"i":_=this.i;break;case"o":_=this.o;break;default:_=[];break}(!_[w]||_[w]&&!E)&&(_[w]=Mr.newElement()),_[w][0]=c,_[w][1]=d},yr.prototype.setTripleAt=function(c,d,v,w,E,_,T,j){this.setXYAt(c,d,"v",T,j),this.setXYAt(v,w,"o",T,j),this.setXYAt(E,_,"i",T,j)},yr.prototype.reverse=function(){var c=new yr;c.setPathData(this.c,this._length);var d=this.v,v=this.o,w=this.i,E=0;this.c&&(c.setTripleAt(d[0][0],d[0][1],w[0][0],w[0][1],v[0][0],v[0][1],0,!1),E=1);var _=this._length-1,T=this._length,j;for(j=E;j<T;j+=1)c.setTripleAt(d[_][0],d[_][1],w[_][0],w[_][1],v[_][0],v[_][1],j,!1),_-=1;return c},yr.prototype.length=function(){return this._length};var Rn=(function(){function c(){return new yr}function d(E){var _=E._length,T;for(T=0;T<_;T+=1)Mr.release(E.v[T]),Mr.release(E.i[T]),Mr.release(E.o[T]),E.v[T]=null,E.i[T]=null,E.o[T]=null;E._length=0,E.c=!1}function v(E){var _=w.newElement(),T,j=E._length===void 0?E.v.length:E._length;for(_.setLength(j),_.c=E.c,T=0;T<j;T+=1)_.setTripleAt(E.v[T][0],E.v[T][1],E.o[T][0],E.o[T][1],E.i[T][0],E.i[T][1],T);return _}var w=mt(4,c,d);return w.clone=v,w})();function ya(){this._length=0,this._maxLength=4,this.shapes=R(this._maxLength)}ya.prototype.addShape=function(c){this._length===this._maxLength&&(this.shapes=this.shapes.concat(R(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=c,this._length+=1},ya.prototype.releaseShapes=function(){var c;for(c=0;c<this._length;c+=1)Rn.release(this.shapes[c]);this._length=0};var xi=(function(){var c={newShapeCollection:E,release:_},d=0,v=4,w=R(v);function E(){var T;return d?(d-=1,T=w[d]):T=new ya,T}function _(T){var j,k=T._length;for(j=0;j<k;j+=1)Rn.release(T.shapes[j]);T._length=0,d===v&&(w=Ke.double(w),v*=2),w[d]=T,d+=1}return c})(),Ds=(function(){var c=-999999;function d(W,H,N){var F=N.lastIndex,G,ce,ye,Se,je,ct,tt,$e,lt,Ye=this.keyframes;if(W<Ye[0].t-this.offsetTime)G=Ye[0].s[0],ye=!0,F=0;else if(W>=Ye[Ye.length-1].t-this.offsetTime)G=Ye[Ye.length-1].s?Ye[Ye.length-1].s[0]:Ye[Ye.length-2].e[0],ye=!0;else{for(var Ue=F,z=Ye.length-1,ie=!0,C,M,we;ie&&(C=Ye[Ue],M=Ye[Ue+1],!(M.t-this.offsetTime>W));)Ue<z-1?Ue+=1:ie=!1;if(we=this.keyframesMetadata[Ue]||{},ye=C.h===1,F=Ue,!ye){if(W>=M.t-this.offsetTime)$e=1;else if(W<C.t-this.offsetTime)$e=0;else{var he;we.__fnct?he=we.__fnct:(he=qe.getBezierEasing(C.o.x,C.o.y,C.i.x,C.i.y).get,we.__fnct=he),$e=he((W-(C.t-this.offsetTime))/(M.t-this.offsetTime-(C.t-this.offsetTime)))}ce=M.s?M.s[0]:C.e[0]}G=C.s[0]}for(ct=H._length,tt=G.i[0].length,N.lastIndex=F,Se=0;Se<ct;Se+=1)for(je=0;je<tt;je+=1)lt=ye?G.i[Se][je]:G.i[Se][je]+(ce.i[Se][je]-G.i[Se][je])*$e,H.i[Se][je]=lt,lt=ye?G.o[Se][je]:G.o[Se][je]+(ce.o[Se][je]-G.o[Se][je])*$e,H.o[Se][je]=lt,lt=ye?G.v[Se][je]:G.v[Se][je]+(ce.v[Se][je]-G.v[Se][je])*$e,H.v[Se][je]=lt}function v(){var W=this.comp.renderedFrame-this.offsetTime,H=this.keyframes[0].t-this.offsetTime,N=this.keyframes[this.keyframes.length-1].t-this.offsetTime,F=this._caching.lastFrame;return F!==c&&(F<H&&W<H||F>N&&W>N)||(this._caching.lastIndex=F<W?this._caching.lastIndex:0,this.interpolateShape(W,this.pv,this._caching)),this._caching.lastFrame=W,this.pv}function w(){this.paths=this.localShapeCollection}function E(W,H){if(W._length!==H._length||W.c!==H.c)return!1;var N,F=W._length;for(N=0;N<F;N+=1)if(W.v[N][0]!==H.v[N][0]||W.v[N][1]!==H.v[N][1]||W.o[N][0]!==H.o[N][0]||W.o[N][1]!==H.o[N][1]||W.i[N][0]!==H.i[N][0]||W.i[N][1]!==H.i[N][1])return!1;return!0}function _(W){E(this.v,W)||(this.v=Rn.clone(W),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function T(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var W;this.kf?W=this.pv:this.data.ks?W=this.data.ks.k:W=this.data.pt.k;var H,N=this.effectsSequence.length;for(H=0;H<N;H+=1)W=this.effectsSequence[H](W);this.setVValue(W),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function j(W,H,N){this.propType="shape",this.comp=W.comp,this.container=W,this.elem=W,this.data=H,this.k=!1,this.kf=!1,this._mdf=!1;var F=N===3?H.pt.k:H.ks.k;this.v=Rn.clone(F),this.pv=Rn.clone(this.v),this.localShapeCollection=xi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=w,this.effectsSequence=[]}function k(W){this.effectsSequence.push(W),this.container.addDynamicProperty(this)}j.prototype.interpolateShape=d,j.prototype.getValue=T,j.prototype.setVValue=_,j.prototype.addEffect=k;function q(W,H,N){this.propType="shape",this.comp=W.comp,this.elem=W,this.container=W,this.offsetTime=W.data.st,this.keyframes=N===3?H.pt.k:H.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var F=this.keyframes[0].s[0].i.length;this.v=Rn.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,F),this.pv=Rn.clone(this.v),this.localShapeCollection=xi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=c,this.reset=w,this._caching={lastFrame:c,lastIndex:0},this.effectsSequence=[v.bind(this)]}q.prototype.getValue=T,q.prototype.interpolateShape=d,q.prototype.setVValue=_,q.prototype.addEffect=k;var Q=(function(){var W=_e;function H(N,F){this.v=Rn.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=xi.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=F.d,this.elem=N,this.comp=N.comp,this.frameId=-1,this.initDynamicPropertyContainer(N),this.p=Be.getProp(N,F.p,1,0,this),this.s=Be.getProp(N,F.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return H.prototype={reset:w,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var F=this.p.v[0],G=this.p.v[1],ce=this.s.v[0]/2,ye=this.s.v[1]/2,Se=this.d!==3,je=this.v;je.v[0][0]=F,je.v[0][1]=G-ye,je.v[1][0]=Se?F+ce:F-ce,je.v[1][1]=G,je.v[2][0]=F,je.v[2][1]=G+ye,je.v[3][0]=Se?F-ce:F+ce,je.v[3][1]=G,je.i[0][0]=Se?F-ce*W:F+ce*W,je.i[0][1]=G-ye,je.i[1][0]=Se?F+ce:F-ce,je.i[1][1]=G-ye*W,je.i[2][0]=Se?F+ce*W:F-ce*W,je.i[2][1]=G+ye,je.i[3][0]=Se?F-ce:F+ce,je.i[3][1]=G+ye*W,je.o[0][0]=Se?F+ce*W:F-ce*W,je.o[0][1]=G-ye,je.o[1][0]=Se?F+ce:F-ce,je.o[1][1]=G+ye*W,je.o[2][0]=Se?F-ce*W:F+ce*W,je.o[2][1]=G+ye,je.o[3][0]=Se?F-ce:F+ce,je.o[3][1]=G-ye*W}},S([En],H),H})(),be=(function(){function W(H,N){this.v=Rn.newElement(),this.v.setPathData(!0,0),this.elem=H,this.comp=H.comp,this.data=N,this.frameId=-1,this.d=N.d,this.initDynamicPropertyContainer(H),N.sy===1?(this.ir=Be.getProp(H,N.ir,0,0,this),this.is=Be.getProp(H,N.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Be.getProp(H,N.pt,0,0,this),this.p=Be.getProp(H,N.p,1,0,this),this.r=Be.getProp(H,N.r,0,oe,this),this.or=Be.getProp(H,N.or,0,0,this),this.os=Be.getProp(H,N.os,0,.01,this),this.localShapeCollection=xi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return W.prototype={reset:w,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var N=Math.floor(this.pt.v)*2,F=Math.PI*2/N,G=!0,ce=this.or.v,ye=this.ir.v,Se=this.os.v,je=this.is.v,ct=2*Math.PI*ce/(N*2),tt=2*Math.PI*ye/(N*2),$e,lt,Ye,Ue,z=-Math.PI/2;z+=this.r.v;var ie=this.data.d===3?-1:1;for(this.v._length=0,$e=0;$e<N;$e+=1){lt=G?ce:ye,Ye=G?Se:je,Ue=G?ct:tt;var C=lt*Math.cos(z),M=lt*Math.sin(z),we=C===0&&M===0?0:M/Math.sqrt(C*C+M*M),he=C===0&&M===0?0:-C/Math.sqrt(C*C+M*M);C+=+this.p.v[0],M+=+this.p.v[1],this.v.setTripleAt(C,M,C-we*Ue*Ye*ie,M-he*Ue*Ye*ie,C+we*Ue*Ye*ie,M+he*Ue*Ye*ie,$e,!0),G=!G,z+=F*ie}},convertPolygonToPath:function(){var N=Math.floor(this.pt.v),F=Math.PI*2/N,G=this.or.v,ce=this.os.v,ye=2*Math.PI*G/(N*4),Se,je=-Math.PI*.5,ct=this.data.d===3?-1:1;for(je+=this.r.v,this.v._length=0,Se=0;Se<N;Se+=1){var tt=G*Math.cos(je),$e=G*Math.sin(je),lt=tt===0&&$e===0?0:$e/Math.sqrt(tt*tt+$e*$e),Ye=tt===0&&$e===0?0:-tt/Math.sqrt(tt*tt+$e*$e);tt+=+this.p.v[0],$e+=+this.p.v[1],this.v.setTripleAt(tt,$e,tt-lt*ye*ce*ct,$e-Ye*ye*ce*ct,tt+lt*ye*ce*ct,$e+Ye*ye*ce*ct,Se,!0),je+=F*ct}this.paths.length=0,this.paths[0]=this.v}},S([En],W),W})(),D=(function(){function W(H,N){this.v=Rn.newElement(),this.v.c=!0,this.localShapeCollection=xi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=H,this.comp=H.comp,this.frameId=-1,this.d=N.d,this.initDynamicPropertyContainer(H),this.p=Be.getProp(H,N.p,1,0,this),this.s=Be.getProp(H,N.s,1,0,this),this.r=Be.getProp(H,N.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return W.prototype={convertRectToPath:function(){var N=this.p.v[0],F=this.p.v[1],G=this.s.v[0]/2,ce=this.s.v[1]/2,ye=Y(G,ce,this.r.v),Se=ye*(1-_e);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(N+G,F-ce+ye,N+G,F-ce+ye,N+G,F-ce+Se,0,!0),this.v.setTripleAt(N+G,F+ce-ye,N+G,F+ce-Se,N+G,F+ce-ye,1,!0),ye!==0?(this.v.setTripleAt(N+G-ye,F+ce,N+G-ye,F+ce,N+G-Se,F+ce,2,!0),this.v.setTripleAt(N-G+ye,F+ce,N-G+Se,F+ce,N-G+ye,F+ce,3,!0),this.v.setTripleAt(N-G,F+ce-ye,N-G,F+ce-ye,N-G,F+ce-Se,4,!0),this.v.setTripleAt(N-G,F-ce+ye,N-G,F-ce+Se,N-G,F-ce+ye,5,!0),this.v.setTripleAt(N-G+ye,F-ce,N-G+ye,F-ce,N-G+Se,F-ce,6,!0),this.v.setTripleAt(N+G-ye,F-ce,N+G-Se,F-ce,N+G-ye,F-ce,7,!0)):(this.v.setTripleAt(N-G,F+ce,N-G+Se,F+ce,N-G,F+ce,2),this.v.setTripleAt(N-G,F-ce,N-G,F-ce+Se,N-G,F-ce,3))):(this.v.setTripleAt(N+G,F-ce+ye,N+G,F-ce+Se,N+G,F-ce+ye,0,!0),ye!==0?(this.v.setTripleAt(N+G-ye,F-ce,N+G-ye,F-ce,N+G-Se,F-ce,1,!0),this.v.setTripleAt(N-G+ye,F-ce,N-G+Se,F-ce,N-G+ye,F-ce,2,!0),this.v.setTripleAt(N-G,F-ce+ye,N-G,F-ce+ye,N-G,F-ce+Se,3,!0),this.v.setTripleAt(N-G,F+ce-ye,N-G,F+ce-Se,N-G,F+ce-ye,4,!0),this.v.setTripleAt(N-G+ye,F+ce,N-G+ye,F+ce,N-G+Se,F+ce,5,!0),this.v.setTripleAt(N+G-ye,F+ce,N+G-Se,F+ce,N+G-ye,F+ce,6,!0),this.v.setTripleAt(N+G,F+ce-ye,N+G,F+ce-ye,N+G,F+ce-Se,7,!0)):(this.v.setTripleAt(N-G,F-ce,N-G+Se,F-ce,N-G,F-ce,1,!0),this.v.setTripleAt(N-G,F+ce,N-G,F+ce-Se,N-G,F+ce,2,!0),this.v.setTripleAt(N+G,F+ce,N+G-Se,F+ce,N+G,F+ce,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:w},S([En],W),W})();function ee(W,H,N){var F;if(N===3||N===4){var G=N===3?H.pt:H.ks,ce=G.k;ce.length?F=new q(W,H,N):F=new j(W,H,N)}else N===5?F=new D(W,H):N===6?F=new Q(W,H):N===7&&(F=new be(W,H));return F.k&&W.addDynamicProperty(F),F}function le(){return j}function ae(){return q}var de={};return de.getShapeProp=ee,de.getConstructorFunction=le,de.getKeyframedConstructorFunction=ae,de})();var yn=(function(){var c=Math.cos,d=Math.sin,v=Math.tan,w=Math.round;function E(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function _(C){if(C===0)return this;var M=c(C),we=d(C);return this._t(M,-we,0,0,we,M,0,0,0,0,1,0,0,0,0,1)}function T(C){if(C===0)return this;var M=c(C),we=d(C);return this._t(1,0,0,0,0,M,-we,0,0,we,M,0,0,0,0,1)}function j(C){if(C===0)return this;var M=c(C),we=d(C);return this._t(M,0,we,0,0,1,0,0,-we,0,M,0,0,0,0,1)}function k(C){if(C===0)return this;var M=c(C),we=d(C);return this._t(M,-we,0,0,we,M,0,0,0,0,1,0,0,0,0,1)}function q(C,M){return this._t(1,M,C,1,0,0)}function Q(C,M){return this.shear(v(C),v(M))}function be(C,M){var we=c(M),he=d(M);return this._t(we,he,0,0,-he,we,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,v(C),1,0,0,0,0,1,0,0,0,0,1)._t(we,-he,0,0,he,we,0,0,0,0,1,0,0,0,0,1)}function D(C,M,we){return!we&&we!==0&&(we=1),C===1&&M===1&&we===1?this:this._t(C,0,0,0,0,M,0,0,0,0,we,0,0,0,0,1)}function ee(C,M,we,he,We,ht,dt,Ht,jt,tn,dr,Dn,er,tr,Ar,qt){return this.props[0]=C,this.props[1]=M,this.props[2]=we,this.props[3]=he,this.props[4]=We,this.props[5]=ht,this.props[6]=dt,this.props[7]=Ht,this.props[8]=jt,this.props[9]=tn,this.props[10]=dr,this.props[11]=Dn,this.props[12]=er,this.props[13]=tr,this.props[14]=Ar,this.props[15]=qt,this}function le(C,M,we){return we=we||0,C!==0||M!==0||we!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,C,M,we,1):this}function ae(C,M,we,he,We,ht,dt,Ht,jt,tn,dr,Dn,er,tr,Ar,qt){var Qe=this.props;if(C===1&&M===0&&we===0&&he===0&&We===0&&ht===1&&dt===0&&Ht===0&&jt===0&&tn===0&&dr===1&&Dn===0)return Qe[12]=Qe[12]*C+Qe[15]*er,Qe[13]=Qe[13]*ht+Qe[15]*tr,Qe[14]=Qe[14]*dr+Qe[15]*Ar,Qe[15]*=qt,this._identityCalculated=!1,this;var Dr=Qe[0],vs=Qe[1],gi=Qe[2],Ur=Qe[3],ys=Qe[4],Un=Qe[5],xr=Qe[6],Cr=Qe[7],bs=Qe[8],Qr=Qe[9],Jr=Qe[10],ai=Qe[11],Ws=Qe[12],go=Qe[13],yl=Qe[14],jr=Qe[15];return Qe[0]=Dr*C+vs*We+gi*jt+Ur*er,Qe[1]=Dr*M+vs*ht+gi*tn+Ur*tr,Qe[2]=Dr*we+vs*dt+gi*dr+Ur*Ar,Qe[3]=Dr*he+vs*Ht+gi*Dn+Ur*qt,Qe[4]=ys*C+Un*We+xr*jt+Cr*er,Qe[5]=ys*M+Un*ht+xr*tn+Cr*tr,Qe[6]=ys*we+Un*dt+xr*dr+Cr*Ar,Qe[7]=ys*he+Un*Ht+xr*Dn+Cr*qt,Qe[8]=bs*C+Qr*We+Jr*jt+ai*er,Qe[9]=bs*M+Qr*ht+Jr*tn+ai*tr,Qe[10]=bs*we+Qr*dt+Jr*dr+ai*Ar,Qe[11]=bs*he+Qr*Ht+Jr*Dn+ai*qt,Qe[12]=Ws*C+go*We+yl*jt+jr*er,Qe[13]=Ws*M+go*ht+yl*tn+jr*tr,Qe[14]=Ws*we+go*dt+yl*dr+jr*Ar,Qe[15]=Ws*he+go*Ht+yl*Dn+jr*qt,this._identityCalculated=!1,this}function de(C){var M=C.props;return this.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15])}function W(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function H(C){for(var M=0;M<16;){if(C.props[M]!==this.props[M])return!1;M+=1}return!0}function N(C){var M;for(M=0;M<16;M+=1)C.props[M]=this.props[M];return C}function F(C){var M;for(M=0;M<16;M+=1)this.props[M]=C[M]}function G(C,M,we){return{x:C*this.props[0]+M*this.props[4]+we*this.props[8]+this.props[12],y:C*this.props[1]+M*this.props[5]+we*this.props[9]+this.props[13],z:C*this.props[2]+M*this.props[6]+we*this.props[10]+this.props[14]}}function ce(C,M,we){return C*this.props[0]+M*this.props[4]+we*this.props[8]+this.props[12]}function ye(C,M,we){return C*this.props[1]+M*this.props[5]+we*this.props[9]+this.props[13]}function Se(C,M,we){return C*this.props[2]+M*this.props[6]+we*this.props[10]+this.props[14]}function je(){var C=this.props[0]*this.props[5]-this.props[1]*this.props[4],M=this.props[5]/C,we=-this.props[1]/C,he=-this.props[4]/C,We=this.props[0]/C,ht=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/C,dt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/C,Ht=new yn;return Ht.props[0]=M,Ht.props[1]=we,Ht.props[4]=he,Ht.props[5]=We,Ht.props[12]=ht,Ht.props[13]=dt,Ht}function ct(C){var M=this.getInverseMatrix();return M.applyToPointArray(C[0],C[1],C[2]||0)}function tt(C){var M,we=C.length,he=[];for(M=0;M<we;M+=1)he[M]=ct(C[M]);return he}function $e(C,M,we){var he=L("float32",6);if(this.isIdentity())he[0]=C[0],he[1]=C[1],he[2]=M[0],he[3]=M[1],he[4]=we[0],he[5]=we[1];else{var We=this.props[0],ht=this.props[1],dt=this.props[4],Ht=this.props[5],jt=this.props[12],tn=this.props[13];he[0]=C[0]*We+C[1]*dt+jt,he[1]=C[0]*ht+C[1]*Ht+tn,he[2]=M[0]*We+M[1]*dt+jt,he[3]=M[0]*ht+M[1]*Ht+tn,he[4]=we[0]*We+we[1]*dt+jt,he[5]=we[0]*ht+we[1]*Ht+tn}return he}function lt(C,M,we){var he;return this.isIdentity()?he=[C,M,we]:he=[C*this.props[0]+M*this.props[4]+we*this.props[8]+this.props[12],C*this.props[1]+M*this.props[5]+we*this.props[9]+this.props[13],C*this.props[2]+M*this.props[6]+we*this.props[10]+this.props[14]],he}function Ye(C,M){if(this.isIdentity())return C+","+M;var we=this.props;return Math.round((C*we[0]+M*we[4]+we[12])*100)/100+","+Math.round((C*we[1]+M*we[5]+we[13])*100)/100}function Ue(){for(var C=0,M=this.props,we="matrix3d(",he=1e4;C<16;)we+=w(M[C]*he)/he,we+=C===15?")":",",C+=1;return we}function z(C){var M=1e4;return C<1e-6&&C>0||C>-1e-6&&C<0?w(C*M)/M:C}function ie(){var C=this.props,M=z(C[0]),we=z(C[1]),he=z(C[4]),We=z(C[5]),ht=z(C[12]),dt=z(C[13]);return"matrix("+M+","+we+","+he+","+We+","+ht+","+dt+")"}return function(){this.reset=E,this.rotate=_,this.rotateX=T,this.rotateY=j,this.rotateZ=k,this.skew=Q,this.skewFromAxis=be,this.shear=q,this.scale=D,this.setTransform=ee,this.translate=le,this.transform=ae,this.multiply=de,this.applyToPoint=G,this.applyToX=ce,this.applyToY=ye,this.applyToZ=Se,this.applyToPointArray=lt,this.applyToTriplePoints=$e,this.applyToPointStringified=Ye,this.toCSS=Ue,this.to2dCSS=ie,this.clone=N,this.cloneFromProps=F,this.equals=H,this.inversePoints=tt,this.inversePoint=ct,this.getInverseMatrix=je,this._t=this.transform,this.isIdentity=W,this._identity=!0,this._identityCalculated=!1,this.props=L("float32",16),this.reset()}})();function Us(c){"@babel/helpers - typeof";return Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Us(c)}var Nt={};function ul(c){g(c)}function Xr(){Ot.searchAnimations()}function Vn(c){He(c)}function hr(c){Qn(c)}function fs(c){return Ot.loadAnimation(c)}function to(c){if(typeof c=="string")switch(c){case"high":It(200);break;default:case"medium":It(50);break;case"low":It(10);break}else!isNaN(c)&&c>1&&It(c)}function _u(){return typeof navigator<"u"}function cl(c,d){c==="expressions"&&Ve(d)}function fl(c){switch(c){case"propertyFactory":return Be;case"shapePropertyFactory":return Ds;case"matrix":return yn;default:return null}}Nt.play=Ot.play,Nt.pause=Ot.pause,Nt.setLocationHref=ul,Nt.togglePause=Ot.togglePause,Nt.setSpeed=Ot.setSpeed,Nt.setDirection=Ot.setDirection,Nt.stop=Ot.stop,Nt.searchAnimations=Xr,Nt.registerAnimation=Ot.registerAnimation,Nt.loadAnimation=fs,Nt.setSubframeRendering=Vn,Nt.resize=Ot.resize,Nt.goToAndStop=Ot.goToAndStop,Nt.destroy=Ot.destroy,Nt.setQuality=to,Nt.inBrowser=_u,Nt.installPlugin=cl,Nt.freeze=Ot.freeze,Nt.unfreeze=Ot.unfreeze,Nt.setVolume=Ot.setVolume,Nt.mute=Ot.mute,Nt.unmute=Ot.unmute,Nt.getRegisteredAnimations=Ot.getRegisteredAnimations,Nt.useWebWorker=f,Nt.setIDPrefix=hr,Nt.__getFactory=fl,Nt.version="5.13.0";function zi(){document.readyState==="complete"&&(clearInterval(An),Xr())}function no(c){for(var d=Hi.split("&"),v=0;v<d.length;v+=1){var w=d[v].split("=");if(decodeURIComponent(w[0])==c)return decodeURIComponent(w[1])}return null}var Hi="";{var $i=document.getElementsByTagName("script"),Vi=$i.length-1,qi=$i[Vi]||{src:""};Hi=qi.src?qi.src.replace(/^[^\?]+\??/,""):"",no("renderer")}var An=setInterval(zi,100);try{Us(t)!=="object"&&(window.bodymovin=Nt)}catch{}var hi=(function(){var c={},d={};c.registerModifier=v,c.getModifier=w;function v(E,_){d[E]||(d[E]=_)}function w(E,_,T){return new d[E](_,T)}return c})();function ar(){}ar.prototype.initModifierProperties=function(){},ar.prototype.addShapeToModifier=function(){},ar.prototype.addShape=function(c){if(!this.closed){c.sh.container.addDynamicProperty(c.sh);var d={shape:c.sh,data:c,localShapeCollection:xi.newShapeCollection()};this.shapes.push(d),this.addShapeToModifier(d),this._isAnimated&&c.setAsAnimated()}},ar.prototype.init=function(c,d){this.shapes=[],this.elem=c,this.initDynamicPropertyContainer(c),this.initModifierProperties(c,d),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ar.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},S([En],ar);function qn(){}S([ar],qn),qn.prototype.initModifierProperties=function(c,d){this.s=Be.getProp(c,d.s,0,.01,this),this.e=Be.getProp(c,d.e,0,.01,this),this.o=Be.getProp(c,d.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=d.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},qn.prototype.addShapeToModifier=function(c){c.pathsData=[]},qn.prototype.calculateShapeEdges=function(c,d,v,w,E){var _=[];d<=1?_.push({s:c,e:d}):c>=1?_.push({s:c-1,e:d-1}):(_.push({s:c,e:1}),_.push({s:0,e:d-1}));var T=[],j,k=_.length,q;for(j=0;j<k;j+=1)if(q=_[j],!(q.e*E<w||q.s*E>w+v)){var Q,be;q.s*E<=w?Q=0:Q=(q.s*E-w)/v,q.e*E>=w+v?be=1:be=(q.e*E-w)/v,T.push([Q,be])}return T.length||T.push([0,0]),T},qn.prototype.releasePathsData=function(c){var d,v=c.length;for(d=0;d<v;d+=1)kt.release(c[d]);return c.length=0,c},qn.prototype.processShapes=function(c){var d,v;if(this._mdf||c){var w=this.o.v%360/360;if(w<0&&(w+=1),this.s.v>1?d=1+w:this.s.v<0?d=0+w:d=this.s.v+w,this.e.v>1?v=1+w:this.e.v<0?v=0+w:v=this.e.v+w,d>v){var E=d;d=v,v=E}d=Math.round(d*1e4)*1e-4,v=Math.round(v*1e4)*1e-4,this.sValue=d,this.eValue=v}else d=this.sValue,v=this.eValue;var _,T,j=this.shapes.length,k,q,Q,be,D,ee=0;if(v===d)for(T=0;T<j;T+=1)this.shapes[T].localShapeCollection.releaseShapes(),this.shapes[T].shape._mdf=!0,this.shapes[T].shape.paths=this.shapes[T].localShapeCollection,this._mdf&&(this.shapes[T].pathsData.length=0);else if(v===1&&d===0||v===0&&d===1){if(this._mdf)for(T=0;T<j;T+=1)this.shapes[T].pathsData.length=0,this.shapes[T].shape._mdf=!0}else{var le=[],ae,de;for(T=0;T<j;T+=1)if(ae=this.shapes[T],!ae.shape._mdf&&!this._mdf&&!c&&this.m!==2)ae.shape.paths=ae.localShapeCollection;else{if(_=ae.shape.paths,q=_._length,D=0,!ae.shape._mdf&&ae.pathsData.length)D=ae.totalShapeLength;else{for(Q=this.releasePathsData(ae.pathsData),k=0;k<q;k+=1)be=on.getSegmentsLength(_.shapes[k]),Q.push(be),D+=be.totalLength;ae.totalShapeLength=D,ae.pathsData=Q}ee+=D,ae.shape._mdf=!0}var W=d,H=v,N=0,F;for(T=j-1;T>=0;T-=1)if(ae=this.shapes[T],ae.shape._mdf){for(de=ae.localShapeCollection,de.releaseShapes(),this.m===2&&j>1?(F=this.calculateShapeEdges(d,v,ae.totalShapeLength,N,ee),N+=ae.totalShapeLength):F=[[W,H]],q=F.length,k=0;k<q;k+=1){W=F[k][0],H=F[k][1],le.length=0,H<=1?le.push({s:ae.totalShapeLength*W,e:ae.totalShapeLength*H}):W>=1?le.push({s:ae.totalShapeLength*(W-1),e:ae.totalShapeLength*(H-1)}):(le.push({s:ae.totalShapeLength*W,e:ae.totalShapeLength}),le.push({s:0,e:ae.totalShapeLength*(H-1)}));var G=this.addShapes(ae,le[0]);if(le[0].s!==le[0].e){if(le.length>1){var ce=ae.shape.paths.shapes[ae.shape.paths._length-1];if(ce.c){var ye=G.pop();this.addPaths(G,de),G=this.addShapes(ae,le[1],ye)}else this.addPaths(G,de),G=this.addShapes(ae,le[1])}this.addPaths(G,de)}}ae.shape.paths=de}}},qn.prototype.addPaths=function(c,d){var v,w=c.length;for(v=0;v<w;v+=1)d.addShape(c[v])},qn.prototype.addSegment=function(c,d,v,w,E,_,T){E.setXYAt(d[0],d[1],"o",_),E.setXYAt(v[0],v[1],"i",_+1),T&&E.setXYAt(c[0],c[1],"v",_),E.setXYAt(w[0],w[1],"v",_+1)},qn.prototype.addSegmentFromArray=function(c,d,v,w){d.setXYAt(c[1],c[5],"o",v),d.setXYAt(c[2],c[6],"i",v+1),w&&d.setXYAt(c[0],c[4],"v",v),d.setXYAt(c[3],c[7],"v",v+1)},qn.prototype.addShapes=function(c,d,v){var w=c.pathsData,E=c.shape.paths.shapes,_,T=c.shape.paths._length,j,k,q=0,Q,be,D,ee,le=[],ae,de=!0;for(v?(be=v._length,ae=v._length):(v=Rn.newElement(),be=0,ae=0),le.push(v),_=0;_<T;_+=1){for(D=w[_].lengths,v.c=E[_].c,k=E[_].c?D.length:D.length+1,j=1;j<k;j+=1)if(Q=D[j-1],q+Q.addedLength<d.s)q+=Q.addedLength,v.c=!1;else if(q>d.e){v.c=!1;break}else d.s<=q&&d.e>=q+Q.addedLength?(this.addSegment(E[_].v[j-1],E[_].o[j-1],E[_].i[j],E[_].v[j],v,be,de),de=!1):(ee=on.getNewSegment(E[_].v[j-1],E[_].v[j],E[_].o[j-1],E[_].i[j],(d.s-q)/Q.addedLength,(d.e-q)/Q.addedLength,D[j-1]),this.addSegmentFromArray(ee,v,be,de),de=!1,v.c=!1),q+=Q.addedLength,be+=1;if(E[_].c&&D.length){if(Q=D[j-1],q<=d.e){var W=D[j-1].addedLength;d.s<=q&&d.e>=q+W?(this.addSegment(E[_].v[j-1],E[_].o[j-1],E[_].i[0],E[_].v[0],v,be,de),de=!1):(ee=on.getNewSegment(E[_].v[j-1],E[_].v[0],E[_].o[j-1],E[_].i[0],(d.s-q)/W,(d.e-q)/W,D[j-1]),this.addSegmentFromArray(ee,v,be,de),de=!1,v.c=!1)}else v.c=!1;q+=Q.addedLength,be+=1}if(v._length&&(v.setXYAt(v.v[ae][0],v.v[ae][1],"i",ae),v.setXYAt(v.v[v._length-1][0],v.v[v._length-1][1],"o",v._length-1)),q>d.e)break;_<T-1&&(v=Rn.newElement(),de=!0,le.push(v),be=0)}return le};function Nr(){}S([ar],Nr),Nr.prototype.initModifierProperties=function(c,d){this.getValue=this.processKeys,this.amount=Be.getProp(c,d.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Nr.prototype.processPath=function(c,d){var v=d/100,w=[0,0],E=c._length,_=0;for(_=0;_<E;_+=1)w[0]+=c.v[_][0],w[1]+=c.v[_][1];w[0]/=E,w[1]/=E;var T=Rn.newElement();T.c=c.c;var j,k,q,Q,be,D;for(_=0;_<E;_+=1)j=c.v[_][0]+(w[0]-c.v[_][0])*v,k=c.v[_][1]+(w[1]-c.v[_][1])*v,q=c.o[_][0]+(w[0]-c.o[_][0])*-v,Q=c.o[_][1]+(w[1]-c.o[_][1])*-v,be=c.i[_][0]+(w[0]-c.i[_][0])*-v,D=c.i[_][1]+(w[1]-c.i[_][1])*-v,T.setTripleAt(j,k,q,Q,be,D,_);return T},Nr.prototype.processShapes=function(c){var d,v,w=this.shapes.length,E,_,T=this.amount.v;if(T!==0){var j,k;for(v=0;v<w;v+=1){if(j=this.shapes[v],k=j.localShapeCollection,!(!j.shape._mdf&&!this._mdf&&!c))for(k.releaseShapes(),j.shape._mdf=!0,d=j.shape.paths.shapes,_=j.shape.paths._length,E=0;E<_;E+=1)k.addShape(this.processPath(d[E],T));j.shape.paths=j.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var ro=(function(){var c=[0,0];function d(k){var q=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||q,this.a&&k.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&k.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&k.skewFromAxis(-this.sk.v,this.sa.v),this.r?k.rotate(-this.r.v):k.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?k.translate(this.px.v,this.py.v,-this.pz.v):k.translate(this.px.v,this.py.v,0):k.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function v(k){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||k){var q;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var Q,be;if(q=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(Q=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/q,0),be=this.p.getValueAtTime(this.p.keyframes[0].t/q,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(Q=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/q,0),be=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/q,0)):(Q=this.p.pv,be=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/q,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){Q=[],be=[];var D=this.px,ee=this.py;D._caching.lastFrame+D.offsetTime<=D.keyframes[0].t?(Q[0]=D.getValueAtTime((D.keyframes[0].t+.01)/q,0),Q[1]=ee.getValueAtTime((ee.keyframes[0].t+.01)/q,0),be[0]=D.getValueAtTime(D.keyframes[0].t/q,0),be[1]=ee.getValueAtTime(ee.keyframes[0].t/q,0)):D._caching.lastFrame+D.offsetTime>=D.keyframes[D.keyframes.length-1].t?(Q[0]=D.getValueAtTime(D.keyframes[D.keyframes.length-1].t/q,0),Q[1]=ee.getValueAtTime(ee.keyframes[ee.keyframes.length-1].t/q,0),be[0]=D.getValueAtTime((D.keyframes[D.keyframes.length-1].t-.01)/q,0),be[1]=ee.getValueAtTime((ee.keyframes[ee.keyframes.length-1].t-.01)/q,0)):(Q=[D.pv,ee.pv],be[0]=D.getValueAtTime((D._caching.lastFrame+D.offsetTime-.01)/q,D.offsetTime),be[1]=ee.getValueAtTime((ee._caching.lastFrame+ee.offsetTime-.01)/q,ee.offsetTime))}else be=c,Q=be;this.v.rotate(-Math.atan2(Q[1]-be[1],Q[0]-be[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function w(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function E(){}function _(k){this._addDynamicProperty(k),this.elem.addDynamicProperty(k),this._isDirty=!0}function T(k,q,Q){if(this.elem=k,this.frameId=-1,this.propType="transform",this.data=q,this.v=new yn,this.pre=new yn,this.appliedTransformations=0,this.initDynamicPropertyContainer(Q||k),q.p&&q.p.s?(this.px=Be.getProp(k,q.p.x,0,0,this),this.py=Be.getProp(k,q.p.y,0,0,this),q.p.z&&(this.pz=Be.getProp(k,q.p.z,0,0,this))):this.p=Be.getProp(k,q.p||{k:[0,0,0]},1,0,this),q.rx){if(this.rx=Be.getProp(k,q.rx,0,oe,this),this.ry=Be.getProp(k,q.ry,0,oe,this),this.rz=Be.getProp(k,q.rz,0,oe,this),q.or.k[0].ti){var be,D=q.or.k.length;for(be=0;be<D;be+=1)q.or.k[be].to=null,q.or.k[be].ti=null}this.or=Be.getProp(k,q.or,1,oe,this),this.or.sh=!0}else this.r=Be.getProp(k,q.r||{k:0},0,oe,this);q.sk&&(this.sk=Be.getProp(k,q.sk,0,oe,this),this.sa=Be.getProp(k,q.sa,0,oe,this)),this.a=Be.getProp(k,q.a||{k:[0,0,0]},1,0,this),this.s=Be.getProp(k,q.s||{k:[100,100,100]},1,.01,this),q.o?this.o=Be.getProp(k,q.o,0,.01,k):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}T.prototype={applyToMatrix:d,getValue:v,precalculateMatrix:w,autoOrient:E},S([En],T),T.prototype.addDynamicProperty=_,T.prototype._addDynamicProperty=En.prototype.addDynamicProperty;function j(k,q,Q){return new T(k,q,Q)}return{getTransformProperty:j}})();function br(){}S([ar],br),br.prototype.initModifierProperties=function(c,d){this.getValue=this.processKeys,this.c=Be.getProp(c,d.c,0,null,this),this.o=Be.getProp(c,d.o,0,null,this),this.tr=ro.getTransformProperty(c,d.tr,this),this.so=Be.getProp(c,d.tr.so,0,.01,this),this.eo=Be.getProp(c,d.tr.eo,0,.01,this),this.data=d,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new yn,this.rMatrix=new yn,this.sMatrix=new yn,this.tMatrix=new yn,this.matrix=new yn},br.prototype.applyTransforms=function(c,d,v,w,E,_){var T=_?-1:1,j=w.s.v[0]+(1-w.s.v[0])*(1-E),k=w.s.v[1]+(1-w.s.v[1])*(1-E);c.translate(w.p.v[0]*T*E,w.p.v[1]*T*E,w.p.v[2]),d.translate(-w.a.v[0],-w.a.v[1],w.a.v[2]),d.rotate(-w.r.v*T*E),d.translate(w.a.v[0],w.a.v[1],w.a.v[2]),v.translate(-w.a.v[0],-w.a.v[1],w.a.v[2]),v.scale(_?1/j:j,_?1/k:k),v.translate(w.a.v[0],w.a.v[1],w.a.v[2])},br.prototype.init=function(c,d,v,w){for(this.elem=c,this.arr=d,this.pos=v,this.elemsData=w,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(c),this.initModifierProperties(c,d[v]);v>0;)v-=1,this._elements.unshift(d[v]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},br.prototype.resetElements=function(c){var d,v=c.length;for(d=0;d<v;d+=1)c[d]._processed=!1,c[d].ty==="gr"&&this.resetElements(c[d].it)},br.prototype.cloneElements=function(c){var d=JSON.parse(JSON.stringify(c));return this.resetElements(d),d},br.prototype.changeGroupRender=function(c,d){var v,w=c.length;for(v=0;v<w;v+=1)c[v]._render=d,c[v].ty==="gr"&&this.changeGroupRender(c[v].it,d)},br.prototype.processShapes=function(c){var d,v,w,E,_,T=!1;if(this._mdf||c){var j=Math.ceil(this.c.v);if(this._groups.length<j){for(;this._groups.length<j;){var k={it:this.cloneElements(this._elements),ty:"gr"};k.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,k),this._groups.splice(0,0,k),this._currentCopies+=1}this.elem.reloadShapes(),T=!0}_=0;var q;for(w=0;w<=this._groups.length-1;w+=1){if(q=_<j,this._groups[w]._render=q,this.changeGroupRender(this._groups[w].it,q),!q){var Q=this.elemsData[w].it,be=Q[Q.length-1];be.transform.op.v!==0?(be.transform.op._mdf=!0,be.transform.op.v=0):be.transform.op._mdf=!1}_+=1}this._currentCopies=j;var D=this.o.v,ee=D%1,le=D>0?Math.floor(D):Math.ceil(D),ae=this.pMatrix.props,de=this.rMatrix.props,W=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var H=0;if(D>0){for(;H<le;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),H+=1;ee&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,ee,!1),H+=ee)}else if(D<0){for(;H>le;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),H-=1;ee&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-ee,!0),H-=ee)}w=this.data.m===1?0:this._currentCopies-1,E=this.data.m===1?1:-1,_=this._currentCopies;for(var N,F;_;){if(d=this.elemsData[w].it,v=d[d.length-1].transform.mProps.v.props,F=v.length,d[d.length-1].transform.mProps._mdf=!0,d[d.length-1].transform.op._mdf=!0,d[d.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(w/(this._currentCopies-1)),H!==0){for((w!==0&&E===1||w!==this._currentCopies-1&&E===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(de[0],de[1],de[2],de[3],de[4],de[5],de[6],de[7],de[8],de[9],de[10],de[11],de[12],de[13],de[14],de[15]),this.matrix.transform(W[0],W[1],W[2],W[3],W[4],W[5],W[6],W[7],W[8],W[9],W[10],W[11],W[12],W[13],W[14],W[15]),this.matrix.transform(ae[0],ae[1],ae[2],ae[3],ae[4],ae[5],ae[6],ae[7],ae[8],ae[9],ae[10],ae[11],ae[12],ae[13],ae[14],ae[15]),N=0;N<F;N+=1)v[N]=this.matrix.props[N];this.matrix.reset()}else for(this.matrix.reset(),N=0;N<F;N+=1)v[N]=this.matrix.props[N];H+=1,_-=1,w+=E}}else for(_=this._currentCopies,w=0,E=1;_;)d=this.elemsData[w].it,v=d[d.length-1].transform.mProps.v.props,d[d.length-1].transform.mProps._mdf=!1,d[d.length-1].transform.op._mdf=!1,_-=1,w+=E;return T},br.prototype.addShape=function(){};function js(){}S([ar],js),js.prototype.initModifierProperties=function(c,d){this.getValue=this.processKeys,this.rd=Be.getProp(c,d.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},js.prototype.processPath=function(c,d){var v=Rn.newElement();v.c=c.c;var w,E=c._length,_,T,j,k,q,Q,be=0,D,ee,le,ae,de,W;for(w=0;w<E;w+=1)_=c.v[w],j=c.o[w],T=c.i[w],_[0]===j[0]&&_[1]===j[1]&&_[0]===T[0]&&_[1]===T[1]?(w===0||w===E-1)&&!c.c?(v.setTripleAt(_[0],_[1],j[0],j[1],T[0],T[1],be),be+=1):(w===0?k=c.v[E-1]:k=c.v[w-1],q=Math.sqrt(Math.pow(_[0]-k[0],2)+Math.pow(_[1]-k[1],2)),Q=q?Math.min(q/2,d)/q:0,de=_[0]+(k[0]-_[0])*Q,D=de,W=_[1]-(_[1]-k[1])*Q,ee=W,le=D-(D-_[0])*_e,ae=ee-(ee-_[1])*_e,v.setTripleAt(D,ee,le,ae,de,W,be),be+=1,w===E-1?k=c.v[0]:k=c.v[w+1],q=Math.sqrt(Math.pow(_[0]-k[0],2)+Math.pow(_[1]-k[1],2)),Q=q?Math.min(q/2,d)/q:0,le=_[0]+(k[0]-_[0])*Q,D=le,ae=_[1]+(k[1]-_[1])*Q,ee=ae,de=D-(D-_[0])*_e,W=ee-(ee-_[1])*_e,v.setTripleAt(D,ee,le,ae,de,W,be),be+=1):(v.setTripleAt(c.v[w][0],c.v[w][1],c.o[w][0],c.o[w][1],c.i[w][0],c.i[w][1],be),be+=1);return v},js.prototype.processShapes=function(c){var d,v,w=this.shapes.length,E,_,T=this.rd.v;if(T!==0){var j,k;for(v=0;v<w;v+=1){if(j=this.shapes[v],k=j.localShapeCollection,!(!j.shape._mdf&&!this._mdf&&!c))for(k.releaseShapes(),j.shape._mdf=!0,d=j.shape.paths.shapes,_=j.shape.paths._length,E=0;E<_;E+=1)k.addShape(this.processPath(d[E],T));j.shape.paths=j.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ba(c,d){return Math.abs(c-d)*1e5<=Math.min(Math.abs(c),Math.abs(d))}function Pt(c){return Math.abs(c)<=1e-5}function Fs(c,d,v){return c*(1-v)+d*v}function un(c,d,v){return[Fs(c[0],d[0],v),Fs(c[1],d[1],v)]}function Pr(c,d,v){if(c===0)return[];var w=d*d-4*c*v;if(w<0)return[];var E=-d/(2*c);if(w===0)return[E];var _=Math.sqrt(w)/(2*c);return[E-_,E+_]}function io(c,d,v,w){return[-c+3*d-3*v+w,3*c-6*d+3*v,-3*c+3*d,c]}function hs(c){return new bn(c,c,c,c,!1)}function bn(c,d,v,w,E){E&&ds(c,d)&&(d=un(c,w,1/3)),E&&ds(v,w)&&(v=un(c,w,2/3));var _=io(c[0],d[0],v[0],w[0]),T=io(c[1],d[1],v[1],w[1]);this.a=[_[0],T[0]],this.b=[_[1],T[1]],this.c=[_[2],T[2]],this.d=[_[3],T[3]],this.points=[c,d,v,w]}bn.prototype.point=function(c){return[((this.a[0]*c+this.b[0])*c+this.c[0])*c+this.d[0],((this.a[1]*c+this.b[1])*c+this.c[1])*c+this.d[1]]},bn.prototype.derivative=function(c){return[(3*c*this.a[0]+2*this.b[0])*c+this.c[0],(3*c*this.a[1]+2*this.b[1])*c+this.c[1]]},bn.prototype.tangentAngle=function(c){var d=this.derivative(c);return Math.atan2(d[1],d[0])},bn.prototype.normalAngle=function(c){var d=this.derivative(c);return Math.atan2(d[0],d[1])},bn.prototype.inflectionPoints=function(){var c=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Pt(c))return[];var d=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/c,v=d*d-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/c;if(v<0)return[];var w=Math.sqrt(v);return Pt(w)?w>0&&w<1?[d]:[]:[d-w,d+w].filter(function(E){return E>0&&E<1})},bn.prototype.split=function(c){if(c<=0)return[hs(this.points[0]),this];if(c>=1)return[this,hs(this.points[this.points.length-1])];var d=un(this.points[0],this.points[1],c),v=un(this.points[1],this.points[2],c),w=un(this.points[2],this.points[3],c),E=un(d,v,c),_=un(v,w,c),T=un(E,_,c);return[new bn(this.points[0],d,E,T,!0),new bn(T,_,w,this.points[3],!0)]};function so(c,d){var v=c.points[0][d],w=c.points[c.points.length-1][d];if(v>w){var E=w;w=v,v=E}for(var _=Pr(3*c.a[d],2*c.b[d],c.c[d]),T=0;T<_.length;T+=1)if(_[T]>0&&_[T]<1){var j=c.point(_[T])[d];j<v?v=j:j>w&&(w=j)}return{min:v,max:w}}bn.prototype.bounds=function(){return{x:so(this,0),y:so(this,1)}},bn.prototype.boundingBox=function(){var c=this.bounds();return{left:c.x.min,right:c.x.max,top:c.y.min,bottom:c.y.max,width:c.x.max-c.x.min,height:c.y.max-c.y.min,cx:(c.x.max+c.x.min)/2,cy:(c.y.max+c.y.min)/2}};function di(c,d,v){var w=c.boundingBox();return{cx:w.cx,cy:w.cy,width:w.width,height:w.height,bez:c,t:(d+v)/2,t1:d,t2:v}}function Eu(c){var d=c.bez.split(.5);return[di(d[0],c.t1,c.t),di(d[1],c.t,c.t2)]}function Sr(c,d){return Math.abs(c.cx-d.cx)*2<c.width+d.width&&Math.abs(c.cy-d.cy)*2<c.height+d.height}function Ci(c,d,v,w,E,_){if(Sr(c,d)){if(v>=_||c.width<=w&&c.height<=w&&d.width<=w&&d.height<=w){E.push([c.t,d.t]);return}var T=Eu(c),j=Eu(d);Ci(T[0],j[0],v+1,w,E,_),Ci(T[0],j[1],v+1,w,E,_),Ci(T[1],j[0],v+1,w,E,_),Ci(T[1],j[1],v+1,w,E,_)}}bn.prototype.intersections=function(c,d,v){d===void 0&&(d=2),v===void 0&&(v=7);var w=[];return Ci(di(this,0,1),di(c,0,1),0,d,w,v),w},bn.shapeSegment=function(c,d){var v=(d+1)%c.length();return new bn(c.v[d],c.o[d],c.i[v],c.v[v],!0)},bn.shapeSegmentInverted=function(c,d){var v=(d+1)%c.length();return new bn(c.v[v],c.i[v],c.o[d],c.v[d],!0)};function wr(c,d){return[c[1]*d[2]-c[2]*d[1],c[2]*d[0]-c[0]*d[2],c[0]*d[1]-c[1]*d[0]]}function Ti(c,d,v,w){var E=[c[0],c[1],1],_=[d[0],d[1],1],T=[v[0],v[1],1],j=[w[0],w[1],1],k=wr(wr(E,_),wr(T,j));return Pt(k[2])?null:[k[0]/k[2],k[1]/k[2]]}function _r(c,d,v){return[c[0]+Math.cos(d)*v,c[1]-Math.sin(d)*v]}function Sa(c,d){return Math.hypot(c[0]-d[0],c[1]-d[1])}function ds(c,d){return ba(c[0],d[0])&&ba(c[1],d[1])}function Ki(){}S([ar],Ki),Ki.prototype.initModifierProperties=function(c,d){this.getValue=this.processKeys,this.amplitude=Be.getProp(c,d.s,0,null,this),this.frequency=Be.getProp(c,d.r,0,null,this),this.pointsType=Be.getProp(c,d.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Vd(c,d,v,w,E,_,T){var j=v-Math.PI/2,k=v+Math.PI/2,q=d[0]+Math.cos(v)*w*E,Q=d[1]-Math.sin(v)*w*E;c.setTripleAt(q,Q,q+Math.cos(j)*_,Q-Math.sin(j)*_,q+Math.cos(k)*T,Q-Math.sin(k)*T,c.length())}function qd(c,d){var v=[d[0]-c[0],d[1]-c[1]],w=-Math.PI*.5,E=[Math.cos(w)*v[0]-Math.sin(w)*v[1],Math.sin(w)*v[0]+Math.cos(w)*v[1]];return E}function Kd(c,d){var v=d===0?c.length()-1:d-1,w=(d+1)%c.length(),E=c.v[v],_=c.v[w],T=qd(E,_);return Math.atan2(0,1)-Math.atan2(T[1],T[0])}function Au(c,d,v,w,E,_,T){var j=Kd(d,v),k=d.v[v%d._length],q=d.v[v===0?d._length-1:v-1],Q=d.v[(v+1)%d._length],be=_===2?Math.sqrt(Math.pow(k[0]-q[0],2)+Math.pow(k[1]-q[1],2)):0,D=_===2?Math.sqrt(Math.pow(k[0]-Q[0],2)+Math.pow(k[1]-Q[1],2)):0;Vd(c,d.v[v%d._length],j,T,w,D/((E+1)*2),be/((E+1)*2))}function F0(c,d,v,w,E,_){for(var T=0;T<w;T+=1){var j=(T+1)/(w+1),k=E===2?Math.sqrt(Math.pow(d.points[3][0]-d.points[0][0],2)+Math.pow(d.points[3][1]-d.points[0][1],2)):0,q=d.normalAngle(j),Q=d.point(j);Vd(c,Q,q,_,v,k/((w+1)*2),k/((w+1)*2)),_=-_}return _}Ki.prototype.processPath=function(c,d,v,w){var E=c._length,_=Rn.newElement();if(_.c=c.c,c.c||(E-=1),E===0)return _;var T=-1,j=bn.shapeSegment(c,0);Au(_,c,0,d,v,w,T);for(var k=0;k<E;k+=1)T=F0(_,j,d,v,w,-T),k===E-1&&!c.c?j=null:j=bn.shapeSegment(c,(k+1)%E),Au(_,c,k+1,d,v,w,T);return _},Ki.prototype.processShapes=function(c){var d,v,w=this.shapes.length,E,_,T=this.amplitude.v,j=Math.max(0,Math.round(this.frequency.v)),k=this.pointsType.v;if(T!==0){var q,Q;for(v=0;v<w;v+=1){if(q=this.shapes[v],Q=q.localShapeCollection,!(!q.shape._mdf&&!this._mdf&&!c))for(Q.releaseShapes(),q.shape._mdf=!0,d=q.shape.paths.shapes,_=q.shape.paths._length,E=0;E<_;E+=1)Q.addShape(this.processPath(d[E],T,j,k));q.shape.paths=q.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ff(c,d,v){var w=Math.atan2(d[0]-c[0],d[1]-c[1]);return[_r(c,w,v),_r(d,w,v)]}function ps(c,d){var v,w,E,_,T,j,k;k=ff(c.points[0],c.points[1],d),v=k[0],w=k[1],k=ff(c.points[1],c.points[2],d),E=k[0],_=k[1],k=ff(c.points[2],c.points[3],d),T=k[0],j=k[1];var q=Ti(v,w,E,_);q===null&&(q=w);var Q=Ti(T,j,E,_);return Q===null&&(Q=T),new bn(v,q,Q,j)}function Gi(c,d,v,w,E){var _=d.points[3],T=v.points[0];if(w===3||ds(_,T))return _;if(w===2){var j=-d.tangentAngle(1),k=-v.tangentAngle(0)+Math.PI,q=Ti(_,_r(_,j+Math.PI/2,100),T,_r(T,j+Math.PI/2,100)),Q=q?Sa(q,_):Sa(_,T)/2,be=_r(_,j,2*Q*_e);return c.setXYAt(be[0],be[1],"o",c.length()-1),be=_r(T,k,2*Q*_e),c.setTripleAt(T[0],T[1],T[0],T[1],be[0],be[1],c.length()),T}var D=ds(_,d.points[2])?d.points[0]:d.points[2],ee=ds(T,v.points[1])?v.points[3]:v.points[1],le=Ti(D,_,T,ee);return le&&Sa(le,_)<E?(c.setTripleAt(le[0],le[1],le[0],le[1],le[0],le[1],c.length()),le):_}function xu(c,d){var v=c.intersections(d);return v.length&&ba(v[0][0],1)&&v.shift(),v.length?v[0]:null}function Cu(c,d){var v=c.slice(),w=d.slice(),E=xu(c[c.length-1],d[0]);return E&&(v[c.length-1]=c[c.length-1].split(E[0])[0],w[0]=d[0].split(E[1])[1]),c.length>1&&d.length>1&&(E=xu(c[0],d[d.length-1]),E)?[[c[0].split(E[0])[0]],[d[d.length-1].split(E[1])[1]]]:[v,w]}function ao(c){for(var d,v=1;v<c.length;v+=1)d=Cu(c[v-1],c[v]),c[v-1]=d[0],c[v]=d[1];return c.length>1&&(d=Cu(c[c.length-1],c[0]),c[c.length-1]=d[0],c[0]=d[1]),c}function wa(c,d){var v=c.inflectionPoints(),w,E,_,T;if(v.length===0)return[ps(c,d)];if(v.length===1||ba(v[1],1))return _=c.split(v[0]),w=_[0],E=_[1],[ps(w,d),ps(E,d)];_=c.split(v[0]),w=_[0];var j=(v[1]-v[0])/(1-v[0]);return _=_[1].split(j),T=_[0],E=_[1],[ps(w,d),ps(T,d),ps(E,d)]}function oo(){}S([ar],oo),oo.prototype.initModifierProperties=function(c,d){this.getValue=this.processKeys,this.amount=Be.getProp(c,d.a,0,null,this),this.miterLimit=Be.getProp(c,d.ml,0,null,this),this.lineJoin=d.lj,this._isAnimated=this.amount.effectsSequence.length!==0},oo.prototype.processPath=function(c,d,v,w){var E=Rn.newElement();E.c=c.c;var _=c.length();c.c||(_-=1);var T,j,k,q=[];for(T=0;T<_;T+=1)k=bn.shapeSegment(c,T),q.push(wa(k,d));if(!c.c)for(T=_-1;T>=0;T-=1)k=bn.shapeSegmentInverted(c,T),q.push(wa(k,d));q=ao(q);var Q=null,be=null;for(T=0;T<q.length;T+=1){var D=q[T];for(be&&(Q=Gi(E,be,D[0],v,w)),be=D[D.length-1],j=0;j<D.length;j+=1)k=D[j],Q&&ds(k.points[0],Q)?E.setXYAt(k.points[1][0],k.points[1][1],"o",E.length()-1):E.setTripleAt(k.points[0][0],k.points[0][1],k.points[1][0],k.points[1][1],k.points[0][0],k.points[0][1],E.length()),E.setTripleAt(k.points[3][0],k.points[3][1],k.points[3][0],k.points[3][1],k.points[2][0],k.points[2][1],E.length()),Q=k.points[3]}return q.length&&Gi(E,be,q[0][0],v,w),E},oo.prototype.processShapes=function(c){var d,v,w=this.shapes.length,E,_,T=this.amount.v,j=this.miterLimit.v,k=this.lineJoin;if(T!==0){var q,Q;for(v=0;v<w;v+=1){if(q=this.shapes[v],Q=q.localShapeCollection,!(!q.shape._mdf&&!this._mdf&&!c))for(Q.releaseShapes(),q.shape._mdf=!0,d=q.shape.paths.shapes,_=q.shape.paths._length,E=0;E<_;E+=1)Q.addShape(this.processPath(d[E],T,k,j));q.shape.paths=q.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Tu(c){for(var d=c.fStyle?c.fStyle.split(" "):[],v="normal",w="normal",E=d.length,_,T=0;T<E;T+=1)switch(_=d[T].toLowerCase(),_){case"italic":w="italic";break;case"bold":v="700";break;case"black":v="900";break;case"medium":v="500";break;case"regular":case"normal":v="400";break;case"light":case"thin":v="200";break}return{style:w,weight:c.fWeight||v}}var Bs=(function(){var c=5e3,d={w:0,size:0,shapes:[],data:{shapes:[]}},v=[];v=v.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var w=127988,E=917631,_=917601,T=917626,j=65039,k=8205,q=127462,Q=127487,be=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function D(z){var ie=z.split(","),C,M=ie.length,we=[];for(C=0;C<M;C+=1)ie[C]!=="sans-serif"&&ie[C]!=="monospace"&&we.push(ie[C]);return we.join(",")}function ee(z,ie){var C=y("span");C.setAttribute("aria-hidden",!0),C.style.fontFamily=ie;var M=y("span");M.innerText="giItT1WQy@!-/#",C.style.position="absolute",C.style.left="-10000px",C.style.top="-10000px",C.style.fontSize="300px",C.style.fontVariant="normal",C.style.fontStyle="normal",C.style.fontWeight="normal",C.style.letterSpacing="0",C.appendChild(M),document.body.appendChild(C);var we=M.offsetWidth;return M.style.fontFamily=D(z)+", "+ie,{node:M,w:we,parent:C}}function le(){var z,ie=this.fonts.length,C,M,we=ie;for(z=0;z<ie;z+=1)this.fonts[z].loaded?we-=1:this.fonts[z].fOrigin==="n"||this.fonts[z].origin===0?this.fonts[z].loaded=!0:(C=this.fonts[z].monoCase.node,M=this.fonts[z].monoCase.w,C.offsetWidth!==M?(we-=1,this.fonts[z].loaded=!0):(C=this.fonts[z].sansCase.node,M=this.fonts[z].sansCase.w,C.offsetWidth!==M&&(we-=1,this.fonts[z].loaded=!0)),this.fonts[z].loaded&&(this.fonts[z].sansCase.parent.parentNode.removeChild(this.fonts[z].sansCase.parent),this.fonts[z].monoCase.parent.parentNode.removeChild(this.fonts[z].monoCase.parent)));we!==0&&Date.now()-this.initTime<c?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function ae(z,ie){var C=document.body&&ie?"svg":"canvas",M,we=Tu(z);if(C==="svg"){var he=Xe("text");he.style.fontSize="100px",he.setAttribute("font-family",z.fFamily),he.setAttribute("font-style",we.style),he.setAttribute("font-weight",we.weight),he.textContent="1",z.fClass?(he.style.fontFamily="inherit",he.setAttribute("class",z.fClass)):he.style.fontFamily=z.fFamily,ie.appendChild(he),M=he}else{var We=new OffscreenCanvas(500,500).getContext("2d");We.font=we.style+" "+we.weight+" 100px "+z.fFamily,M=We}function ht(dt){return C==="svg"?(M.textContent=dt,M.getComputedTextLength()):M.measureText(dt).width}return{measureText:ht}}function de(z,ie){if(!z){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=z.list;return}if(!document.body){this.isLoaded=!0,z.list.forEach(function(dr){dr.helper=ae(dr),dr.cache={}}),this.fonts=z.list;return}var C=z.list,M,we=C.length,he=we;for(M=0;M<we;M+=1){var We=!0,ht,dt;if(C[M].loaded=!1,C[M].monoCase=ee(C[M].fFamily,"monospace"),C[M].sansCase=ee(C[M].fFamily,"sans-serif"),!C[M].fPath)C[M].loaded=!0,he-=1;else if(C[M].fOrigin==="p"||C[M].origin===3){if(ht=document.querySelectorAll('style[f-forigin="p"][f-family="'+C[M].fFamily+'"], style[f-origin="3"][f-family="'+C[M].fFamily+'"]'),ht.length>0&&(We=!1),We){var Ht=y("style");Ht.setAttribute("f-forigin",C[M].fOrigin),Ht.setAttribute("f-origin",C[M].origin),Ht.setAttribute("f-family",C[M].fFamily),Ht.type="text/css",Ht.innerText="@font-face {font-family: "+C[M].fFamily+"; font-style: normal; src: url('"+C[M].fPath+"');}",ie.appendChild(Ht)}}else if(C[M].fOrigin==="g"||C[M].origin===1){for(ht=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),dt=0;dt<ht.length;dt+=1)ht[dt].href.indexOf(C[M].fPath)!==-1&&(We=!1);if(We){var jt=y("link");jt.setAttribute("f-forigin",C[M].fOrigin),jt.setAttribute("f-origin",C[M].origin),jt.type="text/css",jt.rel="stylesheet",jt.href=C[M].fPath,document.body.appendChild(jt)}}else if(C[M].fOrigin==="t"||C[M].origin===2){for(ht=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),dt=0;dt<ht.length;dt+=1)C[M].fPath===ht[dt].src&&(We=!1);if(We){var tn=y("link");tn.setAttribute("f-forigin",C[M].fOrigin),tn.setAttribute("f-origin",C[M].origin),tn.setAttribute("rel","stylesheet"),tn.setAttribute("href",C[M].fPath),ie.appendChild(tn)}}C[M].helper=ae(C[M],ie),C[M].cache={},this.fonts.push(C[M])}he===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function W(z){if(z){this.chars||(this.chars=[]);var ie,C=z.length,M,we=this.chars.length,he;for(ie=0;ie<C;ie+=1){for(M=0,he=!1;M<we;)this.chars[M].style===z[ie].style&&this.chars[M].fFamily===z[ie].fFamily&&this.chars[M].ch===z[ie].ch&&(he=!0),M+=1;he||(this.chars.push(z[ie]),we+=1)}}}function H(z,ie,C){for(var M=0,we=this.chars.length;M<we;){if(this.chars[M].ch===z&&this.chars[M].style===ie&&this.chars[M].fFamily===C)return this.chars[M];M+=1}return(typeof z=="string"&&z.charCodeAt(0)!==13||!z)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",z,ie,C)),d}function N(z,ie,C){var M=this.getFontByName(ie),we=z;if(!M.cache[we]){var he=M.helper;if(z===" "){var We=he.measureText("|"+z+"|"),ht=he.measureText("||");M.cache[we]=(We-ht)/100}else M.cache[we]=he.measureText(z)/100}return M.cache[we]*C}function F(z){for(var ie=0,C=this.fonts.length;ie<C;){if(this.fonts[ie].fName===z)return this.fonts[ie];ie+=1}return this.fonts[0]}function G(z){var ie=0,C=z.charCodeAt(0);if(C>=55296&&C<=56319){var M=z.charCodeAt(1);M>=56320&&M<=57343&&(ie=(C-55296)*1024+M-56320+65536)}return ie}function ce(z,ie){var C=z.toString(16)+ie.toString(16);return be.indexOf(C)!==-1}function ye(z){return z===k}function Se(z){return z===j}function je(z){var ie=G(z);return ie>=q&&ie<=Q}function ct(z){return je(z.substr(0,2))&&je(z.substr(2,2))}function tt(z){return v.indexOf(z)!==-1}function $e(z,ie){var C=G(z.substr(ie,2));if(C!==w)return!1;var M=0;for(ie+=2;M<5;){if(C=G(z.substr(ie,2)),C<_||C>T)return!1;M+=1,ie+=2}return G(z.substr(ie,2))===E}function lt(){this.isLoaded=!0}var Ye=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};Ye.isModifier=ce,Ye.isZeroWidthJoiner=ye,Ye.isFlagEmoji=ct,Ye.isRegionalCode=je,Ye.isCombinedCharacter=tt,Ye.isRegionalFlag=$e,Ye.isVariationSelector=Se,Ye.BLACK_FLAG_CODE_POINT=w;var Ue={addChars:W,addFonts:de,getCharData:H,getFontByName:F,measureText:N,checkLoadedFonts:le,setIsLoaded:lt};return Ye.prototype=Ue,Ye})();function lo(c){this.animationData=c}lo.prototype.getProp=function(c){return this.animationData.slots&&this.animationData.slots[c.sid]?Object.assign(c,this.animationData.slots[c.sid].p):c};function gs(c){return new lo(c)}function uo(){}uo.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(d){this.renderableComponents.indexOf(d)===-1&&this.renderableComponents.push(d)},removeRenderableComponent:function(d){this.renderableComponents.indexOf(d)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(d),1)},prepareRenderableFrame:function(d){this.checkLayerLimits(d)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(d){this.data.ip-this.data.st<=d&&this.data.op-this.data.st>d?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var d,v=this.renderableComponents.length;for(d=0;d<v;d+=1)this.renderableComponents[d].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var _a=(function(){var c={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(d){return c[d]||""}})();function zs(c,d,v){this.p=Be.getProp(d,c.v,0,0,v)}function hf(c,d,v){this.p=Be.getProp(d,c.v,0,0,v)}function ku(c,d,v){this.p=Be.getProp(d,c.v,1,0,v)}function Gd(c,d,v){this.p=Be.getProp(d,c.v,1,0,v)}function Ou(c,d,v){this.p=Be.getProp(d,c.v,0,0,v)}function Ru(c,d,v){this.p=Be.getProp(d,c.v,0,0,v)}function Wd(c,d,v){this.p=Be.getProp(d,c.v,0,0,v)}function Zr(){this.p={}}function Hs(c,d){var v=c.ef||[];this.effectElements=[];var w,E=v.length,_;for(w=0;w<E;w+=1)_=new $s(v[w],d),this.effectElements.push(_)}function $s(c,d){this.init(c,d)}S([En],$s),$s.prototype.getValue=$s.prototype.iterateDynamicProperties,$s.prototype.init=function(c,d){this.data=c,this.effectElements=[],this.initDynamicPropertyContainer(d);var v,w=this.data.ef.length,E,_=this.data.ef;for(v=0;v<w;v+=1){switch(E=null,_[v].ty){case 0:E=new zs(_[v],d,this);break;case 1:E=new hf(_[v],d,this);break;case 2:E=new ku(_[v],d,this);break;case 3:E=new Gd(_[v],d,this);break;case 4:case 7:E=new Wd(_[v],d,this);break;case 10:E=new Ou(_[v],d,this);break;case 11:E=new Ru(_[v],d,this);break;case 5:E=new Hs(_[v],d);break;default:E=new Zr(_[v]);break}E&&this.effectElements.push(E)}};function pi(){}pi.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var d=0,v=this.data.masksProperties.length;d<v;){if(this.data.masksProperties[d].mode!=="n"&&this.data.masksProperties[d].cl!==!1)return!0;d+=1}return!1},initExpressions:function(){},setBlendMode:function(){var d=_a(this.data.bm),v=this.baseElement||this.layerElement;v.style["mix-blend-mode"]=d},initBaseData:function(d,v,w){this.globalData=v,this.comp=w,this.data=d,this.layerId=Ie(),this.data.sr||(this.data.sr=1),this.effectsManager=new Hs(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Vs(){}Vs.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(d,v){var w,E=this.dynamicProperties.length;for(w=0;w<E;w+=1)(v||this._isParent&&this.dynamicProperties[w].propType==="transform")&&(this.dynamicProperties[w].getValue(),this.dynamicProperties[w]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(d){this.dynamicProperties.indexOf(d)===-1&&this.dynamicProperties.push(d)}};function Wi(c,d,v){this.initFrame(),this.initRenderable(),this.assetData=d.getAssetData(c.refId),this.footageData=d.imageLoader.getAsset(this.assetData),this.initBaseData(c,d,v)}Wi.prototype.prepareFrame=function(){},S([uo,pi,Vs],Wi),Wi.prototype.getBaseElement=function(){return null},Wi.prototype.renderFrame=function(){},Wi.prototype.destroy=function(){},Wi.prototype.initExpressions=function(){},Wi.prototype.getFootageData=function(){return this.footageData};function Er(c,d,v){this.initFrame(),this.initRenderable(),this.assetData=d.getAssetData(c.refId),this.initBaseData(c,d,v),this._isPlaying=!1,this._canPlay=!1;var w=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(w),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=c.tm?Be.getProp(this,c.tm,0,d.frameRate,this):{_placeholder:!0},this.lv=Be.getProp(this,c.au&&c.au.lv?c.au.lv:{k:[100]},1,.01,this)}Er.prototype.prepareFrame=function(c){if(this.prepareRenderableFrame(c,!0),this.prepareProperties(c,!0),this.tm._placeholder)this._currentTime=c/this.data.sr;else{var d=this.tm.v;this._currentTime=d}this._volume=this.lv.v[0];var v=this._volume*this._volumeMultiplier;this._previousVolume!==v&&(this._previousVolume=v,this.audio.volume(v))},S([uo,pi,Vs],Er),Er.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Er.prototype.show=function(){},Er.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Er.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Er.prototype.resume=function(){this._canPlay=!0},Er.prototype.setRate=function(c){this.audio.rate(c)},Er.prototype.volume=function(c){this._volumeMultiplier=c,this._previousVolume=c*this._volume,this.audio.volume(this._previousVolume)},Er.prototype.getBaseElement=function(){return null},Er.prototype.destroy=function(){},Er.prototype.sourceRectAtTime=function(){},Er.prototype.initExpressions=function(){};function Kn(){}Kn.prototype.checkLayers=function(c){var d,v=this.layers.length,w;for(this.completeLayers=!0,d=v-1;d>=0;d-=1)this.elements[d]||(w=this.layers[d],w.ip-w.st<=c-this.layers[d].st&&w.op-w.st>c-this.layers[d].st&&this.buildItem(d)),this.completeLayers=this.elements[d]?this.completeLayers:!1;this.checkPendingElements()},Kn.prototype.createItem=function(c){switch(c.ty){case 2:return this.createImage(c);case 0:return this.createComp(c);case 1:return this.createSolid(c);case 3:return this.createNull(c);case 4:return this.createShape(c);case 5:return this.createText(c);case 6:return this.createAudio(c);case 13:return this.createCamera(c);case 15:return this.createFootage(c);default:return this.createNull(c)}},Kn.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Kn.prototype.createAudio=function(c){return new Er(c,this.globalData,this)},Kn.prototype.createFootage=function(c){return new Wi(c,this.globalData,this)},Kn.prototype.buildAllItems=function(){var c,d=this.layers.length;for(c=0;c<d;c+=1)this.buildItem(c);this.checkPendingElements()},Kn.prototype.includeLayers=function(c){this.completeLayers=!1;var d,v=c.length,w,E=this.layers.length;for(d=0;d<v;d+=1)for(w=0;w<E;){if(this.layers[w].id===c[d].id){this.layers[w]=c[d];break}w+=1}},Kn.prototype.setProjectInterface=function(c){this.globalData.projectInterface=c},Kn.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},Kn.prototype.buildElementParenting=function(c,d,v){for(var w=this.elements,E=this.layers,_=0,T=E.length;_<T;)E[_].ind==d&&(!w[_]||w[_]===!0?(this.buildItem(_),this.addPendingElement(c)):(v.push(w[_]),w[_].setAsParent(),E[_].parent!==void 0?this.buildElementParenting(c,E[_].parent,v):c.setHierarchy(v))),_+=1},Kn.prototype.addPendingElement=function(c){this.pendingElements.push(c)},Kn.prototype.searchExtraCompositions=function(c){var d,v=c.length;for(d=0;d<v;d+=1)if(c[d].xt){var w=this.createComp(c[d]);w.initExpressions(),this.globalData.projectInterface.registerComposition(w)}},Kn.prototype.getElementById=function(c){var d,v=this.elements.length;for(d=0;d<v;d+=1)if(this.elements[d].data.ind===c)return this.elements[d];return null},Kn.prototype.getElementByPath=function(c){var d=c.shift(),v;if(typeof d=="number")v=this.elements[d];else{var w,E=this.elements.length;for(w=0;w<E;w+=1)if(this.elements[w].data.nm===d){v=this.elements[w];break}}return c.length===0?v:v.getElementByPath(c)},Kn.prototype.setupGlobalData=function(c,d){this.globalData.fontManager=new Bs,this.globalData.slotManager=gs(c),this.globalData.fontManager.addChars(c.chars),this.globalData.fontManager.addFonts(c.fonts,d),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=c.fr,this.globalData.nm=c.nm,this.globalData.compSize={w:c.w,h:c.h}};var Lu={TRANSFORM_EFFECT:"transformEFfect"};function Ea(){}Ea.prototype={initTransform:function(){var d=new yn;this.finalTransform={mProp:this.data.ks?ro.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:d,localMat:d,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var d,v=this.finalTransform.mat,w=0,E=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;w<E;){if(this.hierarchy[w].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}w+=1}if(this.finalTransform._matMdf)for(d=this.finalTransform.mProp.v.props,v.cloneFromProps(d),w=0;w<E;w+=1)v.multiply(this.hierarchy[w].finalTransform.mProp.v)}(!this.localTransforms||this.finalTransform._matMdf)&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var d=0,v=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;d<v;)this.localTransforms[d]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[d]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),d+=1;if(this.finalTransform._localMatMdf){var w=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(w),d=1;d<v;d+=1){var E=this.localTransforms[d].matrix;w.multiply(E)}w.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var _=this.finalTransform.localOpacity;for(d=0;d<v;d+=1)_*=this.localTransforms[d].opacity*.01;this.finalTransform.localOpacity=_}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var d=this.renderableEffectsManager.getEffects(Lu.TRANSFORM_EFFECT);if(d.length){this.localTransforms=[],this.finalTransform.localMat=new yn;var v=0,w=d.length;for(v=0;v<w;v+=1)this.localTransforms.push(d[v])}}},globalToLocal:function(d){var v=[];v.push(this.finalTransform);for(var w=!0,E=this.comp;w;)E.finalTransform?(E.data.hasMask&&v.splice(0,0,E.finalTransform),E=E.comp):w=!1;var _,T=v.length,j;for(_=0;_<T;_+=1)j=v[_].mat.applyToPointArray(0,0,0),d=[d[0]-j[0],d[1]-j[1],0];return d},mHelper:new yn};function Aa(c,d,v){this.data=c,this.element=d,this.globalData=v,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var w=this.globalData.defs,E,_=this.masksProperties?this.masksProperties.length:0;this.viewData=R(_),this.solidPath="";var T,j=this.masksProperties,k=0,q=[],Q,be,D=Ie(),ee,le,ae,de,W="clipPath",H="clip-path";for(E=0;E<_;E+=1)if((j[E].mode!=="a"&&j[E].mode!=="n"||j[E].inv||j[E].o.k!==100||j[E].o.x)&&(W="mask",H="mask"),(j[E].mode==="s"||j[E].mode==="i")&&k===0?(ee=Xe("rect"),ee.setAttribute("fill","#ffffff"),ee.setAttribute("width",this.element.comp.data.w||0),ee.setAttribute("height",this.element.comp.data.h||0),q.push(ee)):ee=null,T=Xe("path"),j[E].mode==="n")this.viewData[E]={op:Be.getProp(this.element,j[E].o,0,.01,this.element),prop:Ds.getShapeProp(this.element,j[E],3),elem:T,lastPath:""},w.appendChild(T);else{k+=1,T.setAttribute("fill",j[E].mode==="s"?"#000000":"#ffffff"),T.setAttribute("clip-rule","nonzero");var N;if(j[E].x.k!==0?(W="mask",H="mask",de=Be.getProp(this.element,j[E].x,0,null,this.element),N=Ie(),le=Xe("filter"),le.setAttribute("id",N),ae=Xe("feMorphology"),ae.setAttribute("operator","erode"),ae.setAttribute("in","SourceGraphic"),ae.setAttribute("radius","0"),le.appendChild(ae),w.appendChild(le),T.setAttribute("stroke",j[E].mode==="s"?"#000000":"#ffffff")):(ae=null,de=null),this.storedData[E]={elem:T,x:de,expan:ae,lastPath:"",lastOperator:"",filterId:N,lastRadius:0},j[E].mode==="i"){be=q.length;var F=Xe("g");for(Q=0;Q<be;Q+=1)F.appendChild(q[Q]);var G=Xe("mask");G.setAttribute("mask-type","alpha"),G.setAttribute("id",D+"_"+k),G.appendChild(T),w.appendChild(G),F.setAttribute("mask","url("+u()+"#"+D+"_"+k+")"),q.length=0,q.push(F)}else q.push(T);j[E].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[E]={elem:T,lastPath:"",op:Be.getProp(this.element,j[E].o,0,.01,this.element),prop:Ds.getShapeProp(this.element,j[E],3),invRect:ee},this.viewData[E].prop.k||this.drawPath(j[E],this.viewData[E].prop.v,this.viewData[E])}for(this.maskElement=Xe(W),_=q.length,E=0;E<_;E+=1)this.maskElement.appendChild(q[E]);k>0&&(this.maskElement.setAttribute("id",D),this.element.maskedElement.setAttribute(H,"url("+u()+"#"+D+")"),w.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Aa.prototype.getMaskProperty=function(c){return this.viewData[c].prop},Aa.prototype.renderFrame=function(c){var d=this.element.finalTransform.mat,v,w=this.masksProperties.length;for(v=0;v<w;v+=1)if((this.viewData[v].prop._mdf||c)&&this.drawPath(this.masksProperties[v],this.viewData[v].prop.v,this.viewData[v]),(this.viewData[v].op._mdf||c)&&this.viewData[v].elem.setAttribute("fill-opacity",this.viewData[v].op.v),this.masksProperties[v].mode!=="n"&&(this.viewData[v].invRect&&(this.element.finalTransform.mProp._mdf||c)&&this.viewData[v].invRect.setAttribute("transform",d.getInverseMatrix().to2dCSS()),this.storedData[v].x&&(this.storedData[v].x._mdf||c))){var E=this.storedData[v].expan;this.storedData[v].x.v<0?(this.storedData[v].lastOperator!=="erode"&&(this.storedData[v].lastOperator="erode",this.storedData[v].elem.setAttribute("filter","url("+u()+"#"+this.storedData[v].filterId+")")),E.setAttribute("radius",-this.storedData[v].x.v)):(this.storedData[v].lastOperator!=="dilate"&&(this.storedData[v].lastOperator="dilate",this.storedData[v].elem.setAttribute("filter",null)),this.storedData[v].elem.setAttribute("stroke-width",this.storedData[v].x.v*2))}},Aa.prototype.getMaskelement=function(){return this.maskElement},Aa.prototype.createLayerSolidPath=function(){var c="M0,0 ";return c+=" h"+this.globalData.compSize.w,c+=" v"+this.globalData.compSize.h,c+=" h-"+this.globalData.compSize.w,c+=" v-"+this.globalData.compSize.h+" ",c},Aa.prototype.drawPath=function(c,d,v){var w=" M"+d.v[0][0]+","+d.v[0][1],E,_;for(_=d._length,E=1;E<_;E+=1)w+=" C"+d.o[E-1][0]+","+d.o[E-1][1]+" "+d.i[E][0]+","+d.i[E][1]+" "+d.v[E][0]+","+d.v[E][1];if(d.c&&_>1&&(w+=" C"+d.o[E-1][0]+","+d.o[E-1][1]+" "+d.i[0][0]+","+d.i[0][1]+" "+d.v[0][0]+","+d.v[0][1]),v.lastPath!==w){var T="";v.elem&&(d.c&&(T=c.inv?this.solidPath+w:w),v.elem.setAttribute("d",T)),v.lastPath=w}},Aa.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var hl=(function(){var c={};c.createFilter=d,c.createAlphaToLuminanceFilter=v;function d(w,E){var _=Xe("filter");return _.setAttribute("id",w),E!==!0&&(_.setAttribute("filterUnits","objectBoundingBox"),_.setAttribute("x","0%"),_.setAttribute("y","0%"),_.setAttribute("width","100%"),_.setAttribute("height","100%")),_}function v(){var w=Xe("feColorMatrix");return w.setAttribute("type","matrix"),w.setAttribute("color-interpolation-filters","sRGB"),w.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),w}return c})(),Yd=(function(){var c={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(c.maskType=!1),/firefox/i.test(navigator.userAgent)&&(c.svgLumaHidden=!1),c})(),dl={},Xd="filter_result_";function df(c){var d,v="SourceGraphic",w=c.data.ef?c.data.ef.length:0,E=Ie(),_=hl.createFilter(E,!0),T=0;this.filters=[];var j;for(d=0;d<w;d+=1){j=null;var k=c.data.ef[d].ty;if(dl[k]){var q=dl[k].effect;j=new q(_,c.effectsManager.effectElements[d],c,Xd+T,v),v=Xd+T,dl[k].countsAsEffect&&(T+=1)}j&&this.filters.push(j)}T&&(c.globalData.defs.appendChild(_),c.layerElement.setAttribute("filter","url("+u()+"#"+E+")")),this.filters.length&&c.addRenderableComponent(this)}df.prototype.renderFrame=function(c){var d,v=this.filters.length;for(d=0;d<v;d+=1)this.filters[d].renderFrame(c)},df.prototype.getEffects=function(c){var d,v=this.filters.length,w=[];for(d=0;d<v;d+=1)this.filters[d].type===c&&w.push(this.filters[d]);return w};function pl(){}pl.prototype={initRendererElement:function(){this.layerElement=Xe("g")},createContainerElements:function(){this.matteElement=Xe("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var d=null;if(this.data.td){this.matteMasks={};var v=Xe("g");v.setAttribute("id",this.layerId),v.appendChild(this.layerElement),d=v,this.globalData.defs.appendChild(v)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),d=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var w=Xe("clipPath"),E=Xe("path");E.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var _=Ie();if(w.setAttribute("id",_),w.appendChild(E),this.globalData.defs.appendChild(w),this.checkMasks()){var T=Xe("g");T.setAttribute("clip-path","url("+u()+"#"+_+")"),T.appendChild(this.layerElement),this.transformedElement=T,d?d.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+u()+"#"+_+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Aa(this.data,this,this.globalData),this.renderableEffectsManager=new df(this),this.searchEffectTransforms()},getMatte:function(d){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[d]){var v=this.layerId+"_"+d,w,E,_,T;if(d===1||d===3){var j=Xe("mask");j.setAttribute("id",v),j.setAttribute("mask-type",d===3?"luminance":"alpha"),_=Xe("use"),_.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),j.appendChild(_),this.globalData.defs.appendChild(j),!Yd.maskType&&d===1&&(j.setAttribute("mask-type","luminance"),w=Ie(),E=hl.createFilter(w),this.globalData.defs.appendChild(E),E.appendChild(hl.createAlphaToLuminanceFilter()),T=Xe("g"),T.appendChild(_),j.appendChild(T),T.setAttribute("filter","url("+u()+"#"+w+")"))}else if(d===2){var k=Xe("mask");k.setAttribute("id",v),k.setAttribute("mask-type","alpha");var q=Xe("g");k.appendChild(q),w=Ie(),E=hl.createFilter(w);var Q=Xe("feComponentTransfer");Q.setAttribute("in","SourceGraphic"),E.appendChild(Q);var be=Xe("feFuncA");be.setAttribute("type","table"),be.setAttribute("tableValues","1.0 0.0"),Q.appendChild(be),this.globalData.defs.appendChild(E);var D=Xe("rect");D.setAttribute("width",this.comp.data.w),D.setAttribute("height",this.comp.data.h),D.setAttribute("x","0"),D.setAttribute("y","0"),D.setAttribute("fill","#ffffff"),D.setAttribute("opacity","0"),q.setAttribute("filter","url("+u()+"#"+w+")"),q.appendChild(D),_=Xe("use"),_.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),q.appendChild(_),Yd.maskType||(k.setAttribute("mask-type","luminance"),E.appendChild(hl.createAlphaToLuminanceFilter()),T=Xe("g"),q.appendChild(D),T.appendChild(this.layerElement),q.appendChild(T)),this.globalData.defs.appendChild(k)}this.matteMasks[d]=v}return this.matteMasks[d]},setMatte:function(d){this.matteElement&&this.matteElement.setAttribute("mask","url("+u()+"#"+d+")")}};function co(){}co.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(d){this.hierarchy=d},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function gl(){}(function(){var c={initElement:function(v,w,E){this.initFrame(),this.initBaseData(v,w,E),this.initTransform(v,w,E),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var v=this.baseElement||this.layerElement;v.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var v=this.baseElement||this.layerElement;v.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(v){this._mdf=!1,this.prepareRenderableFrame(v),this.prepareProperties(v,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};S([uo,x(c)],gl)})();function fo(c,d,v){this.assetData=d.getAssetData(c.refId),this.assetData&&this.assetData.sid&&(this.assetData=d.slotManager.getProp(this.assetData)),this.initElement(c,d,v),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}S([pi,Ea,pl,co,Vs,gl],fo),fo.prototype.createContent=function(){var c=this.globalData.getAssetsPath(this.assetData);this.innerElem=Xe("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",c),this.layerElement.appendChild(this.innerElem)},fo.prototype.sourceRectAtTime=function(){return this.sourceRect};function B0(c,d){this.elem=c,this.pos=d}function Zd(){}Zd.prototype={addShapeToModifiers:function(d){var v,w=this.shapeModifiers.length;for(v=0;v<w;v+=1)this.shapeModifiers[v].addShape(d)},isShapeInAnimatedModifiers:function(d){for(var v=0,w=this.shapeModifiers.length;v<w;)if(this.shapeModifiers[v].isAnimatedWithShape(d))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var d,v=this.shapes.length;for(d=0;d<v;d+=1)this.shapes[d].sh.reset();v=this.shapeModifiers.length;var w;for(d=v-1;d>=0&&(w=this.shapeModifiers[d].processShapes(this._isFirstFrame),!w);d-=1);}},searchProcessedElement:function(d){for(var v=this.processedElements,w=0,E=v.length;w<E;){if(v[w].elem===d)return v[w].pos;w+=1}return 0},addProcessedElement:function(d,v){for(var w=this.processedElements,E=w.length;E;)if(E-=1,w[E].elem===d){w[E].pos=v;return}w.push(new B0(d,v))},prepareFrame:function(d){this.prepareRenderableFrame(d),this.prepareProperties(d,this.isInRange)}};var Qd={1:"butt",2:"round",3:"square"},Jd={1:"miter",2:"round",3:"bevel"};function Iu(c,d,v){this.caches=[],this.styles=[],this.transformers=c,this.lStr="",this.sh=v,this.lvl=d,this._isAnimated=!!v.k;for(var w=0,E=c.length;w<E;){if(c[w].mProps.dynamicProperties.length){this._isAnimated=!0;break}w+=1}}Iu.prototype.setAsAnimated=function(){this._isAnimated=!0};function ep(c,d){this.data=c,this.type=c.ty,this.d="",this.lvl=d,this._mdf=!1,this.closed=c.hd===!0,this.pElem=Xe("path"),this.msElem=null}ep.prototype.reset=function(){this.d="",this._mdf=!1};function Mu(c,d,v,w){this.elem=c,this.frameId=-1,this.dataProps=R(d.length),this.renderer=v,this.k=!1,this.dashStr="",this.dashArray=L("float32",d.length?d.length-1:0),this.dashoffset=L("float32",1),this.initDynamicPropertyContainer(w);var E,_=d.length||0,T;for(E=0;E<_;E+=1)T=Be.getProp(c,d[E].v,0,0,this),this.k=T.k||this.k,this.dataProps[E]={n:d[E].n,p:T};this.k||this.getValue(!0),this._isAnimated=this.k}Mu.prototype.getValue=function(c){if(!(this.elem.globalData.frameId===this.frameId&&!c)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||c,this._mdf)){var d=0,v=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),d=0;d<v;d+=1)this.dataProps[d].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[d].p.v:this.dashArray[d]=this.dataProps[d].p.v:this.dashoffset[0]=this.dataProps[d].p.v}},S([En],Mu);function tp(c,d,v){this.initDynamicPropertyContainer(c),this.getValue=this.iterateDynamicProperties,this.o=Be.getProp(c,d.o,0,.01,this),this.w=Be.getProp(c,d.w,0,null,this),this.d=new Mu(c,d.d||{},"svg",this),this.c=Be.getProp(c,d.c,1,255,this),this.style=v,this._isAnimated=!!this._isAnimated}S([En],tp);function pf(c,d,v){this.initDynamicPropertyContainer(c),this.getValue=this.iterateDynamicProperties,this.o=Be.getProp(c,d.o,0,.01,this),this.c=Be.getProp(c,d.c,1,255,this),this.style=v}S([En],pf);function np(c,d,v){this.initDynamicPropertyContainer(c),this.getValue=this.iterateDynamicProperties,this.style=v}S([En],np);function ml(c,d,v){this.data=d,this.c=L("uint8c",d.p*4);var w=d.k.k[0].s?d.k.k[0].s.length-d.p*4:d.k.k.length-d.p*4;this.o=L("float32",w),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=w,this.initDynamicPropertyContainer(v),this.prop=Be.getProp(c,d.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ml.prototype.comparePoints=function(c,d){for(var v=0,w=this.o.length/2,E;v<w;){if(E=Math.abs(c[v*4]-c[d*4+v*2]),E>.01)return!1;v+=1}return!0},ml.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var c=0,d=this.data.k.k.length;c<d;){if(!this.comparePoints(this.data.k.k[c].s,this.data.p))return!1;c+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ml.prototype.getValue=function(c){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||c){var d,v=this.data.p*4,w,E;for(d=0;d<v;d+=1)w=d%4===0?100:255,E=Math.round(this.prop.v[d]*w),this.c[d]!==E&&(this.c[d]=E,this._cmdf=!c);if(this.o.length)for(v=this.prop.v.length,d=this.data.p*4;d<v;d+=1)w=d%2===0?100:1,E=d%2===0?Math.round(this.prop.v[d]*100):this.prop.v[d],this.o[d-this.data.p*4]!==E&&(this.o[d-this.data.p*4]=E,this._omdf=!c);this._mdf=!c}},S([En],ml);function ho(c,d,v){this.initDynamicPropertyContainer(c),this.getValue=this.iterateDynamicProperties,this.initGradientData(c,d,v)}ho.prototype.initGradientData=function(c,d,v){this.o=Be.getProp(c,d.o,0,.01,this),this.s=Be.getProp(c,d.s,1,null,this),this.e=Be.getProp(c,d.e,1,null,this),this.h=Be.getProp(c,d.h||{k:0},0,.01,this),this.a=Be.getProp(c,d.a||{k:0},0,oe,this),this.g=new ml(c,d.g,this),this.style=v,this.stops=[],this.setGradientData(v.pElem,d),this.setGradientOpacity(d,v),this._isAnimated=!!this._isAnimated},ho.prototype.setGradientData=function(c,d){var v=Ie(),w=Xe(d.t===1?"linearGradient":"radialGradient");w.setAttribute("id",v),w.setAttribute("spreadMethod","pad"),w.setAttribute("gradientUnits","userSpaceOnUse");var E=[],_,T,j;for(j=d.g.p*4,T=0;T<j;T+=4)_=Xe("stop"),w.appendChild(_),E.push(_);c.setAttribute(d.ty==="gf"?"fill":"stroke","url("+u()+"#"+v+")"),this.gf=w,this.cst=E},ho.prototype.setGradientOpacity=function(c,d){if(this.g._hasOpacity&&!this.g._collapsable){var v,w,E,_=Xe("mask"),T=Xe("path");_.appendChild(T);var j=Ie(),k=Ie();_.setAttribute("id",k);var q=Xe(c.t===1?"linearGradient":"radialGradient");q.setAttribute("id",j),q.setAttribute("spreadMethod","pad"),q.setAttribute("gradientUnits","userSpaceOnUse"),E=c.g.k.k[0].s?c.g.k.k[0].s.length:c.g.k.k.length;var Q=this.stops;for(w=c.g.p*4;w<E;w+=2)v=Xe("stop"),v.setAttribute("stop-color","rgb(255,255,255)"),q.appendChild(v),Q.push(v);T.setAttribute(c.ty==="gf"?"fill":"stroke","url("+u()+"#"+j+")"),c.ty==="gs"&&(T.setAttribute("stroke-linecap",Qd[c.lc||2]),T.setAttribute("stroke-linejoin",Jd[c.lj||2]),c.lj===1&&T.setAttribute("stroke-miterlimit",c.ml)),this.of=q,this.ms=_,this.ost=Q,this.maskId=k,d.msElem=T}},S([En],ho);function rp(c,d,v){this.initDynamicPropertyContainer(c),this.getValue=this.iterateDynamicProperties,this.w=Be.getProp(c,d.w,0,null,this),this.d=new Mu(c,d.d||{},"svg",this),this.initGradientData(c,d,v),this._isAnimated=!!this._isAnimated}S([ho,En],rp);function z0(){this.it=[],this.prevViewData=[],this.gr=Xe("g")}function H0(c,d,v){this.transform={mProps:c,op:d,container:v},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var ip=function(d,v,w,E){if(v===0)return"";var _=d.o,T=d.i,j=d.v,k,q=" M"+E.applyToPointStringified(j[0][0],j[0][1]);for(k=1;k<v;k+=1)q+=" C"+E.applyToPointStringified(_[k-1][0],_[k-1][1])+" "+E.applyToPointStringified(T[k][0],T[k][1])+" "+E.applyToPointStringified(j[k][0],j[k][1]);return w&&v&&(q+=" C"+E.applyToPointStringified(_[k-1][0],_[k-1][1])+" "+E.applyToPointStringified(T[0][0],T[0][1])+" "+E.applyToPointStringified(j[0][0],j[0][1]),q+="z"),q},$0=(function(){var c=new yn,d=new yn,v={createRenderFunction:w};function w(be){switch(be.ty){case"fl":return j;case"gf":return q;case"gs":return k;case"st":return Q;case"sh":case"el":case"rc":case"sr":return T;case"tr":return E;case"no":return _;default:return null}}function E(be,D,ee){(ee||D.transform.op._mdf)&&D.transform.container.setAttribute("op
131acity",D.transform.op.v),(ee||D.transform.mProps._mdf)&&D.transform.container.setAttribute("transform",D.transform.mProps.v.to2dCSS())}function _(){}function T(be,D,ee){var le,ae,de,W,H,N,F=D.styles.length,G=D.lvl,ce,ye,Se,je;for(N=0;N<F;N+=1){if(W=D.sh._mdf||ee,D.styles[N].lvl<G){for(ye=d.reset(),Se=G-D.styles[N].lvl,je=D.transformers.length-1;!W&&Se>0;)W=D.transformers[je].mProps._mdf||W,Se-=1,je-=1;if(W)for(Se=G-D.styles[N].lvl,je=D.transformers.length-1;Se>0;)ye.multiply(D.transformers[je].mProps.v),Se-=1,je-=1}else ye=c;if(ce=D.sh.paths,ae=ce._length,W){for(de="",le=0;le<ae;le+=1)H=ce.shapes[le],H&&H._length&&(de+=ip(H,H._length,H.c,ye));D.caches[N]=de}else de=D.caches[N];D.styles[N].d+=be.hd===!0?"":de,D.styles[N]._mdf=W||D.styles[N]._mdf}}function j(be,D,ee){var le=D.style;(D.c._mdf||ee)&&le.pElem.setAttribute("fill","rgb("+U(D.c.v[0])+","+U(D.c.v[1])+","+U(D.c.v[2])+")"),(D.o._mdf||ee)&&le.pElem.setAttribute("fill-opacity",D.o.v)}function k(be,D,ee){q(be,D,ee),Q(be,D,ee)}function q(be,D,ee){var le=D.gf,ae=D.g._hasOpacity,de=D.s.v,W=D.e.v;if(D.o._mdf||ee){var H=be.ty==="gf"?"fill-opacity":"stroke-opacity";D.style.pElem.setAttribute(H,D.o.v)}if(D.s._mdf||ee){var N=be.t===1?"x1":"cx",F=N==="x1"?"y1":"cy";le.setAttribute(N,de[0]),le.setAttribute(F,de[1]),ae&&!D.g._collapsable&&(D.of.setAttribute(N,de[0]),D.of.setAttribute(F,de[1]))}var G,ce,ye,Se;if(D.g._cmdf||ee){G=D.cst;var je=D.g.c;for(ye=G.length,ce=0;ce<ye;ce+=1)Se=G[ce],Se.setAttribute("offset",je[ce*4]+"%"),Se.setAttribute("stop-color","rgb("+je[ce*4+1]+","+je[ce*4+2]+","+je[ce*4+3]+")")}if(ae&&(D.g._omdf||ee)){var ct=D.g.o;for(D.g._collapsable?G=D.cst:G=D.ost,ye=G.length,ce=0;ce<ye;ce+=1)Se=G[ce],D.g._collapsable||Se.setAttribute("offset",ct[ce*2]+"%"),Se.setAttribute("stop-opacity",ct[ce*2+1])}if(be.t===1)(D.e._mdf||ee)&&(le.setAttribute("x2",W[0]),le.setAttribute("y2",W[1]),ae&&!D.g._collapsable&&(D.of.setAttribute("x2",W[0]),D.of.setAttribute("y2",W[1])));else{var tt;if((D.s._mdf||D.e._mdf||ee)&&(tt=Math.sqrt(Math.pow(de[0]-W[0],2)+Math.pow(de[1]-W[1],2)),le.setAttribute("r",tt),ae&&!D.g._collapsable&&D.of.setAttribute("r",tt)),D.s._mdf||D.e._mdf||D.h._mdf||D.a._mdf||ee){tt||(tt=Math.sqrt(Math.pow(de[0]-W[0],2)+Math.pow(de[1]-W[1],2)));var $e=Math.atan2(W[1]-de[1],W[0]-de[0]),lt=D.h.v;lt>=1?lt=.99:lt<=-1&&(lt=-.99);var Ye=tt*lt,Ue=Math.cos($e+D.a.v)*Ye+de[0],z=Math.sin($e+D.a.v)*Ye+de[1];le.setAttribute("fx",Ue),le.setAttribute("fy",z),ae&&!D.g._collapsable&&(D.of.setAttribute("fx",Ue),D.of.setAttribute("fy",z))}}}function Q(be,D,ee){var le=D.style,ae=D.d;ae&&(ae._mdf||ee)&&ae.dashStr&&(le.pElem.setAttribute("stroke-dasharray",ae.dashStr),le.pElem.setAttribute("stroke-dashoffset",ae.dashoffset[0])),D.c&&(D.c._mdf||ee)&&le.pElem.setAttribute("stroke","rgb("+U(D.c.v[0])+","+U(D.c.v[1])+","+U(D.c.v[2])+")"),(D.o._mdf||ee)&&le.pElem.setAttribute("stroke-opacity",D.o.v),(D.w._mdf||ee)&&(le.pElem.setAttribute("stroke-width",D.w.v),le.msElem&&le.msElem.setAttribute("stroke-width",D.w.v))}return v})();function Gn(c,d,v){this.shapes=[],this.shapesData=c.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(c,d,v),this.prevViewData=[]}S([pi,Ea,pl,Zd,co,Vs,gl],Gn),Gn.prototype.initSecondaryElement=function(){},Gn.prototype.identityMatrix=new yn,Gn.prototype.buildExpressionInterface=function(){},Gn.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Gn.prototype.filterUniqueShapes=function(){var c,d=this.shapes.length,v,w,E=this.stylesList.length,_,T=[],j=!1;for(w=0;w<E;w+=1){for(_=this.stylesList[w],j=!1,T.length=0,c=0;c<d;c+=1)v=this.shapes[c],v.styles.indexOf(_)!==-1&&(T.push(v),j=v._isAnimated||j);T.length>1&&j&&this.setShapesAsAnimated(T)}},Gn.prototype.setShapesAsAnimated=function(c){var d,v=c.length;for(d=0;d<v;d+=1)c[d].setAsAnimated()},Gn.prototype.createStyleElement=function(c,d){var v,w=new ep(c,d),E=w.pElem;if(c.ty==="st")v=new tp(this,c,w);else if(c.ty==="fl")v=new pf(this,c,w);else if(c.ty==="gf"||c.ty==="gs"){var _=c.ty==="gf"?ho:rp;v=new _(this,c,w),this.globalData.defs.appendChild(v.gf),v.maskId&&(this.globalData.defs.appendChild(v.ms),this.globalData.defs.appendChild(v.of),E.setAttribute("mask","url("+u()+"#"+v.maskId+")"))}else c.ty==="no"&&(v=new np(this,c,w));return(c.ty==="st"||c.ty==="gs")&&(E.setAttribute("stroke-linecap",Qd[c.lc||2]),E.setAttribute("stroke-linejoin",Jd[c.lj||2]),E.setAttribute("fill-opacity","0"),c.lj===1&&E.setAttribute("stroke-miterlimit",c.ml)),c.r===2&&E.setAttribute("fill-rule","evenodd"),c.ln&&E.setAttribute("id",c.ln),c.cl&&E.setAttribute("class",c.cl),c.bm&&(E.style["mix-blend-mode"]=_a(c.bm)),this.stylesList.push(w),this.addToAnimatedContents(c,v),v},Gn.prototype.createGroupElement=function(c){var d=new z0;return c.ln&&d.gr.setAttribute("id",c.ln),c.cl&&d.gr.setAttribute("class",c.cl),c.bm&&(d.gr.style["mix-blend-mode"]=_a(c.bm)),d},Gn.prototype.createTransformElement=function(c,d){var v=ro.getTransformProperty(this,c,this),w=new H0(v,v.o,d);return this.addToAnimatedContents(c,w),w},Gn.prototype.createShapeElement=function(c,d,v){var w=4;c.ty==="rc"?w=5:c.ty==="el"?w=6:c.ty==="sr"&&(w=7);var E=Ds.getShapeProp(this,c,w,this),_=new Iu(d,v,E);return this.shapes.push(_),this.addShapeToModifiers(_),this.addToAnimatedContents(c,_),_},Gn.prototype.addToAnimatedContents=function(c,d){for(var v=0,w=this.animatedContents.length;v<w;){if(this.animatedContents[v].element===d)return;v+=1}this.animatedContents.push({fn:$0.createRenderFunction(c),element:d,data:c})},Gn.prototype.setElementStyles=function(c){var d=c.styles,v,w=this.stylesList.length;for(v=0;v<w;v+=1)d.indexOf(this.stylesList[v])===-1&&!this.stylesList[v].closed&&d.push(this.stylesList[v])},Gn.prototype.reloadShapes=function(){this._isFirstFrame=!0;var c,d=this.itemsData.length;for(c=0;c<d;c+=1)this.prevViewData[c]=this.itemsData[c];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),d=this.dynamicProperties.length,c=0;c<d;c+=1)this.dynamicProperties[c].getValue();this.renderModifiers()},Gn.prototype.searchShapes=function(c,d,v,w,E,_,T){var j=[].concat(_),k,q=c.length-1,Q,be,D=[],ee=[],le,ae,de;for(k=q;k>=0;k-=1){if(de=this.searchProcessedElement(c[k]),de?d[k]=v[de-1]:c[k]._render=T,c[k].ty==="fl"||c[k].ty==="st"||c[k].ty==="gf"||c[k].ty==="gs"||c[k].ty==="no")de?d[k].style.closed=c[k].hd:d[k]=this.createStyleElement(c[k],E),c[k]._render&&d[k].style.pElem.parentNode!==w&&w.appendChild(d[k].style.pElem),D.push(d[k].style);else if(c[k].ty==="gr"){if(!de)d[k]=this.createGroupElement(c[k]);else for(be=d[k].it.length,Q=0;Q<be;Q+=1)d[k].prevViewData[Q]=d[k].it[Q];this.searchShapes(c[k].it,d[k].it,d[k].prevViewData,d[k].gr,E+1,j,T),c[k]._render&&d[k].gr.parentNode!==w&&w.appendChild(d[k].gr)}else c[k].ty==="tr"?(de||(d[k]=this.createTransformElement(c[k],w)),le=d[k].transform,j.push(le)):c[k].ty==="sh"||c[k].ty==="rc"||c[k].ty==="el"||c[k].ty==="sr"?(de||(d[k]=this.createShapeElement(c[k],j,E)),this.setElementStyles(d[k])):c[k].ty==="tm"||c[k].ty==="rd"||c[k].ty==="ms"||c[k].ty==="pb"||c[k].ty==="zz"||c[k].ty==="op"?(de?(ae=d[k],ae.closed=!1):(ae=hi.getModifier(c[k].ty),ae.init(this,c[k]),d[k]=ae,this.shapeModifiers.push(ae)),ee.push(ae)):c[k].ty==="rp"&&(de?(ae=d[k],ae.closed=!0):(ae=hi.getModifier(c[k].ty),d[
vendor: 24,921 bytes, line 131
131k]=ae,ae.init(this,c,k,d),this.shapeModifiers.push(ae),T=!1),ee.push(ae));this.addProcessedElement(c[k],k+1)}for(q=D.length,k=0;k<q;k+=1)D[k].closed=!0;for(q=ee.length,k=0;k<q;k+=1)ee[k].closed=!0},Gn.prototype.renderInnerContent=function(){this.renderModifiers();var c,d=this.stylesList.length;for(c=0;c<d;c+=1)this.stylesList[c].reset();for(this.renderShape(),c=0;c<d;c+=1)(this.stylesList[c]._mdf||this._isFirstFrame)&&(this.stylesList[c].msElem&&(this.stylesList[c].msElem.setAttribute("d",this.stylesList[c].d),this.stylesList[c].d="M0 0"+this.stylesList[c].d),this.stylesList[c].pElem.setAttribute("d",this.stylesList[c].d||"M0 0"))},Gn.prototype.renderShape=function(){var c,d=this.animatedContents.length,v;for(c=0;c<d;c+=1)v=this.animatedContents[c],(this._isFirstFrame||v.element._isAnimated)&&v.data!==!0&&v.fn(v.data,v.element,this._isFirstFrame)},Gn.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function vl(c,d,v,w,E,_){this.o=c,this.sw=d,this.sc=v,this.fc=w,this.m=E,this.p=_,this._mdf={o:!0,sw:!!d,sc:!!v,fc:!!w,m:!0,p:!0}}vl.prototype.update=function(c,d,v,w,E,_){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var T=!1;return this.o!==c&&(this.o=c,this._mdf.o=!0,T=!0),this.sw!==d&&(this.sw=d,this._mdf.sw=!0,T=!0),this.sc!==v&&(this.sc=v,this._mdf.sc=!0,T=!0),this.fc!==w&&(this.fc=w,this._mdf.fc=!0,T=!0),this.m!==E&&(this.m=E,this._mdf.m=!0,T=!0),_.length&&(this.p[0]!==_[0]||this.p[1]!==_[1]||this.p[4]!==_[4]||this.p[5]!==_[5]||this.p[12]!==_[12]||this.p[13]!==_[13])&&(this.p=_,this._mdf.p=!0,T=!0),T};function Jn(c,d){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,d.d&&d.d.sid&&(d.d=c.globalData.slotManager.getProp(d.d)),this.data=d,this.elem=c,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Jn.prototype.defaultBoxWidth=[0,0],Jn.prototype.copyData=function(c,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v]);return c},Jn.prototype.setCurrentData=function(c){c.__complete||this.completeTextData(c),this.currentData=c,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Jn.prototype.searchProperty=function(){return this.searchKeyframes()},Jn.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Jn.prototype.addEffect=function(c){this.effectsSequence.push(c),this.elem.addDynamicProperty(this)},Jn.prototype.getValue=function(c){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!c)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var d=this.currentData,v=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var w,E=this.effectsSequence.length,_=c||this.data.d.k[this.keysIndex].s;for(w=0;w<E;w+=1)v!==this.keysIndex?_=this.effectsSequence[w](_,_.t):_=this.effectsSequence[w](this.currentData,_.t);d!==_&&this.setCurrentData(_),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Jn.prototype.getKeyframeValue=function(){for(var c=this.data.d.k,d=this.elem.comp.renderedFrame,v=0,w=c.length;v<=w-1&&!(v===w-1||c[v+1].t>d);)v+=1;return this.keysIndex!==v&&(this.keysIndex=v),this.data.d.k[this.keysIndex].s},Jn.prototype.buildFinalText=function(c){for(var d=[],v=0,w=c.length,E,_,T=!1,j=!1,k="";v<w;)T=j,j=!1,E=c.charCodeAt(v),k=c.charAt(v),Bs.isCombinedCharacter(E)?T=!0:E>=55296&&E<=56319?Bs.isRegionalFlag(c,v)?k=c.substr(v,14):(_=c.charCodeAt(v+1),_>=56320&&_<=57343&&(Bs.isModifier(E,_)?(k=c.substr(v,2),T=!0):Bs.isFlagEmoji(c.substr(v,4))?k=c.substr(v,4):k=c.substr(v,2))):E>56319?(_=c.charCodeAt(v+1),Bs.isVariationSelector(E)&&(T=!0)):Bs.isZeroWidthJoiner(E)&&(T=!0,j=!0),T?(d[d.length-1]+=k,T=!1):d.push(k),v+=k.length;return d},Jn.prototype.completeTextData=function(c){c.__complete=!0;var d=this.elem.globalData.fontManager,v=this.data,w=[],E,_,T,j=0,k,q=v.m.g,Q=0,be=0,D=0,ee=[],le=0,ae=0,de,W,H=d.getFontByName(c.f),N,F=0,G=Tu(H);c.fWeight=G.weight,c.fStyle=G.style,c.finalSize=c.s,c.finalText=this.buildFinalText(c.t),_=c.finalText.length,c.finalLineHeight=c.lh;var ce=c.tr/1e3*c.finalSize,ye;if(c.sz)for(var Se=!0,je=c.sz[0],ct=c.sz[1],tt,$e;Se;){$e=this.buildFinalText(c.t),tt=0,le=0,_=$e.length,ce=c.tr/1e3*c.finalSize;var lt=-1;for(E=0;E<_;E+=1)ye=$e[E].charCodeAt(0),T=!1,$e[E]===" "?lt=E:(ye===13||ye===3)&&(le=0,T=!0,tt+=c.finalLineHeight||c.finalSize*1.2),d.chars?(N=d.getCharData($e[E],H.fStyle,H.fFamily),F=T?0:N.w*c.finalSize/100):F=d.measureText($e[E],c.f,c.finalSize),le+F>je&&$e[E]!==" "?(lt===-1?_+=1:E=lt,tt+=c.finalLineHeight||c.finalSize*1.2,$e.splice(E,lt===E?1:0,"\r"),lt=-1,le=0):(le+=F,le+=ce);tt+=H.ascent*c.finalSize/100,this.canResize&&c.finalSize>this.minimumFontSize&&ct<tt?(c.finalSize-=1,c.finalLineHeight=c.finalSize*c.lh/c.s):(c.finalText=$e,_=c.finalText.length,Se=!1)}le=-ce,F=0;var Ye=0,Ue;for(E=0;E<_;E+=1)if(T=!1,Ue=c.finalText[E],ye=Ue.charCodeAt(0),ye===13||ye===3?(Ye=0,ee.push(le),ae=le>ae?le:ae,le=-2*ce,k="",T=!0,D+=1):k=Ue,d.chars?(N=d.getCharData(Ue,H.fStyle,d.getFontByName(c.f).fFamily),F=T?0:N.w*c.finalSize/100):F=d.measureText(k,c.f,c.finalSize),Ue===" "?Ye+=F+ce:(le+=F+ce+Ye,Ye=0),w.push({l:F,an:F,add:Q,n:T,anIndexes:[],val:k,line:D,animatorJustifyOffset:0}),q==2){if(Q+=F,k===""||k===" "||E===_-1){for((k===""||k===" ")&&(Q-=F);be<=E;)w[be].an=Q,w[be].ind=j,w[be].extra=F,be+=1;j+=1,Q=0}}else if(q==3){if(Q+=F,k===""||E===_-1){for(k===""&&(Q-=F);be<=E;)w[be].an=Q,w[be].ind=j,w[be].extra=F,be+=1;Q=0,j+=1}}else w[j].ind=j,w[j].extra=0,j+=1;if(c.l=w,ae=le>ae?le:ae,ee.push(le),c.sz)c.boxWidth=c.sz[0],c.justifyOffset=0;else switch(c.boxWidth=ae,c.j){case 1:c.justifyOffset=-c.boxWidth;break;case 2:c.justifyOffset=-c.boxWidth/2;break;default:c.justifyOffset=0}c.lineWidths=ee;var z=v.a,ie,C;W=z.length;var M,we,he=[];for(de=0;de<W;de+=1){for(ie=z[de],ie.a.sc&&(c.strokeColorAnim=!0),ie.a.sw&&(c.strokeWidthAnim=!0),(ie.a.fc||ie.a.fh||ie.a.fs||ie.a.fb)&&(c.fillColorAnim=!0),we=0,M=ie.s.b,E=0;E<_;E+=1)C=w[E],C.anIndexes[de]=we,(M==1&&C.val!==""||M==2&&C.val!==""&&C.val!==" "||M==3&&(C.n||C.val==" "||E==_-1)||M==4&&(C.n||E==_-1))&&(ie.s.rn===1&&he.push(we),we+=1);v.a[de].s.totalChars=we;var We=-1,ht;if(ie.s.rn===1)for(E=0;E<_;E+=1)C=w[E],We!=C.anIndexes[de]&&(We=C.anIndexes[de],ht=he.splice(Math.floor(Math.random()*he.length),1)[0]),C.anIndexes[de]=ht}c.yOffset=c.finalLineHeight||c.finalSize*1.2,c.ls=c.ls||0,c.ascent=H.ascent*c.finalSize/100},Jn.prototype.updateDocumentData=function(c,d){d=d===void 0?this.keysIndex:d;var v=this.copyData({},this.data.d.k[d].s);v=this.copyData(v,c),this.data.d.k[d].s=v,this.recalculate(d),this.setCurrentData(v),this.elem.addDynamicProperty(this)},Jn.prototype.recalculate=function(c){var d=this.data.d.k[c].s;d.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(d)},Jn.prototype.canResizeFont=function(c){this.canResize=c,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Jn.prototype.setMinimumFontSize=function(c){this.minimumFontSize=Math.floor(c)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var V0=(function(){var c=Math.max,d=Math.min,v=Math.floor;function w(_,T){this._currentTextLength=-1,this.k=!1,this.data=T,this.elem=_,this.comp=_.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(_),this.s=Be.getProp(_,T.s||{k:0},0,0,this),"e"in T?this.e=Be.getProp(_,T.e,0,0,this):this.e={v:100},this.o=Be.getProp(_,T.o||{k:0},0,0,this),this.xe=Be.getProp(_,T.xe||{k:0},0,0,this),this.ne=Be.getProp(_,T.ne||{k:0},0,0,this),this.sm=Be.getProp(_,T.sm||{k:100},0,0,this),this.a=Be.getProp(_,T.a,0,.01,this),this.dynamicProperties.length||this.getValue()}w.prototype={getMult:function(T){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var j=0,k=0,q=1,Q=1;this.ne.v>0?j=this.ne.v/100:k=-this.ne.v/100,this.xe.v>0?q=1-this.xe.v/100:Q=1+this.xe.v/100;var be=qe.getBezierEasing(j,k,q,Q).get,D=0,ee=this.finalS,le=this.finalE,ae=this.data.sh;if(ae===2)le===ee?D=T>=le?1:0:D=c(0,d(.5/(le-ee)+(T-ee)/(le-ee),1)),D=be(D);else if(ae===3)le===ee?D=T>=le?0:1:D=1-c(0,d(.5/(le-ee)+(T-ee)/(le-ee),1)),D=be(D);else if(ae===4)le===ee?D=0:(D=c(0,d(.5/(le-ee)+(T-ee)/(le-ee),1)),D<.5?D*=2:D=1-2*(D-.5)),D=be(D);else if(ae===5){if(le===ee)D=0;else{var de=le-ee;T=d(c(0,T+.5-ee),le-ee);var W=-de/2+T,H=de/2;D=Math.sqrt(1-W*W/(H*H))}D=be(D)}else ae===6?(le===ee?D=0:(T=d(c(0,T+.5-ee),le-ee),D=(1+Math.cos(Math.PI+Math.PI*2*T/(le-ee)))/2),D=be(D)):(T>=v(ee)&&(T-ee<0?D=c(0,d(d(le,1)-(ee-T),1)):D=c(0,d(le-T,1))),D=be(D));if(this.sm.v!==100){var N=this.sm.v*.01;N===0&&(N=1e-8);var F=.5-N*.5;D<F?D=0:(D=(D-F)/N,D>1&&(D=1))}return D*this.a.v},getValue:function(T){this.iterateDynamicProperties(),this._mdf=T||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,T&&this.data.r===2&&(this.e.v=this._currentTextLength);var j=this.data.r===2?1:100/this.data.totalChars,k=this.o.v/j,q=this.s.v/j+k,Q=this.e.v/j+k;if(q>Q){var be=q;q=Q,Q=be}this.finalS=q,this.finalE=Q}},S([En],w);function E(_,T,j){return new w(_,T)}return{getTextSelectorProp:E}})();function sp(c,d,v){var w={propType:!1},E=Be.getProp,_=d.a;this.a={r:_.r?E(c,_.r,0,oe,v):w,rx:_.rx?E(c,_.rx,0,oe,v):w,ry:_.ry?E(c,_.ry,0,oe,v):w,sk:_.sk?E(c,_.sk,0,oe,v):w,sa:_.sa?E(c,_.sa,0,oe,v):w,s:_.s?E(c,_.s,1,.01,v):w,a:_.a?E(c,_.a,1,0,v):w,o:_.o?E(c,_.o,0,.01,v):w,p:_.p?E(c,_.p,1,0,v):w,sw:_.sw?E(c,_.sw,0,0,v):w,sc:_.sc?E(c,_.sc,1,0,v):w,fc:_.fc?E(c,_.fc,1,0,v):w,fh:_.fh?E(c,_.fh,0,0,v):w,fs:_.fs?E(c,_.fs,0,.01,v):w,fb:_.fb?E(c,_.fb,0,.01,v):w,t:_.t?E(c,_.t,0,0,v):w},this.s=V0.getTextSelectorProp(c,d.s,v),this.s.t=d.s.t}function qs(c,d,v){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=c,this._renderType=d,this._elem=v,this._animatorsData=R(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(v)}qs.prototype.searchProperties=function(){var c,d=this._textData.a.length,v,w=Be.getProp;for(c=0;c<d;c+=1)v=this._textData.a[c],this._animatorsData[c]=new sp(this._elem,v,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:w(this._elem,this._textData.p.a,0,0,this),f:w(this._elem,this._textData.p.f,0,0,this),l:w(this._elem,this._textData.p.l,0,0,this),r:w(this._elem,this._textData.p.r,0,0,this),p:w(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=w(this._elem,this._textData.m.a,1,0,this)},qs.prototype.getMeasures=function(c,d){if(this.lettersChangedFlag=d,!(!this._mdf&&!this._isFirstFrame&&!d&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var v=this._moreOptions.alignment.v,w=this._animatorsData,E=this._textData,_=this.mHelper,T=this._renderType,j=this.renderedLetters.length,k,q,Q,be,D=c.l,ee,le,ae,de,W,H,N,F,G,ce,ye,Se,je,ct,tt;if(this._hasMaskedPath){if(tt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var $e=tt.v;this._pathData.r.v&&($e=$e.reverse()),ee={tLength:0,segments:[]},be=$e._length-1;var lt;for(Se=0,Q=0;Q<be;Q+=1)lt=on.buildBezierData($e.v[Q],$e.v[Q+1],[$e.o[Q][0]-$e.v[Q][0],$e.o[Q][1]-$e.v[Q][1]],[$e.i[Q+1][0]-$e.v[Q+1][0],$e.i[Q+1][1]-$e.v[Q+1][1]]),ee.tLength+=lt.segmentLength,ee.segments.push(lt),Se+=lt.segmentLength;Q=be,tt.v.c&&(lt=on.buildBezierData($e.v[Q],$e.v[0],[$e.o[Q][0]-$e.v[Q][0],$e.o[Q][1]-$e.v[Q][1]],[$e.i[0][0]-$e.v[0][0],$e.i[0][1]-$e.v[0][1]]),ee.tLength+=lt.segmentLength,ee.segments.push(lt),Se+=lt.segmentLength),this._pathData.pi=ee}if(ee=this._pathData.pi,le=this._pathData.f.v,N=0,H=1,de=0,W=!0,ce=ee.segments,le<0&&tt.v.c)for(ee.tLength<Math.abs(le)&&(le=-Math.abs(le)%ee.tLength),N=ce.length-1,G=ce[N].points,H=G.length-1;le<0;)le+=G[H].partialLength,H-=1,H<0&&(N-=1,G=ce[N].points,H=G.length-1);G=ce[N].points,F=G[H-1],ae=G[H],ye=ae.partialLength}be=D.length,k=0,q=0;var Ye=c.finalSize*1.2*.714,Ue=!0,z,ie,C,M,we;M=w.length;var he,We=-1,ht,dt,Ht,jt=le,tn=N,dr=H,Dn=-1,er,tr,Ar,qt,Qe,Dr,vs,gi,Ur="",ys=this.defaultPropsArray,Un;if(c.j===2||c.j===1){var xr=0,Cr=0,bs=c.j===2?-.5:-1,Qr=0,Jr=!0;for(Q=0;Q<be;Q+=1)if(D[Q].n){for(xr&&(xr+=Cr);Qr<Q;)D[Qr].animatorJustifyOffset=xr,Qr+=1;xr=0,Jr=!0}else{for(C=0;C<M;C+=1)z=w[C].a,z.t.propType&&(Jr&&c.j===2&&(Cr+=z.t.v*bs),ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),he.length?xr+=z.t.v*he[0]*bs:xr+=z.t.v*he*bs);Jr=!1}for(xr&&(xr+=Cr);Qr<Q;)D[Qr].animatorJustifyOffset=xr,Qr+=1}for(Q=0;Q<be;Q+=1){if(_.reset(),er=1,D[Q].n)k=0,q+=c.yOffset,q+=Ue?1:0,le=jt,Ue=!1,this._hasMaskedPath&&(N=tn,H=dr,G=ce[N].points,F=G[H-1],ae=G[H],ye=ae.partialLength,de=0),Ur="",gi="",Dr="",Un="",ys=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Dn!==D[Q].line){switch(c.j){case 1:le+=Se-c.lineWidths[D[Q].line];break;case 2:le+=(Se-c.lineWidths[D[Q].line])/2;break}Dn=D[Q].line}We!==D[Q].ind&&(D[We]&&(le+=D[We].extra),le+=D[Q].an/2,We=D[Q].ind),le+=v[0]*D[Q].an*.005;var ai=0;for(C=0;C<M;C+=1)z=w[C].a,z.p.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),he.length?ai+=z.p.v[0]*he[0]:ai+=z.p.v[0]*he),z.a.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),he.length?ai+=z.a.v[0]*he[0]:ai+=z.a.v[0]*he);for(W=!0,this._pathData.a.v&&(le=D[0].an*.5+(Se-this._pathData.f.v-D[0].an*.5-D[D.length-1].an*.5)*We/(be-1),le+=this._pathData.f.v);W;)de+ye>=le+ai||!G?(je=(le+ai-de)/ae.partialLength,dt=F.point[0]+(ae.point[0]-F.point[0])*je,Ht=F.point[1]+(ae.point[1]-F.point[1])*je,_.translate(-v[0]*D[Q].an*.005,-(v[1]*Ye)*.01),W=!1):G&&(de+=ae.partialLength,H+=1,H>=G.length&&(H=0,N+=1,ce[N]?G=ce[N].points:tt.v.c?(H=0,N=0,G=ce[N].points):(de-=ae.partialLength,G=null)),G&&(F=ae,ae=G[H],ye=ae.partialLength));ht=D[Q].an/2-D[Q].add,_.translate(-ht,0,0)}else ht=D[Q].an/2-D[Q].add,_.translate(-ht,0,0),_.translate(-v[0]*D[Q].an*.005,-v[1]*Ye*.01,0);for(C=0;C<M;C+=1)z=w[C].a,z.t.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),(k!==0||c.j!==0)&&(this._hasMaskedPath?he.length?le+=z.t.v*he[0]:le+=z.t.v*he:he.length?k+=z.t.v*he[0]:k+=z.t.v*he));for(c.strokeWidthAnim&&(Ar=c.sw||0),c.strokeColorAnim&&(c.sc?tr=[c.sc[0],c.sc[1],c.sc[2]]:tr=[0,0,0]),c.fillColorAnim&&c.fc&&(qt=[c.fc[0],c.fc[1],c.fc[2]]),C=0;C<M;C+=1)z=w[C].a,z.a.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),he.length?_.translate(-z.a.v[0]*he[0],-z.a.v[1]*he[1],z.a.v[2]*he[2]):_.translate(-z.a.v[0]*he,-z.a.v[1]*he,z.a.v[2]*he));for(C=0;C<M;C+=1)z=w[C].a,z.s.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),he.length?_.scale(1+(z.s.v[0]-1)*he[0],1+(z.s.v[1]-1)*he[1],1):_.scale(1+(z.s.v[0]-1)*he,1+(z.s.v[1]-1)*he,1));for(C=0;C<M;C+=1){if(z=w[C].a,ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),z.sk.propType&&(he.length?_.skewFromAxis(-z.sk.v*he[0],z.sa.v*he[1]):_.skewFromAxis(-z.sk.v*he,z.sa.v*he)),z.r.propType&&(he.length?_.rotateZ(-z.r.v*he[2]):_.rotateZ(-z.r.v*he)),z.ry.propType&&(he.length?_.rotateY(z.ry.v*he[1]):_.rotateY(z.ry.v*he)),z.rx.propType&&(he.length?_.rotateX(z.rx.v*he[0]):_.rotateX(z.rx.v*he)),z.o.propType&&(he.length?er+=(z.o.v*he[0]-er)*he[0]:er+=(z.o.v*he-er)*he),c.strokeWidthAnim&&z.sw.propType&&(he.length?Ar+=z.sw.v*he[0]:Ar+=z.sw.v*he),c.strokeColorAnim&&z.sc.propType)for(Qe=0;Qe<3;Qe+=1)he.length?tr[Qe]+=(z.sc.v[Qe]-tr[Qe])*he[0]:tr[Qe]+=(z.sc.v[Qe]-tr[Qe])*he;if(c.fillColorAnim&&c.fc){if(z.fc.propType)for(Qe=0;Qe<3;Qe+=1)he.length?qt[Qe]+=(z.fc.v[Qe]-qt[Qe])*he[0]:qt[Qe]+=(z.fc.v[Qe]-qt[Qe])*he;z.fh.propType&&(he.length?qt=ze(qt,z.fh.v*he[0]):qt=ze(qt,z.fh.v*he)),z.fs.propType&&(he.length?qt=$(qt,z.fs.v*he[0]):qt=$(qt,z.fs.v*he)),z.fb.propType&&(he.length?qt=Te(qt,z.fb.v*he[0]):qt=Te(qt,z.fb.v*he))}}for(C=0;C<M;C+=1)z=w[C].a,z.p.propType&&(ie=w[C].s,he=ie.getMult(D[Q].anIndexes[C],E.a[C].s.totalChars),this._hasMaskedPath?he.length?_.translate(0,z.p.v[1]*he[0],-z.p.v[2]*he[1]):_.translate(0,z.p.v[1]*he,-z.p.v[2]*he):he.length?_.translate(z.p.v[0]*he[0],z.p.v[1]*he[1],-z.p.v[2]*he[2]):_.translate(z.p.v[0]*he,z.p.v[1]*he,-z.p.v[2]*he));if(c.strokeWidthAnim&&(Dr=Ar<0?0:Ar),c.strokeColorAnim&&(vs="rgb("+Math.round(tr[0]*255)+","+Math.round(tr[1]*255)+","+Math.round(tr[2]*255)+")"),c.fillColorAnim&&c.fc&&(gi="rgb("+Math.round(qt[0]*255)+","+Math.round(qt[1]*255)+","+Math.round(qt[2]*255)+")"),this._hasMaskedPath){if(_.translate(0,-c.ls),_.translate(0,v[1]*Ye*.01+q,0),this._pathData.p.v){ct=(ae.point[1]-F.point[1])/(ae.point[0]-F.point[0]);var Ws=Math.atan(ct)*180/Math.PI;ae.point[0]<F.point[0]&&(Ws+=180),_.rotate(-Ws*Math.PI/180)}_.translate(dt,Ht,0),le-=v[0]*D[Q].an*.005,D[Q+1]&&We!==D[Q+1].ind&&(le+=D[Q].an/2,le+=c.tr*.001*c.finalSize)}else{switch(_.translate(k,q,0),c.ps&&_.translate(c.ps[0],c.ps[1]+c.ascent,0),c.j){case 1:_.translate(D[Q].animatorJustifyOffset+c.justifyOffset+(c.boxWidth-c.lineWidths[D[Q].line]),0,0);break;case 2:_.translate(D[Q].animatorJustifyOffset+c.justifyOffset+(c.boxWidth-c.lineWidths[D[Q].line])/2,0,0);break}_.translate(0,-c.ls),_.translate(ht,0,0),_.translate(v[0]*D[Q].an*.005,v[1]*Ye*.01,0),k+=D[Q].l+c.tr*.001*c.finalSize}T==="html"?Ur=_.toCSS():T==="svg"?Ur=_.to2dCSS():ys=[_.props[0],_.props[1],_.props[2],_.props[3],_.props[4],_.props[5],_.props[6],_.props[7],_.props[8],_.props[9],_.props[10],_.props[11],_.props[12],_.props[13],_.props[14],_.props[15]],Un=er}j<=Q?(we=new vl(Un,Dr,vs,gi,Ur,ys),this.renderedLetters.push(we),j+=1,this.lettersChangedFlag=!0):(we=this.renderedLetters[Q],this.lettersChangedFlag=we.update(Un,Dr,vs,gi,Ur,ys)||this.lettersChangedFlag)}}},qs.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},qs.prototype.mHelper=new yn,qs.prototype.defaultPropsArray=[],S([En],qs);function si(){}si.prototype.initElement=function(c,d,v){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(c,d,v),this.textProperty=new Jn(this,c.t,this.dynamicProperties),this.textAnimator=new qs(c.t,this.renderType,this),this.initTransform(c,d,v),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},si.prototype.prepareFrame=function(c){this._mdf=!1,this.prepareRenderableFrame(c),this.prepareProperties(c,this.isInRange)},si.prototype.createPathShape=function(c,d){var v,w=d.length,E,_="";for(v=0;v<w;v+=1)d[v].ty==="sh"&&(E=d[v].ks.k,_+=ip(E,E.i.length,!0,c));return _},si.prototype.updateDocumentData=function(c,d){this.textProperty.updateDocumentData(c,d)},si.prototype.canResizeFont=function(c){this.textProperty.canResizeFont(c)},si.prototype.setMinimumFontSize=function(c){this.textProperty.setMinimumFontSize(c)},si.prototype.applyTextPropertiesToMatrix=function(c,d,v,w,E){switch(c.ps&&d.translate(c.ps[0],c.ps[1]+c.ascent,0),d.translate(0,-c.ls,0),c.j){case 1:d.translate(c.justifyOffset+(c.boxWidth-c.lineWidths[v]),0,0);break;case 2:d.translate(c.justifyOffset+(c.boxWidth-c.lineWidths[v])/2,0,0);break}d.translate(w,E,0)},si.prototype.buildColor=function(c){return"rgb("+Math.round(c[0]*255)+","+Math.round(c[1]*255)+","+Math.round(c[2]*255)+")"},si.prototype.emptyProp=new vl,si.prototype.destroy=function(){},si.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var ap={shapes:[]};function Yi(c,d,v){this.textSpans=[],this.renderType="svg",this.initElement(c,d,v)}S([pi,Ea,pl,co,Vs,gl,si],Yi),Yi.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Xe("text"))},Yi.prototype.buildTextContents=function(c){for(var d=0,v=c.length,w=[],E="";d<v;)c[d]==="\r"||c[d]==="�"?(w.push(E),E=""):E+=c[d],d+=1;return w.push(E),w},Yi.prototype.buildShapeData=function(c,d){if(c.shapes&&c.shapes.length){var v=c.shapes[0];if(v.it){var w=v.it[v.it.length-1];w.s&&(w.s.k[0]=d,w.s.k[1]=d)}}return c},Yi.prototype.buildNewText=function(){this.addDynamicProperty(this);var c,d,v=this.textProperty.currentData;this.renderedLetters=R(v?v.l.length:0),v.fc?this.layerElement.setAttribute("fill",this.buildColor(v.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),v.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(v.sc)),this.layerElement.setAttribute("stroke-width",v.sw)),this.layerElement.setAttribute("font-size",v.finalSize);var w=this.globalData.fontManager.getFontByName(v.f);if(w.fClass)this.layerElement.setAttribute("class",w.fClass);else{this.layerElement.setAttribute("font-family",w.fFamily);var E=v.fWeight,_=v.fStyle;this.layerElement.setAttribute("font-style",_),this.layerElement.setAttribute("font-weight",E)}this.layerElement.setAttribute("aria-label",v.t);var T=v.l||[],j=!!this.globalData.fontManager.chars;d=T.length;var k,q=this.mHelper,Q="",be=this.data.singleShape,D=0,ee=0,le=!0,ae=v.tr*.001*v.finalSize;if(be&&!j&&!v.sz){var de=this.textContainer,W="start";switch(v.j){case 1:W="end";break;case 2:W="middle";break;default:W="start";break}de.setAttribute("text-anchor",W),de.setAttribute("letter-spacing",ae);var H=this.buildTextContents(v.finalText);for(d=H.length,ee=v.ps?v.ps[1]+v.ascent:0,c=0;c<d;c+=1)k=this.textSpans[c].span||Xe("tspan"),k.textContent=H[c],k.setAttribute("x",0),k.setAttribute("y",ee),k.style.display="inherit",de.appendChild(k),this.textSpans[c]||(this.textSpans[c]={span:null,glyph:null}),this.textSpans[c].span=k,ee+=v.finalLineHeight;this.layerElement.appendChild(de)}else{var N=this.textSpans.length,F;for(c=0;c<d;c+=1){if(this.textSpans[c]||(this.textSpans[c]={span:null,childSpan:null,glyph:null}),!j||!be||c===0){if(k=N>c?this.textSpans[c].span:Xe(j?"g":"text"),N<=c){if(k.setAttribute("stroke-linecap","butt"),k.setAttribute("stroke-linejoin","round"),k.setAttribute("stroke-miterlimit","4"),this.textSpans[c].span=k,j){var G=Xe("g");k.appendChild(G),this.textSpans[c].childSpan=G}this.textSpans[c].span=k,this.layerElement.appendChild(k)}k.style.display="inherit"}if(q.reset(),be&&(T[c].n&&(D=-ae,ee+=v.yOffset,ee+=le?1:0,le=!1),this.applyTextPropertiesToMatrix(v,q,T[c].line,D,ee),D+=T[c].l||0,D+=ae),j){F=this.globalData.fontManager.getCharData(v.finalText[c],w.fStyle,this.globalData.fontManager.getFontByName(v.f).fFamily);var ce;if(F.t===1)ce=new po(F.data,this.globalData,this);else{var ye=ap;F.data&&F.data.shapes&&(ye=this.buildShapeData(F.data,v.finalSize)),ce=new Gn(ye,this.globalData,this)}if(this.textSpans[c].glyph){var Se=this.textSpans[c].glyph;this.textSpans[c].childSpan.removeChild(Se.layerElement),Se.destroy()}this.textSpans[c].glyph=ce,ce._debug=!0,ce.prepareFrame(0),ce.renderFrame(),this.textSpans[c].childSpan.appendChild(ce.layerElement),F.t===1&&this.textSpans[c].childSpan.setAttribute("transform","scale("+v.finalSize/100+","+v.finalSize/100+")")}else be&&k.setAttribute("transform","translate("+q.props[12]+","+q.props[13]+")"),k.textContent=T[c].val,k.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}be&&k&&k.setAttribute("d",Q)}for(;c<this.textSpans.length;)this.textSpans[c].span.style.display="none",c+=1;this._sizeChanged=!0},Yi.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var c=this.layerElement.getBBox();this.bbox={top:c.y,left:c.x,width:c.width,height:c.height}}return this.bbox},Yi.prototype.getValue=function(){var c,d=this.textSpans.length,v;for(this.renderedFrame=this.comp.renderedFrame,c=0;c<d;c+=1)v=this.textSpans[c].glyph,v&&(v.prepareFrame(this.comp.renderedFrame-this.data.st),v._mdf&&(this._mdf=!0))},Yi.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var c,d,v=this.textAnimator.renderedLetters,w=this.textProperty.currentData.l;d=w.length;var E,_,T;for(c=0;c<d;c+=1)w[c].n||(E=v[c],_=this.textSpans[c].span,T=this.textSpans[c].glyph,T&&T.renderFrame(),E._mdf.m&&_.setAttribute("transform",E.m),E._mdf.o&&_.setAttribute("op
131acity",E.o),E._mdf.sw&&_.setAttribute("stroke-width",E.sw),E._mdf.sc&&_.setAttribute("stroke",E.sc),E._mdf.fc&&_.setAttribute("fill",E.fc))}};function Ks(c,d,v){this.initElement(c,d,v)}S([fo],Ks),Ks.prototype.createContent=function(){var c=Xe("rect");c.setAttribute("width",this.data.sw),c.setAttribute("height",this.data.sh),c.setAttribute("fill",this.data.sc),this.layerElement.appendChild(c)};function Gs(c,d,v){this.initFrame(),this.initBaseData(c,d,v),this.initFrame(),this.initTransform(c,d,v),this.initHierarchy()}Gs.prototype.prepareFrame=function(c){this.prepareProperties(c,!0)},Gs.prototype.renderFrame=function(){},Gs.prototype.getBaseElement=function(){return null},Gs.prototype.destroy=function(){},Gs.prototype.sourceRectAtTime=function(){},Gs.prototype.hide=function(){},S([pi,Ea,co,Vs],Gs);function or(){}S([Kn],or),or.prototype.createNull=function(c){return new Gs(c,this.globalData,this)},or.prototype.createShape=function(c){return new Gn(c,this.globalData,this)},or.prototype.createText=function(c){return new Yi(c,this.globalData,this)},or.prototype.createImage=function(c){return new fo(c,this.globalData,this)},or.prototype.createSolid=function(c){return new Ks(c,this.globalData,this)},or.prototype.configAnimation=function(c){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+c.w+" "+c.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",c.w),this.svgElement.setAttribute("height",c.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var d=this.globalData.defs;this.setupGlobalData(c,d),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=c;var v=Xe("clipPath"),w=Xe("rect");w.setAttribute("width",c.w),w.setAttribute("height",c.h),w.setAttribute("x",0),w.setAttribute("y",0);var E=Ie();v.setAttribute("id",E),v.appendChild(w),this.layerElement.setAttribute("clip-path","url("+u()+"#"+E+")"),d.appendChild(v),this.layers=c.layers,this.elements=R(c.layers.length)},or.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var c,d=this.layers?this.layers.length:0;for(c=0;c<d;c+=1)this.elements[c]&&this.elements[c].destroy&&this.elements[c].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},or.prototype.updateContainerSize=function(){},or.prototype.findIndexByInd=function(c){var d=0,v=this.layers.length;for(d=0;d<v;d+=1)if(this.layers[d].ind===c)return d;return-1},or.prototype.buildItem=function(c){var d=this.elements;if(!(d[c]||this.layers[c].ty===99)){d[c]=!0;var v=this.createItem(this.layers[c]);if(d[c]=v,at()&&(this.layers[c].ty===0&&this.globalData.projectInterface.registerComposition(v),v.initExpressions()),this.appendElementInPos(v,c),this.layers[c].tt){var w="tp"in this.layers[c]?this.findIndexByInd(this.layers[c].tp):c-1;if(w===-1)return;if(!this.elements[w]||this.elements[w]===!0)this.buildItem(w),this.addPendingElement(v);else{var E=d[w],_=E.getMatte(this.layers[c].tt);v.setMatte(_)}}}},or.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var c=this.pendingElements.pop();if(c.checkParenting(),c.data.tt)for(var d=0,v=this.elements.length;d<v;){if(this.elements[d]===c){var w="tp"in c.data?this.findIndexByInd(c.data.tp):d-1,E=this.elements[w],_=E.getMatte(this.layers[d].tt);c.setMatte(_);break}d+=1}}},or.prototype.renderFrame=function(c){if(!(this.renderedFrame===c||this.destroyed)){c===null?c=this.renderedFrame:this.renderedFrame=c,this.globalData.frameNum=c,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=c,this.globalData._mdf=!1;var d,v=this.layers.length;for(this.completeLayers||this.checkLayers(c),d=v-1;d>=0;d-=1)(this.completeLayers||this.elements[d])&&this.elements[d].prepareFrame(c-this.layers[d].st);if(this.globalData._mdf)for(d=0;d<v;d+=1)(this.completeLayers||this.elements[d])&&this.elements[d].renderFrame()}},or.prototype.appendElementInPos=function(c,d){var v=c.getBaseElement();if(v){for(var w=0,E;w<d;)this.elements[w]&&this.elements[w]!==!0&&this.elements[w].getBaseElement()&&
vendor: 3,698 bytes, line 131
131(E=this.elements[w].getBaseElement()),w+=1;E?this.layerElement.insertBefore(v,E):this.layerElement.appendChild(v)}},or.prototype.hide=function(){this.layerElement.style.display="none"},or.prototype.show=function(){this.layerElement.style.display="block"};function ms(){}S([pi,Ea,co,Vs,gl],ms),ms.prototype.initElement=function(c,d,v){this.initFrame(),this.initBaseData(c,d,v),this.initTransform(c,d,v),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!d.progressiveLoad)&&this.buildAllItems(),this.hide()},ms.prototype.prepareFrame=function(c){if(this._mdf=!1,this.prepareRenderableFrame(c),this.prepareProperties(c,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=c/this.data.sr;else{var d=this.tm.v;d===this.data.op&&(d=this.data.op-1),this.renderedFrame=d}var v,w=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),v=w-1;v>=0;v-=1)(this.completeLayers||this.elements[v])&&(this.elements[v].prepareFrame(this.renderedFrame-this.layers[v].st),this.elements[v]._mdf&&(this._mdf=!0))}},ms.prototype.renderInnerContent=function(){var c,d=this.layers.length;for(c=0;c<d;c+=1)(this.completeLayers||this.elements[c])&&this.elements[c].renderFrame()},ms.prototype.setElements=function(c){this.elements=c},ms.prototype.getElements=function(){return this.elements},ms.prototype.destroyElements=function(){var c,d=this.layers.length;for(c=0;c<d;c+=1)this.elements[c]&&this.elements[c].destroy()},ms.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function po(c,d,v){this.layers=c.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?R(this.layers.length):[],this.initElement(c,d,v),this.tm=c.tm?Be.getProp(this,c.tm,0,d.frameRate,this):{_placeholder:!0}}S([or,ms,pl],po),po.prototype.createComp=function(c){return new po(c,this.globalData,this)};function Nu(c,d){this.animationItem=c,this.layers=null,this.renderedFrame=-1,this.svgElement=Xe("svg");var v="";if(d&&d.title){var w=Xe("title"),E=Ie();w.setAttribute("id",E),w.textContent=d.title,this.svgElement.appendChild(w),v+=E}if(d&&d.description){var _=Xe("desc"),T=Ie();_.setAttribute("id",T),_.textContent=d.description,this.svgElement.appendChild(_),v+=" "+T}v&&this.svgElement.setAttribute("aria-labelledby",v);var j=Xe("defs");this.svgElement.appendChild(j);var k=Xe("g");this.svgElement.appendChild(k),this.layerElement=k,this.renderConfig={preserveAspectRatio:d&&d.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:d&&d.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:d&&d.contentVisibility||"visible",progressiveLoad:d&&d.progressiveLoad||!1,hideOnTransparent:!(d&&d.hideOnTransparent===!1),viewBoxOnly:d&&d.viewBoxOnly||!1,viewBoxSize:d&&d.viewBoxSize||!1,className:d&&d.className||"",id:d&&d.id||"",focusable:d&&d.focusable,filterSize:{width:d&&d.filterSize&&d.filterSize.width||"100%",height:d&&d.filterSize&&d.filterSize.height||"100%",x:d&&d.filterSize&&d.filterSize.x||"0%",y:d&&d.filterSize&&d.filterSize.y||"0%"},width:d&&d.width,height:d&&d.height,runExpressions:!d||d.runExpressions===void 0||d.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:j,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return S([or],Nu),Nu.prototype.createComp=function(c){return new po(c,this.globalData,this)},$n("svg",Nu),hi.registerModifier("tm",qn),hi.registerModifier("pb",Nr),hi.registerModifier("rp",br),hi.registerModifier("rd",js),hi.registerModifier("zz",Ki),hi.registerModifier("op",oo),Nt}))}
131)(Fc,Fc.exports)),Fc.exports}var Bm,RS;function W4(){return RS||(RS=1,Bm=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var i,a,o;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(a=i;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(a of t.entries())if(!n.has(a[0]))return!1;for(a of t.entries())if(!e(a[1],n.get(a[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(a of t.entries())if(!n.has(a[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if(i=t.length,i!=n.length)return!1;for(a=i;a--!==0;)if(t[a]!==n[a])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),i=o.length,i!==Object.keys(n).length)return!1;for(a=i;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=i;a--!==0;){var f=o[a];if(!(f==="_owner"&&t.$$typeof)&&!e(t[f],n[f]))return!1}return!0}return t!==t&&n!==n}),Bm}var zm,LS;function Y4(){if(LS)return zm;LS=1,zm=t;function e(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function t(i){if(i=i||{},i.circles)return n(i);const a=new Map;if(a.set(Date,u=>new Date(u)),a.set(Map,(u,y)=>new Map(f(Array.from(u),y))),a.set(Set,(u,y)=>new Set(f(Array.from(u),y))),i.constructorHandlers)for(const u of i.constructorHandlers)a.set(u[0],u[1]);let o=null;return i.proto?g:p;function f(u,y){const S=Object.keys(u),x=new Array(S.length);for(let O=0;O<S.length;O++){const L=S[O],R=u[L];typeof R!="object"||R===null?x[L]=R:R.constructor!==Object&&(o=a.get(R.constructor))?x[L]=o(R,y):ArrayBuffer.isView(R)?x[L]=e(R):x[L]=y(R)}return x}function p(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return f(u,p);if(u.constructor!==Object&&(o=a.get(u.constructor)))return o(u,p);const y={};for(const S in u){if(Object.hasOwnProperty.call(u,S)===!1)continue;const x=u[S];typeof x!="object"||x===null?y[S]=x:x.constructor!==Object&&(o=a.get(x.constructor))?y[S]=o(x,p):ArrayBuffer.isView(x)?y[S]=e(x):y[S]=p(x)}return y}function g(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return f(u,g);if(u.constructor!==Object&&(o=a.get(u.constructor)))return o(u,g);const y={};for(const S in u){const x=u[S];typeof x!="object"||x===null?y[S]=x:x.constructor!==Object&&(o=a.get(x.constructor))?y[S]=o(x,g):ArrayBuffer.isView(x)?y[S]=e(x):y[S]=g(x)}return y}}function n(i){const a=[],o=[],f=new Map;if(f.set(Date,S=>new Date(S)),f.set(Map,(S,x)=>new Map(g(Array.from(S),x))),f.set(Set,(S,x)=>new Set(g(Array.from(S),x))),i.constructorHandlers)for(const S of i.constructorHandlers)f.set(S[0],S[1]);let p=null;return i.proto?y:u;function g(S,x){const O=Object.keys(S),L=new Array(O.length);for(let R=0;R<O.length;R++){const V=O[R],K=S[V];if(typeof K!="object"||K===null)L[V]=K;else if(K.constructor!==Object&&(p=f.get(K.constructor)))L[V]=p(K,x);else if(ArrayBuffer.isView(K))L[V]=e(K);else{const se=a.indexOf(K);se!==-1?L[V]=o[se]:L[V]=x(K)}}return L}function u(S){if(typeof S!="object"||S===null)return S;if(Array.isArray(S))return g(S,u);if(S.constructor!==Object&&(p=f.get(S.constructor)))return p(S,u);const x={};a.push(S),o.push(x);for(const O in S){if(Object.hasOwnProperty.call(S,O)===!1)continue;const L=S[O];if(typeof L!="object"||L===null)x[O]=L;else if(L.constructor!==Object&&(p=f.get(L.constructor)))x[O]=p(L,u);else if(ArrayBuffer.isView(L))x[O]=e(L);else{const R=a.indexOf(L);R!==-1?x[O]=o[R]:x[O]=u(L)}}return a.pop(),o.pop(),x}function y(S){if(typeof S!="object"||S===null)return S;if(Array.isArray(S))return g(S,y);if(S.constructor!==Object&&(p=f.get(S.constructor)))return p(S,y);const x={};a.push(S),o.push(x);for(const O in S){const L=S[O];if(typeof L!="object"||L===null)x[O]=L;else if(L.constructor!==Object&&(p=f.get(L.constructor)))x[O]=p(L,y);else if(ArrayBuffer.isView(L))x[O]=e(L);else{const R=a.indexOf(L);R!==-1?x[O]=o[R]:x[O]=y(L)}}return a.pop(),o.pop(),x}}return zm}var Hm,IS;function X4(){return IS||(IS=1,Hm=Y4()()),Hm}var $m,MS;function Z4(){if(MS)return $m;MS=1;function e(Me){return Me&&typeof Me=="object"&&"default"in Me?Me.default:Me}var t=e(G4()),n=oc(),i=e(n),a=e(W4()),o=e(X4());function f(){return f=Object.assign||function(Me){for(var St=1;St<arguments.length;St++){var Mt=arguments[St];for(var wt in Mt)Object.prototype.hasOwnProperty.call(Mt,wt)&&(Me[wt]=Mt[wt])}return Me},f.apply(this,arguments)}function p(Me,St){if(Me==null)return{};var Mt={},wt=Object.keys(Me),it,Vt;for(Vt=0;Vt<wt.length;Vt++)it=wt[Vt],!(St.indexOf(it)>=0)&&(Mt[it]=Me[it]);return Mt}function g(Me,St){return St={exports:{}},Me(St,St.exports),St.exports}var u=typeof Symbol=="function"&&Symbol.for,y=u?Symbol.for("react.element"):60103,S=u?Symbol.for("react.portal"):60106,x=u?Symbol.for("react.fragment"):60107,O=u?Symbol.for("react.strict_mode"):60108,L=u?Symbol.for("react.profiler"):60114,R=u?Symbol.for("react.provider"):60109,V=u?Symbol.for("react.context"):60110,K=u?Symbol.for("react.async_mode"):60111,se=u?Symbol.for("react.concurrent_mode"):60111,ne=u?Symbol.for("react.forward_ref"):60112,J=u?Symbol.for("react.suspense"):60113,X=u?Symbol.for("react.suspense_list"):60120,U=u?Symbol.for("react.memo"):60115,Y=u?Symbol.for("react.lazy"):60116,Ce=u?Symbol.for("react.block"):60121,oe=u?Symbol.for("react.fundamental"):60117,_e=u?Symbol.for("react.responder"):60118,ge=u?Symbol.for("react.scope"):60119;function I(Me){if(typeof Me=="object"&&Me!==null){var St=Me.$$typeof;switch(St){case y:switch(Me=Me.type,Me){case K:case se:case x:case L:case O:case J:return Me;default:switch(Me=Me&&Me.$$typeof,Me){case V:case ne:case Y:case U:case R:return Me;default:return St}}case S:return St}}}function ue(Me){return I(Me)===se}var me=K,De=se,Z=V,ke=R,Ie=y,Fe=ne,et=x,$=Y,Te=U,ze=S,He=L,nt=O,Ve=J,at=function(Me){return ue(Me)||I(Me)===K},It=ue,xt=function(Me){return I(Me)===V},Qn=function(Me){return I(Me)===R},Xe=function(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===y},Kt=function(Me){return I(Me)===ne},Jt=function(Me){return I(Me)===x},vn=function(Me){return I(Me)===Y},kn=function(Me){return I(Me)===U},ot=function(Me){return I(Me)===S},Tt=function(Me){return I(Me)===L},en=function(Me){return I(Me)===O},$n=function(Me){return I(Me)===J},mr=function(Me){return typeof Me=="string"||typeof Me=="function"||Me===x||Me===se||Me===L||Me===O||Me===J||Me===X||typeof Me=="object"&&Me!==null&&(Me.$$typeof===Y||Me.$$typeof===U||Me.$$typeof===R||Me.$$typeof===V||Me.$$typeof===ne||Me.$$typeof===oe||Me.$$typeof===_e||Me.$$typeof===ge||Me.$$typeof===Ce)},Yr=I,rt={AsyncMode:me,ConcurrentMode:De,ContextConsumer:Z,ContextProvider:ke,Element:Ie,ForwardRef:Fe,Fragment:et,Lazy:$,Memo:Te,Portal:ze,Profiler:He,StrictMode:nt,Suspense:Ve,isAsyncMode:at,isConcurrentMode:It,isContextConsumer:xt,isContextProvider:Qn,isElement:Xe,isForwardRef:Kt,isFragment:Jt,isLazy:vn,isMemo:kn,isPortal:ot,isProfiler:Tt,isStrictMode:en,isSuspense:$n,isValidElementType:mr,typeOf:Yr};g(function(Me,St){}),g(function(Me){Me.exports=rt});var Ze=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;function Ke(Me){if(Me==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(Me)}function mt(){try{if(!Object.assign)return!1;var Me=new String("abc");if(Me[5]="de",Object.getOwnPropertyNames(Me)[0]==="5")return!1;for(var St={},Mt=0;Mt<10;Mt++)St["_"+String.fromCharCode(Mt)]=Mt;var wt=Object.getOwnPropertyNames(St).map(function(Vt){return St[Vt]});if(wt.join("")!=="0123456789")return!1;var it={};return"abcdefghijklmnopqrst".split("").forEach(function(Vt){it[Vt]=Vt}),Object.keys(Object.assign({},it)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}mt();var _t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",kt=_t;Function.call.bind(Object.prototype.hasOwnProperty);function bt(){}function on(){}on.resetWarningCache=bt;var On=function(){function Me(wt,it,Vt,sr,Be,En){if(En!==kt){var Mr=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw Mr.name="Invariant Violation",Mr}}Me.isRequired=Me;function St(){return Me}var Mt={array:Me,bigint:Me,bool:Me,func:Me,number:Me,object:Me,string:Me,symbol
131:Me,any:Me,arrayOf:St,element:Me,elementType:Me,instanceOf:St,node:Me,objectOf:St,oneOf:St,oneOfType:St,shape:St,exact:St,checkPropTypes:on,resetWarningCache:bt};return Mt.PropTypes=Mt,Mt},gt=g(function(Me){Me.exports=On()}),ln={animationData:gt.object,path:gt.string,play:gt.bool,goTo:gt.number,speed:gt.number,direction:gt.number,loop:gt.oneOfType([gt.number,gt.bool]),useSubframes:gt.bool,segments:gt.oneOfType([gt.arrayOf(gt.number),gt.bool]),rendererSettings:gt.object,renderer:gt.string,audioFactory:gt.func,onComplete:gt.func,onLoopComplete:gt.func,onEnterFrame:gt.func,onSegmentStart:gt.func},vr={},Pn=function(){},Ps=function(St){var Mt=St.loadAnimation,wt=n.memo(n.forwardRef(function(it,Vt){var sr=it.animationData,Be=sr===void 0?null:sr,En=it.path,Mr=En===void 0?null:En,yr=it.play,Rn=yr===void 0?null:yr,ya=it.speed,xi=ya===void 0?1:ya,Ds=it.direction,yn=Ds===void 0?1:Ds,Us=it.segments,Nt=Us===void 0?null:Us,ul=it.goTo,Xr=ul===void 0?null:ul,Vn=it.useSubframes,hr=Vn===void 0?!0:Vn,fs=it.renderer,to=fs===void 0?"svg":fs,_u=it.loop,cl=_u===void 0?!0:_u,fl=it.rendererSettings,zi=fl===void 0?vr:fl,no=it.audioFactory,Hi=no===void 0?null:no,$i=it.onLoad,Vi=$i===void 0?Pn:$i,qi=it.onComplete,An=qi===void 0?Pn:qi,hi=it.onLoopComplete,ar=hi===void 0?Pn:hi,qn=it.onEnterFrame,Nr=qn===void 0?Pn:qn,ro=it.onSegmentStart,br=ro===void 0?Pn:ro,js=p(it,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),ba=n.useRef(),Pt=n.useRef(),Fs=n.useState(!1),un=Fs[0],Pr=Fs[1],io=n.useState(Nt),hs=io[0],bn=io[1];n.useEffect(function(){a(hs,Nt)||bn(Nt)},[Nt,hs]);var so=n.useState(zi),di=so[0],Eu=so[1];n.useEffect(function(){a(di,zi)||Eu(zi)},[zi,di]),n.useEffect(function(){return function(){return Pt.current.removeEventListener("complete",An)}},[An]),n.useEffect(function(){return function(){return Pt.current.removeEventListener("loopComplete",ar)}},[ar]),n.useEffect(function(){return function(){return Pt.current.removeEventListener("enterFrame",Nr)}},[Nr]),n.useEffect(function(){return function(){return Pt.current.removeEventListener("segmentStart",br)}},[br]),n.useEffect(function(){return function(){return Pt.current.removeEventListener("DOMLoaded",Vi)}},[Vi]);var Sr=n.useCallback(function(wr){Pt.current=wr,typeof Vt=="function"?Vt(wr):Vt!=null&&(Vt.current=wr)},[Vt]);n.useEffect(function(){function wr(){return Be==null||typeof Be!="object"?Be:typeof Be.default=="object"?o(Be.default):o(Be)}var Ti=Mt({animationData:wr(),path:Mr,container:ba.current,renderer:to,loop:!1,autoplay:!1,rendererSettings:di,audioFactory:Hi});Sr(Ti);var _r=function(){return Pr(!0)};return Pt.current.addEventListener("DOMLoaded",_r),function(){Pt.current.removeEventListener("DOMLoaded",_r),Pr(!1),Pt.current.destroy(),Sr(void 0)}},[cl,to,di,Be,Mr,Hi,Sr]),n.useEffect(function(){Pt.current.addEventListener("DOMLoaded",Vi)},[Vi]),n.useEffect(function(){Pt.current.addEventListener("complete",An)},[An]),n.useEffect(function(){Pt.current.addEventListener("loopComplete",ar)},[ar]),n.useEffect(function(){Pt.current.addEventListener("enterFrame",Nr)},[Nr]),n.useEffect(function(){Pt.current.addEventListener("segmentStart",br)},[br]),n.useEffect(function(){un&&(Pt.current.loop=cl)},[un,cl]);var Ci=n.useRef(!1);return n.useEffect(function(){if(!un)return;function wr(ds){Pt.current.goToAndPlay(ds,!0),Pt.current.setDirection(yn)}if(Rn===!0){var Ti=!0;if(hs){if(Pt.current.playSegments(hs,Ti),Ci.current=!0,yn===-1){var _r=hs[1];wr(_r)}}else if(Ci.current&&Pt.current.resetSegments(Ti),Ci.current=!1,yn===-1){var Sa=Pt.current.getDuration(!0);wr(Sa)}else Pt.current.play()}else Rn===!1&&Pt.current.pause()},[Rn,hs,un,yn]),n.useEffect(function(){un&&(Number.isNaN(xi)||Pt.current.setSpeed(xi))},[xi,un]),n.useEffect(function(){un&&Pt.current.setDirection(yn)},[yn,un]),n.useEffect(function(){if(un&&Xr!=null){var wr=!0;Rn?Pt.current.goToAndPlay(Xr,wr):Pt.current.goToAndStop(Xr,wr)}},[Xr,Rn,un]),n.useEffect(function(){Pt.current.setSubframe&&Pt.current.setSubframe(hr)},[hr]),i.createElement("div",f({},js,{ref:ba}))}
131));return wt.propTypes=ln,wt},eo=Ps(t);return $m=eo,$m}var Q4=Z4();const J4=jo(Q4),e5="(prefers-reduced-motion: no-preference)",t5=e=>{const{startFrame:t,...n}=e,i=!w4(e5),a=t||0,[o,f]=B.useState(1/0),[p,g]=B.useState(),[u,y]=B.useState(!i),[S,x]=B.useState(!i),[O,L]=B.useState(a),[R,V]=B.useState(o),[K,se]=B.useState(!1);B.useEffect(()=>{typeof e.src!="string"?(f(e.src.op),g(e.src)):fetch(e.src).then(async oe=>{if(oe.ok)return oe.json();throw new Error("animation could not be loaded")}).then(oe=>{f(oe.op),g(oe)}).catch(oe=>{})},[e.src]);const ne=()=>{x(!u),y(!u),K&&(se(!1),J())},J=()=>{L(0),y(!0),x(!0)},X=()=>{V(a),J()},U=()=>{V(o),x(!1),y(!1)},Y=()=>{y(!1),x(!1),L(a)},Ce=()=>O===a?0:O-a>0?O-a:O+(o-a);return te.jsx(ES,{direction:"column",alignItems:"center",spacing:1,children:p&&te.jsxs(te.Fragment,{children:[te.jsx(J4,{play:u,...n,loop:!i,animationData:p,goTo:O,onEnterFrame:oe=>{oe.currentTime>=R?U():L(oe.currentTime)},onComplete:()=>{a!==0?X():(ne(),se(!0))}}),i&&te.jsxs(ES,{width:e.style?.width?e.style.width:"100%",direction:"row",spacing:3,alignItems:"center",children:[te.jsxs("div",{children:[!u&&te.jsx(Um,{size:"medium",onClick:ne,children:te.jsx(M4,{})}),u&&te.jsx(Um,{size:"medium",onClick:ne,children:te.jsx(I4,{})}),te.jsx(Um,{size:"medium",onClick:Y,children:te.jsx(N4,{})})]}),te.jsx(mS,{height:"26px",style:{flexGrow:"1",display:"flex"},children:te.jsx(S4,{sx:oe=>({flexGrow:"1",marginLeft:oe.spacing(1),marginRight:oe.spacing(1),".MuiSlider-track":{transition:"left 0ms"},".MuiSlider-thumb":{transition:"left 0ms"}}),name:"progress",track:"normal",step:1,min:0,max:o,value:Ce(),onChangeCommitted:()=>{y(S)},onChange:(oe,_e)=>{y(!1);const ge=_e;ge>=o||ge<0||(ge+a>o?L(ge+a-o):L(ge+a))}})})]})]})})};function n5(e){const t=V1(e),[n,i]=B.useState(void 0);return B.useEffect(()=>{const a=oa.subscribe(o=>{t.currentUser().then(i)});return t.currentUser().then(i),()=>{oa.unsubscribe(a)}},[]),n}function NS(e,t=[]){const n=Sh(),i=B.useRef(0),[a,o]=B.useState({loading:!1,error:void 0,result:void 0});return[B.useCallback(()=>{const p=++i.current;o(g=>({...g,error:void 0,loading:!0})),n.execute(e).then(g=>{p===i.current&&o({loading:!1,error:void 0,result:g})},g=>{if(p!==i.current)return;(y=>y===null||typeof y!="object"?!1:"httpResponse"in y&&!!y.httpResponse&&"payload"in y.httpResponse&&!!y.httpResponse.payload)(g)?o({loading:!1,error:g,result:g.httpResponse.payload}):o({loading:!1,error:g,result:void 0})})},t),{loading:a.loading,error:a.error,result:a.result}]}function r5(e,t=[]){const[n,i]=NS(e,t);return B.useEffect(()=>{n()},[n]),i}function PS(e,t=[]){const n=Sc(),i=B.useRef(0),[a,o]=B.useState(!1),[f,p]=B.useState(void 0),[g,u]=B.useState(void 0);return[B.useCallback(()=>{const S=++i.current;o(!0),p(void 0),n.execute(e).then(x=>{S===i.current&&(o(!1),u(x))}).catch(x=>{S===i.current&&(o(!1),u(void 0),p(x))})},t),{loading:a,error:f,result:g}]}function i5(e,t=[]){const[n,i]=PS(e);return B.useEffect(()=>{n()},[n]),i}
131function s5(){const[e,t]=B.useState(Vl.createCurrentLocation());return B.useEffect(()=>{const n=Ka.subscribe(()=>{t(Vl.createCurrentLocation())});return()=>{Ka.unsubscribe(n)}},[]),e}function a5(){const e=wc("cpl","reactlib"),t=B.useContext(wn),n=i=>{if(t.unsavedChanges===void 0){e.warn("UnsafedChanges: Flag kann nicht aktualisiert werden. Aktualisiere ggf. deine Appshell.");return}t.unsavedChanges.setUnsavedChanges(i)};return B.useEffect(()=>{const i=a=>{t.unsavedChanges?.unsavedChanges===!0&&a.preventDefault()};return window.addEventListener("beforeunload",i),()=>{window.removeEventListener("beforeunload",i)}},[t.unsavedChanges]),{unsavedChanges:t.unsavedChanges?.unsavedChanges??!1,setUnsavedChanges:n}}function o5(){return jg.INSTANCE}function l5(){const[e,t]=B.useState("hide"),[n,i]=B.useState(null),a=$1(),o=()=>{t("hide")};return B.useEffect(()=>{const f=yc.subscribe(p=>{p.detail.slot===a&&(t(p.detail.action),i(p.detail.type))});return()=>{yc.unsubscribe(f)}},[a]),{action:e,hide:o,type:n}}const u5=Object.freeze(Object.defineProperty({__proto__:null,AuthenticationServiceImpl:Lg,get AuthenticationStatus(){return ua},BrandIcon:B4,get BroadcastMessageType(){return vh},CALLBACK_BROADCAST_CHANNEL:L1,ConnectivityServiceImpl:Ig,get ConnectivityStatus(){return Fo},ConnectivityTracker:na,ConsoleLogFilter:Mg,ConsoleLogFilterInstance:Ng,Constants:Yt,CplAppRoot:z1,CplAppRootContext:wn,CplAuthenticationEvent:oa,CplBusyEvent:$o,CplConfirmNavigationEvent:Ml,CplConnectivityEvent:uc,CplErrorEvent:ra,CplEvent:At,CplEventLogger:qg,CplEventLoggerInstance:R1,CplFontFace:V4,CplFragment:q4,CplHelpEvent:yc,get CplHelpType(){return bc},CplHistoryEvent:Ka,CplMetadataEvent:$a,CplNavigationEvent:sa,CplNotificationEvent:Rl,CplRenderEvent:vc,CplServersideEvent:mg,CplUuiServiceEvent:ia,CplView:W1,CplViewRouter:sk,CryptoUtil:gh,DefaultLanguageDetector:F1,DynamicTypography:$4,DynamicTypographyMappings:sd,FiSessionServiceClientImpl:fh,get FontFaceUtil(){return Qo},History:is,HttpError:Fa,get HttpMethod(){return _s},get HttpResponseType(){return Bo},HttpServiceImpl:za,KeepAlive:mc,Locale:Bl,get LocaleAccordance(){return qa},get LocationUtil(){return Vl},LogEntry:y1,get LogLevel(){return Rt},LoggerFactory:ei,get LoginTypes(){return Pl},MAX_H_LEVEL:K1,MIN_H_LEVEL:q1,MathUtil:Xf,get NavigationType(){return zo},get NotificationSeverity(){return rs},OIDCError:la,get OIDCErrorType(){return Vr},PathUtil:Fg,Player:t5,SERVICE_SOURCE_KEEPALIVE:hh,SERVICE_SOURCE_USERSERVICE:Pg,get SlotEventType(){return Xn},get SlotStatus(){return ut},StackTrace:$g,StorageLogFilter:dg,StorageLogFilterInstance:ns,StringUtil:w1,SupportedLocales:_1,TanError:Ug,TanServiceImpl:jg,get UserInterfaceType(){return ti},UserServiceImpl:Dg,UuiServiceClientBase:fc,UuiServiceClientImpl:Il,get UuiServiceMessageType(){return Ni},get UuiServiceStage(){return Es},ValidationUtil:gr,WorkflowDuplicateSubmitError:Zf,WorkflowError:rh,WorkflowNavigationRejectedError:ih,WorkflowServiceImpl:hc,get WorkflowStateType(){return sh},detectLocale:yh,getSlotHelpId:XT,getSlotTitle:WT,isHLevel:G1,isOIDCError:h1,isUuiError:wg,isUuiServiceMessage:Sg,isUuiServiceResponse:Zy,parseHLevel:ou,registerApp:ik,registerCplEventListener:Vg,setSlotHelpId:ZT,setSlotTitle:YT,severityFromUuiMessageType:bg,useAppId:H1,useAuthenticationService:ek,useConnectivityService:nk,useCplHelpEvent:l5,useCplThrow:bh,useDynamicHtmlTag:kS,useDynamicTypographyHeading:H4,useDynamicTypographyMappings:TS,useFiSessionServiceClient:tk,useFrameSizes:rk,useHttpRequest:i5,useHttpRequestFn:PS,useHttpService:Sc,useInputModel:QT,useLocale:B1,useLocation:s5,useLoggerInstance:wc,useSlotId:$1,useTanService:o5,useUnsavedChanges:a5,useUser:n5,useUserService:V1,useUuiRequest:r5,useUuiRequestFn:NS,useUuiService:Sh,useWorkflowService:JT,version:"7.1.2",waitForHTMLElement:O1,waitForReact:k1},Symbol.toStringTag,{value:"Module"})),c5="9.2.0";window.CplGlobals={React:lc,ReactDOM:IT,ReactDOMClient:wx,ReactJsx:px,CplModuleReactlib:u5,CplModuleClientlib:RT,CplModuleAppshell:{version:String(c5)},EmotionReact:oO};var f5=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}
131return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},h5=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},d5=(function(){function e(t,n,i,a){if(this.internalReady=!1,t==="")throw new Error("Illegaler Aufruf: [baseUrl] ist leer.");if(n==="")throw new Error("Illegaler Aufruf: [path] ist leer.");if(i==="")throw new Error("Illegaler Aufruf: [appId] ist leer.");try{this.internalUrl=new URL("".concat(t).concat(n)),this.internalId="".concat(i,".").concat(n)}catch(f){var o=f;throw new Error("Illegaler Aufruf: [url] ist ungültig: ".concat(t,"/").concat(n," (Details: ").concat(o.message,")."))}this.internalModule=a}return Object.defineProperty(e.prototype,"id",{get:function(){return this.internalId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return this.internalReady},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalUrl},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"module",{get:function(){return this.internalModule},enumerable:!1,configurable:!0}),e.prototype.init=function(){return f5(this,void 0,void 0,function(){var t=this;return h5(this,function(n){return[2,new Promise((function(i,a){var o=document.createElement("script");o.setAttribute("id",t.id),o.setAttribute("src",t.internalUrl.toString()),o.setAttribute("type","module"),t.module&&o.setAttribute("crossorigin","anonymous"),o.onload=function(){t.internalReady=!0,i()},o.onerror=function(f){return a(f)},document.head.appendChild(o)}))]})})},e.prototype.destroy=function(){var t=document.getElementById(this.id);t?.remove()},e})(),Ei=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},Ai=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}
131if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},p5=function(e,t,n,i,a){if(a){var o=S5(e);a.contextData=_5(a,o)}Bc(e).startWorkflow(t,n,i,a).then(function(f){return Jo(e,f)}).catch(function(f){return el(e,f)})},g5=function(e,t){return Ei(void 0,void 0,void 0,function(){var n;return Ai(this,function(i){return n=ri(e),[2,jS(e).activeApplication(e.name).then(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return a.activeApplication===""?(n.info("Es gibt keinen aktiven Workflow in diesem Slot."),[2,Promise.resolve(void 0)]):(n.info("Workflow auf Anwendung '".concat(a.activeApplication,"' wird aktualisiert.")),[2,Bc(e).updateWorkflow(a.activeApplication,t.contextData)])})})}).then(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return a!==void 0&&Jo(e,a),[2,Promise.resolve(a)]})})}).catch(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return el(e,a),[2,Promise.reject(a)]})})})]})})},DS=function(e,t,n,i,a,o){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(f){return[2,Bc(e).executeAction(t,n,i,a,o).then(function(p){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(g){return Jo(e,p),[2,Promise.resolve(p)]})})}).catch(function(p){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(g){return el(e,p),[2,Promise.reject(p)]})})})]})})},m5=function(e,t){return Ei(void 0,void 0,void 0,function(){var n;return Ai(this,function(i){return n=ri(e),[2,jS(e).activeApplication(e.name).then(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return a.activeApplication===""?[2,Promise.reject(Error("Cannot execute '".concat(t.action,"': There is no active flow in slot '").concat(e.name,"'")))]:(n.info("Resuming flow by executing '".concat(t.action,"' on app '").concat(a.activeApplication,"'")),[2,Promise.resolve(a.activeApplication)])})})}).then(function(a){return Ei(void 0,void 0,void 0,function(){var o,f,p,g,u;return Ai(this,function(y){return o=t.action,f=t.input,p=t.contextData,g=t.additionalHeaders,u=t.bookmark,[2,Bc(e,a).executeAction(o,f,p,g,u)]})})}).then(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return Jo(e,a),[2,Promise.resolve(a)]})})}).catch(function(a){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(o){return el(e,a),[2,Promise.reject(a)]})})})]})})},Vm=function(e){return Ei(void 0,void 0,void 0,function(){return Ai(this,function(t){return[2,new Promise(function(n,i){Bc(e).clear().then(function(a){Jo(e,a),n(a)}).catch(function(a){el(e,a),i(a)})})]})})},US=function(e,t){var n=function(i){switch(i){case Ni.Error:return Rt.Error;case Ni.Warn:return Rt.Warn;case Ni.Success:case Ni.Info:default:return Rt.Info}};t?.forEach(function(i){var a;e.log(n(i.messageType),"[".concat(i.code,"] ").concat((a=i.message)!==null&&a!==void 0?a:"(keine Nachricht)"))})},Bc=function(e,t){return v5(e,t)},v5=function(e,t){var n,i,a,o,f,p=new za((i=(n=e.appshell.locale)!==null&&n!==void 0?n:yh())!==null&&i!==void 0?i:void 0),g=new Il(p,e.name,{baseUrl:e.appshell.baseServiceUrl,productName:e.appshell.productName});return new hc(g,e.name,e,(f=(o=(a=e.currentUI)===null||a===void 0?void 0:a.appName)!==null&&o!==void 0?o:e.lastKnownAppName)!==null&&f!==void 0?f:t,e.appshell.apiVersion)},jS=function(e){var t,n,i=new za((n=(t=e.appshell.locale)!==null&&t!==void 0?t:yh())!==null&&n!==void 0?n:void 0);return new fh(i,{baseUrl:e.appshell.baseServiceUrl,productName:e.appshell.productName})},Jo=function(e,t){US(e,t.messages)},el=function(e,t){if(t instanceof ih){e.log(Rt.Warn,t.message);return}if(e.error(t),t instanceof rh){Jo(e,t.response);return}if(t instanceof Fa&&t.httpResponse.payload!==void 0){var n=t.httpResponse;n?.hasOwnProperty("messages")===!0&&Jo(e,n)}},zc=function(){return zc=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},zc.apply(this,arguments)},od=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}
131return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},ld=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};function Hc(e){if(!(e instanceof CustomEvent))throw Error("Event '".concat(e.type," ist kein CPL-CustomEvent."))}function ri(e){return ei.getInstance("cpl","appshell",e?.name)}function y5(e){return e!==void 0&&e.status!==ut.DESTROYED}function FS(e){return od(this,void 0,void 0,function(){return ld(this,function(t){return[2,BS(e,function(n){return!n.loaders.peek().isBusy})]})})}function BS(e,t){return od(this,void 0,void 0,function(){return ld(this,function(n){return[2,new Promise(function(i){var a=function(){t(e)&&(i(e),e.unsubscribe(a))};if(t(e)){i(e);return}e.subscribe(a)})]})})}function b5(e){return od(this,void 0,void 0,function(){var t=this;return ld(this,function(n){switch(n.label){case 0:return[ut.CREATED,ut.EMPTY].includes(e.status)?[2,e]:[ut.DESTROYED,ut.ERROR].includes(e.shadowedStatus)?[2,e]:[4,e.destroying(function(i){return od(t,void 0,void 0,function(){return ld(this,function(a){return[2,Vm(i)]})})})];case 1:return n.sent(),[2,e]}})})}var S5=function(e){var t=e.appshell.theme,n=w5(e),i,a;if(t!==void 0)if(typeof t=="string")i=t;else{var o=e.appshell.theme;i=o.id,a=o.variant}return{callbackUrl:n,themeName:i,themeVariant:a}},w5=function(e){var t=e.appshell.callbackUrl?new URL(e.appshell.callbackUrl):void 0;
131if(t)return t.searchParams.set("slotId",e.name),e.appshell.callbackUrl=t.href,e.appshell.callbackUrl},zS=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}},_5=function(e,t){var n,i=(n=e.optionalInput)!==null&&n!==void 0?n:e.contextData,a=E5(t);return Object.keys(a).length>0?zc(zc({},zS(i)),a):zc({},zS(i))},E5=function(e){return e?Object.fromEntries(Object.entries(e).filter(function(t){var n=t[1];return n!=null&&n!==""})):{}};function A5(e,t){t===void 0&&(t=x5),setTimeout(e,t)}var x5=20,C5=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},T5=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},k5=(function(){function e(t){t===void 0&&(t=new za),this.httpService=t,this.registry={}}return e.prototype.getApp=function(t){var n=this.getAppOrNull(t);if(n===null)throw Error("AppRegistry: Es wurde keine App mit der ID ".concat(t," registriert."));return n},e.prototype.getAppOrNull=function(t){var n,i;return(i=(n=this.registry[t])===null||n===void 0?void 0:n.app)!==null&&i!==void 0?i:null},e.prototype.loadApp=function(t){return C5(this,void 0,void 0,function(){var n=this;return T5(this,function(i){return[2,new Promise(function(a,o){if(e.pending!==void 0||e.pendingIdGeneration){e.log.debug("AppRegistry: URL ".concat(t," kann noch nicht geladen werden, da ein Ladevorgang aktiv ist.")),e.waiting.push({manifestUrl:t,resolve:a,reject:o});return}n.loadAppManifest(t,a,o)})]})})},e.prototype.registerApp=function(t){if(e.pending===void 0)throw Error("AppRegistry, Illegaler Aufruf: Es ist kein App-Ladevorgang aktiv.");if(!t){var n=new Error("AppRegistry, Registrierungsfehler: [app] ist undefined.");throw this.checkPending(),n}var i=e.pending,a=i.id,o=i.manifestUrl,f=i.loaders;return this.registry[a]={app:t,loaders:f,manifestUrl:o},this.checkPending(),a},e.prototype.loadAppManifest=function(t,n,i){var a=this,o=Object.keys(this.registry).find(function(f){var p;return((p=a.registry[f])===null||p===void 0?void 0:p.manifestUrl)===t});if(o!==void 0){e.log.debug("AppRegistry: URL ".concat(t," wurde bereits geladen. App-ID wird direkt zurückgegeben.")),n(o);return}e.log.debug("AppRegistry: URL ".concat(t," wird geladen...")),e.pendingIdGeneration=!0,gh.sha256(t).then(function(f){e.pending={id:f,manifestUrl:t,resolve:n,reject:i,loaders:[]},e.pendingIdGeneration=!1,a.httpService.get(t,{credentials:!0,aplRequest:!0}).then(function(p){return a.loadAppByManifest(t,p.payload)}).catch(function(p){return a.handleError(p)})}).catch(function(f){return a.handleError(f)})},e.prototype.loadAppByManifest=function(t,n){var i=this;if(e.pending===void 0)throw Error("AppRegistry, Illegaler Aufruf: Es ist kein App-Ladevorgang aktiv.");if(n===void 0){this.handleError(new Error("AppRegistry, Registrierungsfehler: Asset-Manifest wurde nicht geladen."));return}var a=e.pending,o=a.id,f=a.loaders,p=t.substring(0,t.lastIndexOf("/")+1);Object.keys(n).filter(function(g){var u=n[g];return u.isEntry}).map(function(g){var u,y=n[g],S=(u=y.isModule)!==null&&u!==void 0?u:!1;return new d5(p,y.file,o,S)}
131).forEach(function(g){f.push(g),g.init().then(function(){return i.handleSourceLoaded(g)}).catch(function(u){return i.handleError(u)})})},e.prototype.handleSourceLoaded=function(t){e.log.debug("AppRegistry: ".concat(t.url," geladen")),this.checkPending()},e.prototype.handleError=function(t){if(e.pending===void 0)throw Error("AppRegistry, Illegaler Aufruf: Es ist kein App-Ladevorgang aktiv.");e.pending.reject(t),this.finalize(e.pending.id),this.continue()},e.prototype.checkPending=function(){if(e.pending===void 0)throw Error("AppRegistry, Illegaler Aufruf: Es ist kein App-Ladevorgang aktiv.");var t=e.pending,n=t.id,i=t.loaders;if(i.find(function(a){return!a.ready})===void 0){if(this.registry[n]===void 0){this.handleError(new Error("AppRegistry, Registrierungsfehler: Sourcen geladen, aber es wurde keine App registriert."));return}e.log.debug("AppRegistry: App-Ladevorgang erfolgreich abgeschlossen."),e.pending.resolve(n),this.continue()}},e.prototype.continue=function(){e.pending=void 0;var t=e.waiting.pop();t!==void 0&&this.loadAppManifest(t.manifestUrl,t.resolve,t.reject)},e.prototype.finalize=function(t){this.registry[t]=void 0},e.log=ri(),e.waiting=[],e.pendingIdGeneration=!1,e})();function HS(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function $S(e,t,n){var i=[],a=Oc(e,i,n);return i.length<2?n:a+t(i)}var O5=function(t){var n=Rh(t);n.sheet.speedy=function(p){this.isSpeedy=p},n.compat=!0;var i=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];var S=ca(u,n.registered,void 0);return Rc(n,S,!1),n.key+"-"+S.name},a=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];var S=ca(u,n.registered),x="animation-"+S.name;return HS(n,{name:S.name,styles:"@keyframes "+x+"{"+S.styles+"}"}),x},o=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];var S=ca(u,n.registered);HS(n,S)},f=function(){for(var g=arguments.length,u=new Array(g),y=0;y<g;y++)u[y]=arguments[y];return $S(n.registered,i,R5(u))};return{css:i,cx:f,injectGlobal:o,keyframes:a,hydrate:function(g){g.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:Oc.bind(null,n.registered),merge:$S.bind(null,n.registered,i)}},R5=function e(t){for(var n="",i=0;i<t.length;i++){var a=t[i];if(a!=null){var o=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))o=e(a);else{o="";for(var f in a)a[f]&&f&&(o&&(o+=" "),o+=f)}break}default:o=a}o&&(n&&(n+=" "),n+=o)}}return n},L5=(function(){function e(t){this.appshell=t,this.initialized=!1,this.isSpeedy=!1,this.cache=O5({key:"cpl-fonts"})}return e.prototype.handleUpdate=function(){var t=this,n=Object.values(this.appshell.slots).reduce(function(i,a){return t.toUniqueFontFaceList(i,a)},[]).map(Qo.fontFaceToCss).join(`
132`);this.initialize(),this.cache.injectGlobal(n)},e.prototype.initialize=function(){var t=!this.appshell.debugStyles;if(!this.initialized){this.cache.sheet.speedy(t),this.isSpeedy=t,this.initialized=!0;return}this.isSpeedy!==t&&ri().warn("`Appshell.debugStyles` ist nach dem ersten Rendern von globalen Styles unveränderlich. Bitte setzten Sie `debugStyles` bevor Sie den ersten Slot erzeugen und ändern Sie es anschließend nicht mehr. Dies ist KEIN Fehler der Fachanwendung. Bitte melden Sie es daher Ihrem Anwendungsrahmen.")},e.prototype.toUniqueFontFaceList=function(t,n){return n===void 0?t:n.fonts.reduce(function(i,a){var o=i.findIndex(function(f){return Qo.conflicts(a,f)});return o===-1?i.concat(a):i},t.slice())},e})(),I5="Vorgenommene Änderungen werden unter Umständen nicht gespeichert.",M5="Abbrechen",VS="Fortfahren ohne zu speichern";function N5(e){return function(t){Hc(t);var n=t.detail;e.confirm(I5,M5,VS).then(function(i){return n.confirm(i===VS)})}}function P5(e){return function(t){Hc(t);var n=t.detail,i=e.findSlotBySourceId(n.source);if(n.error instanceof Zf){e.alert("Ihre Daten wurden bereits abgesendet.");return}if(i===null)throw ri().error("Kein Slot mit der Slot/App-ID '".concat(n.source,"' gefunden")),n.error;el(i.slot,n.error)}}var D5=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}
132return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},U5=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};function j5(e,t){var n;if(!(Xn.LOAD!==e&&Xn.DATA!==e)){var i=t.ui;if(i!==void 0){var a=(n=t.config.useBrowserHistory)!==null&&n!==void 0?n:!1,o=is.getCurrentState();if(!(Xn.DATA===e&&i.bookmark===o?.bookmark)){if(o===null||i.uiCount<=o.uiCount){is.replaceState(i,a);return}is.pushState(i,a)}}}}function F5(e){var t=Object.values(e.slots).find(function(i){return!!i?.config.useBrowserHistory});if(t!==void 0){var n=function(i,a){var o=ri(t);o.warn(a)};window.addEventListener("popstate",function(i){var a,o,f=t.currentUI;if(f!==void 0){var p=(a=t.config.useBrowserHistory)!==null&&a!==void 0?a:!1,g=(o=i.state)!==null&&o!==void 0?o:is.getCurrentState();if(g!==null){if(f.uiCount>g.uiCount){if(f.actions.back===void 0){n(f,"Browser-Navigation nicht möglich: Keine BACK-Action gefunden."),is.pushState(f,p),B5(e).then(function(u){u&&Vm(t).then(function(){window.history.go(-f.uiCount)})});return}DS(t,f.actions.back,null,void 0,void 0,g.bookmark)}if(f.uiCount<g.uiCount){if(f.actions.next===void 0){n(f,"Browser-Navigation nicht möglich: Keine NEXT-Action gefunden."),e.alert("An dieser Stelle ist keine direkte Weiter-Navigation innerhalb des Ablaufsvorgesehen. Bitte nutzen Sie die vorhandenen Bedienelemente innerhalb der aktuellen Seite, um zum nächsten Schritt zu gelangen."),is.replaceState(f,p);return}DS(t,f.actions.next,null,void 0,void 0,g.bookmark)}f.uiCount===g.uiCount&&window.history.back()}}})}}function B5(e){return D5(this,void 0,void 0,function(){return U5(this,function(t){return[2,new Promise(function(n,i){var a="Bleiben",o="Verlassen";e.confirm("An dieser Stelle ist keine Zurück-Navigation innerhalb des Ablaufs vorgesehen. Möchten Sie die Anwendung abbrechen und zu der vorherigen Seite zurückkehren?",a,o).then(function(f){f===a?n(!1):f===o?n(!0):i(Error("Unerwartete Auswahl"))}).catch(i)})]})})}function z5(e){return function(t){Hc(t);var n=t.detail,i=e.findSlotBySourceId(n.source);if(i===null)throw ri().error("Kein Slot mit der Slot/App-ID '".concat(n.source,"' gefunden")),Error("'".concat(n.source,"' ist keine gültige App-ID oder Slot-Name."));i.slot.update(n)}}var qm={};function H5(e){return function(t){var n;Hc(t);var i=t.detail,a=e.findSlotBySourceId(i.source);if(a===null)throw ri().error("Kein Slot mit der Slot/App-ID '".concat(i.source,"' gefunden")),Error("'".concat(i.source,"' ist keine gültige App-ID oder Slot-Name."));(n=qm[i.source])===null||n===void 0||n.call(qm);var o=a.slot;if(US(o,i.uuiMessages),$5(i)){o.status!==ut.EMPTY&&o.unload(i.input,i.navigationType,i.exit);return}if(i.target===void 0){o.error(new Error("Navigation: [target] darf für NavigationType.".concat(i.navigationType," nicht null sein.")));return}var f=i.target,p=function(y){o.load(y,f,i.input,i.productId)};if(f.type!==ti.React){p("<other:".concat(f.type,">"));return}var g=function(){var y;o.busy(!0);var S="".concat((y=e.baseUrl)!==null&&y!==void 0?y:window.location.origin,"/").concat(f.appName,"/cpl-apps/").concat(f.uiName,"/manifest.json");e.loadApp(S).then(p).catch(function(x){o.error(x)}).finally(function(){o.busy(!1)})},u=new vc({source:i.source,target:f});if(u.dispatch(),u.delayed){ri(o).debug("Rendering von ".concat(f.appName,"/").concat(f.uiName," durch Anwendungsrahmen verzögert")),o.waitFor(u.resume),u.resume.then(function(y){y?(ri(o).debug("Rendering von ".concat(f.appName,"/").concat(f.uiName," wird fortgesetzt")),g()):(ri(o).debug("Rendering von ".concat(f.appName,"/").concat(f.uiName," durch Anwendungsrahmen gestoppt")),o.waitFor(new Promise(function(S){qm[i.source]=S})))}).catch(function(y){o.error(Error("Rendering von ".concat(f.appName,"/").concat(f.uiName," durch Anwendungsrahmen abgebrochen (").concat(y,")")))});return}g()}}function $5(e){return e.target===void 0}function V5(e){return function(t){Hc(t);var n=t.detail;if(n.blocking){var i=e.findSlotBySourceId(n.source);if(i===null)throw Error("Kein Slot mit der Slot-/App-ID '".concat(n.source,"' gefunden. ")+"UUI-Service ".concat(n.app,".").concat(n.module,".").concat(n.name," kann nicht blockierend ausgeführt werden."));var a=i.slot;a.busy(n.stage===Es.Start)}}}var ud=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}
vendor: 1,384 bytes, line 132
132return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},cd=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},$c=function(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,o;i<a;
132i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))},q5=3e5,K5=27e4,G5=3e3,ma;(function(e){e[e.ENABLED=0]="ENABLED",e[e.RESET=1]="RESET",e[e.NOTIFICATION=2]="NOTIFICATION",e[e.DISABLED=3]="DISABLED",e[e.TIMEOUT=4]="TIMEOUT"})(ma||(ma={}));var Is;(function(e){e[e.KEEP_ALIVE=0]="KEEP_ALIVE",e[e.USER_ACTIVITY=1]="USER_ACTIVITY",e[e.TIMEOUT=2]="TIMEOUT"})(Is||(Is={}));function W5(e){return e!==null&&typeof e=="object"&&"sender"in e&&"type"in e&&typeof e.sender=="string"&&typeof e.type=="number"&&e.type in Is}var Y5=(function(){function e(){var t=this;this.id=ta(),this.resolvers=[],this.rejecters=[],this.subscribers=[],this.currentTimeout=0,this.plannedTimeouts=[],this.internalEnabled=!1,this.internalTimedOut=!1,this.doghouse=null,this.keepAliveTimer=void 0,this.userInactivityTimeout=void 0,ia.subscribe(function(n){var i=n.detail;i.source!==hh&&i.stage===Es.Start&&t.internalEnabled&&(t.updateKeepAliveTimer(),t.onUserActivity(),t.notifyDoghouse(Is.KEEP_ALIVE))})}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this.internalEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timedOut",{get:function(){return this.internalTimedOut},enumerable:!1,configurable:!0}),e.prototype.subscribe=function(t){this.subscribers.push(t)},e.prototype.unsubscribe=function(t){this.subscribers.includes(t)&&this.subscribers.splice(this.subscribers.indexOf(t),1)},e.prototype.enable=function(t,n){return ud(this,arguments,void 0,function(i,a,o,f){return o===void 0&&(o=a),f===void 0&&(f=[]),cd(this,function(p){switch(p.label){case 0:return this.userTimeout=i,this.serverTimeout=a,this.notificationsBeforeUserTimeout=f,[4,this.internalEnable(o)];case 1:return[2,p.sent()]}})})},e.prototype.reactivate=function(){return ud(this,void 0,void 0,function(){return cd(this,function(t){switch(t.label){case 0:return[4,this.reenable()];case 1:return[2,t.sent()]}})})},e.prototype.reenable=function(){return ud(this,void 0,void 0,function(){return cd(this,function(t){switch(t.label){case 0:return[4,this.internalEnable(this.serverTimeout)];case 1:return[2,t.sent()]}})})},e.prototype.internalEnable=function(t){return ud(this,void 0,void 0,function(){var n=this;return cd(this,function(i){return this.plannedTimeouts=$c([this.userTimeout],this.notificationsBeforeUserTimeout,!0).map(function(a,o,f){var p;return a-((p=f[o+1])!==null&&p!==void 0?p:0)}),this.internalEnabled=!0,this.internalTimedOut=!1,this.subscribeDoghouse(),this.updateKeepAliveTimer(t),this.updateUserInactivityTimeout(!0),this.notifyObservers(ma.ENABLED),[2,new Promise(function(a,o){n.resolvers.push(a),n.rejecters.push(o)})]})})},e.prototype.disable=function(){this.internalDisable(),this.notifyObservers(ma.DISABLED)},e.prototype.onUserActivity=function(t){t===void 0&&(t=!0),this.internalEnabled&&(this.updateUserInactivityTimeout(t),this.notifyObservers(ma.RESET))},Object.defineProperty(e.prototype,"userTimeout",{get:function(){return localStorage.getItem("SessionWatchdog.userTimeout")!==null?parseInt(localStorage.getItem("SessionWatchdog.userTimeout"),10):q5},set:function(t){localStorage.setItem("SessionWatchdog.userTimeout",t.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serverTimeout",{get:function(){return localStorage.getItem("SessionWatchdog.serverTimeout")!==null?parseInt(localStorage.getItem("SessionWatchdog.serverTimeout"),10):K5},set:function(t){localStorage.setItem("SessionWatchdog.serverTimeout",t.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"notificationsBeforeUserTimeout",{get:function(){var t=localStorage.getItem("SessionWatchdog.notificationsBeforeUserTimeout");return t!==null?JSON.parse(t):[]},set:function(t){var n=this,i=function(g,u){return u-g},a=function(g,u,y){return u>0&&g===y[u-1]?!1:g>0&&g<n.userTimeout},o=t.sort(i).reduce(function(g,u,y,S){var x=g[0],O=g[1];return a(u,y,S)?[$c($c([],x,!0),[u],!1),O]:[x,$c($c([],O,!0),[u],!1)]},[[],[]]),f=o[0],p=o[1];p.length!==0&&e.log.warn("Ungültige oder doppelte Werte in 'notificationsBeforeUserTimeout' werden ignoriert: [".concat(p.join(", "),"]. ")),localStorage.setItem("SessionWatchdog.notificationsBeforeUserTimeout",JSON.stringify(f))}
132,enumerable:!1,configurable:!0}),e.prototype.internalDisable=function(){this.internalEnabled=!1,this.unsubscribeDoghouse(),this.updateKeepAliveTimer(),this.updateUserInactivityTimeout(!1)},e.prototype.updateKeepAliveTimer=function(t){var n=this;t===void 0&&(t=this.serverTimeout),clearTimeout(this.keepAliveTimer),this.internalEnabled?this.keepAliveTimer=setTimeout(function(){if(n.internalEnabled){n.updateKeepAliveTimer();var i=mc.lastServiceApp;if(i===void 0){e.log.warn("Keep-Alive ist noch nicht möglich: Es wurde noch kein UUI-Service aufgerufen");return}mc.execute().then(function(){return n.notifyDoghouse(Is.KEEP_ALIVE)}).catch(function(a){e.log.error("Fehler bei der Ausführung des Keep-Alive: "+a.message),n.disable()})}},t-this.salt()):this.keepAliveTimer=void 0},e.prototype.salt=function(){return Math.floor(Math.random()*e.MAX_SERVER_TIMEOUT_SALT)},e.prototype.updateUserInactivityTimeout=function(t){if(clearTimeout(this.userInactivityTimeout),!this.internalEnabled){this.currentTimeout=this.plannedTimeouts.length,this.userInactivityTimeout=void 0;return}t&&this.notifyDoghouse(Is.USER_ACTIVITY),this.currentTimeout=0,this.startNextUserTimeout()},e.prototype.startNextUserTimeout=function(){var t=this;if(this.plannedTimeouts.length===0)throw Error("Appshell.SessionWatchdog: plannedTimeouts ist unerwartet leer. Timeout kann nicht gestartet werden.");this.userInactivityTimeout=setTimeout(function(){if(t.currentTimeout++,t.currentTimeout<t.plannedTimeouts.length){t.notifyObservers(ma.NOTIFICATION),t.startNextUserTimeout();return}e.log.warn("Benutzer-Inaktivitäts-Limit erreicht, Watchdog wird beendet"),t.notifyDoghouse(Is.TIMEOUT),t.timeOut()},this.plannedTimeouts[this.currentTimeout])},e.prototype.timeOut=function(){this.internalTimedOut=!0,this.internalDisable(),this.notifyObservers(ma.TIMEOUT)},e.prototype.notifyObservers=function(t){var n=this,i=this.plannedTimeouts.reduce(function(a,o,f){return f<n.currentTimeout?a:a+o},0);this.subscribers.forEach(function(a){return a(t,i)}),t===ma.TIMEOUT&&this.notifyPromises(this.rejecters),t===ma.DISABLED&&this.notifyPromises(this.resolvers)},e.prototype.notifyPromises=function(t){var n=this.internalTimedOut,i=t.slice();this.resolvers.length=0,this.rejecters.length=0,i.forEach(function(a){a(n)})},e.prototype.notifyDoghouse=function(t){if(this.doghouse===null){e.log.warn("Keine Kommunikation zu anderen Watchdogs möglich: Broadcast Channel wurde noch nicht initialisiert.");return}var n={sender:this.id,type:t};this.doghouse.postMessage(n)},e.prototype.subscribeDoghouse=function(){var t=this;this.unsubscribeDoghouse(),this.doghouse=new BroadcastChannel(e.BROADCAST_CHANNEL),this.doghouse.onmessage=function(n){return t.handleDoghouseEvent(n)}},e.prototype.unsubscribeDoghouse=function(){this.doghouse!==null&&(this.doghouse.close(),this.doghouse=null)},e.prototype.handleDoghouseEvent=function(t){if(this.internalEnabled){if(!W5(t.data))throw Error("Appshell.SessionWatchdog: Unerwartete Broadcast Event Struktur");if(t.data.sender!==this.id)switch(t.data.type){case Is.KEEP_ALIVE:this.updateKeepAliveTimer();return;case Is.USER_ACTIVITY:this.onUserActivity(!1);return;case Is.TIMEOUT:e.log.warn("Benutzer-Inaktivitäts-Limit eines anderen Watchdogs erreicht, Watchdog wird beendet"),this.timeOut();return;default:throw Error("Appshell.SessionWatchdog: Unerwartetes Broadcast Event '".concat(t.data.type,"'"))}}},e.BROADCAST_CHANNEL="cpl_doghouse",e.MAX_SERVER_TIMEOUT_SALT=G5,e.log=ri(),e})(),X5=(function(){function e(){this.subscribers=[],this.domRect=new DOMRectReadOnly(0,0,0,0)}return Object.defineProperty(e.prototype,"x",{get:function(){return this.domRect.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.domRect.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.domRect.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.domRect.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.domRect.top}
132,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.domRect.bottom},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.domRect.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.domRect.right},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.domRect.toJSON()},e.prototype.next=function(t){this.domRect=t,this.subscribers.forEach(function(n){return n(t)})},e.prototype.subscribe=function(t){this.subscribers.push(t)},e})(),lu=function(){return lu=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},lu.apply(this,arguments)},Z5=(function(){function e(t){var n=this;this.slot=t,this.domRect=new X5,this.resizeObserver=new ResizeObserver(function(i){if(i.length!==1)throw Error("ResizeObserver: Ungültige Anzahl von Entries. ContentRect kann nicht aktualisiert werden.");n.domRect.next(i[0].contentRect)}),this.reactRoot=null}return e.prototype.load=function(t,n,i,a,o,f){var p=this;o===void 0&&(o=!0),f===void 0&&(f=void 0);var g=this.getOrCreateShadowRootContainer(t),u=this.getOrCreateShadowRoot(g),y=this.getOrCreateStylesRoot(u),S=this.getOrCreateAppRoot(u),x=S,O;if(f){var L=this.getOrCreateShadowRootContainer(f),R=this.getOrCreateShadowRoot(L);O=this.getOrCreateStylesRoot(R),x=this.getOrCreateAppRoot(R)}this.resizeObserver.observe(S),this.slot.busy(!0);var V={shadowRootContainer:g,appRoot:S,emotionRoot:y,app:n,properties:i,debugStyles:a,portalRoot:x,emotionPortalRoot:O};o?setTimeout(function(){return p.renderReactApp(V)},1):this.renderReactApp(V),A5(function(){return p.slot.busy(!1)})},e.prototype.unload=function(t,n){if(n===void 0&&(n=void 0),this.reactRoot!==null&&(this.reactRoot.unmount(),this.reactRoot=null),n)for(var i=this.getOrCreateShadowRootContainer(n),a=this.getOrCreateShadowRoot(i),o=this.getOrCreateStylesRoot(a);o.lastChild!==null;)o.removeChild(o.lastChild);var f=this.getOrCreateShadowRootContainer(t),p=this.getOrCreateShadowRoot(f),g=this.getOrCreateStylesRoot(p),u=this.getOrCreateAppRoot(p);for(this.resizeObserver.unobserve(u);g.lastChild!==null;)g.removeChild(g.lastChild)},e.prototype.mirrorEmotionStyles=function(t){var n=t.source,i=t.target,a=t.options,o=new Wg(lu(lu({},a),{container:i})),f=n.sheet.insert.bind(n.sheet),p=n.sheet.flush.bind(n.sheet);n.sheet.insert=function(g){f(g),o.insert(g)},n.sheet.flush=function(){p(),o.flush()}},e.prototype.renderReactApp=function(t){var n=t.shadowRootContainer,i=t.appRoot,a=t.emotionRoot,o=t.app,f=t.properties,p=t.debugStyles,g=t.portalRoot,u=t.emotionPortalRoot,y={key:"cpl",prepend:!0,container:a,speedy:!p},S=Rh(y);u&&this.mirrorEmotionStyles({source:S,target:u,options:y});var x=Lt.createElement(z1,lu(lu({},f),{shadowRootContainer:n,children:o,portalContainer:g})),O=Lt.createElement(sm,{value:S,children:x}),L=Lt.createElement(vO,{injectFirst:!0,children:O});this.reactRoot===null&&(this.reactRoot=Wf.createRoot(i)),this.reactRoot.render(L)},e.prototype.getOrCreateShadowRootContainer=function(t){var n=t.querySelector("#".concat(e.ID_CONTAINER_SHADOW_ROOT));return n??this.createShadowRootContainer(t)},e.prototype.createShadowRootContainer=function(t){var n=document.createElement("div");return n.id=e.ID_CONTAINER_SHADOW_ROOT,n.className=e.CLASS_NAME_EVENT_HANDLER,t.appendChild(n),n},e.prototype.getOrCreateShadowRoot=function(t){var n;return(n=t.shadowRoot)!==null&&n!==void 0?n:t.attachShadow({mode:"open"})},e.prototype.getOrCreateStylesRoot=function(t){var n;return(n=t.getElementById(e.ID_STYLES_ROOT))!==null&&n!==void 0?n:this.createStylesRoot(t)},e.prototype.createStylesRoot=function(t){var n=document.createElement("style");return n.id=e.ID_STYLES_ROOT,t.appendChild(n),n},e.prototype.getOrCreateAppRoot=function(t){var n;return(n=t.getElementById(e.ID_REACT_ROOT))!==null&&n!==void 0?n:this.createAppRoot(t)},e.prototype.createAppRoot=function(t){var n=document.createElement("div");return n.id=e.ID_REACT_ROOT,t.appendChild(n)},e.ID_STYLES_ROOT="cpl-slot-styles",e.ID_REACT_ROOT="cpl-slot-app",e.ID_CONTAINER_SHADOW_ROOT="cpl-slot-shadow",e.CLASS_NAME_EVENT_HANDLER="cpl-event-handler",e})(),Q5=(function(){function e(t,n){this.slot=t,this.log=n,this.reactLoader=new Z5(this.slot),this.internalBusyCount=0,this.internalError=!1,this.internalBackgroun
132d=!1,this.internalDestroying=!1,this.internalStatus=ut.CREATED}return Object.defineProperty(e.prototype,"active",{get:function(){return this.internalStatus===ut.ACTIVE},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isBackground",{get:function(){return this.internalBackground},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return this.internalStatus===ut.EMPTY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domElement",{get:function(){if(this.internalDomElement===void 0)throw Error("DOMLoader: [domElement] ist undefined.");return this.internalDomElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"portalDomElement",{get:function(){return this.internalPortalDomElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domRect",{get:function(){return this.reactLoader.domRect},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.internalDestroying?ut.DESTROYING:this.isBusy?ut.BUSY:this.internalError?ut.ERROR:this.internalBackground?ut.BACKGROUND:this.internalStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shadowedStatus",{get:function(){return this.internalStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isBusy",{get:function(){return this.internalBusyCount>0},enumerable:!1,configurable:!0}),e.prototype.init=function(t,n,i,a){if(n===void 0&&(n=0),i===void 0&&(i=void 0),a===void 0&&(a=void 0),this.internalStatus!==ut.CREATED)return this.logWarn("DOM-Bereich im Status ".concat(this.internalStatus," kann nicht initialisiert werden.")),this.internalStatus;if(this.internalDomElement=document.createElement("div"),this.domElement.id=n>0?"cpl-slot-".concat(t,"-").concat(n):"cpl-slot-".concat(t),this.domElement.className=e.CLASS_NAME_DEFAULT,a){var o=document.createElement("div");o.id=n>0?"cpl-slot-portal-".concat(t,"-").concat(n):"cpl-slot-portal-".concat(t),o.className=e.CLASS_NAME_PORTAL,a.appendChild(o),this.internalPortalDomElement=o}var f=i??this.getDefaultRootElement();return f.appendChild(this.domElement),this.setStatus(ut.EMPTY),this.internalStatus},e.prototype.load=function(t){if(this.internalError=!1,this.internalStatus!==ut.EMPTY&&this.unload()!==ut.EMPTY)return this.logDebug("App kann nicht geladen werden: Slot ist im Status ".concat(this.internalStatus,".")),this.internalStatus;try{var n=void 0;if(t.createApp!==void 0)n=t.createApp();else return this.slot.error(Error("App kann nicht geladen werden: [CplAppSpec.createApp] ist undefined!"));return this.reactLoader.load(this.domElement,n,this.getAppRootProperties(),this.slot.appshell.debugStyles,!0,this.portalDomElement),this.currentApp=n,this.setStatus(ut.ACTIVE),this.internalStatus}catch(i){return this.slot.error(i)}},e.prototype.resetBackground=function(){return this.internalBackground&&(this.domElement.classList.remove(e.CLASS_NAME_BACKGROUND),this.internalBackground=!1),this.status},e.prototype.refresh=function(){try{if(this.currentApp===void 0)throw Error("DOMLoader: Refresh nicht möglich, da aktuell keine App geladen ist.");return this.reactLoader.load(this.domElement,this.currentApp,this.getAppRootProperties(),this.slot.appshell.debugStyles,!1),this.internalStatus}catch(t){return this.slot.error(t)}},e.prototype.unload=function(){return this.internalStatus===ut.EMPTY?(this.logDebug("App kann nicht entladen werden: DOM-Bereich ist bereits leer."),this.internalStatus):this.internalStatus===ut.ERROR?(this.reactLoader.unload(this.domElement,this.portalDomElement),this.internalStatus):this.internalStatus!==ut.ACTIVE?(this.logWarn("App kann nicht entladen werden: DOM-Bereich ist im Status ".concat(this.internalStatus,".")),this.internalStatus):(this.reactLoader.unload(this.domElement,this.portalDomElement),this.setStatus(ut.EMPTY),this.internalStatus)},e.prototype.error=function(){return this.setStatus(ut.ERROR),this.internalStatus},e.prototype.waitFor=function(t){var n=this,i=this.internalStatus;return t.finally(function(){return n.setStatus(i)}),this.setStatus(ut.WAITING),this.status},e.prototype.busy=function(t){return t?(this.internalBusyCount===0&&this.domElement.classList.add(e.CLASS_NAME_BUSY),this.internalBusyCount++,this.internalStatus):(this.internalBusyCount>0&&(this.internalBusyCount--,this.internalBusyCount===0&&this.domElement.classList.remove(e.CLASS_NAME_BUSY)),this.internalStatus)},e.prototype.background=function(){return this.setStatus(ut.BACKGROUND),this.internalStatus},e.prototype.destroying=function(){return this.setStatus(ut.DESTROYING),ut.DESTROYING},e.prototype.destroy=function(){return[ut.EMPTY,ut.ERROR].includes(this.internalStatus)?(this.setStatus(ut.DESTROYED),this.domElement.remove(),this.internalStatus):(this.logWarn("DOM-Bereich im Status ".concat(this.internalStatus," kann nicht entfernt werden.")),this.internalStatus)},e.prototype.getAppRootProperties=function(){var t=this,n,i=this.slot.currentAppId;if(i===void 0)throw Error("Fehler beim Laden der App: [Slot.currentAppId] ist undefined.");var a=this.slot.currentUI;if(a===void 0)throw Error("Fehler beim Laden der App: [Slot.currentUI] ist undefined.");if(a.type!==ti.React)throw Error("Fehler beim Laden der App: React-Properties können für UI vom Typ ".concat(a.type," nicht erzeugt werden."));if(a.appName===null)throw Error("Fehler beim Laden der App: [Slot.currentUI.appName] darf für UI vom Typ ".concat(a.type," nicht null sein."));return{appId:i,route:a.appName,view:(n=a.viewName)!==null&&n!==void 0?n:void 0,inputModel:this.slot.input,slotId:this.slot.config.name,slot:this.slot,theme:this.slot.appshell.theme,locale:this.slot.appshell.locale,hLevel:this.slot.appshell.hLevel,maxHLevel:this.slot.appshell.hLevel?ou(this.slot.appshell.hLevel):void 0,baseUrl:this.slot.appshell.baseServiceUrl,productName:this.slot.appshell.productName,injectFontFace:function(o){return t.addFontFace(o)},unsavedChanges:{unsavedChanges:this.slot.unsavedChanges,setUnsavedChanges:function(o){t.slot.unsavedChanges=o}},apiVersion:this.slot.appshell.apiVersion}},e.prototype.addFontFace=function(t){var n=this.slot.fonts.findIndex(function(a){return Qo.c
132onflicts(t,a)});if(n===-1){this.slot.fonts=this.slot.fonts.concat(t);return}var i=this.slot.fonts.slice();i[n]=t,this.slot.fonts=i},e.prototype.getDefaultRootElement=function(){var t=document.getElementById("cpl-1-0-0");if(t!==null)return t;var n=document.getElementById("cpl-app-root");return n!==null?(this.logWarn("Die Nutzung der ID 'cpl-app-root' für das Root-Element ist deprecated! Bitte die ID 'cpl-1-0-0' nutzen oder das Root-Element über die Appshell-API dynamisch übergeben."),n):(this.logWarn("Die Nutzung von document.body als Root-Element ist deprecated! Bitte ein Element mit der ID 'cpl-1-0-0' erzeugen oder das Root-Element über die Appshell-API dynamisch übergeben."),document.body)},e.prototype.setStatus=function(t){if(this.internalStatus!==t){if(t===ut.BUSY)throw Error("BUSY kann über setStatus nicht verändert werden. Bitte busy(true|false) nutzen.");if(t===ut.ERROR){this.internalError=!0;return}if(t===ut.DESTROYING){this.internalDestroying=!0;return}if(t===ut.BACKGROUND){this.domElement.classList.add(e.CLASS_NAME_BACKGROUND),this.internalBackground=!0;return}t===ut.DESTROYED&&this.internalDestroying&&(this.internalDestroying=!1),this.resetBackground(),this.internalStatus=t}},e.prototype.logDebug=function(t){this.log(Rt.Debug,t)},e.prototype.logWarn=function(t){this.log(Rt.Warn,t)},e.prototype.logError=function(t){this.log(Rt.Error,t)},e.CLASS_NAME_DEFAULT="cpl-slot",e.CLASS_NAME_PORTAL="cpl-slot-portal",e.CLASS_NAME_BUSY="cpl-slot--busy",e.CLASS_NAME_BACKGROUND="cpl-slot--background",e})(),J5=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),uu=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},cu=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},eI=(function(e){J5(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.pop=function(){if(n.length>1)return e.prototype.pop.call(n)},n.peek=function(){if(n.length===0)throw Error("Illegaler Zustand: Kein DOM-Loader vorhanden");return n[n.length-1]},n}return t})(Array),tI=(function(){function e(t,n){this.config=t,this.appshell=n,this.loaders=new eI,this.children=[],this.subscribers=[],this.loaders.push(this.createDOMLoader())}return Object.defineProperty(e.prototype,"status",{get:function(){var t=this.loaders.peek().status;return t===ut.EMPTY&&this.internalUi!==void 0?ut.BACKGROUND:t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shadowedStatus",{get:function(){return this.loaders.peek().shadowedStatus}
132,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.config.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this.loaders.peek().active},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentAppId",{get:function(){return this.internalAppId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentError",{get:function(){return this.internalError},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentUI",{get:function(){return this.internalUi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentProductId",{get:function(){return this.internalProductId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentScriptId",{get:function(){return this.internalScriptId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"output",{get:function(){return this.internalOutput},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"input",{get:function(){return this.internalInput},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"navigationType",{get:function(){return this.internalNavigationType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"exit",{get:function(){return this.internalExit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domElement",{get:function(){return this.loaders.peek().domElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"portalDomElement",{get:function(){return this.loaders.peek().portalDomElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domRect",{get:function(){return this.loaders.peek().domRect},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastKnownAppName",{get:function(){return this.internalLastKnownAppName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){if(this.internalUi!==void 0)return this.internalUi.title!==""?this.internalUi.title:void 0},set:function(t){this.internalUi!==void 0&&t!==void 0&&(this.internalUi.title=t,this.onUpdate(Xn.DATA))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"helpId",{get:function(){if(this.internalUi!==void 0)return this.internalUi.helpId!==""&&this.internalUi.helpId!==null?this.internalUi.helpId:void 0},set:function(t){this.internalUi!==void 0&&t!==void 0&&(this.internalUi.helpId=t,this.onUpdate(Xn.DATA))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fonts",{get:function(){var t;return(t=this.internalFonts)!==null&&t!==void 0?t:[]},set:function(t){this.internalFonts=t,this.onUpdate(Xn.INTERNAL)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unsavedChanges",{get:function(){var t;return(t=this.internalUnsavedChanges)!==null&&t!==void 0?t:!1},set:function(t){this.internalUnsavedChanges=t,this.refresh()},enumerable:!1,configurable:!0}),e.prototype.init=function(t,n){t===void 0&&(t=void 0),n===void 0&&(n=void 0),this.internalParentDOM=t,this.internalParentPortalDom=n,this.loaders.peek().init(this.config.name,0,this.internalParentDOM,this.internalParentPortalDom),this.log(Rt.Info,"Slot '".concat(this.config.name,"' wurde initialisiert.")),this.onUpdate(Xn.INIT)},e.prototype.error=function(t){var n=this;return this.log(Rt.Error,t.message),this.internalError?this.status:(this.loaders.peek().error(),this.internalError=t,this.onUpdate(Xn.ERROR),this.forEachChild(function(i){return i.error(Error("Fehler im Parent-Slot: ".concat(t.message)))}),FS(this).then(Vm).then(function(){return n.log(Rt.Info,"Slot wurde zurückgesetzt.")}).catch(function(i){return n.log(Rt.Error,"Fehler beim Zurücksetzten des Slots: ".concat(i.message))}),this.status)},e.prototype.waitFor=function(t){return this.loaders.peek().waitFor(t)},e.prototype.busy=function(t){var n=this.loaders.peek().isBusy;return n!==t&&new $o({busy:t,slotId:this.name}).dispatch(),this.loaders.peek().busy(t),n!==this.loaders.peek().isBusy&&this.onUpdate(Xn.BUSY),this.status},e.prototype.load=function(t,n,i,a){this.memorizeLastKnownApp();var o=this.internalUi;if(this.internalUi=n,this.internalAppId=ta(),this.internalInput=i,this.internalScriptId=t,this.internalProductId=a,this.internalUnsavedChanges=n.unsavedChanges,n.type===ti.React){var f=this.getOrCreateDOMLoader(n);o?.type===ti.React&&o.appName===n.appName&&o.uiName===n.uiName&&!f.empty?(f.resetBackgroun
132d(),f.refresh()):f.load(this.appshell.getApp(t))}else if(this.appshell.supportedUiTypes.includes(n.type))this.getOrCreateDOMLoader(n).unload();else return this.error(new Error("UserInterfaceType ".concat(n.type," wird durch dieses Rahmensystem nicht unterstützt.")));return this.onUpdate(Xn.LOAD),this.status},e.prototype.refresh=function(){return this.loaders.filter(function(t){return t.active&&!t.isBackground}).forEach(function(t){return t.refresh()}),this.status},e.prototype.update=function(t){var n=this.internalUi;n!==void 0&&(t.title!==void 0&&(n.title=t.title),t.helpId!==void 0&&(n.helpId=t.helpId),t.uiHelpId!==void 0&&(n.uiHelpId=t.uiHelpId),t.bookmark!==void 0&&(n.bookmark=t.bookmark),t.unsavedChanges!==void 0&&(this.unsavedChanges=t.unsavedChanges),this.onUpdate(Xn.DATA))},e.prototype.destroy=function(){return this.status===ut.DESTROYED?this.status:(this.forEachChild(function(t){return t.destroy()}),this.destroyAdditionalDOMLoaders(),this.loaders.peek().destroy(),this.setEmpty(),this.onUpdate(Xn.DESTROY),this.status)},e.prototype.destroying=function(t){return uu(this,void 0,void 0,function(){var n,i,a=this;return cu(this,function(o){switch(o.label){case 0:return this.loaders.peek().destroying(),[4,Promise.all(this.children.map(function(f){return uu(a,void 0,void 0,function(){var p;return cu(this,function(g){switch(g.label){case 0:return p=this.appshell.findSlot(f),[4,p?.destroying(t)];case 1:return g.sent(),[2]}})})}))];case 1:return o.sent(),n=function(f){var p=f.loaders.peek();return!p.isBusy&&[ut.EMPTY,ut.DESTROYED].includes(p.shadowedStatus)},i=function(){return uu(a,void 0,void 0,function(){var f=this;return cu(this,function(p){return[2,t(this).catch(function(g){return f.log(Rt.Error,"Fehler bei Destruct-Action (Details: ".concat(g.message,")"))}).then(function(){return uu(f,void 0,void 0,function(){return cu(this,function(g){return[2,BS(this,n)]})})}).then(function(){return f.destroy()}).then(function(){return f.status})]})})},this.loaders.peek().isBusy?(this.log(Rt.Debug,"Destruct-Action wird ausgeführt, sobald der Slot den Status BUSY verlässt."),[2,FS(this).then(i)]):(this.log(Rt.Debug,"Destruct-Action wird ausgeführt."),[2,i()])}})})},e.prototype.unload=function(t,n,i){return i===void 0&&(i=void 0),this.destroyAdditionalDOMLoaders(),this.loaders.peek().unload(),this.setEmpty(t,n,i),this.onUpdate(Xn.LOAD),this.status},e.prototype.log=function(t,n){ri(this).log(t,n)},e.prototype.subscribe=function(t){this.subscribers.push(t)},e.prototype.unsubscribe=function(t){this.subscribers.includes(t)&&this.subscribers.splice(this.subscribers.indexOf(t),1)},e.prototype.getChild=function(t){if(this.children.includes(t))return this.appshell.getSlot(t);throw Error("Slot '".concat(t,"' ist kein untergeordneter Slot von '").concat(this.name,"'."))},e.prototype.createChild=function(t,n){return uu(this,void 0,void 0,function(){return cu(this,function(i){switch(i.label){case 0:return this.children.push(t),[4,this.appshell.createSlot({name:t},n)];case 1:return[2,i.sent()]}})})},e.prototype.removeChild=function(t,n){return uu(this,void 0,void 0,function(){var i,a;return cu(this,function(o){switch(o.label){case 0:if(!this.children.includes(t))throw Error("Slot '".concat(t,"' ist kein untergeordneter Slot von '").concat(this.name,"'."));if(i=this.appshell.findSlot(t),i===null)throw Error("Slot ".concat(t," konnte nicht gefunden werden."));if(a=this.children.indexOf(t),a===-1)throw Error("Slot '".concat(t,"' wurde während Destruct aus Children von '").concat(this.name,"' entfernt."));return this.children.splice(a,1),[4,i.destroying(n)];case 1:return o.sent(),[2]}})})},e.prototype.forEachChild=function(t){var n=this;this.children.forEach(function(i){var a=n.appshell.findSlot(i);a&&t(a)})},e.prototype.isBackground=function(){return this.loaders.peek().shadowedStatus===ut.EMPTY&&this.internalUi!==void 0},e.prototype.isEmpty=function(){return this.loaders.peek().shadowedStatus===ut.EMPTY&&this.internalUi===void 0},e.prototype.isActive=function(){return this.loaders.peek().active},e.prototype.isBusy=function(){return this.loaders.peek().isBusy},e.prototype.getOrCreateDOMLoader=function(t){if(this.config.useDialogs===!1||this.currentUI===void 0)return this.loaders.peek();for(var n=t.dialogDepth+1;this.loaders.length<n;)this.loaders.peek().background(),this.loaders.push(this.createDOMLoader());for(;this.loaders.length>n;){var i=this.loaders.pop();if(i===void 0)break;i.unload(),i.destroy()}var a=this.loaders.peek();return a.status===ut.CREATED&&a.init(this.config.name,this.loaders.length,this.internalParentDOM,this.internalParentPortalDom),a},e.prototype.createDOMLoader=function(){var t=this;return new Q5(this,function(n,i){return t.log(n,i)})},e.prototype.destroyAdditionalDOMLoaders=function(){for(var t;(t=this.loaders.pop())!==void 0;)t.unload(),t.destroy()},e.prototype.onUpdate=function(t){var n=this;
132this.subscribers.forEach(function(i){return i(t,{name:n.config.name,main:!!n.config.useBrowserHistory,config:n.config,status:n.status,ui:n.internalUi,error:n.internalError,input:n.internalInput,output:n.internalOutput,productId:n.internalProductId})})},e.prototype.setEmpty=function(t,n,i){this.memorizeLastKnownApp(),this.internalProductId=void 0,this.internalNavigationType=n,this.internalExit=i,this.internalScriptId=void 0,this.internalAppId=void 0,this.internalUi=void 0,this.internalOutput=t,this.internalUnsavedChanges=!1},e.prototype.memorizeLastKnownApp=function(){var t,n;this.internalLastKnownAppName=(n=(t=this.internalUi)===null||t===void 0?void 0:t.appName)!==null&&n!==void 0?n:this.internalLastKnownAppName},e})(),Fi=function(){return Fi=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Fi.apply(this,arguments)},fd=function(e,t,n,i){function a(o){return o instanceof n?o:new n(function(f){f(o)})}return new(n||(n=Promise))(function(o,f){function p(y){try{u(i.next(y))}catch(S){f(S)}}function g(y){try{u(i.throw(y))}catch(S){f(S)}}function u(y){y.done?o(y.value):a(y.value).then(p,g)}u((i=i.apply(e,t||[])).next())})},hd=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(u){return function(y){return g([u,y])}}function g(u){if(i)throw new TypeError("Generator is already executing.");for(;f&&(f=0,u[0]&&(n=0)),n;)try{if(i=1,a&&(o=u[0]&2?a.return:u[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,u[1])).done)return o;switch(a=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(y){u=[6,y],a=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},nI=(function(){function e(t,n){this.productName=t,this.apiVersion=n,this.slots={},this.watchdog=new Y5,this.registry=new k5,this.fontFaceLoader=new L5(this),this.internalDebugStyles=!1,this.userMessageHandler=null,this.initialized=!1,this.supportedUiTypes=[],this.onUpdate=function(){},this.onInit=[],this.onDestruct=null}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){var t;return(t=document.CplFrame)===null||t===void 0?void 0:t.baseUrl},set:function(t){document.CplFrame=Fi(Fi({},document.CplFrame),{baseUrl:t}),this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseServiceUrl",{get:function(){var t,n;return(n=(t=document.CplFrame)===null||t===void 0?void 0:t.baseServiceUrl)!==null&&n!==void 0?n:this.baseUrl},set:function(t){document.CplFrame=Fi(Fi({},document.CplFrame),{baseServiceUrl:t}),this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"callbackUrl",{get:function(){var t;return(t=document.CplFrame)===null||t===void 0?void 0:t.callbackUrl},set:function(t){document.CplFrame=Fi(Fi({},document.CplFrame),{callbackUrl:t}),this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this.internalTheme},set:function(t){this.internalTheme=t,this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"locale",{get:function(){return this.internalLocale},set:function(t){this.internalLocale=t,this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hLevel",{get:function(){return this.internalHLevel},set:function(t){this.internalHLevel=t,this.refreshActiveSlots()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"debugStyles",{get:function(){return this.internalDebugStyles},set:function(t){this.internalDebugStyles=t,this.refreshActiveSlots(),this.fontFaceLoader.handleUpdate()}
132,enumerable:!1,configurable:!0}),e.prototype.createSlot=function(t){return fd(this,arguments,void 0,function(n,i,a){var o,f,p=this;return i===void 0&&(i=void 0),a===void 0&&(a=void 0),hd(this,function(g){return this.initialized?(f=this.findSlot(n.name),f?.status===ut.DESTROYING?(f.log(Rt.Info,"Nachfolge-Slot wurde vorgemerkt."),[2,new Promise(function(u){var y=function(S,x){f.shadowedStatus===ut.DESTROYED&&(f.log(Rt.Debug,"Nachfolge-Slot wird jetzt initialisiert."),f.unsubscribe(y),u(p.createSlotSync(n,i,a)))};f.subscribe(y)})]):[2,this.createSlotSync(n,i,a)]):(o=ri(),o.info("Slot '".concat(n.name,"' wurde vorgemerkt und wird initialisiert, sobald die Appshell bereit ist.")),[2,new Promise(function(u){p.onInit.push(function(){o.debug("Slot '".concat(n.name,"' wird jetzt initialisiert.")),u(p.createSlotSync(n,i,a))})})])})})},e.prototype.createSlotSync=function(t,n,i){var a=this;if(n===void 0&&(n=void 0),i===void 0&&(i=void 0),!this.initialized)throw Error("Slot kann nicht erzeugt werden, da Appshell noch nicht bereit ist. Nutzen Sie stattdessen Appshell.createSlot, um einen Slot asynchron zu erzeugen.");if(t.name==="")throw Error("Name des Slots darf nicht leer sein.");var o=this.findSlot(t.name);if(o!==null&&o.shadowedStatus!==ut.DESTROYED)throw Error("Slot '".concat(t.name,"' existiert bereits und kann nicht überschrieben werden."));if(t.useBrowserHistory===!0&&Object.values(this.slots).find(function(p){return p?.config.useBrowserHistory===!0})!==void 0)throw Error("Es existiert bereits ein Slot, der die Browser-History nutzt.");var f=new tI(t,this);return this.slots[t.name]=f,f.subscribe(function(p,g){return a.onUpdateInternal(p,g)}),f.init(n,i),t.useBrowserHistory&&(f.subscribe(j5),F5(this)),f},e.prototype.loadApp=function(t){return fd(this,void 0,void 0,function(){return hd(this,function(n){return[2,this.registry.loadApp(t)]})})},e.prototype.getApp=function(t){return this.registry.getApp(t)},e.prototype.getAppOrNull=function(t){return this.registry.getAppOrNull(t)},e.prototype.registerApp=function(t){return this.registry.registerApp(t)},e.prototype.getSlot=function(t){var n=this.slots[t];if(n===void 0)throw Error("Slot '".concat(t,"' existiert nicht."));return n},e.prototype.findSlot=function(t){var n;return(n=this.slots[t])!==null&&n!==void 0?n:null},e.prototype.findSlotBySourceId=function(t){var n=Object.entries(this.slots).find(function(p){p[0];var g=p[1];return t===g?.currentAppId});if(n!==void 0){var i=n,a=i[0],o=i[1];return{name:a,slot:o}}var f=this.slots[t];return f!==void 0?{name:t,slot:f}:null},e.prototype.setUserMessageHandler=function(t){this.userMessageHandler=t},e.prototype.alert=function(t){return fd(this,void 0,void 0,function(){var n=this;return hd(this,function(i){return[2,new Promise(function(a,o){n.userMessageHandler===null?o(Error("UserMessageHandler wurde vom Rahmen nicht gesetzt")):n.userMessageHandler.alert(t).then(a).catch(o)})]})})},e.prototype.confirm=function(t,n,i){return fd(this,void 0,void 0,function(){var a=this;return hd(this,function(o){return[2,new Promise(function(f,p){a.userMessageHandler===null?p(Error("UserMessageHandler wurde vom Rahmen nicht gesetzt")):a.userMessageHandler.confirm(t,n,i).then(f).catch(p)})]})})},e.prototype.init=function(){var t=this,n,i=ri(),a=function(O){if(O instanceof ErrorEvent){if(O.message==="ResizeObserver loop completed with undelivered notifications."){i.info("JavaScript-Fehler: ".concat(O.message));return}if(O.error instanceof Error&&!t.checkErrorFromCpl(O.error)){i.info("JavaScript-Fehler außerhalb einer CPL-Anwendung: ".concat(O.error.message));return}}if(O instanceof PromiseRejectionEvent&&O.reason instanceof Error&&!t.checkErrorFromCpl(O.reason)){i.info("JavaScript-Fehler außerhalb einer CPL-Anwendung: ".concat(O.reason.message));return}t.destroyAppshell(O)};if(this.initialized)throw Error("Appshell ist bereits initialisiert. Falls Sie eine frisch-initialisierte Appshell benötigen, erzeugen Sie bitte eine neue Instanz und rufen Sie dort init() auf.");var o="",f="",p="",g="",u="",y=function(){i.debug("Appshell.init: Appshell wird initialisiert."),document.CplFrame=Fi(Fi({},document.CplFrame),{appshell:t,register:function(O){return t.registerApp(O)}}),o=Ml.subscribe(N5(t)),f=sa.subscribe(H5(t)),p=$a.subscribe(z5(t)),g=ra.subscribe(P5(t)),u=ia.subscribe(V5(t)),window.addEventListener("error",a),window.addEventListener("unhandledrejection",a),t.initialized=!0,t.onInit.forEach(function(O){return O()})},S=function(){if(!t.initialized)throw Error("Diese Appshell wurde noch nicht initialisiert und kann daher auch nicht zerstört werden.");i.debug("Appshell.destruct: Appshell wird zerstört."),Promise.all(Object.values(t.slots).filter(y5).map(b5)).then(function(){var O;document.CplFrame=Fi(Fi({},document.CplFrame),{appshell:void 0,register:function(){throw Error("Registrierung weiterer Apps nicht möglich: Die Appshell wurde beendet.")}}),Ml.unsubscribe(o),sa.unsubscribe(f),$a.unsubscribe(p),ra.unsubscribe(g),ia.unsubscribe(u),window.removeEventListener("error",a),window.removeEventListener("unhandledrejection",a),(O=t.onDestruct)===null||O===void 0||O.call(t)})},x=(n=document.CplFrame)===null||n===void 0?void 0:n.appshell;if(x===void 0)return y(),S;if(x.onDestruct===null)return i.debug("Appshell.init: Warten auf Destruct einer anderen Appshell-Instanz"),x.onDestruct=y,S;throw Error("Es gibt bereits eine aktive und eine wartende Appshell-Instanz. Initialisierung einer weiteren Instanz ist nicht möglich.")},e.prototype.refreshActiveSlots=function(){Object.values(this.slots).filter(function(t){return t!==void 0}).filter(function(t){return t.active}
132).forEach(function(t){return t.refresh()})},e.prototype.checkErrorFromCpl=function(t){if(!this.baseUrl)return!0;for(var n=$g.fromError(t),i=0,a=n.getFrames();i<a.length;i++){var o=a[i];if(o.source.startsWith(this.baseUrl))return!0}return!1},e.prototype.destroyAppshell=function(t){t.preventDefault(),t.stopPropagation();var n;if(t instanceof ErrorEvent){var i=t.error;i?n=i:t.message?n=Error(t.message):n=Error("Unbekanntes Fehler-Event")}else if(t instanceof PromiseRejectionEvent){var a=t.reason;a instanceof Error?n=a:n=Error("UnhandledPromiseRejection: ".concat(a))}else n=Error("Unbekanntes Fehler-Event");this.forEachSlot(function(o){o.log(Rt.Error,"Appshell wurde aufgrund eines globalen Fehlers beendet"),el(o,n)})},e.prototype.forEachSlot=function(t){Object.values(this.slots).filter(function(n){return n!==void 0}).forEach(function(n){return t(n)})},e.prototype.onUpdateInternal=function(t,n){t===Xn.INTERNAL&&this.fontFaceLoader.handleUpdate(),this.onUpdate(t,n)},e.prototype.assetResourceLoader=function(t,n){var i;return((i=document.CplFrame)===null||i===void 0?void 0:i.baseUrl)!==void 0?document.CplFrame.baseUrl+"".concat(t).concat(n):"".concat(t).concat(n)},e})();function rI(e){const t=new nI(e.productName,e.apiVersion);return t.baseUrl=e.baseUrl,t.callbackUrl=e.callbackUrl,t.theme=e.theme,t.supportedUiTypes.push(ti.InternetFiliale),t.hLevel="h1",t}var Km=(e=>(e.SESSION_UPDATE="SESSION_UPDATE",e.SESSION_UKT_UPDATE="SESSION_UKT_UPDATE",e))(Km||{});const qS=globalThis.window.location;function fu(){if(!globalThis.IF6)throw new Error("IF6 is not available yet.");return globalThis.IF6}function iI(){return globalThis.IF6_lightbox_closeicon_text||""}const dd="/cqa",KS="/cqd",Gm=".webview.html";function GS(e,t=window.location.href){return new URL(t).searchParams.get(e)}function sI(e,t=window.location.href){return new URL(t).searchParams.has(e)}function WS(e=window.location.href){const t=new URL(e).searchParams,n={};return t.forEach((i,a)=>{n[a]=i}),n}function aI(e,t=window.location.href){const n=new URL(t);n.searchParams.delete(e),window.history.replaceState(null,"",n)}function YS(e,t){const{pathname:n}=t?new URL(t,window.location.href):new URL(window.location.href);return n===e||n.startsWith(`${e}/`)}function pd(e){return YS(dd,e)}function oI(){return YS(KS)}function Wm(e){if(!pd())return e;if(lI(e)){const t=new URL(e),n=t.origin!==window.location.origin;return pd(t.pathname)||n?e:(t.pathname=XS(dd,t.pathname),t.toString())}else if(pd(e))return e;return XS(dd,e)}function lI(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function XS(e,t){const n=e.replace(/\/+$/u,""),i=t.replace(/^\/+/u,"");return`${n}/${i}`}function ZS(e,t){try{return new URL(e).pathname.split("/").filter(Boolean).includes(t)}catch{return!1}}function gd(){return location.pathname.endsWith(Gm)}const uI="/services/mapi.proxy/cpl",cI="/home/misc/ruecksprung2.html?n=true&stref=hnav";function fI(){return pd()?dd:oI()?KS:""}function hI(){return Vc()+uI}function dI(){const e=qS.pathname.split("/")[1];return Vc()+"/"+e+cI}function Vc(){return qS.origin+fI()}function pI(e){return{baseUrl:hI(),callbackUrl:dI(),mkaServiceContextPath:Vc(),theme:e.toString(),apiVersion:2,productName:"if"}}function QS(e,t){return function(){return e.apply(t,arguments)}}const{toString:gI}=Object.prototype,{getPrototypeOf:hu}=Object,{iterator:qc,toStringTag:JS}=Symbol,md=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Kc=(e,t)=>{let n=e;const i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),md(n,t))return!0;n=hu(n)}return!1},mI=(e,t)=>e!=null&&Kc(e,t)?e[t]:void 0,Ym=(e=>t=>{const n=gI.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),os=e=>(e=e.toLowerCase(),t=>Ym(t)===e),vd=e=>t=>typeof t===e,{isArray:tl}=Array,du=vd("undefined");function pu(e){return e!==null&&!du(e)&&e.constructor!==null&&!du(e.constructor)&&fi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ew=os("ArrayBuffer");function vI(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ew(e.buffer),t}const yI=vd("string"),fi=vd("function"),tw=vd("number"),gu=e=>e!==null&&typeof e=="object",bI=e=>e===!0||e===!1,yd=e=>{if(!gu(e))return!1;const t=hu(e);return(t===null||t===Object.prototype||hu(t)===null)&&!Kc(e,JS)&&!Kc(e,qc)},SI=e=>{if(!gu(e)||pu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wI=os("Date"),_I=os("File"),EI=e=>!!(e&&typeof e.uri<"u"),AI=e=>e&&typeof e.getParts<"u",xI=os("Blob"),CI=os("FileList"),TI=e=>gu(e)&&fi(e.pipe);function kI(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const nw=kI(),rw=typeof nw.FormData<"u"?nw.FormData:void 0,OI=e=>{if(!e)return!1;if(rw&&e instanceof rw)return!0;const t=hu(e);if(!t||t===Object.prototype||!fi(e.append))return!1;const n=Ym(e);return n==="formdata"||n==="object"&&fi(e.toString)&&e.toString()==="[object FormData]"},RI=os("URLSearchParams"),[LI,II,MI,NI]=["ReadableStream","Request","Response","Headers"].map(os),PI=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gc(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,a;if(typeof e!="object"&&(e=[e]),tl(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{if(pu(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),f=o.length;let p;for(i=0;i<f;i++)p=o[i],t.call(null,e[p],p,e)}}function iw(e,t){if(pu(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i=n.length,a;for(;i-- >0;)if(a=n[i],t===a.toLowerCase())return a;return null}const nl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sw=e=>!du(e)&&e!==nl;function Xm(...e){const{caseless:t,skipUndefined:n}=sw(this)&&this||{},i={},a=(o,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=t&&typeof f=="string"&&iw(i,f)||f,g=md(i,p)?i[p]:void 0;yd(g)&&yd(o)?i[p]=Xm(g,o):yd(o)?i[p]=Xm({}
vendor: 2,487 bytes, line 132
132,o):tl(o)?i[p]=o.slice():(!n||!du(o))&&(i[p]=o)};for(let o=0,f=e.length;o<f;o++){const p=e[o];if(!p||pu(p)||(Gc(p,a),typeof p!="object"||tl(p)))continue;const g=Object.getOwnPropertySymbols(p);for(let u=0;u<g.length;u++){const y=g[u];GI.call(p,y)&&a(p[y],y)}}return i}const DI=(e,t,n,{allOwnKeys:i}={})=>(Gc(t,(a,o)=>{n&&fi(a)?Object.defineProperty(e,o,{__proto__:null,value:QS(a,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),UI=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jI=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},FI=(e,t,n,i)=>{let a,o,f;const p={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)f=a[o],(!i||i(f,e,t))&&!p[f]&&(t[f]=e[f],p[f]=!0);e=n!==!1&&hu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},BI=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},zI=e=>{if(!e)return null;if(tl(e))return e;let t=e.length;if(!tw(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},HI=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&hu(Uint8Array)),$I=(e,t)=>{const i=(e&&e[qc]).call(e);let a;for(;(a=i.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},VI=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},qI=os("HTMLFormElement"),KI=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,a){return i.toUpperCase()+a}),{propertyIsEnumerable:GI}=Object.prototype,WI=os("RegExp"),aw=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Gc(n,(a,o)=>{let f;(f=t(a,o,e))!==!1&&(i[o]=f||a)}),Object.defineProperties(e,i)},YI=e=>{aw(e,(t,n)=>{if(fi(e)&&["arguments","caller","callee"].includes(n))return!1;const i=e[n];if(fi(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XI=(e,t)=>{const n={},i=a=>{a.forEach(o=>{n[o]=!0})};return tl(e)?i(e):i(String(e).split(t)),n},ZI=()=>{},QI=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function JI(e){return!!(e&&fi(e.append)&&e[JS]==="FormData"&&e[qc])}const eM=e=>{const t=new WeakSet,n=i=>{if(gu(i)){if(t.has(i))return;if(pu(i))return i;
vendor: 38,662 bytes, lines 132-140
132if(!("toJSON"in i)){t.add(i);const a=tl(i)?[]:{};return Gc(i,(o,f)=>{const p=n(o);!du(p)&&(a[f]=p)}),t.delete(i),a}}return i};return n(e)},tM=os("AsyncFunction"),nM=e=>e&&(gu(e)||fi(e))&&fi(e.then)&&fi(e.catch),ow=((e,t)=>e?setImmediate:t?((n,i)=>(nl.addEventListener("message",({source:a,data:o})=>{a===nl&&o===n&&i.length&&i.shift()()},!1),a=>{i.push(a),nl.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",fi(nl.postMessage)),rM=typeof queueMicrotask<"u"?queueMicrotask.bind(nl):typeof process<"u"&&process.nextTick||ow,lw=e=>e!=null&&fi(e[qc]),pe={isArray:tl,isArrayBuffer:ew,isBuffer:pu,isFormData:OI,isArrayBufferView:vI,isString:yI,isNumber:tw,isBoolean:bI,isObject:gu,isPlainObject:yd,isEmptyObject:SI,isReadableStream:LI,isRequest:II,isResponse:MI,isHeaders:NI,isUndefined:du,isDate:wI,isFile:_I,isReactNativeBlob:EI,isReactNative:AI,isBlob:xI,isRegExp:WI,isFunction:fi,isStream:TI,isURLSearchParams:RI,isTypedArray:HI,isFileList:CI,forEach:Gc,merge:Xm,extend:DI,trim:PI,stripBOM:UI,inherits:jI,toFlatObject:FI,kindOf:Ym,kindOfTest:os,endsWith:BI,toArray:zI,forEachEntry:$I,matchAll:VI,isHTMLForm:qI,hasOwnProperty:md,hasOwnProp:md,hasOwnInPrototypeChain:Kc,getSafeProp:mI,reduceDescriptors:aw,freezeMethods:YI,toObjectSet:XI,toCamelCase:KI,noop:ZI,toFiniteNumber:QI,findKey:iw,global:nl,isContextDefined:sw,isSpecCompliantForm:JI,toJSONObject:eM,isAsyncFn:tM,isThenable:nM,setImmediate:ow,asap:rM,isIterable:lw,isSafeIterable:e=>e!=null&&Kc(e,qc)&&lw(e)},iM=pe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sM=e=>{const t={};let n,i,a;return e&&e.split(`
133`).forEach(function(f){a=f.indexOf(":"),n=f.substring(0,a).trim().toLowerCase(),i=f.substring(a+1).trim(),!(!n||t[n]&&iM[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t};function aM(e){let t=0,n=e.length;for(;t<n;){const i=e.charCodeAt(t);if(i!==9&&i!==32)break;t+=1}for(;n>t;){const i=e.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const oM=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),lM=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Zm(e,t){return pe.isArray(e)?e.map(n=>Zm(n,t)):aM(String(e).replace(t,""))}const uM=e=>Zm(e,oM),cM=e=>Zm(e,lM);function uw(e){const t=Object.create(null);return pe.forEach(e.toJSON(),(n,i)=>{t[i]=cM(n)}),t}const cw=Symbol("internals");function Wc(e){return e&&String(e).trim().toLowerCase()}function bd(e){return e===!1||e==null?e:pe.isArray(e)?e.map(bd):uM(String(e))}function fM(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const hM=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qm(e,t,n,i,a){if(pe.isFunction(i))return i.call(this,t,n);if(a&&(t=n),!!pe.isString(t)){if(pe.isString(i))return t.indexOf(i)!==-1;if(pe.isRegExp(i))return i.test(t)}}function dM(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function pM(e,t){const n=pe.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{__proto__:null,value:function(a,o,f){return this[i].call(this,t,a,o,f)},configurable:!0})})}let Kr=class{constructor(t){t&&this.set(t)}set(t,n,i){const a=this;function o(p,g,u){const y=Wc(g);if(!y)return;const S=pe.findKey(a,y);(!S||a[S]===void 0||u===!0||u===void 0&&a[S]!==!1)&&(a[S||g]=bd(p))}const f=(p,g)=>pe.forEach(p,(u,y)=>o(u,y,g));if(pe.isPlainObject(t)||t instanceof this.constructor)f(t,n);else if(pe.isString(t)&&(t=t.trim())&&!hM(t))f(sM(t),n);else if(pe.isObject(t)&&pe.isSafeIterable(t)){let p=Object.create(null),g,u;for(const y of t){if(!pe.isArray(y))throw new TypeError("Object iterator must return a key-value pair");u=y[0],pe.hasOwnProp(p,u)?(g=p[u],p[u]=pe.isArray(g)?[...g,y[1]]:[g,y[1]]):p[u]=y[1]}f(p,n)}else t!=null&&o(n,t,i);return this}get(t,n){if(t=Wc(t),t){const i=pe.findKey(this,t);if(i){const a=this[i];if(!n)return a;if(n===!0)return fM(a);if(pe.isFunction(n))return n.call(this,a,i);if(pe.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wc(t),t){const i=pe.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Qm(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let a=!1;function o(f){if(f=Wc(f),f){const p=pe.findKey(i,f);p&&(!n||Qm(i,i[p],p,n))&&(delete i[p],a=!0)}}return pe.isArray(t)?t.forEach(o):o(t),a}clear(t){const n=Object.keys(this);let i=n.length,a=!1;for(;i--;){const o=n[i];(!t||Qm(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const n=this,i={};return pe.forEach(this,(a,o)=>{const f=pe.findKey(i,o);if(f){n[f]=bd(a),delete n[o];return}const p=t?dM(o):String(o).trim();p!==o&&delete n[o],n[p]=bd(a),i[p]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return pe.forEach(this,(i,a)=>{i!=null&&i!==!1&&(n[a]=t&&pe.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
134`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(a=>i.set(a)),i}static accessor(t){const i=(this[cw]=this[cw]={accessors:{}}).accessors,a=this.prototype;function o(f){const p=Wc(f);i[p]||(pM(a,f),i[p]=!0)}return pe.isArray(t)?t.forEach(o):o(t),this}};Kr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),pe.reduceDescriptors(Kr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}}),pe.freezeMethods(Kr);const gM="[REDACTED ****]";function mM(e){if(pe.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(pe.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function vM(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),i=[],a=o=>{if(o===null||typeof o!="object"||pe.isBuffer(o))return o;if(i.indexOf(o)!==-1)return;o instanceof Kr&&(o=o.toJSON()),i.push(o);let f;if(pe.isArray(o))f=[],o.forEach((p,g)=>{const u=a(p);pe.isUndefined(u)||(f[g]=u)});else{if(!pe.isPlainObject(o)&&mM(o))return i.pop(),o;f=Object.create(null);for(const[p,g]of Object.entries(o)){const u=n.has(p.toLowerCase())?gM:a(g);pe.isUndefined(u)||(f[p]=u)}}return i.pop(),f};return a(e)}let Ge=class lx extends Error{static from(t,n,i,a,o,f){const p=new lx(t.message,n||t.code,i,a,o);return Object.defineProperty(p,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),p.name=t.name,t.status!=null&&p.status==null&&(p.status=t.status),f&&Object.assign(p,f),p}constructor(t,n,i,a,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),a&&(this.request=a),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&pe.hasOwnProp(t,"redact")?t.redact:void 0,i=pe.isArray(n)&&n.length>0?vM(t,n):pe.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};Ge.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Ge.ERR_BAD_OPTION="ERR_BAD_OPTION",Ge.ECONNABORTED="ECONNABORTED",Ge.ETIMEDOUT="ETIMEDOUT",Ge.ECONNREFUSED="ECONNREFUSED",Ge.ERR_NETWORK="ERR_NETWORK",Ge.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Ge.ERR_DEPRECATED="ERR_DEPRECATED",Ge.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Ge.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Ge.ERR_CANCELED="ERR_CANCELED",Ge.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Ge.ERR_INVALID_URL="ERR_INVALID_URL",Ge.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const yM=null,fw=100;function Jm(e){return pe.isPlainObject(e)||pe.isArray(e)}function hw(e){return pe.endsWith(e,"[]")?e.slice(0,-2):e}function e0(e,t,n){return e?e.concat(t).map(function(a,o){return a=hw(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function bM(e){return pe.isArray(e)&&!e.some(Jm)}const SM=pe.toFlatObject(pe,{},null,function(t){return/^is[A-Z]/.test(t)});function Sd(e,t,n){if(!pe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=pe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(se,ne){return!pe.isUndefined(ne[se])});const i=n.metaTokens,a=n.visitor||L,o=n.dots,f=n.indexes,p=n.Blob||typeof Blob<"u"&&Blob,g=n.maxDepth===void 0?fw:n.maxDepth,u=p&&pe.isSpecCompliantForm(t),y=[];if(!pe.isFunction(a))throw new TypeError("visitor must be a function");function S(K){if(K===null)return"";if(pe.isDate(K))return K.toISOString();if(pe.isBoolean(K))return K.toString();if(!u&&pe.isBlob(K))throw new Ge("Blob is not supported. Use a Buffer instead.");if(pe.isArrayBuffer(K)||pe.isTypedArray(K)){if(u&&typeof p=="function")return new p([K]);if(typeof Buffer<"u")return Buffer.from(K);throw new Ge("Blob is not supported. Use a Buffer instead.",Ge.ERR_NOT_SUPPORT)}return K}function x(K){if(K>g)throw new Ge("Object is too deeply nested ("+K+" levels). Max depth: "+g,Ge.ERR_FORM_DATA_DEPTH_EXCEEDED)}function O(K,se){if(g===1/0)return JSON.stringify(K);const ne=[];return JSON.stringify(K,function(X,U){if(!pe.isObject(U))return U;for(;ne.length&&ne[ne.length-1]!==this;)ne.pop();return ne.push(U),x(se+ne.length-1),U})}function L(K,se,ne){let J=K;if(pe.isReactNative(t)&&pe.isReactNativeBlob(K))return t.append(e0(ne,se,o),S(K)),!1;if(K&&!ne&&typeof K=="object"){if(pe.endsWith(se,"{}"))se=i?se:se.slice(0,-2),K=O(K,1);else if(pe.isArray(K)&&bM(K)||(pe.isFileList(K)||pe.endsWith(se,"[]"))&&(J=pe.toArray(K)))return se=hw(se),J.forEach(function(U,Y){!(pe.isUndefined(U)||U===null)&&t.append(f===!0?e0([se],Y,o):f===null?se:se+"[]",S(U))}),!1}return Jm(K)?!0:(t.append(e0(ne,se,o),S(K)),!1)}const R=Object.assign(SM,{defaultVisitor:L,convertValue:S,isVisitable:Jm});function V(K,se,ne=0){if(!pe.isUndefined(K)){if(x(ne),y.indexOf(K)!==-1)throw new Error("Circular reference detected in "+se.join("."));y.push(K),pe.forEach(K,function(X,U){(!(pe.isUndefined(X)||X===null)&&a.call(t,X,pe.isString(U)?U.trim():U,se,R))===!0&&V(X,se?se.concat(U):[U],ne+1)}),y.pop()}}if(!pe.isObject(e))throw new TypeError("data must be an object");return V(e),t}function dw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(i){return t[i]})}function t0(e,t){this._pairs=[],e&&Sd(e,this,t)}const pw=t0.prototype;pw.append=function(t,n){this._pairs.push([t,n])},pw.toString=function(t){const n=t?i=>t.call(this,i,dw):dw;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function wM(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function gw(e,t,n){if(!t)return e;e=e||"";const i=pe.isFunction(n)?{serialize:n}:n,a=pe.getSafeProp(i,"encode")||wM,o=pe.getSafeProp(i,"serialize");let f;if(o?f=o(t,i):f=pe.isURLSearchParams(t)?t.toString():new t0(t,i).toString(a),f){const p=e.indexOf("#");p!==-1&&(e=e.slice(0,p)),e+=(e.indexOf("?")===-1?"?":"&")+f}return e}class mw{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){pe.forEach(this.handlers,function(i){i!==null&&t(i)})}}const n0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_M={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:t0,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},r0=typeof window<"u"&&typeof document<"u",i0=typeof navigator=="object"&&navigator||void 0,EM=r0&&(!i0||["ReactNative","NativeScript","NS"].indexOf(i0.product)<0),AM=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xM=r0&&window.location.href||"http://localhost",Ir={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:r0,hasStandardBrowserEnv:EM,hasStandardBrowserWebWorkerEnv:AM,navigator:i0,origin:xM},Symbol.toStringTag,{value:"Module"})),..._M};function CM(e,t){return Sd(e,new Ir.classes.URLSearchParams,{visitor:function(n,i,a,o){return Ir.isNode&&pe.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const vw=fw;function yw(e){if(e>vw)throw new Ge("FormData field is too deeply nested ("+e+" levels). Max depth: "+vw,Ge.ERR_FORM_DATA_DEPTH_EXCEEDED)}function TM(e){const t=[],n=/\w+|\[(\w*)]/g;let i;for(;(i=n.exec(e))!==null;)yw(t.length),t.push(i[0]==="[]"?"":i[1]||i[0]);return t}function kM(e){const t={},n=Object.keys(e);let i;const a=n.length;let o;for(i=0;i<a;i++)o=n[i],t[o]=e[o];return t}function bw(e){function t(n,i,a,o){yw(o);let f=n[o++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),g=o>=n.length;return f=!f&&pe.isArray(a)?a.length:f,g?(pe.hasOwnProp(a,f)?a[f]=pe.isArray(a[f])?a[f].concat(i):[a[f],i]:a[f]=i,!p):((!pe.hasOwnProp(a,f)||!pe.isObject(a[f]))&&(a[f]=[]),t(n,i,a[f],o)&&pe.isArray(a[f])&&(a[f]=kM(a[f])),!p)}if(pe.isFormData(e)&&pe.isFunction(e.entries)){const n={};return pe.forEachEntry(e,(i,a)=>{t(TM(i),a,n,0)}),n}return null}const mu=(e,t)=>e!=null&&pe.hasOwnProp(e,t)?e[t]:void 0;function OM(e,t,n){if(pe.isString(e))try{return(t||JSON.parse)(e),pe.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Yc={transitional:n0,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",a=i.indexOf("application/json")>-1,o=pe.isObject(t);if(o&&pe.isHTMLForm(t)&&(t=new FormData(t)),pe.isFormData(t))return a?JSON.stringify(bw(t)):t;if(pe.isArrayBuffer(t)||pe.isBuffer(t)||pe.isStream(t)||pe.isFile(t)||pe.isBlob(t)||pe.isReadableStream(t))return t;if(pe.isArrayBufferView(t))return t.buffer;if(pe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let p;if(o){const g=mu(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return CM(t,g).toString();if((p=pe.isFileList(t))||i.indexOf("multipart/form-data")>-1){const u=mu(this,"env"),y=u&&u.FormData;return Sd(p?{"files[]":t}:t,y&&new y,g)}}return o||a?(n.setContentType("application/json",!1),OM(t)):t}],transformResponse:[function(t){const n=mu(this,"transitional")||Yc.transitional,i=n&&n.forcedJSONParsing,a=mu(this,"responseType"),o=a==="json";if(pe.isResponse(t)||pe.isReadableStream(t))return t;if(t&&pe.isString(t)&&(i&&!a||o)){const p=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,mu(this,"parseReviver"))}catch(g){if(p)throw g.name==="SyntaxError"?Ge.from(g,Ge.ERR_BAD_RESPONSE,this,null,mu(this,"response")):g}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ir.classes.FormData,Blob:Ir.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};pe.forEach(["delete","get","head","post","put","patch","query"],e=>{Yc.headers[e]={}});function s0(e,t){const n=this||Yc,i=t||n,a=Kr.from(i.headers);let o=i.data;return pe.forEach(e,function(p){o=p.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function Sw(e){return!!(e&&e.__CANCEL__)}let Xc=class extends Ge{constructor(t,n,i){super(t??"canceled",Ge.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function ww(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new Ge("Request failed with status code "+n.status,n.status>=400&&n.status<500?Ge.ERR_BAD_REQUEST:Ge.ERR_BAD_RESPONSE,n.config,n.request,n))}function RM(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function LM(e,t){e=e||10;const n=new Array(e),i=new Array(e);let a=0,o=0,f;return t=t!==void 0?t:1e3,function(g){const u=Date.now(),y=i[o];f||(f=u),n[a]=g,i[a]=u;let S=o,x=0;for(;S!==a;)x+=n[S++],S=S%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),u-f<t)return;const O=y&&u-y;return O?Math.round(x*1e3/O):void 0}}function IM(e,t){let n=0,i=1e3/t,a,o;const f=(u,y=Date.now())=>{n=y,a=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const y=Date.now(),S=y-n;S>=i?f(u,y):(a=u,o||(o=setTimeout(()=>{o=null,f(a)},i-S)))},()=>a&&f(a)]}const wd=(e,t,n=3)=>{let i=0;const a=LM(50,250);return IM(o=>{if(!o||typeof o.loaded!="number")return;const f=o.loaded,p=o.lengthComputable?o.total:void 0,g=p!=null?Math.min(f,p):f,u=Math.max(0,g-i),y=a(u);i=Math.max(i,g);const S={loaded:g,total:p,progress:p?g/p:void 0,bytes:u,rate:y||void 0,estimated:y&&p?(p-g)/y:void 0,event:o,lengthComputable:p!=null,[t?"download":"upload"]:!0};e(S)},n)},_w=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Ew=e=>(...t)=>pe.asap(()=>e(...t)),MM=Ir.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ir.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ir.origin),Ir.navigator&&/(msie|trident)/i.test(Ir.navigator.userAgent)):()=>!0,NM=Ir.hasStandardBrowserEnv?{write(e,t,n,i,a,o,f){if(typeof document>"u")return;const p=[`${e}=${encodeURIComponent(t)}`];pe.isNumber(n)&&p.push(`expires=${new Date(n).toUTCString()}`),pe.isString(i)&&p.push(`path=${i}`),pe.isString(a)&&p.push(`domain=${a}`),o===!0&&p.push("secure"),pe.isString(f)&&p.push(`SameSite=${f}`),document.cookie=p.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const i=t[n].replace(/^\s+/,""),a=i.indexOf("=");if(a!==-1&&i.slice(0,a)===e)try{return decodeURIComponent(i.slice(a+1))}catch{return i.slice(a+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function PM(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function DM(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const UM=/^https?:(?!\/\/)/i,jM=/[\t\n\r]/g;function FM(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function BM(e){return FM(e).replace(jM,"")}function Aw(e,t){if(typeof e=="string"&&UM.test(BM(e)))throw new Ge('Invalid URL: missing "//" after protocol',Ge.ERR_INVALID_URL,t)}function xw(e,t,n,i){Aw(t,i);let a=!PM(t);return e&&(a||n===!1)?(Aw(e,i),DM(e,t)):t}const Cw=e=>e instanceof Kr?{...e}:e;function rl(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(y,S,x,O){return pe.isPlainObject(y)&&pe.isPlainObject(S)?pe.merge.call({caseless:O},y,S):pe.isPlainObject(S)?pe.merge({},S):pe.isArray(S)?S.slice():S}function a(y,S,x,O){if(pe.isUndefined(S)){if(!pe.isUndefined(y))return i(void 0,y,x,O)}else return i(y,S,x,O)}function o(y,S){if(!pe.isUndefined(S))return i(void 0,S)}function f(y,S){if(pe.isUndefined(S)){if(!pe.isUndefined(y))return i(void 0,y)}else return i(void 0,S)}function p(y){const S=pe.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!pe.isUndefined(S))if(pe.isPlainObject(S)){if(pe.hasOwnProp(S,y))return S[y]}else return;const x=pe.hasOwnProp(e,"transitional")?e.transitional:void 0;if(pe.isPlainObject(x)&&pe.hasOwnProp(x,y))return x[y]}function g(y,S,x){if(pe.hasOwnProp(t,x))return i(y,S);if(pe.hasOwnProp(e,x))return i(void 0,y)}const u={url:o,method:o,data:o,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,allowedSocketPaths:f,responseEncoding:f,validateStatus:g,headers:(y,S,x)=>a(Cw(y),Cw(S),x,!0)};return pe.forEach(Object.keys({...e,...t}),function(S){if(S==="__proto__"||S==="constructor"||S==="prototype")return;const x=pe.hasOwnProp(u,S)?u[S]:a,O=pe.hasOwnProp(e,S)?e[S]:void 0,L=pe.hasOwnProp(t,S)?t[S]:void 0,R=x(O,L,S);pe.isUndefined(R)&&x!==g||(n[S]=R)}),pe.hasOwnProp(t,"validateStatus")&&pe.isUndefined(t.validateStatus)&&p("validateStatusUndefinedResolves")===!1&&(pe.hasOwnProp(e,"validateStatus")?n.validateStatus=i(void 0,e.validateStatus):delete n.validateStatus),n}const zM=["content-type","content-length"];function HM(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([i,a])=>{zM.includes(i.toLowerCase())&&e.set(i,a)})}const $M=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function Tw(e){const t=rl({},e),n=x=>pe.hasOwnProp(t,x)?t[x]:void 0,i=n("data");let a=n("withXSRFToken");const o=n("xsrfHeaderName"),f=n("xsrfCookieName");let p=n("headers");const g=n("auth"),u=n("baseURL"),y=n("allowAbsoluteUrls"),S=n("url");if(t.headers=p=Kr.from(p),t.url=gw(xw(u,S,y,t),n("params"),n("paramsSerializer")),g){const x=pe.getSafeProp(g,"username")||"",O=pe.getSafeProp(g,"password")||"";try{p.set("Authorization","Basic "+btoa(x+":"+(O?$M(O):"")))}catch(L){throw Ge.from(L,Ge.ERR_BAD_OPTION_VALUE,e)}}if(pe.isFormData(i)&&(Ir.hasStandardBrowserEnv||Ir.hasStandardBrowserWebWorkerEnv||pe.isReactNative(i)?p.setContentType(void 0):pe.isFunction(i.getHeaders)&&HM(p,i.getHeaders(),n("formDataHeaderPolicy"))),Ir.hasStandardBrowserEnv&&(pe.isFunction(a)&&(a=a(t)),a===!0||a==null&&MM(t.url))){const O=o&&f&&NM.read(f);O&&p.set(o,O)}return t}const VM=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,i){const a=Tw(e);let o=a.data;const f=Kr.from(a.headers).normalize();let{responseType:p,onUploadProgress:g,onDownloadProgress:u}=a,y,S,x,O,L;function R(){O&&O(),L&&L(),a.cancelToken&&a.cancelToken.unsubscribe(y),a.signal&&a.signal.removeEventListener("abort",y)}let V=new XMLHttpRequest;V.open(a.method.toUpperCase(),a.url,!0),V.timeout=a.timeout;function K(){if(!V)return;const ne=Kr.from("getAllResponseHeaders"in V&&V.getAllResponseHeaders()),X={data:!p||p==="text"||p==="json"?V.responseText:V.response,status:V.status,statusText:V.statusText,headers:ne,config:e,request:V};ww(function(Y){n(Y),R()},function(Y){i(Y),R()},X),V=null}"onloadend"in V?V.onloadend=K:V.onreadystatechange=function(){!V||V.readyState!==4||V.status===0&&!(V.responseURL&&V.responseURL.startsWith("file:"))||setTimeout(K)},V.onabort=function(){V&&(i(new Ge("Request aborted",Ge.ECONNABORTED,e,V)),R(),V=null)},V.onerror=function(J){const X=J&&J.message?J.message:"Network Error",U=new Ge(X,Ge.ERR_NETWORK,e,V);U.event=J||null,i(U),R(),V=null},V.ontimeout=function(){let J=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const X=a.transitional||n0;a.timeoutErrorMessage&&(J=a.timeoutErrorMessage),i(new Ge(J,X.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,e,V)),R(),V=null},o===void 0&&f.setContentType(null),"setRequestHeader"in V&&pe.forEach(uw(f),function(J,X){V.setRequestHeader(X,J)}),pe.isUndefined(a.withCredentials)||(V.withCredentials=!!a.withCredentials),p&&p!=="json"&&(V.responseType=a.responseType),u&&([x,L]=wd(u,!0),V.addEventListener("progress",x)),g&&V.upload&&([S,O]=wd(g),V.upload.addEventListener("progress",S),V.upload.addEventListener("loadend",O)),(a.cancelToken||a.signal)&&(y=ne=>{V&&(i(!ne||ne.type?new Xc(null,e,V):ne),V.abort(),R(),V=null)},a.cancelToken&&a.cancelToken.subscribe(y),a.signal&&(a.signal.aborted?y():a.signal.addEventListener("abort",y)));const se=RM(a.url);if(se&&!Ir.protocols.includes(se)){i(new Ge("Unsupported protocol "+se+":",Ge.ERR_BAD_REQUEST,e)),R();return}V.send(o||null)})},qM=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let i=!1;const a=function(g){if(!i){i=!0,f();const u=g instanceof Error?g:this.reason;n.abort(u instanceof Ge?u:new Xc(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,a(new Ge(`timeout of ${t}ms exceeded`,Ge.ETIMEDOUT))},t);const f=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(g=>{g.unsubscribe?g.unsubscribe(a):g.removeEventListener("abort",a)}),e=null)};e.forEach(g=>g.addEventListener("abort",a,{once:!0}));const{signal:p}=n;return p.unsubscribe=()=>pe.asap(f),p},KM=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,a;for(;i<n;)a=i+t,yield e.slice(i,a),i=a},GM=async function*(e,t){for await(const n of WM(e))yield*KM(n,t)},WM=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},kw=(e,t,n,i)=>{const a=GM(e,t);let o=0,f,p=g=>{f||(f=!0,i&&i(g))};return new ReadableStream({async pull(g){try{const{done:u,value:y}=await a.next();if(u){p(),g.close();return}let S=y.byteLength;if(n){let x=o+=S;n(x)}g.enqueue(new Uint8Array(y))}catch(u){throw p(u),u}},cancel(g){return p(g),a.return()}},{highWaterMark:2})},_d=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,YM=(e,t,n)=>t+2<n&&_d(e.charCodeAt(t+1))&&_d(e.charCodeAt(t+2));function XM(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),i=e.slice(t+1);if(/;base64/i.test(n)){let f=i.length;const p=i.length;for(let O=0;O<p;O++)if(i.charCodeAt(O)===37&&O+2<p){const L=i.charCodeAt(O+1),R=i.charCodeAt(O+2);_d(L)&&_d(R)&&(f-=2,O+=2)}let g=0,u=p-1;const y=O=>O>=2&&i.charCodeAt(O-2)===37&&i.charCodeAt(O-1)===51&&(i.charCodeAt(O)===68||i.charCodeAt(O)===100);u>=0&&(i.charCodeAt(u)===61?(g++,u--):y(u)&&(g++,u-=3)),g===1&&u>=0&&(i.charCodeAt(u)===61||y(u))&&g++;const x=Math.floor(f/4)*3-(g||0);return x>0?x:0}let o=0;for(let f=0,p=i.length;f<p;f++){const g=i.charCodeAt(f);if(g===37&&YM(i,f,p))o+=1,f+=2;else if(g<128)o+=1;else if(g<2048)o+=2;else if(g>=55296&&g<=56319&&f+1<p){const u=i.charCodeAt(f+1);u>=56320&&u<=57343?(o+=4,f++):o+=3}else o+=3}return o}const a0="1.18.1",Ow=64*1024,{isFunction:Ed}=pe,ZM=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Rw=e=>{if(!pe.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Lw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},QM=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},JM=e=>{const t=pe.global!==void 0&&pe.global!==null?pe.global:globalThis,{ReadableStream:n,TextEncoder:i}=t;e=pe.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:a,Request:o,Response:f}=e,p=a?Ed(a):typeof fetch=="function",g=Ed(o),u=Ed(f);if(!p)return!1;const y=p&&Ed(n),S=p&&(typeof i=="function"?(K=>se=>K.encode(se))(new i):async K=>new Uint8Array(await new o(K).arrayBuffer())),x=g&&y&&Lw(()=>{let K=!1;const se=new o(Ir.origin,{body:new n,method:"POST",get duplex(){return K=!0,"half"}}),ne=se.headers.has("Content-Type");return se.body!=null&&se.body.cancel(),K&&!ne}),O=u&&y&&Lw(()=>pe.isReadableStream(new f("").body)),L={stream:O&&(K=>K.body)};p&&["text","arrayBuffer","blob","formData","stream"].forEach(K=>{!L[K]&&(L[K]=(se,ne)=>{let J=se&&se[K];if(J)return J.call(se);throw new Ge(`Response type '${K}' is not supported`,Ge.ERR_NOT_SUPPORT,ne)})});const R=async K=>{if(K==null)return 0;if(pe.isBlob(K))return K.size;if(pe.isSpecCompliantForm(K))return(await new o(Ir.origin,{method:"POST",body:K}).arrayBuffer()).byteLength;if(pe.isArrayBufferView(K)||pe.isArrayBuffer(K))return K.byteLength;if(pe.isURLSearchParams(K)&&(K=K+""),pe.isString(K))return(await S(K)).byteLength},V=async(K,se)=>{const ne=pe.toFiniteNumber(K.getContentLength());return ne??R(se)};return async K=>{let{url:se,method:ne,data:J,signal:X,cancelToken:U,timeout:Y,onDownloadProgress:Ce,onUploadProgress:oe,responseType:_e,headers:ge,withCredentials:I="same-origin",fetchOptions:ue,maxContentLength:me,maxBodyLength:De}=Tw(K);const Z=pe.isNumber(me)&&me>-1,ke=pe.isNumber(De)&&De>-1,Ie=Ve=>pe.hasOwnProp(K,Ve)?K[Ve]:void 0;let Fe=a||fetch;_e=_e?(_e+"").toLowerCase():"text";let et=qM([X,U&&U.toAbortSignal()],Y),$=null;const Te=et&&et.unsubscribe&&(()=>{et.unsubscribe()});let ze,He=null;const nt=()=>new Ge("Request body larger than maxBodyLength limit",Ge.ERR_BAD_REQUEST,K,$);try{let Ve;const at=Ie("auth");if(at){const ot=pe.getSafeProp(at,"username")||"",Tt=pe.getSafeProp(at,"password")||"";Ve={username:ot,password:Tt}}if(QM(se)){const ot=new URL(se,Ir.origin);if(!Ve&&(ot.username||ot.password)){const Tt=Rw(ot.username),en=Rw(ot.password);Ve={username:Tt,password:en}}(ot.username||ot.password)&&(ot.username="",ot.password="",se=ot.href)}if(Ve&&(ge.delete("authorization"),ge.set("Authorization","Basic "+btoa(ZM((Ve.username||"")+":"+(Ve.password||""))))),Z&&typeof se=="string"&&se.startsWith("data:")&&XM(se)>me)throw new Ge("maxContentLength size of "+me+" exceeded",Ge.ERR_BAD_RESPONSE,K,$);if(ke&&ne!=="get"&&ne!=="head"){const ot=await R(J);if(typeof ot=="number"&&isFinite(ot)&&(ze=ot,ot>De))throw nt()}const It=ke&&(pe.isReadableStream(J)||pe.isStream(J)),xt=(ot,Tt,en)=>kw(ot,Ow,$n=>{if(ke&&$n>De)throw He=nt();Tt&&Tt($n)},en);if(x&&ne!=="get"&&ne!=="head"&&(oe||It)){if(ze=ze??await V(ge,J),ze!==0||It){let ot=new o(se,{method:"POST",body:J,duplex:"half"}),Tt;if(pe.isFormData(J)&&(Tt=ot.headers.get("content-type"))&&ge.setContentType(Tt),ot.body){const[en,$n]=oe&&_w(ze,wd(Ew(oe)))||[];J=xt(ot.body,en,$n)}}}else if(It&&!g&&y&&ne!=="get"&&ne!=="head")J=xt(J);else if(It&&g&&!x&&ne!=="get"&&ne!=="head")throw new Ge("Stream request bodies are not supported by the current fetch implementation",Ge.ERR_NOT_SUPPORT,K,$);pe.isString(I)||(I=I?"include":"omit");const Qn=g&&"credentials"in o.prototype;if(pe.isFormData(J)){const ot=ge.getContentType();ot&&/^multipart\/form-data/i.test(ot)&&!/boundary=/i.test(ot)&&ge.delete("content-type")}ge.set("User-Agent","axios/"+a0,!1);const Xe={...ue,signal:et,method:ne.toUpperCase(),headers:uw(ge.normalize()),body:J,duplex:"half",credentials:Qn?I:void 0};$=g&&new o(se,Xe);let Kt=await(g?Fe($,ue):Fe(se,Xe));const Jt=Kr.from(Kt.headers);if(Z){const ot=pe.toFiniteNumber(Jt.getContentLength());if(ot!=null&&ot>me)throw new Ge("maxContentLength size of "+me+" exceeded",Ge.ERR_BAD_RESPONSE,K,$)}const vn=O&&(_e==="stream"||_e==="response");if(O&&Kt.body&&(Ce||Z||vn&&Te)){const ot={};["status","statusText","headers"].forEach(rt=>{ot[rt]=Kt[rt]});const Tt=pe.toFiniteNumber(Jt.getContentLength()),[en,$n]=Ce&&_w(Tt,wd(Ew(Ce),!0))||[];let mr=0;const Yr=rt=>{if(Z&&(mr=rt,mr>me))throw new Ge("maxContentLength size of "+me+" exceeded",Ge.ERR_BAD_RESPONSE,K,$);en&&en(rt)};Kt=new f(kw(Kt.body,Ow,Yr,()=>{$n&&$n(),Te&&Te()}),ot)}_e=_e||"text";let kn=await L[pe.findKey(L,_e)||"text"](Kt,K);if(Z&&!O&&!vn){let ot;if(kn!=null&&(typeof kn.byteLength=="number"?ot=kn.byteLength:typeof kn.size=="number"?ot=kn.size:typeof kn=="string"&&(ot=typeof i=="function"?new i().encode(kn).byteLength:kn.length)),typeof ot=="number"&&ot>me)throw new Ge("maxContentLength size of "+me+" exceeded",Ge.ERR_BAD_RESPONSE,K,$)}return!vn&&Te&&Te(),await new Promise((ot,Tt)=>{ww(ot,Tt,{data:kn,headers:Kr.from(Kt.headers),status:Kt.status,statusText:Kt.statusText,config:K,request:$})})}catch(Ve){if(Te&&Te(),et&&et.aborted&&et.reason instanceof Ge){const at=et.reason;throw at.config=K,$&&(at.request=$),Ve!==at&&Object.defineProperty(at,"cause",{__proto__:null,value:Ve,writable:!0,enumerable:!1,configurable:!0}),at}if(He)throw $&&!He.request&&(He.request=$),He;if(Ve instanceof Ge)throw $&&!Ve.request&&(Ve.request=$),Ve;if(Ve&&Ve.name==="TypeError"&&/Load failed|fetch/i.test(Ve.message)){const at=new Ge("Network Error",Ge.ERR_NETWORK,K,$,Ve&&Ve.response);throw Object.defineProperty(at,"cause",{__proto__:null,value:Ve.cause||Ve,writable:!0,enumerable:!1,configurable:!0}),at}throw Ge.from(Ve,Ve&&Ve.code,K,$,Ve&&Ve.response)}}},eN=new Map,Iw=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:a}=t,o=[i,a,n];let f=o.length,p=f,g,u,y=eN;for(;p--;)g=o[p],u=y.get(g),u===void 0&&y.set(g,u=p?new Map:JM(t)),y=u;return u};Iw();const o0={http:yM,xhr:VM,fetch:{get:Iw}};pe.forEach(o0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Mw=e=>`- ${e}`,tN=e=>pe.isFunction(e)||e===null||e===!1;function nN(e,t){e=pe.isArray(e)?e:[e];const{length:n}=e;let i,a;const o={};for(let f=0;f<n;f++){i=e[f];let p;if(a=i,!tN(i)&&(a=o0[(p=String(i)).toLowerCase()],a===void 0))throw new Ge(`Unknown adapter '${p}'`);if(a&&(pe.isFunction(a)||(a=a.get(t))))break;o[p||"#"+f]=a}if(!a){const f=Object.entries(o).map(([g,u])=>`adapter ${g} `+(u===!1?"is not supported by the environment":"is not available in the build"));let p=n?f.length>1?`since :
135`+f.map(Mw).join(`
136`):" "+Mw(f[0]):"as no adapter specified";throw new Ge("There is no suitable adapter to dispatch the request "+p,Ge.ERR_NOT_SUPPORT)}return a}const Nw={getAdapter:nN,adapters:o0};function l0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xc(null,e)}function Pw(e){return l0(e),e.headers=Kr.from(e.headers),e.data=s0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Nw.getAdapter(e.adapter||Yc.adapter,e)(e).then(function(i){l0(e),e.response=i;try{i.data=s0.call(e,e.transformResponse,i)}finally{delete e.response}return i.headers=Kr.from(i.headers),i},function(i){if(!Sw(i)&&(l0(e),i&&i.response)){e.response=i.response;try{i.response.data=s0.call(e,e.transformResponse,i.response)}finally{delete e.response}i.response.headers=Kr.from(i.response.headers)}return Promise.reject(i)})}const Ad={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ad[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Dw={};Ad.transitional=function(t,n,i){function a(o,f){return"[Axios v"+a0+"] Transitional option '"+o+"'"+f+(i?". "+i:"")}return(o,f,p)=>{if(t===!1)throw new Ge(a(f," has been removed"+(n?" in "+n:"")),Ge.ERR_DEPRECATED);return n&&!Dw[f]&&(Dw[f]=!0,console.warn(a(f," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,f,p):!0}},Ad.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function rN(e,t,n){if(typeof e!="object"||e===null)throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const o=i[a],f=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(f){const p=e[o],g=p===void 0||f(p,o,e);if(g!==!0)throw new Ge("option "+o+" must be "+g,Ge.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ge("Unknown option "+o,Ge.ERR_BAD_OPTION)}}const xd={assertOptions:rN,validators:Ad},Gr=xd.validators;let il=class{constructor(t){this.defaults=t||{},this.interceptors={request:new mw,response:new mw}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=(()=>{if(!a.stack)return"";const f=a.stack.indexOf(`
137`);return f===-1?"":a.stack.slice(f+1)})();try{if(!i.stack)i.stack=o;else if(o){const f=o.indexOf(`
138`),p=f===-1?-1:o.indexOf(`
139`,f+1),g=p===-1?"":o.slice(p+1);String(i.stack).endsWith(g)||(i.stack+=`
140`+o)}}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=rl(this.defaults,n);const{transitional:i,paramsSerializer:a,headers:o}=n;i!==void 0&&xd.assertOptions(i,{silentJSONParsing:Gr.transitional(Gr.boolean),forcedJSONParsing:Gr.transitional(Gr.boolean),clarifyTimeoutError:Gr.transitional(Gr.boolean),legacyInterceptorReqResOrdering:Gr.transitional(Gr.boolean),advertiseZstdAcceptEncoding:Gr.transitional(Gr.boolean),validateStatusUndefinedResolves:Gr.transitional(Gr.boolean)},!1),a!=null&&(pe.isFunction(a)?n.paramsSerializer={serialize:a}:xd.assertOptions(a,{encode:Gr.function,serialize:Gr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xd.assertOptions(n,{baseUrl:Gr.spelling("baseURL"),withXsrfToken:Gr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let f=o&&pe.merge(o.common,o[n.method]);o&&pe.forEach(["delete","get","head","post","put","patch","query","common"],L=>{delete o[L]}),n.headers=Kr.concat(f,o);const p=[];let g=!0;this.interceptors.request.forEach(function(R){if(typeof R.runWhen=="function"&&R.runWhen(n)===!1)return;g=g&&R.synchronous;const V=n.transitional||n0;V&&V.legacyInterceptorReqResOrdering?p.unshift(R.fulfilled,R.rejected):p.push(R.fulfilled,R.rejected)});const u=[];this.interceptors.response.forEach(function(R){u.push(R.fulfilled,R.rejected)});let y,S=0,x;if(!g){const L=[Pw.bind(this),void 0];for(L.unshift(...p),L.push(...u),x=L.length,y=Promise.resolve(n);S<x;)y=y.then(L[S++],L[S++]);return y}x=p.length;let O=n;for(;S<x;){const L=p[S++],R=p[S++];try{O=L(O)}catch(V){R.call(this,V);break}}try{y=Pw.call(this,O)}catch(L){return Promise.reject(L)}for(S=0,x=u.length;S<x;)y=y.then(u[S++],u[S++]);return y}getUri(t){t=rl(this.defaults,t);const n=xw(t.baseURL,t.url,t.allowAbsoluteUrls,t);return gw(n,t.params,t.paramsSerializer)}};pe.forEach(["delete","get","head","options"],function(t){il.prototype[t]=function(n,i){return this.request(rl(i||{},{method:t,url:n,data:i&&pe.hasOwnProp(i,"data")?i.data:void 0}))}}),pe.forEach(["post","put","patch","query"],function(t){function n(i){return function(o,f,p){return this.request(rl(p||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:f}))}}il.prototype[t]=n(),t!=="query"&&(il.prototype[t+"Form"]=n(!0))});let iN=class ux{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const i=this;this.promise.then(a=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](a);i._listeners=null}),this.promise.then=a=>{let o;const f=new Promise(p=>{i.subscribe(p),o=p}).then(a);return f.cancel=function(){i.unsubscribe(o)},f},t(function(o,f,p){i.reason||(i.reason=new Xc(o,f,p),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
140subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ux(function(a){t=a}),cancel:t}}};function sN(e){return function(n){return e.apply(null,n)}}function aN(e){return pe.isObject(e)&&e.isAxiosError===!0}const u0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(u0).forEach(([e,t])=>{u0[t]=e});function Uw(e){const t=new il(e),n=QS(il.prototype.request,t);return pe.extend(n,il.prototype,t,{allOwnKeys:!0}),pe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Uw(rl(e,a))},n}const Nn=Uw(Yc);Nn.Axios=il,Nn.CanceledError=Xc,Nn.CancelToken=iN,Nn.isCancel=Sw,Nn.VERSION=a0,Nn.toFormData=Sd,Nn.AxiosError=Ge,Nn.Cancel=Nn.CanceledError,Nn.all=function(t){return Promise.all(t)},Nn.spread=sN,Nn.isAxiosError=aN,Nn.mergeConfig=rl,Nn.AxiosHeaders=Kr,Nn.formToJSON=e=>bw(pe.isHTMLForm(e)?new FormData(e):e),Nn.getAdapter=Nw.getAdapter,Nn.HttpStatusCode=u0,Nn.default=Nn;const{Axios:zU,AxiosError:HU,CanceledError:$U,isCancel:VU,CancelToken:qU,VERSION:KU,all:GU,Cancel:WU,isAxiosError:YU,spread:XU,toFormData:ZU,AxiosHeaders:QU,HttpStatusCode:JU,formToJSON:ej,getAdapter:tj,mergeConfig:nj,create:rj}=Nn;class ls extends Error{constructor(t){super(t.message),this.statusCode=t.statusCode,this.errorType=t.errorType,this.context=t.context,this.isAxiosError=t.isAxiosError,this.isNetworkError=t.isNetworkError,this.originalError=t.originalError,Object.setPrototypeOf(this,ls.prototype),Object.defineProperty(this,"message",{value:t.message,enumerable:!0,configurable:!0,writable:!0})}}var ii=(e=>(e.CPL="CPL",e.CPL_FRAMEWORK="CPL_FRAMEWORK",e.LNS="LNS",e.AEM="AEM",e.GENERAL="GENERAL",e))(ii||{}),sl=(e=>(e.NETWORK="NETWORK",e.API="API",e.BUSINESS="BUSINESS",e.UNKNOWN="UNKNOWN",e))(sl||{});function us(e,t){return new ls({errorType:sl.BUSINESS,context:t??ii.GENERAL,message:e})}function Cd(e){return us(e,ii.AEM)}function c0(e){return us(e,ii.LNS)}function oN(e){return us(e,ii.CPL)}function jw(e){let t;return e instanceof Error?t=e.message:t=typeof e=="string"?e:"An unknown error occurred",new ls({errorType:sl.BUSINESS,context:ii.CPL_FRAMEWORK,message:t,originalError:e})}function lN(e){return e instanceof ls?e.context:void 0}function va(e){if(e instanceof ls)return e;if(uN(e)){const t=e;return new ls({message:t.response?.statusText??t.message,statusCode:t.response?.status,isNetworkError:t.code==="ERR_NETWORK"||!t.response,isAxiosError:!0,errorType:t.response?sl.API:sl.NETWORK,originalError:e})}return e instanceof Error?new ls({message:e.message,errorType:sl.UNKNOWN,originalError:e}):new ls({message:typeof e=="string"?e:"An unknown error occurred",errorType:sl.UNKNOWN,originalError:e})}function uN(e){return!!(e&&typeof e=="object"&&e.isAxiosError)}var vu=(e=>(e.TRACE="TRACE",e.ERROR="ERROR",e))(vu||{});const f0="/if-ma/ld";async function cN(e,t){const n=e.join(`
141`);hN();const i=Wm(f0);await Nn.post(i,n,{headers:{"Content-Type":"text/plain"},params:{context:t??ii.GENERAL}})}const h0=[];function fN(e,...t){console.info("%cINFO",Td("dodgerblue"),e,...t)}function Qt(e,...t){if(dN()){const i=t.filter(a=>a!==void 0);console.debug("%cTRACE",Td("gray"),e,...i)}const n=t.length?`${e} [Args: ${pN(t)}]`:e;Fw(vu.TRACE,n)}function al(e,t){const{message:n,details:i,originalError:a}=gN(e,t);t===ii.CPL_FRAMEWORK&&a?console.error("%cERROR",Td("red"),e,a):console.error("%cERROR",Td("red"),e);const o=i?`${n}, ${i}`:n;Fw(vu.ERROR,o,t)}function hN(){h0.length=0}async function Fw(e,t,n){try{const i=`${new Date().toISOString()} [${e}] ${t}`;h0.push(i),e===vu.ERROR&&await cN(h0,n)}catch(i){fN("Error during uploading logs:",i)}}function dN(){return(window.sessionStorage.getItem("imaLogLevel")??vu.ERROR)===vu.TRACE}function Td(e,t="white"){return`background: ${e}; color: ${t}; font-weight: bold; padding: 2px 6px; border-radius: 3px`}function pN(e){return e.map(t=>typeof t=="object"?zw(t):String(t)).join(", ")}function gN(e,t){return e instanceof ls?{message:e.message,details:mN(e,t),originalError:e.originalError}:e instanceof Error?{message:e.message,details:vN(e),originalError:void 0}:{message:e,details:"",originalError:void 0}}function mN(e,t){const n=[];n.push(`Type: ${e.errorType}`),(e.context??t)&&n.push(`Context: ${e.context??t}`),e.statusCode&&n.push(`Status: ${e.statusCode}`);const i=yN(e.originalError);return i&&n.push(`Original Error: ${i}`),e.stack&&n.push(`Stack: ${Bw(e.stack)}`),n.join(", ")}function vN(e){const t=[];return e.name&&t.push(`Name: ${e.name}`),e.stack&&t.push(`Stack: ${Bw(e.stack)}`),t.join(", ")}function Bw(e,t=5){const n=e.split(`
142`);return n.length<=t?e:n.slice(0,t).join(`
143`)+`
144... (truncated ${n.length-t} lines)`}function yN(e){if(e instanceof Error){const{stack:t,...n}={...e,name:e.name,message:e.message};return JSON.stringify(n)}return zw(e)}function zw(e){try{return JSON.stringify(e)}catch{return"[Unserializable Object]"}}const Hw=e=>{if(e.url&&!ZS(e.url,f0)){const t=e.method?.toUpperCase(),n=e.url,i=e.data;Qt(`Request: ${t} ${n}`,i)}return e},$w=200,Vw=e=>{const{config:t,status:n,data:i}=e;if(t.url&&!ZS(t.url,f0)){const a=t.method?.toUpperCase(),o=t.url,f=i?bN(i):"no body";Qt(`Response: ${a} ${o} [${n}]`,f)}return e};function d0(e){if(!e)return e;if(Array.isArray(e))return e.map(d0);if(typeof e=="object"){const t={};for(const n in e)t[n]=d0(e[n]);return t}if(typeof e=="string"){if(e.trim().startsWith("<svg")||e.trim().startsWith("data:image"))return"[Binary/SVG Content]";if(e.length>500)return`${e.substring(0,100)}... [Large String: ${e.length} chars]`}return e}function bN(e){const t=d0(e),n=JSON.stringify(t);return n.length<=$w?n:`${n.substring(0,$w)}... (truncated)`}let p0=0;const ol={get(){return p0},increment(){p0++},reset(){p0=0}},qw=async e=>{if(ol.increment(),ol.get()>"20"){ol.reset();const t=us("Maximale Anzahl an Requests erreicht.");return Promise.reject(t)}return e},Zc=Nn.create({baseURL:""});async function g0(e){return Promise.reject(va(e))}Zc.interceptors.request.use(Hw,g0),Zc.interceptors.request.use(qw,g0),Zc.interceptors.response.use(Vw,g0);async function Kw(e){const t=Vc()+"/services/mka/refresh",n={requestType:e,details:{}};try{await Zc.post(t,n,{headers:{"Content-Type":"application/json"}}),Qt("CPL-Workflow: Init Refresh (successful)")}catch{Qt("CPL-Workflow: Init Refresh (failed)")}}async function SN(e,t){const n=Vc()+"/services/mka/stat",i={workflowId:e,workflowStepId:t};try{await Zc.post(n,i,{headers:{"Content-Type":"application/json"}}),Qt("CPL-Workflow: Write statistic (successful)")}catch{Qt("CPL-Workflow: Write statistic (failed)")}}function wN(){window.addEventListener("if-session-update",()=>{Kw(Km.SESSION_UPDATE)}),window.addEventListener("if-unterkonten-update",()=>{Kw(Km.SESSION_UKT_UPDATE)})}let Qc=null;const m0=B.createContext(null),_N=e=>{let t=null;const n=()=>(Qc!==null||(Qt("CPL-Workflow: Create and initialize appshell"),Qc=rI(e),Qc.init(),wN()),Qc);return{getInitializedAppShell:n,getSlotEventListenerRegistry:()=>(t!==null||(t=new LT(n())),t)}},EN=(e,t="element should be be HTMLDivElement")=>{if(e instanceof HTMLDivElement)return e;throw new Error(t)},kd=(e,t="value should not be undefined")=>{if(e===void 0)throw new Error(t);return e};class AN{constructor(t){this.pageAttributes=new Map,this.configElement=t,this.element=EN(t.parentElement,"BankingBox element must be HTMLDivElement");const n=t.dataset,i=n.workflowUri==="null"?null:n.workflowUri;if(!i&&!n.workflowId)throw new Error("workflowUri and workflowId cannot be both empty");if(!i&&n.workflowId&&!n.cplWorkflowId)throw new Error("if workflowUri is empty, workflowId and cplWorkflowId are mandatory");this.workflowUri=i??null,this.workflowId=n.workflowId??null,this.cplWorkflowId=n.cplWorkflowId??null,this.qual
144ifier=n.qualifier??null,this.gvpoolId=kd(n.gvpoolId,"gvpoolId is required in bankingbox"),this.slotId=kd(n.slotId,"slotId is required in bankingbox"),this.pipeline=n.pipeline??"portal",this.mandant=kd(n.mandant,"mandant is required in bankingbox"),this.lang=kd(n.lang,"lang is required in bankingbox"),this.border=n.border==="true",this.resume=n.resume==="true",this.hideNavigationButtons=n.hideNavigationButtons==="true",this.backNavigation=n.backNavigation==="true";const a=n.workflowInput??null;a?this.workflowInput=atob(a):this.workflowInput="{}";const o=t.querySelector("div[id^='bankingboxPageAttributes-']");o instanceof HTMLDivElement&&Object.keys(o.dataset).forEach(f=>{const p=o.dataset[f];p!==void 0&&this.pageAttributes.set(f,p)})}toString(){return`BankingBox{element: ${String(this.element)}}, 
145            workflowId: ${this.workflowId}, 
146            cplWorkflowId: ${this.cplWorkflowId},
147            qualifier: ${this.qualifier}, 
148            workflowUri: ${this.workflowUri}, 
149            gvpoolId: ${this.gvpoolId}, 
150            slotId: ${this.slotId}, 
151            pipeline: ${this.pipeline},
152            mandant: ${this.mandant}, 
153            lang: ${this.lang}, 
154            border: ${this.border},             
155            backNavigation: ${this.backNavigation},
156            workflowInput: ${this.workflowInput}, 
157            hideNavigationButtons: ${this.hideNavigationButtons}, 
158            resume: ${this.resume}, 
159            pageAttributes: ${String(this.pageAttributes)},
160            mainSlot: ${this.isInMainSlot}
161        }`}get isInPrintView(){return this.pipeline==="print"}get isInMainSlot(){return this.slotId.includes("MAIN")}get availableGlossarPages(){return this.pageAttributes.get("glossars")?.split(",")??[]}}function v0(e){return Array.from(e.querySelectorAll('div[id^="bankingbox-"]'))}function Gw(){return v0(window.document.body).map(xN).filter(t=>t!==null)}function xN(e){try{return new AN(e)}catch(t){return t instanceof Error?al(`Creating BankingBox failed: ${t.message}`):al("Creating BankingBox failed"),null}}var cs=(e=>(e.BREMERLB="BREMERLB",e.LBBW="LBBW",e.DKB="DKB",e.SPARKASSE="SPARKASSE",e.HASPAPB="HASPAPB",e.NORDLB="NORDLB",e.AACHENPB="AACHENPB",e.WEBERBANK="WEBERBANK",e))(cs||{});const CN="/etc/clientlibs/myif/master/fi/cs_",TN="cs_";function kN(){const e=document.querySelector(`link[type="text/css"][rel="stylesheet"][href^="${CN}"]`);if(!e)return null;const t=e.attributes.getNamedItem("href")?.value;if(!t)return null;const n=t.lastIndexOf(TN),i=t.indexOf(".",n);return i===-1?null:t.substring(n,i)}function ON(){switch(kN()){case"cs_blb":return cs.BREMERLB;case"cs_bwbank":return cs.LBBW;case"cs_dkb":return cs.DKB;case"cs_haspa":return cs.SPARKASSE;case"cs_haspa_private-banking":return cs.HASPAPB;case"cs_koelnbonn-firmenkunden":return cs.SPARKASSE;case"cs_nordlb":return cs.NORDLB;case"cs_private-banking":return cs.AACHENPB;case"cs_weberbank":return cs.WEBERBANK;default:return cs.SPARKASSE}}const Ww=B.createContext(null);function RN({children:e}){const[t]=B.useState(new Map);return te.jsx(Ww.Provider,{value:t,children:e})}function Yw(){const e=B.useContext(Ww);if(!e)throw new Error("usePortalRegistry must be used within a PortalRegistryProvider");return e}const LN=({bankingBox:e,children:t})=>{const n=Yw(),i=document.createElement("div");return Qt(`Create portal (${e.slotId})`),e.element.replaceChild(i,e.configElement),B.useEffect(()=>(n.set(e.slotId,i),()=>{n.delete(e.slotId)}),[e.slotId,n,i]),Kg.createPortal(t,i)};var yu=(e=>(e.INACTIVE="INACTIVE",e.INITIALIZING="INITIALIZING",e.RUNNING="RUNNING",e.ERROR="ERROR",e))(yu||{});const IN=(e,t,n,i)=>{const a=[n,{code:t,...i||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);ll(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},Xw={},Zw=(e,t,n,i)=>{ll(n)&&Xw[n]||(ll(n)&&(Xw[n]=new Date),IN(e,t,n,i))},Qw=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},y0=(e,t,n)=>{e.loadNamespaces(t,Qw(e,n))},Jw=(e,t,n,i)=>{if(ll(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y0(e,n,i);
161n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,Qw(e,i))},MN=(e,t,n={})=>!t.languages||!t.languages.length?(Zw(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!a(i.isLanguageChangingTo,e))return!1}}),ll=e=>typeof e=="string",NN=e=>typeof e=="object"&&e!==null,PN=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,DN={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},UN=e=>DN[e];let b0={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(PN,UN),transDefaultProps:void 0};const jN=(e={})=>{b0={...b0,...e}},FN=()=>b0;let e_;const BN=e=>{e_=e},zN=()=>e_,HN={type:"3rdParty",init(e){jN(e.options.react),BN(e)}},t_=B.createContext();class $N{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var S0={exports:{}},w0={};var n_;function VN(){if(n_)return w0;n_=1;var e=oc();function t(S,x){return S===x&&(S!==0||1/S===1/x)||S!==S&&x!==x}var n=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,o=e.useLayoutEffect,f=e.useDebugValue;function p(S,x){var O=x(),L=i({inst:{value:O,getSnapshot:x}}),R=L[0].inst,V=L[1];return o(function(){R.value=O,R.getSnapshot=x,g(R)&&V({inst:R})},[S,O,x]),a(function(){return g(R)&&V({inst:R}),S(function(){g(R)&&V({inst:R})})},[S]),f(O),O}function g(S){var x=S.getSnapshot;S=S.value;try{var O=x();return!n(S,O)}catch{return!0}}function u(S,x){return x()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:p;return w0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,w0}var r_;function qN(){return r_||(r_=1,S0.exports=VN()),S0.exports}var KN=qN();const GN={t:(e,t)=>ll(t)?t:NN(t)&&ll(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},WN=()=>()=>{},Ja=(e,t={})=>{const{i18n:n}=t,{i18n:i,defaultNS:a}=B.useContext(t_)||{},o=n||i||zN();o&&!o.reportNamespaces&&(o.reportNamespaces=new $N),o||Zw(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const f=B.useMemo(()=>({...FN(),...o?.options?.react,...t}),[o,t]),{useSuspense:p,keyPrefix:g}=f,u=a||o?.options?.defaultNS,y=ll(u)?[u]:u||["translation"],S=B.useMemo(()=>y,y);o?.reportNamespaces?.addUsedNamespaces?.(S);const x=B.useRef(0),O=B.useCallback(oe=>{if(!o)return WN;const{bindI18n:_e,bindI18nStore:ge}=f,I=()=>{x.current+=1,oe()};return _e&&o.on(_e,I),ge&&o.store.on(ge,I),()=>{_e&&_e.split(" ").forEach(ue=>o.off(ue,I)),ge&&ge.split(" ").forEach(ue=>o.store.off(ue,I))}},[o,f]),L=B.useRef(),R=B.useCallback(()=>{if(!o)return GN;const oe=!!(o.isInitialized||o.initializedStoreOnce)&&S.every(De=>MN(De,o,f)),_e=t.lng||o.language,ge=x.current,I=L.current;if(I&&I.ready===oe&&I.lng===_e&&I.keyPrefix===g&&I.revision===ge)return I;const me={t:o.getFixedT(_e,f.nsMode==="fallback"?S:S[0],g),ready:oe,lng:_e,keyPrefix:g,revision:ge};return L.current=me,me},[o,S,g,f,t.lng]),[V,K]=B.useState(0),{t:se,ready:ne}=KN.useSyncExternalStore(O,R,R);B.useEffect(()=>{if(o&&!ne&&!p){const oe=()=>K(_e=>_e+1);t.lng?Jw(o,t.lng,S,oe):y0(o,S,oe)}},[o,t.lng,S,ne,p,V]);const J=o||{},X=B.useRef(null),U=B.useRef(),Y=oe=>{const _e=Object.getOwnPropertyDescriptors(oe);_e.__original&&delete _e.__original;const ge=Object.create(Object.getPrototypeOf(oe),_e);if(!Object.prototype.hasOwnProperty.call(ge,"__original"))try{Object.defineProperty(ge,"__original",{value:oe,writable:!1,enumerable:!1,
161configurable:!1})}catch{}return ge},Ce=B.useMemo(()=>{const oe=J,_e=oe?.language;let ge=oe;oe&&(X.current&&X.current.__original===oe?U.current!==_e?(ge=Y(oe),X.current=ge,U.current=_e):ge=X.current:(ge=Y(oe),X.current=ge,U.current=_e));const I=[se,ge,ne];return I.t=se,I.i18n=ge,I.ready=ne,I},[se,J,ne,J.resolvedLanguage,J.language,J.languages]);if(o&&p&&!ne)throw new Promise(oe=>{const _e=()=>oe();t.lng?Jw(o,t.lng,S,_e):y0(o,S,_e)});return Ce};function YN({i18n:e,defaultNS:t,children:n}){const i=B.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return B.createElement(t_.Provider,{value:i},n)}const XN=({onDisplayBfsgHelpText:e})=>{const{t}=Ja();return te.jsx("button",{className:"mkp-button mkp-icon-button mkp-icon-button-m mkp-button-tertiary",onClick:e,"aria-label":t("aria.label.accessibility"),children:te.jsx("i",{className:"mkp-icon-svg mkp-icon-accessibility-s"})})},i_=B.createContext(null),_0={didCatch:!1,error:null};class ZN extends B.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=_0}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,i,a=arguments.length,o=new Array(a),f=0;f<a;f++)o[f]=arguments[f];(n=(i=this.props).onReset)===null||n===void 0||n.call(i,{args:o,reason:"imperative-api"}),this.setState(_0)}}componentDidCatch(t,n){var i,a;(i=(a=this.props).onError)===null||i===void 0||i.call(a,t,n)}componentDidUpdate(t,n){const{didCatch:i}=this.state,{resetKeys:a}=this.props;if(i&&n.error!==null&&QN(t.resetKeys,a)){var o,f;(o=(f=this.props).onReset)===null||o===void 0||o.call(f,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(_0)}}render(){const{children:t,fallbackRender:n,FallbackComponent:i,fallback:a}=this.props,{didCatch:o,error:f}=this.state;let p=t;if(o){const g={error:f,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")p=n(g);else if(i)p=B.createElement(i,g);else if(a!==void 0)p=a;else throw f}return B.createElement(i_.Provider,{value:{didCatch:o,error:f,resetErrorBoundary:this.resetErrorBoundary}},p)}}function QN(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,i)=>!Object.is(n,t[i]))}function JN(e){if(e==null||typeof e.didCatch!="boolean"||typeof e.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function e6(){const e=B.useContext(i_);JN(e);const[t,n]=B.useState({error:null,hasError:!1}),i=B.useMemo(()=>({resetBoundary:()=>{e.resetErrorBoundary(),n({error:null,hasError:!1})},showBoundary:a=>n({error:a,hasError:!0})}),[e.resetErrorBoundary]);if(t.hasError)throw t.error;return i}function E0(){const{showBoundary:e}=e6();return{showAppErrorBoundary:B.useCallback(n=>e(va(n)),[e])}}function t6(e,t){const n=B.useContext(m0),{showAppErrorBoundary:i}=E0();if(n===null)throw new Error("CplAdapterContext is not provided");const a=n.getInitializedAppShell();B.useEffect(()=>((async()=>{try{const f=await n6(e.cplSlotId,a,t.current);await r6(e,f)}catch(f){i(f)}})(),()=>{a.findSlot(e.cplSlotId)?.destroy()}),[a,t,i,e,e.cplSlotId])}async function n6(e,t,n){const i=t.findSlot(e);return i?(Qt(`CPL-Workflow: Found slot (${i.name})"`),Promise.resolve(i)):(Qt(`CPL-Workflow: Create slot (${e})`),await t.createSlot({name:e},n??void 0))}async function r6(e,t){try{const{app:n,context:i,isResumed:a,didCplHandoverControl:o,workflowId:f,workflowName:p,workflowVersion:g,inputModel:u}=e;if(a&&o){Qt(`CPL-Workflow: Execute Action 'processIFResult' (${t.name})`),await m5(t,{action:"processIFResult",input:{parameters:e.inputModel}});return}if(a&&!o){if(Qt(`CPL-Workflow: Update workflow (${t.name})`,i),await g5(t,{contextData:i})===void 0)throw oN(`Updating workflow failed. There is no active workflow in the given slot (${t.name})`);return}a||(Qt(`CPL-Workflow: Start workflow ${f} (${t.name})`),p5(t,n,p,g,{input:u,resumeIfAlreadyActive:!1}))}catch(n){throw n instanceof ls?n:jw(n)}}const s_="nbf-size-process",a_="nbf-size-standard",o_="nbf-size-plus-standard",i6=[s_,a_,o_],l_="nbf-banking9",u_="Reset",s6=[l_],a6="Form",o6="Default",l6="Wide",u6="Default";function A0(e){return document.getElementById(`${e}`)}function c6(e){switch(e.toUpperCase()){case a6.toUpperCase():return s_;case o6.toUpperCase():return a_;case l6.toUpperCase():return o_;default:return null}}function f6(e,t){const n=c6(t);if(n===null)return;const i=A0(e);if(i){Qt(`CPL-Workflow: Set IF slot size (${t})`);for(const a of i6)i.classList.contains(a)&&i.classList.remove(a);i.classList.contains(n)||i.classList.add(n);try{Qt("IF6.adjustBankingLevel()"),fu().adjustBankingLevel()}catch(a){al(va(a),ii.CPL)}}}function h6(e){return e?.toUpperCase()===u6.toUpperCase()?l_:u_}function d6(e,t){const n=A0(e);if(n){Qt(`CPL-Workflow: Set IF slot layer (${t})`);const i=h6(t);for(const a of s6)n.classList.contains(a)&&(n.classList.remove(a),p6(n,a));u_===i?c_(n):n.classList.contains(i)||n.classList.add(i);try{fu().adjustBankingLevel()}catch(a){al(va(a),ii.CPL)}}}function p6(e,t){e.classList.contains(t)&&(e.classList.remove(t),e.dataset.defaultClass||(e.dataset.defaultClass=t))}function c_(e){const t=e.dataset.defaultClass;t&&e.classList.add(t)}function f_(e){const t=A0(e);t&&c_(t)}function g6(e){const[t,n]=B.useState(null),[i,a]=B.useState(null);return B.useEffect(()=>(t&&f6(e,t),()=>{t!==null&&f_(e)}),[t,e]),B.useEffect(()=>
161(i&&d6(e,i),()=>{i!==null&&f_(e)}),[i,e]),{setCplSize:n,setCplLayer:a}}var x0=(e=>(e.SUCCESS="SUCCESS",e.INFO="INFO",e))(x0||{});const m6=e=>({id:ta(),type:v6(e.messageType),displayDurationInMs:e.displayDuration*1e3,messageHeader:e.headerMessage,messageEntries:e.messages,timestamp:Date.now()});function v6(e){return x0[e]}function y6(e){return b6(e.severity)?{id:e.id,type:S6(e.severity),messageHeader:e.label,messageEntries:[e.message],timestamp:e.timestamp}:null}function b6(e){return e===rs.Success}function S6(e){return{[rs.Success]:x0.SUCCESS}[e]}var bu=(e=>(e.Title="Title",e.SimpleAccountCard="SimpleAccountCard",e.ExtendedAccountCard="ExtendedAccountCard",e))(bu||{}),Jc=(e=>(e.DisplayInWebView="DisplayInWebView",e.ShowBalance="ShowBalance",e.ShowAllAccountSwitcherOptions="ShowAllAccountSwitcherOptions",e))(Jc||{});const h_=(e,t)=>{const n=new Set;return e.split(",").forEach(i=>{const a=i.trim(),o=Object.keys(t).find(f=>String(t[f]).toLowerCase()===a.toLowerCase());o!==void 0&&n.add(t[o])}),Array.from(n)},d_="if.overlay",p_="if.width",g_="if.features",m_="if.account-card-options",v_="account-card-upd-permissions",w6=e=>e.trim()?e.split(",").map(t=>t.trim()):[],_6=e=>typeof e[v_]=="string"?w6(e[v_]):[],E6=e=>typeof e[g_]=="string"?h_(e[g_],bu):[],A6=e=>typeof e[m_]=="string"?h_(e[m_],Jc):[],ef=(e,t)=>e.status===t,x6=e=>{switch(e.type){case ti.React:return`${e.uiName}/${e.viewName}`;case ti.OSPlusNeo:return`${e.neoId}/${e.neoEntry}`;case ti.InternetFiliale:return`${e.ifId}/${e.ifQualifier}`;default:return"any"}};function C6(e,t,n){const i=()=>t.getSlot(e.cplSlotId);return{onNavigationEvent(a){if(a.target){const o=a.target.key,f=x6(a.target);o&&SN(o,f)}a.navigationType,zo.Exit},onNotificationEvent(a){const o=y6(a);o&&n.onNotification(o)},onMetaDataEvent(a){k6(a)&&n.onSupportsBfsgInfo(!0),typeof a[d_]=="string"&&n.onLayerProvided(a[d_]),typeof a[p_]=="string"&&n.onSizeProvided(a[p_]),typeof a.title=="string"&&n.onTitleChanged(a.title),n.onAccountCardUpdRightsProvided(_6(a)),n.onIfFeaturesChanged(E6(a)),n.onIfAccountCardOptionsChanged(A6(a))},onSlotUpdate(a,o){if(a===Xn.INTERNAL)return;if(ef(o,ut.ERROR)&&n.onError(o.error),(ef(o,ut.CREATED)||ef(o,ut.BUSY))&&n.onLoading(),ef(o,ut.ACTIVE)&&n.onStart(),ef(o,ut.EMPTY)&&a!==Xn.INIT){const g=i().output;n.onEndNavigation(g)}if(a===Xn.LOAD&&i().isBackground()){const g=T6(o),u=o.input;Qt(`CPL-Workflow: Start IF-Workflow "${g.workflowId}"`),n.onStartNavigation(g,u?.parameters)}}}}const T6=e=>{const t=e.ui;return{workflowId:t.ifId,qualifier:t.ifQualifier??void 0}},k6=e=>Array.isArray(e.helpAvailable)&&e.helpAvailable.every(t=>typeof t=="string")&&e.helpAvailable.includes("A11y");function O6(e,t){const n=B.useContext(m0);if(n===null)throw new Error("CplAdapterContext not provided");const i=n.getInitializedAppShell(),a=n.getSlotEventListenerRegistry();B.useEffect(()=>{const o=C6(e,i,t);return a.addListenerForSlot(e.cplSlotId,o),()=>{a.removeListenerForSlot(e.cplSlotId)}},[i,a,e,e.cplSlotId,t])}let Su=null;function R6(e=1e3){if(!Su){if(e<=0){window.dispatchEvent(new Event("if_busy_view_open"));return}Su=window.setTimeout(()=>{window.dispatchEvent(new Event("if_busy_view_open")),Su=null},e)}}function y_(){Su&&(clearTimeout(Su),Su=null),window.dispatchEvent(new Event("if_busy_view_close"))}function C0({isBusyBoxVisible:e}){B.useEffect(()=>(e?R6():y_(),()=>{y_()}),[e])}var zn=(e=>(e.CPL="CPL",e.LNS="LNS",e.AEM="AEM",e))(zn||{});const L6=({glossarPage:e})=>{const{t}=Ja();function n(){const i=new URL(window.location.origin);return i.searchParams.set("lightbox",e),i.toString()}return B.useEffect(()=>{document.dispatchEvent(new Event("if6_page_ready"))},[]),te.jsx("a",{href:n(),target:"_blank",className:"lightbox-link","data-glossarbutton":"true",rel:"noopener",title:t("gv.button.glossarInformationen.alt.title"),"aria-label":t("gv.button.glossarInformationen.alt.title"),children:te.jsx("span",{className:"mkp-flex mkp-icon-svg mkp-svg-bg mkp-icon-infoiiconunfilled mkp-icon-size-SMALL_22"})})},I6=({infoAktualisierungDatum:e})=>{const{t,i18n:n}=Ja(),i=M6(e,n.resolvedLanguage);return te.jsxs("div",{className:"mkp-notification mkp-notification-warning mkp-notification-banner mkp-line-small-margin",children:[te.jsx("div",{className:"mkp-notification-icon"}),te.jsx("div",{className:"mkp-notification-content",children:t("mbf.finanzstatus.uebersicht.hinweis.alterSaldo",{value:i})})]})};function M6(e,t="de-DE"){const n=/^(\d{4})-(\d{2})-(\d{2})$/u.exec(e);if(!n)throw us(`Datumsformat ist nicht valide: ${e}`);const[,i,a,o]=n,f=new Date(Number(i),Number(a)-1,Number(o),0,0,0),p=new Intl.DateTimeFormat(t,{year:"numeric",month:"2-digit",day:"2-digit"}).format(f),g=new Intl.DateTimeFormat(t,{hour:"2-digit",minute:"2-digit",hour12:!1}).format(f);return`${p} ${g}`}var T0={exports:{}};var b_;function N6(){return b_||(b_=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",f=0;f<arguments.length;f++){var p=arguments[f];p&&(o=a(o,i(p)))}return o}
161function i(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var f="";for(var p in o)t.call(o,p)&&o[p]&&(f=a(f,p));return f}function a(o,f){return f?o?o+" "+f:o+f:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(T0)),T0.exports}var P6=N6();const Od=jo(P6),D6={hideOnPrint:"_hide-on-print_jdj0c_2"},U6=({onChangeKonto:e,hasCenterPosition:t})=>{const{t:n}=Ja();function i(a){a.key==="Enter"&&(a.preventDefault(),e())}return te.jsx("div",{className:Od("mkp-identifier-account-link",D6.hideOnPrint,{"mkp-text-nowrap mkp-flex-1 mkp-justify-content-flex-start":t}),children:te.jsx("a",{onClick:e,className:"mkp-button mkp-button-tertiary mkp-button-tertiary-m nav-accountchange",title:n("nbf.kontoauswahl.konto.wechsel"),"data-target_level":"1","data-target_navigation":"de",tabIndex:0,role:"button",onKeyDown:i,children:n("nbf.kontoauswahl.konto.wechsel")})})},j6=({isAlleKonten:e,logo:t})=>t?te.jsx("div",{role:"img",className:"mkp-identifier-sticker","aria-hidden":"true",dangerouslySetInnerHTML:{__html:t},style:{display:"inline-block"}}):e?te.jsx(GL,{"data-size":"medium",variant:"circular","aria-hidden":"true",className:"mkp-identifier-sticker mkp-identifier-placeholder mkp-identifier-sticker-grey mkp-identifier-sticker-full",children:te.jsx(F4,{fontSize:"medium"})}):null,F6=({konto:{isLbsSubKonto:e,lbsSubKontoTarifName:t,kontoBeschreibung:n,kontoName:i,kontoZusatz:a,isStandardKonto:o,isNachhaltigKonto:f,isAlleKonten:p,isEigenerKontonameSichtbar:g}})=>{const{t:u}=Ja(),y=()=>{if(p)return u("nbf.kontoauswahl.allekonten");const S=[];return e?(o?S.push(u("lbs.kontoart.+standard")):f&&S.push(u("lbs.kontoart.+nachhaltig")),S.push(t)):(S.push(n),g&&S.push(i),S.push(a)),S.filter(Boolean).join(" - ")};return te.jsx("div",{className:"mkp-headline-04",children:te.jsxs("div",{style:{display:"flex",alignItems:"end"},children:[te.jsx("h2",{className:"mkp-headline-04",children:y()}),te.jsx(te.Fragment,{children:" "}),f&&te.jsx("span",{className:"mkp-toggletip mkp-toggletip-leaf mkp-toggletip-standardkonto mkp-toggletip-overlay-small mkp-toggletip-overlay-padding-small mkp-toggletip-overlay-text-center",children:te.jsx("span",{role:"button",className:"mkp-toggletip-button",title:u("gv.button.glossarInformationen.alt.title"),"data-text":u("nbf.finanzstatus.nachhaltig"),tabIndex:0})}),o&&te.jsx("span",{className:"mkp-toggletip mkp-toggletip-star mkp-toggletip-standardkonto mkp-toggletip-overlay-small mkp-toggletip-overlay-padding-small mkp-toggletip-overlay-text-center",children:te.jsx("span",{role:"button",className:"mkp-toggletip-button",title:u("gv.button.glossarInformationen.alt.title"),"data-text":u("verwaltung.einstellungen.standardkonto"),tabIndex:0})})]})})},S_="de-DE",w_=(e,t)=>new Intl.NumberFormat(S_,{style:"currency",currency:t,currencyDisplay:"code"}).format(e),B6=e=>`${new Intl.NumberFormat(S_,{maximumFractionDigits:0,minimumFractionDigits:0,useGrouping:!0}).format(e)} °P`,z6=({saldo:e,waehrung:t,hasSaldoZusatzInfo:n,saldoZusatzInfoSaldo:i,saldoZusatzInfoWaehrung:a,isPaybackKonto:o})=>{const{t:f}=Ja(),p=e<0;function g(){if(!n)return null;const u=w_(i,a),y=`${f("fpl.vuk.spartopf.saldo.subline")}: ${u}`;return te.jsx("span",{className:"mkp-currency-underline",children:y})}return te.jsxs("div",{className:"mkp-identifier-currency",children:[te.jsx("p",{className:"mkp-currency mkp-currency-lg",children:te.jsx("span",{className:Od("balance-decimal",p?"minus":"plus"),children:o?B6(e):w_(e,t)})}),g()]})},H6=()=>{const{t:e}=Ja(),[t,n]=B.useState(!1);function i(){n(o=>!o)}function a(o){o.key==="Enter"&&(o.preventDefault(),i())}return te.jsx("div",{className:"mkp-identifier-helper",children:te.jsx(ZL,{onClickAway:()=>n(!1),children:te.jsx("span",{className:"mkp-toggletip",children:te.jsx("span",{role:"button",title:e("gv.button.glossarInformationen.alt.title"),"aria-label":e("gv.button.glossarInformationen.alt.title"),className:Od("mkp-toggletip-button",{active:t}),tabIndex:0,onClick:i,"data-text":e("nbf.kontoauswahl.hinweistext.kontosaldo"),onKeyDown:a})})})})},$6=e=>e.replace(/(\d)(?=(\d{4})+(?=\d{2}$))/gu,"$1 ").replace(/(\d{2})$/u," $1").trim(),V6=e=>e.replace(/(.{4})/gu,"$1 "),q6=({iban:e})=>{const t=V6(e),n=e.slice(-10).replace(/^0+/u,""),i=$6(n),a=t.lastIndexOf(i);
161return te.jsxs(te.Fragment,{children:[t.substring(0,a),te.jsx("strong",{children:i})]})},K6=e=>(e.url&&(e.url=Wm(e.url)),e),Bi=Nn.create({baseURL:""});async function Rd(e){return Promise.reject(va(e))}Bi.interceptors.request.use(K6,Rd),Bi.interceptors.request.use(Hw,Rd),Bi.interceptors.request.use(qw,Rd),Bi.interceptors.response.use(Vw,Rd);const G6="/if-ma/selected-account";async function W6(){const{data:e}=await Bi.get(G6,{responseType:"json"});return e}const __=({onChangeKonto:e,isSaldoVisible:t=!1,isAccountChangePossible:n=!1})=>{const[i]=B.useState(!1),[a,o]=B.useState(null),f=t&&a?.saldo!==null&&!a?.isAlleKonten;return B.useEffect(()=>{(async()=>{try{const g=await W6();o(g)}catch{al(us("'Fehler beim Laden des ausgewählten Kontos.")),o(null)}})()},[]),a?te.jsx("div",{className:"nbf-gv mkp-transaction",children:te.jsxs("div",{className:Od("mkp-card","mkp-card-account","mkp-layout-margin","mkp-card-account-link",{"has-open-toggletip":i}),children:[te.jsxs("div",{className:"mkp-identifier",children:[te.jsxs("div",{className:"mkp-identifier-description",children:[te.jsx(F6,{konto:a}),!a.isAlleKonten&&te.jsxs(te.Fragment,{children:[a.iban&&te.jsx(q6,{iban:a.iban}),a.kartenNummer&&te.jsx(te.Fragment,{children:a.kartenNummer}),a.abweichendeInhaberNamen&&te.jsx("p",{children:a.abweichendeInhaberNamen})]})]}),n&&a.isKontoWechselMoeglich&&te.jsx(U6,{onChangeKonto:e,hasCenterPosition:a.isAlleKonten||!f}),te.jsx(j6,{isAlleKonten:a.isAlleKonten,logo:a.logo}),f&&a.saldo!==null&&te.jsx(z6,{saldo:a.saldo,waehrung:a.waehrung,hasSaldoZusatzInfo:a.hasSaldoZusatzInfo,saldoZusatzInfoSaldo:a.saldoZusatzInfoSaldo,saldoZusatzInfoWaehrung:a.saldoZusatzInfoWaehrung,isPaybackKonto:a.isPaybackKonto}),f&&!a.isPaybackKonto&&te.jsx(H6,{})]}),a.hasInfoAktualisierung&&te.jsx(I6,{infoAktualisierungDatum:a.infoAktualisierungDatum})]})}):null},Y6=({hasBottomDivider:e,children:t})=>te.jsx("div",{className:"nbf-gv",children:te.jsx("header",{className:"block nbf-gv-header mkp-gv-header",children:te.jsxs("div",{className:"contentbereichHeadline mkp-flex mkp-flex-wrap-wrap mkp-full-width",children:[te.jsx("div",{className:"mkp-inline-flex mkp-gap-SMALL-05",children:t}),e&&te.jsx("div",{className:"mkp-flex-full-width mkp-layout-margin-top-xsmall",children:te.jsx("div",{className:"mkp-divider mkp-divider-horizontal mkp-divider-horizontal-solid"})})]})})}),X6=({title:e})=>(B.useEffect(()=>{document.dispatchEvent(new Event("if6_page_ready"))},[e]),te.jsx("h1",{className:"mkp-headline-02",children:e})),Z6="show",E_="NBF_KONTOAUSWAHL_LIGHTBOX",Q6=({bankingBox:e,isMainWorkflow:t,workflow:n,workflowCallbacks:{handleWorkflowStartNavigation:i,handleWorkflowEndNavigation:a,handleWorkflowNotification:o,handleError:f}})=>{const p=B.useRef(null),[g,u]=B.useState(yu.INACTIVE),[y,S]=B.useState(null),[x,O]=B.useState(!1),[L,R]=B.useState([]),[V,K]=B.useState([]),[se,ne]=B.useState([]),{setCplSize:J,setCplLayer:X}=g6(n.cplSlotId);t6(n,p),C0({isBusyBoxVisible:g===yu.INITIALIZING}),B.useEffect(()=>{try{Qt("Calling IF6.adjustBankingLevel() in CplWorkflowComponent"),fu().adjustBankingLevel()}catch(Z){Qt("Calling IF6.adjustBankingLevel() in CplWorkflowComponent failed."),al(va(Z),ii.CPL)}},[]),O6(n,{onStartNavigation(Z,ke){i(Z,ke,!0)},onEndNavigation(Z){a(zn.CPL,Z)},onNotification:o,onTitleChanged:Z=>{S(Z)},onSizeProvided:J,onLayerProvided:X,onError:Z=>{u(yu.ERROR),f(jw(Z))},onLoading:()=>{u(yu.INITIALIZING)},onStart:()=>{u(yu.RUNNING)},onSupportsBfsgInfo:Z=>{O(Z)},onIfFeaturesChanged(Z){R(Z)},onIfAccountCardOptionsChanged(Z){K(Z)},onAccountCardUpdRightsProvided(Z){ne(Z)}});const Y=Z=>L.includes(Z),Ce=B.useMemo(()=>Z=>V.includes(Z),[V]),oe=B.useCallback(()=>{new yc({slot:n.cplSlotId,type:bc.A11y,action:Z6}).dispatch()},[n.cplSlotId]),_e=B.useCallback(()=>{i({workflowId:E_},{updRights:n.updRights??[],isAlleKarten:!1,updBasedInitialization:!0},!1)},[i,n.updRights]);function ge(){return t&&n.hasAccountBox&&(gd()?n.showWebView:!0)}const I=B.useCallback(()=>{i({workflowId:E_},{updRights:se,isAlleKarten:Ce(Jc.ShowAllAccountSwitcherOptions),updBasedInitialization:!0},!1)},[se,i,Ce]);function ue(){const Z=Y(bu.SimpleAccountCard)||Y(bu.ExtendedAccountCard),ke=Ce(Jc.DisplayInWebView);return t&&Z&&(gd()?ke:!0)}
161function me(){if(ge())return te.jsx(__,{isSaldoVisible:n.showBalance,onChangeKonto:_e,isAccountChangePossible:!0});if(!ue())return null;const Z=Y(bu.ExtendedAccountCard),ke=Z||Ce(Jc.ShowBalance);return te.jsx(__,{isSaldoVisible:ke,onChangeKonto:I,isAccountChangePossible:Z})}function De(){if(!(t&&Y(bu.Title)&&y))return null;const ke=e.availableGlossarPages[0];return te.jsxs(Y6,{hasBottomDivider:!(ue()||ge()),children:[te.jsx(X6,{title:y}),ke&&te.jsx(L6,{glossarPage:ke}),x&&te.jsx(XN,{onDisplayBfsgHelpText:oe})]})}return te.jsxs("div",{id:n.cplSlotId,className:"nbf-size-standard",style:{border:e.border?"1px dashed #2499ff":""},children:[De(),me(),te.jsx("div",{ref:p})]})};async function J6(e,t=10){const n=window[e];return n?Promise.resolve(n):new Promise(i=>{const a=()=>{const o=window[e];o?i(o):setTimeout(a,t)};a()})}function tf({variable:e,children:t}){const[n,i]=B.useState(!1);return B.useEffect(()=>{J6(e).then(()=>{i(!0)})},[e]),n?te.jsx(te.Fragment,{children:t}):null}var Ld=(e=>(e.RESET_WORKFLOWSTACK="RESET_WORKFLOWSTACK",e.CONTINUE="CONTINUE",e))(Ld||{}),Id=(e=>(e.ACTION="ACTION",e.RENDER="RENDER",e))(Id||{});class eP{constructor(t,n,i,a,o,f,p,g,u,y){this.workflow={workflowPoolId:t,workflowId:n.workflowId,qualifier:n.qualifier,type:i,requestActionType:a,slotId:o,pipeline:f,pageId:p,actionUrl:g},this.urlParameters=u,this.requestParameters=y}}const tP="/if-ma/ifcloudWorkflow";async function nP(e,t,n){const i=rP(n.urlParameters,n.requestParameters),a=window.location.pathname,o={workflowId:e.workflowId,qualifier:e.workflowQualifier},f=new eP(t.gvpoolId,o,n.type,n.actionType,t.slotId,t.pipeline,a,a,n.urlParameters,i);Qt(`LNS-Workflow: ${n.type} (${n.actionType}))`);const{data:p}=await Bi.post(tP,f,{params:{appId:e.app},headers:{"Accept-Language":t.lang,"x-uui-request-nonce":ta(),"x-fisession-request-timestamp":Date.now().toString()}});return p.result}function rP(e,t){const n=t??[];return e?.forEach(i=>n.push(i)),n}var Ms=(e=>(e.WORKFLOW_START="WORKFLOW_START",e.WORKFLOW_FINISH="WORKFLOW_FINISH",e.WORKFLOW_REPLACE="WORKFLOW_REPLACE",e.WORKFLOWSTEP="WORKFLOWSTEP",e.PAGE="PAGE",e.NAVIGATION="NAVIGATION",e.REDIRECT="REDIRECT",e.STAY="STAY",e))(Ms||{});function A_(e,t){const n=Wm(e);t?window.open(n,t):window.location.assign(n)}function iP(e,{handleWorkflowStartNavigation:t,handleWorkflowEndNavigation:n,handleError:i}){const{responseActionType:a,actionId:o,actionLink:f,actionQualifier:p}=e;if(a)switch(!0){case([Ms.WORKFLOW_START,Ms.WORKFLOW_REPLACE].includes(a)&&!!o):Qt(`LNS-Workflow: ${a} ${o}`),t({workflowId:o,qualifier:p});break;case a===Ms.WORKFLOW_FINISH:Qt(`LNS-Workflow: ${a}`),n(zn.LNS);break;case([Ms.REDIRECT,Ms.NAVIGATION].includes(a)&&!!f):if(!f?.linkRef)throw new Error("linkRef cannot be undefined");Qt(`LNS-Workflow: Redirect to ${f.linkRef}`),A_(f.linkRef,f.target);break;case a===Ms.STAY:return;default:i(c0(`Invalid Action: ${JSON.stringify(e)}`))}}function sP(e,t,{handleError:n}){(e.responseActionType===Ms.WORKFLOW_START||e.responseActionType===Ms.WORKFLOW_REPLACE||e.responseActionType===Ms.WORKFLOW_FINISH)&&e.actionId?t(i=>({...i,workflowId:e.actionId,workflowQualifier:e.actionQualifier,wasStartedByLnsRuntime:!0})):n(c0(`Invalid Last-Processed-Action: ${JSON.stringify(e)}`))}async function aP(){const e=oP(),{data:t}=await Bi.get(e.toString(),{responseType:"text"});return t}function oP(){const e=location.pathname;return gd()?e.replace(Gm,".ajstep.webview.html"):e.replace(".html",".ajstep.html")}function lP(e,t,n){const[i,a]=B.useState(e),[o,f]=B.useState(null),[p,g]=B.useState(!0),[u,y]=B.useState(null),S=B.useRef(0);B.useEffect(()=>{a(e)},[e]);const x=B.useCallback(async(V,K,se,ne)=>{y(null),g(!0);const J=++S.current;try{const X=await nP(V,t,{type:K,actionType:se,...ne});if(J===S.current){if(X.notifications&&X.notifications.forEach(U=>{const Y=m6(U);n.handleWorkflowNotification(Y)}
161),X.html&&X.lastProcessedAction&&sP(X.lastProcessedAction,a,n),X.html){const U=window.ifmkaadapterAemMode&&t.isInMainSlot&&!t.isInPrintView;let Y;U&&(Y=await aP()),f({html:X.html,section:Y});return}if(X.action){iP(X.action,n);return}n.handleError(c0(`Unbekanntes LNS-Workflow-Ergebnis: ${JSON.stringify(X)}`))}}catch(X){y(va(X))}finally{J===S.current&&g(!1)}},[t,n]),O=B.useCallback(async(V,K)=>x(V,Id.RENDER,Ld.RESET_WORKFLOWSTACK,K),[x]),L=B.useCallback(async(V,K)=>x(V,Id.RENDER,Ld.CONTINUE,K),[x]),R=B.useCallback(async(V,K)=>x(V,Id.ACTION,Ld.CONTINUE,K),[x]);return{currentWorkflow:i,workflowHtmlResult:o,isLoading:p,error:u,startWorkflow:O,resumeWorkflow:L,runWorkflowAction:R}}const uP="section.if6_outer.if6_section",x_=['a:not([href^="javascript:"])'],C_=['input[type="submit"]','input[type="image"]',"button"],cP=C_.map(e=>`form ${e}`),T_=x_.concat(cP).join(", "),Md=e=>{const t=e;t.button===1&&(t.preventDefault(),t.stopPropagation())},Hn={copyNbfSizeToBody(e){const t=e.querySelector('[class*="nbf-size"]');if(!t?.closest(".ajstep-replace"))return;let n;t.classList.forEach(o=>{o.startsWith("nbf-size")&&(n=o)});let i=!1;const a=document.body.classList;a.forEach(o=>{o.startsWith("nbf-size")&&(o===n?i=!0:a.remove(o))}),i||a.add(n)},async runScriptsSequentially(e){const t=Array.from(e.querySelectorAll("script"));for(const n of t){const i=document.createElement("script");for(const{name:a,value:o}of Array.from(n.attributes))i.setAttribute(a,o);n.src?await new Promise((a,o)=>{i.onload=a,i.onerror=o,i.src=n.src,n.parentNode?.replaceChild(i,n)}):(i.text=n.text,n.parentNode?.replaceChild(i,n))}},addClickHandlers(e,t){const n=async function(a){const o=L_(a.target);if(o instanceof HTMLElement){if(o.dataset.ajstepDisabled==="true")return;if(o instanceof HTMLAnchorElement&&o.target)return;if(o instanceof HTMLAnchorElement&&o.attributes.getNamedItem("href")?.value==="#")return}else return;await t(a)};e.querySelectorAll(T_).forEach(a=>{k0(a,n)});const i=new MutationObserver(a=>{for(const o of a)o.addedNodes.forEach(f=>{if(!(f instanceof Element))return;const p=x_.concat(C_).join(", ");f.matches(p)?k0(f,n):f.querySelectorAll(p).length>0&&f.querySelectorAll(p).forEach(g=>{k0(g,n)})})});return i.observe(e,{childList:!0,subtree:!0}),()=>i.disconnect()},removeClickHandlers(e){e.querySelectorAll(T_).forEach(t=>dP(t))},takeAjstepControl(e){const t=e.querySelector("form");if(!t)return;pP(t);const n=t.getAttribute("data-ajstep");n!==null&&(t.setAttribute("data-ajstepIma",n),t.removeAttribute("data-ajstep"))},findParentForm(e){return e instanceof HTMLFormElement?e:e instanceof HTMLInputElement||e instanceof HTMLButtonElement?e.form:null},getValuesFromParentForm(e){const t=Hn.findParentForm(e);if(!t)return;const n=new FormData(t),i=hP(n);if(e instanceof HTMLInputElement||e instanceof HTMLButtonElement){const a=e.name;i[a]||(i[a]=[]),i[a]=Array.of(e.value)}return i},addLnsActionParameterToAnchorElements(e){e.querySelectorAll(`a[href^='${location.pathname}']`).forEach(t=>mP(t))},handleGlossarButtonVisibility(e,t){const n=e.querySelector("a[data-glossarbutton]");if(t.length<0||!(n instanceof HTMLAnchorElement))return;const i=GS("lightbox",n.href);i&&t.some(o=>o.endsWith(i))||n.remove()}};function k_(){const e=document.querySelector(uP);if(!e)throw new Error("Section not found");return e}function O_(e){const t=document.createElement("template");t.innerHTML=e.trim();const n=t.content.firstElementChild;if(!n||n.tagName.toLowerCase()!=="section")throw new Error("Provided HTML does not have a <section> root element");return n}function fP(e,t){v0(e).forEach(i=>{const a=i.getAttribute("data-slot-id");if(!a)return;const o=t.get(a),f=i.parentElement;if(o&&f){const p=o.cloneNode(!0),g=o.parentElement;f.replaceChild(o,i),g?.appendChild(p)}})}function hP(e){const t={};return e.forEach((n,i)=>{typeof n=="string"&&(t[i]||(t[i]=[]),t[i].push(n))}),t}function k0(e,t){const n=gP(t);e.imaClickListener||(e.imaClickListener=n,e.addEventListener("click",n),e.addEventListener("mousedown",Md,!0),e.addEventListener("auxclick",Md,!0))}function dP(e){const t=e.imaClickListener;t&&(e.removeEventListener("click",t),e.removeEventListener("mousedown",Md,!0),e.removeEventListener("auxclick",Md,!0))}function pP(e){const t=e.getAttribute("action");t&&e.setAttribute("action",t.replace(".ajstep.html",".html")),e.querySelectorAll("a").forEach(n=>{const i=n.getAttribute("href");i&&n.setAttribute("href",i.replace(".ajstep.html",".html"))})}function gP(e){return t=>{e(t)}}function mP(e){e.href.includes(`${Nd}=`)||(e.href=R_(e.href,Nd,"true"))}function R_(e,t,n){let o=e;return o+=o.includes("?")?"&":"?",o+=`${t}=${n}`,o}function L_(e){let t=e;for(;t;){if(t instanceof HTMLAnchorElement)return t;t=t.parentElement}return e}function vP(e){if(e.dataset.ajstepScrollpos)return e.dataset.ajstepScrollpos;if(e.closest("form")){const t=e.closest("form");if(e.closest("form")&&t instanceof HTMLFormElement&&t.dataset.ajstepScrollpos)return t.dataset.ajstepScrollpos}return null}function yP(e){let t=document.getElementById(e);if(t){for(;t&&!(t instanceof HTMLBodyElement)&&window.getComputedStyle(t).display==="none";)t=t.parentElement;if(t&&!(t instanceof HTMLBodyElement))return t}}class O0{constructor(t,n){this.name=t,this.value=n}}const I_=e=>{e.preventDefault()},bP=({workflowHtmlResult:e,bankingBox:t,isLoading:n,onAction:i,onError:a})=>{const o=Yw(),f=B.useRef(null),p=new WeakSet,[g,u]=B.useState(null);function y(){g!=="current"&&window.scrollTo(0,0)}function S(){if(g&&g.length>1&&g.startsWith("#")){const se=yP(g.substring(1));if(se){const ne=se.offsetTop;window.scrollTo({top:ne})}}}async function x(se){ol.reset();try{let ne;const J=L_(se.target);switch(!0){case J instanceof HTMLAnchorElement:ne=J.href;break;case J instanceof HTMLFormElement:ne=J.action;break;case J instanceof HTMLInputElement:case J instanceof HTMLButtonElement:ne=J.formAction;break;default:return}const X=vP(J);if(u(X),se.preventDefault(),se.stopPropagation(),p.has(J))return;p.add(J),await O(J,new URL(ne))}catch(ne){a(ne)}}async function O(se,ne){const J=L(ne.searchParams),X=R(se);await i({urlParameters:J,requestParameters:X})}function L(se){const ne=[];for(const J of se.keys())ne.push(new O0(J,se.getAll(J)));return ne}function R(se){const ne=Hn.getValuesFromParentForm(se);if(ne)return Object.entries(ne).map(([J,X])=>new O0(J,X))}const[V,K]=B.useState(!0);return B.useEffect(()=>{const se=f.current;if(!se)return;let ne;return(async()=>{K(!0),se.addEventListener("submit",I_,!0);const X=async()=>{Hn.takeAjstepControl(se),Hn.copyNbfSizeToBody(se),Hn.handleGlossarButtonVisibility(se,t.availableGlossarPages),Hn.removeClickHandlers(se),await Hn.runScriptsSequentially(se),Hn.addLnsActionParameterToAnchorElements(se),ne=Hn.addClickHandlers(se,x)};if(e?.html){if(y(),e.section){const Y=k_();Y.setAttribute("aria-hidden","true"),Y.classList.add("ajstep-start");const Ce=O_(e.section);Ce.classList.add("ajstep-new"),Y.after(Ce),fP(Ce,o),se.innerHTML=e.html,await X(),Y.classList.add("ajstep-replace"),Y.remove(),Ce.classList.remove("ajstep-new")}else se.innerHTML=e.html,await X();fu().adjustBankingLevel(),document.dispatchEvent(new Event("if6_page_ready")),K(!1)}})(),setTimeout(()=>{S()},100),()=>{se.removeEventListener("submit",I_,!0),Hn.removeClickHandlers(se),ne?.()}},[t.isInMainSlot,t.isInPrintView,e,o]),te.jsxs("div",{style:{position:"relative",border:t.border?"1px dashed #966919":""},children:[te.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:10,backgroundColor:"transparent",visibility:n||V?"visible":"hidden",pointerEvents:n||V?"auto":"none"}}),te.jsx("div",{ref:f})]})},Nd="sp:lnsac",SP=({workflow:e,bankingBox:t,workflowCallbacks:n})=>{function i(){const S=WS();return Object.entries(S).map(([x,O])=>new O0(x,Array.of(O)))}const{currentWorkflow:a,workflowHtmlResult:o,isLoading:f,error:p,startWorkflow:g,resumeWorkflow:u,runWorkflowAction:y}=lP(e,t,n);if(C0({isBusyBoxVisible:f}),B.useEffect(()=>{if(a.wasStartedByLnsRuntime)return;const S=i();if(sI(Nd)){aI(Nd),y(a,{requestParameters:S});return}if(a.isResumed){u(a,{requestParameters:S});return}g(a,{requestParameters:S})},[a]),p)throw p;return o?.html?te.jsx(tf,{variable:"IF6",children:te.jsx(bP,{workflowHtmlResult:o,bankingBox:t,isLoading:f,onAction:async S=>y(a,S),onError:n.handleError})}):null};function wP(e){return e.type===zn.CPL}function _P(e){return e.type===zn.LNS}var nf=(e=>
161(e.ACTION="ACTION",e.RENDER="RENDER",e))(nf||{}),R0=(e=>(e.AJSTEP_LOCATION="AJSTEP_LOCATION",e.AJSTEP_LIGHTBOX_LOCATION="AJSTEP_LIGHTBOX_LOCATION",e.REDIRECT_LOCATION="REDIRECT_LOCATION",e))(R0||{});async function M_(e,t,n){Qt(`AEM-Workflow: ${e} ${t}`);const i=e===nf.ACTION&&n?"POST":"GET",a=AP(t),o={method:i,url:a.toString(),data:n},f=await Bi.request(o),p=EP(f);if(p==="text/html")return{html:f.data};if(p==="text/plain"){const g=f.data,u=g.indexOf("="),y=g.substring(0,u),S=g.substring(u+1);switch(y){case"AJSTEP_LOCATION":case"REDIRECT_LOCATION":return{action:{actionType:R0.REDIRECT_LOCATION,targetUrl:S}};case"AJSTEP_LIGHTBOX_LOCATION":return await M_(nf.RENDER,S);default:throw Cd(`Invalid navigation: ${y}`)}}throw Cd(`Invalid Content-Type ${p}`)}function EP(e){const t=e.headers["content-type"];return t?(typeof t=="string"?t:String(t)).split(";")[0].trim().toLowerCase():void 0}function AP(e){return gd()?e.replace(Gm,".ajstep.webview.html"):e.replace(".html",".ajstep.html")}function xP(e,{handleError:t}){const{actionType:n,targetUrl:i}=e;if(n===R0.REDIRECT_LOCATION){Qt(`AEM-Workflow: Redirect to ${i}`),A_(i);return}t(Cd(`Invalid Action: ${JSON.stringify(e)}`))}function N_(e){const[t,n]=B.useState(null),[i,a]=B.useState(!0),[o,f]=B.useState(null),p=B.useRef(0),g=B.useCallback(async(S,x,O)=>{f(null),a(!0);const L=++p.current;try{const R=await M_(S,x,O);if(L===p.current){if(R.html){n(R);return}if(R.action){xP(R.action,e);return}e.handleError(Cd("Unknown AEM-Workflow result"))}}catch(R){f(va(R))}finally{L===p.current&&a(!1)}},[e]),u=B.useCallback(async S=>g(nf.RENDER,S),[g]),y=B.useCallback(async(S,x)=>g(nf.ACTION,S,x),[g]);return{workflowResult:t,isLoading:i,error:o,resumeWorkflow:u,runWorkflowAction:y}}const CP=({html:e,onAction:t,onError:n})=>{async function i(f){ol.reset();try{let p;const g=f.target;switch(!0){case g instanceof HTMLAnchorElement:p=g.href;break;case g instanceof HTMLFormElement:p=g.action;break;default:return}f.preventDefault(),f.stopPropagation();const u=f instanceof SubmitEvent?f.submitter:null;await a(new URL(p).toString(),g,u)}catch(p){n(p)}}async function a(f,p,g){const u=Hn.findParentForm(p),y=o(u,g);await t(f,y)}function o(f,p){const g=f?new FormData(f):new FormData;return p instanceof HTMLInputElement&&g.append(p.name,p.value),g}return B.useEffect(()=>{const f=k_(),p=O_(e);f.replaceWith(p),v0(p).length>0&&$8(!1),Hn.takeAjstepControl(p),Hn.copyNbfSizeToBody(p),Hn.addClickHandlers(p,i),fu().adjustBankingLevel(),(async()=>(await Hn.runScriptsSequentially(p),document.dispatchEvent(new Event("if6_page_ready"))))()},[e]),null},TP=({workflow:e,workflowCallbacks:t})=>{const{workflowResult:n,error:i,resumeWorkflow:a,runWorkflowAction:o}=N_(t);if(B.useEffect(()=>{a(location.pathname)},[a,e]),i)throw i;return n?.html?te.jsx(tf,{variable:"IF6",children:te.jsx(CP,{html:n.html,onAction:o,onError:t.handleError})}):null};function kP(e){return e.type===zn.AEM}const P_="lightbox_visible",D_="if6_outer",L0="if6_inner",U_=`.${L0}`,j_="close-icon",F_=".use-as-lightbox-close-icon";function OP(e,t){if(!e)return;RP(e);const n=e.querySelector(U_);if(LP(e)||!n)return;const i=MP(n),a=IP(n);a?i.addEventListener("click",()=>(a.click(),!1)):i.addEventListener("click",()=>(PP(e,t),!1))}function RP(e){e.querySelector(`${U_}>a.${j_}`)?.remove()}function LP(e){const t=Pd(e,"form")||!Pd(e,".block.workflow_error"),n=Pd(e,".add-lightbox-close-icon"),i=Pd(e,F_);return t&&!n&&!i}function Pd(e,t){return e.querySelector(t)!==null}function IP(e){let t=e.querySelector(F_);return t?.tagName!=="A"&&(t=t?.querySelector("input")??null),!t||!(t instanceof HTMLElement)?null:t}function MP(e){const t=iI(),n=document.createElement("a");return n.href="#",n.title=t,n.classList.add("disable-overlay-close",j_),n.textContent=t,e.prepend(n),n}function NP(e){e.querySelectorAll("[id]").forEach(n=>n.removeAttribute("id"))}async function PP(e,t){document.body.classList.remove(P_),NP(e),e.setAttribute("aria-hidden","true"),e.closest(".if6_lightbox")?.classList.remove("lightbox-visible"),await t()}function DP(e,t){let n=e,i=n.indexOf(D_);return i>0&&(n=n.substring(0,i)+n.substring(i+D_.length)),i=n.indexOf(L0),i>0&&(n=n.substring(0,i)+n.substring(i+L0.length)),'<div class="if6_outer if6_lightbox lightbox-visible"'+(t?' data-ajstep-parent-url="'+t+'"':"")+'><div class="if6_inner">'+n+"</div></div>"}const UP=({html:e,onAction:t,onError:n,onClose:i})=>{const a=B.useRef(null);async function o(g){ol.reset();try{let u;const y=g.target;let S=g instanceof SubmitEvent?g.submitter:null;switch(!0){case y instanceof HTMLAnchorElement:u=y.href;break;case y instanceof HTMLFormElement:u=y.action;break;case y instanceof HTMLButtonElement:case y instanceof HTMLInputElement:if(y.form?.action){u=y.form.action,S=y;break}return;default:return}g.stopPropagation(),g.preventDefault(),await f(new URL(u).toString(),y,S)}catch(u){n(u)}}async function f(g,u,y){const S=Hn.findParentForm(u),x=p(S,y);await t(g,x)}function p(g,u){const y=g?new FormData(g):new FormData;return(u instanceof HTMLInputElement||u instanceof HTMLButtonElement)&&y.append(u.name,u.value),y}return B.useEffect(()=>{const g=a.current;
161return g?(g.innerHTML=DP(e,location.pathname),Hn.takeAjstepControl(g),Hn.copyNbfSizeToBody(g),Hn.removeClickHandlers(g),Hn.addClickHandlers(g,o),OP(a.current,i),document.body.classList.add(P_),fu().adjustBankingLevel(),(async()=>(await Hn.runScriptsSequentially(g),document.dispatchEvent(new Event("if6_page_ready"))))(),()=>{Hn.removeClickHandlers(g)}):void 0},[e,i]),te.jsx("div",{ref:a})};function jP({isMounted:e,delay:t}){const[n,i]=B.useState(e),a=B.useRef(null);return e&&!n&&i(!0),B.useEffect(()=>(!e&&n&&(a.current=window.setTimeout(()=>{i(!1)},t)),()=>{a.current!==null&&(clearTimeout(a.current),a.current=null)}),[e,t,n]),n}const FP=({isOpen:e,children:t})=>{const n=document.querySelector(".if6_main");return!jP({isMounted:e,delay:1e3})||!n?null:Kg.createPortal(t,n)},BP="sp:ac",zP=({workflowCallbacks:e,targetUrl:t,bankingBox:n})=>{const{workflowResult:i,error:a,resumeWorkflow:o,runWorkflowAction:f,isLoading:p}=N_(e),[g,u]=B.useState(!0),y=B.useRef(!1);async function S(){y.current=!0,u(!1),await f(x())}function x(){let O=location.origin;return O=R_(O,BP,encodeURIComponent(btoa(`${n.slotId}@portal`))),O}if(C0({isBusyBoxVisible:p}),B.useEffect(()=>{o(t)},[o,t]),a)throw a;return i?.html?te.jsx(FP,{isOpen:g,children:te.jsx(tf,{variable:"IF6",children:te.jsx(UP,{html:i.html,onAction:f,onError:e.handleError,onClose:S})})}):null};function HP(e,t,n=[]){if(e===t)return!0;if(!e||!t)return!1;const i=B_(e,n),a=B_(t,n);return i.length!==a.length?!1:i.every(o=>e[o]===t[o])}function B_(e,t){const n=i=>!t.includes(i);return Object.keys(e).filter(n)}const $P=({error:e})=>{function t(){return null}return te.jsxs("div",{className:"block workflow_error",children:[te.jsxs("div",{className:"bline",children:["Es ist ein Problem aufgetreten.",te.jsx("br",{className:"bterm"})]}),te.jsxs("div",{className:"bline",children:[te.jsx("strong",{children:"Die aufgerufene Funktion ist nicht verfügbar."}),te.jsx("br",{className:"bterm"})]}),t()]})},rf=({context:e,children:t})=>{function n(i,a){const o=va(i),f=lN(o);al(o,f??e)}return te.jsx(ZN,{fallbackRender:$P,onError:n,children:t})},VP=["isResumed","overlayWorkflow","wasStartedByLnsRuntime"],qP=({bankingBox:e,workflowProm
161ise:t,workflowCallbacks:n})=>{const[i,a]=B.useState(null),[o,f]=B.useState(null),{showAppErrorBoundary:p}=E0();B.useEffect(()=>{async function u(){try{const y=await t;if(y?.overlayWorkflow){HP(i,y,VP)||a(y),f(y.overlayWorkflow);return}a(y)}catch(y){p(y)}}u()},[p,i,t]);const g=()=>i?wP(i)?te.jsx(rf,{context:ii.CPL,children:te.jsx(tf,{variable:"IF6",children:te.jsx(Q6,{isMainWorkflow:e.isInMainSlot,workflow:i,bankingBox:e,workflowCallbacks:n})})}):_P(i)?te.jsx(rf,{context:ii.LNS,children:te.jsx(SP,{workflow:i,bankingBox:e,workflowCallbacks:n})}):kP(i)?te.jsx(rf,{context:ii.AEM,children:te.jsx(TP,{workflow:i,workflowCallbacks:n})}):null:null;return i?te.jsxs(te.Fragment,{children:[g(),o&&te.jsx(rf,{context:ii.AEM,children:te.jsx(tf,{variable:"IF6",children:te.jsx(zP,{targetUrl:o.targetUrl,workflowCallbacks:n,bankingBox:e})})})]}):null};var sf=(e=>(e.REDIRECT_TO_PAGE="REDIRECT_TO_PAGE",e.STAY_ON_CURRENT_PAGE="STAY_ON_CURRENT_PAGE",e))(sf||{});const KP="/if-ma/workflowstack/workflow-navigation",GP="/if-ma/workflowstack/end-workflow-navigation",WP="/if-ma/workflowstack",YP="/if-ma/demo-workflowstack";function z_(e){window.location.assign(e)}async function XP(e,t,n,i,a){const o=await ZP({workflowId:e.workflowId,qualifier:e.qualifier,slotId:t,currentPage:window.location.pathname,input:i,didCplHandoverControl:a});switch(o.action){case sf.REDIRECT_TO_PAGE:return Qt(`Start Workflow: ${sf.REDIRECT_TO_PAGE} ${o.targetPage}`),z_(o.targetPage),null;case sf.STAY_ON_CURRENT_PAGE:return Qt(`Start Workflow: ${o.workflowType} "${o.workflowParameter.workflowId}" (${t})`),QP(o,n);default:throw us("Fehler beim Starten des Workflows. Unbekannter Workflow-Wechsel.")}}async function ZP({workflowId:e,qualifier:t,currentPage:n,slotId:i,input:a,didCplHandoverControl:o}){const f={slotId:i,currentPage:n,workflowId:e,qualifier:t,input:a,didCplHandoverControl:o},{data:p}=await Bi.post(KP,f);return p}function QP({workflowParameter:e,workflowType:t,overlayWorkflow:n},i){switch(i(),t){case zn.CPL:return{...e,type:zn.CPL,overlayWorkflow:n};case zn.LNS:return{...e,type:zn.LNS,isResumed:!0,wasStartedByLnsRuntime:!1,overlayWorkflow:n};case zn.AEM:return{...e,type:zn.AEM,overlayWorkflow:n};default:throw us(`Fehler beim Starten des Workflows. Der Type des neuen Workflows ist unbekannt: ${t}`)}}async function JP(e,t,n,i){const a=await e8({slotId:e,currentPage:window.location.pathname,currentWorkflowType:t,outputModel:i});return a.redirectRequired?(Qt(`End Workflow: ${sf.REDIRECT_TO_PAGE} ${a.targetPage}`),z_(a.targetPage),null):(Qt(`End Workflow: ${a.workflowType} "${a.workflowParameter.workflowId}" (${e})`),t8(a.workflowParameter,a.workflowType,n))}async function e8({slotId:e,currentPage:t,currentWorkflowType:n,outputModel:i}){const a={slotId:e,currentPage:t,currentWorkflowType:n,outputModel:i},{data:o}=await Bi.post(GP,a);return o}function t8(e,t,n){switch(n(),t){case zn.CPL:return{...e,type:zn.CPL,isResumed:!0};case zn.LNS:return{...e,type:zn.LNS,isResumed:!0};case zn.AEM:return{...e,type:zn.AEM};default:throw us("Fehler beim Beenden des Workflows. Der Type des neuen Workflows ist unbekannt.")}}async function n8({slotId:e,resetWorkflowStack:t=!1,initialWorkflowParameters:n}){const i={slotId:e,resetWorkflowStack:t,initialWorkflowParameters:n},{data:a}=await Bi.post(WP,i);return a}async function r8({slotId:e,workflowUri:t,resetWorkflowStack:n,queryParameters:i}){const a=await n8({slotId:e,resetWorkflowStack:n,initialWorkflowParameters:{workflowUri:t,queryParameters:i,currentPage:window.location.pathname}}),{workflowParameter:o,resumed:f,type:p}=a,g=f?"Resume":"Start New",u=p===zn.CPL?"":` "${o.workflowId}"`;switch(Qt(`${g} Workflow Stack: ${p}${u} (${e})`),p){case zn.CPL:return{...o,type:p,isResumed:f};case zn.LNS:return{...o,type:p,isResumed:f,workflowId:o.workflowId};case zn.AEM:return{...o,type:p,workflowId:o.workflowId};default:throw us(`Fehler beim Starten des Workflows. Unbekannter Workflow-Typ: ${p}`)}}async function i8({slotId:e,initialWorkflowParameters:t}){const n={slotId:e,initialWorkflowParameters:t},{data:i}=await Bi.post(YP,n);return i}async function s8({slotId:e,cplWorkflowId:t}){const n=await i8({slotId:e,initialWorkflowParameters:{workflowId:t,currentPage:window.location.pathname}}),{workflowParameter:i,resumed:a,type:o}=n;return Qt(`${a?"Resume":"Start New"} Workflow Stack: ${o} "${i.workflowId}" (${e})`),{...i,isResumed:a,type:o}}const a8=async e=>{const t=GS("n")==="true",n=WS(),{workflowUri:i,workflowId:a,slotId:o,cplWorkflowId:f}=e;if(!i&&a&&f)return s8({slotId:o,cplWorkflowId:f});if(i)return r8({slotId:o,workflowUri:i,resetWorkflowStack:t,queryParameters:n});throw us(`A workflowUri or a workflowId with a cplWorkflowId need to be set. Provided BankingBox: ${e.toString()}`)},H_=B.createContext(null),o8=()=>{const e=B.useContext(H_);if(!e)throw new Error("useNotificationsContext must be used within a NotificationsContext (Provider)");return e},l8=({bankingBox:e})=>{const[t,n]=B.useState(null),{addNotification:i,suspendNotifications:a,unsuspendNotifications:o}=o8(),{showAppErrorBoundary:f}=E0(),p=B.useMemo(()=>({handleWorkflowStartNavigation:(g,u,y)=>
161{a(),n(XP(g,e.slotId,o,u,y))},handleWorkflowEndNavigation:(g,u)=>{a(),n(JP(e.slotId,g,o,u))},handleWorkflowNotification:g=>{i(g)},handleError:g=>{f(g)}}),[i,e.slotId,f,a,o]);return B.useEffect(()=>{n(a8(e))},[e]),t?te.jsx(qP,{bankingBox:e,workflowPromise:t,workflowCallbacks:p}):null},u8=1e3,c8=300*1e3,Dd="pendingNotifications",f8=({children:e})=>{const t=B.useRef(void 0),{t:n}=Ja(),i=B.useRef(!1),a=B.useCallback(()=>{i.current=!0},[i]),o=B.useCallback(()=>{i.current=!1},[i]),f=B.useCallback(u=>{const y={...u,closeLabel:n("toast.schliessen.button.label")};window.renderToastNotification(y)},[n]),p=B.useCallback(()=>{const u=Ud();for(const y of u)f(y);p8()},[f]),g=B.useCallback(u=>{h8(u),t.current=window.setTimeout(()=>{i.current||p()},u8)},[p]);return B.useEffect(()=>(Ud().length>0&&(d8(),p()),()=>clearTimeout(t.current)),[p]),te.jsx(H_,{value:{addNotification:g,suspendNotifications:a,unsuspendNotifications:o},children:e})},Ud=()=>{const e=window.sessionStorage.getItem(Dd);return e?JSON.parse(e):[]},h8=e=>{const n=[...Ud(),e];window.sessionStorage.setItem(Dd,JSON.stringify(n))},d8=()=>{const e=Ud(),t=Date.now(),n=e.filter(i=>i.timestamp>t-c8);window.sessionStorage.setItem(Dd,JSON.stringify(n))},p8=()=>{window.sessionStorage.setItem(Dd,JSON.stringify([]))},vt=e=>typeof e=="string",af=()=>{let e,t;const n=new Promise((i,a)=>{e=i,t=a});return n.resolve=e,n.reject=t,n},$_=e=>e==null?"":""+e,g8=(e,t,n)=>{e.forEach(i=>{t[i]&&(n[i]=t[i])})},m8=/###/g,V_=e=>e&&e.indexOf("###")>-1?e.replace(m8,"."):e,q_=e=>!e||vt(e),of=(e,t,n)=>{const i=vt(t)?t.split("."):t;let a=0;for(;a<i.length-1;){if(q_(e))return{};const o=V_(i[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return q_(e)?{}:{obj:e,k:V_(i[a])}},K_=(e,t,n)=>{const{obj:i,k:a}=of(e,t,Object);if(i!==void 0||t.length===1){i[a]=n;return}let o=t[t.length-1],f=t.slice(0,t.length-1),p=of(e,f,Object);for(;p.obj===void 0&&f.length;)o=`${f[f.length-1]}.${o}`,f=f.slice(0,f.length-1),p=of(e,f,Object),p?.obj&&typeof p.obj[`${p.k}.${o}`]<"u"&&(p.obj=void 0);p.obj[`${p.k}.${o}`]=n},v8=(e,t,n,i)=>{const{obj:a,k:o}=of(e,t,Object);a[o]=a[o]||[],a[o].push(n)},jd=(e,t)=>{const{obj:n,k:i}=of(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,i))return n[i]},y8=(e,t,n)=>{const i=jd(e,n);return i!==void 0?i:jd(t,n)},G_=(e,t,n)=>{for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?vt(e[i])||e[i]instanceof String||vt(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):G_(e[i],t[i],n):e[i]=t[i]);return e},wu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var b8={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const S8=e=>vt(e)?e.replace(/[&<>"'\/]/g,t=>b8[t]):e;class w8{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const _8=[" ",",","?","!",";"],E8=new w8(20),A8=(e,t,n)=>{t=t||"",n=n||"";const i=_8.filter(f=>t.indexOf(f)<0&&n.indexOf(f)<0);if(i.length===0)return!0;const a=E8.getRegExp(`(${i.map(f=>f==="?"?"\\?":f).join("|")})`);let o=!a.test(e);if(!o){const f=e.indexOf(n);f>0&&!a.test(e.substring(0,f))&&(o=!0)}return o},I0=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const i=t.split(n);let a=e;for(let o=0;o<i.length;){if(!a||typeof a!="object")return;let f,p="";for(let g=o;g<i.length;++g)if(g!==o&&(p+=n),p+=i[g],f=a[p],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&g<i.length-1)continue;o+=g-o+1;break}a=f}return a},lf=e=>e?.replace("_","-"),x8={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)}};class Fd{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||x8,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,a){return a&&!this.debug?null:(vt(t[0])&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Fd(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Fd(this.logger,t)}}var Ns=new Fd;class Bd{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>
161{this.observers[i]||(this.observers[i]=new Map);const a=this.observers[i].get(n)||0;this.observers[i].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([a,o])=>{for(let f=0;f<o;f++)a(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([a,o])=>{for(let f=0;f<o;f++)a.apply(a,[t,...n])})}}class W_ extends Bd{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i,a={}){const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,f=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let p;t.indexOf(".")>-1?p=t.split("."):(p=[t,n],i&&(Array.isArray(i)?p.push(...i):vt(i)&&o?p.push(...i.split(o)):p.push(i)));const g=jd(this.data,p);return!g&&!n&&!i&&t.indexOf(".")>-1&&(t=p[0],n=p[1],i=p.slice(2).join(".")),g||!f||!vt(i)?g:I0(this.data?.[t]?.[n],i,o)}addResource(t,n,i,a,o={silent:!1}){const f=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let p=[t,n];i&&(p=p.concat(f?i.split(f):i)),t.indexOf(".")>-1&&(p=t.split("."),a=n,n=p[1]),this.addNamespaces(n),K_(this.data,p,a),o.silent||this.emit("added",t,n,i,a)}addResources(t,n,i,a={silent:!1}){for(const o in i)(vt(i[o])||Array.isArray(i[o]))&&this.addResource(t,n,o,i[o],{silent:!0});a.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,a,o,f={silent:!1,skipCopy:!1}){let p=[t,n];t.indexOf(".")>-1&&(p=t.split("."),a=i,i=n,n=p[1]),this.addNamespaces(n);let g=jd(this.data,p)||{};f.skipCopy||(i=JSON.parse(JSON.stringify(i))),a?G_(g,i,o):g={...g,...i},K_(this.data,p,g),f.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var Y_={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,a){return e.forEach(o=>{t=this.processors[o]?.process(t,n,i,a)??t}),t}};const X_=Symbol("i18next/PATH_KEY");function C8(){const e=[],t=Object.create(null);let n;return t.get=(i,a)=>(n?.revoke?.(),a===X_?e:(e.push(a),n=Proxy.revocable(i,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function M0(e,t){const{[X_]:n}=e(C8());return n.join(t?.keySeparator??".")}const Z_={},N0=e=>!vt(e)&&typeof e!="boolean"&&typeof e!="number";class zd extends Bd{constructor(t,n={}){super(),g8(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
161i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ns.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const i={...n};if(t==null)return!1;const a=this.resolve(t,i);if(a?.res===void 0)return!1;const o=N0(a.res);return!(i.returnObjects===!1&&o)}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const f=i&&t.indexOf(i)>-1,p=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!A8(t,i,a);if(f&&!p){const g=t.match(this.interpolator.nestingRegexp);if(g&&g.length>0)return{key:t,namespaces:vt(o)?[o]:o};const u=t.split(i);(i!==a||i===a&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(a)}return{key:t,namespaces:vt(o)?[o]:o}}translate(t,n,i){let a=typeof n=="object"?{...n}:n;if(typeof a!="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),typeof a=="object"&&(a={...a}),a||(a={}),t==null)return"";typeof t=="function"&&(t=M0(t,{...this.options,...a})),Array.isArray(t)||(t=[String(t)]);const o=a.returnDetails!==void 0?a.returnDetails:this.options.returnDetails,f=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,{key:p,namespaces:g}=this.extractFromKey(t[t.length-1],a),u=g[g.length-1];let y=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;y===void 0&&(y=":");const S=a.lng||this.language,x=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(S?.toLowerCase()==="cimode")return x?o?{res:`${u}${y}${p}`,usedKey:p,exactUsedKey:p,usedLng:S,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:`${u}${y}${p}`:o?{res:p,usedKey:p,exactUsedKey:p,usedLng:S,usedNS:u,usedParams:this.getUsedParamsDetails(a)}:p;const O=this.resolve(t,a);let L=O?.res;const R=O?.usedKey||p,V=O?.exactUsedKey||p,K=["[object Number]","[object Function]","[object RegExp]"],se=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,ne=!this.i18nFormat||this.i18nFormat.handleAsObject,J=a.count!==void 0&&!vt(a.count),X=zd.hasDefaultValue(a),U=J?this.pluralResolver.getSuffix(S,a.count,a):"",Y=a.ordinal&&J?this.pluralResolver.getSuffix(S,a.count,{ordinal:!1}):"",Ce=J&&!a.ordinal&&a.count===0,oe=Ce&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${U}`]||a[`defaultValue${Y}`]||a.defaultValue;let _e=L;ne&&!L&&X&&(_e=oe);const ge=N0(_e),I=Object.prototype.toString.apply(_e);if(ne&&_e&&ge&&K.indexOf(I)<0&&!(vt(se)&&Array.isArray(_e))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ue=this.options.returnedObjectHandler?this.options.returnedObjectHandler(R,_e,{...a,ns:g}):`key '${p} (${this.language})' returned an object instead of string.`;return o?(O.res=ue,O.usedParams=this.getUsedParamsDetails(a),O):ue}if(f){const ue=Array.isArray(_e),me=ue?[]:{},De=ue?V:R;for(const Z in _e)if(Object.prototype.hasOwnProperty.call(_e,Z)){const ke=`${De}${f}${Z}`;X&&!L?me[Z]=this.translate(ke,{...a,defaultValue:N0(oe)?oe[Z]:void 0,joinArrays:!1,ns:g}):me[Z]=this.translate(ke,{...a,joinArrays:!1,ns:g}),me[Z]===ke&&(me[Z]=_e[Z])}L=me}}else if(ne&&vt(se)&&Array.isArray(L))L=L.join(se),L&&(L=this.extendTranslation(L,t,a,i));else{let ue=!1,me=!1;!this.isValidLookup(L)&&X&&(ue=!0,L=oe),this.isValidLookup(L)||(me=!0,L=p);const Z=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&me?void 0:L,ke=X&&oe!==L&&this.options.updateMissing;if(me||ue||ke){if(this.logger.log(ke?"updateKey":"missingKey",S,u,p,ke?oe:L),f){const $=this.resolve(p,{...a,keySeparator:!1});$&&$.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 Ie=[];const Fe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Fe&&Fe[0])for(let $=0;$<Fe.length;$++)Ie.push(Fe[$]);else this.options.saveMissingTo==="all"?Ie=this.languageUtils.toResolveHierarchy(a.lng||this.language):Ie.push(a.lng||this.language);const et=($,Te,ze)=>{const He=X&&ze!==L?ze:Z;this.options.missingKeyHandler?this.options.missingKeyHandler($,u,Te,He,ke,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing($,u,Te,He,ke,a),this.emit
vendor: 19,777 bytes, line 161
161("missingKey",$,u,Te,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&J?Ie.forEach($=>{const Te=this.pluralResolver.getSuffixes($,a);Ce&&a[`defaultValue${this.options.pluralSeparator}zero`]&&Te.indexOf(`${this.options.pluralSeparator}zero`)<0&&Te.push(`${this.options.pluralSeparator}zero`),Te.forEach(ze=>{et([$],p+ze,a[`defaultValue${ze}`]||oe)})}):et(Ie,p,oe))}L=this.extendTranslation(L,t,a,O,i),me&&L===p&&this.options.appendNamespaceToMissingKey&&(L=`${u}${y}${p}`),(me||ue)&&this.options.parseMissingKeyHandler&&(L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${y}${p}`:p,ue?L:void 0,a))}return o?(O.res=L,O.usedParams=this.getUsedParamsDetails(a),O):L}extendTranslation(t,n,i,a,o){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const g=vt(t)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(g){const S=t.match(this.interpolator.nestingRegexp);u=S&&S.length}let y=i.replace&&!vt(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),t=this.interpolator.interpolate(t,y,i.lng||this.language||a.usedLng,i),g){const S=t.match(this.interpolator.nestingRegexp),x=S&&S.length;u<x&&(i.nest=!1)}!i.lng&&a&&a.res&&(i.lng=this.language||a.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,(...S)=>o?.[0]===S[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${S[0]} in key: ${n[0]}`),null):this.translate(...S,n),i)),i.interpolation&&this.interpolator.reset()}const f=i.postProcess||this.options.postProcess,p=vt(f)?[f]:f;return t!=null&&p?.length&&i.applyPostProcessor!==!1&&(t=Y_.handle(p,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t,n={}){let i,a,o,f,p;return vt(t)&&(t=[t]),t.forEach(g=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(g,n),y=u.key;a=y;let S=u.namespaces;this.options.fallbackNS&&(S=S.concat(this.options.fallbackNS));const x=n.count!==void 0&&!vt(n.count),O=x&&!n.ordinal&&n.count===0,L=n.context!==void 0&&(vt(n.context)||typeof n.context=="number")&&n.context!=="",R=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);S.forEach(V=>{this.isValidLookup(i)||(p=V,!Z_[`${R[0]}-${V}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(p)&&(Z_[`${R[0]}-${V}`]=!0,this.logger.warn(`key "${a}" for languages "${R.join(", ")}" won't get resolved as namespace "${p}" 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!!!")),R.forEach(K=>{if(this.isValidLookup(i))return;f=K;const se=[y];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(se,y,K,V,n);else{let J;x&&(J=this.pluralResolver.getSuffix(K,n.count,n));const X=`${this.options.pluralSeparator}zero`,U=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(x&&(n.ordinal&&J.indexOf(U)===0&&se.push(y+J.replace(U,this.options.pluralSeparator)),se.push(y+J),O&&se.push(y+X)),L){const Y=`${y}${this.options.contextSeparator||"_"}${n.context}`;se.push(Y),x&&(n.ordinal&&J.indexOf(U)===0&&se.push(Y+J.replace(U,this.options.pluralSeparator)),se.push(Y+J),O&&se.push(Y+X))}}let ne;for(;ne=se.pop();)this.isValidLookup(i)||(o=ne,i=this.getResource(K,V,ne,n))}))})}),{res:i,usedKey:a,exactUsedKey:o,usedLng:f,usedNS:p}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i,a={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,i,a):this.resourceStore.getResource(t,n,i,a)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&!vt(t.replace);let a=i?t.replace:t;if(i&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!i){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}class Q_{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ns.create("languageUtils")}getScriptPartFromCode(t){if(t=lf(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=lf(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(vt(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const a=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const a=this.getScriptPartFromCode(i);if(this.isSupportedCode(a))return n=a;const o=this.getLanguagePartFromCode(i);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(f=>{if(f===o)return f;if(!(f.indexOf("-")<0&&o.indexOf("-")<0)&&(f.indexOf("-")>0&&o.indexOf("-")<0&&f.substring(0,f.indexOf("-"))===o||f.indexOf(o)===0&&o.length>1))return f})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),vt(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),a=[],o=f=>{f&&(this.isSupportedCode(f)?a.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return vt(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):vt(t)&&o(this.formatLanguageCode(t)),i.forEach(f=>{a.indexOf(f)<0&&o(this.formatLanguageCode(f))}),a}}const J_={zero:0,one:1,two:2,few:3,many:4,other:5},eE={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class T8{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Ns.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const i=lf(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:i,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let f;try{f=new Intl.PluralRules(i,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),eE;if(!t.match(/-|_/))return eE;const g=this.languageUtils.getLanguagePartFromCode(t);f=this.getRule(g,n)}return this.pluralRulesCache[o]=f,f}needsPlural(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n,i={}){return this.getSuffixes(t,i).map(a=>`${n}${a}`)}getSuffixes(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?i.resolvedOptions().pluralCategories.sort((a,o)=>J_[a]-J_[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n,i={}){const a=this.getRule(t,i);return a?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,i))}}const tE=(e,t,n,i=".",a=!0)=>{let o=y8(e,t,n);return!o&&a&&vt(n)&&(o=I0(e,n,i),o===void 0&&(o=I0(t,n,i))),o},P0=e=>e.replace(/\$/g,"$$$$");class nE{constructor(t={}){this.logger=Ns.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:a,prefix:o,prefixEscaped:f,suffix:p,suffixEscaped:g,formatSeparator:u,unescapeSuffix:y,unescapePrefix:S,nestingPrefix:x,nestingPrefixEscaped:O,nestingSuffix:L,nestingSuffixEscaped:R,nestingOptionsSeparator:V,maxReplaces:K,alwaysFormat:se}=t.interpolation;this.escape=n!==void 0?n:S8,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?wu(o):f||"{{",this.suffix=p?wu(p):g||"}}",this.formatSeparator=u||",",this.unescapePrefix=y?"":S||"-",this.unescapeSuffix=this.unescapePrefix?"":y||"",this.nestingPrefix=x?wu(x):O||wu("$t("),this.nestingSuffix=L?wu(L):R||wu(")"),this.nestingOptionsSeparator=V||",",this.maxReplaces=K||1e3,this.alwaysFormat=se!==void 0?se:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n?.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,i,a){let o,f,p;const g=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=O=>{if(O.indexOf(this.formatSeparator)<0){const K=tE(n,g,O,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(K,void 0,i,{...a,...n,interpolationkey:O}):K}const L=O.split(this.formatSeparator),R=L.shift().trim(),V=L.join(this.formatSeparator).trim();return this.format(tE(n,g,R,this.options.keySeparator,this.options.ignoreJSONStructure),V,i,{...a,...n,interpolationkey:R})};this.resetRegExp();const y=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,S=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:O=>P0(O)},{regex:this.regexp,safeValue:O=>this.escapeValue?P0(this.escape(O)):P0(O)}].forEach(O=>{for(p=0;o=O.regex.exec(t);){const L=o[1].trim();if(f=u(L),f===void 0)if(typeof y=="function"){const V=y(t,o,a);f=vt(V)?V:""}else if(a&&Object.prototype.hasOwnProperty.call(a,L))f="";else if(S){f=o[0];continue}else this.logger.warn(`missed to pass in variable ${L} for interpolating ${t}`),f="";else!vt(f)&&!this.useRawValueToEscape&&(f=$_(f));const R=O.safeValue(f);if(t=t.replace(o[0],R),S?(O.regex.lastIndex+=f.length,O.regex.lastIndex-=o[0].length):O.regex.lastIndex=0,p++,p>=this.maxReplaces)break}}),t}nest(t,n,i={}){let a,o,f;const p=(g,u)=>{const y=this.nestingOptionsSeparator;if(g.indexOf(y)<0)return g;const S=g.split(new RegExp(`${y}[ ]*{`));let x=`{${S[1]}`;g=S[0],x=this.interpolate(x,f);const O=x.match(/'/g),L=x.match(/"/g);((O?.length??0)%2===0&&!L||L.length%2!==0)&&(x=x.replace(/'/g,'"'));try{f=JSON.parse(x),u&&(f={...u,...f})}catch(R){return this.logger.warn(`failed parsing options string in nesting for key ${g}`,R),`${g}${y}${x}`}return f.defaultValue&&f.defaultValue.indexOf(this.prefix)>-1&&delete f.defaultValue,g};for(;a=this.nestingRegexp.exec(t);){let g=[];f={...i},f=f.replace&&!vt(f.replace)?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;const u=/{.*}/.test(a[1])?a[1].lastIndexOf("}")+1:a[1].indexOf(this.formatSeparator);if(u!==-1&&(g=a[1].slice(u).split(this.formatSeparator).map(y=>y.trim()).filter(Boolean),a[1]=a[1].slice(0,u)),o=n(p.call(this,a[1].trim(),f),f),o&&a[0]===t&&!vt(o))return o;vt(o)||(o=$_(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),g.length&&(o=g.reduce((y,S)=>this.format(y,S,i.lng,{...i,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const k8=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const a=i[1].substring(0,i[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(f=>{if(f){const[p,...g]=f.split(":"),u=g.join(":").trim().replace(/^'+|'+$/g,""),y=p.trim();n[y]||(n[y]=u),u==="false"&&(n[y]=!1),u==="true"&&(n[y]=!0),isNaN(u)||(n[y]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},rE=e=>{const t={};return(n,i,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const f=i+JSON.stringify(o);let p=t[f];return p||(p=e(lf(i),a),t[f]=p),p(n)}},O8=e=>(t,n,i)=>e(lf(n),i)(t);class R8{constructor(t={}){this.logger=Ns.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const i=n.cacheInBuiltFormats?rE:O8;this.formats={number:i((a,o)=>{const f=new Intl.NumberFormat(a,{...o});return p=>f.format(p)}),currency:i((a,o)=>{const f=new Intl.NumberFormat(a,{...o,style:"currency"});return p=>f.format(p)}),datetime:i((a,o)=>{const f=new Intl.DateTimeFormat(a,{...o});return p=>f.format(p)}),relativetime:i((a,o)=>{const f=new Intl.RelativeTimeFormat(a,{...o});return p=>f.format(p,o.range||"day")}),list:i((a,o)=>{const f=new Intl.ListFormat(a,{...o});return p=>f.format(p)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=rE(n)}format(t,n,i,a={}){const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(p=>p.indexOf(")")>-1)){const p=o.findIndex(g=>g.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,p)].join(this.formatSeparator)}return o.reduce((p,g)=>{const{formatName:u,formatOptions:y}=k8(g);if(this.formats[u]){let S=p;try{const x=a?.formatParams?.[a.interpolationkey]||{},O=x.locale||x.lng||a.locale||a.lng||i;S=this.formats[u](p,O,{...y,...a,...x})}catch(x){this.logger.warn(x)}return S}else this.logger.warn(`there was no format function for ${u}`);return p},t)}}const L8=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class I8 extends Bd{constructor(t,n,i,a={}){super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=a,this.logger=Ns.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(i,a.backend,a)}queueLoad(t,n,i,a){const o={},f={},p={},g={};return t.forEach(u=>{let y=!0;n.forEach(S=>{const x=`${u}|${S}`;!i.reload&&this.store.hasResourceBundle(u,S)?this.state[x]=2:this.state[x]<0||(this.state[x]===1?f[x]===void 0&&(f[x]=!0):(this.state[x]=1,y=!1,f[x]===void 0&&(f[x]=!0),o[x]===void 0&&(o[x]=!0),g[S]===void 0&&(g[S]=!0)))}),y||(p[u]=!0)}),(Object.keys(o).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(f),toLoadLanguages:Object.keys(p),toLoadNamespaces:Object.keys(g)}}loaded(t,n,i){const a=t.split("|"),o=a[0],f=a[1];n&&this.emit("failedLoading",o,f,n),!n&&i&&this.store.addResourceBundle(o,f,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&i&&(this.state[t]=0);const p={};this.queue.forEach(g=>{v8(g.loaded,[o],f),L8(g,t),n&&g.errors.push(n),g.pendingCount===0&&!g.done&&(Object.keys(g.loaded).forEach(u=>{p[u]||(p[u]={});const y=g.loaded[u];y.length&&y.forEach(S=>{p[u][S]===void 0&&(p[u][S]=!0)})}),g.done=!0,g.errors.length?g.callback(g.errors):g.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(g=>!g.done)}read(t,n,i,a=0,o=this.retryTimeout,f){if(!t.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:a,wait:o,callback:f});return}this.readingCalls++;const p=(u,y)=>{if(this.readingCalls--,this.waitingReads.length>0){const S=this.waitingReads.shift();this.read(S.lng,S.ns,S.fcName,S.tried,S.wait,S.callback)}if(u&&y&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,i,a+1,o*2,f)},o);return}f(u,y)},g=this.backend[i].bind(this.backend);if(g.length===2){try{const u=g(t,n);u&&typeof u.then=="function"?u.then(y=>p(null,y)).catch(p):p(null,u)}catch(u){p(u)}return}return g(t,n,p)}prepareLoading(t,n,i={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();vt(t)&&(t=this.languageUtils.toResolveHierarchy(t)),vt(n)&&(n=[n]);const o=this.queueLoad(t,n,i,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(f=>{this.loadOne(f)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t,n=""){const i=t.split("|"),a=i[0],o=i[1];this.read(a,o,"read",void 0,void 0,(f,p)=>{f&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,f),!f&&p&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,p),this.loaded(t,f,p)})}saveMissing(t,n,i,a,o,f={},p=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" 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(!(i==null||i==="")){if(this.backend?.create){const g={...f,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let y;u.length===5?y=u(t,n,i,a,g):y=u(t,n,i,a),y&&typeof y.then=="function"?y.then(S=>p(null,S)).catch(p):p(null,y)}catch(y){p(y)}else u(t,n,i,a,p,g)}!t||!t[0]||this.store.addResource(t[0],n,i,a)}}}const D0=()=>({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]),vt(e[1])&&(t.defaultValue=e[1]),vt(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>
161{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),iE=e=>(vt(e.ns)&&(e.ns=[e.ns]),vt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),vt(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),Hd=()=>{},M8=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class uf extends Bd{constructor(t={},n){if(super(),this.options=iE(t),this.services={},this.logger=Ns,this.modules={external:[]},M8(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(vt(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=D0();this.options={...i,...this.options,...iE(t)},this.options.interpolation={...i.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=i.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const a=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Ns.init(a(this.modules.logger),this.options):Ns.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=R8;const y=new Q_(this.options);this.store=new W_(this.options.resources,this.options);const S=this.services;S.logger=Ns,S.resourceStore=this.store,S.languageUtils=y,S.pluralResolver=new T8(y,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.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"),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(S.formatter=a(u),S.formatter.init&&S.formatter.init(S,this.options),this.options.interpolation.format=S.formatter.format.bind(S.formatter)),S.interpolator=new nE(this.options),S.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},S.backendConnector=new I8(a(this.modules.backend),S.resourceStore,S,this.options),S.backendConnector.on("*",(O,...L)=>{this.emit(O,...L)}),this.modules.languageDetector&&(S.languageDetector=a(this.modules.languageDetector),S.languageDetector.init&&S.languageDetector.init(S,this.options.detection,this.options)),this.modules.i18nFormat&&(S.i18nFormat=a(this.modules.i18nFormat),S.i18nFormat.init&&S.i18nFormat.init(this)),this.translator=new zd(this.services,this.options),this.translator.on("*",(O,...L)=>{this.emit(O,...L)}),this.modules.external.forEach(O=>{O.init&&O.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Hd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...y)=>this.store[u](...y)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...y)=>(this.store[u](...y),this)});const p=af(),g=()=>{const u=(y,S)=>{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
161("initialized",this.options),p.resolve(S),n(y,S)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?g():setTimeout(g,0),p}loadResources(t,n=Hd){let i=n;const a=vt(t)?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const o=[],f=p=>{if(!p||p==="cimode")return;this.services.languageUtils.toResolveHierarchy(p).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};a?f(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(g=>f(g)),this.options.preload?.forEach?.(p=>f(p)),this.services.backendConnector.load(o,this.options.ns,p=>{!p&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(p)})}else i(null)}reloadResources(t,n,i){const a=af();return typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),i||(i=Hd),this.services.backendConnector.reload(t,n,o=>{a.resolve(),i(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Y_.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const i=af();this.emit("languageChanging",t);const a=p=>{this.language=p,this.languages=this.services.languageUtils.toResolveHierarchy(p),this.resolvedLanguage=void 0,this.setResolvedLanguage(p)},o=(p,g)=>{g?this.isLanguageChangingTo===t&&(a(g),this.translator.changeLanguage(g),this.isLanguageChangingTo=void 0,this.emit("languageChanged",g),this.logger.log("languageChanged",g)):this.isLanguageChangingTo=void 0,i.resolve((...u)=>this.t(...u)),n&&n(p,(...u)=>this.t(...u))},f=p=>{!t&&!p&&this.services.languageDetector&&(p=[]);const g=vt(p)?p:p&&p[0],u=this.store.hasLanguageSomeTranslations(g)?g:this.services.languageUtils.getBestMatchFromCodes(vt(p)?[p]:p);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,y=>{o(y,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?f(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(f):this.services.languageDetector.detect(f):f(t),i}getFixedT(t,n,i){const a=(o,f,...p)=>{let g;typeof f!="object"?g=this.options.overloadTranslationOptionHandler([o,f].concat(p)):g={...f},g.lng=g.lng||a.lng,g.lngs=g.lngs||a.lngs,g.ns=g.ns||a.ns,g.keyPrefix!==""&&(g.keyPrefix=g.keyPrefix||i||a.keyPrefix);const u=this.options.keySeparator||".";let y;return g.keyPrefix&&Array.isArray(o)?y=o.map(S=>(typeof S=="function"&&(S=M0(S,{...this.options,...f})),`${g.keyPrefix}${u}${S}`)):(typeof o=="function"&&(o=M0(o,{...this.options,...f})),y=g.keyPrefix?`${g.keyPrefix}${u}${o}`:o),this.t(y,g)};return vt(t)?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=i,a}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
161if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const f=(p,g)=>{const u=this.services.backendConnector.state[`${p}|${g}`];return u===-1||u===0||u===2};if(n.precheck){const p=n.precheck(this,f);if(p!==void 0)return p}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(i,t)&&(!a||f(o,t)))}loadNamespaces(t,n){const i=af();return this.options.ns?(vt(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{i.resolve(),n&&n(a)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=af();vt(t)&&(t=[t]);const a=this.options.preload||[],o=t.filter(f=>a.indexOf(f)<0&&this.services.languageUtils.isSupportedCode(f));return o.length?(this.options.preload=a.concat(o),this.loadResources(f=>{i.resolve(),n&&n(f)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const a=new Intl.Locale(t);if(a&&a.getTextInfo){const o=a.getTextInfo();if(o&&o.direction)return o.direction}}catch{}const n=["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"],i=this.services?.languageUtils||new Q_(D0());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const i=new uf(t,n);return i.createInstance=uf.createInstance,i}cloneInstance(t={},n=Hd){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new uf(a);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(p=>{o[p]=this[p]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},i){const p=Object.keys(this.store.data).reduce((g,u)=>(g[u]={...this.store.data[u]},g[u]=Object.keys(g[u]).reduce((y,S)=>(y[S]={...g[u][S]},y),g[u]),g),{});o.store=new W_(p,a),o.services.resourceStore=o.store}if(t.interpolation){const g={...D0().interpolation,...this.options.interpolation,...t.interpolation},u={...a,interpolation:g};o.services.interpolator=new nE(u)}return o.translator=new zd(o.services,a),o.translator.on("*",(p,...g)=>{o.emit(p,...g)}),o.init(a,n),o.translator.options=a,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Wr=uf.createInstance();Wr.createInstance,Wr.dir,Wr.init,Wr.loadResources,Wr.reloadResources,Wr.use,Wr.changeLanguage,Wr.getFixedT,Wr.t,Wr.exists,Wr.setDefaultNamespace,Wr.hasLoadedNamespace,Wr.loadNamespaces,Wr.loadLanguages;var N8=function(t){return{type:"backend",init:function(i,a,o){},read:function(i,a,o){if(typeof t=="function"){if(t.length<3){try{var f=t(i,a);f&&typeof f.then=="function"?f.then(function(p){return o(null,p&&p.default||p)}).catch(o):o(null,f)}catch(p){o(p)}return}t(i,a,o);return}o(null,t&&t[i]&&t[i][a])}}},U0=function(){return U0=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},U0.apply(this,arguments)},P8="de";function D8(e,t){return Wr.use(N8((function(n,i,a){e(n,i).then(function(o){var f=o.default;return a(null,f)}).catch(function(o){return a(o,null)})}))).use(Gg).use(HN).init(U0({fallbackLng:P8,debug:!1,detection:{order:["querystring","htmlTag","navigator"],caches:[],lookupQuerystring:"language"},interpolation:{escapeValue:!1}},t)),Wr}var j0,sE=function(e){return e.i18n!==void 0?e.i18n:(j0===void 0&&(j0=D8(e.resolveTranslation,e.i18nOptions)),j0)};function U8(e){var t=B.useContext(wn);return B.useEffect(function(){var n,i=sE(e);i.changeLanguage((n=t.locale)===null||n===void 0?void 0:n.toBcpString(),function(){var a,o=ei.getInstance("cpl","reactlib",t.slotId);o.debug("Locale gewechselt: ".concat(i.resolvedLanguage," (resolved), ").concat((a=t.locale)===null||a===void 0?void 0:a.toBcpString()," (wanted)"))})},[t.locale]),te.jsx(YN,{i18n:sE(e),children:e.children})}const j8=()=>{const e=ON(),t=pI(e);return _N(t)},F8=()=>
161{const[e]=B.useState(j8()),[t]=B.useState(Gw());return te.jsx("div",{children:te.jsx(U8,{resolveTranslation:async(n,i)=>_x(Object.assign({
161"../static/locales/ar/translation.json":()=>Mi(()=>Promise.resolve().then(()=>q8),void 0),
161"../static/locales/bg/translation.json":()=>Mi(()=>Promise.resolve().then(()=>K8),void 0),
161"../static/locales/cs/translation.json":()=>Mi(()=>Promise.resolve().then(()=>G8),void 0),
161"../static/locales/de/translation.json":()=>Mi(()=>Promise.resolve().then(()=>W8),void 0),
161"../static/locales/en/translation.json":()=>Mi(()=>Promise.resolve().then(()=>Y8),void 0),
161"../static/locales/fr/translation.json":()=>Mi(()=>Promise.resolve().then(()=>X8),void 0),
161"../static/locales/pl/translation.json":()=>Mi(()=>Promise.resolve().then(()=>Z8),void 0),
161"../static/locales/ro/translation.json":()=>Mi(()=>Promise.resolve().then(()=>Q8),void 0),
161"../static/locales/ru/translation.json":()=>Mi(()=>Promise.resolve().then(()=>J8),void 0),
161"../static/locales/sv/translation.json":()=>Mi(()=>Promise.resolve().then(()=>eD),void 0),
161"../static/locales/tr/translation.json":()=>Mi(()=>Promise.resolve().then(()=>tD),void 0),
161"../static/locales/uk/translation.json":()=>Mi(()=>Promise.resolve().then(()=>nD),void 0)
161}),`../static/locales/${n}/${i}.json`,5),children:te.jsx(f8,{children:te.jsx(m0.Provider,{value:e,children:te.jsx(RN,{children:t.map(n=>te.jsx(LN,{bankingBox:n,children:te.jsx(rf,{children:te.jsx(l8,{bankingBox:n})})},n.slotId))})})})})})},aE="rahmen";function B8(e){return Wf.createRoot(e,{onCaughtError:()=>{}})}function z8(){let e=document.getElementById(aE);return e||(e=document.createElement("div"),e.id=aE,document.body.appendChild(e)),e}function H8(){cf&&(cf.unmount(),cf=null)}let $d=!1,cf=null;function $8(e){$d=e}const V8={start:()=>{const e=Gw().length;if(!(!$d&&e>0)){$d=e!==0;return}$d=!0,ol.reset(),H8();const n=z8();cf=B8(n),cf.render(te.jsx(F8,{}))},notifyIf6PageReady:()=>{}};window.ifmkaadapter=V8;const q8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),K8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),G8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Upozornení na bezbariérovost","fpl.vuk.spartopf.saldo.subline":"Nepřiřazeno k žádnému spořicímu hrnci","gv.button.glossarInformationen.alt.title":"Informace","nbf.finanzstatus.nachhaltig":"Dlouhodobé","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Zůstatek na účtu naposledy aktualizován dne {{value}}","nbf.kontoauswahl.allekonten":"Všechny účty","nbf.kontoauswahl.hinweistext.kontosaldo":"Zobrazený stav účtu neodpovídá vždy vašemu skutečnému zůstatku. Takto nemohou být obraty zobrazené již jako účetní zápis ještě z částky stavu účtu odečteny, resp. vytvořeno datum hodnoty. Je možné, že naběhnou kvůli překročení účtu úroky.","nbf.kontoauswahl.konto.wechsel":"Změnit účet","toast.schliessen.button.label":"Zavřít upozornění","verwaltung.einstellungen.standardkonto":"Standardní účet"}},Symbol.toStringTag,{value:"Module"})),W8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Hinweise zur Barrierefreiheit","fpl.vuk.spartopf.saldo.subline":"Keinem Spartopf zugeordnet","gv.button.glossarInformationen.alt.title":"Informationen","nbf.finanzstatus.nachhaltig":"Nachhaltig","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Kontostand letztmalig aktualisiert am {{value}} Uhr.","nbf.kontoauswahl.allekonten":"Alle Konten","nbf.kontoauswahl.hinweistext.kontosaldo":"Der angezeigte Kontostand entspricht nicht immer Ihrem tatsächlichen Guthaben. So können bereits als Buchung angezeigte Umsätze noch nicht vom Betrag des Kontostands abgezogen bzw. wertgestellt sein. Es ist möglich, dass Zinsen wegen einer Überziehung des Kontos anfallen.","nbf.kontoauswahl.konto.wechsel":"Konto wechseln","toast.schliessen.button.label":"Benachrichtigung schließen","verwaltung.einstellungen.standardkonto":"Standardkonto"}},Symbol.toStringTag,{value:"Module"})),Y8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Acce
161ssibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),X8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Remarques sur l'accessibilité","fpl.vuk.spartopf.saldo.subline":"Attribué à aucune tirelire","gv.button.glossarInformationen.alt.title":"Informations","nbf.finanzstatus.nachhaltig":"Durable","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Solde actualisé pour la dernière fois le {{value}}.","nbf.kontoauswahl.allekonten":"Tous les comptes","nbf.kontoauswahl.hinweistext.kontosaldo":"Le solde affiché de votre compte ne correspond pas toujours à votre solde réel. Ainsi, des opérations déjà affichées sous forme d’écriture peuvent ne pas encore avoir été déduites du montant du solde du compte et/ou comptabilisées. Il est possible que des intérêts soient dus en raison d'un découvert sur le compte.","nbf.kontoauswahl.konto.wechsel":"Changer compte","toast.schliessen.button.label":"Notification Fermer","verwaltung.einstellungen.standardkonto":"Compte standard"}},Symbol.toStringTag,{value:"Module"})),Z8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Informacje dotyczace dostepnosci bez barier","fpl.vuk.spartopf.saldo.subline":"Nie przypisane do żadnej skarbonki","gv.button.glossarInformationen.alt.title":"Informacje","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Stan konta ostatnio zaktualizowany w dniu {{value}}.","nbf.kontoauswahl.allekonten":"Wszystkie konta","nbf.kontoauswahl.hinweistext.kontosaldo":"Wyświetlane saldo konta nie zawsze odpowiada rzeczywistemu stanowi Twojego konta. Oznacza to, że obroty już wyświetlane jako zaksięgowania mogą być jeszcze nie potrącone od kwoty salda konta lub nie nie przypisano ich wartości. Możliwe jest naliczenie odsetek od kredytu w rachunku bieżącym.","nbf.kontoauswahl.konto.wechsel":"Zmiana konta","toast.schliessen.button.label":"Zamknij powiadomienie","verwaltung.einstellungen.standardkonto":"Konto standardowe"}},Symbol.toStringTag,{value:"Module"})),Q8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),J8=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may al
161so be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),eD=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot ","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"Change account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"})),tD=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Bariyersizlige iliskin açiklamalar","fpl.vuk.spartopf.saldo.subline":"Hiçbir kumbaraya atanmamış","gv.button.glossarInformationen.alt.title":"Diğer pazar bilgileri","nbf.finanzstatus.nachhaltig":"Sürdürülebilir","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Hesap bakiyesi en son {{value}} tarihinde güncellendi.","nbf.kontoauswahl.allekonten":"Tüm hesaplar","nbf.kontoauswahl.hinweistext.kontosaldo":"Görüntülenen bakiye her zaman gerçek bakiyenize karşılık gelmez. Mevcutta rezervasyon olarak gösterilen satışlar, hesap bakiyesinden veya katma değerden henüz düşülemez. Hesap aşımına bağlı olarak faiz getirilmesi mümkündür.","nbf.kontoauswahl.konto.wechsel":"Hesap değiştir","toast.schliessen.button.label":"Bildirimi kapat","verwaltung.einstellungen.standardkonto":"Standart hesap"}},Symbol.toStringTag,{value:"Module"})),nD=Object.freeze(Object.defineProperty({__proto__:null,default:{"aria.label.accessibility":"Accessibility information","fpl.vuk.spartopf.saldo.subline":"Not assigned to a savings pot","gv.button.glossarInformationen.alt.title":"Information","nbf.finanzstatus.nachhaltig":"Permanent","mbf.finanzstatus.uebersicht.hinweis.alterSaldo":"Account balance was last updated on {{value}}.","nbf.kontoauswahl.allekonten":"All accounts","nbf.kontoauswahl.hinweistext.kontosaldo":"The account balance shown does not always reflect the actual funds available. I.e. some of the transactions shown might not yet have been debited from or credited to your account. There may also be interest due if your account was overdrawn.","nbf.kontoauswahl.konto.wechsel":"hange account","toast.schliessen.button.label":"Close notification","verwaltung.einstellungen.standardkonto":"Standard account"}},Symbol.toStringTag,{value:"Module"}))})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.