balkan-orgchart-react-community 9.2.29 → 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 -21255
- package/index.umd.js +186 -475
- package/package.json +2 -2
package/index.umd.js
CHANGED
|
@@ -1,475 +1,186 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MyReactLib={},e.React,e.jsxRuntime))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e));t=d(t);var f=l((e=>{var t=require(`react`),n=require(`react-dom`);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`),f=Symbol.for(`react.suspense`),p=Symbol.for(`react.suspense_list`),m=Symbol.for(`react.memo`),h=Symbol.for(`react.lazy`),g=Symbol.for(`react.scope`),_=Symbol.for(`react.activity`),v=Symbol.for(`react.legacy_hidden`),y=Symbol.for(`react.memo_cache_sentinel`),b=Symbol.for(`react.view_transition`),x=Symbol.iterator;function S(e){return typeof e!=`object`||!e?null:(e=x&&e[x]||e[`@@iterator`],typeof e==`function`?e:null)}var C=Array.isArray;function w(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 T=Object.assign,E=Object.prototype.hasOwnProperty,D=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]*$`),O={},k={};function A(e){return E.call(k,e)?!0:E.call(O,e)?!1:D.test(e)?k[e]=!0:(O[e]=!0,!1)}var j=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(` `)),M=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`]]),N=/["'&<>]/;function P(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=N.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 F=/([A-Z])/g,I=/^ms-/,L=/^[\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 R(e){return L.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},B=ee.d;ee.d={f:B.f,r:B.r,D:Ze,C:Qe,L:$e,m:et,X:nt,S:tt,M:rt};var V=[],ne=null,re=/(<\/|<)(s)(cript)/gi;function ie(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function H(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 U(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ae(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return U(2,null,r|1,null);case`select`:return U(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return U(4,null,r,null);case`picture`:return U(2,null,r|2,null);case`math`:return U(5,null,r,null);case`foreignObject`:return U(2,null,r,null);case`table`:return U(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return U(7,null,r,null);case`colgroup`:return U(9,null,r,null);case`tr`:return U(8,null,r,null);case`head`:if(2>e.insertionMode)return U(3,null,r,null);break;case`html`:if(e.insertionMode===0)return U(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?U(2,null,r,null):e.tagScope===r?e:U(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 oe(e,t){return t.tagScope&32&&(e.instructions|=128),U(t.insertionMode,t.selectedValue,t.tagScope|12,W(t.viewTransition))}function G(e,t){e=W(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),U(t.insertionMode,t.selectedValue,n,e)}var se=new Map;function ce(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=P(i);a=P((``+a).trim())}else o=se.get(i),o===void 0&&(o=P(i.replace(F,`-$1`).toLowerCase().replace(I,`-ms-`)),se.set(i,o)),a=typeof a==`number`?a===0||j.has(i)?``+a:a+`px`:P((``+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,`="`,P(n),`"`)}var de=P(`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,ve(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`: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`:ce(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=R(``+n),e.push(` `,t,`="`,P(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=R(``+n),e.push(` `,`xlink:href`,`="`,P(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,`="`,P(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,`="`,P(n),`"`);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(` `,t,`="`,P(n),`"`);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(` `,t,`="`,P(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=M.get(t)||t,A(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,`="`,P(n),`"`)}}}function ge(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 _e(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}function ve(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),Je(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 ye(e,t){for(var n in e.push(De(`link`)),t)if(E.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:K(e,n,i)}}return e.push(`/>`),null}var be=/(<\/|<)(s)(tyle)/gi;function xe(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function Se(e,t,n){for(var i in e.push(De(n)),t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:K(e,i,a)}}return e.push(`/>`),null}function Ce(e,t){e.push(De(`title`));var n=null,r=null,i;for(i in t)if(E.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(`>`),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(P(``+t)),ge(e,r,n),e.push(Ae(`title`)),null}function q(e,t){e.push(De(`script`));var n=null,r=null,i;for(i in t)if(E.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(`>`),ge(e,r,n),typeof n==`string`&&e.push((``+n).replace(re,ie)),e.push(Ae(`script`)),null}function J(e,t,n){e.push(De(n));var r=n=null,i;for(i in t)if(E.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(`>`),ge(e,r,n),n}function we(e,t,n){e.push(De(n));var r=n=null,i;for(i in t)if(E.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(`>`),ge(e,r,n),typeof n==`string`?(e.push(P(n)),null):n}var Te=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee=new Map;function De(e){var t=Ee.get(e);if(t===void 0){if(!Te.test(e))throw Error(r(65,e));t=`<`+e,Ee.set(e,t)}return t}function Oe(e,t,n,i,a,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(De(`a`));var u=null,d=null,f;for(f in n)if(E.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`,``):K(e,f,p);break;default:K(e,f,p)}}if(e.push(`>`),ge(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`:e.push(De(`select`));var h=null,g=null,_;for(_ in n)if(E.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:K(e,_,v)}}return e.push(`>`),ge(e,g,h),h;case`option`:var y=c.selectedValue;e.push(De(`option`));var b=null,x=null,S=null,w=null,D;for(D in n)if(E.call(n,D)){var O=n[D];if(O!=null)switch(D){case`children`:b=O;break;case`selected`:S=O;break;case`dangerouslySetInnerHTML`:w=O;break;case`value`:x=O;default:K(e,D,O)}}if(y!=null){var k=x===null?_e(b):``+x;if(C(y)){for(var j=0;j<y.length;j++)if(``+y[j]===k){e.push(` selected=""`);break}}else ``+y===k&&e.push(` selected=""`)}else S&&e.push(` selected=""`);return e.push(`>`),ge(e,w,b),b;case`textarea`:e.push(De(`textarea`));var M=null,N=null,F=null,I;for(I in n)if(E.call(n,I)){var L=n[I];if(L!=null)switch(I){case`children`:F=L;break;case`value`:M=L;break;case`defaultValue`:N=L;break;case`dangerouslySetInnerHTML`:throw Error(r(91));default:K(e,I,L)}}if(M===null&&N!==null&&(M=N),e.push(`>`),F!=null){if(M!=null)throw Error(r(92));if(C(F)){if(1<F.length)throw Error(r(93));M=``+F[0]}M=``+F}return typeof M==`string`&&M[0]===`
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
`+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function zn(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function Bn(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 Vn(e,t){Hn(e,t.next,t.hoistables)}function Hn(e,t,n){for(;t!==null;){n!==null&&(ft(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&&ft(a.contentState,n),fr(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Un(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||En(e,a)){r=!1;break}}r&&Hn(e,t,t.hoistables)}}function Wn(e){var t={pendingTasks:1,boundaries:null,hoistables:Q(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Gn(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=Wn(c),t.treeContext=kt(o,n,d);var p=l[d];typeof p==`number`?(Yn(e,t,p,f,d),delete l[d]):ir(e,t,f,d),--c.pendingTasks===0&&Vn(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=Wn(c),t.treeContext=kt(o,n,u),ir(e,t,d,u),--c.pendingTasks===0&&Vn(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=Wn(c),t.treeContext=kt(o,n,i),ir(e,t,l,i),--c.pendingTasks===0&&Vn(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=Wn(c),t.treeContext=kt(o,n,d),p=Fn(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{ir(e,t,f,d),ht(p.chunks,e.renderState,p.lastPushedText,p.textEmbedded),p.status=1,--c.pendingTasks===0&&Vn(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 Kn(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Vt={},Ht=t,Ut=e,Wt=n,Yt=Jt=0,Xt=-1,Zt=0,Qt=o,e=r(i,a);qt;)qt=!1,Yt=Jt=0,Xt=-1,Zt=0,en+=1,$=null,e=r(i,a);return on(),e}function qn(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=kt(n,1,0),ir(e,t,r,-1),t.treeContext=n):s?ir(e,t,r,-1):Xn(e,t,r,-1),t.keyPath=a}function Jn(e,t,n,i,a,y){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var x=a;if(`ref`in a)for(var w in x={},a)w!==`ref`&&(x[w]=a[w]);var E=i.defaultProps;if(E)for(var D in x===a&&(x=T({},x,a)),E)x[D]===void 0&&(x[D]=E[D]);a=x,x=yt,E=i.contextType,typeof E==`object`&&E&&(x=E._currentValue2),x=new i(a,x);var O=x.state===void 0?null:x.state;if(x.updater=Dt,x.props=a,x.state=O,E={queue:[],replace:!1},x._reactInternals=E,y=i.contextType,x.context=typeof y==`object`&&y?y._currentValue2:yt,y=i.getDerivedStateFromProps,typeof y==`function`&&(y=y(a,O),O=y==null?O:T({},O,y),x.state=O),typeof i.getDerivedStateFromProps!=`function`&&typeof x.getSnapshotBeforeUpdate!=`function`&&(typeof x.UNSAFE_componentWillMount==`function`||typeof x.componentWillMount==`function`))if(i=x.state,typeof x.componentWillMount==`function`&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount==`function`&&x.UNSAFE_componentWillMount(),i!==x.state&&Dt.enqueueReplaceState(x,x.state,null),E.queue!==null&&0<E.queue.length)if(i=E.queue,y=E.replace,E.queue=null,E.replace=!1,y&&i.length===1)x.state=i[0];else{for(E=y?i[0]:x.state,O=!0,y=y?1:0;y<i.length;y++)D=i[y],D=typeof D==`function`?D.call(x,E,a,void 0):D,D!=null&&(O?(O=!1,E=T({},E,D)):T(E,D));x.state=E}else E.queue=null;if(i=x.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a}else{if(i=Kn(e,t,n,i,a,void 0),e.status===12)throw null;qn(e,t,n,i,Jt!==0,Yt,Xt)}else if(typeof i==`string`)if(x=t.blockedSegment,x===null)x=a.children,E=t.formatContext,O=t.keyPath,t.formatContext=ae(E,i,a),t.keyPath=n,ir(e,t,x,-1),t.formatContext=E,t.keyPath=O;else{if(O=Oe(x.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,x.lastPushedText),x.lastPushedText=!1,E=t.formatContext,y=t.keyPath,t.keyPath=n,(t.formatContext=ae(E,i,a)).insertionMode===3){n=Fn(e,0,null,t.formatContext,!1,!1),x.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ir(e,t,O,-1),ht(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=x}}else ir(e,t,O,-1);t.formatContext=E,t.keyPath=y;a:{switch(t=x.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>=E.insertionMode){e.hasBody=!0;break a}break;case`html`:if(E.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=E.insertionMode)break a}t.push(Ae(i))}x.lastPushedText=!1}else{switch(i){case v:case s:case c:case o:i=t.keyPath,t.keyPath=n,Xn(e,t,a.children,-1),t.keyPath=i;return;case _:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,ir(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(e.renderState.generateStaticMarkup||i.chunks.push(`<!--&-->`),i.lastPushedText=!1,x=t.keyPath,t.keyPath=n,ir(e,t,a.children,-1),t.keyPath=x,e.renderState.generateStaticMarkup||i.chunks.push(`<!--/&-->`),i.lastPushedText=!1);return;case p:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(C(i)){Gn(e,t,n,i,a);break a}if((x=S(i))&&(x=x.call(i))){if(E=x.next(),!E.done){do E=x.next();while(!E.done);Gn(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,x=t.row,E=t.row=Wn(null),E.boundaries=[],E.together=!0,t.keyPath=n,Xn(e,t,i,-1),--E.pendingTasks===0&&Vn(e,E),t.keyPath=a,t.row=x,x!==null&&0<E.pendingTasks&&(x.pendingTasks++,E.next=x)):(a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a)}return;case b:case g:throw Error(r(343));case f:a:if(t.replay!==null){i=t.keyPath,x=t.formatContext,E=t.row,t.keyPath=n,t.formatContext=G(e.resumableState,x),t.row=null,n=a.children;try{ir(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=x,t.row=E}}else{i=t.keyPath,y=t.formatContext;var k=t.row,A=t.blockedBoundary;D=t.blockedPreamble;var j=t.hoistableState;w=t.blockedSegment;var M=a.fallback;a=a.children;var N=new Set,P=Mn(e,t.row,N,null,null);e.trackedPostpones!==null&&(P.trackedContentKeyPath=n);var F=Fn(e,w.chunks.length,P,t.formatContext,!1,!1);w.children.push(F),w.lastPushedText=!1;var I=Fn(e,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,e.trackedPostpones!==null){x=t.componentStack,E=[n[0],`Suspense Fallback`,n[2]],O=[E[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,O),P.trackedFallbackNode=O,t.blockedSegment=F,t.blockedPreamble=P.fallbackPreamble,t.keyPath=E,t.formatContext=oe(e.resumableState,y),t.componentStack=Ln(x),F.status=6;try{ir(e,t,M,-1),ht(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=w,t.blockedPreamble=D,t.keyPath=i,t.formatContext=y}t=Nn(e,null,a,-1,P,I,P.contentPreamble,P.contentState,t.abortSet,n,G(e.resumableState,t.formatContext),t.context,t.treeContext,null,x),In(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=G(e.resumableState,y),t.row=null,I.status=6;try{if(ir(e,t,a,-1),ht(I.chunks,e.renderState,I.lastPushedText,I.textEmbedded),I.status=1,dr(P,I),P.pendingTasks===0&&P.status===0){if(P.status=1,!En(e,P)){k!==null&&--k.pendingTasks===0&&Vn(e,k),e.pendingRootTasks===0&&t.blockedPreamble&&gr(e);break a}}else k!==null&&k.together&&Un(e,k)}catch(n){P.status=4,e.status===12?(I.status=3,x=e.fatalError):(I.status=4,x=n),E=Rn(t.componentStack),O=zn(e,x,E),P.errorDigest=O,tr(e,P)}finally{t.blockedBoundary=A,t.blockedPreamble=D,t.hoistableState=j,t.blockedSegment=w,t.keyPath=i,t.formatContext=y,t.row=k}t=Nn(e,null,M,-1,A,F,P.fallbackPreamble,P.fallbackState,N,[n[0],`Suspense Fallback`,n[2]],oe(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ln(t.componentStack)),In(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(M in x={},a)M!==`ref`&&(x[M]=a[M]);else x=a;i=Kn(e,t,n,i.render,x,y),qn(e,t,n,i,Jt!==0,Yt,Xt);return;case m:Jn(e,t,n,i.type,a,y);return;case u:if(E=a.children,x=t.keyPath,a=a.value,O=i._currentValue2,i._currentValue2=a,y=bt,bt=i={parent:y,depth:y===null?0:y.depth+1,context:i,parentValue:O,value:a},t.context=i,t.keyPath=n,Xn(e,t,E,-1),e=bt,e===null)throw Error(r(403));e.context._currentValue2=e.parentValue,e=bt=e.parent,t.context=e,t.keyPath=x;return;case l:a=a.children,i=a(i._context._currentValue2),a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a;return;case h:if(x=i._init,i=x(i._payload),e.status===12)throw null;Jn(e,t,n,i,a,y);return}throw Error(r(130,i==null?i:typeof i,``))}}function Yn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Fn(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ir(e,t,r,i),s.status=1,o===null?e.completedRootSegment=s:(dr(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Xn(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Yn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,In(t),Zn(e,t),t.componentStack=n)}function Zn(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,p=vt(s),m=c??(o===-1?0:o);if(c=[t.keyPath,p,m],t.replay!==null)a:{var g=t.replay;for(o=g.nodes,n=0;n<o.length;n++){var _=o[n];if(m===_[1]){if(_.length===4){if(p!==null&&p!==_[0])throw Error(r(490,_[0],p));var v=_[2];p=_[3],m=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(Jn(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===Ft||typeof r.then==`function`))throw t.node===m?t.replay=g:o.splice(n,1),r;t.replay.pendingTasks--,l=Rn(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=zn(c,s,l),or(c,e,v,p,s,l)}t.replay=g}else{if(s!==f)throw Error(r(490,`Suspense`,vt(s)||`Unknown`));b:{g=void 0,s=_[5],d=_[2],p=_[3],m=_[4]===null?[]:_[4][2],_=_[4]===null?null:_[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,w=t.replay,T=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=Mn(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=G(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(ir(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=Rn(t.componentStack),g=zn(e,n,v),l.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=T,t.hoistableState=E,t.replay=w,t.keyPath=y,t.formatContext=b,t.row=x}v=Pn(e,null,{nodes:m,slots:_,pendingTasks:0},O,-1,T,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],oe(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ln(t.componentStack)),In(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else Jn(e,t,c,s,l,d);return;case a:throw Error(r(257));case h:if(v=n._init,n=v(n._payload),e.status===12)throw null;Xn(e,t,n,o);return}if(C(n)){Qn(e,t,n,o);return}if((v=S(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);Qn(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,Xn(e,t,hn(n),o);if(n.$$typeof===u)return Xn(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=mt(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=mt(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function Qn(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(Qn(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===Ft||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Rn(t.componentStack);var u=t.blockedBoundary,d=r;n=zn(e,d,n),or(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=kt(o,s,i),u=c[i],typeof u==`number`?(Yn(e,t,u,l,i),delete c[i]):ir(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=kt(o,s,c),ir(e,t,i,c);t.treeContext=o,t.keyPath=a}function $n(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),Or(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function er(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=$n(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],Or(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),Or(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 tr(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 nr(e,t,n){return Pn(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 rr(e,t,n){var r=t.blockedSegment,i=Fn(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Nn(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 ir(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 Xn(e,t,n,r)}catch(u){if(on(),n=u===Ft?Rt():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Ft?an():null,e=nr(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,Et(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Ft?an():null,n=nr(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,Et(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return Xn(e,t,n,r)}catch(r){if(on(),l.children.length=u,l.chunks.length=d,n=r===Ft?Rt():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Ft?an():null,e=rr(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Et(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Ft?an():null,l=rr(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Et(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Et(a),n}function ar(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,fr(this,t,e.row,n))}function or(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)or(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Mn(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 sr(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Rn(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,zn(t,n,a),er(t,r,e,i),fr(t,null,e.row,i)):(zn(t,n,a),Bn(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=zn(t,n,a),or(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&lr(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return zn(t,n,a),er(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return sr(e,t,n)}),r.fallbackAbortableTasks.clear(),fr(t,r,e.row,i);r.status=4,i=zn(t,n,a),r.status=4,r.errorDigest=i,tr(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&Vn(t,i),r.fallbackAbortableTasks.forEach(function(e){return sr(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Vn(t,e),t.allPendingTasks--,t.allPendingTasks===0&&ur(t)}function cr(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=at(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]=V,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:V;else break b}}r(a?{Link:a}:{})}}}catch(t){zn(e,t,{})}}function lr(e){e.trackedPostpones===null&&cr(e,!0),e.trackedPostpones===null&&gr(e),e.onShellError=Pt,e=e.onShellReady,e()}function ur(e){cr(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),gr(e),e=e.onAllReady,e()}function dr(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||dr(e,n)}else e.completedSegments.push(t)}function fr(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?Vn(e,n):n.together&&Un(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&&lr(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)&&dr(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&ft(n.hoistables,t.contentState),En(e,t)||(t.fallbackAbortableTasks.forEach(ar,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Vn(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&gr(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];$n(e,n,o),fr(e,o,null,null)}}--t.pendingTasks===0&&Vn(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(dr(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Un(e,t);e.allPendingTasks===0&&ur(e)}function pr(e){if(e.status!==14&&e.status!==13){var t=bt,n=z.H;z.H=_n;var i=z.A;z.A=yn;var a=An;An=e;var o=vn;vn=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){Et(l.context);try{if(typeof l.replay.slots==`number`?Yn(f,l,l.replay.slots,l.node,l.childIndex):Zn(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),fr(f,l.blockedBoundary,l.row,null)}catch(e){on();var p=e===Ft?Rt():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Ft?an():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Rn(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=zn(g,v,h),or(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&lr(f),f.allPendingTasks--,f.allPendingTasks===0&&ur(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Et(l.context);var x=g.children.length,S=g.chunks.length;try{Zn(u,l),ht(g.chunks,u.renderState,g.lastPushedText,g.textEmbedded),l.abortSet.delete(l),g.status=1,fr(u,l.blockedBoundary,l.row,g)}catch(e){on(),g.children.length=x,g.chunks.length=S;var C=e===Ft?Rt():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Rn(l.componentStack);l.abortSet.delete(l),zn(u,C,T),er(u,w,l,g),fr(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Ft?an():null;var E=l.ping;C.then(E,E)}else{var D=Rn(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&Vn(u,k),u.allPendingTasks--,f=zn(u,C,D),O===null)Bn(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,tr(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&Vn(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&gr(u)}u.allPendingTasks===0&&ur(u)}}}}s.splice(0,c),e.destination!==null&&wr(e,e.destination)}catch(t){zn(e,t,{}),Bn(e,t)}finally{vn=o,z.H=n,z.A=i,n===_n&&Et(t),An=a}}}function mr(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=hr(e,t.children[i],n)||r;return r}function hr(e,t,n){var i=t.boundary;if(i===null)return mr(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(je(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return mr(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return je(e.renderState,o),mr(e,t,n);default:return!0}}function gr(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=hr(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function _r(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=yr(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 vr=0;function yr(e,t,n,i){var a=n.boundary;if(a===null)return _r(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;return o!==null&&--o.pendingTasks===0&&Vn(e,o),e.renderState.generateStaticMarkup||(a=a.errorDigest,t.push(`<!--$!-->`),t.push(`<template`),a&&(t.push(` data-dgst="`),a=P(a),t.push(a),t.push(`"`)),t.push(`></template>`)),_r(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),Ne(t,e.renderState,a.rootSegmentID),i&&ft(i,a.fallbackState),_r(e,t,n,i),t.push(`<!--/$-->`);if(!Cr&&En(e,a)&&vr+a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Ne(t,e.renderState,a.rootSegmentID),_r(e,t,n,i),t.push(`<!--/$-->`);if(vr+=a.byteSize,i&&ft(i,a.contentState),n=a.row,n!==null&&En(e,a)&&--n.pendingTasks===0&&Vn(e,n),e.renderState.generateStaticMarkup||t.push(`<!--$-->`),n=a.completedSegments,n.length!==1)throw Error(r(391));return yr(e,t,n[0],i),e=e.renderState.generateStaticMarkup?!0:t.push(`<!--/$-->`),e}function br(e,t,n,r){return Pe(t,e.renderState,n.parentFormatContext,n.id),yr(e,t,n,r),Fe(t,n.parentFormatContext)}function xr(e,t,n){vr=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Sr(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&En(e,n)&&--r.pendingTasks===0&&Vn(e,r),Ue(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};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$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(`",`),Ye(t,n)):t.push(`"`),n=t.push(`)<\/script>`),Me(t,e)&&n}function Sr(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 br(e,t,i,a)}return o===n.rootSegmentID?br(e,t,i,a):(br(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 Cr=!1;function wr(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;vr=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=De(`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(We,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(We,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(We,t),o.highImagePreloads.clear(),ne=o,o.styles.forEach(Z,t),ne=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(We,t),o.scripts.forEach(We,t),o.scripts.clear(),o.bulkPreloads.forEach(We,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++)yr(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=Ae(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);yr(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=P(C);t.push(w),t.push(`"`)}t.push(`>`),t.push(`requestAnimationFrame(function(){$RT=performance.now()});`),t.push(`<\/script>`)}}Me(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(We,t),T.preconnects.clear(),T.fontPreloads.forEach(We,t),T.fontPreloads.clear(),T.highImagePreloads.forEach(We,t),T.highImagePreloads.clear(),T.styles.forEach(qe,t),T.scripts.forEach(We,t),T.scripts.clear(),T.bulkPreloads.forEach(We,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 F=M.toString(16);if(T.push(F),T.push(`"`),N){T.push(`,`);var I=Le(N||``);T.push(I)}var L=T.push(`)<\/script>`);if(!L){e.destination=null,n++,O.splice(0,n);return}}O.splice(0,n);var R=e.completedBoundaries;for(n=0;n<R.length;n++)if(!xr(e,t,R[n])){e.destination=null,n++,R.splice(0,n);return}R.splice(0,n),Cr=!0;var z=e.partialBoundaries;for(n=0;n<z.length;n++){var ee=z[n];a:{O=e,k=t,vr=ee.byteSize;var te=ee.completedSegments;for(L=0;L<te.length;L++)if(!Sr(O,k,ee,te[L])){L++,te.splice(0,L);var B=!1;break a}te.splice(0,L);var V=ee.row;V!==null&&V.together&&ee.pendingTasks===1&&(V.pendingTasks===1?Hn(O,V,V.hoistables):V.pendingTasks--),B=Ue(k,ee.contentState,O.renderState)}if(!B){e.destination=null,n++,z.splice(0,n);return}}z.splice(0,n),Cr=!1;var re=e.completedBoundaries;for(n=0;n<re.length;n++)if(!xr(e,t,re[n])){e.destination=null,n++,re.splice(0,n);return}re.splice(0,n)}}finally{Cr=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(z=Ae(`body`),t.push(z)),n.hasHtml&&(n=Ae(`html`),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Tr(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?wr(e,t):e.flushScheduled=!1}}function Er(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{wr(e,t)}catch(t){zn(e,t,{}),Bn(e,t)}}}function Dr(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 sr(t,e,i)}),n.clear()}e.destination!==null&&wr(e,e.destination)}catch(t){zn(e,t,{}),Bn(e,t)}}function Or(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),Or(i,t[0],n)),i[2].push(e)}}function kr(){}function Ar(e,t,n,i){var a=!1,o=null,s=``,c=!1;if(t=H(t?t.identifierPrefix:void 0),e=kn(e,t,pt(t,n),U(0,null,0,null),1/0,kr,void 0,function(){c=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,pr(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&cr(e,e.pendingRootTasks===0),Dr(e,i),Er(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 Ar(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 Ar(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`})),p=l((e=>{var t=require(`react`),n=require(`react-dom`);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`),f=Symbol.for(`react.suspense`),p=Symbol.for(`react.suspense_list`),m=Symbol.for(`react.memo`),h=Symbol.for(`react.lazy`),g=Symbol.for(`react.scope`),_=Symbol.for(`react.activity`),v=Symbol.for(`react.legacy_hidden`),y=Symbol.for(`react.memo_cache_sentinel`),b=Symbol.for(`react.view_transition`),x=Symbol.iterator;function S(e){return typeof e!=`object`||!e?null:(e=x&&e[x]||e[`@@iterator`],typeof e==`function`?e:null)}var C=Array.isArray;function w(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 T=new MessageChannel,E=[];T.port1.onmessage=function(){var e=E.shift();e&&e()};function D(e){E.push(e),T.port2.postMessage(null)}function O(e){setTimeout(function(){throw e})}var k=Promise,A=typeof queueMicrotask==`function`?queueMicrotask:function(e){k.resolve(null).then(e).catch(O)},j=null,M=0;function N(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<M&&(e.enqueue(new Uint8Array(j.buffer,0,M)),j=new Uint8Array(2048),M=0),e.enqueue(t);else{var n=j.length-M;n<t.byteLength&&(n===0?e.enqueue(j):(j.set(t.subarray(0,n),M),e.enqueue(j),t=t.subarray(n)),j=new Uint8Array(2048),M=0),j.set(t,M),M+=t.byteLength}}function P(e,t){return N(e,t),!0}function F(e){j&&0<M&&(e.enqueue(new Uint8Array(j.buffer,0,M)),j=null,M=0)}var I=new TextEncoder;function L(e){return I.encode(e)}function R(e){return I.encode(e)}function z(e){return e.byteLength}function ee(e,t){typeof e.error==`function`?e.error(t):e.close()}var te=Object.assign,B=Object.prototype.hasOwnProperty,V=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]*$`),ne={},re={};function ie(e){return B.call(re,e)?!0:B.call(ne,e)?!1:V.test(e)?re[e]=!0:(ne[e]=!0,!1)}var H=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(` `)),U=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`]]),ae=/["'&<>]/;function W(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=ae.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 oe=/([A-Z])/g,G=/^ms-/,se=/^[\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 ce(e){return se.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:sr,C:cr,L:lr,m:ur,X:fr,S:dr,M:pr};var pe=[],me=null;R(`"></template>`);var he=R(`<script`),K=R(`<\/script>`),ge=R(`<script src="`),_e=R(`<script type="module" src="`),ve=R(` nonce="`),ye=R(` integrity="`),be=R(` crossorigin="`),xe=R(` async=""><\/script>`),Se=R(`<style`),Ce=/(<\/|<)(s)(cript)/gi;function q(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}var J=R(`<script type="importmap">`),we=R(`<\/script>`);function Te(e,t,n,r,i,a){n=typeof t==`string`?t:t&&t.script;var o=n===void 0?he:R(`<script nonce="`+W(n)+`"`),s=typeof t==`string`?void 0:t&&t.style,c=s===void 0?Se:R(`<style nonce="`+W(s)+`"`),l=e.idPrefix,u=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(d!==void 0&&(u.push(o),$n(u,e),u.push(Q,L((``+d).replace(Ce,q)),K)),d=[],r!==void 0&&(d.push(J),d.push(L((``+JSON.stringify(r)).replace(Ce,q))),d.push(we)),r=i?{preconnects:``,fontPreloads:``,highImagePreloads:``,remainingCapacity:2+(typeof a==`number`?a:2e3)}:null,i={placeholderPrefix:R(l+`P:`),segmentPrefix:R(l+`S:`),boundaryPrefix:R(l+`B:`),startInlineScript:o,startInlineStyle:c,preamble:De(),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=[],at(l,c),i.bootstrapScripts.add(l),u.push(ge,L(W(a)),Y),n&&u.push(ve,L(W(n)),Y),typeof s==`string`&&u.push(ye,L(W(s)),Y),typeof o==`string`&&u.push(be,L(W(o)),Y),$n(u,e),u.push(xe);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=[],at(s,o),i.bootstrapScripts.add(s),u.push(_e,L(W(f)),Y),n&&u.push(ve,L(W(n)),Y),typeof a==`string`&&u.push(ye,L(W(a)),Y),typeof r==`string`&&u.push(be,L(W(r)),Y),$n(u,e),u.push(xe);return i}function Ee(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 De(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function Oe(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ke(e){return Oe(e===`http://www.w3.org/2000/svg`?4:e===`http://www.w3.org/1998/Math/MathML`?5:0,null,0,null)}function Ae(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 je(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Me(e,t){return t.tagScope&32&&(e.instructions|=128),Oe(t.insertionMode,t.selectedValue,t.tagScope|12,je(t.viewTransition))}function Ne(e,t){e=je(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),Oe(t.insertionMode,t.selectedValue,n,e)}var Pe=R(`<!-- -->`);function Fe(e,t,n,r){return t===``?r:(r&&e.push(Pe),e.push(L(W(t))),!0)}var Ie=new Map,Le=R(` style="`),Re=R(`:`),ze=R(`;`);function Be(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=L(W(i));a=L(W((``+a).trim()))}else o=Ie.get(i),o===void 0&&(o=R(W(i.replace(oe,`-$1`).toLowerCase().replace(G,`-ms-`))),Ie.set(i,o)),a=typeof a==`number`?a===0||H.has(i)?L(``+a):L(a+`px`):L(W((``+a).trim()));n?(n=!1,e.push(Le,o,Re,a)):e.push(ze,o,Re,a)}}n||e.push(Y)}var Ve=R(` `),He=R(`="`),Y=R(`"`),Ue=R(`=""`);function We(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),Ue)}function X(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(Ve,L(t),He,L(W(n)),Y)}var Ge=R(W(`javascript:throw new Error('React form unexpectedly submitted.')`)),Z=R(`<input type="hidden"`);function Ke(e,t){this.push(Z),qe(e),X(this,`name`,t),X(this,`value`,e),this.push(Ze)}function qe(e){if(typeof e!=`string`)throw Error(r(480))}function Je(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(qe),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function Ye(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=Je(t,r);l===null?(e.push(Ve,L(`formAction`),He,Ge,Y),o=a=i=r=s=null,nt(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&Xe(e,`name`,s),r!=null&&Xe(e,`formAction`,r),i!=null&&Xe(e,`formEncType`,i),a!=null&&Xe(e,`formMethod`,a),o!=null&&Xe(e,`formTarget`,o),c}function Xe(e,t,n){switch(t){case`className`:X(e,`class`,n);break;case`tabIndex`:X(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:X(e,t,n);break;case`style`:Be(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=ce(``+n),e.push(Ve,L(t),He,L(W(n)),Y);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:We(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=ce(``+n),e.push(Ve,L(`xlink:href`),He,L(W(n)),Y);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(Ve,L(t),He,L(W(n)),Y);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(Ve,L(t),Ue);break;case`capture`:case`download`:!0===n?e.push(Ve,L(t),Ue):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),He,L(W(n)),Y);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(Ve,L(t),He,L(W(n)),Y);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(Ve,L(t),He,L(W(n)),Y);break;case`xlinkActuate`:X(e,`xlink:actuate`,n);break;case`xlinkArcrole`:X(e,`xlink:arcrole`,n);break;case`xlinkRole`:X(e,`xlink:role`,n);break;case`xlinkShow`:X(e,`xlink:show`,n);break;case`xlinkTitle`:X(e,`xlink:title`,n);break;case`xlinkType`:X(e,`xlink:type`,n);break;case`xmlBase`:X(e,`xml:base`,n);break;case`xmlLang`:X(e,`xml:lang`,n);break;case`xmlSpace`:X(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=U.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(Ve,L(t),He,L(W(n)),Y)}}}var Q=R(`>`),Ze=R(`/>`);function Qe(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(L(``+t))}}function $e(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}var et=R(` selected=""`),tt=R(`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 nt(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),$n(r,e),r.push(Q,tt,K)):r.unshift(t.startInlineScript,Q,tt,K)}}var rt=R(`<!--F!-->`),it=R(`<!--F-->`);function at(e,t){for(var n in e.push(yt(`link`)),t)if(B.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:Xe(e,n,i)}}return e.push(Ze),null}var ot=/(<\/|<)(s)(tyle)/gi;function st(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function ct(e,t,n){for(var i in e.push(yt(n)),t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:Xe(e,i,a)}}return e.push(Ze),null}function lt(e,t){e.push(yt(`title`));var n=null,r=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(L(W(``+t))),Qe(e,r,n),e.push(Ct(`title`)),null}var ut=R(`<!--head-->`),dt=R(`<!--body-->`),ft=R(`<!--html-->`);function pt(e,t){e.push(yt(`script`));var n=null,r=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),typeof n==`string`&&e.push(L((``+n).replace(Ce,q))),e.push(Ct(`script`)),null}function mt(e,t,n){e.push(yt(n));var r=n=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),n}function ht(e,t,n){e.push(yt(n));var r=n=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),typeof n==`string`?(e.push(L(W(n))),null):n}var gt=R(`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
`+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Xi(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function Zi(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,ee(e.destination,t))}function Qi(e,t){$i(e,t.next,t.hoistables)}function $i(e,t,n){for(;t!==null;){n!==null&&(Sr(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&&Sr(a.contentState,n),wa(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function ea(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||Pi(e,a)){r=!1;break}}r&&$i(e,t,t.hoistables)}}function ta(e){var t={pendingTasks:1,boundaries:null,hoistables:or(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function na(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=ta(c),t.treeContext=Lr(o,n,d);var p=l[d];typeof p==`number`?(oa(e,t,p,f,d),delete l[d]):ha(e,t,f,d),--c.pendingTasks===0&&Qi(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=ta(c),t.treeContext=Lr(o,n,u),ha(e,t,d,u),--c.pendingTasks===0&&Qi(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=ta(c),t.treeContext=Lr(o,n,i),ha(e,t,l,i),--c.pendingTasks===0&&Qi(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=ta(c),t.treeContext=Lr(o,n,d),p=Ki(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{ha(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Pe),p.status=1,Ca(e,t.blockedBoundary,p),--c.pendingTasks===0&&Qi(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 ra(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Yr={},Xr=t,Zr=e,Qr=n,ii=ri=0,ai=-1,oi=0,si=o,e=r(i,a);ni;)ni=!1,ii=ri=0,ai=-1,oi=0,li+=1,ei=null,e=r(i,a);return mi(),e}function ia(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(rt):c.push(it)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Lr(n,1,0),ha(e,t,r,-1),t.treeContext=n):s?ha(e,t,r,-1):sa(e,t,r,-1),t.keyPath=a}function aa(e,t,n,i,a,y){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var x=a;if(`ref`in a)for(var w in x={},a)w!==`ref`&&(x[w]=a[w]);var T=i.defaultProps;if(T)for(var E in x===a&&(x=te({},x,a)),T)x[E]===void 0&&(x[E]=T[E]);a=x,x=Dr,T=i.contextType,typeof T==`object`&&T&&(x=T._currentValue),x=new i(a,x);var D=x.state===void 0?null:x.state;if(x.updater=Fr,x.props=a,x.state=D,T={queue:[],replace:!1},x._reactInternals=T,y=i.contextType,x.context=typeof y==`object`&&y?y._currentValue:Dr,y=i.getDerivedStateFromProps,typeof y==`function`&&(y=y(a,D),D=y==null?D:te({},D,y),x.state=D),typeof i.getDerivedStateFromProps!=`function`&&typeof x.getSnapshotBeforeUpdate!=`function`&&(typeof x.UNSAFE_componentWillMount==`function`||typeof x.componentWillMount==`function`))if(i=x.state,typeof x.componentWillMount==`function`&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount==`function`&&x.UNSAFE_componentWillMount(),i!==x.state&&Fr.enqueueReplaceState(x,x.state,null),T.queue!==null&&0<T.queue.length)if(i=T.queue,y=T.replace,T.queue=null,T.replace=!1,y&&i.length===1)x.state=i[0];else{for(T=y?i[0]:x.state,D=!0,y=y?1:0;y<i.length;y++)E=i[y],E=typeof E==`function`?E.call(x,T,a,void 0):E,E!=null&&(D?(D=!1,T=te({},T,E)):te(T,E));x.state=T}else T.queue=null;if(i=x.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a}else{if(i=ra(e,t,n,i,a,void 0),e.status===12)throw null;ia(e,t,n,i,ri!==0,ii,ai)}else if(typeof i==`string`)if(x=t.blockedSegment,x===null)x=a.children,T=t.formatContext,D=t.keyPath,t.formatContext=Ae(T,i,a),t.keyPath=n,ha(e,t,x,-1),t.formatContext=T,t.keyPath=D;else{if(D=xt(x.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,x.lastPushedText),x.lastPushedText=!1,T=t.formatContext,y=t.keyPath,t.keyPath=n,(t.formatContext=Ae(T,i,a)).insertionMode===3){n=Ki(e,0,null,t.formatContext,!1,!1),x.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ha(e,t,D,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Pe),n.status=1,Ca(e,t.blockedBoundary,n)}finally{t.blockedSegment=x}}else ha(e,t,D,-1);t.formatContext=T,t.keyPath=y;a:{switch(t=x.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>=T.insertionMode){e.hasBody=!0;break a}break;case`html`:if(T.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=T.insertionMode)break a}t.push(Ct(i))}x.lastPushedText=!1}else{switch(i){case v:case s:case c:case o:i=t.keyPath,t.keyPath=n,sa(e,t,a.children,-1),t.keyPath=i;return;case _:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,ha(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(i.chunks.push(kt),i.lastPushedText=!1,x=t.keyPath,t.keyPath=n,ha(e,t,a.children,-1),t.keyPath=x,i.chunks.push(At),i.lastPushedText=!1);return;case p:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(C(i)){na(e,t,n,i,a);break a}if((x=S(i))&&(x=x.call(i))){if(T=x.next(),!T.done){do T=x.next();while(!T.done);na(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,x=t.row,T=t.row=ta(null),T.boundaries=[],T.together=!0,t.keyPath=n,sa(e,t,i,-1),--T.pendingTasks===0&&Qi(e,T),t.keyPath=a,t.row=x,x!==null&&0<T.pendingTasks&&(x.pendingTasks++,T.next=x)):(a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a)}return;case b:case g:throw Error(r(343));case f:a:if(t.replay!==null){i=t.keyPath,x=t.formatContext,T=t.row,t.keyPath=n,t.formatContext=Ne(e.resumableState,x),t.row=null,n=a.children;try{ha(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=x,t.row=T}}else{i=t.keyPath,y=t.formatContext;var O=t.row;E=t.blockedBoundary,w=t.blockedPreamble;var k=t.hoistableState,A=t.blockedSegment,j=a.fallback;a=a.children;var M=new Set,N=2>t.formatContext.insertionMode?Ui(e,t.row,M,De(),De()):Ui(e,t.row,M,null,null);e.trackedPostpones!==null&&(N.trackedContentKeyPath=n);var P=Ki(e,A.chunks.length,N,t.formatContext,!1,!1);A.children.push(P),A.lastPushedText=!1;var F=Ki(e,0,null,t.formatContext,!1,!1);if(F.parentFlushed=!0,e.trackedPostpones!==null){x=t.componentStack,T=[n[0],`Suspense Fallback`,n[2]],D=[T[1],T[2],[],null],e.trackedPostpones.workingMap.set(T,D),N.trackedFallbackNode=D,t.blockedSegment=P,t.blockedPreamble=N.fallbackPreamble,t.keyPath=T,t.formatContext=Me(e.resumableState,y),t.componentStack=Ji(x),P.status=6;try{ha(e,t,j,-1),P.lastPushedText&&P.textEmbedded&&P.chunks.push(Pe),P.status=1,Ca(e,E,P)}catch(t){throw P.status=e.status===12?3:4,t}finally{t.blockedSegment=A,t.blockedPreamble=w,t.keyPath=i,t.formatContext=y}t=Wi(e,null,a,-1,N,F,N.contentPreamble,N.contentState,t.abortSet,n,Ne(e.resumableState,t.formatContext),t.context,t.treeContext,null,x),qi(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=Ne(e.resumableState,y),t.row=null,F.status=6;try{if(ha(e,t,a,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Pe),F.status=1,Ca(e,N,F),Sa(N,F),N.pendingTasks===0&&N.status===0){if(N.status=1,!Pi(e,N)){O!==null&&--O.pendingTasks===0&&Qi(e,O),e.pendingRootTasks===0&&t.blockedPreamble&&Oa(e);break a}}else O!==null&&O.together&&ea(e,O)}catch(n){N.status=4,e.status===12?(F.status=3,x=e.fatalError):(F.status=4,x=n),T=Yi(t.componentStack),D=Xi(e,x,T),N.errorDigest=D,fa(e,N)}finally{t.blockedBoundary=E,t.blockedPreamble=w,t.hoistableState=k,t.blockedSegment=A,t.keyPath=i,t.formatContext=y,t.row=O}t=Wi(e,null,j,-1,E,P,N.fallbackPreamble,N.fallbackState,M,[n[0],`Suspense Fallback`,n[2]],Me(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ji(t.componentStack)),qi(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(A in x={},a)A!==`ref`&&(x[A]=a[A]);else x=a;i=ra(e,t,n,i.render,x,y),ia(e,t,n,i,ri!==0,ii,ai);return;case m:aa(e,t,n,i.type,a,y);return;case u:if(T=a.children,x=t.keyPath,a=a.value,D=i._currentValue,i._currentValue=a,y=Or,Or=i={parent:y,depth:y===null?0:y.depth+1,context:i,parentValue:D,value:a},t.context=i,t.keyPath=n,sa(e,t,T,-1),e=Or,e===null)throw Error(r(403));e.context._currentValue=e.parentValue,e=Or=e.parent,t.context=e,t.keyPath=x;return;case l:a=a.children,i=a(i._context._currentValue),a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a;return;case h:if(x=i._init,i=x(i._payload),e.status===12)throw null;aa(e,t,n,i,a,y);return}throw Error(r(130,i==null?i:typeof i,``))}}function oa(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ki(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ha(e,t,r,i),s.status=1,Ca(e,o,s),o===null?e.completedRootSegment=s:(Sa(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function sa(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?oa(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,qi(t),ca(e,t),t.componentStack=n)}function ca(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,p=Er(s),m=c??(o===-1?0:o);if(c=[t.keyPath,p,m],t.replay!==null)a:{var g=t.replay;for(o=g.nodes,n=0;n<o.length;n++){var _=o[n];if(m===_[1]){if(_.length===4){if(p!==null&&p!==_[0])throw Error(r(490,_[0],p));var v=_[2];p=_[3],m=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(aa(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===Ur||typeof r.then==`function`))throw t.node===m?t.replay=g:o.splice(n,1),r;t.replay.pendingTasks--,l=Yi(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=Xi(c,s,l),_a(c,e,v,p,s,l)}t.replay=g}else{if(s!==f)throw Error(r(490,`Suspense`,Er(s)||`Unknown`));b:{g=void 0,s=_[5],d=_[2],p=_[3],m=_[4]===null?[]:_[4][2],_=_[4]===null?null:_[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,w=t.replay,T=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=2>t.formatContext.insertionMode?Ui(e,t.row,k,De(),De()):Ui(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=Ne(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(ha(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=Yi(t.componentStack),g=Xi(e,n,v),l.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=T,t.hoistableState=E,t.replay=w,t.keyPath=y,t.formatContext=b,t.row=x}v=Gi(e,null,{nodes:m,slots:_,pendingTasks:0},O,-1,T,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],Me(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ji(t.componentStack)),qi(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else aa(e,t,c,s,l,d);return;case a:throw Error(r(257));case h:if(v=n._init,n=v(n._payload),e.status===12)throw null;sa(e,t,n,o);return}if(C(n)){la(e,t,n,o);return}if((v=S(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);la(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,sa(e,t,Ci(n),o);if(n.$$typeof===u)return sa(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=Fe(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=Fe(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function la(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(la(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===Ur||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Yi(t.componentStack);var u=t.blockedBoundary,d=r;n=Xi(e,d,n),_a(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=Lr(o,s,i),u=c[i],typeof u==`number`?(oa(e,t,u,l,i),delete c[i]):ha(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=Lr(o,s,c),ha(e,t,i,c);t.treeContext=o,t.keyPath=a}function ua(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),Va(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function da(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=ua(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],Va(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),Va(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 fa(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 pa(e,t,n){return Gi(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 ma(e,t,n){var r=t.blockedSegment,i=Ki(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Wi(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 ha(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 sa(e,t,n,r)}catch(u){if(mi(),n=u===Ur?Kr():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Ur?pi():null,e=pa(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,Pr(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Ur?pi():null,n=pa(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,Pr(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return sa(e,t,n,r)}catch(r){if(mi(),l.children.length=u,l.chunks.length=d,n=r===Ur?Kr():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Ur?pi():null,e=ma(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Pr(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Ur?pi():null,l=ma(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Pr(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Pr(a),n}function ga(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,wa(this,t,e.row,n))}function _a(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)_a(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Ui(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 va(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Yi(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,Xi(t,n,a),da(t,r,e,i),wa(t,null,e.row,i)):(Xi(t,n,a),Zi(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Xi(t,n,a),_a(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&ba(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return Xi(t,n,a),da(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return va(e,t,n)}),r.fallbackAbortableTasks.clear(),wa(t,r,e.row,i);r.status=4,i=Xi(t,n,a),r.status=4,r.errorDigest=i,fa(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&Qi(t,i),r.fallbackAbortableTasks.forEach(function(e){return va(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Qi(t,e),t.allPendingTasks--,t.allPendingTasks===0&&xa(t)}function ya(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=hr(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){Xi(e,t,{})}}function ba(e){e.trackedPostpones===null&&ya(e,!0),e.trackedPostpones===null&&Oa(e),e.onShellError=Hr,e=e.onShellReady,e()}function xa(e){ya(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),Oa(e),e=e.onAllReady,e()}function Sa(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||Sa(e,n)}else e.completedSegments.push(t)}function Ca(e,t,n){if(z!==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 wa(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?Qi(e,n):n.together&&ea(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&&ba(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)&&Sa(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Sr(n.hoistables,t.contentState),Pi(e,t)||(t.fallbackAbortableTasks.forEach(ga,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Qi(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&Oa(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];ua(e,n,o),wa(e,o,null,null)}}--t.pendingTasks===0&&Qi(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(Sa(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&ea(e,t);e.allPendingTasks===0&&xa(e)}function Ta(e){if(e.status!==14&&e.status!==13){var t=Or,n=le.H;le.H=Ti;var i=le.A;le.A=Di;var a=Vi;Vi=e;var o=Ei;Ei=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){Pr(l.context);try{if(typeof l.replay.slots==`number`?oa(f,l,l.replay.slots,l.node,l.childIndex):ca(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),wa(f,l.blockedBoundary,l.row,null)}catch(e){mi();var p=e===Ur?Kr():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Ur?pi():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Yi(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=Xi(g,v,h),_a(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&ba(f),f.allPendingTasks--,f.allPendingTasks===0&&xa(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Pr(l.context);var x=g.children.length,S=g.chunks.length;try{ca(u,l),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Pe),l.abortSet.delete(l),g.status=1,Ca(u,l.blockedBoundary,g),wa(u,l.blockedBoundary,l.row,g)}catch(e){mi(),g.children.length=x,g.chunks.length=S;var C=e===Ur?Kr():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Yi(l.componentStack);l.abortSet.delete(l),Xi(u,C,T),da(u,w,l,g),wa(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Ur?pi():null;var E=l.ping;C.then(E,E)}else{var D=Yi(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&Qi(u,k),u.allPendingTasks--,f=Xi(u,C,D),O===null)Zi(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,fa(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&Qi(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&Oa(u)}u.allPendingTasks===0&&xa(u)}}}}s.splice(0,c),e.destination!==null&&Ia(e,e.destination)}catch(t){Xi(e,t,{}),Zi(e,t)}finally{Ei=o,le.H=n,le.A=i,n===Ti&&Pr(t),Vi=a}}}function Ea(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Da(e,t.children[i],n)||r;return r}function Da(e,t,n){var i=t.boundary;if(i===null)return Ea(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(wt(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return Ea(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return wt(e.renderState,o),Ea(e,t,n);default:return!0}}function Oa(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=Da(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function ka(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,N(t,Dt),N(t,e.placeholderPrefix),e=L(i.toString(16)),N(t,e),P(t,Ot);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++)N(t,o[s]);a=ja(e,t,a,i)}for(;s<o.length-1;s++)N(t,o[s]);return s<o.length&&(a=P(t,o[s])),a;case 3:return!0;default:throw Error(r(390))}}var Aa=0;function ja(e,t,n,i){var a=n.boundary;if(a===null)return ka(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;o!==null&&--o.pendingTasks===0&&Qi(e,o),a=a.errorDigest,P(t,Pt),N(t,It),a&&(N(t,Rt),N(t,L(W(a))),N(t,Lt)),P(t,zt),ka(e,t,n,i)}else if(a.status!==1)a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Bt(t,e.renderState,a.rootSegmentID),i&&Sr(i,a.fallbackState),ka(e,t,n,i);else if(!Fa&&Pi(e,a)&&(Aa+a.byteSize>e.progressiveChunkSize||Cr(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Bt(t,e.renderState,a.rootSegmentID),ka(e,t,n,i);else{if(Aa+=a.byteSize,i&&Sr(i,a.contentState),n=a.row,n!==null&&Pi(e,a)&&--n.pendingTasks===0&&Qi(e,n),P(t,jt),n=a.completedSegments,n.length!==1)throw Error(r(391));ja(e,t,n[0],i)}return P(t,Ft)}function Ma(e,t,n,r){return cn(t,e.renderState,n.parentFormatContext,n.id),ja(e,t,n,r),ln(t,n.parentFormatContext)}function Na(e,t,n){Aa=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Pa(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Pi(e,n)&&--r.pendingTasks===0&&Qi(e,r),Bn(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,N(t,e.startInlineScript),N(t,Q),a?(!(r.instructions&4)&&(r.instructions|=4,N(t,Sn)),!(r.instructions&2)&&(r.instructions|=2,N(t,mn)),r.instructions&8?N(t,_n):(r.instructions|=8,N(t,gn))):(!(r.instructions&2)&&(r.instructions|=2,N(t,mn)),N(t,hn)),r=L(i.toString(16)),N(t,e.boundaryPrefix),N(t,r),N(t,vn),N(t,e.segmentPrefix),N(t,r),a?(N(t,yn),ir(t,n)):N(t,bn),n=P(t,xn),Tt(t,e)&&n}function Pa(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 Ma(e,t,i,a)}return o===n.rootSegmentID?Ma(e,t,i,a):(Ma(e,t,i,a),n=e.resumableState,e=e.renderState,N(t,e.startInlineScript),N(t,Q),n.instructions&1?N(t,dn):(n.instructions|=1,N(t,un)),N(t,e.segmentPrefix),o=L(o.toString(16)),N(t,o),N(t,fn),N(t,e.placeholderPrefix),N(t,o),t=P(t,pn),t)}var Fa=!1;function Ia(e,t){j=new Uint8Array(2048),M=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;Aa=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++)N(t,c[u]);if(l)for(u=0;u<l.length;u++)N(t,l[u]);else N(t,yt(`head`)),N(t,Q)}else if(l)for(u=0;u<l.length;u++)N(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)N(t,d[u]);d.length=0,o.preconnects.forEach(Vn,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)N(t,f[u]);f.length=0,o.fontPreloads.forEach(Vn,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Vn,t),o.highImagePreloads.clear(),me=o,o.styles.forEach(Yn,t),me=null;var p=o.importMapChunks;for(u=0;u<p.length;u++)N(t,p[u]);p.length=0,o.bootstrapScripts.forEach(Vn,t),o.scripts.forEach(Vn,t),o.scripts.clear(),o.bulkPreloads.forEach(Vn,t),o.bulkPreloads.clear(),c||l||(a.instructions|=32);var m=o.hoistableChunks;for(u=0;u<m.length;u++)N(t,m[u]);for(a=m.length=0;a<i.length;a++){var h=i[a];for(o=0;o<h.length;o++)ja(e,t,h[o],null)}var g=e.renderState.preamble,_=g.headChunks;(g.htmlChunks||_)&&N(t,Ct(`head`));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)N(t,v[i]);ja(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,N(t,y.startInlineScript),!(b.instructions&32)){b.instructions|=32;var x=`_`+b.idPrefix+`R_`;N(t,Qn),N(t,L(W(x))),N(t,Y)}N(t,Q),N(t,Et),P(t,K)}}Tt(t,y)}var S=e.renderState;r=0;var C=S.viewportChunks;for(r=0;r<C.length;r++)N(t,C[r]);C.length=0,S.preconnects.forEach(Vn,t),S.preconnects.clear(),S.fontPreloads.forEach(Vn,t),S.fontPreloads.clear(),S.highImagePreloads.forEach(Vn,t),S.highImagePreloads.clear(),S.styles.forEach(Zn,t),S.scripts.forEach(Vn,t),S.scripts.clear(),S.bulkPreloads.forEach(Vn,t),S.bulkPreloads.clear();var w=S.hoistableChunks;for(r=0;r<w.length;r++)N(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;N(S,O.startInlineScript),N(S,Q),D.instructions&4?N(S,wn):(D.instructions|=4,N(S,Cn)),N(S,O.boundaryPrefix),N(S,L(k.toString(16))),N(S,Tn),A&&(N(S,En),N(S,L(kn(A||``))));var I=P(S,Dn);if(!I){e.destination=null,n++,T.splice(0,n);return}}T.splice(0,n);var R=e.completedBoundaries;for(n=0;n<R.length;n++)if(!Na(e,t,R[n])){e.destination=null,n++,R.splice(0,n);return}R.splice(0,n),F(t),j=new Uint8Array(2048),M=0,Fa=!0;var z=e.partialBoundaries;for(n=0;n<z.length;n++){var ee=z[n];a:{T=e,E=t,Aa=ee.byteSize;var te=ee.completedSegments;for(I=0;I<te.length;I++)if(!Pa(T,E,ee,te[I])){I++,te.splice(0,I);var B=!1;break a}te.splice(0,I);var V=ee.row;V!==null&&V.together&&ee.pendingTasks===1&&(V.pendingTasks===1?$i(T,V,V.hoistables):V.pendingTasks--),B=Bn(E,ee.contentState,T.renderState)}if(!B){e.destination=null,n++,z.splice(0,n);return}}z.splice(0,n),Fa=!1;var ne=e.completedBoundaries;for(n=0;n<ne.length;n++)if(!Na(e,t,ne[n])){e.destination=null,n++,ne.splice(0,n);return}ne.splice(0,n)}}finally{Fa=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&N(t,Ct(`body`)),n.hasHtml&&N(t,Ct(`html`)),F(t),e.status=14,t.close(),e.destination=null):F(t)}}function La(e){e.flushScheduled=e.destination!==null,A(function(){return Ta(e)}),D(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&ya(e,e.pendingRootTasks===0)})}function Ra(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,D(function(){var t=e.destination;t?Ia(e,t):e.flushScheduled=!1}))}function za(e,t){if(e.status===13)e.status=14,ee(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{Ia(e,t)}catch(t){Xi(e,t,{}),Zi(e,t)}}}function Ba(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 va(t,e,i)}),n.clear()}e.destination!==null&&Ia(e,e.destination)}catch(t){Xi(e,t,{}),Zi(e,t)}}function Va(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),Va(i,t[0],n)),i[2].push(e)}}function Ha(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 Ua(){var e=t.version;if(e!==`19.2.4`)throw Error(r(527,e,`19.2.4`))}Ua(),Ua(),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=Ri(e,o,Te(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),ke(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){za(s,e)},cancel:function(e){s.destination=null,Ba(s,e)}},{highWaterMark:0});e={postponed:Ha(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)Ba(s,c.reason);else{var l=function(){Ba(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}La(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=Li(e,l,Te(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),ke(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){za(u,e)},cancel:function(e){u.destination=null,Ba(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)Ba(u,d.reason);else{var f=function(){Ba(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}La(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=zi(e,t,Te(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){za(c,e)},cancel:function(e){c.destination=null,Ba(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)Ba(c,l.reason);else{var u=function(){Ba(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}La(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Bi(e,t,Te(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){za(a,e)},cancel:function(e){a.destination=null,Ba(a,e)}},{highWaterMark:0});e={postponed:Ha(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)Ba(a,o.reason);else{var s=function(){Ba(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}La(a)})},e.version=`19.2.4`})),m=l((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=Kn&&e[Kn]||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 qn(e)?`[...]`:e!==null&&e.$$typeof===Xn?`client`:(e=i(e),e===`Object`?`{...}`:e);case`function`:return e.$$typeof===Xn?`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 Ln:return`Suspense`;case Rn:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case In:return s(e.render);case zn:return s(e.type);case Bn: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(qn(e))if(Yn.has(e)){var u=Yn.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===kn)n=`<`+s(e.type)+`/>`;else{if(e.$$typeof===Xn)return`client`;if(Jn.has(e)){for(n=Jn.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),`
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
%s`,e)}}return null}function R(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||bi||(bi=!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||Si||(Si=!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||xi||(xi=!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=L(t,r);l===null?(e.push(ai,`formAction`,oi,li,si),o=a=i=r=s=null,V(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&z(e,`name`,s),r!=null&&z(e,`formAction`,r),i!=null&&z(e,`formEncType`,i),a!=null&&z(e,`formMethod`,a),o!=null&&z(e,`formTarget`,o),c}function z(e,t,n){switch(t){case`className`:P(e,`class`,n);break;case`tabIndex`:P(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:P(e,t,n);break;case`style`:M(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;p(n,t),n=w(``+n),e.push(ai,t,oi,C(n),si);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:N(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;p(n,t),n=w(``+n),e.push(ai,`xlink:href`,oi,C(n),si);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(ai,t,oi,C(n),si);break;case`inert`:n!==``||Wr[t]||(Wr[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(ai,t,ci);break;case`capture`:case`download`:!0===n?e.push(ai,t,ci):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(ai,t,oi,C(n),si);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(ai,t,oi,C(n),si);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(ai,t,oi,C(n),si);break;case`xlinkActuate`:P(e,`xlink:actuate`,n);break;case`xlinkArcrole`:P(e,`xlink:arcrole`,n);break;case`xlinkRole`:P(e,`xlink:role`,n);break;case`xlinkShow`:P(e,`xlink:show`,n);break;case`xlinkTitle`:P(e,`xlink:title`,n);break;case`xlinkType`:P(e,`xlink:type`,n);break;case`xmlBase`:P(e,`xml:base`,n);break;case`xmlLang`:P(e,`xml:lang`,n);break;case`xmlSpace`:P(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=rr.get(t)||t,g(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(ai,t,oi,C(n),si)}}}function ee(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&&(h(t),e.push(``+t))}}function te(e,t){var n=e[t];n!=null&&(n=qn(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 B(e){var t=``;return Dn.Children.forEach(e,function(e){e!=null&&(t+=e,gi||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||(gi=!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 V(e,t){if((e.instructions&16)===Mr){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Se(r,e),r.push(ui,Ci,Hr)):r.unshift(t.startInlineScript,ui,Ci,Hr)}}function ne(e,t){for(var n in e.push(oe(`link`)),t)if(Qn.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:z(e,n,r)}}return e.push(di),null}function re(e){return h(e),(``+e).replace(wi,t)}function ie(e,t,n){for(var r in e.push(oe(n)),t)if(Qn.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:z(e,r,i)}}return e.push(di),null}function H(e,t){e.push(oe(`title`));var n=null,r=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(C(``+t)),ee(e,r,n),e.push(se(`title`)),null}function U(e,t){e.push(oe(`script`));var n=null,r=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),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)),ee(e,r,n),typeof n==`string`&&e.push(T(n)),e.push(se(`script`)),null}function ae(e,t,n){e.push(oe(n));var r=n=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),ee(e,r,n),n}function W(e,t,n){e.push(oe(n));var r=n=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),ee(e,r,n),typeof n==`string`?(e.push(C(n)),null):n}function oe(e){var t=Di.get(e);if(t===void 0){if(!Ei.test(e))throw Error(`Invalid tag: `+e);t=`<`+e,Di.set(e,t)}return t}function G(e,t,n,r,i,a,o,s,c){y(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||lr||(lr=!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`||x(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!==Yr&&s.insertionMode!==Xr&&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(oe(`a`));var u=null,d=null,f;for(f in n)if(Qn.call(n,f)){var m=n[f];if(m!=null)switch(f){case`children`:u=m;break;case`dangerouslySetInnerHTML`:d=m;break;case`href`:m===``?P(e,`href`,``):z(e,f,m);break;default:z(e,f,m)}}if(e.push(ui),ee(e,d,u),typeof u==`string`){e.push(C(u));var v=null}else v=u;return v;case`g`:case`p`:case`li`:break;case`select`:_(`select`,n),te(n,`value`),te(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||mi||(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`),mi=!0),e.push(oe(`select`));var b=null,S=null,T;for(T in n)if(Qn.call(n,T)){var E=n[T];if(E!=null)switch(T){case`children`:b=E;break;case`dangerouslySetInnerHTML`:S=E;break;case`defaultValue`:case`value`:break;default:z(e,T,E)}}return e.push(ui),ee(e,S,b),b;case`option`:var D=s.selectedValue;e.push(oe(`option`));var O=null,k=null,A=null,j=null,I;for(I in n)if(Qn.call(n,I)){var G=n[I];if(G!=null)switch(I){case`children`:O=G;break;case`selected`:A=G,vi||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:j=G;break;case`value`:k=G;default:z(e,I,G)}}if(D!=null){if(k!==null){p(k,`value`);var ce=``+k}else j===null||_i||(_i=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),ce=B(O);if(qn(D)){for(var le=0;le<D.length;le++)if(p(D[le],`value`),``+D[le]===ce){e.push(` selected=""`);break}}else p(D,`select.value`),``+D===ce&&e.push(` selected=""`)}else A&&e.push(` selected=""`);return e.push(ui),ee(e,j,O),O;case`textarea`:_(`textarea`,n),n.value===void 0||n.defaultValue===void 0||hi||(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`),hi=!0),e.push(oe(`textarea`));var ue=null,de=null,fe=null,pe;for(pe in n)if(Qn.call(n,pe)){var me=n[pe];if(me!=null)switch(pe){case`children`:fe=me;break;case`value`:ue=me;break;case`defaultValue`:de=me;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:z(e,pe,me)}}if(ue===null&&de!==null&&(ue=de),e.push(ui),fe!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),ue!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(qn(fe)){if(1<fe.length)throw Error(`<textarea> can only have at most one child.`);h(fe[0]),ue=``+fe[0]}h(fe),ue=``+fe}return typeof ue==`string`&&ue[0]===`
|
|
62
|
-
`&&e.push(Ti),ue!==null&&(p(ue,`value`),e.push(C(``+ue))),null;case`input`:_(`input`,n),e.push(oe(`input`));var he=null,K=null,ge=null,_e=null,ve=null,ye=null,be=null,xe=null,Se=null,Ce;for(Ce in n)if(Qn.call(n,Ce)){var q=n[Ce];if(q!=null)switch(Ce){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:he=q;break;case`formAction`:K=q;break;case`formEncType`:ge=q;break;case`formMethod`:_e=q;break;case`formTarget`:ve=q;break;case`defaultChecked`:Se=q;break;case`defaultValue`:be=q;break;case`checked`:xe=q;break;case`value`:ye=q;break;default:z(e,Ce,q)}}K===null||n.type===`image`||n.type===`submit`||yi||(yi=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var J=R(e,r,i,K,ge,_e,ve,he);return xe===null||Se===null||pi||(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),pi=!0),ye===null||be===null||fi||(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),fi=!0),xe===null?Se!==null&&N(e,`checked`,Se):N(e,`checked`,xe),ye===null?be!==null&&z(e,`value`,be):z(e,`value`,ye),e.push(di),J?.forEach(F,e),null;case`button`:e.push(oe(`button`));var we=null,De=null,Oe=null,ke=null,Ae=null,je=null,Me=null,Ne;for(Ne in n)if(Qn.call(n,Ne)){var Pe=n[Ne];if(Pe!=null)switch(Ne){case`children`:we=Pe;break;case`dangerouslySetInnerHTML`:De=Pe;break;case`name`:Oe=Pe;break;case`formAction`:ke=Pe;break;case`formEncType`:Ae=Pe;break;case`formMethod`:je=Pe;break;case`formTarget`:Me=Pe;break;default:z(e,Ne,Pe)}}ke===null||n.type==null||n.type===`submit`||yi||(yi=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Fe=R(e,r,i,ke,Ae,je,Me,Oe);if(e.push(ui),Fe?.forEach(F,e),ee(e,De,we),typeof we==`string`){e.push(C(we));var Ie=null}else Ie=we;return Ie;case`form`:e.push(oe(`form`));var Le=null,Re=null,ze=null,Be=null,Ve=null,He=null,Y;for(Y in n)if(Qn.call(n,Y)){var Ue=n[Y];if(Ue!=null)switch(Y){case`children`:Le=Ue;break;case`dangerouslySetInnerHTML`:Re=Ue;break;case`action`:ze=Ue;break;case`encType`:Be=Ue;break;case`method`:Ve=Ue;break;case`target`:He=Ue;break;default:z(e,Y,Ue)}}var We=null,X=null;if(typeof ze==`function`){Be===null&&Ve===null||Si||(Si=!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||xi||(xi=!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 Ge=L(r,ze);Ge===null?(e.push(ai,`action`,oi,li,si),He=Ve=Be=ze=null,V(r,i)):(ze=Ge.action||``,Be=Ge.encType,Ve=Ge.method,He=Ge.target,We=Ge.data,X=Ge.name)}if(ze!=null&&z(e,`action`,ze),Be!=null&&z(e,`encType`,Be),Ve!=null&&z(e,`method`,Ve),He!=null&&z(e,`target`,He),e.push(ui),X!==null&&(e.push(`<input type="hidden"`),P(e,`name`,X),e.push(di),We?.forEach(F,e)),ee(e,Re,Le),typeof Le==`string`){e.push(C(Le));var Z=null}else Z=Le;return Z;case`menuitem`:for(var Ke in e.push(oe(`menuitem`)),n)if(Qn.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:z(e,Ke,qe)}}return e.push(ui),null;case`object`:e.push(oe(`object`));var Je=null,Ye=null,Xe;for(Xe in n)if(Qn.call(n,Xe)){var Q=n[Xe];if(Q!=null)switch(Xe){case`children`:Je=Q;break;case`dangerouslySetInnerHTML`:Ye=Q;break;case`data`:p(Q,`data`);var Ze=w(``+Q);if(Ze===``){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(ai,`data`,oi,C(Ze),si);break;default:z(e,Xe,Q)}}if(e.push(ui),ee(e,Ye,Je),typeof Je==`string`){e.push(C(Je));var Qe=null}else Qe=Je;return Qe;case`title`:var $e=s.tagScope&1,et=s.tagScope&4;if(Qn.call(n,`children`)){var tt=n.children,nt=Array.isArray(tt)?2>tt.length?tt[0]:null:tt;Array.isArray(tt)&&1<tt.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>.",tt.length):typeof nt==`function`||typeof nt==`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 nt==`function`?`a Function`:`a Sybmol`):nt&&nt.toString==={}.toString&&(nt.$$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===Yr||$e||n.itemProp!=null)var rt=H(e,n);else et?rt=null:(H(i.hoistableChunks,n),rt=void 0);return rt;case`link`:var it=s.tagScope&1,at=s.tagScope&4,ot=n.rel,st=n.href,ct=n.precedence;if(s.insertionMode===Yr||it||n.itemProp!=null||typeof ot!=`string`||typeof st!=`string`||st===``){ot===`stylesheet`&&typeof n.precedence==`string`&&(typeof st==`string`&&st||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.',st===null?"`null`":st===void 0?"`undefined`":st===``?`an empty string`:`something with type "`+typeof st+`"`)),ne(e,n);var lt=null}else if(n.rel===`stylesheet`)if(typeof ct!=`string`||n.disabled!=null||n.onLoad||n.onError){if(typeof ct==`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 ut=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.',ut,ut)}}lt=ne(e,n)}else{var dt=i.styles.get(ct),ft=r.styleResources.hasOwnProperty(st)?r.styleResources[st]:void 0;if(ft!==zr){r.styleResources[st]=zr,dt||(dt={precedence:C(ct),rules:[],hrefs:[],sheets:new Map},i.styles.set(ct,dt));var pt={state:Ja,props:Zn({},n,{"data-precedence":n.precedence,precedence:null})};if(ft){ft.length===2&&Te(pt.props,ft);var mt=i.preloads.stylesheets.get(st);mt&&0<mt.length?mt.length=0:pt.state=Ya}dt.sheets.set(st,pt),o&&o.stylesheets.add(pt)}else if(dt){var ht=dt.sheets.get(st);ht&&o&&o.stylesheets.add(ht)}c&&e.push(`<!-- -->`),lt=null}else n.onLoad||n.onError?lt=ne(e,n):(c&&e.push(`<!-- -->`),lt=at?null:ne(i.hoistableChunks,n));return lt;case`script`:var gt=s.tagScope&1,_t=n.async;if(typeof n.src!=`string`||!n.src||!_t||typeof _t==`function`||typeof _t==`symbol`||n.onLoad||n.onError||s.insertionMode===Yr||gt||n.itemProp!=null)var vt=U(e,n);else{var yt=n.src;if(n.type===`module`)var bt=r.moduleScriptResources,xt=i.preloads.moduleScripts;else bt=r.scriptResources,xt=i.preloads.scripts;var St=bt.hasOwnProperty(yt)?bt[yt]:void 0;if(St!==zr){bt[yt]=zr;var Ct=n;if(St){St.length===2&&(Ct=Zn({},n),Te(Ct,St));var wt=xt.get(yt);wt&&(wt.length=0)}var Tt=[];i.scripts.add(Tt),U(Tt,Ct)}c&&e.push(`<!-- -->`),vt=null}return vt;case`style`:var Et=s.tagScope&1;if(Qn.call(n,`children`)){var Dt=n.children,Ot=Array.isArray(Dt)?2>Dt.length?Dt[0]:null:Dt;(typeof Ot==`function`||typeof Ot==`symbol`||Array.isArray(Ot))&&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 Ot==`function`?`a Function`:typeof Ot==`symbol`?`a Sybmol`:`an Array`)}var kt=n.precedence,At=n.href,jt=n.nonce;if(s.insertionMode===Yr||Et||n.itemProp!=null||typeof kt!=`string`||typeof At!=`string`||At===``){e.push(oe(`style`));var Mt=null,Nt=null,Pt;for(Pt in n)if(Qn.call(n,Pt)){var Ft=n[Pt];if(Ft!=null)switch(Pt){case`children`:Mt=Ft;break;case`dangerouslySetInnerHTML`:Nt=Ft;break;default:z(e,Pt,Ft)}}e.push(ui);var It=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;typeof It!=`function`&&typeof It!=`symbol`&&It!=null&&e.push(re(It)),ee(e,Nt,Mt),e.push(se(`style`));var Lt=null}else{At.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".',At);var Rt=i.styles.get(kt),zt=r.styleResources.hasOwnProperty(At)?r.styleResources[At]:void 0;if(zt!==zr){r.styleResources[At]=zr,zt&&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.`,At),Rt||(Rt={precedence:C(kt),rules:[],hrefs:[],sheets:new Map},i.styles.set(kt,Rt));var Bt=i.nonce.style;if(Bt&&Bt!==jt)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.',kt,jt,Bt);else{!Bt&&jt&&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.',kt,jt),Rt.hrefs.push(C(At));var Vt=Rt.rules,Ht=null,Ut=null,Wt;for(Wt in n)if(Qn.call(n,Wt)){var Gt=n[Wt];if(Gt!=null)switch(Wt){case`children`:Ht=Gt;break;case`dangerouslySetInnerHTML`:Ut=Gt}}var $=Array.isArray(Ht)?2>Ht.length?Ht[0]:null:Ht;typeof $!=`function`&&typeof $!=`symbol`&&$!=null&&Vt.push(re($)),ee(Vt,Ut,Ht)}}Rt&&o&&o.styles.add(Rt),c&&e.push(`<!-- -->`),Lt=void 0}return Lt;case`meta`:var Kt=s.tagScope&1,qt=s.tagScope&4;if(s.insertionMode===Yr||Kt||n.itemProp!=null)var Jt=ie(e,n,`meta`);else c&&e.push(`<!-- -->`),Jt=qt?null:typeof n.charSet==`string`?ie(i.charsetChunks,n,`meta`):n.name===`viewport`?ie(i.viewportChunks,n,`meta`):ie(i.hoistableChunks,n,`meta`);return Jt;case`listing`:case`pre`:e.push(oe(t));var Yt=null,Xt=null,Zt;for(Zt in n)if(Qn.call(n,Zt)){var Qt=n[Zt];if(Qt!=null)switch(Zt){case`children`:Yt=Qt;break;case`dangerouslySetInnerHTML`:Xt=Qt;break;default:z(e,Zt,Qt)}}if(e.push(ui),Xt!=null){if(Yt!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Xt!=`object`||!(`__html`in Xt))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var $t=Xt.__html;$t!=null&&(typeof $t==`string`&&0<$t.length&&$t[0]===`
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
`
|
|
78
|
-
|
|
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
|
-
%s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var ce=Le(i)||`Unknown`;Ds[ce]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,ce),Ds[ce]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var le=Le(i)||`Unknown`;Es[le]||(console.error(`%s: Function components do not support contextType.`,le),Es[le]=!0)}Vt(e,t,n,H,U,ae,W)}else if(typeof i==`string`){var ue=t.blockedSegment;if(ue===null){var de=a.children,fe=t.formatContext,pe=t.keyPath;t.formatContext=O(fe,i,a),t.keyPath=n,en(e,t,de,-1),t.formatContext=fe,t.keyPath=pe}else{var me=G(ue.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,ue.lastPushedText);ue.lastPushedText=!1;var he=t.formatContext,K=t.keyPath;if(t.keyPath=n,(t.formatContext=O(he,i,a)).insertionMode===Jr){var ge=Tt(e,0,null,t.formatContext,!1,!1);ue.preambleChildren.push(ge),t.blockedSegment=ge;try{ge.status=6,en(e,t,me,-1),Ie(ge.chunks,e.renderState,ge.lastPushedText,ge.textEmbedded),ge.status=_s}finally{t.blockedSegment=ue}}else en(e,t,me,-1);t.formatContext=he,t.keyPath=K;a:{var _e=ue.chunks,ve=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(he.insertionMode<=Kr){ve.hasBody=!0;break a}break;case`html`:if(he.insertionMode===Gr){ve.hasHtml=!0;break a}break;case`head`:if(he.insertionMode<=Kr)break a}_e.push(se(i))}ue.lastPushedText=!1}}else{switch(i){case Un:case Mn:case Nn:case jn:var ye=t.keyPath;t.keyPath=n,$(e,t,a.children,-1),t.keyPath=ye;return;case Hn:var be=t.blockedSegment;if(be===null){if(a.mode!==`hidden`){var xe=t.keyPath;t.keyPath=n,en(e,t,a.children,-1),t.keyPath=xe}}else if(a.mode!==`hidden`){e.renderState.generateStaticMarkup||be.chunks.push(`<!--&-->`),be.lastPushedText=!1;var Se=t.keyPath;t.keyPath=n,en(e,t,a.children,-1),t.keyPath=Se,e.renderState.generateStaticMarkup||be.chunks.push(`<!--/&-->`),be.lastPushedText=!1}return;case Rn:a:{var Ce=a.children,q=a.revealOrder;if(q===`forwards`||q===`backwards`||q===`unstable_legacy-backwards`){if(qn(Ce)){zt(e,t,n,Ce,q);break a}var J=r(Ce);if(J){var we=J.call(Ce);if(we){Gt(t,Ce,-1,we,J);var Te=we.next();if(!Te.done){var Ee=[];do Ee.push(Te.value),Te=we.next();while(!Te.done);zt(e,t,n,Ce,q)}break a}}}if(q===`together`){var De=t.keyPath,Oe=t.row,ke=t.row=Rt(null);ke.boundaries=[],ke.together=!0,t.keyPath=n,$(e,t,Ce,-1),--ke.pendingTasks===0&&Ft(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,$(e,t,Ce,-1),t.keyPath=Ae}}return;case Gn:case Vn:throw Error(`ReactDOMServer does not yet support scope components.`);case Ln:a:if(t.replay!==null){var je=t.keyPath,Me=t.formatContext,Ne=t.row;t.keyPath=n,t.formatContext=j(e.resumableState,Me),t.row=null;var Pe=a.children;try{en(e,t,Pe,-1)}finally{t.keyPath=je,t.formatContext=Me,t.row=Ne}}else{var Fe=t.keyPath,Re=t.formatContext,ze=t.row,Be=t.blockedBoundary,Ve=t.blockedPreamble,He=t.hoistableState,Y=t.blockedSegment,Ue=a.fallback,We=a.children,X=new Set,Ge=St(e,t.row,X,null,null);e.trackedPostpones!==null&&(Ge.trackedContentKeyPath=n);var Z=Tt(e,Y.chunks.length,Ge,t.formatContext,!1,!1);Y.children.push(Z),Y.lastPushedText=!1;var Ke=Tt(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),Ge.trackedFallbackNode=Ye,t.blockedSegment=Z,t.blockedPreamble=Ge.fallbackPreamble,t.keyPath=Je,t.formatContext=A(e.resumableState,Re),t.componentStack=At(qe),Z.status=6;try{en(e,t,Ue,-1),Ie(Z.chunks,e.renderState,Z.lastPushedText,Z.textEmbedded),Z.status=_s}catch(t){throw Z.status=e.status===12?ys:bs,t}finally{t.blockedSegment=Y,t.blockedPreamble=Ve,t.keyPath=Fe,t.formatContext=Re}var Xe=Ct(e,null,We,-1,Ge,Ke,Ge.contentPreamble,Ge.contentState,t.abortSet,n,j(e.resumableState,t.formatContext),t.context,t.treeContext,null,qe,ro,t.debugTask);kt(Xe),e.pingedTasks.push(Xe)}else{t.blockedBoundary=Ge,t.blockedPreamble=Ge.contentPreamble,t.hoistableState=Ge.contentState,t.blockedSegment=Ke,t.keyPath=n,t.formatContext=j(e.resumableState,Re),t.row=null,Ke.status=6;try{if(en(e,t,We,-1),Ie(Ke.chunks,e.renderState,Ke.lastPushedText,Ke.textEmbedded),Ke.status=_s,cn(Ge,Ke),Ge.pendingTasks===0&&Ge.status===gs){if(Ge.status=_s,!_t(e,Ge)){ze!==null&&--ze.pendingTasks===0&&Ft(e,ze),e.pendingRootTasks===0&&t.blockedPreamble&&pn(e);break a}}else ze!==null&&ze.together&&Lt(e,ze)}catch(n){if(Ge.status=hs,e.status===12){Ke.status=ys;var Q=e.fatalError}else Ke.status=bs,Q=n;var Ze=jt(t.componentStack);Mt(Ge,Nt(e,Q,Ze,t.debugTask),Q,Ze,!1),Zt(e,Ge)}finally{t.blockedBoundary=Be,t.blockedPreamble=Ve,t.hoistableState=He,t.blockedSegment=Y,t.keyPath=Fe,t.formatContext=Re,t.row=ze}var Qe=Ct(e,null,Ue,-1,Be,Z,Ge.fallbackPreamble,Ge.fallbackState,X,[n[0],`Suspense Fallback`,n[2]],A(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,At(t.componentStack),ro,t.debugTask);kt(Qe),e.pingedTasks.push(Qe)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case In:if(`ref`in a){var $e={};for(var et in a)et!==`ref`&&($e[et]=a[et])}else $e=a;Vt(e,t,n,Bt(e,t,n,i.render,$e,o),Po!==0,Fo,Io);return;case zn:Ht(e,t,n,i.type,a,o);return;case Fn:var tt=a.value,nt=a.children,rt=t.context,it=t.keyPath,at=i._currentValue2;i._currentValue2=tt,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==io&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=io;var ot=ao,st={parent:ot,depth:ot===null?0:ot.depth+1,context:i,parentValue:at,value:tt};ao=st,t.context=st,t.keyPath=n,$(e,t,nt,-1);var ct=ao;if(ct===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);ct.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),ct.context._currentValue2=ct.parentValue,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==io&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=io,t.context=ao=ct.parent,t.keyPath=it,rt!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case Pn:var lt=i._context,ut=a.children;typeof ut!=`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 dt=ut(lt._currentValue2),ft=t.keyPath;t.keyPath=n,$(e,t,dt,-1),t.keyPath=ft;return;case Bn:var pt=us(i);if(e.status===12)throw null;Ht(e,t,n,pt,a,o);return}var mt=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(mt+=` 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)+`.`+mt))}}function Ut(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Tt(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,en(e,t,r,i),s.status=_s,o===null?e.completedRootSegment=s:(cn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Wt(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(Ht(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===Co||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=jt(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=Nt(s,n,o,t.debugTask),nn(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==Ln)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(Le(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=St(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=j(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if(en(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===gs){s.status=_s,e.completedBoundaries.push(s);break a}}catch(n){s.status=hs,f=jt(t.componentStack),l=Nt(e,n,f,t.debugTask),Mt(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=wt(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],A(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,At(t.componentStack),ro,t.debugTask),kt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function Gt(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]`)&&(ks||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."),ks=!0):t.entries!==i||As||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),As=!0)}function $(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Ut(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,kt(t),Kt(e,t),t.componentStack=n,t.debugTask=r)}function Kt(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case kn: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=Le(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(Ht.bind(null,e,t,u,a,n,s)):Ht(e,t,u,a,n,s):c?c.run(Wt.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):Wt(e,t,u,l,o,i,a,n,s,t.replay);return;case An:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case Bn:if(a=us(n),e.status===12)throw null;$(e,t,a,i);return}if(qn(n)){Jt(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(Gt(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);Jt(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,$(e,t,ct(n),i);if(n.$$typeof===Fn)return $(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=Fe(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=Fe(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.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
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=Le(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 Jt(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(Ot(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(Jt(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===Co||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=jt(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=Nt(e,f,d,t.debugTask),nn(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=X(s,c,r),f=l[r],typeof f==`number`?(Ut(e,t,f,u,r),delete l[r]):en(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],qt(e,t,r),t.treeContext=X(s,c,l),en(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function Yt(e,t,n){if(n.status=xs,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),wn(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function Xt(e,t,n,r){r.status=xs;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=xs);else{if(a!==null&&a.status===gs){var o=Yt(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],wn(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),wn(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 Zt(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 Qt(e,t,n){return wt(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,ro,t.debugTask)}function $t(e,t,n){var r=t.blockedSegment,i=Tt(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Ct(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,ro,t.debugTask)}function en(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 $(e,t,n,r)}catch(d){if(Qe(),n=d===Co?qe():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===Co?Ze():null,e=Qt(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,Y(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===Co?Ze():null,n=Qt(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,Y(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return $(e,t,n,r)}catch(r){if(Qe(),u.children.length=d,u.chunks.length=f,n=r===Co?qe():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===Co?Ze():null,e=$t(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,Y(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===Co?Ze():null,u=$t(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,Y(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Y(a),n}function tn(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=ys,ln(this,t,e.row,n))}function nn(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)nn(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=St(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=hs,Mt(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!==hs&&(t.status=hs,Mt(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function rn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=ys}var a=jt(e.componentStack),o=e.node;if(typeof o==`object`&&o&&Dt(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==Ss){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Nt(t,n,a,e.debugTask),Xt(t,r,e,i),ln(t,null,e.row,i)):(Nt(t,n,a,e.debugTask),Pt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Nt(t,n,a,null),nn(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&on(t)}}else{if(o=t.trackedPostpones,r.status!==hs){if(o!==null&&i!==null)return Nt(t,n,a,e.debugTask),Xt(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return rn(e,t,n)}),r.fallbackAbortableTasks.clear(),ln(t,r,e.row,i);r.status=hs,i=Nt(t,n,a,e.debugTask),r.status=hs,Mt(r,i,n,a,!0),Zt(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Ft(t,a),r.fallbackAbortableTasks.forEach(function(e){return rn(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Ft(t,e),t.allPendingTasks--,t.allPendingTasks===0&&sn(t)}function an(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=Ee(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]=Br,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:Br;else break b}}r(a?{Link:a}:{})}}}catch(t){Nt(e,t,{},null)}}function on(e){e.trackedPostpones===null&&an(e,!0),e.trackedPostpones===null&&pn(e),e.onShellError=Z,e=e.onShellReady,e()}function sn(e){an(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==xs),pn(e),e=e.onAllReady,e()}function cn(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!==_s&&n.status!==ys&&n.status!==bs||cn(e,n)}else e.completedSegments.push(t)}function ln(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Ft(e,n):n.together&&Lt(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&&on(e)}else if(t.pendingTasks--,t.status!==hs)if(t.pendingTasks===0){if(t.status===gs&&(t.status=_s),r!==null&&r.parentFlushed&&(r.status===_s||r.status===ys)&&cn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===_s)n=t.row,n!==null&&Ne(n.hoistables,t.contentState),_t(e,t)||(t.fallbackAbortableTasks.forEach(tn,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Ft(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&pn(e);else if(t.status===xs&&(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];Yt(e,n,a),ln(e,a,null,null)}}--t.pendingTasks===0&&Ft(e,t)}}else r===null||!r.parentFlushed||r.status!==_s&&r.status!==ys||(cn(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Lt(e,t);e.allPendingTasks===0&&sn(e)}function un(e){if(e.status!==Ss&&e.status!==13){var t=ao,n=Or.H;Or.H=Uo;var r=Or.A;Or.A=Ko;var i=Cs;Cs=e;var a=Or.getCurrentStack;Or.getCurrentStack=Et;var o=Wo;Wo=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){Y(l.context),f=Go,Go=l;try{if(typeof l.replay.slots==`number`?Ut(p,l,l.replay.slots,l.node,l.childIndex):Kt(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),ln(p,l.blockedBoundary,l.row,null)}catch(e){Qe();var m=e===Co?qe():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===Co?Ze():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=jt(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;_=Nt(v,b,x,l.debugTask),nn(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&on(p),p.allPendingTasks--,p.allPendingTasks===0&&sn(p)}}finally{Go=f}}}else if(p=f=void 0,_=u,v=d,v.status===gs){v.status=6,Y(_.context),p=Go,Go=_;var w=v.children.length,T=v.chunks.length;try{Kt(l,_),Ie(v.chunks,l.renderState,v.lastPushedText,v.textEmbedded),_.abortSet.delete(_),v.status=_s,ln(l,_.blockedBoundary,_.row,v)}catch(e){Qe(),v.children.length=w,v.chunks.length=T;var E=e===Co?qe():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=jt(_.componentStack);_.abortSet.delete(_),Nt(l,E,O,_.debugTask),Xt(l,D,_,v),ln(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=gs,_.thenableState=e===Co?Ze():null;var k=_.ping;E.then(k,k)}else{var A=jt(_.componentStack);_.abortSet.delete(_),v.status=bs;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Ft(l,M),l.allPendingTasks--,f=Nt(l,E,A,N),j===null)Pt(l,E,A,N);else if(j.pendingTasks--,j.status!==hs){j.status=hs,Mt(j,f,E,A,!1),Zt(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Ft(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&pn(l)}l.allPendingTasks===0&&sn(l)}}finally{Go=p}}}s.splice(0,c),e.destination!==null&&yn(e,e.destination)}catch(t){s={},Nt(e,t,s,null),Pt(e,t,s,null)}finally{Wo=o,Or.H=n,Or.A=r,Or.getCurrentStack=a,n===Uo&&Y(t),Cs=i}}}function dn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=fn(e,t.children[i],n)||r;return r}function fn(e,t,n){var r=t.boundary;if(r===null)return dn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case _s:if(ce(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 dn(e,t,n);case xs:if(e.trackedPostpones!==null)return!0;case hs:if(t.status===_s)return ce(e.renderState,a),dn(e,t,n);default:return!0}}function pn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=fn(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 gs:n.id=e.nextSegmentId++;case xs:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push(Ai),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push(ji);case _s:n.status=vs;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=hn(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 ys:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function hn(e,t,n,r){var i=n.boundary;if(i===null)return mn(e,t,n,r);if(i.parentFlushed=!0,i.status===hs){var a=i.row;if(a!==null&&--a.pendingTasks===0&&Ft(e,a),!e.renderState.generateStaticMarkup){var o=i.errorDigest,s=i.errorMessage;a=i.errorStack,i=i.errorComponentStack,t.push(Fi),t.push(Li),o&&(t.push(zi),o=C(o),t.push(o),t.push(Ri)),s&&(t.push(Bi),s=C(s),t.push(s),t.push(Ri)),a&&(t.push(Vi),a=C(a),t.push(a),t.push(Ri)),i&&(t.push(Hi),a=C(i),t.push(a),t.push(Ri)),t.push(Ui)}return mn(e,t,n,r),e=e.renderState.generateStaticMarkup?!0:t.push(Ii),e}if(i.status!==_s)return i.status===gs&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),r&&Ne(r,i.fallbackState),mn(e,t,n,r),t.push(Ii);if(!Ms&&_t(e,i)&&js+i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),mn(e,t,n,r),t.push(Ii);if(js+=i.byteSize,r&&Ne(r,i.contentState),n=i.row,n!==null&&_t(e,i)&&--n.pendingTasks===0&&Ft(e,n),e.renderState.generateStaticMarkup||t.push(Mi),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 hn(e,t,n[0],r),e=e.renderState.generateStaticMarkup?!0:t.push(Ii),e}function gn(e,t,n,r){return de(t,e.renderState,n.parentFormatContext,n.id),hn(e,t,n,r),fe(t,n.parentFormatContext)}function _n(e,t,n){js=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)vn(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&_t(e,n)&&--r.pendingTasks===0&&Ft(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(ui),a?((r.instructions&Fr)===Mr&&(r.instructions|=Fr,t.push(Ca)),(r.instructions&Pr)===Mr&&(r.instructions|=Pr,t.push(ha)),(r.instructions&Ir)===Mr?(r.instructions|=Ir,t.push(_a)):t.push(va)):((r.instructions&Pr)===Mr&&(r.instructions|=Pr,t.push(ha)),t.push(ga)),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push(ya),t.push(e.segmentPrefix),t.push(r),a?(t.push(ba),Ce(t,n)):t.push(xa),n=t.push(Sa),le(t,e)&&n}function vn(e,t,n,r){if(r.status===vs)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 gn(e,t,r,i)}return a===n.rootSegmentID?gn(e,t,r,i):(gn(e,t,r,i),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(ui),(n.instructions&Nr)===Mr?(n.instructions|=Nr,t.push(da)):t.push(fa),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push(pa),t.push(e.placeholderPrefix),t.push(a),t=t.push(ma),t)}function yn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===xs)return;var i=e.completedPreambleSegments;if(i===null)return;js=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(ui)}}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(_e,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(_e,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(_e,t),o.highImagePreloads.clear(),Vr=o,o.styles.forEach(ye,t),Vr=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(_e,t),o.scripts.forEach(_e,t),o.scripts.clear(),o.bulkPreloads.forEach(_e,t),o.bulkPreloads.clear(),a.instructions|=Lr;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++)hn(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=se(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);hn(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&Rr)===Mr){if(S.instructions|=Rr,t.push(x.startInlineScript),(S.instructions&Lr)===Mr){S.instructions|=Lr;var w=`_`+S.idPrefix+`R_`;t.push(Ua);var T=C(w);t.push(T),t.push(si)}t.push(ui),t.push(ki),t.push(Hr)}}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(_e,t),E.preconnects.clear(),E.fontPreloads.forEach(_e,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(_e,t),E.highImagePreloads.clear(),E.styles.forEach(xe,t),E.scripts.forEach(_e,t),E.scripts.clear(),E.bulkPreloads.forEach(_e,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(ui),(j.instructions&Fr)===Mr?(j.instructions|=Fr,E.push(wa)):E.push(Ta),E.push(M.boundaryPrefix);var R=N.toString(16);if(E.push(R),E.push(Ea),P||F||I||L){E.push(Da);var z=pe(P||``);E.push(z)}if(F||I||L){E.push(Da);var ee=pe(F||``);E.push(ee)}if(I||L){E.push(Da);var te=pe(I||``);E.push(te)}if(L){E.push(Da);var B=pe(L);E.push(B)}var V=E.push(Oa);if(!V){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var ne=e.completedBoundaries;for(n=0;n<ne.length;n++)if(!_n(e,t,ne[n])){e.destination=null,n++,ne.splice(0,n);return}ne.splice(0,n),Ms=!0;var re=e.partialBoundaries;for(n=0;n<re.length;n++){a:{k=e,A=t;var ie=re[n];js=ie.byteSize;var H=ie.completedSegments;for(V=0;V<H.length;V++)if(!vn(k,A,ie,H[V])){V++,H.splice(0,V);var U=!1;break a}H.splice(0,V);var ae=ie.row;ae!==null&&ae.together&&ie.pendingTasks===1&&(ae.pendingTasks===1?It(k,ae,ae.hoistables):ae.pendingTasks--),U=ge(A,ie.contentState,k.renderState)}if(!U){e.destination=null,n++,re.splice(0,n);return}}re.splice(0,n),Ms=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!_n(e,t,W[n])){e.destination=null,n++,W.splice(0,n);return}W.splice(0,n)}}finally{Ms=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(re=se(`body`),t.push(re)),n.hasHtml&&(n=se(`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=Ss,t.push(null),e.destination=null)}}function bn(e){e.flushScheduled=e.destination!==null,un(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&an(e,e.pendingRootTasks===0)}function xn(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?yn(e,t):e.flushScheduled=!1}}function Sn(e,t){if(e.status===13)e.status=Ss,t.destroy(e.fatalError);else if(e.status!==Ss&&e.destination===null){e.destination=t;try{yn(e,t)}catch(n){t={},Nt(e,n,t,null),Pt(e,n,t,null)}}}function Cn(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=Go,i=Or.getCurrentStack;Go=t,Or.getCurrentStack=Et;try{rn(t,e,r)}finally{Go=n,Or.getCurrentStack=i}}),n.clear()}e.destination!==null&&yn(e,e.destination)}catch(n){t={},Nt(e,n,t,null),Pt(e,n,t,null)}}function wn(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),wn(i,t[0],n)),i[2].push(e)}}function Tn(){}function En(e,t,n,r){var i=!1,a=null,o=``,s=!1;if(t=E(t?t.identifierPrefix:void 0),e=bt(e,t,Pe(t,n),D(Gr,null,0,null),1/0,Tn,void 0,function(){s=!0},void 0,void 0,void 0),bn(e),Cn(e,r),Sn(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 Dn=require(`react`),On=require(`react-dom`),kn=Symbol.for(`react.transitional.element`),An=Symbol.for(`react.portal`),jn=Symbol.for(`react.fragment`),Mn=Symbol.for(`react.strict_mode`),Nn=Symbol.for(`react.profiler`),Pn=Symbol.for(`react.consumer`),Fn=Symbol.for(`react.context`),In=Symbol.for(`react.forward_ref`),Ln=Symbol.for(`react.suspense`),Rn=Symbol.for(`react.suspense_list`),zn=Symbol.for(`react.memo`),Bn=Symbol.for(`react.lazy`),Vn=Symbol.for(`react.scope`),Hn=Symbol.for(`react.activity`),Un=Symbol.for(`react.legacy_hidden`),Wn=Symbol.for(`react.memo_cache_sentinel`),Gn=Symbol.for(`react.view_transition`),Kn=Symbol.iterator,qn=Array.isArray,Jn=new WeakMap,Yn=new WeakMap,Xn=Symbol.for(`react.client.reference`),Zn=Object.assign,Qn=Object.prototype.hasOwnProperty,$n=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]*$`),er={},tr={},nr=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(` `)),rr=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`]]),ir={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},or={},sr=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]*$`),cr=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]*$`),lr=!1,ur={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`},dr={},fr=/^on./,pr=/^on[^A-Z]/,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]*$`),hr=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]*$`),gr=/^(?:webkit|moz|o)[A-Z]/,_r=/^-ms-/,vr=/-(.)/g,yr=/;\s*$/,br={},xr={},Sr=!1,Cr=!1,wr=/["'&<>]/,Tr=/([A-Z])/g,Er=/^ms-/,Dr=/^[\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,Or=Dn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kr=On.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ar=Object.freeze({pending:!1,data:null,method:null,action:null}),jr=kr.d;kr.d={f:jr.f,r:jr.r,D:function(e){var t=Cs||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=zr,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+De(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=zr,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],ne(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}xn(t)}}else jr.D(e)},C:function(e,t){var n=Cs||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]=zr,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+De(e)+`>; rel=preconnect`,typeof t==`string`){var c=ke(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=zr,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],ne(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}xn(n)}}else jr.C(e,t)},L:function(e,t,n){var r=Cs||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+`
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
%s`,e)}}return null}function oe(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||ta||(ta=!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||ra||(ra=!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||na||(na=!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(zi,h(`formAction`),Bi,Ui,Vi),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&&G(e,`name`,s),r!=null&&G(e,`formAction`,r),i!=null&&G(e,`formEncType`,i),a!=null&&G(e,`formMethod`,a),o!=null&&G(e,`formTarget`,o),c}function G(e,t,n){switch(t){case`className`:H(e,`class`,n);break;case`tabIndex`:H(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:H(e,t,n);break;case`style`:re(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;S(n,t),n=N(``+n),e.push(zi,h(t),Bi,h(M(n)),Vi);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;S(n,t),n=N(``+n),e.push(zi,h(`xlink:href`),Bi,h(M(n)),Vi);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(zi,h(t),Bi,h(M(n)),Vi);break;case`inert`:n!==``||Ci[t]||(Ci[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(zi,h(t),Hi);break;case`capture`:case`download`:!0===n?e.push(zi,h(t),Hi):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`xlinkActuate`:H(e,`xlink:actuate`,n);break;case`xlinkArcrole`:H(e,`xlink:arcrole`,n);break;case`xlinkRole`:H(e,`xlink:role`,n);break;case`xlinkShow`:H(e,`xlink:show`,n);break;case`xlinkTitle`:H(e,`xlink:title`,n);break;case`xlinkType`:H(e,`xlink:type`,n);break;case`xmlBase`:H(e,`xml:base`,n);break;case`xmlLang`:H(e,`xml:lang`,n);break;case`xmlSpace`:H(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=Er.get(t)||t,T(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(zi,h(t),Bi,h(M(n)),Vi)}}}function se(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&&(w(t),e.push(h(``+t)))}}function ce(e,t){var n=e[t];n!=null&&(n=lr(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 Un.Children.forEach(e,function(e){e!=null&&(t+=e,Zi||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||(Zi=!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)===ti){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Ne(r,e),r.push(Gi,aa,fi)):r.unshift(t.startInlineScript,Gi,aa,fi)}}function de(e,t){for(var n in e.push(_e(`link`)),t)if(xr.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:G(e,n,r)}}return e.push(Ki),null}function fe(e){return w(e),(``+e).replace(ca,t)}function pe(e,t,n){for(var r in e.push(_e(n)),t)if(xr.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:G(e,r,i)}}return e.push(Ki),null}function me(e,t){e.push(_e(`title`));var n=null,r=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(h(M(``+t))),se(e,r,n),e.push(ye(`title`)),null}function he(e,t){e.push(_e(`script`));var n=null,r=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),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)),se(e,r,n),typeof n==`string`&&e.push(h(P(n))),e.push(ye(`script`)),null}function K(e,t,n){e.push(_e(n));var r=n=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),se(e,r,n),n}function ge(e,t,n){e.push(_e(n));var r=n=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),se(e,r,n),typeof n==`string`?(e.push(h(M(n))),null):n}function _e(e){var t=ma.get(e);if(t===void 0){if(!pa.test(e))throw Error(`Invalid tag: `+e);t=g(`<`+e),ma.set(e,t)}return t}function ve(e,t,n,r,i,a,o,s,c){O(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||Mr||(Mr=!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`||A(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!==Oi&&s.insertionMode!==ki&&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(_e(`a`));var u=null,d=null,f;for(f in n)if(xr.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===``?H(e,`href`,``):G(e,f,p);break;default:G(e,f,p)}}if(e.push(Gi),se(e,d,u),typeof u==`string`){e.push(h(M(u)));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:E(`select`,n),ce(n,`value`),ce(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||Yi||(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`),Yi=!0),e.push(_e(`select`));var g=null,_=null,v;for(v in n)if(xr.call(n,v)){var y=n[v];if(y!=null)switch(v){case`children`:g=y;break;case`dangerouslySetInnerHTML`:_=y;break;case`defaultValue`:case`value`:break;default:G(e,v,y)}}return e.push(Gi),se(e,_,g),g;case`option`:var b=s.selectedValue;e.push(_e(`option`));var x=null,C=null,D=null,k=null,j;for(j in n)if(xr.call(n,j)){var P=n[j];if(P!=null)switch(j){case`children`:x=P;break;case`selected`:D=P,$i||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:k=P;break;case`value`:C=P;default:G(e,j,P)}}if(b!=null){if(C!==null){S(C,`value`);var F=``+C}else k===null||Qi||(Qi=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),F=le(x);if(lr(b)){for(var I=0;I<b.length;I++)if(S(b[I],`value`),``+b[I]===F){e.push(ia);break}}else S(b,`select.value`),``+b===F&&e.push(ia)}else D&&e.push(ia);return e.push(Gi),se(e,k,x),x;case`textarea`:E(`textarea`,n),n.value===void 0||n.defaultValue===void 0||Xi||(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`),Xi=!0),e.push(_e(`textarea`));var L=null,R=null,z=null,ee;for(ee in n)if(xr.call(n,ee)){var te=n[ee];if(te!=null)switch(ee){case`children`:z=te;break;case`value`:L=te;break;case`defaultValue`:R=te;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:G(e,ee,te)}}if(L===null&&R!==null&&(L=R),e.push(Gi),z!=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(lr(z)){if(1<z.length)throw Error(`<textarea> can only have at most one child.`);w(z[0]),L=``+z[0]}w(z),L=``+z}return typeof L==`string`&&L[0]===`
|
|
127
|
-
`&&e.push(fa),L!==null&&(S(L,`value`),e.push(h(M(``+L)))),null;case`input`:E(`input`,n),e.push(_e(`input`));var B=null,V=null,ne=null,ae=null,ve=null,be=null,xe=null,Se=null,Ce=null,q;for(q in n)if(xr.call(n,q)){var J=n[q];if(J!=null)switch(q){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:B=J;break;case`formAction`:V=J;break;case`formEncType`:ne=J;break;case`formMethod`:ae=J;break;case`formTarget`:ve=J;break;case`defaultChecked`:Ce=J;break;case`defaultValue`:xe=J;break;case`checked`:Se=J;break;case`value`:be=J;break;default:G(e,q,J)}}V===null||n.type===`image`||n.type===`submit`||ea||(ea=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var we=oe(e,r,i,V,ne,ae,ve,B);return Se===null||Ce===null||Ji||(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),Ji=!0),be===null||xe===null||qi||(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),qi=!0),Se===null?Ce!==null&&ie(e,`checked`,Ce):ie(e,`checked`,Se),be===null?xe!==null&&G(e,`value`,xe):G(e,`value`,be),e.push(Ki),we?.forEach(U,e),null;case`button`:e.push(_e(`button`));var Te=null,Ee=null,De=null,Oe=null,ke=null,Ae=null,je=null,Me;for(Me in n)if(xr.call(n,Me)){var Ne=n[Me];if(Ne!=null)switch(Me){case`children`:Te=Ne;break;case`dangerouslySetInnerHTML`:Ee=Ne;break;case`name`:De=Ne;break;case`formAction`:Oe=Ne;break;case`formEncType`:ke=Ne;break;case`formMethod`:Ae=Ne;break;case`formTarget`:je=Ne;break;default:G(e,Me,Ne)}}Oe===null||n.type==null||n.type===`submit`||ea||(ea=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Pe=oe(e,r,i,Oe,ke,Ae,je,De);if(e.push(Gi),Pe?.forEach(U,e),se(e,Ee,Te),typeof Te==`string`){e.push(h(M(Te)));var Fe=null}else Fe=Te;return Fe;case`form`:e.push(_e(`form`));var Ie=null,Le=null,Be=null,Ve=null,He=null,Y=null,Ue;for(Ue in n)if(xr.call(n,Ue)){var We=n[Ue];if(We!=null)switch(Ue){case`children`:Ie=We;break;case`dangerouslySetInnerHTML`:Le=We;break;case`action`:Be=We;break;case`encType`:Ve=We;break;case`method`:He=We;break;case`target`:Y=We;break;default:G(e,Ue,We)}}var X=null,Ge=null;if(typeof Be==`function`){Ve===null&&He===null||ra||(ra=!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.`)),Y===null||na||(na=!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,Be);Z===null?(e.push(zi,h(`action`),Bi,Ui,Vi),Y=He=Ve=Be=null,ue(r,i)):(Be=Z.action||``,Ve=Z.encType,He=Z.method,Y=Z.target,X=Z.data,Ge=Z.name)}if(Be!=null&&G(e,`action`,Be),Ve!=null&&G(e,`encType`,Ve),He!=null&&G(e,`method`,He),Y!=null&&G(e,`target`,Y),e.push(Gi),Ge!==null&&(e.push(Wi),H(e,`name`,Ge),e.push(Ki),X?.forEach(U,e)),se(e,Le,Ie),typeof Ie==`string`){e.push(h(M(Ie)));var Ke=null}else Ke=Ie;return Ke;case`menuitem`:for(var qe in e.push(_e(`menuitem`)),n)if(xr.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:G(e,qe,Je)}}return e.push(Gi),null;case`object`:e.push(_e(`object`));var Ye=null,Xe=null,Q;for(Q in n)if(xr.call(n,Q)){var Ze=n[Q];if(Ze!=null)switch(Q){case`children`:Ye=Ze;break;case`dangerouslySetInnerHTML`:Xe=Ze;break;case`data`:S(Ze,`data`);var Qe=N(``+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.`,Q,Q);break}e.push(zi,h(`data`),Bi,h(M(Qe)),Vi);break;default:G(e,Q,Ze)}}if(e.push(Gi),se(e,Xe,Ye),typeof Ye==`string`){e.push(h(M(Ye)));var $e=null}else $e=Ye;return $e;case`title`:var et=s.tagScope&1,tt=s.tagScope&4;if(xr.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===Oi||et||n.itemProp!=null)var it=me(e,n);else tt?it=null:(me(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===Oi||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+`"`)),de(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=de(e,n)}else{var ft=i.styles.get(lt),pt=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(pt!==ci){r.styleResources[ct]=ci,ft||(ft={precedence:h(M(lt)),rules:[],hrefs:[],sheets:new Map},i.styles.set(lt,ft));var mt={state:zo,props:br({},n,{"data-precedence":n.precedence,precedence:null})};if(pt){pt.length===2&&Re(mt.props,pt);var ht=i.preloads.stylesheets.get(ct);ht&&0<ht.length?ht.length=0:mt.state=Bo}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(Pi),ut=null}else n.onLoad||n.onError?ut=de(e,n):(c&&e.push(Pi),ut=ot?null:de(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===Oi||_t||n.itemProp!=null)var yt=he(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!==ci){xt[bt]=ci;var wt=n;if(Ct){Ct.length===2&&(wt=br({},n),Re(wt,Ct));var Tt=St.get(bt);Tt&&(Tt.length=0)}var Et=[];i.scripts.add(Et),he(Et,wt)}c&&e.push(Pi),yt=null}return yt;case`style`:var Dt=s.tagScope&1;if(xr.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===Oi||Dt||n.itemProp!=null||typeof At!=`string`||typeof jt!=`string`||jt===``){e.push(_e(`style`));var Nt=null,Pt=null,Ft;for(Ft in n)if(xr.call(n,Ft)){var It=n[Ft];if(It!=null)switch(Ft){case`children`:Nt=It;break;case`dangerouslySetInnerHTML`:Pt=It;break;default:G(e,Ft,It)}}e.push(Gi);var Lt=Array.isArray(Nt)?2>Nt.length?Nt[0]:null:Nt;typeof Lt!=`function`&&typeof Lt!=`symbol`&&Lt!=null&&e.push(h(fe(Lt))),se(e,Pt,Nt),e.push(ye(`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!==ci){r.styleResources[jt]=ci,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:h(M(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(h(M(jt)));var Ht=zt.rules,Ut=null,Wt=null,Gt;for(Gt in n)if(xr.call(n,Gt)){var $=n[Gt];if($!=null)switch(Gt){case`children`:Ut=$;break;case`dangerouslySetInnerHTML`:Wt=$}}var Kt=Array.isArray(Ut)?2>Ut.length?Ut[0]:null:Ut;typeof Kt!=`function`&&typeof Kt!=`symbol`&&Kt!=null&&Ht.push(h(fe(Kt))),se(Ht,Wt,Ut)}}zt&&o&&o.styles.add(zt),c&&e.push(Pi),Rt=void 0}return Rt;case`meta`:var qt=s.tagScope&1,Jt=s.tagScope&4;if(s.insertionMode===Oi||qt||n.itemProp!=null)var Yt=pe(e,n,`meta`);else c&&e.push(Pi),Yt=Jt?null:typeof n.charSet==`string`?pe(i.charsetChunks,n,`meta`):n.name===`viewport`?pe(i.viewportChunks,n,`meta`):pe(i.hoistableChunks,n,`meta`);return Yt;case`listing`:case`pre`:e.push(_e(t));var Xt=null,Zt=null,Qt;for(Qt in n)if(xr.call(n,Qt)){var $t=n[Qt];if($t!=null)switch(Qt){case`children`:Xt=$t;break;case`dangerouslySetInnerHTML`:Zt=$t;break;default:G(e,Qt,$t)}}if(e.push(Gi),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]===`
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
%s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var se=Z(i)||`Unknown`;gc[se]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,se),gc[se]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var ce=Z(i)||`Unknown`;hc[ce]||(console.error(`%s: Function components do not support contextType.`,ce),hc[ce]=!0)}tn(e,t,n,U,ae,W,oe)}else if(typeof i==`string`){var le=t.blockedSegment;if(le===null){var ue=a.children,de=t.formatContext,fe=t.keyPath;t.formatContext=ee(de,i,a),t.keyPath=n,gn(e,t,ue,-1),t.formatContext=de,t.keyPath=fe}else{var pe=ve(le.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,le.lastPushedText);le.lastPushedText=!1;var me=t.formatContext,he=t.keyPath;if(t.keyPath=n,(t.formatContext=ee(me,i,a)).insertionMode===Di){var K=Bt(e,0,null,t.formatContext,!1,!1);le.preambleChildren.push(K),t.blockedSegment=K;try{K.status=6,gn(e,t,pe,-1),K.lastPushedText&&K.textEmbedded&&K.chunks.push(Pi),K.status=oc,wn(e,t.blockedBoundary,K)}finally{t.blockedSegment=le}}else gn(e,t,pe,-1);t.formatContext=me,t.keyPath=he;a:{var ge=le.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(me.insertionMode<=Ti){_e.hasBody=!0;break a}break;case`html`:if(me.insertionMode===wi){_e.hasHtml=!0;break a}break;case`head`:if(me.insertionMode<=Ti)break a}ge.push(ye(i))}le.lastPushedText=!1}}else{switch(i){case ar:case Jn:case Yn:case qn:var be=t.keyPath;t.keyPath=n,sn(e,t,a.children,-1),t.keyPath=be;return;case ir:var xe=t.blockedSegment;if(xe===null){if(a.mode!==`hidden`){var Se=t.keyPath;t.keyPath=n,gn(e,t,a.children,-1),t.keyPath=Se}}else if(a.mode!==`hidden`){xe.chunks.push(ba),xe.lastPushedText=!1;var Ce=t.keyPath;t.keyPath=n,gn(e,t,a.children,-1),t.keyPath=Ce,xe.chunks.push(xa),xe.lastPushedText=!1}return;case er:a:{var q=a.children,J=a.revealOrder;if(J===`forwards`||J===`backwards`||J===`unstable_legacy-backwards`){if(lr(q)){$t(e,t,n,q,J);break a}var we=r(q);if(we){var Te=we.call(q);if(Te){on(t,q,-1,Te,we);var Ee=Te.next();if(!Ee.done){var De=[];do De.push(Ee.value),Ee=Te.next();while(!Ee.done);$t(e,t,n,q,J)}break a}}}if(J===`together`){var Oe=t.keyPath,ke=t.row,Ae=t.row=Qt(null);Ae.boundaries=[],Ae.together=!0,t.keyPath=n,sn(e,t,q,-1),--Ae.pendingTasks===0&&Yt(e,Ae),t.keyPath=Oe,t.row=ke,ke!==null&&0<Ae.pendingTasks&&(ke.pendingTasks++,Ae.next=ke)}else{var je=t.keyPath;t.keyPath=n,sn(e,t,q,-1),t.keyPath=je}}return;case sr:case rr:throw Error(`ReactDOMServer does not yet support scope components.`);case $n:a:if(t.replay!==null){var Me=t.keyPath,Ne=t.formatContext,Pe=t.row;t.keyPath=n,t.formatContext=V(e.resumableState,Ne),t.row=null;var Fe=a.children;try{gn(e,t,Fe,-1)}finally{t.keyPath=Me,t.formatContext=Ne,t.row=Pe}}else{var Ie=t.keyPath,Le=t.formatContext,Re=t.row,ze=t.blockedBoundary,Be=t.blockedPreamble,Ve=t.hoistableState,He=t.blockedSegment,Y=a.fallback,Ue=a.children,We=new Set,X=t.formatContext.insertionMode<Ei?Lt(e,t.row,We,L(),L()):Lt(e,t.row,We,null,null);e.trackedPostpones!==null&&(X.trackedContentKeyPath=n);var Ge=Bt(e,He.chunks.length,X,t.formatContext,!1,!1);He.children.push(Ge),He.lastPushedText=!1;var Ke=Bt(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=Ge,t.blockedPreamble=X.fallbackPreamble,t.keyPath=Je,t.formatContext=B(e.resumableState,Le),t.componentStack=Gt(qe),Ge.status=6;try{gn(e,t,Y,-1),Ge.lastPushedText&&Ge.textEmbedded&&Ge.chunks.push(Pi),Ge.status=oc,wn(e,ze,Ge)}catch(t){throw Ge.status=e.status===12?cc:lc,t}finally{t.blockedSegment=He,t.blockedPreamble=Be,t.keyPath=Ie,t.formatContext=Le}var Xe=Rt(e,null,Ue,-1,X,Ke,X.contentPreamble,X.contentState,t.abortSet,n,V(e.resumableState,t.formatContext),t.context,t.treeContext,null,qe,qo,t.debugTask);Wt(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=V(e.resumableState,Le),t.row=null,Ke.status=6;try{if(gn(e,t,Ue,-1),Ke.lastPushedText&&Ke.textEmbedded&&Ke.chunks.push(Pi),Ke.status=oc,wn(e,X,Ke),Cn(X,Ke),X.pendingTasks===0&&X.status===ac){if(X.status=oc,!kt(e,X)){Re!==null&&--Re.pendingTasks===0&&Yt(e,Re),e.pendingRootTasks===0&&t.blockedPreamble&&kn(e);break a}}else Re!==null&&Re.together&&Zt(e,Re)}catch(n){if(X.status=ic,e.status===12){Ke.status=cc;var Q=e.fatalError}else Ke.status=lc,Q=n;var Ze=$(t.componentStack);Kt(X,qt(e,Q,Ze,t.debugTask),Q,Ze,!1),pn(e,X)}finally{t.blockedBoundary=ze,t.blockedPreamble=Be,t.hoistableState=Ve,t.blockedSegment=He,t.keyPath=Ie,t.formatContext=Le,t.row=Re}var Qe=Rt(e,null,Y,-1,ze,Ge,X.fallbackPreamble,X.fallbackState,We,[n[0],`Suspense Fallback`,n[2]],B(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Gt(t.componentStack),qo,t.debugTask);Wt(Qe),e.pingedTasks.push(Qe)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case Qn:if(`ref`in a){var $e={};for(var et in a)et!==`ref`&&($e[et]=a[et])}else $e=a;tn(e,t,n,en(e,t,n,i.render,$e,o),Cs!==0,ws,Ts);return;case tr:nn(e,t,n,i.type,a,o);return;case Zn:var tt=a.value,nt=a.children,rt=t.context,it=t.keyPath,at=i._currentValue;i._currentValue=tt,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Jo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Jo;var ot=Yo,st={parent:ot,depth:ot===null?0:ot.depth+1,context:i,parentValue:at,value:tt};Yo=st,t.context=st,t.keyPath=n,sn(e,t,nt,-1);var ct=Yo;if(ct===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);ct.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),ct.context._currentValue=ct.parentValue,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Jo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Jo,t.context=Yo=ct.parent,t.keyPath=it,rt!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case Xn:var lt=i._context,ut=a.children;typeof ut!=`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 dt=ut(lt._currentValue),ft=t.keyPath;t.keyPath=n,sn(e,t,dt,-1),t.keyPath=ft;return;case nr:var pt=$s(i);if(e.status===12)throw null;nn(e,t,n,pt,a,o);return}var mt=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(mt+=` 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)+`.`+mt))}}function rn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Bt(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,gn(e,t,r,i),s.status=oc,wn(e,o,s),o===null?e.completedRootSegment=s:(Cn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function an(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(nn(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===fs||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=$(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=qt(s,n,o,t.debugTask),vn(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==$n)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(Z(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<Ei?Lt(e,t.row,x,L(),L()):Lt(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=V(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if(gn(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===ac){s.status=oc,e.completedBoundaries.push(s);break a}}catch(n){s.status=ic,f=$(t.componentStack),l=qt(e,n,f,t.debugTask),Kt(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=zt(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],B(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Gt(t.componentStack),qo,t.debugTask),Wt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function on(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]`)&&(vc||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."),vc=!0):t.entries!==i||yc||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),yc=!0)}function sn(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?rn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,Wt(t),cn(e,t),t.componentStack=n,t.debugTask=r)}function cn(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case Gn: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=Z(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(nn.bind(null,e,t,u,a,n,s)):nn(e,t,u,a,n,s):c?c.run(an.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):an(e,t,u,l,o,i,a,n,s,t.replay);return;case Kn:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case nr:if(a=$s(n),e.status===12)throw null;sn(e,t,a,i);return}if(lr(n)){un(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(on(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);un(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,sn(e,t,yt(n),i);if(n.$$typeof===Zn)return sn(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=ne(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=ne(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.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
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=Z(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 un(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(Ut(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(un(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===fs||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=$(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=qt(e,f,d,t.debugTask),vn(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=$e(s,c,r),f=l[r],typeof f==`number`?(rn(e,t,f,u,r),delete l[r]):gn(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],ln(e,t,r),t.treeContext=$e(s,c,l),gn(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function dn(e,t,n){if(n.status=uc,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),Bn(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function fn(e,t,n,r){r.status=uc;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=uc);else{if(a!==null&&a.status===ac){var o=dn(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],Bn(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),Bn(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 pn(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 mn(e,t,n){return zt(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,qo,t.debugTask)}function hn(e,t,n){var r=t.blockedSegment,i=Bt(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Rt(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,qo,t.debugTask)}function gn(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 sn(e,t,n,r)}catch(d){if(lt(),n=d===fs?rt():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===fs?ct():null,e=mn(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,Q(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===fs?ct():null,n=mn(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,Q(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return sn(e,t,n,r)}catch(r){if(lt(),u.children.length=d,u.chunks.length=f,n=r===fs?rt():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===fs?ct():null,e=hn(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,Q(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===fs?ct():null,u=hn(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,Q(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Q(a),n}function _n(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=cc,Tn(this,t,e.row,n))}function vn(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)vn(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=Lt(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=ic,Kt(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!==ic&&(t.status=ic,Kt(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function yn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=cc}var a=$(e.componentStack),o=e.node;if(typeof o==`object`&&o&&Ht(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==dc){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,qt(t,n,a,e.debugTask),fn(t,r,e,i),Tn(t,null,e.row,i)):(qt(t,n,a,e.debugTask),Jt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=qt(t,n,a,null),vn(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&xn(t)}}else{if(o=t.trackedPostpones,r.status!==ic){if(o!==null&&i!==null)return qt(t,n,a,e.debugTask),fn(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return yn(e,t,n)}),r.fallbackAbortableTasks.clear(),Tn(t,r,e.row,i);r.status=ic,i=qt(t,n,a,e.debugTask),r.status=ic,Kt(r,i,n,a,!0),pn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Yt(t,a),r.fallbackAbortableTasks.forEach(function(e){return yn(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Yt(t,e),t.allPendingTasks--,t.allPendingTasks===0&&Sn(t)}function bn(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=ze(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]=li,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:li;else break b}}r(a?{Link:a}:{})}}}catch(t){qt(e,t,{},null)}}function xn(e){e.trackedPostpones===null&&bn(e,!0),e.trackedPostpones===null&&kn(e),e.onShellError=tt,e=e.onShellReady,e()}function Sn(e){bn(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==uc),kn(e),e=e.onAllReady,e()}function Cn(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!==oc&&n.status!==cc&&n.status!==lc||Cn(e,n)}else e.completedSegments.push(t)}function wn(e,t,n){if(_!==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 Tn(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Yt(e,n):n.together&&Zt(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&&xn(e)}else if(t.pendingTasks--,t.status!==ic)if(t.pendingTasks===0){if(t.status===ac&&(t.status=oc),r!==null&&r.parentFlushed&&(r.status===oc||r.status===cc)&&Cn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===oc)n=t.row,n!==null&&X(n.hoistables,t.contentState),kt(e,t)||(t.fallbackAbortableTasks.forEach(_n,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Yt(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&kn(e);else if(t.status===uc&&(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];dn(e,n,a),Tn(e,a,null,null)}}--t.pendingTasks===0&&Yt(e,t)}}else r===null||!r.parentFlushed||r.status!==oc&&r.status!==cc||(Cn(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Zt(e,t);e.allPendingTasks===0&&Sn(e)}function En(e){if(e.status!==dc&&e.status!==13){var t=Yo,n=Zr.H;Zr.H=Ms;var r=Zr.A;Zr.A=Fs;var i=fc;fc=e;var a=Zr.getCurrentStack;Zr.getCurrentStack=Vt;var o=Ns;Ns=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){Q(l.context),f=Ps,Ps=l;try{if(typeof l.replay.slots==`number`?rn(p,l,l.replay.slots,l.node,l.childIndex):cn(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),Tn(p,l.blockedBoundary,l.row,null)}catch(e){lt();var m=e===fs?rt():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===fs?ct():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=$(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;_=qt(v,b,x,l.debugTask),vn(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&xn(p),p.allPendingTasks--,p.allPendingTasks===0&&Sn(p)}}finally{Ps=f}}}else if(p=f=void 0,_=u,v=d,v.status===ac){v.status=6,Q(_.context),p=Ps,Ps=_;var w=v.children.length,T=v.chunks.length;try{cn(l,_),v.lastPushedText&&v.textEmbedded&&v.chunks.push(Pi),_.abortSet.delete(_),v.status=oc,wn(l,_.blockedBoundary,v),Tn(l,_.blockedBoundary,_.row,v)}catch(e){lt(),v.children.length=w,v.chunks.length=T;var E=e===fs?rt():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=$(_.componentStack);_.abortSet.delete(_),qt(l,E,O,_.debugTask),fn(l,D,_,v),Tn(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=ac,_.thenableState=e===fs?ct():null;var k=_.ping;E.then(k,k)}else{var A=$(_.componentStack);_.abortSet.delete(_),v.status=lc;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Yt(l,M),l.allPendingTasks--,f=qt(l,E,A,N),j===null)Jt(l,E,A,N);else if(j.pendingTasks--,j.status!==ic){j.status=ic,Kt(j,f,E,A,!1),pn(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Yt(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&kn(l)}l.allPendingTasks===0&&Sn(l)}}finally{Ps=p}}}s.splice(0,c),e.destination!==null&&Fn(e,e.destination)}catch(t){s={},qt(e,t,s,null),Jt(e,t,s,null)}finally{Ns=o,Zr.H=n,Zr.A=r,Zr.getCurrentStack=a,n===Ms&&Q(t),fc=i}}}function Dn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=On(e,t.children[i],n)||r;return r}function On(e,t,n){var r=t.boundary;if(r===null)return Dn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case oc:if(be(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 Dn(e,t,n);case uc:if(e.trackedPostpones!==null)return!0;case ic:if(t.status===oc)return be(e.renderState,a),Dn(e,t,n);default:return!0}}function kn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=On(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function An(e,t,n,r){switch(n.parentFlushed=!0,n.status){case ac:n.id=e.nextSegmentId++;case uc:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,f(t,va),f(t,e.placeholderPrefix),e=h(r.toString(16)),f(t,e),p(t,ya);case oc:n.status=sc;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++)f(t,a[o]);i=jn(e,t,i,r)}for(;o<a.length-1;o++)f(t,a[o]);return o<a.length&&(i=p(t,a[o])),i;case cc:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function jn(e,t,n,r){var i=n.boundary;if(i===null)return An(e,t,n,r);if(i.parentFlushed=!0,i.status===ic){var a=i.row;a!==null&&--a.pendingTasks===0&&Yt(e,a),a=i.errorDigest;var o=i.errorMessage,s=i.errorStack;i=i.errorComponentStack,p(t,Ta),f(t,Da),a&&(f(t,ka),f(t,h(M(a))),f(t,Oa)),o&&(f(t,Aa),f(t,h(M(o))),f(t,Oa)),s&&(f(t,ja),f(t,h(M(s))),f(t,Oa)),i&&(f(t,Ma),f(t,h(M(i))),f(t,Oa)),p(t,Na),An(e,t,n,r)}else if(i.status!==oc)i.status===ac&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),Se(t,e.renderState,i.rootSegmentID),r&&X(r,i.fallbackState),An(e,t,n,r);else if(!xc&&kt(e,i)&&(bc+i.byteSize>e.progressiveChunkSize||Ge(i.contentState)))i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),Se(t,e.renderState,i.rootSegmentID),An(e,t,n,r);else{if(bc+=i.byteSize,r&&X(r,i.contentState),n=i.row,n!==null&&kt(e,i)&&--n.pendingTasks===0&&Yt(e,n),p(t,Sa),n=i.completedSegments,n.length!==1)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);jn(e,t,n[0],r)}return p(t,Ea)}function Mn(e,t,n,r){return Ce(t,e.renderState,n.parentFormatContext,n.id),jn(e,t,n,r),q(t,n.parentFormatContext)}function Nn(e,t,n){bc=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Pn(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&kt(e,n)&&--r.pendingTasks===0&&Yt(e,r),De(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,Gi),a?((r.instructions&ii)===ti&&(r.instructions|=ii,f(t,mo)),(r.instructions&ri)===ti&&(r.instructions|=ri,f(t,ao)),(r.instructions&ai)===ti?(r.instructions|=ai,f(t,so)):f(t,co)):((r.instructions&ri)===ti&&(r.instructions|=ri,f(t,ao)),f(t,oo)),r=h(i.toString(16)),f(t,e.boundaryPrefix),f(t,r),f(t,lo),f(t,e.segmentPrefix),f(t,r),a?(f(t,uo),Pe(t,n)):f(t,fo),n=p(t,po),xe(t,e)&&n}function Pn(e,t,n,r){if(r.status===sc)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 Mn(e,t,r,i)}return a===n.rootSegmentID?Mn(e,t,r,i):(Mn(e,t,r,i),n=e.resumableState,e=e.renderState,f(t,e.startInlineScript),f(t,Gi),(n.instructions&ni)===ti?(n.instructions|=ni,f(t,to)):f(t,no),f(t,e.segmentPrefix),a=h(a.toString(16)),f(t,a),f(t,ro),f(t,e.placeholderPrefix),f(t,a),t=p(t,io),t)}function Fn(e,t){_r=new Uint8Array(2048),vr=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===uc)return;var i=e.completedPreambleSegments;if(i===null)return;bc=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,_e(`head`)),f(t,Gi)}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(Oe,t),o.preconnects.clear();var g=o.viewportChunks;for(u=0;u<g.length;u++)f(t,g[u]);g.length=0,o.fontPreloads.forEach(Oe,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Oe,t),o.highImagePreloads.clear(),ui=o,o.styles.forEach(Ae,t),ui=null;var _=o.importMapChunks;for(u=0;u<_.length;u++)f(t,_[u]);_.length=0,o.bootstrapScripts.forEach(Oe,t),o.scripts.forEach(Oe,t),o.scripts.clear(),o.bulkPreloads.forEach(Oe,t),o.bulkPreloads.clear(),c||l||(a.instructions|=oi);var v=o.hoistableChunks;for(u=0;u<v.length;u++)f(t,v[u]);for(a=v.length=0;a<i.length;a++){var y=i[a];for(o=0;o<y.length;o++)jn(e,t,y[o],null)}var b=e.renderState.preamble,x=b.headChunks;(b.htmlChunks||x)&&f(t,ye(`head`));var S=b.bodyChunks;if(S)for(i=0;i<S.length;i++)f(t,S[i]);jn(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&si)===ti){if(w.instructions|=si,f(t,C.startInlineScript),(w.instructions&oi)===ti){w.instructions|=oi;var T=`_`+w.idPrefix+`R_`;f(t,Po),f(t,h(M(T))),f(t,Vi)}f(t,Gi),f(t,_a),p(t,fi)}}xe(t,C)}var E=e.renderState;r=0;var D=E.viewportChunks;for(r=0;r<D.length;r++)f(t,D[r]);D.length=0,E.preconnects.forEach(Oe,t),E.preconnects.clear(),E.fontPreloads.forEach(Oe,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(Oe,t),E.highImagePreloads.clear(),E.styles.forEach(Me,t),E.scripts.forEach(Oe,t),E.scripts.clear(),E.bulkPreloads.forEach(Oe,t),E.bulkPreloads.clear();var O=E.hoistableChunks;for(r=0;r<O.length;r++)f(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,N=e.renderState,P=A.rootSegmentID,F=A.errorDigest,I=A.errorMessage,L=A.errorStack,R=A.errorComponentStack;f(E,N.startInlineScript),f(E,Gi),(j.instructions&ii)===ti?(j.instructions|=ii,f(E,ho)):f(E,go),f(E,N.boundaryPrefix),f(E,h(P.toString(16))),f(E,_o),(F||I||L||R)&&(f(E,vo),f(E,h(J(F||``)))),(I||L||R)&&(f(E,vo),f(E,h(J(I||``)))),(L||R)&&(f(E,vo),f(E,h(J(L||``)))),R&&(f(E,vo),f(E,h(J(R))));var z=p(E,yo);if(!z){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var ee=e.completedBoundaries;for(n=0;n<ee.length;n++)if(!Nn(e,t,ee[n])){e.destination=null,n++,ee.splice(0,n);return}ee.splice(0,n),m(t),_r=new Uint8Array(2048),vr=0,xc=!0;var te=e.partialBoundaries;for(n=0;n<te.length;n++){a:{k=e,A=t;var B=te[n];bc=B.byteSize;var V=B.completedSegments;for(z=0;z<V.length;z++)if(!Pn(k,A,B,V[z])){z++,V.splice(0,z);var ne=!1;break a}V.splice(0,z);var re=B.row;re!==null&&re.together&&B.pendingTasks===1&&(re.pendingTasks===1?Xt(k,re,re.hoistables):re.pendingTasks--),ne=De(A,B.contentState,k.renderState)}if(!ne){e.destination=null,n++,te.splice(0,n);return}}te.splice(0,n),xc=!1;var ie=e.completedBoundaries;for(n=0;n<ie.length;n++)if(!Nn(e,t,ie[n])){e.destination=null,n++,ie.splice(0,n);return}ie.splice(0,n)}}finally{xc=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&f(t,ye(`body`)),n.hasHtml&&f(t,ye(`html`)),m(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=dc,t.close(),e.destination=null):m(t)}}function In(e){e.flushScheduled=e.destination!==null,gr(function(){return En(e)}),u(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&bn(e,e.pendingRootTasks===0)})}function Ln(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,u(function(){var t=e.destination;t?Fn(e,t):e.flushScheduled=!1}))}function Rn(e,t){if(e.status===13)e.status=dc,v(t,e.fatalError);else if(e.status!==dc&&e.destination===null){e.destination=t;try{Fn(e,t)}catch(n){t={},qt(e,n,t,null),Jt(e,n,t,null)}}}function zn(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=Ps,i=Zr.getCurrentStack;Ps=t,Zr.getCurrentStack=Vt;try{yn(t,e,r)}finally{Ps=n,Zr.getCurrentStack=i}}),n.clear()}e.destination!==null&&Fn(e,e.destination)}catch(n){t={},qt(e,n,t,null),Jt(e,n,t,null)}}function Bn(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),Bn(i,t[0],n)),i[2].push(e)}}function Vn(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!==uc&&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=ti}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Hn(){var e=Un.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:
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}var Un=require(`react`),Wn=require(`react-dom`),Gn=Symbol.for(`react.transitional.element`),Kn=Symbol.for(`react.portal`),qn=Symbol.for(`react.fragment`),Jn=Symbol.for(`react.strict_mode`),Yn=Symbol.for(`react.profiler`),Xn=Symbol.for(`react.consumer`),Zn=Symbol.for(`react.context`),Qn=Symbol.for(`react.forward_ref`),$n=Symbol.for(`react.suspense`),er=Symbol.for(`react.suspense_list`),tr=Symbol.for(`react.memo`),nr=Symbol.for(`react.lazy`),rr=Symbol.for(`react.scope`),ir=Symbol.for(`react.activity`),ar=Symbol.for(`react.legacy_hidden`),or=Symbol.for(`react.memo_cache_sentinel`),sr=Symbol.for(`react.view_transition`),cr=Symbol.iterator,lr=Array.isArray,ur=new WeakMap,dr=new WeakMap,fr=Symbol.for(`react.client.reference`),pr=new MessageChannel,mr=[];pr.port1.onmessage=function(){var e=mr.shift();e&&e()};var hr=Promise,gr=typeof queueMicrotask==`function`?queueMicrotask:function(e){hr.resolve(null).then(e).catch(d)},_r=null,vr=0,yr=new TextEncoder,br=Object.assign,xr=Object.prototype.hasOwnProperty,Sr=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]*$`),Cr={},wr={},Tr=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(` `)),Er=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`]]),Dr={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Or={"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},kr={},Ar=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]*$`),jr=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]*$`),Mr=!1,Nr={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={},Fr=/^on./,Ir=/^on[^A-Z]/,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]*$`),Rr=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]*$`),zr=/^(?:webkit|moz|o)[A-Z]/,Br=/^-ms-/,Vr=/-(.)/g,Hr=/;\s*$/,Ur={},Wr={},Gr=!1,Kr=!1,qr=/["'&<>]/,Jr=/([A-Z])/g,Yr=/^ms-/,Xr=/^[\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,Zr=Un.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qr=Wn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$r=Object.freeze({pending:!1,data:null,method:null,action:null}),ei=Qr.d;Qr.d={f:ei.f,r:ei.r,D:function(e){var t=fc||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=ci,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+Be(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=ci,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],de(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}Ln(t)}}else ei.D(e)},C:function(e,t){var n=fc||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]=ci,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+Be(e)+`>; rel=preconnect`,typeof t==`string`){var c=He(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=ci,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],de(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}Ln(n)}}else ei.C(e,t)},L:function(e,t,n){var r=fc||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+`
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
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 oo=g(`$RC("`),so=g(`$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=
|
|
188
|
-
"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=
|
|
189
|
-
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),co=g(`$RR("`),lo=g(`","`),uo=g(`",`),fo=g(`"`),po=g(`)<\/script>`);g(`<template data-rci="" data-bid="`),g(`<template data-rri="" data-bid="`),g(`" data-sid="`),g(`" data-sty="`);var mo=g(`$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())};`),ho=g(`$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("`),go=g(`$RX("`),_o=g(`"`),vo=g(`,`),yo=g(`)<\/script>`);g(`<template data-rxi="" data-bid="`),g(`" data-dgst="`),g(`" data-msg="`),g(`" data-stck="`),g(`" data-cstck="`);var bo=/[<\u2028\u2029]/g,xo=/[&><\u2028\u2029]/g,So=g(` media="not all" data-precedence="`),Co=g(`" data-href="`),wo=g(`">`),To=g(`</style>`),Eo=!1,Do=!0,Oo=[],ko=g(` data-precedence="`),Ao=g(`" data-href="`),jo=g(` `),Mo=g(`">`),No=g(`</style>`);g(`<link rel="expect" href="#`),g(`" blocking="render"/>`);var Po=g(` id="`),Fo=g(`[`),Io=g(`,[`),Lo=g(`,`),Ro=g(`]`),zo=0,Bo=1,Vo=2,Ho=3,Uo=/[<>\r\n]/g,Wo=/["';,\r\n]/g,Go=Function.prototype.bind,Ko=Symbol.for(`react.client.reference`),qo={};Object.freeze(qo);var Jo={},Yo=null,Xo={},Zo={},Qo=new Set,$o=new Set,es=new Set,ts=new Set,ns=new Set,rs=new Set,is=new Set,as=new Set,os=new Set,ss={enqueueSetState:function(e,t,n){var r=e._reactInternals;r.queue===null?Qe(e,`setState`):(r.queue.push(t),n!=null&&Ze(n))},enqueueReplaceState:function(e,t,n){e=e._reactInternals,e.replace=!0,e.queue=[t],n!=null&&Ze(n)},enqueueForceUpdate:function(e,t){e._reactInternals.queue===null?Qe(e,`forceUpdate`):t!=null&&Ze(t)}},cs={id:1,overflow:``},ls=Math.clz32?Math.clz32:et,us=Math.log,ds=Math.LN2,fs=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`."),ps=null,ms=typeof Object.is==`function`?Object.is:it,hs=null,gs=null,_s=null,vs=null,ys=null,bs=null,xs=!1,Ss=!1,Cs=0,ws=0,Ts=-1,Es=0,Ds=null,Os=null,ks=0,As=!1,js,Ms={readContext:ut,use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return yt(e);if(e.$$typeof===Zn)return ut(e)}throw Error(`An unsupported type was passed to use(): `+String(e))},useContext:function(e){return js=`useContext`,at(),e._currentValue},useMemo:pt,useReducer:ft,useRef:function(e){hs=at(),bs=st();var t=bs.memoizedState;return t===null?(e={current:e},Object.seal(e),bs.memoizedState=e):t},useState:function(e){return js=`useState`,ft(dt,e)},useInsertionEffect:tt,useLayoutEffect:tt,useCallback:function(e,t){return pt(function(){return e},t)},useImperativeHandle:tt,useEffect:tt,useDebugValue:tt,useDeferredValue:function(e,t){return at(),t===void 0?e:t},useTransition:function(){return at(),[!1,gt]},useId:function(){var e=gs.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-ls(e)-1)).toString(32)+t;var n=Ns;if(n===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component.`);return t=Cs++,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 at(),[e,_t]},useActionState:vt,useFormState:vt,useHostTransitionStatus:function(){return at(),$r},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=or;return t},useCacheRefresh:function(){return bt},useEffectEvent:function(){return ht}},Ns=null,Ps=null,Fs={getCacheForType:function(){throw Error(`Not implemented.`)},cacheSignal:function(){throw Error(`Not implemented.`)},getOwner:function(){return Ps===null?null:Ps.componentStack}},Is=0,Ls,Rs,zs,Bs,Vs,Hs,Us;xt.__reactDisabledLog=!0;var Ws,Gs,Ks=!1,qs=new(typeof WeakMap==`function`?WeakMap:Map),Js={react_stack_bottom_frame:function(e,t,n){return e(t,n)}},Ys=Js.react_stack_bottom_frame.bind(Js),Xs={react_stack_bottom_frame:function(e){return e.render()}},Zs=Xs.react_stack_bottom_frame.bind(Xs),Qs={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},$s=Qs.react_stack_bottom_frame.bind(Qs),ec=0;if(typeof performance==`object`&&typeof performance.now==`function`)var tc=performance,nc=function(){return tc.now()};else{var rc=Date;nc=function(){return rc.now()}}var ic=4,ac=0,oc=1,sc=2,cc=3,lc=4,uc=5,dc=14,fc=null,pc={},mc={},hc={},gc={},_c=!1,vc=!1,yc=!1,bc=0,xc=!1;Hn(),Hn(),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=I(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=Nt(e,o,F(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),z(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){Rn(s,e)},cancel:function(e){s.destination=null,zn(s,e)}},{highWaterMark:0});e={postponed:Vn(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)zn(s,c.reason);else{var l=function(){zn(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}In(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=I(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=Mt(e,l,F(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),z(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){Rn(u,e)},cancel:function(e){u.destination=null,zn(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)zn(u,d.reason);else{var f=function(){zn(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}In(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=Pt(e,t,F(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){Rn(c,e)},cancel:function(e){c.destination=null,zn(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)zn(c,l.reason);else{var u=function(){zn(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}In(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Ft(e,t,F(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){Rn(a,e)},cancel:function(e){a.destination=null,zn(a,e)}},{highWaterMark:0});e={postponed:Vn(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)zn(a,o.reason);else{var s=function(){zn(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}In(a)})},e.version=`19.2.4`})()})),g=d(l((e=>{var t,n;process.env.NODE_ENV===`production`?(t=f(),n=p()):(t=m(),n=h()),e.version=t.version,e.renderToString=t.renderToString,e.renderToStaticMarkup=t.renderToStaticMarkup,e.renderToReadableStream=n.renderToReadableStream,e.resume=n.resume}))(),1),_=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=`
|
|
190
|
-
<style>
|
|
191
|
-
.boc-dark, .boc-light{ display: flex; }
|
|
192
|
-
[data-boc-left]{ display: none; }
|
|
193
|
-
[data-boc-right]{ height: 100%; position: relative; overflow:hidden; flex-grow: 1; }
|
|
194
|
-
[data-boc-content]{ height: 100%; width: 100%; }
|
|
195
|
-
@media screen and (max-width: 500px) {
|
|
196
|
-
.boc-dark, .boc-light{ flex-direction: column; }
|
|
197
|
-
[data-boc-left]{ order: 2; height: 50vh; }
|
|
198
|
-
[data-boc-right]{ order: 1; }
|
|
199
|
-
}
|
|
200
|
-
</style>
|
|
201
|
-
<div data-boc-left></div>
|
|
202
|
-
<div data-boc-right>
|
|
203
|
-
<div data-boc-content></div>
|
|
204
|
-
</div>`)}}),Object.defineProperty(this,`leftElement`,{get(){return e.querySelector(`[data-boc-left]`)}}),n.init(e,t)};_.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=_.mergeDeep(_._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=_._guid(),_._validateConfig(this.config)&&(this._vScroll={},this.config.ui||(this.ui=_.ui),this.config.editUI?this.editUI=this.config.editUI:this.editUI=new _.editUI,this.editUI.init(this),this.config.filterUI?this.filterUI=this.config.filterUI:this.filterUI=new _.filterUI,this.filterUI.init(this),this.manager=new _.manager(this),this._ai=new _._ai(this),this.config.searchUI?this.searchUI=this.config.searchUI:this.searchUI=new _.searchUI,this.config.aiUI?this.aiUI=this.config.aiUI:this.aiUI=new _.aiUI,this.config.orgScribeUI?this.orgScribeUI=this.config.orgScribeUI:this.orgScribeUI=new _.orgScribeUI,this.config.powerPointPreviewUI?this.powerPointPreviewUI=this.config.powerPointPreviewUI:this.powerPointPreviewUI=new _.exportUI(`pptx`),this.config.pdfPreviewUI?this.pdfPreviewUI=this.config.pdfPreviewUI:this.pdfPreviewUI=new _.exportUI(`pdf`),this.config.svgPreviewUI?this.svgPreviewUI=this.config.svgPreviewUI:this.svgPreviewUI=new _.exportUI(`svg`),this.config.pngPreviewUI?this.pngPreviewUI=this.config.pngPreviewUI:this.pngPreviewUI=new _.exportUI(`png`),this.config.nodeMenuUI?this.nodeMenuUI=this.config.nodeMenuUI:this.nodeMenuUI=new _.menuUI,this.nodeMenuUI.init(this,this.config.nodeMenu),this.config.nodeCircleMenuUI?this.nodeCircleMenuUI=this.config.nodeCircleMenuUI:this.nodeCircleMenuUI=new _.circleMenuUI,this.nodeCircleMenuUI.init(this,this.config.nodeCircleMenu),this.config.nodeContextMenuUI?this.nodeContextMenuUI=this.config.nodeContextMenuUI:this.nodeContextMenuUI=new _.menuUI,this.nodeContextMenuUI.init(this,this.config.nodeContextMenu),this.config.controlsUI?this.controlsUI=this.config.controlsUI:this.controlsUI=new _.controlsUI,this.config.toolbarUI?this.toolbarUI=this.config.toolbarUI:this.toolbarUI=new _.toolbarUI,this.config.notifierUI?this.notifierUI=this.config.notifierUI:this.notifierUI=new _.notifierUI,this.notifierUI.init(this),this.config.menuUI?this.menuUI=this.config.menuUI:this.menuUI=new _.menuUI,this.menuUI.init(this,this.config.menu),this.config.xScrollUI||(this.xScrollUI=new _.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,_.action.xScroll)})),this.config.yScrollUI||(this.yScrollUI=new _.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,_.action.xScroll)})),this.config.undoRedoUI?this.undoRedoUI=this.config.undoRedoUI:this.undoRedoUI=new _.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:{}},_._intersectionObserver(this.element,function(e){n.isVisible=e,_.events.publish(`visibility-change`,[n])!==!1&&_.LAZY_LOADING&&n.isVisible&&(n._loaded?n._draw(!1,_.action.update):(n._setInitialSizeIfNotSet(),n._draw(!1,_.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))}},_.prototype.load=function(e,t){var n=this;return this.config.nodes=e,this._draw(!1,_.action.init,void 0,function(){n.filterUI.update(),t&&t()}),this},_.prototype.loadXML=function(e,t){var n=_._xml2json(e);return this.load(n,t)},_.prototype.getXML=function(){return _._json2xml(this.config.nodes)},_.prototype.on=function(e,t){return _.events.on(e,t,this._event_id),this},_.prototype.removeListener=function(e,t){return _.events.remove(e,t,this._event_id)},_.prototype.draw=function(e,t,n){e??=_.action.update,this._draw(!1,e,t,n)},_.prototype._draw=function(e,t,n,r){var i=this;if(!(_.LAZY_LOADING&&!this.isVisible)){if(!_.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==_.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!=_.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:``};_.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};_.events.publish(`prerender`,[i,a]),o=a.content;var u=[];if(_.RENDER_LINKS_BEFORE_NODES)for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]];_.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(_.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=_.randomId();o+=`<clipPath id="treelist_${h}">
|
|
205
|
-
<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]}">
|
|
206
|
-
</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 v of f.treeList.pinnedIds){var y=i.getNode(v),b=i._get(v);o+=i.ui.node(y,b,e.animations,i.config,void 0,void 0,void 0,t,s,i,!0),o+=i.ui.expandCollapseBtn(i,y,b,i.config,i._layoutConfigs,t,s)}var{thumbHeight:x,thumbPosition:S,scrollBarDisplay:C}=_._treeListGetTumbPositionFromScrollTop(f);o+=`</g>
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<rect style="display: ${C}" data-treelist-scroll="${f.id}" class="boc-scroll" x="${f.x+f.w-f.padding[1]-_.TREELIST_SCROLLBAR_WIDTH}" y="${f.y+f.padding[0]}" width="${_.TREELIST_SCROLLBAR_WIDTH}" height="${f.h-f.padding[2]-f.padding[0]}"></rect>
|
|
210
|
-
<rect style="display: ${C}" data-treelist-thumb="${f.id}" class="boc-scroll-thumb" x="${f.x+f.w-f.padding[1]-_.TREELIST_SCROLLBAR_WIDTH}" y="${S}" width="${_.TREELIST_SCROLLBAR_WIDTH}" height="${x}"></rect>
|
|
211
|
-
|
|
212
|
-
</g>`}}for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]],p=i._get(f.id);f.isTreeListItem||(_.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(_.events.publish(`render`,[i,a]),o=a.content,e=a.res,o+=i.ui.lonely(i.config),t===_.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===_.action.centernode||t===_.action.insert||t===_.action.expand||t===_.action.collapse||t===_.action.update)&&(l=c),t===_.action.init&&c!=null&&(l=c),t===_.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]);_.animate(j[0],j[1],j[2],i.config.anim.duration,i.config.anim.func,function(){A||=(r&&r.call(i),_.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)})}t===_.action.centerNode?_.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),_.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===_.action.insert||t===_.action.expand||t===_.action.collapse||t===_.action.update||t===_.action.init)?_.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),_.events.publish(`redraw`,[i]),!0)}):j[0].length==0&&(A||=(r&&r.call(i),_.events.publish(`redraw`,[i]),!0)),i._initialized||(i._initialized=!0,i.filterUI.update(),i._ai.setContext(),_.events.publish(`init`,[i])),!i._loaded&&e&&e.nodes&&Object.keys(e.nodes).length&&(i._loaded=!0)}},function(e){_.events.publish(`ready`,[i,e])})}},_.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`))},_.prototype.width=function(){return this.element.offsetWidth},_.prototype.height=function(){return this.element.offsetHeight},_.prototype.getViewBox=function(){var e=this.getSvg();return _._getViewBox(e)},_.prototype.setViewBox=function(e){this.getSvg().setAttribute(`viewBox`,e.toString())},_.prototype.getScale=function(e){return e||=this.getViewBox(),_.getScale(e,this.width(),this.height(),this.config.scaleInitial,this.config.scaleMax,this.config.scaleMin)},_.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),_.events.publish(`redraw`,[this]),e},_.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`),v=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`),y=_.randomId();h.setAttribute(`id`,y);var b={ripple:_.t(r.templateName,r.min,this.getScale()).ripple,node:r};_.events.publish(`ripple`,[this,b]),g.setAttribute(`x`,b.ripple.rect?b.ripple.rect.x:0),g.setAttribute(`y`,b.ripple.rect?b.ripple.rect.y:0),g.setAttribute(`width`,b.ripple.rect?b.ripple.rect.width:r.w),g.setAttribute(`height`,b.ripple.rect?b.ripple.rect.height:r.h),g.setAttribute(`rx`,b.ripple.radius),g.setAttribute(`ry`,b.ripple.radius),v.setAttribute(`clip-path`,`url(#`+y+`)`),v.setAttribute(`cx`,o),v.setAttribute(`cy`,s),v.setAttribute(`r`,0),v.setAttribute(`fill`,b.ripple.color),v.setAttribute(`class`,`boc-ripple`),h.appendChild(g),m.appendChild(h),m.appendChild(v),i.appendChild(m),_.animate(v,{r:0,opacity:1},{r:p,opacity:0},500,_.anim.outPow,function(){i.removeChild(m)})}}},_.prototype.centerOutNodes=function(e){if(this._centerInNodes){var t=JSON.parse(this._centerInNodes);this._centerInNodes=null;var n=this;this._centerInNodesTimeout=_.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:t},300,this.config.anim.func,function(){n.draw(_.action.update,null,function(){e&&e.call(n)})})}},_.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,v=n,y=n[2],b=n[3];n[2]/=f/g,n[3]/=f/g,n[0]=v[0]-(n[2]-y)/(100/p[0]),n[1]=v[1]-(n[3]-b)/(100/p[1]),n[0]=a-(m/f-c)/2,n[1]=r-(h/f-l)/2;var x=this;this._centerInNodesTimeout&&=(clearTimeout(this._centerInNodesTimeout),null),this._centerInNodesTimeout=_.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:n},300,this.config.anim.func,function(){x.draw(_.action.update,null,function(){t&&t.call(x)})})},_.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,_.action.centerNode,{id:e,options:c},n)},_.prototype.fit=function(e){this.config.scaleInitial=_.match.boundary,this._draw(!0,_.action.init,{method:`fit`},e)},_.prototype.fitIfOutside=function(e){this.config.scaleInitial=_.match.boundaryIfOutside,this._draw(!0,_.action.init,{method:`fit`},e)},_.prototype.toggleFullScreen=function(){var e=document.querySelector(`[`+_.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=_.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=_.toolbarUI.closeFullScreenIcon))},_.prototype.getNode=function(e){return this.nodes[e]},_.prototype.setLayout=function(e,t){t||=`base`,this._layoutConfigs[t].layout=e,t==`base`&&(this.config.layout=e),this._draw(!1,_.action.update)},_.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,_.action.update,void 0,function(){r.getScale(),_._moveToBoundaryArea(r.getSvg(),r.getViewBox(),r.response.boundary,function(){r._draw(!0,_.action.pan),n&&n()})})},_.prototype.search=function(e,t,n){return _.isNEU(t)&&(t=this.searchUI._searchFields),_.isNEU(n)&&(n=t),_._search.search(this.config.nodes,e,t,n,this.config.searchDisplayField,this.config.searchFieldsWeight,this.searchUI._searchFieldsAbbreviation)},_.prototype._hideBeforeAnimation=function(e){if(this._hideBeforeAnimationCompleted!=1&&!(e&&e<_.ANIM_THRESHOLD)){var t=this.element.getElementsByTagName(`text`);if(t.length>_.TEXT_THRESHOLD)for(var n=0;n<t.length;n++)t[n].style.display=`none`;var r=this.element.getElementsByTagName(`image`);if(r.length>_.IMAGES_THRESHOLD)for(var n=0;n<r.length;n++)r[n].style.display=`none`;var i=this.element.querySelectorAll(`[`+_.attr.link_id+`]`);if(i.length>_.LINKS_THRESHOLD)for(var n=0;n<i.length;n++)i[n].style.display=`none`;var a=this.element.querySelectorAll(`[`+_.attr.control_expcoll_id+`]`);if(a.length>_.BUTTONS_THRESHOLD)for(var n=0;n<a.length;n++)a[n].style.display=`none`;var o=this.element.querySelectorAll(`[`+_.attr.control_up_id+`]`);if(o.length>_.BUTTONS_THRESHOLD)for(var n=0;n<o.length;n++)o[n].style.display=`none`;this._hideBeforeAnimationCompleted=!0}},_.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(`[`+_.attr.link_id+`]`),t=0;t<r.length;t++)r[t].style.display=``;for(var i=this.element.querySelectorAll(`[`+_.attr.control_expcoll_id+`]`),t=0;t<i.length;t++)i[t].style.display=``;for(var a=this.element.querySelectorAll(`[`+_.attr.control_up_id+`]`),t=0;t<a.length;t++)a[t].style.display=``;this._hideBeforeAnimationCompleted=!1},_.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},_.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},_.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``},_.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}},_.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,v=p/h,y=g>v?v:g,b=Math.ceil(f/y),x=Math.ceil(p/y),m=0,h=0;if(b-this.config.padding*2>=o-c)m=(o+c)/2-b/2;else switch(m=r.x-b/2+_.manager._getNodeWidth(r,this.config)/2,this.config.orientation){case _.orientation.right:case _.orientation.right_top:m=-(b/2-(c-o)/2),m<this.config.padding-b&&(m=this.config.padding-b);break;case _.orientation.left:case _.orientation.bottom_left:case _.orientation.top_left:case _.orientation.left_top:m=-(b/2-(o-c)/2),m>-this.config.padding&&(m=-this.config.padding);break}if(x-this.config.padding*2>=s-l)h=(s+l)/2-x/2;else switch(h=-(x/2-(s-l)/2),h>-this.config.padding&&(h=-this.config.padding),this.config.orientation){case _.orientation.bottom:case _.orientation.bottom_left:h=-(x/2-(l-s)/2),h<this.config.padding-x&&(h=this.config.padding-x);break;case _.orientation.left:case _.orientation.right:h=r.y-x/2+_.manager._getNodeWidth(r,this.config)/2;break}var S=[m,h,b,x];a[0]!==S[0]||a[1]!==S[1]?_.animate(i,{viewBox:a},{viewBox:S},this.config.anim.duration,this.config.anim.func,function(){n.draw(_.action.update,void 0,t)}):t&&t()}},_.prototype._nodeHasHiddenParent=function(e){return!e.parent&&!_.isNEU(e.pid)&&this.getNode(e.pid)},_.prototype.destroy=function(){this._initCalled=!1,this._resizeObserver.unobserve(this.element),_.events.removeForEventId(this._event_id),this.element.innerHTML=null},_.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)},_.prototype._canUpdateLink=_.prototype.canUpdateLink,_.prototype.updateNode=function(e,t,n,r){if(e){var i=this,a=this.get(e.id);if(n===!0&&_.events.publish(`update`,[this,a,e])===!1)return!1;this.update(e),this._ai.setContext(),_.events.publish(`updated`,[this]),this.filterUI.update();var o=this.getNode(e.id),s=o.pid;s??=o.stpid,this._draw(!1,_.action.update,{id:s},function(){r||i.ripple(e.id),t&&t()})}},_.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},_.prototype.removeNode=function(e,t,n){if(!this.canRemove(e))return!1;var r=this._getNewPidsAndStpidsForIds(e);return n===!0&&_.events.publish(`remove`,[this,e,r])===!1?!1:(this.remove(e),this._ai.setContext(),_.events.publish(`updated`,[this]),this.filterUI.update(),this._draw(!1,_.action.update,null,function(){t&&t()}),!0)},_.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},_.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}},_.prototype.addNode=function(e,t,n){var r=this;if(n===!0&&_.events.publish(`add`,[this,e])===!1)return!1;this.add(e),this._ai.setContext(),_.events.publish(`updated`,[this]),this.filterUI.update(),r._draw(!1,_.action.insert,{id:e.pid,insertedNodeId:e.id},function(){r.ripple(e.id),t&&t()})},_.prototype.add=function(e){if(e.id??console.error(`Call addNode without id`),this._putInUndoStack(),this.clearRedo(),this.config.movable&&!_.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},_.prototype.replaceIds=function(e,t){this._replaceIds(e),this._draw(!1,_.action.update,void 0,t)},_.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++)_.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(!_.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(!_.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(!_.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)},_.prototype._get=function(e){var t=this.__get(e);if(t)return t;if((this.config.groupDottedLines.length||this.config.dottedLines.length)&&!_.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},_.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},_.prototype.get=function(e){var t=this._get(e);return t==null?null:JSON.parse(JSON.stringify(t))},_.prototype.canRemove=function(e){var t=this.getNode(e);return!(!t||t.hasPartners||t.hasAssistants)},_===void 0&&(_={}),_.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=_._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 v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`r`,v);break;case`x1`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x1`,v);break;case`x2`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x2`,v);break;case`y1`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y1`,v);break;case`y2`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y2`,v);break;case`scrolltop`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTop=v;break;case`rotate3d`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].style.transform=`rotate3d(`+x.toString()+`deg)`}break;case`transform`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].hasAttribute(`transform`)?e[f].setAttribute(`transform`,`matrix(`+x.toString()+`)`):e[f].style.transform=`matrix(`+x.toString()+`)`}break;case`viewbox`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].setAttribute(`viewBox`,x.toString())}break;case`margin`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];for(var C=``,S=0;S<x.length;S++)C+=parseInt(x[S])+`px `;e[f]&&e[f].style&&(e[f].style[p]=C)}break;case`scrolly`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTo(0,v);break;default:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f]&&e[f].style&&(e[f].style[p]=v+m);break}}if(o){var v=i((l*s-s)/r);o(v)}l+=c,l>u+1&&(clearInterval(d),a&&a(e))}return d=setInterval(f,s),d},_.anim={},_.anim.inPow=function(e){return e<0?0:e>1?1:e**2},_.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)},_.anim.inOutPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;if(e*=2,e<1)return _.anim.inPow(e,t)/2;var n=t%2==0?-1:1;return n/2*((e-2)**t+n*2)},_.anim.inSin=function(e){return e<0?0:e>1?1:-Math.cos(Math.PI/2*e)+1},_.anim.outSin=function(e){return e<0?0:e>1?1:Math.sin(Math.PI/2*e)},_.anim.inOutSin=function(e){return e<0?0:e>1?1:-.5*(Math.cos(Math.PI*e)-1)},_.anim.inExp=function(e){return e<0?0:e>1?1:2**(10*(e-1))},_.anim.outExp=function(e){return e<0?0:e>1?1:-(2**(-10*e))+1},_.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)},_.anim.inCirc=function(e){return e<0?0:e>1?1:-(Math.sqrt(1-e*e)-1)},_.anim.outCirc=function(e){return e<0?0:e>1?1:Math.sqrt(1-(e-1)*(e-1))},_.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)},_.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)},_.anim.inBack=function(e){return e<0?0:e>1?1:e*e*(2.70158*e-1.70158)},_.anim.outBack=function(e){return e<0?0:e>1?1:(e-1)*(e-1)*(2.70158*(e-1)+1.70158)+1},_.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)},_.anim.impulse=function(e){var t=2*e;return t*Math.exp(1-t)},_.anim.expPulse=function(e){return Math.exp(-2*e**2)},_===void 0&&(_={}),_.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!=_.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])})}},_===void 0&&(_={}),_.VERSION=`9.2.29`,_.orientation={},_.orientation.top=0,_.orientation.bottom=1,_.orientation.right=2,_.orientation.left=3,_.orientation.top_left=4,_.orientation.bottom_left=5,_.orientation.right_top=6,_.orientation.left_top=7,_.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`},_.align={},_.align.center=_.CENTER=8,_.align.orientation=_.ORIENTATION=9,_.attr={},_.attr.l=`data-l`,_.attr.id=`data-id`,_.attr.sl=`data-sl`,_.attr.lbl=`data-lbl`,_.attr.val=`data-val`,_.attr.tlbr=`data-tlbr`,_.attr.item=`data-item`,_.attr.layout=`data-layout`,_.attr.node_id=`data-n-id`,_.attr.link_id=`data-l-id`,_.attr.field_name=`data-f-name`,_.attr.c_link_to=`data-c-l-to`,_.attr.c_link_from=`data-c-l-from`,_.attr.s_link_to=`data-s-l-to`,_.attr.s_link_from=`data-s-l-from`,_.attr.control_add=`data-ctrl-add`,_.attr.control_expcoll_id=`data-ctrl-ec-id`,_.attr.control_up_id=`data-ctrl-up-id`,_.attr.control_export_menu=`data-ctrl-menu`,_.attr.control_node_menu_id=`data-ctrl-n-menu-id`,_.attr.control_node_circle_menu_id=`data-ctrl-n-c-menu-id`,_.attr.control_node_circle_menu_name=`data-ctrl-n-c-menu-name`,_.attr.control_node_circle_menu_wrraper_id=`data-ctrl-n-c-menu-wrapper-id`,_.attr.width=`data-width`,_.attr.text_overflow=`data-text-overflow`,_.ID=`id`,_.PID=`pid`,_.STPID=`stpid`,_.TAGS=`tags`,_.NODES=`nodes`,_.ELASTIC=`elastic`,_.ASSISTANT=`Assistant`,_.action={},_.action.expand=0,_.action.collapse=1,_.action.maximize=101,_.action.minimize=102,_.action.expandCollapse=501,_.action.edit=1,_.action.zoom=2,_.action.ctrlZoom=22,_.action.scroll=41,_.action.xScroll=3,_.action.yScroll=4,_.action.none=5,_.action.init=6,_.action.update=7,_.action.move=70,_.action.pan=8,_.action.centerNode=9,_.action.resize=10,_.action.insert=11,_.action.insertfirst=12,_.action.details=13,_.action.exporting=14,_.none=400001,_.scroll={},_.scroll.visible=!0,_.scroll.smooth=12,_.scroll.speed=120,_.scroll.safari={smooth:12,speed:250},_.match={},_.match.height=100001,_.match.width=100002,_.match.boundary=100003,_.match.boundaryIfOutside=100004,_.match.none=1,_.movable={},_.movable.node=`node`,_.movable.tree=`tree`,_.movable.detachTree=`detachTree`,_.layout={},_.layout.normal=_.normal=0,_.layout.mixed=_.mixed=1,_.layout.tree=_.tree=2,_.layout.treeLeftOffset=_.treeLeftOffset=3,_.layout.treeRightOffset=_.treeRightOffset=4,_.layout.treeLeft=5,_.layout.treeRight=6,_.layout.grid=-1,_.layout.treeList=-2,_.nodeOpenTag=`<g `+_.attr.node_id+`="{id}" style="opacity: {opacity}" transform="matrix(1,0,0,1,{x},{y})" class="{class}" `+_.attr.sl+`="{sl}" `+_.attr.l+`="{level}" {lcn}>`,_.linkOpenTag=`<g `+_.attr.link_id+`="[{id}][{child-id}]" class="{class}">`,_.expcollOpenTag=`<g `+_.attr.control_expcoll_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,_.upOpenTag=`<g `+_.attr.control_up_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,_.linkFieldsOpenTag=`<g transform="matrix(1,0,0,1,{x},{y}) rotate({rotate})">`,_.grCloseTag=`</g>`,_.A5={width:420,height:595},_.A4={width:595,height:842},_.A3={width:842,height:1191},_.A2={width:1191,height:1684},_.A1={width:1684,height:2384},_.Letter={width:612,height:791},_.Legal={width:612,height:1009},_.Legal={width:612,height:1009},_.Widescreen={width:720,height:1280},_.Standard={width:720,height:960},_.COLLAPSE_PARENT_NEIGHBORS=1,_.COLLAPSE_SUB_CHILDRENS=2,_.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED=3,_.TEXT_THRESHOLD=4e3,_.IMAGES_THRESHOLD=1e3,_.LINKS_THRESHOLD=2e3,_.BUTTONS_THRESHOLD=700,_.ANIM_THRESHOLD=500,_.IT_IS_LONELY_HERE=`<g transform="translate(-100, 0)" style="cursor:pointer;" `+_.attr.control_add+`="control-add"><text fill="#039be5">{link}</text></g>`,_.RES={},_.IT_IS_LONELY_HERE_LINK=_.RES.IT_IS_LONELY_HERE_LINK=`It's lonely here, add your first node`,_.FIRE_DRAG_NOT_CLICK_IF_MOVE=3,_.STRING_TAGS=!1,_.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>`,_.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>`,_.SEARCH_PLACEHOLDER=`Search... type ? to get help.`,_.SEARCH_HELP_SYMBOL=`?`,_.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE=!1,_.SEARCH_RESULT_LIMIT=10,_.IMPORT_MESSAGE=`Choose the columns (fields) in your data file that contain the required information.`,_.FIXED_POSITION_ON_CLICK=!1,_.RENDER_LINKS_BEFORE_NODES=!1,_.RENDER_CLINKS_BEFORE_NODES=!1,_.MIXED_LAYOUT_ALL_NODES=!1,_.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN=!1,_.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN=1,_.LINK_ROUNDED_CORNERS=5,_.MOVE_STEP=5,_.CLINK_CURVE=1,_.MAX_DEPTH=200,_.SCALE_FACTOR=1.44,_.LAZY_LOADING_FACTOR=`auto`,_.LAZY_LOADING=!0,_.ARRAY_FIELDS=[`tags`],_.CSV_DELIMITER=`,`,_.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>`,_.ESCAPE_HTML=!1,_.VERTICAL_CHILDREN_ASSISTANT=!1,_.EXPORT_PAGES_CUT_NODES=!1,_.RESET_MOVABLE_ONEXPANDCOLLAPSE=!1,_.FILTER_ALPHABETICALLY=!0,_.SERVER_PREFIX=`.azurewebsites.net/api/you-see-this-request-because-it-is-trial-version-of-orgchartjs`,_.FUNC_URL_NAME=`func-url-orgchartjs`,_.MINIMUM_SYMBOLS_IN_SEARCH_INPUT=1,_.AI_SYSTEM_MESSAGES=[],_.ORGSCRIBE_OFFSET=` `,_.TREELIST_WHEEL_STEP=`auto`,_.TREELIST_SCROLLBAR_WIDTH=10,_.CONVERT_IMAGES_TO_BASE64_BEFORE_EXPORT=!1,_.REQUEST_CUSTOM_HEADERS={},_.SLINK_GAP=7,_._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 _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.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)},_._addPoint=function(e,t,n,r,i){switch(n.orientation){case _.orientation.top:case _.orientation.top_left:return _._addPointTop(e,t,n,r,i);case _.orientation.bottom:case _.orientation.bottom_left:return _._addPointBottom(e,t,n,r,i);case _.orientation.left:case _.orientation.left_top:return _._addPointLeft(e,t,n,r,i);case _.orientation.right:case _.orientation.right_top:return _._addPointRight(e,t,n,r,i)}},_._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},_._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},_._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},_._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},_._addConnectorLines=function(e,t){_._addConnectorLine(e,{x1:t.xa,y1:t.ya,x2:t.xb,y2:t.yb}),_._addConnectorLine(e,{x1:t.xb,y1:t.yb,x2:t.xc,y2:t.yc}),_._addConnectorLine(e,{x1:t.xc,y1:t.yc,x2:t.xd,y2:t.yd})},_._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})}},_._addLineToPath=function(e,t,n){return _._avoidOverlapping(t,n),e.push([n.x1,n.y1]),e.push([n.x2,n.y2]),_._addConnectorLine(t,n),n},_._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)}},_._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==_.orientation.top||r==_.orientation.top_left?n==`left`?o[0]-=_.SLINK_GAP:n==`right`&&(o[0]+=_.SLINK_GAP):(r==_.orientation.bottom||r==_.orientation.bottom_left)&&(n==`right`?o[0]+=_.SLINK_GAP:n==`left`&&(o[0]-=_.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==_.orientation.top||r==_.orientation.top_left?o[1]-=_.SLINK_GAP:(r==_.orientation.bottom||r==_.orientation.bottom_left)&&(o[1]+=_.SLINK_GAP),c=!1);break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}u&&_._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},_._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==_.orientation.top||n==_.orientation.top_left?a[1]-=_.SLINK_GAP:(n==_.orientation.bottom||n==_.orientation.bottom_left)&&(a[1]+=_.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.y[a[1]]}i[1]=a[1]}o||_._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},_._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==_.orientation.left||r==_.orientation.left_top?n==`top`?o[1]-=_.SLINK_GAP:n==`bottom`&&(o[1]+=_.SLINK_GAP):(r==_.orientation.right||r==_.orientation.right_top)&&(n==`bottom`?o[1]+=_.SLINK_GAP:n==`top`&&(o[1]-=_.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==_.orientation.left||r==_.orientation.left_top?o[0]-=_.SLINK_GAP:(r==_.orientation.right||r==_.orientation.right_top)&&(o[0]+=_.SLINK_GAP),c=!1);break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}u&&_._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},_._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==_.orientation.left||n==_.orientation.left_top?a[0]-=_.SLINK_GAP:(n==_.orientation.right||n==_.orientation.right_top)&&(a[0]+=_.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.x[a[0]]}i[0]=a[0]}o||_._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},_.prototype.getSvg=function(){return this.element.querySelector(`svg`)},_.prototype.getPointerElement=function(){return this.element.querySelector(`g[data-pointer]`)},_.prototype.getNodeElement=function(e){return this.element.querySelector(`[`+_.attr.node_id+`='`+e+`']`)},_.prototype.getMenuButton=function(){return this.element.querySelector(`[`+_.attr.control_export_menu+`]`)},_.notifierUI=function(){},_.notifierUI.prototype.init=function(e){this.obj=e},_.notifierUI.prototype.show=function(e,t){if(e==null)return!1;e==1&&(e=_.MAX_NODES_MESS,t=`#FFCA28`),e==2&&(e=_.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`,_.animate(n,{opacity:0,width:10},{opacity:1,width:a},this.obj.config.anim.duration,this.obj.config.anim.func),!0},_===void 0&&(_={}),_.icon={},_.icon.png_export=_.icon.png_preview=_.icon.pngpreview=_.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}">
|
|
213
|
-
<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"/>
|
|
214
|
-
<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"/>
|
|
215
|
-
</svg>`},_.icon.pdf_export=_.icon.pdf_preview=_.icon.pdfpreview=_.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}">
|
|
216
|
-
<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"/>
|
|
217
|
-
<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"/>
|
|
218
|
-
<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"/>
|
|
219
|
-
</svg>`},_.icon.svg_export=_.icon.svg_preview=_.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}">
|
|
220
|
-
<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" />
|
|
221
|
-
</svg>`},_.icon.csv_export=_.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}">'
|
|
222
|
-
<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" />'
|
|
223
|
-
</svg>`},_.icon.json_export=_.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}">
|
|
224
|
-
<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"/>
|
|
225
|
-
<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"/>
|
|
226
|
-
<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"/>
|
|
227
|
-
<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"/>
|
|
228
|
-
<rect fill="${n}" id="_Transparent_Rectangle_" data-name="<Transparent Rectangle>" style="fill: none;" width="32" height="32"/>'
|
|
229
|
-
</svg>`},_.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}">
|
|
230
|
-
<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"/>
|
|
231
|
-
</svg>`},_.icon.pp_export=_.icon.pp_preview=_.icon.pppreview=_.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}">
|
|
232
|
-
<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"/>
|
|
233
|
-
</svg>`},_.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}">
|
|
234
|
-
<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" />'
|
|
235
|
-
</svg>`},_.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}">
|
|
236
|
-
<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"/>
|
|
237
|
-
<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"/>
|
|
238
|
-
<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"/>
|
|
239
|
-
<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"/>
|
|
240
|
-
<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"/>
|
|
241
|
-
</svg>`},_.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}">
|
|
242
|
-
<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"/>
|
|
243
|
-
<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"/>
|
|
244
|
-
</svg>`},_.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}">
|
|
245
|
-
<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" />
|
|
246
|
-
<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" />
|
|
247
|
-
<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" />
|
|
248
|
-
</svg>`},_.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}">
|
|
249
|
-
<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" />
|
|
250
|
-
<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" />
|
|
251
|
-
<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" />
|
|
252
|
-
</svg>`},_.icon.xml_export=_.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}">
|
|
253
|
-
<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"/>
|
|
254
|
-
</svg>`},_.icon.visio_export=_.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}">
|
|
255
|
-
<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"/>
|
|
256
|
-
</svg>`},_.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}">
|
|
257
|
-
<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" />
|
|
258
|
-
<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" />
|
|
259
|
-
</svg>`},_.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}">
|
|
260
|
-
<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"/>
|
|
261
|
-
<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"/>
|
|
262
|
-
<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"/>
|
|
263
|
-
<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"/>
|
|
264
|
-
</svg>`},_.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}">
|
|
265
|
-
<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"/>
|
|
266
|
-
<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"/>
|
|
267
|
-
<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 "/>
|
|
268
|
-
<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"/>
|
|
269
|
-
</svg>`},_.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">
|
|
270
|
-
<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
|
|
271
|
-
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
|
|
272
|
-
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
|
|
273
|
-
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
|
|
274
|
-
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
|
|
275
|
-
C496,372.371,455.629,332,406,332z"/>
|
|
276
|
-
</svg>`},_.icon.user=function(e,t,n,r,i){return _.isNEU(r)&&(r=0),_.isNEU(i)&&(i=0),`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
|
|
277
|
-
<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"/>
|
|
278
|
-
<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"/>
|
|
279
|
-
</svg>`},_.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">
|
|
280
|
-
<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"/>
|
|
281
|
-
</svg>`},_.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">
|
|
282
|
-
<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" />
|
|
283
|
-
<rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
|
|
284
|
-
</svg>`},_.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" >
|
|
285
|
-
<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"/>
|
|
286
|
-
<rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
|
|
287
|
-
</svg>`},_.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" >
|
|
288
|
-
<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" />
|
|
289
|
-
</svg>`},_.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">
|
|
290
|
-
<line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
291
|
-
<line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
292
|
-
</svg>`},_.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">
|
|
293
|
-
<line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
294
|
-
<line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
|
|
295
|
-
</svg>`},_.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">
|
|
296
|
-
<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 "/>
|
|
297
|
-
</svg>`},_.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">
|
|
298
|
-
<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>
|
|
299
|
-
</svg>`},_.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">
|
|
300
|
-
<rect width="48" height="48" fill="${n}" fill-opacity="0.01"/>
|
|
301
|
-
<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"/>
|
|
302
|
-
<rect x="24" y="24" width="20" height="16" rx="2" fill="none" stroke="${n}" stroke-width="4" stroke-linejoin="round"/>
|
|
303
|
-
</svg>`},_.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" >
|
|
304
|
-
<g sketch:type="MSLayerGroup" transform="translate(-362.000000, -1037.000000)" fill="${n}">
|
|
305
|
-
<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>
|
|
306
|
-
</g>
|
|
307
|
-
</svg>`},_.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" >
|
|
308
|
-
<g id="Icon-Set-Filled" sketch:type="MSLayerGroup" transform="translate(-414.000000, -1049.000000)" fill="${n}">
|
|
309
|
-
<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>
|
|
310
|
-
</g>
|
|
311
|
-
</svg>`},_.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">
|
|
312
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
313
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
314
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
315
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
316
|
-
<line stroke="${n}" x1="32" x2="88" y1="35" y2="35" stroke-width="1"></line>
|
|
317
|
-
<line stroke="${n}" x1="32" x2="32" y1="35" y2="41" stroke-width="1"></line>
|
|
318
|
-
<line stroke="${n}" x1="88" x2="88" y1="35" y2="41" stroke-width="1"></line>
|
|
319
|
-
</svg>`},_.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">
|
|
320
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
321
|
-
<rect fill="${n}" x="40" y="41" width="50" height="27"></rect>
|
|
322
|
-
<rect fill="${n}" x="40" y="73" width="50" height="27"></rect>
|
|
323
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
324
|
-
<line stroke="${n}" x1="60" x2="35" y1="35" y2="35" stroke-width="1"></line>
|
|
325
|
-
<line stroke="${n}" x1="35" x2="35" y1="35" y2="86" stroke-width="1"></line>
|
|
326
|
-
<line stroke="${n}" x1="35" x2="40" y1="86" y2="86" stroke-width="1"></line>
|
|
327
|
-
<line stroke="${n}" x1="35" x2="40" y1="54" y2="54" stroke-width="1"></line>
|
|
328
|
-
</svg>`},_.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">
|
|
329
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
330
|
-
<rect fill="${n}" x="30" y="41" width="50" height="27"></rect>
|
|
331
|
-
<rect fill="${n}" x="30" y="73" width="50" height="27"></rect>
|
|
332
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="35" stroke-width="1"></line>
|
|
333
|
-
<line stroke="${n}" x1="60" x2="85" y1="35" y2="35" stroke-width="1"></line>
|
|
334
|
-
<line stroke="${n}" x1="85" x2="85" y1="35" y2="86" stroke-width="1"></line>
|
|
335
|
-
<line stroke="${n}" x1="80" x2="85" y1="86" y2="86" stroke-width="1"></line>
|
|
336
|
-
<line stroke="${n}" x1="80" x2="85" y1="54" y2="54" stroke-width="1"></line>
|
|
337
|
-
</svg>`},_.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">
|
|
338
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
339
|
-
<rect fill="${n}" x="35" y="41" width="50" height="27"></rect>
|
|
340
|
-
<rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
|
|
341
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="41" stroke-width="1"></line>
|
|
342
|
-
<line stroke="${n}" x1="60" x2="60" y1="68" y2="73" stroke-width="1"></line>
|
|
343
|
-
</svg>`},_.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">
|
|
344
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
345
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
346
|
-
<rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
|
|
347
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
348
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="73" stroke-width="1"></line>
|
|
349
|
-
<line stroke="${n}" x1="57" x2="63" y1="54" y2="54" stroke-width="1"></line>
|
|
350
|
-
</svg>`},_.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">
|
|
351
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
352
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
353
|
-
<rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
|
|
354
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
355
|
-
<rect fill="${n}" x="63" y="73" width="50" height="27"></rect>
|
|
356
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="71" stroke-width="1"></line>
|
|
357
|
-
<line stroke="${n}" x1="32" x2="88" y1="39" y2="39" stroke-width="1"></line>
|
|
358
|
-
<line stroke="${n}" x1="32" x2="88" y1="71" y2="71" stroke-width="1"></line>
|
|
359
|
-
<line stroke="${n}" x1="32" x2="32" y1="71" y2="73" stroke-width="1"></line>
|
|
360
|
-
<line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
|
|
361
|
-
<line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
|
|
362
|
-
<line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
|
|
363
|
-
</svg>`},_.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">
|
|
364
|
-
<rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
|
|
365
|
-
<rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
|
|
366
|
-
<rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
|
|
367
|
-
<rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
|
|
368
|
-
<rect fill="${n}" x="63" y="73" width="50" height="27"></rect>
|
|
369
|
-
<line stroke="${n}" x1="60" x2="60" y1="27" y2="71" stroke-width="1"></line>
|
|
370
|
-
<line stroke="${n}" x1="32" x2="88" y1="39" y2="39" stroke-width="1"></line>
|
|
371
|
-
<line stroke="${n}" x1="32" x2="88" y1="71" y2="71" stroke-width="1"></line>
|
|
372
|
-
<line stroke="${n}" x1="32" x2="32" y1="71" y2="73" stroke-width="1"></line>
|
|
373
|
-
<line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
|
|
374
|
-
<line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
|
|
375
|
-
<line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
|
|
376
|
-
</svg>`},_.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" >
|
|
377
|
-
<path d="M8 3V0H6V3H8Z" fill="${n}"/>
|
|
378
|
-
<path d="M0.792893 2.20711L3.29289 4.70711L4.70711 3.29289L2.20711 0.792893L0.792893 2.20711Z" fill="${n}"/>
|
|
379
|
-
<path d="M6 5L5 6.00001L8 15H10L10.7172 12.1314L14.2929 15.7071L15.7071 14.2929L12.1314 10.7172L15 10V8L6 5Z" fill="${n}"/>
|
|
380
|
-
<path d="M0 6H3V8H0V6Z" fill="${n}"/>
|
|
381
|
-
</svg>`},_===void 0&&(_={}),_.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--)(!_.isNEU(r)&&!_.isNEU(n)&&e[t][a].event_id==r&&e[t][a].listener==n||!_.isNEU(r)&&_.isNEU(n)&&e[t][a].event_id==r||_.isNEU(r)&&!_.isNEU(n)&&e[t][a].listener==n||_.isNEU(r)&&_.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(_.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}}}}})(),_.prototype.expand=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,_.action.expand,r,n)},_.prototype.collapse=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,_.action.collapse,r,n)},_.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,_.action.collapse,i,r)},_.prototype.changeRoots=function(e,t,n){this.config.roots=t;var r={id:e,changeRoots:t};this._draw(!1,_.action.update,r,n)},_.prototype._resetMovableNodes=function(){if(_.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(),_.events.publish(`updated`,[this]))}},_.prototype.maximize=function(e,t,n,r){var i=this,a={id:e,options:{}};_.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,_.action.maximize,a,function(){i.ripple(e),r&&r()})},_.prototype.minimize=function(e,t){var n=this,r={id:e};_.isNEU(r.id)&&(r.id=this.roots[0].id,r.all=!0),this._draw(!1,_.action.minimize,r,function(){n.ripple(e),t&&t()})},_.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=_.events.publish(`expcollclick`,[this,!1,e,n]);if(r===!1)return!1;this.expand(e,n,!1)}else{var r=_.events.publish(`expcollclick`,[this,!0,e,t.childrenIds]);if(r===!1)return!1;this.collapse(e,t.childrenIds,!1)}},_.prototype._upHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this._upHandlerCreateArgs(e);if(_.events.publish(`up-click`,[this,t])===!1)return!1;this.changeRoots(t.id,t.roots,!1)},_.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}),_.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(_.attr.control_node_menu_id)&&!i.hasAttribute(_.attr.control_node_circle_menu_id);){if(i.hasAttribute){var a=null;i.hasAttribute(_.attr.node_id)?a=this.getNode(i.getAttribute(_.attr.node_id)):i.hasAttribute(_.attr.control_expcoll_id)?a=this.getNode(i.getAttribute(_.attr.control_expcoll_id)):(i.hasAttribute(_.attr.control_node_menu_id)||i.hasAttribute(_.attr.control_node_menu_id))&&(a=this.getNode(i.getAttribute(_.attr.control_node_menu_id))),r||=_._getScrollableTreeListNodeInTouchEnabledDevice(a)}if(i.hasAttribute(_.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(_.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)},_.prototype._globalContextHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(_.attr.node_id)){var r=n.getAttribute(_.attr.node_id),i=this.getNode(r);this._nodeContextHandler(i.id,t);return}n=n.parentNode}},_.prototype._nodeContextHandler=function(e,t){t.preventDefault(),_.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)},_.prototype._globalDbClickHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(_.attr.node_id)){var r=n.getAttribute(_.attr.node_id),i=this.getNode(r);this._nodeDbClickHandler(i.id,t);return}n=n.parentNode}},_.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)},_.prototype.__mouseScrollHandler=function(e,t){if(t.ctrlKey){if(this.config.mouseScrool==_.action.zoom)return}else if(this.config.mouseScrool==_.action.ctrlZoom||this.config.mouseScrool!=_.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=_._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=_._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()}},_.prototype._nodeCircleNodeMenuItemMouseDownHandler=function(e,t,n,r){var i=t.parentNode.getAttribute(_.attr.control_node_circle_menu_wrraper_id),a=t.getAttribute(_.attr.control_node_circle_menu_name),o=this.nodeCircleMenuUI._menu[a];if(!o.draggable){this._clickHandler(e,n);return}var s=this,c=_._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(_.attr.control_node_circle_menu_wrraper_id);)e=e.parentNode;if(!e){console.error(`cannot find parent`+_.attr.control_node_circle_menu_wrraper_id);return}var t=_._getTransform(e);return{x:t[4],y:t[5]}},g=t.cloneNode(!0);p.insertBefore(g,p.firstChild);var v=_._getTransform(g),y=v[4],b=v[5],x=h(t);g.setAttribute(`transform`,`matrix(1,0,0,1,`+(y+x.x)+`,`+(b+x.y)+`)`),g.style.opacity=.7;var S=function(e,t){if(e!=null){t.classList.remove(`boc-drag-over`);for(var n=_.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=_._getClientXY(e),r=e.target;_.isMobile()&&(r=document.elementFromPoint(n.x,n.y)),n.x+=x.x*u,n.y+=x.y*u;var i=_._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=v[4],h=v[5],C=m.x,T=m.y,E=n.x,D=n.y;s.moveStart(c,function(e){v[4]=l+e.x,v[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(`+v.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`)),S(d,f),d=null,f=null;r!=null&&r!=p;){if(r.hasAttribute&&r.hasAttribute(_.attr.node_id)){var O=r.getAttribute(_.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=_.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;v[4]=y+N,v[5]=b+P,!t._dragEventFired&&(Math.abs(n.x-m.x)>_.FIRE_DRAG_NOT_CLICK_IF_MOVE||Math.abs(n.y-m.y)>_.FIRE_DRAG_NOT_CLICK_IF_MOVE)&&(s._gragStartedId=t.parentNode.getAttribute(_.attr.control_node_circle_menu_wrraper_id),_.events.publish(`drag`,[s.nodeCircleMenuUI,{from:O,menuItem:o,menuItemName:a}])===!1&&w(),t._dragEventFired=!0),g.setAttribute(`transform`,`matrix(`+v.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&&_.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,menuItemName:a,menuItem:o,event:e}]);return}var n=s.getNode(d);_.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,to:n.id,menuItem:o,menuItemName:a,event:e}]),S(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)},_.prototype._nodeMouseDownHandler=function(e,t,n){var r=e.getAttribute(_.attr.node_id),i=this.getNode(r);this.config.movable&&!_.getRootOf(i).stParent?this._movableHandler(e,t,n):this.config.enableDragDrop&&this._dragDropHandler(e,t,n)},_.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,_.action.resize)}}},_.prototype._nodeDbClickHandler=function(e,t){if(_.events.publish(`dbclick`,[this,this.get(e)])===!1)return!1;this._commonClickHandler(e,t,this.config.nodeMouseDbClick)},_.prototype._nodeClickHandler=function(e,t){if(_.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)},_.prototype._nodeCircleMenuItemClickHandler=function(e,t){var n=e.parentNode.getAttribute(_.attr.control_node_circle_menu_wrraper_id),r=e.getAttribute(_.attr.control_node_circle_menu_name),i=this.nodeCircleMenuUI._menu[r];_.events.publish(`click`,[this.nodeCircleMenuUI,{nodeId:n,menuItemName:r,menuItem:i,event:t}])},_.prototype._nodeCircleMenuClickHandler=function(e){if(_.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)}},_.prototype._commonClickHandler=function(e,t,n){if(_.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),n==_.action.expandCollapse&&this.toggleExpandCollapse(e,t),n==_.action.edit){var r=this.getNode(e);r&&(this.editUI.show(r.id),this.ripple(r.id,t.clientX,t.clientY))}if(n==_.action.details){var r=this.getNode(e);r&&(this.editUI.show(r.id,!0),this.ripple(r.id,t.clientX,t.clientY))}},_.prototype._menuHandlerMouseDownHandler=function(e,t){t.stopPropagation(),t.preventDefault()},_.prototype._nodeMenuClickHandler=function(e,t,n){_.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)},_.prototype._menuClickHandler=function(e,t){t.stopPropagation(),t.preventDefault(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.show(e.offsetLeft,e.offsetTop)},_.prototype._lonelyButtonHandler=function(){var e={id:this.generateId()};this.addNode(e,null,!0)!==!1&&this.center(e.id)},_.prototype.toggleExpandCollapse=function(e,t){var n=this.getNode(e),r=this.getCollapsedIds(n);if(r.length){var i=_.events.publish(`expcollclick`,[this,!1,e,r]);if(i===!1)return!1;this.expand(e,r,!1)}else{var i=_.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)},_.prototype._clickHandler=function(e,t){if(!(t.button>0)){for(var n=t.target;n!=e;){if(n.hasAttribute(_.attr.control_expcoll_id)){var r=n.getAttribute(_.attr.control_expcoll_id),i=this.getNode(r);this._expCollHandler(i.id);return}if(n.hasAttribute(_.attr.node_id)){var r=n.getAttribute(_.attr.node_id),i=this.getNode(r);this._nodeClickHandler(i.id,t);return}if(n.hasAttribute(_.attr.control_node_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(_.attr.control_node_menu_id),i=this.getNode(r);this._nodeMenuClickHandler(i.id,n,t);return}if(n.hasAttribute(_.attr.control_node_circle_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(_.attr.control_node_circle_menu_id);this._nodeCircleMenuClickHandler(r);return}if(n.hasAttribute(_.attr.control_node_circle_menu_name)){t.stopPropagation(),this._nodeCircleMenuItemClickHandler(n,t);return}if(n.hasAttribute(_.attr.control_add)){this._lonelyButtonHandler();return}if(n.hasAttribute(_.attr.control_up_id)){var r=n.getAttribute(_.attr.control_up_id);t.stopPropagation(),t.preventDefault(),this._upHandler(r);return}if(n.hasAttribute(_.attr.c_link_from)){_.events.publish(`clink-click`,[this,{from:n.getAttribute(_.attr.c_link_from),to:n.getAttribute(_.attr.c_link_to),event:t}]);return}if(n.hasAttribute(_.attr.s_link_from)){_.events.publish(`slink-click`,[this,{from:n.getAttribute(_.attr.s_link_from),to:n.getAttribute(_.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}_.events.publish(`canvas-click`,[this,{event:t}])}},_.prototype._mouseDownHandler=function(e,t,n,r){var i=this;_.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=_._getClientTouchesXY(t,0),c=_._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=_._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=_._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=_._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=_.animate(null,{},{},1500,_.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=_.animate(null,{},{},200,_.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,_.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})},_.prototype._changeCursorOnPanStart=function(e,t,n){var r=this.getPointerElement();if(r){var i=_._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+`)`),_.animate(r,{transform:[0,0,0,0,a,o],opacity:0},{transform:[1/t,0,0,1/t,a,o],opacity:1},300,_.anim.outBack)}else this.element.style.cursor=`move`},_.prototype._changeCursorOnPanEnd=function(){var e=this.getPointerElement();e?e.style.display=`none`:this.element.style.cursor=`initial`},_.prototype._move=function(e,t,n){n[0]=t,n[1]=e,this.setViewBox(n),this.xScrollUI.setPosition(),this.yScrollUI.setPosition()},_.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;_.isNEU(n)&&(n=_.anim.inSin),_.isNEU(r)&&(r=3e3);function f(){var f={x:0,y:0,xWithoutScale:0,yWithoutScale:0};e.left?(s++,f.x=s*_.MOVE_STEP/o,f.xWithoutScale=s*_.MOVE_STEP):e.right&&(s++,f.x=-(s*_.MOVE_STEP)/o,f.xWithoutScale=-(s*_.MOVE_STEP)),e.up?(c++,f.y=c*_.MOVE_STEP/o,f.yWithoutScale=c*_.MOVE_STEP):e.down&&(c++,f.y=-(c*_.MOVE_STEP)/o,f.yWithoutScale=-(c*_.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)},_.prototype.moveEnd=function(){this._moveInterval&&=(clearInterval(this._moveInterval),null)},_===void 0&&(_={}),_.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||=[]},_===void 0&&(_={}),_.idb={version:1,dbName:`BALKAN`,tableName:`orgchart-js`,keyPath:`id`},_.idb.db=null,_.idb._open=function(e){if(_._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(_.idb.db!=null){e&&e(!0);return}var t=indexedDB.open(_.idb.dbName,_.idb.version);t.onerror=function(t){console.error(`Cannot open database!`),e&&e(!1)},t.onsuccess=function(t){_.idb.db=t.target.result,e&&e(!0)},t.onupgradeneeded=function(e){var t=e.target.result;t.objectStoreNames.contains(_.idb.tableName)&&t.deleteObjectStore(_.idb.tableName),t.createObjectStore(_.idb.tableName,{keyPath:_.idb.keyPath})}},_.idb.read=function(e,t){_.idb._open(function(n){if(n){var r=_.idb.db.transaction([_.idb.tableName]).objectStore(_.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)})},_.idb.write=function(e,t){_.idb.read(e.id,function(n){if(n==null){var r=_.idb.db.transaction([_.idb.tableName],`readwrite`).objectStore(_.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)})},_.idb.put=function(e,t){_.idb._open(function(n){if(n){var r=_.idb.db.transaction([_.idb.tableName],`readwrite`).objectStore(_.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)})},_.idb.delete=function(e,t){_.idb._open(function(n){if(n){var r=_.idb.db.transaction([_.idb.tableName],`readwrite`).objectStore(_.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)})},_===void 0&&(_={}),_.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}},_.manager.prototype.read=function(e,t,n,r,i,a,o,s){var c=this;_.state._get(this.config.state,t,n,function(l){c.state=l,c.action=i,c.actionParams=a,i!=_.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=_.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!=_.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 v=_.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!=_.action.exporting&&(c.maxX=u,c.maxY=d,c.minX=f,c.minY=p,c.roots=h,c.nodes=g,c.visibleNodeIds=v.visibleNodeIds),v.bordersByRootIdAndLevel=m,v.roots=h,v.adjustify={x:0,y:0},c.state&&(v.adjustify=c.state.adjustify),o(v)}})},_.manager.prototype._read=function(e,t){var n=this,r=_.manager._createNodes(this.instance);t(r);var i=r.nodes,a=r.roots,o=_.remote;o??=_.local,o._setPositions(a,n.layoutConfigs,function(t){var o=_.manager._doNotChangePositionOfClickedNodeIfAny(a,i,n.action,n.actionParams,n.oldNodes,n.config.orientation);n.state&&n.action==_.action.init&&(o=n.state.adjustify),n.action==_.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++)_.manager._setMinMaxXYAdjustifyIterate(a[u],a[u],s,0,c,o,n.config.orientation,l);for(var u=0;u<a.length;u++)_.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&&_._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)},_===void 0&&(_={}),_.manager._initDinamicNode=function(e,t,n){t&&(e.lcn=t),n&&(e.isAssistant=!0);var r=_.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`},_.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==_.action.expand&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!1),i==_.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==_.action.collapse&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!0),i==_.action.expand&&n.ids==`all`&&(e.collapsed=!1),i==_.action.exporting&&(!_.isNEU(n.parentLevels)||!_.isNEU(n.childLevels))&&n.id!=null){if(n.id!=null&&(!_.isNEU(n.parentLevels)||!_.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==_.action.exporting&&n.expandChildren&&(e.collapsed=!1);i==_.action.init&&o!=null?e.collapsed=!o.exp.has(e.id):i==_.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==_.action.centerNode||i==_.action.insert||i==_.action.expand||i==_.action.collapse?r.has(e.id)&&(e.collapsed=!1):i==_.action.update&&n&&n.changeRoots&&n.changeRoots.has(e.id)&&(e.collapsed=!1)},_.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??_.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(_.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==_.action.minimize&&!e.min?(u.all||u.id==e.id)&&(e.min=!0):l==_.action.maximize&&e.min===!0?(u.all||u.id==e.id)&&(e.min=!1):l==_.action.exporting&&u.min===!1?e.min=!1:l==_.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=_._getSubLevels(e.tags,s.tags);g>0&&(e.subLevels=g),e.tags.indexOf(`assistant`)!=-1&&e.parent!=null&&(e.isAssistant=!0),f.layout==_.layout.treeList&&(e.isTreeListItem=!0),f.template&&s.template==e.templateName&&(e.templateName=f.template);var v=_.t(e.templateName,e.min);if(e.w=v&&v.size?v.size[0]:0,e.h=v&&v.size?v.size[1]:0,e.padding=v&&v.padding?v.padding:[0,0,0,0],e.isTreeListItem&&e.stParent&&e.stParent.treeList==null){var y=_.t(e.stParent.templateName,e.stParent.min);e.stParent.treeList={pinnedIds:[],scrollTop:0,scrollTopMax:0,maxHeight:y.treeListMaxHeight}}var b={node:e};_.events.publish(`node-initialized`,[o,b])},_.manager._iterate=function(e,t,n,r,i,a,o,s,c,l,u,d){var f=d.manager.layoutConfigs;if(_.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),_.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 v=t.parent.children[g];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.children.length==0?p.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&h++:m++}(_.MIXED_LAYOUT_ALL_NODES&&p.length>1&&p.length==t.parent.children.length-m-h||!_.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 v=t.parent.children[g];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.childrenIds.length==0?p.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&h++:m++}(_.MIXED_LAYOUT_ALL_NODES&&p.length>_.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&p.length==t.parent.childrenIds.length-m-h||!_.MIXED_LAYOUT_ALL_NODES&&p.length>_.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)&&(s[t.pid]=p)}t.stChildren.length&&(e.stContainerNodes||=[],e.stContainerNodes.push(t));for(var y=0;y<t.stChildren.length;y++){for(var b=``,g=0;g<t.tags.length;g++)if(f[t.tags[g]]){b=t.tags[g];break}i.push(t.stChildren[y].id),_.manager._iterate(e,t.stChildren[y],n,0,i,a,o,s,b,l,u,d)}r++;for(var y=0;y<t.children.length;y++)t.isTreeListItem&&(t.children[y].isTreeListItem=t.isTreeListItem),_.manager._iterate(e,t.children[y],n,r,i,a,o,s,c,l,u,d)},_.manager.__createNodes=function(e,t,n,r,i,a,o,s){for(var c=[],l=_._addDottedLines(n),u=0;u<l.length;u++){var d=l[u],f=_.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=_._getTemplate(f,n.tags,n.template);d&&d.template&&(m=d.template);var h=new _.node(d.id,d.pid,f,m);_.isNEU(d.ppid)||(h.ppid=d.ppid),_.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=_.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 v=c[u],h=e[v],y=a?a[v]:null,b=e[h.stpid],x=e[h.pid];if(b||(h.stpid=null),x||(h.pid=null),b){var S=a?a[b.id]:null;S&&(b.min=S.min),b.stChildrenIds.push(h.id)}else x?(y&&(h.collapsed=y.collapsed,h.min=y.min,h.treeList=y.treeList),x.childrenIds.push(h.id)):(y&&(h.collapsed=y.collapsed,h.min=y.min,h.treeList=y.treeList),t.push(h),o.push(h.id));r==_.action.init&&(h.min=_._getMin(h,n))}},_.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(_.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==_.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(!_.isNEU(d.pid)){var g=s[d.pid],v=g.childrenIds.indexOf(d.id);v>-1&&g.childrenIds.splice(v,1)}c.push(d)}}}t.roots=[];for(var u=0;u<c.length;u++)t.roots.push(c[u].id)}if(r==_.action.exporting&&i.id!=null)if(i.parentLevels){for(var g=s[i.id],y=0;y<i.parentLevels&&s[g.pid];)y++,g=s[g.pid];g.pid=null,c=[g]}else{var b=s[i.id];b&&(b.pid=null,c=[b])}var x=[];if(r==_.action.init&&t.expand&&t.expand.nodes&&o==null)for(var u=0;u<t.expand.nodes.length;u++){var b=s[t.expand.nodes[u]];for(t.expand.allChildren===!0&&_.manager._addExpandedNodeIdsIterate(b,s,x);b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid]}else if(r==_.action.expand&&i.ids&&i.ids!=`all`||r==_.action.collapse&&i&&i.expandIds)for(var S=r==_.action.expand?i.ids:i.expandIds,u=0;u<S.length;u++)for(var b=s[S[u]],g=s[b.pid];g;)x.push(g.id),g.pid==null&&g.stpid!=null?(g=s[g.stpid],g.min=!1):g=s[g.pid];else if(r==_.action.centerNode){for(var C=_._getCenterNodeFromParams(s,i);C;){if(x.push(C.id),i.options.parentState===_.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 v=C.tags.indexOf(`filter`);v!=-1&&(C.tags.splice(v,1),e.filterUI._removeFilter(C.id))}}else C=s[C.pid]}if(C=_._getCenterNodeFromParams(s,i),i.options.childrenState===_.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===_.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==_.action.insert)for(var b=s[i.insertedNodeId];b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid];for(var O=[],k={},A=[],j={},M=[],u=0;u<c.length;u++)_.manager._iterate(c[u],c[u],s,0,O,k,A,j,``,x,M,e);if(r==_.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 b=s[i.collapseIds[u]];b&&(b.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 b=s[M[u]],N=[],P=[],F=[],I={},L=0,R=0,z=0,ee=[],te=[],E=0;E<b.children.length;E++){var w=b.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))}b.children=[];for(var B=[],E=0;E<P.length;E++){var w=s[P[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)B.push(w.childrenIds[V])}for(var ne=[],E=0;E<F.length;E++){var w=s[F[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)ne.push(w.childrenIds[V])}for(var E=0;E<ne.length;E++){var w=s[ne[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.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++)b.children.push(s[I[F[E]][h]]),R++,te.indexOf(F[E])==-1&&te.push(F[E]);for(var E=0;E<N.length;E++){var w=s[N[E]];b.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++)b.children.push(s[I[P[E]][h]]),z++,ee.indexOf(P[E])==-1&&ee.push(P[E]);for(var E=0;E<B.length;E++){var w=s[B[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.children.push(w))}b.partnerSeparation=Math.max(te.length,ee.length)*t.partnerChildrenSplitSeparation+t.minPartnerSeparation,!N.length&&R&&!z?b.hasPartners=2:!N.length&&!R&&z?b.hasPartners=3:!N.length&&R==1&&z==1?b.hasPartners=4:!N.length&&!R&&!z?b.hasPartners=5:N.length&&!R&&!z?b.hasPartners=6:N.length&&(R||z)?b.hasPartners=7:b.hasPartners=1}for(var u=0;u<A.length;u++)for(var b=s[A[u]],re=b.lcn?b.lcn:`base`,ie=n[re],E=0;E<b.subLevels;E++){var H=new _.node(b.id+`_sub_level_index_`+E,b.pid,[],`subLevel`);_.manager._initDinamicNode(H,b.lcn);var g=b.parent;if(g){b.movex!=null&&(H.movex=b.movex),b.movey!=null&&(H.movey=b.movey);var v=g.children.indexOf(b);v>-1&&(g.children.splice(v,1),g.children.splice(v,0,H)),H.children.push(b),H.parent=g,b.parent=H,s[H.id]=H}}for(var U in k){var g=s[U];g.hasAssistants=!0;var H=new _.node(g.id+`_split_assitant_0`,g.id,[`assistant`],`split`);g.movex!=null&&(H.movex=g.movex),g.movey!=null&&(H.movey=g.movey),_.manager._initDinamicNode(H,g.lcn,!0),s[H.id]=H;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]&&H&&w.parent.id!=H.id&&(Object.defineProperty(j,H.id,Object.getOwnPropertyDescriptor(j,w.parent.id)),delete j[w.parent.id]),w.parent=H,H.children.unshift(w),g.children.splice(E,1))}if(ae.length%2){var W=s[ae[ae.length-1]],oe=new _.node(W.id+`_mirror`,g.pid,[],`mirror`);_.manager._initDinamicNode(oe,W.lcn,!0),oe.isAssistant=!0,oe.w=W.w,oe.h=W.h,s[oe.id]=oe,ae.splice(ae.length-1,0,oe.id)}for(var G=1,E=ae.length-1;E>=0;E--)if(E%2&&E!=ae.length-1){var se=new _.node(g.id+`_split_assitant_`+G,g.pid,[],`split`);_.manager._initDinamicNode(se,g.lcn,!0),g.movex!=null&&(se.movex=g.movex),g.movey!=null&&(se.movey=g.movey),s[se.id]=se,ae.splice(E,0,se.id),G++}else E%2&&ae.splice(E,0,H.id);for(var E=0;E<ae.length;E+=3){var ce=null;ce=E==0?g:s[ae[E-2]];var le=s[ae[E]],ue=s[ae[E+1]],de=s[ae[E+2]];le.parent=ce,ue.parent=ce,de.parent=ce,ce.children.push(le),ce.children.push(ue),ce.children.push(de)}}var fe=!1;for(var pe in n){var ie=n[pe];if(ie.layout!=0){fe=!0;break}}var me=_.events.has(`node-layout`,e._event_id);if(fe||me){var he={nodes:s,config:t,action:r,actionParams:i};if(A.length){var K=!1;for(var U in j){for(var S=j[U],u=0;u<S.length;u++){var b=s[S[u]];if(b.subLevels){K=!0;break}}if(K)break}if(K){var ge={},_e={},ve={};for(var U in j)for(var S=j[U],ye=!1,be=null,u=0;u<S.length;u++){var xe=S[u];(be===null||A.has(xe))&&(be=s[xe].parent.id,!ye&&!_.isNEU(s[xe].subLevels)&&(ye=s[xe].subLevels>0)),ge[be]||(ge[be]=[]),ge[be].push(xe),ye&&(ve[be]=U,_e[be]||(_e[be]=[]),_e[be].push(xe))}for(var U in j={},_e)if(_e[U].length>_.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)for(var Se=ve[U],u=s[Se].children.length-1;u>=0;u--){var w=s[Se].children[u];_e[U].has(w.id)&&s[Se].children.splice(u,1)}for(var U in ge)ge[U].length>_.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&(j[U]=ge[U])}}for(var U in j){for(var g=s[U],Ce=g;Ce.isSplit;)Ce=s[Ce.pid];for(;Ce.isSubLevel;)Ce=s[Ce.pid];var re=g.lcn?g.lcn:`base`,ie=n[re];if(ie.layout!=0||me){he.pnode=g,he.layout=ie.layout,he.layoutGridColumns=t.layoutGridColumns,he.childrenIds=j[U],he.lastChildrenPidIds=j,he.subLevels=0,he.layouts=[],_.events.publish(`node-layout`,[e,he]),_.events.publish(`layout`,[he]),he.layouts.length||he.layouts.push({layout:he.layout,childrenIds:he.childrenIds,subLevels:he.subLevels,layoutGridColumns:he.layoutGridColumns});for(var q=0;q<he.layouts.length;q++){var J=he.layouts[q];for(_.isNEU(J.subLevels)&&(J.subLevels=0),_.isNEU(J.layout)&&(J.layout=ie.layout),g=s[U],Ce=g;Ce.isSplit;)Ce=s[Ce.pid];for(;Ce.isSubLevel;)Ce=s[Ce.pid];for(var we=g,E=0;E<J.subLevels;E++){var H=new _.node(q+`_sublevel_layout_`+E,we.id,[],`subLevel`);_.manager._initDinamicNode(H,we.lcn),H.parent=we,we.children.push(H),s[H.id]=H,we=H}if(J.subLevels){for(var E=0;E<J.childrenIds.length;E++){var w=s[J.childrenIds[E]],v=g.children.indexOf(w);v!=-1&&g.children.splice(v,1),w.parent=we,we.children.push(w)}g=we}if(J.layout==_.layout.grid&&J.childrenIds.length>2){J.layoutGridColumns==`dynamic`&&(J.layoutGridColumns=_._getDynamicGridCoulumns(J.childrenIds.length));for(var Te=g.id,u=g.children.length-1;u>=0;u--)for(var E=0;E<J.childrenIds.length;E++){var xe=J.childrenIds[E];if(g.children[u].id==xe){g.children.splice(u,1);break}}var Ee=J.layoutGridColumns;Ee%2!=0&&Ee>2&&Ee--;for(var u=0;u<J.childrenIds.length;u+=Ee)for(var De=null,E=0;E<Ee;E++){var Oe=u+Ee>=J.childrenIds.length;if(J.childrenIds.length-1<u+E)break;var xe=J.childrenIds[u+E],w=s[xe];w.parent=s[Te],s[Te].children.push(w),Oe||(Ee/2-1==E&&(De=new _.node(J.childrenIds[u+E-1]+`_grid_pseudo_node_`+J.childrenIds[u+E+1],Te,[],`subLevel`),_.manager._initDinamicNode(De,g.lcn),De.parent=s[Te],s[Te].children.push(De),s[De.id]=De),Ee-1==E&&(Te=De.id))}}if(J.layout==_.layout.mixed)for(var ke=J.childrenIds,u=ke.length-1;u>=0;u--){var w=s[ke[u]];g=w.parent,w.layout=_.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 Ae=s[ke[u-1]];w.parent=Ae,w.layout=_.layout.mixed,Ae.children.push(w)}else g.children.push(w)}else if(J.layout>1){var H=new _.node(q+`_`+g.id+`_split_0`,Ce.id,[],`split`);g.movex!=null&&(H.movex=g.movex),g.movey!=null&&(H.movey=g.movey),_.manager._initDinamicNode(H,g.lcn),s[H.id]=H,H.layout=J.layout;for(var je=[],u=J.childrenIds.length-1;u>=0;u--){for(var w=s[J.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=J.layout,(J.layout==_.layout.treeRightOffset||J.layout==_.layout.treeRight)&&je.splice(0,0,w.id),J.layout>2){var Me=new _.node(q+`_`+w.id+`_mirror`,Ce.id,[],`mirror`);_.manager._initDinamicNode(Me,w.lcn),Me.layout=J.layout,s[Me.id]=Me,je.splice(0,0,Me.id)}J.layout!=_.layout.treeRightOffset&&J.layout!=_.layout.treeRight&&je.splice(0,0,w.id)}for(var G=1,E=je.length-1;E>=0;E--)if(E%2&&E!=je.length-1){var se=new _.node(q+`_`+g.id+`_split_`+G,Ce.id,[],`split`);_.manager._initDinamicNode(se,g.lcn),g.movex!=null&&(se.movex=g.movex),g.movey!=null&&(se.movey=g.movey),se.layout=J.layout,s[se.id]=se,je.splice(E,0,se.id),G++}else E%2&&je.splice(E,0,H.id);for(var E=0;E<je.length;E+=3){var ce=null;E==0&&(ce=g);var le=s[je[E]],ue=s[je[E+1]],de=s[je[E+2]];E!=0&&(ce=s[je[E-3]]),E!=0&&!ue&&(ce=s[je[E-2]]),le.parent=ce,ce.children.push(le),ue&&(E!=0&&(ce=s[je[E-2]]),ue.parent=ce,ce.children.push(ue)),de&&(E!=0&&(ce=s[je[E-1]]),de.parent=ce,ce.children.push(de))}}}}}}if(_.VERTICAL_CHILDREN_ASSISTANT)for(var u=0;u<c.length;u++)_.manager._verticalAssistantIterate(c[u],s);var he={nodes:s,roots:c};return _.events.publish(`nodes-initialized`,[e,he]),{nodes:he.nodes,roots:he.roots,rootList:l}},_.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!`)},_.manager._getNodeWidth=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h}return 0},_.manager._isVisible=function(e,t,n,r,i,a,o){var s=0;if(_.LAZY_LOADING_FACTOR==`auto`){var c=a/i*2,l=o/i*2;s=Math.ceil(c>l?c:l)}else s=_.LAZY_LOADING_FACTOR/i;if(!(e.x==null||e.y==null)){if(_._getLazyLoading(t)&&r!==_.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}},_.manager.getAllFields=function(e){var t=[_.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!==_.ID&&r!==_.TAGS&&r!==_.NODES&&r!==_.PID&&r!==_.STPID&&r!==`movex`&&r!==`movey`&&(e.nodeBinding[r]||t.has(r)||t.push(r));return t},_.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},_.manager._getResponse=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){var h=l[0],g=[],v={top:null,left:null,bottom:null,right:null,minX:null,maxX:null,minY:null,maxY:null},y=[[],[],[]],b=i-o+r.padding*2,x=a-s+r.padding*2,S=_.getScale(c,e,t,r.scaleInitial,r.scaleMax,r.scaleMin,b,x);if(v.top=s-r.padding,v.left=o-r.padding,v.bottom=a+r.padding-t/S,v.right=i+r.padding-e/S,v.maxX=i,v.minX=o,v.maxY=a,v.minY=s,l.length==0||c==null&&!m&&r.align==_.CENTER){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;if(C-r.padding*2>=i-o)switch(T=(i+o)/2-C/2,r.orientation){case _.orientation.right:case _.orientation.right_top:T=(o-i)/2-C/2;break}else switch(T=h.x-C/2+_.manager._getNodeWidth(h,r)/2,r.orientation){case _.orientation.right:case _.orientation.right_top:T=-(C/2-(o-i)/2),T<r.padding-C&&(T=r.padding-C);break;case _.orientation.left:case _.orientation.bottom_left:case _.orientation.top_left:case _.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 _.orientation.bottom:case _.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 _.orientation.bottom:case _.orientation.bottom_left:E=-(w/2-(s-a)/2),E<r.padding-w&&(E=r.padding-w);break;case _.orientation.left:case _.orientation.right:E=h.y-w/2+_.manager._getNodeWidth(h,r)/2;break}c=[T,E,C,w]}else if(c==null&&!m&&r.align==_.ORIENTATION){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;switch(r.orientation){case _.orientation.top:T=h.x-C/2+_.manager._getNodeWidth(h,r)/2,E=-r.padding;break;case _.orientation.bottom:T=h.x-C/2+_.manager._getNodeWidth(h,r)/2,E=r.padding-w;break;case _.orientation.left:T=-r.padding,E=h.y-w/2+_.manager._getNodeWidth(h,r)/2;break;case _.orientation.right:T=r.padding-C,E=h.y-w/2+_.manager._getNodeWidth(h,r)/2;break;case _.orientation.top_left:T=-r.padding,E=-r.padding;break;case _.orientation.right_top:T=r.padding-C,E=-r.padding;break;case _.orientation.left_top:T=-r.padding,E=-r.padding;break;case _.orientation.bottom_left:T=-r.padding,E=r.padding-w;break}c=[T,E,C,w]}if(u==_.action.centerNode||u==_.action.maximize){var D=_._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==_.action.insert||u==_.action.expand||u==_.action.collapse||u==_.action.update||u==_.action.centerNode){var O=null;if(u==_.action.insert&&d&&d.insertedNodeId!=null&&d.insertedNodeId!=null)O=f[d.insertedNodeId];else if(u==_.action.update&&d&&d.visId!=null&&d.visId!=null)O=f[d.visId];else if((u==_.action.expand||u==_.action.collapse)&&d&&d.id!=null&&d.id!=null)O=f[d.id],O=_.manager._getMostDeepChild(O);else if(u==_.action.centerNode){switch(r.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:d.options.vertical||(O=f[d.id]);break;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:d.options.horizontal||(O=f[d.id]);break}O&&=_.manager._getMostDeepChild(O)}if(!_.FIXED_POSITION_ON_CLICK&&O){if(O.isTreeListItem){for(;!O.stParent;)O=O.parent;O=O.stParent}switch(r.orientation){case _.orientation.top:case _.orientation.top_left:var k=O.y+O.h-c[3]+r.padding;c[1]<k&&(c[1]=k);break;case _.orientation.bottom:case _.orientation.bottom_left:var k=O.y-r.padding;c[1]>k&&(c[1]=k);break;case _.orientation.right:case _.orientation.right_top:var k=O.x-r.padding;c[0]>k&&(c[0]=k);break;case _.orientation.left:case _.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++)_.manager._iterate2(l[A],f,r,c,u,d,g,p,n,y,S,e,t);return{animations:y,boundary:v,viewBox:c,visibleNodeIds:g,nodes:f,allFields:_.manager.getAllFields(r)}},_.manager._iterate2=function(e,t,n,r,i,a,o,s,c,l,u,d,f){if(_.manager._isVisible(e,n,r,i,u,d,f)){o.push(e.id);var p=null;if((i==_.action.expand||i==_.action.collapse||i==_.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 v=t[a.id];if(v){for(var h=e.parent;h!=null;)h=h.parent;h&&(p={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if((i==_.action.expand||i==_.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 v=t[a.id];if(v){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:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if(i==_.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 y=_._getCenterNodeFromParams(t,a);if(y&&y==e){var h=e.parent;h&&h.id==a.id&&(p={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==_.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 y=_._getCenterNodeFromParams(t,a);if(y&&y==e){var h=e.parent;h&&h.id==a.id&&(p={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==_.action.minimize&&s&&s[e.id]){var m=s[e.id];p={x:m.x,y:m.y}}else if(i==_.action.insert&&a&&a.insertedNodeId==e.id&&e.parent)p={x:e.parent.x,y:e.parent.y};else if((i==_.action.update||i==_.action.insert)&&s){var m=s[e.id];if((!m||_.isNEU(m.x)&&_.isNEU(m.y))&&a){var v=t[a.id];if(v){for(var h=v;h&&h.id==e.id;)h=h.parent;h&&(p={x:v.x,y:v.y})}}else m&&(p={x:m.x,y:m.y})}else i!==_.action.exporting&&i!==_.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 b=0;b<e.stChildren.length;b++)_.manager._iterate2(e.stChildren[b],t,n,r,i,a,o,s,c,l,u,d,f);for(var b=0;b<e.children.length;b++)_.manager._iterate2(e.children[b],t,n,r,i,a,o,s,c,l,u,d,f)},_.manager._addExpandedNodeIdsIterate=function(e,t,n){for(var r=0;r<e.childrenIds.length;r++)n.push(e.childrenIds[r]),_.manager._addExpandedNodeIdsIterate(t[e.childrenIds[r]],t,n)},_.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)_.manager._setChildCountPropsIterate(t[r],t);for(var r of e.childrenIds)_.manager._setChildCountPropsIterate(t[r],t)},_.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)_.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)):_._setMinMaxXY(e,i[t.id][e.sl],!0),e.movex!=null&&(e.x+=e.movex),e.movey!=null&&(e.y+=e.movey),_._setMinMaxXY(e,n,!0),r++;for(var c of e.children)_.manager._setMinMaxXYAdjustifyIterate(c,t,n,r,i,a,o,s)},_.manager._doNotChangePositionOfClickedNodeIfAny=function(e,t,n,r,i,a){if(n!=_.action.expand&&n!=_.action.collapse&&n!=_.action.minimize&&n!=_.action.maximize&&n!=_.action.centerNode&&n!=_.action.update&&n!=_.action.insert)return{x:0,y:0};if(n==_.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==_.action.minimize&&t[o].parent||n==_.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},_.manager._verticalAssistantIterate=function(e,t){for(var n=0;n<e.stChildren.length;n++)_.manager._verticalAssistantIterate(e.stChildren[n],t);if(e.children.length==3)_.manager._verticalAssistantIterate(e.children[0],t),_.manager._verticalAssistantIterate(e.children[2],t),_.manager._verticalAssistantIterate(e.children[1],t);else for(var n=0;n<e.children.length;n++)_.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};_.manager._verticalAssistantLevelCountIterate(r,0,o),_.manager._verticalAssistantLevelCountIterate(i,0,s);for(var c=Math.max(o.max,s.max),l=[],n=0;n<c;n++){var u=new _.node(e.parent.id+`_split_assitant_level_`+n,e.pid,[],`subLevel`);_.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}}},_.manager._verticalAssistantLevelCountIterate=function(e,t,n){n.max<t&&(n.max=t),t++;for(var r=0;r<e.children.length;r++)_.manager._verticalAssistantLevelCountIterate(e.children[r],t,n)},_._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},_===void 0&&(_={}),_.templates={},_.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>
|
|
382
|
-
<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>
|
|
383
|
-
<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;" `+_.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" `+_.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},_.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>
|
|
384
|
-
<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>
|
|
385
|
-
<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:_.templates.base.menuButton,img_0:function(e,t,n,r,i){var a=50,o=30,s=40,c=_.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" `+_.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,field_0:function(e,t,n,r,i){return _.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 _.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},_.templates.split=Object.assign({},_.templates.ana),_.templates.split.size=[10,10],_.templates.split.node=`<circle cx="5" cy="5" r="5" fill="none" stroke-width="1" stroke="#aeaeae"></circle>`,_.templates.split.field_0=``,_.templates.split.field_1=``,_.templates.split.img_0=``,_.templates.dot=Object.assign({},_.templates.split),_.templates.group=Object.assign({},_.templates.ana),_.templates.group.size=[250,120],_.templates.group.padding=[50,20,35,20],_.templates.group.node=`<rect rx="50" ry="50" x="0" y="0" height="{h}" width="{w}" fill="#f2f2f2" stroke-width="0"></rect>`,_.templates.group.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,_.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>`,_.templates.group.field_0=`<text `+_.attr.width+`="230" style="font-size: 18px;" fill="#aeaeae" x="{cw}" y="30" text-anchor="middle">{val}</text>`,_.templates.group.field_1=``,_.templates.group.ripple={radius:50,color:`#aeaeae`},_.templates.invisibleGroup=Object.assign({},_.templates.group),_.templates.invisibleGroup.node=``,_.templates.invisibleGroup.padding=[0,0,0,0],_.templates.invisibleGroup.field_0=``,_.templates.invisibleGroup.nodeMenuButton=``,_.templates.mirror={linkAdjuster:{},link:``,node:``,nodeMenuButton:``,size:[0,0]},_.templates.ula=Object.assign({},_.templates.ana),_.templates.ula.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="100" y="55"></text>`,e.w-105,1)},_.templates.ula.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text data-text-overflow="multiline" style="font-size: 14px;" fill="#afafaf" x="100" y="76"></text>`,e.w-105,3)},_.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>`},_.templates.ula.img_0=function(e,t,n,r,i){var a=50,o=60,s=40,c=_.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>`},_.templates.ula.menu=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,12)" `+_.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>`,_.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>`},_.templates.ula.padding=[110,1,1,1],_.templates.olivia=Object.assign({},_.templates.ana),_.templates.olivia.defs=`<style>
|
|
386
|
-
#olivia_gradient {
|
|
387
|
-
--color-stop-1: #ffffff;
|
|
388
|
-
--color-stop-2: #eeeeee;
|
|
389
|
-
--opacity-stop: 1;
|
|
390
|
-
}
|
|
391
|
-
.olivia-f0{
|
|
392
|
-
font-size: 18px;
|
|
393
|
-
fill: #757575;
|
|
394
|
-
}
|
|
395
|
-
.olivia-f1{
|
|
396
|
-
font-size: 14px;
|
|
397
|
-
fill: #757575;
|
|
398
|
-
}
|
|
399
|
-
.boc-dark .olivia-f0,.boc-dark .olivia-f1{
|
|
400
|
-
fill: #aeaeae;
|
|
401
|
-
}
|
|
402
|
-
.boc-dark #olivia_gradient {
|
|
403
|
-
--color-stop-1: #646464;
|
|
404
|
-
--color-stop-2: #363636;
|
|
405
|
-
--opacity-stop: 1;
|
|
406
|
-
}
|
|
407
|
-
</style>
|
|
408
|
-
<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>`,_.templates.olivia.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text class="olivia-f0" x="100" y="55"></text>`,e.w-105,1)},_.templates.olivia.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text class="olivia-f1" x="100" y="76"></text>`,e.w-105,3)},_.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>`},_.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>`,_.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>`},_.templates.olivia.padding=[110,15,30,15],_.templates.belinda=Object.assign({},_.templates.ana),_.templates.belinda.size=[180,180],_.templates.belinda.ripple={radius:90,color:`#e6e6e6`,rect:null},_.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>`},_.templates.belinda.img_0=function(e,t,n,r,i){var a=e.w/2,o=45,s=40,c=_.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>`},_.templates.belinda.field_0=function(e,t,n,r,i){return _.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)},_.templates.belinda.field_1=function(e,t,n,r,i){return _.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)},_.templates.belinda.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,_.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>`},_.templates.rony=Object.assign({},_.templates.ana),_.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>`,_.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>`,_.templates.rony.size=[180,250],_.templates.rony.ripple={color:`#F57C00`,radius:5,rect:null},_.templates.rony.padding=[250,0,30,0],_.templates.rony.img_0=function(e,t,n,r,i){var a=e.w/2,o=160,s=60,c=_.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>`},_.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>'`},_.templates.rony.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="40" text-anchor="middle"></text>`,e.w-15,1)},_.templates.rony.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 14px;" fill="#F57C00" x="${e.w/2}" y="60" text-anchor="middle"></text>`,e.w-15,3)},_.templates.rony.field_2=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 14px;" fill="#FFCA28" x="${e.w/2}" y="80" text-anchor="middle"></text>`,e.w-15,1)},_.templates.rony.link=`<path stroke="#039BE5" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,_.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>`},_.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>`},_.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>`},_.templates.mery=Object.assign({},_.templates.ana),_.templates.mery.ripple={color:`#e6e6e6`,radius:50,rect:null},_.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>`},_.templates.mery.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,_.templates.mery.img_0=function(e,t,n,r,i){var a=e.w/2,o=e.h/2,s=24,c=_.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>`},_.templates.mery.field_0=function(e,t,n,r,i){return _.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)},_.templates.mery.field_1=function(e,t,n,r,i){return _.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)},_.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>`},_.templates.polina=Object.assign({},_.templates.ana),_.templates.polina.size=[300,80],_.templates.polina.padding=[80,15,30,15],_.templates.polina.ripple={color:`#e6e6e6`,radius:40,rect:null},_.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>`},_.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>`,_.templates.polina.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="80" y="30" text-anchor="start"></text>`,e.w-90,1)},_.templates.polina.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="80" y="55" text-anchor="start"></text>`,e.w-90,1)},_.templates.polina.link=`<path stroke="#686868" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,_.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>`},_.templates.mila=Object.assign({},_.templates.ana),_.templates.mila.padding=[60,15,120,15],_.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"/>`},_.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>`},_.templates.mila.field_0=function(e,t,n,r,i){return _.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)},_.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>`},_.templates.diva=Object.assign({},_.templates.ana),_.templates.diva.size=[200,170],_.templates.diva.padding=[160,10,30,10],_.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>`},_.templates.diva.img_0=function(e,t,n,r,i){var a=e.w/2,o=50,s=45,c=_.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>`},_.templates.diva.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="125" text-anchor="middle"></text>`,e.w-15,1)},_.templates.diva.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w/2}" y="145" text-anchor="middle"></text>`,e.w-15,1)},_.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>`,_.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>`},_.templates.luba=Object.assign({},_.templates.ana),_.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>`,_.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>`,_.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>`},_.templates.luba.padding=[70,10,60,10],_.templates.luba.img_0=function(e,t,n,r,i){var a=50,o=25,s=40,c=_.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>`},_.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>`},_.templates.luba.field_0=function(e,t,n,r,i){return _.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)},_.templates.luba.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 14px;" fill="#aeaeae" x="${e.w-10}" y="30" text-anchor="end"></text>`,e.w-110,1)},_.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>`,_.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>`,_.templates.luba.expandCollapseSize=36,_.templates.isla=Object.assign({},_.templates.ana),_.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>`,_.templates.isla.size=[180,120],_.templates.isla.padding=[70,1,60,1],_.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>`},_.templates.isla.field_0=function(e,t,n,r,i){return _.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)},_.templates.isla.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 13px;" fill="#039BE5" x="${e.w/2}" y="64" text-anchor="middle"></text>`,e.w-20,1)},_.templates.isla.img_0=``,_.templates.isla.img_0=function(e,t,n,r,i){var a=_.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>`},_.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>`,_.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>`,_.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>`},_.templates.isla.ripple={radius:0,color:`#F57C00`,rect:{x:0,y:20,width:180,height:100}},_.templates.deborah=Object.assign({},_.templates.polina),_.templates.deborah.size=[150,150],_.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>`},_.templates.deborah.img_0=function(e,t,n,r,i){var a=_.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>`},_.templates.deborah.field_0=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="15" y="25" text-anchor="start"></text>`,e.w-25,1)},_.templates.deborah.field_1=function(e,t,n,r,i){return _.wrapText(i,`<text style="font-size: 11px;" fill="#ffffff" x="15" y="${e.h-15}" text-anchor="start"></text>`,e.w-45,1)},_.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>`},_.templates.subLevel=Object.assign({},_.templates.base),_.templates.subLevel.size=[0,0],_.templates.subLevel.node=``,_.templates.subLevel.plus=``,_.templates.subLevel.minus=``,_.templates.subLevel.nodeMenuButton=``,_.templates.group_dotted_lines=Object.assign({},_.templates.group),_.templates.group_dotted_lines.size=[250,120],_.templates.group_dotted_lines.padding=[50,20,35,20],_.templates.group_dotted_lines.link=`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,_.templates.group_dotted_lines.node=`<rect rx="5" ry="5" x="0" y="0" height="{h}" width="{w}" fill="#e5e5e5" stroke-width="0"></rect>`,_.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>`+_.icon.close(25,25,`#fff`,-13,8)+`</g>`,_.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>`,_.templates.group_dotted_lines.field_1=``,_.templates.group_dotted_lines.img_0=``,_.templates.group_dotted_lines.ripple.radius=5,_.templates.group_dotted_lines.min=Object.assign({},_.templates.olivia),_.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>`,_.templates.clara=Object.assign({},_.templates.ana),_.templates.clara.size=[180,210],_.templates.clara.padding=[80,7,7,7],_.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=_.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>`},_.templates.clara.treeListMaxHeight=387,_.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),_.wrapText(i,`<text style="font-size: 20px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},_.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),_.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},_.templates.clara.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-35}, 2)">
|
|
409
|
-
<rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
|
|
410
|
-
<circle cy="13" cx="6" r="2" fill="#fff"></circle>
|
|
411
|
-
<circle cy="13" cx="13" r="2" fill="#fff"></circle>
|
|
412
|
-
<circle cy="13" cx="20" r="2" fill="#fff"></circle>
|
|
413
|
-
</g>`},_.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>`},_.templates.treeListItem=Object.assign({},_.templates.ana),_.templates.treeListItem.size=[350,60],_.templates.treeListItem.field_0=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return _.wrapText(i,`<text fill="${o}" x="${a}" y="27" style="font-size:16px;"></text>`,e.w-a-70,1)},_.templates.treeListItem.field_1=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return _.wrapText(i,`<text fill="${o}" x="${a}" y="47" style="font-size:12px;"></text>`,e.w-a-70,1)},_.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=_.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>`},_.templates.treeListItem.expandCollapseSize=24,_.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>`},_.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>`},_.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})">
|
|
414
|
-
<rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
|
|
415
|
-
<circle cx="13" cy="6" r="2" fill="${i}"></circle>
|
|
416
|
-
<circle cx="13" cy="13" r="2" fill="${i}"></circle>
|
|
417
|
-
<circle cx="13" cy="20" r="2" fill="${i}"></circle>
|
|
418
|
-
</g>`},_.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}`},_.ui={_defsIds:{},defs:function(e){var t=``;for(var n in _.templates){var r=_.templates[n];r.defs&&(_.ui._defsIds[n]=_.randomId(),t+=r.defs.replaceAll(`{randId}`,_.ui._defsIds[n]))}return`<defs>`+t+e+`</defs>`},lonely:function(e){return!e.nodes||!e.nodes.length?_.IT_IS_LONELY_HERE.replace(`{link}`,_.RES.IT_IS_LONELY_HERE_LINK):``},pointer:function(e,t,n){if(t===_.action.exporting)return``;var r=_.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=_.t(e.templateName,e.min,c),f=``;typeof d.node==`function`?f=d.node(e,t,d,r):_.isNEU(d.node)||(f=d.node,f&&=f.replaceAll(`{w}`,e.w).replaceAll(`{h}`,e.h)),d.defs&&(f=f.replaceAll(`{randId}`,_.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 v=!1;typeof p.element==`function`&&(v=!0,p.element=p.element(e,t,d,r,p.value));var y=_._lblIsImg(r,m);if(p.name=h,p.field=m,_.events.publish(`field`,[l,p])!==!1&&p.value!=null&&p.value!=null&&p.element!=null){if(v)f+=p.element;else if(!y||y&&!_.isNEU(p.value)){if(!y&&typeof p.value==`string`){var b=p.element;b&&=b.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2),p.value=_.wrapText(p.value,b)}var x=p.element.replace(`{val}`,p.value);x=x.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2).replaceAll(`{randId}`,_.randomId()).replaceAll(`{randId2}`,_.randomId()),f+=x}}}var 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=_.nodeOpenTag.replace(`{lcn}`,w).replace(`{id}`,e.id).replace(`{class}`,C).replace(`{sl}`,e.sl).replace(`{level}`,e.level).replace(`{x}`,S.x).replace(`{y}`,S.y),E=_._getOpacity(n,e);return T=T.replace(`{opacity}`,E),f+=_.ui.nodeBtns(r,e,t,s,d,l),f=T+f+_.grCloseTag,f},nodeBtns:function(e,t,n,r,i,a){var o=``;return e.nodeMenu!=null&&!t.isSplit&&r!==_.action.exporting&&(typeof i.nodeMenuButton==`function`?o+=i.nodeMenuButton(t,n,i,e):_.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;" ${_.attr.control_node_menu_id}="${t.id}">${o}</g>`,e.nodeCircleMenu!=null&&!t.isSplit&&r!==_.action.exporting&&(_.isNEU(i.nodeCircleMenuButton)||(o+=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,`+i.nodeCircleMenuButton.x+`,`+i.nodeCircleMenuButton.y+`)" `+_.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!==_.action.exporting&&!t.isSplit){var c=i[t.lcn?t.lcn:`base`],l=_.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=_._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+=_.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.plus(t,n,l,r,p)):(s+=_.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.plus),s+=_.grCloseTag):(typeof l.minus==`function`?(s+=_.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.minus(t,n,l,r,p)):(s+=_.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.minus),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+=_.upOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.up,s+=_.grCloseTag)}var g={html:s,node:t};return _.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=_.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=_.getRootOf(e).id,g=r[h][e.sl],v=void 0;if(e.hasPartners){v={ids:[],indexes:{},ppnodes:{},lastLeft:null,firstRight:null,maxSidePartnersWithChildren:0,rightIds:[],leftIds:[],partnerChildrenSplitSeparation:t.config.partnerChildrenSplitSeparation};for(var y=0;y<e.children.length;y++){var b=e.children[y];b.parentPartner?(v.ppnodes[b.id]=b.parentPartner,v.ids.push(b.id),b.parentPartner.isPartner==1?(v.rightIds.indexOf(b.parentPartner.id)==-1&&v.rightIds.push(b.parentPartner.id),v.indexes[b.id]=v.rightIds.indexOf(b.parentPartner.id),v.firstRight||=b):b.parentPartner.isPartner==2&&(v.leftIds.indexOf(b.parentPartner.id)==-1&&v.leftIds.push(b.parentPartner.id),v.indexes[b.id]=v.leftIds.indexOf(b.parentPartner.id),v.lastLeft=b)):b.isPartner||(v.lastLeft=b,v.firstRight||=b)}v.maxSidePartnersWithChildren=Math.max(v.leftIds.length,v.rightIds.length),m=v.maxSidePartnersWithChildren==0?t.config.minPartnerSeparation/2:t.config.minPartnerSeparation/2+v.partnerChildrenSplitSeparation*v.maxSidePartnersWithChildren+v.partnerChildrenSplitSeparation/2}for(var y=0;y<e.children.length;y++){var b=e.children[y],x=r[h][b.sl],S={xa:0,ya:0,xb:0,yb:0,xc:0,yc:0,xd:0,yd:0,x:0,y:0,rotate:0};l=_.t(b.templateName,b.min,n);var C=l.link;if(b.isChildOfPartner)switch(c.orientation){case _.orientation.top:case _.orientation.top_left:var w=b.layout==1?void 0:x.minY-(x.minY-g.maxY)/2;S=_.ui._linkTopToBottom(b.parentPartner,b,l,p,w,t);break;case _.orientation.bottom:case _.orientation.bottom_left:var w=b.layout==1?void 0:x.maxY-(x.maxY-g.minY)/2;S=_.ui._linkBottomToTop(b.parentPartner,b,l,p,w,t);break;case _.orientation.right:case _.orientation.right_top:var w=b.layout==1?void 0:x.maxX-(x.maxX-g.minX)/2;S=_.ui._linkRightToLeft(b.parentPartner,b,l,p,w,t);break;case _.orientation.left:case _.orientation.left_top:var w=b.layout==1?void 0:x.minX-(x.minX-g.maxX)/2;S=_.ui._linkLeftToRight(b.parentPartner,b,l,p,w,t);break}else if(v&&v.ids.indexOf(b.id)!=-1)switch(c.orientation){case _.orientation.top:case _.orientation.top_left:S=_.ui._linkPpTop(v,e,b,x,g,l);break;case _.orientation.bottom:case _.orientation.bottom_left:S=_.ui._linkPpBottom(v,e,b,x,g,l);break;case _.orientation.right:case _.orientation.right_top:S=_.ui._linkPpRight(v,e,b,x,g,l);break;case _.orientation.left:case _.orientation.left_top:S=_.ui._linkPpLeft(v,e,b,x,g,l);break}else{var T=b.isAssistant&&b.rightNeighbor&&b.rightNeighbor.isAssistant&&b.parent==b.rightNeighbor.parent,E=b.isAssistant&&b.leftNeighbor&&b.leftNeighbor.isAssistant&&b.parent==b.leftNeighbor.parent;if((T||b.layout>1)&&b.rightNeighbor&&b.rightNeighbor.isSplit)switch(c.orientation){case _.orientation.top:case _.orientation.top_left:S=_.ui._linkRightToLeft(b.rightNeighbor,b,l,p);break;case _.orientation.bottom:case _.orientation.bottom_left:S=_.ui._linkRightToLeft(b.rightNeighbor,b,l,p);break;case _.orientation.right:case _.orientation.right_top:S=_.ui._linkBottomToTop(b.rightNeighbor,b,l,p);break;case _.orientation.left:case _.orientation.left_top:S=_.ui._linkBottomToTop(b.rightNeighbor,b,l,p);break}else if((E||b.layout>1)&&b.leftNeighbor&&b.leftNeighbor.isSplit)switch(c.orientation){case _.orientation.top:case _.orientation.top_left:S=_.ui._linkLeftToRight(b.leftNeighbor,b,l,p,t);break;case _.orientation.bottom:case _.orientation.bottom_left:S=_.ui._linkLeftToRight(b.leftNeighbor,b,l,p,t);break;case _.orientation.right:case _.orientation.right_top:S=_.ui._linkTopToBottom(b.leftNeighbor,b,l,p,t);break;case _.orientation.left:case _.orientation.left_top:S=_.ui._linkTopToBottom(b.leftNeighbor,b,l,p,t);break}else switch(c.orientation){case _.orientation.top:case _.orientation.top_left:if(b.isPartner==1)S=_.ui._linkLeftToRight(e,b,l,m);else if(b.isPartner==2)S=_.ui._linkRightToLeft(e,b,l,m);else{var w=b.layout==1?void 0:x.minY-(x.minY-g.maxY)/2;S=_.ui._linkTopToBottom(e,b,l,p,w,t)}break;case _.orientation.bottom:case _.orientation.bottom_left:if(b.isPartner==1)S=_.ui._linkLeftToRight(e,b,l,m);else if(b.isPartner==2)S=_.ui._linkRightToLeft(e,b,l,m);else{var w=b.layout==1?void 0:x.maxY-(x.maxY-g.minY)/2;S=_.ui._linkBottomToTop(e,b,l,p,w,t)}break;case _.orientation.right:case _.orientation.right_top:if(b.isPartner==1)S=_.ui._linkTopToBottom(e,b,l,m);else if(b.isPartner==2)S=_.ui._linkBottomToTop(e,b,l,m);else{var w=b.layout==1?void 0:x.maxX-(x.maxX-g.minX)/2;S=_.ui._linkRightToLeft(e,b,l,p,w,t)}break;case _.orientation.left:case _.orientation.left_top:if(b.isPartner==1)S=_.ui._linkTopToBottom(e,b,l,m);else if(b.isPartner==2)S=_.ui._linkBottomToTop(e,b,l,m);else{var w=b.layout==1?void 0:x.minX-(x.minX-g.maxX)/2;S=_.ui._linkLeftToRight(e,b,l,p,w,t)}break}}var D,O=_.ui._draggableLinkPath(t,e,b,S,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(S.xa==S.xb&&S.xa==S.xc&&S.xa==S.xd||S.ya==S.yb&&S.ya==S.yc&&S.ya==S.yd)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.xa-S.xd)<=_.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xc)<=_.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xb)<=_.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xa+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.ya-S.yd)<=_.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yc)<=_.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yb)<=_.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.ya,C=C.replaceAll(`{rounded}`,D);else{var k=_.ui._roundedEdge(S.xa,S.ya,S.xb,S.yb,S.xc,S.yc),A=_.ui._roundedEdge(S.xb,S.yb,S.xc,S.yc,S.xd,S.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}`,S.xa).replaceAll(`{ya}`,S.ya).replaceAll(`{xb}`,S.xb).replaceAll(`{yb}`,S.yb).replaceAll(`{xc}`,S.xc).replaceAll(`{yc}`,S.yc).replaceAll(`{xd}`,S.xd).replaceAll(`{yd}`,S.yd),C=D):(D=`M`+S.xa+`,`+S.ya+` C`+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` `+S.xd+`,`+S.yd,C=C.replaceAll(`{curve}`,D)):(D=`M`+S.xa+`,`+S.ya+` `+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{edge}`,D));u.push(_.linkOpenTag.replaceAll(`{id}`,e.id).replaceAll(`{class}`,`link `+b.tags.join(` `)).replaceAll(`{child-id}`,b.id));var j={node:e,cnode:b,p:S,html:C,action:a};_.events.publish(`render-link`,[t,j]),u.push(j.html),o&&d.push({id:e.id,childId:b.id,html:j.html});var M=``;for(var N in t.config.linkBinding){var P=t.config.linkBinding[N],F=t._get(b.id);F&&(j.value=F[P],j.element=l[N],j.name=P,_.events.publish(`label`,[t,j])!==!1&&!_.isNEU(j.value)&&!_.isNEU(j.element)&&(M+=j.element.replace(`{val}`,j.value)))}if(M!=``){var I=S.x,L=S.y;b.movey!=null&&(L+=b.movey),M=_.linkFieldsOpenTag.replace(`{x}`,I).replace(`{y}`,L).replace(`{rotate}`,f)+M+_.grCloseTag,u.push(M)}u.push(_.grCloseTag)}return o?d:u.join(``)},svg:function(e,t,n,r,i,a){return _.t(r.template,!1,a).svg.replace(`{w}`,e).replace(`{h}`,t).replace(`{viewBox}`,n).replace(`{randId}`,_.ui._defsIds[r.template]).replace(`{mode}`,r.mode).replace(`{template}`,r.template).replace(`{content}`,function(){return i})},menuButton:function(e){return e.menu==null?``:_.t(e.template,!1).menuButton.replaceAll(`{p}`,e.padding)},_roundedEdge:function(e,t,n,r,i,a){var o=_.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=_.isNEU(t.parentPartner)?d+16:d;var v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&_._addConnectorLines(a._connectorLines,v),v},_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 v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&_._addConnectorLines(a._connectorLines,v),v},_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 v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&_._addConnectorLines(a._connectorLines,v),v},_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 v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:h,rotate:g};return a&&_._addConnectorLines(a._connectorLines,v),v},_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=_.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,_.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=_.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,_.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=_.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,_.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=_.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,_.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(_._isMoved(n)&&!_._isMoved(t)){var o,s,c=[];switch(a){case _.orientation.top:case _.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 _.orientation.bottom:case _.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 _.orientation.right:case _.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 _.orientation.left:case _.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 _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.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 _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.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 _.roundPathCorners(c,_.LINK_ROUNDED_CORNERS,!1)}else if(!_._isMoved(n)&&_._isMoved(t)){var o,s,l=!1,c=[];switch(a){case _.orientation.top:case _.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 _.orientation.bottom:case _.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 _.orientation.right:case _.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 _.orientation.left:case _.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 _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.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 _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.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 _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.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 _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.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 _.roundPathCorners(c,_.LINK_ROUNDED_CORNERS,!1)}else if(_._isMoved(n)&&_._isMoved(t)){var c=[];switch(a){case _.orientation.top:case _.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 _.orientation.bottom:case _.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 _.orientation.right:case _.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 _.orientation.left:case _.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 _.roundPathCorners(c,_.LINK_ROUNDED_CORNERS,!1)}return null}},_===void 0&&(_={}),_._validateConfig=function(e){if(!e)console.error(`config is not defined`);else return!0;return!1},_._arrayContains=function(e,t){if(e&&Array.isArray(e)){for(var n=e.length;n--;)if(e[n]===t)return!0}return!1},_._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},_._getTags=function(e){return e.tags&&!Array.isArray(e.tags)?e.tags.split(`,`):e.tags&&Array.isArray(e.tags)?e.tags:[]},_._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)]},_._trim=function(e){return e.replace(/^\s+|\s+$/g,``)},_._getTransform=function(e){var t=e.getAttribute(`transform`);return t=t.replace(`matrix`,``).replace(`(`,``).replace(`)`,``),_._browser().msie&&(t=t.replace(/ /g,`,`)),t=_._trim(t),t=`[`+t+`]`,t=JSON.parse(t),t},_.getScale=function(e,t,n,r,i,a,o,s){var c=1;if(!e&&(r===_.match.boundary||r===_.match.boundaryIfOutside)){var l=t/o,u=n/s;c=l>u?u:l,r===_.match.boundaryIfOutside&&c>1&&(c=1)}else if(!e&&r===_.match.width)c=t/o;else if(!e&&r===_.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},_.isObject=function(e){return e&&typeof e==`object`&&!Array.isArray(e)&&e!==null&&e.constructor&&e.constructor.name.toLowerCase()==`object`},_.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()},_.mergeDeep=function(e,t){if(_.isObject(e)&&_.isObject(t))for(var n in t)_.isObject(t[n])?(e[n]||Object.assign(e,{[n]:{}}),_.mergeDeep(e[n],t[n])):Object.assign(e,{[n]:t[n]});return e},_._lblIsImg=function(e,t){return!!(e.nodeBinding&&typeof t==`string`&&t.indexOf(`img`)!=-1&&e.nodeBinding[t])},_._getFistImgField=function(e){if(e.nodeBinding){for(var t in e.nodeBinding)if(t.indexOf(`img`)!=-1)return e.nodeBinding[t]}return!1},_._fieldIsImg=function(e,t){if(e.nodeBinding){for(var n in e.nodeBinding)if(e.nodeBinding[n]==t)return _._lblIsImg(e,n)}return!1},_._guid=function(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return e()+e()+`-`+e()+`-`+e()+`-`+e()+`-`+e()+e()+e()},_.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)},_._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]?_.animate(e,{viewBox:t},{viewBox:i},300,_.anim.outPow,function(){r&&r()}):r&&r()},_.randomId=function(){return`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4)},_._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}},_._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}},_._getOffset=function(e,t){e&&(t.x+=e.offsetLeft,t.y+=e.offsetTop,_._getOffset(e.offsetParent,t))},_._getTopLeft=function(e){var t={x:0,y:0};return _._getOffset(e,t),t},_._getOffsetXY=function(e,t){if(t.type.indexOf(`touch`)!=-1){if(t.touches.length){var n=_._getTopLeft(e);return{x:t.touches[0].pageX-n.x,y:t.touches[0].pageY-n.y}}else if(t.changedTouches.length){var n=_._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}},_._pinchMiddlePointInPercent=function(e,t,n,r){var i=_._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)]},_._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}},_._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}},_._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},_._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},_._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},_._isHTML=function(e){var t=new DOMParser().parseFromString(e,`text/html`);return Array.from(t.body.childNodes).some(e=>e.nodeType===1)},_._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},_._getLabelSize=function(e){var t=_._getTestDiv();return t.innerHTML=`<svg>`+e+`</svg>`,t.querySelector(`text`).getBoundingClientRect()},_.wrapText=function(e,t,n,r){if(n!=null&&r!=null)return _._lineClamp(t,e,n,r);var i=t,a=i.toLowerCase();if(a.indexOf(`<text`)==-1||a.indexOf(_.attr.width)==-1||a.indexOf(`foreignobject`)!=-1||i.indexOf(_.attr.width)==-1||_.ESCAPE_HTML&&typeof str==`string`&&_._isHTML(e))return _._escapeHtml(e);if(!_.ESCAPE_HTML&&_._isHTML(e))return e;var o=_._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(_.attr.width),d=s.getAttribute(_.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 _._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(),v=2;g>n;)p.textContent=e.substring(0,e.length-v),p.textContent+=`...`,g=p.getComputedTextLength(),v++;return v>2?`<title>${_._escapeHtml(e)}</title>${p.textContent}`:_._escapeHtml(e)}else if(d.indexOf(`multiline`)!=-1){var y=e.split(` `),b=p.getBBox().height;p.textContent=``;var x=document.createElementNS(f,`tspan`),S=document.createTextNode(y[0]);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l),x.setAttributeNS(null,`text-anchor`,u),x.appendChild(S),p.appendChild(x);for(var v=1,C=1,w=!1,T=1;T<y.length;T++){var E=x.firstChild.data.length;if(x.firstChild.data+=` `+y[T],x.getComputedTextLength()>n){if(x.firstChild.data=x.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 x=document.createElementNS(f,`tspan`);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l+b*v),x.setAttributeNS(null,`text-anchor`,u),S=document.createTextNode(y[T]),x.appendChild(S),p.appendChild(x),v++}}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>${_._escapeHtml(e)}</title>${O}`:O}},_._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)}}},_._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},_._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},_.t=function(e,t,n){var r=_.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},_.setNodeSize=function(e){var t=_.t(e.templateName,e.min);e.w=t&&t.size?t.size[0]:0,e.h=t&&t.size?t.size[1]:0},_._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];_._getDataUri(t.getAttribute(n),function(i){i.success&&t.setAttribute(n,i.result),e==a-1&&r()})})()},_._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()}},_._convertStringToArray=function(e,t){return _.ARRAY_FIELDS.indexOf(e)==-1?t:_.isNEU(t)?[]:t.split(`,`)},_._convertArrayToString=function(e){return!_.isNEU(e)&&Array.isArray(e)?e.join():e},_._csvToArray=function(e,t){t||=_.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},_._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,_._convertArrayToString(s))}n.appendChild(i)}return t.appendChild(n),`<?xml version="1.0" encoding="utf-8" ?>`+new XMLSerializer().serializeToString(t.documentElement)},_._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]=_._convertStringToArray(s.name,s.value)}n.push(a)}return n},_.convertNodesToCsv=function(e){return _._json2csv(e)},_._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(`("|;|
|
|
419
|
-
)`,`g`);a.search(o)>=0&&(a=`"`+a+`"`),r>0&&(n+=_.CSV_DELIMITER),n+=a}return n+`
|
|
420
|
-
`},r=``,i=0;i<e.length;i++)for(var a in e[i])_._arrayContains(t,a)||(t.push(a),r+=a+_.CSV_DELIMITER);r=r.substring(0,r.length-1),r+=`
|
|
421
|
-
`;for(var i=0;i<e.length;i++)r+=n(e[i]);return r=r.substring(0,r.length-1),r},_.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`})},_.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]=_.copy(e[n]),delete e.isActiveClone);return t},_._getScrollSensitivity=function(){var e=_._browser();return e.msie&&_.scroll.ie?_.scroll.ie:e.edge&&_.scroll.edge?_.scroll.edge:e.safari&&_.scroll.safari?_.scroll.safari:e.chrome&&_.scroll.chrome?_.scroll.chrome:e.firefox&&_.scroll.firefox?_.scroll.firefox:e.opera&&_.scroll.opera?_.scroll.opera:{smooth:_.scroll.smooth,speed:_.scroll.speed}},_.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},_._isTouchDevice=function(){return navigator.maxTouchPoints>0},_.isTrial=function(){return _.remote!==void 0},_.childrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++)e.nodes[t.childrenIds[r]]&&n++;return n},_.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+=_.childrenTotalCount(e,i))}return n},_.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},_.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+=_.collapsedChildrenTotalCount(e,a,!0))}return r},_._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))},_.getStParentNodes=function(e,t){for(t||=[];e.parent;)e=e.parent;return e.stParent&&(t.push(e.stParent),_.getStParentNodes(e.stParent,t)),t},_.getRootOf=function(e){for(;e&&e.parent;)e=e.parent;return e},_._getViewBox=function(e){var t=null;return e?(t=e.getAttribute(`viewBox`),t=`[`+t+`]`,t=t.replace(/\ /g,`,`),t=JSON.parse(t),t):null},_.isNEU=function(e){return e==null||e===``},_.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">
|
|
422
|
-
<stop offset="0%" stop-color="${t[0]}"></stop>
|
|
423
|
-
<stop offset="100%" stop-color="${t[1]}"></stop>
|
|
424
|
-
</linearGradient>
|
|
425
|
-
<linearGradient id="${e}_linearColors2" x1="0.5" y1="0" x2="0.5" y2="1">
|
|
426
|
-
<stop offset="0%" stop-color="${t[1]}"></stop>
|
|
427
|
-
<stop offset="100%" stop-color="${t[2]}"></stop>
|
|
428
|
-
</linearGradient>
|
|
429
|
-
<linearGradient id="${e}_linearColors3" x1="1" y1="0" x2="0" y2="1">
|
|
430
|
-
<stop offset="0%" stop-color="${t[2]}"></stop>
|
|
431
|
-
<stop offset="100%" stop-color="${t[3]}"></stop>
|
|
432
|
-
</linearGradient>
|
|
433
|
-
<linearGradient id="${e}_linearColors4" x1="1" y1="1" x2="0" y2="0">
|
|
434
|
-
<stop offset="0%" stop-color="${t[3]}"></stop>
|
|
435
|
-
<stop offset="100%" stop-color="${t[4]}"></stop>
|
|
436
|
-
</linearGradient>
|
|
437
|
-
<linearGradient id="${e}_linearColors5" x1="0.5" y1="1" x2="0.5" y2="0">
|
|
438
|
-
<stop offset="0%" stop-color="${t[4]}"></stop>
|
|
439
|
-
<stop offset="100%" stop-color="${t[5]}"></stop>
|
|
440
|
-
</linearGradient>
|
|
441
|
-
<linearGradient id="${e}_linearColors6" x1="0" y1="1" x2="1" y2="0">
|
|
442
|
-
<stop offset="0%" stop-color="${t[5]}"></stop>
|
|
443
|
-
<stop offset="100%" stop-color="${t[0]}"></stop>
|
|
444
|
-
</linearGradient>
|
|
445
|
-
<g id="${e}">
|
|
446
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors1)" d="${a(n,n,n,1,60)}" />
|
|
447
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors2)" d="${a(n,n,n,60,120)}"/>
|
|
448
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors3)" d="${a(n,n,n,120,180)}" />
|
|
449
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors4)" d="${a(n,n,n,180,240)}" />
|
|
450
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors5)" d="${a(n,n,n,240,300)}" />
|
|
451
|
-
<path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors6)" d="${a(n,n,n,300,1)}"/>
|
|
452
|
-
</g>`},_._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)},_.convertCsvToNodes=function(e){for(var t=_._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]]=_._convertStringToArray(s,c)}a.id.trim()!=``&&r.push(a)}return r},_._escapeHtml=function(e){return _.ESCAPE_HTML&&typeof e==`string`?e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`):e},_._escapeDoubleQuotes=function(e){return typeof e==`string`?e.replace(/"/g,`"`):e},_._escapeGreaterLessSign=function(e){return typeof e==`string`?e.replace(/</g,`<`).replace(/>/g,`>`):e},_.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(` `)+` `},``)},_._isMoved=function(e){return e.movex!=null||e.movey!=null},_._getDynamicGridCoulumns=function(e){for(var t=1;t<e&&(e/t,!(e/t-t<=0));t++);return t%2!=0&&t>2&&t--,t},_._getLazyLoading=function(e){var t=e.lazyLoading;return t==`auto`&&(t=!!(e&&e.nodes&&e.nodes.length>700)),t},_._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}},_._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)},_._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},_._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+=`
|
|
453
|
-
`;for(let t of Object.keys(e))[`id`,`pid`,`name`,`children`,`tags`].includes(t)||(a+=r+`[`+t+`]`+e[t]+`
|
|
454
|
-
`);for(let t of e.children)a+=i(t,n+1);return a}return r.map(e=>i(e,0)).join(``).trim()},_._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={};_.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToSVG(c)}else if(t===`pdf_export`||t===`pdf`){var c={};_.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPDF(c)}else if(t===`png_export`||t===`png`){var c={};_.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(_.layout.mixed):t===`layout_normal`?e.setLayout(_.layout.normal):t===`layout_right_offset`?e.setLayout(_.layout.treeRightOffset):t===`layout_left_offset`?e.setLayout(_.layout.treeLeftOffset):t===`layout_tree`?e.setLayout(_.layout.tree):t===`layout_grid`&&e.setLayout(_.layout.grid);else a=n.call(e,r,i);return a},_._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}},_._treeListAdjustToSTNodePostition=function(e,t){for(var n of e)n.y+=t.y+t.padding[0],n.x+=t.x+t.padding[3],_._treeListAdjustToSTNodePostition(n.children,t)},_._treeListSetProps=function(e,t){var n=-e.treeList.scrollTop,r={nodesByLevels:[],lastNode:null,y:0};e.treeList.pinnedIds=[],_._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==_.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},_._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,_._treeListIterate(r.children,t,n)},_._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}},_._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},_._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},_._getScrollTopForNode=function(e,t){var n={nodesByLevels:[],lastNode:null,y:0};_._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},_._getDefailtPositionForExpandCollpase=function(e,t){var n={x:0,y:0};switch(e.orientation){case _.orientation.top:case _.orientation.top_left:n.x=t.w/2,n.y=t.h;break;case _.orientation.bottom:case _.orientation.bottom_left:n.x=t.w/2,n.y=0;break;case _.orientation.right:case _.orientation.right_top:n.x=0,n.y=t.h/2;break;case _.orientation.left:case _.orientation.left_top:n.x=t.w,n.y=t.h/2;break}return n},_._measureCache={svg:null,text:null},_._getMeasureElement=function(){if(_._measureCache.svg)return _._measureCache.text;let e=`http://www.w3.org/2000/svg`;return _._measureCache.svg=document.createElementNS(e,`svg`),_._measureCache.svg.id=`orgchart_js_test__measure`,_._measureCache.svg.style.cssText=`position:absolute;top:-9999px;visibility:hidden;white-space:pre;`,_._measureCache.text=document.createElementNS(e,`text`),_._measureCache.svg.appendChild(_._measureCache.text),document.body.appendChild(_._measureCache.svg),_._measureCache.text},_._lineClamp=function(e,t,n,r){if(t===void 0||t==null)return``;typeof t!=`string`&&(t=t.toString()),t=_._escapeHtml(t);let i=/(\w+(?:-\w+)?)="([^"]*)"/g,a={},o;for(;(o=i.exec(e))!==null;)a[o[1]]=o[2];let 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>`},_._getScrollableTreeListNodeInTouchEnabledDevice=function(e){if(!e||!e.isTreeListItem||!_._isTouchDevice())return null;var t=_.getRootOf(e).stParent,{thumbHeight:n,thumbPosition:r,scrollBarDisplay:i}=_._treeListGetTumbPositionFromScrollTop(t);return i==`none`?null:t},_._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 _._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)}))},_._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})},_._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`),_._addSelectedStyle(e,a,n)}},_._removeSelectedStyle=function(e){let t=e.element.querySelectorAll(`.boc-selected`);for(let e=0;e<t.length;e++)t[e].classList.remove(`boc-selected`)},_.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]/=_.SCALE_FACTOR,i[3]/=_.SCALE_FACTOR):e===!1?(i[2]*=_.SCALE_FACTOR,i[3]*=_.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),_.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,_.action.zoom,null,r)},500)})):(this.setViewBox(i),clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,_.action.zoom,null,r)},500))}},_._ai=function(e){this.instance=e,this.sessionId=null},_._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)}))},_._ai.prototype._prompt=function(e,t){var n=this,r=[];for(var i of _.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()}},_._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)})}},_._ai.prototype.toolCalls=function(e,t){var n=this,r={toolCalls:e.ToolCalls};_.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),v=this.instance.getNode(m.FunctionArguments.employeeId2);!g||!v||g==v?m.FunctionResult=`Cannot add link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(h=!0,this.instance.addSlink(g.id,v.id),m.FunctionResult=`ok`)}if(f){var g=this.instance.getNode(m.FunctionArguments.employeeId1),v=this.instance.getNode(m.FunctionArguments.employeeId2);!g||!v||g==v?m.FunctionResult=`Cannot remove link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(h=!0,this.instance.removeSlink(g.id,v.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 y=JSON.parse(JSON.stringify(m.FunctionArguments));y.isAssistant&&(y.tags=[`assistant`]),delete y.isAssistant,_.isNEU(y.id)&&(y.id=this.instance.generateId()),this.instance.add(y)}for(var m of o){h=!0,m.FunctionResult=`ok`;var y=this.instance.get(m.FunctionArguments.id);for(var b in m.FunctionArguments)b!=`id`&&m.FunctionArguments[b]!=null&&(y[b]=m.FunctionArguments[b]);this.instance.update(y)}for(var m of s){m.FunctionResult=`ok`;for(var x of m.FunctionArguments.ids){var S=m.FunctionArguments.color;S||=`#FFCA28`;var C=this.instance.getNodeElement(x).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(_.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`,_._downloadFile(`application/pdf`,response,`OrgChart.pdf`,!1,`pdf`),T()}):T()},_.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}})},_.aiUI.title=`AI for OrgChart JS`,_.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()})},_.aiUI.prototype.isVisible=function(){return!(!this.element||this.element.style.display==`none`)},_.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=_.animate(this.element,{opacity:0},{opacity:1},300,_.anim.outSin,function(){e||n.inputElement.focus()}))},_.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">
|
|
455
|
-
<div data-boc-ai-close class="boc-ai-close">${_.icon.x(20,20,`#aeaeae`)}</div>
|
|
456
|
-
<div class="boc-ai-middle boc-ai-start">
|
|
457
|
-
<div data-boc-ai-messages class="boc-ai-messages">
|
|
458
|
-
<img src="https://orgchartjs.balkan.app/logo.svg">
|
|
459
|
-
<span>
|
|
460
|
-
${_.aiUI.title}
|
|
461
|
-
</span>
|
|
462
|
-
</div>
|
|
463
|
-
</div>
|
|
464
|
-
<div>
|
|
465
|
-
<div class="boc-input" data-boc-input="">
|
|
466
|
-
<label for="${t}">Message OrgChart</label>
|
|
467
|
-
<input maxlength="256" id="${t}" name="${t}" type="text" value="" autocomplete="off">
|
|
468
|
-
<div data-boc-ai-send class="boc-ai-send">
|
|
469
|
-
${_.icon.send(20,20,`#aeaeae`)}
|
|
470
|
-
</div>
|
|
471
|
-
</div>
|
|
472
|
-
|
|
473
|
-
</div>
|
|
474
|
-
</div>`,this.instance.leftElement.appendChild(this.element),this.instance.leftElement.style.display=`block`,_.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=_.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=_.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:}})}},_.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)},_.aiUI.prototype.hide=function(){this.instance.leftElement.style.display=`none`,this.element&&=(this.element.parentNode.removeChild(this.element),null)},_.aiUI.prototype.sendUserInput=function(){var e=this;_.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=``},_.aiUI._addSuggestion=function(e){e=e.trim();var t=_.aiUI._getSuggestions(),n=t.indexOf(e);n!=-1&&t.splice(n,1),t.push(e),localStorage.setItem(`suggestions`,JSON.stringify(t))},_.aiUI._getSuggestions=function(){var e=localStorage.getItem(`suggestions`);return e=e?JSON.parse(e):[],e},_===void 0&&(_={}),_.events.on(`init`,function(e,t){if(e.config.keyNavigation&&(window.addEventListener(`keydown`,function(){e._windowKeyDownHandler.apply(e,[this,arguments[0]])}),_.isNEU(e._keyNavigationActiveNodeId)&&e.roots&&e.roots.length)){var n=e.roots[0].id;_.isNEU(e.config.keyNavigation.focusId)||(n=e.config.keyNavigation.focusId),e._keyNavigationActiveNodeId=n,e.center(e._keyNavigationActiveNodeId)}}),_.prototype._windowKeyDownHandler=function(e,t){for(var n=t.target,r=null;n&&n!=this.element;){if(n.hasAttribute&&n.hasAttribute(_.attr.node_id)){r=n.getAttribute(_.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(_.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(_.attr.node_id);this.toggleExpandCollapse(l,t);return}}}},_.events.on(`redraw`,function(e,t){e.config.keyNavigation&&_._keyNavigation(e)}),_.events.on(`click`,function(e,t){e.config&&e.config.keyNavigation&&(e._keyNavigationActiveNodeId=t.node.id,e.center(t.node.id))}),_._keyNavigation=function(e){var t=e.element.querySelector(`:focus`);if(t&&t.parentElement&&t.parentElement.hasAttribute(_.attr.node_id)){var n=t.parentElement,r=t,i=r.querySelector(`title`);i&&i.parentNode.removeChild(i),r.removeAttribute(`tabindex`)}if(!_.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(_.events.publish(`screen-reader-text`,[e,a]),!_.isNEU(a.text)){var i=document.createElementNS(`http://www.w3.org/2000/svg`,`title`);i.innerHTML=a.text,r.appendChild(i)}_.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&e.searchUI.hide(),r.focus()}}},_.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>`},_.input={},_.input._timeout=null,_.input.initWithTimeout=function(){_.input._timeout&&(clearTimeout(_.input._timeout),_.input._timeout=null),_.input._timeout=setTimeout(_.input.init,200)},_.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(){_.input.blurHandler(this)})}},_.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`)},_.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&&!_.input.validatePassword(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+a+`</span>`,t.classList.add(`boc-validation-error`),!1):o&&!_.input.isValidEmail(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+o+`</span>`,t.classList.add(`boc-validation-error`),!1):s&&!_.input.isValidEmails(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message"> `+s+`</span>`,t.classList.add(`boc-validation-error`),!1):!0},_.input.validateAndGetData=function(e){for(var t=e.querySelectorAll(`[data-boc-input]`),n=!0,r=0;r<t.length;r++){var i=t[r];_.input.validate(i)||(n=!1)}return n?_.input.getData(e):!1},_.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},_.input.validatePassword=function(e){return e&&=e.trim(),e.length<5||e.length>18?!1:e.indexOf(` `)==-1},_.input.isValidEmails=function(e){if(e)for(var t=e.split(`,`),n=0;n<t.length;n++){var r=t[n].trim();if(!_.input.isValidEmail(r))return!1}return!0},_.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())},_===void 0&&(_={}),_.prototype.onField=function(e){return this.on(`field`,function(t,n){return e.call(t,n)})},_.prototype.onInit=function(e){return this.on(`init`,function(t){return e.call(t)})},_.prototype.onRedraw=function(e){return this.on(`redraw`,function(t){return e.call(t)})},_.prototype.onUpdateNode=function(e){return this.on(`update`,function(t,n,r){var i={oldData:n,newData:r};return e.call(t,i)})},_.prototype.onUpdated=function(e){return this.on(`updated`,function(t){return e.call(t)})},_.prototype.onRemoveNode=function(e){return this.on(`remove`,function(t,n,r){var i={id:n,newPidsAndStpidsForIds:r};return e.call(t,i)})},_.prototype.onAddNode=function(e){return this.on(`add`,function(t,n){var r={data:n};return e.call(t,r)})},_.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)})},_.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)})},_.prototype.onExpandCollapseButtonClick=_.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)})},_.prototype.onExportStart=function(e){return this.on(`exportstart`,function(t,n){return e.call(t,n)})},_.prototype.onExportEnd=function(e){return this.on(`exportend`,function(t,n){return e.call(t,n)})},_.prototype.onNodeClick=function(e){return this.on(`click`,function(t,n){return e.call(t,n)})},_.prototype.onNodeMouseover=function(e){return this.on(`node-mouseover`,function(t,n){return e.call(t,n)})},_.prototype.onNodeMouseleave=function(e){return this.on(`node-mouseleave`,function(t,n){return e.call(t,n)})},_.prototype.onCanvasClick=function(e){return this.on(`canvas-click`,function(t,n){return e.call(t,n)})},_.prototype.onNodeDoubleClick=function(e){return this.on(`dbclick`,function(t,n){var r={data:n};return e.call(t,r)})},_.prototype.onAIToolCalls=function(e){return this.on(`ai-tool-calls`,function(t,n){return e.call(t,n)})},_.prototype._dragDropHandler=function(e,t,n){},_.prototype._movableHandler=function(e,t,n){},_===void 0&&(_={}),_._communityMessages=[],_._communityAlert=function(){var e=[];for(var t of _._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(`
|
|
475
|
-
`)} \n\nDownload the Trial Edition if you want to use the features above.`;alert(n)}},_._communityMethod=function(e){_._communityMessages.push(e+` [method]`)},_.manager._community_createNodes=_.manager._createNodes,_.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs;return _._checkForUnsuportedFeatures(t,n),_.manager._community_createNodes(e)},_._checkForUnsuportedFeatures=function(e,t){for(var n of e.nodes){if(n.tags){var r=n.tags.indexOf(`assistant`);r>-1&&(_._communityMessages.push(`assistant [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`partner`),r>-1&&(_._communityMessages.push(`partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`left-partner`),r>-1&&(_._communityMessages.push(`left-partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`right-partner`),r>-1&&(_._communityMessages.push(`right-partner [tag]`),n.tags.splice(r,1))}_.isNEU(n.stpid)||(_._communityMessages.push(`stpid [property]`),n.stpid=void 0)}for(var i in e.slinks&&e.slinks.length&&(_._communityMessages.push(`slinks [option]`),e.slinks=[]),e.clinks&&e.clinks.length&&(_._communityMessages.push(`clinks [option]`),e.clinks=[]),t){var a=t[i];a.layout!=_.layout.normal&&(_._communityMessages.push(`layout [option]`),a.layout=_.layout.normal)}},_.events.on(`init`,function(e,t){setTimeout(_._communityAlert,500)}),_._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]&&_._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:_.action.none,nodeMouseDbClick:_.action.none,mouseScrool:_.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:_.orientation.top,layout:_.layout.normal,layoutGridColumns:`dynamic`,scaleInitial:_.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:_.CENTER,UI:null,anim:{func:_.anim.outPow,duration:200},zoom:{speed:120,smooth:12},roots:null,state:null,editForm:null}},_.prototype.__mouseScrollHandlerTreeList=function(){},_.prototype._treeListUpdate=function(){},_.prototype._treeListIterate2=function(){},_.prototype._treeListSetPositions=function(){},_.prototype._treeListThumbMouseDownHandler=function(){},_.prototype._treeListExpandCollapseHandler=function(e){},_===void 0&&(_={}),_.local={},_.local._setPositions=function(e,t,n){_.local._walk(e,t),n()},_.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=_.local._getConfig(e[a],t);_.local._firstWalk(e[a],0,r,i,o)}for(var a=0;a<e.length;a++){var o=_.local._getConfig(e[a],t);_.local._secondWalk(e[a],0,0,0,r,n,o)}},_.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,_.local._setLevelMaxNodeHeight(e,t,n,i),_.local._setNeighbors(e,t,r),!_.local._hasChildren(e)||t==_.MAX_DEPTH)if(a=_.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+_.local._nodeWithPartnersSize(a,i)+o}else e._prelim=0;else{for(var s of e.children)_.local._firstWalk(s,t+1,n,r,i);var c=_.local._fChild(e),l=e.children[e.children.length-1],u=c._prelim+(l._prelim-c._prelim)/2+_.local._leftMidPoint(l,i);if(u-=_.local._mid(e,i),a=_.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+_.local._nodeWithPartnersSize(a,i)+o,e._modifier=e._prelim-u,_.local._apportion(e,t,n,i)}else i.orientation<=3?e._prelim=u:e._prelim=0}},_.local._secondWalk=function(e,t,n,r,i,a,o){if(t<=_.MAX_DEPTH){var s=e._prelim+n,c=r,l=0,u=0;switch(l=i[t],u=_.local._getNodeHeight(e,o),e.x=s,e.y=c,o.orientation){case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:var d=e.x;e.x=e.y,e.y=d;break}switch(o.orientation){case _.orientation.bottom:case _.orientation.bottom_left:e.y=-e.y-u;break;case _.orientation.right:case _.orientation.right_top:e.x=-e.x-u;break}if(_._setMinMaxXY(e,a,!0),e.children!=0){var f=o.levelSeparation;_.local._secondWalk(e.children[0],t+1,n+e._modifier,r+l+f,i,a,o)}var p=_.local._getRightSibling(e);p!=null&&_.local._secondWalk(p,t,n,r,i,a,o)}},_.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)_.local._lastWalk(a,t,n,r,i)},_.local._apportion=function(e,t,n,r){for(var i=_.local._fChild(e),a=i.leftNeighbor,o=1,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+_.local._nodeWithPartnersSize(a,r)+p-(i._prelim+c);if(m>0){for(var h=e,g=0;h!=null&&h!=d;h=_.local._getLeftSibling(h))g++;if(h!=null){var v=e,y=m/g;for(typeof v.id==`string`&&v.id.indexOf(`_grid_pseudo_node_`)!=-1&&(y=0);v!=d;v=_.local._getLeftSibling(v))v._prelim+=m,v._modifier+=m,m-=y}}o++,i=_.local._hasChildren(i)?_.local._fChild(i):_.local._getLeftmost(e,0,o),i!=null&&(a=i.leftNeighbor)}},_.local._mixedTreeHeight=function(e){e.size+=_.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],_.local._mixedTreeHeight(e)},_.local._setLevelMaxNodeHeight=function(e,t,n,r){n[t]??(n[t]=0);var i=_.local._getNodeHeight(e,r);n[t]<i&&(n[t]=i)},_.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)},_.local._nodeWithPartnersSize=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h}return 0},_.local._size=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h}return 0},_.local._leftMidPoint=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w/2;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h/2}return 0},_.local._rightMidPoint=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w/2;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h/2}return 0},_.local._mid=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.w/2;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.h/2}return 0},_.local._getNodeHeight=function(e,t){switch(t.orientation){case _.orientation.top:case _.orientation.top_left:case _.orientation.bottom:case _.orientation.bottom_left:return e.h;case _.orientation.right:case _.orientation.right_top:case _.orientation.left:case _.orientation.left_top:return e.w}return 0},_.local._getLeftSibling=function(e){return e.leftNeighbor!=null&&e.leftNeighbor.parent==e.parent?e.leftNeighbor:null},_.local._getRightSibling=function(e){return e.rightNeighbor!=null&&e.rightNeighbor.parent==e.parent?e.rightNeighbor:null},_.local._getLeftmost=function(e,t,n){if(t>=n)return e;if(!_.local._hasChildren(e))return null;for(var r of e.children){var i=_.local._getLeftmost(r,t+1,n);if(i!=null)return i}return null},_.local._fChild=function(e){return e.children[0]},_.local._hasChildren=function(e){for(var t=0;t<e.children.length;t++)return!0;return!1},_.local._getConfig=function(e,t){return t[e.lcn?e.lcn:`base`]},_.editUI=function(){},_.editUI.prototype.init=function(){},_.editUI.prototype.on=function(e,t){return _._communityMethod(`editUI.on`),this},_.editUI.prototype.show=function(e,t,n){_._communityMethod(`editUI.show`)},_.editUI.prototype.setAvatar=function(e){_._communityMethod(`editUI.setAvatar`)},_.editUI.prototype.hide=function(e){},_.menuUI=function(){},_.menuUI.prototype.init=function(){},_.menuUI.prototype.showStickIn=function(){_._communityMethod(`menuUI.showStickIn`)},_.menuUI.prototype.show=function(){_._communityMethod(`menuUI.show`)},_.menuUI.prototype.isVisible=function(){_._communityMethod(`menuUI.isVisible`)},_.menuUI.prototype.hide=function(){},_.menuUI.prototype.on=function(){_._communityMethod(`menuUI.on`)},_.controlsUI=function(){},_.controlsUI.prototype.init=function(){},_.controlsUI.prototype.show=function(){_._communityMethod(`controlsUI.show`)},_.controlsUI.prototype.hide=function(){_._communityMethod(`controlsUI.hide`)},_.circleMenuUI=function(){},_.circleMenuUI.prototype.init=function(){},_.circleMenuUI.prototype.show=function(){_._communityMethod(`circleMenuUI.show`)},_.circleMenuUI.prototype.isVisible=function(){_._communityMethod(`circleMenuUI.isVisible`)},_.circleMenuUI.prototype.hide=function(){},_.circleMenuUI.prototype.on=function(){return _._communityMethod(`circleMenuUI.on`),this},_.toolbarUI=function(){},_.toolbarUI.expandAllIcon=``,_.toolbarUI.fitIcon=``,_.toolbarUI.openFullScreenIcon=``,_.toolbarUI.closeFullScreenIcon=``,_.toolbarUI.zoomInIcon=``,_.toolbarUI.zoomOutIcon=``,_.toolbarUI.layoutIcon=``,_.toolbarUI.prototype.init=function(){},_.toolbarUI.prototype.showLayout=function(){},_.toolbarUI.prototype.hideLayout=function(){},_.prototype.importCSV=function(){_._communityMethod(`importCSV`)},_.prototype.importXML=function(){_._communityMethod(`importXML`)},_.searchUI=function(){},_.searchUI.prototype.init=function(e){},_.searchUI.prototype._enterHandler=function(){_._communityMethod(`searchUI._enterHandler`)},_.searchUI.prototype.find=function(e){_._communityMethod(`searchUI.find`)},_.searchUI.prototype.addMatchTag=function(e){},_.searchUI.prototype.__search=function(){},_.searchUI.prototype._search=function(){},_.searchUI.prototype.helpView=function(){_._communityMethod(`searchUI.helpView`)},_.searchUI.createItem=function(e,t,n,r){_._communityMethod(`searchUI.createItem`)},_.searchUI.prototype.hide=function(){_._communityMethod(`searchUI.hide`)},_.searchUI.prototype.on=function(e,t){return _._communityMethod(`searchUI.on`),this},_.xScrollUI=function(e,t,n,r,i){this.config=t},_.xScrollUI.prototype.addListener=function(e){},_.xScrollUI.prototype.create=function(e){},_.xScrollUI.prototype.setPosition=function(){},_.yScrollUI=function(e,t,n,r,i){this.config=t},_.yScrollUI.prototype.addListener=function(e){},_.yScrollUI.prototype.create=function(e){},_.yScrollUI.prototype.setPosition=function(){},_===void 0&&(_={}),_.clinkLabelPosition=function(){},_.clinkCurve=function(){},_.prototype.addClink=function(){return _._communityMethod(`addClink`),this},_.prototype.removeClink=function(){return _._communityMethod(`removeClink`),this},_.clinkTemplates={},_.clinkTemplates.orange={defs:``,link:``,label:``},_.clinkTemplates.blue={defs:``,link:``,label:``},_.clinkTemplates.yellow={defs:``,link:``,label:``},_===void 0&&(_={}),_.prototype._slinks=function(){_._communityMethod(`_slinks`)},_.prototype.addSlink=function(){return _._communityMethod(`addSlink`),this},_.prototype.removeSlink=function(e,t){return _._communityMethod(`removeSlink`),this},_.slinkTemplates={},_.slinkTemplates.orange={defs:``,link:``,label:``,labelPosition:``},_.slinkTemplates.blue={defs:``,link:``,label:``,labelPosition:``},_.slinkTemplates.yellow={defs:``,link:``,label:``,labelPosition:``},_.orgScribeUI=function(){},_.orgScribeUI.prototype.init=function(e){},_.orgScribeUI.prototype.isVisible=function(){_._communityMethod(`orgScribeUI.isVisible`)},_.orgScribeUI.prototype.show=function(e,t){_._communityMethod(`orgScribeUI.show`)},_.orgScribeUI.prototype.hide=function(){_._communityMethod(`orgScribeUI.hide`)},_===void 0&&(_={}),_.prototype.undo=function(e){_._communityMethod(`undo`)},_.prototype.redo=function(e){_._communityMethod(`redo`)},_.prototype.clearRedo=function(){},_.prototype.clearUndo=function(){_._communityMethod(`clearUndo`)},_.prototype.undoStepsCount=function(){_._communityMethod(`undoStepsCount`)},_.prototype.redoStepsCount=function(){_._communityMethod(`redoStepsCount`)},_.prototype._putInUndoStack=function(){},_.prototype._putInRedoStack=function(){},_===void 0&&(_={}),_.undoRedoUI=function(){},_.undoRedoUI.prototype.init=function(e){},_.undoRedoUI.prototype.refresh=function(){_._communityMethod(`undoRedoUI.refresh`)},_.undoRedoUI.prototype.on=function(e,t){return _._communityMethod(`undoRedoUI.on`),this},_.undoRedoUI.prototype.onChange=function(e){_._communityMethod(`undoRedoUI.onChange`)},_.miniMap={},_.miniMap.colors=[],_.miniMap.selectorBackgroundColor=``,_.miniMap.backgroundColor=``,_.miniMap.focusStroke=``,_.miniMap.opacity=0,_.miniMap.border=``,_.miniMap.width=0,_.miniMap.height=0,_.miniMap.padding=0,_.miniMap.position={top:void 0,left:void 0,right:void 0,bottom:void 0},_.miniMap.draggable=!0,_.state={},_.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`}},_.state._put=function(e,t,n,r,i,a,o,s){},_.state._get=function(e,t,n,r){r(null)},_.state.clear=function(e){},_._search={},_._search.search=function(){_._communityMethod(`searchUI.search`)},_._search.addNodeToResult=function(){_._communityMethod(`searchUI.addNodeToResult`)},_._search.searchAndComputeScore=function(){_._communityMethod(`searchUI.searchAndComputeScore`)},_._search.searchIndexesOf=function(){_._communityMethod(`searchUI.searchIndexesOf`)},_.filterUI=function(){},_.filterUI.prototype.init=function(e){},_.filterUI.prototype.addFilterTag=function(e){},_.filterUI.prototype.show=function(e){_._communityMethod(`filterUI.show`)},_.filterUI.prototype.hide=function(){},_.filterUI.prototype._removeFilter=function(e){},_.filterUI.prototype.update=function(){},_.filterUI.prototype.on=function(e,t){_._communityMethod(`filterUI.on`)},_.filterUI.textFilterBy=``,_.filterUI.all=``,_.prototype.exportToPDFProfile=function(){_._communityMethod(`exportToPDFProfile`)},_.prototype.exportToVisio=function(){_._communityMethod(`exportToVisio`)},_.prototype.exportToPDF=function(){_._communityMethod(`exportToPDF`)},_.prototype.exportToPNG=function(){_._communityMethod(`exportToPNG`)},_.prototype.exportToSVG=function(){_._communityMethod(`exportToSVG`)},_.prototype.exportToPowerPoint=function(){_._communityMethod(`exportToPowerPoint`)},_.exportUI=function(){},_.exportUI.prototype.init=function(){},_.exportUI.prototype.show=function(e){_._communityMethod(`exportUI.show`)},_.exportUI.prototype.isVisible=function(){_._communityMethod(`exportUI.isVisible`)},_.exportUI.prototype.hide=function(){},_.exportUI.prototype.refresh=function(){_._communityMethod(`exportUI.refresh`)},_.exportUI.prototype.toggleLanscape=function(){_._communityMethod(`exportUI.toggleLanscape`)},_.exportUI.prototype.addPage=function(){_._communityMethod(`exportUI.addPage`)},_.exportUI.prototype.removePage=function(){_._communityMethod(`exportUI.removePage`)},_.exportUI.prototype.toggelePrintTreeOrProfile=function(){_._communityMethod(`exportUI.toggelePrintTreeOrProfile`)},_.exportUI.prototype.selectPage=function(e){_._communityMethod(`exportUI.selectPage`)};var v=_,y={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=y.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}},b=function({children:e,title:t,name:r,photo:i,assistant:a,partner:o,template:s,...c}){return(0,n.jsx)(`div`,{...Object.keys(c).reduce((e,t)=>{let n=y.camelToKebab(t);return e[`data-${n}`]=c[t],e},{}),"data-title":t,"data-name":r,"data-photo":i,"data-assistant":a,"data-partner":o,"data-template":s,children:e})},x=(0,t.forwardRef)((e,r)=>{let i=(0,t.useRef)(null),a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(i.current&&!a.current){let t=y.divToEmployees(i.current),n=e?.data;t&&!n&&(n=t);let o={...e,nodes:n},s=new v(i.current,o);a.current=s,typeof r==`function`?r(s):r&&(r.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,t.useEffect)(()=>{a.current&&e.data&&e.data.length>0&&a.current.load(e.data)},[e.data]),(0,n.jsx)(`div`,{ref:i,style:{width:`100%`,height:`100%`,...e?.style},children:e?.children})});e.Employee=b,e.OrgChartJS=v,e.OrgChartReact=x,e.Template=function({name:e,baseTemplateName:t,renderNode:r,renderPlus:i,renderMinus:a,renderNodeMenuButton:o,nodeWidth:s,nodeHeight:c,padding:l,treeListMaxHeight:u,editFormHeaderColor:d,rippleRadius:f,rippleColor:p}){if(!v.templates[e]){if(t||=`ana`,v.templates[e]=Object.assign({},v.templates[t]),s!=null&&v.templates[e].size){let t=[...v.templates[e].size];t[0]=s,v.templates[e].size=t}if(c!=null&&v.templates[e].size){let t=[...v.templates[e].size];t[1]=c,v.templates[e].size=t}l!=null&&(v.templates[e].padding=l),u!=null&&(v.templates[e].treeListMaxHeight=u),d!=null&&(v.templates[e].editFormHeaderColor=d),f!=null&&(v.templates[e].ripple||(v.templates[e].ripple={radius:0,color:`#ddd`}),v.templates[e].ripple.radius=f),p!=null&&(v.templates[e].ripple||(v.templates[e].ripple={radius:0,color:`#ddd`}),v.templates[e].ripple.color=p),r!=null&&(v.templates[e].node=function(e,t,i,a){return g.renderToStaticMarkup((0,n.jsx)(n.Fragment,{children:r(e,t,i,a)}))}),i!=null&&(v.templates[e].plus=function(e,t,r,a){return g.renderToStaticMarkup((0,n.jsx)(n.Fragment,{children:i(e,t,r,a)}))}),a!=null&&(v.templates[e].minus=function(e,t,r,i){return g.renderToStaticMarkup((0,n.jsx)(n.Fragment,{children:a(e,t,r,i)}))}),o!=null&&(v.templates[e].nodeMenuButton=function(e,t,r,i){return g.renderToStaticMarkup((0,n.jsx)(n.Fragment,{children:o(e,t,r,i)}))})}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
|
+
});
|