balkan-orgchart-react-community 9.2.31 → 9.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.es.js +135 -22590
- package/index.umd.js +186 -496
- package/package.json +2 -2
package/index.umd.js
CHANGED
|
@@ -1,496 +1,186 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MyReactLib={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),u=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.4`})),d=s(((e,t)=>{process.env.NODE_ENV!==`production`&&(function(){function n(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn(`%s(...) is deprecated in plain JavaScript React classes. %s`,t[0],t[1])}})}function r(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||`ReactClass`;var n=e+`.`+t;ae[n]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,e),ae[n]=!0)}function a(e,t,n){this.props=e,this.context=t,this.refs=W,this.updater=n||oe}function o(){}function s(e,t,n){this.props=e,this.context=t,this.refs=W,this.updater=n||oe}function c(){}function l(e){return``+e}function u(e){try{l(e);var t=!1}catch{t=!0}if(t){t=console;var n=t.error,r=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return n.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,r),l(e)}}function d(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case L:return`Fragment`;case R:return`Profiler`;case ee:return`StrictMode`;case V:return`Suspense`;case H:return`SuspenseList`;case U:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case I:return`Portal`;case B:return e.displayName||`Context`;case z:return(e._context.displayName||`Context`)+`.Consumer`;case te:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?d(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return d(e(t))}catch{}}return null}function f(e){if(e===L)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===re)return`<...>`;try{var t=d(e);return t?`<`+t+`>`:`<...>`}catch{return`<...>`}}function p(){var e=q.A;return e===null?null:e.getOwner()}function m(){return Error(`react-stack-top-frame`)}function h(e){if(le.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function g(e,t){function n(){de||(de=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function _(){var e=d(this.type);return pe[e]||(pe[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function v(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:F,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:_}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function y(e,t){return t=v(e.type,t,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(t._store.validated=e._store.validated),t}function b(e){x(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===re&&(e._payload.status===`fulfilled`?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e==`object`&&!!e&&e.$$typeof===F}function S(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}function C(e,t){return typeof e==`object`&&e&&e.key!=null?(u(e.key),S(``+e.key)):t.toString(36)}function w(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(c,c):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function T(e,t,n,i,a){var o=typeof e;(o===`undefined`||o===`boolean`)&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case`bigint`:case`string`:case`number`:s=!0;break;case`object`:switch(e.$$typeof){case F:case I:s=!0;break;case re:return s=e._init,T(s(e._payload),t,n,i,a)}}if(s){s=e,a=a(s);var c=i===``?`.`+C(s,0):i;return K(a)?(n=``,c!=null&&(n=c.replace(_e,`$&/`)+`/`),T(a,t,n,``,function(e){return e})):a!=null&&(x(a)&&(a.key!=null&&(s&&s.key===a.key||u(a.key)),n=y(a,n+(a.key==null||s&&s.key===a.key?``:(``+a.key).replace(_e,`$&/`)+`/`)+c),i!==``&&s!=null&&x(s)&&s.key==null&&s._store&&!s._store.validated&&(n._store.validated=2),a=n),t.push(a)),1}if(s=0,c=i===``?`.`:i+`:`,K(e))for(var l=0;l<e.length;l++)i=e[l],o=c+C(i,l),s+=T(i,t,n,o,a);else if(l=r(e),typeof l==`function`)for(l===e.entries&&(ge||console.warn(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),ge=!0),e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=c+C(i,l++),s+=T(i,t,n,o,a);else if(o===`object`){if(typeof e.then==`function`)return T(w(e),t,n,i,a);throw t=String(e),Error(`Objects are not valid as a React child (found: `+(t===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:t)+`). If you meant to render a collection of children, use an array instead.`)}return s}function E(e,t,n){if(e==null)return e;var r=[],i=0;return T(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function D(e){if(e._status===-1){var t=e._ioInfo;t!=null&&(t.start=t.end=performance.now()),t=e._result;var n=t();if(n.then(function(t){if(e._status===0||e._status===-1){e._status=1,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`fulfilled`,n.value=t)}},function(t){if(e._status===0||e._status===-1){e._status=2,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`rejected`,n.reason=t)}}),t=e._ioInfo,t!=null){t.value=n;var r=n.displayName;typeof r==`string`&&(t.name=r)}e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return t=e._result,t===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function k(){q.asyncTransitions--}function A(e){if(be===null)try{var n=(`require`+Math.random()).slice(0,7);be=(t&&t[n]).call(t,`timers`).setImmediate}catch{be=function(e){!1===ye&&(ye=!0,typeof MessageChannel>`u`&&console.error(`This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.`));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return be(e)}function j(e){return 1<e.length&&typeof AggregateError==`function`?AggregateError(e):e[0]}function M(e,t){t!==xe-1&&console.error(`You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. `),xe=t}function N(e,t,n){var r=q.actQueue;if(r!==null)if(r.length!==0)try{P(r),A(function(){return N(e,t,n)});return}catch(e){q.thrownErrors.push(e)}else q.actQueue=null;0<q.thrownErrors.length?(r=j(q.thrownErrors),q.thrownErrors.length=0,n(r)):t(e)}function P(e){if(!J){J=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{q.didUsePromise=!1;var r=n(!1);if(r!==null){if(q.didUsePromise){e[t]=n,e.splice(0,t);return}n=r}else break}while(1)}e.length=0}catch(n){e.splice(0,t+1),q.thrownErrors.push(n)}finally{J=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var F=Symbol.for(`react.transitional.element`),I=Symbol.for(`react.portal`),L=Symbol.for(`react.fragment`),ee=Symbol.for(`react.strict_mode`),R=Symbol.for(`react.profiler`),z=Symbol.for(`react.consumer`),B=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),V=Symbol.for(`react.suspense`),H=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),U=Symbol.for(`react.activity`),ie=Symbol.iterator,ae={},oe={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,`forceUpdate`)},enqueueReplaceState:function(e){i(e,`replaceState`)},enqueueSetState:function(e){i(e,`setState`)}},se=Object.assign,W={};Object.freeze(W),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};var G={isMounted:[`isMounted`,`Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.`],replaceState:[`replaceState`,`Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).`]};for(Ce in G)G.hasOwnProperty(Ce)&&n(Ce,G[Ce]);o.prototype=a.prototype,G=s.prototype=new o,G.constructor=s,se(G,a.prototype),G.isPureReactComponent=!0;var K=Array.isArray,ce=Symbol.for(`react.client.reference`),q={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},le=Object.prototype.hasOwnProperty,ue=console.createTask?console.createTask:function(){return null};G={react_stack_bottom_frame:function(e){return e()}};var de,fe,pe={},me=G.react_stack_bottom_frame.bind(G,m)(),he=ue(f(m)),ge=!1,_e=/\/+/g,ve=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ye=!1,be=null,xe=0,Se=!1,J=!1,Y=typeof queueMicrotask==`function`?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:A;G=Object.freeze({__proto__:null,c:function(e){return O().useMemoCache(e)}});var Ce={map:E,forEach:function(e,t,n){E(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return E(e,function(){t++}),t},toArray:function(e){return E(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=U,e.Children=Ce,e.Component=a,e.Fragment=L,e.Profiler=R,e.PureComponent=s,e.StrictMode=ee,e.Suspense=V,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,e.__COMPILER_RUNTIME=G,e.act=function(e){var t=q.actQueue,n=xe;xe++;var r=q.actQueue=t===null?[]:t,i=!1;try{var a=e()}catch(e){q.thrownErrors.push(e)}if(0<q.thrownErrors.length)throw M(t,n),e=j(q.thrownErrors),q.thrownErrors.length=0,e;if(typeof a==`object`&&a&&typeof a.then==`function`){var o=a;return Y(function(){i||Se||(Se=!0,console.error(`You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);`))}),{then:function(e,a){i=!0,o.then(function(i){if(M(t,n),n===0){try{P(r),A(function(){return N(i,e,a)})}catch(e){q.thrownErrors.push(e)}if(0<q.thrownErrors.length){var o=j(q.thrownErrors);q.thrownErrors.length=0,a(o)}}else e(i)},function(e){M(t,n),0<q.thrownErrors.length?(e=j(q.thrownErrors),q.thrownErrors.length=0,a(e)):a(e)})}}}var s=a;if(M(t,n),n===0&&(P(r),r.length!==0&&Y(function(){i||Se||(Se=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),q.actQueue=null),0<q.thrownErrors.length)throw e=j(q.thrownErrors),q.thrownErrors.length=0,e;return{then:function(e,t){i=!0,n===0?(q.actQueue=r,A(function(){return N(s,e,t)})):e(s)}}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.captureOwnerStack=function(){var e=q.getCurrentStack;return e===null?null:e()},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=se({},e.props),i=e.key,a=e._owner;if(t!=null){var o;a:{if(le.call(t,`ref`)&&(o=Object.getOwnPropertyDescriptor(t,`ref`).get)&&o.isReactWarning){o=!1;break a}o=t.ref!==void 0}for(s in o&&(a=p()),h(t)&&(u(t.key),i=``+t.key),t)!le.call(t,s)||s===`key`||s===`__self`||s===`__source`||s===`ref`&&t.ref===void 0||(r[s]=t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}for(r=v(e.type,i,r,a,e._debugStack,e._debugTask),i=2;i<arguments.length;i++)b(arguments[i]);return r},e.createContext=function(e){return e={$$typeof:B,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:z,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},e.createElement=function(e,t,n){for(var r=2;r<arguments.length;r++)b(arguments[r]);r={};var i=null;if(t!=null)for(c in fe||!(`__self`in t)||`key`in t||(fe=!0,console.warn(`Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform`)),h(t)&&(u(t.key),i=``+t.key),t)le.call(t,c)&&c!==`key`&&c!==`__self`&&c!==`__source`&&(r[c]=t[c]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];Object.freeze&&Object.freeze(o),r.children=o}if(e&&e.defaultProps)for(c in a=e.defaultProps,a)r[c]===void 0&&(r[c]=a[c]);i&&g(r,typeof e==`function`?e.displayName||e.name||`Unknown`:e);var c=1e4>q.recentlyCreatedOwnerStacks++;return v(e,i,r,p(),c?Error(`react-stack-top-frame`):me,c?ue(f(e)):he)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){e!=null&&e.$$typeof===ne?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e==`function`?e.length!==0&&e.length!==2&&console.error(`forwardRef render functions accept exactly two parameters: props and ref. %s`,e.length===1?`Did you forget to use the ref parameter?`:`Any additional parameter will be undefined.`):console.error(`forwardRef requires a render function but was given %s.`,e===null?`null`:typeof e),e!=null&&e.defaultProps!=null&&console.error(`forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?`);var t={$$typeof:te,render:e},n;return Object.defineProperty(t,`displayName`,{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,`name`,{value:t}),e.displayName=t)}}),t},e.isValidElement=x,e.lazy=function(e){e={_status:-1,_result:e};var t={$$typeof:re,_payload:e,_init:D},n={name:`lazy`,start:-1,end:-1,value:null,owner:null,debugStack:Error(`react-stack-top-frame`),debugTask:console.createTask?console.createTask(`lazy()`):null};return e._ioInfo=n,t._debugInfo=[{awaited:n}],t},e.memo=function(e,t){e??console.error(`memo: The first argument must be a component. Instead received: %s`,e===null?`null`:typeof e),t={$$typeof:ne,type:e,compare:t===void 0?null:t};var n;return Object.defineProperty(t,`displayName`,{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,`name`,{value:t}),e.displayName=t)}}),t},e.startTransition=function(e){var t=q.T,n={};n._updatedFibers=new Set,q.T=n;try{var r=e(),i=q.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&(q.asyncTransitions++,r.then(k,k),r.then(c,ve))}catch(e){ve(e)}finally{t===null&&n._updatedFibers&&(e=n._updatedFibers.size,n._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`)),t!==null&&n.types!==null&&(t.types!==null&&t.types!==n.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),t.types=n.types),q.T=t}},e.unstable_useCacheRefresh=function(){return O().useCacheRefresh()},e.use=function(e){return O().use(e)},e.useActionState=function(e,t,n){return O().useActionState(e,t,n)},e.useCallback=function(e,t){return O().useCallback(e,t)},e.useContext=function(e){var t=O();return e.$$typeof===z&&console.error(`Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?`),t.useContext(e)},e.useDebugValue=function(e,t){return O().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return O().useDeferredValue(e,t)},e.useEffect=function(e,t){return e??console.warn(`React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?`),O().useEffect(e,t)},e.useEffectEvent=function(e){return O().useEffectEvent(e)},e.useId=function(){return O().useId()},e.useImperativeHandle=function(e,t,n){return O().useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return e??console.warn(`React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?`),O().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return e??console.warn(`React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?`),O().useLayoutEffect(e,t)},e.useMemo=function(e,t){return O().useMemo(e,t)},e.useOptimistic=function(e,t){return O().useOptimistic(e,t)},e.useReducer=function(e,t,n){return O().useReducer(e,t,n)},e.useRef=function(e){return O().useRef(e)},e.useState=function(e){return O().useState(e)},e.useSyncExternalStore=function(e,t,n){return O().useSyncExternalStore(e,t,n)},e.useTransition=function(){return O().useTransition()},e.version=`19.2.4`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),f=s(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=u():t.exports=d()})),p=s((e=>{var t=f();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.4`})),m=s((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(){}function n(e){return``+e}function r(e,t,r){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(i);var a=!1}catch{a=!0}return a&&(console.error(`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,typeof Symbol==`function`&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||`Object`),n(i)),{$$typeof:u,key:i==null?null:``+i,children:e,containerInfo:t,implementation:r}}function i(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}function a(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:`something with type "`+typeof e+`"`}function o(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:typeof e==`string`?JSON.stringify(e):typeof e==`number`?"`"+e+"`":`something with type "`+typeof e+`"`}function s(){var e=d.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=f(),l={d:{f:t,r:function(){throw Error(`Invalid form element. requestFormReset must be passed a form that was rendered by React.`)},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},u=Symbol.for(`react.portal`),d=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills`),e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(`Target container is not a DOM element.`);return r(e,t,null,n)},e.flushSync=function(e){var t=d.T,n=l.p;try{if(d.T=null,l.p=2,e)return e()}finally{d.T=t,l.p=n,l.d.f()&&console.error(`flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.`)}},e.preconnect=function(e,t){typeof e==`string`&&e?t!=null&&typeof t!=`object`?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",o(t)):t!=null&&typeof t.crossOrigin!=`string`&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",a(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,l.d.C(e,t))},e.prefetchDNS=function(e){if(typeof e!=`string`||!e)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e));else if(1<arguments.length){var t=arguments[1];typeof t==`object`&&t.hasOwnProperty(`crossOrigin`)?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t))}typeof e==`string`&&l.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&e?typeof t!=`object`||!t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",o(t)):t.as!==`style`&&t.as!==`script`&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=i(n,t.crossOrigin),s=typeof t.integrity==`string`?t.integrity:void 0,c=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?l.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:s,fetchPriority:c}):n===`script`&&l.d.X(e,{crossOrigin:r,integrity:s,fetchPriority:c,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&t.as!==`script`&&(n+=" The `as` option encountered was "+o(t.as)+`.`),n)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",n);else switch(n=t&&typeof t.as==`string`?t.as:`script`,n){case`script`:break;default:n=o(n),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',n,e)}typeof e==`string`&&(typeof t==`object`&&t?(t.as==null||t.as===`script`)&&(n=i(t.as,t.crossOrigin),l.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})):t??l.d.M(e))},e.preload=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),typeof t!=`object`||!t?n+=" The `options` argument encountered was "+a(t)+`.`:typeof t.as==`string`&&t.as||(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',n),typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){n=t.as;var r=i(n,t.crossOrigin);l.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){var n=``;typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&typeof t.as!=`string`&&(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',n),typeof e==`string`&&(t?(n=i(t.as,t.crossOrigin),l.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})):l.d.m(e))},e.requestFormReset=function(e){l.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s().useFormState(e,t,n)},e.useFormStatus=function(){return s().useHostTransitionStatus()},e.version=`19.2.4`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),h=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`)){if(process.env.NODE_ENV!==`production`)throw Error(`^_^`);try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}process.env.NODE_ENV===`production`?(n(),t.exports=p()):t.exports=m()})),g=s((e=>{var t=f(),n=h();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=Symbol.for(`react.transitional.element`),a=Symbol.for(`react.portal`),o=Symbol.for(`react.fragment`),s=Symbol.for(`react.strict_mode`),c=Symbol.for(`react.profiler`),l=Symbol.for(`react.consumer`),u=Symbol.for(`react.context`),d=Symbol.for(`react.forward_ref`),p=Symbol.for(`react.suspense`),m=Symbol.for(`react.suspense_list`),g=Symbol.for(`react.memo`),_=Symbol.for(`react.lazy`),v=Symbol.for(`react.scope`),y=Symbol.for(`react.activity`),b=Symbol.for(`react.legacy_hidden`),x=Symbol.for(`react.memo_cache_sentinel`),S=Symbol.for(`react.view_transition`),C=Symbol.iterator;function w(e){return typeof e!=`object`||!e?null:(e=C&&e[C]||e[`@@iterator`],typeof e==`function`?e:null)}var T=Array.isArray;function E(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var D=Object.assign,O=Object.prototype.hasOwnProperty,k=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]*$`),A={},j={};function M(e){return O.call(j,e)?!0:O.call(A,e)?!1:k.test(e)?j[e]=!0:(A[e]=!0,!1)}var N=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(` `)),P=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`],[`colorRendering`,`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`]]),F=/["'&<>]/;function I(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=F.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`"`;break;case 38:t=`&`;break;case 39:t=`'`;break;case 60:t=`<`;break;case 62:t=`>`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var L=/([A-Z])/g,ee=/^ms-/,R=/^[\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 z(e){return R.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var B=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},H=te.d;te.d={f:H.f,r:H.r,D:et,C:tt,L:nt,m:rt,X:at,S:it,M:ot};var ne=[],re=null,U=/(<\/|<)(s)(cript)/gi;function ie(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function ae(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function oe(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function se(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return oe(2,null,r|1,null);case`select`:return oe(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return oe(4,null,r,null);case`picture`:return oe(2,null,r|2,null);case`math`:return oe(5,null,r,null);case`foreignObject`:return oe(2,null,r,null);case`table`:return oe(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return oe(7,null,r,null);case`colgroup`:return oe(9,null,r,null);case`tr`:return oe(8,null,r,null);case`head`:if(2>e.insertionMode)return oe(3,null,r,null);break;case`html`:if(e.insertionMode===0)return oe(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?oe(2,null,r,null):e.tagScope===r?e:oe(e.insertionMode,e.selectedValue,r,null)}function W(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function G(e,t){return t.tagScope&32&&(e.instructions|=128),oe(t.insertionMode,t.selectedValue,t.tagScope|12,W(t.viewTransition))}function K(e,t){e=W(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),oe(t.insertionMode,t.selectedValue,n,e)}var ce=new Map;function q(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(O.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=I(i);a=I((``+a).trim())}else o=ce.get(i),o===void 0&&(o=I(i.replace(L,`-$1`).toLowerCase().replace(ee,`-ms-`)),ce.set(i,o)),a=typeof a==`number`?a===0||N.has(i)?``+a:a+`px`:I((``+a).trim());n?(n=!1,e.push(` style="`,o,`:`,a)):e.push(`;`,o,`:`,a)}}n||e.push(`"`)}function le(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`)}function ue(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(` `,t,`="`,I(n),`"`)}var de=I(`javascript:throw new Error('React form unexpectedly submitted.')`);function fe(e,t){this.push(`<input type="hidden"`),pe(e),ue(this,`name`,t),ue(this,`value`,e),this.push(`/>`)}function pe(e){if(typeof e!=`string`)throw Error(r(480))}function me(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(pe),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function he(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=me(t,r);l===null?(e.push(` `,`formAction`,`="`,de,`"`),o=a=i=r=s=null,ye(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&ge(e,`name`,s),r!=null&&ge(e,`formAction`,r),i!=null&&ge(e,`formEncType`,i),a!=null&&ge(e,`formMethod`,a),o!=null&&ge(e,`formTarget`,o),c}function ge(e,t,n){switch(t){case`className`:ue(e,`class`,n);break;case`tabIndex`:ue(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ue(e,t,n);break;case`style`:q(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=z(``+n),e.push(` `,t,`="`,I(n),`"`);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:le(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=z(``+n),e.push(` `,`xlink:href`,`="`,I(n),`"`);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,I(n),`"`);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`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`);break;case`capture`:case`download`:!0===n?e.push(` `,t,`=""`):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,I(n),`"`);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(` `,t,`="`,I(n),`"`);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(` `,t,`="`,I(n),`"`);break;case`xlinkActuate`:ue(e,`xlink:actuate`,n);break;case`xlinkArcrole`:ue(e,`xlink:arcrole`,n);break;case`xlinkRole`:ue(e,`xlink:role`,n);break;case`xlinkShow`:ue(e,`xlink:show`,n);break;case`xlinkTitle`:ue(e,`xlink:title`,n);break;case`xlinkType`:ue(e,`xlink:type`,n);break;case`xmlBase`:ue(e,`xml:base`,n);break;case`xmlLang`:ue(e,`xml:lang`,n);break;case`xmlSpace`:ue(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=P.get(t)||t,M(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(` `,t,`="`,I(n),`"`)}}}function _e(e,t,n){if(t!=null){if(n!=null)throw Error(r(60));if(typeof t!=`object`||!(`__html`in t))throw Error(r(61));t=t.__html,t!=null&&e.push(``+t)}}function ve(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}function ye(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Xe(r,e),r.push(`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)):r.unshift(t.startInlineScript,`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)}}function be(e,t){for(var n in e.push(Oe(`link`)),t)if(O.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:ge(e,n,i)}}return e.push(`/>`),null}var xe=/(<\/|<)(s)(tyle)/gi;function Se(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function J(e,t,n){for(var i in e.push(Oe(n)),t)if(O.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:ge(e,i,a)}}return e.push(`/>`),null}function Y(e,t){e.push(Oe(`title`));var n=null,r=null,i;for(i in t)if(O.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:ge(e,i,a)}}return e.push(`>`),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(I(``+t)),_e(e,r,n),e.push(je(`title`)),null}function Ce(e,t){e.push(Oe(`script`));var n=null,r=null,i;for(i in t)if(O.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:ge(e,i,a)}}return e.push(`>`),_e(e,r,n),typeof n==`string`&&e.push((``+n).replace(U,ie)),e.push(je(`script`)),null}function we(e,t,n){e.push(Oe(n));var r=n=null,i;for(i in t)if(O.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:ge(e,i,a)}}return e.push(`>`),_e(e,r,n),n}function Te(e,t,n){e.push(Oe(n));var r=n=null,i;for(i in t)if(O.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:ge(e,i,a)}}return e.push(`>`),_e(e,r,n),typeof n==`string`?(e.push(I(n)),null):n}var Ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Oe(e){var t=De.get(e);if(t===void 0){if(!Ee.test(e))throw Error(r(65,e));t=`<`+e,De.set(e,t)}return t}function ke(e,t,n,i,a,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(Oe(`a`));var u=null,d=null,f;for(f in n)if(O.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?ue(e,`href`,``):ge(e,f,p);break;default:ge(e,f,p)}}if(e.push(`>`),_e(e,d,u),typeof u==`string`){e.push(I(u));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:e.push(Oe(`select`));var h=null,g=null,_;for(_ in n)if(O.call(n,_)){var v=n[_];if(v!=null)switch(_){case`children`:h=v;break;case`dangerouslySetInnerHTML`:g=v;break;case`defaultValue`:case`value`:break;default:ge(e,_,v)}}return e.push(`>`),_e(e,g,h),h;case`option`:var y=c.selectedValue;e.push(Oe(`option`));var b=null,x=null,S=null,C=null,w;for(w in n)if(O.call(n,w)){var E=n[w];if(E!=null)switch(w){case`children`:b=E;break;case`selected`:S=E;break;case`dangerouslySetInnerHTML`:C=E;break;case`value`:x=E;default:ge(e,w,E)}}if(y!=null){var k=x===null?ve(b):``+x;if(T(y)){for(var A=0;A<y.length;A++)if(``+y[A]===k){e.push(` selected=""`);break}}else ``+y===k&&e.push(` selected=""`)}else S&&e.push(` selected=""`);return e.push(`>`),_e(e,C,b),b;case`textarea`:e.push(Oe(`textarea`));var j=null,N=null,P=null,F;for(F in n)if(O.call(n,F)){var L=n[F];if(L!=null)switch(F){case`children`:P=L;break;case`value`:j=L;break;case`defaultValue`:N=L;break;case`dangerouslySetInnerHTML`:throw Error(r(91));default:ge(e,F,L)}}if(j===null&&N!==null&&(j=N),e.push(`>`),P!=null){if(j!=null)throw Error(r(92));if(T(P)){if(1<P.length)throw Error(r(93));j=``+P[0]}j=``+P}return typeof j==`string`&&j[0]===`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
`+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Vn(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function Hn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,e.destination.destroy(t))}function Un(e,t){Wn(e,t.next,t.hoistables)}function Wn(e,t,n){for(;t!==null;){n!==null&&(ht(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&ht(a.contentState,n),mr(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Gn(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||On(e,a)){r=!1;break}}r&&Wn(e,t,t.hoistables)}}function Kn(e){var t={pendingTasks:1,boundaries:null,hoistables:$e(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function qn(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=Kn(c),t.treeContext=Mt(o,n,d);var p=l[d];typeof p==`number`?(Zn(e,t,p,f,d),delete l[d]):or(e,t,f,d),--c.pendingTasks===0&&Un(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=Kn(c),t.treeContext=Mt(o,n,u),or(e,t,d,u),--c.pendingTasks===0&&Un(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=Kn(c),t.treeContext=Mt(o,n,i),or(e,t,l,i),--c.pendingTasks===0&&Un(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=Kn(c),t.treeContext=Mt(o,n,d),p=Ln(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{or(e,t,f,d),vt(p.chunks,e.renderState,p.lastPushedText,p.textEmbedded),p.status=1,--c.pendingTasks===0&&Un(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function Jn(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Wt={},Gt=t,Kt=e,qt=n,Qt=Zt=0,$t=-1,en=0,tn=o,e=r(i,a);Xt;)Xt=!1,Qt=Zt=0,$t=-1,en=0,$+=1,Q=null,e=r(i,a);return cn(),e}function Yn(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(`<!--F!-->`):c.push(`<!--F-->`)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Mt(n,1,0),or(e,t,r,-1),t.treeContext=n):s?or(e,t,r,-1):Qn(e,t,r,-1),t.keyPath=a}function Xn(e,t,n,i,a,f){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var h=a;if(`ref`in a)for(var x in h={},a)x!==`ref`&&(h[x]=a[x]);var C=i.defaultProps;if(C)for(var E in h===a&&(h=D({},h,a)),C)h[E]===void 0&&(h[E]=C[E]);a=h,h=St,C=i.contextType,typeof C==`object`&&C&&(h=C._currentValue2),h=new i(a,h);var O=h.state===void 0?null:h.state;if(h.updater=At,h.props=a,h.state=O,C={queue:[],replace:!1},h._reactInternals=C,f=i.contextType,h.context=typeof f==`object`&&f?f._currentValue2:St,f=i.getDerivedStateFromProps,typeof f==`function`&&(f=f(a,O),O=f==null?O:D({},O,f),h.state=O),typeof i.getDerivedStateFromProps!=`function`&&typeof h.getSnapshotBeforeUpdate!=`function`&&(typeof h.UNSAFE_componentWillMount==`function`||typeof h.componentWillMount==`function`))if(i=h.state,typeof h.componentWillMount==`function`&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount==`function`&&h.UNSAFE_componentWillMount(),i!==h.state&&At.enqueueReplaceState(h,h.state,null),C.queue!==null&&0<C.queue.length)if(i=C.queue,f=C.replace,C.queue=null,C.replace=!1,f&&i.length===1)h.state=i[0];else{for(C=f?i[0]:h.state,O=!0,f=f?1:0;f<i.length;f++)E=i[f],E=typeof E==`function`?E.call(h,C,a,void 0):E,E!=null&&(O?(O=!1,C=D({},C,E)):D(C,E));h.state=C}else C.queue=null;if(i=h.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,Qn(e,t,i,-1),t.keyPath=a}else{if(i=Jn(e,t,n,i,a,void 0),e.status===12)throw null;Yn(e,t,n,i,Zt!==0,Qt,$t)}else if(typeof i==`string`)if(h=t.blockedSegment,h===null)h=a.children,C=t.formatContext,O=t.keyPath,t.formatContext=se(C,i,a),t.keyPath=n,or(e,t,h,-1),t.formatContext=C,t.keyPath=O;else{if(O=ke(h.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,h.lastPushedText),h.lastPushedText=!1,C=t.formatContext,f=t.keyPath,t.keyPath=n,(t.formatContext=se(C,i,a)).insertionMode===3){n=Ln(e,0,null,t.formatContext,!1,!1),h.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,or(e,t,O,-1),vt(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=h}}else or(e,t,O,-1);t.formatContext=C,t.keyPath=f;a:{switch(t=h.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=C.insertionMode){e.hasBody=!0;break a}break;case`html`:if(C.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=C.insertionMode)break a}t.push(je(i))}h.lastPushedText=!1}else{switch(i){case b:case s:case c:case o:i=t.keyPath,t.keyPath=n,Qn(e,t,a.children,-1),t.keyPath=i;return;case y:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,or(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(e.renderState.generateStaticMarkup||i.chunks.push(`<!--&-->`),i.lastPushedText=!1,h=t.keyPath,t.keyPath=n,or(e,t,a.children,-1),t.keyPath=h,e.renderState.generateStaticMarkup||i.chunks.push(`<!--/&-->`),i.lastPushedText=!1);return;case m:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(T(i)){qn(e,t,n,i,a);break a}if((h=w(i))&&(h=h.call(i))){if(C=h.next(),!C.done){do C=h.next();while(!C.done);qn(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,h=t.row,C=t.row=Kn(null),C.boundaries=[],C.together=!0,t.keyPath=n,Qn(e,t,i,-1),--C.pendingTasks===0&&Un(e,C),t.keyPath=a,t.row=h,h!==null&&0<C.pendingTasks&&(h.pendingTasks++,C.next=h)):(a=t.keyPath,t.keyPath=n,Qn(e,t,i,-1),t.keyPath=a)}return;case S:case v:throw Error(r(343));case p:a:if(t.replay!==null){i=t.keyPath,h=t.formatContext,C=t.row,t.keyPath=n,t.formatContext=K(e.resumableState,h),t.row=null,n=a.children;try{or(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=h,t.row=C}}else{i=t.keyPath,f=t.formatContext;var k=t.row,A=t.blockedBoundary;E=t.blockedPreamble;var j=t.hoistableState;x=t.blockedSegment;var M=a.fallback;a=a.children;var N=new Set,P=Pn(e,t.row,N,null,null);e.trackedPostpones!==null&&(P.trackedContentKeyPath=n);var F=Ln(e,x.chunks.length,P,t.formatContext,!1,!1);x.children.push(F),x.lastPushedText=!1;var I=Ln(e,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,e.trackedPostpones!==null){h=t.componentStack,C=[n[0],`Suspense Fallback`,n[2]],O=[C[1],C[2],[],null],e.trackedPostpones.workingMap.set(C,O),P.trackedFallbackNode=O,t.blockedSegment=F,t.blockedPreamble=P.fallbackPreamble,t.keyPath=C,t.formatContext=G(e.resumableState,f),t.componentStack=zn(h),F.status=6;try{or(e,t,M,-1),vt(F.chunks,e.renderState,F.lastPushedText,F.textEmbedded),F.status=1}catch(t){throw F.status=e.status===12?3:4,t}finally{t.blockedSegment=x,t.blockedPreamble=E,t.keyPath=i,t.formatContext=f}t=Fn(e,null,a,-1,P,I,P.contentPreamble,P.contentState,t.abortSet,n,K(e.resumableState,t.formatContext),t.context,t.treeContext,null,h),Rn(t),e.pingedTasks.push(t)}else{t.blockedBoundary=P,t.blockedPreamble=P.contentPreamble,t.hoistableState=P.contentState,t.blockedSegment=I,t.keyPath=n,t.formatContext=K(e.resumableState,f),t.row=null,I.status=6;try{if(or(e,t,a,-1),vt(I.chunks,e.renderState,I.lastPushedText,I.textEmbedded),I.status=1,pr(P,I),P.pendingTasks===0&&P.status===0){if(P.status=1,!On(e,P)){k!==null&&--k.pendingTasks===0&&Un(e,k),e.pendingRootTasks===0&&t.blockedPreamble&&vr(e);break a}}else k!==null&&k.together&&Gn(e,k)}catch(n){P.status=4,e.status===12?(I.status=3,h=e.fatalError):(I.status=4,h=n),C=Bn(t.componentStack),O=Vn(e,h,C),P.errorDigest=O,rr(e,P)}finally{t.blockedBoundary=A,t.blockedPreamble=E,t.hoistableState=j,t.blockedSegment=x,t.keyPath=i,t.formatContext=f,t.row=k}t=Fn(e,null,M,-1,A,F,P.fallbackPreamble,P.fallbackState,N,[n[0],`Suspense Fallback`,n[2]],G(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,zn(t.componentStack)),Rn(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(M in h={},a)M!==`ref`&&(h[M]=a[M]);else h=a;i=Jn(e,t,n,i.render,h,f),Yn(e,t,n,i,Zt!==0,Qt,$t);return;case g:Xn(e,t,n,i.type,a,f);return;case u:if(C=a.children,h=t.keyPath,a=a.value,O=i._currentValue2,i._currentValue2=a,f=Ct,Ct=i={parent:f,depth:f===null?0:f.depth+1,context:i,parentValue:O,value:a},t.context=i,t.keyPath=n,Qn(e,t,C,-1),e=Ct,e===null)throw Error(r(403));e.context._currentValue2=e.parentValue,e=Ct=e.parent,t.context=e,t.keyPath=h;return;case l:a=a.children,i=a(i._context._currentValue2),a=t.keyPath,t.keyPath=n,Qn(e,t,i,-1),t.keyPath=a;return;case _:if(h=i._init,i=h(i._payload),e.status===12)throw null;Xn(e,t,n,i,a,f);return}throw Error(r(130,i==null?i:typeof i,``))}}function Zn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ln(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,or(e,t,r,i),s.status=1,o===null?e.completedRootSegment=s:(pr(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Qn(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Zn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Rn(t),$n(e,t),t.componentStack=n)}function $n(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var d=n===void 0?null:n,f=xt(s),m=c??(o===-1?0:o);if(c=[t.keyPath,f,m],t.replay!==null)a:{var h=t.replay;for(o=h.nodes,n=0;n<o.length;n++){var g=o[n];if(m===g[1]){if(g.length===4){if(f!==null&&f!==g[0])throw Error(r(490,g[0],f));var v=g[2];f=g[3],m=t.node,t.replay={nodes:v,slots:f,pendingTasks:1};try{if(Xn(e,t,c,s,l,d),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Rt||typeof r.then==`function`))throw t.node===m?t.replay=h:o.splice(n,1),r;t.replay.pendingTasks--,l=Bn(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=Vn(c,s,l),cr(c,e,v,f,s,l)}t.replay=h}else{if(s!==p)throw Error(r(490,`Suspense`,xt(s)||`Unknown`));b:{h=void 0,s=g[5],d=g[2],f=g[3],m=g[4]===null?[]:g[4][2],g=g[4]===null?null:g[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,S=t.replay,C=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=Pn(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=K(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:f,pendingTasks:1};try{if(or(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=Bn(t.componentStack),h=Vn(e,n,v),l.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=C,t.hoistableState=E,t.replay=S,t.keyPath=y,t.formatContext=b,t.row=x}v=In(e,null,{nodes:m,slots:g,pendingTasks:0},O,-1,C,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],G(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,zn(t.componentStack)),Rn(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else Xn(e,t,c,s,l,d);return;case a:throw Error(r(257));case _:if(v=n._init,n=v(n._payload),e.status===12)throw null;Qn(e,t,n,o);return}if(T(n)){er(e,t,n,o);return}if((v=w(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);er(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,Qn(e,t,_n(n),o);if(n.$$typeof===u)return Qn(e,t,n._currentValue2,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=_t(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=_t(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function er(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(er(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Rt||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Bn(t.componentStack);var u=t.blockedBoundary,d=r;n=Vn(e,d,n),cr(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=Mt(o,s,i),u=c[i],typeof u==`number`?(Zn(e,t,u,l,i),delete c[i]):or(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=Mt(o,s,c),or(e,t,i,c);t.treeContext=o,t.keyPath=a}function tr(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Ar(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function nr(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=tr(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Ar(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Ar(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function rr(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function ir(e,t,n){return In(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ar(e,t,n){var r=t.blockedSegment,i=Ln(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Fn(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function or(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return Qn(e,t,n,r)}catch(u){if(cn(),n=u===Rt?Vt():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Rt?sn():null,e=ir(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,kt(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Rt?sn():null,n=ir(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,kt(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return Qn(e,t,n,r)}catch(r){if(cn(),l.children.length=u,l.chunks.length=d,n=r===Rt?Vt():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Rt?sn():null,e=ar(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,kt(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Rt?sn():null,l=ar(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,kt(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,kt(a),n}function sr(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,mr(this,t,e.row,n))}function cr(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)cr(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Pn(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function lr(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Bn(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Vn(t,n,a),nr(t,r,e,i),mr(t,null,e.row,i)):(Vn(t,n,a),Hn(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Vn(t,n,a),cr(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&dr(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return Vn(t,n,a),nr(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return lr(e,t,n)}),r.fallbackAbortableTasks.clear(),mr(t,r,e.row,i);r.status=4,i=Vn(t,n,a),r.status=4,r.errorDigest=i,rr(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&Un(t,i),r.fallbackAbortableTasks.forEach(function(e){return lr(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Un(t,e),t.allPendingTasks--,t.allPendingTasks===0&&fr(t)}function ur(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=ct(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=ne,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:ne;else break b}}r(a?{Link:a}:{})}}}catch(t){Vn(e,t,{})}}function dr(e){e.trackedPostpones===null&&ur(e,!0),e.trackedPostpones===null&&vr(e),e.onShellError=Lt,e=e.onShellReady,e()}function fr(e){ur(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),vr(e),e=e.onAllReady,e()}function pr(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||pr(e,n)}else e.completedSegments.push(t)}function mr(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?Un(e,n):n.together&&Gn(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&dr(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&pr(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&ht(n.hoistables,t.contentState),On(e,t)||(t.fallbackAbortableTasks.forEach(sr,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Un(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&vr(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];tr(e,n,o),mr(e,o,null,null)}}--t.pendingTasks===0&&Un(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(pr(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Gn(e,t);e.allPendingTasks===0&&fr(e)}function hr(e){if(e.status!==14&&e.status!==13){var t=Ct,n=B.H;B.H=yn;var i=B.A;B.A=xn;var a=Mn;Mn=e;var o=bn;bn=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){kt(l.context);try{if(typeof l.replay.slots==`number`?Zn(f,l,l.replay.slots,l.node,l.childIndex):$n(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),mr(f,l.blockedBoundary,l.row,null)}catch(e){cn();var p=e===Rt?Vt():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Rt?sn():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Bn(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=Vn(g,v,h),cr(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&dr(f),f.allPendingTasks--,f.allPendingTasks===0&&fr(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,kt(l.context);var x=g.children.length,S=g.chunks.length;try{$n(u,l),vt(g.chunks,u.renderState,g.lastPushedText,g.textEmbedded),l.abortSet.delete(l),g.status=1,mr(u,l.blockedBoundary,l.row,g)}catch(e){cn(),g.children.length=x,g.chunks.length=S;var C=e===Rt?Vt():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Bn(l.componentStack);l.abortSet.delete(l),Vn(u,C,T),nr(u,w,l,g),mr(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Rt?sn():null;var E=l.ping;C.then(E,E)}else{var D=Bn(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&Un(u,k),u.allPendingTasks--,f=Vn(u,C,D),O===null)Hn(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,rr(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&Un(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&vr(u)}u.allPendingTasks===0&&fr(u)}}}}s.splice(0,c),e.destination!==null&&Er(e,e.destination)}catch(t){Vn(e,t,{}),Hn(e,t)}finally{bn=o,B.H=n,B.A=i,n===yn&&kt(t),Mn=a}}}function gr(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=_r(e,t.children[i],n)||r;return r}function _r(e,t,n){var i=t.boundary;if(i===null)return gr(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(Me(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return gr(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return Me(e.renderState,o),gr(e,t,n);default:return!0}}function vr(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=_r(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function yr(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push(`<template id="`),t.push(e.placeholderPrefix),e=i.toString(16),t.push(e),t.push(`"></template>`);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)t.push(o[s]);a=xr(e,t,a,i)}for(;s<o.length-1;s++)t.push(o[s]);return s<o.length&&(a=t.push(o[s])),a;case 3:return!0;default:throw Error(r(390))}}var br=0;function xr(e,t,n,i){var a=n.boundary;if(a===null)return yr(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;return o!==null&&--o.pendingTasks===0&&Un(e,o),e.renderState.generateStaticMarkup||(a=a.errorDigest,t.push(`<!--$!-->`),t.push(`<template`),a&&(t.push(` data-dgst="`),a=I(a),t.push(a),t.push(`"`)),t.push(`></template>`)),yr(e,t,n,i),e=e.renderState.generateStaticMarkup?!0:t.push(`<!--/$-->`),e}if(a.status!==1)return a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Pe(t,e.renderState,a.rootSegmentID),i&&ht(i,a.fallbackState),yr(e,t,n,i),t.push(`<!--/$-->`);if(!Tr&&On(e,a)&&br+a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Pe(t,e.renderState,a.rootSegmentID),yr(e,t,n,i),t.push(`<!--/$-->`);if(br+=a.byteSize,i&&ht(i,a.contentState),n=a.row,n!==null&&On(e,a)&&--n.pendingTasks===0&&Un(e,n),e.renderState.generateStaticMarkup||t.push(`<!--$-->`),n=a.completedSegments,n.length!==1)throw Error(r(391));return xr(e,t,n[0],i),e=e.renderState.generateStaticMarkup?!0:t.push(`<!--/$-->`),e}function Sr(e,t,n,r){return Fe(t,e.renderState,n.parentFormatContext,n.id),xr(e,t,n,r),Ie(t,n.parentFormatContext)}function Cr(e,t,n){br=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)wr(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&On(e,n)&&--r.pendingTasks===0&&Un(e,r),Ge(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(`>`),a?(!(r.instructions&4)&&(r.instructions|=4,t.push(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`)),!(r.instructions&2)&&(r.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),t.push(`$RC("`)),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push(`","`),t.push(e.segmentPrefix),t.push(r),a?(t.push(`",`),Ze(t,n)):t.push(`"`),n=t.push(`)<\/script>`),Ne(t,e)&&n}function wr(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return Sr(e,t,i,a)}return o===n.rootSegmentID?Sr(e,t,i,a):(Sr(e,t,i,a),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(`>`),n.instructions&1?t.push(`$RS("`):(n.instructions|=1,t.push(`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`)),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push(`","`),t.push(e.placeholderPrefix),t.push(o),t=t.push(`")<\/script>`),t)}var Tr=!1;function Er(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;br=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)t.push(c[u]);if(l)for(u=0;u<l.length;u++)t.push(l[u]);else{var d=Oe(`head`);t.push(d),t.push(`>`)}}else if(l)for(u=0;u<l.length;u++)t.push(l[u]);var f=o.charsetChunks;for(u=0;u<f.length;u++)t.push(f[u]);f.length=0,o.preconnects.forEach(X,t),o.preconnects.clear();var p=o.viewportChunks;for(u=0;u<p.length;u++)t.push(p[u]);p.length=0,o.fontPreloads.forEach(X,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(X,t),o.highImagePreloads.clear(),re=o,o.styles.forEach(qe,t),re=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(X,t),o.scripts.forEach(X,t),o.scripts.clear(),o.bulkPreloads.forEach(X,t),o.bulkPreloads.clear(),a.instructions|=32;var h=o.hoistableChunks;for(u=0;u<h.length;u++)t.push(h[u]);for(a=h.length=0;a<i.length;a++){var g=i[a];for(o=0;o<g.length;o++)xr(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=je(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);xr(e,t,r,null),e.completedRootSegment=null;var x=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var S=e.resumableState;if(!(S.instructions&64)){if(S.instructions|=64,t.push(x.startInlineScript),!(S.instructions&32)){S.instructions|=32;var C=`_`+S.idPrefix+`R_`;t.push(` id="`);var w=I(C);t.push(w),t.push(`"`)}t.push(`>`),t.push(`requestAnimationFrame(function(){$RT=performance.now()});`),t.push(`<\/script>`)}}Ne(t,x)}var T=e.renderState;r=0;var E=T.viewportChunks;for(r=0;r<E.length;r++)t.push(E[r]);E.length=0,T.preconnects.forEach(X,t),T.preconnects.clear(),T.fontPreloads.forEach(X,t),T.fontPreloads.clear(),T.highImagePreloads.forEach(X,t),T.highImagePreloads.clear(),T.styles.forEach(Ye,t),T.scripts.forEach(X,t),T.scripts.clear(),T.bulkPreloads.forEach(X,t),T.bulkPreloads.clear();var D=T.hoistableChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0;var O=e.clientRenderedBoundaries;for(n=0;n<O.length;n++){var k=O[n];T=t;var A=e.resumableState,j=e.renderState,M=k.rootSegmentID,N=k.errorDigest;T.push(j.startInlineScript),T.push(`>`),A.instructions&4?T.push(`$RX("`):(A.instructions|=4,T.push(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`)),T.push(j.boundaryPrefix);var P=M.toString(16);if(T.push(P),T.push(`"`),N){T.push(`,`);var F=Re(N||``);T.push(F)}var L=T.push(`)<\/script>`);if(!L){e.destination=null,n++,O.splice(0,n);return}}O.splice(0,n);var ee=e.completedBoundaries;for(n=0;n<ee.length;n++)if(!Cr(e,t,ee[n])){e.destination=null,n++,ee.splice(0,n);return}ee.splice(0,n),Tr=!0;var R=e.partialBoundaries;for(n=0;n<R.length;n++){var z=R[n];a:{O=e,k=t,br=z.byteSize;var B=z.completedSegments;for(L=0;L<B.length;L++)if(!wr(O,k,z,B[L])){L++,B.splice(0,L);var te=!1;break a}B.splice(0,L);var V=z.row;V!==null&&V.together&&z.pendingTasks===1&&(V.pendingTasks===1?Wn(O,V,V.hoistables):V.pendingTasks--),te=Ge(k,z.contentState,O.renderState)}if(!te){e.destination=null,n++,R.splice(0,n);return}}R.splice(0,n),Tr=!1;var H=e.completedBoundaries;for(n=0;n<H.length;n++)if(!Cr(e,t,H[n])){e.destination=null,n++,H.splice(0,n);return}H.splice(0,n)}}finally{Tr=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(R=je(`body`),t.push(R)),n.hasHtml&&(n=je(`html`),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Dr(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?Er(e,t):e.flushScheduled=!1}}function Or(e,t){if(e.status===13)e.status=14,t.destroy(e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{Er(e,t)}catch(t){Vn(e,t,{}),Hn(e,t)}}}function kr(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return lr(t,e,i)}),n.clear()}e.destination!==null&&Er(e,e.destination)}catch(t){Vn(e,t,{}),Hn(e,t)}}function Ar(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Ar(i,t[0],n)),i[2].push(e)}}function jr(){}function Mr(e,t,n,i){var a=!1,o=null,s=``,c=!1;if(t=ae(t?t.identifierPrefix:void 0),e=jn(e,t,gt(t,n),oe(0,null,0,null),1/0,jr,void 0,function(){c=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,hr(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&ur(e,e.pendingRootTasks===0),kr(e,i),Or(e,{push:function(e){return e!==null&&(s+=e),!0},destroy:function(e){a=!0,o=e}}),a&&o!==i)throw o;if(!c)throw Error(r(426));return s}e.renderToStaticMarkup=function(e,t){return Mr(e,t,!0,`The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.renderToString=function(e,t){return Mr(e,t,!1,`The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.version=`19.2.4`})),_=s((e=>{var t=f(),n=h();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=Symbol.for(`react.transitional.element`),a=Symbol.for(`react.portal`),o=Symbol.for(`react.fragment`),s=Symbol.for(`react.strict_mode`),c=Symbol.for(`react.profiler`),l=Symbol.for(`react.consumer`),u=Symbol.for(`react.context`),d=Symbol.for(`react.forward_ref`),p=Symbol.for(`react.suspense`),m=Symbol.for(`react.suspense_list`),g=Symbol.for(`react.memo`),_=Symbol.for(`react.lazy`),v=Symbol.for(`react.scope`),y=Symbol.for(`react.activity`),b=Symbol.for(`react.legacy_hidden`),x=Symbol.for(`react.memo_cache_sentinel`),S=Symbol.for(`react.view_transition`),C=Symbol.iterator;function w(e){return typeof e!=`object`||!e?null:(e=C&&e[C]||e[`@@iterator`],typeof e==`function`?e:null)}var T=Array.isArray;function E(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var D=new MessageChannel,O=[];D.port1.onmessage=function(){var e=O.shift();e&&e()};function k(e){O.push(e),D.port2.postMessage(null)}function A(e){setTimeout(function(){throw e})}var j=Promise,M=typeof queueMicrotask==`function`?queueMicrotask:function(e){j.resolve(null).then(e).catch(A)},N=null,P=0;function F(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<P&&(e.enqueue(new Uint8Array(N.buffer,0,P)),N=new Uint8Array(2048),P=0),e.enqueue(t);else{var n=N.length-P;n<t.byteLength&&(n===0?e.enqueue(N):(N.set(t.subarray(0,n),P),e.enqueue(N),t=t.subarray(n)),N=new Uint8Array(2048),P=0),N.set(t,P),P+=t.byteLength}}function I(e,t){return F(e,t),!0}function L(e){N&&0<P&&(e.enqueue(new Uint8Array(N.buffer,0,P)),N=null,P=0)}var ee=new TextEncoder;function R(e){return ee.encode(e)}function z(e){return ee.encode(e)}function B(e){return e.byteLength}function te(e,t){typeof e.error==`function`?e.error(t):e.close()}var V=Object.assign,H=Object.prototype.hasOwnProperty,ne=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]*$`),re={},U={};function ie(e){return H.call(U,e)?!0:H.call(re,e)?!1:ne.test(e)?U[e]=!0:(re[e]=!0,!1)}var ae=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(` `)),oe=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`],[`colorRendering`,`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`]]),se=/["'&<>]/;function W(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=se.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`"`;break;case 38:t=`&`;break;case 39:t=`'`;break;case 60:t=`<`;break;case 62:t=`>`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var G=/([A-Z])/g,K=/^ms-/,ce=/^[\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 q(e){return ce.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var le=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=ue.d;ue.d={f:fe.f,r:fe.r,D:lr,C:ur,L:dr,m:fr,X:mr,S:pr,M:hr};var pe=[],me=null;z(`"></template>`);var he=z(`<script`),ge=z(`<\/script>`),_e=z(`<script src="`),ve=z(`<script type="module" src="`),ye=z(` nonce="`),be=z(` integrity="`),xe=z(` crossorigin="`),Se=z(` async=""><\/script>`),J=z(`<style`),Y=/(<\/|<)(s)(cript)/gi;function Ce(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}var we=z(`<script type="importmap">`),Te=z(`<\/script>`);function Ee(e,t,n,r,i,a){n=typeof t==`string`?t:t&&t.script;var o=n===void 0?he:z(`<script nonce="`+W(n)+`"`),s=typeof t==`string`?void 0:t&&t.style,c=s===void 0?J:z(`<style nonce="`+W(s)+`"`),l=e.idPrefix,u=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(d!==void 0&&(u.push(o),tr(u,e),u.push($e,R((``+d).replace(Y,Ce)),ge)),d=[],r!==void 0&&(d.push(we),d.push(R((``+JSON.stringify(r)).replace(Y,Ce))),d.push(Te)),r=i?{preconnects:``,fontPreloads:``,highImagePreloads:``,remainingCapacity:2+(typeof a==`number`?a:2e3)}:null,i={placeholderPrefix:z(l+`P:`),segmentPrefix:z(l+`S:`),boundaryPrefix:z(l+`B:`),startInlineScript:o,startInlineStyle:c,preamble:Oe(),externalRuntimeScript:null,bootstrapChunks:u,importMapChunks:d,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},f!==void 0)for(r=0;r<f.length;r++)l=f[r],s=o=void 0,c={rel:`preload`,as:`script`,fetchPriority:`low`,nonce:t},typeof l==`string`?c.href=a=l:(c.href=a=l.src,c.integrity=s=typeof l.integrity==`string`?l.integrity:void 0,c.crossOrigin=o=typeof l==`string`||l.crossOrigin==null?void 0:l.crossOrigin===`use-credentials`?`use-credentials`:``),l=e,d=a,l.scriptResources[d]=null,l.moduleScriptResources[d]=null,l=[],ct(l,c),i.bootstrapScripts.add(l),u.push(_e,R(W(a)),We),n&&u.push(ye,R(W(n)),We),typeof s==`string`&&u.push(be,R(W(s)),We),typeof o==`string`&&u.push(xe,R(W(o)),We),tr(u,e),u.push(Se);if(p!==void 0)for(t=0;t<p.length;t++)s=p[t],a=r=void 0,o={rel:`modulepreload`,fetchPriority:`low`,nonce:n},typeof s==`string`?o.href=f=s:(o.href=f=s.src,o.integrity=a=typeof s.integrity==`string`?s.integrity:void 0,o.crossOrigin=r=typeof s==`string`||s.crossOrigin==null?void 0:s.crossOrigin===`use-credentials`?`use-credentials`:``),s=e,c=f,s.scriptResources[c]=null,s.moduleScriptResources[c]=null,s=[],ct(s,o),i.bootstrapScripts.add(s),u.push(ve,R(W(f)),We),n&&u.push(ye,R(W(n)),We),typeof a==`string`&&u.push(be,R(W(a)),We),typeof r==`string`&&u.push(xe,R(W(r)),We),tr(u,e),u.push(Se);return i}function De(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Oe(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function ke(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function Ae(e){return ke(e===`http://www.w3.org/2000/svg`?4:e===`http://www.w3.org/1998/Math/MathML`?5:0,null,0,null)}function je(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return ke(2,null,r|1,null);case`select`:return ke(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return ke(4,null,r,null);case`picture`:return ke(2,null,r|2,null);case`math`:return ke(5,null,r,null);case`foreignObject`:return ke(2,null,r,null);case`table`:return ke(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return ke(7,null,r,null);case`colgroup`:return ke(9,null,r,null);case`tr`:return ke(8,null,r,null);case`head`:if(2>e.insertionMode)return ke(3,null,r,null);break;case`html`:if(e.insertionMode===0)return ke(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?ke(2,null,r,null):e.tagScope===r?e:ke(e.insertionMode,e.selectedValue,r,null)}function Me(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Ne(e,t){return t.tagScope&32&&(e.instructions|=128),ke(t.insertionMode,t.selectedValue,t.tagScope|12,Me(t.viewTransition))}function Pe(e,t){e=Me(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),ke(t.insertionMode,t.selectedValue,n,e)}var Fe=z(`<!-- -->`);function Ie(e,t,n,r){return t===``?r:(r&&e.push(Fe),e.push(R(W(t))),!0)}var Le=new Map,Re=z(` style="`),ze=z(`:`),Be=z(`;`);function Ve(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(H.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=R(W(i));a=R(W((``+a).trim()))}else o=Le.get(i),o===void 0&&(o=z(W(i.replace(G,`-$1`).toLowerCase().replace(K,`-ms-`))),Le.set(i,o)),a=typeof a==`number`?a===0||ae.has(i)?R(``+a):R(a+`px`):R(W((``+a).trim()));n?(n=!1,e.push(Re,o,ze,a)):e.push(Be,o,ze,a)}}n||e.push(We)}var He=z(` `),Ue=z(`="`),We=z(`"`),Ge=z(`=""`);function X(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(He,R(t),Ge)}function Z(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(He,R(t),Ue,R(W(n)),We)}var Ke=z(W(`javascript:throw new Error('React form unexpectedly submitted.')`)),qe=z(`<input type="hidden"`);function Je(e,t){this.push(qe),Ye(e),Z(this,`name`,t),Z(this,`value`,e),this.push(et)}function Ye(e){if(typeof e!=`string`)throw Error(r(480))}function Xe(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(Ye),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function Ze(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=Xe(t,r);l===null?(e.push(He,R(`formAction`),Ue,Ke,We),o=a=i=r=s=null,at(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&Qe(e,`name`,s),r!=null&&Qe(e,`formAction`,r),i!=null&&Qe(e,`formEncType`,i),a!=null&&Qe(e,`formMethod`,a),o!=null&&Qe(e,`formTarget`,o),c}function Qe(e,t,n){switch(t){case`className`:Z(e,`class`,n);break;case`tabIndex`:Z(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Z(e,t,n);break;case`style`:Ve(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=q(``+n),e.push(He,R(t),Ue,R(W(n)),We);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:X(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=q(``+n),e.push(He,R(`xlink:href`),Ue,R(W(n)),We);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(He,R(t),Ue,R(W(n)),We);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`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(He,R(t),Ge);break;case`capture`:case`download`:!0===n?e.push(He,R(t),Ge):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(He,R(t),Ue,R(W(n)),We);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(He,R(t),Ue,R(W(n)),We);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(He,R(t),Ue,R(W(n)),We);break;case`xlinkActuate`:Z(e,`xlink:actuate`,n);break;case`xlinkArcrole`:Z(e,`xlink:arcrole`,n);break;case`xlinkRole`:Z(e,`xlink:role`,n);break;case`xlinkShow`:Z(e,`xlink:show`,n);break;case`xlinkTitle`:Z(e,`xlink:title`,n);break;case`xlinkType`:Z(e,`xlink:type`,n);break;case`xmlBase`:Z(e,`xml:base`,n);break;case`xmlLang`:Z(e,`xml:lang`,n);break;case`xmlSpace`:Z(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=oe.get(t)||t,ie(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(He,R(t),Ue,R(W(n)),We)}}}var $e=z(`>`),et=z(`/>`);function tt(e,t,n){if(t!=null){if(n!=null)throw Error(r(60));if(typeof t!=`object`||!(`__html`in t))throw Error(r(61));t=t.__html,t!=null&&e.push(R(``+t))}}function nt(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}var rt=z(` selected=""`),it=z(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`);function at(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),tr(r,e),r.push($e,it,ge)):r.unshift(t.startInlineScript,$e,it,ge)}}var ot=z(`<!--F!-->`),st=z(`<!--F-->`);function ct(e,t){for(var n in e.push(St(`link`)),t)if(H.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:Qe(e,n,i)}}return e.push(et),null}var lt=/(<\/|<)(s)(tyle)/gi;function ut(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function dt(e,t,n){for(var i in e.push(St(n)),t)if(H.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:Qe(e,i,a)}}return e.push(et),null}function ft(e,t){e.push(St(`title`));var n=null,r=null,i;for(i in t)if(H.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Qe(e,i,a)}}return e.push($e),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(R(W(``+t))),tt(e,r,n),e.push(Et(`title`)),null}var pt=z(`<!--head-->`),mt=z(`<!--body-->`),ht=z(`<!--html-->`);function gt(e,t){e.push(St(`script`));var n=null,r=null,i;for(i in t)if(H.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Qe(e,i,a)}}return e.push($e),tt(e,r,n),typeof n==`string`&&e.push(R((``+n).replace(Y,Ce))),e.push(Et(`script`)),null}function _t(e,t,n){e.push(St(n));var r=n=null,i;for(i in t)if(H.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Qe(e,i,a)}}return e.push($e),tt(e,r,n),n}function vt(e,t,n){e.push(St(n));var r=n=null,i;for(i in t)if(H.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Qe(e,i,a)}}return e.push($e),tt(e,r,n),typeof n==`string`?(e.push(R(W(n))),null):n}var yt=z(`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
`+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Qi(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function $i(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,te(e.destination,t))}function ea(e,t){ta(e,t.next,t.hoistables)}function ta(e,t,n){for(;t!==null;){n!==null&&(wr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&wr(a.contentState,n),Ea(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function na(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||Ii(e,a)){r=!1;break}}r&&ta(e,t,t.hoistables)}}function ra(e){var t={pendingTasks:1,boundaries:null,hoistables:cr(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function ia(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=ra(c),t.treeContext=zr(o,n,d);var p=l[d];typeof p==`number`?(ca(e,t,p,f,d),delete l[d]):_a(e,t,f,d),--c.pendingTasks===0&&ea(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=ra(c),t.treeContext=zr(o,n,u),_a(e,t,d,u),--c.pendingTasks===0&&ea(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=ra(c),t.treeContext=zr(o,n,i),_a(e,t,l,i),--c.pendingTasks===0&&ea(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=ra(c),t.treeContext=zr(o,n,d),p=Ji(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{_a(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Fe),p.status=1,Ta(e,t.blockedBoundary,p),--c.pendingTasks===0&&ea(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function aa(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Zr={},Qr=t,$r=e,ei=n,oi=ai=0,si=-1,ci=0,li=o,e=r(i,a);ii;)ii=!1,oi=ai=0,si=-1,ci=0,di+=1,ni=null,e=r(i,a);return gi(),e}function oa(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(ot):c.push(st)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=zr(n,1,0),_a(e,t,r,-1),t.treeContext=n):s?_a(e,t,r,-1):la(e,t,r,-1),t.keyPath=a}function sa(e,t,n,i,a,f){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var h=a;if(`ref`in a)for(var x in h={},a)x!==`ref`&&(h[x]=a[x]);var C=i.defaultProps;if(C)for(var E in h===a&&(h=V({},h,a)),C)h[E]===void 0&&(h[E]=C[E]);a=h,h=kr,C=i.contextType,typeof C==`object`&&C&&(h=C._currentValue),h=new i(a,h);var D=h.state===void 0?null:h.state;if(h.updater=Lr,h.props=a,h.state=D,C={queue:[],replace:!1},h._reactInternals=C,f=i.contextType,h.context=typeof f==`object`&&f?f._currentValue:kr,f=i.getDerivedStateFromProps,typeof f==`function`&&(f=f(a,D),D=f==null?D:V({},D,f),h.state=D),typeof i.getDerivedStateFromProps!=`function`&&typeof h.getSnapshotBeforeUpdate!=`function`&&(typeof h.UNSAFE_componentWillMount==`function`||typeof h.componentWillMount==`function`))if(i=h.state,typeof h.componentWillMount==`function`&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount==`function`&&h.UNSAFE_componentWillMount(),i!==h.state&&Lr.enqueueReplaceState(h,h.state,null),C.queue!==null&&0<C.queue.length)if(i=C.queue,f=C.replace,C.queue=null,C.replace=!1,f&&i.length===1)h.state=i[0];else{for(C=f?i[0]:h.state,D=!0,f=f?1:0;f<i.length;f++)E=i[f],E=typeof E==`function`?E.call(h,C,a,void 0):E,E!=null&&(D?(D=!1,C=V({},C,E)):V(C,E));h.state=C}else C.queue=null;if(i=h.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,la(e,t,i,-1),t.keyPath=a}else{if(i=aa(e,t,n,i,a,void 0),e.status===12)throw null;oa(e,t,n,i,ai!==0,oi,si)}else if(typeof i==`string`)if(h=t.blockedSegment,h===null)h=a.children,C=t.formatContext,D=t.keyPath,t.formatContext=je(C,i,a),t.keyPath=n,_a(e,t,h,-1),t.formatContext=C,t.keyPath=D;else{if(D=wt(h.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,h.lastPushedText),h.lastPushedText=!1,C=t.formatContext,f=t.keyPath,t.keyPath=n,(t.formatContext=je(C,i,a)).insertionMode===3){n=Ji(e,0,null,t.formatContext,!1,!1),h.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,_a(e,t,D,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Fe),n.status=1,Ta(e,t.blockedBoundary,n)}finally{t.blockedSegment=h}}else _a(e,t,D,-1);t.formatContext=C,t.keyPath=f;a:{switch(t=h.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=C.insertionMode){e.hasBody=!0;break a}break;case`html`:if(C.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=C.insertionMode)break a}t.push(Et(i))}h.lastPushedText=!1}else{switch(i){case b:case s:case c:case o:i=t.keyPath,t.keyPath=n,la(e,t,a.children,-1),t.keyPath=i;return;case y:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,_a(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(i.chunks.push(Mt),i.lastPushedText=!1,h=t.keyPath,t.keyPath=n,_a(e,t,a.children,-1),t.keyPath=h,i.chunks.push(Nt),i.lastPushedText=!1);return;case m:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(T(i)){ia(e,t,n,i,a);break a}if((h=w(i))&&(h=h.call(i))){if(C=h.next(),!C.done){do C=h.next();while(!C.done);ia(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,h=t.row,C=t.row=ra(null),C.boundaries=[],C.together=!0,t.keyPath=n,la(e,t,i,-1),--C.pendingTasks===0&&ea(e,C),t.keyPath=a,t.row=h,h!==null&&0<C.pendingTasks&&(h.pendingTasks++,C.next=h)):(a=t.keyPath,t.keyPath=n,la(e,t,i,-1),t.keyPath=a)}return;case S:case v:throw Error(r(343));case p:a:if(t.replay!==null){i=t.keyPath,h=t.formatContext,C=t.row,t.keyPath=n,t.formatContext=Pe(e.resumableState,h),t.row=null,n=a.children;try{_a(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=h,t.row=C}}else{i=t.keyPath,f=t.formatContext;var O=t.row;E=t.blockedBoundary,x=t.blockedPreamble;var k=t.hoistableState,A=t.blockedSegment,j=a.fallback;a=a.children;var M=new Set,N=2>t.formatContext.insertionMode?Gi(e,t.row,M,Oe(),Oe()):Gi(e,t.row,M,null,null);e.trackedPostpones!==null&&(N.trackedContentKeyPath=n);var P=Ji(e,A.chunks.length,N,t.formatContext,!1,!1);A.children.push(P),A.lastPushedText=!1;var F=Ji(e,0,null,t.formatContext,!1,!1);if(F.parentFlushed=!0,e.trackedPostpones!==null){h=t.componentStack,C=[n[0],`Suspense Fallback`,n[2]],D=[C[1],C[2],[],null],e.trackedPostpones.workingMap.set(C,D),N.trackedFallbackNode=D,t.blockedSegment=P,t.blockedPreamble=N.fallbackPreamble,t.keyPath=C,t.formatContext=Ne(e.resumableState,f),t.componentStack=Xi(h),P.status=6;try{_a(e,t,j,-1),P.lastPushedText&&P.textEmbedded&&P.chunks.push(Fe),P.status=1,Ta(e,E,P)}catch(t){throw P.status=e.status===12?3:4,t}finally{t.blockedSegment=A,t.blockedPreamble=x,t.keyPath=i,t.formatContext=f}t=Ki(e,null,a,-1,N,F,N.contentPreamble,N.contentState,t.abortSet,n,Pe(e.resumableState,t.formatContext),t.context,t.treeContext,null,h),Yi(t),e.pingedTasks.push(t)}else{t.blockedBoundary=N,t.blockedPreamble=N.contentPreamble,t.hoistableState=N.contentState,t.blockedSegment=F,t.keyPath=n,t.formatContext=Pe(e.resumableState,f),t.row=null,F.status=6;try{if(_a(e,t,a,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Fe),F.status=1,Ta(e,N,F),wa(N,F),N.pendingTasks===0&&N.status===0){if(N.status=1,!Ii(e,N)){O!==null&&--O.pendingTasks===0&&ea(e,O),e.pendingRootTasks===0&&t.blockedPreamble&&Aa(e);break a}}else O!==null&&O.together&&na(e,O)}catch(n){N.status=4,e.status===12?(F.status=3,h=e.fatalError):(F.status=4,h=n),C=Zi(t.componentStack),D=Qi(e,h,C),N.errorDigest=D,ma(e,N)}finally{t.blockedBoundary=E,t.blockedPreamble=x,t.hoistableState=k,t.blockedSegment=A,t.keyPath=i,t.formatContext=f,t.row=O}t=Ki(e,null,j,-1,E,P,N.fallbackPreamble,N.fallbackState,M,[n[0],`Suspense Fallback`,n[2]],Ne(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Xi(t.componentStack)),Yi(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(A in h={},a)A!==`ref`&&(h[A]=a[A]);else h=a;i=aa(e,t,n,i.render,h,f),oa(e,t,n,i,ai!==0,oi,si);return;case g:sa(e,t,n,i.type,a,f);return;case u:if(C=a.children,h=t.keyPath,a=a.value,D=i._currentValue,i._currentValue=a,f=Ar,Ar=i={parent:f,depth:f===null?0:f.depth+1,context:i,parentValue:D,value:a},t.context=i,t.keyPath=n,la(e,t,C,-1),e=Ar,e===null)throw Error(r(403));e.context._currentValue=e.parentValue,e=Ar=e.parent,t.context=e,t.keyPath=h;return;case l:a=a.children,i=a(i._context._currentValue),a=t.keyPath,t.keyPath=n,la(e,t,i,-1),t.keyPath=a;return;case _:if(h=i._init,i=h(i._payload),e.status===12)throw null;sa(e,t,n,i,a,f);return}throw Error(r(130,i==null?i:typeof i,``))}}function ca(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ji(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,_a(e,t,r,i),s.status=1,Ta(e,o,s),o===null?e.completedRootSegment=s:(wa(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function la(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?ca(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Yi(t),ua(e,t),t.componentStack=n)}function ua(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var d=n===void 0?null:n,f=Or(s),m=c??(o===-1?0:o);if(c=[t.keyPath,f,m],t.replay!==null)a:{var h=t.replay;for(o=h.nodes,n=0;n<o.length;n++){var g=o[n];if(m===g[1]){if(g.length===4){if(f!==null&&f!==g[0])throw Error(r(490,g[0],f));var v=g[2];f=g[3],m=t.node,t.replay={nodes:v,slots:f,pendingTasks:1};try{if(sa(e,t,c,s,l,d),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Gr||typeof r.then==`function`))throw t.node===m?t.replay=h:o.splice(n,1),r;t.replay.pendingTasks--,l=Zi(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=Qi(c,s,l),ya(c,e,v,f,s,l)}t.replay=h}else{if(s!==p)throw Error(r(490,`Suspense`,Or(s)||`Unknown`));b:{h=void 0,s=g[5],d=g[2],f=g[3],m=g[4]===null?[]:g[4][2],g=g[4]===null?null:g[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,S=t.replay,C=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=2>t.formatContext.insertionMode?Gi(e,t.row,k,Oe(),Oe()):Gi(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=Pe(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:f,pendingTasks:1};try{if(_a(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=Zi(t.componentStack),h=Qi(e,n,v),l.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=C,t.hoistableState=E,t.replay=S,t.keyPath=y,t.formatContext=b,t.row=x}v=qi(e,null,{nodes:m,slots:g,pendingTasks:0},O,-1,C,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],Ne(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Xi(t.componentStack)),Yi(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else sa(e,t,c,s,l,d);return;case a:throw Error(r(257));case _:if(v=n._init,n=v(n._payload),e.status===12)throw null;la(e,t,n,o);return}if(T(n)){da(e,t,n,o);return}if((v=w(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);da(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,la(e,t,Ti(n),o);if(n.$$typeof===u)return la(e,t,n._currentValue,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ie(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ie(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function da(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(da(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Gr||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Zi(t.componentStack);var u=t.blockedBoundary,d=r;n=Qi(e,d,n),ya(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=zr(o,s,i),u=c[i],typeof u==`number`?(ca(e,t,u,l,i),delete c[i]):_a(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=zr(o,s,c),_a(e,t,i,c);t.treeContext=o,t.keyPath=a}function fa(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Ua(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function pa(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=fa(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Ua(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Ua(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function ma(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function ha(e,t,n){return qi(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ga(e,t,n){var r=t.blockedSegment,i=Ji(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Ki(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function _a(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return la(e,t,n,r)}catch(u){if(gi(),n=u===Gr?Jr():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Gr?hi():null,e=ha(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Ir(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Gr?hi():null,n=ha(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Ir(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return la(e,t,n,r)}catch(r){if(gi(),l.children.length=u,l.chunks.length=d,n=r===Gr?Jr():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Gr?hi():null,e=ga(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Ir(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Gr?hi():null,l=ga(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Ir(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Ir(a),n}function va(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,Ea(this,t,e.row,n))}function ya(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)ya(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Gi(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function ba(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Zi(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Qi(t,n,a),pa(t,r,e,i),Ea(t,null,e.row,i)):(Qi(t,n,a),$i(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Qi(t,n,a),ya(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&Sa(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return Qi(t,n,a),pa(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return ba(e,t,n)}),r.fallbackAbortableTasks.clear(),Ea(t,r,e.row,i);r.status=4,i=Qi(t,n,a),r.status=4,r.errorDigest=i,ma(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&ea(t,i),r.fallbackAbortableTasks.forEach(function(e){return ba(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&ea(t,e),t.allPendingTasks--,t.allPendingTasks===0&&Ca(t)}function xa(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=_r(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=pe,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:pe;else break b}}r(a?{Link:a}:{})}}}catch(t){Qi(e,t,{})}}function Sa(e){e.trackedPostpones===null&&xa(e,!0),e.trackedPostpones===null&&Aa(e),e.onShellError=Wr,e=e.onShellReady,e()}function Ca(e){xa(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),Aa(e),e=e.onAllReady,e()}function wa(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||wa(e,n)}else e.completedSegments.push(t)}function Ta(e,t,n){if(B!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function Ea(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?ea(e,n):n.together&&na(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&Sa(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&wa(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&wr(n.hoistables,t.contentState),Ii(e,t)||(t.fallbackAbortableTasks.forEach(va,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&ea(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&Aa(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];fa(e,n,o),Ea(e,o,null,null)}}--t.pendingTasks===0&&ea(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(wa(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&na(e,t);e.allPendingTasks===0&&Ca(e)}function Da(e){if(e.status!==14&&e.status!==13){var t=Ar,n=le.H;le.H=Di;var i=le.A;le.A=ki;var a=Ui;Ui=e;var o=Oi;Oi=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){Ir(l.context);try{if(typeof l.replay.slots==`number`?ca(f,l,l.replay.slots,l.node,l.childIndex):ua(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),Ea(f,l.blockedBoundary,l.row,null)}catch(e){gi();var p=e===Gr?Jr():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Gr?hi():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Zi(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=Qi(g,v,h),ya(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&Sa(f),f.allPendingTasks--,f.allPendingTasks===0&&Ca(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Ir(l.context);var x=g.children.length,S=g.chunks.length;try{ua(u,l),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Fe),l.abortSet.delete(l),g.status=1,Ta(u,l.blockedBoundary,g),Ea(u,l.blockedBoundary,l.row,g)}catch(e){gi(),g.children.length=x,g.chunks.length=S;var C=e===Gr?Jr():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Zi(l.componentStack);l.abortSet.delete(l),Qi(u,C,T),pa(u,w,l,g),Ea(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Gr?hi():null;var E=l.ping;C.then(E,E)}else{var D=Zi(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&ea(u,k),u.allPendingTasks--,f=Qi(u,C,D),O===null)$i(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,ma(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&ea(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&Aa(u)}u.allPendingTasks===0&&Ca(u)}}}}s.splice(0,c),e.destination!==null&&Ra(e,e.destination)}catch(t){Qi(e,t,{}),$i(e,t)}finally{Oi=o,le.H=n,le.A=i,n===Di&&Ir(t),Ui=a}}}function Oa(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=ka(e,t.children[i],n)||r;return r}function ka(e,t,n){var i=t.boundary;if(i===null)return Oa(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(Dt(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return Oa(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return Dt(e.renderState,o),Oa(e,t,n);default:return!0}}function Aa(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=ka(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function ja(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,F(t,At),F(t,e.placeholderPrefix),e=R(i.toString(16)),F(t,e),I(t,jt);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)F(t,o[s]);a=Na(e,t,a,i)}for(;s<o.length-1;s++)F(t,o[s]);return s<o.length&&(a=I(t,o[s])),a;case 3:return!0;default:throw Error(r(390))}}var Ma=0;function Na(e,t,n,i){var a=n.boundary;if(a===null)return ja(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;o!==null&&--o.pendingTasks===0&&ea(e,o),a=a.errorDigest,I(t,Lt),F(t,zt),a&&(F(t,Vt),F(t,R(W(a))),F(t,Bt)),I(t,Ht),ja(e,t,n,i)}else if(a.status!==1)a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Ut(t,e.renderState,a.rootSegmentID),i&&wr(i,a.fallbackState),ja(e,t,n,i);else if(!La&&Ii(e,a)&&(Ma+a.byteSize>e.progressiveChunkSize||Tr(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Ut(t,e.renderState,a.rootSegmentID),ja(e,t,n,i);else{if(Ma+=a.byteSize,i&&wr(i,a.contentState),n=a.row,n!==null&&Ii(e,a)&&--n.pendingTasks===0&&ea(e,n),I(t,Pt),n=a.completedSegments,n.length!==1)throw Error(r(391));Na(e,t,n[0],i)}return I(t,Rt)}function Pa(e,t,n,r){return un(t,e.renderState,n.parentFormatContext,n.id),Na(e,t,n,r),dn(t,n.parentFormatContext)}function Fa(e,t,n){Ma=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Ia(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Ii(e,n)&&--r.pendingTasks===0&&ea(e,r),Hn(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,F(t,e.startInlineScript),F(t,$e),a?(!(r.instructions&4)&&(r.instructions|=4,F(t,wn)),!(r.instructions&2)&&(r.instructions|=2,F(t,gn)),r.instructions&8?F(t,yn):(r.instructions|=8,F(t,vn))):(!(r.instructions&2)&&(r.instructions|=2,F(t,gn)),F(t,_n)),r=R(i.toString(16)),F(t,e.boundaryPrefix),F(t,r),F(t,bn),F(t,e.segmentPrefix),F(t,r),a?(F(t,xn),or(t,n)):F(t,Sn),n=I(t,Cn),Ot(t,e)&&n}function Ia(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return Pa(e,t,i,a)}return o===n.rootSegmentID?Pa(e,t,i,a):(Pa(e,t,i,a),n=e.resumableState,e=e.renderState,F(t,e.startInlineScript),F(t,$e),n.instructions&1?F(t,pn):(n.instructions|=1,F(t,fn)),F(t,e.segmentPrefix),o=R(o.toString(16)),F(t,o),F(t,mn),F(t,e.placeholderPrefix),F(t,o),t=I(t,hn),t)}var La=!1;function Ra(e,t){N=new Uint8Array(2048),P=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;Ma=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)F(t,c[u]);if(l)for(u=0;u<l.length;u++)F(t,l[u]);else F(t,St(`head`)),F(t,$e)}else if(l)for(u=0;u<l.length;u++)F(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)F(t,d[u]);d.length=0,o.preconnects.forEach(Un,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)F(t,f[u]);f.length=0,o.fontPreloads.forEach(Un,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Un,t),o.highImagePreloads.clear(),me=o,o.styles.forEach(Zn,t),me=null;var p=o.importMapChunks;for(u=0;u<p.length;u++)F(t,p[u]);p.length=0,o.bootstrapScripts.forEach(Un,t),o.scripts.forEach(Un,t),o.scripts.clear(),o.bulkPreloads.forEach(Un,t),o.bulkPreloads.clear(),c||l||(a.instructions|=32);var m=o.hoistableChunks;for(u=0;u<m.length;u++)F(t,m[u]);for(a=m.length=0;a<i.length;a++){var h=i[a];for(o=0;o<h.length;o++)Na(e,t,h[o],null)}var g=e.renderState.preamble,_=g.headChunks;(g.htmlChunks||_)&&F(t,Et(`head`));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)F(t,v[i]);Na(e,t,r,null),e.completedRootSegment=null;var y=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var b=e.resumableState;if(!(b.instructions&64)){if(b.instructions|=64,F(t,y.startInlineScript),!(b.instructions&32)){b.instructions|=32;var x=`_`+b.idPrefix+`R_`;F(t,er),F(t,R(W(x))),F(t,We)}F(t,$e),F(t,kt),I(t,ge)}}Ot(t,y)}var S=e.renderState;r=0;var C=S.viewportChunks;for(r=0;r<C.length;r++)F(t,C[r]);C.length=0,S.preconnects.forEach(Un,t),S.preconnects.clear(),S.fontPreloads.forEach(Un,t),S.fontPreloads.clear(),S.highImagePreloads.forEach(Un,t),S.highImagePreloads.clear(),S.styles.forEach($n,t),S.scripts.forEach(Un,t),S.scripts.clear(),S.bulkPreloads.forEach(Un,t),S.bulkPreloads.clear();var w=S.hoistableChunks;for(r=0;r<w.length;r++)F(t,w[r]);w.length=0;var T=e.clientRenderedBoundaries;for(n=0;n<T.length;n++){var E=T[n];S=t;var D=e.resumableState,O=e.renderState,k=E.rootSegmentID,A=E.errorDigest;F(S,O.startInlineScript),F(S,$e),D.instructions&4?F(S,En):(D.instructions|=4,F(S,Tn)),F(S,O.boundaryPrefix),F(S,R(k.toString(16))),F(S,Dn),A&&(F(S,On),F(S,R(jn(A||``))));var j=I(S,kn);if(!j){e.destination=null,n++,T.splice(0,n);return}}T.splice(0,n);var M=e.completedBoundaries;for(n=0;n<M.length;n++)if(!Fa(e,t,M[n])){e.destination=null,n++,M.splice(0,n);return}M.splice(0,n),L(t),N=new Uint8Array(2048),P=0,La=!0;var ee=e.partialBoundaries;for(n=0;n<ee.length;n++){var z=ee[n];a:{T=e,E=t,Ma=z.byteSize;var B=z.completedSegments;for(j=0;j<B.length;j++)if(!Ia(T,E,z,B[j])){j++,B.splice(0,j);var te=!1;break a}B.splice(0,j);var V=z.row;V!==null&&V.together&&z.pendingTasks===1&&(V.pendingTasks===1?ta(T,V,V.hoistables):V.pendingTasks--),te=Hn(E,z.contentState,T.renderState)}if(!te){e.destination=null,n++,ee.splice(0,n);return}}ee.splice(0,n),La=!1;var H=e.completedBoundaries;for(n=0;n<H.length;n++)if(!Fa(e,t,H[n])){e.destination=null,n++,H.splice(0,n);return}H.splice(0,n)}}finally{La=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&F(t,Et(`body`)),n.hasHtml&&F(t,Et(`html`)),L(t),e.status=14,t.close(),e.destination=null):L(t)}}function za(e){e.flushScheduled=e.destination!==null,M(function(){return Da(e)}),k(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&xa(e,e.pendingRootTasks===0)})}function Ba(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,k(function(){var t=e.destination;t?Ra(e,t):e.flushScheduled=!1}))}function Va(e,t){if(e.status===13)e.status=14,te(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{Ra(e,t)}catch(t){Qi(e,t,{}),$i(e,t)}}}function Ha(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return ba(t,e,i)}),n.clear()}e.destination!==null&&Ra(e,e.destination)}catch(t){Qi(e,t,{}),$i(e,t)}}function Ua(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Ua(i,t[0],n)),i[2].push(e)}}function Wa(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==5&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Ga(){var e=t.version;if(e!==`19.2.4`)throw Error(r(527,e,`19.2.4`))}Ga(),Ga(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=De(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=Bi(e,o,Ee(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),Ae(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Va(s,e)},cancel:function(e){s.destination=null,Ha(s,e)}},{highWaterMark:0});e={postponed:Wa(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)Ha(s,c.reason);else{var l=function(){Ha(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}za(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=De(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=zi(e,l,Ee(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),Ae(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Va(u,e)},cancel:function(e){u.destination=null,Ha(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Ha(u,d.reason);else{var f=function(){Ha(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}za(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=Vi(e,t,Ee(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Va(c,e)},cancel:function(e){c.destination=null,Ha(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)Ha(c,l.reason);else{var u=function(){Ha(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}za(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Hi(e,t,Ee(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Va(a,e)},cancel:function(e){a.destination=null,Ha(a,e)}},{highWaterMark:0});e={postponed:Wa(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)Ha(a,o.reason);else{var s=function(){Ha(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}za(a)})},e.version=`19.2.4`})),v=s((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function n(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function r(e){return typeof e!=`object`||!e?null:(e=Jn&&e[Jn]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e){return e=Object.prototype.toString.call(e),e.slice(8,e.length-1)}function a(e){var t=JSON.stringify(e);return`"`+e+`"`===t?e:t}function o(e){switch(typeof e){case`string`:return JSON.stringify(10>=e.length?e:e.slice(0,10)+`...`);case`object`:return Yn(e)?`[...]`:e!==null&&e.$$typeof===Qn?`client`:(e=i(e),e===`Object`?`{...}`:e);case`function`:return e.$$typeof===Qn?`client`:(e=e.displayName||e.name)?`function `+e:`function`;default:return String(e)}}function s(e){if(typeof e==`string`)return e;switch(e){case zn:return`Suspense`;case Bn:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case Rn:return s(e.render);case Vn:return s(e.type);case Hn:var t=e._payload;e=e._init;try{return s(e(t))}catch{}}return``}function c(e,t){var n=i(e);if(n!==`Object`&&n!==`Array`)return n;var r=-1,l=0;if(Yn(e))if(Zn.has(e)){var u=Zn.get(e);n=`<`+s(u)+`>`;for(var d=0;d<e.length;d++){var f=e[d];f=typeof f==`string`?f:typeof f==`object`&&f?`{`+c(f)+`}`:`{`+o(f)+`}`,``+d===t?(r=n.length,l=f.length,n+=f):n=15>f.length&&40>n.length+f.length?n+f:n+`{...}`}n+=`</`+s(u)+`>`}else{for(n=`[`,u=0;u<e.length;u++)0<u&&(n+=`, `),d=e[u],d=typeof d==`object`&&d?c(d):o(d),``+u===t?(r=n.length,l=d.length,n+=d):n=10>d.length&&40>n.length+d.length?n+d:n+`...`;n+=`]`}else if(e.$$typeof===jn)n=`<`+s(e.type)+`/>`;else{if(e.$$typeof===Qn)return`client`;if(Xn.has(e)){for(n=Xn.get(e),n=`<`+(s(n)||`...`),u=Object.keys(e),d=0;d<u.length;d++){n+=` `,f=u[d],n+=a(f)+`=`;var p=e[f],m=f===t&&typeof p==`object`&&p?c(p):o(p);typeof p!=`string`&&(m=`{`+m+`}`),f===t?(r=n.length,l=m.length,n+=m):n=10>m.length&&40>n.length+m.length?n+m:n+`...`}n+=`>`}else{for(n=`{`,u=Object.keys(e),d=0;d<u.length;d++)0<d&&(n+=`, `),f=u[d],n+=a(f)+`: `,p=e[f],p=typeof p==`object`&&p?c(p):o(p),f===t?(r=n.length,l=p.length,n+=p):n=10>p.length&&40>n.length+p.length?n+p:n+`...`;n+=`}`}}return t===void 0?n:-1<r&&0<l?(e=` `.repeat(r)+`^`.repeat(l),`
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
%s`,e)}}return null}function z(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||Si||(Si=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i===null&&a===null||wi||(wi=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),o===null||Ci||(Ci=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`));var l=R(t,r);l===null?(e.push(si,`formAction`,ci,di,li),o=a=i=r=s=null,ne(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&B(e,`name`,s),r!=null&&B(e,`formAction`,r),i!=null&&B(e,`formEncType`,i),a!=null&&B(e,`formMethod`,a),o!=null&&B(e,`formTarget`,o),c}function B(e,t,n){switch(t){case`className`:I(e,`class`,n);break;case`tabIndex`:I(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:I(e,t,n);break;case`style`:P(e,n);break;case`src`:case`href`:if(n===``){console.error(t===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,t,t);break}case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;m(n,t),n=E(``+n),e.push(si,t,ci,T(n),li);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:F(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;m(n,t),n=E(``+n),e.push(si,`xlink:href`,ci,T(n),li);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(si,t,ci,T(n),li);break;case`inert`:n!==``||Kr[t]||(Kr[t]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",t));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`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(si,t,ui);break;case`capture`:case`download`:!0===n?e.push(si,t,ui):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(si,t,ci,T(n),li);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(si,t,ci,T(n),li);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(si,t,ci,T(n),li);break;case`xlinkActuate`:I(e,`xlink:actuate`,n);break;case`xlinkArcrole`:I(e,`xlink:arcrole`,n);break;case`xlinkRole`:I(e,`xlink:role`,n);break;case`xlinkShow`:I(e,`xlink:show`,n);break;case`xlinkTitle`:I(e,`xlink:title`,n);break;case`xlinkType`:I(e,`xlink:type`,n);break;case`xmlBase`:I(e,`xml:base`,n);break;case`xmlLang`:I(e,`xml:lang`,n);break;case`xmlSpace`:I(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=ar.get(t)||t,v(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(si,t,ci,T(n),li)}}}function te(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!=`object`||!(`__html`in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&(_(t),e.push(``+t))}}function V(e,t){var n=e[t];n!=null&&(n=Yn(n),e.multiple&&!n?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!e.multiple&&n&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t))}function H(e){var t=``;return kn.Children.forEach(e,function(e){e!=null&&(t+=e,vi||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||(vi=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}function ne(e,t){if((e.instructions&16)===Pr){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),J(r,e),r.push(fi,Ti,Wr)):r.unshift(t.startInlineScript,fi,Ti,Wr)}}function re(e,t){for(var n in e.push(G(`link`)),t)if(er.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:B(e,n,r)}}return e.push(pi),null}function U(e){return _(e),(``+e).replace(Ei,t)}function ie(e,t,n){for(var r in e.push(G(n)),t)if(er.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:B(e,r,i)}}return e.push(pi),null}function ae(e,t){e.push(G(`title`));var n=null,r=null,i;for(i in t)if(er.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:B(e,i,a)}}return e.push(fi),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(T(``+t)),te(e,r,n),e.push(ce(`title`)),null}function oe(e,t){e.push(G(`script`));var n=null,r=null,i;for(i in t)if(er.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:B(e,i,a)}}return e.push(fi),n!=null&&typeof n!=`string`&&(t=typeof n==`number`?`a number for children`:Array.isArray(n)?`an array for children`:`something unexpected for children`,console.error(`A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.`,t)),te(e,r,n),typeof n==`string`&&e.push(D(n)),e.push(ce(`script`)),null}function se(e,t,n){e.push(G(n));var r=n=null,i;for(i in t)if(er.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:B(e,i,a)}}return e.push(fi),te(e,r,n),n}function W(e,t,n){e.push(G(n));var r=n=null,i;for(i in t)if(er.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:B(e,i,a)}}return e.push(fi),te(e,r,n),typeof n==`string`?(e.push(T(n)),null):n}function G(e){var t=ki.get(e);if(t===void 0){if(!Oi.test(e))throw Error(`Invalid tag: `+e);t=`<`+e,ki.set(e,t)}return t}function K(e,t,n,r,i,a,o,s,c){x(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||dr||(dr=!0,t===`select`&&n.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));b:if(t.indexOf(`-`)===-1)var l=!1;else switch(t){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`:l=!1;break b;default:l=!0}switch(l||typeof n.is==`string`||C(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),s.insertionMode!==Zr&&s.insertionMode!==Qr&&t.indexOf(`-`)===-1&&t.toLowerCase()!==t&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,t),t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(G(`a`));var u=null,d=null,f;for(f in n)if(er.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?I(e,`href`,``):B(e,f,p);break;default:B(e,f,p)}}if(e.push(fi),te(e,d,u),typeof u==`string`){e.push(T(u));var h=null}else h=u;return h;case`g`:case`p`:case`li`:break;case`select`:y(`select`,n),V(n,`value`),V(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||gi||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),gi=!0),e.push(G(`select`));var g=null,b=null,S;for(S in n)if(er.call(n,S)){var w=n[S];if(w!=null)switch(S){case`children`:g=w;break;case`dangerouslySetInnerHTML`:b=w;break;case`defaultValue`:case`value`:break;default:B(e,S,w)}}return e.push(fi),te(e,b,g),g;case`option`:var D=s.selectedValue;e.push(G(`option`));var O=null,k=null,A=null,j=null,M;for(M in n)if(er.call(n,M)){var N=n[M];if(N!=null)switch(M){case`children`:O=N;break;case`selected`:A=N,bi||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:j=N;break;case`value`:k=N;default:B(e,M,N)}}if(D!=null){if(k!==null){m(k,`value`);var ee=``+k}else j===null||yi||(yi=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),ee=H(O);if(Yn(D)){for(var K=0;K<D.length;K++)if(m(D[K],`value`),``+D[K]===ee){e.push(` selected=""`);break}}else m(D,`select.value`),``+D===ee&&e.push(` selected=""`)}else A&&e.push(` selected=""`);return e.push(fi),te(e,j,O),O;case`textarea`:y(`textarea`,n),n.value===void 0||n.defaultValue===void 0||_i||(console.error(`Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`),_i=!0),e.push(G(`textarea`));var q=null,le=null,ue=null,de;for(de in n)if(er.call(n,de)){var fe=n[de];if(fe!=null)switch(de){case`children`:ue=fe;break;case`value`:q=fe;break;case`defaultValue`:le=fe;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:B(e,de,fe)}}if(q===null&&le!==null&&(q=le),e.push(fi),ue!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yn(ue)){if(1<ue.length)throw Error(`<textarea> can only have at most one child.`);_(ue[0]),q=``+ue[0]}_(ue),q=``+ue}return typeof q==`string`&&q[0]===`
|
|
78
|
-
`&&e.push(Di),q!==null&&(m(q,`value`),e.push(T(``+q))),null;case`input`:y(`input`,n),e.push(G(`input`));var pe=null,me=null,he=null,ge=null,_e=null,ve=null,ye=null,be=null,xe=null,Se;for(Se in n)if(er.call(n,Se)){var J=n[Se];if(J!=null)switch(Se){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:pe=J;break;case`formAction`:me=J;break;case`formEncType`:he=J;break;case`formMethod`:ge=J;break;case`formTarget`:_e=J;break;case`defaultChecked`:xe=J;break;case`defaultValue`:ye=J;break;case`checked`:be=J;break;case`value`:ve=J;break;default:B(e,Se,J)}}me===null||n.type===`image`||n.type===`submit`||xi||(xi=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var Y=z(e,r,i,me,he,ge,_e,pe);return be===null||xe===null||hi||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),hi=!0),ve===null||ye===null||mi||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),mi=!0),be===null?xe!==null&&F(e,`checked`,xe):F(e,`checked`,be),ve===null?ye!==null&&B(e,`value`,ye):B(e,`value`,ve),e.push(pi),Y?.forEach(L,e),null;case`button`:e.push(G(`button`));var Ce=null,we=null,Te=null,Oe=null,ke=null,Ae=null,je=null,Me;for(Me in n)if(er.call(n,Me)){var Ne=n[Me];if(Ne!=null)switch(Me){case`children`:Ce=Ne;break;case`dangerouslySetInnerHTML`:we=Ne;break;case`name`:Te=Ne;break;case`formAction`:Oe=Ne;break;case`formEncType`:ke=Ne;break;case`formMethod`:Ae=Ne;break;case`formTarget`:je=Ne;break;default:B(e,Me,Ne)}}Oe===null||n.type==null||n.type===`submit`||xi||(xi=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Pe=z(e,r,i,Oe,ke,Ae,je,Te);if(e.push(fi),Pe?.forEach(L,e),te(e,we,Ce),typeof Ce==`string`){e.push(T(Ce));var Fe=null}else Fe=Ce;return Fe;case`form`:e.push(G(`form`));var Ie=null,Le=null,Re=null,ze=null,Be=null,Ve=null,He;for(He in n)if(er.call(n,He)){var Ue=n[He];if(Ue!=null)switch(He){case`children`:Ie=Ue;break;case`dangerouslySetInnerHTML`:Le=Ue;break;case`action`:Re=Ue;break;case`encType`:ze=Ue;break;case`method`:Be=Ue;break;case`target`:Ve=Ue;break;default:B(e,He,Ue)}}var We=null,Ge=null;if(typeof Re==`function`){ze===null&&Be===null||wi||(wi=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),Ve===null||Ci||(Ci=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`));var X=R(r,Re);X===null?(e.push(si,`action`,ci,di,li),Ve=Be=ze=Re=null,ne(r,i)):(Re=X.action||``,ze=X.encType,Be=X.method,Ve=X.target,We=X.data,Ge=X.name)}if(Re!=null&&B(e,`action`,Re),ze!=null&&B(e,`encType`,ze),Be!=null&&B(e,`method`,Be),Ve!=null&&B(e,`target`,Ve),e.push(fi),Ge!==null&&(e.push(`<input type="hidden"`),I(e,`name`,Ge),e.push(pi),We?.forEach(L,e)),te(e,Le,Ie),typeof Ie==`string`){e.push(T(Ie));var Z=null}else Z=Ie;return Z;case`menuitem`:for(var Ke in e.push(G(`menuitem`)),n)if(er.call(n,Ke)){var qe=n[Ke];if(qe!=null)switch(Ke){case`children`:case`dangerouslySetInnerHTML`:throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:B(e,Ke,qe)}}return e.push(fi),null;case`object`:e.push(G(`object`));var Je=null,Ye=null,Xe;for(Xe in n)if(er.call(n,Xe)){var Ze=n[Xe];if(Ze!=null)switch(Xe){case`children`:Je=Ze;break;case`dangerouslySetInnerHTML`:Ye=Ze;break;case`data`:m(Ze,`data`);var Qe=E(``+Ze);if(Qe===``){console.error(`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,Xe,Xe);break}e.push(si,`data`,ci,T(Qe),li);break;default:B(e,Xe,Ze)}}if(e.push(fi),te(e,Ye,Je),typeof Je==`string`){e.push(T(Je));var $e=null}else $e=Je;return $e;case`title`:var et=s.tagScope&1,tt=s.tagScope&4;if(er.call(n,`children`)){var nt=n.children,rt=Array.isArray(nt)?2>nt.length?nt[0]:null:nt;Array.isArray(nt)&&1<nt.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",nt.length):typeof rt==`function`||typeof rt==`symbol`?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof rt==`function`?`a Function`:`a Sybmol`):rt&&rt.toString==={}.toString&&(rt.$$typeof==null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."))}if(s.insertionMode===Zr||et||n.itemProp!=null)var it=ae(e,n);else tt?it=null:(ae(i.hoistableChunks,n),it=void 0);return it;case`link`:var at=s.tagScope&1,ot=s.tagScope&4,st=n.rel,ct=n.href,lt=n.precedence;if(s.insertionMode===Zr||at||n.itemProp!=null||typeof st!=`string`||typeof ct!=`string`||ct===``){st===`stylesheet`&&typeof n.precedence==`string`&&(typeof ct==`string`&&ct||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',ct===null?"`null`":ct===void 0?"`undefined`":ct===``?`an empty string`:`something with type "`+typeof ct+`"`)),re(e,n);var ut=null}else if(n.rel===`stylesheet`)if(typeof lt!=`string`||n.disabled!=null||n.onLoad||n.onError){if(typeof lt==`string`){if(n.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(n.onLoad||n.onError){var dt=n.onLoad&&n.onError?"`onLoad` and `onError` props":n.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',dt,dt)}}ut=re(e,n)}else{var ft=i.styles.get(lt),pt=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(pt!==Vr){r.styleResources[ct]=Vr,ft||(ft={precedence:T(lt),rules:[],hrefs:[],sheets:new Map},i.styles.set(lt,ft));var mt={state:Xa,props:$n({},n,{"data-precedence":n.precedence,precedence:null})};if(pt){pt.length===2&&Ee(mt.props,pt);var ht=i.preloads.stylesheets.get(ct);ht&&0<ht.length?ht.length=0:mt.state=Za}ft.sheets.set(ct,mt),o&&o.stylesheets.add(mt)}else if(ft){var gt=ft.sheets.get(ct);gt&&o&&o.stylesheets.add(gt)}c&&e.push(`<!-- -->`),ut=null}else n.onLoad||n.onError?ut=re(e,n):(c&&e.push(`<!-- -->`),ut=ot?null:re(i.hoistableChunks,n));return ut;case`script`:var _t=s.tagScope&1,vt=n.async;if(typeof n.src!=`string`||!n.src||!vt||typeof vt==`function`||typeof vt==`symbol`||n.onLoad||n.onError||s.insertionMode===Zr||_t||n.itemProp!=null)var yt=oe(e,n);else{var bt=n.src;if(n.type===`module`)var xt=r.moduleScriptResources,St=i.preloads.moduleScripts;else xt=r.scriptResources,St=i.preloads.scripts;var Ct=xt.hasOwnProperty(bt)?xt[bt]:void 0;if(Ct!==Vr){xt[bt]=Vr;var wt=n;if(Ct){Ct.length===2&&(wt=$n({},n),Ee(wt,Ct));var Tt=St.get(bt);Tt&&(Tt.length=0)}var Et=[];i.scripts.add(Et),oe(Et,wt)}c&&e.push(`<!-- -->`),yt=null}return yt;case`style`:var Dt=s.tagScope&1;if(er.call(n,`children`)){var Ot=n.children,kt=Array.isArray(Ot)?2>Ot.length?Ot[0]:null:Ot;(typeof kt==`function`||typeof kt==`symbol`||Array.isArray(kt))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof kt==`function`?`a Function`:typeof kt==`symbol`?`a Sybmol`:`an Array`)}var At=n.precedence,jt=n.href,Mt=n.nonce;if(s.insertionMode===Zr||Dt||n.itemProp!=null||typeof At!=`string`||typeof jt!=`string`||jt===``){e.push(G(`style`));var Nt=null,Pt=null,Ft;for(Ft in n)if(er.call(n,Ft)){var It=n[Ft];if(It!=null)switch(Ft){case`children`:Nt=It;break;case`dangerouslySetInnerHTML`:Pt=It;break;default:B(e,Ft,It)}}e.push(fi);var Lt=Array.isArray(Nt)?2>Nt.length?Nt[0]:null:Nt;typeof Lt!=`function`&&typeof Lt!=`symbol`&&Lt!=null&&e.push(U(Lt)),te(e,Pt,Nt),e.push(ce(`style`));var Rt=null}else{jt.includes(` `)&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',jt);var zt=i.styles.get(At),Bt=r.styleResources.hasOwnProperty(jt)?r.styleResources[jt]:void 0;if(Bt!==Vr){r.styleResources[jt]=Vr,Bt&&console.error(`React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.`,jt),zt||(zt={precedence:T(At),rules:[],hrefs:[],sheets:new Map},i.styles.set(At,zt));var Vt=i.nonce.style;if(Vt&&Vt!==Mt)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',At,Mt,Vt);else{!Vt&&Mt&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',At,Mt),zt.hrefs.push(T(jt));var Ht=zt.rules,Ut=null,Wt=null,Gt;for(Gt in n)if(er.call(n,Gt)){var Kt=n[Gt];if(Kt!=null)switch(Gt){case`children`:Ut=Kt;break;case`dangerouslySetInnerHTML`:Wt=Kt}}var qt=Array.isArray(Ut)?2>Ut.length?Ut[0]:null:Ut;typeof qt!=`function`&&typeof qt!=`symbol`&&qt!=null&&Ht.push(U(qt)),te(Ht,Wt,Ut)}}zt&&o&&o.styles.add(zt),c&&e.push(`<!-- -->`),Rt=void 0}return Rt;case`meta`:var Jt=s.tagScope&1,Q=s.tagScope&4;if(s.insertionMode===Zr||Jt||n.itemProp!=null)var Yt=ie(e,n,`meta`);else c&&e.push(`<!-- -->`),Yt=Q?null:typeof n.charSet==`string`?ie(i.charsetChunks,n,`meta`):n.name===`viewport`?ie(i.viewportChunks,n,`meta`):ie(i.hoistableChunks,n,`meta`);return Yt;case`listing`:case`pre`:e.push(G(t));var Xt=null,Zt=null,Qt;for(Qt in n)if(er.call(n,Qt)){var $t=n[Qt];if($t!=null)switch(Qt){case`children`:Xt=$t;break;case`dangerouslySetInnerHTML`:Zt=$t;break;default:B(e,Qt,$t)}}if(e.push(fi),Zt!=null){if(Xt!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Zt!=`object`||!(`__html`in Zt))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var en=Zt.__html;en!=null&&(typeof en==`string`&&0<en.length&&en[0]===`
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
%s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var W=Re(i)||`Unknown`;ks[W]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,W),ks[W]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var G=Re(i)||`Unknown`;Os[G]||(console.error(`%s: Function components do not support contextType.`,G),Os[G]=!0)}Wt(e,t,n,U,ie,ae,oe)}else if(typeof i==`string`){var q=t.blockedSegment;if(q===null){var le=a.children,ue=t.formatContext,de=t.keyPath;t.formatContext=A(ue,i,a),t.keyPath=n,$(e,t,le,-1),t.formatContext=ue,t.keyPath=de}else{var fe=K(q.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,q.lastPushedText);q.lastPushedText=!1;var pe=t.formatContext,me=t.keyPath;if(t.keyPath=n,(t.formatContext=A(pe,i,a)).insertionMode===Xr){var he=Ot(e,0,null,t.formatContext,!1,!1);q.preambleChildren.push(he),t.blockedSegment=he;try{he.status=6,$(e,t,fe,-1),Le(he.chunks,e.renderState,he.lastPushedText,he.textEmbedded),he.status=ys}finally{t.blockedSegment=q}}else $(e,t,fe,-1);t.formatContext=pe,t.keyPath=me;a:{var ge=q.chunks,_e=e.resumableState;switch(i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(pe.insertionMode<=Jr){_e.hasBody=!0;break a}break;case`html`:if(pe.insertionMode===qr){_e.hasHtml=!0;break a}break;case`head`:if(pe.insertionMode<=Jr)break a}ge.push(ce(i))}q.lastPushedText=!1}}else{switch(i){case Gn:case Pn:case Fn:case Nn:var ve=t.keyPath;t.keyPath=n,Q(e,t,a.children,-1),t.keyPath=ve;return;case Wn:var ye=t.blockedSegment;if(ye===null){if(a.mode!==`hidden`){var be=t.keyPath;t.keyPath=n,$(e,t,a.children,-1),t.keyPath=be}}else if(a.mode!==`hidden`){e.renderState.generateStaticMarkup||ye.chunks.push(`<!--&-->`),ye.lastPushedText=!1;var xe=t.keyPath;t.keyPath=n,$(e,t,a.children,-1),t.keyPath=xe,e.renderState.generateStaticMarkup||ye.chunks.push(`<!--/&-->`),ye.lastPushedText=!1}return;case Bn:a:{var Se=a.children,J=a.revealOrder;if(J===`forwards`||J===`backwards`||J===`unstable_legacy-backwards`){if(Yn(Se)){Ht(e,t,n,Se,J);break a}var Y=r(Se);if(Y){var Ce=Y.call(Se);if(Ce){Jt(t,Se,-1,Ce,Y);var we=Ce.next();if(!we.done){var Te=[];do Te.push(we.value),we=Ce.next();while(!we.done);Ht(e,t,n,Se,J)}break a}}}if(J===`together`){var Ee=t.keyPath,De=t.row,Oe=t.row=Vt(null);Oe.boundaries=[],Oe.together=!0,t.keyPath=n,Q(e,t,Se,-1),--Oe.pendingTasks===0&&Rt(e,Oe),t.keyPath=Ee,t.row=De,De!==null&&0<Oe.pendingTasks&&(De.pendingTasks++,Oe.next=De)}else{var ke=t.keyPath;t.keyPath=n,Q(e,t,Se,-1),t.keyPath=ke}}return;case qn:case Un:throw Error(`ReactDOMServer does not yet support scope components.`);case zn:a:if(t.replay!==null){var Ae=t.keyPath,je=t.formatContext,Me=t.row;t.keyPath=n,t.formatContext=N(e.resumableState,je),t.row=null;var Ne=a.children;try{$(e,t,Ne,-1)}finally{t.keyPath=Ae,t.formatContext=je,t.row=Me}}else{var Pe=t.keyPath,Fe=t.formatContext,Ie=t.row,ze=t.blockedBoundary,Be=t.blockedPreamble,Ve=t.hoistableState,He=t.blockedSegment,Ue=a.fallback,We=a.children,Ge=new Set,X=Tt(e,t.row,Ge,null,null);e.trackedPostpones!==null&&(X.trackedContentKeyPath=n);var Z=Ot(e,He.chunks.length,X,t.formatContext,!1,!1);He.children.push(Z),He.lastPushedText=!1;var Ke=Ot(e,0,null,t.formatContext,!1,!1);if(Ke.parentFlushed=!0,e.trackedPostpones!==null){var qe=t.componentStack,Je=[n[0],`Suspense Fallback`,n[2]],Ye=[Je[1],Je[2],[],null];e.trackedPostpones.workingMap.set(Je,Ye),X.trackedFallbackNode=Ye,t.blockedSegment=Z,t.blockedPreamble=X.fallbackPreamble,t.keyPath=Je,t.formatContext=M(e.resumableState,Fe),t.componentStack=Nt(qe),Z.status=6;try{$(e,t,Ue,-1),Le(Z.chunks,e.renderState,Z.lastPushedText,Z.textEmbedded),Z.status=ys}catch(t){throw Z.status=e.status===12?xs:Ss,t}finally{t.blockedSegment=He,t.blockedPreamble=Be,t.keyPath=Pe,t.formatContext=Fe}var Xe=Et(e,null,We,-1,X,Ke,X.contentPreamble,X.contentState,t.abortSet,n,N(e.resumableState,t.formatContext),t.context,t.treeContext,null,qe,ao,t.debugTask);Mt(Xe),e.pingedTasks.push(Xe)}else{t.blockedBoundary=X,t.blockedPreamble=X.contentPreamble,t.hoistableState=X.contentState,t.blockedSegment=Ke,t.keyPath=n,t.formatContext=N(e.resumableState,Fe),t.row=null,Ke.status=6;try{if($(e,t,We,-1),Le(Ke.chunks,e.renderState,Ke.lastPushedText,Ke.textEmbedded),Ke.status=ys,un(X,Ke),X.pendingTasks===0&&X.status===vs){if(X.status=ys,!bt(e,X)){Ie!==null&&--Ie.pendingTasks===0&&Rt(e,Ie),e.pendingRootTasks===0&&t.blockedPreamble&&hn(e);break a}}else Ie!==null&&Ie.together&&Bt(e,Ie)}catch(n){if(X.status=_s,e.status===12){Ke.status=xs;var Ze=e.fatalError}else Ke.status=Ss,Ze=n;var Qe=Pt(t.componentStack);Ft(X,It(e,Ze,Qe,t.debugTask),Ze,Qe,!1),en(e,X)}finally{t.blockedBoundary=ze,t.blockedPreamble=Be,t.hoistableState=Ve,t.blockedSegment=He,t.keyPath=Pe,t.formatContext=Fe,t.row=Ie}var $e=Et(e,null,Ue,-1,ze,Z,X.fallbackPreamble,X.fallbackState,Ge,[n[0],`Suspense Fallback`,n[2]],M(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Nt(t.componentStack),ao,t.debugTask);Mt($e),e.pingedTasks.push($e)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case Rn:if(`ref`in a){var et={};for(var tt in a)tt!==`ref`&&(et[tt]=a[tt])}else et=a;Wt(e,t,n,Ut(e,t,n,i.render,et,o),Io!==0,Lo,Ro);return;case Vn:Gt(e,t,n,i.type,a,o);return;case Ln:var nt=a.value,rt=a.children,it=t.context,at=t.keyPath,ot=i._currentValue2;i._currentValue2=nt,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==oo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=oo;var st=so,ct={parent:st,depth:st===null?0:st.depth+1,context:i,parentValue:ot,value:nt};so=ct,t.context=ct,t.keyPath=n,Q(e,t,rt,-1);var lt=so;if(lt===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);lt.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),lt.context._currentValue2=lt.parentValue,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==oo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=oo,t.context=so=lt.parent,t.keyPath=at,it!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case In:var ut=i._context,dt=a.children;typeof dt!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`);var ft=dt(ut._currentValue2),pt=t.keyPath;t.keyPath=n,Q(e,t,ft,-1),t.keyPath=pt;return;case Hn:var mt=fs(i);if(e.status===12)throw null;Gt(e,t,n,mt,a,o);return}var ht=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(ht+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+((i==null?i:typeof i)+`.`+ht))}}function Kt(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ot(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,$(e,t,r,i),s.status=ys,o===null?e.completedRootSegment=s:(un(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function qt(e,t,n,r,i,a,o,s,c,l){a=l.nodes;for(var u=0;u<a.length;u++){var d=a[u];if(i===d[1]){if(d.length===4){if(r!==null&&r!==d[0])throw Error(`Expected the resume to render <`+d[0]+`> in this slot but instead it rendered <`+r+`>. The tree doesn't match so React will fallback to client rendering.`);var f=d[2];r=d[3],i=t.node,t.replay={nodes:f,slots:r,pendingTasks:1};try{if(Gt(e,t,n,o,s,c),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(d){if(typeof d==`object`&&d&&(d===To||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=Pt(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=It(s,n,o,t.debugTask),an(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==zn)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(Re(o)||`Unknown`)+`>. The tree doesn't match so React will fallback to client rendering.`);a:{l=void 0,r=d[5],o=d[2],c=d[3],i=d[4]===null?[]:d[4][2],d=d[4]===null?null:d[4][3];var p=t.keyPath,m=t.formatContext,h=t.row,g=t.replay,_=t.blockedBoundary,v=t.hoistableState,y=s.children,b=s.fallback,x=new Set;s=Tt(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=N(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if($(e,t,y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===vs){s.status=ys,e.completedBoundaries.push(s);break a}}catch(n){s.status=_s,f=Pt(t.componentStack),l=It(e,n,f,t.debugTask),Ft(s,l,n,f,!1),t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=_,t.hoistableState=v,t.replay=g,t.keyPath=p,t.formatContext=m,t.row=h}s=Dt(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],M(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Nt(t.componentStack),ao,t.debugTask),Mt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function Jt(e,t,n,r,i){r===t?(n!==-1||e.componentStack===null||typeof e.componentStack.type!=`function`||Object.prototype.toString.call(e.componentStack.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(r)!==`[object Generator]`)&&(js||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),js=!0):t.entries!==i||Ms||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Ms=!0)}function Q(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Kt(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,Mt(t),Yt(e,t),t.componentStack=n,t.debugTask=r)}function Yt(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case jn:var a=n.type,o=n.key;n=n.props;var s=n.ref;s=s===void 0?null:s;var c=t.debugTask,l=Re(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(Gt.bind(null,e,t,u,a,n,s)):Gt(e,t,u,a,n,s):c?c.run(qt.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):qt(e,t,u,l,o,i,a,n,s,t.replay);return;case Mn:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case Hn:if(a=fs(n),e.status===12)throw null;Q(e,t,a,i);return}if(Yn(n)){Zt(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(Jt(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);Zt(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,Q(e,t,dt(n),i);if(n.$$typeof===Ln)return Q(e,t,n._currentValue2,i);throw e=Object.prototype.toString.call(n),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`)}typeof n==`string`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=Ie(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=Ie(t.chunks,``+n,e.renderState,t.lastPushedText))):(typeof n==`function`&&(e=n.displayName||n.name||`Component`,console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.`,e,e)),typeof n==`symbol`&&console.error(`Symbols are not valid as a React child.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Check the top-level render call using <`+i+`>.`),i=``,r!=null&&a!==r&&(a=null,r.type===void 0?typeof r.name==`string`&&(a=r.name):a=Re(r.type),a&&(i=` It was passed a child from `+a+`.`)),r=t.componentStack,t.componentStack={parent:t.componentStack,type:n.type,owner:n._owner,stack:n._debugStack},console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,e,i),t.componentStack=r}}}function Zt(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(jt(t,t.node._debugInfo),r!==-1&&(t.keyPath=[t.keyPath,`Fragment`,r],t.replay!==null)){for(var s=t.replay,c=s.nodes,l=0;l<c.length;l++){var u=c[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(Zt(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(i){if(typeof i==`object`&&i&&(i===To||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=Pt(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=It(e,f,d,t.debugTask),an(e,n,r,p,f,u,d,!1)}t.replay=s,c.splice(l,1);break}}t.keyPath=i,t.componentStack=a,t.debugTask=o;return}if(s=t.treeContext,c=n.length,t.replay!==null&&(l=t.replay.slots,typeof l==`object`&&l)){for(r=0;r<c;r++)u=n[r],t.treeContext=Z(s,c,r),f=l[r],typeof f==`number`?(Kt(e,t,f,u,r),delete l[r]):$(e,t,u,r);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o;return}for(l=0;l<c;l++)r=n[l],Xt(e,t,r),t.treeContext=Z(s,c,l),$(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function Qt(e,t,n){if(n.status=Cs,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(`It should not be possible to postpone at the root. This is a bug in React.`);var r=n.trackedFallbackNode,i=[],a=t.workingMap.get(e);return a===void 0?(n=[e[1],e[2],i,null,r,n.rootSegmentID],t.workingMap.set(e,n),En(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function $t(e,t,n,r){r.status=Cs;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=Cs);else{if(a!==null&&a.status===vs){var o=Qt(e,t,a);if(a.trackedContentKeyPath===i&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),o[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&a!==null?a.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)i===null?t.rootSlots=r.id:(n=t.workingMap.get(i),n===void 0?(n=[i[1],i[2],[],r.id],En(n,i[0],t)):n[3]=r.id);else{if(i===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`)}else if(a=t.workingMap,o=a.get(i),o===void 0)e={},o=[i[1],i[2],[],e],a.set(i,o),En(o,i[0],t);else if(e=o[3],e===null)e=o[3]={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`);e[n.childIndex]=r.id}}}function en(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function tn(e,t,n){return Dt(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,ao,t.debugTask)}function nn(e,t,n){var r=t.blockedSegment,i=Ot(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Et(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,ao,t.debugTask)}function $(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.debugTask,u=t.blockedSegment;if(u===null){u=t.replay;try{return Q(e,t,n,r)}catch(d){if(tt(),n=d===To?Ye():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===To?et():null,e=tn(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,We(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===To?et():null,n=tn(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,We(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return Q(e,t,n,r)}catch(r){if(tt(),u.children.length=d,u.chunks.length=f,n=r===To?Ye():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===To?et():null,e=nn(e,t,n).ping,u.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,We(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===To?et():null,u=nn(e,t,u),e.pingedTasks.push(u),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,We(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,We(a),n}function rn(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=xs,dn(this,t,e.row,n))}function an(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)an(e,t,l[2],l[3],i,a,o,s);else{var u=e;l=l[5];var d=i,f=a,p=o,m=s,h=Tt(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=_s,Ft(h,f,d,p,m),h.parentFlushed&&u.clientRenderedBoundaries.push(h)}}if(n.length=0,r!==null){if(t===null)throw Error(`We should not have any resumable nodes in the shell. This is a bug in React.`);if(t.status!==_s&&(t.status=_s,Ft(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function on(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=xs}var a=Pt(e.componentStack),o=e.node;if(typeof o==`object`&&o&&At(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==ws){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,It(t,n,a,e.debugTask),$t(t,r,e,i),dn(t,null,e.row,i)):(It(t,n,a,e.debugTask),Lt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=It(t,n,a,null),an(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&cn(t)}}else{if(o=t.trackedPostpones,r.status!==_s){if(o!==null&&i!==null)return It(t,n,a,e.debugTask),$t(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return on(e,t,n)}),r.fallbackAbortableTasks.clear(),dn(t,r,e.row,i);r.status=_s,i=It(t,n,a,e.debugTask),r.status=_s,Ft(r,i,n,a,!0),en(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Rt(t,a),r.fallbackAbortableTasks.forEach(function(e){return on(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Rt(t,e),t.allPendingTasks--,t.allPendingTasks===0&&ln(t)}function sn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=De(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=Hr,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:Hr;else break b}}r(a?{Link:a}:{})}}}catch(t){It(e,t,{},null)}}function cn(e){e.trackedPostpones===null&&sn(e,!0),e.trackedPostpones===null&&hn(e),e.onShellError=qe,e=e.onShellReady,e()}function ln(e){sn(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==Cs),hn(e),e=e.onAllReady,e()}function un(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==ys&&n.status!==xs&&n.status!==Ss||un(e,n)}else e.completedSegments.push(t)}function dn(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Rt(e,n):n.together&&Bt(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error(`There can only be one root segment. This is a bug in React.`);e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&cn(e)}else if(t.pendingTasks--,t.status!==_s)if(t.pendingTasks===0){if(t.status===vs&&(t.status=ys),r!==null&&r.parentFlushed&&(r.status===ys||r.status===xs)&&un(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===ys)n=t.row,n!==null&&Pe(n.hoistables,t.contentState),bt(e,t)||(t.fallbackAbortableTasks.forEach(rn,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Rt(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&hn(e);else if(t.status===Cs&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var i=t.next;if(i!==null&&(r=i.boundaries,r!==null))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];Qt(e,n,a),dn(e,a,null,null)}}--t.pendingTasks===0&&Rt(e,t)}}else r===null||!r.parentFlushed||r.status!==ys&&r.status!==xs||(un(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Bt(e,t);e.allPendingTasks===0&&ln(e)}function fn(e){if(e.status!==ws&&e.status!==13){var t=so,n=Ar.H;Ar.H=Go;var r=Ar.A;Ar.A=Jo;var i=Ts;Ts=e;var a=Ar.getCurrentStack;Ar.getCurrentStack=kt;var o=Ko;Ko=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=e,u=s[c],d=u.blockedSegment;if(d===null){var f=void 0,p=l;if(l=u,l.replay.pendingTasks!==0){We(l.context),f=qo,qo=l;try{if(typeof l.replay.slots==`number`?Kt(p,l,l.replay.slots,l.node,l.childIndex):Yt(p,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);l.replay.pendingTasks--,l.abortSet.delete(l),dn(p,l.blockedBoundary,l.row,null)}catch(e){tt();var m=e===To?Ye():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===To?et():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=Pt(l.componentStack),_=void 0,v=p,y=l.blockedBoundary,b=p.status===12?p.fatalError:m,x=g,S=l.replay.nodes,C=l.replay.slots;_=It(v,b,x,l.debugTask),an(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&cn(p),p.allPendingTasks--,p.allPendingTasks===0&&ln(p)}}finally{qo=f}}}else if(p=f=void 0,_=u,v=d,v.status===vs){v.status=6,We(_.context),p=qo,qo=_;var w=v.children.length,T=v.chunks.length;try{Yt(l,_),Le(v.chunks,l.renderState,v.lastPushedText,v.textEmbedded),_.abortSet.delete(_),v.status=ys,dn(l,_.blockedBoundary,_.row,v)}catch(e){tt(),v.children.length=w,v.chunks.length=T;var E=e===To?Ye():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=Pt(_.componentStack);_.abortSet.delete(_),It(l,E,O,_.debugTask),$t(l,D,_,v),dn(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=vs,_.thenableState=e===To?et():null;var k=_.ping;E.then(k,k)}else{var A=Pt(_.componentStack);_.abortSet.delete(_),v.status=Ss;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Rt(l,M),l.allPendingTasks--,f=It(l,E,A,N),j===null)Lt(l,E,A,N);else if(j.pendingTasks--,j.status!==_s){j.status=_s,Ft(j,f,E,A,!1),en(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Rt(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&hn(l)}l.allPendingTasks===0&&ln(l)}}finally{qo=p}}}s.splice(0,c),e.destination!==null&&xn(e,e.destination)}catch(t){s={},It(e,t,s,null),Lt(e,t,s,null)}finally{Ko=o,Ar.H=n,Ar.A=r,Ar.getCurrentStack=a,n===Go&&We(t),Ts=i}}}function pn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=mn(e,t.children[i],n)||r;return r}function mn(e,t,n){var r=t.boundary;if(r===null)return pn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case ys:if(q(e.renderState,i),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return pn(e,t,n);case Cs:if(e.trackedPostpones!==null)return!0;case _s:if(t.status===ys)return q(e.renderState,a),pn(e,t,n);default:return!0}}function hn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=mn(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function gn(e,t,n,r){switch(n.parentFlushed=!0,n.status){case vs:n.id=e.nextSegmentId++;case Cs:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push(Mi),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push(Ni);case ys:n.status=bs;var i=!0,a=n.chunks,o=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];o<i.index;o++)t.push(a[o]);i=_n(e,t,i,r)}for(;o<a.length-1;o++)t.push(a[o]);return o<a.length&&(i=t.push(a[o])),i;case xs:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function _n(e,t,n,r){var i=n.boundary;if(i===null)return gn(e,t,n,r);if(i.parentFlushed=!0,i.status===_s){var a=i.row;if(a!==null&&--a.pendingTasks===0&&Rt(e,a),!e.renderState.generateStaticMarkup){var o=i.errorDigest,s=i.errorMessage;a=i.errorStack,i=i.errorComponentStack,t.push(Li),t.push(zi),o&&(t.push(Vi),o=T(o),t.push(o),t.push(Bi)),s&&(t.push(Hi),s=T(s),t.push(s),t.push(Bi)),a&&(t.push(Ui),a=T(a),t.push(a),t.push(Bi)),i&&(t.push(Wi),a=T(i),t.push(a),t.push(Bi)),t.push(Gi)}return gn(e,t,n,r),e=e.renderState.generateStaticMarkup?!0:t.push(Ri),e}if(i.status!==ys)return i.status===vs&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),r&&Pe(r,i.fallbackState),gn(e,t,n,r),t.push(Ri);if(!Ps&&bt(e,i)&&Ns+i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),gn(e,t,n,r),t.push(Ri);if(Ns+=i.byteSize,r&&Pe(r,i.contentState),n=i.row,n!==null&&bt(e,i)&&--n.pendingTasks===0&&Rt(e,n),e.renderState.generateStaticMarkup||t.push(Pi),n=i.completedSegments,n.length!==1)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return _n(e,t,n[0],r),e=e.renderState.generateStaticMarkup?!0:t.push(Ri),e}function vn(e,t,n,r){return de(t,e.renderState,n.parentFormatContext,n.id),_n(e,t,n,r),fe(t,n.parentFormatContext)}function yn(e,t,n){Ns=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)bn(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&bt(e,n)&&--r.pendingTasks===0&&Rt(e,r),_e(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(fi),a?((r.instructions&Lr)===Pr&&(r.instructions|=Lr,t.push(Ta)),(r.instructions&Ir)===Pr&&(r.instructions|=Ir,t.push(_a)),(r.instructions&Rr)===Pr?(r.instructions|=Rr,t.push(ya)):t.push(ba)):((r.instructions&Ir)===Pr&&(r.instructions|=Ir,t.push(_a)),t.push(va)),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push(xa),t.push(e.segmentPrefix),t.push(r),a?(t.push(Sa),Y(t,n)):t.push(Ca),n=t.push(wa),le(t,e)&&n}function bn(e,t,n,r){if(r.status===bs)return!0;var i=n.contentState,a=r.id;if(a===-1){if((r.id=n.rootSegmentID)===-1)throw Error(`A root segment ID must have been assigned by now. This is a bug in React.`);return vn(e,t,r,i)}return a===n.rootSegmentID?vn(e,t,r,i):(vn(e,t,r,i),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(fi),(n.instructions&Fr)===Pr?(n.instructions|=Fr,t.push(pa)):t.push(ma),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push(ha),t.push(e.placeholderPrefix),t.push(a),t=t.push(ga),t)}function xn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===Cs)return;var i=e.completedPreambleSegments;if(i===null)return;Ns=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)t.push(c[u]);if(l)for(u=0;u<l.length;u++)t.push(l[u]);else{var d=G(`head`);t.push(d),t.push(fi)}}else if(l)for(u=0;u<l.length;u++)t.push(l[u]);var f=o.charsetChunks;for(u=0;u<f.length;u++)t.push(f[u]);f.length=0,o.preconnects.forEach(ve,t),o.preconnects.clear();var p=o.viewportChunks;for(u=0;u<p.length;u++)t.push(p[u]);p.length=0,o.fontPreloads.forEach(ve,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(ve,t),o.highImagePreloads.clear(),Ur=o,o.styles.forEach(be,t),Ur=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(ve,t),o.scripts.forEach(ve,t),o.scripts.clear(),o.bulkPreloads.forEach(ve,t),o.bulkPreloads.clear(),a.instructions|=zr;var h=o.hoistableChunks;for(u=0;u<h.length;u++)t.push(h[u]);for(a=h.length=0;a<i.length;a++){var g=i[a];for(o=0;o<g.length;o++)_n(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=ce(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);_n(e,t,r,null),e.completedRootSegment=null;var x=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var S=e.resumableState;if((S.instructions&Br)===Pr){if(S.instructions|=Br,t.push(x.startInlineScript),(S.instructions&zr)===Pr){S.instructions|=zr;var C=`_`+S.idPrefix+`R_`;t.push(Ga);var w=T(C);t.push(w),t.push(li)}t.push(fi),t.push(ji),t.push(Wr)}}le(t,x)}var E=e.renderState;r=0;var D=E.viewportChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0,E.preconnects.forEach(ve,t),E.preconnects.clear(),E.fontPreloads.forEach(ve,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(ve,t),E.highImagePreloads.clear(),E.styles.forEach(Se,t),E.scripts.forEach(ve,t),E.scripts.clear(),E.bulkPreloads.forEach(ve,t),E.bulkPreloads.clear();var O=E.hoistableChunks;for(r=0;r<O.length;r++)t.push(O[r]);O.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var A=k[n];E=t;var j=e.resumableState,M=e.renderState,N=A.rootSegmentID,P=A.errorDigest,F=A.errorMessage,I=A.errorStack,L=A.errorComponentStack;E.push(M.startInlineScript),E.push(fi),(j.instructions&Lr)===Pr?(j.instructions|=Lr,E.push(Ea)):E.push(Da),E.push(M.boundaryPrefix);var ee=N.toString(16);if(E.push(ee),E.push(Oa),P||F||I||L){E.push(ka);var R=pe(P||``);E.push(R)}if(F||I||L){E.push(ka);var z=pe(F||``);E.push(z)}if(I||L){E.push(ka);var B=pe(I||``);E.push(B)}if(L){E.push(ka);var te=pe(L);E.push(te)}var V=E.push(Aa);if(!V){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var H=e.completedBoundaries;for(n=0;n<H.length;n++)if(!yn(e,t,H[n])){e.destination=null,n++,H.splice(0,n);return}H.splice(0,n),Ps=!0;var ne=e.partialBoundaries;for(n=0;n<ne.length;n++){a:{k=e,A=t;var re=ne[n];Ns=re.byteSize;var U=re.completedSegments;for(V=0;V<U.length;V++)if(!bn(k,A,re,U[V])){V++,U.splice(0,V);var ie=!1;break a}U.splice(0,V);var ae=re.row;ae!==null&&ae.together&&re.pendingTasks===1&&(ae.pendingTasks===1?zt(k,ae,ae.hoistables):ae.pendingTasks--),ie=_e(A,re.contentState,k.renderState)}if(!ie){e.destination=null,n++,ne.splice(0,n);return}}ne.splice(0,n),Ps=!1;var oe=e.completedBoundaries;for(n=0;n<oe.length;n++)if(!yn(e,t,oe[n])){e.destination=null,n++,oe.splice(0,n);return}oe.splice(0,n)}}finally{Ps=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(ne=ce(`body`),t.push(ne)),n.hasHtml&&(n=ce(`html`),t.push(n)),e.abortableTasks.size!==0&&console.error(`There was still abortable task at the root when we closed. This is a bug in React.`),e.status=ws,t.push(null),e.destination=null)}}function Sn(e){e.flushScheduled=e.destination!==null,fn(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&sn(e,e.pendingRootTasks===0)}function Cn(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?xn(e,t):e.flushScheduled=!1}}function wn(e,t){if(e.status===13)e.status=ws,t.destroy(e.fatalError);else if(e.status!==ws&&e.destination===null){e.destination=t;try{xn(e,t)}catch(n){t={},It(e,n,t,null),Lt(e,n,t,null)}}}function Tn(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error(`The render was aborted by the server without a reason.`):typeof t==`object`&&t&&typeof t.then==`function`?Error(`The render was aborted by the server with a promise.`):t;e.fatalError=r,n.forEach(function(t){var n=qo,i=Ar.getCurrentStack;qo=t,Ar.getCurrentStack=kt;try{on(t,e,r)}finally{qo=n,Ar.getCurrentStack=i}}),n.clear()}e.destination!==null&&xn(e,e.destination)}catch(n){t={},It(e,n,t,null),Lt(e,n,t,null)}}function En(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),En(i,t[0],n)),i[2].push(e)}}function Dn(){}function On(e,t,n,r){var i=!1,a=null,o=``,s=!1;if(t=O(t?t.identifierPrefix:void 0),e=Ct(e,t,Fe(t,n),k(qr,null,0,null),1/0,Dn,void 0,function(){s=!0},void 0,void 0,void 0),Sn(e),Tn(e,r),wn(e,{push:function(e){return e!==null&&(o+=e),!0},destroy:function(e){i=!0,a=e}}),i&&a!==r)throw a;if(!s)throw Error(`A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.`);return o}var kn=f(),An=h(),jn=Symbol.for(`react.transitional.element`),Mn=Symbol.for(`react.portal`),Nn=Symbol.for(`react.fragment`),Pn=Symbol.for(`react.strict_mode`),Fn=Symbol.for(`react.profiler`),In=Symbol.for(`react.consumer`),Ln=Symbol.for(`react.context`),Rn=Symbol.for(`react.forward_ref`),zn=Symbol.for(`react.suspense`),Bn=Symbol.for(`react.suspense_list`),Vn=Symbol.for(`react.memo`),Hn=Symbol.for(`react.lazy`),Un=Symbol.for(`react.scope`),Wn=Symbol.for(`react.activity`),Gn=Symbol.for(`react.legacy_hidden`),Kn=Symbol.for(`react.memo_cache_sentinel`),qn=Symbol.for(`react.view_transition`),Jn=Symbol.iterator,Yn=Array.isArray,Xn=new WeakMap,Zn=new WeakMap,Qn=Symbol.for(`react.client.reference`),$n=Object.assign,er=Object.prototype.hasOwnProperty,tr=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]*$`),nr={},rr={},ir=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(` `)),ar=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`],[`colorRendering`,`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`]]),or={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},sr={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},cr={},lr=RegExp(`^(aria)-[: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]*$`),ur=RegExp(`^(aria)[A-Z][: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]*$`),dr=!1,fr={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},pr={},mr=/^on./,hr=/^on[^A-Z]/,gr=RegExp(`^(aria)-[: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]*$`),_r=RegExp(`^(aria)[A-Z][: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]*$`),vr=/^(?:webkit|moz|o)[A-Z]/,yr=/^-ms-/,br=/-(.)/g,xr=/;\s*$/,Sr={},Cr={},wr=!1,Tr=!1,Er=/["'&<>]/,Dr=/([A-Z])/g,Or=/^ms-/,kr=/^[\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,Ar=kn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,jr=An.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mr=Object.freeze({pending:!1,data:null,method:null,action:null}),Nr=jr.d;jr.d={f:Nr.f,r:Nr.r,D:function(e){var t=Ts||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=Vr,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+Oe(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=Vr,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],re(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}Cn(t)}}else Nr.D(e)},C:function(e,t){var n=Ts||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=Vr,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+Oe(e)+`>; rel=preconnect`,typeof t==`string`){var c=Ae(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=Vr,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],re(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}Cn(n)}}else Nr.C(e,t)},L:function(e,t,n){var r=Ts||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
%s`,e)}}return null}function G(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||ra||(ra=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i===null&&a===null||aa||(aa=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),o===null||ia||(ia=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`));var l=W(t,r);l===null?(e.push(Vi,_(`formAction`),Hi,Gi,Ui),o=a=i=r=s=null,ue(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&K(e,`name`,s),r!=null&&K(e,`formAction`,r),i!=null&&K(e,`formEncType`,i),a!=null&&K(e,`formMethod`,a),o!=null&&K(e,`formTarget`,o),c}function K(e,t,n){switch(t){case`className`:ae(e,`class`,n);break;case`tabIndex`:ae(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ae(e,t,n);break;case`style`:U(e,n);break;case`src`:case`href`:if(n===``){console.error(t===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,t,t);break}case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;w(n,t),n=F(``+n),e.push(Vi,_(t),Hi,_(P(n)),Ui);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:ie(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;w(n,t),n=F(``+n),e.push(Vi,_(`xlink:href`),Hi,_(P(n)),Ui);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(Vi,_(t),Hi,_(P(n)),Ui);break;case`inert`:n!==``||Ti[t]||(Ti[t]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",t));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`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Vi,_(t),Wi);break;case`capture`:case`download`:!0===n?e.push(Vi,_(t),Wi):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Vi,_(t),Hi,_(P(n)),Ui);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(Vi,_(t),Hi,_(P(n)),Ui);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(Vi,_(t),Hi,_(P(n)),Ui);break;case`xlinkActuate`:ae(e,`xlink:actuate`,n);break;case`xlinkArcrole`:ae(e,`xlink:arcrole`,n);break;case`xlinkRole`:ae(e,`xlink:role`,n);break;case`xlinkShow`:ae(e,`xlink:show`,n);break;case`xlinkTitle`:ae(e,`xlink:title`,n);break;case`xlinkType`:ae(e,`xlink:type`,n);break;case`xmlBase`:ae(e,`xml:base`,n);break;case`xmlLang`:ae(e,`xml:lang`,n);break;case`xmlSpace`:ae(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=Or.get(t)||t,D(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(Vi,_(t),Hi,_(P(n)),Ui)}}}function ce(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!=`object`||!(`__html`in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&(E(t),e.push(_(``+t)))}}function q(e,t){var n=e[t];n!=null&&(n=dr(n),e.multiple&&!n?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!e.multiple&&n&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t))}function le(e){var t=``;return Gn.Children.forEach(e,function(e){e!=null&&(t+=e,$i||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||($i=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}function ue(e,t){if((e.instructions&16)===ri){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Pe(r,e),r.push(qi,sa,mi)):r.unshift(t.startInlineScript,qi,sa,mi)}}function de(e,t){for(var n in e.push(ve(`link`)),t)if(Cr.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K(e,n,r)}}return e.push(Ji),null}function fe(e){return E(e),(``+e).replace(ua,t)}function pe(e,t,n){for(var r in e.push(ve(n)),t)if(Cr.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K(e,r,i)}}return e.push(Ji),null}function me(e,t){e.push(ve(`title`));var n=null,r=null,i;for(i in t)if(Cr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(qi),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(_(P(``+t))),ce(e,r,n),e.push(be(`title`)),null}function he(e,t){e.push(ve(`script`));var n=null,r=null,i;for(i in t)if(Cr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(qi),n!=null&&typeof n!=`string`&&(t=typeof n==`number`?`a number for children`:Array.isArray(n)?`an array for children`:`something unexpected for children`,console.error(`A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.`,t)),ce(e,r,n),typeof n==`string`&&e.push(_(I(n))),e.push(be(`script`)),null}function ge(e,t,n){e.push(ve(n));var r=n=null,i;for(i in t)if(Cr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(qi),ce(e,r,n),n}function _e(e,t,n){e.push(ve(n));var r=n=null,i;for(i in t)if(Cr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(qi),ce(e,r,n),typeof n==`string`?(e.push(_(P(n))),null):n}function ve(e){var t=ga.get(e);if(t===void 0){if(!ha.test(e))throw Error(`Invalid tag: `+e);t=v(`<`+e),ga.set(e,t)}return t}function ye(e,t,n,r,i,a,o,s,c){A(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||Pr||(Pr=!0,t===`select`&&n.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));b:if(t.indexOf(`-`)===-1)var l=!1;else switch(t){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`:l=!1;break b;default:l=!0}switch(l||typeof n.is==`string`||M(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),s.insertionMode!==Ai&&s.insertionMode!==ji&&t.indexOf(`-`)===-1&&t.toLowerCase()!==t&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,t),t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(ve(`a`));var u=null,d=null,f;for(f in n)if(Cr.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?ae(e,`href`,``):K(e,f,p);break;default:K(e,f,p)}}if(e.push(qi),ce(e,d,u),typeof u==`string`){e.push(_(P(u)));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:O(`select`,n),q(n,`value`),q(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||Zi||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),Zi=!0),e.push(ve(`select`));var h=null,g=null,v;for(v in n)if(Cr.call(n,v)){var y=n[v];if(y!=null)switch(v){case`children`:h=y;break;case`dangerouslySetInnerHTML`:g=y;break;case`defaultValue`:case`value`:break;default:K(e,v,y)}}return e.push(qi),ce(e,g,h),h;case`option`:var b=s.selectedValue;e.push(ve(`option`));var x=null,S=null,C=null,T=null,k;for(k in n)if(Cr.call(n,k)){var j=n[k];if(j!=null)switch(k){case`children`:x=j;break;case`selected`:C=j,ta||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:T=j;break;case`value`:S=j;default:K(e,k,j)}}if(b!=null){if(S!==null){w(S,`value`);var N=``+S}else T===null||ea||(ea=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),N=le(x);if(dr(b)){for(var I=0;I<b.length;I++)if(w(b[I],`value`),``+b[I]===N){e.push(oa);break}}else w(b,`select.value`),``+b===N&&e.push(oa)}else C&&e.push(oa);return e.push(qi),ce(e,T,x),x;case`textarea`:O(`textarea`,n),n.value===void 0||n.defaultValue===void 0||Qi||(console.error(`Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`),Qi=!0),e.push(ve(`textarea`));var L=null,ee=null,R=null,z;for(z in n)if(Cr.call(n,z)){var B=n[z];if(B!=null)switch(z){case`children`:R=B;break;case`value`:L=B;break;case`defaultValue`:ee=B;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(e,z,B)}}if(L===null&&ee!==null&&(L=ee),e.push(qi),R!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),L!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(dr(R)){if(1<R.length)throw Error(`<textarea> can only have at most one child.`);E(R[0]),L=``+R[0]}E(R),L=``+R}return typeof L==`string`&&L[0]===`
|
|
143
|
-
`&&e.push(ma),L!==null&&(w(L,`value`),e.push(_(P(``+L)))),null;case`input`:O(`input`,n),e.push(ve(`input`));var te=null,V=null,H=null,ne=null,re=null,se=null,ye=null,xe=null,Se=null,J;for(J in n)if(Cr.call(n,J)){var Y=n[J];if(Y!=null)switch(J){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:te=Y;break;case`formAction`:V=Y;break;case`formEncType`:H=Y;break;case`formMethod`:ne=Y;break;case`formTarget`:re=Y;break;case`defaultChecked`:Se=Y;break;case`defaultValue`:ye=Y;break;case`checked`:xe=Y;break;case`value`:se=Y;break;default:K(e,J,Y)}}V===null||n.type===`image`||n.type===`submit`||na||(na=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var Ce=G(e,r,i,V,H,ne,re,te);return xe===null||Se===null||Xi||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),Xi=!0),se===null||ye===null||Yi||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),Yi=!0),xe===null?Se!==null&&ie(e,`checked`,Se):ie(e,`checked`,xe),se===null?ye!==null&&K(e,`value`,ye):K(e,`value`,se),e.push(Ji),Ce?.forEach(oe,e),null;case`button`:e.push(ve(`button`));var we=null,Te=null,Ee=null,De=null,Oe=null,ke=null,Ae=null,je;for(je in n)if(Cr.call(n,je)){var Me=n[je];if(Me!=null)switch(je){case`children`:we=Me;break;case`dangerouslySetInnerHTML`:Te=Me;break;case`name`:Ee=Me;break;case`formAction`:De=Me;break;case`formEncType`:Oe=Me;break;case`formMethod`:ke=Me;break;case`formTarget`:Ae=Me;break;default:K(e,je,Me)}}De===null||n.type==null||n.type===`submit`||na||(na=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Ne=G(e,r,i,De,Oe,ke,Ae,Ee);if(e.push(qi),Ne?.forEach(oe,e),ce(e,Te,we),typeof we==`string`){e.push(_(P(we)));var Pe=null}else Pe=we;return Pe;case`form`:e.push(ve(`form`));var Fe=null,Ie=null,Le=null,Re=null,Ve=null,He=null,Ue;for(Ue in n)if(Cr.call(n,Ue)){var We=n[Ue];if(We!=null)switch(Ue){case`children`:Fe=We;break;case`dangerouslySetInnerHTML`:Ie=We;break;case`action`:Le=We;break;case`encType`:Re=We;break;case`method`:Ve=We;break;case`target`:He=We;break;default:K(e,Ue,We)}}var Ge=null,X=null;if(typeof Le==`function`){Re===null&&Ve===null||aa||(aa=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),He===null||ia||(ia=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`));var Z=W(r,Le);Z===null?(e.push(Vi,_(`action`),Hi,Gi,Ui),He=Ve=Re=Le=null,ue(r,i)):(Le=Z.action||``,Re=Z.encType,Ve=Z.method,He=Z.target,Ge=Z.data,X=Z.name)}if(Le!=null&&K(e,`action`,Le),Re!=null&&K(e,`encType`,Re),Ve!=null&&K(e,`method`,Ve),He!=null&&K(e,`target`,He),e.push(qi),X!==null&&(e.push(Ki),ae(e,`name`,X),e.push(Ji),Ge?.forEach(oe,e)),ce(e,Ie,Fe),typeof Fe==`string`){e.push(_(P(Fe)));var Ke=null}else Ke=Fe;return Ke;case`menuitem`:for(var qe in e.push(ve(`menuitem`)),n)if(Cr.call(n,qe)){var Je=n[qe];if(Je!=null)switch(qe){case`children`:case`dangerouslySetInnerHTML`:throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:K(e,qe,Je)}}return e.push(qi),null;case`object`:e.push(ve(`object`));var Ye=null,Xe=null,Ze;for(Ze in n)if(Cr.call(n,Ze)){var Qe=n[Ze];if(Qe!=null)switch(Ze){case`children`:Ye=Qe;break;case`dangerouslySetInnerHTML`:Xe=Qe;break;case`data`:w(Qe,`data`);var $e=F(``+Qe);if($e===``){console.error(`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,Ze,Ze);break}e.push(Vi,_(`data`),Hi,_(P($e)),Ui);break;default:K(e,Ze,Qe)}}if(e.push(qi),ce(e,Xe,Ye),typeof Ye==`string`){e.push(_(P(Ye)));var et=null}else et=Ye;return et;case`title`:var tt=s.tagScope&1,nt=s.tagScope&4;if(Cr.call(n,`children`)){var rt=n.children,it=Array.isArray(rt)?2>rt.length?rt[0]:null:rt;Array.isArray(rt)&&1<rt.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",rt.length):typeof it==`function`||typeof it==`symbol`?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof it==`function`?`a Function`:`a Sybmol`):it&&it.toString==={}.toString&&(it.$$typeof==null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."))}if(s.insertionMode===Ai||tt||n.itemProp!=null)var at=me(e,n);else nt?at=null:(me(i.hoistableChunks,n),at=void 0);return at;case`link`:var ot=s.tagScope&1,st=s.tagScope&4,ct=n.rel,lt=n.href,ut=n.precedence;if(s.insertionMode===Ai||ot||n.itemProp!=null||typeof ct!=`string`||typeof lt!=`string`||lt===``){ct===`stylesheet`&&typeof n.precedence==`string`&&(typeof lt==`string`&<||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',lt===null?"`null`":lt===void 0?"`undefined`":lt===``?`an empty string`:`something with type "`+typeof lt+`"`)),de(e,n);var dt=null}else if(n.rel===`stylesheet`)if(typeof ut!=`string`||n.disabled!=null||n.onLoad||n.onError){if(typeof ut==`string`){if(n.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(n.onLoad||n.onError){var ft=n.onLoad&&n.onError?"`onLoad` and `onError` props":n.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',ft,ft)}}dt=de(e,n)}else{var pt=i.styles.get(ut),mt=r.styleResources.hasOwnProperty(lt)?r.styleResources[lt]:void 0;if(mt!==ui){r.styleResources[lt]=ui,pt||(pt={precedence:_(P(ut)),rules:[],hrefs:[],sheets:new Map},i.styles.set(ut,pt));var ht={state:Vo,props:Sr({},n,{"data-precedence":n.precedence,precedence:null})};if(mt){mt.length===2&&ze(ht.props,mt);var gt=i.preloads.stylesheets.get(lt);gt&&0<gt.length?gt.length=0:ht.state=Ho}pt.sheets.set(lt,ht),o&&o.stylesheets.add(ht)}else if(pt){var _t=pt.sheets.get(lt);_t&&o&&o.stylesheets.add(_t)}c&&e.push(Ii),dt=null}else n.onLoad||n.onError?dt=de(e,n):(c&&e.push(Ii),dt=st?null:de(i.hoistableChunks,n));return dt;case`script`:var vt=s.tagScope&1,yt=n.async;if(typeof n.src!=`string`||!n.src||!yt||typeof yt==`function`||typeof yt==`symbol`||n.onLoad||n.onError||s.insertionMode===Ai||vt||n.itemProp!=null)var bt=he(e,n);else{var xt=n.src;if(n.type===`module`)var St=r.moduleScriptResources,Ct=i.preloads.moduleScripts;else St=r.scriptResources,Ct=i.preloads.scripts;var wt=St.hasOwnProperty(xt)?St[xt]:void 0;if(wt!==ui){St[xt]=ui;var Tt=n;if(wt){wt.length===2&&(Tt=Sr({},n),ze(Tt,wt));var Et=Ct.get(xt);Et&&(Et.length=0)}var Dt=[];i.scripts.add(Dt),he(Dt,Tt)}c&&e.push(Ii),bt=null}return bt;case`style`:var Ot=s.tagScope&1;if(Cr.call(n,`children`)){var kt=n.children,At=Array.isArray(kt)?2>kt.length?kt[0]:null:kt;(typeof At==`function`||typeof At==`symbol`||Array.isArray(At))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof At==`function`?`a Function`:typeof At==`symbol`?`a Sybmol`:`an Array`)}var jt=n.precedence,Mt=n.href,Nt=n.nonce;if(s.insertionMode===Ai||Ot||n.itemProp!=null||typeof jt!=`string`||typeof Mt!=`string`||Mt===``){e.push(ve(`style`));var Pt=null,Ft=null,It;for(It in n)if(Cr.call(n,It)){var Lt=n[It];if(Lt!=null)switch(It){case`children`:Pt=Lt;break;case`dangerouslySetInnerHTML`:Ft=Lt;break;default:K(e,It,Lt)}}e.push(qi);var Rt=Array.isArray(Pt)?2>Pt.length?Pt[0]:null:Pt;typeof Rt!=`function`&&typeof Rt!=`symbol`&&Rt!=null&&e.push(_(fe(Rt))),ce(e,Ft,Pt),e.push(be(`style`));var zt=null}else{Mt.includes(` `)&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',Mt);var Bt=i.styles.get(jt),Vt=r.styleResources.hasOwnProperty(Mt)?r.styleResources[Mt]:void 0;if(Vt!==ui){r.styleResources[Mt]=ui,Vt&&console.error(`React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.`,Mt),Bt||(Bt={precedence:_(P(jt)),rules:[],hrefs:[],sheets:new Map},i.styles.set(jt,Bt));var Ht=i.nonce.style;if(Ht&&Ht!==Nt)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',jt,Nt,Ht);else{!Ht&&Nt&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',jt,Nt),Bt.hrefs.push(_(P(Mt)));var Ut=Bt.rules,Wt=null,Gt=null,Kt;for(Kt in n)if(Cr.call(n,Kt)){var qt=n[Kt];if(qt!=null)switch(Kt){case`children`:Wt=qt;break;case`dangerouslySetInnerHTML`:Gt=qt}}var Jt=Array.isArray(Wt)?2>Wt.length?Wt[0]:null:Wt;typeof Jt!=`function`&&typeof Jt!=`symbol`&&Jt!=null&&Ut.push(_(fe(Jt))),ce(Ut,Gt,Wt)}}Bt&&o&&o.styles.add(Bt),c&&e.push(Ii),zt=void 0}return zt;case`meta`:var Q=s.tagScope&1,Yt=s.tagScope&4;if(s.insertionMode===Ai||Q||n.itemProp!=null)var Xt=pe(e,n,`meta`);else c&&e.push(Ii),Xt=Yt?null:typeof n.charSet==`string`?pe(i.charsetChunks,n,`meta`):n.name===`viewport`?pe(i.viewportChunks,n,`meta`):pe(i.hoistableChunks,n,`meta`);return Xt;case`listing`:case`pre`:e.push(ve(t));var Zt=null,Qt=null,$t;for($t in n)if(Cr.call(n,$t)){var en=n[$t];if(en!=null)switch($t){case`children`:Zt=en;break;case`dangerouslySetInnerHTML`:Qt=en;break;default:K(e,$t,en)}}if(e.push(qi),Qt!=null){if(Zt!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Qt!=`object`||!(`__html`in Qt))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var tn=Qt.__html;tn!=null&&(typeof tn==`string`&&0<tn.length&&tn[0]===`
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
Please update the following components: %s`,N),$o[N]=!0)}h.componentWillMount()}if(typeof h.UNSAFE_componentWillMount==`function`&&h.UNSAFE_componentWillMount(),M!==h.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,qe(i)||`Component`),ls.enqueueReplaceState(h,h.state,null)),E.queue!==null&&0<E.queue.length){var P=E.queue,F=E.replace;if(E.queue=null,E.replace=!1,F&&P.length===1)h.state=P[0];else{for(var I=F?P[0]:h.state,L=!0,ee=F?1:0;ee<P.length;ee++){var z=P[ee],B=typeof z==`function`?z.call(h,I,d,void 0):z;B!=null&&(L?(L=!1,I=Sr({},I,B)):Sr(I,B))}h.state=I}}else E.queue=null}var V=$s(h);if(e.status===12)throw null;h.props!==d&&(yc||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",qe(i)||`a component`),yc=!0);var re=t.keyPath;t.keyPath=n,ln(e,t,V,-1),t.keyPath=re}else{if(i.prototype&&typeof i.prototype.render==`function`){var U=qe(i)||`Unknown`;hc[U]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,U,U),hc[U]=!0)}var ie=$(e,t,n,i,a,void 0);if(e.status===12)throw null;var ae=Ts!==0,oe=Es,se=Ds;if(i.contextTypes){var W=qe(i)||`Unknown`;gc[W]||(gc[W]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,W))}if(i&&i.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
189
|
-
%s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var G=qe(i)||`Unknown`;vc[G]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,G),vc[G]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var K=qe(i)||`Unknown`;_c[K]||(console.error(`%s: Function components do not support contextType.`,K),_c[K]=!0)}rn(e,t,n,ie,ae,oe,se)}else if(typeof i==`string`){var ce=t.blockedSegment;if(ce===null){var q=a.children,le=t.formatContext,ue=t.keyPath;t.formatContext=te(le,i,a),t.keyPath=n,vn(e,t,q,-1),t.formatContext=le,t.keyPath=ue}else{var de=ye(ce.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,ce.lastPushedText);ce.lastPushedText=!1;var fe=t.formatContext,pe=t.keyPath;if(t.keyPath=n,(t.formatContext=te(fe,i,a)).insertionMode===ki){var me=Ut(e,0,null,t.formatContext,!1,!1);ce.preambleChildren.push(me),t.blockedSegment=me;try{me.status=6,vn(e,t,de,-1),me.lastPushedText&&me.textEmbedded&&me.chunks.push(Ii),me.status=cc,En(e,t.blockedBoundary,me)}finally{t.blockedSegment=ce}}else vn(e,t,de,-1);t.formatContext=fe,t.keyPath=pe;a:{var he=ce.chunks,ge=e.resumableState;switch(i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(fe.insertionMode<=Di){ge.hasBody=!0;break a}break;case`html`:if(fe.insertionMode===Ei){ge.hasHtml=!0;break a}break;case`head`:if(fe.insertionMode<=Di)break a}he.push(be(i))}ce.lastPushedText=!1}}else{switch(i){case sr:case Xn:case Zn:case Yn:var _e=t.keyPath;t.keyPath=n,ln(e,t,a.children,-1),t.keyPath=_e;return;case or:var ve=t.blockedSegment;if(ve===null){if(a.mode!==`hidden`){var xe=t.keyPath;t.keyPath=n,vn(e,t,a.children,-1),t.keyPath=xe}}else if(a.mode!==`hidden`){ve.chunks.push(Sa),ve.lastPushedText=!1;var Se=t.keyPath;t.keyPath=n,vn(e,t,a.children,-1),t.keyPath=Se,ve.chunks.push(Ca),ve.lastPushedText=!1}return;case nr:a:{var J=a.children,Y=a.revealOrder;if(Y===`forwards`||Y===`backwards`||Y===`unstable_legacy-backwards`){if(dr(J)){nn(e,t,n,J,Y);break a}var Ce=r(J);if(Ce){var we=Ce.call(J);if(we){cn(t,J,-1,we,Ce);var Te=we.next();if(!Te.done){var Ee=[];do Ee.push(Te.value),Te=we.next();while(!Te.done);nn(e,t,n,J,Y)}break a}}}if(Y===`together`){var De=t.keyPath,Oe=t.row,ke=t.row=tn(null);ke.boundaries=[],ke.together=!0,t.keyPath=n,ln(e,t,J,-1),--ke.pendingTasks===0&&Qt(e,ke),t.keyPath=De,t.row=Oe,Oe!==null&&0<ke.pendingTasks&&(Oe.pendingTasks++,ke.next=Oe)}else{var Ae=t.keyPath;t.keyPath=n,ln(e,t,J,-1),t.keyPath=Ae}}return;case lr:case ar:throw Error(`ReactDOMServer does not yet support scope components.`);case tr:a:if(t.replay!==null){var je=t.keyPath,Me=t.formatContext,Ne=t.row;t.keyPath=n,t.formatContext=ne(e.resumableState,Me),t.row=null;var Pe=a.children;try{vn(e,t,Pe,-1)}finally{t.keyPath=je,t.formatContext=Me,t.row=Ne}}else{var Fe=t.keyPath,Ie=t.formatContext,Le=t.row,Re=t.blockedBoundary,ze=t.blockedPreamble,Be=t.hoistableState,Ve=t.blockedSegment,He=a.fallback,Ue=a.children,We=new Set,Ge=t.formatContext.insertionMode<Oi?Bt(e,t.row,We,R(),R()):Bt(e,t.row,We,null,null);e.trackedPostpones!==null&&(Ge.trackedContentKeyPath=n);var X=Ut(e,Ve.chunks.length,Ge,t.formatContext,!1,!1);Ve.children.push(X),Ve.lastPushedText=!1;var Z=Ut(e,0,null,t.formatContext,!1,!1);if(Z.parentFlushed=!0,e.trackedPostpones!==null){var Ke=t.componentStack,Je=[n[0],`Suspense Fallback`,n[2]],Ye=[Je[1],Je[2],[],null];e.trackedPostpones.workingMap.set(Je,Ye),Ge.trackedFallbackNode=Ye,t.blockedSegment=X,t.blockedPreamble=Ge.fallbackPreamble,t.keyPath=Je,t.formatContext=H(e.resumableState,Ie),t.componentStack=Jt(Ke),X.status=6;try{vn(e,t,He,-1),X.lastPushedText&&X.textEmbedded&&X.chunks.push(Ii),X.status=cc,En(e,Re,X)}catch(t){throw X.status=e.status===12?uc:dc,t}finally{t.blockedSegment=Ve,t.blockedPreamble=ze,t.keyPath=Fe,t.formatContext=Ie}var Xe=Vt(e,null,Ue,-1,Ge,Z,Ge.contentPreamble,Ge.contentState,t.abortSet,n,ne(e.resumableState,t.formatContext),t.context,t.treeContext,null,Ke,Yo,t.debugTask);qt(Xe),e.pingedTasks.push(Xe)}else{t.blockedBoundary=Ge,t.blockedPreamble=Ge.contentPreamble,t.hoistableState=Ge.contentState,t.blockedSegment=Z,t.keyPath=n,t.formatContext=ne(e.resumableState,Ie),t.row=null,Z.status=6;try{if(vn(e,t,Ue,-1),Z.lastPushedText&&Z.textEmbedded&&Z.chunks.push(Ii),Z.status=cc,En(e,Ge,Z),Tn(Ge,Z),Ge.pendingTasks===0&&Ge.status===sc){if(Ge.status=cc,!Mt(e,Ge)){Le!==null&&--Le.pendingTasks===0&&Qt(e,Le),e.pendingRootTasks===0&&t.blockedPreamble&&jn(e);break a}}else Le!==null&&Le.together&&en(e,Le)}catch(n){if(Ge.status=oc,e.status===12){Z.status=uc;var Ze=e.fatalError}else Z.status=dc,Ze=n;var Qe=Q(t.componentStack);Yt(Ge,Xt(e,Ze,Qe,t.debugTask),Ze,Qe,!1),hn(e,Ge)}finally{t.blockedBoundary=Re,t.blockedPreamble=ze,t.hoistableState=Be,t.blockedSegment=Ve,t.keyPath=Fe,t.formatContext=Ie,t.row=Le}var $e=Vt(e,null,He,-1,Re,X,Ge.fallbackPreamble,Ge.fallbackState,We,[n[0],`Suspense Fallback`,n[2]],H(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Jt(t.componentStack),Yo,t.debugTask);qt($e),e.pingedTasks.push($e)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case er:if(`ref`in a){var et={};for(var tt in a)tt!==`ref`&&(et[tt]=a[tt])}else et=a;rn(e,t,n,$(e,t,n,i.render,et,o),Ts!==0,Es,Ds);return;case rr:an(e,t,n,i.type,a,o);return;case $n:var nt=a.value,rt=a.children,it=t.context,at=t.keyPath,ot=i._currentValue;i._currentValue=nt,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Xo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Xo;var st=Zo,ct={parent:st,depth:st===null?0:st.depth+1,context:i,parentValue:ot,value:nt};Zo=ct,t.context=ct,t.keyPath=n,ln(e,t,rt,-1);var lt=Zo;if(lt===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);lt.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),lt.context._currentValue=lt.parentValue,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Xo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Xo,t.context=Zo=lt.parent,t.keyPath=at,it!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case Qn:var ut=i._context,dt=a.children;typeof dt!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`);var ft=dt(ut._currentValue),pt=t.keyPath;t.keyPath=n,ln(e,t,ft,-1),t.keyPath=pt;return;case ir:var mt=tc(i);if(e.status===12)throw null;an(e,t,n,mt,a,o);return}var ht=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(ht+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+((i==null?i:typeof i)+`.`+ht))}}function on(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ut(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,vn(e,t,r,i),s.status=cc,En(e,o,s),o===null?e.completedRootSegment=s:(Tn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function sn(e,t,n,r,i,a,o,s,c,l){a=l.nodes;for(var u=0;u<a.length;u++){var d=a[u];if(i===d[1]){if(d.length===4){if(r!==null&&r!==d[0])throw Error(`Expected the resume to render <`+d[0]+`> in this slot but instead it rendered <`+r+`>. The tree doesn't match so React will fallback to client rendering.`);var f=d[2];r=d[3],i=t.node,t.replay={nodes:f,slots:r,pendingTasks:1};try{if(an(e,t,n,o,s,c),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(d){if(typeof d==`object`&&d&&(d===ms||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=Q(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=Xt(s,n,o,t.debugTask),bn(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==tr)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(qe(o)||`Unknown`)+`>. The tree doesn't match so React will fallback to client rendering.`);a:{l=void 0,r=d[5],o=d[2],c=d[3],i=d[4]===null?[]:d[4][2],d=d[4]===null?null:d[4][3];var p=t.keyPath,m=t.formatContext,h=t.row,g=t.replay,_=t.blockedBoundary,v=t.hoistableState,y=s.children,b=s.fallback,x=new Set;s=t.formatContext.insertionMode<Oi?Bt(e,t.row,x,R(),R()):Bt(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=ne(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if(vn(e,t,y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===sc){s.status=cc,e.completedBoundaries.push(s);break a}}catch(n){s.status=oc,f=Q(t.componentStack),l=Xt(e,n,f,t.debugTask),Yt(s,l,n,f,!1),t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=_,t.hoistableState=v,t.replay=g,t.keyPath=p,t.formatContext=m,t.row=h}s=Ht(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],H(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Jt(t.componentStack),Yo,t.debugTask),qt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function cn(e,t,n,r,i){r===t?(n!==-1||e.componentStack===null||typeof e.componentStack.type!=`function`||Object.prototype.toString.call(e.componentStack.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(r)!==`[object Generator]`)&&(bc||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),bc=!0):t.entries!==i||xc||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),xc=!0)}function ln(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?on(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,qt(t),un(e,t),t.componentStack=n,t.debugTask=r)}function un(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case qn:var a=n.type,o=n.key;n=n.props;var s=n.ref;s=s===void 0?null:s;var c=t.debugTask,l=qe(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(an.bind(null,e,t,u,a,n,s)):an(e,t,u,a,n,s):c?c.run(sn.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):sn(e,t,u,l,o,i,a,n,s,t.replay);return;case Jn:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case ir:if(a=tc(n),e.status===12)throw null;ln(e,t,a,i);return}if(dr(n)){fn(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(cn(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);fn(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,ln(e,t,St(n),i);if(n.$$typeof===$n)return ln(e,t,n._currentValue,i);throw e=Object.prototype.toString.call(n),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`)}typeof n==`string`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=re(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=re(t.chunks,``+n,e.renderState,t.lastPushedText))):(typeof n==`function`&&(e=n.displayName||n.name||`Component`,console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.`,e,e)),typeof n==`symbol`&&console.error(`Symbols are not valid as a React child.
|
|
190
|
-
%s`,String(n)))}}function dn(e,t,n){if(typeof n==`object`&&n&&(n.$$typeof===qn||n.$$typeof===Jn)&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=e.didWarnForKey;if(r??=e.didWarnForKey=new WeakSet,e=t.componentStack,e!==null&&!r.has(e)){r.add(e);var i=qe(n.type);r=n._owner;var a=e.owner;if(e=``,a&&a.type!==void 0){var o=qe(a.type);o&&(e=`
|
|
191
|
-
|
|
192
|
-
Check the render method of \``+o+"`.")}e||i&&(e=`
|
|
193
|
-
|
|
194
|
-
Check the top-level render call using <`+i+`>.`),i=``,r!=null&&a!==r&&(a=null,r.type===void 0?typeof r.name==`string`&&(a=r.name):a=qe(r.type),a&&(i=` It was passed a child from `+a+`.`)),r=t.componentStack,t.componentStack={parent:t.componentStack,type:n.type,owner:n._owner,stack:n._debugStack},console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,e,i),t.componentStack=r}}}function fn(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(Kt(t,t.node._debugInfo),r!==-1&&(t.keyPath=[t.keyPath,`Fragment`,r],t.replay!==null)){for(var s=t.replay,c=s.nodes,l=0;l<c.length;l++){var u=c[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(fn(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(i){if(typeof i==`object`&&i&&(i===ms||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=Q(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=Xt(e,f,d,t.debugTask),bn(e,n,r,p,f,u,d,!1)}t.replay=s,c.splice(l,1);break}}t.keyPath=i,t.componentStack=a,t.debugTask=o;return}if(s=t.treeContext,c=n.length,t.replay!==null&&(l=t.replay.slots,typeof l==`object`&&l)){for(r=0;r<c;r++)u=n[r],t.treeContext=nt(s,c,r),f=l[r],typeof f==`number`?(on(e,t,f,u,r),delete l[r]):vn(e,t,u,r);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o;return}for(l=0;l<c;l++)r=n[l],dn(e,t,r),t.treeContext=nt(s,c,l),vn(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function pn(e,t,n){if(n.status=fc,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(`It should not be possible to postpone at the root. This is a bug in React.`);var r=n.trackedFallbackNode,i=[],a=t.workingMap.get(e);return a===void 0?(n=[e[1],e[2],i,null,r,n.rootSegmentID],t.workingMap.set(e,n),Hn(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function mn(e,t,n,r){r.status=fc;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=fc);else{if(a!==null&&a.status===sc){var o=pn(e,t,a);if(a.trackedContentKeyPath===i&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),o[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&a!==null?a.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)i===null?t.rootSlots=r.id:(n=t.workingMap.get(i),n===void 0?(n=[i[1],i[2],[],r.id],Hn(n,i[0],t)):n[3]=r.id);else{if(i===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`)}else if(a=t.workingMap,o=a.get(i),o===void 0)e={},o=[i[1],i[2],[],e],a.set(i,o),Hn(o,i[0],t);else if(e=o[3],e===null)e=o[3]={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`);e[n.childIndex]=r.id}}}function hn(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function gn(e,t,n){return Ht(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,Yo,t.debugTask)}function _n(e,t,n){var r=t.blockedSegment,i=Ut(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Vt(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,Yo,t.debugTask)}function vn(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.debugTask,u=t.blockedSegment;if(u===null){u=t.replay;try{return ln(e,t,n,r)}catch(d){if(ft(),n=d===ms?ot():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===ms?dt():null,e=gn(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,$e(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===ms?dt():null,n=gn(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,$e(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return ln(e,t,n,r)}catch(r){if(ft(),u.children.length=d,u.chunks.length=f,n=r===ms?ot():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===ms?dt():null,e=_n(e,t,n).ping,u.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,$e(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===ms?dt():null,u=_n(e,t,u),e.pingedTasks.push(u),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,$e(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,$e(a),n}function yn(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=uc,Dn(this,t,e.row,n))}function bn(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)bn(e,t,l[2],l[3],i,a,o,s);else{var u=e;l=l[5];var d=i,f=a,p=o,m=s,h=Bt(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=oc,Yt(h,f,d,p,m),h.parentFlushed&&u.clientRenderedBoundaries.push(h)}}if(n.length=0,r!==null){if(t===null)throw Error(`We should not have any resumable nodes in the shell. This is a bug in React.`);if(t.status!==oc&&(t.status=oc,Yt(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function xn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=uc}var a=Q(e.componentStack),o=e.node;if(typeof o==`object`&&o&&Gt(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==pc){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Xt(t,n,a,e.debugTask),mn(t,r,e,i),Dn(t,null,e.row,i)):(Xt(t,n,a,e.debugTask),Zt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Xt(t,n,a,null),bn(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&Cn(t)}}else{if(o=t.trackedPostpones,r.status!==oc){if(o!==null&&i!==null)return Xt(t,n,a,e.debugTask),mn(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return xn(e,t,n)}),r.fallbackAbortableTasks.clear(),Dn(t,r,e.row,i);r.status=oc,i=Xt(t,n,a,e.debugTask),r.status=oc,Yt(r,i,n,a,!0),hn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Qt(t,a),r.fallbackAbortableTasks.forEach(function(e){return xn(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Qt(t,e),t.allPendingTasks--,t.allPendingTasks===0&&wn(t)}function Sn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=Be(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=di,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:di;else break b}}r(a?{Link:a}:{})}}}catch(t){Xt(e,t,{},null)}}function Cn(e){e.trackedPostpones===null&&Sn(e,!0),e.trackedPostpones===null&&jn(e),e.onShellError=it,e=e.onShellReady,e()}function wn(e){Sn(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==fc),jn(e),e=e.onAllReady,e()}function Tn(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==cc&&n.status!==uc&&n.status!==dc||Tn(e,n)}else e.completedSegments.push(t)}function En(e,t,n){if(y!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function Dn(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Qt(e,n):n.together&&en(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error(`There can only be one root segment. This is a bug in React.`);e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&Cn(e)}else if(t.pendingTasks--,t.status!==oc)if(t.pendingTasks===0){if(t.status===sc&&(t.status=cc),r!==null&&r.parentFlushed&&(r.status===cc||r.status===uc)&&Tn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===cc)n=t.row,n!==null&&Z(n.hoistables,t.contentState),Mt(e,t)||(t.fallbackAbortableTasks.forEach(yn,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Qt(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&jn(e);else if(t.status===fc&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var i=t.next;if(i!==null&&(r=i.boundaries,r!==null))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];pn(e,n,a),Dn(e,a,null,null)}}--t.pendingTasks===0&&Qt(e,t)}}else r===null||!r.parentFlushed||r.status!==cc&&r.status!==uc||(Tn(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&en(e,t);e.allPendingTasks===0&&wn(e)}function On(e){if(e.status!==pc&&e.status!==13){var t=Zo,n=$r.H;$r.H=Ps;var r=$r.A;$r.A=Ls;var i=mc;mc=e;var a=$r.getCurrentStack;$r.getCurrentStack=Wt;var o=Fs;Fs=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=e,u=s[c],d=u.blockedSegment;if(d===null){var f=void 0,p=l;if(l=u,l.replay.pendingTasks!==0){$e(l.context),f=Is,Is=l;try{if(typeof l.replay.slots==`number`?on(p,l,l.replay.slots,l.node,l.childIndex):un(p,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);l.replay.pendingTasks--,l.abortSet.delete(l),Dn(p,l.blockedBoundary,l.row,null)}catch(e){ft();var m=e===ms?ot():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===ms?dt():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=Q(l.componentStack),_=void 0,v=p,y=l.blockedBoundary,b=p.status===12?p.fatalError:m,x=g,S=l.replay.nodes,C=l.replay.slots;_=Xt(v,b,x,l.debugTask),bn(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&Cn(p),p.allPendingTasks--,p.allPendingTasks===0&&wn(p)}}finally{Is=f}}}else if(p=f=void 0,_=u,v=d,v.status===sc){v.status=6,$e(_.context),p=Is,Is=_;var w=v.children.length,T=v.chunks.length;try{un(l,_),v.lastPushedText&&v.textEmbedded&&v.chunks.push(Ii),_.abortSet.delete(_),v.status=cc,En(l,_.blockedBoundary,v),Dn(l,_.blockedBoundary,_.row,v)}catch(e){ft(),v.children.length=w,v.chunks.length=T;var E=e===ms?ot():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=Q(_.componentStack);_.abortSet.delete(_),Xt(l,E,O,_.debugTask),mn(l,D,_,v),Dn(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=sc,_.thenableState=e===ms?dt():null;var k=_.ping;E.then(k,k)}else{var A=Q(_.componentStack);_.abortSet.delete(_),v.status=dc;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Qt(l,M),l.allPendingTasks--,f=Xt(l,E,A,N),j===null)Zt(l,E,A,N);else if(j.pendingTasks--,j.status!==oc){j.status=oc,Yt(j,f,E,A,!1),hn(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Qt(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&jn(l)}l.allPendingTasks===0&&wn(l)}}finally{Is=p}}}s.splice(0,c),e.destination!==null&&Ln(e,e.destination)}catch(t){s={},Xt(e,t,s,null),Zt(e,t,s,null)}finally{Fs=o,$r.H=n,$r.A=r,$r.getCurrentStack=a,n===Ps&&$e(t),mc=i}}}function kn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=An(e,t.children[i],n)||r;return r}function An(e,t,n){var r=t.boundary;if(r===null)return kn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case cc:if(xe(e.renderState,i),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return kn(e,t,n);case fc:if(e.trackedPostpones!==null)return!0;case oc:if(t.status===cc)return xe(e.renderState,a),kn(e,t,n);default:return!0}}function jn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=An(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function Mn(e,t,n,r){switch(n.parentFlushed=!0,n.status){case sc:n.id=e.nextSegmentId++;case fc:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,p(t,ba),p(t,e.placeholderPrefix),e=_(r.toString(16)),p(t,e),m(t,xa);case cc:n.status=lc;var i=!0,a=n.chunks,o=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];o<i.index;o++)p(t,a[o]);i=Nn(e,t,i,r)}for(;o<a.length-1;o++)p(t,a[o]);return o<a.length&&(i=m(t,a[o])),i;case uc:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function Nn(e,t,n,r){var i=n.boundary;if(i===null)return Mn(e,t,n,r);if(i.parentFlushed=!0,i.status===oc){var a=i.row;a!==null&&--a.pendingTasks===0&&Qt(e,a),a=i.errorDigest;var o=i.errorMessage,s=i.errorStack;i=i.errorComponentStack,m(t,Da),p(t,ka),a&&(p(t,ja),p(t,_(P(a))),p(t,Aa)),o&&(p(t,Ma),p(t,_(P(o))),p(t,Aa)),s&&(p(t,Na),p(t,_(P(s))),p(t,Aa)),i&&(p(t,Pa),p(t,_(P(i))),p(t,Aa)),m(t,Fa),Mn(e,t,n,r)}else if(i.status!==cc)i.status===sc&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),J(t,e.renderState,i.rootSegmentID),r&&Z(r,i.fallbackState),Mn(e,t,n,r);else if(!Cc&&Mt(e,i)&&(Sc+i.byteSize>e.progressiveChunkSize||Ke(i.contentState)))i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),J(t,e.renderState,i.rootSegmentID),Mn(e,t,n,r);else{if(Sc+=i.byteSize,r&&Z(r,i.contentState),n=i.row,n!==null&&Mt(e,i)&&--n.pendingTasks===0&&Qt(e,n),m(t,wa),n=i.completedSegments,n.length!==1)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);Nn(e,t,n[0],r)}return m(t,Oa)}function Pn(e,t,n,r){return Y(t,e.renderState,n.parentFormatContext,n.id),Nn(e,t,n,r),Ce(t,n.parentFormatContext)}function Fn(e,t,n){Sc=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)In(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Mt(e,n)&&--r.pendingTasks===0&&Qt(e,r),Oe(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,p(t,e.startInlineScript),p(t,qi),a?((r.instructions&oi)===ri&&(r.instructions|=oi,p(t,go)),(r.instructions&ai)===ri&&(r.instructions|=ai,p(t,so)),(r.instructions&si)===ri?(r.instructions|=si,p(t,lo)):p(t,uo)):((r.instructions&ai)===ri&&(r.instructions|=ai,p(t,so)),p(t,co)),r=_(i.toString(16)),p(t,e.boundaryPrefix),p(t,r),p(t,fo),p(t,e.segmentPrefix),p(t,r),a?(p(t,po),Fe(t,n)):p(t,mo),n=m(t,ho),Se(t,e)&&n}function In(e,t,n,r){if(r.status===lc)return!0;var i=n.contentState,a=r.id;if(a===-1){if((r.id=n.rootSegmentID)===-1)throw Error(`A root segment ID must have been assigned by now. This is a bug in React.`);return Pn(e,t,r,i)}return a===n.rootSegmentID?Pn(e,t,r,i):(Pn(e,t,r,i),n=e.resumableState,e=e.renderState,p(t,e.startInlineScript),p(t,qi),(n.instructions&ii)===ri?(n.instructions|=ii,p(t,ro)):p(t,io),p(t,e.segmentPrefix),a=_(a.toString(16)),p(t,a),p(t,ao),p(t,e.placeholderPrefix),p(t,a),t=m(t,oo),t)}function Ln(e,t){yr=new Uint8Array(2048),br=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===fc)return;var i=e.completedPreambleSegments;if(i===null)return;Sc=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)p(t,c[u]);if(l)for(u=0;u<l.length;u++)p(t,l[u]);else p(t,ve(`head`)),p(t,qi)}else if(l)for(u=0;u<l.length;u++)p(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)p(t,d[u]);d.length=0,o.preconnects.forEach(ke,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)p(t,f[u]);f.length=0,o.fontPreloads.forEach(ke,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(ke,t),o.highImagePreloads.clear(),fi=o,o.styles.forEach(je,t),fi=null;var h=o.importMapChunks;for(u=0;u<h.length;u++)p(t,h[u]);h.length=0,o.bootstrapScripts.forEach(ke,t),o.scripts.forEach(ke,t),o.scripts.clear(),o.bulkPreloads.forEach(ke,t),o.bulkPreloads.clear(),c||l||(a.instructions|=ci);var v=o.hoistableChunks;for(u=0;u<v.length;u++)p(t,v[u]);for(a=v.length=0;a<i.length;a++){var y=i[a];for(o=0;o<y.length;o++)Nn(e,t,y[o],null)}var b=e.renderState.preamble,x=b.headChunks;(b.htmlChunks||x)&&p(t,be(`head`));var S=b.bodyChunks;if(S)for(i=0;i<S.length;i++)p(t,S[i]);Nn(e,t,r,null),e.completedRootSegment=null;var C=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var w=e.resumableState;if((w.instructions&li)===ri){if(w.instructions|=li,p(t,C.startInlineScript),(w.instructions&ci)===ri){w.instructions|=ci;var T=`_`+w.idPrefix+`R_`;p(t,Io),p(t,_(P(T))),p(t,Ui)}p(t,qi),p(t,ya),m(t,mi)}}Se(t,C)}var E=e.renderState;r=0;var D=E.viewportChunks;for(r=0;r<D.length;r++)p(t,D[r]);D.length=0,E.preconnects.forEach(ke,t),E.preconnects.clear(),E.fontPreloads.forEach(ke,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(ke,t),E.highImagePreloads.clear(),E.styles.forEach(Ne,t),E.scripts.forEach(ke,t),E.scripts.clear(),E.bulkPreloads.forEach(ke,t),E.bulkPreloads.clear();var O=E.hoistableChunks;for(r=0;r<O.length;r++)p(t,O[r]);O.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var A=k[n];E=t;var j=e.resumableState,M=e.renderState,N=A.rootSegmentID,F=A.errorDigest,I=A.errorMessage,L=A.errorStack,ee=A.errorComponentStack;p(E,M.startInlineScript),p(E,qi),(j.instructions&oi)===ri?(j.instructions|=oi,p(E,_o)):p(E,vo),p(E,M.boundaryPrefix),p(E,_(N.toString(16))),p(E,yo),(F||I||L||ee)&&(p(E,bo),p(E,_(we(F||``)))),(I||L||ee)&&(p(E,bo),p(E,_(we(I||``)))),(L||ee)&&(p(E,bo),p(E,_(we(L||``)))),ee&&(p(E,bo),p(E,_(we(ee))));var R=m(E,xo);if(!R){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var z=e.completedBoundaries;for(n=0;n<z.length;n++)if(!Fn(e,t,z[n])){e.destination=null,n++,z.splice(0,n);return}z.splice(0,n),g(t),yr=new Uint8Array(2048),br=0,Cc=!0;var B=e.partialBoundaries;for(n=0;n<B.length;n++){a:{k=e,A=t;var te=B[n];Sc=te.byteSize;var V=te.completedSegments;for(R=0;R<V.length;R++)if(!In(k,A,te,V[R])){R++,V.splice(0,R);var H=!1;break a}V.splice(0,R);var ne=te.row;ne!==null&&ne.together&&te.pendingTasks===1&&(ne.pendingTasks===1?$t(k,ne,ne.hoistables):ne.pendingTasks--),H=Oe(A,te.contentState,k.renderState)}if(!H){e.destination=null,n++,B.splice(0,n);return}}B.splice(0,n),Cc=!1;var re=e.completedBoundaries;for(n=0;n<re.length;n++)if(!Fn(e,t,re[n])){e.destination=null,n++,re.splice(0,n);return}re.splice(0,n)}}finally{Cc=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&p(t,be(`body`)),n.hasHtml&&p(t,be(`html`)),g(t),e.abortableTasks.size!==0&&console.error(`There was still abortable task at the root when we closed. This is a bug in React.`),e.status=pc,t.close(),e.destination=null):g(t)}}function Rn(e){e.flushScheduled=e.destination!==null,vr(function(){return On(e)}),u(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&Sn(e,e.pendingRootTasks===0)})}function zn(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,u(function(){var t=e.destination;t?Ln(e,t):e.flushScheduled=!1}))}function Bn(e,t){if(e.status===13)e.status=pc,b(t,e.fatalError);else if(e.status!==pc&&e.destination===null){e.destination=t;try{Ln(e,t)}catch(n){t={},Xt(e,n,t,null),Zt(e,n,t,null)}}}function Vn(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error(`The render was aborted by the server without a reason.`):typeof t==`object`&&t&&typeof t.then==`function`?Error(`The render was aborted by the server with a promise.`):t;e.fatalError=r,n.forEach(function(t){var n=Is,i=$r.getCurrentStack;Is=t,$r.getCurrentStack=Wt;try{xn(t,e,r)}finally{Is=n,$r.getCurrentStack=i}}),n.clear()}e.destination!==null&&Ln(e,e.destination)}catch(n){t={},Xt(e,n,t,null),Zt(e,n,t,null)}}function Hn(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Hn(i,t[0],n)),i[2].push(e)}}function Un(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==fc&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=ri}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Wn(){var e=Gn.version;if(e!==`19.2.4`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
195
|
-
- react: `+(e+`
|
|
196
|
-
- react-dom: 19.2.4
|
|
197
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}var Gn=f(),Kn=h(),qn=Symbol.for(`react.transitional.element`),Jn=Symbol.for(`react.portal`),Yn=Symbol.for(`react.fragment`),Xn=Symbol.for(`react.strict_mode`),Zn=Symbol.for(`react.profiler`),Qn=Symbol.for(`react.consumer`),$n=Symbol.for(`react.context`),er=Symbol.for(`react.forward_ref`),tr=Symbol.for(`react.suspense`),nr=Symbol.for(`react.suspense_list`),rr=Symbol.for(`react.memo`),ir=Symbol.for(`react.lazy`),ar=Symbol.for(`react.scope`),or=Symbol.for(`react.activity`),sr=Symbol.for(`react.legacy_hidden`),cr=Symbol.for(`react.memo_cache_sentinel`),lr=Symbol.for(`react.view_transition`),ur=Symbol.iterator,dr=Array.isArray,fr=new WeakMap,pr=new WeakMap,mr=Symbol.for(`react.client.reference`),hr=new MessageChannel,gr=[];hr.port1.onmessage=function(){var e=gr.shift();e&&e()};var _r=Promise,vr=typeof queueMicrotask==`function`?queueMicrotask:function(e){_r.resolve(null).then(e).catch(d)},yr=null,br=0,xr=new TextEncoder,Sr=Object.assign,Cr=Object.prototype.hasOwnProperty,wr=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]*$`),Tr={},Er={},Dr=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(` `)),Or=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`],[`colorRendering`,`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`]]),kr={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Ar={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},jr={},Mr=RegExp(`^(aria)-[: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]*$`),Nr=RegExp(`^(aria)[A-Z][: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]*$`),Pr=!1,Fr={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},Ir={},Lr=/^on./,Rr=/^on[^A-Z]/,zr=RegExp(`^(aria)-[: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=RegExp(`^(aria)[A-Z][: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]*$`),Vr=/^(?:webkit|moz|o)[A-Z]/,Hr=/^-ms-/,Ur=/-(.)/g,Wr=/;\s*$/,Gr={},Kr={},qr=!1,Jr=!1,Yr=/["'&<>]/,Xr=/([A-Z])/g,Zr=/^ms-/,Qr=/^[\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,$r=Gn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ei=Kn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ti=Object.freeze({pending:!1,data:null,method:null,action:null}),ni=ei.d;ei.d={f:ni.f,r:ni.r,D:function(e){var t=mc||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=ui,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+Ve(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=ui,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],de(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}zn(t)}}else ni.D(e)},C:function(e,t){var n=mc||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=ui,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+Ve(e)+`>; rel=preconnect`,typeof t==`string`){var c=Ue(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=ui,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],de(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}zn(n)}}else ni.C(e,t)},L:function(e,t,n){var r=mc||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
|
|
198
|
-
`+(s||``):e;if(i.imageResources.hasOwnProperty(l))return;i.imageResources[l]=di,i=a.headers;var u;i&&0<i.remainingCapacity&&typeof o!=`string`&&c===`high`&&(u=Be(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.image[l]=di,i.highImagePreloads&&(i.highImagePreloads+=`, `),i.highImagePreloads+=u):(i=[],de(i,Sr({rel:`preload`,href:o?void 0:e,as:t},n)),c===`high`?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(l,i)));break;case`style`:if(i.styleResources.hasOwnProperty(e))return;o=[],de(o,Sr({rel:`preload`,href:e,as:t},n)),i.styleResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?di:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case`script`:if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),de(o,Sr({rel:`preload`,href:e,as:t},n)),i.scriptResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?di:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if(o=i.unknownResources[t],o.hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;if(o[e]=di,(i=a.headers)&&0<i.remainingCapacity&&t===`font`&&(l=Be(e,t,n),0<=(i.remainingCapacity-=l.length+2)))a.resets.font[e]=di,i.fontPreloads&&(i.fontPreloads+=`, `),i.fontPreloads+=l;else switch(i=[],e=Sr({rel:`preload`,href:e,as:t},n),de(i,e),t){case`font`:a.fontPreloads.add(i);break;default:a.bulkPreloads.add(i)}}zn(r)}}else ni.L(e,t,n)},m:function(e,t){var n=mc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&typeof t.as==`string`?t.as:`script`;switch(a){case`script`:if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!=`string`&&typeof t.integrity!=`string`?di:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a);break;default:if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=di}de(a,Sr({rel:`modulepreload`,href:e},t)),i.bulkPreloads.add(a),zn(n)}}else ni.m(e,t)},X:function(e,t){var n=mc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;a!==ui&&(r.scriptResources[e]=ui,t=Sr({src:e,async:!0},t),a&&(a.length===2&&ze(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),he(e,t),zn(n))}}else ni.X(e,t)},S:function(e,t,n){var r=mc||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t||=`default`;var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;s!==ui&&(i.styleResources[e]=ui,o||(o={precedence:_(P(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:Vo,props:Sr({rel:`stylesheet`,href:e,"data-precedence":t},n)},s&&(s.length===2&&ze(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=Ho),o.sheets.set(e,t),zn(r))}}else ni.S(e,t,n)},M:function(e,t){var n=mc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;a!==ui&&(r.moduleScriptResources[e]=ui,t=Sr({src:e,type:`module`,async:!0},t),a&&(a.length===2&&ze(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),he(e,t),zn(n))}}else ni.M(e,t)}};var ri=0,ii=1,ai=2,oi=4,si=8,ci=32,li=64,ui=null,di=[];Object.freeze(di);var fi=null;v(`"></template>`);var pi=v(`<script`),mi=v(`<\/script>`),hi=v(`<script src="`),gi=v(`<script type="module" src="`),_i=v(` nonce="`),vi=v(` integrity="`),yi=v(` crossorigin="`),bi=v(` async=""><\/script>`),xi=v(`<style`),Si=/(<\/|<)(s)(cript)/gi,Ci=v(`<script type="importmap">`),wi=v(`<\/script>`),Ti={},Ei=0,Di=1,Oi=2,ki=3,Ai=4,ji=5,Mi=6,Ni=7,Pi=8,Fi=9,Ii=v(`<!-- -->`),Li=new Map,Ri=v(` style="`),zi=v(`:`),Bi=v(`;`),Vi=v(` `),Hi=v(`="`),Ui=v(`"`),Wi=v(`=""`),Gi=v(P(`javascript:throw new Error('React form unexpectedly submitted.')`)),Ki=v(`<input type="hidden"`),qi=v(`>`),Ji=v(`/>`),Yi=!1,Xi=!1,Zi=!1,Qi=!1,$i=!1,ea=!1,ta=!1,na=!1,ra=!1,ia=!1,aa=!1,oa=v(` selected=""`),sa=v(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`),ca=v(`<!--F!-->`),la=v(`<!--F-->`),ua=/(<\/|<)(s)(tyle)/gi,da=v(`<!--head-->`),fa=v(`<!--body-->`),pa=v(`<!--html-->`),ma=v(`
|
|
199
|
-
`),ha=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ga=new Map,_a=v(`<!DOCTYPE html>`),va=new Map,ya=v(`requestAnimationFrame(function(){$RT=performance.now()});`),ba=v(`<template id="`),xa=v(`"></template>`),Sa=v(`<!--&-->`),Ca=v(`<!--/&-->`),wa=v(`<!--$-->`),Ta=v(`<!--$?--><template id="`),Ea=v(`"></template>`),Da=v(`<!--$!-->`),Oa=v(`<!--/$-->`),ka=v(`<template`),Aa=v(`"`),ja=v(` data-dgst="`),Ma=v(` data-msg="`),Na=v(` data-stck="`),Pa=v(` data-cstck="`),Fa=v(`></template>`),Ia=v(`<div hidden id="`),La=v(`">`),Ra=v(`</div>`),za=v(`<svg aria-hidden="true" style="display:none" id="`),Ba=v(`">`),Va=v(`</svg>`),Ha=v(`<math aria-hidden="true" style="display:none" id="`),Ua=v(`">`),Wa=v(`</math>`),Ga=v(`<table hidden id="`),Ka=v(`">`),qa=v(`</table>`),Ja=v(`<table hidden><tbody id="`),Ya=v(`">`),Xa=v(`</tbody></table>`),Za=v(`<table hidden><tr id="`),Qa=v(`">`),$a=v(`</tr></table>`),eo=v(`<table hidden><colgroup id="`),to=v(`">`),no=v(`</colgroup></table>`),ro=v(`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`),io=v(`$RS("`),ao=v(`","`),oo=v(`")<\/script>`);v(`<template data-rsi="" data-sid="`),v(`" data-pid="`);var so=v(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
200
|
-
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`);_(`$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),
|
|
201
|
-
H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z=
|
|
202
|
-
document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=
|
|
203
|
-
performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);`);var co=v(`$RC("`),lo=v(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
|
|
204
|
-
"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
|
|
205
|
-
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),uo=v(`$RR("`),fo=v(`","`),po=v(`",`),mo=v(`"`),ho=v(`)<\/script>`);v(`<template data-rci="" data-bid="`),v(`<template data-rri="" data-bid="`),v(`" data-sid="`),v(`" data-sty="`);var go=v(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`),_o=v(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`),vo=v(`$RX("`),yo=v(`"`),bo=v(`,`),xo=v(`)<\/script>`);v(`<template data-rxi="" data-bid="`),v(`" data-dgst="`),v(`" data-msg="`),v(`" data-stck="`),v(`" data-cstck="`);var So=/[<\u2028\u2029]/g,Co=/[&><\u2028\u2029]/g,wo=v(` media="not all" data-precedence="`),To=v(`" data-href="`),Eo=v(`">`),Do=v(`</style>`),Oo=!1,ko=!0,Ao=[],jo=v(` data-precedence="`),Mo=v(`" data-href="`),No=v(` `),Po=v(`">`),Fo=v(`</style>`);v(`<link rel="expect" href="#`),v(`" blocking="render"/>`);var Io=v(` id="`),Lo=v(`[`),Ro=v(`,[`),zo=v(`,`),Bo=v(`]`),Vo=0,Ho=1,Uo=2,Wo=3,Go=/[<>\r\n]/g,Ko=/["';,\r\n]/g,qo=Function.prototype.bind,Jo=Symbol.for(`react.client.reference`),Yo={};Object.freeze(Yo);var Xo={},Zo=null,Qo={},$o={},es=new Set,ts=new Set,ns=new Set,rs=new Set,is=new Set,as=new Set,os=new Set,ss=new Set,cs=new Set,ls={enqueueSetState:function(e,t,n){var r=e._reactInternals;r.queue===null?tt(e,`setState`):(r.queue.push(t),n!=null&&et(n))},enqueueReplaceState:function(e,t,n){e=e._reactInternals,e.replace=!0,e.queue=[t],n!=null&&et(n)},enqueueForceUpdate:function(e,t){e._reactInternals.queue===null?tt(e,`forceUpdate`):t!=null&&et(t)}},us={id:1,overflow:``},ds=Math.clz32?Math.clz32:rt,fs=Math.log,ps=Math.LN2,ms=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),hs=null,gs=typeof Object.is==`function`?Object.is:st,_s=null,vs=null,ys=null,bs=null,xs=null,Ss=null,Cs=!1,ws=!1,Ts=0,Es=0,Ds=-1,Os=0,ks=null,As=null,js=0,Ms=!1,Ns,Ps={readContext:pt,use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return St(e);if(e.$$typeof===$n)return pt(e)}throw Error(`An unsupported type was passed to use(): `+String(e))},useContext:function(e){return Ns=`useContext`,ct(),e._currentValue},useMemo:gt,useReducer:ht,useRef:function(e){_s=ct(),Ss=ut();var t=Ss.memoizedState;return t===null?(e={current:e},Object.seal(e),Ss.memoizedState=e):t},useState:function(e){return Ns=`useState`,ht(mt,e)},useInsertionEffect:it,useLayoutEffect:it,useCallback:function(e,t){return gt(function(){return e},t)},useImperativeHandle:it,useEffect:it,useDebugValue:it,useDeferredValue:function(e,t){return ct(),t===void 0?e:t},useTransition:function(){return ct(),[!1,yt]},useId:function(){var e=vs.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-ds(e)-1)).toString(32)+t;var n=Fs;if(n===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component.`);return t=Ts++,e=`_`+n.idPrefix+`R_`+e,0<t&&(e+=`H`+t.toString(32)),e+`_`},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);return n()},useOptimistic:function(e){return ct(),[e,bt]},useActionState:xt,useFormState:xt,useHostTransitionStatus:function(){return ct(),ti},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=cr;return t},useCacheRefresh:function(){return Ct},useEffectEvent:function(){return vt}},Fs=null,Is=null,Ls={getCacheForType:function(){throw Error(`Not implemented.`)},cacheSignal:function(){throw Error(`Not implemented.`)},getOwner:function(){return Is===null?null:Is.componentStack}},Rs=0,zs,Bs,Vs,Hs,Us,Ws,Gs;wt.__reactDisabledLog=!0;var Ks,qs,Js=!1,Ys=new(typeof WeakMap==`function`?WeakMap:Map),Xs={react_stack_bottom_frame:function(e,t,n){return e(t,n)}},Zs=Xs.react_stack_bottom_frame.bind(Xs),Qs={react_stack_bottom_frame:function(e){return e.render()}},$s=Qs.react_stack_bottom_frame.bind(Qs),ec={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},tc=ec.react_stack_bottom_frame.bind(ec),nc=0;if(typeof performance==`object`&&typeof performance.now==`function`)var rc=performance,ic=function(){return rc.now()};else{var ac=Date;ic=function(){return ac.now()}}var oc=4,sc=0,cc=1,lc=2,uc=3,dc=4,fc=5,pc=14,mc=null,hc={},gc={},_c={},vc={},yc=!1,bc=!1,xc=!1,Sc=0,Cc=!1;Wn(),Wn(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=ee(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=It(e,o,L(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),B(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Bn(s,e)},cancel:function(e){s.destination=null,Vn(s,e)}},{highWaterMark:0});e={postponed:Un(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)Vn(s,c.reason);else{var l=function(){Vn(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}Rn(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=ee(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Ft(e,l,L(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),B(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Bn(u,e)},cancel:function(e){u.destination=null,Vn(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Vn(u,d.reason);else{var f=function(){Vn(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}Rn(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=Lt(e,t,L(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Bn(c,e)},cancel:function(e){c.destination=null,Vn(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)Vn(c,l.reason);else{var u=function(){Vn(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}Rn(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Rt(e,t,L(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Bn(a,e)},cancel:function(e){a.destination=null,Vn(a,e)}},{highWaterMark:0});e={postponed:Un(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)Vn(a,o.reason);else{var s=function(){Vn(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}Rn(a)})},e.version=`19.2.4`})()})),b=l(s((e=>{var t,n;process.env.NODE_ENV===`production`?(t=g(),n=_()):(t=v(),n=y()),e.version=t.version,e.renderToString=t.renderToString,e.renderToStaticMarkup=t.renderToStaticMarkup,e.renderToReadableStream=n.renderToReadableStream,e.resume=n.resume}))(),1),x=l(f(),1),S=function(e,t){var n=this;Object.defineProperty(this,`element`,{get(){return e?e.querySelector(`[data-boc-content]`):null},set(e){n.mainElement=e}}),Object.defineProperty(this,`mainElement`,{get(){return e},set(t){e=t,e&&(e.innerHTML=`
|
|
206
|
-
<style>
|
|
207
|
-
.boc-dark, .boc-light{ display: flex; }
|
|
208
|
-
[data-boc-left]{ display: none; }
|
|
209
|
-
[data-boc-right]{ height: 100%; position: relative; overflow:hidden; flex-grow: 1; }
|
|
210
|
-
[data-boc-content]{ height: 100%; width: 100%; }
|
|
211
|
-
@media screen and (max-width: 500px) {
|
|
212
|
-
.boc-dark, .boc-light{ flex-direction: column; }
|
|
213
|
-
[data-boc-left]{ order: 2; height: 50vh; }
|
|
214
|
-
[data-boc-right]{ order: 1; }
|
|
215
|
-
}
|
|
216
|
-
</style>
|
|
217
|
-
<div data-boc-left></div>
|
|
218
|
-
<div data-boc-right>
|
|
219
|
-
<div data-boc-content></div>
|
|
220
|
-
</div>`)}}),Object.defineProperty(this,`leftElement`,{get(){return e.querySelector(`[data-boc-left]`)}}),n.init(e,t)};S.prototype.init=function(e,t){if(e&&!this._initCalled){this._initCalled=!0,(typeof e==`string`||e instanceof String)&&(e=document.querySelector(e)),this.element=e;var n=this;if(this.config=S.mergeDeep(S._defaultConfig(t),t),this._layoutConfigs={base:{orientation:this.config.orientation,levelSeparation:this.config.levelSeparation,mixedHierarchyNodesSeparation:this.config.mixedHierarchyNodesSeparation,assistantSeparation:this.config.assistantSeparation,subtreeSeparation:this.config.subtreeSeparation,siblingSeparation:this.config.siblingSeparation,layout:this.config.layout,columns:this.config.columns,collapse:this.config.collapse,partnerNodeSeparation:this.config.partnerNodeSeparation}},this.config.tags)for(var r in this.config.tags){var i=this.config.tags[r];i.subTreeConfig!=null&&(this._layoutConfigs[r]={orientation:i.subTreeConfig.orientation==null?this.config.orientation:i.subTreeConfig.orientation,levelSeparation:i.subTreeConfig.levelSeparation==null?this.config.levelSeparation:i.subTreeConfig.levelSeparation,mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation==null?this.config.mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation,assistantSeparation:i.subTreeConfig.assistantSeparation==null?this.config.assistantSeparation:i.subTreeConfig.assistantSeparation,subtreeSeparation:i.subTreeConfig.subtreeSeparation==null?this.config.subtreeSeparation:i.subTreeConfig.subtreeSeparation,siblingSeparation:i.subTreeConfig.siblingSeparation==null?this.config.siblingSeparation:i.subTreeConfig.siblingSeparation,layout:i.subTreeConfig.layout==null?this.config.layout:i.subTreeConfig.layout,columns:i.subTreeConfig.columns==null?this.config.columns:i.subTreeConfig.columns,collapse:i.subTreeConfig.collapse==null?this.config.collapse:i.subTreeConfig.collapse,partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation==null?this.config.partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation,template:i.subTreeConfig.template})}this._event_id=S._guid(),S._validateConfig(this.config)&&(this._vScroll={},this.config.ui||(this.ui=S.ui),this.config.editUI?this.editUI=this.config.editUI:this.editUI=new S.editUI,this.editUI.init(this),this.config.filterUI?this.filterUI=this.config.filterUI:this.filterUI=new S.filterUI,this.filterUI.init(this),this.manager=new S.manager(this),this._ai=new S._ai(this),this.config.searchUI?this.searchUI=this.config.searchUI:this.searchUI=new S.searchUI,this.config.aiUI?this.aiUI=this.config.aiUI:this.aiUI=new S.aiUI,this.config.orgScribeUI?this.orgScribeUI=this.config.orgScribeUI:this.orgScribeUI=new S.orgScribeUI,this.config.powerPointPreviewUI?this.powerPointPreviewUI=this.config.powerPointPreviewUI:this.powerPointPreviewUI=new S.exportUI(`pptx`),this.config.pdfPreviewUI?this.pdfPreviewUI=this.config.pdfPreviewUI:this.pdfPreviewUI=new S.exportUI(`pdf`),this.config.svgPreviewUI?this.svgPreviewUI=this.config.svgPreviewUI:this.svgPreviewUI=new S.exportUI(`svg`),this.config.pngPreviewUI?this.pngPreviewUI=this.config.pngPreviewUI:this.pngPreviewUI=new S.exportUI(`png`),this.config.nodeMenuUI?this.nodeMenuUI=this.config.nodeMenuUI:this.nodeMenuUI=new S.menuUI,this.nodeMenuUI.init(this,this.config.nodeMenu),this.config.nodeCircleMenuUI?this.nodeCircleMenuUI=this.config.nodeCircleMenuUI:this.nodeCircleMenuUI=new S.circleMenuUI,this.nodeCircleMenuUI.init(this,this.config.nodeCircleMenu),this.config.nodeContextMenuUI?this.nodeContextMenuUI=this.config.nodeContextMenuUI:this.nodeContextMenuUI=new S.menuUI,this.nodeContextMenuUI.init(this,this.config.nodeContextMenu),this.config.controlsUI?this.controlsUI=this.config.controlsUI:this.controlsUI=new S.controlsUI,this.config.toolbarUI?this.toolbarUI=this.config.toolbarUI:this.toolbarUI=new S.toolbarUI,this.config.notifierUI?this.notifierUI=this.config.notifierUI:this.notifierUI=new S.notifierUI,this.notifierUI.init(this),this.config.menuUI?this.menuUI=this.config.menuUI:this.menuUI=new S.menuUI,this.menuUI.init(this,this.config.menu),this.config.xScrollUI||(this.xScrollUI=new S.xScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,S.action.xScroll)})),this.config.yScrollUI||(this.yScrollUI=new S.yScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,S.action.xScroll)})),this.config.undoRedoUI?this.undoRedoUI=this.config.undoRedoUI:this.undoRedoUI=new S.undoRedoUI,this.mainElement.classList.add(`boc-`+this.config.mode),this._gragStartedId=null,this._timeout=null,this._touch=null,this._initialized=!1,this._loaded=!1,this._moveInterval=null,this._movePosition=null,this.response=null,this.nodes=null,this.isVisible=null,this._connectorLines={x:{},y:{}},S._intersectionObserver(this.element,function(e){n.isVisible=e,S.events.publish(`visibility-change`,[n])!==!1&&S.LAZY_LOADING&&n.isVisible&&(n._loaded?n._draw(!1,S.action.update):(n._setInitialSizeIfNotSet(),n._draw(!1,S.action.init)))}),this._resizeObserver=new ResizeObserver(e=>{for(let t of e){let{width:e,height:r}=t.contentRect;n._resizeHandler(e,r)}}),this._resizeObserver.observe(this.element))}},S.prototype.load=function(e,t){var n=this;return this.config.nodes=e,this._draw(!1,S.action.init,void 0,function(){n.filterUI.update(),t&&t()}),this},S.prototype.loadXML=function(e,t){var n=S._xml2json(e);return this.load(n,t)},S.prototype.getXML=function(){return S._json2xml(this.config.nodes)},S.prototype.on=function(e,t){return S.events.on(e,t,this._event_id),this},S.prototype.removeListener=function(e,t){return S.events.remove(e,t,this._event_id)},S.prototype.draw=function(e,t,n){e??=S.action.update,this._draw(!1,e,t,n)},S.prototype._draw=function(e,t,n,r){var i=this;if(!(S.LAZY_LOADING&&!this.isVisible)){if(!S.LAZY_LOADING&&!this._initialized&&(this._setInitialSizeIfNotSet(),this.width()==0||this.height()==0)){console.error(`Cannot load the chart with size 0! If you are using the OrgChart within tabs set OrgChart.LAZY_LOADING to true! `);return}this._hideBeforeAnimationCompleted=!1;var a=t==S.action.init?null:this.getViewBox();this.manager.read(e,this.width(),this.height(),a,t,n,function(e){if(!i.notifierUI.show(e.notif)){t!=S.action.exporting&&(i.nodes=e.nodes,i.visibleNodeIds=e.visibleNodeIds,i.roots=e.roots),i._connectorLines={x:{},y:{}},i.editUI.fields=e.allFields;var a={defs:``};S.events.publish(`renderdefs`,[i,a]);var o=i.ui.defs(a.defs),s=i.getScale(e.viewBox);o+=i.ui.pointer(i.config,t,s);var c=i.getViewBox(),l=e.viewBox,a={content:o,res:e};S.events.publish(`prerender`,[i,a]),o=a.content;var u=[];if(S.RENDER_LINKS_BEFORE_NODES)for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]];S.getRootOf(f).stParent?u.push(f.id):o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)}for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]],p=i._get(f.id);if(S.RENDER_LINKS_BEFORE_NODES&&u.includes(f.id)&&(o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),f.isTreeListItem||(o+=i.ui.node(f,p,e.animations,i.config,void 0,void 0,void 0,t,s,i)),!f.min&&f.treeList){var m=function(n){if(!f.treeList.pinnedIds.includes(n.id)){var r=i._get(n.id);o+=i.ui.node(n,r,e.animations,i.config,void 0,void 0,void 0,t,s,i),o+=i.ui.expandCollapseBtn(i,n,r,i.config,i._layoutConfigs,t,s)}for(var a of n.children)m(a)},h=S.randomId();o+=`<clipPath id="treelist_${h}">
|
|
221
|
-
<rect rx="10" ry="10" x="${f.x+f.padding[3]}" y="${f.y+f.padding[0]}" width="${f.w-f.padding[1]-f.padding[3]}" height="${f.h-f.padding[2]-f.padding[0]}">
|
|
222
|
-
</clipPath><g clip-path="url(#treelist_${h})"><g data-treelist-content="${f.id}" transform="matrix(1,0,0,1,0,-${f.treeList.scrollTop})">`;for(var g of f.stChildren)m(g);for(var _ of f.treeList.pinnedIds){var v=i.getNode(_),y=i._get(_);o+=i.ui.node(v,y,e.animations,i.config,void 0,void 0,void 0,t,s,i,!0),o+=i.ui.expandCollapseBtn(i,v,y,i.config,i._layoutConfigs,t,s)}var{thumbHeight:b,thumbPosition:x,scrollBarDisplay:C}=S._treeListGetTumbPositionFromScrollTop(f);o+=`</g>
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
<rect style="display: ${C}" data-treelist-scroll="${f.id}" class="boc-scroll" x="${f.x+f.w-f.padding[1]-S.TREELIST_SCROLLBAR_WIDTH}" y="${f.y+f.padding[0]}" width="${S.TREELIST_SCROLLBAR_WIDTH}" height="${f.h-f.padding[2]-f.padding[0]}"></rect>
|
|
226
|
-
<rect style="display: ${C}" data-treelist-thumb="${f.id}" class="boc-scroll-thumb" x="${f.x+f.w-f.padding[1]-S.TREELIST_SCROLLBAR_WIDTH}" y="${x}" width="${S.TREELIST_SCROLLBAR_WIDTH}" height="${b}"></rect>
|
|
227
|
-
|
|
228
|
-
</g>`}}for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]],p=i._get(f.id);f.isTreeListItem||(S.RENDER_LINKS_BEFORE_NODES||(o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),o+=i.ui.expandCollapseBtn(i,f,p,i.config,i._layoutConfigs,t,s))}var a={content:o,res:e};if(S.events.publish(`render`,[i,a]),o=a.content,e=a.res,o+=i.ui.lonely(i.config),t===S.action.exporting){var w=e.boundary,T=w.maxX-w.minX,E=w.maxY-w.minY,D=i.ui.svg(T,E,[w.minX,w.minY,T,E],i.config,o,s);r.call(i,D,e);return}(t===S.action.centernode||t===S.action.insert||t===S.action.expand||t===S.action.collapse||t===S.action.update)&&(l=c),t===S.action.init&&c!=null&&(l=c),t===S.action.centerNode&&c!=null&&(l=c),i.response=e,i._lastSize={width:i.width(),height:i.height()};var D=i.ui.svg(`100%`,`100%`,l,i.config,o);if(!i._initialized)i.element.innerHTML=i.ui.css()+D+i.ui.menuButton(i.config)+i.ui.aiButton(i.config),i._attachEventHandlers(),i.xScrollUI.create(i.width(),i.config.padding),i.xScrollUI.setPosition(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.create(i.height(),i.config.padding),i.yScrollUI.setPosition(),i.yScrollUI.addListener(i.getSvg()),i.config.enableSearch&&i.searchUI.init(i),i.aiUI.init(i),i.orgScribeUI.init(i),i.powerPointPreviewUI.init(i),i.pdfPreviewUI.init(i),i.svgPreviewUI.init(i),i.pngPreviewUI.init(i),i.toolbarUI.init(i,i.config.toolbar),i.undoRedoUI.init(i),i.controlsUI.init(i);else{var O=i.getSvg(),k=O.parentNode;k.removeChild(O),k.insertAdjacentHTML(`afterbegin`,D),i._attachEventHandlers(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.addListener(i.getSvg()),i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}var A=!1,j=i.response.animations;if(j[0].length>0){i._hideBeforeAnimation(j[0].length);for(var d=0;d<j[0].length;d++)j[0][d]=i.getNodeElement(j[0][d]);S.animate(j[0],j[1],j[2],i.config.anim.duration,i.config.anim.func,function(){A||=(r&&r.call(i),S.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)})}t===S.action.centerNode?S.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration,i.config.anim.func,function(){i.ripple(n.options.rippleId),A||=(r&&r.call(i),S.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)},function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}):c&&i.response&&(c[0]!=i.response.viewBox[0]||c[1]!=i.response.viewBox[1]||c[2]!=i.response.viewBox[2]||c[3]!=i.response.viewBox[3])&&(t===S.action.insert||t===S.action.expand||t===S.action.collapse||t===S.action.update||t===S.action.init)?S.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration*2,i.config.anim.func,function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition(),A||=(r&&r.call(i),S.events.publish(`redraw`,[i]),!0)}):j[0].length==0&&(A||=(r&&r.call(i),S.events.publish(`redraw`,[i]),!0)),i._initialized||(i._initialized=!0,i.filterUI.update(),i._ai.setContext(),S.events.publish(`init`,[i])),!i._loaded&&e&&e.nodes&&Object.keys(e.nodes).length&&(i._loaded=!0)}},function(e){S.events.publish(`ready`,[i,e])})}},S.prototype._setInitialSizeIfNotSet=function(){this.mainElement.style.overflow=`hidden`,this.mainElement.style.position=`relative`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`100%`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`700px`)),this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`100%`,this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`700px`))},S.prototype.width=function(){return this.element.offsetWidth},S.prototype.height=function(){return this.element.offsetHeight},S.prototype.getViewBox=function(){var e=this.getSvg();return S._getViewBox(e)},S.prototype.setViewBox=function(e){this.getSvg().setAttribute(`viewBox`,e.toString())},S.prototype.getScale=function(e){return e||=this.getViewBox(),S.getScale(e,this.width(),this.height(),this.config.scaleInitial,this.config.scaleMax,this.config.scaleMin)},S.prototype.setScale=function(e){e>this.config.scaleMax&&(e=this.config.scaleMax),e<this.config.scaleMin&&(e=this.config.scaleMin);var t=this.getViewBox().slice(0),n=this.width(),r=this.height(),i=n/t[2],a=r/t[3],o=i>a?a:i,s=t,c=t[2],l=t[3];return t[2]/=e/o,t[3]/=e/o,t[0]=s[0]-(t[2]-c)/2,t[1]=s[1]-(t[3]-l)/2,this.setViewBox(t),S.events.publish(`redraw`,[this]),e},S.prototype.ripple=function(e,t,n){var r=this.getNode(e);if(r!=null){var i=this.getNodeElement(e);if(i!=null){var a=this.getScale(),o=r.w/2,s=r.h/2;if(t!==void 0&&n!==void 0){var c=i.getBoundingClientRect();o=t/a-c.left/a,s=n/a-c.top/a}var l=r.w,u=r.h,d=l-o>o?l-o:o,f=u-s>s?u-s:s;d=d,f=f;var p=d>f?d:f,m=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),h=document.createElementNS(`http://www.w3.org/2000/svg`,`clipPath`),g=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`),_=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`),v=S.randomId();h.setAttribute(`id`,v);var y={ripple:S.t(r.templateName,r.min,this.getScale()).ripple,node:r};S.events.publish(`ripple`,[this,y]),g.setAttribute(`x`,y.ripple.rect?y.ripple.rect.x:0),g.setAttribute(`y`,y.ripple.rect?y.ripple.rect.y:0),g.setAttribute(`width`,y.ripple.rect?y.ripple.rect.width:r.w),g.setAttribute(`height`,y.ripple.rect?y.ripple.rect.height:r.h),g.setAttribute(`rx`,y.ripple.radius),g.setAttribute(`ry`,y.ripple.radius),_.setAttribute(`clip-path`,`url(#`+v+`)`),_.setAttribute(`cx`,o),_.setAttribute(`cy`,s),_.setAttribute(`r`,0),_.setAttribute(`fill`,y.ripple.color),_.setAttribute(`class`,`boc-ripple`),h.appendChild(g),m.appendChild(h),m.appendChild(_),i.appendChild(m),S.animate(_,{r:0,opacity:1},{r:p,opacity:0},500,S.anim.outPow,function(){i.removeChild(m)})}}},S.prototype.centerOutNodes=function(e){if(this._centerInNodes){var t=JSON.parse(this._centerInNodes);this._centerInNodes=null;var n=this;this._centerInNodesTimeout=S.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:t},300,this.config.anim.func,function(){n.draw(S.action.update,null,function(){e&&e.call(n)})})}},S.prototype.centerInNodes=function(e,t){var n=this.getViewBox();this._centerInNodes||=JSON.stringify(n);var r=2**53-1,i=-(2**53-1),a=2**53-1,o=-(2**53-1);for(var s of e)s.y<r&&(r=s.y),s.y+s.h>i&&(i=s.y+s.h),s.x<a&&(a=s.x),s.x+s.w>o&&(o=s.x+s.w);var c=o-a,l=i-r,u=c/(c+this.config.padding*2),d=l/(l+this.config.padding*2),f=u>d?d:u;f>this.config.scaleMax&&(f=this.config.scaleMax),f<this.config.scaleMin&&(f=this.config.scaleMin);var p=[50,50],m=this.width(),h=this.height(),u=m/n[2],d=h/n[3],g=u>d?d:u,_=n,v=n[2],y=n[3];n[2]/=f/g,n[3]/=f/g,n[0]=_[0]-(n[2]-v)/(100/p[0]),n[1]=_[1]-(n[3]-y)/(100/p[1]),n[0]=a-(m/f-c)/2,n[1]=r-(h/f-l)/2;var b=this;this._centerInNodesTimeout&&=(clearTimeout(this._centerInNodesTimeout),null),this._centerInNodesTimeout=S.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:n},300,this.config.anim.func,function(){b.draw(S.action.update,null,function(){t&&t.call(b)})})},S.prototype.center=function(e,t,n){var r,i,a=e,o=!0,s=!0;t&&t.parentState!=null&&(r=t.parentState),t&&t.childrenState!=null&&(i=t.childrenState),t&&t.rippleId!=null&&(a=t.rippleId),t&&t.vertical!=null&&(o=t.vertical),t&&t.horizontal!=null&&(s=t.horizontal);var c={parentState:r,childrenState:i,rippleId:a,vertical:o,horizontal:s};this._draw(!1,S.action.centerNode,{id:e,options:c},n)},S.prototype.fit=function(e){this.config.scaleInitial=S.match.boundary,this._draw(!0,S.action.init,{method:`fit`},e)},S.prototype.fitIfOutside=function(e){this.config.scaleInitial=S.match.boundaryIfOutside,this._draw(!0,S.action.init,{method:`fit`},e)},S.prototype.toggleFullScreen=function(){var e=document.querySelector(`[`+S.attr.tlbr+`r='fullScreen']`);document.fullscreenElement==this.element||document.webkitFullscreenElement==this.element||document.mozFullScreenElement==this.element||document.msFullscreenElement==this.element?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),e&&(e.innerHTML=S.toolbarUI.openFullScreenIcon)):(this.element.requestFullscreen?this.element.requestFullscreen():this.element.mozRequestFullScreen?this.element.mozRequestFullScreen():this.element.webkitRequestFullscreen?this.element.webkitRequestFullscreen():this.element.msRequestFullscreen&&this.element.msRequestFullscreen(),e&&(e.innerHTML=S.toolbarUI.closeFullScreenIcon))},S.prototype.getNode=function(e){return this.nodes[e]},S.prototype.setLayout=function(e,t){t||=`base`,this._layoutConfigs[t].layout=e,t==`base`&&(this.config.layout=e),this._draw(!1,S.action.update)},S.prototype.setOrientation=function(e,t,n){var r=this;t||=`base`,this._layoutConfigs[t].orientation=e,t==`base`&&(this.config.orientation=e),this._draw(!1,S.action.update,void 0,function(){r.getScale(),S._moveToBoundaryArea(r.getSvg(),r.getViewBox(),r.response.boundary,function(){r._draw(!0,S.action.pan),n&&n()})})},S.prototype.search=function(e,t,n){return S.isNEU(t)&&(t=this.searchUI._searchFields),S.isNEU(n)&&(n=t),S._search.search(this.config.nodes,e,t,n,this.config.searchDisplayField,this.config.searchFieldsWeight,this.searchUI._searchFieldsAbbreviation)},S.prototype._hideBeforeAnimation=function(e){if(this._hideBeforeAnimationCompleted!=1&&!(e&&e<S.ANIM_THRESHOLD)){var t=this.element.getElementsByTagName(`text`);if(t.length>S.TEXT_THRESHOLD)for(var n=0;n<t.length;n++)t[n].style.display=`none`;var r=this.element.getElementsByTagName(`image`);if(r.length>S.IMAGES_THRESHOLD)for(var n=0;n<r.length;n++)r[n].style.display=`none`;var i=this.element.querySelectorAll(`[`+S.attr.link_id+`]`);if(i.length>S.LINKS_THRESHOLD)for(var n=0;n<i.length;n++)i[n].style.display=`none`;var a=this.element.querySelectorAll(`[`+S.attr.control_expcoll_id+`]`);if(a.length>S.BUTTONS_THRESHOLD)for(var n=0;n<a.length;n++)a[n].style.display=`none`;var o=this.element.querySelectorAll(`[`+S.attr.control_up_id+`]`);if(o.length>S.BUTTONS_THRESHOLD)for(var n=0;n<o.length;n++)o[n].style.display=`none`;this._hideBeforeAnimationCompleted=!0}},S.prototype._showAfterAnimation=function(){for(var e=this.element.getElementsByTagName(`text`),t=0;t<e.length;t++)e[t].style.display=``;for(var n=this.element.getElementsByTagName(`image`),t=0;t<n.length;t++)n[t].style.display=``;for(var r=this.element.querySelectorAll(`[`+S.attr.link_id+`]`),t=0;t<r.length;t++)r[t].style.display=``;for(var i=this.element.querySelectorAll(`[`+S.attr.control_expcoll_id+`]`),t=0;t<i.length;t++)i[t].style.display=``;for(var a=this.element.querySelectorAll(`[`+S.attr.control_up_id+`]`),t=0;t<a.length;t++)a[t].style.display=``;this._hideBeforeAnimationCompleted=!1},S.prototype.isChild=function(e,t){for(var n=this.getNode(t);n;){if(n.id==e)return!0;n=n.parent?n.parent:n.stParent}return!1},S.prototype.getCollapsedIds=function(e){for(var t=[],n=0;n<e.childrenIds.length;n++){var r=this.getNode(e.childrenIds[n]);r.collapsed==1&&t.push(r.id)}return t},S.prototype.stateToUrl=function(){if(this.manager.state){var e={};return e.exp=this.manager.state.exp.join(`*`),e.min=this.manager.state.min.join(`*`),e.adjustify=this.manager.state.adjustify.x+`*`+this.manager.state.adjustify.y,e.scale=this.manager.state.scale,e.y=this.manager.state.x,e.x=this.manager.state.y,new URLSearchParams(e).toString()}return``},S.prototype.generateId=function(){for(;;){var e=`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4);if(this.nodes==null||!this.nodes.hasOwnProperty(e))return e}},S.prototype.moveNodesToVisibleArea=function(e,t){for(var n=this,r=this.roots[0],i=this.getSvg(),a=this.getViewBox(),o=null,s=null,c=null,l=null,u=0;u<e.length;u++){var d=this.nodes[e[u]];d.x!=null&&d.y!=null&&((o===null||o<d.x+d.w)&&(o=d.x+d.w),(s===null||s<d.y+d.h)&&(s=d.y+d.h),(c===null||c>d.x)&&(c=d.x),(l===null||l>d.y)&&(l=d.y))}if(!(o==null||s==null||c==null||l==null)){var f=this.width(),p=this.height(),m=o-c+this.config.padding*2,h=s-l+this.config.padding*2,g=f/m,_=p/h,v=g>_?_:g,y=Math.ceil(f/v),b=Math.ceil(p/v),m=0,h=0;if(y-this.config.padding*2>=o-c)m=(o+c)/2-y/2;else switch(m=r.x-y/2+S.manager._getNodeWidth(r,this.config)/2,this.config.orientation){case S.orientation.right:case S.orientation.right_top:m=-(y/2-(c-o)/2),m<this.config.padding-y&&(m=this.config.padding-y);break;case S.orientation.left:case S.orientation.bottom_left:case S.orientation.top_left:case S.orientation.left_top:m=-(y/2-(o-c)/2),m>-this.config.padding&&(m=-this.config.padding);break}if(b-this.config.padding*2>=s-l)h=(s+l)/2-b/2;else switch(h=-(b/2-(s-l)/2),h>-this.config.padding&&(h=-this.config.padding),this.config.orientation){case S.orientation.bottom:case S.orientation.bottom_left:h=-(b/2-(l-s)/2),h<this.config.padding-b&&(h=this.config.padding-b);break;case S.orientation.left:case S.orientation.right:h=r.y-b/2+S.manager._getNodeWidth(r,this.config)/2;break}var x=[m,h,y,b];a[0]!==x[0]||a[1]!==x[1]?S.animate(i,{viewBox:a},{viewBox:x},this.config.anim.duration,this.config.anim.func,function(){n.draw(S.action.update,void 0,t)}):t&&t()}},S.prototype._nodeHasHiddenParent=function(e){return!e.parent&&!S.isNEU(e.pid)&&this.getNode(e.pid)},S.prototype.destroy=function(){this._initCalled=!1,this._resizeObserver.unobserve(this.element),S.events.removeForEventId(this._event_id),this.element.innerHTML=null},S.prototype.canUpdateLink=function(e,t){if(t==null||t==null||e==null||e==null||e==t)return!1;var n=this.getNode(t),r=this.getNode(e);return n&&r&&(n.isPartner||n.hasPartners&&r.isAssistant||n.hasAssistants&&r.isPartner)?!1:!this.isChild(e,t)},S.prototype._canUpdateLink=S.prototype.canUpdateLink,S.prototype.updateNode=function(e,t,n,r){if(e){var i=this,a=this.get(e.id);if(n===!0&&S.events.publish(`update`,[this,a,e])===!1)return!1;this.update(e),this._ai.setContext(),S.events.publish(`updated`,[this]),this.filterUI.update();var o=this.getNode(e.id),s=o.pid;s??=o.stpid,this._draw(!1,S.action.update,{id:s},function(){r||i.ripple(e.id),t&&t()})}},S.prototype.update=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e.id){this._putInUndoStack(),this.clearRedo(),this.config.nodes[t]=e;break}return this},S.prototype.removeNode=function(e,t,n){if(!this.canRemove(e))return!1;var r=this._getNewPidsAndStpidsForIds(e);return n===!0&&S.events.publish(`remove`,[this,e,r])===!1?!1:(this.remove(e),this._ai.setContext(),S.events.publish(`updated`,[this]),this.filterUI.update(),this._draw(!1,S.action.update,null,function(){t&&t()}),!0)},S.prototype.remove=function(e){var t=this.get(e);if(t){this._putInUndoStack(),this.clearRedo();for(var n=this.config.nodes.length-1;n>=0;n--)(this.config.nodes[n].pid==e||this.config.nodes[n].stpid==e)&&(this.config.nodes[n].pid=t.pid,this.config.nodes[n].stpid=t.stpid),this.config.nodes[n].id==e&&this.config.nodes.splice(n,1)}return this},S.prototype._getNewPidsAndStpidsForIds=function(e){var t=this.get(e),n={},r={};if(t)for(var i=this.config.nodes.length-1;i>=0;i--)this.config.nodes[i].pid==e?n[this.config.nodes[i].id]=t.pid:this.config.nodes[i].stpid==e&&(r[this.config.nodes[i].id]=t.stpid);return{newPidsForIds:n,newStpidsForIds:r}},S.prototype.addNode=function(e,t,n){var r=this;if(n===!0&&S.events.publish(`add`,[this,e])===!1)return!1;this.add(e),this._ai.setContext(),S.events.publish(`updated`,[this]),this.filterUI.update(),r._draw(!1,S.action.insert,{id:e.pid,insertedNodeId:e.id},function(){r.ripple(e.id),t&&t()})},S.prototype.add=function(e){if(e.id??console.error(`Call addNode without id`),this._putInUndoStack(),this.clearRedo(),this.config.movable&&!S.isNEU(e.pid)){var t=this._get(e.pid);t&&(t.movex!=null&&(e.movex=t.movex),t.movey!=null&&(e.movey=t.movey))}return this.config.nodes.push(e),this},S.prototype.replaceIds=function(e,t){this._replaceIds(e),this._draw(!1,S.action.update,void 0,t)},S.prototype._replaceIds=function(e){for(var t=function(t){for(var n=0;n<t.length;n++){var r=t[n];for(var i in e){var a=e[i];r.from==i&&(r.from=a),r.to==i&&(r.to=a)}}},n=0;n<this.config.nodes.length;n++){var r=this.config.nodes[n];for(var i in e){var a=e[i];r.id==i&&(r.id=a),r.pid==i&&(r.pid=a),r.stpid==i&&(r.stpid=a),r.ppid==i&&(r.ppid=a)}}if(Array.isArray(this.config.roots))for(var n=0;n<this.config.roots.length;n++)S.isNEU(e[this.config.roots[n]])||(this.config.roots[n]=e[this.config.roots[n]]);if(this.nodes){for(var o in this.nodes)if(!S.isNEU(e[o])){var a=e[o],s=this.nodes[o];s.id=a,this.nodes[a]=s}}if(this.manager.oldNodes){for(var o in this.manager.oldNodes)if(!S.isNEU(e[o])){var a=e[o],s=this.manager.oldNodes[o];s.id=a,this.manager.oldNodes[a]=s}}if(this.roots){for(var o in this.roots)if(!S.isNEU(e[o])){var a=e[o],s=this.roots[o];s.id=a,this.roots[a]=s}}t(this.config.clinks),t(this.config.slinks),t(this.config.groupDottedLines),t(this.config.dottedLines)},S.prototype._get=function(e){var t=this.__get(e);if(t)return t;if((this.config.groupDottedLines.length||this.config.dottedLines.length)&&!S.isNEU(e)&&typeof e==`string`&&(e.indexOf(`balkan_group_dotted_`)!=-1||e.indexOf(`balkan_dotted_`)!=-1)){e=e.replace(`balkan_group_dotted_`,``),e=e.replace(`balkan_dotted_`,``);var n=e.indexOf(`_balkan_id_`);if(e=e.substring(n+11),t=this.__get(e),t)return t}return null},S.prototype.__get=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e)return this.config.nodes[t];return null},S.prototype.get=function(e){var t=this._get(e);return t==null?null:JSON.parse(JSON.stringify(t))},S.prototype.canRemove=function(e){var t=this.getNode(e);return!(!t||t.hasPartners||t.hasAssistants)},S===void 0&&(S={}),S.animate=function(e,t,n,r,i,a,o){var s=10,c=1,l=1,u=r/s+1,d;document.getElementsByTagName(`g`),Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);function f(){for(var f=0;f<e.length;f++)for(var p in n[f]){var m=S._arrayContains([`top`,`left`,`right`,`bottom`,`width`,`height`],p.toLowerCase())?`px`:``;switch(p.toLowerCase()){case`d`:var h=i((l*s-s)/r)*(n[f][p][0]-t[f][p][0])+t[f][p][0],g=i((l*s-s)/r)*(n[f][p][1]-t[f][p][1])+t[f][p][1];e[f].setAttribute(`d`,e[f].getAttribute(`d`)+` L`+h+` `+g);break;case`r`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`r`,_);break;case`x1`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x1`,_);break;case`x2`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x2`,_);break;case`y1`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y1`,_);break;case`y2`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y2`,_);break;case`scrolltop`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTop=_;break;case`rotate3d`:if(n[f][p]){var v=t[f][p],y=n[f][p],b=[0,0,0,0];for(var x in v)b[x]=i((l*s-s)/r)*(y[x]-v[x])+v[x];e[f].style.transform=`rotate3d(`+b.toString()+`deg)`}break;case`transform`:if(n[f][p]){var v=t[f][p],y=n[f][p],b=[0,0,0,0,0,0];for(var x in v)b[x]=i((l*s-s)/r)*(y[x]-v[x])+v[x];e[f].hasAttribute(`transform`)?e[f].setAttribute(`transform`,`matrix(`+b.toString()+`)`):e[f].style.transform=`matrix(`+b.toString()+`)`}break;case`viewbox`:if(n[f][p]){var v=t[f][p],y=n[f][p],b=[0,0,0,0];for(var x in v)b[x]=i((l*s-s)/r)*(y[x]-v[x])+v[x];e[f].setAttribute(`viewBox`,b.toString())}break;case`margin`:if(n[f][p]){var v=t[f][p],y=n[f][p],b=[0,0,0,0];for(var x in v)b[x]=i((l*s-s)/r)*(y[x]-v[x])+v[x];for(var C=``,x=0;x<b.length;x++)C+=parseInt(b[x])+`px `;e[f]&&e[f].style&&(e[f].style[p]=C)}break;case`scrolly`:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTo(0,_);break;default:var _=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f]&&e[f].style&&(e[f].style[p]=_+m);break}}if(o){var _=i((l*s-s)/r);o(_)}l+=c,l>u+1&&(clearInterval(d),a&&a(e))}return d=setInterval(f,s),d},S.anim={},S.anim.inPow=function(e){return e<0?0:e>1?1:e**2},S.anim.outPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;var n=t%2==0?-1:1;return n*((e-1)**t+n)},S.anim.inOutPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;if(e*=2,e<1)return S.anim.inPow(e,t)/2;var n=t%2==0?-1:1;return n/2*((e-2)**t+n*2)},S.anim.inSin=function(e){return e<0?0:e>1?1:-Math.cos(Math.PI/2*e)+1},S.anim.outSin=function(e){return e<0?0:e>1?1:Math.sin(Math.PI/2*e)},S.anim.inOutSin=function(e){return e<0?0:e>1?1:-.5*(Math.cos(Math.PI*e)-1)},S.anim.inExp=function(e){return e<0?0:e>1?1:2**(10*(e-1))},S.anim.outExp=function(e){return e<0?0:e>1?1:-(2**(-10*e))+1},S.anim.inOutExp=function(e){return e<0?0:e>1?1:e<.5?.5*2**(10*(2*e-1)):.5*(-(2**(10*(-2*e+1)))+2)},S.anim.inCirc=function(e){return e<0?0:e>1?1:-(Math.sqrt(1-e*e)-1)},S.anim.outCirc=function(e){return e<0?0:e>1?1:Math.sqrt(1-(e-1)*(e-1))},S.anim.inOutCirc=function(e){return e<0?0:e>1?1:e<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(2*e-2)*(2*e-2))+1)},S.anim.rebound=function(e){return e<0?0:e>1?1:e<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-1.5/2.75)*(e-1.5/2.75)+.75):e<2.5/2.75?1-(7.5625*(e-2.25/2.75)*(e-2.25/2.75)+.9375):1-(7.5625*(e-2.625/2.75)*(e-2.625/2.75)+.984375)},S.anim.inBack=function(e){return e<0?0:e>1?1:e*e*(2.70158*e-1.70158)},S.anim.outBack=function(e){return e<0?0:e>1?1:(e-1)*(e-1)*(2.70158*(e-1)+1.70158)+1},S.anim.inOutBack=function(e){return e<0?0:e>1?1:e<.5?.5*(4*e*e*(3.5949*2*e-2.5949)):.5*((2*e-2)*(2*e-2)*(3.5949*(2*e-2)+2.5949)+2)},S.anim.impulse=function(e){var t=2*e;return t*Math.exp(1-t)},S.anim.expPulse=function(e){return Math.exp(-2*e**2)},S===void 0&&(S={}),S.prototype._attachEventHandlers=function(e){if(this.config.interactive){var e=this.getSvg(),t=this;e.addEventListener(`touchstart`,function(e){e.preventDefault(),t._globalMouseDownHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`mousedown`,function(e){t._globalMouseDownHandler.apply(t,[this,e])},{passive:!0}),e.addEventListener(`contextmenu`,function(e){t._globalContextHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`dblclick`,function(e){t._globalDbClickHandler.apply(t,[this,e])},{passive:!0}),this.config.mouseScrool!=S.action.none&&e.addEventListener(`wheel`,function(e){t._mouseScrollHandler.apply(t,[this,e])},{passive:!1});var n=this.getMenuButton();n&&n.addEventListener(`click`,function(e){t._menuClickHandler.apply(t,[this,e])})}},S===void 0&&(S={}),S.VERSION=`9.2.31`,S.orientation={},S.orientation.top=0,S.orientation.bottom=1,S.orientation.right=2,S.orientation.left=3,S.orientation.top_left=4,S.orientation.bottom_left=5,S.orientation.right_top=6,S.orientation.left_top=7,S.anchor={top_right:`top_right`,right_top:`right_top`,bottom_right:`bottom_right`,right_bottom:`right_bottom`,top_left:`top_left`,left_top:`left_top`,bottom_left:`bottom_left`,left_bottom:`left_bottom`,top:`top`,bottom:`bottom`,left:`left`,right:`right`},S.align={},S.align.center=S.CENTER=8,S.align.orientation=S.ORIENTATION=9,S.attr={},S.attr.l=`data-l`,S.attr.id=`data-id`,S.attr.sl=`data-sl`,S.attr.lbl=`data-lbl`,S.attr.val=`data-val`,S.attr.tlbr=`data-tlbr`,S.attr.item=`data-item`,S.attr.layout=`data-layout`,S.attr.node_id=`data-n-id`,S.attr.link_id=`data-l-id`,S.attr.field_name=`data-f-name`,S.attr.c_link_to=`data-c-l-to`,S.attr.c_link_from=`data-c-l-from`,S.attr.s_link_to=`data-s-l-to`,S.attr.s_link_from=`data-s-l-from`,S.attr.control_add=`data-ctrl-add`,S.attr.control_expcoll_id=`data-ctrl-ec-id`,S.attr.control_up_id=`data-ctrl-up-id`,S.attr.control_export_menu=`data-ctrl-menu`,S.attr.control_node_menu_id=`data-ctrl-n-menu-id`,S.attr.control_node_circle_menu_id=`data-ctrl-n-c-menu-id`,S.attr.control_node_circle_menu_name=`data-ctrl-n-c-menu-name`,S.attr.control_node_circle_menu_wrraper_id=`data-ctrl-n-c-menu-wrapper-id`,S.attr.width=`data-width`,S.attr.text_overflow=`data-text-overflow`,S.ID=`id`,S.PID=`pid`,S.STPID=`stpid`,S.TAGS=`tags`,S.NODES=`nodes`,S.ELASTIC=`elastic`,S.ASSISTANT=`Assistant`,S.action={},S.action.expand=0,S.action.collapse=1,S.action.maximize=101,S.action.minimize=102,S.action.expandCollapse=501,S.action.edit=1,S.action.zoom=2,S.action.ctrlZoom=22,S.action.scroll=41,S.action.xScroll=3,S.action.yScroll=4,S.action.none=5,S.action.init=6,S.action.update=7,S.action.move=70,S.action.pan=8,S.action.centerNode=9,S.action.resize=10,S.action.insert=11,S.action.insertfirst=12,S.action.details=13,S.action.exporting=14,S.none=400001,S.scroll={},S.scroll.visible=!0,S.scroll.smooth=12,S.scroll.speed=120,S.scroll.safari={smooth:12,speed:250},S.match={},S.match.height=100001,S.match.width=100002,S.match.boundary=100003,S.match.boundaryIfOutside=100004,S.match.none=1,S.movable={},S.movable.node=`node`,S.movable.tree=`tree`,S.movable.detachTree=`detachTree`,S.layout={},S.layout.normal=S.normal=0,S.layout.mixed=S.mixed=1,S.layout.tree=S.tree=2,S.layout.treeLeftOffset=S.treeLeftOffset=3,S.layout.treeRightOffset=S.treeRightOffset=4,S.layout.treeLeft=5,S.layout.treeRight=6,S.layout.grid=-1,S.layout.treeList=-2,S.nodeOpenTag=`<g `+S.attr.node_id+`="{id}" style="opacity: {opacity}" transform="matrix(1,0,0,1,{x},{y})" class="{class}" `+S.attr.sl+`="{sl}" `+S.attr.l+`="{level}" {lcn}>`,S.linkOpenTag=`<g `+S.attr.link_id+`="[{id}][{child-id}]" class="{class}">`,S.expcollOpenTag=`<g `+S.attr.control_expcoll_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,S.upOpenTag=`<g `+S.attr.control_up_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,S.linkFieldsOpenTag=`<g transform="matrix(1,0,0,1,{x},{y}) rotate({rotate})">`,S.grCloseTag=`</g>`,S.A5={width:420,height:595},S.A4={width:595,height:842},S.A3={width:842,height:1191},S.A2={width:1191,height:1684},S.A1={width:1684,height:2384},S.Letter={width:612,height:791},S.Legal={width:612,height:1009},S.Legal={width:612,height:1009},S.Widescreen={width:720,height:1280},S.Standard={width:720,height:960},S.COLLAPSE_PARENT_NEIGHBORS=1,S.COLLAPSE_SUB_CHILDRENS=2,S.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED=3,S.TEXT_THRESHOLD=4e3,S.IMAGES_THRESHOLD=1e3,S.LINKS_THRESHOLD=2e3,S.BUTTONS_THRESHOLD=700,S.ANIM_THRESHOLD=500,S.IT_IS_LONELY_HERE=`<g transform="translate(-100, 0)" style="cursor:pointer;" `+S.attr.control_add+`="control-add"><text fill="#039be5">{link}</text></g>`,S.RES={},S.IT_IS_LONELY_HERE_LINK=S.RES.IT_IS_LONELY_HERE_LINK=`It's lonely here, add your first node`,S.FIRE_DRAG_NOT_CLICK_IF_MOVE=3,S.STRING_TAGS=!1,S.MAX_NODES_MESS=`The trial has expired or 200 nodes limit was reached! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,S.OFFLINE_MESS=`The evaluation version requires internet connection! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,S.SEARCH_PLACEHOLDER=`Search... type ? to get help.`,S.SEARCH_HELP_SYMBOL=`?`,S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE=!1,S.SEARCH_RESULT_LIMIT=10,S.IMPORT_MESSAGE=`Choose the columns (fields) in your data file that contain the required information.`,S.FIXED_POSITION_ON_CLICK=!1,S.RENDER_LINKS_BEFORE_NODES=!1,S.RENDER_CLINKS_BEFORE_NODES=!1,S.MIXED_LAYOUT_ALL_NODES=!1,S.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN=!1,S.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN=1,S.LINK_ROUNDED_CORNERS=5,S.MOVE_STEP=5,S.CLINK_CURVE=1,S.MAX_DEPTH=200,S.SCALE_FACTOR=1.44,S.LAZY_LOADING_FACTOR=`auto`,S.LAZY_LOADING=!0,S.ARRAY_FIELDS=[`tags`],S.CSV_DELIMITER=`,`,S.EDITFORM_CLOSE_BTN=`<svg data-edit-from-close class="boc-edit-form-close"><path style="fill:#ffffff;" d="M21.205,5.007c-0.429-0.444-1.143-0.444-1.587,0c-0.429,0.429-0.429,1.143,0,1.571l8.047,8.047H1.111 C0.492,14.626,0,15.118,0,15.737c0,0.619,0.492,1.127,1.111,1.127h26.554l-8.047,8.032c-0.429,0.444-0.429,1.159,0,1.587 c0.444,0.444,1.159,0.444,1.587,0l9.952-9.952c0.444-0.429,0.444-1.143,0-1.571L21.205,5.007z"></path></svg>`,S.ESCAPE_HTML=!1,S.VERTICAL_CHILDREN_ASSISTANT=!1,S.EXPORT_PAGES_CUT_NODES=!1,S.RESET_MOVABLE_ONEXPANDCOLLAPSE=!1,S.FILTER_ALPHABETICALLY=!0,S.SERVER_PREFIX=`.azurewebsites.net/api/you-see-this-request-because-it-is-trial-version-of-orgchartjs`,S.FUNC_URL_NAME=`func-url-orgchartjs`,S.MINIMUM_SYMBOLS_IN_SEARCH_INPUT=1,S.AI_SYSTEM_MESSAGES=[],S.ORGSCRIBE_OFFSET=` `,S.TREELIST_WHEEL_STEP=`auto`,S.TREELIST_SCROLLBAR_WIDTH=10,S.CONVERT_IMAGES_TO_BASE64_BEFORE_EXPORT=!1,S.REQUEST_CUSTOM_HEADERS={},S.SLINK_GAP=7,S._intersects=function(e,t,n){var r=e.x-n.siblingSeparation/4,i=e.y,a=e.x+e.w+n.siblingSeparation/4,o=e.y;switch(n.orientation){case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:r=e.x,i=e.y-n.siblingSeparation/4,a=e.x,o=e.y+e.h+n.siblingSeparation/4;break}var s=t.p,c=t.q,l=t.r,u=t.s,d=(a-r)*(u-c)-(l-s)*(o-i),f,p;return d===0?!1:(p=((u-c)*(l-r)+(s-l)*(u-i))/d,f=((i-o)*(l-r)+(a-r)*(u-i))/d,0<p&&p<1&&0<f&&f<1)},S._addPoint=function(e,t,n,r,i){switch(n.orientation){case S.orientation.top:case S.orientation.top_left:return S._addPointTop(e,t,n,r,i);case S.orientation.bottom:case S.orientation.bottom_left:return S._addPointBottom(e,t,n,r,i);case S.orientation.left:case S.orientation.left_top:return S._addPointLeft(e,t,n,r,i);case S.orientation.right:case S.orientation.right_top:return S._addPointRight(e,t,n,r,i)}},S._addPointTop=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y-n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},S._addPointBottom=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y+e.h+n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},S._addPointLeft=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x-n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},S._addPointRight=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x+e.w+n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},S._addConnectorLines=function(e,t){S._addConnectorLine(e,{x1:t.xa,y1:t.ya,x2:t.xb,y2:t.yb}),S._addConnectorLine(e,{x1:t.xb,y1:t.yb,x2:t.xc,y2:t.yc}),S._addConnectorLine(e,{x1:t.xc,y1:t.yc,x2:t.xd,y2:t.yd})},S._addConnectorLine=function(e,t){if(t.x1==t.x2){if(e.x[t.x1]||(e.x[t.x1]=[]),t.y1>t.y2){var n=t.y1;t.y1=t.y2,t.y2=n}e.x[t.x1].push({y1:t.y1,y2:t.y2})}if(t.y1==t.y2){if(e.y[t.y1]||(e.y[t.y1]=[]),t.x1>t.x2){var r=t.x1;t.x1=t.x2,t.x2=r}e.y[t.y1].push({x1:t.x1,x2:t.x2})}},S._addLineToPath=function(e,t,n){return S._avoidOverlapping(t,n),e.push([n.x1,n.y1]),e.push([n.x2,n.y2]),S._addConnectorLine(t,n),n},S._slinkRemoveUnusedPoints=function(e){for(var t=e.length-2;t>=1;t--){var n=e[t-1],r=e[t],i=e[t+1];(r[0]==n[0]&&r[0]==i[0]||r[1]==n[1]&&r[1]==i[1])&&e.splice(t,1)}},S._slinkAvoidOverlaping=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){r==S.orientation.top||r==S.orientation.top_left?n==`left`?o[0]-=S.SLINK_GAP:n==`right`&&(o[0]+=S.SLINK_GAP):(r==S.orientation.bottom||r==S.orientation.bottom_left)&&(n==`right`?o[0]+=S.SLINK_GAP:n==`left`&&(o[0]-=S.SLINK_GAP)),c=!1;break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}var u=!0;if(a[1]==o[1]&&a[0]>=o[0]&&(u=!1),u&&a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){a[0]>=o[0]||(r==S.orientation.top||r==S.orientation.top_left?o[1]-=S.SLINK_GAP:(r==S.orientation.bottom||r==S.orientation.bottom_left)&&(o[1]+=S.SLINK_GAP),c=!1);break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}u&&S._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},S._slinkAvoidOverlapingSecond=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[1]==a[1]){for(var s=e.y[a[1]];s;){var c=!0;for(var l of s)if(l.x1<=i[0]&&l.x2>=i[0]||l.x1<=a[0]&&l.x2>=a[0]){i[0]>=a[0]?(n==S.orientation.top||n==S.orientation.top_left?a[1]-=S.SLINK_GAP:(n==S.orientation.bottom||n==S.orientation.bottom_left)&&(a[1]+=S.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.y[a[1]]}i[1]=a[1]}o||S._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},S._slinkAvoidOverlaping2=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){r==S.orientation.left||r==S.orientation.left_top?n==`top`?o[1]-=S.SLINK_GAP:n==`bottom`&&(o[1]+=S.SLINK_GAP):(r==S.orientation.right||r==S.orientation.right_top)&&(n==`bottom`?o[1]+=S.SLINK_GAP:n==`top`&&(o[1]-=S.SLINK_GAP)),c=!1;break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}var u=!0;if(a[0]==o[0]&&a[1]>=o[1]&&(u=!1),u&&a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){a[1]>=o[1]||(r==S.orientation.left||r==S.orientation.left_top?o[0]-=S.SLINK_GAP:(r==S.orientation.right||r==S.orientation.right_top)&&(o[0]+=S.SLINK_GAP),c=!1);break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}u&&S._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},S._slinkAvoidOverlapingSecond2=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[0]==a[0]){for(var s=e.x[a[0]];s;){var c=!0;for(var l of s)if(l.y1<=i[1]&&l.y2>=i[1]||l.y1<=a[1]&&l.y2>=a[1]){i[1]>=a[1]?(n==S.orientation.left||n==S.orientation.left_top?a[0]-=S.SLINK_GAP:(n==S.orientation.right||n==S.orientation.right_top)&&(a[0]+=S.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.x[a[0]]}i[0]=a[0]}o||S._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},S.prototype.getSvg=function(){return this.element.querySelector(`svg`)},S.prototype.getPointerElement=function(){return this.element.querySelector(`g[data-pointer]`)},S.prototype.getNodeElement=function(e){return this.element.querySelector(`[`+S.attr.node_id+`='`+e+`']`)},S.prototype.getMenuButton=function(){return this.element.querySelector(`[`+S.attr.control_export_menu+`]`)},S.notifierUI=function(){},S.notifierUI.prototype.init=function(e){this.obj=e},S.notifierUI.prototype.show=function(e,t){if(e==null)return!1;e==1&&(e=S.MAX_NODES_MESS,t=`#FFCA28`),e==2&&(e=S.OFFLINE_MESS,t=`#FFCA28`);var n=document.createElement(`div`);n.innerHTML=e,Object.assign(n.style,{position:`absolute`,"background-color":t,color:`#ffffff`,padding:`15px`,"border-radius":`40px`,opacity:0,overflow:`hidden`,"white-space":`nowrap`,"text-align":`center`}),this.obj.element.appendChild(n);var r=this.obj.width()/2-n.offsetWidth/2,i=this.obj.height()/2-n.offsetHeight/2;n.style.left=r+`px`,n.style.top=i+`px`;var a=n.offsetWidth;return n.style.width=`20px`,S.animate(n,{opacity:0,width:10},{opacity:1,width:a},this.obj.config.anim.duration,this.obj.config.anim.func),!0},S===void 0&&(S={}),S.icon={},S.icon.png_export=S.icon.png_preview=S.icon.pngpreview=S.icon.png=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
|
|
229
|
-
<path fill="${n}" d="M146.747,276.708c0-13.998-9.711-22.352-26.887-22.352c-6.99,0-11.726,0.675-14.204,1.355v44.927 c2.932,0.676,6.539,0.896,11.52,0.896C135.449,301.546,146.747,292.28,146.747,276.708z"/>
|
|
230
|
-
<path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M234.344,335.86v45.831h-31.601V229.524h40.184 l31.611,55.759c9.025,16.031,18.064,34.983,24.825,52.154h0.675c-2.257-20.103-2.933-40.643-2.933-63.44v-44.473h31.614v152.167 h-36.117l-32.516-58.703c-9.049-16.253-18.971-35.892-26.438-53.727l-0.665,0.222C233.906,289.58,234.344,311.027,234.344,335.86z M71.556,381.691V231.56c10.613-1.804,25.516-3.159,46.506-3.159c21.215,0,36.353,4.061,46.509,12.192 c9.698,7.673,16.255,20.313,16.255,35.219c0,14.897-4.959,27.549-13.999,36.123c-11.738,11.063-29.123,16.031-49.441,16.031 c-4.522,0-8.593-0.231-11.736-0.675v54.411H71.556V381.691z M453.601,523.353H97.2V419.302h356.4V523.353z M485.652,374.688 c-10.61,3.607-30.713,8.585-50.805,8.585c-27.759,0-47.872-7.003-61.857-20.545c-13.995-13.1-21.684-32.97-21.452-55.318 c0.222-50.569,37.03-79.463,86.917-79.463c19.644,0,34.783,3.829,42.219,7.446l-7.214,27.543c-8.369-3.617-18.752-6.55-35.458-6.55 c-28.656,0-50.341,16.256-50.341,49.22c0,31.382,19.649,49.892,47.872,49.892c7.895,0,14.218-0.901,16.934-2.257v-31.835h-23.493 v-26.869h56.679V374.688z"/>
|
|
231
|
-
</svg>`},S.icon.pdf_export=S.icon.pdf_preview=S.icon.pdfpreview=S.icon.pdf=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
|
|
232
|
-
<path fill="${n}" d="M160.381,282.225c0-14.832-10.299-23.684-28.474-23.684c-7.414,0-12.437,0.715-15.071,1.432V307.6 c3.114,0.707,6.942,0.949,12.192,0.949C148.419,308.549,160.381,298.74,160.381,282.225z"/>
|
|
233
|
-
<path fill="${n}" d="M272.875,259.019c-8.145,0-13.397,0.717-16.519,1.435v105.523c3.116,0.729,8.142,0.729,12.69,0.729 c33.017,0.231,54.554-17.946,54.554-56.474C323.842,276.719,304.215,259.019,272.875,259.019z"/>
|
|
234
|
-
<path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M362.359,309.023c0,30.876-11.243,52.165-26.82,65.333 c-16.971,14.117-42.82,20.814-74.396,20.814c-18.9,0-32.297-1.197-41.401-2.389V234.365c13.399-2.149,30.878-3.346,49.304-3.346 c30.612,0,50.478,5.508,66.039,17.226C351.828,260.69,362.359,280.547,362.359,309.023z M80.7,393.499V234.365 c11.241-1.904,27.042-3.346,49.296-3.346c22.491,0,38.527,4.308,49.291,12.928c10.292,8.131,17.215,21.534,17.215,37.328 c0,15.799-5.25,29.198-14.829,38.285c-12.442,11.728-30.865,16.996-52.407,16.996c-4.778,0-9.1-0.243-12.435-0.723v57.67H80.7 V393.499z M453.601,523.353H97.2V419.302h356.4V523.353z M484.898,262.127h-61.989v36.851h57.913v29.674h-57.913v64.848h-36.593 V232.216h98.582V262.127z"/>
|
|
235
|
-
</svg>`},S.icon.svg_export=S.icon.svg_preview=S.icon.svg=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
|
|
236
|
-
<path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M338.871,225.672L284.545,386.96h-42.591 l-51.69-161.288h39.967l19.617,68.196c5.508,19.143,10.531,37.567,14.36,57.67h0.717c4.061-19.385,9.089-38.527,14.592-56.953 l20.585-68.918h38.77V225.672z M68.458,379.54l7.415-30.153c9.811,5.021,24.888,10.051,40.439,10.051 c16.751,0,25.607-6.935,25.607-17.465c0-10.052-7.662-15.795-27.05-22.734c-26.8-9.328-44.263-24.168-44.263-47.611 c0-27.524,22.971-48.579,61.014-48.579c18.188,0,31.591,3.823,41.159,8.131l-8.126,29.437c-6.465-3.116-17.945-7.657-33.745-7.657 c-15.791,0-23.454,7.183-23.454,15.552c0,10.296,9.089,14.842,29.917,22.731c28.468,10.536,41.871,25.365,41.871,48.094 c0,27.042-20.812,50.013-65.09,50.013C95.731,389.349,77.538,384.571,68.458,379.54z M453.601,523.353H97.2V419.302h356.4V523.353z M488.911,379.54c-11.243,3.823-32.537,9.103-53.831,9.103c-29.437,0-50.73-7.426-65.57-21.779 c-14.839-13.875-22.971-34.942-22.738-58.625c0.253-53.604,39.255-84.235,92.137-84.235c20.81,0,36.852,4.073,44.74,7.896 l-7.657,29.202c-8.859-3.829-19.849-6.95-37.567-6.95c-30.396,0-53.357,17.233-53.357,52.173c0,33.265,20.81,52.882,50.73,52.882 c8.375,0,15.072-0.96,17.94-2.395v-33.745h-24.875v-28.471h60.049V379.54L488.911,379.54z" />
|
|
237
|
-
</svg>`},S.icon.csv_export=S.icon.csv=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 548.29 548.291" x="${r}" y="${i}">'
|
|
238
|
-
<path fill="${n}" d="M486.2,196.121h-13.164V132.59c0-0.399-0.064-0.795-0.116-1.2c-0.021-2.52-0.824-5-2.551-6.96L364.656,3.677 c-0.031-0.034-0.064-0.044-0.085-0.075c-0.629-0.707-1.364-1.292-2.141-1.796c-0.231-0.157-0.462-0.286-0.704-0.419 c-0.672-0.365-1.386-0.672-2.121-0.893c-0.199-0.052-0.377-0.134-0.576-0.188C358.229,0.118,357.4,0,356.562,0H96.757 C84.893,0,75.256,9.649,75.256,21.502v174.613H62.093c-16.972,0-30.733,13.756-30.733,30.73v159.81 c0,16.966,13.761,30.736,30.733,30.736h13.163V526.79c0,11.854,9.637,21.501,21.501,21.501h354.777 c11.853,0,21.502-9.647,21.502-21.501V417.392H486.2c16.966,0,30.729-13.764,30.729-30.731v-159.81 C516.93,209.872,503.166,196.121,486.2,196.121z M96.757,21.502h249.053v110.006c0,5.94,4.818,10.751,10.751,10.751h94.973v53.861 H96.757V21.502z M258.618,313.18c-26.68-9.291-44.063-24.053-44.063-47.389c0-27.404,22.861-48.368,60.733-48.368 c18.107,0,31.447,3.811,40.968,8.107l-8.09,29.3c-6.43-3.107-17.862-7.632-33.59-7.632c-15.717,0-23.339,7.149-23.339,15.485 c0,10.247,9.047,14.769,29.78,22.632c28.341,10.479,41.681,25.239,41.681,47.874c0,26.909-20.721,49.786-64.792,49.786 c-18.338,0-36.449-4.776-45.497-9.77l7.38-30.016c9.772,5.014,24.775,10.006,40.264,10.006c16.671,0,25.488-6.908,25.488-17.396 C285.536,325.789,277.909,320.078,258.618,313.18z M69.474,302.692c0-54.781,39.074-85.269,87.654-85.269 c18.822,0,33.113,3.811,39.549,7.149l-7.392,28.816c-7.38-3.084-17.632-5.939-30.491-5.939c-28.822,0-51.206,17.375-51.206,53.099 c0,32.158,19.051,52.4,51.456,52.4c10.947,0,23.097-2.378,30.241-5.238l5.483,28.346c-6.672,3.34-21.674,6.919-41.208,6.919 C98.06,382.976,69.474,348.424,69.474,302.692z M451.534,520.962H96.757v-103.57h354.777V520.962z M427.518,380.583h-42.399 l-51.45-160.536h39.787l19.526,67.894c5.479,19.046,10.479,37.386,14.299,57.397h0.709c4.048-19.298,9.045-38.352,14.526-56.693 l20.487-68.598h38.599L427.518,380.583z" />'
|
|
239
|
-
</svg>`},S.icon.json_export=S.icon.json=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 32 32" x="${r}" y="${i}">
|
|
240
|
-
<polygon fill="${n}" points="31 11 31 21 29 21 27 15 27 21 25 21 25 11 27 11 29 17 29 11 31 11"/>
|
|
241
|
-
<path fill="${n}" d="M21.3335,21h-2.667A1.6684,1.6684,0,0,1,17,19.3335v-6.667A1.6684,1.6684,0,0,1,18.6665,11h2.667A1.6684,1.6684,0,0,1,23,12.6665v6.667A1.6684,1.6684,0,0,1,21.3335,21ZM19,19h2V13H19Z"/>
|
|
242
|
-
<path fill="${n}" d="M13.3335,21H9V19h4V17H11a2.002,2.002,0,0,1-2-2V12.6665A1.6684,1.6684,0,0,1,10.6665,11H15v2H11v2h2a2.002,2.002,0,0,1,2,2v2.3335A1.6684,1.6684,0,0,1,13.3335,21Z"/>
|
|
243
|
-
<path fill="${n}" d="M5.3335,21H2.6665A1.6684,1.6684,0,0,1,1,19.3335V17H3v2H5V11H7v8.3335A1.6684,1.6684,0,0,1,5.3335,21Z"/>
|
|
244
|
-
<rect fill="${n}" id="_Transparent_Rectangle_" data-name="<Transparent Rectangle>" style="fill: none;" width="32" height="32"/>'
|
|
245
|
-
</svg>`},S.icon.excel=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
|
|
246
|
-
<path fill="${n}" d="M9.29289 1.29289C9.48043 1.10536 9.73478 1 10 1H18C19.6569 1 21 2.34315 21 4V9C21 9.55228 20.5523 10 20 10C19.4477 10 19 9.55228 19 9V4C19 3.44772 18.5523 3 18 3H11V8C11 8.55228 10.5523 9 10 9H5V20C5 20.5523 5.44772 21 6 21H7C7.55228 21 8 21.4477 8 22C8 22.5523 7.55228 23 7 23H6C4.34315 23 3 21.6569 3 20V8C3 7.73478 3.10536 7.48043 3.29289 7.29289L9.29289 1.29289ZM6.41421 7H9V4.41421L6.41421 7ZM19 12C19.5523 12 20 12.4477 20 13V19H23C23.5523 19 24 19.4477 24 20C24 20.5523 23.5523 21 23 21H19C18.4477 21 18 20.5523 18 20V13C18 12.4477 18.4477 12 19 12ZM11.8137 12.4188C11.4927 11.9693 10.8682 11.8653 10.4188 12.1863C9.96935 12.5073 9.86526 13.1318 10.1863 13.5812L12.2711 16.5L10.1863 19.4188C9.86526 19.8682 9.96935 20.4927 10.4188 20.8137C10.8682 21.1347 11.4927 21.0307 11.8137 20.5812L13.5 18.2205L15.1863 20.5812C15.5073 21.0307 16.1318 21.1347 16.5812 20.8137C17.0307 20.4927 17.1347 19.8682 16.8137 19.4188L14.7289 16.5L16.8137 13.5812C17.1347 13.1318 17.0307 12.5073 16.5812 12.1863C16.1318 11.8653 15.5073 11.9693 15.1863 12.4188L13.5 14.7795L11.8137 12.4188Z" fill="#000000"/>
|
|
247
|
-
</svg>`},S.icon.pp_export=S.icon.pp_preview=S.icon.pppreview=S.icon.powerpoint=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
|
|
248
|
-
<path fill="${n}" d="M10 1C9.73478 1 9.48043 1.10536 9.29289 1.29289L3.29289 7.29289C3.10536 7.48043 3 7.73478 3 8V20C3 21.6569 4.34315 23 6 23H11C11.5523 23 12 22.5523 12 22C12 21.4477 11.5523 21 11 21H6C5.44772 21 5 20.5523 5 20V9H10C10.5523 9 11 8.55228 11 8V3H18C18.5523 3 19 3.44772 19 4V9C19 9.55228 19.4477 10 20 10C20.5523 10 21 9.55228 21 9V4C21 2.34315 19.6569 1 18 1H10ZM9 7H6.41421L9 4.41421V7ZM15 12C14.4477 12 14 12.4477 14 13V17V20C14 20.5523 14.4477 21 15 21C15.5523 21 16 20.5523 16 20V18H19C20.6569 18 22 16.6569 22 15C22 13.3431 20.6569 12 19 12H15ZM19 16H16V14H19C19.5523 14 20 14.4477 20 15C20 15.5523 19.5523 16 19 16Z" fill="#000000"/>
|
|
249
|
-
</svg>`},S.icon.edit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 528.899 528.899" x="${r}" y="${i}">
|
|
250
|
-
<path fill="${n}" d="M328.883,89.125l107.59,107.589l-272.34,272.34L56.604,361.465L328.883,89.125z M518.113,63.177l-47.981-47.981 c-18.543-18.543-48.653-18.543-67.259,0l-45.961,45.961l107.59,107.59l53.611-53.611 C532.495,100.753,532.495,77.559,518.113,63.177z M0.3,512.69c-1.958,8.812,5.998,16.708,14.811,14.565l119.891-29.069 L27.473,390.597L0.3,512.69z" />'
|
|
251
|
-
</svg>`},S.icon.details=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
|
|
252
|
-
<path fill="${n}" d="M447.933,103.629c-0.034-3.076-1.224-6.09-3.485-8.352L352.683,3.511c-0.004-0.004-0.007-0.005-0.011-0.008 C350.505,1.338,347.511,0,344.206,0H89.278C75.361,0,64.04,11.32,64.04,25.237v461.525c0,13.916,11.32,25.237,25.237,25.237 h333.444c13.916,0,25.237-11.32,25.237-25.237V103.753C447.96,103.709,447.937,103.672,447.933,103.629z M356.194,40.931 l50.834,50.834h-49.572c-0.695,0-1.262-0.567-1.262-1.262V40.931z M423.983,486.763c0,0.695-0.566,1.261-1.261,1.261H89.278 c-0.695,0-1.261-0.566-1.261-1.261V25.237c0-0.695,0.566-1.261,1.261-1.261h242.94v66.527c0,13.916,11.322,25.239,25.239,25.239 h66.527V486.763z"/>
|
|
253
|
-
<path fill="${n}" d="M362.088,164.014H149.912c-6.62,0-11.988,5.367-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.368,11.988-11.988C374.076,169.381,368.707,164.014,362.088,164.014z"/>
|
|
254
|
-
<path fill="${n}" d="M362.088,236.353H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.368,11.988-11.988C374.076,241.721,368.707,236.353,362.088,236.353z"/>
|
|
255
|
-
<path fill="${n}" d="M362.088,308.691H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.367,11.988-11.988C374.076,314.06,368.707,308.691,362.088,308.691z"/>
|
|
256
|
-
<path fill="${n}" d="M256,381.031H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988H256 c6.62,0,11.988-5.367,11.988-11.988C267.988,386.398,262.62,381.031,256,381.031z"/>
|
|
257
|
-
</svg>`},S.icon.remove=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 900.5 900.5" x="${r}" y="${i}">
|
|
258
|
-
<path fill="${n}" d="M176.415,880.5c0,11.046,8.954,20,20,20h507.67c11.046,0,20-8.954,20-20V232.487h-547.67V880.5L176.415,880.5z M562.75,342.766h75v436.029h-75V342.766z M412.75,342.766h75v436.029h-75V342.766z M262.75,342.766h75v436.029h-75V342.766z"/>
|
|
259
|
-
<path fill="${n}" d="M618.825,91.911V20c0-11.046-8.954-20-20-20h-297.15c-11.046,0-20,8.954-20,20v71.911v12.5v12.5H141.874 c-11.046,0-20,8.954-20,20v50.576c0,11.045,8.954,20,20,20h34.541h547.67h34.541c11.046,0,20-8.955,20-20v-50.576 c0-11.046-8.954-20-20-20H618.825v-12.5V91.911z M543.825,112.799h-187.15v-8.389v-12.5V75h187.15v16.911v12.5V112.799z"/>
|
|
260
|
-
</svg>`},S.icon.add=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 922 922" x="${r}" y="${i}">
|
|
261
|
-
<path fill="${n}" d="M922,453V81c0-11.046-8.954-20-20-20H410c-11.045,0-20,8.954-20,20v149h318c24.812,0,45,20.187,45,45v198h149 C913.046,473.001,922,464.046,922,453z" />
|
|
262
|
-
<path fill="${n}" d="M557,667.001h151c11.046,0,20-8.954,20-20v-174v-198c0-11.046-8.954-20-20-20H390H216c-11.045,0-20,8.954-20,20v149h194 h122c24.812,0,45,20.187,45,45v4V667.001z" />
|
|
263
|
-
<path fill="${n}" d="M0,469v372c0,11.046,8.955,20,20,20h492c11.046,0,20-8.954,20-20V692v-12.501V667V473v-4c0-11.046-8.954-20-20-20H390H196 h-12.5H171H20C8.955,449,0,457.955,0,469z" />
|
|
264
|
-
</svg>`},S.icon.search=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 485.213 485.213" x="${r}" y="${i}">
|
|
265
|
-
<path fill="${n}" d="M471.882,407.567L360.567,296.243c-16.586,25.795-38.536,47.734-64.331,64.321l111.324,111.324 c17.772,17.768,46.587,17.768,64.321,0C489.654,454.149,489.654,425.334,471.882,407.567z" />
|
|
266
|
-
<path fill="${n}" d="M363.909,181.955C363.909,81.473,282.44,0,181.956,0C81.474,0,0.001,81.473,0.001,181.955s81.473,181.951,181.955,181.951 C282.44,363.906,363.909,282.437,363.909,181.955z M181.956,318.416c-75.252,0-136.465-61.208-136.465-136.46 c0-75.252,61.213-136.465,136.465-136.465c75.25,0,136.468,61.213,136.468,136.465 C318.424,257.208,257.206,318.416,181.956,318.416z" />
|
|
267
|
-
<path fill="${n}" d="M75.817,181.955h30.322c0-41.803,34.014-75.814,75.816-75.814V75.816C123.438,75.816,75.817,123.437,75.817,181.955z" />
|
|
268
|
-
</svg>`},S.icon.xml_export=S.icon.xml=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
|
|
269
|
-
<path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.401-0.063-0.799-0.116-1.205c-0.021-2.534-0.827-5.023-2.562-6.992L366.325,3.691 c-0.032-0.031-0.063-0.042-0.085-0.073c-0.633-0.707-1.371-1.298-2.151-1.804c-0.231-0.158-0.464-0.287-0.706-0.422 c-0.676-0.366-1.393-0.675-2.131-0.896c-0.2-0.053-0.38-0.135-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.87v160.542 c0,17.044,13.824,30.876,30.873,30.876h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87V227.89C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.51c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M369.531,374.53h-32.058l-2.156-55.519 c-0.644-17.434-1.298-38.518-1.298-59.611h-0.633c-4.514,18.516-10.547,39.166-16.137,56.162l-17.645,56.601h-25.618 l-15.494-56.157c-4.725-16.996-9.671-37.658-13.123-56.6h-0.43c-0.854,19.585-1.508,41.961-2.586,60.038l-2.576,55.086h-30.343 l9.26-145.035h43.677l14.207,48.421c4.517,16.774,9.041,34.847,12.258,51.843h0.654c4.081-16.77,9.038-35.923,13.774-52.064 l15.493-48.199h42.82L369.531,374.53z M69.992,374.53l41.955-73.385l-40.444-71.65h37.655l12.688,26.465 c4.316,8.828,7.533,15.928,10.99,24.092h0.422c3.438-9.242,6.23-15.694,9.893-24.092l12.274-26.465h37.434l-40.89,70.796 l43.044,74.239h-37.866l-13.134-26.257c-5.376-10.108-8.817-17.639-12.909-26.04h-0.433c-3.009,8.401-6.674,15.932-11.19,26.04 l-12.042,26.257H69.992z M453.601,523.353H97.2V419.302h356.4V523.353z M485.325,374.53h-90.608V229.495h32.933v117.497h57.682 v27.538H485.325z"/>
|
|
270
|
-
</svg>`},S.icon.visio_export=S.icon.visio=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
|
|
271
|
-
<path fill="${n}" d="M24 7.609v9.556q0 .424-.302.726-.303.303-.726.303h-5.19q-.072 1.149-.556 2.135-.484.986-1.264 1.717-.78.732-1.803 1.15-1.022.417-2.159.417-1.016 0-1.96-.35-.943-.352-1.705-.969-.762-.617-1.295-1.47-.532-.852-.713-1.856H1.028q-.423 0-.726-.303Q0 18.363 0 17.94V7.609q0-.424.302-.726.303-.302.726-.302h5.238q-.072-.182-.072-.387 0-.424.302-.726L11.274.69q.303-.303.726-.303t.726.303l4.778 4.778q.302.302.302.726 0 .205-.072.387h5.238q.423 0 .726.302.302.302.302.726zM12 2.153l-4.04 4.04.387.388h3.012q.423 0 .726.302.302.302.302.726v2.238l3.653-3.653zM7.161 16.84l3.085-8.13H8.238q-.508 1.489-1.028 2.952-.52 1.464-1.004 2.964-.496-1.488-.992-2.958-.496-1.47-1.004-2.957H2.153l3.037 8.129zM12 22.065q.883 0 1.657-.333t1.355-.913q.58-.581.913-1.355.333-.774.333-1.658 0-.81-.302-1.548-.303-.738-.823-1.318-.52-.581-1.228-.944-.707-.363-1.518-.423v4.367q0 .423-.302.725-.303.303-.726.303H7.923q.206.677.593 1.246.387.568.92.98.532.41 1.185.64.653.23 1.379.23zm10.452-5.42V8.13h-6.158q-.133.133-.441.454-.309.32-.714.725-.405.406-.847.853-.441.448-.828.823-.387.375-.684.641-.296.266-.393.302v.097q.968.036 1.845.411t1.578.998q.702.623 1.186 1.446t.677 1.766Z"/>
|
|
272
|
-
</svg>`},S.icon.link=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512.092 512.092" x="${r}" y="${i}">
|
|
273
|
-
<path fill="${n}" d="M312.453,199.601c-6.066-6.102-12.792-11.511-20.053-16.128c-19.232-12.315-41.59-18.859-64.427-18.859 c-31.697-0.059-62.106,12.535-84.48,34.987L34.949,308.23c-22.336,22.379-34.89,52.7-34.91,84.318 c-0.042,65.98,53.41,119.501,119.39,119.543c31.648,0.11,62.029-12.424,84.395-34.816l89.6-89.6 c1.628-1.614,2.537-3.816,2.524-6.108c-0.027-4.713-3.87-8.511-8.583-8.484h-3.413c-18.72,0.066-37.273-3.529-54.613-10.581 c-3.195-1.315-6.867-0.573-9.301,1.877l-64.427,64.512c-20.006,20.006-52.442,20.006-72.448,0 c-20.006-20.006-20.006-52.442,0-72.448l108.971-108.885c19.99-19.965,52.373-19.965,72.363,0 c13.472,12.679,34.486,12.679,47.957,0c5.796-5.801,9.31-13.495,9.899-21.675C322.976,216.108,319.371,206.535,312.453,199.601z" />
|
|
274
|
-
<path fill="${n}" d="M477.061,34.993c-46.657-46.657-122.303-46.657-168.96,0l-89.515,89.429c-2.458,2.47-3.167,6.185-1.792,9.387 c1.359,3.211,4.535,5.272,8.021,5.205h3.157c18.698-0.034,37.221,3.589,54.528,10.667c3.195,1.315,6.867,0.573,9.301-1.877 l64.256-64.171c20.006-20.006,52.442-20.006,72.448,0c20.006,20.006,20.006,52.442,0,72.448l-80.043,79.957l-0.683,0.768 l-27.989,27.819c-19.99,19.965-52.373,19.965-72.363,0c-13.472-12.679-34.486-12.679-47.957,0 c-5.833,5.845-9.35,13.606-9.899,21.845c-0.624,9.775,2.981,19.348,9.899,26.283c9.877,9.919,21.433,18.008,34.133,23.893 c1.792,0.853,3.584,1.536,5.376,2.304c1.792,0.768,3.669,1.365,5.461,2.048c1.792,0.683,3.669,1.28,5.461,1.792l5.035,1.365 c3.413,0.853,6.827,1.536,10.325,2.133c4.214,0.626,8.458,1.025,12.715,1.195h5.973h0.512l5.12-0.597 c1.877-0.085,3.84-0.512,6.059-0.512h2.901l5.888-0.853l2.731-0.512l4.949-1.024h0.939c20.961-5.265,40.101-16.118,55.381-31.403 l108.629-108.629C523.718,157.296,523.718,81.65,477.061,34.993z" />
|
|
275
|
-
</svg>`},S.icon.happy=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
|
|
276
|
-
<path fill="${n}" d="M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,480 C132.288,480,32,379.712,32,256S132.288,32,256,32s224,100.288,224,224S379.712,480,256,480z"/>
|
|
277
|
-
<path fill="${n}" d="M176,176c17.673,0,32,14.327,32,32h32c0-35.346-28.654-64-64-64c-35.346,0-64,28.654-64,64h32 C144,190.327,158.327,176,176,176z"/>
|
|
278
|
-
<path fill="${n}" d="M336,144c-35.346,0-64,28.654-64,64h32c0-17.673,14.327-32,32-32c17.673,0,32,14.327,32,32h32 C400,172.654,371.346,144,336,144z"/>
|
|
279
|
-
<path fill="${n}" d="M256,368c-53.019,0-96-42.981-96-96h-32c0,70.692,57.308,128,128,128s128-57.308,128-128h-32 C352,325.019,309.019,368,256,368z"/>
|
|
280
|
-
</svg>`},S.icon.sad=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
|
|
281
|
-
<path fill="${n}" d="M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,480 C132.288,480,32,379.712,32,256S132.288,32,256,32s224,100.288,224,224S379.712,480,256,480z"/>
|
|
282
|
-
<path fill="${n}" d="M336,192c-17.673,0-32-14.327-32-32h-32c0,35.346,28.654,64,64,64c35.346,0,64-28.654,64-64h-32 C368,177.673,353.673,192,336,192z"/>
|
|
283
|
-
<path fill="${n}" d="M176,224c35.346,0,64-28.654,64-64h-32c0,17.673-14.327,32-32,32s-32-14.327-32-32h-32C112,195.346,140.654,224,176,224z "/>
|
|
284
|
-
<path fill="${n}" d="M256,256c-70.692,0-128,57.308-128,128h32c0-53.019,42.981-96,96-96s96,42.981,96,96h32C384,313.308,326.692,256,256,256 z"/>
|
|
285
|
-
</svg>`},S.icon.share=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
|
|
286
|
-
<path fill="${n}" d="M406,332c-29.641,0-55.761,14.581-72.167,36.755L191.99,296.124c2.355-8.027,4.01-16.346,4.01-25.124
|
|
287
|
-
c0-11.906-2.441-23.225-6.658-33.636l148.445-89.328C354.307,167.424,378.589,180,406,180c49.629,0,90-40.371,90-90
|
|
288
|
-
c0-49.629-40.371-90-90-90c-49.629,0-90,40.371-90,90c0,11.437,2.355,22.286,6.262,32.358l-148.887,89.59
|
|
289
|
-
C156.869,193.136,132.937,181,106,181c-49.629,0-90,40.371-90,90c0,49.629,40.371,90,90,90c30.13,0,56.691-15.009,73.035-37.806
|
|
290
|
-
l141.376,72.395C317.807,403.995,316,412.75,316,422c0,49.629,40.371,90,90,90c49.629,0,90-40.371,90-90
|
|
291
|
-
C496,372.371,455.629,332,406,332z"/>
|
|
292
|
-
</svg>`},S.icon.user=function(e,t,n,r,i){return S.isNEU(r)&&(r=0),S.isNEU(i)&&(i=0),`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
|
|
293
|
-
<path fill="${n}" d="M12 11.796C14.7189 11.796 16.9231 9.60308 16.9231 6.89801C16.9231 4.19294 14.7189 2.00005 12 2.00005C9.28106 2.00005 7.07692 4.19294 7.07692 6.89801C7.07692 9.60308 9.28106 11.796 12 11.796Z" fill="#030D45"/>
|
|
294
|
-
<path fill="${n}" d="M14.5641 13.8369H9.4359C6.46154 13.8369 4 16.2859 4 19.245C4 19.9593 4.30769 20.5716 4.92308 20.8777C5.84615 21.3879 7.89744 22.0001 12 22.0001C16.1026 22.0001 18.1538 21.3879 19.0769 20.8777C19.5897 20.5716 20 19.9593 20 19.245C20 16.1838 17.5385 13.8369 14.5641 13.8369Z" fill="#030D45"/>
|
|
295
|
-
</svg>`},S.icon.close=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
|
|
296
|
-
<path fill="${n}" d="m256 0c-141.49 0-256 114.5-256 256 0 141.49 114.5 256 256 256 141.49 0 256-114.5 256-256 0-141.49-114.5-256-256-256zm-12.284 317.397-58.121 58.132c-6.565 6.553-15.283 10.166-24.557 10.166-19.196 0-34.734-15.526-34.734-34.734 0-9.274 3.612-17.992 10.166-24.557l58.132-58.121c6.785-6.784 6.785-17.783 0-24.568l-58.132-58.121c-6.553-6.565-10.166-15.283-10.166-24.557 0-19.196 15.526-34.734 34.734-34.734 9.274 0 17.992 3.613 24.557 10.166l58.121 58.132c6.785 6.773 17.784 6.773 24.568 0l58.121-58.132c6.565-6.553 15.283-10.166 24.557-10.166 19.196 0 34.734 15.526 34.734 34.734 0 9.274-3.612 17.992-10.166 24.557l-58.132 58.121c-6.785 6.784-6.785 17.783 0 24.568l58.132 58.121c6.553 6.565 10.166 15.283 10.166 24.557 0 19.196-15.526 34.734-34.734 34.734-9.274 0-17.992-3.613-24.557-10.166l-58.121-58.132c-6.784-6.784-17.784-6.773-24.568 0z"/>
|
|
297
|
-
</svg>`},S.icon.undo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
|
|
298
|
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="${n}" d="M3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.7141 22 12C22 7.28598 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447ZM9.25871 7.97395C9.56308 7.693 9.58205 7.21851 9.3011 6.91414C9.02015 6.60978 8.54565 6.5908 8.24129 6.87175L5.99129 8.94867C5.83748 9.09065 5.75 9.29045 5.75 9.49977C5.75 9.7091 5.83748 9.9089 5.99129 10.0509L8.24129 12.1278C8.54565 12.4088 9.02015 12.3898 9.3011 12.0854C9.58205 11.781 9.56308 11.3065 9.25871 11.0256L8.41824 10.2498H14.0385C14.7376 10.2498 15.2069 10.2506 15.5652 10.2862C15.9116 10.3205 16.0724 10.3813 16.1787 10.4501C16.3272 10.5461 16.4537 10.6726 16.5497 10.8211C16.6184 10.9274 16.6793 11.0882 16.7136 11.4345C16.7491 11.7929 16.75 12.2622 16.75 12.9613C16.75 13.6604 16.7491 14.1298 16.7136 14.4881C16.6793 14.8344 16.6185 14.9952 16.5497 15.1015C16.4537 15.2501 16.3272 15.3765 16.1787 15.4726C16.0724 15.5413 15.9116 15.6021 15.5652 15.6365C15.2069 15.672 14.7376 15.6729 14.0385 15.6729H9.5C9.08579 15.6729 8.75 16.0086 8.75 16.4229C8.75 16.8371 9.08579 17.1729 9.5 17.1729H14.0758C14.7279 17.1729 15.2721 17.1729 15.7133 17.1291C16.1748 17.0834 16.6038 16.9839 16.9931 16.7322C17.3199 16.5209 17.5981 16.2427 17.8094 15.916C18.0611 15.5266 18.1605 15.0976 18.2063 14.6361C18.25 14.195 18.25 13.6508 18.25 12.9987V12.924C18.25 12.2718 18.25 11.7276 18.2063 11.2865C18.1605 10.825 18.0611 10.396 17.8093 10.0067C17.5981 9.6799 17.3199 9.40169 16.9931 9.19042C16.6038 8.9387 16.1748 8.83927 15.7133 8.7935C15.2721 8.74975 14.7279 8.74976 14.0758 8.74977L8.41824 8.74977L9.25871 7.97395Z" />
|
|
299
|
-
<rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
|
|
300
|
-
</svg>`},S.icon.redo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
|
|
301
|
-
<path fill="#f9f9f9" fill-rule="evenodd" clip-rule="evenodd" fill="${n}" d="M3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.7141 22 12C22 7.28598 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447ZM15.7587 6.87273C15.4543 6.59177 14.9799 6.61075 14.6989 6.91512C14.4179 7.21948 14.4369 7.69398 14.7413 7.97493L15.5818 8.75075H9.96155C7.63558 8.75075 5.75 10.6363 5.75 12.9623C5.75 15.2883 7.63557 17.1738 9.96154 17.1738H14.5C14.9142 17.1738 15.25 16.838 15.25 16.4238C15.25 16.0096 14.9142 15.6738 14.5 15.6738H9.96154C8.464 15.6738 7.25 14.4598 7.25 12.9623C7.25 11.4647 8.464 10.2508 9.96155 10.2508H15.5818L14.7413 11.0266C14.4369 11.3075 14.4179 11.782 14.6989 12.0864C14.9799 12.3908 15.4543 12.4097 15.7587 12.1288L18.0087 10.0519C18.1625 9.90987 18.25 9.71007 18.25 9.50075C18.25 9.29143 18.1625 9.09163 18.0087 8.94965L15.7587 6.87273Z"/>
|
|
302
|
-
<rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
|
|
303
|
-
</svg>`},S.icon.send=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
|
|
304
|
-
<path fill="none" stroke="${n}" stroke-width="2" d="M10.3009 13.6949L20.102 3.89742M10.5795 14.1355L12.8019 18.5804C13.339 19.6545 13.6075 20.1916 13.9458 20.3356C14.2394 20.4606 14.575 20.4379 14.8492 20.2747C15.1651 20.0866 15.3591 19.5183 15.7472 18.3818L19.9463 6.08434C20.2845 5.09409 20.4535 4.59896 20.3378 4.27142C20.2371 3.98648 20.013 3.76234 19.7281 3.66167C19.4005 3.54595 18.9054 3.71502 17.9151 4.05315L5.61763 8.2523C4.48114 8.64037 3.91289 8.83441 3.72478 9.15032C3.56153 9.42447 3.53891 9.76007 3.66389 10.0536C3.80791 10.3919 4.34498 10.6605 5.41912 11.1975L9.86397 13.42C10.041 13.5085 10.1295 13.5527 10.2061 13.6118C10.2742 13.6643 10.3352 13.7253 10.3876 13.7933C10.4468 13.87 10.491 13.9585 10.5795 14.1355Z" />
|
|
305
|
-
</svg>`},S.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
|
|
306
|
-
<line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
307
|
-
<line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
308
|
-
</svg>`},S.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
|
|
309
|
-
<line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
310
|
-
<line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
311
|
-
</svg>`},S.icon.fit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 128 128">
|
|
312
|
-
<path fill="${n}" d="M 58.1875 4.90625 C 29.957889 4.90625 6.9375 27.957888 6.9375 56.1875 C 6.9375 84.417111 29.957889 107.4375 58.1875 107.4375 C 69.752492 107.4375 80.436703 103.56785 89.03125 97.0625 L 108.59375 120.4375 A 7.0007 7.0007 0 1 0 119.3125 111.4375 L 98.96875 87.15625 C 105.53731 78.538312 109.4375 67.814416 109.4375 56.1875 C 109.4375 27.957888 86.417111 4.90625 58.1875 4.90625 z M 58.1875 18.875 C 78.850949 18.875 95.4375 35.52405 95.4375 56.1875 C 95.4375 76.850949 78.850949 93.4375 58.1875 93.4375 C 37.524051 93.4375 20.9375 76.850949 20.9375 56.1875 C 20.9375 35.52405 37.524051 18.875 58.1875 18.875 z M 33.125 31.09375 L 33.125 36.40625 L 33.125 75.90625 L 33.125 81.21875 L 38.4375 81.21875 L 77.9375 81.21875 L 83.25 81.21875 L 83.25 75.90625 L 83.25 36.40625 L 83.25 31.09375 L 77.9375 31.09375 L 38.4375 31.09375 L 33.125 31.09375 z M 43.78125 41.75 L 72.59375 41.75 L 72.59375 70.5625 L 43.78125 70.5625 L 43.78125 41.75 z "/>
|
|
313
|
-
</svg>`},S.icon.expand_all=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32">
|
|
314
|
-
<path fill="${n}" d="M13.816 5.989l-7.785 0.046 0.003 7.735 2.59-2.591 3.454 3.454 2.665-2.665-3.453-3.454 2.526-2.525zM12.079 17.35l-3.454 3.455-2.59-2.592-0.003 7.799 7.785-0.018-2.526-2.525 3.454-3.453-2.666-2.666zM19.922 14.633l3.453-3.454 2.59 2.591 0.004-7.735-7.785-0.046 2.526 2.525-3.454 3.454 2.666 2.665zM23.375 20.805l-3.453-3.455-2.666 2.666 3.454 3.453-2.526 2.525 7.785 0.018-0.004-7.799-2.59 2.592z"></path>
|
|
315
|
-
</svg>`},S.icon.full_screen=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 48 48">
|
|
316
|
-
<rect width="48" height="48" fill="${n}" fill-opacity="0.01"/>
|
|
317
|
-
<path fill="none" d="M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16" stroke="${n}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
318
|
-
<rect x="24" y="24" width="20" height="16" rx="2" fill="none" stroke="${n}" stroke-width="4" stroke-linejoin="round"/>
|
|
319
|
-
</svg>`},S.icon.zoom_in=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32" >
|
|
320
|
-
<g sketch:type="MSLayerGroup" transform="translate(-362.000000, -1037.000000)" fill="${n}">
|
|
321
|
-
<path d="M390,1049 L382,1049 L382,1041 C382,1038.79 380.209,1037 378,1037 C375.791,1037 374,1038.79 374,1041 L374,1049 L366,1049 C363.791,1049 362,1050.79 362,1053 C362,1055.21 363.791,1057 366,1057 L374,1057 L374,1065 C374,1067.21 375.791,1069 378,1069 C380.209,1069 382,1067.21 382,1065 L382,1057 L390,1057 C392.209,1057 394,1055.21 394,1053 C394,1050.79 392.209,1049 390,1049" id="plus" sketch:type="MSShapeGroup"></path>
|
|
322
|
-
</g>
|
|
323
|
-
</svg>`},S.icon.zoom_out=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 -12 32 32" >
|
|
324
|
-
<g id="Icon-Set-Filled" sketch:type="MSLayerGroup" transform="translate(-414.000000, -1049.000000)" fill="${n}">
|
|
325
|
-
<path d="M442,1049 L418,1049 C415.791,1049 414,1050.79 414,1053 C414,1055.21 415.791,1057 418,1057 L442,1057 C444.209,1057 446,1055.21 446,1053 C446,1050.79 444.209,1049 442,1049" id="minus" sketch:type="MSShapeGroup"></path>
|
|
326
|
-
</g>
|
|
327
|
-
</svg>`},S.icon.layout_normal=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
328
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
329
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
330
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
331
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
332
|
-
<line stroke="${n}" x1="32" x2="88" y1="35" y2="35" stroke-width="1"></line>
|
|
333
|
-
<line stroke="${n}" x1="32" x2="32" y1="35" y2="41" stroke-width="1"></line>
|
|
334
|
-
<line stroke="${n}" x1="88" x2="88" y1="35" y2="41" stroke-width="1"></line>
|
|
335
|
-
</svg>`},S.icon.layout_right_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
336
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
337
|
-
<rect fill="${n}" x="40" y="41" width="50" height="27"></rect>
|
|
338
|
-
<rect fill="${n}" x="40" y="73" width="50" height="27"></rect>
|
|
339
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
340
|
-
<line stroke="${n}" x1="60" x2="35" y1="35" y2="35" stroke-width="1"></line>
|
|
341
|
-
<line stroke="${n}" x1="35" x2="35" y1="35" y2="86" stroke-width="1"></line>
|
|
342
|
-
<line stroke="${n}" x1="35" x2="40" y1="86" y2="86" stroke-width="1"></line>
|
|
343
|
-
<line stroke="${n}" x1="35" x2="40" y1="54" y2="54" stroke-width="1"></line>
|
|
344
|
-
</svg>`},S.icon.layout_left_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
345
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
346
|
-
<rect fill="${n}" x="30" y="41" width="50" height="27"></rect>
|
|
347
|
-
<rect fill="${n}" x="30" y="73" width="50" height="27"></rect>
|
|
348
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
349
|
-
<line stroke="${n}" x1="60" x2="85" y1="35" y2="35" stroke-width="1"></line>
|
|
350
|
-
<line stroke="${n}" x1="85" x2="85" y1="35" y2="86" stroke-width="1"></line>
|
|
351
|
-
<line stroke="${n}" x1="80" x2="85" y1="86" y2="86" stroke-width="1"></line>
|
|
352
|
-
<line stroke="${n}" x1="80" x2="85" y1="54" y2="54" stroke-width="1"></line>
|
|
353
|
-
</svg>`},S.icon.layout_mixed=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
354
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
355
|
-
<rect fill="${n}" x="35" y="41" width="50" height="27"></rect>
|
|
356
|
-
<rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
|
|
357
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="41" stroke-width="1"></line>
|
|
358
|
-
<line stroke="${n}" x1="60" x2="60" y1="68" y2="73" stroke-width="1"></line>
|
|
359
|
-
</svg>`},S.icon.layout_tree=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
360
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
361
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
362
|
-
<rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
|
|
363
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
364
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="73" stroke-width="1"></line>
|
|
365
|
-
<line stroke="${n}" x1="57" x2="63" y1="54" y2="54" stroke-width="1"></line>
|
|
366
|
-
</svg>`},S.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
367
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
368
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
369
|
-
<rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
|
|
370
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
371
|
-
<rect fill="${n}" x="63" y="73" width="50" height="27"></rect>
|
|
372
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="71" stroke-width="1"></line>
|
|
373
|
-
<line stroke="${n}" x1="32" x2="88" y1="39" y2="39" stroke-width="1"></line>
|
|
374
|
-
<line stroke="${n}" x1="32" x2="88" y1="71" y2="71" stroke-width="1"></line>
|
|
375
|
-
<line stroke="${n}" x1="32" x2="32" y1="71" y2="73" stroke-width="1"></line>
|
|
376
|
-
<line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
|
|
377
|
-
<line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
|
|
378
|
-
<line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
|
|
379
|
-
</svg>`},S.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
|
|
380
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
381
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
382
|
-
<rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
|
|
383
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
384
|
-
<rect fill="${n}" x="63" y="73" width="50" height="27"></rect>
|
|
385
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="71" stroke-width="1"></line>
|
|
386
|
-
<line stroke="${n}" x1="32" x2="88" y1="39" y2="39" stroke-width="1"></line>
|
|
387
|
-
<line stroke="${n}" x1="32" x2="88" y1="71" y2="71" stroke-width="1"></line>
|
|
388
|
-
<line stroke="${n}" x1="32" x2="32" y1="71" y2="73" stroke-width="1"></line>
|
|
389
|
-
<line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
|
|
390
|
-
<line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
|
|
391
|
-
<line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
|
|
392
|
-
</svg>`},S.icon.cursor=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 16 16" >
|
|
393
|
-
<path d="M8 3V0H6V3H8Z" fill="${n}"/>
|
|
394
|
-
<path d="M0.792893 2.20711L3.29289 4.70711L4.70711 3.29289L2.20711 0.792893L0.792893 2.20711Z" fill="${n}"/>
|
|
395
|
-
<path d="M6 5L5 6.00001L8 15H10L10.7172 12.1314L14.2929 15.7071L15.7071 14.2929L12.1314 10.7172L15 10V8L6 5Z" fill="${n}"/>
|
|
396
|
-
<path d="M0 6H3V8H0V6Z" fill="${n}"/>
|
|
397
|
-
</svg>`},S===void 0&&(S={}),S.events=(function(){var e={};return{on:function(t,n,r){Array.isArray(e[t])||(e[t]=[]),e[t].push({listener:n,event_id:r})},removeAll:function(t){Array.isArray(e[t])||(e[t]=[]),e[t]=[]},remove:function(t,n,r){var i=!1;if(e[t]&&Array.isArray(e[t])&&e[t].length>0)for(var a=e[t].length-1;a>=0;a--)(!S.isNEU(r)&&!S.isNEU(n)&&e[t][a].event_id==r&&e[t][a].listener==n||!S.isNEU(r)&&S.isNEU(n)&&e[t][a].event_id==r||S.isNEU(r)&&!S.isNEU(n)&&e[t][a].listener==n||S.isNEU(r)&&S.isNEU(n))&&(e[t].splice(a,1),i=!0);return i},has:function(t,n){if(e[t]&&Array.isArray(e[t])&&e[t].length>0){if(S.isNEU(n))return!0;for(var r=0;r<e[t].length;r++)if(e[t][r].event_id==n)return!0}return!1},removeForEventId:function(t){for(var n in e)if(Array.isArray(e[n]))for(var r=e[n].length-1;r>=0;r--)e[n][r].event_id==t&&e[n].splice(r,1)},publish:function(t,n){if(e[t]){for(var r=[],i=0;i<e[t].length;i++){var a=e[t][i];(a.event_id==null||a.event_id==n[0]._event_id)&&r.push(a.listener)}if(r.length>0){for(var o=!0,i=0;i<r.length&&(n.length==1?o=r[i](n[0])&&o:n.length==2?o=r[i](n[0],n[1])&&o:n.length==3?o=r[i](n[0],n[1],n[2])&&o:n.length==4?o=r[i](n[0],n[1],n[2],n[3])&&o:n.length==5&&(o=r[i](n[0],n[1],n[2],n[3],n[4])&&o),o!==!1);i++);return o}}}}})(),S.prototype.expand=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,S.action.expand,r,n)},S.prototype.collapse=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,S.action.collapse,r,n)},S.prototype.expandCollapse=function(e,t,n,r){this._treeListExpandCollapseHandler(e),this._resetMovableNodes(),Array.isArray(t)||(t=[]),Array.isArray(n)||(n=[]);var i={id:e,expandIds:t,collapseIds:n,ids:t.concat(n)};this._draw(!1,S.action.collapse,i,r)},S.prototype.changeRoots=function(e,t,n){this.config.roots=t;var r={id:e,changeRoots:t};this._draw(!1,S.action.update,r,n)},S.prototype._resetMovableNodes=function(){if(S.RESET_MOVABLE_ONEXPANDCOLLAPSE&&this.config.movable!=null){for(var e=!1,t=0;t<this.config.nodes.length;t++){var n=this.config.nodes[t];n.movex!=null&&(n.movex=0,e=!0),n.movey!=null&&(n.movey=0,e=!0)}e&&(this._ai.setContext(),S.events.publish(`updated`,[this]))}},S.prototype.maximize=function(e,t,n,r){var i=this,a={id:e,options:{}};S.isNEU(a.id)&&(a.id=this.roots[0].id,a.all=!0),a.options.horizontal=!1,a.options.vertical=!1,t&&(a.options.horizontal=t),n&&(a.options.vertical=n),this._draw(!1,S.action.maximize,a,function(){i.ripple(e),r&&r()})},S.prototype.minimize=function(e,t){var n=this,r={id:e};S.isNEU(r.id)&&(r.id=this.roots[0].id,r.all=!0),this._draw(!1,S.action.minimize,r,function(){n.ripple(e),t&&t()})},S.prototype._expCollHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this.getNode(e),n=this.getCollapsedIds(t);if(n.length){var r=S.events.publish(`expcollclick`,[this,!1,e,n]);if(r===!1)return!1;this.expand(e,n,!1)}else{var r=S.events.publish(`expcollclick`,[this,!0,e,t.childrenIds]);if(r===!1)return!1;this.collapse(e,t.childrenIds,!1)}},S.prototype._upHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this._upHandlerCreateArgs(e);if(S.events.publish(`up-click`,[this,t])===!1)return!1;this.changeRoots(t.id,t.roots,!1)},S.prototype._upHandlerCreateArgs=function(e){var t=this.getNode(e),n=Object.assign([],this.config.roots),r=this.getNode(t.pid),i;if(r&&(i=r),i){if(Array.isArray(n)){var a=n.indexOf(t.id);a!=-1&&n.splice(a,1)}else n=[];n.push(i.id)}return{id:t.id,roots:n}},String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e,`g`),t)}),String.prototype.endsWith||(String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}),String.prototype.splice||(String.prototype.splice=function(e,t,n){return this.slice(0,e)+n+this.slice(e+Math.abs(t))}),String.prototype.insert||(String.prototype.insert=function(e,t){return e>0?this.substring(0,e)+t+this.substr(e):t+this}),Array.prototype.unique||Object.defineProperty(Array.prototype,`unique`,{value:function(){for(var e=this.concat(),t=0;t<e.length;++t)for(var n=t+1;n<e.length;++n)e[t]===e[n]&&e.splice(n--,1);return e},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.has||Object.defineProperty(Array.prototype,`has`,{value:function(e){for(var t=0;t<this.length;t++)if(this[t]==e)return!0;return!1},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.compare||Object.defineProperty(Array.prototype,`compare`,{value:function(e){if(this.length!=e.length)return!1;for(var t=0;t<this.length;t++)if(!e.has(this[t]))return!1;return!0},writable:!0,configurable:!0,enumerable:!1}),Object.assign||Object.defineProperty(Object,`assign`,{value:function(e,t){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(i!=null)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n},writable:!0,configurable:!0}),S.prototype._globalMouseDownHandler=function(e,t){var n={move:`mousemove`,up:`mouseup`,leave:`mouseleave`};t.type.indexOf(`touch`)!=-1&&(t.touches.length==1?this._touch={x:t.touches[0].clientX,y:t.touches[0].clientY}:this._touch=null,n={move:`touchmove`,up:`touchend`,touchstart:`touchstart`}),this._treeListUpdateInterval&&=(clearInterval(this._treeListUpdateInterval),null);for(var r=null,i=t.target;i!=e&&!i.hasAttribute(S.attr.control_node_menu_id)&&!i.hasAttribute(S.attr.control_node_circle_menu_id);){if(i.hasAttribute){var a=null;i.hasAttribute(S.attr.node_id)?a=this.getNode(i.getAttribute(S.attr.node_id)):i.hasAttribute(S.attr.control_expcoll_id)?a=this.getNode(i.getAttribute(S.attr.control_expcoll_id)):(i.hasAttribute(S.attr.control_node_menu_id)||i.hasAttribute(S.attr.control_node_menu_id))&&(a=this.getNode(i.getAttribute(S.attr.control_node_menu_id))),r||=S._getScrollableTreeListNodeInTouchEnabledDevice(a)}if(i.hasAttribute(S.attr.node_id)&&!r&&(this.config.enableDragDrop||this.config.movable)){if(t.touches==null||t.touches.length<=1){this._nodeMouseDownHandler(i,t,n);return}}else if(i.hasAttribute(S.attr.control_node_circle_menu_name)){if(t.stopPropagation(),t.touches==null||t.touches.length<=1){this._nodeCircleNodeMenuItemMouseDownHandler(e,i,t,n);return}}else if(i.hasAttribute(`data-treelist-thumb`)&&(t.stopPropagation(),t.touches==null||t.touches.length<=1)){this._treeListThumbMouseDownHandler(i,t,n);return}i=i.parentNode}t.stopPropagation(),this._mouseDownHandler(e,t,n,r)},S.prototype._globalContextHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(S.attr.node_id)){var r=n.getAttribute(S.attr.node_id),i=this.getNode(r);this._nodeContextHandler(i.id,t);return}n=n.parentNode}},S.prototype._nodeContextHandler=function(e,t){t.preventDefault(),S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var n=this.get(e),r=null;if(n!=null&&Array.isArray(n.tags))for(var i=0;i<n.tags.length;i++){var a=n.tags[i];this.config.tags[a]&&this.config.tags[a].nodeContextMenu&&(r=this.config.tags[a].nodeContextMenu)}var o=this.element.getBoundingClientRect(),s=t.clientX-o.left,c=t.clientY-o.top;this.nodeContextMenuUI.show(s,c,e,null,r)},S.prototype._globalDbClickHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(S.attr.node_id)){var r=n.getAttribute(S.attr.node_id),i=this.getNode(r);this._nodeDbClickHandler(i.id,t);return}n=n.parentNode}},S.prototype._mouseScrollHandler=function(e,t){for(var n=!1,r=t.target,i=null;r&&r.hasAttribute&&!r.hasAttribute(`data-n-id`)&&!r.hasAttribute(`data-ctrl-ec-id`);)r=r.parentNode;if(r.hasAttribute&&r.hasAttribute(`data-n-id`)){var a=r.getAttribute(`data-n-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}if(r.hasAttribute&&r.hasAttribute(`data-ctrl-ec-id`)){var a=r.getAttribute(`data-ctrl-ec-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}t.ctrlKey&&(n=!1),n?this.__mouseScrollHandlerTreeList(i,t):this.__mouseScrollHandler(this.getSvg(),t)},S.prototype.__mouseScrollHandler=function(e,t){if(t.ctrlKey){if(this.config.mouseScrool==S.action.zoom)return}else if(this.config.mouseScrool==S.action.ctrlZoom||this.config.mouseScrool!=S.action.zoom)return;if(t.preventDefault(),!navigator.hardwareConcurrency||navigator.hardwareConcurrency<9){let r=t.deltaY/1e3;r=Math.abs(r)<.1?.1*t.deltaY/Math.abs(t.deltaY):r;var n=S._centerPointInPercent(e,t.clientX,t.clientY);this.zoom(1-r,n)}else{var r=this,i=!1,a=this.config.zoom.speed,o=this.config.zoom.smooth,s=0,c=this.getScale(),n=S._centerPointInPercent(e,t.clientX,t.clientY);function d(){i=!0;var e=(s-c)/o;e>0?e++:e--,c+=e,r.zoom(1-e/12/50,n),parseInt(c)==parseInt(s)?i=!1:l(d)}var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,20)}}();t.preventDefault();var u=t.delta||t.wheelDelta;u===void 0&&(u=-t.detail),u=Math.max(-1,Math.min(1,u)),s+=-u*a,i||d()}},S.prototype._nodeCircleNodeMenuItemMouseDownHandler=function(e,t,n,r){var i=t.parentNode.getAttribute(S.attr.control_node_circle_menu_wrraper_id),a=t.getAttribute(S.attr.control_node_circle_menu_name),o=this.nodeCircleMenuUI._menu[a];if(!o.draggable){this._clickHandler(e,n);return}var s=this,c=S._getClientXY(n),l=this.getNode(i);t._dragEventFired=!1;var u=s.getScale(),d=null,f=null;document.body.style.mozUserSelect=document.body.style.webkitUserSelect=document.body.style.userSelect=`none`;var p=this.getSvg(),m={x:c.x,y:c.y},h=function(e){for(;e&&!e.hasAttribute(S.attr.control_node_circle_menu_wrraper_id);)e=e.parentNode;if(!e){console.error(`cannot find parent`+S.attr.control_node_circle_menu_wrraper_id);return}var t=S._getTransform(e);return{x:t[4],y:t[5]}},g=t.cloneNode(!0);p.insertBefore(g,p.firstChild);var _=S._getTransform(g),v=_[4],y=_[5],b=h(t);g.setAttribute(`transform`,`matrix(1,0,0,1,`+(v+b.x)+`,`+(y+b.y)+`)`),g.style.opacity=.7;var x=function(e,t){if(e!=null){t.classList.remove(`boc-drag-over`);for(var n=S.getStParentNodes(s.getNode(d)),r=0;r<n.length;r++){var i=s.getNodeElement(n[r].id);i&&(i.style.opacity=1)}}},C=function(e){if(m){var n=S._getClientXY(e),r=e.target;S.isMobile()&&(r=document.elementFromPoint(n.x,n.y)),n.x+=b.x*u,n.y+=b.y*u;var i=S._getOffsetXY(s.element,e),c={left:s.width()-(i.x+s.config.padding)<0,right:i.x-s.config.padding<0,up:s.height()-(i.y+s.config.padding)<0,down:i.y-s.config.padding<0};if(c.left||c.right||c.up||c.down){p.classList&&(p.classList.remove(`boc-cursor-grab`),p.classList.add(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`));var l=_[4],h=_[5],C=m.x,T=m.y,E=n.x,D=n.y;s.moveStart(c,function(e){_[4]=l+e.x,_[5]=h+e.y,m.x=C-e.xWithoutScale,m.y=T-e.yWithoutScale,n.x=E-e.xWithoutScale,n.y=D-e.yWithoutScale,g.setAttribute(`transform`,`matrix(`+_.toString()+`)`)})}else{for(s.moveEnd(),p.classList&&(p.classList.add(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`)),x(d,f),d=null,f=null;r!=null&&r!=p;){if(r.hasAttribute&&r.hasAttribute(S.attr.node_id)){var O=r.getAttribute(S.attr.node_id);d=O,f=r;break}r=r.parentNode}if(d!=null){f.classList.add(`boc-drag-over`);for(var k=s.getNode(d),A=S.getStParentNodes(k),j=0;j<A.length;j++){var M=s.getNodeElement(A[j].id);M&&(M.style.opacity=.1)}p.classList.remove(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.add(`boc-cursor-copy`),p.classList.remove(`boc-cursor-nodrop`)}var N=(n.x-m.x)/u,P=(n.y-m.y)/u;_[4]=v+N,_[5]=y+P,!t._dragEventFired&&(Math.abs(n.x-m.x)>S.FIRE_DRAG_NOT_CLICK_IF_MOVE||Math.abs(n.y-m.y)>S.FIRE_DRAG_NOT_CLICK_IF_MOVE)&&(s._gragStartedId=t.parentNode.getAttribute(S.attr.control_node_circle_menu_wrraper_id),S.events.publish(`drag`,[s.nodeCircleMenuUI,{from:O,menuItem:o,menuItemName:a}])===!1&&w(),t._dragEventFired=!0),g.setAttribute(`transform`,`matrix(`+_.toString()+`)`)}}},w=function(e){if(s.moveEnd(),p.classList&&(p.classList.remove(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`)),p.removeEventListener(r.move,C),p.removeEventListener(r.up,w),r.leave&&p.removeEventListener(r.leave,w),l.id==d||d==null){p.removeChild(g),s._gragStartedId=null,t._dragEventFired&&S.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,menuItemName:a,menuItem:o,event:e}]);return}var n=s.getNode(d);S.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,to:n.id,menuItem:o,menuItemName:a,event:e}]),x(d,f),p.removeChild(g),s._gragStartedId=null};p.addEventListener(r.move,C),p.addEventListener(r.up,w),r.leave&&p.addEventListener(r.leave,w)},S.prototype._nodeMouseDownHandler=function(e,t,n){var r=e.getAttribute(S.attr.node_id),i=this.getNode(r);this.config.movable&&!S.getRootOf(i).stParent?this._movableHandler(e,t,n):this.config.enableDragDrop&&this._dragDropHandler(e,t,n)},S.prototype._resizeHandler=function(e,t){if(this.isVisible&&!(e==0||t==0)){var n=this.getViewBox();if(n){n=n.slice(0);var r=e/n[2],i=t/n[3];Math.abs(this._lastSize.width-e)>Math.abs(this._lastSize.height-t)?n[3]=t/r:n[2]=e/i,this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),this.setViewBox(n),this.xScrollUI.create(e),this.yScrollUI.create(t),this._draw(!0,S.action.resize)}}},S.prototype._nodeDbClickHandler=function(e,t){if(S.events.publish(`dbclick`,[this,this.get(e)])===!1)return!1;this._commonClickHandler(e,t,this.config.nodeMouseDbClick)},S.prototype._nodeClickHandler=function(e,t){if(S.events.publish(`click`,[this,{node:this.getNode(e),event:t}])===!1)return!1;if(this.powerPointPreviewUI.isVisible()&&this.powerPointPreviewUI.selectedPage!=null){this.powerPointPreviewUI.selectedPage.content=void 0,this.powerPointPreviewUI.selectedPage.nodeId=e,this.powerPointPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pdfPreviewUI.isVisible()&&this.pdfPreviewUI.selectedPage!=null){this.pdfPreviewUI.selectedPage.content=void 0,this.pdfPreviewUI.selectedPage.nodeId=e,this.pdfPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.svgPreviewUI.isVisible()&&this.svgPreviewUI.selectedPage!=null){this.svgPreviewUI.selectedPage.content=void 0,this.svgPreviewUI.selectedPage.nodeId=e,this.svgPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pngPreviewUI.isVisible()&&this.pngPreviewUI.selectedPage!=null){this.pngPreviewUI.selectedPage.content=void 0,this.pngPreviewUI.selectedPage.nodeId=e,this.pngPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}var n=this.getNodeElement(e);if(n&&n._dragEventFired){n._dragEventFired=!1;return}this._commonClickHandler(e,t,this.config.nodeMouseClick)},S.prototype._nodeCircleMenuItemClickHandler=function(e,t){var n=e.parentNode.getAttribute(S.attr.control_node_circle_menu_wrraper_id),r=e.getAttribute(S.attr.control_node_circle_menu_name),i=this.nodeCircleMenuUI._menu[r];S.events.publish(`click`,[this.nodeCircleMenuUI,{nodeId:n,menuItemName:r,menuItem:i,event:t}])},S.prototype._nodeCircleMenuClickHandler=function(e){if(S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.menuUI.hide(),this.nodeContextMenuUI.isVisible())this.nodeContextMenuUI.hide();else{var t=this.getNode(e),n=null;if(Array.isArray(t.tags))for(var r=0;r<t.tags.length;r++){var i=t.tags[r];this.config.tags[i]&&this.config.tags[i].nodeCircleMenu&&(n=this.config.tags[i].nodeCircleMenu)}this.nodeCircleMenuUI.show(e,n)}},S.prototype._commonClickHandler=function(e,t,n){if(S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),n==S.action.expandCollapse&&this.toggleExpandCollapse(e,t),n==S.action.edit){var r=this.getNode(e);r&&(this.editUI.show(r.id),this.ripple(r.id,t.clientX,t.clientY))}if(n==S.action.details){var r=this.getNode(e);r&&(this.editUI.show(r.id,!0),this.ripple(r.id,t.clientX,t.clientY))}},S.prototype._menuHandlerMouseDownHandler=function(e,t){t.stopPropagation(),t.preventDefault()},S.prototype._nodeMenuClickHandler=function(e,t,n){S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var r=this.getNode(e),i=null;if(Array.isArray(r.tags))for(var a=0;a<r.tags.length;a++){var o=r.tags[a];this.config.tags[o]&&this.config.tags[o].nodeMenu&&(i=this.config.tags[o].nodeMenu)}this.nodeMenuUI.showStickIn(t,e,null,i)},S.prototype._menuClickHandler=function(e,t){t.stopPropagation(),t.preventDefault(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.show(e.offsetLeft,e.offsetTop)},S.prototype._lonelyButtonHandler=function(){var e={id:this.generateId()};this.addNode(e,null,!0)!==!1&&this.center(e.id)},S.prototype.toggleExpandCollapse=function(e,t){var n=this.getNode(e),r=this.getCollapsedIds(n);if(r.length){var i=S.events.publish(`expcollclick`,[this,!1,e,r]);if(i===!1)return!1;this.expand(e,r,!1)}else{var i=S.events.publish(`expcollclick`,[this,!0,e,n.childrenIds]);if(i===!1)return!1;this.collapse(e,n.childrenIds,!1)}t&&this.ripple(n.id,t.clientX,t.clientY)},S.prototype._clickHandler=function(e,t){if(!(t.button>0)){for(var n=t.target;n!=e;){if(n.hasAttribute(S.attr.control_expcoll_id)){var r=n.getAttribute(S.attr.control_expcoll_id),i=this.getNode(r);this._expCollHandler(i.id);return}if(n.hasAttribute(S.attr.node_id)){var r=n.getAttribute(S.attr.node_id),i=this.getNode(r);this._nodeClickHandler(i.id,t);return}if(n.hasAttribute(S.attr.control_node_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(S.attr.control_node_menu_id),i=this.getNode(r);this._nodeMenuClickHandler(i.id,n,t);return}if(n.hasAttribute(S.attr.control_node_circle_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(S.attr.control_node_circle_menu_id);this._nodeCircleMenuClickHandler(r);return}if(n.hasAttribute(S.attr.control_node_circle_menu_name)){t.stopPropagation(),this._nodeCircleMenuItemClickHandler(n,t);return}if(n.hasAttribute(S.attr.control_add)){this._lonelyButtonHandler();return}if(n.hasAttribute(S.attr.control_up_id)){var r=n.getAttribute(S.attr.control_up_id);t.stopPropagation(),t.preventDefault(),this._upHandler(r);return}if(n.hasAttribute(S.attr.c_link_from)){S.events.publish(`clink-click`,[this,{from:n.getAttribute(S.attr.c_link_from),to:n.getAttribute(S.attr.c_link_to),event:t}]);return}if(n.hasAttribute(S.attr.s_link_from)){S.events.publish(`slink-click`,[this,{from:n.getAttribute(S.attr.s_link_from),to:n.getAttribute(S.attr.s_link_to),event:t}]);return}if(n.hasAttribute(`data-ctrl-n-dotted-close`)){var r=n.getAttribute(`data-ctrl-n-dotted-close`);this.minimize(r);return}if(n.hasAttribute(`data-ctrl-n-dotted-open`)){var r=n.getAttribute(`data-ctrl-n-dotted-open`);this.maximize(r);return}n=n.parentNode}S.events.publish(`canvas-click`,[this,{event:t}])}},S.prototype._mouseDownHandler=function(e,t,n,r){var i=this;S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide();var a=this.getViewBox(),o=this.getScale(),s=S._getClientTouchesXY(t,0),c=S._getClientTouchesXY(t,1),l={diffX:0,diffY:0,x0:s.x,y0:s.y,type:this.config.enablePan?`pan`:`pan-not-enabled`,viewBoxLeft:a[0],viewBoxTop:a[1],time:Date.now()};t.touches&&t.touches.length>1&&(l.type=`pinch`,l.dist=Math.sqrt((s.x-c.x)*(s.x-c.x)+(s.y-c.y)*(s.y-c.y)));var u=null;if(r){var d=r.stChildren[0].lcn?r.stChildren[0].lcn:`base`;u=i.manager.layoutConfigs[d],l.scrollTop=r.treeList.scrollTop}var f=0,p=function(e){var t=S._getClientTouchesXY(e,0);if(l&&l.type==`pan`){clearTimeout(i._timeout),l.diffX=t.x-l.x0,l.diffY=t.y-l.y0,f=Math.max(Math.abs(l.diffY),Math.abs(l.diffX));var n=-(l.diffY/o)+l.viewBoxTop,s=-(l.diffX/o)+l.viewBoxLeft;f>3&&(r?(r.treeList.scrollTop=l.scrollTop-l.diffY/o,i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdate(r,u)):(i._hideBeforeAnimation(),i._changeCursorOnPanStart(a,o,e),i._move(n,s,a)))}else if(l&&l.type==`pinch`){var c=S._getClientTouchesXY(e,1),d=Math.sqrt((t.x-c.x)*(t.x-c.x)+(t.y-c.y)*(t.y-c.y)),p=1+(d-l.dist)/(l.dist/100)/100;l.dist=d;var m=S._pinchMiddlePointInPercent(i.element,i.width(),i.height(),e);i.zoom(p,m)}},m=function(t){if(f<3&&l.type!=`pinch`&&(t.touches==null||t.touches.length<=1))i._clickHandler(e,t);else if(l.type==`pan`&&r){var a=Date.now()-l.time,o=Math.abs(f/a);if(o>.5){var s=r.treeList.scrollTop,c=s+o*400*(l.diffY>0?-1:1),d=r.stChildren[0].h;c=Math.round(c/d)*d,c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=S.animate(null,{},{},1500,S.anim.outExp,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,u.orientation)}))}else{var s=r.treeList.scrollTop,d=r.stChildren[0].h,c=Math.round(r.treeList.scrollTop/d)*d;c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=S.animate(null,{},{},200,S.anim.outSin,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,u.orientation)}))}}else l.type==`pan`&&!r&&f>10&&i._draw(!0,S.action.pan);l.type==`pan`&&!r&&i._changeCursorOnPanEnd(),l=null,e.removeEventListener(n.move,p),e.removeEventListener(n.up,m),n.leave&&e.removeEventListener(n.leave,m),n.touchstart&&e.removeEventListener(n.touchstart,m)};e.addEventListener(n.move,p,{passive:!0}),e.addEventListener(n.up,m),n.leave&&e.addEventListener(n.leave,m),n.touchstart&&e.addEventListener(n.touchstart,m,{passive:!0})},S.prototype._changeCursorOnPanStart=function(e,t,n){var r=this.getPointerElement();if(r){var i=S._getOffsetXY(this.element,n),a=i.x/t+e[0]-16/t,o=i.y/t+e[1]-16/t;r.style.display=`inherit`,r.setAttribute(`transform`,`matrix(0,0,0,0,`+a+`,`+o+`)`),S.animate(r,{transform:[0,0,0,0,a,o],opacity:0},{transform:[1/t,0,0,1/t,a,o],opacity:1},300,S.anim.outBack)}else this.element.style.cursor=`move`},S.prototype._changeCursorOnPanEnd=function(){var e=this.getPointerElement();e?e.style.display=`none`:this.element.style.cursor=`initial`},S.prototype._move=function(e,t,n){n[0]=t,n[1]=e,this.setViewBox(n),this.xScrollUI.setPosition(),this.yScrollUI.setPosition()},S.prototype.moveStart=function(e,t,n,r){if(!e){console.error(`movePosition parameter not defined`);return}if(this._moveInterval)return;var i=this,a=this.getViewBox().slice(0),o=this.getScale(),s=0,c=0,l=10,u=1,d=1;S.isNEU(n)&&(n=S.anim.inSin),S.isNEU(r)&&(r=3e3);function f(){var f={x:0,y:0,xWithoutScale:0,yWithoutScale:0};e.left?(s++,f.x=s*S.MOVE_STEP/o,f.xWithoutScale=s*S.MOVE_STEP):e.right&&(s++,f.x=-(s*S.MOVE_STEP)/o,f.xWithoutScale=-(s*S.MOVE_STEP)),e.up?(c++,f.y=c*S.MOVE_STEP/o,f.yWithoutScale=c*S.MOVE_STEP):e.down&&(c++,f.y=-(c*S.MOVE_STEP)/o,f.yWithoutScale=-(c*S.MOVE_STEP));var p=n((d*l-l)/r);f.x*=p,f.xWithoutScale*=p,f.y*=p,f.yWithoutScale*=p,i.setViewBox([a[0]+f.x,a[1]+f.y,a[2],a[3]]),t&&t(f),d+=u}this._moveInterval=setInterval(f,l)},S.prototype.moveEnd=function(){this._moveInterval&&=(clearInterval(this._moveInterval),null)},S===void 0&&(S={}),S.node=function(e,t,n,r){this.templateName=r,this.id=e,this.pid=t,this.children=[],this.childrenIds=[],this.parent=null,this.stpid=null,this.stParent=null,this.stChildren=[],this.stChildrenIds=[],this.tags=n,this.childCount=0,this.collapsedChildCount=0,this.deepCollapsedChildCount=0,this.deepChildCount=0,this.tags||=[]},S===void 0&&(S={}),S.idb={version:1,dbName:`BALKAN`,tableName:`orgchart-js`,keyPath:`id`},S.idb.db=null,S.idb._open=function(e){if(S._browser().msie){e&&e(!1);return}if((navigator.userAgent.toLowerCase().indexOf(`safari`)>0||navigator.userAgent.toLowerCase().indexOf(`firefox`)>0)&&window.location!==window.parent.location){e&&e(!1);return}if(!window.indexedDB){console.error(`Your browser doesn't support a stable version of IndexedDB.`),e&&e(!1);return}if(S.idb.db!=null){e&&e(!0);return}var t=indexedDB.open(S.idb.dbName,S.idb.version);t.onerror=function(t){console.error(`Cannot open database!`),e&&e(!1)},t.onsuccess=function(t){S.idb.db=t.target.result,e&&e(!0)},t.onupgradeneeded=function(e){var t=e.target.result;t.objectStoreNames.contains(S.idb.tableName)&&t.deleteObjectStore(S.idb.tableName),t.createObjectStore(S.idb.tableName,{keyPath:S.idb.keyPath})}},S.idb.read=function(e,t){S.idb._open(function(n){if(n){var r=S.idb.db.transaction([S.idb.tableName]).objectStore(S.idb.tableName).get(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.result?t&&t(!0,r.result):t&&t(null)}}else t&&t(!1)})},S.idb.write=function(e,t){S.idb.read(e.id,function(n){if(n==null){var r=S.idb.db.transaction([S.idb.tableName],`readwrite`).objectStore(S.idb.tableName).add(e);r.onerror=function(e){console.error(`Unable to add data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(n)})},S.idb.put=function(e,t){S.idb._open(function(n){if(n){var r=S.idb.db.transaction([S.idb.tableName],`readwrite`).objectStore(S.idb.tableName).put(e);r.onerror=function(e){console.error(`Unable to put data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(!1)})},S.idb.delete=function(e,t){S.idb._open(function(n){if(n){var r=S.idb.db.transaction([S.idb.tableName],`readwrite`).objectStore(S.idb.tableName).delete(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.error?t&&t(!1):t&&t(!0)}}else t&&t(!1)})},S===void 0&&(S={}),S.manager=function(e){this.config=e.config,this.layoutConfigs=e._layoutConfigs,this.visibleNodeIds=[],this.viewBox=null,this.action=null,this.actionParams=null,this.nodes={},this.oldNodes={},this.maxX=null,this.maxY=null,this.minX=null,this.minY=null,this.bordersByRootIdAndLevel=null,this.roots=null,this.state=null,this.vbIsInitializedFromState=!1,this.rootList=[],this.instance=e,this._fixAdjustForExport={x:0,y:0}},S.manager.prototype.read=function(e,t,n,r,i,a,o,s){var c=this;S.state._get(this.config.state,t,n,function(l){c.state=l,c.action=i,c.actionParams=a,i!=S.action.init||!c.state||a&&a.method&&a.method==`fit`?(c.viewBox=r,c.vbIsInitializedFromState=!1):(c.viewBox=c.state.vb,c.vbIsInitializedFromState=!0,Array.isArray(c.state.roots)&&(c.config.roots=c.state.roots));var u=c.maxX,d=c.maxY,f=c.minX,p=c.minY,m=c.bordersByRootIdAndLevel,h=c.roots,g=c.nodes;if(!e)g?c.oldNodes=g:c.oldNodes=null,c._read(function(e){u=e.maxX,d=e.maxY,f=e.minX,p=e.minY,m=e.bordersByRootIdAndLevel,h=e.roots,g=e.nodes;var r=S.manager._getResponse(t,n,c.visibleNodeIds,c.config,u,d,f,p,c.viewBox,h,c.action,c.actionParams,g,c.oldNodes,c.vbIsInitializedFromState);r.notif=e.limit,r.roots=h,r.bordersByRootIdAndLevel=m,r.adjustify=e.adjustify,i!=S.action.exporting&&(c.maxX=u,c.maxY=d,c.minX=f,c.minY=p,c.roots=h,c.nodes=g,c.visibleNodeIds=r.visibleNodeIds,c.bordersByRootIdAndLevel=m,c.rootList=e.rootList),o(r)},s);else{var _=S.manager._getResponse(t,n,c.visibleNodeIds,c.config,u,d,f,p,c.viewBox,h,c.action,c.actionParams,g,c.oldNodes,c.vbIsInitializedFromState);i!=S.action.exporting&&(c.maxX=u,c.maxY=d,c.minX=f,c.minY=p,c.roots=h,c.nodes=g,c.visibleNodeIds=_.visibleNodeIds),_.bordersByRootIdAndLevel=m,_.roots=h,_.adjustify={x:0,y:0},c.state&&(_.adjustify=c.state.adjustify),o(_)}})},S.manager.prototype._read=function(e,t){var n=this,r=S.manager._createNodes(this.instance);t(r);var i=r.nodes,a=r.roots,o=S.remote;o??=S.local,o._setPositions(a,n.layoutConfigs,function(t){var o=S.manager._doNotChangePositionOfClickedNodeIfAny(a,i,n.action,n.actionParams,n.oldNodes,n.config.orientation);n.state&&n.action==S.action.init&&(o=n.state.adjustify),n.action==S.action.exporting?o=n._fixAdjustForExport:n._fixAdjustForExport=o;for(var s={minX:null,minY:null,maxX:null,maxY:null},c={},l=[],u=0;u<a.length;u++)S.manager._setMinMaxXYAdjustifyIterate(a[u],a[u],s,0,c,o,n.config.orientation,l);for(var u=0;u<a.length;u++)S.manager._setChildCountPropsIterate(a[u],i);for(var d in l)for(var f in l[d]){var p=c[d][f],m=l[d][f];p.minX==null&&p.minY==null&&p.maxX==null&&p.maxY==null&&S._setMinMaxXY(m,p,!0)}e({minX:s.minX,minY:s.minY,maxX:s.maxX,maxY:s.maxY,bordersByRootIdAndLevel:c,nodes:i,roots:a,rootList:r.rootList,limit:t,adjustify:o})},i)},S===void 0&&(S={}),S.manager._initDinamicNode=function(e,t,n){t&&(e.lcn=t),n&&(e.isAssistant=!0);var r=S.t(e.templateName);e.w=r&&r.size?r.size[0]:0,e.h=r&&r.size?r.size[1]:0,e.isSplit=e.templateName==`split`,e.isMirror=e.templateName==`mirror`,e.isSubLevel=e.templateName==`subLevel`},S.manager._setCollpasedProperty=function(e,t,n,r,i,a,o,s){if(e.collapsed==null&&t.collapse&&t.collapse.allChildren?e.collapsed=!0:e.collapsed??=!1,i==S.action.expand&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!1),i==S.action.collapse&&(n.expandIds||n.collapseIds)?n.expandIds&&n.expandIds.indexOf(e.id)!=-1?e.collapsed=!1:n.collapseIds&&n.collapseIds.indexOf(e.id)!=-1&&(e.collapsed=!0):i==S.action.collapse&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!0),i==S.action.expand&&n.ids==`all`&&(e.collapsed=!1),i==S.action.exporting&&(!S.isNEU(n.parentLevels)||!S.isNEU(n.childLevels))&&n.id!=null){if(n.id!=null&&(!S.isNEU(n.parentLevels)||!S.isNEU(n.childLevels))){var c=s[n.id];if(c==e)e.collapsed=!1;else{for(var l=!1,u=-1,d=!1,f=-1;c;){if(u++,c==e){l=!0;break}c=s[c.pid]}c=s[n.id];for(var p=s[e.id];p;){if(f++,p==c){d=!0;break}p=s[p.pid]}n.parentLevels!=null&&l&&u<=n.parentLevels||n.childLevels!=null&&d&&f<=n.childLevels||d&&n.expandChildren?e.collapsed=!1:e.collapsed=!0}}}else i==S.action.exporting&&n.expandChildren&&(e.collapsed=!1);i==S.action.init&&o!=null?e.collapsed=!o.exp.has(e.id):i==S.action.init?e.tags.indexOf(`left-partner`)!=-1||e.tags.indexOf(`right-partner`)!=-1||e.tags.indexOf(`partner`)!=-1||e.parentPartner?e.collapsed=t.collapse&&a>=t.collapse.level&&r.indexOf(e.id)==-1:e.collapsed=t.collapse&&a>=t.collapse.level-1&&r.indexOf(e.id)==-1:i==S.action.centerNode||i==S.action.insert||i==S.action.expand||i==S.action.collapse?r.has(e.id)&&(e.collapsed=!1):i==S.action.update&&n&&n.changeRoots&&n.changeRoots.has(e.id)&&(e.collapsed=!1)},S.manager._initNode=function(e,t,n,r,i,a,o){var s=o.manager.config,c=o.manager.layoutConfigs,l=o.manager.action,u=o.manager.actionParams,d=o.manager.state,f=c[n||`base`];e.parent??S.manager._setCollpasedProperty(e,f,u,i,l,r-1,d,t);for(var p=0;p<e.childrenIds.length;p++){var m=t[e.childrenIds[p]];if(S.manager._setCollpasedProperty(m,f,u,i,l,r,d,t),m.collapsed)e.collapsedChildCount++;else{if(m.parent=e,m.ppid!=null){var h=t[m.ppid];h&&(m.parentPartner=h)}(m.tags.indexOf(`left-partner`)!=-1||m.tags.indexOf(`right-partner`)!=-1||m.tags.indexOf(`partner`)!=-1||m.parentPartner)&&a.indexOf(e.id)==-1&&a.push(e.id),e.children.push(m)}}if(l==S.action.minimize&&!e.min?(u.all||u.id==e.id)&&(e.min=!0):l==S.action.maximize&&e.min===!0?(u.all||u.id==e.id)&&(e.min=!1):l==S.action.exporting&&u.min===!1?e.min=!1:l==S.action.init&&d!=null&&(e.min=d.min.has(e.id)),!e.min&&(!e.tags||!e.tags.has(`filter`)))for(var p=0;p<e.stChildrenIds.length;p++){var m=t[e.stChildrenIds[p]];m.stParent=e,e.stChildren.push(m)}r!=null&&(e.level=r),n&&(e.lcn=n);var g=S._getSubLevels(e.tags,s.tags);g>0&&(e.subLevels=g),e.tags.indexOf(`assistant`)!=-1&&e.parent!=null&&(e.isAssistant=!0),f.layout==S.layout.treeList&&(e.isTreeListItem=!0),f.template&&s.template==e.templateName&&(e.templateName=f.template);var _=S.t(e.templateName,e.min);if(e.w=_&&_.size?_.size[0]:0,e.h=_&&_.size?_.size[1]:0,e.padding=_&&_.padding?_.padding:[0,0,0,0],e.isTreeListItem&&e.stParent&&e.stParent.treeList==null){var v=S.t(e.stParent.templateName,e.stParent.min);e.stParent.treeList={pinnedIds:[],scrollTop:0,scrollTopMax:0,maxHeight:v.treeListMaxHeight}}var y={node:e};S.events.publish(`node-initialized`,[o,y])},S.manager._iterate=function(e,t,n,r,i,a,o,s,c,l,u,d){var f=d.manager.layoutConfigs;if(S.manager._initNode(t,n,c,r,l,u,d),t.isAssistant&&(a[t.pid]||(a[t.pid]=[]),a[t.pid].push(t.id)),t.subLevels>0&&o.push(t.id),S.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN&&!t.isAssistant&&t.parent){if(t.parent&&t.parent.children.length&&t.parent.children[t.parent.children.length-1]==t){for(var p=[],m=0,h=0,g=0;g<t.parent.children.length;g++){var _=t.parent.children[g];_.tags.indexOf(`partner`)==-1&&_.tags.indexOf(`left-partner`)==-1&&_.tags.indexOf(`right-partner`)==-1&&_.tags.indexOf(`assistant`)==-1&&_.children.length==0?p.push(_.id):_.tags.indexOf(`assistant`)==-1?(_.tags.indexOf(`partner`)!=-1||_.tags.indexOf(`left-partner`)!=-1||_.tags.indexOf(`right-partner`)!=-1)&&h++:m++}(S.MIXED_LAYOUT_ALL_NODES&&p.length>1&&p.length==t.parent.children.length-m-h||!S.MIXED_LAYOUT_ALL_NODES&&p.length>1)&&(s[t.pid]=p)}}else if(!t.isAssistant&&t.childrenIds.length==0&&t.parent&&!s[t.pid]){for(var p=[],m=0,h=0,g=0;g<t.parent.children.length;g++){var _=t.parent.children[g];_.tags.indexOf(`partner`)==-1&&_.tags.indexOf(`left-partner`)==-1&&_.tags.indexOf(`right-partner`)==-1&&_.tags.indexOf(`assistant`)==-1&&_.childrenIds.length==0?p.push(_.id):_.tags.indexOf(`assistant`)==-1?(_.tags.indexOf(`partner`)!=-1||_.tags.indexOf(`left-partner`)!=-1||_.tags.indexOf(`right-partner`)!=-1)&&h++:m++}(S.MIXED_LAYOUT_ALL_NODES&&p.length>S.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&p.length==t.parent.childrenIds.length-m-h||!S.MIXED_LAYOUT_ALL_NODES&&p.length>S.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)&&(s[t.pid]=p)}t.stChildren.length&&(e.stContainerNodes||=[],e.stContainerNodes.push(t));for(var v=0;v<t.stChildren.length;v++){for(var y=``,g=0;g<t.tags.length;g++)if(f[t.tags[g]]){y=t.tags[g];break}i.push(t.stChildren[v].id),S.manager._iterate(e,t.stChildren[v],n,0,i,a,o,s,y,l,u,d)}r++;for(var v=0;v<t.children.length;v++)t.isTreeListItem&&(t.children[v].isTreeListItem=t.isTreeListItem),S.manager._iterate(e,t.children[v],n,r,i,a,o,s,c,l,u,d)},S.manager.__createNodes=function(e,t,n,r,i,a,o,s){for(var c=[],l=S._addDottedLines(n),u=0;u<l.length;u++){var d=l[u],f=S.STRING_TAGS?d.tags?d.tags.split(`,`):[]:Array.isArray(d.tags)?d.tags.slice(0):[];s.filterUI.addFilterTag(d)&&f.unshift(`filter`);var p=s.searchUI.addMatchTag(d.id);p===!0?f.unshift(`match`):p===!1&&f.unshift(`no-match`);var m=S._getTemplate(f,n.tags,n.template);d&&d.template&&(m=d.template);var h=new S.node(d.id,d.pid,f,m);S.isNEU(d.ppid)||(h.ppid=d.ppid),S.isNEU(d.stpid)||(h.stpid=d.stpid),d.movex!=null&&(h.movex=d.movex),d.movey!=null&&(h.movey=d.movey),e[d.id]=h,c.push(d.id)}if(n.orderBy!=null){var g=S.manager._getOrderSortArray(n.orderBy);c.sort(function(e,t){var n,r;for(var i of l)if(i.id==e&&(n=i),i.id==t&&(r=i),n&&r)break;for(var a=0;a<g.length;a++){var o=n[g[a].field],s=r[g[a].field],c=o,u=s;if(c??=``,u??=``,typeof c==`string`&&typeof u==`string`){var d=c.localeCompare(u);if(g[a].desc&&(d*=-1),d!==0)return d}else{var d=o<s?-1:o>s?1:0;if(g[a].desc&&(d*=-1),d!==0)return d}}})}for(var u=0;u<c.length;u++){var _=c[u],h=e[_],v=a?a[_]:null,y=e[h.stpid],b=e[h.pid];if(y||(h.stpid=null),b||(h.pid=null),y){var x=a?a[y.id]:null;x&&(y.min=x.min),y.stChildrenIds.push(h.id)}else b?(v&&(h.collapsed=v.collapsed,h.min=v.min,h.treeList=v.treeList),b.childrenIds.push(h.id)):(v&&(h.collapsed=v.collapsed,h.min=v.min,h.treeList=v.treeList),t.push(h),o.push(h.id));r==S.action.init&&(h.min=S._getMin(h,n))}},S.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs,r=e.manager.action,i=e.manager.actionParams,a=e.manager.oldNodes,o=e.manager.state,s={},c=[],l=[];if(S.manager.__createNodes(s,c,t,r,i,a,l,e),t.roots!=null){c=[];for(var u=0;u<t.roots.length;u++){var d=s[t.roots[u]];if(d&&r==S.action.centerNode){for(var f=d;f.pid!=null||f.stpid!=null;)f=f.pid==null&&f.stpid!=null?s[f.stpid]:s[f.pid];for(var p=s[i.id];(p.pid!=null||p.stpid!=null)&&p!=d;)p=p.pid==null&&p.stpid!=null?s[p.stpid]:s[p.pid];f==p&&(d=f)}if(d){for(var m=!1,h=0;h<c.length;h++)if(c[h].id==d.id){m=!0;break}if(!m){if(!S.isNEU(d.pid)){var g=s[d.pid],_=g.childrenIds.indexOf(d.id);_>-1&&g.childrenIds.splice(_,1)}c.push(d)}}}t.roots=[];for(var u=0;u<c.length;u++)t.roots.push(c[u].id)}if(r==S.action.exporting&&i.id!=null)if(i.parentLevels){for(var g=s[i.id],v=0;v<i.parentLevels&&s[g.pid];)v++,g=s[g.pid];g.pid=null,c=[g]}else{var y=s[i.id];y&&(y.pid=null,c=[y])}var b=[];if(r==S.action.init&&t.expand&&t.expand.nodes&&o==null)for(var u=0;u<t.expand.nodes.length;u++){var y=s[t.expand.nodes[u]];for(t.expand.allChildren===!0&&S.manager._addExpandedNodeIdsIterate(y,s,b);y;)b.push(y.id),y.pid==null&&y.stpid!=null?(y=s[y.stpid],y.min=!1):y=s[y.pid]}else if(r==S.action.expand&&i.ids&&i.ids!=`all`||r==S.action.collapse&&i&&i.expandIds)for(var x=r==S.action.expand?i.ids:i.expandIds,u=0;u<x.length;u++)for(var y=s[x[u]],g=s[y.pid];g;)b.push(g.id),g.pid==null&&g.stpid!=null?(g=s[g.stpid],g.min=!1):g=s[g.pid];else if(r==S.action.centerNode){for(var C=S._getCenterNodeFromParams(s,i);C;){if(b.push(C.id),i.options.parentState===S.COLLAPSE_PARENT_NEIGHBORS&&C)for(var u=0;u<C.childrenIds.length;u++){var w=s[C.childrenIds[u]];w.collapsed=!0}if(C.pid==null&&C.stpid!=null){if(C=s[C.stpid],C.min=!1,C.tags){var _=C.tags.indexOf(`filter`);_!=-1&&(C.tags.splice(_,1),e.filterUI._removeFilter(C.id))}}else C=s[C.pid]}if(C=S._getCenterNodeFromParams(s,i),i.options.childrenState===S.COLLAPSE_SUB_CHILDRENS)for(var u=0;u<C.childrenIds.length;u++){var T=s[C.childrenIds[u]];T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}if(i.options.parentState===S.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED){var g=s[C.pid];if(g)for(var u=0;u<g.childrenIds.length;u++){var T=s[g.childrenIds[u]];if(T!=C){T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}}}}else if(r==S.action.insert)for(var y=s[i.insertedNodeId];y;)b.push(y.id),y.pid==null&&y.stpid!=null?(y=s[y.stpid],y.min=!1):y=s[y.pid];for(var O=[],k={},A=[],j={},M=[],u=0;u<c.length;u++)S.manager._iterate(c[u],c[u],s,0,O,k,A,j,``,b,M,e);if(r==S.action.collapse&&i&&Array.isArray(i.expandIds)&&Array.isArray(i.collapseIds))for(var u=0;u<i.ids.length;u++)if(i.expandIds.has(i.collapseIds[u]))console.error(`id ${i.collapseIds[u]} exist in both collapseIds and expandIds`);else{var y=s[i.collapseIds[u]];y&&(y.collapsed=!0)}for(var u=c.length-1;u>=0;u--)c[u].collapsed&&c.splice(u,1);for(var u=0;u<M.length;u++){for(var y=s[M[u]],N=[],P=[],F=[],I={},L=0,ee=0,R=0,z=[],B=[],E=0;E<y.children.length;E++){var w=y.children[E];w.isAssistant?N.push(w.id):w.tags.indexOf(`right-partner`)==-1?w.tags.indexOf(`left-partner`)==-1?w.tags.indexOf(`partner`)!=-1&&!(L%2)?(w.isPartner=1,w.children=[],P.push(w.id),L++):w.tags.indexOf(`partner`)!=-1&&L%2?(w.isPartner=2,w.children=[],F.push(w.id),L++):w.parentPartner?(I[w.parentPartner.id]||(I[w.parentPartner.id]=[]),I[w.parentPartner.id].push(w.id)):N.push(w.id):(w.isPartner=2,w.children=[],F.push(w.id)):(w.isPartner=1,w.children=[],P.push(w.id))}y.children=[];for(var te=[],E=0;E<P.length;E++){var w=s[P[E]];I[w.id]?y.children.push(w):y.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)te.push(w.childrenIds[V])}for(var H=[],E=0;E<F.length;E++){var w=s[F[E]];I[w.id]?y.children.push(w):y.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)H.push(w.childrenIds[V])}for(var E=0;E<H.length;E++){var w=s[H[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=y,w.isChildOfPartner=!0,y.children.push(w))}for(var E=F.length-1;E>=0;E--)if(I[F[E]])for(var h=0;h<I[F[E]].length;h++)y.children.push(s[I[F[E]][h]]),ee++,B.indexOf(F[E])==-1&&B.push(F[E]);for(var E=0;E<N.length;E++){var w=s[N[E]];y.children.push(w)}for(var E=0;E<P.length;E++)if(I[P[E]])for(var h=0;h<I[P[E]].length;h++)y.children.push(s[I[P[E]][h]]),R++,z.indexOf(P[E])==-1&&z.push(P[E]);for(var E=0;E<te.length;E++){var w=s[te[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=y,w.isChildOfPartner=!0,y.children.push(w))}y.partnerSeparation=Math.max(B.length,z.length)*t.partnerChildrenSplitSeparation+t.minPartnerSeparation,!N.length&&ee&&!R?y.hasPartners=2:!N.length&&!ee&&R?y.hasPartners=3:!N.length&&ee==1&&R==1?y.hasPartners=4:!N.length&&!ee&&!R?y.hasPartners=5:N.length&&!ee&&!R?y.hasPartners=6:N.length&&(ee||R)?y.hasPartners=7:y.hasPartners=1}for(var u=0;u<A.length;u++)for(var y=s[A[u]],ne=y.lcn?y.lcn:`base`,re=n[ne],E=0;E<y.subLevels;E++){var U=new S.node(y.id+`_sub_level_index_`+E,y.pid,[],`subLevel`);S.manager._initDinamicNode(U,y.lcn);var g=y.parent;if(g){y.movex!=null&&(U.movex=y.movex),y.movey!=null&&(U.movey=y.movey);var _=g.children.indexOf(y);_>-1&&(g.children.splice(_,1),g.children.splice(_,0,U)),U.children.push(y),U.parent=g,y.parent=U,s[U.id]=U}}for(var ie in k){var g=s[ie];g.hasAssistants=!0;var U=new S.node(g.id+`_split_assitant_0`,g.id,[`assistant`],`split`);g.movex!=null&&(U.movex=g.movex),g.movey!=null&&(U.movey=g.movey),S.manager._initDinamicNode(U,g.lcn,!0),s[U.id]=U;for(var ae=[],E=g.children.length-1;E>=0;E--){var w=g.children[E];w.isAssistant?(w.parent=null,g.children.splice(E,1),ae.splice(0,0,w.id)):w.isPartner||(w.parent&&j[w.parent.id]&&U&&w.parent.id!=U.id&&(Object.defineProperty(j,U.id,Object.getOwnPropertyDescriptor(j,w.parent.id)),delete j[w.parent.id]),w.parent=U,U.children.unshift(w),g.children.splice(E,1))}if(ae.length%2){var oe=s[ae[ae.length-1]],se=new S.node(oe.id+`_mirror`,g.pid,[],`mirror`);S.manager._initDinamicNode(se,oe.lcn,!0),se.isAssistant=!0,se.w=oe.w,se.h=oe.h,s[se.id]=se,ae.splice(ae.length-1,0,se.id)}for(var W=1,E=ae.length-1;E>=0;E--)if(E%2&&E!=ae.length-1){var G=new S.node(g.id+`_split_assitant_`+W,g.pid,[],`split`);S.manager._initDinamicNode(G,g.lcn,!0),g.movex!=null&&(G.movex=g.movex),g.movey!=null&&(G.movey=g.movey),s[G.id]=G,ae.splice(E,0,G.id),W++}else E%2&&ae.splice(E,0,U.id);for(var E=0;E<ae.length;E+=3){var K=null;K=E==0?g:s[ae[E-2]];var ce=s[ae[E]],q=s[ae[E+1]],le=s[ae[E+2]];ce.parent=K,q.parent=K,le.parent=K,K.children.push(ce),K.children.push(q),K.children.push(le)}}var ue=!1;for(var de in n){var re=n[de];if(re.layout!=0){ue=!0;break}}var fe=S.events.has(`node-layout`,e._event_id);if(ue||fe){var pe={nodes:s,config:t,action:r,actionParams:i};if(A.length){var me=!1;for(var ie in j){for(var x=j[ie],u=0;u<x.length;u++){var y=s[x[u]];if(y.subLevels){me=!0;break}}if(me)break}if(me){var he={},ge={},_e={};for(var ie in j)for(var x=j[ie],ve=!1,ye=null,u=0;u<x.length;u++){var be=x[u];(ye===null||A.has(be))&&(ye=s[be].parent.id,!ve&&!S.isNEU(s[be].subLevels)&&(ve=s[be].subLevels>0)),he[ye]||(he[ye]=[]),he[ye].push(be),ve&&(_e[ye]=ie,ge[ye]||(ge[ye]=[]),ge[ye].push(be))}for(var ie in j={},ge)if(ge[ie].length>S.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)for(var xe=_e[ie],u=s[xe].children.length-1;u>=0;u--){var w=s[xe].children[u];ge[ie].has(w.id)&&s[xe].children.splice(u,1)}for(var ie in he)he[ie].length>S.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&(j[ie]=he[ie])}}for(var ie in j){for(var g=s[ie],Se=g;Se.isSplit;)Se=s[Se.pid];for(;Se.isSubLevel;)Se=s[Se.pid];var ne=g.lcn?g.lcn:`base`,re=n[ne];if(re.layout!=0||fe){pe.pnode=g,pe.layout=re.layout,pe.layoutGridColumns=t.layoutGridColumns,pe.childrenIds=j[ie],pe.lastChildrenPidIds=j,pe.subLevels=0,pe.layouts=[],S.events.publish(`node-layout`,[e,pe]),S.events.publish(`layout`,[pe]),pe.layouts.length||pe.layouts.push({layout:pe.layout,childrenIds:pe.childrenIds,subLevels:pe.subLevels,layoutGridColumns:pe.layoutGridColumns});for(var J=0;J<pe.layouts.length;J++){var Y=pe.layouts[J];for(S.isNEU(Y.subLevels)&&(Y.subLevels=0),S.isNEU(Y.layout)&&(Y.layout=re.layout),g=s[ie],Se=g;Se.isSplit;)Se=s[Se.pid];for(;Se.isSubLevel;)Se=s[Se.pid];for(var Ce=g,E=0;E<Y.subLevels;E++){var U=new S.node(J+`_sublevel_layout_`+E,Ce.id,[],`subLevel`);S.manager._initDinamicNode(U,Ce.lcn),U.parent=Ce,Ce.children.push(U),s[U.id]=U,Ce=U}if(Y.subLevels){for(var E=0;E<Y.childrenIds.length;E++){var w=s[Y.childrenIds[E]],_=g.children.indexOf(w);_!=-1&&g.children.splice(_,1),w.parent=Ce,Ce.children.push(w)}g=Ce}if(Y.layout==S.layout.grid&&Y.childrenIds.length>2){Y.layoutGridColumns==`dynamic`&&(Y.layoutGridColumns=S._getDynamicGridCoulumns(Y.childrenIds.length));for(var we=g.id,u=g.children.length-1;u>=0;u--)for(var E=0;E<Y.childrenIds.length;E++){var be=Y.childrenIds[E];if(g.children[u].id==be){g.children.splice(u,1);break}}var Te=Y.layoutGridColumns;Te%2!=0&&Te>2&&Te--;for(var u=0;u<Y.childrenIds.length;u+=Te)for(var Ee=null,E=0;E<Te;E++){var De=u+Te>=Y.childrenIds.length;if(Y.childrenIds.length-1<u+E)break;var be=Y.childrenIds[u+E],w=s[be];w.parent=s[we],s[we].children.push(w),De||(Te/2-1==E&&(Ee=new S.node(Y.childrenIds[u+E-1]+`_grid_pseudo_node_`+Y.childrenIds[u+E+1],we,[],`subLevel`),S.manager._initDinamicNode(Ee,g.lcn),Ee.parent=s[we],s[we].children.push(Ee),s[Ee.id]=Ee),Te-1==E&&(we=Ee.id))}}if(Y.layout==S.layout.mixed)for(var Oe=Y.childrenIds,u=Oe.length-1;u>=0;u--){var w=s[Oe[u]];g=w.parent,w.layout=S.layout.mixed;for(var E=g.children.length-1;E>=0;E--)if(w.id==g.children[E].id){g.children.splice(E,1);break}if(u>0){var ke=s[Oe[u-1]];w.parent=ke,w.layout=S.layout.mixed,ke.children.push(w)}else g.children.push(w)}else if(Y.layout>1){var U=new S.node(J+`_`+g.id+`_split_0`,Se.id,[],`split`);g.movex!=null&&(U.movex=g.movex),g.movey!=null&&(U.movey=g.movey),S.manager._initDinamicNode(U,g.lcn),s[U.id]=U,U.layout=Y.layout;for(var Ae=[],u=Y.childrenIds.length-1;u>=0;u--){for(var w=s[Y.childrenIds[u]],E=0;E<g.children.length;E++)g.children[E].id==w.id&&g.children.splice(E,1);if(w.parent=null,w.layout=Y.layout,(Y.layout==S.layout.treeRightOffset||Y.layout==S.layout.treeRight)&&Ae.splice(0,0,w.id),Y.layout>2){var je=new S.node(J+`_`+w.id+`_mirror`,Se.id,[],`mirror`);S.manager._initDinamicNode(je,w.lcn),je.layout=Y.layout,s[je.id]=je,Ae.splice(0,0,je.id)}Y.layout!=S.layout.treeRightOffset&&Y.layout!=S.layout.treeRight&&Ae.splice(0,0,w.id)}for(var W=1,E=Ae.length-1;E>=0;E--)if(E%2&&E!=Ae.length-1){var G=new S.node(J+`_`+g.id+`_split_`+W,Se.id,[],`split`);S.manager._initDinamicNode(G,g.lcn),g.movex!=null&&(G.movex=g.movex),g.movey!=null&&(G.movey=g.movey),G.layout=Y.layout,s[G.id]=G,Ae.splice(E,0,G.id),W++}else E%2&&Ae.splice(E,0,U.id);for(var E=0;E<Ae.length;E+=3){var K=null;E==0&&(K=g);var ce=s[Ae[E]],q=s[Ae[E+1]],le=s[Ae[E+2]];E!=0&&(K=s[Ae[E-3]]),E!=0&&!q&&(K=s[Ae[E-2]]),ce.parent=K,K.children.push(ce),q&&(E!=0&&(K=s[Ae[E-2]]),q.parent=K,K.children.push(q)),le&&(E!=0&&(K=s[Ae[E-1]]),le.parent=K,K.children.push(le))}}}}}}if(S.VERTICAL_CHILDREN_ASSISTANT)for(var u=0;u<c.length;u++)S.manager._verticalAssistantIterate(c[u],s);var pe={nodes:s,roots:c};return S.events.publish(`nodes-initialized`,[e,pe]),{nodes:pe.nodes,roots:pe.roots,rootList:l}},S.manager._getOrderSortArray=function(e){if(typeof e==`string`)return[{field:e,desc:!1}];if(Array.isArray(e)){var t=[];for(var n of e)typeof n==`string`?t.push({field:n,desc:!1}):e instanceof Object?t.push(n):console.error(`Unseported orderBy value!`);return t}else if(e instanceof Object)return[e];else console.error(`Unseported orderBy value!`)},S.manager._getNodeWidth=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h}return 0},S.manager._isVisible=function(e,t,n,r,i,a,o){var s=0;if(S.LAZY_LOADING_FACTOR==`auto`){var c=a/i*2,l=o/i*2;s=Math.ceil(c>l?c:l)}else s=S.LAZY_LOADING_FACTOR/i;if(!(e.x==null||e.y==null)){if(S._getLazyLoading(t)&&r!==S.action.exporting){function t(e,t){var n=e.x,r=e.y,i=e.w,a=e.h,o=t[0]-s,c=t[2]+s+t[0],l=t[1]-s,u=t[3]+s+t[1],d=n+i>o&&c>n;return d&&=r+a>l&&u>r,d}if(t(e,n))return!0;for(var u=0;u<e.children.length;u++)if(t(e.children[u],n))return!0;return!1}return!0}},S.manager.getAllFields=function(e){var t=[S.TAGS];for(var n in e.nodeBinding)t.push(e.nodeBinding[n]);for(var n=0;n<e.nodes.length;n++)for(var r in e.nodes[n])r!==S.ID&&r!==S.TAGS&&r!==S.NODES&&r!==S.PID&&r!==S.STPID&&r!==`movex`&&r!==`movey`&&(e.nodeBinding[r]||t.has(r)||t.push(r));return t},S.manager._getMostDeepChild=function(e){if(!e)return;var t=e;function n(e){e.sl>t.sl&&(t=e);for(var r=0;r<e.children.length;r++)n(e.children[r])}return n(e),t},S.manager._getResponse=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){var h=l[0],g=[],_={top:null,left:null,bottom:null,right:null,minX:null,maxX:null,minY:null,maxY:null},v=[[],[],[]],y=i-o+r.padding*2,b=a-s+r.padding*2,x=S.getScale(c,e,t,r.scaleInitial,r.scaleMax,r.scaleMin,y,b);if(_.top=s-r.padding,_.left=o-r.padding,_.bottom=a+r.padding-t/x,_.right=i+r.padding-e/x,_.maxX=i,_.minX=o,_.maxY=a,_.minY=s,l.length==0||c==null&&!m&&r.align==S.CENTER){var C=Math.ceil(e/x),w=Math.ceil(t/x),T=0,E=0;if(C-r.padding*2>=i-o)switch(T=(i+o)/2-C/2,r.orientation){case S.orientation.right:case S.orientation.right_top:T=(o-i)/2-C/2;break}else switch(T=h.x-C/2+S.manager._getNodeWidth(h,r)/2,r.orientation){case S.orientation.right:case S.orientation.right_top:T=-(C/2-(o-i)/2),T<r.padding-C&&(T=r.padding-C);break;case S.orientation.left:case S.orientation.bottom_left:case S.orientation.top_left:case S.orientation.left_top:T=-(C/2-(i-o)/2),T>-r.padding&&(T=-r.padding);break}if(w-r.padding*2>=a-s)switch(E=(a+s)/2-w/2,r.orientation){case S.orientation.bottom:case S.orientation.bottom_left:E=(s-a)/2-w/2;break}else switch(E=-(w/2-(a-s)/2),E>-r.padding&&(E=-r.padding),r.orientation){case S.orientation.bottom:case S.orientation.bottom_left:E=-(w/2-(s-a)/2),E<r.padding-w&&(E=r.padding-w);break;case S.orientation.left:case S.orientation.right:E=h.y-w/2+S.manager._getNodeWidth(h,r)/2;break}c=[T,E,C,w]}else if(c==null&&!m&&r.align==S.ORIENTATION){var C=Math.ceil(e/x),w=Math.ceil(t/x),T=0,E=0;switch(r.orientation){case S.orientation.top:T=h.x-C/2+S.manager._getNodeWidth(h,r)/2,E=-r.padding;break;case S.orientation.bottom:T=h.x-C/2+S.manager._getNodeWidth(h,r)/2,E=r.padding-w;break;case S.orientation.left:T=-r.padding,E=h.y-w/2+S.manager._getNodeWidth(h,r)/2;break;case S.orientation.right:T=r.padding-C,E=h.y-w/2+S.manager._getNodeWidth(h,r)/2;break;case S.orientation.top_left:T=-r.padding,E=-r.padding;break;case S.orientation.right_top:T=r.padding-C,E=-r.padding;break;case S.orientation.left_top:T=-r.padding,E=-r.padding;break;case S.orientation.bottom_left:T=-r.padding,E=r.padding-w;break}c=[T,E,C,w]}if(u==S.action.centerNode||u==S.action.maximize){var D=S._getCenterNodeFromParams(f,d);d.options.horizontal==1&&(c[0]=D.x+D.w/2-c[2]/2),d.options.vertical==1&&(c[1]=D.y+D.h/2-c[3]/2)}if(u==S.action.insert||u==S.action.expand||u==S.action.collapse||u==S.action.update||u==S.action.centerNode){var O=null;if(u==S.action.insert&&d&&d.insertedNodeId!=null&&d.insertedNodeId!=null)O=f[d.insertedNodeId];else if(u==S.action.update&&d&&d.visId!=null&&d.visId!=null)O=f[d.visId];else if((u==S.action.expand||u==S.action.collapse)&&d&&d.id!=null&&d.id!=null)O=f[d.id],O=S.manager._getMostDeepChild(O);else if(u==S.action.centerNode){switch(r.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:d.options.vertical||(O=f[d.id]);break;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:d.options.horizontal||(O=f[d.id]);break}O&&=S.manager._getMostDeepChild(O)}if(!S.FIXED_POSITION_ON_CLICK&&O){if(O.isTreeListItem){for(;!O.stParent;)O=O.parent;O=O.stParent}switch(r.orientation){case S.orientation.top:case S.orientation.top_left:var k=O.y+O.h-c[3]+r.padding;c[1]<k&&(c[1]=k);break;case S.orientation.bottom:case S.orientation.bottom_left:var k=O.y-r.padding;c[1]>k&&(c[1]=k);break;case S.orientation.right:case S.orientation.right_top:var k=O.x-r.padding;c[0]>k&&(c[0]=k);break;case S.orientation.left:case S.orientation.left_top:var k=O.x+O.w-c[2]+r.padding;c[0]<k&&(c[0]=k);break}}}for(var A=0;A<l.length;A++)S.manager._iterate2(l[A],f,r,c,u,d,g,p,n,v,x,e,t);return{animations:v,boundary:_,viewBox:c,visibleNodeIds:g,nodes:f,allFields:S.manager.getAllFields(r)}},S.manager._iterate2=function(e,t,n,r,i,a,o,s,c,l,u,d,f){if(S.manager._isVisible(e,n,r,i,u,d,f)){o.push(e.id);var p=null;if((i==S.action.expand||i==S.action.collapse||i==S.action.maximize)&&s&&s[e.id]&&a.method==`expandCollapseToLevel`){var m=s[e.id];if(p={x:m.x,y:m.y},m){p={x:m.x,y:m.y};for(var h=e,g=null;h!=null;)s[h.id]&&s[h.id].collapsed&&(g=h),h=h.parent;g&&g.parent&&(p={x:g.parent.x,y:g.parent.y})}var _=t[a.id];if(_){for(var h=e.parent;h!=null;)h=h.parent;h&&(p={x:_.x+_.w/2-e.w/2,y:_.y+_.h/2-e.h/2})}}else if((i==S.action.expand||i==S.action.collapse)&&s&&s[e.id]){var m=s[e.id];if(p={x:m.x,y:m.y},a.ids==`all`&&m){p={x:m.x,y:m.y};for(var h=e,g=null;h!=null;)s[h.id]&&s[h.id].collapsed&&(g=h),h=h.parent;g&&g.parent&&(p={x:g.parent.x,y:g.parent.y})}var _=t[a.id];if(_){for(var h=e.parent;h!=null&&a.ids.indexOf(e.id)==-1&&a.ids.indexOf(h.id)==-1;)h=h.parent;h&&(p={x:_.x+_.w/2-e.w/2,y:_.y+_.h/2-e.h/2})}}else if(i==S.action.centerNode&&s&&s[e.id]){var m=s[e.id];m.x!=null&&m.y!=null&&(p={x:m.x,y:m.y});var v=S._getCenterNodeFromParams(t,a);if(v&&v==e){var h=e.parent;h&&h.id==a.id&&(p={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if(i==S.action.maximize&&s&&s[e.id]){var m=s[e.id];m.x!=null&&m.y!=null&&(p={x:m.x,y:m.y});var v=S._getCenterNodeFromParams(t,a);if(v&&v==e){var h=e.parent;h&&h.id==a.id&&(p={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if(i==S.action.minimize&&s&&s[e.id]){var m=s[e.id];p={x:m.x,y:m.y}}else if(i==S.action.insert&&a&&a.insertedNodeId==e.id&&e.parent)p={x:e.parent.x,y:e.parent.y};else if((i==S.action.update||i==S.action.insert)&&s){var m=s[e.id];if((!m||S.isNEU(m.x)&&S.isNEU(m.y))&&a){var _=t[a.id];if(_){for(var h=_;h&&h.id==e.id;)h=h.parent;h&&(p={x:_.x,y:_.y})}}else m&&(p={x:m.x,y:m.y})}else i!==S.action.exporting&&i!==S.action.init&&c.indexOf(e.id)==-1&&(l[0].push(e.id),l[1].push({opacity:0}),l[2].push({opacity:1}));p!=null&&p.x!=null&&p.y!=null&&(p.x!=e.x||p.y!=e.y)&&!(a&&a.dragNodeIdList&&a.dragNodeIdList.indexOf(e.id)!=-1)&&!e.isSplit&&(l[0].push(e.id),l[1].push({transform:[1,0,0,1,p.x,p.y]}),l[2].push({transform:[1,0,0,1,e.x,e.y]}))}for(var y=0;y<e.stChildren.length;y++)S.manager._iterate2(e.stChildren[y],t,n,r,i,a,o,s,c,l,u,d,f);for(var y=0;y<e.children.length;y++)S.manager._iterate2(e.children[y],t,n,r,i,a,o,s,c,l,u,d,f)},S.manager._addExpandedNodeIdsIterate=function(e,t,n){for(var r=0;r<e.childrenIds.length;r++)n.push(e.childrenIds[r]),S.manager._addExpandedNodeIdsIterate(t[e.childrenIds[r]],t,n)},S.manager._setChildCountPropsIterate=function(e,t){e.w===void 0&&(e.collapsedChildCount=e.childrenIds.length),e.deepChildCount=e.childCount=e.childrenIds.length,e.deepCollapsedChildCount=e.collapsedChildCount;for(var n=t[e.pid];n;)n.deepCollapsedChildCount+=e.collapsedChildCount,n.deepChildCount+=e.childCount,n=t[n.pid];for(var r of e.stChildrenIds)S.manager._setChildCountPropsIterate(t[r],t);for(var r of e.childrenIds)S.manager._setChildCountPropsIterate(t[r],t)},S.manager._setMinMaxXYAdjustifyIterate=function(e,t,n,r,i,a,o,s){e.x+=a.x,e.y+=a.y;for(var c of e.stChildren)S.manager._setMinMaxXYAdjustifyIterate(c,c,n,0,i,a,o,s);e.isPartner?e.sl=r-1:e.sl=r,i[t.id]??(i[t.id]={}),i[t.id][e.sl]??(i[t.id][e.sl]={minX:null,minY:null,maxX:null,maxY:null}),e.layout?(s[t.id]??(s[t.id]={}),s[t.id][e.sl]??(s[t.id][e.sl]=e)):S._setMinMaxXY(e,i[t.id][e.sl],!0),e.movex!=null&&(e.x+=e.movex),e.movey!=null&&(e.y+=e.movey),S._setMinMaxXY(e,n,!0),r++;for(var c of e.children)S.manager._setMinMaxXYAdjustifyIterate(c,t,n,r,i,a,o,s)},S.manager._doNotChangePositionOfClickedNodeIfAny=function(e,t,n,r,i,a){if(n!=S.action.expand&&n!=S.action.collapse&&n!=S.action.minimize&&n!=S.action.maximize&&n!=S.action.centerNode&&n!=S.action.update&&n!=S.action.insert)return{x:0,y:0};if(n==S.action.update&&(!r||r.id==null)){if(!e||!e.length)return{x:0,y:0};r={id:e[0].id}}if(r.id==null)return{x:0,y:0};var o=r.id;(n==S.action.minimize&&t[o].parent||n==S.action.maximize&&t[o].parent)&&(o=t[o].pid);var s=t[o],c=i[o];if(!c)return{x:0,y:0};var l=c.movex==null?0:c.movex,u=c.movey==null?0:c.movey,d={x:(c.x?c.x-l:0)-s.x,y:(c.y?c.y-u:0)-s.y};return s&&s.isTreeListItem?{x:0,y:0}:d},S.manager._verticalAssistantIterate=function(e,t){for(var n=0;n<e.stChildren.length;n++)S.manager._verticalAssistantIterate(e.stChildren[n],t);if(e.children.length==3)S.manager._verticalAssistantIterate(e.children[0],t),S.manager._verticalAssistantIterate(e.children[2],t),S.manager._verticalAssistantIterate(e.children[1],t);else for(var n=0;n<e.children.length;n++)S.manager._verticalAssistantIterate(e.children[n],t);if(e.isAssistant&&e.isSplit&&e.children.length){for(var r=e.parent.children[0],i=e.parent.children[2],a=e.parent;!a.hasAssistants;)a=a.parent;var o={max:0},s={max:0};S.manager._verticalAssistantLevelCountIterate(r,0,o),S.manager._verticalAssistantLevelCountIterate(i,0,s);for(var c=Math.max(o.max,s.max),l=[],n=0;n<c;n++){var u=new S.node(e.parent.id+`_split_assitant_level_`+n,e.pid,[],`subLevel`);S.manager._initDinamicNode(u,e.lcn,!0),a.movex!=null&&(u.movex=a.movex),a.movey!=null&&(u.movey=a.movey),n>0&&(l[n-1].children.push(u),u.parent=l[n-1]),t[u.id]=u,l.push(u)}if(l.length){for(var d=l[l.length-1],f=l[0],p=e.children.length-1;p>=0;p--){var m=e.children[p];d.children.unshift(m),m.parent=d,e.children.splice(p,1)}e.children.push(f),f.parent=e}}},S.manager._verticalAssistantLevelCountIterate=function(e,t,n){n.max<t&&(n.max=t),t++;for(var r=0;r<e.children.length;r++)S.manager._verticalAssistantLevelCountIterate(e.children[r],t,n)},S._addDottedLines=function(e){var t=e.nodes;if((e.groupDottedLines.length||e.dottedLines.length)&&(t=JSON.parse(JSON.stringify(t))),e.groupDottedLines.length)for(var n=[],r=0;r<e.groupDottedLines.length;r++){var i=e.groupDottedLines[r];i.rootId??=i.to;var a=`balkan_group_dotted_${i.rootId}`;if(!n.has(a)){for(var o=0;o<t.length;o++)if(t[o].id==i.rootId){var s=JSON.parse(JSON.stringify(t[o]));s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=void 0,s.stpid=t[o].id,t.push(s),n.push(a),t[o].tags||(t[o].tags=[]),t[o].tags.push(`group-dotted-lines`),t[o].tags.push(`group-dotted-lines-`+a);break}}for(var o=0;o<t.length;o++)if(t[o].id==i.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=`balkan_group_dotted_${i.rootId}_balkan_id_${i.to}`,s.tags){var c=s.tags.indexOf(`group-dotted-lines`);c!=-1&&s.tags.splice(c,1)}if(s.tags||=[],s.tags.push(`boc-dotted-connector`),i.tags)for(var l=0;l<i.tags.length;l++)s.tags.push(i.tags[l]);t.push(s);break}}if(e.dottedLines.length)for(var r=0;r<e.dottedLines.length;r++){var u=e.dottedLines[r];u.rootId??=u.to;for(var o=0;o<t.length;o++)if(t[o].id==u.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_dotted_${u.rootId}_balkan_id_${t[o].id}`,u.rootId==u.to?s.pid=u.to:s.pid=`balkan_dotted_${u.rootId}_balkan_id_${u.to}`,s.tags||=[],s.tags.push(`boc-dotted-connector`),u.tags)for(var l=0;l<u.tags.length;l++)s.tags.push(u.tags[l]);t.push(s);break}}return t},S===void 0&&(S={}),S.templates={},S.templates.base={defs:``,size:[250,120],expandCollapseSize:30,linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,node:`<rect x="0" y="0" height="120" width="250" fill="none" stroke-width="1" stroke="#aeaeae" rx="7" ry="7"></rect>`,plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
|
|
398
|
-
<text text-anchor="middle" style="font-size: 14px;cursor:pointer;" fill="#aeaeae" x="15" y="21">${e.deepCollapsedChildCount}</text></g>`},minus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
|
|
399
|
-
<line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},nodeMenuButton:`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,105)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`,menuButton:`<div style="user-select:none;position:absolute;right:{p}px;top:{p}px; width:30px;height:50px;cursor:pointer;" `+S.attr.control_export_menu+`=""><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"></div>`,img_0:`<clipPath id="{randId}"><circle cx="60" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="20" y="20" width="80" height="80"></image>`,link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+S.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},S.templates.ana={defs:``,size:[250,120],linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},expandCollapseSize:30,svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,node:function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
|
|
400
|
-
<text text-anchor="middle" style="font-size: 14px;cursor:pointer;" fill="#aeaeae" x="15" y="21">${e.deepCollapsedChildCount}</text></g>`},minus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
|
|
401
|
-
<line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},up:`<rect x="20" y="-25" width="30" height="17" fill="#aeaeae" rx="3" ry="3"></rect><line x1="35" x2="35" y1="0" y2="-8" stroke="#aeaeae" stroke-width="1"></line>`,nodeMenuButton:function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},menuButton:S.templates.base.menuButton,img_0:function(e,t,n,r,i){var a=50,o=30,s=40,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+S.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,field_0:function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="${e.h-25}" text-anchor="middle"></text>`,e.w-20,1)},field_1:function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w-20}" y="30" text-anchor="end"></text>`,e.w-120,3)},padding:[75,5,50,5],editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},S.templates.split=Object.assign({},S.templates.ana),S.templates.split.size=[10,10],S.templates.split.node=`<circle cx="5" cy="5" r="5" fill="none" stroke-width="1" stroke="#aeaeae"></circle>`,S.templates.split.field_0=``,S.templates.split.field_1=``,S.templates.split.img_0=``,S.templates.dot=Object.assign({},S.templates.split),S.templates.group=Object.assign({},S.templates.ana),S.templates.group.size=[250,120],S.templates.group.padding=[50,20,35,20],S.templates.group.node=`<rect rx="50" ry="50" x="0" y="0" height="{h}" width="{w}" fill="#f2f2f2" stroke-width="0"></rect>`,S.templates.group.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,S.templates.group.nodeMenuButton=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,{ew},25)"><g transform="matrix(1,0,0,1,-22,-8)"><rect x="0" y="0" fill="red" fill-opacity="0" width="18" height="22"></rect><line x1="0" y1="2" x2="9" y2="2" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="9" x2="18" y2="9" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="16" x2="22" y2="16" stroke="#aeaeae" stroke-width="1"></line></g></g>`,S.templates.group.field_0=`<text `+S.attr.width+`="230" style="font-size: 18px;" fill="#aeaeae" x="{cw}" y="30" text-anchor="middle">{val}</text>`,S.templates.group.field_1=``,S.templates.group.ripple={radius:50,color:`#aeaeae`},S.templates.invisibleGroup=Object.assign({},S.templates.group),S.templates.invisibleGroup.node=``,S.templates.invisibleGroup.padding=[0,0,0,0],S.templates.invisibleGroup.field_0=``,S.templates.invisibleGroup.nodeMenuButton=``,S.templates.mirror={linkAdjuster:{},link:``,node:``,nodeMenuButton:``,size:[0,0]},S.templates.ula=Object.assign({},S.templates.ana),S.templates.ula.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="100" y="55"></text>`,e.w-105,1)},S.templates.ula.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text data-text-overflow="multiline" style="font-size: 14px;" fill="#afafaf" x="100" y="76"></text>`,e.w-105,3)},S.templates.ula.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#aeaeae"></rect><line x1="0" y1="0" x2="${e.w}" y2="0" stroke-width="2" stroke="#039BE5"></line>`},S.templates.ula.img_0=function(e,t,n,r,i){var a=50,o=60,s=40,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.ula.menu=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,12)" `+S.attr.control_node_menu_id+`="{id}"><rect x="-4" y="-10" fill="#ffffff" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#039BE5"></circle><circle cx="7" cy="0" r="2" fill="#039BE5"></circle><circle cx="14" cy="0" r="2" fill="#039BE5"></circle></g>`,S.templates.ula.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},S.templates.ula.padding=[110,1,1,1],S.templates.olivia=Object.assign({},S.templates.ana),S.templates.olivia.defs=`<style>
|
|
402
|
-
#olivia_gradient {
|
|
403
|
-
--color-stop-1: #ffffff;
|
|
404
|
-
--color-stop-2: #eeeeee;
|
|
405
|
-
--opacity-stop: 1;
|
|
406
|
-
}
|
|
407
|
-
.olivia-f0{
|
|
408
|
-
font-size: 18px;
|
|
409
|
-
fill: #757575;
|
|
410
|
-
}
|
|
411
|
-
.olivia-f1{
|
|
412
|
-
font-size: 14px;
|
|
413
|
-
fill: #757575;
|
|
414
|
-
}
|
|
415
|
-
.boc-dark .olivia-f0,.boc-dark .olivia-f1{
|
|
416
|
-
fill: #aeaeae;
|
|
417
|
-
}
|
|
418
|
-
.boc-dark #olivia_gradient {
|
|
419
|
-
--color-stop-1: #646464;
|
|
420
|
-
--color-stop-2: #363636;
|
|
421
|
-
--opacity-stop: 1;
|
|
422
|
-
}
|
|
423
|
-
</style>
|
|
424
|
-
<linearGradient id="olivia_gradient" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="var(--color-stop-1)" stop-opacity="var(--opacity-stop)"/><stop offset="100%" stop-color="var(--color-stop-2)" stop-opacity="var(--opacity-stop)" /></linearGradient>`,S.templates.olivia.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text class="olivia-f0" x="100" y="55"></text>`,e.w-105,1)},S.templates.olivia.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text class="olivia-f1" x="100" y="76"></text>`,e.w-105,3)},S.templates.olivia.node=function(e,t,n,r){return`<rect fill="url(#olivia_gradient)" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},S.templates.olivia.img_0=`<clipPath id="{randId}"><circle cx="50" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="10" y="20" width="80" height="80" ></image>`,S.templates.olivia.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},S.templates.olivia.padding=[110,15,30,15],S.templates.belinda=Object.assign({},S.templates.ana),S.templates.belinda.size=[180,180],S.templates.belinda.ripple={radius:90,color:`#e6e6e6`,rect:null},S.templates.belinda.node=function(e,t,n,r){return`<circle cx="${e.w/2}" cy="${e.h/2}" r="${e.w/2}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></circle>`},S.templates.belinda.img_0=function(e,t,n,r,i){var a=e.w/2,o=45,s=40,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.belinda.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+15}"></text>`,e.w-10,1)},S.templates.belinda.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+35}"></text>`,e.w-20,2)},S.templates.belinda.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,S.templates.belinda.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w/2-11},5)"><rect x="0" y="0" fill="#000000" fill-opacity="0" width="22" height="22"></rect><line stroke-width="2" stroke="#000" x1="0" y1="3" x2="22" y2="3"></line><line stroke-width="2" stroke="#000" x1="0" y1="9" x2="22" y2="9"></line><line stroke-width="2" stroke="#000" x1="0" y1="15" x2="22" y2="15"></line></g>`},S.templates.rony=Object.assign({},S.templates.ana),S.templates.rony.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="background-color:#E8E8E8;display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,S.templates.rony.defs=`<filter id="{randId}" x="0" y="0" width="200%" height="200%"><feOffset result="offOut" in="SourceAlpha" dx="5" dy="5"></feOffset><feGaussianBlur result="blurOut" in="offOut" stdDeviation="5"></feGaussianBlur><feBlend in="SourceGraphic" in2="blurOut" mode="normal"></feBlend></filter>`,S.templates.rony.size=[180,250],S.templates.rony.ripple={color:`#F57C00`,radius:5,rect:null},S.templates.rony.padding=[250,0,30,0],S.templates.rony.img_0=function(e,t,n,r,i){var a=e.w/2,o=160,s=60,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.rony.node=function(e,t,n,r){return`<rect filter="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="0" rx="10" ry="10"></rect>'`},S.templates.rony.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="40" text-anchor="middle"></text>`,e.w-15,1)},S.templates.rony.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#F57C00" x="${e.w/2}" y="60" text-anchor="middle"></text>`,e.w-15,3)},S.templates.rony.field_2=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#FFCA28" x="${e.w/2}" y="80" text-anchor="middle"></text>`,e.w-15,1)},S.templates.rony.link=`<path stroke="#039BE5" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,S.templates.rony.plus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line></g>`},S.templates.rony.minus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line></g>`},S.templates.rony.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},S.templates.mery=Object.assign({},S.templates.ana),S.templates.mery.ripple={color:`#e6e6e6`,radius:50,rect:null},S.templates.mery.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#686868" rx="50" ry="50"></rect><rect x="0" y="${e.h/2-15}" height="30" width="${e.w}" fill="#039BE5" stroke-width="1"></rect>`},S.templates.mery.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,S.templates.mery.img_0=function(e,t,n,r,i){var a=e.w/2,o=e.h/2,s=24,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.mery.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2-30}" text-anchor="middle"></text>`,e.w-30,1)},S.templates.mery.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2+40}" text-anchor="middle"></text>`,e.w-30,1)},S.templates.mery.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h/2})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},S.templates.polina=Object.assign({},S.templates.ana),S.templates.polina.size=[300,80],S.templates.polina.padding=[80,15,30,15],S.templates.polina.ripple={color:`#e6e6e6`,radius:40,rect:null},S.templates.polina.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="40" ry="40"></rect>`},S.templates.polina.img_0=`<clipPath id="{randId}"><circle cx="40" cy="40" r="35"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="0" y="0" width="80" height="80"></image>`,S.templates.polina.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="80" y="30" text-anchor="start"></text>`,e.w-90,1)},S.templates.polina.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="80" y="55" text-anchor="start"></text>`,e.w-90,1)},S.templates.polina.link=`<path stroke="#686868" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,S.templates.polina.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-15},33)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="0" cy="7" r="2" fill="#ffffff"></circle><circle cx="0" cy="14" r="2" fill="#ffffff"></circle></g>`},S.templates.mila=Object.assign({},S.templates.ana),S.templates.mila.padding=[60,15,120,15],S.templates.mila.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></rect><rect x="-5" y="${e.h-50}" height="30" width="${e.w+10}" fill="#ffffff" stroke-width="1" stroke="#039BE5"></rect><line x1="-5" x2="0" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/><line x1="${e.w+5}" x2="${e.w}" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/>`},S.templates.mila.img_0=function(e,t,n,r,i){return`<image preserveAspectRatio="xMidYMid slice" xlink:href="${i}" x="20" y="${e.h-115}" width="64" height="64"></image>`},S.templates.mila.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h-28}" text-anchor="middle"></text>`,e.w-10,1)},S.templates.mila.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-10})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},S.templates.diva=Object.assign({},S.templates.ana),S.templates.diva.size=[200,170],S.templates.diva.padding=[160,10,30,10],S.templates.diva.node=function(e,t,n,r){return`<rect x="0" y="80" height="${e.h-80}" width="${e.w}" fill="#039BE5"></rect><circle cx="${e.w/2}" cy="50" fill="#ffffff" r="50" stroke="#039BE5" stroke-width="2"></circle>`},S.templates.diva.img_0=function(e,t,n,r,i){var a=e.w/2,o=50,s=45,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.diva.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="125" text-anchor="middle"></text>`,e.w-15,1)},S.templates.diva.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w/2}" y="145" text-anchor="middle"></text>`,e.w-15,1)},S.templates.diva.pointer=`<g data-pointer="pointer" transform="matrix(0,0,0,0,100,100)"><radialGradient id="pointerGradient"><stop stop-color="#ffffff" offset="0" /><stop stop-color="#039BE5" offset="1" /></radialGradient><circle cx="16" cy="16" r="16" stroke-width="1" stroke="#acacac" fill="url(#pointerGradient)"></circle></g>`,S.templates.diva.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-30}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},S.templates.luba=Object.assign({},S.templates.ana),S.templates.luba.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;background-color: #2E2E2E;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,S.templates.luba.defs=`<linearGradient id="{randId}" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#646464;stop-opacity:1" /><stop offset="100%" style="stop-color:#363636;stop-opacity:1" /></linearGradient>`,S.templates.luba.node=function(e,t,n,r){return`<rect fill="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},S.templates.luba.padding=[70,10,60,10],S.templates.luba.img_0=function(e,t,n,r,i){var a=50,o=25,s=40,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.luba.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#aeaeae"></circle><circle cx="7" cy="0" r="2" fill="#aeaeae"></circle><circle cx="14" cy="0" r="2" fill="#aeaeae"></circle></g>`},S.templates.luba.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#aeaeae" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-15,1)},S.templates.luba.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 14px;" fill="#aeaeae" x="${e.w-10}" y="30" text-anchor="end"></text>`,e.w-110,1)},S.templates.luba.plus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line><line x1="18" y1="4" x2="18" y2="32" stroke-width="1" stroke="#aeaeae"></line>`,S.templates.luba.minus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line>`,S.templates.luba.expandCollapseSize=36,S.templates.isla=Object.assign({},S.templates.ana),S.templates.isla.defs=`<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="isla-shadow"><feOffset dx="0" dy="4" in="SourceAlpha" result="shadowOffsetOuter1" /><feGaussianBlur stdDeviation="10" in="shadowOffsetOuter1" result="shadowBlurOuter1" /><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0" in="shadowBlurOuter1" type="matrix" result="shadowMatrixOuter1" /><feMerge><feMergeNode in="shadowMatrixOuter1" /><feMergeNode in="SourceGraphic" /></feMerge></filter>`,S.templates.isla.size=[180,120],S.templates.isla.padding=[70,1,60,1],S.templates.isla.node=function(e,t,n,r){return`<rect filter="url(#isla-shadow)" x="0" y="20" rx="10" ry="10" height="${e.h-20}" width="${e.w}" fill="#FFF" stroke-width="1" stroke="#039BE5" ></rect><rect x="25" y="${e.h-45}" rx="10" ry="10" height="20" width="${e.w-50}" fill="#039BE5" stroke-width="3" stroke="#039BE5"></rect><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect><circle stroke="#FFCA28" stroke-width="3" fill="none" cx="${e.w/2}" cy="12" r="8"></circle><path d="M${e.w/2-15},34 C${e.w/2-15},17 ${e.w/2+15},17 ${e.w/2+15},34" stroke="#FFCA28" stroke-width="3" fill="none"></path>`},S.templates.isla.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 12px;" fill="#fff" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-60,1)},S.templates.isla.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 13px;" fill="#039BE5" x="${e.w/2}" y="64" text-anchor="middle"></text>`,e.w-20,1)},S.templates.isla.img_0=``,S.templates.isla.img_0=function(e,t,n,r,i){var a=S.randomId();return`<clipPath id="${a}"><rect filter="url(#isla-shadow)" fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="${e.w/2-20}" y="0" width="40" height="40"></image>`},S.templates.isla.minus=`<circle cx="15" cy="15" r="15" fill="#F57C00" stroke="#F57C00" stroke-width="1"></circle><line x1="8" y1="15" x2="22" y2="15" stroke-width="1" stroke="#ffffff"></line>`,S.templates.isla.plus=`<circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line>`,S.templates.isla.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w/2-7},45)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},S.templates.isla.ripple={radius:0,color:`#F57C00`,rect:{x:0,y:20,width:180,height:100}},S.templates.deborah=Object.assign({},S.templates.polina),S.templates.deborah.size=[150,150],S.templates.deborah.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="15" ry="15"></rect>`},S.templates.deborah.img_0=function(e,t,n,r,i){var a=S.randomId();return`<clipPath id="${a}"><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="5" y="5" rx="15" ry="15" width="${e.w-10}" height="${e.h-10}"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="5" y="5" width="${e.w-10}" height="${e.h-10}"></image><rect x="3" y="5" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect><rect x="3" y="${e.h-35}" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect>`},S.templates.deborah.field_0=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="15" y="25" text-anchor="start"></text>`,e.w-25,1)},S.templates.deborah.field_1=function(e,t,n,r,i){return S.wrapText(i,`<text style="font-size: 11px;" fill="#ffffff" x="15" y="${e.h-15}" text-anchor="start"></text>`,e.w-45,1)},S.templates.deborah.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-20})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},S.templates.subLevel=Object.assign({},S.templates.base),S.templates.subLevel.size=[0,0],S.templates.subLevel.node=``,S.templates.subLevel.plus=``,S.templates.subLevel.minus=``,S.templates.subLevel.nodeMenuButton=``,S.templates.group_dotted_lines=Object.assign({},S.templates.group),S.templates.group_dotted_lines.size=[250,120],S.templates.group_dotted_lines.padding=[50,20,35,20],S.templates.group_dotted_lines.link=`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,S.templates.group_dotted_lines.node=`<rect rx="5" ry="5" x="0" y="0" height="{h}" width="{w}" fill="#e5e5e5" stroke-width="0"></rect>`,S.templates.group_dotted_lines.nodeGroupDottedCloseButton=`<g transform="matrix(1,0,0,1,{ew},0)"><circle cx="0.5" cy="21.5" r="12" fill="#F57C00"></circle>`+S.icon.close(25,25,`#fff`,-13,8)+`</g>`,S.templates.group_dotted_lines.field_0=`<text data-width="230" style="font-size: 18px;" fill="#F57C00" x="20" y="30" text-anchor="start">Dotted Lines</text>`,S.templates.group_dotted_lines.field_1=``,S.templates.group_dotted_lines.img_0=``,S.templates.group_dotted_lines.ripple.radius=5,S.templates.group_dotted_lines.min=Object.assign({},S.templates.olivia),S.templates.group_dotted_lines.min.nodeGroupDottedOpenButton=`<g transform="matrix(1,0,0,1,220,10)"><rect x="0" y="0" width="22" height="22" stroke="#aeaeae" stroke-width="1" fill="#ffffff" rx="5" ry="5"></rect><text x="11" y="16" text-anchor="middle" style="font-size: 14px;" fill="#2A292E">{children-total-count}</text><rect x="0" y="0" width="22" height="22" style="opacity: 0" stroke="#aeaeae" stroke-width="1" fill="red" rx="5" ry="5"></rect></g>`,S.templates.clara=Object.assign({},S.templates.ana),S.templates.clara.size=[180,210],S.templates.clara.padding=[80,7,7,7],S.templates.clara.img_0=function(e,t,n,r,i){var a=50,o=30,s=40;e.stChildren.length||(s=60,a=e.w/2,o=70);var c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.clara.treeListMaxHeight=387,S.templates.clara.field_0=function(e,t,n,r,i){var a=65,o=e.w/2,s=`middle`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=160,c=e.w-20),S.wrapText(i,`<text style="font-size: 20px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},S.templates.clara.field_1=function(e,t,n,r,i){var a=35,o=e.w-15,s=`end`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=180,c=e.w-20),S.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},S.templates.clara.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-35}, 2)">
|
|
425
|
-
<rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
|
|
426
|
-
<circle cy="13" cx="6" r="2" fill="#fff"></circle>
|
|
427
|
-
<circle cy="13" cx="13" r="2" fill="#fff"></circle>
|
|
428
|
-
<circle cy="13" cx="20" r="2" fill="#fff"></circle>
|
|
429
|
-
</g>`},S.templates.clara.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},S.templates.treeListItem=Object.assign({},S.templates.ana),S.templates.treeListItem.size=[350,60],S.templates.treeListItem.field_0=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return S.wrapText(i,`<text fill="${o}" x="${a}" y="27" style="font-size:16px;"></text>`,e.w-a-70,1)},S.templates.treeListItem.field_1=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return S.wrapText(i,`<text fill="${o}" x="${a}" y="47" style="font-size:12px;"></text>`,e.w-a-70,1)},S.templates.treeListItem.img_0=function(e,t,n,r,i){var a=e.w-55,o=e.h/2,s=e.h/2-4,c=S.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},S.templates.treeListItem.expandCollapseSize=24,S.templates.treeListItem.plus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><text x="6" style="font-size: 10px;" fill="${o}" y="15.5" text-anchor="end">${e.deepCollapsedChildCount}</text><path fill="${o}" d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},S.templates.treeListItem.minus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><path fill="${o}" d="M7.42,8.59L12,13.17L16.59,8.59L18,10L12,16L6,10L7.42,8.59Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},S.templates.treeListItem.nodeMenuButton=function(e,t,n,r){var i=r.mode==`dark`?`#ccc`:`#757575`;return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-36}, ${e.h/2-13})">
|
|
430
|
-
<rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
|
|
431
|
-
<circle cx="13" cy="6" r="2" fill="${i}"></circle>
|
|
432
|
-
<circle cx="13" cy="13" r="2" fill="${i}"></circle>
|
|
433
|
-
<circle cx="13" cy="20" r="2" fill="${i}"></circle>
|
|
434
|
-
</g>`},S.templates.treeListItem.node=function(e,t,n,r){var i=``,a=`#FFFFFF`;if(e.isTreeListItem&&!e.stParent||e.isTreeListItem&&e.stParent&&e.stParent.stChildren[0]!=e){var o=`#E0E0E0`;r.mode==`dark`&&(o=`#444444`),i=`<line stroke="${o}" stroke-width="1" x1="0" x2="${e.w}" y1="0" y2="0"></line>`}return r.mode==`dark`&&(a=`#252526`),`<rect fill="${a}" x="0" y="0" height="${e.h}" width="${e.w}" rx="0" ry="0" ></rect>${i}`},S.ui={_defsIds:{},defs:function(e){var t=``;for(var n in S.templates){var r=S.templates[n];r.defs&&(S.ui._defsIds[n]=S.randomId(),t+=r.defs.replaceAll(`{randId}`,S.ui._defsIds[n]))}return`<defs>`+t+e+`</defs>`},lonely:function(e){return!e.nodes||!e.nodes.length?S.IT_IS_LONELY_HERE.replace(`{link}`,S.RES.IT_IS_LONELY_HERE_LINK):``},pointer:function(e,t,n){if(t===S.action.exporting)return``;var r=S.t(e.template,!1,n).pointer;return r||=``,r},aiButton:function(e){return e.enableAI?`<div data-boc-ai-button class="boc-ai-button">AI</div>`:``},node:function(e,t,n,r,i,a,o,s,c,l,u){var d=S.t(e.templateName,e.min,c),f=``;typeof d.node==`function`?f=d.node(e,t,d,r):S.isNEU(d.node)||(f=d.node,f&&=f.replaceAll(`{w}`,e.w).replaceAll(`{h}`,e.h)),d.defs&&(f=f.replaceAll(`{randId}`,S.ui._defsIds[e.templateName])),o??=r.nodeBinding;var p={node:e,data:t};for(var m in o){var h=o[m],g;t&&(g=t[h]),g??=e[h],p.element=d[m],p.value=g;var _=!1;typeof p.element==`function`&&(_=!0,p.element=p.element(e,t,d,r,p.value));var v=S._lblIsImg(r,m);if(p.name=h,p.field=m,S.events.publish(`field`,[l,p])!==!1&&p.value!=null&&p.value!=null&&p.element!=null){if(_)f+=p.element;else if(!v||v&&!S.isNEU(p.value)){if(!v&&typeof p.value==`string`){var y=p.element;y&&=y.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2),p.value=S.wrapText(p.value,y)}var b=p.element.replace(`{val}`,p.value);b=b.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2).replaceAll(`{randId}`,S.randomId()).replaceAll(`{randId2}`,S.randomId()),f+=b}}}var x=S._getPosition(n,e,i,a),C=`node`;Array.isArray(e.tags)&&e.tags.length&&(C+=` `+e.tags.join(` `)),e.layout&&(C+=` tree-layout`),u&&(C+=` treelist-pinned`);var w=``;e.lcn&&(w=`lcn="`+e.lcn+`"`);var T=S.nodeOpenTag.replace(`{lcn}`,w).replace(`{id}`,e.id).replace(`{class}`,C).replace(`{sl}`,e.sl).replace(`{level}`,e.level).replace(`{x}`,x.x).replace(`{y}`,x.y),E=S._getOpacity(n,e);return T=T.replace(`{opacity}`,E),f+=S.ui.nodeBtns(r,e,t,s,d,l),f=T+f+S.grCloseTag,f},nodeBtns:function(e,t,n,r,i,a){var o=``;return e.nodeMenu!=null&&!t.isSplit&&r!==S.action.exporting&&(typeof i.nodeMenuButton==`function`?o+=i.nodeMenuButton(t,n,i,e):S.isNEU(i.nodeMenuButton)||(o+=i.nodeMenuButton.replace(`{id}`,t.id).replace(`{cw}`,t.w/2).replace(`{ch}`,t.h/2).replace(`{ew}`,t.w-(t.padding?t.padding[1]:0)).replace(`{eh}`,t.h-(t.padding?t.padding[2]:0)))),o&&=`<g style="cursor:pointer;" ${S.attr.control_node_menu_id}="${t.id}">${o}</g>`,e.nodeCircleMenu!=null&&!t.isSplit&&r!==S.action.exporting&&(S.isNEU(i.nodeCircleMenuButton)||(o+=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,`+i.nodeCircleMenuButton.x+`,`+i.nodeCircleMenuButton.y+`)" `+S.attr.control_node_circle_menu_id+`="`+t.id+`"><circle cx="0" cy="0" fill="`+i.nodeCircleMenuButton.color+`" r="`+i.nodeCircleMenuButton.radius+`" stroke-width="1" stroke="`+i.nodeCircleMenuButton.stroke+`"></circle><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="-6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="-6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="0" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="0" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line></g>`)),o},expandCollapseBtn:function(e,t,n,r,i,a,o){var s=``;if(a!==S.action.exporting&&!t.isSplit){var c=i[t.lcn?t.lcn:`base`],l=S.t(t.templateName,t.min,o);if(t.childrenIds.length>0){if(t.hasPartners){for(var u=!1,d=0;d<t.childrenIds.length;d++){var f=e.getNode(t.childrenIds[d]);f&&!f.parentPartner&&!f.isPartner&&(u=!0)}if(!u)return``}var p=S._getDefailtPositionForExpandCollpase(c,t),m={x:p.x+t.x-l.expandCollapseSize/2,y:p.y+t.y-l.expandCollapseSize/2},h=e.getCollapsedIds(t);h.length?(typeof l.plus==`function`?(s+=S.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.plus(t,n,l,r,p)):(s+=S.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.plus),s+=S.grCloseTag):(typeof l.minus==`function`?(s+=S.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.minus(t,n,l,r,p)):(s+=S.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.minus),s+=S.grCloseTag),(h.length&&typeof l.plus!=`function`||!h.length&&typeof l.minus!=`function`)&&(s.indexOf(`{collapsed-children-count}`)!=-1&&(s=s.replace(`{collapsed-children-count}`,t.collapsedChildCount)),s.indexOf(`{collapsed-children-total-count}`)!=-1&&(s=s.replace(`{collapsed-children-total-count}`,t.deepCollapsedChildCount)),s.indexOf(`{children-count}`)!=-1&&(s=s.replace(`{children-count}`,t.childCount)),s.indexOf(`{children-total-count}`)!=-1&&(s=s.replace(`{children-total-count}`,t.deepChildCount)))}e._nodeHasHiddenParent(t)&&(s+=S.upOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.up,s+=S.grCloseTag)}var g={html:s,node:t};return S.events.publish(`renderbuttons`,[e,g]),g.html},link:function(e,t,n,r,i,a,o){var s=e.lcn?e.lcn:`base`,c=t._layoutConfigs[s],l=S.t(e.templateName,e.min,n),u=[],d=[],f=0,p=c.levelSeparation/2;e.layout>0&&(p=c.mixedHierarchyNodesSeparation/2);var m=0,h=S.getRootOf(e).id,g=r[h][e.sl],_=void 0;if(e.hasPartners){_={ids:[],indexes:{},ppnodes:{},lastLeft:null,firstRight:null,maxSidePartnersWithChildren:0,rightIds:[],leftIds:[],partnerChildrenSplitSeparation:t.config.partnerChildrenSplitSeparation};for(var v=0;v<e.children.length;v++){var y=e.children[v];y.parentPartner?(_.ppnodes[y.id]=y.parentPartner,_.ids.push(y.id),y.parentPartner.isPartner==1?(_.rightIds.indexOf(y.parentPartner.id)==-1&&_.rightIds.push(y.parentPartner.id),_.indexes[y.id]=_.rightIds.indexOf(y.parentPartner.id),_.firstRight||=y):y.parentPartner.isPartner==2&&(_.leftIds.indexOf(y.parentPartner.id)==-1&&_.leftIds.push(y.parentPartner.id),_.indexes[y.id]=_.leftIds.indexOf(y.parentPartner.id),_.lastLeft=y)):y.isPartner||(_.lastLeft=y,_.firstRight||=y)}_.maxSidePartnersWithChildren=Math.max(_.leftIds.length,_.rightIds.length),m=_.maxSidePartnersWithChildren==0?t.config.minPartnerSeparation/2:t.config.minPartnerSeparation/2+_.partnerChildrenSplitSeparation*_.maxSidePartnersWithChildren+_.partnerChildrenSplitSeparation/2}for(var v=0;v<e.children.length;v++){var y=e.children[v],b=r[h][y.sl],x={xa:0,ya:0,xb:0,yb:0,xc:0,yc:0,xd:0,yd:0,x:0,y:0,rotate:0};l=S.t(y.templateName,y.min,n);var C=l.link;if(y.isChildOfPartner)switch(c.orientation){case S.orientation.top:case S.orientation.top_left:var w=y.layout==1?void 0:b.minY-(b.minY-g.maxY)/2;x=S.ui._linkTopToBottom(y.parentPartner,y,l,p,w,t);break;case S.orientation.bottom:case S.orientation.bottom_left:var w=y.layout==1?void 0:b.maxY-(b.maxY-g.minY)/2;x=S.ui._linkBottomToTop(y.parentPartner,y,l,p,w,t);break;case S.orientation.right:case S.orientation.right_top:var w=y.layout==1?void 0:b.maxX-(b.maxX-g.minX)/2;x=S.ui._linkRightToLeft(y.parentPartner,y,l,p,w,t);break;case S.orientation.left:case S.orientation.left_top:var w=y.layout==1?void 0:b.minX-(b.minX-g.maxX)/2;x=S.ui._linkLeftToRight(y.parentPartner,y,l,p,w,t);break}else if(_&&_.ids.indexOf(y.id)!=-1)switch(c.orientation){case S.orientation.top:case S.orientation.top_left:x=S.ui._linkPpTop(_,e,y,b,g,l);break;case S.orientation.bottom:case S.orientation.bottom_left:x=S.ui._linkPpBottom(_,e,y,b,g,l);break;case S.orientation.right:case S.orientation.right_top:x=S.ui._linkPpRight(_,e,y,b,g,l);break;case S.orientation.left:case S.orientation.left_top:x=S.ui._linkPpLeft(_,e,y,b,g,l);break}else{var T=y.isAssistant&&y.rightNeighbor&&y.rightNeighbor.isAssistant&&y.parent==y.rightNeighbor.parent,E=y.isAssistant&&y.leftNeighbor&&y.leftNeighbor.isAssistant&&y.parent==y.leftNeighbor.parent;if((T||y.layout>1)&&y.rightNeighbor&&y.rightNeighbor.isSplit)switch(c.orientation){case S.orientation.top:case S.orientation.top_left:x=S.ui._linkRightToLeft(y.rightNeighbor,y,l,p);break;case S.orientation.bottom:case S.orientation.bottom_left:x=S.ui._linkRightToLeft(y.rightNeighbor,y,l,p);break;case S.orientation.right:case S.orientation.right_top:x=S.ui._linkBottomToTop(y.rightNeighbor,y,l,p);break;case S.orientation.left:case S.orientation.left_top:x=S.ui._linkBottomToTop(y.rightNeighbor,y,l,p);break}else if((E||y.layout>1)&&y.leftNeighbor&&y.leftNeighbor.isSplit)switch(c.orientation){case S.orientation.top:case S.orientation.top_left:x=S.ui._linkLeftToRight(y.leftNeighbor,y,l,p,t);break;case S.orientation.bottom:case S.orientation.bottom_left:x=S.ui._linkLeftToRight(y.leftNeighbor,y,l,p,t);break;case S.orientation.right:case S.orientation.right_top:x=S.ui._linkTopToBottom(y.leftNeighbor,y,l,p,t);break;case S.orientation.left:case S.orientation.left_top:x=S.ui._linkTopToBottom(y.leftNeighbor,y,l,p,t);break}else switch(c.orientation){case S.orientation.top:case S.orientation.top_left:if(y.isPartner==1)x=S.ui._linkLeftToRight(e,y,l,m);else if(y.isPartner==2)x=S.ui._linkRightToLeft(e,y,l,m);else{var w=y.layout==1?void 0:b.minY-(b.minY-g.maxY)/2;x=S.ui._linkTopToBottom(e,y,l,p,w,t)}break;case S.orientation.bottom:case S.orientation.bottom_left:if(y.isPartner==1)x=S.ui._linkLeftToRight(e,y,l,m);else if(y.isPartner==2)x=S.ui._linkRightToLeft(e,y,l,m);else{var w=y.layout==1?void 0:b.maxY-(b.maxY-g.minY)/2;x=S.ui._linkBottomToTop(e,y,l,p,w,t)}break;case S.orientation.right:case S.orientation.right_top:if(y.isPartner==1)x=S.ui._linkTopToBottom(e,y,l,m);else if(y.isPartner==2)x=S.ui._linkBottomToTop(e,y,l,m);else{var w=y.layout==1?void 0:b.maxX-(b.maxX-g.minX)/2;x=S.ui._linkRightToLeft(e,y,l,p,w,t)}break;case S.orientation.left:case S.orientation.left_top:if(y.isPartner==1)x=S.ui._linkTopToBottom(e,y,l,m);else if(y.isPartner==2)x=S.ui._linkBottomToTop(e,y,l,m);else{var w=y.layout==1?void 0:b.minX-(b.minX-g.maxX)/2;x=S.ui._linkLeftToRight(e,y,l,p,w,t)}break}}var D,O=S.ui._draggableLinkPath(t,e,y,x,p,c.orientation);if(O)D=O,C=C.replaceAll(`{rounded}`,O).replaceAll(`{edge}`,O).replaceAll(`{curve}`,D);else if(C.indexOf(`{rounded}`)!=-1)if(x.xa==x.xb&&x.xa==x.xc&&x.xa==x.xd||x.ya==x.yb&&x.ya==x.yc&&x.ya==x.yd)D=`M`+x.xa+`,`+x.ya+` L`+x.xd+`,`+x.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(x.xa-x.xd)<=S.LINK_ROUNDED_CORNERS&&Math.abs(x.xa-x.xc)<=S.LINK_ROUNDED_CORNERS&&Math.abs(x.xa-x.xb)<=S.LINK_ROUNDED_CORNERS)D=`M`+x.xa+`,`+x.ya+` L`+x.xa+`,`+x.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(x.ya-x.yd)<=S.LINK_ROUNDED_CORNERS&&Math.abs(x.ya-x.yc)<=S.LINK_ROUNDED_CORNERS&&Math.abs(x.ya-x.yb)<=S.LINK_ROUNDED_CORNERS)D=`M`+x.xa+`,`+x.ya+` L`+x.xd+`,`+x.ya,C=C.replaceAll(`{rounded}`,D);else{var k=S.ui._roundedEdge(x.xa,x.ya,x.xb,x.yb,x.xc,x.yc),A=S.ui._roundedEdge(x.xb,x.yb,x.xc,x.yc,x.xd,x.yd);D=`M`+k.x1+`,`+k.y1+` `+k.x2+`,`+k.y2+` Q`+k.qx1+`,`+k.qy1+` `+k.qx2+`,`+k.qy2+` L`+A.x2+`,`+A.y2+` Q`+A.qx1+`,`+A.qy1+` `+A.qx2+`,`+A.qy2+` L`+A.x3+`,`+A.y3,C=C.replaceAll(`{rounded}`,D)}else C.indexOf(`{edge}`)==-1?C.indexOf(`{curve}`)==-1?(D=C.replaceAll(`{xa}`,x.xa).replaceAll(`{ya}`,x.ya).replaceAll(`{xb}`,x.xb).replaceAll(`{yb}`,x.yb).replaceAll(`{xc}`,x.xc).replaceAll(`{yc}`,x.yc).replaceAll(`{xd}`,x.xd).replaceAll(`{yd}`,x.yd),C=D):(D=`M`+x.xa+`,`+x.ya+` C`+x.xb+`,`+x.yb+` `+x.xc+`,`+x.yc+` `+x.xd+`,`+x.yd,C=C.replaceAll(`{curve}`,D)):(D=`M`+x.xa+`,`+x.ya+` `+x.xb+`,`+x.yb+` `+x.xc+`,`+x.yc+` L`+x.xd+`,`+x.yd,C=C.replaceAll(`{edge}`,D));u.push(S.linkOpenTag.replaceAll(`{id}`,e.id).replaceAll(`{class}`,`link `+y.tags.join(` `)).replaceAll(`{child-id}`,y.id));var j={node:e,cnode:y,p:x,html:C,action:a};S.events.publish(`render-link`,[t,j]),u.push(j.html),o&&d.push({id:e.id,childId:y.id,html:j.html});var M=``;for(var N in t.config.linkBinding){var P=t.config.linkBinding[N],F=t._get(y.id);F&&(j.value=F[P],j.element=l[N],j.name=P,S.events.publish(`label`,[t,j])!==!1&&!S.isNEU(j.value)&&!S.isNEU(j.element)&&(M+=j.element.replace(`{val}`,j.value)))}if(M!=``){var I=x.x,L=x.y;y.movey!=null&&(L+=y.movey),M=S.linkFieldsOpenTag.replace(`{x}`,I).replace(`{y}`,L).replace(`{rotate}`,f)+M+S.grCloseTag,u.push(M)}u.push(S.grCloseTag)}return o?d:u.join(``)},svg:function(e,t,n,r,i,a){return S.t(r.template,!1,a).svg.replace(`{w}`,e).replace(`{h}`,t).replace(`{viewBox}`,n).replace(`{randId}`,S.ui._defsIds[r.template]).replace(`{mode}`,r.mode).replace(`{template}`,r.template).replace(`{content}`,function(){return i})},menuButton:function(e){return e.menu==null?``:S.t(e.template,!1).menuButton.replaceAll(`{p}`,e.padding)},_roundedEdge:function(e,t,n,r,i,a){var o=S.LINK_ROUNDED_CORNERS,s,c,l,u=0;return e==n&&e==i||t==r&&t==a?(s=l=n,c=u=r):(e!=i&&n==i&&(s=l=n,c=r,t<a?u=r+o:t>a&&(u=r-o)),e<i&&n==i?n-=o:e>i&&n==i&&(n+=o),t!=a&&r==a&&(s=n,c=u=r,e<i?l=n+o:e>i&&(l=n-o)),t<a&&r==a?r-=o:t>a&&r==a&&(r+=o)),{x1:e,y1:t,x2:n,y2:r,x3:i,y3:a,qx1:s,qy1:c,qx2:l,qy2:u}},_linkTopToBottom:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+e.h+n.linkAdjuster.toY,f=u=t.x+t.w/2+n.linkAdjuster.fromX,p=t.y+n.linkAdjuster.fromY,c=o,l=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y+e.rightNeighbor.h+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?s+r:i??p-r,m=u,h=S.isNEU(t.parentPartner)?d+16:d;var _={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&S._addConnectorLines(a._connectorLines,_),_},_linkBottomToTop:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+n.linkAdjuster.toY,f=u=t.x+t.w/2+n.linkAdjuster.fromX,p=t.y+t.h+n.linkAdjuster.fromY,c=o,l=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?s-r:i??p+r,m=u,h=d-14;var _={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&S._addConnectorLines(a._connectorLines,_),_},_linkRightToLeft:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;o=e.x+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,f=t.x+t.w+n.linkAdjuster.fromX,p=d=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=u=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?f:t.templateName==`split`?o-r:i??f+r,m=u-16,h=d,g=90;var _={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&S._addConnectorLines(a._connectorLines,_),_},_linkLeftToRight:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;o=e.x+e.w+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,f=t.x+n.linkAdjuster.fromX,p=d=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=u=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x+e.rightNeighbor.w+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?f:t.templateName==`split`?o+r:i??f-r,m=u+14,h=d,g=270;var _={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&S._addConnectorLines(a._connectorLines,_),_},_linkPpTop:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.minY-(r.minY-i.maxY)/2,l=(r.minY-i.maxY)/e.maxSidePartnersWithChildren/4,u=S.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,S.ui._linkTopToBottom({x:d,y:s,w:0,h:0},n,a,0,c)},_linkPpBottom:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.maxY-(r.maxY-i.minY)/2,l=(r.maxY-i.minY)/e.maxSidePartnersWithChildren/4,u=S.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,S.ui._linkBottomToTop({x:d,y:s,w:0,h:0},n,a,0,c)},_linkPpLeft:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.minX-(r.minX-i.maxX)/2,c=(r.minX-i.maxX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,u=S.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,S.ui._linkLeftToRight({x:l,y:d,w:0,h:0},n,a,0,s)},_linkPpRight:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.maxX-(r.maxX-i.minX)/2,c=(r.maxX-i.minX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,u=S.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,S.ui._linkRightToLeft({x:l,y:d,w:0,h:0},n,a,0,s)},__linkPpBottomTop:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.x-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.x+e.lastLeft.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.x+a.w+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.x+e.firstRight.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{x:o,mid:r}},__linkPpLeftRight:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.y-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.y+e.lastLeft.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.y+a.h+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.y+e.firstRight.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{y:o,mid:r}},_draggableLinkPath:function(e,t,n,r,i,a){if(n.isSubLevel||t.isSubLevel||n.leftNeighbor&&n.leftNeighbor.isSplit||n.rightNeighbor&&n.rightNeighbor.isSplit||n.isPartner||n.isAssistant)return null;if(S._isMoved(n)&&!S._isMoved(t)){var o,s,c=[];switch(a){case S.orientation.top:case S.orientation.top_left:if(r.yb+i/2<r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case S.orientation.bottom:case S.orientation.bottom_left:if(r.yb-i/2>r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case S.orientation.right:case S.orientation.right_top:if(r.xb-i/2>r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case S.orientation.left:case S.orientation.left_top:if(r.xb+i/2<r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}switch(a){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:var c=[];c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return S.roundPathCorners(c,S.LINK_ROUNDED_CORNERS,!1)}else if(!S._isMoved(n)&&S._isMoved(t)){var o,s,l=!1,c=[];switch(a){case S.orientation.top:case S.orientation.top_left:if(r.ya+i/2>r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i;else if(r.yb+i/2<r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case S.orientation.bottom:case S.orientation.bottom_left:if(r.ya-i/2<r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i;else if(r.yb-i/2>r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case S.orientation.right:case S.orientation.right_top:if(r.xa-i/2<r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i;else if(r.xb-i/2>r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case S.orientation.left:case S.orientation.left_top:if(r.xa+i/2>r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i;else if(r.xb+i/2<r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}if(l)switch(a){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yc]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,r.xc,s]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break}else switch(a){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return S.roundPathCorners(c,S.LINK_ROUNDED_CORNERS,!1)}else if(S._isMoved(n)&&S._isMoved(t)){var c=[];switch(a){case S.orientation.top:case S.orientation.top_left:if(r.ya+i>r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i,u=n.y-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,u]),c.push([`L`,r.xc,u]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y+t.h+i]),c.push([`L`,r.xc,t.y+t.h+i]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.bottom:case S.orientation.bottom_left:if(r.ya-i<r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i,u=n.y+n.h+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,u]),c.push([`L`,r.xc,u]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y-i]),c.push([`L`,r.xc,t.y-i]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.right:case S.orientation.right_top:if(r.xa-i<r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i,d=n.x+n.w+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,d,s]),c.push([`L`,d,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x-i,r.ya]),c.push([`L`,t.x-i,r.yc]),c.push([`L`,r.xd,r.yd]);break;case S.orientation.left:case S.orientation.left_top:if(r.xa+i>r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i,d=n.x-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,d,s]),c.push([`L`,d,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x+t.w+i,r.ya]),c.push([`L`,t.x+t.w+i,r.yc]),c.push([`L`,r.xd,r.yd]);break}return S.roundPathCorners(c,S.LINK_ROUNDED_CORNERS,!1)}return null}},S===void 0&&(S={}),S._validateConfig=function(e){if(!e)console.error(`config is not defined`);else return!0;return!1},S._arrayContains=function(e,t){if(e&&Array.isArray(e)){for(var n=e.length;n--;)if(e[n]===t)return!0}return!1},S._interceptions=function(e,t){if(!e||!t)return[];var n=[];if(Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)e[r]==t[i]&&n.push(e[r]);else if(Array.isArray(e)&&!Array.isArray(t))for(var r in e)for(var i in t)e[r]==i&&n.push(e[r]);else if(!Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)r==t[i]&&n.push(t[i]);return n},S._getTags=function(e){return e.tags&&!Array.isArray(e.tags)?e.tags.split(`,`):e.tags&&Array.isArray(e.tags)?e.tags:[]},S._centerPointInPercent=function(e,t,n){var r=e.getBoundingClientRect(),i=t-r.left,a=n-r.top;return[i/(r.width/100),a/(r.height/100)]},S._trim=function(e){return e.replace(/^\s+|\s+$/g,``)},S._getTransform=function(e){var t=e.getAttribute(`transform`);return t=t.replace(`matrix`,``).replace(`(`,``).replace(`)`,``),S._browser().msie&&(t=t.replace(/ /g,`,`)),t=S._trim(t),t=`[`+t+`]`,t=JSON.parse(t),t},S.getScale=function(e,t,n,r,i,a,o,s){var c=1;if(!e&&(r===S.match.boundary||r===S.match.boundaryIfOutside)){var l=t/o,u=n/s;c=l>u?u:l,r===S.match.boundaryIfOutside&&c>1&&(c=1)}else if(!e&&r===S.match.width)c=t/o;else if(!e&&r===S.match.height)c=n/s;else if(!e)c=r;else{var l=t/e[2],u=n/e[3];c=l>u?u:l}return c&&c>i&&(c=i),c&&c<a&&(c=a),c},S.isObject=function(e){return e&&typeof e==`object`&&!Array.isArray(e)&&e!==null&&e.constructor&&e.constructor.name.toLowerCase()==`object`},S.fileUploadDialog=function(e){var t=document.createElement(`INPUT`);t.setAttribute(`type`,`file`),t.style.display=`none`,t.onchange=function(){var t=this.files[0];e(t)},document.body.appendChild(t),t.click()},S.mergeDeep=function(e,t){if(S.isObject(e)&&S.isObject(t))for(var n in t)S.isObject(t[n])?(e[n]||Object.assign(e,{[n]:{}}),S.mergeDeep(e[n],t[n])):Object.assign(e,{[n]:t[n]});return e},S._lblIsImg=function(e,t){return!!(e.nodeBinding&&typeof t==`string`&&t.indexOf(`img`)!=-1&&e.nodeBinding[t])},S._getFistImgField=function(e){if(e.nodeBinding){for(var t in e.nodeBinding)if(t.indexOf(`img`)!=-1)return e.nodeBinding[t]}return!1},S._fieldIsImg=function(e,t){if(e.nodeBinding){for(var n in e.nodeBinding)if(e.nodeBinding[n]==t)return S._lblIsImg(e,n)}return!1},S._guid=function(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return e()+e()+`-`+e()+`-`+e()+`-`+e()+`-`+e()+e()+e()},S.htmlRipple=function(e){var t=document.createElement(`style`);t.type=`text/css`,t.innerHTML=` .boc-ripple-container {position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .boc-ripple-container span {transform: scale(0);border-radius:100%;position:absolute;opacity:0.75;background-color:#fff;animation: boc-ripple 1000ms; }@-moz-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-webkit-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-o-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}`,document.head.appendChild(t);var n=function(e,t){var n=void 0;return function(){var r,i=this;return r=arguments,clearTimeout(n),n=setTimeout(function(){return e.apply(i,r)},t)}},r=function(t){var n,r=this,i=document.createElement(`span`),a=r.offsetWidth,o,s,c;return n=r.getBoundingClientRect(),s=t.pageX-n.left-a/2,c=t.pageY-n.top-a/2,o=`top:`+c+`px; left: `+s+`px; height: `+a+`px; width: `+a+`px;`,e.rippleContainer.appendChild(i),i.setAttribute(`style`,o)},i=function(){for(;this.rippleContainer.firstChild;)this.rippleContainer.removeChild(this.rippleContainer.firstChild)},a=document.createElement(`div`);a.className=`boc-ripple-container`,e.addEventListener(`mousedown`,r),e.addEventListener(`mouseup`,n(i,2e3)),e.rippleContainer=a,e.appendChild(a)},S._moveToBoundaryArea=function(e,t,n,r){var i=t.slice(0);t[0]<n.left&&t[0]<n.right&&(i[0]=n.left>n.right?n.right:n.left),t[0]>n.right&&t[0]>n.left&&(i[0]=n.left>n.right?n.left:n.right),t[1]<n.top&&t[1]<n.bottom&&(i[1]=n.top>n.bottom?n.bottom:n.top),t[1]>n.bottom&&t[1]>n.top&&(i[1]=n.top>n.bottom?n.top:n.bottom),t[0]!==i[0]||t[1]!==i[1]?S.animate(e,{viewBox:t},{viewBox:i},300,S.anim.outPow,function(){r&&r()}):r&&r()},S.randomId=function(){return`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4)},S._getClientXY=function(e){if(e.type.indexOf(`touch`)!=-1){if(e.changedTouches.length)return{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}}else return{x:e.clientX,y:e.clientY}},S._getClientTouchesXY=function(e,t){return e.type.indexOf(`touch`)==-1?{x:e.clientX,y:e.clientY}:e.touches.length<t+1?{x:null,y:null}:{x:e.touches[t].clientX,y:e.touches[t].clientY}},S._getOffset=function(e,t){e&&(t.x+=e.offsetLeft,t.y+=e.offsetTop,S._getOffset(e.offsetParent,t))},S._getTopLeft=function(e){var t={x:0,y:0};return S._getOffset(e,t),t},S._getOffsetXY=function(e,t){if(t.type.indexOf(`touch`)!=-1){if(t.touches.length){var n=S._getTopLeft(e);return{x:t.touches[0].pageX-n.x,y:t.touches[0].pageY-n.y}}else if(t.changedTouches.length){var n=S._getTopLeft(e);return isNaN(n.x)||isNaN(n.y)?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.changedTouches[0].pageX-n.x,y:t.changedTouches[0].pageY-n.y}}}else return{x:t.offsetX,y:t.offsetY}},S._pinchMiddlePointInPercent=function(e,t,n,r){var i=S._getTopLeft(e),a=r.touches[0].pageX-i.x,o=r.touches[0].pageY-i.y,s=r.touches[1].pageX-i.x,c=r.touches[1].pageY-i.y;return[((a-s)/2+s)/(t/100),((o-c)/2+c)/(n/100)]},S._browser=function(){var e=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(` OPR/`)>=0,t=typeof InstallTrigger<`u`,n=/constructor/i.test(window.HTMLElement)||(function(e){return e.toString()===`[object SafariRemoteNotification]`})(!window.safari||window.safari!==void 0&&safari.pushNotification),r=!!document.documentMode,i=!r&&!!window.StyleMedia,a=!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime);return{opera:e,firefox:t,safari:n,msie:r,edge:i,chrome:a,blink:(a||e)&&!!window.CSS}},S._menuPosition=function(e,t,n){var r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),a=t.getBoundingClientRect(),o=r.left-i.left,s=r.top-i.top;return r.top+a.height>i.top+i.height&&(s-=a.height),r.left-a.width<i.left&&(o+=a.width),{x:o,y:s}},S._getTemplate=function(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=t[e[r]];if(i&&i.template)return i.template}return n},S._getMin=function(e,t){if(e.tags&&e.tags.length&&t.tags)for(var n=0;n<e.tags.length;n++){var r=t.tags[e.tags[n]];if(r&&r.min===!0)return!0}return t.min},S._getSubLevels=function(e,t){if(e&&e.length)for(var n=0;n<e.length;n++){var r=t[e[n]];if(r&&r.subLevels)return r.subLevels}return 0},S._isHTML=function(e){var t=new DOMParser().parseFromString(e,`text/html`);return Array.from(t.body.childNodes).some(e=>e.nodeType===1)},S._getTestDiv=function(){var e=document.getElementById(`orgchart_js_test_div`);return e||(e=document.createElement(`div`),e.id=`orgchart_js_test_div`,e.style.position=`fixed`,e.style.top=`-10000px`,e.style.left=`-10000px`,document.body.appendChild(e)),e},S._getLabelSize=function(e){var t=S._getTestDiv();return t.innerHTML=`<svg>`+e+`</svg>`,t.querySelector(`text`).getBoundingClientRect()},S.wrapText=function(e,t,n,r){if(n!=null&&r!=null)return S._lineClamp(t,e,n,r);var i=t,a=i.toLowerCase();if(a.indexOf(`<text`)==-1||a.indexOf(S.attr.width)==-1||a.indexOf(`foreignobject`)!=-1||i.indexOf(S.attr.width)==-1||S.ESCAPE_HTML&&typeof str==`string`&&S._isHTML(e))return S._escapeHtml(e);if(!S.ESCAPE_HTML&&S._isHTML(e))return e;var o=S._getTestDiv();i=i.replaceAll(`{cw}`,0),o.innerHTML=`<svg>`+i+`</svg>`;var s=new DOMParser().parseFromString(i,`text/xml`).getElementsByTagName(`text`)[0],c=parseFloat(s.getAttribute(`x`)),l=parseFloat(s.getAttribute(`y`)),u=s.getAttribute(`text-anchor`),n=s.getAttribute(S.attr.width),d=s.getAttribute(S.attr.text_overflow),f=`http://www.w3.org/2000/svg`,p=o.getElementsByTagName(`svg`)[0].getElementsByTagName(`text`)[0],r,m;d||=`ellipsis`;var h=d.split(`-`);if(h.length>1&&(r=parseInt(d.split(`-`)[1]),h.length>2&&h[2]==`ellipsis`&&(m=!0)),!n)return S._escapeHtml(e);if(n=parseFloat(n),c||=0,l||=0,c||(u=`start`),d==`ellipsis`){p.removeChild(p.firstChild),p.textContent=e;for(var g=p.getComputedTextLength(),_=2;g>n;)p.textContent=e.substring(0,e.length-_),p.textContent+=`...`,g=p.getComputedTextLength(),_++;return _>2?`<title>${S._escapeHtml(e)}</title>${p.textContent}`:S._escapeHtml(e)}else if(d.indexOf(`multiline`)!=-1){var v=e.split(` `),y=p.getBBox().height;p.textContent=``;var b=document.createElementNS(f,`tspan`),x=document.createTextNode(v[0]);b.setAttributeNS(null,`x`,c),b.setAttributeNS(null,`y`,l),b.setAttributeNS(null,`text-anchor`,u),b.appendChild(x),p.appendChild(b);for(var _=1,C=1,w=!1,T=1;T<v.length;T++){var E=b.firstChild.data.length;if(b.firstChild.data+=` `+v[T],b.getComputedTextLength()>n){if(b.firstChild.data=b.firstChild.data.slice(0,E),C++,r&&C>r){if(m&&p.children.length==r){var D=p.children[r-1].textContent;p.children[r-1].textContent=D.substring(0,D.length-3)+`...`,w=!0}break}var b=document.createElementNS(f,`tspan`);b.setAttributeNS(null,`x`,c),b.setAttributeNS(null,`y`,l+y*_),b.setAttributeNS(null,`text-anchor`,u),x=document.createTextNode(v[T]),b.appendChild(x),p.appendChild(b),_++}}var O=``;if(p.innerHTML!=null)O=p.innerHTML,p.innerHTML=``;else{for(var k=``,T=p.childNodes.length-1;T>=0;T--)k=XMLSerializer().serializeToString(p.childNodes[T])+k,p.removeChild(p.childNodes[T]);O=k}return w?`<title>${S._escapeHtml(e)}</title>${O}`:O}},S._downloadFile=function(e,t,n,r,i){var a=new Blob([t],{type:e});if(r==1){var o=URL.createObjectURL(a);window.open(o,`_blank`).focus()}else if(navigator.msSaveBlob)navigator.msSaveBlob(a,n);else{var s=document.createElement(`a`);if(s.download!==void 0){var o=URL.createObjectURL(a);s.setAttribute(`href`,o);var c=n;c.toLowerCase().endsWith(i.toLowerCase())||(c=c+`.`+i),s.setAttribute(`download`,c),s.style.visibility=`hidden`,document.body.appendChild(s),s.click(),document.body.removeChild(s)}}},S._getPosition=function(e,t,n,r){var i={x:t.x,y:t.y};if(n!=null&&(i.x=n),r!=null&&(i.y=n),e&&e.length==3){var a=e[0].indexOf(t.id);a!=-1&&e[1][a].transform!=null&&(n??(i.x=e[1][a].transform[4]),r??(i.y=e[1][a].transform[5]))}return i},S._getOpacity=function(e,t){var n=1;if(e&&e.length==3){var r=e[0].indexOf(t.id);r!=-1&&e[1][r].opacity!=null&&(n=e[1][r].opacity)}return n},S.t=function(e,t,n){var r=S.templates[e];r??console.error(`Template "${e}" does not exist!`);var i=null;if(n!=null&&r.scaleLessThen){var a=[];for(var o in r.scaleLessThen){var s=parseFloat(o);n<s&&a.push(s)}if(a.length>0){a.sort(function(e,t){return e-t});var c=r.scaleLessThen[a[0]];for(var l in c)i??=Object.assign({},r),i[l]=c[l]}}return t?i==null?r.min?r.min:r:i.min?i.min:i:i??r},S.setNodeSize=function(e){var t=S.t(e.templateName,e.min);e.w=t&&t.size?t.size[0]:0,e.h=t&&t.size?t.size[1]:0},S._imgs2base64=function(e,t,n,r){var i=e.getElementsByTagName(t),a=i.length;a==0&&r();for(var o=0;o<a;o++)(function(){var e=o,t=i[e];S._getDataUri(t.getAttribute(n),function(i){i.success&&t.setAttribute(n,i.result),e==a-1&&r()})})()},S._getDataUri=function(e,t){if(e.indexOf(`base64`)!=-1)t({success:!1});else{var n=new XMLHttpRequest;n.open(`GET`,e),n.responseType=`blob`,n.onload=function(){n.status===200?r.readAsDataURL(n.response):n.status===404&&t({success:!1,result:n.status})};var r=new FileReader;r.onloadend=function(){t({success:!0,result:r.result})},n.send()}},S._convertStringToArray=function(e,t){return S.ARRAY_FIELDS.indexOf(e)==-1?t:S.isNEU(t)?[]:t.split(`,`)},S._convertArrayToString=function(e){return!S.isNEU(e)&&Array.isArray(e)?e.join():e},S._csvToArray=function(e,t){t||=S.CSV_DELIMITER;for(var n=RegExp(`(\\`+t+`|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\`+t+`\\r\\n]*))`,`gi`),r=[[]],i=null;i=n.exec(e);){var a=i[1];a.length&&a!==t&&r.push([]);var o=i[2]?i[2].replace(RegExp(`""`,`g`),`"`):i[3];r[r.length-1].push(o)}return r},S._json2xml=function(e){for(var t=document.implementation.createDocument(``,``,null),n=t.createElement(`nodes`),r=0;r<e.length;r++){var i=t.createElement(`node`),a=e[r];for(var o in a){var s=a[o];i.setAttribute(o,S._convertArrayToString(s))}n.appendChild(i)}return t.appendChild(n),`<?xml version="1.0" encoding="utf-8" ?>`+new XMLSerializer().serializeToString(t.documentElement)},S._xml2json=function(e){for(var t=new DOMParser().parseFromString(e,`text/xml`).getElementsByTagName(`node`),n=[],r=0;r<t.length;r++){for(var i=t[r],a={},o=0;o<i.attributes.length;o++){var s=i.attributes[o];a[s.name]=S._convertStringToArray(s.name,s.value)}n.push(a)}return n},S.convertNodesToCsv=function(e){return S._json2csv(e)},S._json2csv=function(e){for(var t=[],n=function(e){for(var n=``,r=0;r<t.length;r++){var i=t[r]==`reportsTo`?null:e[t[r]]==null?``:e[t[r]];i instanceof Date&&(i=i.toLocaleString()),i=i===null?``:i.toString();var a=i.replace(/"/g,`""`),o=RegExp(`("|;|
|
|
435
|
-
)`,`g`);a.search(o)>=0&&(a=`"`+a+`"`),r>0&&(n+=S.CSV_DELIMITER),n+=a}return n+`
|
|
436
|
-
`},r=``,i=0;i<e.length;i++)for(var a in e[i])S._arrayContains(t,a)||(t.push(a),r+=a+S.CSV_DELIMITER);r=r.substring(0,r.length-1),r+=`
|
|
437
|
-
`;for(var i=0;i<e.length;i++)r+=n(e[i]);return r=r.substring(0,r.length-1),r},S.accentFold=function(e){return e=e.toString().toLowerCase(),e.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])/g,function(e,t,n,r,i,a,o,s,c,l,u){if(t)return`a`;if(n)return`c`;if(r)return`e`;if(i)return`i`;if(a)return`n`;if(o)return`o`;if(s)return`s`;if(c)return`u`;if(l)return`y`;if(u)return`ae`})},S.copy=function(e){if(typeof e!=`object`||!e||`isActiveClone`in e)return e;if(e instanceof Date)var t=new e.constructor;else var t=e.constructor();for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e.isActiveClone=null,t[n]=S.copy(e[n]),delete e.isActiveClone);return t},S._getScrollSensitivity=function(){var e=S._browser();return e.msie&&S.scroll.ie?S.scroll.ie:e.edge&&S.scroll.edge?S.scroll.edge:e.safari&&S.scroll.safari?S.scroll.safari:e.chrome&&S.scroll.chrome?S.scroll.chrome:e.firefox&&S.scroll.firefox?S.scroll.firefox:e.opera&&S.scroll.opera?S.scroll.opera:{smooth:S.scroll.smooth,speed:S.scroll.speed}},S.isMobile=function(){let e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e),n=navigator.platform===`MacIntel`&&navigator.maxTouchPoints>1;return t||n},S._isTouchDevice=function(){return navigator.maxTouchPoints>0},S.isTrial=function(){return S.remote!==void 0},S.childrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++)e.nodes[t.childrenIds[r]]&&n++;return n},S.childrenTotalCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&(n++,n+=S.childrenTotalCount(e,i))}return n},S.collapsedChildrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&i.collapsed===!0&&n++}return n},S.collapsedChildrenTotalCount=function(e,t,n){for(var r=0,i=0;i<t.childrenIds.length;i++){var a=e.nodes[t.childrenIds[i]];a&&((n||a.collapsed===!0)&&r++,r+=S.collapsedChildrenTotalCount(e,a,!0))}return r},S._setMinMaxXY=function(e,t,n){n&&e.isTreeListItem||((t.minX==null||e.x!=null&&e.x<t.minX)&&(t.minX=e.x),(t.minY==null||e.y!=null&&e.y<t.minY)&&(t.minY=e.y),(t.maxX==null||e.x!=null&&e.x+e.w>t.maxX)&&(t.maxX=e.x+e.w),(t.maxY==null||e.y!=null&&e.y+e.h>t.maxY)&&(t.maxY=e.y+e.h))},S.getStParentNodes=function(e,t){for(t||=[];e.parent;)e=e.parent;return e.stParent&&(t.push(e.stParent),S.getStParentNodes(e.stParent,t)),t},S.getRootOf=function(e){for(;e&&e.parent;)e=e.parent;return e},S._getViewBox=function(e){var t=null;return e?(t=e.getAttribute(`viewBox`),t=`[`+t+`]`,t=t.replace(/\ /g,`,`),t=JSON.parse(t),t):null},S.isNEU=function(e){return e==null||e===``},S.gradientCircleForDefs=function(e,t,n,r){Array.isArray(t)||(t=[t,t,t,t,t,t]);function i(e,t,n,r){var i=(r-90)*Math.PI/180;return{x:e+n*Math.cos(i),y:t+n*Math.sin(i)}}function a(e,t,n,r,a){var o=i(e,t,n,a),s=i(e,t,n,r),c=a-r<=180?`0`:`1`;return[`M`,o.x,o.y,`A`,n,n,0,c,0,s.x,s.y].join(` `)}return`<linearGradient id="${e}_linearColors1" x1="0" y1="0" x2="1" y2="1">
|
|
438
|
-
<stop offset="0%" stop-color="${t[0]}"></stop>
|
|
439
|
-
<stop offset="100%" stop-color="${t[1]}"></stop>
|
|
440
|
-
</linearGradient>
|
|
441
|
-
<linearGradient id="${e}_linearColors2" x1="0.5" y1="0" x2="0.5" y2="1">
|
|
442
|
-
<stop offset="0%" stop-color="${t[1]}"></stop>
|
|
443
|
-
<stop offset="100%" stop-color="${t[2]}"></stop>
|
|
444
|
-
</linearGradient>
|
|
445
|
-
<linearGradient id="${e}_linearColors3" x1="1" y1="0" x2="0" y2="1">
|
|
446
|
-
<stop offset="0%" stop-color="${t[2]}"></stop>
|
|
447
|
-
<stop offset="100%" stop-color="${t[3]}"></stop>
|
|
448
|
-
</linearGradient>
|
|
449
|
-
<linearGradient id="${e}_linearColors4" x1="1" y1="1" x2="0" y2="0">
|
|
450
|
-
<stop offset="0%" stop-color="${t[3]}"></stop>
|
|
451
|
-
<stop offset="100%" stop-color="${t[4]}"></stop>
|
|
452
|
-
</linearGradient>
|
|
453
|
-
<linearGradient id="${e}_linearColors5" x1="0.5" y1="1" x2="0.5" y2="0">
|
|
454
|
-
<stop offset="0%" stop-color="${t[4]}"></stop>
|
|
455
|
-
<stop offset="100%" stop-color="${t[5]}"></stop>
|
|
456
|
-
</linearGradient>
|
|
457
|
-
<linearGradient id="${e}_linearColors6" x1="0" y1="1" x2="1" y2="0">
|
|
458
|
-
<stop offset="0%" stop-color="${t[5]}"></stop>
|
|
459
|
-
<stop offset="100%" stop-color="${t[0]}"></stop>
|
|
460
|
-
</linearGradient>
|
|
461
|
-
<g id="${e}">
|
|
462
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors1)" d="${a(n,n,n,1,60)}" />
|
|
463
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors2)" d="${a(n,n,n,60,120)}"/>
|
|
464
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors3)" d="${a(n,n,n,120,180)}" />
|
|
465
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors4)" d="${a(n,n,n,180,240)}" />
|
|
466
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors5)" d="${a(n,n,n,240,300)}" />
|
|
467
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors6)" d="${a(n,n,n,300,1)}"/>
|
|
468
|
-
</g>`},S._intersectionObserver=function(e,t){typeof IntersectionObserver==`function`?new IntersectionObserver(function(e,n){e.forEach(function(e){var n=e.intersectionRatio>0;e.intersectionRatio==0&&(n=e.isIntersecting),t(n)})}).observe(e):t(!0)},S.convertCsvToNodes=function(e){for(var t=S._csvToArray(e),n=t[0],r=[],i=1;i<t.length;i++){for(var a={},o=0;o<t[i].length;o++){var s=n[o],c=t[i][o];a[n[o]]=S._convertStringToArray(s,c)}a.id.trim()!=``&&r.push(a)}return r},S._escapeHtml=function(e){return S.ESCAPE_HTML&&typeof e==`string`?e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`):e},S._escapeDoubleQuotes=function(e){return typeof e==`string`?e.replace(/"/g,`"`):e},S._escapeGreaterLessSign=function(e){return typeof e==`string`?e.replace(/</g,`<`).replace(/>/g,`>`):e},S.roundPathCorners=function(e,t,n){function r(e,t,n){var r=t.x-e.x,a=t.y-e.y,o=Math.sqrt(r*r+a*a);return i(e,t,Math.min(1,n/o))}function i(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function a(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function o(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}Array.isArray(e)||(e=e.split(/[,\s]/).reduce(function(e,t){var n=t.match(`([a-zA-Z])(.+)`);return n?(e.push(n[1]),e.push(n[2])):e.push(t),e},[]),e=e.reduce(function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e},[]));var s=[];if(e.length>1){var c=o(e[0]),l=null;e[e.length-1][0]==`Z`&&e[0].length>2&&(l=[`L`,c.x,c.y],e[e.length-1]=l),s.push(e[0]);for(var u=1;u<e.length;u++){var d=s[s.length-1],f=e[u],p=f==l?e[1]:e[u+1];if(p&&d&&d.length>2&&f[0]==`L`&&p.length>2&&p[0]==`L`){var m=o(d),h=o(f),g=o(p),_,v;n?(_=i(h,d.origPoint||m,t),v=i(h,p.origPoint||g,t)):(_=r(h,m,t),v=r(h,g,t)),a(f,_),f.origPoint=h,s.push(f);var y=i(_,h,.5),b=i(h,v,.5),x=[`C`,y.x,y.y,b.x,b.y,v.x,v.y];x.origPoint=h,s.push(x)}else s.push(f)}if(l){var S=o(s[s.length-1]);s.push([`Z`]),a(s[0],S)}}else s=e;return s.reduce(function(e,t){return e+t.join(` `)+` `},``)},S._isMoved=function(e){return e.movex!=null||e.movey!=null},S._getDynamicGridCoulumns=function(e){for(var t=1;t<e&&(e/t,!(e/t-t<=0));t++);return t%2!=0&&t>2&&t--,t},S._getLazyLoading=function(e){var t=e.lazyLoading;return t==`auto`&&(t=!!(e&&e.nodes&&e.nodes.length>700)),t},S._getSvgAttributes=function(e){let t=/width="([\d.]+)"/,n=/height="([\d.]+)"/,r=/x="([\d.]+)"/,i=/y="([\d.]+)"/,a=/viewBox="([^"]+)"/,o=e.match(t),s=e.match(n),c=e.match(r),l=e.match(i),u=e.match(a),d=o?parseFloat(o[1]):0,f=s?parseFloat(s[1]):0,p=c?parseFloat(c[1]):0,m=l?parseFloat(l[1]):0,h=[0,0,0,0];return u&&(h=u[1],h=JSON.parse(`[${h}]`)),{width:d,height:f,viewBox:h,x:p,y:m}},S._setSvgAttributes=function(e,t){var n=t.x,r=t.y,i=t.width,a=t.height,o=t.viewBox.join(`,`);let s=e.match(/<svg\s+([^>]*?)>/);if(!s)return e;let c=s[0],l=s[1],u=(e,t,n)=>{if(n==null)return e;let r=RegExp(`\\s*${t}="[^"]*"`,`i`),i=` ${t}="${n}"`;return e.match(r)?e.replace(r,i):e+i};l=u(l,`x`,n),l=u(l,`y`,r),l=u(l,`width`,i),l=u(l,`height`,a),l=u(l,`viewBox`,o);let d=`<svg ${l}>`;return e.replace(c,d)},S._convertTextToNodes=function(e,t){let n=e.split(/\r?\n/).filter(e=>e.trim()!==``),r=[],i=1,a=[];for(let e of n){let n=0;for(;e.startsWith(t);)e=e.slice(t.length),n++;if(e=e.trim(),!e)continue;let o=e.match(/^\[([^\]]+)](.*)$/);if(o){let e=o[1].trim(),t=o[2].trim();a.length>0&&(a[a.length-1][e]=t);continue}let s=e.match(/^([^\(]+)\(([^)]+)\)$/),c,l=[];s?(c=s[1].trim(),l=s[2].split(`,`).map(e=>e.trim())):c=e;let u=n===0?null:a[n-1].id,d={id:i++,pid:u,name:c,tags:l};a[n]=d,a.length=n+1,r.push(d)}return r},S._convertFromNodesToText=function(e,t){let n={},r=[];e.forEach(e=>{n[e.id]={...e,children:[]}}),e.forEach(e=>{e.pid&&n[e.pid]?n[e.pid].children.push(n[e.id]):r.push(n[e.id])});function i(e,n){let r=t.repeat(n),a=r+e.name;Array.isArray(e.tags)&&e.tags.length>0&&(a+=`(`+e.tags.join(`,`)+`)`),a+=`
|
|
469
|
-
`;for(let t of Object.keys(e))[`id`,`pid`,`name`,`children`,`tags`].includes(t)||(a+=r+`[`+t+`]`+e[t]+`
|
|
470
|
-
`);for(let t of e.children)a+=i(t,n+1);return a}return r.map(e=>i(e,0)).join(``).trim()},S._onClickHandler=function(e,t,n,r,i){var a;if(n===void 0)if(t===`add`){var o={id:e.generateId(),pid:r};e.addNode(o,null,!0)}else if(t===`edit`){var s=e.getNode(r);e.editUI.show(s.id)}else if(t===`details`){var s=e.getNode(r);e.editUI.show(s.id,!0)}else if(t===`remove`)e.removeNode(r,null,!0);else if(t===`svg_export`||t===`svg`){var c={};S.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToSVG(c)}else if(t===`pdf_export`||t===`pdf`){var c={};S.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPDF(c)}else if(t===`png_export`||t===`png`){var c={};S.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPNG(c)}else if(t===`visio_export`||t===`visio`)e.exportToVisio({nodeId:r});else if(t===`pp_export`||t===`powerpoint`)e.exportToPowerPoint();else if(t===`pp_preview`||t===`pppreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.powerPointPreviewUI.show(c)}else if(t===`pdf_preview`||t===`pdfpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pdfPreviewUI.show(c)}else if(t===`svg_preview`||t===`svgpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.svgPreviewUI.show(c)}else if(t===`png_preview`||t===`pngpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pngPreviewUI.show(c)}else t===`csv_export`||t===`csv`?e.exportToCSV({nodeId:r}):t===`xml_export`||t===`xml`?e.exportToXML({nodeId:r}):t===`json_export`||t===`json`?e.exportToJSON({nodeId:r}):t===`fit`?e.fit():t===`expand_all`?e.expand(null,`all`):t===`full_screen`?e.toggleFullScreen():t===`zoom_in`?e.zoom(!0,null,!0):t===`zoom_out`||t===`zoom_out`?e.zoom(!1,null,!0):t===`layout_mixed`?e.setLayout(S.layout.mixed):t===`layout_normal`?e.setLayout(S.layout.normal):t===`layout_right_offset`?e.setLayout(S.layout.treeRightOffset):t===`layout_left_offset`?e.setLayout(S.layout.treeLeftOffset):t===`layout_tree`?e.setLayout(S.layout.tree):t===`layout_grid`&&e.setLayout(S.layout.grid);else a=n.call(e,r,i);return a},S._isSVG=function(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t.startsWith(`<svg`)||!t.endsWith(`</svg>`))return!1;try{let e=new DOMParser().parseFromString(t,`image/svg+xml`);return e.querySelector(`parsererror`)?!1:e.documentElement.nodeName.toLowerCase()===`svg`}catch{return!1}},S._treeListAdjustToSTNodePostition=function(e,t){for(var n of e)n.y+=t.y+t.padding[0],n.x+=t.x+t.padding[3],S._treeListAdjustToSTNodePostition(n.children,t)},S._treeListSetProps=function(e,t){var n=-e.treeList.scrollTop,r={nodesByLevels:[],lastNode:null,y:0};e.treeList.pinnedIds=[],S._treeListIterate(e.stChildren,r,-1);var i=r.lastNode.y+r.lastNode.h-0-(e.treeList.maxHeight-e.padding[0]-e.padding[2]);n>0||i<0?n=0:n!=0&&n*-1>i&&(n=-i);for(var a=r.nodesByLevels.length-1;a>=0;a--)for(var o=r.nodesByLevels[a],s=o.length-1;s>=0;s--){for(var c=o[s],l=c.y,u=0,d=c.parent;d&&(u+=d.h,d.parent);)d=d.parent;if(c.children.length&&c.y+n<=u){l=-n+u;var f=o[s+1];if(f&&f.y<l+c.h&&(l=f.y-c.h),d){var p=e.stChildren.indexOf(d);if(e.stChildren.length>p+1){var m=e.stChildren[p+1];m.y<l+c.h&&(l=m.y-c.h)}}}c.y!=l&&e.treeList.pinnedIds.push(c.id),c.y=l,c.x=0}if(t==S.orientation.bottom){var h=r.lastNode.y+r.lastNode.h;for(var a of r.nodesByLevels)for(var c of a)c.y=h-c.y-c.h}e.treeList.scrollTop=-n,e.treeList.scrollTopMax=i},S._treeListIterate=function(e,t,n){n++;for(var r of e)r.y=t.y,t.y+=r.h,t.nodesByLevels[n]||(t.nodesByLevels[n]=[]),t.nodesByLevels[n].push(r),t.lastNode=r,S._treeListIterate(r.children,t,n)},S._treeListGetTumbPositionFromScrollTop=function(e){var t=e.h-e.padding[0]-e.padding[2],n=t/((e.treeList.scrollTopMax+t)/100),r=t/100*n,i=t-r,a=-e.treeList.scrollTop/(e.treeList.scrollTopMax/100),o=e.y+e.padding[0]+i/-100*a,s=`initial`;return(isNaN(r)||isNaN(o)||r<0||n>100)&&(s=`none`,r=0,o=0),{thumbHeight:r,thumbPosition:o,scrollBarDisplay:s}},S._treeListGetScrollTopFromTumbPosition=function(e,t,n){var r=e.h-e.padding[0]-e.padding[2]-t,i=(n-(e.y+e.padding[0]))/r*100/100*e.treeList.scrollTopMax;return(isNaN(i)||i<0)&&(i=0),i>e.treeList.scrollTopMax&&(i=e.treeList.scrollTopMax),i},S._getCenterNodeFromParams=function(e,t){var n=e[t.id];if(n){if(n.isTreeListItem){for(;!n.stParent;)n=n.parent;n=n.stParent}return n}return null},S._getScrollTopForNode=function(e,t){var n={nodesByLevels:[],lastNode:null,y:0};S._treeListIterate(e.stChildren,n,-1);var r=null;for(var i of n.nodesByLevels){for(var a of i)if(a.id==t){r=a;break}if(r)break}if(!r)return e.treeList.scrollTop;for(var o=0,s=r.parent;s&&(o+=s.h,s.parent);)s=s.parent;var c=e.padding[0],l=e.padding[2],u=e.treeList.maxHeight-c-l,d=n.lastNode.y+n.lastNode.h-u;d<0&&(d=0);var f=e.treeList.scrollTop,p=r.y-o,m=r.y+r.h-u,h=f;return r.y<f+o?h=p:r.y+r.h>f+u&&(h=r.h>u-o?p:m),h<0?h=0:h>d&&(h=d),h},S._getDefailtPositionForExpandCollpase=function(e,t){var n={x:0,y:0};switch(e.orientation){case S.orientation.top:case S.orientation.top_left:n.x=t.w/2,n.y=t.h;break;case S.orientation.bottom:case S.orientation.bottom_left:n.x=t.w/2,n.y=0;break;case S.orientation.right:case S.orientation.right_top:n.x=0,n.y=t.h/2;break;case S.orientation.left:case S.orientation.left_top:n.x=t.w,n.y=t.h/2;break}return n},S._measureCache={svg:null,text:null},S._getMeasureElement=function(){if(S._measureCache.svg)return S._measureCache.text;let e=`http://www.w3.org/2000/svg`;return S._measureCache.svg=document.createElementNS(e,`svg`),S._measureCache.svg.id=`orgchart_js_test__measure`,S._measureCache.svg.style.cssText=`position:absolute;top:-9999px;visibility:hidden;white-space:pre;`,S._measureCache.text=document.createElementNS(e,`text`),S._measureCache.svg.appendChild(S._measureCache.text),document.body.appendChild(S._measureCache.svg),S._measureCache.text},S._lineClamp=function(e,t,n,r){if(t===void 0||t==null)return``;typeof t!=`string`&&(t=t.toString()),t=S._escapeHtml(t);let i=/(\w+(?:-\w+)?)="([^"]*)"/g,a={},o;for(;(o=i.exec(e))!==null;)a[o[1]]=o[2];let s=S._getMeasureElement();s.textContent=``;for(let[e,t]of Object.entries(a))e!==`x`&&e!==`y`&&s.setAttribute(e,t);let c=e=>(s.textContent=e,s.getComputedTextLength()),l=t.split(` `),u=[],d=``,f=0;for(;f<l.length&&u.length<r;){let e=l[f],t=d?d+` `+e:e;if(c(t)<=n)d=t,f++;else if(d===``){let t=0,r=e.length,i=1;for(;t<=r;){let a=t+r>>1;c(e.slice(0,a))<=n?(i=a,t=a+1):r=a-1}u.push(e.slice(0,i)),l[f]=e.slice(i)}else u.push(d),d=``}d&&u.length<r&&u.push(d);let p=f<l.length||f===l.length&&l[f-1]===``&&t.endsWith(` `);if(p&&u.length>0){let e=u[u.length-1],t=0,r=e.length,i=``;for(;t<=r;){let a=Math.floor((t+r)/2),o=e.substring(0,a)+`...`;c(o)<=n?(i=o,t=a+1):r=a-1}u[u.length-1]=i}let m=` x="${a.x||`0`}"`,h=u.length===1?u[0]:u.map((e,t)=>`<tspan${m} dy="${t===0?0:`1.2em`}">${e}</tspan>`).join(``);return`<text${Object.entries(a).map(([e,t])=>` ${e}="${t}"`).join(``)}>${p?`<title>${t}</title>`:``}${h}</text>`},S._getScrollableTreeListNodeInTouchEnabledDevice=function(e){if(!e||!e.isTreeListItem||!S._isTouchDevice())return null;var t=S.getRootOf(e).stParent,{thumbHeight:n,thumbPosition:r,scrollBarDisplay:i}=S._treeListGetTumbPositionFromScrollTop(t);return i==`none`?null:t},S._convertImagesToBase64=async function(e){let t=new DOMParser;return await Promise.all(e.map(async e=>{let n=t.parseFromString(e,`image/svg+xml`),r=n.querySelectorAll(`image`);for(let e of r){let t=e.getAttribute(`href`)||e.getAttribute(`xlink:href`);if(t&&!t.startsWith(`data:`))try{let n=parseFloat(e.getAttribute(`width`))||0,r=parseFloat(e.getAttribute(`height`))||0;if(n>0&&r>0){let i=await S._resizeAndConvert(t,n,r);e.setAttribute(`href`,i),e.removeAttributeNS(`http://www.w3.org/1999/xlink`,`href`)}}catch(e){console.error(`Failed to process image:`,t,e)}}return new XMLSerializer().serializeToString(n)}))},S._resizeAndConvert=function(e,t,n){return new Promise((r,i)=>{let a=new Image;a.crossOrigin=`anonymous`,a.onload=()=>{let e=document.createElement(`canvas`),i=e.getContext(`2d`),o=Math.min(t/a.width,n/a.height),s=a.width*o,c=a.height*o;e.width=s,e.height=c,i.drawImage(a,0,0,s,c),r(e.toDataURL(`image/png`))},a.onerror=i,a.src=e})},S._addSelectedStyle=function(e,t,n){var r=e.getNodeElement(t.id);if(r&&r.classList.add(`boc-selected`),n!=t.id){var i=e.element.querySelector(`[data-ctrl-ec-id="${t.id}"]`);i&&i.classList.add(`boc-selected`)}var a=e.getNode(t.pid);if(a){let r=e.element.querySelector(`[data-l-id="[${t.parent.id}][${t.id}]"]`);r&&r.classList.add(`boc-selected`),S._addSelectedStyle(e,a,n)}},S._removeSelectedStyle=function(e){let t=e.element.querySelectorAll(`.boc-selected`);for(let e=0;e<t.length;e++)t[e].classList.remove(`boc-selected`)},S.prototype.zoom=function(e,t,n,r){var i=this.getViewBox().slice(0),a=i,o=i[2],s=i[3];e===!0?(i[2]/=S.SCALE_FACTOR,i[3]/=S.SCALE_FACTOR):e===!1?(i[2]*=S.SCALE_FACTOR,i[3]*=S.SCALE_FACTOR):(i[2]/=e,i[3]/=e),t||=[50,50],i[0]=a[0]-(i[2]-o)/(100/t[0]),i[1]=a[1]-(i[3]-s)/(100/t[1]);var c=this.getScale(i);if(i[2]=this.width()/c,i[3]=this.height()/c,e===!0&&c<this.config.scaleMax||e===!1&&c>this.config.scaleMin||e!=0&&e!=1&&c<this.config.scaleMax&&c>this.config.scaleMin){this._hideBeforeAnimation();var l=this;n?(clearTimeout(l._timeout),S.animate(this.getSvg(),{viewbox:this.getViewBox()},{viewbox:i},this.config.anim.duration,this.config.anim.func,function(){clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,S.action.zoom,null,r)},500)})):(this.setViewBox(i),clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,S.action.zoom,null,r)},500))}},S._ai=function(e){this.instance=e,this.sessionId=null},S._ai.prototype.prompt=function(e,t){var n=this;e=e.trim(),e&&(this.sessionId?n._prompt([{Role:`user`,Text:e}],t):this.setContext(function(){n._prompt([{Role:`user`,Text:e}],t)}))},S._ai.prototype._prompt=function(e,t){var n=this,r=[];for(var i of S.AI_SYSTEM_MESSAGES)r.push({Role:`system`,Text:i});var a=this.instance.config.serverUrl+`/OrgChartJSAI/Prompt?client_messages=${encodeURIComponent(JSON.stringify(e))}&system_messages=${encodeURIComponent(JSON.stringify(r))}&sessionId=${this.sessionId}`;let o=new EventSource(a);o.onmessage=function(e){var r=JSON.parse(e.data),i=``;r.kind==`end`&&o.close(),r.kind==`text`&&(i+=r.text,t&&t(r.text)),r.kind==`assistant-message-with-tools`?n.toolCalls(r.message,t):r.kind==`error`&&console.error(r.text)},o.onerror=function(e){console.error(e),o.close()}},S._ai.prototype.setContext=function(e){if(this.instance&&this.instance.config.enableAI&&this.instance.aiUI.canSetContext){this.sessionId=this.instance._event_id;var t=this.instance.config.serverUrl+`/OrgChartJSAI/SetContext`,n=this.instance.config.aiChatTools.slice();for(var r of n)r.functionParameters??=null,r.functionParameters=JSON.stringify(r.functionParameters);fetch(t,{method:`post`,headers:{"Content-Type":`application/json`,"x-request-type":`ajax`},body:JSON.stringify({context:this.instance.config.nodes,sessionId:this.sessionId,chatTools:n})}).then(function(){e&&e()}).catch(function(e){console.error(e)})}},S._ai.prototype.toolCalls=function(e,t){var n=this,r={toolCalls:e.ToolCalls};S.events.publish(`ai-tool-calls`,[this.instance,r]);var i=[],a=[],o=[],s=[],c=[],l=null,u=null,d=null,f=null,p=null;for(var m of r.toolCalls)m.FunctionResult??(m.FunctionName==`removeNode`?i.push(m):m.FunctionName==`addNode`?a.push(m):m.FunctionName==`updateNode`?o.push(m):m.FunctionName==`select`?s.push(m):m.FunctionName==`deselect`?c.push(m):m.FunctionName==`exportToPDF`?l=m:m.FunctionName==`changeTemplate`?u=m:m.FunctionName==`addSlink`?d=m:m.FunctionName==`removeSlink`?f=m:m.FunctionName==`fit`&&(p=m));var h=!1;if(u&&(h=!0,m.FunctionResult=`ok`,this.instance.config.template=m.FunctionArguments.templateName),d){var g=this.instance.getNode(m.FunctionArguments.employeeId1),_=this.instance.getNode(m.FunctionArguments.employeeId2);!g||!_||g==_?m.FunctionResult=`Cannot add link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(h=!0,this.instance.addSlink(g.id,_.id),m.FunctionResult=`ok`)}if(f){var g=this.instance.getNode(m.FunctionArguments.employeeId1),_=this.instance.getNode(m.FunctionArguments.employeeId2);!g||!_||g==_?m.FunctionResult=`Cannot remove link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(h=!0,this.instance.removeSlink(g.id,_.id),m.FunctionResult=`ok`)}p&&(this.instance.fit(),h=!1);for(var m of i)h=!0,m.FunctionResult=`ok`,this.instance.remove(m.FunctionArguments.id);for(var m of a){h=!0,m.FunctionResult=`ok`;var v=JSON.parse(JSON.stringify(m.FunctionArguments));v.isAssistant&&(v.tags=[`assistant`]),delete v.isAssistant,S.isNEU(v.id)&&(v.id=this.instance.generateId()),this.instance.add(v)}for(var m of o){h=!0,m.FunctionResult=`ok`;var v=this.instance.get(m.FunctionArguments.id);for(var y in m.FunctionArguments)y!=`id`&&m.FunctionArguments[y]!=null&&(v[y]=m.FunctionArguments[y]);this.instance.update(v)}for(var m of s){m.FunctionResult=`ok`;for(var b of m.FunctionArguments.ids){var x=m.FunctionArguments.color;x||=`#FFCA28`;var C=this.instance.getNodeElement(b).firstChild;C&&(C.style.stroke=m.FunctionArguments.color,C.style.strokeWidth=5)}}var w=function(){for(var e of c)if(e.FunctionResult=`ok`,e.FunctionArguments.ids)for(var t of e.FunctionArguments.ids){var r=n.instance.getNodeElement(t).firstChild;r&&(r.style.stroke=`#aeaeae`,r.style.strokeWidth=1)}else h=!0};h?(this.setContext(),this.instance.draw(S.action.update,void 0,w)):w();var T=function(){var e=[];for(var i of r.toolCalls)e.push({Role:`tool`,Text:i.FunctionResult,Id:i.Id});n._prompt(e,t)};l?this.chartInstance.exportToPDF({},function(){m.FunctionResult=`ok`,S._downloadFile(`application/pdf`,response,`OrgChart.pdf`,!1,`pdf`),T()}):T()},S.aiUI=function(){this.instance=null,this.interval=null,this.canSetContext=!1,this.element=null,this.inputElement=null,this.btnSendElement=null,this.messagesElement=null,Object.defineProperty(this,`width`,{get(){return this.isVisible()?this.element.offsetWidth:0}})},S.aiUI.title=`AI for OrgChart JS`,S.aiUI.prototype.init=function(e){this.instance=e;var t=this,n=this.instance.element.querySelector(`[data-boc-ai-button]`);n&&n.addEventListener(`click`,function(e){t.show()})},S.aiUI.prototype.isVisible=function(){return!(!this.element||this.element.style.display==`none`)},S.aiUI.prototype.show=function(e,t){this.instance.pdfPreviewUI.hide(),this.instance.svgPreviewUI.hide(),this.instance.pngPreviewUI.hide(),this.instance.powerPointPreviewUI.hide(),this.instance.aiUI.hide(),this.instance.orgScribeUI.hide(),this._create(),this.element.style.display=``,this.canSetContext||(this.canSetContext=!0,this.instance._ai.setContext());var n=this;t||(this.timeout&&clearInterval(this.interval),this.interval=S.animate(this.element,{opacity:0},{opacity:1},300,S.anim.outSin,function(){e||n.inputElement.focus()}))},S.aiUI.prototype._create=function(){if(!this.element){var e=this,t=`inp_`+this.instance.generateId();this.element=document.createElement(`div`),this.element.setAttribute(`data-boc-ai-form`,``),this.element.style.opacity=0,this.element.classList.add(`boc-ai-form`),this.element.classList.add(this.instance.config.mode),this.element.innerHTML=`<div class="boc-ai-container">
|
|
471
|
-
<div data-boc-ai-close class="boc-ai-close">${S.icon.x(20,20,`#aeaeae`)}</div>
|
|
472
|
-
<div class="boc-ai-middle boc-ai-start">
|
|
473
|
-
<div data-boc-ai-messages class="boc-ai-messages">
|
|
474
|
-
<img src="https://orgchartjs.balkan.app/logo.svg">
|
|
475
|
-
<span>
|
|
476
|
-
${S.aiUI.title}
|
|
477
|
-
</span>
|
|
478
|
-
</div>
|
|
479
|
-
</div>
|
|
480
|
-
<div>
|
|
481
|
-
<div class="boc-input" data-boc-input="">
|
|
482
|
-
<label for="${t}">Message OrgChart</label>
|
|
483
|
-
<input maxlength="256" id="${t}" name="${t}" type="text" value="" autocomplete="off">
|
|
484
|
-
<div data-boc-ai-send class="boc-ai-send">
|
|
485
|
-
${S.icon.send(20,20,`#aeaeae`)}
|
|
486
|
-
</div>
|
|
487
|
-
</div>
|
|
488
|
-
|
|
489
|
-
</div>
|
|
490
|
-
</div>`,this.instance.leftElement.appendChild(this.element),this.instance.leftElement.style.display=`block`,S.input.init(this.element);var n=this.instance.leftElement.querySelector(`[data-boc-ai-close] svg`);n&&n.addEventListener(`click`,function(t){e.hide()}),this.inputElement=this.element.querySelector(`#`+t),this.btnSendElement=this.inputElement.parentNode.querySelector(`[data-boc-ai-send]`),this.messagesElement=this.element.querySelector(`[data-boc-ai-messages]`),this.inputElement.addEventListener(`input`,function(e){this.value?this.parentNode.querySelector(`.boc-ai-send`).classList.add(`boc-ai-send-cansend`):this.parentNode.querySelector(`.boc-ai-send`).classList.remove(`boc-ai-send-cansend`)}),this.element.querySelector(`[data-boc-ai-send]`).addEventListener(`click`,function(t){e.sendUserInput()}),this.inputElement.addEventListener(`keyup`,function(t){var n=window.event?window.event:t;switch(e.canSetContext||(e.canSetContext=!0,e.instance._ai.setContext()),n.key){case`Enter`:e.sendUserInput();break;case`ArrowUp`:var r=S.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=r.length-1:i--,i==-1&&(i=r.length-1),e.inputElement.value=r[i]}break;case`ArrowDown`:var r=S.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=0:i++,i==r.length&&(i=0),e.inputElement.value=r[i]}break;default:}})}},S.aiUI.prototype.addUserMessage=function(e){this.btnSendElement.classList.remove(`boc-ai-send-cansend`);var t=this.element.querySelector(`.boc-ai-start`);t&&(t.classList.remove(`boc-ai-start`),this.messagesElement.innerHTML=``);var n=document.createElement(`div`);n.classList.add(`boc-ai-user-message`),n.innerHTML=`<span class="boc-inner-user-message">${e}</span>`,this.messagesElement.appendChild(n)},S.aiUI.prototype.hide=function(){this.instance.leftElement.style.display=`none`,this.element&&=(this.element.parentNode.removeChild(this.element),null)},S.aiUI.prototype.sendUserInput=function(){var e=this;S.aiUI._addSuggestion(this.inputElement.value),this.addUserMessage(this.inputElement.value);var t=document.createElement(`div`);t.classList.add(`boc-ai-assistant-message`);var n=document.createElement(`span`);n.classList.add(`boc-inner-assistant-message`),t.appendChild(n),this.messagesElement.appendChild(t);var r=``;this.instance._ai.prompt(this.inputElement.value,function(t){r+=t,n.innerHTML=marked.parse(r);var i=e.element.querySelector(`.boc-ai-middle`);i.scrollTo(0,i.scrollHeight)}),this.inputElement.value=``},S.aiUI._addSuggestion=function(e){e=e.trim();var t=S.aiUI._getSuggestions(),n=t.indexOf(e);n!=-1&&t.splice(n,1),t.push(e),localStorage.setItem(`suggestions`,JSON.stringify(t))},S.aiUI._getSuggestions=function(){var e=localStorage.getItem(`suggestions`);return e=e?JSON.parse(e):[],e},S===void 0&&(S={}),S.events.on(`init`,function(e,t){if(e.config.keyNavigation&&(window.addEventListener(`keydown`,function(){e._windowKeyDownHandler.apply(e,[this,arguments[0]])}),S.isNEU(e._keyNavigationActiveNodeId)&&e.roots&&e.roots.length)){var n=e.roots[0].id;S.isNEU(e.config.keyNavigation.focusId)||(n=e.config.keyNavigation.focusId),e._keyNavigationActiveNodeId=n,e.center(e._keyNavigationActiveNodeId)}}),S.prototype._windowKeyDownHandler=function(e,t){for(var n=t.target,r=null;n&&n!=this.element;){if(n.hasAttribute&&n.hasAttribute(S.attr.node_id)){r=n.getAttribute(S.attr.node_id);break}n=n.parentNode}if(n){var i=r?this.getNode(r):null,a={node:i,data:r?this.get(r):null,event:t};if(S.events.publish(`key-down`,[this,a])!==!1&&i){if(t.code==`KeyF`)this.searchUI.find(``);else if(t.code==`ArrowRight`||i.isAssistant&&t.code==`ArrowDown`||i.isPartner&&t.code==`ArrowDown`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s++,s<o.childrenIds.length){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowLeft`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s--,s>=0){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowUp`){var o=this.getNode(i.pid);if(o){var c=o.id;if(i.isAssistant||o.hasAssistants||i.isPartner||o.hasPartners){var s=o.childrenIds.indexOf(i.id);s--,s>=0&&(c=o.childrenIds[s])}this._keyNavigationActiveNodeId=c,this.center(c)}}else if(t.code==`ArrowDown`)i.childrenIds.length&&(this._keyNavigationActiveNodeId=i.childrenIds[0],this.center(i.childrenIds[0]));else if(t.code==`Space`){var l=n.getAttribute(S.attr.node_id);this.toggleExpandCollapse(l,t);return}}}},S.events.on(`redraw`,function(e,t){e.config.keyNavigation&&S._keyNavigation(e)}),S.events.on(`click`,function(e,t){e.config&&e.config.keyNavigation&&(e._keyNavigationActiveNodeId=t.node.id,e.center(t.node.id))}),S._keyNavigation=function(e){var t=e.element.querySelector(`:focus`);if(t&&t.parentElement&&t.parentElement.hasAttribute(S.attr.node_id)){var n=t.parentElement,r=t,i=r.querySelector(`title`);i&&i.parentNode.removeChild(i),r.removeAttribute(`tabindex`)}if(!S.isNEU(e._keyNavigationActiveNodeId)){var n=e.getNodeElement(e._keyNavigationActiveNodeId);if(!(!n||!n.children.length)){var r=n.children[0];r.setAttribute(`tabindex`,2);var a={text:``,id:e._keyNavigationActiveNodeId};if(S.events.publish(`screen-reader-text`,[e,a]),!S.isNEU(a.text)){var i=document.createElementNS(`http://www.w3.org/2000/svg`,`title`);i.innerHTML=a.text,r.appendChild(i)}S.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&e.searchUI.hide(),r.focus()}}},S.ui.css=function(){return`<style data-boc-styles>.boc-ai-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-ai-form{color:#aeaeae}.boc-light .boc-ai-form{color:#757575}.boc-ai-messages{font-size:16px}@media screen and (max-width:500px){.boc-ai-form{width:100%}}.boc-dark .boc-ai-form{background-color:#252526}.boc-light .boc-ai-form{background-color:#fff}.boc-ai-button{font-size:32px;position:absolute;top:20px;left:20px;cursor:pointer;padding:12px;border-radius:50%;user-select:none}.boc-dark .boc-ai-button{color:#aeaeae}.boc-light .boc-ai-button{color:#757575}.boc-ai-button:hover{color:#fff;background-color:#039be5}.boc-ai-container{padding:0 14px;display:grid;grid-template-rows:40px auto 80px;gap:10px;height:100%}.boc-ai-container .boc-input input{padding-right:50px}.boc-ai-close{text-align:end;margin-top:20px}.boc-ai-close svg{cursor:pointer}.boc-ai-start{text-align:center;display:flex;justify-content:center;align-items:center;user-select:none}.boc-ai-start span{font-weight:700;font-size:32px;font:"Segoe UI",Arial,sans-serif;background:linear-gradient(90deg,#039be5 28%,#f57c00,#ffca28);color:transparent!important;background-clip:text;display:inline-block;padding:10px 0}.boc-ai-send.boc-ai-send-cansend{cursor:pointer;background-color:#039be5}.boc-ai-send.boc-ai-send-cansend:hover{background-color:#f57c00}.boc-ai-send.boc-ai-send-cansend:active{background-color:#ffca28}.boc-ai-send{background-color:transparent;position:absolute;right:7px;top:7px;width:38px;height:38px;border-radius:50%;text-align:center;background-repeat:no-repeat;background-position:center;background-size:20px 20px}.boc-ai-send svg{display:block;margin:auto;height:100%}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.boc-ai-middle{overflow-y:auto}.boc-ai-middle::-webkit-scrollbar{display:none}.boc-button{background-color:#039be5;cursor:pointer;width:calc(100%);height:50px;color:#fff;padding-top:5px;padding-left:7px;padding-right:7px;text-align:center;text-transform:uppercase;border:1px solid #3fc0ff;display:inline-block;border-radius:5px}.boc-button.orange{background-color:#f57c00;border:1px solid #ffa03e}.boc-button.yellow{background-color:#ffca28;border:1px solid #ffdf7c}.boc-button.lower{text-transform:unset}.boc-button.transparent{background-color:transparent}.boc-button:hover{background-color:#35afea}.boc-button.orange:hover{background-color:#f79632}.boc-button.yellow:hover{background-color:#ffd452}.boc-button:active{transform:matrix(.98,0,0,.98,0,0)}.boc-button-icon{text-align:initial;cursor:pointer;margin-bottom:15px;color:#039be5}.boc-dark .boc-button-icon:hover{background-color:#2d2d2d}.boc-light .boc-button-icon:hover{background-color:#ececec}.boc-button-icon>img{height:24px;width:24px;vertical-align:middle;padding:7px}.boc-button:focus{outline:0}.boc-button-icon>img{filter:invert(46%) sepia(66%) saturate(2530%) hue-rotate(171deg) brightness(95%) contrast(98%)}.boc-light .boc-button.transparent{color:#039be5}.boc-light .boc-button.transparent:hover{color:#fff}.boc-button-loading{background-color:transparent;cursor:pointer;width:calc(100% - 2px);height:50px;color:#fff;text-align:center;text-transform:uppercase;border:1px solid #027cb7;display:inline-block;display:flex;justify-content:center;align-items:center;display:none}.boc-button-loading .boc-loading-dots div{margin:0 10px}.boc-link-boc-button{position:absolute;right:10px;top:-1px}@media screen and (max-width:1000px){.boc-link-boc-button{right:50px}}[data-boc-input-disabled] .boc-link-boc-button{display:none}[dir=rtl] .boc-link-boc-button{left:10px;right:unset}.boc-img-button{width:48px;height:48px;cursor:pointer;border-radius:50%;background-color:#039be5;background-repeat:no-repeat;background-size:24px 24px;background-position:center center;margin:3px;display:inline-block}.boc-img-button:hover{background-color:#f57c00}.boc-checkbox{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.boc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.boc-checkbox-checkmark{position:absolute;top:0;left:0;height:25px;width:25px;border-radius:5px}.boc-dark [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-dark [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark,.boc-light [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-light [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#aeaeae!important}[data-boc-input-disabled].boc-checkbox{cursor:default}[dir=rtl] .boc-checkbox-checkmark{right:0}[dir=rtl] .boc-checkbox{padding-left:unset;padding-right:35px}.boc-dark .boc-checkbox-checkmark{background-color:#333;border:1px solid #5b5b5b}.boc-light .boc-checkbox-checkmark{background-color:#fff;border:1px solid #c7c7c7}.boc-dark .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#3c3c3c}.boc-light .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#f8f9f9}.boc-dark .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-light .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-checkbox-checkmark:after{content:"";position:absolute;display:none}.boc-checkbox input:checked~.boc-checkbox-checkmark:after{display:block}.boc-checkbox .boc-checkbox-checkmark:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.boc-controls{display:flex;gap:7px;position:absolute}.boc-controls-top{left:unset;top:15px;right:50%;bottom:unset;transform:translateX(50%);flex-direction:row}.boc-controls-bottom{left:unset;top:unset;right:50%;bottom:15px;transform:translateX(50%);flex-direction:row}.boc-controls-left{left:15px;top:50%;right:unset;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-right{left:unset;top:50%;right:15px;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-bottom_right,.boc-controls-right_bottom{left:unset;top:unset;right:15px;bottom:15px;flex-direction:row}.boc-controls-right_bottom{flex-direction:column}.boc-controls-right_top,.boc-controls-top_right{left:unset;top:15px;right:15px;bottom:unset;flex-direction:row}.boc-controls-right_top{flex-direction:column}.boc-controls-bottom_left,.boc-controls-left_bottom{left:15px;top:unset;right:unset;bottom:15px;flex-direction:row}.boc-controls-left_bottom{flex-direction:column}.boc-controls-left_top,.boc-controls-top_left{left:15px;top:15px;right:unset;bottom:unset;flex-direction:row}.boc-controls-left_top{flex-direction:column}.boc-controls [data-control-id] svg{display:block;margin:0 auto}.boc-controls [data-control-id]{display:flex;align-items:center;cursor:pointer;width:60px;height:60px;border-radius:30px;box-shadow:0 4px 30px rgba(0,0,0,.1);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.boc-light .boc-controls [data-control-id]{background:rgba(255,255,255,.2);border:1px solid #c7c7c7}.boc-dark .boc-controls [data-control-id]{background:rgba(30,30,30,.2);border:1px solid #5b5b5b}.boc-controls [data-control-id]:hover{background-color:#0074e8}.boc-controls [data-control-id]:hover svg{filter:brightness(0) invert(1)}.boc-controls [data-control-id].boc-control-selected{background-color:#0074e8}.boc-controls [data-control-id].boc-control-selected svg{filter:brightness(0) invert(1)}.boc-filter{user-select:none}.boc-light .boc-filter{color:#757575}.boc-dark .boc-filter{color:#ccc}.boc-filter>div>div{display:inline-block;padding:3px 10px;cursor:pointer}.boc-filter-menu fieldset,.boc-filter>div,.filter-field-selected{border-radius:5px}.boc-filter-menu fieldset{overflow-y:auto;max-height:300px}.boc-filter>div.boc-filter-menu{padding:10px}.boc-light .boc-filter>div.boc-filter-menu,.boc-light .filter-field-selected{background-color:#f8f9f9}.boc-dark .boc-filter>div.boc-filter-menu,.boc-dark .filter-field-selected{background-color:#3c3c3c}.boc-light .boc-filter>div{background-color:#eee}.boc-dark .boc-filter>div{background-color:#333}.boc-form-perspective{transform-style:preserve-3d;perspective:500px;position:absolute;top:32px}.boc-form{box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;padding:14px;transform-origin:top center;user-select:none;display:none;position:relative;max-height:calc(100vh - 100px);overflow-y:auto;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.boc-form-bottom{border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:5px;border-top-right-radius:5px}.boc-form .separator{margin:0 10px}@media screen and (max-width:1000px){.boc-form-perspective{min-width:100%;max-height:calc(100% - 32px);left:unset!important;right:unset!important;transform:none!important}.boc-form .set{max-height:calc(100vh - 74px)}.boc-form-fieldset{max-width:unset!important}}.boc-light .boc-form .separator{border-bottom:1px solid #c7c7c7}.boc-dark .boc-form .separator{border-bottom:1px solid #5b5b5b}.boc-light .boc-form{background-color:#fff}.boc-dark .boc-form{background-color:#252526}.boc-item{padding:6px 12px 6px 12px;display:flex;flex-direction:row}.boc-light .boc-form .boc-item.selected,.boc-light .boc-form .boc-item:hover{background-color:#0074e8;color:#fff}.boc-dark .boc-form .boc-item.selected,.boc-dark .boc-form .boc-item:hover{background-color:#094771;color:#fff}.boc-item.selected img,.boc-item:hover img{filter:invert(100%)}.boc-item.selected img{visibility:visible!important}.boc-form-fieldset{display:flex;flex-wrap:wrap;margin:0!important}.boc-form-field{flex:1 0 21%;margin:3px;min-width:200px}.boc-form-field-100{flex:1 0 96%;margin:3px;min-width:200px}.boc-input{position:relative}.boc-input>input,.boc-input>select{height:50px;padding:18px 10px 2px 9px;width:100%;box-sizing:border-box;border-style:solid;border-width:1px}.boc-input select{height:50px;padding:20px 5px 4px 5px}[data-boc-input-disabled].boc-input>input,[data-boc-input-disabled].boc-input>select{border-color:transparent!important}.boc-light [data-boc-input-disabled]>input,.boc-light [data-boc-input-disabled]>select{background-color:#fff!important}.boc-dark [data-boc-input-disabled]>input,.boc-dark [data-boc-input-disabled]>select{background-color:#252526!important}[data-boc-input-disabled]>select{appearance:none;padding-left:8px}.boc-input>label{display:inline-block;position:absolute;padding-left:10px;padding-right:10px;color:#acacac;cursor:text;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1 ease-out;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:initial;text-align:initial;white-space:nowrap}.boc-input>label{top:12px;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 14px)}.boc-input>label.focused,.boc-input>label.hasval{top:-1px}.boc-input>input,.boc-input>select{outline:0;border-radius:5px}.boc-dark .boc-input>label.focused,.boc-light .boc-input>label.focused{color:#039be5}.boc-dark .boc-input>input,.boc-dark .boc-input>select{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-input>input,.boc-light .boc-input>select{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-light .boc-input>input:focus,.boc-light .boc-input>select:focus{border-color:#039be5;background-color:#f8f9f9}.boc-dark .boc-input>input:focus,.boc-dark .boc-input>select:focus{border-color:#039be5;background-color:#3c3c3c}.boc-dark .boc-input>input.boc-validation-error,.boc-dark .boc-input>select.boc-validation-error,.boc-light .boc-input>input.boc-validation-error,.boc-light .boc-input>select.boc-validation-error{border-color:#ca2a2a}.boc-dark .boc-validation-error-message,.boc-light .boc-validation-error-message{color:#ca2a2a}.boc-input select.multiple{height:initial}.boc-link{color:#039be5;cursor:pointer;text-decoration:underline}.boc-link:hover{color:#f57c00}.boc-dark ::-webkit-scrollbar,.boc-light ::-webkit-scrollbar{width:15px;height:15px}.boc-dark ::-webkit-scrollbar-corner{background:#1e1e1e}.boc-dark ::-webkit-scrollbar-track{background:#1e1e1e;border-left:1px solid #333;border-top:1px solid #333}.boc-dark ::-webkit-scrollbar-thumb{background:#424242}.boc-dark ::-webkit-scrollbar-thumb:hover{background:#4f4f4f}.boc-dark ::-webkit-scrollbar-thumb:active{background:#5e5e5e}.boc-light ::-webkit-scrollbar-corner{background:#fff}.boc-light ::-webkit-scrollbar-track{background:#fff;border-left:1px solid #ddd;border-top:1px solid #ddd}.boc-light ::-webkit-scrollbar-thumb{background:#c1c1c1}.boc-light ::-webkit-scrollbar-thumb:hover{background:#929292}.boc-light ::-webkit-scrollbar-thumb:active{background:#666}.boc-edit-form{position:fixed;top:0;right:0;height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:1000px){.boc-edit-form{width:100%}}.boc-dark .boc-edit-form{background-color:#252526}.boc-light .boc-edit-form{background-color:#fff}.boc-edit-form-header{height:200px;text-align:center;border-radius:10px}.export-service .boc-edit-form-header{border-radius:unset}.boc-edit-form-title{color:#fff;margin:0;padding:14px 17px 7px 17px}.boc-edit-form-avatar{border-radius:50%;width:150px;height:150px;position:absolute;top:75px;border:5px solid #fff;left:50%;transform:translateX(-50%);background-color:#cacaca;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0}.boc-edit-form-close{position:absolute;right:14px;top:14px;width:34px;height:34px;cursor:pointer}.boc-edit-form-fields{flex-grow:1;overflow-y:auto;overflow-x:hidden}.boc-edit-form-fields-inner{margin:0 7px 20px 7px}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.dark .boc-inner-user-message{background-color:#333}.light .boc-inner-user-message{background-color:#f9f9f9}.boc-export-form{box-shadow:rgba(0,0,0,.2) 0 -6px 6px 0,rgba(0,0,0,.19) 0 -13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-export-form{color:#aeaeae;background-color:#252526}.boc-light .boc-export-form{color:#757575;background-color:#eee}@media screen and (max-width:500px){.boc-export-form{width:100%}}.boc-export-container{display:grid;grid-template-rows:40px auto;gap:10px;height:100%}.boc-export-page{width:100%;border:1px solid #aeaeae;display:flex;justify-content:center;align-items:center;user-select:none;position:relative}.boc-export-selected{border:1px solid #ffca28}.boc-export-middle{overflow-y:auto;overflow-x:hidden;padding:0 3px 0 0;margin-bottom:10px}.boc-export-btns-inner{padding-top:14px;display:flex;justify-content:space-between}.boc-export-left{justify-content:flex-start}.boc-export-right{justify-content:flex-end}.boc-export-left,.boc-export-right{user-select:none}.boc-export-select{position:absolute;top:0;left:0;text-align:center;width:100%}.boc-export-child-buttons{position:absolute;bottom:7px;left:7px;display:none}.boc-export-page:hover .boc-export-child-buttons{display:initial}.boc-export-parent-buttons{position:absolute;top:7px;left:7px;display:none}.boc-export-page:hover .boc-export-parent-buttons{display:initial}.boc-export-remove-buttons{position:absolute;bottom:7px;right:7px;display:none}.boc-export-page:hover .boc-export-remove-buttons{display:initial}.boc-export-child-buttons button,.boc-export-parent-buttons button{width:23px}.boc-export-profiletree-buttons{position:absolute;top:7px;right:7px;display:none}.boc-export-page:hover .boc-export-profiletree-buttons{display:initial}.boc-export-middle-inner{display:grid;gap:10px;margin:0 10px}.boc-export-btns-inner{margin:0 10px}.boc-menu{position:absolute;min-width:240px;border-radius:12px;padding:8px;opacity:0;visibility:hidden;transform:scale(.95);transition:opacity .15s ease,transform .15s ease,visibility .15s;z-index:1000;user-select:none;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-menu-options{width:100%;table-layout:auto;border-collapse:collapse}.boc-menu-item{cursor:pointer}.boc-menu-icon,.boc-menu-shortcut{width:1%;white-space:nowrap;padding:12px}.boc-menu-icon{border-top-left-radius:7px;border-bottom-left-radius:7px;vertical-align:middle;font-size:20px}.boc-menu-icon>img,.boc-menu-icon>svg{display:block}.boc-menu-shortcut{text-align:right;border-top-right-radius:7px;border-bottom-right-radius:7px}.boc-menu-text{width:auto;padding:12px 0}.boc-menu-submenu{width:0%}.boc-menu.active{opacity:1;visibility:visible;transform:scale(1)}.boc-menu-line{height:1px}.boc-menu-divider>td{height:12px}.boc-menu-item.boc-has-submenu{position:relative}.boc-submenu-arrow{font-size:10px;opacity:.6}.boc-submenu{position:absolute;top:-9px;min-width:180px;border-radius:12px;padding:8px;opacity:0;visibility:hidden;transform:translateX(-10px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:1001}.boc-submenu.boc-submenu-left{right:100%;left:auto;margin-right:4px;transform:translateX(10px)}.boc-submenu:not(.boc-submenu-left){left:100%;right:auto;margin-left:4px}.boc-submenu.boc-submenu-top{bottom:0;top:auto}.boc-submenu:not(.boc-submenu-top){bottom:auto;top:0}.boc-menu-item.boc-has-submenu:hover>.boc-menu-submenu>.boc-submenu{opacity:1;visibility:visible;transform:translateX(0)}.boc-light .boc-submenu{background:#fff;box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.05);border:1px solid #e0e0e0}.boc-light .boc-menu-divider .boc-menu-line{background-color:#e0e0e0}.boc-light .boc-menu-shortcut{color:#666}.boc-light .boc-menu-item{color:#333}.boc-light .boc-menu-item:hover>td{background-color:#f5f5f5}.boc-light .boc-menu-item:hover>.boc-menu-text{color:#000}.boc-light .boc-menu{border:1px solid #e0e0e0;background:#fff;box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.05)}.boc-dark .boc-submenu{background:#1e1e1e;box-shadow:0 10px 25px -5px rgba(0,0,0,.55),0 8px 10px -6px rgba(0,0,0,.45);border:1px solid #3a3a3a}.boc-dark .boc-menu-divider .boc-menu-line{background-color:#3a3a3a}.boc-dark .boc-menu-shortcut{color:#8b949e}.boc-dark .boc-menu-item{color:#c9d1d9}.boc-dark .boc-menu-item:hover>td{background-color:#2d2d2d}.boc-dark .boc-menu-item:hover>.boc-menu-text{color:#fff}.boc-dark .boc-menu{border:1px solid #3a3a3a;background:#1e1e1e;box-shadow:0 10px 25px -5px rgba(0,0,0,.55),0 8px 10px -6px rgba(0,0,0,.45)}.boc-orgscribe-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:500px){.boc-orgscribe-form{width:100%}}.boc-dark .boc-orgscribe-form{background-color:#252526}.boc-light .boc-orgscribe-form{background-color:#fff}.boc-orgscribe-container{padding:0 14px;display:grid;grid-template-rows:40px auto 10px;gap:10px;height:100%}.boc-orgscribe-container .boc-input input{padding-right:50px}.boc-orgscribe-close{text-align:end;margin-top:20px}.boc-orgscribe-close svg{cursor:pointer}.boc-orgscribe-txt{width:100%;height:100%;box-sizing:border-box;border-style:solid;border-width:1px;outline:0;border-radius:5px;font-size:24px}.boc-dark .boc-orgscribe-txt{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-orgscribe-txt{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-search{position:absolute}@media screen and (max-width:500px){.boc-search{width:calc(100% - 30px);left:15px}}.boc-search .boc-input{margin-bottom:0}.boc-search-input{color:#7a7a7a;width:100%;border:none;outline:0;padding-top:10px;padding-right:47px}.boc-search-image-td{width:43px}.boc-search-text-td{padding-inline-end:7px;line-height:15px;text-align:start}.boc-search table{box-shadow:rgba(0,0,0,.2) 0 4px 8px 0,rgba(0,0,0,.19) 0 6px 20px 0;margin:0 3.5px 0 3.5px;width:calc(100% - 7px);border-radius:7px}.boc-search table tr:first-child td:first-child{border-top-left-radius:7px}.boc-search table tr:first-child td:last-child{border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:first-child{border-top-left-radius:unset;border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:last-child{border-top-right-radius:unset;border-top-left-radius:7px}.boc-search table tr:last-child td:first-child{border-bottom-left-radius:7px}.boc-search table tr:last-child td:last-child{border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:first-child{border-bottom-left-radius:unset;border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:last-child{border-bottom-right-radius:unset;border-bottom-left-radius:7px}.boc-dark .boc-search table{background-color:#252526;color:#acacac}.boc-search [data-search-item-id]{cursor:pointer}.boc-search-photo{margin:7px 7px 0 7px;width:32px;height:32px;background-size:cover;background-position:top center;border-radius:50%;display:inline-block;border:1px solid #8c8c8c}.boc-search [data-search-item-id]:hover .boc-link{color:#ffca28}.boc-search [data-search-item-id]:hover .boc-link:hover{color:#f57c00}.boc-dark .boc-search [data-search-item-id] td{border-top:1px solid #333}.boc-dark .boc-search [data-search-item-id]:hover,.boc-dark .boc-search [data-selected=yes]{background-color:#094771;color:#fff}.boc-light .boc-search table{background-color:#fff;color:#333}.boc-light .boc-search [data-search-item-id] td{border-top:1px solid #c7c7c7}.boc-light .boc-search [data-search-item-id]:hover,.boc-light .boc-search [data-selected=yes]{background-color:#0074e8;color:#fff}.boc-search [data-search-item-id]:first-child td{border-top:unset}.boc-ripple-container{position:absolute;top:0;right:0;bottom:0;left:0}.boc-drag-over rect{opacity:.5}.boc-ripple-container span{transform:scale(0);border-radius:100%;position:absolute;opacity:.75;background-color:#fff;animation:boc-ripple 1s}@-moz-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-webkit-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-o-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@keyframes boc-ripple{to{opacity:0;transform:scale(2)}}.boc-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.boc-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.boc-slider.round{border-radius:24px}.boc-slider.round:before{border-radius:50%}svg text:hover{cursor:default}svg.boc-cursor-grab,svg.boc-cursor-grab text:hover{cursor:grab}svg.boc-cursor-nodrop,svg.boc-cursor-nodrop text:hover{cursor:no-drop}svg.boc-cursor-copy,svg.boc-cursor-copy text:hover{cursor:copy}svg.boc-cursor-move,svg.boc-cursor-move text:hover{cursor:move}#boc-close-btn:focus,#boc-close-btn:hover{color:#000;text-decoration:none;cursor:pointer}#boc-id-select:focus{outline:.5px solid #aeaeae}#boc-sampleDialog #title:hover{cursor:default;background:gray}.boc-light{background-color:#fff;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark{background-color:#1e1e1e;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-selected .boc-selectable{stroke:#ffca28;stroke-width:3px}.boc-dark input,.boc-dark select,.boc-light input,.boc-light select{font:16px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark h1,.boc-light h1{font-size:30px;line-height:1}.boc-light [data-boc-content]::backdrop{background-color:#fff}.boc-dark [data-boc-content]::backdrop{background-color:#1e1e1e}.boc-dark text,.boc-light text{user-select:none}.boc-edit-form{position:absolute;border-radius:10px}.export-service .boc-edit-form{border-radius:unset}.boc-dark .boc-edit-form{color:#acacac}.boc-light .boc-edit-form{color:#333}.boc-dark ::-webkit-calendar-picker-indicator{filter:invert(70%)}.boc-light ::-webkit-calendar-picker-indicator{filter:invert(50%)}.boc-edit-form-instruments{margin:42px 10px 0 10px;text-align:center;min-height:70px}.boc-img-button svg{position:relative;top:12px}.boc-light .boc-toolbar-container svg circle,.boc-light .boc-toolbar-container svg line,.boc-light .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg circle,.boc-dark .boc-toolbar-container svg line,.boc-dark .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg rect{fill:#252526!important}.boc-dark .boc-toolbar-container [data-tlbr=minus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-bottom:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr=plus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-top:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr]>svg{border:1px solid #5b5b5b!important;background-color:#252526!important}.boc-toolbar-layout{height:123px;padding-top:20px;position:absolute;width:100%;left:"0";bottom:"-145px"}.boc-light .boc-toolbar-layout{border-top:1px solid #c7c7c7;background-color:#f9f9f9}.boc-dark .boc-toolbar-layout{border-top:1px solid #5b5b5b;background-color:#2b2b2b}.boc-dotted-connector path{stroke-dasharray:7}.boc-undo-redo{position:absolute;top:23px;left:23px}@media screen and (max-width:500px){.boc-undo-redo{position:absolute;top:83px;left:23px}}.boc-light .boc-undo-redo path{fill:#cacaca}.boc-dark .boc-undo-redo path{fill:#5b5b5b}.boc-light .boc-undo-redo .boc-ur-clickable path{fill:#9c9c9c}.boc-dark .boc-undo-redo .boc-ur-clickable path{fill:#8c8c8c}.boc-undo-redo .boc-ur-clickable rect{cursor:pointer}.boc-undo-redo>span{position:relative;display:inline-block;user-select:none}.boc-undo-redo .boc-undo-i{left:-6px;top:-6px}.boc-undo-redo .boc-redo-i{right:-6px;bottom:6px}.boc-undo-redo>span>span{color:#fff;position:absolute;display:inline-block;min-width:20px;min-height:20px;border-radius:50%;line-height:20px;text-align:center;padding:1px;user-select:none;cursor:pointer}.boc-light .boc-undo-redo>span>span{background-color:#9c9c9c}.boc-dark .boc-undo-redo>span>span{background-color:#8c8c8c}.boc-dark .treelist-pinned{filter:brightness(1.2)}.boc-light .treelist-pinned{filter:brightness(.9)}.boc-light .boc-scroll{fill:#fff}.boc-light .boc-scroll-thumb{fill:#c1c1c1}.boc-light .boc-scroll-thumb:hover{fill:#929292}.boc-dark .boc-scroll{fill:#1e1e1e}.boc-dark .boc-scroll-thumb{fill:#424242}.boc-dark .boc-scroll-thumb:hover{fill:#4f4f4f}</style>`},S.input={},S.input._timeout=null,S.input.initWithTimeout=function(){S.input._timeout&&(clearTimeout(S.input._timeout),S.input._timeout=null),S.input._timeout=setTimeout(S.input.init,200)},S.input.init=function(e){for(var t=e?e.querySelectorAll(`[data-boc-input]`):document.querySelectorAll(`[data-boc-input]`),n=0;n<t.length;n++){var r=t[n],i=null;r.type&&r.type.toLowerCase()==`hidden`&&(i=r),i||=r.querySelector(`input`),i||=r.querySelector(`select`);var a=r.querySelector(`label`);a&&(i.value||i.type==`select-one`&&i.selectedOptions&&i.selectedOptions.length&&i.selectedOptions[0].value==``&&i.selectedOptions[0].innerHTML)&&a.classList.add(`hasval`),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`focus`,function(){this.classList.remove(`boc-validation-error`);var e=this.parentNode.querySelector(`label`);e.classList.add(`focused`);var t=e.querySelector(`.boc-validation-error-message`);t&&t.parentNode.removeChild(t)}),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`blur`,function(){S.input.blurHandler(this)})}},S.input.blurHandler=function(e){var t=e.parentNode.querySelector(`label`);t.classList.remove(`focused`),e.value||e.type==`date`?t.classList.add(`hasval`):t.classList.remove(`hasval`)},S.input.validate=function(e){var t=null;e.type&&e.type.toLowerCase()==`hidden`&&(t=e),t||=e.querySelector(`input`),t||=e.querySelector(`select`);var n=e.querySelector(`label`);if(t.classList.remove(`boc-validation-error`),n){var r=n.querySelector(`.boc-validation-error-message`);r&&r.parentNode.removeChild(r)}!t.selectedOptions&&t.value&&(t.value=t.value.trim());var i=e.getAttribute(`data-v-required`),a=e.getAttribute(`data-v-password`),o=e.getAttribute(`data-v-email`),s=e.getAttribute(`data-v-emails`);return i&&t.value==``?(n.innerHTML+=`<span class="boc-validation-error-message"> `+i+`</span>`,t.classList.add(`boc-validation-error`),!1):a&&!S.input.validatePassword(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+a+`</span>`,t.classList.add(`boc-validation-error`),!1):o&&!S.input.isValidEmail(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+o+`</span>`,t.classList.add(`boc-validation-error`),!1):s&&!S.input.isValidEmails(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+s+`</span>`,t.classList.add(`boc-validation-error`),!1):!0},S.input.validateAndGetData=function(e){for(var t=e.querySelectorAll(`[data-boc-input]`),n=!0,r=0;r<t.length;r++){var i=t[r];S.input.validate(i)||(n=!1)}return n?S.input.getData(e):!1},S.input.getData=function(e){for(var t=e.querySelectorAll(`[data-binding]`),n={},r=0;r<t.length;r++){var i=t[r],a=i.getAttribute(`data-binding`);if(i.type.toLowerCase()==`checkbox`)n[a]=i.checked;else if(i.selectedOptions&&i.hasAttribute(`multiple`)){var o=i.selectedOptions;n[a]=Array.from(o).map(({value:e})=>e)}else n[a]=i.value}return n},S.input.validatePassword=function(e){return e&&=e.trim(),e.length<5||e.length>18?!1:e.indexOf(` `)==-1},S.input.isValidEmails=function(e){if(e)for(var t=e.split(`,`),n=0;n<t.length;n++){var r=t[n].trim();if(!S.input.isValidEmail(r))return!1}return!0},S.input.isValidEmail=function(e){return e&&=e.trim(),/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},S===void 0&&(S={}),S.prototype.onField=function(e){return this.on(`field`,function(t,n){return e.call(t,n)})},S.prototype.onInit=function(e){return this.on(`init`,function(t){return e.call(t)})},S.prototype.onRedraw=function(e){return this.on(`redraw`,function(t){return e.call(t)})},S.prototype.onUpdateNode=function(e){return this.on(`update`,function(t,n,r){var i={oldData:n,newData:r};return e.call(t,i)})},S.prototype.onUpdated=function(e){return this.on(`updated`,function(t){return e.call(t)})},S.prototype.onRemoveNode=function(e){return this.on(`remove`,function(t,n,r){var i={id:n,newPidsAndStpidsForIds:r};return e.call(t,i)})},S.prototype.onAddNode=function(e){return this.on(`add`,function(t,n){var r={data:n};return e.call(t,r)})},S.prototype.onDrop=function(e){return this.on(`drop`,function(t,n,r,i,a){var o={dragId:n,dropId:r,dragNodeElement:i,event:a};return e.call(t,o)})},S.prototype.onDrag=function(e){return this.on(`drag`,function(t,n,r,i){var a={dragId:n,event:r,nodeIds:i};return e.call(t,a)})},S.prototype.onExpandCollapseButtonClick=S.prototype.onExpandCollpaseButtonClick=function(e){return this.on(`expcollclick`,function(t,n,r,i){var a={collapsing:n,id:r,ids:i};return e.call(t,a)})},S.prototype.onExportStart=function(e){return this.on(`exportstart`,function(t,n){return e.call(t,n)})},S.prototype.onExportEnd=function(e){return this.on(`exportend`,function(t,n){return e.call(t,n)})},S.prototype.onNodeClick=function(e){return this.on(`click`,function(t,n){return e.call(t,n)})},S.prototype.onNodeMouseover=function(e){return this.on(`node-mouseover`,function(t,n){return e.call(t,n)})},S.prototype.onNodeMouseleave=function(e){return this.on(`node-mouseleave`,function(t,n){return e.call(t,n)})},S.prototype.onCanvasClick=function(e){return this.on(`canvas-click`,function(t,n){return e.call(t,n)})},S.prototype.onNodeDoubleClick=function(e){return this.on(`dbclick`,function(t,n){var r={data:n};return e.call(t,r)})},S.prototype.onAIToolCalls=function(e){return this.on(`ai-tool-calls`,function(t,n){return e.call(t,n)})},S.prototype._dragDropHandler=function(e,t,n){},S.prototype._movableHandler=function(e,t,n){},S===void 0&&(S={}),S._communityMessages=[],S._communityAlert=function(){var e=[];for(var t of S._communityMessages)e.includes(t)||e.push(t);if(e.length){var n=`The following methods and options are not supported in Community Edition:\n\n${e.join(`
|
|
491
|
-
`)} \n\nDownload the Trial Edition if you want to use the features above.`;alert(n)}},S._communityMethod=function(e){S._communityMessages.push(e+` [method]`)},S.manager._community_createNodes=S.manager._createNodes,S.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs;return S._checkForUnsuportedFeatures(t,n),S.manager._community_createNodes(e)},S._checkForUnsuportedFeatures=function(e,t){for(var n of e.nodes){if(n.tags){var r=n.tags.indexOf(`assistant`);r>-1&&(S._communityMessages.push(`assistant [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`partner`),r>-1&&(S._communityMessages.push(`partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`left-partner`),r>-1&&(S._communityMessages.push(`left-partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`right-partner`),r>-1&&(S._communityMessages.push(`right-partner [tag]`),n.tags.splice(r,1))}S.isNEU(n.stpid)||(S._communityMessages.push(`stpid [property]`),n.stpid=void 0)}for(var i in e.slinks&&e.slinks.length&&(S._communityMessages.push(`slinks [option]`),e.slinks=[]),e.clinks&&e.clinks.length&&(S._communityMessages.push(`clinks [option]`),e.clinks=[]),t){var a=t[i];a.layout!=S.layout.normal&&(S._communityMessages.push(`layout [option]`),a.layout=S.layout.normal)}},S.events.on(`init`,function(e,t){setTimeout(S._communityAlert,500)}),S._defaultConfig=function(e){for(var t of[`enableDragDrop`,`enableSearch`,`enableAI`,`keyNavigation`,`miniMap`,`controls`,`nodeMenu`,`nodeCircleMenu`,`nodeContextMenu`,`menu`,`toolbar`,`showXScroll`,`showYScroll`,`searchFields`,`searchDisplayField`,`searchFieldsWeight`,`searchFieldsAbbreviation`,`movable`,`serverUrl`,`state`,`editForm`,`showYScroll`,`showYScroll`,`filterBy`,`undoRedoStorageName`])e[t]&&S._communityMessages.push(t+` [option]`);return{interactive:!0,mode:`light`,lazyLoading:`auto`,enableDragDrop:!1,enableSearch:!1,enableAI:!1,enablePan:!0,keyNavigation:!1,miniMap:!1,controls:null,nodeMenu:null,nodeCircleMenu:null,nodeContextMenu:null,menu:null,toolbar:!1,nodeMouseClick:S.action.none,nodeMouseDbClick:S.action.none,mouseScrool:S.action.ctrlZoom,showXScroll:!1,showYScroll:!1,template:`ana`,tags:{},min:!1,nodeBinding:{},linkBinding:{},searchFields:null,searchDisplayField:null,searchFieldsWeight:null,searchFieldsAbbreviation:null,nodes:[],clinks:[],slinks:[],backdrops:[],groupDottedLines:[],dottedLines:[],undoRedoStorageName:null,levelSeparation:60,siblingSeparation:20,subtreeSeparation:40,backdropSeparation:15,mixedHierarchyNodesSeparation:15,assistantSeparation:100,minPartnerSeparation:50,partnerChildrenSplitSeparation:20,partnerNodeSeparation:15,columns:10,padding:30,orientation:S.orientation.top,layout:S.layout.normal,layoutGridColumns:`dynamic`,scaleInitial:S.match.boundaryIfOutside,movable:null,scaleMin:.1,scaleMax:5,orderBy:null,editUI:null,aiUI:null,orgScribeUI:null,powerPointPreviewUI:null,pdfPreviewUI:null,svgPreviewUI:null,pngPreviewUI:null,filterUI:null,searchUI:null,xScrollUI:null,yScrollUI:null,nodeMenuUI:null,controlsUI:null,nodeCircleMenuUI:null,nodeContextMenuUI:null,toolbarUI:null,notifierUI:null,menuUI:null,undoRedoUI:null,exportUrl:null,serverUrl:null,aiChatTools:[],collapse:{},expand:{},align:S.CENTER,UI:null,anim:{func:S.anim.outPow,duration:200},zoom:{speed:120,smooth:12},roots:null,state:null,editForm:null}},S.prototype.__mouseScrollHandlerTreeList=function(){},S.prototype._treeListUpdate=function(){},S.prototype._treeListIterate2=function(){},S.prototype._treeListSetPositions=function(){},S.prototype._treeListThumbMouseDownHandler=function(){},S.prototype._treeListExpandCollapseHandler=function(e){},S===void 0&&(S={}),S.local={},S.local._setPositions=function(e,t,n){S.local._walk(e,t),n()},S.local._walk=function(e,t){for(var n={minX:null,minY:null,maxX:null,maxY:null},r=[],i=[],a=0;a<e.length;a++){var o=S.local._getConfig(e[a],t);S.local._firstWalk(e[a],0,r,i,o)}for(var a=0;a<e.length;a++){var o=S.local._getConfig(e[a],t);S.local._secondWalk(e[a],0,0,0,r,n,o)}},S.local._firstWalk=function(e,t,n,r,i){var a=null;if(e.x=0,e.y=0,e._prelim=0,e._modifier=0,e.leftNeighbor=null,e.rightNeighbor=null,S.local._setLevelMaxNodeHeight(e,t,n,i),S.local._setNeighbors(e,t,r),!S.local._hasChildren(e)||t==S.MAX_DEPTH)if(a=S.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+S.local._nodeWithPartnersSize(a,i)+o}else e._prelim=0;else{for(var s of e.children)S.local._firstWalk(s,t+1,n,r,i);var c=S.local._fChild(e),l=e.children[e.children.length-1],u=c._prelim+(l._prelim-c._prelim)/2+S.local._leftMidPoint(l,i);if(u-=S.local._mid(e,i),a=S.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+S.local._nodeWithPartnersSize(a,i)+o,e._modifier=e._prelim-u,S.local._apportion(e,t,n,i)}else i.orientation<=3?e._prelim=u:e._prelim=0}},S.local._secondWalk=function(e,t,n,r,i,a,o){if(t<=S.MAX_DEPTH){var s=e._prelim+n,c=r,l=0,u=0;switch(l=i[t],u=S.local._getNodeHeight(e,o),e.x=s,e.y=c,o.orientation){case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:var d=e.x;e.x=e.y,e.y=d;break}switch(o.orientation){case S.orientation.bottom:case S.orientation.bottom_left:e.y=-e.y-u;break;case S.orientation.right:case S.orientation.right_top:e.x=-e.x-u;break}if(S._setMinMaxXY(e,a,!0),e.children!=0){var f=o.levelSeparation;S.local._secondWalk(e.children[0],t+1,n+e._modifier,r+l+f,i,a,o)}var p=S.local._getRightSibling(e);p!=null&&S.local._secondWalk(p,t,n,r,i,a,o)}},S.local._lastWalk=function(e,t,n,r,i){e.x+=t+i[3]-r.minX,e.y+=n+i[0]-r.minY;for(var a of e.children)S.local._lastWalk(a,t,n,r,i)},S.local._apportion=function(e,t,n,r){for(var i=S.local._fChild(e),a=i.leftNeighbor,o=1,s=S.MAX_DEPTH-t;i!=null&&a!=null&&o<=s;){for(var c=0,l=0,u=i,d=a,f=0;f<o;f++)u=u.parent,d=d.parent,c+=u._modifier,l+=d._modifier;var p=r.subtreeSeparation;e.leftNeighbor&&e.parent==e.leftNeighbor.parent&&typeof e.leftNeighbor.id==`string`&&e.leftNeighbor.id.indexOf(`_sublevel_layout_`)!=-1&&(p=r.subtreeSeparation);var m=a._prelim+l+S.local._nodeWithPartnersSize(a,r)+p-(i._prelim+c);if(m>0){for(var h=e,g=0;h!=null&&h!=d;h=S.local._getLeftSibling(h))g++;if(h!=null){var _=e,v=m/g;for(typeof _.id==`string`&&_.id.indexOf(`_grid_pseudo_node_`)!=-1&&(v=0);_!=d;_=S.local._getLeftSibling(_))_._prelim+=m,_._modifier+=m,m-=v}}o++,i=S.local._hasChildren(i)?S.local._fChild(i):S.local._getLeftmost(e,0,o),i!=null&&(a=i.leftNeighbor)}},S.local._mixedTreeHeight=function(e){e.size+=S.local._getNodeHeight(e.node,e.config)+e.config.mixedHierarchyNodesSeparation;for(var t=0;t<e.node.children.length;t++)e.node=e.node.children[t],S.local._mixedTreeHeight(e)},S.local._setLevelMaxNodeHeight=function(e,t,n,r){n[t]??(n[t]=0);var i=S.local._getNodeHeight(e,r);n[t]<i&&(n[t]=i)},S.local._setNeighbors=function(e,t,n){n[t]&&n[t].id===e.id||(e.leftNeighbor=n[t],e.leftNeighbor!=null&&(e.leftNeighbor.rightNeighbor=e),n[t]=e)},S.local._nodeWithPartnersSize=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h}return 0},S.local._size=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h}return 0},S.local._leftMidPoint=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w/2;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h/2}return 0},S.local._rightMidPoint=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w/2;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h/2}return 0},S.local._mid=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.w/2;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.h/2}return 0},S.local._getNodeHeight=function(e,t){switch(t.orientation){case S.orientation.top:case S.orientation.top_left:case S.orientation.bottom:case S.orientation.bottom_left:return e.h;case S.orientation.right:case S.orientation.right_top:case S.orientation.left:case S.orientation.left_top:return e.w}return 0},S.local._getLeftSibling=function(e){return e.leftNeighbor!=null&&e.leftNeighbor.parent==e.parent?e.leftNeighbor:null},S.local._getRightSibling=function(e){return e.rightNeighbor!=null&&e.rightNeighbor.parent==e.parent?e.rightNeighbor:null},S.local._getLeftmost=function(e,t,n){if(t>=n)return e;if(!S.local._hasChildren(e))return null;for(var r of e.children){var i=S.local._getLeftmost(r,t+1,n);if(i!=null)return i}return null},S.local._fChild=function(e){return e.children[0]},S.local._hasChildren=function(e){for(var t=0;t<e.children.length;t++)return!0;return!1},S.local._getConfig=function(e,t){return t[e.lcn?e.lcn:`base`]},S.editUI=function(){},S.editUI.prototype.init=function(){},S.editUI.prototype.on=function(e,t){return S._communityMethod(`editUI.on`),this},S.editUI.prototype.show=function(e,t,n){S._communityMethod(`editUI.show`)},S.editUI.prototype.setAvatar=function(e){S._communityMethod(`editUI.setAvatar`)},S.editUI.prototype.hide=function(e){},S.menuUI=function(){},S.menuUI.prototype.init=function(){},S.menuUI.prototype.showStickIn=function(){S._communityMethod(`menuUI.showStickIn`)},S.menuUI.prototype.show=function(){S._communityMethod(`menuUI.show`)},S.menuUI.prototype.isVisible=function(){S._communityMethod(`menuUI.isVisible`)},S.menuUI.prototype.hide=function(){},S.menuUI.prototype.on=function(){S._communityMethod(`menuUI.on`)},S.controlsUI=function(){},S.controlsUI.prototype.init=function(){},S.controlsUI.prototype.show=function(){S._communityMethod(`controlsUI.show`)},S.controlsUI.prototype.hide=function(){S._communityMethod(`controlsUI.hide`)},S.circleMenuUI=function(){},S.circleMenuUI.prototype.init=function(){},S.circleMenuUI.prototype.show=function(){S._communityMethod(`circleMenuUI.show`)},S.circleMenuUI.prototype.isVisible=function(){S._communityMethod(`circleMenuUI.isVisible`)},S.circleMenuUI.prototype.hide=function(){},S.circleMenuUI.prototype.on=function(){return S._communityMethod(`circleMenuUI.on`),this},S.toolbarUI=function(){},S.toolbarUI.expandAllIcon=``,S.toolbarUI.fitIcon=``,S.toolbarUI.openFullScreenIcon=``,S.toolbarUI.closeFullScreenIcon=``,S.toolbarUI.zoomInIcon=``,S.toolbarUI.zoomOutIcon=``,S.toolbarUI.layoutIcon=``,S.toolbarUI.prototype.init=function(){},S.toolbarUI.prototype.showLayout=function(){},S.toolbarUI.prototype.hideLayout=function(){},S.prototype.importCSV=function(){S._communityMethod(`importCSV`)},S.prototype.importXML=function(){S._communityMethod(`importXML`)},S.searchUI=function(){},S.searchUI.prototype.init=function(e){},S.searchUI.prototype._enterHandler=function(){S._communityMethod(`searchUI._enterHandler`)},S.searchUI.prototype.find=function(e){S._communityMethod(`searchUI.find`)},S.searchUI.prototype.addMatchTag=function(e){},S.searchUI.prototype.__search=function(){},S.searchUI.prototype._search=function(){},S.searchUI.prototype.helpView=function(){S._communityMethod(`searchUI.helpView`)},S.searchUI.createItem=function(e,t,n,r){S._communityMethod(`searchUI.createItem`)},S.searchUI.prototype.hide=function(){S._communityMethod(`searchUI.hide`)},S.searchUI.prototype.on=function(e,t){return S._communityMethod(`searchUI.on`),this},S.xScrollUI=function(e,t,n,r,i){this.config=t},S.xScrollUI.prototype.addListener=function(e){},S.xScrollUI.prototype.create=function(e){},S.xScrollUI.prototype.setPosition=function(){},S.yScrollUI=function(e,t,n,r,i){this.config=t},S.yScrollUI.prototype.addListener=function(e){},S.yScrollUI.prototype.create=function(e){},S.yScrollUI.prototype.setPosition=function(){},S===void 0&&(S={}),S.clinkLabelPosition=function(){},S.clinkCurve=function(){},S.prototype.addClink=function(){return S._communityMethod(`addClink`),this},S.prototype.removeClink=function(){return S._communityMethod(`removeClink`),this},S.clinkTemplates={},S.clinkTemplates.orange={defs:``,link:``,label:``},S.clinkTemplates.blue={defs:``,link:``,label:``},S.clinkTemplates.yellow={defs:``,link:``,label:``},S===void 0&&(S={}),S.prototype._slinks=function(){S._communityMethod(`_slinks`)},S.prototype.addSlink=function(){return S._communityMethod(`addSlink`),this},S.prototype.removeSlink=function(e,t){return S._communityMethod(`removeSlink`),this},S.slinkTemplates={},S.slinkTemplates.orange={defs:``,link:``,label:``,labelPosition:``},S.slinkTemplates.blue={defs:``,link:``,label:``,labelPosition:``},S.slinkTemplates.yellow={defs:``,link:``,label:``,labelPosition:``},S.orgScribeUI=function(){},S.orgScribeUI.prototype.init=function(e){},S.orgScribeUI.prototype.isVisible=function(){S._communityMethod(`orgScribeUI.isVisible`)},S.orgScribeUI.prototype.show=function(e,t){S._communityMethod(`orgScribeUI.show`)},S.orgScribeUI.prototype.hide=function(){S._communityMethod(`orgScribeUI.hide`)},S===void 0&&(S={}),S.prototype.undo=function(e){S._communityMethod(`undo`)},S.prototype.redo=function(e){S._communityMethod(`redo`)},S.prototype.clearRedo=function(){},S.prototype.clearUndo=function(){S._communityMethod(`clearUndo`)},S.prototype.undoStepsCount=function(){S._communityMethod(`undoStepsCount`)},S.prototype.redoStepsCount=function(){S._communityMethod(`redoStepsCount`)},S.prototype._putInUndoStack=function(){},S.prototype._putInRedoStack=function(){},S===void 0&&(S={}),S.undoRedoUI=function(){},S.undoRedoUI.prototype.init=function(e){},S.undoRedoUI.prototype.refresh=function(){S._communityMethod(`undoRedoUI.refresh`)},S.undoRedoUI.prototype.on=function(e,t){return S._communityMethod(`undoRedoUI.on`),this},S.undoRedoUI.prototype.onChange=function(e){S._communityMethod(`undoRedoUI.onChange`)},S.miniMap={},S.miniMap.colors=[],S.miniMap.selectorBackgroundColor=``,S.miniMap.backgroundColor=``,S.miniMap.focusStroke=``,S.miniMap.opacity=0,S.miniMap.border=``,S.miniMap.width=0,S.miniMap.height=0,S.miniMap.padding=0,S.miniMap.position={top:void 0,left:void 0,right:void 0,bottom:void 0},S.miniMap.draggable=!0,S.state={},S.state._buildStateNames=function(e){return{paramScale:e+`-scale`,paramX:e+`-x`,paramY:e+`-y`,paramExp:e+`-exp`,paramMin:e+`-min`,paramRoots:e+`-roots`,paramAdjustify:e+`-adjustify`}},S.state._put=function(e,t,n,r,i,a,o,s){},S.state._get=function(e,t,n,r){r(null)},S.state.clear=function(e){},S._search={},S._search.search=function(){S._communityMethod(`searchUI.search`)},S._search.addNodeToResult=function(){S._communityMethod(`searchUI.addNodeToResult`)},S._search.searchAndComputeScore=function(){S._communityMethod(`searchUI.searchAndComputeScore`)},S._search.searchIndexesOf=function(){S._communityMethod(`searchUI.searchIndexesOf`)},S.filterUI=function(){},S.filterUI.prototype.init=function(e){},S.filterUI.prototype.addFilterTag=function(e){},S.filterUI.prototype.show=function(e){S._communityMethod(`filterUI.show`)},S.filterUI.prototype.hide=function(){},S.filterUI.prototype._removeFilter=function(e){},S.filterUI.prototype.update=function(){},S.filterUI.prototype.on=function(e,t){S._communityMethod(`filterUI.on`)},S.filterUI.textFilterBy=``,S.filterUI.all=``,S.prototype.exportToPDFProfile=function(){S._communityMethod(`exportToPDFProfile`)},S.prototype.exportToVisio=function(){S._communityMethod(`exportToVisio`)},S.prototype.exportToPDF=function(){S._communityMethod(`exportToPDF`)},S.prototype.exportToPNG=function(){S._communityMethod(`exportToPNG`)},S.prototype.exportToSVG=function(){S._communityMethod(`exportToSVG`)},S.prototype.exportToPowerPoint=function(){S._communityMethod(`exportToPowerPoint`)},S.exportUI=function(){},S.exportUI.prototype.init=function(){},S.exportUI.prototype.show=function(e){S._communityMethod(`exportUI.show`)},S.exportUI.prototype.isVisible=function(){S._communityMethod(`exportUI.isVisible`)},S.exportUI.prototype.hide=function(){},S.exportUI.prototype.refresh=function(){S._communityMethod(`exportUI.refresh`)},S.exportUI.prototype.toggleLanscape=function(){S._communityMethod(`exportUI.toggleLanscape`)},S.exportUI.prototype.addPage=function(){S._communityMethod(`exportUI.addPage`)},S.exportUI.prototype.removePage=function(){S._communityMethod(`exportUI.removePage`)},S.exportUI.prototype.toggelePrintTreeOrProfile=function(){S._communityMethod(`exportUI.toggelePrintTreeOrProfile`)},S.exportUI.prototype.selectPage=function(e){S._communityMethod(`exportUI.selectPage`)};var C=S,w=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),T=s((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===k?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case w:return`Suspense`;case T:return`SuspenseList`;case O:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case _:return`Portal`;case S:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case C:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case E:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case D:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===v)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===D)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=A.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(j.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){P||(P=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return F[e]||(F[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:g,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var f=n.children;if(f!==void 0)if(o)if(M(f)){for(o=0;o<f.length;o++)p(f[o]);Object.freeze&&Object.freeze(f)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else p(f);if(j.call(n,`key`)){f=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,ee[f+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
492
|
-
let props = %s;
|
|
493
|
-
<%s {...props} />
|
|
494
|
-
React keys must be passed directly to JSX without using spread:
|
|
495
|
-
let props = %s;
|
|
496
|
-
<%s key={someKey} {...props} />`,o,f,m,f),ee[f+o]=!0)}if(f=null,i!==void 0&&(r(i),f=``+i),s(n)&&(r(n.key),f=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return f&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,f,i,a(),l,d)}function p(e){m(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===D&&(e._payload.status===`fulfilled`?m(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function m(e){return typeof e==`object`&&!!e&&e.$$typeof===g}var h=f(),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),C=Symbol.for(`react.forward_ref`),w=Symbol.for(`react.suspense`),T=Symbol.for(`react.suspense_list`),E=Symbol.for(`react.memo`),D=Symbol.for(`react.lazy`),O=Symbol.for(`react.activity`),k=Symbol.for(`react.client.reference`),A=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,M=Array.isArray,N=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var P,F={},I=h.react_stack_bottom_frame.bind(h,o)(),L=N(i(o)),ee={};e.Fragment=v,e.jsx=function(e,t,n){var r=1e4>A.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):I,r?N(i(e)):L)},e.jsxs=function(e,t,n){var r=1e4>A.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):I,r?N(i(e)):L)}})()})),E=s(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=w():t.exports=T()}))(),D={camelToKebab:function(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()},kebabToCamel:function(e){return e.replace(/-([a-z0-9])/g,(e,t)=>t.toUpperCase())},divToEmployees:function(e){let t=[],n=1;function r(e,i){let a=n++,o={id:a};i!==void 0&&(o.pid=i),Array.from(e.attributes).forEach(e=>{let t=e.name.replace(`data-`,``),n=D.kebabToCamel(t),r=e.value;n===`assistant`||n===`partner`?r===`true`&&(o.tags||=[],o.tags.push(n)):o[n]=r}),t.push(o),Array.from(e.children).forEach(e=>{r(e,a)})}return Array.from(e.children).forEach(e=>r(e)),t}},O=function({children:e,title:t,name:n,photo:r,assistant:i,partner:a,template:o,...s}){return(0,E.jsx)(`div`,{...Object.keys(s).reduce((e,t)=>{let n=D.camelToKebab(t);return e[`data-${n}`]=s[t],e},{}),"data-title":t,"data-name":n,"data-photo":r,"data-assistant":i,"data-partner":a,"data-template":o,children:e})},k=(0,x.forwardRef)((e,t)=>{let n=(0,x.useRef)(null),r=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(n.current&&!r.current){let i=D.divToEmployees(n.current),a=e?.data;i&&!a&&(a=i);let o={...e,nodes:a},s=new C(n.current,o);r.current=s,typeof t==`function`?t(s):t&&(t.current=s),e.onUpdateNode&&s.onUpdateNode(e.onUpdateNode),e.onUpdated&&s.onUpdated(e.onUpdated),e.onRemoveNode&&s.onRemoveNode(e.onRemoveNode),e.onAddNode&&s.onAddNode(e.onAddNode),e.onDrag&&s.onDrag(e.onDrag),e.onDrop&&s.onDrop(e.onDrop),e.onInit&&s.onInit(e.onInit),e.onRedraw&&s.onRedraw(e.onRedraw),e.onExpandCollapseButtonClick&&s.onExpandCollapseButtonClick(e.onExpandCollapseButtonClick),e.onExportStart&&s.onExportStart(e.onExportStart),e.onExportEnd&&s.onExportEnd(e.onExportEnd),e.onNodeClick&&s.onNodeClick(e.onNodeClick),e.onCanvasClick&&s.onCanvasClick(e.onCanvasClick),e.onAIToolCalls&&s.onAIToolCalls(e.onAIToolCalls),e.onNodeDoubleClick&&s.onNodeDoubleClick(e.onNodeDoubleClick)}},[]),(0,x.useEffect)(()=>{r.current&&e.data&&e.data.length>0&&r.current.load(e.data)},[e.data]),(0,E.jsx)(`div`,{ref:n,style:{width:`100%`,height:`100%`,...e?.style},children:e?.children})});e.Employee=O,e.OrgChartJS=C,e.OrgChartReact=k,e.Template=function({name:e,baseTemplateName:t,renderNode:n,renderPlus:r,renderMinus:i,renderNodeMenuButton:a,nodeWidth:o,nodeHeight:s,padding:c,treeListMaxHeight:l,editFormHeaderColor:u,rippleRadius:d,rippleColor:f}){if(!C.templates[e]){if(t||=`ana`,C.templates[e]=Object.assign({},C.templates[t]),o!=null&&C.templates[e].size){let t=[...C.templates[e].size];t[0]=o,C.templates[e].size=t}if(s!=null&&C.templates[e].size){let t=[...C.templates[e].size];t[1]=s,C.templates[e].size=t}c!=null&&(C.templates[e].padding=c),l!=null&&(C.templates[e].treeListMaxHeight=l),u!=null&&(C.templates[e].editFormHeaderColor=u),d!=null&&(C.templates[e].ripple||(C.templates[e].ripple={radius:0,color:`#ddd`}),C.templates[e].ripple.radius=d),f!=null&&(C.templates[e].ripple||(C.templates[e].ripple={radius:0,color:`#ddd`}),C.templates[e].ripple.color=f),n!=null&&(C.templates[e].node=function(e,t,r,i){return b.renderToStaticMarkup((0,E.jsx)(E.Fragment,{children:n(e,t,r,i)}))}),r!=null&&(C.templates[e].plus=function(e,t,n,i){return b.renderToStaticMarkup((0,E.jsx)(E.Fragment,{children:r(e,t,n,i)}))}),i!=null&&(C.templates[e].minus=function(e,t,n,r){return b.renderToStaticMarkup((0,E.jsx)(E.Fragment,{children:i(e,t,n,r)}))}),a!=null&&(C.templates[e].nodeMenuButton=function(e,t,n,r){return b.renderToStaticMarkup((0,E.jsx)(E.Fragment,{children:a(e,t,n,r)}))})}return null}});
|
|
1
|
+
(function(global, factory) {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom/server"), require("balkan-orgchart-js-community"), require("react/jsx-runtime")) : typeof define === "function" && define.amd ? define([
|
|
3
|
+
"exports",
|
|
4
|
+
"react",
|
|
5
|
+
"react-dom/server",
|
|
6
|
+
"balkan-orgchart-js-community",
|
|
7
|
+
"react/jsx-runtime"
|
|
8
|
+
], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.MyReactLib = {}, global.react, global.react_dom_server, global.balkan_orgchart_js_community, global.react_jsx_runtime));
|
|
9
|
+
})(this, function(exports, react, react_dom_server, balkan_orgchart_js_community, react_jsx_runtime) {
|
|
10
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
11
|
+
//#region \0rolldown/runtime.js
|
|
12
|
+
var __create = Object.create;
|
|
13
|
+
var __defProp = Object.defineProperty;
|
|
14
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
15
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
16
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
17
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
|
+
key = keys[i];
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
22
|
+
get: ((k) => from[k]).bind(null, key),
|
|
23
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
29
|
+
value: mod,
|
|
30
|
+
enumerable: true
|
|
31
|
+
}) : target, mod));
|
|
32
|
+
//#endregion
|
|
33
|
+
react = __toESM(react, 1);
|
|
34
|
+
react_dom_server = __toESM(react_dom_server, 1);
|
|
35
|
+
balkan_orgchart_js_community = __toESM(balkan_orgchart_js_community, 1);
|
|
36
|
+
//#region src/OrgChartReact.tsx
|
|
37
|
+
var util = {
|
|
38
|
+
camelToKebab: function(str) {
|
|
39
|
+
return str.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
40
|
+
},
|
|
41
|
+
kebabToCamel: function(str) {
|
|
42
|
+
return str.replace(/-([a-z0-9])/g, (_match, character) => {
|
|
43
|
+
return character.toUpperCase();
|
|
44
|
+
});
|
|
45
|
+
},
|
|
46
|
+
divToEmployees: function(div) {
|
|
47
|
+
const results = [];
|
|
48
|
+
let currentId = 1;
|
|
49
|
+
function traverse(element, pid) {
|
|
50
|
+
const id = currentId++;
|
|
51
|
+
const nodeData = { id };
|
|
52
|
+
if (pid !== void 0) nodeData.pid = pid;
|
|
53
|
+
Array.from(element.attributes).forEach((attr) => {
|
|
54
|
+
const key = attr.name.replace("data-", "");
|
|
55
|
+
const camelKey = util.kebabToCamel(key);
|
|
56
|
+
const value = attr.value;
|
|
57
|
+
if (camelKey === "assistant" || camelKey === "partner") {
|
|
58
|
+
if (value === "true") {
|
|
59
|
+
if (!nodeData.tags) nodeData.tags = [];
|
|
60
|
+
nodeData.tags.push(camelKey);
|
|
61
|
+
}
|
|
62
|
+
} else nodeData[camelKey] = value;
|
|
63
|
+
});
|
|
64
|
+
results.push(nodeData);
|
|
65
|
+
Array.from(element.children).forEach((child) => {
|
|
66
|
+
traverse(child, id);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
Array.from(div.children).forEach((root) => traverse(root));
|
|
70
|
+
return results;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
var Employee = function({ children, title, name, photo, assistant, partner, template, ...rest }) {
|
|
74
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
75
|
+
...Object.keys(rest).reduce((acc, key) => {
|
|
76
|
+
const kebabKey = util.camelToKebab(key);
|
|
77
|
+
acc[`data-${kebabKey}`] = rest[key];
|
|
78
|
+
return acc;
|
|
79
|
+
}, {}),
|
|
80
|
+
"data-title": title,
|
|
81
|
+
"data-name": name,
|
|
82
|
+
"data-photo": photo,
|
|
83
|
+
"data-assistant": assistant,
|
|
84
|
+
"data-partner": partner,
|
|
85
|
+
"data-template": template,
|
|
86
|
+
children
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
var OrgChartReact = (0, react.forwardRef)((props, ref) => {
|
|
90
|
+
const containerRef = (0, react.useRef)(null);
|
|
91
|
+
const orgChartInstance = (0, react.useRef)(null);
|
|
92
|
+
(0, react.useEffect)(() => {
|
|
93
|
+
if (containerRef.current && !orgChartInstance.current) {
|
|
94
|
+
const employees = util.divToEmployees(containerRef.current);
|
|
95
|
+
let data = props?.data;
|
|
96
|
+
if (employees && !data) data = employees;
|
|
97
|
+
const options = {
|
|
98
|
+
...props,
|
|
99
|
+
nodes: data
|
|
100
|
+
};
|
|
101
|
+
const chart = new balkan_orgchart_js_community.default(containerRef.current, options);
|
|
102
|
+
orgChartInstance.current = chart;
|
|
103
|
+
if (typeof ref === "function") ref(chart);
|
|
104
|
+
else if (ref) ref.current = chart;
|
|
105
|
+
if (props.onUpdateNode) chart.onUpdateNode(props.onUpdateNode);
|
|
106
|
+
if (props.onUpdated) chart.onUpdated(props.onUpdated);
|
|
107
|
+
if (props.onRemoveNode) chart.onRemoveNode(props.onRemoveNode);
|
|
108
|
+
if (props.onAddNode) chart.onAddNode(props.onAddNode);
|
|
109
|
+
if (props.onDrag) chart.onDrag(props.onDrag);
|
|
110
|
+
if (props.onDrop) chart.onDrop(props.onDrop);
|
|
111
|
+
if (props.onInit) chart.onInit(props.onInit);
|
|
112
|
+
if (props.onRedraw) chart.onRedraw(props.onRedraw);
|
|
113
|
+
if (props.onExpandCollapseButtonClick) chart.onExpandCollapseButtonClick(props.onExpandCollapseButtonClick);
|
|
114
|
+
if (props.onExportStart) chart.onExportStart(props.onExportStart);
|
|
115
|
+
if (props.onExportEnd) chart.onExportEnd(props.onExportEnd);
|
|
116
|
+
if (props.onNodeClick) chart.onNodeClick(props.onNodeClick);
|
|
117
|
+
if (props.onCanvasClick) chart.onCanvasClick(props.onCanvasClick);
|
|
118
|
+
if (props.onAIToolCalls) chart.onAIToolCalls(props.onAIToolCalls);
|
|
119
|
+
if (props.onNodeDoubleClick) chart.onNodeDoubleClick(props.onNodeDoubleClick);
|
|
120
|
+
}
|
|
121
|
+
}, []);
|
|
122
|
+
(0, react.useEffect)(() => {
|
|
123
|
+
if (orgChartInstance.current && props.data && props.data.length > 0) orgChartInstance.current.load(props.data);
|
|
124
|
+
}, [props.data]);
|
|
125
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
126
|
+
ref: containerRef,
|
|
127
|
+
style: {
|
|
128
|
+
width: "100%",
|
|
129
|
+
height: "100%",
|
|
130
|
+
...props?.style
|
|
131
|
+
},
|
|
132
|
+
children: props?.children
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
var Template = function({ name, baseTemplateName, renderNode, renderPlus, renderMinus, renderNodeMenuButton, nodeWidth, nodeHeight, padding, treeListMaxHeight, editFormHeaderColor, rippleRadius, rippleColor }) {
|
|
136
|
+
if (!balkan_orgchart_js_community.default.templates[name]) {
|
|
137
|
+
if (!baseTemplateName) baseTemplateName = "ana";
|
|
138
|
+
balkan_orgchart_js_community.default.templates[name] = Object.assign({}, balkan_orgchart_js_community.default.templates[baseTemplateName]);
|
|
139
|
+
if (nodeWidth != void 0 && balkan_orgchart_js_community.default.templates[name].size) {
|
|
140
|
+
const size = [...balkan_orgchart_js_community.default.templates[name].size];
|
|
141
|
+
size[0] = nodeWidth;
|
|
142
|
+
balkan_orgchart_js_community.default.templates[name].size = size;
|
|
143
|
+
}
|
|
144
|
+
if (nodeHeight != void 0 && balkan_orgchart_js_community.default.templates[name].size) {
|
|
145
|
+
const size = [...balkan_orgchart_js_community.default.templates[name].size];
|
|
146
|
+
size[1] = nodeHeight;
|
|
147
|
+
balkan_orgchart_js_community.default.templates[name].size = size;
|
|
148
|
+
}
|
|
149
|
+
if (padding != void 0) balkan_orgchart_js_community.default.templates[name].padding = padding;
|
|
150
|
+
if (treeListMaxHeight != void 0) balkan_orgchart_js_community.default.templates[name].treeListMaxHeight = treeListMaxHeight;
|
|
151
|
+
if (editFormHeaderColor != void 0) balkan_orgchart_js_community.default.templates[name].editFormHeaderColor = editFormHeaderColor;
|
|
152
|
+
if (rippleRadius != void 0) {
|
|
153
|
+
if (!balkan_orgchart_js_community.default.templates[name].ripple) balkan_orgchart_js_community.default.templates[name].ripple = {
|
|
154
|
+
radius: 0,
|
|
155
|
+
color: "#ddd"
|
|
156
|
+
};
|
|
157
|
+
balkan_orgchart_js_community.default.templates[name].ripple.radius = rippleRadius;
|
|
158
|
+
}
|
|
159
|
+
if (rippleColor != void 0) {
|
|
160
|
+
if (!balkan_orgchart_js_community.default.templates[name].ripple) balkan_orgchart_js_community.default.templates[name].ripple = {
|
|
161
|
+
radius: 0,
|
|
162
|
+
color: "#ddd"
|
|
163
|
+
};
|
|
164
|
+
balkan_orgchart_js_community.default.templates[name].ripple.color = rippleColor;
|
|
165
|
+
}
|
|
166
|
+
if (renderNode != void 0) balkan_orgchart_js_community.default.templates[name].node = function(node, data, template, config) {
|
|
167
|
+
return react_dom_server.default.renderToStaticMarkup(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: renderNode(node, data, template, config) }));
|
|
168
|
+
};
|
|
169
|
+
if (renderPlus != void 0) balkan_orgchart_js_community.default.templates[name].plus = function(node, data, template, config) {
|
|
170
|
+
return react_dom_server.default.renderToStaticMarkup(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: renderPlus(node, data, template, config) }));
|
|
171
|
+
};
|
|
172
|
+
if (renderMinus != void 0) balkan_orgchart_js_community.default.templates[name].minus = function(node, data, template, config) {
|
|
173
|
+
return react_dom_server.default.renderToStaticMarkup(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: renderMinus(node, data, template, config) }));
|
|
174
|
+
};
|
|
175
|
+
if (renderNodeMenuButton != void 0) balkan_orgchart_js_community.default.templates[name].nodeMenuButton = function(node, data, template, config) {
|
|
176
|
+
return react_dom_server.default.renderToStaticMarkup(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: renderNodeMenuButton(node, data, template, config) }));
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
return null;
|
|
180
|
+
};
|
|
181
|
+
//#endregion
|
|
182
|
+
exports.Employee = Employee;
|
|
183
|
+
exports.OrgChartJS = balkan_orgchart_js_community.default;
|
|
184
|
+
exports.OrgChartReact = OrgChartReact;
|
|
185
|
+
exports.Template = Template;
|
|
186
|
+
});
|