viewgate-wrapper 1.10.32 → 1.10.34
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.
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";body{margin:0!important;padding:0!important}:root{--vg-primary: #6366f1;--vg-primary-glow: rgba(99, 102, 241, .5);--vg-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);--vg-bg-glass: rgba(255, 255, 255, .7);--vg-radius: 16px;--vg-font-main: "Inter", system-ui, sans-serif;--vg-font-alt: "Inter", system-ui, sans-serif;--placeholder-color: #94a3b8;--vg-glass-border: rgba(255, 255, 255, .3);--vg-shadow-premium: 0 20px 50px rgba(0, 0, 0, .1)}.vg-container,.vg-container *{box-sizing:border-box}.vg-container{font-family:var(--vg-font-main);-webkit-font-smoothing:antialiased}.vg-glassmorphism{background:var(--vg-bg-glass);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid var(--vg-glass-border);box-shadow:0 8px 32px #0000001a;border-radius:var(--vg-radius);position:relative}.vg-button-primary{background:var(--vg-primary-gradient);color:#fff;border:none;padding:12px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 12px #6366f14d}.vg-button-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.vg-button-primary:disabled,.vg-button-ghost:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4);transform:none!important;box-shadow:none!important;pointer-events:none}.vg-button-ghost{background:#fffc;color:#1e293b;border:1px solid #e2e8f0;padding:10px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px}.vg-button-ghost:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 12px #0000000d}.vg-badge{background:#f1f5f9;color:#64748b;padding:4px 12px;font-size:11px;border-radius:99px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.vg-textarea{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-family:var(--vg-font-main);font-size:15px;color:#0f172a;resize:none;outline:none;background:#f8fafc;transition:all .2s ease}.vg-textarea:focus{background:#fff;border-color:var(--vg-primary);box-shadow:0 0 0 4px #6366f11a}@keyframes vg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes vg-slide-in{0%{transform:translateY(30px) scale(.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes vg-pop-in{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes vg-slide-up-fade{0%{transform:translateY(12px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.vg-animate-pop{animation:vg-pop-in .4s cubic-bezier(.34,1.56,.64,1) forwards}.vg-animate-slide-up{animation:vg-slide-up-fade .5s cubic-bezier(.22,1,.36,1) forwards}.vg-button-primary,.vg-button-ghost,.vg-pin-container,.vg-action-bar,.vg-glassmorphism{transition:all .3s cubic-bezier(.4,0,.2,1)}.vg-animate-slide{animation:vg-slide-in .5s cubic-bezier(.22,1,.36,1) forwards}.vg-animate-fade{animation:vg-fade-in .35s cubic-bezier(.22,1,.36,1) forwards}.vg-toasts{position:fixed;top:24px;right:24px;display:flex;flex-direction:column;gap:12px}.vg-toast{padding:12px 20px;display:flex;align-items:center;gap:12px;min-width:300px;border-radius:12px;box-shadow:0 10px 30px #0000001a;background:#fff}.vg-toast.success{border-left:6px solid #22c55e}.vg-toast.error{border-left:6px solid #ef4444}.vg-backdrop-blur{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-backdrop-filter:blur(8px) grayscale(.2);backdrop-filter:blur(8px) grayscale(.2);background:#0000001a;pointer-events:none;transition:opacity .3s ease,clip-path .2s cubic-bezier(.19,1,.22,1)}.vg-selection-pulse{position:fixed;pointer-events:none;border:2px solid var(--vg-primary);border-radius:8px;box-shadow:0 0 0 0 var(--vg-primary-glow);animation:vg-pulse 2s infinite;transition:all .2s cubic-bezier(.19,1,.22,1)}@keyframes vg-pulse{0%{box-shadow:0 0 0 0 var(--vg-primary-glow)}70%{box-shadow:0 0 0 15px #6366f100}to{box-shadow:0 0 #6366f100}}.vg-selection-label{position:absolute;top:-40px;left:0;background:var(--vg-primary-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px #6366f14d;display:flex;align-items:center;gap:8px}.vg-pin-container{transition:transform .2s ease}.vg-pin-container:hover{transform:scale(1.1);z-index:2147483645!important}.vg-formal-pin{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);border:3px solid white;box-shadow:0 4px 12px #ea580c66;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s ease}.vg-formal-pin.modal-variant{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b66;border-style:dashed}.vg-formal-pin.ready{background:linear-gradient(135deg,#a855f7,#7e22ce);box-shadow:0 4px 12px #a855f766}.vg-formal-pin.completed{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b98166}.vg-formal-pin.backlog{background:linear-gradient(135deg,#94a3b8,#64748b);box-shadow:0 4px 12px #64748b66}.vg-formal-pin.bug{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 12px #e11d4866}.vg-formal-pin.mixed{border:3px solid #ea580c;box-shadow:0 4px 15px #ea580c66}.vg-pin-tooltip{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);padding:16px;border-radius:16px;background:#fff;color:#1e293b;width:320px;font-size:13px;box-shadow:0 10px 40px #00000040;opacity:0;visibility:hidden;pointer-events:none;transition:all .3s cubic-bezier(.19,1,.22,1);border:1px solid #e2e8f0;z-index:1000;overflow:hidden}.vg-tooltip-scroll{scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.2) transparent;overflow-y:auto;overflow-x:hidden;padding-right:12px;scroll-behavior:smooth}.vg-tooltip-scroll::-webkit-scrollbar{width:4px}.vg-tooltip-scroll::-webkit-scrollbar-track{background:transparent}.vg-tooltip-scroll::-webkit-scrollbar-thumb{background:#6366f14d;border-radius:10px}.vg-tooltip-scroll::-webkit-scrollbar-thumb:hover{background:#6366f180}.vg-text-wrap{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;white-space:pre-wrap}.vg-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.8em}.vg-pin-badge{position:absolute;top:-8px;right:-8px;background:#f43f5e;color:#fff;font-size:10px;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid white;box-shadow:0 4px 12px #f43f5e66;z-index:2}.vg-pin-tooltip.vg-top{top:auto;bottom:calc(100% + 12px)}.vg-pin-tooltip.vg-tooltip-right{left:0;transform:translate(0)}.vg-pin-tooltip.vg-tooltip-left{left:auto;right:0;transform:translate(0)}.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-right,.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-left{transform:translate(0) translateY(-5px)}.vg-pin-container:hover .vg-pin-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%) translateY(-5px)}.vg-action-bar{display:flex;gap:12px;padding:0;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vg-custom-scrollbar::-webkit-scrollbar{width:6px}.vg-custom-scrollbar::-webkit-scrollbar-track{background:transparent}.vg-custom-scrollbar::-webkit-scrollbar-thumb{background:#6366f166;border-radius:10px;transition:all .2s ease}.vg-custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.vg-spinner{border:3px solid rgba(99,102,241,.1);border-top:3px solid var(--vg-primary);border-radius:50%;width:32px;height:32px;animation:vg-spin .8s linear infinite}@keyframes vg-spin{to{transform:rotate(360deg)}}.vg-animate-spin{animation:vg-spin .8s linear infinite}.vg-cursor-pointer,.vg-cursor-pointer *{cursor:pointer!important}.vg-url-tag{position:relative;cursor:help;transition:all .2s ease}.vg-url-tag:hover{background:#f1f5f9!important;border-color:var(--vg-primary)!important}.vg-url-tooltip{position:fixed;left:0;top:0;background:#0f172a;color:#fff;padding:8px 14px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:0 10px 25px -5px #0006;z-index:2147483647;border:1px solid rgba(255,255,255,.1)}.vg-url-tooltip.visible{opacity:1}.vg-url-tooltip:after{content:"";position:absolute;left:50%;transform:translate(-50%);border-width:6px;border-style:solid}.vg-url-tooltip.vg-top:after{top:100%;border-color:#0f172a transparent transparent transparent}.vg-url-tooltip.vg-bottom:after{bottom:100%;border-color:transparent transparent #0f172a transparent}.vg-segmented-control{display:flex;background:#f1f5f9;padding:4px;border-radius:99px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;border:4px solid #e2e8f0;width:100%;max-width:480px;margin:0 auto}.vg-segmented-slider{position:absolute;top:4px;bottom:4px;border-radius:99px;transition:all .35s cubic-bezier(.4,0,.2,1);z-index:1}.vg-segmented-item{position:relative;flex:1;padding:8px 4px;font-size:11px;font-weight:700;text-align:center;z-index:2;transition:all .35s ease;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:99px;color:#64748b;white-space:nowrap;min-width:0}.vg-segmented-item.active{color:#fff}.vg-glassmorphism.vg-animate-slide:last-child{margin-bottom:0!important}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
(function(_A,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],U):(_A=typeof globalThis<"u"?globalThis:_A||self,U(_A.ViewGateWrapper={},_A.React,_A.ReactDOM))})(this,(function(_A,U,Sa){"use strict";var Pt={exports:{}},gt={};var bn;function La(){if(bn)return gt;bn=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(r,s,n){var o=null;if(n!==void 0&&(o=""+n),s.key!==void 0&&(o=""+s.key),"key"in s){n={};for(var i in s)i!=="key"&&(n[i]=s[i])}else n=s;return s=n.ref,{$$typeof:t,type:r,key:o,ref:s!==void 0?s:null,props:n}}return gt.Fragment=A,gt.jsx=e,gt.jsxs=e,gt}var dt={};var In;function Ta(){return In||(In=1,process.env.NODE_ENV!=="production"&&(function(){function t(Q){if(Q==null)return null;if(typeof Q=="function")return Q.$$typeof===dA?null:Q.displayName||Q.name||null;if(typeof Q=="string")return Q;switch(Q){case C:return"Fragment";case w:return"Profiler";case y:return"StrictMode";case D:return"Suspense";case k:return"SuspenseList";case pA:return"Activity"}if(typeof Q=="object")switch(typeof Q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Q.$$typeof){case p:return"Portal";case H:return Q.displayName||"Context";case b:return(Q._context.displayName||"Context")+".Consumer";case m:var S=Q.render;return Q=Q.displayName,Q||(Q=S.displayName||S.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case X:return S=Q.displayName||null,S!==null?S:t(Q.type)||"Memo";case
|
|
2
|
+
(function(_A,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],U):(_A=typeof globalThis<"u"?globalThis:_A||self,U(_A.ViewGateWrapper={},_A.React,_A.ReactDOM))})(this,(function(_A,U,Sa){"use strict";var Pt={exports:{}},gt={};var bn;function La(){if(bn)return gt;bn=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(r,s,n){var o=null;if(n!==void 0&&(o=""+n),s.key!==void 0&&(o=""+s.key),"key"in s){n={};for(var i in s)i!=="key"&&(n[i]=s[i])}else n=s;return s=n.ref,{$$typeof:t,type:r,key:o,ref:s!==void 0?s:null,props:n}}return gt.Fragment=A,gt.jsx=e,gt.jsxs=e,gt}var dt={};var In;function Ta(){return In||(In=1,process.env.NODE_ENV!=="production"&&(function(){function t(Q){if(Q==null)return null;if(typeof Q=="function")return Q.$$typeof===dA?null:Q.displayName||Q.name||null;if(typeof Q=="string")return Q;switch(Q){case C:return"Fragment";case w:return"Profiler";case y:return"StrictMode";case D:return"Suspense";case k:return"SuspenseList";case pA:return"Activity"}if(typeof Q=="object")switch(typeof Q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Q.$$typeof){case p:return"Portal";case H:return Q.displayName||"Context";case b:return(Q._context.displayName||"Context")+".Consumer";case m:var S=Q.render;return Q=Q.displayName,Q||(Q=S.displayName||S.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case X:return S=Q.displayName||null,S!==null?S:t(Q.type)||"Memo";case T:S=Q._payload,Q=Q._init;try{return t(Q(S))}catch{}}return null}function A(Q){return""+Q}function e(Q){try{A(Q);var S=!1}catch{S=!0}if(S){S=console;var V=S.error,z=typeof Symbol=="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return V.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",z),A(Q)}}function r(Q){if(Q===C)return"<>";if(typeof Q=="object"&&Q!==null&&Q.$$typeof===T)return"<...>";try{var S=t(Q);return S?"<"+S+">":"<...>"}catch{return"<...>"}}function s(){var Q=j.A;return Q===null?null:Q.getOwner()}function n(){return Error("react-stack-top-frame")}function o(Q){if(aA.call(Q,"key")){var S=Object.getOwnPropertyDescriptor(Q,"key").get;if(S&&S.isReactWarning)return!1}return Q.key!==void 0}function i(Q,S){function V(){uA||(uA=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",S))}V.isReactWarning=!0,Object.defineProperty(Q,"key",{get:V,configurable:!0})}function a(){var Q=t(this.type);return IA[Q]||(IA[Q]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Q=this.props.ref,Q!==void 0?Q:null}function l(Q,S,V,z,Ae,vA){var Z=V.ref;return Q={$$typeof:h,type:Q,key:S,props:V,_owner:z},(Z!==void 0?Z:null)!==null?Object.defineProperty(Q,"ref",{enumerable:!1,get:a}):Object.defineProperty(Q,"ref",{enumerable:!1,value:null}),Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ae}),Object.defineProperty(Q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:vA}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q}function c(Q,S,V,z,Ae,vA){var Z=S.children;if(Z!==void 0)if(z)if(W(Z)){for(z=0;z<Z.length;z++)B(Z[z]);Object.freeze&&Object.freeze(Z)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else B(Z);if(aA.call(S,"key")){Z=t(Q);var LA=Object.keys(S).filter(function(Te){return Te!=="key"});z=0<LA.length?"{key: someKey, "+LA.join(": ..., ")+": ...}":"{key: someKey}",qA[Z+z]||(LA=0<LA.length?"{"+LA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
3
3
|
let props = %s;
|
|
4
4
|
<%s {...props} />
|
|
5
5
|
React keys must be passed directly to JSX without using spread:
|
|
6
6
|
let props = %s;
|
|
7
|
-
<%s key={someKey} {...props} />`,j,z,LA,z),qA[z+j]=!0)}if(z=null,V!==void 0&&(e(V),z=""+V),o(S)&&(e(S.key),z=""+S.key),"key"in S){V={};for(var Xe in S)Xe!=="key"&&(V[Xe]=S[Xe])}else V=S;return z&&i(V,typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q),l(Q,z,V,s(),Ae,vA)}function B(Q){f(Q)?Q._store&&(Q._store.validated=1):typeof Q=="object"&&Q!==null&&Q.$$typeof===K&&(Q._payload.status==="fulfilled"?f(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function f(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===h}var u=U,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),H=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),pA=Symbol.for("react.activity"),dA=Symbol.for("react.client.reference"),Y=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,aA=Object.prototype.hasOwnProperty,W=Array.isArray,bA=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(Q){return Q()}};var uA,IA={},Pe=u.react_stack_bottom_frame.bind(u,n)(),lt=bA(r(n)),qA={};dt.Fragment=C,dt.jsx=function(Q,S,V){var j=1e4>Y.recentlyCreatedOwnerStacks++;return c(Q,S,V,!1,j?Error("react-stack-top-frame"):Pe,j?bA(r(Q)):lt)},dt.jsxs=function(Q,S,V){var j=1e4>Y.recentlyCreatedOwnerStacks++;return c(Q,S,V,!0,j?Error("react-stack-top-frame"):Pe,j?bA(r(Q)):lt)}})()),dt}var vn;function Ka(){return vn||(vn=1,process.env.NODE_ENV==="production"?Pt.exports=La():Pt.exports=Ta()),Pt.exports}var g=Ka(),Xt={exports:{}},Yr={};var Sn;function Da(){if(Sn)return Yr;Sn=1;var t=U;function A(B,f){return B===f&&(B!==0||1/B===1/f)||B!==B&&f!==f}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function i(B,f){var u=f(),h=r({inst:{value:u,getSnapshot:f}}),p=h[0].inst,C=h[1];return n(function(){p.value=u,p.getSnapshot=f,a(p)&&C({inst:p})},[B,u,f]),s(function(){return a(p)&&C({inst:p}),B(function(){a(p)&&C({inst:p})})},[B]),o(u),u}function a(B){var f=B.getSnapshot;B=B.value;try{var u=f();return!e(B,u)}catch{return!0}}function l(B,f){return f()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:i;return Yr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,Yr}var jr={};var Ln;function Oa(){return Ln||(Ln=1,process.env.NODE_ENV!=="production"&&(function(){function t(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}function A(u,h){c||s.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=h();if(!B){var C=h();n(p,C)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}C=o({inst:{value:p,getSnapshot:h}});var y=C[0].inst,w=C[1];return a(function(){y.value=p,y.getSnapshot=h,e(y)&&w({inst:y})},[u,p,h]),i(function(){return e(y)&&w({inst:y}),u(function(){e(y)&&w({inst:y})})},[u]),l(p),p}function e(u){var h=u.getSnapshot;u=u.value;try{var p=h();return!n(u,p)}catch{return!0}}function r(u,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=U,n=typeof Object.is=="function"?Object.is:t,o=s.useState,i=s.useEffect,a=s.useLayoutEffect,l=s.useDebugValue,c=!1,B=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;jr.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),jr}var Tn;function Ra(){return Tn||(Tn=1,process.env.NODE_ENV==="production"?Xt.exports=Da():Xt.exports=Oa()),Xt.exports}var Kn=Ra();const Dn=0,On=1,Rn=2,Mn=3;var Nn=Object.prototype.hasOwnProperty;function zr(t,A){var e,r;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((r=t.length)===A.length)for(;r--&&zr(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(Nn.call(t,e)&&++r&&!Nn.call(A,e)||!(e in A)||!zr(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const de=new WeakMap,ue=()=>{},xA=ue(),Zr=Object,N=t=>t===xA,se=t=>typeof t=="function",Ue=(t,A)=>({...t,...A}),_n=t=>se(t.then),$r={},Wt={},qr="undefined",ut=typeof window!=qr,As=typeof document!=qr,Ma=ut&&"Deno"in window,Na=()=>ut&&typeof window.requestAnimationFrame!=qr,Gn=(t,A)=>{const e=de.get(t);return[()=>!N(A)&&t.get(A)||$r,r=>{if(!N(A)){const s=t.get(A);A in Wt||(Wt[A]=s),e[5](A,Ue(s,r),s||$r)}},e[6],()=>!N(A)&&A in Wt?Wt[A]:!N(A)&&t.get(A)||$r]};let es=!0;const _a=()=>es,[ts,rs]=ut&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ue,ue],Ga=()=>{const t=As&&document.visibilityState;return N(t)||t!=="hidden"},Va=t=>(As&&document.addEventListener("visibilitychange",t),ts("focus",t),()=>{As&&document.removeEventListener("visibilitychange",t),rs("focus",t)}),ka=t=>{const A=()=>{es=!0,t()},e=()=>{es=!1};return ts("online",A),ts("offline",e),()=>{rs("online",A),rs("offline",e)}},Pa={isOnline:_a,isVisible:Ga},Xa={initFocus:Va,initReconnect:ka},Vn=!U.useId,je=!ut||Ma,Wa=t=>Na()?window.requestAnimationFrame(t):setTimeout(t,1),ss=je?U.useEffect:U.useLayoutEffect,ns=typeof navigator<"u"&&navigator.connection,kn=!je&&ns&&(["slow-2g","2g"].includes(ns.effectiveType)||ns.saveData),Jt=new WeakMap,Ja=t=>Zr.prototype.toString.call(t),os=(t,A)=>t===`[object ${A}]`;let Ya=0;const is=t=>{const A=typeof t,e=Ja(t),r=os(e,"Date"),s=os(e,"RegExp"),n=os(e,"Object");let o,i;if(Zr(t)===t&&!r&&!s){if(o=Jt.get(t),o)return o;if(o=++Ya+"~",Jt.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=is(t[i])+",";Jt.set(t,o)}if(n){o="#";const a=Zr.keys(t).sort();for(;!N(i=a.pop());)N(t[i])||(o+=i+":"+is(t[i])+",");Jt.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},as=t=>{if(se(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?is(t):"",[t,A]};let ja=0;const cs=()=>++ja;async function Pn(...t){const[A,e,r,s]=t,n=Ue({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const i=n.rollbackOnError;let a=n.optimisticData;const l=f=>typeof i=="function"?i(f):i!==!1,c=n.throwOnError;if(se(e)){const f=e,u=[],h=A.keys();for(const p of h)!/^\$(inf|sub)\$/.test(p)&&f(A.get(p)._k)&&u.push(p);return Promise.all(u.map(B))}return B(e);async function B(f){const[u]=as(f);if(!u)return;const[h,p]=Gn(A,u),[C,y,w,b]=de.get(A),H=()=>{const W=C[u];return(se(n.revalidate)?n.revalidate(h().data,f):n.revalidate!==!1)&&(delete w[u],delete b[u],W&&W[0])?W[0](Rn).then(()=>h().data):h().data};if(t.length<3)return H();let m=r,D,k=!1;const X=cs();y[u]=[X,0];const K=!N(a),pA=h(),dA=pA.data,Y=pA._c,aA=N(Y)?dA:Y;if(K&&(a=se(a)?a(aA,dA):a,p({data:a,_c:aA})),se(m))try{m=m(aA)}catch(W){D=W,k=!0}if(m&&_n(m))if(m=await m.catch(W=>{D=W,k=!0}),X!==y[u][0]){if(k)throw D;return m}else k&&K&&l(D)&&(o=!0,p({data:aA,_c:xA}));if(o&&!k)if(se(o)){const W=o(m,aA);p({data:W,error:xA,_c:xA})}else p({data:m,error:xA,_c:xA});if(y[u][1]=cs(),Promise.resolve(H()).then(()=>{p({_c:xA})}),k){if(c)throw D;return}return m}}const Xn=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},za=(t,A)=>{if(!de.has(t)){const e=Ue(Xa,A),r=Object.create(null),s=Pn.bind(xA,t);let n=ue;const o=Object.create(null),i=(c,B)=>{const f=o[c]||[];return o[c]=f,f.push(B),()=>f.splice(f.indexOf(B),1)},a=(c,B,f)=>{t.set(c,B);const u=o[c];if(u)for(const h of u)h(B,f)},l=()=>{if(!de.has(t)&&(de.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,a,i]),!je)){const c=e.initFocus(setTimeout.bind(xA,Xn.bind(xA,r,Dn))),B=e.initReconnect(setTimeout.bind(xA,Xn.bind(xA,r,On)));n=()=>{c&&c(),B&&B(),de.delete(t)}}};return l(),[t,s,l,n]}return[t,de.get(t)[4]]},Za=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!N(n)&&o>n||setTimeout(r,i,s)},$a=zr,[Wn,qa]=za(new Map),Ac=Ue({onLoadingSlow:ue,onSuccess:ue,onError:ue,onErrorRetry:Za,onDiscarded:ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:kn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:kn?5e3:3e3,compare:$a,isPaused:()=>!1,cache:Wn,mutate:qa,fallback:{}},Pa),ec=(t,A)=>{const e=Ue(t,A);if(A){const{use:r,fallback:s}=t,{use:n,fallback:o}=A;r&&n&&(e.use=r.concat(n)),s&&o&&(e.fallback=Ue(s,o))}return e},tc=U.createContext({}),rc="$inf$",Jn=ut&&window.__SWR_DEVTOOLS_USE__,sc=Jn?window.__SWR_DEVTOOLS_USE__:[],nc=()=>{Jn&&(window.__SWR_DEVTOOLS_REACT__=U)},oc=t=>se(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],ic=()=>{const t=U.useContext(tc);return U.useMemo(()=>Ue(Ac,t),[t])},ac=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=as(A),[,,,i]=de.get(Wn);if(o.startsWith(rc))return e(...n);const a=i[o];return N(a)?e(...n):(delete i[o],a)}),r),cc=sc.concat(ac),lc=t=>function(...e){const r=ic(),[s,n,o]=oc(e),i=ec(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(cc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},Bc=(t,A,e)=>{const r=A[t]||(A[t]=[]);return r.push(e),()=>{const s=r.indexOf(e);s>=0&&(r[s]=r[r.length-1],r.pop())}};nc();const ls=U.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),Bs={dedupe:!0},Yn=Promise.resolve(xA),gc=()=>ue,jn=lc((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:i,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:c,refreshWhenOffline:B,keepPreviousData:f,strictServerPrefetchWarning:u}=e,[h,p,C,y]=de.get(r),[w,b]=as(t),H=U.useRef(!1),m=U.useRef(!1),D=U.useRef(w),k=U.useRef(A),X=U.useRef(e),K=()=>X.current,pA=()=>K().isVisible()&&K().isOnline(),[dA,Y,aA,W]=Gn(r,w),bA=U.useRef({}).current,uA=N(o)?N(e.fallback)?xA:e.fallback[w]:o,IA=(Z,M)=>{for(const tA in bA){const sA=tA;if(sA==="data"){if(!s(Z[sA],M[sA])&&(!N(Z[sA])||!s(vA,M[sA])))return!1}else if(M[sA]!==Z[sA])return!1}return!0},Pe=!H.current,lt=U.useMemo(()=>{const Z=dA(),M=W(),tA=oA=>{const QA=Ue(oA);return delete QA._k,(()=>{if(!w||!A||K().isPaused())return!1;if(Pe&&!N(i))return i;const ee=N(uA)?QA.data:uA;return N(ee)||a})()?{isValidating:!0,isLoading:!0,...QA}:QA},sA=tA(Z),mA=Z===M?sA:tA(M);let RA=sA;return[()=>{const oA=tA(dA());return IA(oA,RA)?(RA.data=oA.data,RA.isLoading=oA.isLoading,RA.isValidating=oA.isValidating,RA.error=oA.error,RA):(RA=oA,oA)},()=>mA]},[r,w]),qA=Kn.useSyncExternalStore(U.useCallback(Z=>aA(w,(M,tA)=>{IA(tA,M)||Z()}),[r,w]),lt[0],lt[1]),Q=h[w]&&h[w].length>0,S=qA.data,V=N(S)?uA&&_n(uA)?ls(uA):uA:S,j=qA.error,Ae=U.useRef(V),vA=f?N(S)?N(Ae.current)?V:Ae.current:S:V,z=w&&N(V),LA=U.useRef(null);!je&&Kn.useSyncExternalStore(gc,()=>(LA.current=!1,LA),()=>(LA.current=!0,LA));const Xe=LA.current;u&&Xe&&!n&&z&&console.warn(`Missing pre-initiated data for serialized key "${w}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const Te=!w||!A||K().isPaused()||Q&&!N(j)?!1:Pe&&!N(i)?i:n?N(V)?!1:a:N(V)||a,Cn=Pe&&Te,We=N(qA.isValidating)?Cn:qA.isValidating,Qe=N(qA.isLoading)?Cn:qA.isLoading,JA=U.useCallback(async Z=>{const M=k.current;if(!w||!M||m.current||K().isPaused())return!1;let tA,sA,mA=!0;const RA=Z||{},oA=!C[w]||!RA.dedupe,QA=()=>Vn?!m.current&&w===D.current&&H.current:w===D.current,Je={isValidating:!1,isLoading:!1},ee=()=>{Y(Je)},Vt=()=>{const fA=C[w];fA&&fA[1]===sA&&delete C[w]},YA={isValidating:!0};N(dA().data)&&(YA.isLoading=!0);try{if(oA&&(Y(YA),e.loadingTimeout&&N(dA().data)&&setTimeout(()=>{mA&&QA()&&K().onLoadingSlow(w,e)},e.loadingTimeout),C[w]=[M(b),cs()]),[tA,sA]=C[w],tA=await tA,oA&&setTimeout(Vt,e.dedupingInterval),!C[w]||C[w][1]!==sA)return oA&&QA()&&K().onDiscarded(w),!1;Je.error=xA;const fA=p[w];if(!N(fA)&&(sA<=fA[0]||sA<=fA[1]||fA[1]===0))return ee(),oA&&QA()&&K().onDiscarded(w),!1;const te=dA().data;Je.data=s(te,tA)?te:tA,oA&&QA()&&K().onSuccess(tA,w,e)}catch(fA){Vt();const te=K(),{shouldRetryOnError:Ce}=te;te.isPaused()||(Je.error=fA,oA&&QA()&&(te.onError(fA,w,te),(Ce===!0||se(Ce)&&Ce(fA))&&(!K().revalidateOnFocus||!K().revalidateOnReconnect||pA())&&te.onErrorRetry(fA,w,te,Wr=>{const kA=h[w];kA&&kA[0]&&kA[0](Mn,Wr)},{retryCount:(RA.retryCount||0)+1,dedupe:!0})))}return mA=!1,ee(),!0},[w,r]),Be=U.useCallback((...Z)=>Pn(r,D.current,...Z),[]);if(ss(()=>{k.current=A,X.current=e,N(S)||(Ae.current=S)}),ss(()=>{if(!w)return;const Z=JA.bind(xA,Bs);let M=0;K().revalidateOnFocus&&(M=Date.now()+K().focusThrottleInterval);const sA=Bc(w,h,(mA,RA={})=>{if(mA==Dn){const oA=Date.now();K().revalidateOnFocus&&oA>M&&pA()&&(M=oA+K().focusThrottleInterval,Z())}else if(mA==On)K().revalidateOnReconnect&&pA()&&Z();else{if(mA==Rn)return JA();if(mA==Mn)return JA(RA)}});return m.current=!1,D.current=w,H.current=!0,Y({_k:b}),Te&&(C[w]||(N(V)||je?Z():Wa(Z))),()=>{m.current=!0,sA()}},[w]),ss(()=>{let Z;function M(){const sA=se(l)?l(dA().data):l;sA&&Z!==-1&&(Z=setTimeout(tA,sA))}function tA(){!dA().error&&(c||K().isVisible())&&(B||K().isOnline())?JA(Bs).then(M):M()}return M(),()=>{Z&&(clearTimeout(Z),Z=-1)}},[l,c,B,w]),U.useDebugValue(vA),n){if(!Vn&&je&&z)throw new Error("Fallback data is required when using Suspense in SSR.");z&&(k.current=A,X.current=e,m.current=!1);const Z=y[w],M=!N(Z)&&z?Be(Z):Yn;if(ls(M),!N(j)&&z)throw j;const tA=z?JA(Bs):Yn;!N(vA)&&z&&(tA.status="fulfilled",tA.value=!0),ls(tA)}return{mutate:Be,get data(){return bA.data=!0,vA},get error(){return bA.error=!0,j},get isValidating(){return bA.isValidating=!0,We},get isLoading(){return bA.isLoading=!0,Qe}}}),dc=({children:t})=>{const A=U.useRef(null),[e,r]=U.useState(null);return U.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const s=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(i=>{(i.textContent?.includes(".vg-")||i.textContent?.includes("--vg-"))&&s.appendChild(i.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",s.appendChild(o),r(s)}},[]),g.jsx("div",{"data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&Sa.createPortal(t,e)})};const zn=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const uc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const fc=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const Zn=t=>{const A=fc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var wc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const hc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const pc=U.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...i},a)=>U.createElement("svg",{ref:a,...wc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:zn("lucide",s),...!n&&!hc(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>U.createElement(l,c)),...Array.isArray(n)?n:[n]]));const CA=(t,A)=>{const e=U.forwardRef(({className:r,...s},n)=>U.createElement(pc,{ref:n,iconNode:A,className:zn(`lucide-${uc(Zn(t))}`,`lucide-${t}`,r),...s}));return e.displayName=Zn(t),e};const gs=CA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const Qc=CA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const Fe=CA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const $n=CA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const qn=CA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const Cc=CA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const Uc=CA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const Ao=CA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const eo=CA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const Fc=CA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Yt=CA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const mc=CA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Ec=CA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const xc=CA("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const to=CA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const ro=CA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const ds=CA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),yc={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? You can reopen it at any time by adding ?viewgate=true to your URL.",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Puedes volver a activarlo en cualquier momento agregando ?viewgate=true a la URL.",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad"}},so=U.createContext(void 0),no=()=>{const t=U.useContext(so);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},us="viewgate_enabled",Hc=()=>typeof window>"u"?!1:new URLSearchParams(window.location.search).has("viewgate")?(sessionStorage.setItem(us,"true"),!0):sessionStorage.getItem(us)==="true",bc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app"})=>{const[s,n]=U.useState(!1),[o,i]=U.useState([]);U.useEffect(()=>{n(Hc())},[]);const a=()=>{if(sessionStorage.removeItem(us),n(!1),typeof window<"u"){const B=new URL(window.location.href);B.searchParams.delete("viewgate"),window.history.replaceState({},"",B.toString())}},l=(B,f)=>{const u=Date.now();i(h=>[...h,{id:u,message:B,type:f}]),setTimeout(()=>{i(h=>h.filter(p=>p.id!==u))},4e3)},c=yc[A];return g.jsxs(so.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:268",value:{addToast:l,language:A,t:c,apiKey:e,baseUrl:r,disableViewGate:a,hasActiveToasts:o.length>0},children:[t,s&&g.jsx(dc,{"data-source-path":"/src/components/ViewGateProvider.tsx:279",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:280",className:"vg-container",children:[g.jsx(xa,{"data-source-path":"/src/components/ViewGateProvider.tsx:281"}),g.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:282",className:"vg-toasts",style:{zIndex:2147483647},children:o.map(B=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:284",className:`vg-toast vg-animate-slide ${B.type}`,children:[B.type==="success"?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateProvider.tsx:286",size:24,color:"#22c55e"}):g.jsx(Qc,{"data-source-path":"/src/components/ViewGateProvider.tsx:288",size:24,color:"#ef4444"}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:290",children:[g.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:291",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:B.type==="success"?c.successHeader:c.errorHeader}),g.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:294",style:{fontSize:"14px",color:"#000000"},children:B.message})]})]},B.id))})]})})]})};class yA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new yA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new yA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let s=r.find(n=>n.width!==0);return s||(s=r.find(n=>n.height!==0)),!s&&r.length>0&&(s=r[0]),s?new yA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):yA.EMPTY}}yA.EMPTY=new yA(0,0,0,0);const jt=(t,A)=>yA.fromClientRect(t,A.getBoundingClientRect()),Ic=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new yA(0,0,r,s)};for(var zt=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},cA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},oo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vc=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zt=0;Zt<oo.length;Zt++)vc[oo.charCodeAt(Zt)]=Zt;for(var io="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=typeof Uint8Array>"u"?[]:new Uint8Array(256),$t=0;$t<io.length;$t++)ft[io.charCodeAt($t)]=$t;for(var Sc=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=ft[t.charCodeAt(r)],o=ft[t.charCodeAt(r+1)],i=ft[t.charCodeAt(r+2)],a=ft[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},Lc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Tc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},De=5,fs=11,ws=2,Kc=fs-De,ao=65536>>De,Dc=1<<De,hs=Dc-1,Oc=1024>>De,Rc=ao+Oc,Mc=Rc,Nc=32,_c=Mc+Nc,Gc=65536>>fs,Vc=1<<Kc,kc=Vc-1,co=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Pc=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Xc=function(t,A){var e=Sc(t),r=Array.isArray(e)?Tc(e):new Uint32Array(e),s=Array.isArray(e)?Lc(e):new Uint16Array(e),n=24,o=co(s,n/2,r[4]/2),i=r[5]===2?co(s,(n+r[4])/2):Pc(r,Math.ceil((n+r[4])/4));return new Wc(r[0],r[1],r[2],r[3],o,i)},Wc=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>De],e=(e<<ws)+(A&hs),this.data[e];if(A<=65535)return e=this.index[ao+(A-55296>>De)],e=(e<<ws)+(A&hs),this.data[e];if(A<this.highStart)return e=_c-Gc+(A>>fs),e=this.index[e],e+=A>>De&kc,e=this.index[e],e=(e<<ws)+(A&hs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),lo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jc=typeof Uint8Array>"u"?[]:new Uint8Array(256),qt=0;qt<lo.length;qt++)Jc[lo.charCodeAt(qt)]=qt;var Yc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc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wADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAc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AAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgA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4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBL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UABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABA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UABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQ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AAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKw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EAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlAC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FcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Bo=50,jc=1,go=2,uo=3,zc=4,Zc=5,fo=7,wo=8,ho=9,me=10,ps=11,po=12,Qs=13,$c=14,wt=15,Cs=16,Ar=17,ht=18,qc=19,Qo=20,Us=21,pt=22,Fs=23,ze=24,GA=25,Qt=26,Ct=27,Ze=28,Al=29,Oe=30,el=31,er=32,tr=33,ms=34,Es=35,xs=36,Ut=37,ys=38,rr=39,sr=40,Hs=41,Co=42,tl=43,rl=[9001,65288],Uo="!",_="×",nr="÷",bs=Xc(Yc),fe=[Oe,xs],Is=[jc,go,uo,Zc],Fo=[me,wo],mo=[Ct,Qt],sl=Is.concat(Fo),Eo=[ys,rr,sr,ms,Es],nl=[wt,Qs],ol=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=bs.get(n);if(i>Bo?(s.push(!0),i-=Bo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(Cs);if(i===zc||i===ps){if(o===0)return r.push(o),e.push(Oe);var a=e[o-1];return sl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(Oe))}if(r.push(o),i===el)return e.push(A==="strict"?Us:Ut);if(i===Co||i===Al)return e.push(Oe);if(i===tl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(Ut):e.push(Oe);e.push(i)}),[r,e,s]},vs=function(t,A,e,r){var s=r[e];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var n=e;n<=r.length;){n++;var o=r[n];if(o===A)return!0;if(o!==me)break}if(s===me)for(var n=e;n>0;){n--;var i=r[n];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var a=e;a<=r.length;){a++;var o=r[a];if(o===A)return!0;if(o!==me)break}if(i!==me)break}return!1},xo=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===me)e--;else return r}return 0},il=function(t,A,e,r,s){if(e[r]===0)return _;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return _;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===go&&c===uo)return _;if(Is.indexOf(a)!==-1)return Uo;if(Is.indexOf(c)!==-1||Fo.indexOf(c)!==-1)return _;if(xo(n,A)===wo)return nr;if(bs.get(t[n])===ps||(a===er||a===tr)&&bs.get(t[i])===ps||a===fo||c===fo||a===ho||[me,Qs,wt].indexOf(a)===-1&&c===ho||[Ar,ht,qc,ze,Ze].indexOf(c)!==-1||xo(n,A)===pt||vs(Fs,pt,n,A)||vs([Ar,ht],Us,n,A)||vs(po,po,n,A))return _;if(a===me)return nr;if(a===Fs||c===Fs)return _;if(c===Cs||a===Cs)return nr;if([Qs,wt,Us].indexOf(c)!==-1||a===$c||l===xs&&nl.indexOf(a)!==-1||a===Ze&&c===xs||c===Qo||fe.indexOf(c)!==-1&&a===GA||fe.indexOf(a)!==-1&&c===GA||a===Ct&&[Ut,er,tr].indexOf(c)!==-1||[Ut,er,tr].indexOf(a)!==-1&&c===Qt||fe.indexOf(a)!==-1&&mo.indexOf(c)!==-1||mo.indexOf(a)!==-1&&fe.indexOf(c)!==-1||[Ct,Qt].indexOf(a)!==-1&&(c===GA||[pt,wt].indexOf(c)!==-1&&A[i+1]===GA)||[pt,wt].indexOf(a)!==-1&&c===GA||a===GA&&[GA,Ze,ze].indexOf(c)!==-1)return _;if([GA,Ze,ze,Ar,ht].indexOf(c)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===GA)return _;if([Ze,ze].indexOf(f)!==-1)B--;else break}if([Ct,Qt].indexOf(c)!==-1)for(var B=[Ar,ht].indexOf(a)!==-1?o:n;B>=0;){var f=A[B];if(f===GA)return _;if([Ze,ze].indexOf(f)!==-1)B--;else break}if(ys===a&&[ys,rr,ms,Es].indexOf(c)!==-1||[rr,ms].indexOf(a)!==-1&&[rr,sr].indexOf(c)!==-1||[sr,Es].indexOf(a)!==-1&&c===sr||Eo.indexOf(a)!==-1&&[Qo,Qt].indexOf(c)!==-1||Eo.indexOf(c)!==-1&&a===Ct||fe.indexOf(a)!==-1&&fe.indexOf(c)!==-1||a===ze&&fe.indexOf(c)!==-1||fe.concat(GA).indexOf(a)!==-1&&c===pt&&rl.indexOf(t[i])===-1||fe.concat(GA).indexOf(c)!==-1&&a===ht)return _;if(a===Hs&&c===Hs){for(var u=e[n],h=1;u>0&&(u--,A[u]===Hs);)h++;if(h%2!==0)return _}return a===er&&c===tr?_:nr},al=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=ol(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(i){return[GA,Oe,Co].indexOf(i)!==-1?Ut:i}));var o=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&t[a]>=19968&&t[a]<=40959}):void 0;return[r,s,o]},cl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===Uo,this.start=r,this.end=s}return t.prototype.slice=function(){return cA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),ll=function(t,A){var e=zt(t),r=al(e,A),s=r[0],n=r[1],o=r[2],i=e.length,a=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var c=_;l<i&&(c=il(e,n,s,++l,o))===_;);if(c!==_||l===i){var B=new cl(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const Bl=1,gl=2,$e=4,yo=8,or=10,Ho=47,Ft=92,dl=9,ul=32,ir=34,mt=61,fl=35,wl=36,hl=37,ar=39,cr=40,Et=41,pl=95,KA=45,Ql=33,Cl=60,Ul=62,Fl=64,ml=91,El=93,xl=61,yl=123,lr=63,Hl=125,bo=124,bl=126,Il=128,Io=65533,Ss=42,Re=43,vl=44,Sl=58,Ll=59,xt=46,Tl=0,Kl=8,Dl=11,Ol=14,Rl=31,Ml=127,ne=-1,vo=48,So=97,Lo=101,Nl=102,_l=117,Gl=122,To=65,Ko=69,Do=70,Vl=85,kl=90,HA=t=>t>=vo&&t<=57,Pl=t=>t>=55296&&t<=57343,qe=t=>HA(t)||t>=To&&t<=Do||t>=So&&t<=Nl,Xl=t=>t>=So&&t<=Gl,Wl=t=>t>=To&&t<=kl,Jl=t=>Xl(t)||Wl(t),Yl=t=>t>=Il,Br=t=>t===or||t===dl||t===ul,gr=t=>Jl(t)||Yl(t)||t===pl,Oo=t=>gr(t)||HA(t)||t===KA,jl=t=>t>=Tl&&t<=Kl||t===Dl||t>=Ol&&t<=Rl||t===Ml,Ee=(t,A)=>t!==Ft?!1:A!==or,dr=(t,A,e)=>t===KA?gr(A)||Ee(A,e):gr(t)?!0:!!(t===Ft&&Ee(t,A)),Ls=(t,A,e)=>t===Re||t===KA?HA(A)?!0:A===xt&&HA(e):HA(t===xt?A:t),zl=t=>{let A=0,e=1;(t[A]===Re||t[A]===KA)&&(t[A]===KA&&(e=-1),A++);const r=[];for(;HA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(cA(...r),10):0;t[A]===xt&&A++;const n=[];for(;HA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(cA(...n),10):0;(t[A]===Ko||t[A]===Lo)&&A++;let a=1;(t[A]===Re||t[A]===KA)&&(t[A]===KA&&(a=-1),A++);const l=[];for(;HA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(cA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},Zl={type:2},$l={type:3},ql={type:4},AB={type:13},eB={type:8},tB={type:21},rB={type:9},sB={type:10},nB={type:11},oB={type:12},iB={type:14},ur={type:23},aB={type:1},cB={type:25},lB={type:24},BB={type:26},gB={type:27},dB={type:28},uB={type:29},fB={type:31},Ts={type:32};class Ro{constructor(){this._value=[]}write(A){this._value=this._value.concat(zt(A))}read(){const A=[];let e=this.consumeToken();for(;e!==Ts;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case ir:return this.consumeStringToken(ir);case fl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Oo(e)||Ee(r,s)){const u=dr(e,r,s)?gl:Bl;return{type:5,value:this.consumeName(),flags:u}}break;case wl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),AB;break;case ar:return this.consumeStringToken(ar);case cr:return Zl;case Et:return $l;case Ss:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),iB;break;case Re:if(Ls(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case vl:return ql;case KA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Ls(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(dr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===KA&&i===Ul)return this.consumeCodePoint(),this.consumeCodePoint(),lB;break;case xt:if(Ls(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ho:if(this.peekCodePoint(0)===Ss)for(this.consumeCodePoint();;){let u=this.consumeCodePoint();if(u===Ss&&(u=this.consumeCodePoint(),u===Ho))return this.consumeToken();if(u===ne)return this.consumeToken()}break;case Sl:return BB;case Ll:return gB;case Cl:if(this.peekCodePoint(0)===Ql&&this.peekCodePoint(1)===KA&&this.peekCodePoint(2)===KA)return this.consumeCodePoint(),this.consumeCodePoint(),cB;break;case Fl:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(dr(a,l,c))return{type:7,value:this.consumeName()};break;case ml:return dB;case Ft:if(Ee(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case El:return uB;case xl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),eB;break;case yl:return nB;case Hl:return oB;case _l:case Vl:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===Re&&(qe(f)||f===lr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case bo:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),rB;if(this.peekCodePoint(0)===bo)return this.consumeCodePoint(),tB;break;case bl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),sB;break;case ne:return Ts}return Br(A)?(this.consumeWhiteSpace(),fB):HA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):gr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:cA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;qe(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===lr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(cA(...A.map(i=>i===lr?vo:i)),16),o=parseInt(cA(...A.map(i=>i===lr?Do:i)),16);return{type:30,start:n,end:o}}const s=parseInt(cA(...A),16);if(this.peekCodePoint(0)===KA&&qe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;qe(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(cA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===cr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===cr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ne)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===ar||e===ir){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===Et)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),ur)}for(;;){const r=this.consumeCodePoint();if(r===ne||r===Et)return{type:22,value:cA(...A)};if(Br(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===Et?(this.consumeCodePoint(),{type:22,value:cA(...A)}):(this.consumeBadUrlRemnants(),ur);if(r===ir||r===ar||r===cr||jl(r))return this.consumeBadUrlRemnants(),ur;if(r===Ft)if(Ee(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ur;else A.push(r)}}consumeWhiteSpace(){for(;Br(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===Et||A===ne)return;Ee(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=cA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===ne||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===or)return this._value.splice(0,r),aB;if(s===Ft){const n=this._value[r+1];n!==ne&&n!==void 0&&(n===or?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ee(s,n)&&(e+=this.consumeStringSlice(r),e+=cA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=$e,r=this.peekCodePoint(0);for((r===Re||r===KA)&&A.push(this.consumeCodePoint());HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===xt&&HA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=yo;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===Ko||r===Lo)&&((s===Re||s===KA)&&HA(n)||HA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=yo;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[zl(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(dr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===hl?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(qe(A)){let e=cA(A);for(;qe(this.peekCodePoint(0))&&e.length<6;)e+=cA(this.consumeCodePoint());Br(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||Pl(r)||r>1114111?Io:r}return A===ne?Io:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Oo(e))A+=cA(e);else if(Ee(e,this.peekCodePoint(0)))A+=cA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class At{constructor(A){this._tokens=A}static create(A){const e=new Ro;return e.write(A),new At(e.read())}static parseValue(A){return At.create(A).parseComponentValue()}static parseValues(A){return At.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||hB(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?Ts:A}reconsumeToken(A){this._tokens.unshift(A)}}const oe=t=>t.type===15,BA=t=>t.type===17,R=t=>t.type===20,wB=t=>t.type===0,yt=(t,A)=>R(t)&&t.value===A,fr=t=>t.type!==31,UA=t=>t.type!==31&&t.type!==4,zA=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},hB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,iA=(t,A,e)=>Math.min(Math.max(t,A),e),DA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],xe=t=>DA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),Ks=t=>DA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Me=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),Ds=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),pB=t=>{const[A,e,r]=Me(xe([t[0],t[1],t[2]]));return[A,e,r,t[3]]},QB=t=>{const[A,e,r]=xe([t[0],t[1],t[2]]);return[iA(Math.round(A*255),0,255),iA(Math.round(e*255),0,255),iA(Math.round(r*255),0,255),t[3]]},ye=t=>t.type===17||t.type===15,J=t=>t.type===16||ye(t),CB=t=>t.type===18&&t.name==="calc",UB=(t,A=0)=>{const e=r=>{let s="";for(const n of r)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;s+=`(${o})`}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?s+=` ${o} `:o==="("?s+="(":o===")"&&(s+=")")}}return s};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const s=new Function("return "+r)();if(typeof s=="number"&&!isNaN(s))return{type:17,number:s,flags:$e}}catch{return null}return null},Mo=t=>t.length>1?[t[0],t[1]]:[t[0]],gA={type:17,number:0,flags:$e},Ne={type:16,number:50,flags:$e},ie={type:16,number:100,flags:$e},Ht=(t,A,e)=>{const[r,s]=t;return[O(r,A),O(typeof s<"u"?s:r,e)]},O=(t,A)=>{if(t.type===16)return t.number/100*A;if(oe(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},No="deg",_o="grad",Go="rad",Vo="turn",et={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case No:return Math.PI*A.number/180;case _o:return Math.PI/200*A.number;case Go:return A.number;case Vo:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},ko=t=>t.type===15&&(t.unit===No||t.unit===_o||t.unit===Go||t.unit===Vo),Po=t=>{switch(t.filter(R).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[gA,gA];case"to top":case"bottom":return PA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[gA,ie];case"to right":case"left":return PA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ie,ie];case"to bottom":case"top":return PA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ie,gA];case"to left":case"right":return PA(270)}return 0},PA=t=>Math.PI*t/180,He=t=>(255&t)===0,eA=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,s=255&t>>24;return A<255?`rgba(${s},${r},${e},${A/255})`:`rgb(${s},${r},${e})`},ZA=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,be=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},_e=t=>(t[0].type===20?t[0].value:"unknown")==="from",FB=t=>ZA(iA(Math.round(t[0]*255),0,255),iA(Math.round(t[1]*255),0,255),iA(Math.round(t[2]*255),0,255),iA(t[3],0,1)),Os=([t,A,e,r])=>{const s=Me([t,A,e]);return ZA(iA(Math.round(s[0]*255),0,255),iA(Math.round(s[1]*255),0,255),iA(Math.round(s[2]*255),0,255),r)},bt=t=>{const A=xe([t[0],t[1],t[2]]);return Os([A[0],A[1],A[2],t[3]])},mB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=wr(A),o=Me(xe(Qr([e,r,s])));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},EB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=wr(A),o=Me(xe(pr([e,r,s])));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},xB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=Yo(A),o=Me(xe(pr(hr([e,r,s]))));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},yB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=Jo(A),o=Me(xe(Qr(hr([e,r,s]))));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},Xo=(t,A)=>{const e=A.filter(UA),[r,s,n,o]=e,i=(r.type===17?PA(r.number):et.parse(t,r))/(Math.PI*2),a=J(s)?s.number/100:0,l=J(n)?n.number/100:0,c=typeof o<"u"&&J(o)?O(o,1):1;return[i,a,l,c]},Wo=(t,A)=>{if(_e(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=Xo(t,A),o=zo([e,r,s]);return ZA(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},Jo=t=>{const A=t.filter(UA),e=J(A[0])?A[0].number:0,r=J(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},wr=t=>{const A=t.filter(UA),e=A[0].type===16?A[0].number/100:BA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:BA(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},Yo=t=>{const A=t.filter(UA),e=A[0].type===16?A[0].number/100:BA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:BA(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},jo=t=>DA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Rs=t=>DA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Ms=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),zo=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,s=e*2-r,n=Ms(s,r,t+1/3),o=Ms(s,r,t),i=Ms(s,r,t-1/3);return[n,o,i]},hr=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),pr=t=>{const A=DA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return DA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Qr=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,s=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,t[0]>8?A**3:t[0]/s,(r>n?r**3:(116*r-16)/s)*(1-.3457-.3585)/.3585];return Rs([o[0],o[1],o[2]])},HB=(t,A)=>{const e=A.filter(UA);if(e.length===3){const[r,s,n]=e.map(be),o=Ds([r/255,s/255,n/255]),[i,a,l]=Ks([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(be),i=Ds([r/255,s/255,n/255]),[a,l,c]=Ks([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},bB=(t,A)=>{const[e,r,s,n]=Xo(t,A),o=Ds(zo([e,r,s])),[i,a,l]=Ks([o[0],o[1],o[2]]);return[i,a,l,n]},IB=(t,A)=>{const[e,r,s,n]=wr(A),[o,i,a]=Qr([e,r,s]);return[o,i,a,n]},vB=(t,A)=>{const[e,r,s,n]=Jo(A),[o,i,a]=Qr(hr([e,r,s]));return[o,i,a,n]},SB=(t,A)=>{const[e,r,s,n]=Yo(A),[o,i,a]=pr(hr([e,r,s]));return[o,i,a,n]},LB=(t,A)=>{const[e,r,s,n]=wr(A),[o,i,a]=pr([e,r,s]);return[o,i,a,n]},TB=t=>Rs([t[0],t[1],t[2]]),Zo=t=>t,KB=t=>{const[A,e,r]=jo([t[0],t[2],t[3]]);return[A,e,r,t[3]]},$o=t=>bt([t[0],t[1],t[2],t[3]]),DB=t=>{const A=TB([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},OB=t=>DA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),RB=t=>DA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),MB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),NB=t=>Me(t),_B=t=>{const A=MB([t[0],t[1],t[2]]);return OB([A[0],A[1],A[2]])},GB=t=>{const[A,e,r]=NB(RB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},VB=t=>{const A=_B([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},kB=t=>DA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),PB=t=>DA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),XB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**2.19921875});return[A[0],A[1],A[2]]},WB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**.4547069271758437});return[A[0],A[1],A[2]]},JB=t=>{const[A,e,r]=WB(kB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},YB=t=>{const A=xe(PB(XB([t[0],t[1],t[2]])));return Os([A[0],A[1],A[2],t[3]])},jB=t=>DA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),zB=t=>DA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),ZB=t=>t.map(A=>A<16/512?A/16:A**1.8),$B=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),qB=t=>{const A=ZB([t[0],t[1],t[2]]);return Rs(jB([A[0],A[1],A[2]]))},Ag=t=>{const[A,e,r]=$B(zB(jo([t[0],t[1],t[2]])));return[A,e,r,t[3]]},eg=t=>{const A=qB([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},Cr=1.09929682680944,qo=.018053968510807,tg=t=>t.map(function(A){return A<qo*4.5?A/4.5:Math.pow((A+Cr-1)/Cr,1/.45)}),rg=t=>t.map(function(A){return A>=qo?Cr*Math.pow(A,.45)-(Cr-1):4.5*A}),sg=t=>DA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),ng=t=>DA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),og=t=>{const A=tg([t[0],t[1],t[2]]);return sg([A[0],A[1],A[2]])},ig=t=>{const[A,e,r]=rg(ng([t[0],t[1],t[2]]));return[A,e,r,t[3]]},ag=t=>{const A=og([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},Ie={name:"color",parse:(t,A)=>{if(A.type===18){const e=gg[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,s,n]=Ai(A);return ZA(e,r,s,n)}if(A.type===20){const e=ae[A.value.toUpperCase()];if(typeof e<"u")return e}return ae.TRANSPARENT}},Ai=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),s=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(s+s,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(s,16)/255]}return[0,0,0,1]},ei=(t,A)=>{const e=A.filter(UA);if(_e(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(be);return ZA(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(be);return ZA(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=be(e[0],0),s=be(e[1],1),n=be(e[2],2),o=be(e[4],3);return ZA(r,s,n,o)}return 0},cg=(t,A)=>{const e=A.filter(UA),r=e[0].type===20?e[0].value:"unknown";if(!_e(e)){const n=r,o=ti[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=BA(e[1])?e[1].number:0,a=BA(e[2])?e[2].number:0,l=BA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&BA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(w,b)=>{if(BA(b))return b.number;const H=D=>D==="r"||D==="x"?0:D==="g"||D==="y"?1:2;if(R(b)){const D=H(b.value);return w[D]}const m=D=>{const k=D.filter(UA);let X="(";for(const K of k)X+=K.type===18&&K.name==="calc"?m(K.values):BA(K)?K.number:K.type===6||R(K)?K.value:"";return X+=")",X};if(b.type===18){const D=b.values.filter(UA);if(b.name==="calc"){const k=m(D).replace(/r|x/,w[0].toString()).replace(/g|y/,w[1].toString()).replace(/b|z/,w[2].toString());return new Function("return "+k)()}}return null},o=e[1].type===18?e[1].name:R(e[1])||e[1].type===5?"rgb":"unknown",i=R(e[2])?e[2].value:"unknown";let a=e[1].type===18?e[1].values:R(e[1])?[e[1]]:[];if(R(e[1])){if(typeof ae[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const b=tt(t,e[1].value),H=255&b,m=255&b>>8,D=255&b>>16;a=[{type:17,number:255&b>>24,flags:1},{type:17,number:D,flags:1},{type:17,number:m,flags:1},{type:17,number:H>1?H/255:H,flags:1}]}}else if(e[1].type===5){const[w,b,H,m]=Ai(e[1]);a=[{type:17,number:w,flags:1},{type:17,number:b,flags:1},{type:17,number:H,flags:1},{type:17,number:m>1?m/255:m,flags:1}]}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(i==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const l=lg[o],c=Bg[i],B=ti[i];if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);const f=l(t,a),u=c(f),h=n(u,e[3]),p=n(u,e[4]),C=n(u,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&BA(e[7])?e[7].number:1;if(h===null||p===null||C===null)throw new Error("Invalid relative color in color() function");return B([h,p,C,y])}},ti={srgb:FB,"srgb-linear":Os,"display-p3":VB,"a98-rgb":YB,"prophoto-rgb":eg,xyz:$o,"xyz-d50":DB,"xyz-d65":$o,rec2020:ag},lg={rgb:HB,hsl:bB,lab:IB,lch:vB,oklab:LB,oklch:SB},Bg={srgb:pB,"srgb-linear":QB,"display-p3":GB,"a98-rgb":JB,"prophoto-rgb":Ag,xyz:Zo,"xyz-d50":KB,"xyz-d65":Zo,rec2020:ig},gg={hsl:Wo,hsla:Wo,rgb:ei,rgba:ei,lch:yB,oklch:xB,oklab:EB,lab:mB,color:cg},tt=(t,A)=>Ie.parse(t,At.create(A).parseComponentValue()),ae={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},ug={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=(t,A)=>{const e=Ie.parse(t,A[0]),r=A[1];return r&&J(r)?{color:e,stop:r}:{color:e,stop:null}},ri=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=gA),r.stop===null&&(r.stop=ie);const s=[];let n=0;for(let i=0;i<t.length;i++){const a=t[i].stop;if(a!==null){const l=O(a,A);l>n?s.push(l):s.push(n),n=l}else s.push(null)}let o=null;for(let i=0;i<s.length;i++){const a=s[i];if(a===null)o===null&&(o=i);else if(o!==null){const l=i-o,c=s[o-1],B=(a-c)/(l+1);for(let f=1;f<=l;f++)s[o+f-1]=B*f;o=null}}return t.map(({color:i},a)=>({color:i,stop:Math.max(Math.min(1,s[a]/A),0)}))},fg=(t,A,e)=>{const r=A/2,s=e/2,n=O(t[0],A)-r,o=s-O(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},wg=(t,A,e)=>{const r=typeof t=="number"?t:fg(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,i=s/2,a=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[s,n-l,n+l,o-a,o+a]},$A=(t,A)=>Math.sqrt(t*t+A*A),si=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,i)=>{const[a,l]=i,c=$A(e-a,r-l);return(s?c<o.optimumDistance:c>o.optimumDistance)?{optimumCorner:i,optimumDistance:c}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,hg=(t,A,e,r,s)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(t.shape===0)n=o=Math.min($A(A,e),$A(A,e-s),$A(A-r,e),$A(A-r,e-s));else if(t.shape===1){const i=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[a,l]=si(r,s,A,e,!0);n=$A(a-A,(l-e)/i),o=i*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(t.shape===0)n=o=Math.max($A(A,e),$A(A,e-s),$A(A-r,e),$A(A-r,e-s));else if(t.shape===1){const i=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[a,l]=si(r,s,A,e,!1);n=$A(a-A,(l-e)/i),o=i*n}break}return Array.isArray(t.size)&&(n=O(t.size[0],r),o=t.size.length===2?O(t.size[1],s):n),[n,o]},pg=(t,A)=>{let e=PA(180);const r=[];return zA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=Po(s);return}else if(ko(i)){e=et.parse(t,i);return}}const o=Ur(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Fr=(t,A)=>{let e=PA(180);const r=[];return zA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){e=Po(s);return}else if(ko(i)){e=(et.parse(t,i)+PA(270))%PA(360);return}}const o=Ur(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Qg=(t,A)=>{const e=PA(180),r=[];let s=1;const n=0,o=3,i=[];return zA(A).forEach((a,l)=>{const c=a[0];if(l===0){if(R(c)&&c.value==="linear"){s=1;return}else if(R(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){const B=Ie.parse(t,c.values[0]);r.push({stop:gA,color:B})}else if(c.name==="to"){const B=Ie.parse(t,c.values[0]);r.push({stop:ie,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(UA);if(B.length===2){const f=Ie.parse(t,B[1]),u=B[0];BA(u)&&r.push({stop:{type:16,number:u.number*100,flags:u.flags},color:f})}}}}),s===1?{angle:(e+PA(180))%PA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},ni="closest-side",oi="farthest-side",ii="closest-corner",ai="farthest-corner",ci="circle",li="ellipse",Bi="cover",gi="contain",Cg=(t,A)=>{let e=0,r=3;const s=[],n=[];return zA(A).forEach((o,i)=>{let a=!0;if(i===0){let l=!1;a=o.reduce((c,B)=>{if(l)if(R(B))switch(B.value){case"center":return n.push(Ne),c;case"top":case"left":return n.push(gA),c;case"right":case"bottom":return n.push(ie),c}else(J(B)||ye(B))&&n.push(B);else if(R(B))switch(B.value){case ci:return e=0,!1;case li:return e=1,!1;case"at":return l=!0,!1;case ni:return r=0,!1;case Bi:case oi:return r=1,!1;case gi:case ii:return r=2,!1;case ai:return r=3,!1}else if(ye(B)||J(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},a)}if(a){const l=Ur(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},mr=(t,A)=>{let e=0,r=3;const s=[],n=[];return zA(A).forEach((o,i)=>{let a=!0;if(i===0?a=o.reduce((l,c)=>{if(R(c))switch(c.value){case"center":return n.push(Ne),!1;case"top":case"left":return n.push(gA),!1;case"right":case"bottom":return n.push(ie),!1}else if(J(c)||ye(c))return n.push(c),!1;return l},a):i===1&&(a=o.reduce((l,c)=>{if(R(c))switch(c.value){case ci:return e=0,!1;case li:return e=1,!1;case gi:case ni:return r=0,!1;case oi:return r=1,!1;case ii:return r=2,!1;case Bi:case ai:return r=3,!1}else if(ye(c)||J(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},a)),a){const l=Ur(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Ug=t=>t.type===1,Fg=t=>t.type===2,Ns={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=di[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function mg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!di[t.name])}const di={"linear-gradient":pg,"-moz-linear-gradient":Fr,"-ms-linear-gradient":Fr,"-o-linear-gradient":Fr,"-webkit-linear-gradient":Fr,"radial-gradient":Cg,"-moz-radial-gradient":mr,"-ms-radial-gradient":mr,"-o-radial-gradient":mr,"-webkit-radial-gradient":mr,"-webkit-gradient":Qg},Eg={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>UA(r)&&mg(r)).map(r=>Ns.parse(t,r))}},xg={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},yg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>zA(A).map(e=>e.map(r=>CB(r)?UB(r,0):J(r)?r:null).filter(r=>r!==null)).map(Mo)},Hg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>zA(A).map(e=>e.filter(R).map(r=>r.value).join(" ")).map(bg)},bg=t=>{switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};var rt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(rt||(rt={}));const Ig={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>zA(A).map(e=>e.filter(vg))},vg=t=>R(t)||J(t),Er=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Sg=Er("top"),Lg=Er("right"),Tg=Er("bottom"),Kg=Er("left"),xr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>Mo(e.filter(J))}),Dg=xr("top-left"),Og=xr("top-right"),Rg=xr("bottom-right"),Mg=xr("bottom-left"),yr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),Ng=yr("top"),_g=yr("right"),Gg=yr("bottom"),Vg=yr("left"),Hr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>oe(e)?e.number:0}),kg=Hr("top"),Pg=Hr("right"),Xg=Hr("bottom"),Wg=Hr("left"),_s={type:0},Gs=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":J(A)?A:"closest-side":"closest-side"},ui=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=gA;break;case"right":A=ie;break;case"top":e=gA;break;case"bottom":e=ie;break;case"center":A===null?A=Ne:e===null&&(e=Ne);break}else J(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Ne,cy:e??Ne}},Jg=t=>{const A=[];for(const o of t)if(o.type!==31){if(R(o)&&o.value==="round")break;J(o)&&A.push(o)}const e=A[0]??gA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},Yg=t=>{const A=t.filter(fr),e=A.findIndex(n=>yt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:Gs(r),...ui(s)}},jg=t=>{const A=t.filter(fr),e=A.findIndex(n=>yt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:Gs(r.slice(0,1)),ry:Gs(r.slice(1,2)),...ui(s)}},zg=t=>{const A=zA(t),e=[];for(const r of A){if(r.length===1&&R(r[0]))continue;const s=r.filter(J);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},Zg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:_s},$g={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return _s;if(A.type===18)switch(A.name){case"inset":return Jg(A.values);case"circle":return Yg(A.values);case"ellipse":return jg(A.values);case"polygon":return zg(A.values);case"path":return Zg(A.values)}return _s}},qg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ad={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},ed={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|td(r.value),0)},td=t=>{switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},rd={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},sd={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var br;(function(t){t.NORMAL="normal",t.STRICT="strict"})(br||(br={}));const nd={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?br.STRICT:br.NORMAL},od={name:"line-height",initialValue:"normal",prefix:!1,type:4},fi=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:J(t)?O(t,A):A,id={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:Ns.parse(t,A)},ad={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Ir=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),cd=Ir("top"),ld=Ir("right"),Bd=Ir("bottom"),gd=Ir("left"),dd={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},ud={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},vr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),fd=vr("top"),wd=vr("right"),hd=vr("bottom"),pd=vr("left"),Qd={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Cd={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ud={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&yt(A[0],"none")?[]:zA(A).map(e=>{const r={color:ae.TRANSPARENT,offsetX:gA,offsetY:gA,blur:gA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];ye(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=Ie.parse(t,o)}return r})},Fd={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},md={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=Ed[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},Ed={matrix:(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(l=>l.type===17).map(l=>l.number),[r,s,{},{},n,o,{},{},{},{},{},{},i,a]=e;return e.length===16?[r,s,n,o,i,a]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=et.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},wi={type:16,number:50,flags:$e},xd=[wi,wi],yd={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(J);return e.length!==2?xd:[e[0],e[1]]}},Hd={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?et.parse(t,A)*180/Math.PI:null},bd={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var It;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(It||(It={}));const Id={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return It.BREAK_ALL;case"keep-all":return It.KEEP_ALL;default:return It.NORMAL}}},vd={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(BA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},hi={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Sd={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>BA(A)?A.number:1},Ld={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Td={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},Kd={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},Dd={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(R(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return oe(A)?A.number:"auto"}},Od={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":oe(A)?A.number:"auto"},Rd={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},Md={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Nd={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>BA(A)?A.number:R(A)&&A.value==="bold"?700:400},_d={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},Gd={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},nA=(t,A)=>(t&A)!==0,Vd={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},kd={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(fr);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&BA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},Pd={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(fr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(R(n)&&n.value!=="none"){const i=o&&BA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},Xd={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(oe).map(e=>hi.parse(t,e))},Wd={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(wB);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,i=s[n+1].value;r.push({open:o,close:i})}return r}},pi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},Jd={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&yt(A[0],"none")?[]:zA(A).map(e=>{const r={color:255,offsetX:gA,offsetY:gA,blur:gA,spread:gA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];yt(o,"inset")?r.inset=!0:ye(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=Ie.parse(t,o)}return r})},Yd={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(R).forEach(s=>{switch(s.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(s=>{r.indexOf(s)===-1&&r.push(s)}),r}},jd={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},zd={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>oe(A)?A.number:0},Zd={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},$d={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|qd(r.value),0)},qd=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Au={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var VA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(VA||(VA={}));const eu={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return VA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return VA.PIXELATED;case"smooth":case"high-quality":return VA.SMOOTH;default:return VA.AUTO}}};class tu{constructor(A,e){this.animationDuration=E(A,Xd,e.animationDuration),this.backgroundClip=E(A,dg,e.backgroundClip),this.backgroundColor=E(A,ug,e.backgroundColor),this.backgroundImage=E(A,Eg,e.backgroundImage),this.backgroundOrigin=E(A,xg,e.backgroundOrigin),this.backgroundPosition=E(A,yg,e.backgroundPosition),this.backgroundRepeat=E(A,Hg,e.backgroundRepeat),this.backgroundSize=E(A,Ig,e.backgroundSize),this.borderTopColor=E(A,Sg,e.borderTopColor),this.borderRightColor=E(A,Lg,e.borderRightColor),this.borderBottomColor=E(A,Tg,e.borderBottomColor),this.borderLeftColor=E(A,Kg,e.borderLeftColor),this.borderTopLeftRadius=E(A,Dg,e.borderTopLeftRadius),this.borderTopRightRadius=E(A,Og,e.borderTopRightRadius),this.borderBottomRightRadius=E(A,Rg,e.borderBottomRightRadius),this.borderBottomLeftRadius=E(A,Mg,e.borderBottomLeftRadius),this.borderTopStyle=E(A,Ng,e.borderTopStyle),this.borderRightStyle=E(A,_g,e.borderRightStyle),this.borderBottomStyle=E(A,Gg,e.borderBottomStyle),this.borderLeftStyle=E(A,Vg,e.borderLeftStyle),this.borderTopWidth=E(A,kg,e.borderTopWidth),this.borderRightWidth=E(A,Pg,e.borderRightWidth),this.borderBottomWidth=E(A,Xg,e.borderBottomWidth),this.borderLeftWidth=E(A,Wg,e.borderLeftWidth),this.boxShadow=E(A,Jd,e.boxShadow),this.clipPath=E(A,$g,e.clipPath),this.color=E(A,qg,e.color),this.direction=E(A,Ad,e.direction),this.display=E(A,ed,e.display),this.float=E(A,rd,e.cssFloat),this.fontFamily=E(A,Rd,e.fontFamily),this.fontSize=E(A,Md,e.fontSize),this.fontStyle=E(A,Gd,e.fontStyle),this.fontVariant=E(A,_d,e.fontVariant),this.fontWeight=E(A,Nd,e.fontWeight),this.letterSpacing=E(A,sd,e.letterSpacing),this.lineBreak=E(A,nd,e.lineBreak),this.lineHeight=E(A,od,e.lineHeight),this.listStyleImage=E(A,id,e.listStyleImage),this.listStylePosition=E(A,ad,e.listStylePosition),this.listStyleType=E(A,Vs,e.listStyleType),this.marginTop=E(A,cd,e.marginTop),this.marginRight=E(A,ld,e.marginRight),this.marginBottom=E(A,Bd,e.marginBottom),this.marginLeft=E(A,gd,e.marginLeft),this.opacity=E(A,Sd,e.opacity);const r=E(A,dd,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=E(A,ud,e.overflowWrap),this.paddingTop=E(A,fd,e.paddingTop),this.paddingRight=E(A,wd,e.paddingRight),this.paddingBottom=E(A,hd,e.paddingBottom),this.paddingLeft=E(A,pd,e.paddingLeft),this.paintOrder=E(A,Yd,e.paintOrder),this.position=E(A,Cd,e.position),this.textAlign=E(A,Qd,e.textAlign),this.textDecorationColor=E(A,Ld,e.textDecorationColor??e.color),this.textDecorationLine=E(A,Td,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=E(A,Kd,e.textDecorationStyle),this.textDecorationThickness=E(A,Dd,e.textDecorationThickness),this.textUnderlineOffset=E(A,Od,e.textUnderlineOffset),this.textShadow=E(A,Ud,e.textShadow),this.textTransform=E(A,Fd,e.textTransform),this.textOverflow=E(A,Au,e.textOverflow),this.transform=E(A,md,e.transform),this.transformOrigin=E(A,yd,e.transformOrigin),this.rotate=E(A,Hd,e.rotate),this.visibility=E(A,bd,e.visibility),this.webkitTextStrokeColor=E(A,jd,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=E(A,zd,e.webkitTextStrokeWidth),this.webkitLineClamp=E(A,Zd,e.webkitLineClamp),this.wordBreak=E(A,Id,e.wordBreak),this.zIndex=E(A,vd,e.zIndex),this.objectFit=E(A,$d,e.objectFit),this.imageRendering=E(A,eu,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return He(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return nA(this.display,4)||nA(this.display,33554432)||nA(this.display,268435456)||nA(this.display,536870912)||nA(this.display,67108864)||nA(this.display,134217728)}}class ru{constructor(A,e){this.content=E(A,Vd,e.content),this.quotes=E(A,Wd,e.quotes)}}class Qi{constructor(A,e){this.counterIncrement=E(A,kd,e.counterIncrement),this.counterReset=E(A,Pd,e.counterReset)}}const E=(t,A,e)=>{const r=new Ro,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new At(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,R(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return et.parse(t,n.parseComponentValue());case"color":return Ie.parse(t,n.parseComponentValue());case"image":return Ns.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return ye(i)?i:gA;case"length-percentage":const a=n.parseComponentValue();return J(a)?a:gA;case"time":return hi.parse(t,n.parseComponentValue())}break}},we=t=>t.nodeType===Node.ELEMENT_NODE,Ci=t=>t.nodeType===Node.TEXT_NODE,st=t=>typeof t.className=="object",vt=t=>we(t)&&typeof t.style<"u"&&!st(t),su=t=>t.tagName==="LI",nu=t=>t.tagName==="OL",Ui=t=>!st(t)&&t.tagName.indexOf("-")>0,ou="data-html2canvas-debug",iu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(ou)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ks=(t,A)=>{const e=iu(t);return e===1||A===e};class Fi{static normalizeElement(A,e){const r={};return vt(A)&&(e.animationDuration.some(s=>s>0)&&(r.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(r.rotate=A.style.rotate,A.style.rotate="0deg",r.transform===void 0&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"))),r}static restoreElement(A,e){vt(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class ce{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,ks(e,3))debugger;this.styles=new tu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&vt(e)&&(this.originalStyles=Fi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=jt(this.context,e),ks(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Fi.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var au="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU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AgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZ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ACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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OAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",St=typeof Uint8Array>"u"?[]:new Uint8Array(256),Sr=0;Sr<mi.length;Sr++)St[mi.charCodeAt(Sr)]=Sr;for(var cu=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=St[t.charCodeAt(r)],o=St[t.charCodeAt(r+1)],i=St[t.charCodeAt(r+2)],a=St[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},lu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Bu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ge=5,Ps=11,Xs=2,gu=Ps-Ge,Ei=65536>>Ge,du=1<<Ge,Ws=du-1,uu=1024>>Ge,fu=Ei+uu,wu=fu,hu=32,pu=wu+hu,Qu=65536>>Ps,Cu=1<<gu,Uu=Cu-1,xi=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Fu=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},mu=function(t,A){var e=cu(t),r=Array.isArray(e)?Bu(e):new Uint32Array(e),s=Array.isArray(e)?lu(e):new Uint16Array(e),n=24,o=xi(s,n/2,r[4]/2),i=r[5]===2?xi(s,(n+r[4])/2):Fu(r,Math.ceil((n+r[4])/4));return new Eu(r[0],r[1],r[2],r[3],o,i)},Eu=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ge],e=(e<<Xs)+(A&Ws),this.data[e];if(A<=65535)return e=this.index[Ei+(A-55296>>Ge)],e=(e<<Xs)+(A&Ws),this.data[e];if(A<this.highStart)return e=pu-Qu+(A>>Ps),e=this.index[e],e+=A>>Ge&Uu,e=this.index[e],e=(e<<Xs)+(A&Ws),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),yi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xu=typeof Uint8Array>"u"?[]:new Uint8Array(256),Lr=0;Lr<yi.length;Lr++)xu[yi.charCodeAt(Lr)]=Lr;var yu=1,Js=2,Ys=3,Hi=4,bi=5,Hu=7,Ii=8,js=9,zs=10,vi=11,Si=12,Li=13,Ti=14,Zs=15,bu=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},Iu=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},vu=mu(au),XA="×",$s="÷",Su=function(t){return vu.get(t)},Lu=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===Js&&o===Ys)return XA;if(n===Js||n===Ys||n===Hi||o===Js||o===Ys||o===Hi)return $s;if(n===Ii&&[Ii,js,vi,Si].indexOf(o)!==-1||(n===vi||n===js)&&(o===js||o===zs)||(n===Si||n===zs)&&o===zs||o===Li||o===bi||o===Hu||n===yu)return XA;if(n===Li&&o===Ti){for(;s===bi;)s=A[--r];if(s===Ti)return XA}if(n===Zs&&o===Zs){for(var i=0;s===Zs;)i++,s=A[--r];if(i%2===0)return XA}return $s},Tu=function(t){var A=bu(t),e=A.length,r=0,s=0,n=A.map(Su);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=XA;r<e&&(o=Lu(A,n,++r))===XA;);if(o!==XA||r===e){var i=Iu.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},Ku=function(t){for(var A=Tu(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Du=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const s=e.getBoundingClientRect(),n=Math.round(s.height);if(t.body.removeChild(r),n===123)return!0}}return!1},Ou=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";const r=A.firstChild,s=zt(r.data).map(a=>cA(a));let n=0,o={};const i=s.every((a,l)=>{e.setStart(r,n),e.setEnd(r,n+a.length);const c=e.getBoundingClientRect();n+=a.length;const B=c.x>o.x||c.y>o.y;return o=c,l===0?!0:B});return t.body.removeChild(A),i},Ru=()=>typeof new Image().crossOrigin<"u",Mu=()=>typeof new XMLHttpRequest().responseType=="string",Nu=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},Ki=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,_u=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const s=new Image,n=A.toDataURL();s.src=n;const o=qs(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Di(o).then(i=>{r.drawImage(i,0,0);const a=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const l=t.createElement("div");return l.style.backgroundImage=`url(${n})`,l.style.height=`${e}px`,Ki(a)?Di(qs(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Ki(r.getImageData(0,0,e,e).data))).catch(()=>!1)},qs=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(s),o},Di=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),FA={get SUPPORT_RANGE_BOUNDS(){const t=Du(document);return Object.defineProperty(FA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=FA.SUPPORT_RANGE_BOUNDS&&Ou(document);return Object.defineProperty(FA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=Nu(document);return Object.defineProperty(FA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?_u(document):Promise.resolve(!1);return Object.defineProperty(FA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Ru();return Object.defineProperty(FA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Mu();return Object.defineProperty(FA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(FA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(FA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Ve{constructor(A,e){this.text=A,this.bounds=e}}const Gu=(t,A,e,r)=>{const s=Pu(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(FA.SUPPORT_RANGE_BOUNDS){const a=Oi(r,o,i.length).getClientRects();if(a.length>1){const l=Tr(i);let c=0;l.forEach(B=>{n.push(new Ve(B,yA.fromDOMRectList(t,Oi(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new Ve(i,yA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new Ve(i,Vu(t,r))),r=a}else FA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},Vu=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const s=A.parentNode;if(s){s.replaceChild(r,A);const n=jt(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return yA.EMPTY},Oi=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const s=r.createRange();return s.setStart(t,A),s.setEnd(t,A+e),s},Tr=t=>{if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Ku(t)},ku=(t,A)=>{if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return Wu(t,A)},Pu=(t,A)=>A.letterSpacing!==0?Tr(t):ku(t,A),Xu=[32,160,4961,65792,65793,4153,4241],Wu=(t,A)=>{const e=ll(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let s;for(;!(s=e.next()).done;)if(s.value){const n=s.value.slice(),o=zt(n);let i="";o.forEach(a=>{Xu.indexOf(a)===-1?i+=cA(a):(i.length&&r.push(i),r.push(cA(a)),i="")}),i.length&&r.push(i)}return r};class Ju{constructor(A,e,r){this.text=Yu(e.data,r.textTransform),this.textBounds=Gu(A,this.text,r,e)}}const Yu=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(ju,zu);case 2:return t.toUpperCase();default:return t}},ju=/(^|\s|:|-|\(|\))([a-z])/g,zu=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Ri extends ce{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class Mi extends ce{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Ni extends ce{constructor(A,e){super(A,e);const r=new XMLSerializer,s=jt(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(r.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class _i extends ce{constructor(A,e){super(A,e),this.value=e.value}}class An extends ce{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const Zu=[{type:15,flags:0,unit:"px",number:3}],$u=[{type:16,flags:0,number:50}],qu=t=>t.width>t.height?new yA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new yA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,Af=t=>{const A=t.type===tf?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},ef=t=>t.value.length===0&&!!t.placeholder,Kr="checkbox",Dr="radio",tf="password",Gi=707406591,rf=1970632191;class Lt extends ce{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=Af(e),this.isPlaceholder=ef(e),(this.type===Kr||this.type===Dr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=qu(this.bounds)),this.type){case Kr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Zu;break;case Dr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=$u;break}}}class Vi extends ce{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class ki extends ce{constructor(A,e){super(A,e),this.value=e.value}}class Pi extends ce{constructor(A,e,r){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=r;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const s=e.contentWindow.document.documentElement?tt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):ae.TRANSPARENT,n=e.contentWindow.document.body?tt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):ae.TRANSPARENT;this.backgroundColor=He(s)?He(n)?this.styles.backgroundColor:n:s}}catch{}}}const sf=["OL","UL","MENU"],Or=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,Ci(s)&&s.data.length>0)e.textNodes.push(new Ju(t,s,e.styles));else if(we(s))if(Tt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Or(t,o,e,r));else{const o=Xi(t,s);o.styles.isVisible()&&(nf(s,o,r)?o.flags|=4:of(o.styles)&&(o.flags|=2),sf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Or(t,s.shadowRoot,o,r):!Rr(s)&&!Ji(s)&&!Mr(s)&&Or(t,s,o,r))}},Xi=(t,A)=>tn(A)?new Ri(t,A):Yi(A)?new Mi(t,A):Ji(A)?new Ni(t,A):su(A)?new _i(t,A):nu(A)?new An(t,A):af(A)?new Lt(t,A):Mr(A)?new Vi(t,A):Rr(A)?new ki(t,A):zi(A)?new Pi(t,A,Wi):new ce(t,A),Wi=(t,A)=>{const e=Xi(t,A);return e.flags|=4,Or(t,A,e,e),e},nf=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||en(t)&&e.styles.isTransparent(),of=t=>t.isPositioned()||t.isFloating()?!0:nA(t.display,268435456)||nA(t.display,33554432)||nA(t.display,536870912)||nA(t.display,134217728),af=t=>t.tagName==="INPUT",cf=t=>t.tagName==="HTML",Ji=t=>t.tagName==="svg",en=t=>t.tagName==="BODY",Yi=t=>t.tagName==="CANVAS",ji=t=>t.tagName==="VIDEO",tn=t=>t.tagName==="IMG",zi=t=>t.tagName==="IFRAME",rn=t=>t.tagName==="STYLE",Zi=t=>t.tagName==="SCRIPT",Rr=t=>t.tagName==="TEXTAREA",Mr=t=>t.tagName==="SELECT",Tt=t=>t.tagName==="SLOT";class lf{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,r=A.counterReset;let s=!0;e!==null&&e.forEach(o=>{const i=this.counters[o.counter];i&&o.increment!==0&&(s=!1,i.length||i.push(1),i[Math.max(0,i.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let i=this.counters[o.counter];n.push(o.counter),i||(i=this.counters[o.counter]=[]),i.push(o.reset)}),n}}const $i={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},qi={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Bf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},gf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},nt=(t,A,e,r,s,n)=>t<A||t>e?Dt(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,Aa=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},lA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(Aa(Math.abs(t),n,r,o=>cA(Math.floor(o%n)+A))+s)},ke=(t,A,e=". ")=>{const r=A.length;return Aa(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},ot=1,ve=2,Se=4,Kt=8,he=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Dt(t,4,s.length>0);let o=Math.abs(t),i=s;if(o===0)return A[0]+i;for(let a=0;o>0&&a<=4;a++){const l=o%10;l===0&&nA(n,ot)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&nA(n,ve)||l===1&&a===1&&nA(n,Se)&&t>100||l===1&&a>1&&nA(n,Kt)?i=A[l]+(a>0?e[a-1]:"")+i:l===1&&a>0&&(i=e[a-1]+i),o=Math.floor(o/10)}return(t<0?r:"")+i},ea="十百千萬",ta="拾佰仟萬",ra="マイナス",sn="마이너스",Dt=(t,A,e)=>{const r=e?". ":"",s=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const i=lA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return ke(t,"〇一二三四五六七八九",s);case 6:return nt(t,1,3999,$i,3,r).toLowerCase();case 7:return nt(t,1,3999,$i,3,r);case 8:return lA(t,945,969,!1,r);case 9:return lA(t,97,122,!1,r);case 10:return lA(t,65,90,!1,r);case 11:return lA(t,1632,1641,!0,r);case 12:case 49:return nt(t,1,9999,qi,3,r);case 35:return nt(t,1,9999,qi,3,r).toLowerCase();case 13:return lA(t,2534,2543,!0,r);case 14:case 30:return lA(t,6112,6121,!0,r);case 15:return ke(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return ke(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return he(t,"零一二三四五六七八九",ea,"負",s,ve|Se|Kt);case 47:return he(t,"零壹貳參肆伍陸柒捌玖",ta,"負",s,ot|ve|Se|Kt);case 42:return he(t,"零一二三四五六七八九",ea,"负",s,ve|Se|Kt);case 41:return he(t,"零壹贰叁肆伍陆柒捌玖",ta,"负",s,ot|ve|Se|Kt);case 26:return he(t,"〇一二三四五六七八九","十百千万",ra,s,0);case 25:return he(t,"零壱弐参四伍六七八九","拾百千万",ra,s,ot|ve|Se);case 31:return he(t,"영일이삼사오육칠팔구","십백천만",sn,n,ot|ve|Se);case 33:return he(t,"零一二三四五六七八九","十百千萬",sn,n,0);case 32:return he(t,"零壹貳參四五六七八九","拾百千",sn,n,ot|ve|Se);case 18:return lA(t,2406,2415,!0,r);case 20:return nt(t,1,19999,gf,3,r);case 21:return lA(t,2790,2799,!0,r);case 22:return lA(t,2662,2671,!0,r);case 52:return nt(t,1,10999,Bf,3,r);case 23:return ke(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ke(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return lA(t,3302,3311,!0,r);case 28:return ke(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return ke(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return lA(t,3792,3801,!0,r);case 37:return lA(t,6160,6169,!0,r);case 38:return lA(t,4160,4169,!0,r);case 39:return lA(t,2918,2927,!0,r);case 40:return lA(t,1776,1785,!0,r);case 43:return lA(t,3046,3055,!0,r);case 44:return lA(t,3174,3183,!0,r);case 45:return lA(t,3664,3673,!0,r);case 46:return lA(t,3872,3881,!0,r);default:return lA(t,48,57,!0,r)}},nn="data-html2canvas-ignore",df=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class sa{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new lf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=df(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=uf(A,e,this.options.iframeContainer);if(!r.contentWindow)throw new Error("Unable to find iframe window");const s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=r.contentWindow,i=o.document,a=hf(r).then(async()=>{this.scrolledElements.forEach(Uf),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const f=this.options.onclone,u=this.clonedReferenceElement;if(typeof u>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return i.fonts&&i.fonts.ready&&await i.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await wf(i),typeof f=="function"?Promise.resolve().then(()=>f(i,u)).then(()=>r):r}),l=i.baseURI;i.open();const c=Qf(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,u=f&&f.trustedTypes;let h=u?.getPolicy?.("html2canvas-pro");!h&&u&&(h=u.createPolicy("html2canvas-pro",{createHTML:p=>p})),h?i.write(h.createHTML(c)):i.write(c)}catch{i.write(c)}Cf(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return yf(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if(ks(A,2))debugger;if(Yi(A))return this.createCanvasClone(A);if(ji(A))return this.createVideoClone(A);if(rn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return tn(e)&&(tn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Ui(e)&&!st(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,on(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(r){this.context.logger.error("Failed to attach shadow root to custom element clone:",r)}return e}createStyleClone(A){try{const r=A.sheet;if(r&&r.cssRules){const s=[].slice.call(r.cssRules,0).reduce((o,i)=>i&&typeof i.cssText=="string"?o+i.cssText:o,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(r){if(this.context.logger.error("Unable to access cssRules property",r),r.name!=="SecurityError")throw r}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const r=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,r){(!we(e)||!Zi(e)&&!e.hasAttribute(nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!we(e)||!rn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!we(A)||!Zi(A)&&!A.hasAttribute(nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!we(A)||!rn(A)}safeAppendClonedChild(A,e,r){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,r))}cloneAssignedNodes(A,e,r){A.forEach(s=>{this.safeAppendClonedChild(e,s,r)})}cloneSlotFallbackContent(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,r)}cloneSlotElement(A,e,r){if(!Tt(A))return;const s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,r);return}const n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,r);return}n.length>0?this.cloneAssignedNodes(n,e,r):this.cloneSlotFallbackContent(A,e,r)}cloneShadowDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)we(s)&&Tt(s)?this.cloneSlotElement(s,e,r):this.safeAppendClonedChild(e,s,r)}cloneLightDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,r)}cloneSlotElementAsLightDOM(A,e,r){if(!Tt(A))return;const s=A;if(typeof s.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r);return}const n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,r));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r)}cloneShadowDOMAsLightDOM(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)we(s)&&Tt(s)?this.cloneSlotElementAsLightDOM(s,e,r):this.appendChildNode(e,s,r)}cloneChildNodes(A,e,r){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,r),this.cloneLightDOMChildren(A,e,r)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,r):this.cloneLightDOMChildren(A,e,r)}cloneNode(A,e){if(Ci(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&we(A)&&(vt(A)||st(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&vt(s)&&(this.clonedReferenceElement=s),en(s)&&Ef(s,this.options.cspNonce);const a=this.counters.parse(new Qi(this.context,n)),l=this.resolvePseudoContent(A,s,o,Ot.BEFORE);Ui(A)&&(e=!0),ji(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,Ot.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||st(A))&&!zi(A)||e)&&on(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(Rr(A)||Mr(A))&&(Rr(s)||Mr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,r,s){if(!r)return;const n=r.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||r.display==="none")return;this.counters.parse(new Qi(this.context,r));const i=new ru(this.context,r),a=o.createElement("html2canvaspseudoelement");on(r,a),i.content.forEach(c=>{if(c.type===0)a.appendChild(o.createTextNode(c.value));else if(c.type===22){const B=o.createElement("img");B.src=c.value,B.style.opacity="1",a.appendChild(B)}else if(c.type===18){if(c.name==="attr"){const B=c.values.filter(R);B.length&&a.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(c.name==="counter"){const[B,f]=c.values.filter(UA);if(B&&R(B)){const u=this.counters.getCounterValue(B.value),h=f&&R(f)?Vs.parse(this.context,f.value):3;a.appendChild(o.createTextNode(Dt(u,h,!1)))}}else if(c.name==="counters"){const[B,f,u]=c.values.filter(UA);if(B&&R(B)){const h=this.counters.getCounterValues(B.value),p=u&&R(u)?Vs.parse(this.context,u.value):3,C=f&&f.type===0?f.value:"",y=h.map(w=>Dt(w,p,!1)).join(C);a.appendChild(o.createTextNode(y))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(pi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(pi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${an} ${cn}`;const l=s===Ot.BEFORE?` ${an}`:` ${cn}`;return st(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Ot;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Ot||(Ot={}));const uf=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(nn,"true"),(e||t.body).appendChild(r),r},ff=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),wf=t=>Promise.all([].slice.call(t.images,0).map(ff)),hf=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const s=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),pf=["all","d","content"],on=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);pf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},Qf=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,""").replace(/>/g,">")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,""")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,""")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,""")+'"'),A+=">"),A},Cf=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},Uf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Ff=":before",mf=":after",an="___html2canvas___pseudoelement_before",cn="___html2canvas___pseudoelement_after",na=`{
|
|
7
|
+
<%s key={someKey} {...props} />`,z,Z,LA,Z),qA[Z+z]=!0)}if(Z=null,V!==void 0&&(e(V),Z=""+V),o(S)&&(e(S.key),Z=""+S.key),"key"in S){V={};for(var Xe in S)Xe!=="key"&&(V[Xe]=S[Xe])}else V=S;return Z&&i(V,typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q),l(Q,Z,V,s(),Ae,vA)}function B(Q){f(Q)?Q._store&&(Q._store.validated=1):typeof Q=="object"&&Q!==null&&Q.$$typeof===T&&(Q._payload.status==="fulfilled"?f(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function f(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===h}var u=U,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),H=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),pA=Symbol.for("react.activity"),dA=Symbol.for("react.client.reference"),j=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,aA=Object.prototype.hasOwnProperty,W=Array.isArray,bA=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(Q){return Q()}};var uA,IA={},Pe=u.react_stack_bottom_frame.bind(u,n)(),lt=bA(r(n)),qA={};dt.Fragment=C,dt.jsx=function(Q,S,V){var z=1e4>j.recentlyCreatedOwnerStacks++;return c(Q,S,V,!1,z?Error("react-stack-top-frame"):Pe,z?bA(r(Q)):lt)},dt.jsxs=function(Q,S,V){var z=1e4>j.recentlyCreatedOwnerStacks++;return c(Q,S,V,!0,z?Error("react-stack-top-frame"):Pe,z?bA(r(Q)):lt)}})()),dt}var vn;function Ka(){return vn||(vn=1,process.env.NODE_ENV==="production"?Pt.exports=La():Pt.exports=Ta()),Pt.exports}var g=Ka(),Xt={exports:{}},Yr={};var Sn;function Da(){if(Sn)return Yr;Sn=1;var t=U;function A(B,f){return B===f&&(B!==0||1/B===1/f)||B!==B&&f!==f}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function i(B,f){var u=f(),h=r({inst:{value:u,getSnapshot:f}}),p=h[0].inst,C=h[1];return n(function(){p.value=u,p.getSnapshot=f,a(p)&&C({inst:p})},[B,u,f]),s(function(){return a(p)&&C({inst:p}),B(function(){a(p)&&C({inst:p})})},[B]),o(u),u}function a(B){var f=B.getSnapshot;B=B.value;try{var u=f();return!e(B,u)}catch{return!0}}function l(B,f){return f()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:i;return Yr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,Yr}var jr={};var Ln;function Oa(){return Ln||(Ln=1,process.env.NODE_ENV!=="production"&&(function(){function t(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}function A(u,h){c||s.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=h();if(!B){var C=h();n(p,C)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}C=o({inst:{value:p,getSnapshot:h}});var y=C[0].inst,w=C[1];return a(function(){y.value=p,y.getSnapshot=h,e(y)&&w({inst:y})},[u,p,h]),i(function(){return e(y)&&w({inst:y}),u(function(){e(y)&&w({inst:y})})},[u]),l(p),p}function e(u){var h=u.getSnapshot;u=u.value;try{var p=h();return!n(u,p)}catch{return!0}}function r(u,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=U,n=typeof Object.is=="function"?Object.is:t,o=s.useState,i=s.useEffect,a=s.useLayoutEffect,l=s.useDebugValue,c=!1,B=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;jr.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),jr}var Tn;function Ra(){return Tn||(Tn=1,process.env.NODE_ENV==="production"?Xt.exports=Da():Xt.exports=Oa()),Xt.exports}var Kn=Ra();const Dn=0,On=1,Rn=2,Mn=3;var Nn=Object.prototype.hasOwnProperty;function zr(t,A){var e,r;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((r=t.length)===A.length)for(;r--&&zr(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(Nn.call(t,e)&&++r&&!Nn.call(A,e)||!(e in A)||!zr(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const de=new WeakMap,ue=()=>{},xA=ue(),Zr=Object,N=t=>t===xA,se=t=>typeof t=="function",Ue=(t,A)=>({...t,...A}),_n=t=>se(t.then),$r={},Wt={},qr="undefined",ut=typeof window!=qr,As=typeof document!=qr,Ma=ut&&"Deno"in window,Na=()=>ut&&typeof window.requestAnimationFrame!=qr,Gn=(t,A)=>{const e=de.get(t);return[()=>!N(A)&&t.get(A)||$r,r=>{if(!N(A)){const s=t.get(A);A in Wt||(Wt[A]=s),e[5](A,Ue(s,r),s||$r)}},e[6],()=>!N(A)&&A in Wt?Wt[A]:!N(A)&&t.get(A)||$r]};let es=!0;const _a=()=>es,[ts,rs]=ut&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ue,ue],Ga=()=>{const t=As&&document.visibilityState;return N(t)||t!=="hidden"},Va=t=>(As&&document.addEventListener("visibilitychange",t),ts("focus",t),()=>{As&&document.removeEventListener("visibilitychange",t),rs("focus",t)}),ka=t=>{const A=()=>{es=!0,t()},e=()=>{es=!1};return ts("online",A),ts("offline",e),()=>{rs("online",A),rs("offline",e)}},Pa={isOnline:_a,isVisible:Ga},Xa={initFocus:Va,initReconnect:ka},Vn=!U.useId,je=!ut||Ma,Wa=t=>Na()?window.requestAnimationFrame(t):setTimeout(t,1),ss=je?U.useEffect:U.useLayoutEffect,ns=typeof navigator<"u"&&navigator.connection,kn=!je&&ns&&(["slow-2g","2g"].includes(ns.effectiveType)||ns.saveData),Jt=new WeakMap,Ja=t=>Zr.prototype.toString.call(t),os=(t,A)=>t===`[object ${A}]`;let Ya=0;const is=t=>{const A=typeof t,e=Ja(t),r=os(e,"Date"),s=os(e,"RegExp"),n=os(e,"Object");let o,i;if(Zr(t)===t&&!r&&!s){if(o=Jt.get(t),o)return o;if(o=++Ya+"~",Jt.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=is(t[i])+",";Jt.set(t,o)}if(n){o="#";const a=Zr.keys(t).sort();for(;!N(i=a.pop());)N(t[i])||(o+=i+":"+is(t[i])+",");Jt.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},as=t=>{if(se(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?is(t):"",[t,A]};let ja=0;const cs=()=>++ja;async function Pn(...t){const[A,e,r,s]=t,n=Ue({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const i=n.rollbackOnError;let a=n.optimisticData;const l=f=>typeof i=="function"?i(f):i!==!1,c=n.throwOnError;if(se(e)){const f=e,u=[],h=A.keys();for(const p of h)!/^\$(inf|sub)\$/.test(p)&&f(A.get(p)._k)&&u.push(p);return Promise.all(u.map(B))}return B(e);async function B(f){const[u]=as(f);if(!u)return;const[h,p]=Gn(A,u),[C,y,w,b]=de.get(A),H=()=>{const W=C[u];return(se(n.revalidate)?n.revalidate(h().data,f):n.revalidate!==!1)&&(delete w[u],delete b[u],W&&W[0])?W[0](Rn).then(()=>h().data):h().data};if(t.length<3)return H();let m=r,D,k=!1;const X=cs();y[u]=[X,0];const T=!N(a),pA=h(),dA=pA.data,j=pA._c,aA=N(j)?dA:j;if(T&&(a=se(a)?a(aA,dA):a,p({data:a,_c:aA})),se(m))try{m=m(aA)}catch(W){D=W,k=!0}if(m&&_n(m))if(m=await m.catch(W=>{D=W,k=!0}),X!==y[u][0]){if(k)throw D;return m}else k&&T&&l(D)&&(o=!0,p({data:aA,_c:xA}));if(o&&!k)if(se(o)){const W=o(m,aA);p({data:W,error:xA,_c:xA})}else p({data:m,error:xA,_c:xA});if(y[u][1]=cs(),Promise.resolve(H()).then(()=>{p({_c:xA})}),k){if(c)throw D;return}return m}}const Xn=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},za=(t,A)=>{if(!de.has(t)){const e=Ue(Xa,A),r=Object.create(null),s=Pn.bind(xA,t);let n=ue;const o=Object.create(null),i=(c,B)=>{const f=o[c]||[];return o[c]=f,f.push(B),()=>f.splice(f.indexOf(B),1)},a=(c,B,f)=>{t.set(c,B);const u=o[c];if(u)for(const h of u)h(B,f)},l=()=>{if(!de.has(t)&&(de.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,a,i]),!je)){const c=e.initFocus(setTimeout.bind(xA,Xn.bind(xA,r,Dn))),B=e.initReconnect(setTimeout.bind(xA,Xn.bind(xA,r,On)));n=()=>{c&&c(),B&&B(),de.delete(t)}}};return l(),[t,s,l,n]}return[t,de.get(t)[4]]},Za=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!N(n)&&o>n||setTimeout(r,i,s)},$a=zr,[Wn,qa]=za(new Map),Ac=Ue({onLoadingSlow:ue,onSuccess:ue,onError:ue,onErrorRetry:Za,onDiscarded:ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:kn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:kn?5e3:3e3,compare:$a,isPaused:()=>!1,cache:Wn,mutate:qa,fallback:{}},Pa),ec=(t,A)=>{const e=Ue(t,A);if(A){const{use:r,fallback:s}=t,{use:n,fallback:o}=A;r&&n&&(e.use=r.concat(n)),s&&o&&(e.fallback=Ue(s,o))}return e},tc=U.createContext({}),rc="$inf$",Jn=ut&&window.__SWR_DEVTOOLS_USE__,sc=Jn?window.__SWR_DEVTOOLS_USE__:[],nc=()=>{Jn&&(window.__SWR_DEVTOOLS_REACT__=U)},oc=t=>se(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],ic=()=>{const t=U.useContext(tc);return U.useMemo(()=>Ue(Ac,t),[t])},ac=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=as(A),[,,,i]=de.get(Wn);if(o.startsWith(rc))return e(...n);const a=i[o];return N(a)?e(...n):(delete i[o],a)}),r),cc=sc.concat(ac),lc=t=>function(...e){const r=ic(),[s,n,o]=oc(e),i=ec(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(cc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},Bc=(t,A,e)=>{const r=A[t]||(A[t]=[]);return r.push(e),()=>{const s=r.indexOf(e);s>=0&&(r[s]=r[r.length-1],r.pop())}};nc();const ls=U.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),Bs={dedupe:!0},Yn=Promise.resolve(xA),gc=()=>ue,jn=lc((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:i,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:c,refreshWhenOffline:B,keepPreviousData:f,strictServerPrefetchWarning:u}=e,[h,p,C,y]=de.get(r),[w,b]=as(t),H=U.useRef(!1),m=U.useRef(!1),D=U.useRef(w),k=U.useRef(A),X=U.useRef(e),T=()=>X.current,pA=()=>T().isVisible()&&T().isOnline(),[dA,j,aA,W]=Gn(r,w),bA=U.useRef({}).current,uA=N(o)?N(e.fallback)?xA:e.fallback[w]:o,IA=($,M)=>{for(const tA in bA){const sA=tA;if(sA==="data"){if(!s($[sA],M[sA])&&(!N($[sA])||!s(vA,M[sA])))return!1}else if(M[sA]!==$[sA])return!1}return!0},Pe=!H.current,lt=U.useMemo(()=>{const $=dA(),M=W(),tA=oA=>{const QA=Ue(oA);return delete QA._k,(()=>{if(!w||!A||T().isPaused())return!1;if(Pe&&!N(i))return i;const ee=N(uA)?QA.data:uA;return N(ee)||a})()?{isValidating:!0,isLoading:!0,...QA}:QA},sA=tA($),mA=$===M?sA:tA(M);let RA=sA;return[()=>{const oA=tA(dA());return IA(oA,RA)?(RA.data=oA.data,RA.isLoading=oA.isLoading,RA.isValidating=oA.isValidating,RA.error=oA.error,RA):(RA=oA,oA)},()=>mA]},[r,w]),qA=Kn.useSyncExternalStore(U.useCallback($=>aA(w,(M,tA)=>{IA(tA,M)||$()}),[r,w]),lt[0],lt[1]),Q=h[w]&&h[w].length>0,S=qA.data,V=N(S)?uA&&_n(uA)?ls(uA):uA:S,z=qA.error,Ae=U.useRef(V),vA=f?N(S)?N(Ae.current)?V:Ae.current:S:V,Z=w&&N(V),LA=U.useRef(null);!je&&Kn.useSyncExternalStore(gc,()=>(LA.current=!1,LA),()=>(LA.current=!0,LA));const Xe=LA.current;u&&Xe&&!n&&Z&&console.warn(`Missing pre-initiated data for serialized key "${w}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const Te=!w||!A||T().isPaused()||Q&&!N(z)?!1:Pe&&!N(i)?i:n?N(V)?!1:a:N(V)||a,Cn=Pe&&Te,We=N(qA.isValidating)?Cn:qA.isValidating,Qe=N(qA.isLoading)?Cn:qA.isLoading,JA=U.useCallback(async $=>{const M=k.current;if(!w||!M||m.current||T().isPaused())return!1;let tA,sA,mA=!0;const RA=$||{},oA=!C[w]||!RA.dedupe,QA=()=>Vn?!m.current&&w===D.current&&H.current:w===D.current,Je={isValidating:!1,isLoading:!1},ee=()=>{j(Je)},Vt=()=>{const fA=C[w];fA&&fA[1]===sA&&delete C[w]},YA={isValidating:!0};N(dA().data)&&(YA.isLoading=!0);try{if(oA&&(j(YA),e.loadingTimeout&&N(dA().data)&&setTimeout(()=>{mA&&QA()&&T().onLoadingSlow(w,e)},e.loadingTimeout),C[w]=[M(b),cs()]),[tA,sA]=C[w],tA=await tA,oA&&setTimeout(Vt,e.dedupingInterval),!C[w]||C[w][1]!==sA)return oA&&QA()&&T().onDiscarded(w),!1;Je.error=xA;const fA=p[w];if(!N(fA)&&(sA<=fA[0]||sA<=fA[1]||fA[1]===0))return ee(),oA&&QA()&&T().onDiscarded(w),!1;const te=dA().data;Je.data=s(te,tA)?te:tA,oA&&QA()&&T().onSuccess(tA,w,e)}catch(fA){Vt();const te=T(),{shouldRetryOnError:Ce}=te;te.isPaused()||(Je.error=fA,oA&&QA()&&(te.onError(fA,w,te),(Ce===!0||se(Ce)&&Ce(fA))&&(!T().revalidateOnFocus||!T().revalidateOnReconnect||pA())&&te.onErrorRetry(fA,w,te,Wr=>{const kA=h[w];kA&&kA[0]&&kA[0](Mn,Wr)},{retryCount:(RA.retryCount||0)+1,dedupe:!0})))}return mA=!1,ee(),!0},[w,r]),Be=U.useCallback((...$)=>Pn(r,D.current,...$),[]);if(ss(()=>{k.current=A,X.current=e,N(S)||(Ae.current=S)}),ss(()=>{if(!w)return;const $=JA.bind(xA,Bs);let M=0;T().revalidateOnFocus&&(M=Date.now()+T().focusThrottleInterval);const sA=Bc(w,h,(mA,RA={})=>{if(mA==Dn){const oA=Date.now();T().revalidateOnFocus&&oA>M&&pA()&&(M=oA+T().focusThrottleInterval,$())}else if(mA==On)T().revalidateOnReconnect&&pA()&&$();else{if(mA==Rn)return JA();if(mA==Mn)return JA(RA)}});return m.current=!1,D.current=w,H.current=!0,j({_k:b}),Te&&(C[w]||(N(V)||je?$():Wa($))),()=>{m.current=!0,sA()}},[w]),ss(()=>{let $;function M(){const sA=se(l)?l(dA().data):l;sA&&$!==-1&&($=setTimeout(tA,sA))}function tA(){!dA().error&&(c||T().isVisible())&&(B||T().isOnline())?JA(Bs).then(M):M()}return M(),()=>{$&&(clearTimeout($),$=-1)}},[l,c,B,w]),U.useDebugValue(vA),n){if(!Vn&&je&&Z)throw new Error("Fallback data is required when using Suspense in SSR.");Z&&(k.current=A,X.current=e,m.current=!1);const $=y[w],M=!N($)&&Z?Be($):Yn;if(ls(M),!N(z)&&Z)throw z;const tA=Z?JA(Bs):Yn;!N(vA)&&Z&&(tA.status="fulfilled",tA.value=!0),ls(tA)}return{mutate:Be,get data(){return bA.data=!0,vA},get error(){return bA.error=!0,z},get isValidating(){return bA.isValidating=!0,We},get isLoading(){return bA.isLoading=!0,Qe}}}),dc=({children:t})=>{const A=U.useRef(null),[e,r]=U.useState(null);return U.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const s=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(i=>{(i.textContent?.includes(".vg-")||i.textContent?.includes("--vg-"))&&s.appendChild(i.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",s.appendChild(o),r(s)}},[]),g.jsx("div",{"data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&Sa.createPortal(t,e)})};const zn=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const uc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const fc=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const Zn=t=>{const A=fc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var wc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const hc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const pc=U.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...i},a)=>U.createElement("svg",{ref:a,...wc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:zn("lucide",s),...!n&&!hc(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>U.createElement(l,c)),...Array.isArray(n)?n:[n]]));const CA=(t,A)=>{const e=U.forwardRef(({className:r,...s},n)=>U.createElement(pc,{ref:n,iconNode:A,className:zn(`lucide-${uc(Zn(t))}`,`lucide-${t}`,r),...s}));return e.displayName=Zn(t),e};const gs=CA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const Qc=CA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const Fe=CA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const $n=CA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const qn=CA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const Cc=CA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const Uc=CA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const Ao=CA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const eo=CA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const Fc=CA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Yt=CA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const mc=CA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Ec=CA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const xc=CA("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const to=CA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const ro=CA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const ds=CA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),yc={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? You can reopen it at any time by adding ?viewgate=true to your URL.",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Puedes volver a activarlo en cualquier momento agregando ?viewgate=true a la URL.",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad"}},so=U.createContext(void 0),no=()=>{const t=U.useContext(so);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},us="viewgate_enabled",Hc=()=>typeof window>"u"?!1:new URLSearchParams(window.location.search).has("viewgate")?(sessionStorage.setItem(us,"true"),!0):sessionStorage.getItem(us)==="true",bc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app"})=>{const[s,n]=U.useState(!1),[o,i]=U.useState([]);U.useEffect(()=>{n(Hc())},[]);const a=()=>{if(sessionStorage.removeItem(us),n(!1),typeof window<"u"){const B=new URL(window.location.href);B.searchParams.delete("viewgate"),window.history.replaceState({},"",B.toString())}},l=(B,f)=>{const u=Date.now();i(h=>[...h,{id:u,message:B,type:f}]),setTimeout(()=>{i(h=>h.filter(p=>p.id!==u))},4e3)},c=yc[A];return g.jsxs(so.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:268",value:{addToast:l,language:A,t:c,apiKey:e,baseUrl:r,disableViewGate:a,hasActiveToasts:o.length>0},children:[t,s&&g.jsx(dc,{"data-source-path":"/src/components/ViewGateProvider.tsx:279",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:280",className:"vg-container",children:[g.jsx(xa,{"data-source-path":"/src/components/ViewGateProvider.tsx:281"}),g.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:282",className:"vg-toasts",style:{zIndex:2147483647},children:o.map(B=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:284",className:`vg-toast vg-animate-slide ${B.type}`,children:[B.type==="success"?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateProvider.tsx:286",size:24,color:"#22c55e"}):g.jsx(Qc,{"data-source-path":"/src/components/ViewGateProvider.tsx:288",size:24,color:"#ef4444"}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:290",children:[g.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:291",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:B.type==="success"?c.successHeader:c.errorHeader}),g.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:294",style:{fontSize:"14px",color:"#000000"},children:B.message})]})]},B.id))})]})})]})};class yA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new yA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new yA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let s=r.find(n=>n.width!==0);return s||(s=r.find(n=>n.height!==0)),!s&&r.length>0&&(s=r[0]),s?new yA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):yA.EMPTY}}yA.EMPTY=new yA(0,0,0,0);const jt=(t,A)=>yA.fromClientRect(t,A.getBoundingClientRect()),Ic=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new yA(0,0,r,s)};for(var zt=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},cA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},oo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vc=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zt=0;Zt<oo.length;Zt++)vc[oo.charCodeAt(Zt)]=Zt;for(var io="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=typeof Uint8Array>"u"?[]:new Uint8Array(256),$t=0;$t<io.length;$t++)ft[io.charCodeAt($t)]=$t;for(var Sc=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=ft[t.charCodeAt(r)],o=ft[t.charCodeAt(r+1)],i=ft[t.charCodeAt(r+2)],a=ft[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},Lc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Tc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},De=5,fs=11,ws=2,Kc=fs-De,ao=65536>>De,Dc=1<<De,hs=Dc-1,Oc=1024>>De,Rc=ao+Oc,Mc=Rc,Nc=32,_c=Mc+Nc,Gc=65536>>fs,Vc=1<<Kc,kc=Vc-1,co=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Pc=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Xc=function(t,A){var e=Sc(t),r=Array.isArray(e)?Tc(e):new Uint32Array(e),s=Array.isArray(e)?Lc(e):new Uint16Array(e),n=24,o=co(s,n/2,r[4]/2),i=r[5]===2?co(s,(n+r[4])/2):Pc(r,Math.ceil((n+r[4])/4));return new Wc(r[0],r[1],r[2],r[3],o,i)},Wc=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>De],e=(e<<ws)+(A&hs),this.data[e];if(A<=65535)return e=this.index[ao+(A-55296>>De)],e=(e<<ws)+(A&hs),this.data[e];if(A<this.highStart)return e=_c-Gc+(A>>fs),e=this.index[e],e+=A>>De&kc,e=this.index[e],e=(e<<ws)+(A&hs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),lo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jc=typeof Uint8Array>"u"?[]:new Uint8Array(256),qt=0;qt<lo.length;qt++)Jc[lo.charCodeAt(qt)]=qt;var Yc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPW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AcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAA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csBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABA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EsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB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AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBX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ABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABA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UABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Bo=50,jc=1,go=2,uo=3,zc=4,Zc=5,fo=7,wo=8,ho=9,me=10,ps=11,po=12,Qs=13,$c=14,wt=15,Cs=16,Ar=17,ht=18,qc=19,Qo=20,Us=21,pt=22,Fs=23,ze=24,GA=25,Qt=26,Ct=27,Ze=28,Al=29,Oe=30,el=31,er=32,tr=33,ms=34,Es=35,xs=36,Ut=37,ys=38,rr=39,sr=40,Hs=41,Co=42,tl=43,rl=[9001,65288],Uo="!",_="×",nr="÷",bs=Xc(Yc),fe=[Oe,xs],Is=[jc,go,uo,Zc],Fo=[me,wo],mo=[Ct,Qt],sl=Is.concat(Fo),Eo=[ys,rr,sr,ms,Es],nl=[wt,Qs],ol=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=bs.get(n);if(i>Bo?(s.push(!0),i-=Bo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(Cs);if(i===zc||i===ps){if(o===0)return r.push(o),e.push(Oe);var a=e[o-1];return sl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(Oe))}if(r.push(o),i===el)return e.push(A==="strict"?Us:Ut);if(i===Co||i===Al)return e.push(Oe);if(i===tl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(Ut):e.push(Oe);e.push(i)}),[r,e,s]},vs=function(t,A,e,r){var s=r[e];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var n=e;n<=r.length;){n++;var o=r[n];if(o===A)return!0;if(o!==me)break}if(s===me)for(var n=e;n>0;){n--;var i=r[n];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var a=e;a<=r.length;){a++;var o=r[a];if(o===A)return!0;if(o!==me)break}if(i!==me)break}return!1},xo=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===me)e--;else return r}return 0},il=function(t,A,e,r,s){if(e[r]===0)return _;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return _;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===go&&c===uo)return _;if(Is.indexOf(a)!==-1)return Uo;if(Is.indexOf(c)!==-1||Fo.indexOf(c)!==-1)return _;if(xo(n,A)===wo)return nr;if(bs.get(t[n])===ps||(a===er||a===tr)&&bs.get(t[i])===ps||a===fo||c===fo||a===ho||[me,Qs,wt].indexOf(a)===-1&&c===ho||[Ar,ht,qc,ze,Ze].indexOf(c)!==-1||xo(n,A)===pt||vs(Fs,pt,n,A)||vs([Ar,ht],Us,n,A)||vs(po,po,n,A))return _;if(a===me)return nr;if(a===Fs||c===Fs)return _;if(c===Cs||a===Cs)return nr;if([Qs,wt,Us].indexOf(c)!==-1||a===$c||l===xs&&nl.indexOf(a)!==-1||a===Ze&&c===xs||c===Qo||fe.indexOf(c)!==-1&&a===GA||fe.indexOf(a)!==-1&&c===GA||a===Ct&&[Ut,er,tr].indexOf(c)!==-1||[Ut,er,tr].indexOf(a)!==-1&&c===Qt||fe.indexOf(a)!==-1&&mo.indexOf(c)!==-1||mo.indexOf(a)!==-1&&fe.indexOf(c)!==-1||[Ct,Qt].indexOf(a)!==-1&&(c===GA||[pt,wt].indexOf(c)!==-1&&A[i+1]===GA)||[pt,wt].indexOf(a)!==-1&&c===GA||a===GA&&[GA,Ze,ze].indexOf(c)!==-1)return _;if([GA,Ze,ze,Ar,ht].indexOf(c)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===GA)return _;if([Ze,ze].indexOf(f)!==-1)B--;else break}if([Ct,Qt].indexOf(c)!==-1)for(var B=[Ar,ht].indexOf(a)!==-1?o:n;B>=0;){var f=A[B];if(f===GA)return _;if([Ze,ze].indexOf(f)!==-1)B--;else break}if(ys===a&&[ys,rr,ms,Es].indexOf(c)!==-1||[rr,ms].indexOf(a)!==-1&&[rr,sr].indexOf(c)!==-1||[sr,Es].indexOf(a)!==-1&&c===sr||Eo.indexOf(a)!==-1&&[Qo,Qt].indexOf(c)!==-1||Eo.indexOf(c)!==-1&&a===Ct||fe.indexOf(a)!==-1&&fe.indexOf(c)!==-1||a===ze&&fe.indexOf(c)!==-1||fe.concat(GA).indexOf(a)!==-1&&c===pt&&rl.indexOf(t[i])===-1||fe.concat(GA).indexOf(c)!==-1&&a===ht)return _;if(a===Hs&&c===Hs){for(var u=e[n],h=1;u>0&&(u--,A[u]===Hs);)h++;if(h%2!==0)return _}return a===er&&c===tr?_:nr},al=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=ol(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(i){return[GA,Oe,Co].indexOf(i)!==-1?Ut:i}));var o=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&t[a]>=19968&&t[a]<=40959}):void 0;return[r,s,o]},cl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===Uo,this.start=r,this.end=s}return t.prototype.slice=function(){return cA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),ll=function(t,A){var e=zt(t),r=al(e,A),s=r[0],n=r[1],o=r[2],i=e.length,a=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var c=_;l<i&&(c=il(e,n,s,++l,o))===_;);if(c!==_||l===i){var B=new cl(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const Bl=1,gl=2,$e=4,yo=8,or=10,Ho=47,Ft=92,dl=9,ul=32,ir=34,mt=61,fl=35,wl=36,hl=37,ar=39,cr=40,Et=41,pl=95,KA=45,Ql=33,Cl=60,Ul=62,Fl=64,ml=91,El=93,xl=61,yl=123,lr=63,Hl=125,bo=124,bl=126,Il=128,Io=65533,Ss=42,Re=43,vl=44,Sl=58,Ll=59,xt=46,Tl=0,Kl=8,Dl=11,Ol=14,Rl=31,Ml=127,ne=-1,vo=48,So=97,Lo=101,Nl=102,_l=117,Gl=122,To=65,Ko=69,Do=70,Vl=85,kl=90,HA=t=>t>=vo&&t<=57,Pl=t=>t>=55296&&t<=57343,qe=t=>HA(t)||t>=To&&t<=Do||t>=So&&t<=Nl,Xl=t=>t>=So&&t<=Gl,Wl=t=>t>=To&&t<=kl,Jl=t=>Xl(t)||Wl(t),Yl=t=>t>=Il,Br=t=>t===or||t===dl||t===ul,gr=t=>Jl(t)||Yl(t)||t===pl,Oo=t=>gr(t)||HA(t)||t===KA,jl=t=>t>=Tl&&t<=Kl||t===Dl||t>=Ol&&t<=Rl||t===Ml,Ee=(t,A)=>t!==Ft?!1:A!==or,dr=(t,A,e)=>t===KA?gr(A)||Ee(A,e):gr(t)?!0:!!(t===Ft&&Ee(t,A)),Ls=(t,A,e)=>t===Re||t===KA?HA(A)?!0:A===xt&&HA(e):HA(t===xt?A:t),zl=t=>{let A=0,e=1;(t[A]===Re||t[A]===KA)&&(t[A]===KA&&(e=-1),A++);const r=[];for(;HA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(cA(...r),10):0;t[A]===xt&&A++;const n=[];for(;HA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(cA(...n),10):0;(t[A]===Ko||t[A]===Lo)&&A++;let a=1;(t[A]===Re||t[A]===KA)&&(t[A]===KA&&(a=-1),A++);const l=[];for(;HA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(cA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},Zl={type:2},$l={type:3},ql={type:4},AB={type:13},eB={type:8},tB={type:21},rB={type:9},sB={type:10},nB={type:11},oB={type:12},iB={type:14},ur={type:23},aB={type:1},cB={type:25},lB={type:24},BB={type:26},gB={type:27},dB={type:28},uB={type:29},fB={type:31},Ts={type:32};class Ro{constructor(){this._value=[]}write(A){this._value=this._value.concat(zt(A))}read(){const A=[];let e=this.consumeToken();for(;e!==Ts;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case ir:return this.consumeStringToken(ir);case fl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Oo(e)||Ee(r,s)){const u=dr(e,r,s)?gl:Bl;return{type:5,value:this.consumeName(),flags:u}}break;case wl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),AB;break;case ar:return this.consumeStringToken(ar);case cr:return Zl;case Et:return $l;case Ss:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),iB;break;case Re:if(Ls(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case vl:return ql;case KA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Ls(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(dr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===KA&&i===Ul)return this.consumeCodePoint(),this.consumeCodePoint(),lB;break;case xt:if(Ls(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ho:if(this.peekCodePoint(0)===Ss)for(this.consumeCodePoint();;){let u=this.consumeCodePoint();if(u===Ss&&(u=this.consumeCodePoint(),u===Ho))return this.consumeToken();if(u===ne)return this.consumeToken()}break;case Sl:return BB;case Ll:return gB;case Cl:if(this.peekCodePoint(0)===Ql&&this.peekCodePoint(1)===KA&&this.peekCodePoint(2)===KA)return this.consumeCodePoint(),this.consumeCodePoint(),cB;break;case Fl:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(dr(a,l,c))return{type:7,value:this.consumeName()};break;case ml:return dB;case Ft:if(Ee(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case El:return uB;case xl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),eB;break;case yl:return nB;case Hl:return oB;case _l:case Vl:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===Re&&(qe(f)||f===lr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case bo:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),rB;if(this.peekCodePoint(0)===bo)return this.consumeCodePoint(),tB;break;case bl:if(this.peekCodePoint(0)===mt)return this.consumeCodePoint(),sB;break;case ne:return Ts}return Br(A)?(this.consumeWhiteSpace(),fB):HA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):gr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:cA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;qe(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===lr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(cA(...A.map(i=>i===lr?vo:i)),16),o=parseInt(cA(...A.map(i=>i===lr?Do:i)),16);return{type:30,start:n,end:o}}const s=parseInt(cA(...A),16);if(this.peekCodePoint(0)===KA&&qe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;qe(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(cA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===cr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===cr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ne)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===ar||e===ir){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===Et)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),ur)}for(;;){const r=this.consumeCodePoint();if(r===ne||r===Et)return{type:22,value:cA(...A)};if(Br(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===Et?(this.consumeCodePoint(),{type:22,value:cA(...A)}):(this.consumeBadUrlRemnants(),ur);if(r===ir||r===ar||r===cr||jl(r))return this.consumeBadUrlRemnants(),ur;if(r===Ft)if(Ee(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ur;else A.push(r)}}consumeWhiteSpace(){for(;Br(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===Et||A===ne)return;Ee(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=cA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===ne||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===or)return this._value.splice(0,r),aB;if(s===Ft){const n=this._value[r+1];n!==ne&&n!==void 0&&(n===or?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ee(s,n)&&(e+=this.consumeStringSlice(r),e+=cA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=$e,r=this.peekCodePoint(0);for((r===Re||r===KA)&&A.push(this.consumeCodePoint());HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===xt&&HA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=yo;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===Ko||r===Lo)&&((s===Re||s===KA)&&HA(n)||HA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=yo;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[zl(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(dr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===hl?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(qe(A)){let e=cA(A);for(;qe(this.peekCodePoint(0))&&e.length<6;)e+=cA(this.consumeCodePoint());Br(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||Pl(r)||r>1114111?Io:r}return A===ne?Io:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Oo(e))A+=cA(e);else if(Ee(e,this.peekCodePoint(0)))A+=cA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class At{constructor(A){this._tokens=A}static create(A){const e=new Ro;return e.write(A),new At(e.read())}static parseValue(A){return At.create(A).parseComponentValue()}static parseValues(A){return At.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||hB(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?Ts:A}reconsumeToken(A){this._tokens.unshift(A)}}const oe=t=>t.type===15,BA=t=>t.type===17,R=t=>t.type===20,wB=t=>t.type===0,yt=(t,A)=>R(t)&&t.value===A,fr=t=>t.type!==31,UA=t=>t.type!==31&&t.type!==4,zA=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},hB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,iA=(t,A,e)=>Math.min(Math.max(t,A),e),DA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],xe=t=>DA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),Ks=t=>DA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Me=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),Ds=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),pB=t=>{const[A,e,r]=Me(xe([t[0],t[1],t[2]]));return[A,e,r,t[3]]},QB=t=>{const[A,e,r]=xe([t[0],t[1],t[2]]);return[iA(Math.round(A*255),0,255),iA(Math.round(e*255),0,255),iA(Math.round(r*255),0,255),t[3]]},ye=t=>t.type===17||t.type===15,Y=t=>t.type===16||ye(t),CB=t=>t.type===18&&t.name==="calc",UB=(t,A=0)=>{const e=r=>{let s="";for(const n of r)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;s+=`(${o})`}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?s+=` ${o} `:o==="("?s+="(":o===")"&&(s+=")")}}return s};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const s=new Function("return "+r)();if(typeof s=="number"&&!isNaN(s))return{type:17,number:s,flags:$e}}catch{return null}return null},Mo=t=>t.length>1?[t[0],t[1]]:[t[0]],gA={type:17,number:0,flags:$e},Ne={type:16,number:50,flags:$e},ie={type:16,number:100,flags:$e},Ht=(t,A,e)=>{const[r,s]=t;return[O(r,A),O(typeof s<"u"?s:r,e)]},O=(t,A)=>{if(t.type===16)return t.number/100*A;if(oe(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},No="deg",_o="grad",Go="rad",Vo="turn",et={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case No:return Math.PI*A.number/180;case _o:return Math.PI/200*A.number;case Go:return A.number;case Vo:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},ko=t=>t.type===15&&(t.unit===No||t.unit===_o||t.unit===Go||t.unit===Vo),Po=t=>{switch(t.filter(R).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[gA,gA];case"to top":case"bottom":return PA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[gA,ie];case"to right":case"left":return PA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ie,ie];case"to bottom":case"top":return PA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ie,gA];case"to left":case"right":return PA(270)}return 0},PA=t=>Math.PI*t/180,He=t=>(255&t)===0,eA=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,s=255&t>>24;return A<255?`rgba(${s},${r},${e},${A/255})`:`rgb(${s},${r},${e})`},ZA=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,be=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},_e=t=>(t[0].type===20?t[0].value:"unknown")==="from",FB=t=>ZA(iA(Math.round(t[0]*255),0,255),iA(Math.round(t[1]*255),0,255),iA(Math.round(t[2]*255),0,255),iA(t[3],0,1)),Os=([t,A,e,r])=>{const s=Me([t,A,e]);return ZA(iA(Math.round(s[0]*255),0,255),iA(Math.round(s[1]*255),0,255),iA(Math.round(s[2]*255),0,255),r)},bt=t=>{const A=xe([t[0],t[1],t[2]]);return Os([A[0],A[1],A[2],t[3]])},mB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=wr(A),o=Me(xe(Qr([e,r,s])));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},EB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=wr(A),o=Me(xe(pr([e,r,s])));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},xB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=Yo(A),o=Me(xe(pr(hr([e,r,s]))));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},yB=(t,A)=>{if(_e(A.filter(UA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=Jo(A),o=Me(xe(Qr(hr([e,r,s]))));return ZA(iA(Math.round(o[0]*255),0,255),iA(Math.round(o[1]*255),0,255),iA(Math.round(o[2]*255),0,255),n)},Xo=(t,A)=>{const e=A.filter(UA),[r,s,n,o]=e,i=(r.type===17?PA(r.number):et.parse(t,r))/(Math.PI*2),a=Y(s)?s.number/100:0,l=Y(n)?n.number/100:0,c=typeof o<"u"&&Y(o)?O(o,1):1;return[i,a,l,c]},Wo=(t,A)=>{if(_e(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=Xo(t,A),o=zo([e,r,s]);return ZA(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},Jo=t=>{const A=t.filter(UA),e=Y(A[0])?A[0].number:0,r=Y(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?O(A[4],1):1;return[e,r,s,n]},wr=t=>{const A=t.filter(UA),e=A[0].type===16?A[0].number/100:BA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:BA(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?O(A[4],1):1;return[e,r,s,n]},Yo=t=>{const A=t.filter(UA),e=A[0].type===16?A[0].number/100:BA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:BA(A[1])?A[1].number:0,s=BA(A[2])||oe(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?O(A[4],1):1;return[e,r,s,n]},jo=t=>DA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Rs=t=>DA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Ms=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),zo=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,s=e*2-r,n=Ms(s,r,t+1/3),o=Ms(s,r,t),i=Ms(s,r,t-1/3);return[n,o,i]},hr=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),pr=t=>{const A=DA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return DA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Qr=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,s=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,t[0]>8?A**3:t[0]/s,(r>n?r**3:(116*r-16)/s)*(1-.3457-.3585)/.3585];return Rs([o[0],o[1],o[2]])},HB=(t,A)=>{const e=A.filter(UA);if(e.length===3){const[r,s,n]=e.map(be),o=Ds([r/255,s/255,n/255]),[i,a,l]=Ks([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(be),i=Ds([r/255,s/255,n/255]),[a,l,c]=Ks([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},bB=(t,A)=>{const[e,r,s,n]=Xo(t,A),o=Ds(zo([e,r,s])),[i,a,l]=Ks([o[0],o[1],o[2]]);return[i,a,l,n]},IB=(t,A)=>{const[e,r,s,n]=wr(A),[o,i,a]=Qr([e,r,s]);return[o,i,a,n]},vB=(t,A)=>{const[e,r,s,n]=Jo(A),[o,i,a]=Qr(hr([e,r,s]));return[o,i,a,n]},SB=(t,A)=>{const[e,r,s,n]=Yo(A),[o,i,a]=pr(hr([e,r,s]));return[o,i,a,n]},LB=(t,A)=>{const[e,r,s,n]=wr(A),[o,i,a]=pr([e,r,s]);return[o,i,a,n]},TB=t=>Rs([t[0],t[1],t[2]]),Zo=t=>t,KB=t=>{const[A,e,r]=jo([t[0],t[2],t[3]]);return[A,e,r,t[3]]},$o=t=>bt([t[0],t[1],t[2],t[3]]),DB=t=>{const A=TB([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},OB=t=>DA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),RB=t=>DA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),MB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),NB=t=>Me(t),_B=t=>{const A=MB([t[0],t[1],t[2]]);return OB([A[0],A[1],A[2]])},GB=t=>{const[A,e,r]=NB(RB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},VB=t=>{const A=_B([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},kB=t=>DA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),PB=t=>DA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),XB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**2.19921875});return[A[0],A[1],A[2]]},WB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**.4547069271758437});return[A[0],A[1],A[2]]},JB=t=>{const[A,e,r]=WB(kB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},YB=t=>{const A=xe(PB(XB([t[0],t[1],t[2]])));return Os([A[0],A[1],A[2],t[3]])},jB=t=>DA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),zB=t=>DA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),ZB=t=>t.map(A=>A<16/512?A/16:A**1.8),$B=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),qB=t=>{const A=ZB([t[0],t[1],t[2]]);return Rs(jB([A[0],A[1],A[2]]))},Ag=t=>{const[A,e,r]=$B(zB(jo([t[0],t[1],t[2]])));return[A,e,r,t[3]]},eg=t=>{const A=qB([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},Cr=1.09929682680944,qo=.018053968510807,tg=t=>t.map(function(A){return A<qo*4.5?A/4.5:Math.pow((A+Cr-1)/Cr,1/.45)}),rg=t=>t.map(function(A){return A>=qo?Cr*Math.pow(A,.45)-(Cr-1):4.5*A}),sg=t=>DA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),ng=t=>DA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),og=t=>{const A=tg([t[0],t[1],t[2]]);return sg([A[0],A[1],A[2]])},ig=t=>{const[A,e,r]=rg(ng([t[0],t[1],t[2]]));return[A,e,r,t[3]]},ag=t=>{const A=og([t[0],t[1],t[2]]);return bt([A[0],A[1],A[2],t[3]])},Ie={name:"color",parse:(t,A)=>{if(A.type===18){const e=gg[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,s,n]=Ai(A);return ZA(e,r,s,n)}if(A.type===20){const e=ae[A.value.toUpperCase()];if(typeof e<"u")return e}return ae.TRANSPARENT}},Ai=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),s=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(s+s,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(s,16)/255]}return[0,0,0,1]},ei=(t,A)=>{const e=A.filter(UA);if(_e(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(be);return ZA(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(be);return ZA(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=be(e[0],0),s=be(e[1],1),n=be(e[2],2),o=be(e[4],3);return ZA(r,s,n,o)}return 0},cg=(t,A)=>{const e=A.filter(UA),r=e[0].type===20?e[0].value:"unknown";if(!_e(e)){const n=r,o=ti[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=BA(e[1])?e[1].number:0,a=BA(e[2])?e[2].number:0,l=BA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&BA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(w,b)=>{if(BA(b))return b.number;const H=D=>D==="r"||D==="x"?0:D==="g"||D==="y"?1:2;if(R(b)){const D=H(b.value);return w[D]}const m=D=>{const k=D.filter(UA);let X="(";for(const T of k)X+=T.type===18&&T.name==="calc"?m(T.values):BA(T)?T.number:T.type===6||R(T)?T.value:"";return X+=")",X};if(b.type===18){const D=b.values.filter(UA);if(b.name==="calc"){const k=m(D).replace(/r|x/,w[0].toString()).replace(/g|y/,w[1].toString()).replace(/b|z/,w[2].toString());return new Function("return "+k)()}}return null},o=e[1].type===18?e[1].name:R(e[1])||e[1].type===5?"rgb":"unknown",i=R(e[2])?e[2].value:"unknown";let a=e[1].type===18?e[1].values:R(e[1])?[e[1]]:[];if(R(e[1])){if(typeof ae[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const b=tt(t,e[1].value),H=255&b,m=255&b>>8,D=255&b>>16;a=[{type:17,number:255&b>>24,flags:1},{type:17,number:D,flags:1},{type:17,number:m,flags:1},{type:17,number:H>1?H/255:H,flags:1}]}}else if(e[1].type===5){const[w,b,H,m]=Ai(e[1]);a=[{type:17,number:w,flags:1},{type:17,number:b,flags:1},{type:17,number:H,flags:1},{type:17,number:m>1?m/255:m,flags:1}]}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(i==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const l=lg[o],c=Bg[i],B=ti[i];if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);const f=l(t,a),u=c(f),h=n(u,e[3]),p=n(u,e[4]),C=n(u,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&BA(e[7])?e[7].number:1;if(h===null||p===null||C===null)throw new Error("Invalid relative color in color() function");return B([h,p,C,y])}},ti={srgb:FB,"srgb-linear":Os,"display-p3":VB,"a98-rgb":YB,"prophoto-rgb":eg,xyz:$o,"xyz-d50":DB,"xyz-d65":$o,rec2020:ag},lg={rgb:HB,hsl:bB,lab:IB,lch:vB,oklab:LB,oklch:SB},Bg={srgb:pB,"srgb-linear":QB,"display-p3":GB,"a98-rgb":JB,"prophoto-rgb":Ag,xyz:Zo,"xyz-d50":KB,"xyz-d65":Zo,rec2020:ig},gg={hsl:Wo,hsla:Wo,rgb:ei,rgba:ei,lch:yB,oklch:xB,oklab:EB,lab:mB,color:cg},tt=(t,A)=>Ie.parse(t,At.create(A).parseComponentValue()),ae={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},ug={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=(t,A)=>{const e=Ie.parse(t,A[0]),r=A[1];return r&&Y(r)?{color:e,stop:r}:{color:e,stop:null}},ri=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=gA),r.stop===null&&(r.stop=ie);const s=[];let n=0;for(let i=0;i<t.length;i++){const a=t[i].stop;if(a!==null){const l=O(a,A);l>n?s.push(l):s.push(n),n=l}else s.push(null)}let o=null;for(let i=0;i<s.length;i++){const a=s[i];if(a===null)o===null&&(o=i);else if(o!==null){const l=i-o,c=s[o-1],B=(a-c)/(l+1);for(let f=1;f<=l;f++)s[o+f-1]=B*f;o=null}}return t.map(({color:i},a)=>({color:i,stop:Math.max(Math.min(1,s[a]/A),0)}))},fg=(t,A,e)=>{const r=A/2,s=e/2,n=O(t[0],A)-r,o=s-O(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},wg=(t,A,e)=>{const r=typeof t=="number"?t:fg(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,i=s/2,a=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[s,n-l,n+l,o-a,o+a]},$A=(t,A)=>Math.sqrt(t*t+A*A),si=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,i)=>{const[a,l]=i,c=$A(e-a,r-l);return(s?c<o.optimumDistance:c>o.optimumDistance)?{optimumCorner:i,optimumDistance:c}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,hg=(t,A,e,r,s)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(t.shape===0)n=o=Math.min($A(A,e),$A(A,e-s),$A(A-r,e),$A(A-r,e-s));else if(t.shape===1){const i=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[a,l]=si(r,s,A,e,!0);n=$A(a-A,(l-e)/i),o=i*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(t.shape===0)n=o=Math.max($A(A,e),$A(A,e-s),$A(A-r,e),$A(A-r,e-s));else if(t.shape===1){const i=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[a,l]=si(r,s,A,e,!1);n=$A(a-A,(l-e)/i),o=i*n}break}return Array.isArray(t.size)&&(n=O(t.size[0],r),o=t.size.length===2?O(t.size[1],s):n),[n,o]},pg=(t,A)=>{let e=PA(180);const r=[];return zA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=Po(s);return}else if(ko(i)){e=et.parse(t,i);return}}const o=Ur(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Fr=(t,A)=>{let e=PA(180);const r=[];return zA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){e=Po(s);return}else if(ko(i)){e=(et.parse(t,i)+PA(270))%PA(360);return}}const o=Ur(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Qg=(t,A)=>{const e=PA(180),r=[];let s=1;const n=0,o=3,i=[];return zA(A).forEach((a,l)=>{const c=a[0];if(l===0){if(R(c)&&c.value==="linear"){s=1;return}else if(R(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){const B=Ie.parse(t,c.values[0]);r.push({stop:gA,color:B})}else if(c.name==="to"){const B=Ie.parse(t,c.values[0]);r.push({stop:ie,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(UA);if(B.length===2){const f=Ie.parse(t,B[1]),u=B[0];BA(u)&&r.push({stop:{type:16,number:u.number*100,flags:u.flags},color:f})}}}}),s===1?{angle:(e+PA(180))%PA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},ni="closest-side",oi="farthest-side",ii="closest-corner",ai="farthest-corner",ci="circle",li="ellipse",Bi="cover",gi="contain",Cg=(t,A)=>{let e=0,r=3;const s=[],n=[];return zA(A).forEach((o,i)=>{let a=!0;if(i===0){let l=!1;a=o.reduce((c,B)=>{if(l)if(R(B))switch(B.value){case"center":return n.push(Ne),c;case"top":case"left":return n.push(gA),c;case"right":case"bottom":return n.push(ie),c}else(Y(B)||ye(B))&&n.push(B);else if(R(B))switch(B.value){case ci:return e=0,!1;case li:return e=1,!1;case"at":return l=!0,!1;case ni:return r=0,!1;case Bi:case oi:return r=1,!1;case gi:case ii:return r=2,!1;case ai:return r=3,!1}else if(ye(B)||Y(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},a)}if(a){const l=Ur(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},mr=(t,A)=>{let e=0,r=3;const s=[],n=[];return zA(A).forEach((o,i)=>{let a=!0;if(i===0?a=o.reduce((l,c)=>{if(R(c))switch(c.value){case"center":return n.push(Ne),!1;case"top":case"left":return n.push(gA),!1;case"right":case"bottom":return n.push(ie),!1}else if(Y(c)||ye(c))return n.push(c),!1;return l},a):i===1&&(a=o.reduce((l,c)=>{if(R(c))switch(c.value){case ci:return e=0,!1;case li:return e=1,!1;case gi:case ni:return r=0,!1;case oi:return r=1,!1;case ii:return r=2,!1;case Bi:case ai:return r=3,!1}else if(ye(c)||Y(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},a)),a){const l=Ur(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Ug=t=>t.type===1,Fg=t=>t.type===2,Ns={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=di[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function mg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!di[t.name])}const di={"linear-gradient":pg,"-moz-linear-gradient":Fr,"-ms-linear-gradient":Fr,"-o-linear-gradient":Fr,"-webkit-linear-gradient":Fr,"radial-gradient":Cg,"-moz-radial-gradient":mr,"-ms-radial-gradient":mr,"-o-radial-gradient":mr,"-webkit-radial-gradient":mr,"-webkit-gradient":Qg},Eg={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>UA(r)&&mg(r)).map(r=>Ns.parse(t,r))}},xg={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},yg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>zA(A).map(e=>e.map(r=>CB(r)?UB(r,0):Y(r)?r:null).filter(r=>r!==null)).map(Mo)},Hg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>zA(A).map(e=>e.filter(R).map(r=>r.value).join(" ")).map(bg)},bg=t=>{switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};var rt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(rt||(rt={}));const Ig={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>zA(A).map(e=>e.filter(vg))},vg=t=>R(t)||Y(t),Er=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Sg=Er("top"),Lg=Er("right"),Tg=Er("bottom"),Kg=Er("left"),xr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>Mo(e.filter(Y))}),Dg=xr("top-left"),Og=xr("top-right"),Rg=xr("bottom-right"),Mg=xr("bottom-left"),yr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),Ng=yr("top"),_g=yr("right"),Gg=yr("bottom"),Vg=yr("left"),Hr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>oe(e)?e.number:0}),kg=Hr("top"),Pg=Hr("right"),Xg=Hr("bottom"),Wg=Hr("left"),_s={type:0},Gs=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Y(A)?A:"closest-side":"closest-side"},ui=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=gA;break;case"right":A=ie;break;case"top":e=gA;break;case"bottom":e=ie;break;case"center":A===null?A=Ne:e===null&&(e=Ne);break}else Y(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Ne,cy:e??Ne}},Jg=t=>{const A=[];for(const o of t)if(o.type!==31){if(R(o)&&o.value==="round")break;Y(o)&&A.push(o)}const e=A[0]??gA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},Yg=t=>{const A=t.filter(fr),e=A.findIndex(n=>yt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:Gs(r),...ui(s)}},jg=t=>{const A=t.filter(fr),e=A.findIndex(n=>yt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:Gs(r.slice(0,1)),ry:Gs(r.slice(1,2)),...ui(s)}},zg=t=>{const A=zA(t),e=[];for(const r of A){if(r.length===1&&R(r[0]))continue;const s=r.filter(Y);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},Zg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:_s},$g={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return _s;if(A.type===18)switch(A.name){case"inset":return Jg(A.values);case"circle":return Yg(A.values);case"ellipse":return jg(A.values);case"polygon":return zg(A.values);case"path":return Zg(A.values)}return _s}},qg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ad={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},ed={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|td(r.value),0)},td=t=>{switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},rd={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},sd={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var br;(function(t){t.NORMAL="normal",t.STRICT="strict"})(br||(br={}));const nd={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?br.STRICT:br.NORMAL},od={name:"line-height",initialValue:"normal",prefix:!1,type:4},fi=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Y(t)?O(t,A):A,id={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:Ns.parse(t,A)},ad={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Ir=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),cd=Ir("top"),ld=Ir("right"),Bd=Ir("bottom"),gd=Ir("left"),dd={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},ud={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},vr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),fd=vr("top"),wd=vr("right"),hd=vr("bottom"),pd=vr("left"),Qd={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Cd={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ud={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&yt(A[0],"none")?[]:zA(A).map(e=>{const r={color:ae.TRANSPARENT,offsetX:gA,offsetY:gA,blur:gA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];ye(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=Ie.parse(t,o)}return r})},Fd={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},md={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=Ed[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},Ed={matrix:(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(l=>l.type===17).map(l=>l.number),[r,s,{},{},n,o,{},{},{},{},{},{},i,a]=e;return e.length===16?[r,s,n,o,i,a]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=et.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},wi={type:16,number:50,flags:$e},xd=[wi,wi],yd={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Y);return e.length!==2?xd:[e[0],e[1]]}},Hd={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?et.parse(t,A)*180/Math.PI:null},bd={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var It;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(It||(It={}));const Id={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return It.BREAK_ALL;case"keep-all":return It.KEEP_ALL;default:return It.NORMAL}}},vd={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(BA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},hi={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Sd={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>BA(A)?A.number:1},Ld={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Td={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},Kd={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},Dd={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(R(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return oe(A)?A.number:"auto"}},Od={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":oe(A)?A.number:"auto"},Rd={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},Md={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Nd={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>BA(A)?A.number:R(A)&&A.value==="bold"?700:400},_d={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},Gd={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},nA=(t,A)=>(t&A)!==0,Vd={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},kd={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(fr);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&BA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},Pd={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(fr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(R(n)&&n.value!=="none"){const i=o&&BA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},Xd={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(oe).map(e=>hi.parse(t,e))},Wd={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(wB);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,i=s[n+1].value;r.push({open:o,close:i})}return r}},pi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},Jd={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&yt(A[0],"none")?[]:zA(A).map(e=>{const r={color:255,offsetX:gA,offsetY:gA,blur:gA,spread:gA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];yt(o,"inset")?r.inset=!0:ye(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=Ie.parse(t,o)}return r})},Yd={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(R).forEach(s=>{switch(s.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(s=>{r.indexOf(s)===-1&&r.push(s)}),r}},jd={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},zd={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>oe(A)?A.number:0},Zd={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},$d={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|qd(r.value),0)},qd=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Au={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var VA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(VA||(VA={}));const eu={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return VA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return VA.PIXELATED;case"smooth":case"high-quality":return VA.SMOOTH;default:return VA.AUTO}}};class tu{constructor(A,e){this.animationDuration=E(A,Xd,e.animationDuration),this.backgroundClip=E(A,dg,e.backgroundClip),this.backgroundColor=E(A,ug,e.backgroundColor),this.backgroundImage=E(A,Eg,e.backgroundImage),this.backgroundOrigin=E(A,xg,e.backgroundOrigin),this.backgroundPosition=E(A,yg,e.backgroundPosition),this.backgroundRepeat=E(A,Hg,e.backgroundRepeat),this.backgroundSize=E(A,Ig,e.backgroundSize),this.borderTopColor=E(A,Sg,e.borderTopColor),this.borderRightColor=E(A,Lg,e.borderRightColor),this.borderBottomColor=E(A,Tg,e.borderBottomColor),this.borderLeftColor=E(A,Kg,e.borderLeftColor),this.borderTopLeftRadius=E(A,Dg,e.borderTopLeftRadius),this.borderTopRightRadius=E(A,Og,e.borderTopRightRadius),this.borderBottomRightRadius=E(A,Rg,e.borderBottomRightRadius),this.borderBottomLeftRadius=E(A,Mg,e.borderBottomLeftRadius),this.borderTopStyle=E(A,Ng,e.borderTopStyle),this.borderRightStyle=E(A,_g,e.borderRightStyle),this.borderBottomStyle=E(A,Gg,e.borderBottomStyle),this.borderLeftStyle=E(A,Vg,e.borderLeftStyle),this.borderTopWidth=E(A,kg,e.borderTopWidth),this.borderRightWidth=E(A,Pg,e.borderRightWidth),this.borderBottomWidth=E(A,Xg,e.borderBottomWidth),this.borderLeftWidth=E(A,Wg,e.borderLeftWidth),this.boxShadow=E(A,Jd,e.boxShadow),this.clipPath=E(A,$g,e.clipPath),this.color=E(A,qg,e.color),this.direction=E(A,Ad,e.direction),this.display=E(A,ed,e.display),this.float=E(A,rd,e.cssFloat),this.fontFamily=E(A,Rd,e.fontFamily),this.fontSize=E(A,Md,e.fontSize),this.fontStyle=E(A,Gd,e.fontStyle),this.fontVariant=E(A,_d,e.fontVariant),this.fontWeight=E(A,Nd,e.fontWeight),this.letterSpacing=E(A,sd,e.letterSpacing),this.lineBreak=E(A,nd,e.lineBreak),this.lineHeight=E(A,od,e.lineHeight),this.listStyleImage=E(A,id,e.listStyleImage),this.listStylePosition=E(A,ad,e.listStylePosition),this.listStyleType=E(A,Vs,e.listStyleType),this.marginTop=E(A,cd,e.marginTop),this.marginRight=E(A,ld,e.marginRight),this.marginBottom=E(A,Bd,e.marginBottom),this.marginLeft=E(A,gd,e.marginLeft),this.opacity=E(A,Sd,e.opacity);const r=E(A,dd,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=E(A,ud,e.overflowWrap),this.paddingTop=E(A,fd,e.paddingTop),this.paddingRight=E(A,wd,e.paddingRight),this.paddingBottom=E(A,hd,e.paddingBottom),this.paddingLeft=E(A,pd,e.paddingLeft),this.paintOrder=E(A,Yd,e.paintOrder),this.position=E(A,Cd,e.position),this.textAlign=E(A,Qd,e.textAlign),this.textDecorationColor=E(A,Ld,e.textDecorationColor??e.color),this.textDecorationLine=E(A,Td,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=E(A,Kd,e.textDecorationStyle),this.textDecorationThickness=E(A,Dd,e.textDecorationThickness),this.textUnderlineOffset=E(A,Od,e.textUnderlineOffset),this.textShadow=E(A,Ud,e.textShadow),this.textTransform=E(A,Fd,e.textTransform),this.textOverflow=E(A,Au,e.textOverflow),this.transform=E(A,md,e.transform),this.transformOrigin=E(A,yd,e.transformOrigin),this.rotate=E(A,Hd,e.rotate),this.visibility=E(A,bd,e.visibility),this.webkitTextStrokeColor=E(A,jd,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=E(A,zd,e.webkitTextStrokeWidth),this.webkitLineClamp=E(A,Zd,e.webkitLineClamp),this.wordBreak=E(A,Id,e.wordBreak),this.zIndex=E(A,vd,e.zIndex),this.objectFit=E(A,$d,e.objectFit),this.imageRendering=E(A,eu,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return He(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return nA(this.display,4)||nA(this.display,33554432)||nA(this.display,268435456)||nA(this.display,536870912)||nA(this.display,67108864)||nA(this.display,134217728)}}class ru{constructor(A,e){this.content=E(A,Vd,e.content),this.quotes=E(A,Wd,e.quotes)}}class Qi{constructor(A,e){this.counterIncrement=E(A,kd,e.counterIncrement),this.counterReset=E(A,Pd,e.counterReset)}}const E=(t,A,e)=>{const r=new Ro,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new At(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,R(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return et.parse(t,n.parseComponentValue());case"color":return Ie.parse(t,n.parseComponentValue());case"image":return Ns.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return ye(i)?i:gA;case"length-percentage":const a=n.parseComponentValue();return Y(a)?a:gA;case"time":return hi.parse(t,n.parseComponentValue())}break}},we=t=>t.nodeType===Node.ELEMENT_NODE,Ci=t=>t.nodeType===Node.TEXT_NODE,st=t=>typeof t.className=="object",vt=t=>we(t)&&typeof t.style<"u"&&!st(t),su=t=>t.tagName==="LI",nu=t=>t.tagName==="OL",Ui=t=>!st(t)&&t.tagName.indexOf("-")>0,ou="data-html2canvas-debug",iu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(ou)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ks=(t,A)=>{const e=iu(t);return e===1||A===e};class Fi{static normalizeElement(A,e){const r={};return vt(A)&&(e.animationDuration.some(s=>s>0)&&(r.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(r.rotate=A.style.rotate,A.style.rotate="0deg",r.transform===void 0&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"))),r}static restoreElement(A,e){vt(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class ce{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,ks(e,3))debugger;this.styles=new tu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&vt(e)&&(this.originalStyles=Fi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=jt(this.context,e),ks(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Fi.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var au="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAI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TcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQG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VAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAA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A4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",St=typeof Uint8Array>"u"?[]:new Uint8Array(256),Sr=0;Sr<mi.length;Sr++)St[mi.charCodeAt(Sr)]=Sr;for(var cu=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=St[t.charCodeAt(r)],o=St[t.charCodeAt(r+1)],i=St[t.charCodeAt(r+2)],a=St[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},lu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Bu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ge=5,Ps=11,Xs=2,gu=Ps-Ge,Ei=65536>>Ge,du=1<<Ge,Ws=du-1,uu=1024>>Ge,fu=Ei+uu,wu=fu,hu=32,pu=wu+hu,Qu=65536>>Ps,Cu=1<<gu,Uu=Cu-1,xi=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Fu=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},mu=function(t,A){var e=cu(t),r=Array.isArray(e)?Bu(e):new Uint32Array(e),s=Array.isArray(e)?lu(e):new Uint16Array(e),n=24,o=xi(s,n/2,r[4]/2),i=r[5]===2?xi(s,(n+r[4])/2):Fu(r,Math.ceil((n+r[4])/4));return new Eu(r[0],r[1],r[2],r[3],o,i)},Eu=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ge],e=(e<<Xs)+(A&Ws),this.data[e];if(A<=65535)return e=this.index[Ei+(A-55296>>Ge)],e=(e<<Xs)+(A&Ws),this.data[e];if(A<this.highStart)return e=pu-Qu+(A>>Ps),e=this.index[e],e+=A>>Ge&Uu,e=this.index[e],e=(e<<Xs)+(A&Ws),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),yi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xu=typeof Uint8Array>"u"?[]:new Uint8Array(256),Lr=0;Lr<yi.length;Lr++)xu[yi.charCodeAt(Lr)]=Lr;var yu=1,Js=2,Ys=3,Hi=4,bi=5,Hu=7,Ii=8,js=9,zs=10,vi=11,Si=12,Li=13,Ti=14,Zs=15,bu=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},Iu=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},vu=mu(au),XA="×",$s="÷",Su=function(t){return vu.get(t)},Lu=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===Js&&o===Ys)return XA;if(n===Js||n===Ys||n===Hi||o===Js||o===Ys||o===Hi)return $s;if(n===Ii&&[Ii,js,vi,Si].indexOf(o)!==-1||(n===vi||n===js)&&(o===js||o===zs)||(n===Si||n===zs)&&o===zs||o===Li||o===bi||o===Hu||n===yu)return XA;if(n===Li&&o===Ti){for(;s===bi;)s=A[--r];if(s===Ti)return XA}if(n===Zs&&o===Zs){for(var i=0;s===Zs;)i++,s=A[--r];if(i%2===0)return XA}return $s},Tu=function(t){var A=bu(t),e=A.length,r=0,s=0,n=A.map(Su);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=XA;r<e&&(o=Lu(A,n,++r))===XA;);if(o!==XA||r===e){var i=Iu.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},Ku=function(t){for(var A=Tu(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Du=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const s=e.getBoundingClientRect(),n=Math.round(s.height);if(t.body.removeChild(r),n===123)return!0}}return!1},Ou=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";const r=A.firstChild,s=zt(r.data).map(a=>cA(a));let n=0,o={};const i=s.every((a,l)=>{e.setStart(r,n),e.setEnd(r,n+a.length);const c=e.getBoundingClientRect();n+=a.length;const B=c.x>o.x||c.y>o.y;return o=c,l===0?!0:B});return t.body.removeChild(A),i},Ru=()=>typeof new Image().crossOrigin<"u",Mu=()=>typeof new XMLHttpRequest().responseType=="string",Nu=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},Ki=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,_u=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const s=new Image,n=A.toDataURL();s.src=n;const o=qs(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Di(o).then(i=>{r.drawImage(i,0,0);const a=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const l=t.createElement("div");return l.style.backgroundImage=`url(${n})`,l.style.height=`${e}px`,Ki(a)?Di(qs(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Ki(r.getImageData(0,0,e,e).data))).catch(()=>!1)},qs=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(s),o},Di=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),FA={get SUPPORT_RANGE_BOUNDS(){const t=Du(document);return Object.defineProperty(FA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=FA.SUPPORT_RANGE_BOUNDS&&Ou(document);return Object.defineProperty(FA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=Nu(document);return Object.defineProperty(FA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?_u(document):Promise.resolve(!1);return Object.defineProperty(FA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Ru();return Object.defineProperty(FA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Mu();return Object.defineProperty(FA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(FA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(FA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Ve{constructor(A,e){this.text=A,this.bounds=e}}const Gu=(t,A,e,r)=>{const s=Pu(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(FA.SUPPORT_RANGE_BOUNDS){const a=Oi(r,o,i.length).getClientRects();if(a.length>1){const l=Tr(i);let c=0;l.forEach(B=>{n.push(new Ve(B,yA.fromDOMRectList(t,Oi(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new Ve(i,yA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new Ve(i,Vu(t,r))),r=a}else FA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},Vu=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const s=A.parentNode;if(s){s.replaceChild(r,A);const n=jt(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return yA.EMPTY},Oi=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const s=r.createRange();return s.setStart(t,A),s.setEnd(t,A+e),s},Tr=t=>{if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Ku(t)},ku=(t,A)=>{if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return Wu(t,A)},Pu=(t,A)=>A.letterSpacing!==0?Tr(t):ku(t,A),Xu=[32,160,4961,65792,65793,4153,4241],Wu=(t,A)=>{const e=ll(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let s;for(;!(s=e.next()).done;)if(s.value){const n=s.value.slice(),o=zt(n);let i="";o.forEach(a=>{Xu.indexOf(a)===-1?i+=cA(a):(i.length&&r.push(i),r.push(cA(a)),i="")}),i.length&&r.push(i)}return r};class Ju{constructor(A,e,r){this.text=Yu(e.data,r.textTransform),this.textBounds=Gu(A,this.text,r,e)}}const Yu=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(ju,zu);case 2:return t.toUpperCase();default:return t}},ju=/(^|\s|:|-|\(|\))([a-z])/g,zu=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Ri extends ce{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class Mi extends ce{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Ni extends ce{constructor(A,e){super(A,e);const r=new XMLSerializer,s=jt(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(r.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class _i extends ce{constructor(A,e){super(A,e),this.value=e.value}}class An extends ce{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const Zu=[{type:15,flags:0,unit:"px",number:3}],$u=[{type:16,flags:0,number:50}],qu=t=>t.width>t.height?new yA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new yA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,Af=t=>{const A=t.type===tf?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},ef=t=>t.value.length===0&&!!t.placeholder,Kr="checkbox",Dr="radio",tf="password",Gi=707406591,rf=1970632191;class Lt extends ce{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=Af(e),this.isPlaceholder=ef(e),(this.type===Kr||this.type===Dr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=qu(this.bounds)),this.type){case Kr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Zu;break;case Dr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=$u;break}}}class Vi extends ce{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class ki extends ce{constructor(A,e){super(A,e),this.value=e.value}}class Pi extends ce{constructor(A,e,r){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=r;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const s=e.contentWindow.document.documentElement?tt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):ae.TRANSPARENT,n=e.contentWindow.document.body?tt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):ae.TRANSPARENT;this.backgroundColor=He(s)?He(n)?this.styles.backgroundColor:n:s}}catch{}}}const sf=["OL","UL","MENU"],Or=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,Ci(s)&&s.data.length>0)e.textNodes.push(new Ju(t,s,e.styles));else if(we(s))if(Tt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Or(t,o,e,r));else{const o=Xi(t,s);o.styles.isVisible()&&(nf(s,o,r)?o.flags|=4:of(o.styles)&&(o.flags|=2),sf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Or(t,s.shadowRoot,o,r):!Rr(s)&&!Ji(s)&&!Mr(s)&&Or(t,s,o,r))}},Xi=(t,A)=>tn(A)?new Ri(t,A):Yi(A)?new Mi(t,A):Ji(A)?new Ni(t,A):su(A)?new _i(t,A):nu(A)?new An(t,A):af(A)?new Lt(t,A):Mr(A)?new Vi(t,A):Rr(A)?new ki(t,A):zi(A)?new Pi(t,A,Wi):new ce(t,A),Wi=(t,A)=>{const e=Xi(t,A);return e.flags|=4,Or(t,A,e,e),e},nf=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||en(t)&&e.styles.isTransparent(),of=t=>t.isPositioned()||t.isFloating()?!0:nA(t.display,268435456)||nA(t.display,33554432)||nA(t.display,536870912)||nA(t.display,134217728),af=t=>t.tagName==="INPUT",cf=t=>t.tagName==="HTML",Ji=t=>t.tagName==="svg",en=t=>t.tagName==="BODY",Yi=t=>t.tagName==="CANVAS",ji=t=>t.tagName==="VIDEO",tn=t=>t.tagName==="IMG",zi=t=>t.tagName==="IFRAME",rn=t=>t.tagName==="STYLE",Zi=t=>t.tagName==="SCRIPT",Rr=t=>t.tagName==="TEXTAREA",Mr=t=>t.tagName==="SELECT",Tt=t=>t.tagName==="SLOT";class lf{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,r=A.counterReset;let s=!0;e!==null&&e.forEach(o=>{const i=this.counters[o.counter];i&&o.increment!==0&&(s=!1,i.length||i.push(1),i[Math.max(0,i.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let i=this.counters[o.counter];n.push(o.counter),i||(i=this.counters[o.counter]=[]),i.push(o.reset)}),n}}const $i={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},qi={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Bf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},gf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},nt=(t,A,e,r,s,n)=>t<A||t>e?Dt(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,Aa=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},lA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(Aa(Math.abs(t),n,r,o=>cA(Math.floor(o%n)+A))+s)},ke=(t,A,e=". ")=>{const r=A.length;return Aa(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},ot=1,ve=2,Se=4,Kt=8,he=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Dt(t,4,s.length>0);let o=Math.abs(t),i=s;if(o===0)return A[0]+i;for(let a=0;o>0&&a<=4;a++){const l=o%10;l===0&&nA(n,ot)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&nA(n,ve)||l===1&&a===1&&nA(n,Se)&&t>100||l===1&&a>1&&nA(n,Kt)?i=A[l]+(a>0?e[a-1]:"")+i:l===1&&a>0&&(i=e[a-1]+i),o=Math.floor(o/10)}return(t<0?r:"")+i},ea="十百千萬",ta="拾佰仟萬",ra="マイナス",sn="마이너스",Dt=(t,A,e)=>{const r=e?". ":"",s=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const i=lA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return ke(t,"〇一二三四五六七八九",s);case 6:return nt(t,1,3999,$i,3,r).toLowerCase();case 7:return nt(t,1,3999,$i,3,r);case 8:return lA(t,945,969,!1,r);case 9:return lA(t,97,122,!1,r);case 10:return lA(t,65,90,!1,r);case 11:return lA(t,1632,1641,!0,r);case 12:case 49:return nt(t,1,9999,qi,3,r);case 35:return nt(t,1,9999,qi,3,r).toLowerCase();case 13:return lA(t,2534,2543,!0,r);case 14:case 30:return lA(t,6112,6121,!0,r);case 15:return ke(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return ke(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return he(t,"零一二三四五六七八九",ea,"負",s,ve|Se|Kt);case 47:return he(t,"零壹貳參肆伍陸柒捌玖",ta,"負",s,ot|ve|Se|Kt);case 42:return he(t,"零一二三四五六七八九",ea,"负",s,ve|Se|Kt);case 41:return he(t,"零壹贰叁肆伍陆柒捌玖",ta,"负",s,ot|ve|Se|Kt);case 26:return he(t,"〇一二三四五六七八九","十百千万",ra,s,0);case 25:return he(t,"零壱弐参四伍六七八九","拾百千万",ra,s,ot|ve|Se);case 31:return he(t,"영일이삼사오육칠팔구","십백천만",sn,n,ot|ve|Se);case 33:return he(t,"零一二三四五六七八九","十百千萬",sn,n,0);case 32:return he(t,"零壹貳參四五六七八九","拾百千",sn,n,ot|ve|Se);case 18:return lA(t,2406,2415,!0,r);case 20:return nt(t,1,19999,gf,3,r);case 21:return lA(t,2790,2799,!0,r);case 22:return lA(t,2662,2671,!0,r);case 52:return nt(t,1,10999,Bf,3,r);case 23:return ke(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ke(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return lA(t,3302,3311,!0,r);case 28:return ke(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return ke(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return lA(t,3792,3801,!0,r);case 37:return lA(t,6160,6169,!0,r);case 38:return lA(t,4160,4169,!0,r);case 39:return lA(t,2918,2927,!0,r);case 40:return lA(t,1776,1785,!0,r);case 43:return lA(t,3046,3055,!0,r);case 44:return lA(t,3174,3183,!0,r);case 45:return lA(t,3664,3673,!0,r);case 46:return lA(t,3872,3881,!0,r);default:return lA(t,48,57,!0,r)}},nn="data-html2canvas-ignore",df=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class sa{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new lf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=df(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=uf(A,e,this.options.iframeContainer);if(!r.contentWindow)throw new Error("Unable to find iframe window");const s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=r.contentWindow,i=o.document,a=hf(r).then(async()=>{this.scrolledElements.forEach(Uf),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const f=this.options.onclone,u=this.clonedReferenceElement;if(typeof u>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return i.fonts&&i.fonts.ready&&await i.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await wf(i),typeof f=="function"?Promise.resolve().then(()=>f(i,u)).then(()=>r):r}),l=i.baseURI;i.open();const c=Qf(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,u=f&&f.trustedTypes;let h=u?.getPolicy?.("html2canvas-pro");!h&&u&&(h=u.createPolicy("html2canvas-pro",{createHTML:p=>p})),h?i.write(h.createHTML(c)):i.write(c)}catch{i.write(c)}Cf(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return yf(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if(ks(A,2))debugger;if(Yi(A))return this.createCanvasClone(A);if(ji(A))return this.createVideoClone(A);if(rn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return tn(e)&&(tn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Ui(e)&&!st(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,on(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(r){this.context.logger.error("Failed to attach shadow root to custom element clone:",r)}return e}createStyleClone(A){try{const r=A.sheet;if(r&&r.cssRules){const s=[].slice.call(r.cssRules,0).reduce((o,i)=>i&&typeof i.cssText=="string"?o+i.cssText:o,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(r){if(this.context.logger.error("Unable to access cssRules property",r),r.name!=="SecurityError")throw r}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const r=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,r){(!we(e)||!Zi(e)&&!e.hasAttribute(nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!we(e)||!rn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!we(A)||!Zi(A)&&!A.hasAttribute(nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!we(A)||!rn(A)}safeAppendClonedChild(A,e,r){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,r))}cloneAssignedNodes(A,e,r){A.forEach(s=>{this.safeAppendClonedChild(e,s,r)})}cloneSlotFallbackContent(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,r)}cloneSlotElement(A,e,r){if(!Tt(A))return;const s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,r);return}const n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,r);return}n.length>0?this.cloneAssignedNodes(n,e,r):this.cloneSlotFallbackContent(A,e,r)}cloneShadowDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)we(s)&&Tt(s)?this.cloneSlotElement(s,e,r):this.safeAppendClonedChild(e,s,r)}cloneLightDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,r)}cloneSlotElementAsLightDOM(A,e,r){if(!Tt(A))return;const s=A;if(typeof s.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r);return}const n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,r));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r)}cloneShadowDOMAsLightDOM(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)we(s)&&Tt(s)?this.cloneSlotElementAsLightDOM(s,e,r):this.appendChildNode(e,s,r)}cloneChildNodes(A,e,r){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,r),this.cloneLightDOMChildren(A,e,r)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,r):this.cloneLightDOMChildren(A,e,r)}cloneNode(A,e){if(Ci(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&we(A)&&(vt(A)||st(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&vt(s)&&(this.clonedReferenceElement=s),en(s)&&Ef(s,this.options.cspNonce);const a=this.counters.parse(new Qi(this.context,n)),l=this.resolvePseudoContent(A,s,o,Ot.BEFORE);Ui(A)&&(e=!0),ji(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,Ot.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||st(A))&&!zi(A)||e)&&on(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(Rr(A)||Mr(A))&&(Rr(s)||Mr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,r,s){if(!r)return;const n=r.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||r.display==="none")return;this.counters.parse(new Qi(this.context,r));const i=new ru(this.context,r),a=o.createElement("html2canvaspseudoelement");on(r,a),i.content.forEach(c=>{if(c.type===0)a.appendChild(o.createTextNode(c.value));else if(c.type===22){const B=o.createElement("img");B.src=c.value,B.style.opacity="1",a.appendChild(B)}else if(c.type===18){if(c.name==="attr"){const B=c.values.filter(R);B.length&&a.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(c.name==="counter"){const[B,f]=c.values.filter(UA);if(B&&R(B)){const u=this.counters.getCounterValue(B.value),h=f&&R(f)?Vs.parse(this.context,f.value):3;a.appendChild(o.createTextNode(Dt(u,h,!1)))}}else if(c.name==="counters"){const[B,f,u]=c.values.filter(UA);if(B&&R(B)){const h=this.counters.getCounterValues(B.value),p=u&&R(u)?Vs.parse(this.context,u.value):3,C=f&&f.type===0?f.value:"",y=h.map(w=>Dt(w,p,!1)).join(C);a.appendChild(o.createTextNode(y))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(pi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(pi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${an} ${cn}`;const l=s===Ot.BEFORE?` ${an}`:` ${cn}`;return st(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Ot;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Ot||(Ot={}));const uf=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(nn,"true"),(e||t.body).appendChild(r),r},ff=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),wf=t=>Promise.all([].slice.call(t.images,0).map(ff)),hf=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const s=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),pf=["all","d","content"],on=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);pf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},Qf=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,""").replace(/>/g,">")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,""")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,""")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,""")+'"'),A+=">"),A},Cf=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},Uf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Ff=":before",mf=":after",an="___html2canvas___pseudoelement_before",cn="___html2canvas___pseudoelement_after",na=`{
|
|
8
8
|
content: "" !important;
|
|
9
9
|
display: none !important;
|
|
10
10
|
}`,Ef=(t,A)=>{xf(t,`.${an}${Ff}${na}
|
|
11
|
-
.${cn}${mf}${na}`,A)},xf=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},yf=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};class x{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new x(this.x+A,this.y+e)}}const it=(t,A,e)=>new x(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class pe{constructor(A,e,r,s){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=s}subdivide(A,e){const r=it(this.start,this.startControl,A),s=it(this.startControl,this.endControl,A),n=it(this.endControl,this.end,A),o=it(r,s,A),i=it(s,n,A),a=it(o,i,A);return e?new pe(this.start,r,o,a):new pe(a,i,n,this.end)}add(A,e){return new pe(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new pe(this.end,this.endControl,this.startControl,this.start)}}const OA=t=>t.type===1;class Hf{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Ht(e.borderTopLeftRadius,r.width,r.height),[o,i]=Ht(e.borderTopRightRadius,r.width,r.height),[a,l]=Ht(e.borderBottomRightRadius,r.width,r.height),[c,B]=Ht(e.borderBottomLeftRadius,r.width,r.height);const f=[];f.push((s+o)/r.width),f.push((c+a)/r.width),f.push((n+B)/r.height),f.push((i+l)/r.height);const u=Math.max(...f);u>1&&(s/=u,n/=u,o/=u,i/=u,a/=u,l/=u,c/=u,B/=u);const h=r.width-o,p=r.height-l,C=r.width-a,y=r.height-B,w=e.borderTopWidth,b=e.borderRightWidth,H=e.borderBottomWidth,m=e.borderLeftWidth,D=O(e.paddingTop,A.bounds.width),k=O(e.paddingRight,A.bounds.width),X=O(e.paddingBottom,A.bounds.width),K=O(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?rA(r.left+m/3,r.top+w/3,s-m/3,n-w/3,P.TOP_LEFT):new x(r.left+m/3,r.top+w/3),this.topRightBorderDoubleOuterBox=s>0||n>0?rA(r.left+h,r.top+w/3,o-b/3,i-w/3,P.TOP_RIGHT):new x(r.left+r.width-b/3,r.top+w/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?rA(r.left+C,r.top+p,a-b/3,l-H/3,P.BOTTOM_RIGHT):new x(r.left+r.width-b/3,r.top+r.height-H/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?rA(r.left+m/3,r.top+y,c-m/3,B-H/3,P.BOTTOM_LEFT):new x(r.left+m/3,r.top+r.height-H/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?rA(r.left+m*2/3,r.top+w*2/3,s-m*2/3,n-w*2/3,P.TOP_LEFT):new x(r.left+m*2/3,r.top+w*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?rA(r.left+h,r.top+w*2/3,o-b*2/3,i-w*2/3,P.TOP_RIGHT):new x(r.left+r.width-b*2/3,r.top+w*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?rA(r.left+C,r.top+p,a-b*2/3,l-H*2/3,P.BOTTOM_RIGHT):new x(r.left+r.width-b*2/3,r.top+r.height-H*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?rA(r.left+m*2/3,r.top+y,c-m*2/3,B-H*2/3,P.BOTTOM_LEFT):new x(r.left+m*2/3,r.top+r.height-H*2/3),this.topLeftBorderStroke=s>0||n>0?rA(r.left+m/2,r.top+w/2,s-m/2,n-w/2,P.TOP_LEFT):new x(r.left+m/2,r.top+w/2),this.topRightBorderStroke=s>0||n>0?rA(r.left+h,r.top+w/2,o-b/2,i-w/2,P.TOP_RIGHT):new x(r.left+r.width-b/2,r.top+w/2),this.bottomRightBorderStroke=a>0||l>0?rA(r.left+C,r.top+p,a-b/2,l-H/2,P.BOTTOM_RIGHT):new x(r.left+r.width-b/2,r.top+r.height-H/2),this.bottomLeftBorderStroke=c>0||B>0?rA(r.left+m/2,r.top+y,c-m/2,B-H/2,P.BOTTOM_LEFT):new x(r.left+m/2,r.top+r.height-H/2),this.topLeftBorderBox=s>0||n>0?rA(r.left,r.top,s,n,P.TOP_LEFT):new x(r.left,r.top),this.topRightBorderBox=o>0||i>0?rA(r.left+h,r.top,o,i,P.TOP_RIGHT):new x(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?rA(r.left+C,r.top+p,a,l,P.BOTTOM_RIGHT):new x(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?rA(r.left,r.top+y,c,B,P.BOTTOM_LEFT):new x(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?rA(r.left+m,r.top+w,Math.max(0,s-m),Math.max(0,n-w),P.TOP_LEFT):new x(r.left+m,r.top+w),this.topRightPaddingBox=o>0||i>0?rA(r.left+Math.min(h,r.width-b),r.top+w,h>r.width+b?0:Math.max(0,o-b),Math.max(0,i-w),P.TOP_RIGHT):new x(r.left+r.width-b,r.top+w),this.bottomRightPaddingBox=a>0||l>0?rA(r.left+Math.min(C,r.width-m),r.top+Math.min(p,r.height-H),Math.max(0,a-b),Math.max(0,l-H),P.BOTTOM_RIGHT):new x(r.left+r.width-b,r.top+r.height-H),this.bottomLeftPaddingBox=c>0||B>0?rA(r.left+m,r.top+Math.min(y,r.height-H),Math.max(0,c-m),Math.max(0,B-H),P.BOTTOM_LEFT):new x(r.left+m,r.top+r.height-H),this.topLeftContentBox=s>0||n>0?rA(r.left+m+K,r.top+w+D,Math.max(0,s-(m+K)),Math.max(0,n-(w+D)),P.TOP_LEFT):new x(r.left+m+K,r.top+w+D),this.topRightContentBox=o>0||i>0?rA(r.left+Math.min(h,r.width+m+K),r.top+w+D,h>r.width+m+K?0:o-m+K,i-(w+D),P.TOP_RIGHT):new x(r.left+r.width-(b+k),r.top+w+D),this.bottomRightContentBox=a>0||l>0?rA(r.left+Math.min(C,r.width-(m+K)),r.top+Math.min(p,r.height+w+D),Math.max(0,a-(b+k)),l-(H+X),P.BOTTOM_RIGHT):new x(r.left+r.width-(b+k),r.top+r.height-(H+X)),this.bottomLeftContentBox=c>0||B>0?rA(r.left+m+K,r.top+y,Math.max(0,c-(m+K)),B-(H+X),P.BOTTOM_LEFT):new x(r.left+m+K,r.top+r.height-(H+X))}}var P;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(P||(P={}));const rA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,i=r*n,a=t+e,l=A+r;switch(s){case P.TOP_LEFT:return new pe(new x(t,l),new x(t,l-i),new x(a-o,A),new x(a,A));case P.TOP_RIGHT:return new pe(new x(t,A),new x(t+o,A),new x(a,l-i),new x(a,l));case P.BOTTOM_RIGHT:return new pe(new x(a,A),new x(a,A+i),new x(t+o,l),new x(t,l));case P.BOTTOM_LEFT:default:return new pe(new x(a,l),new x(a-o,l),new x(t,A+i),new x(t,A))}},Nr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],bf=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],_r=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class oa{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Gr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class If{constructor(A){this.opacity=A,this.type=2,this.target=6}}class Rt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const vf=t=>t.type===0,ia=t=>t.type===1,Sf=t=>t.type===2,Lf=t=>t.type===3,aa=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,Tf=(t,A,e,r,s)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+r,e);case 2:return n.add(A+r,e+s);case 3:return n.add(A,e+s)}return n});class ca{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class la{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Hf(this.container),this.container.styles.opacity<1&&this.effects.push(new If(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),i=this.container.styles.rotate*Math.PI/180,a=Math.cos(i),l=Math.sin(i),c=[a,l,-l,a,0,0];this.effects.push(new oa(s,n,c))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new oa(s,n,o))}if(this.container.styles.overflowX!==0){const r=Nr(this.curves),s=_r(this.curves);aa(r,s)?this.effects.push(new Gr(r,6)):(this.effects.push(new Gr(r,2)),this.effects.push(new Gr(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Kf(this.container.styles.clipPath,this.container.bounds);r&&this.effects.push(r)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent;const s=this.effects.slice(0);for(;r;){const n=r.effects.filter(o=>!ia(o));if(e||r.container.styles.position!==0||!r.parent){if(e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){const o=Nr(r.curves),i=_r(r.curves);aa(o,i)||s.unshift(new Gr(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>nA(n.target,A))}}const Ba=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):O(t,s),Kf=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=O(t.left,s),i=O(t.top,n),a=e+o,l=r+i,c=Math.max(0,s-o-O(t.right,s)),B=Math.max(0,n-i-O(t.bottom,n));return new Rt(f=>{f.beginPath(),f.rect(a,l,c,B),f.clip()})}case 2:{const o=e+O(t.cx,s),i=r+O(t.cy,n);let a;return t.radius==="closest-side"?a=Math.min(o-e,i-r,e+s-o,r+n-i):t.radius==="farthest-side"?a=Math.max(o-e,i-r,e+s-o,r+n-i):a=O(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new Rt(l=>{l.beginPath(),l.arc(o,i,Math.max(0,a),0,Math.PI*2),l.clip()})}case 3:{const o=e+O(t.cx,s),i=r+O(t.cy,n),a=Ba(t.rx,o,e,e+s,s),l=Ba(t.ry,i,r,r+n,n);return new Rt(c=>{c.beginPath(),c.ellipse(o,i,Math.max(0,a),Math.max(0,l),0,0,Math.PI*2),c.clip()})}case 4:{const o=t.points.map(([i,a])=>[e+O(i,s),r+O(a,n)]);return new Rt(i=>{if(i.beginPath(),o.length>0){i.moveTo(o[0][0],o[0][1]);for(let a=1;a<o.length;a++)i.lineTo(o[a][0],o[a][1]);i.closePath()}i.clip()})}case 5:{const{d:o}=t;return new Rt(i=>{try{const a=i.getTransform();i.translate(e,r),i.clip(new Path2D(o)),i.setTransform(a)}catch{}})}case 0:return null;default:return null}},ln=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=nA(s.flags,4),o=nA(s.flags,2),i=new la(s,t);nA(s.styles.display,2048)&&r.push(i);const a=nA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new ca(i);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const B=s.styles.zIndex.order;if(B<0){let f=0;l.negativeZIndex.some((u,h)=>B>u.element.container.styles.zIndex.order?(f=h,!1):f>0),l.negativeZIndex.splice(f,0,c)}else if(B>0){let f=0;l.positiveZIndex.some((u,h)=>B>=u.element.container.styles.zIndex.order?(f=h+1,!1):f>0),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);ln(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),ln(i,A,e,a);nA(s.flags,8)&&ga(s,a)})},ga=(t,A)=>{let e=t instanceof An?t.start:1;const r=t instanceof An?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof _i&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Dt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Df=t=>{const A=new la(t,null),e=new ca(A),r=[];return ln(A,e,e,r),ga(A.container,r),e},da=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Mt=t=>{const A=t.styles,e=t.bounds,r=O(A.paddingLeft,e.width),s=O(A.paddingRight,e.width),n=O(A.paddingTop,e.width),o=O(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+s),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Of=(t,A)=>t===0?A.bounds:t===2?Mt(A):da(A),Rf=(t,A)=>t===0?A.bounds:t===2?Mt(A):da(A),Bn=(t,A,e)=>{const r=Of(ct(t.styles.backgroundOrigin,A),t),s=Rf(ct(t.styles.backgroundClip,A),t),n=Mf(ct(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=Ht(ct(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=Nf(ct(t.styles.backgroundRepeat,A),a,n,r,s),c=Math.round(r.left+a[0]),B=Math.round(r.top+a[1]);return o=Math.max(1,o),i=Math.max(1,i),[l,c,B,o,i]},at=t=>R(t)&&t.value===rt.AUTO,Vr=t=>typeof t=="number",Mf=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if(J(n)&&o&&J(o))return[O(n,s.width),O(o,s.height)];const i=Vr(r);if(R(n)&&(n.value===rt.CONTAIN||n.value===rt.COVER))return Vr(r)?s.width/s.height<r!=(n.value===rt.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const a=Vr(A),l=Vr(e),c=a||l;if(at(n)&&(!o||at(o))){if(a&&l)return[A,e];if(!i&&!c)return[s.width,s.height];if(c&&i){const p=a?A:e*r,C=l?e:A/r;return[p,C]}const u=a?A:s.width,h=l?e:s.height;return[u,h]}if(i){let u=0,h=0;return J(n)?u=O(n,s.width):J(o)&&(h=O(o,s.height)),at(n)?u=h*r:(!o||at(o))&&(h=u/r),[u,h]}let B=null,f=null;if(J(n)?B=O(n,s.width):o&&J(o)&&(f=O(o,s.height)),B!==null&&(!o||at(o))&&(f=a&&l?B/A*e:s.height),f!==null&&at(n)&&(B=a&&l?f/e*A:s.width),B!==null&&f!==null)return[B,f];throw new Error("Unable to calculate background-size for element")},ct=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Nf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new x(Math.round(n.left),Math.round(n.top+e)),new x(Math.round(n.left+n.width),Math.round(n.top+e)),new x(Math.round(n.left+n.width),Math.round(s+n.top+e)),new x(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new x(Math.round(n.left+A),Math.round(n.top)),new x(Math.round(n.left+A+r),Math.round(n.top)),new x(Math.round(n.left+A+r),Math.round(n.height+n.top)),new x(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new x(Math.round(n.left+A),Math.round(n.top+e)),new x(Math.round(n.left+A+r),Math.round(n.top+e)),new x(Math.round(n.left+A+r),Math.round(n.top+e+s)),new x(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new x(Math.round(o.left),Math.round(o.top)),new x(Math.round(o.left+o.width),Math.round(o.top)),new x(Math.round(o.left+o.width),Math.round(o.height+o.top)),new x(Math.round(o.left),Math.round(o.height+o.top))]}},_f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ua="Hidden Text";class Gf{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const r=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",o.appendChild(r),s.src=_f,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(ua)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(ua)),r.style.lineHeight="normal",s.style.verticalAlign="super";const a=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:i,middle:a}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class fa{constructor(A,e){this.context=A,this.options=e}}class Vf{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const r of A.styles.backgroundImage.slice(0).reverse())r.type===0?await this.renderBackgroundURLImage(A,r,e):Ug(r)?this.renderLinearGradient(A,r,e):Fg(r)&&this.renderRadialGradient(A,r,e),e--}async renderBackgroundURLImage(A,e,r){let s;const n=e.url;try{s=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(s){const o=isNaN(s.width)||s.width===0?1:s.width,i=isNaN(s.height)||s.height===0?1:s.height,[a,l,c,B,f]=Bn(A,r,[o,i,o/i]),u=this.ctx.createPattern(this.resizeImage(s,B,f,A.styles.imageRendering),"repeat");this.renderRepeat(a,u,l,c)}}renderLinearGradient(A,e,r){const[s,n,o,i,a]=Bn(A,r,[null,null,null]),[l,c,B,f,u]=wg(e.angle,i,a),p=(this.canvas.ownerDocument??document).createElement("canvas");p.width=i,p.height=a;const C=p.getContext("2d"),y=C.createLinearGradient(c,f,B,u);if(ri(e.stops,l||1).forEach(w=>y.addColorStop(w.stop,eA(w.color))),C.fillStyle=y,C.fillRect(0,0,i,a),i>0&&a>0){const w=this.ctx.createPattern(p,"repeat");this.renderRepeat(s,w,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=Bn(A,r,[null,null,null]),l=e.position.length===0?[Ne]:e.position,c=O(l[0],i),B=O(l[l.length-1],a);let[f,u]=hg(e,c,B,i,a);if((f===0||u===0)&&(f=Math.max(f,.01),u=Math.max(u,.01)),f>0&&u>0){const h=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,f);if(ri(e.stops,f*2).forEach(p=>h.addColorStop(p.stop,eA(p.color))),this.path(s),this.ctx.fillStyle=h,f!==u){const p=A.bounds.left+.5*A.bounds.width,C=A.bounds.top+.5*A.bounds.height,y=u/f,w=1/y;this.ctx.save(),this.ctx.translate(p,C),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-p,-C),this.ctx.fillRect(n,w*(o-C)+C,i,a*w),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,r,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)}resizeImage(A,e,r,s){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,r);const i=o.getContext("2d");return s===VA.PIXELATED||s===VA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===VA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,r),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=OA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),OA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const wa=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return WA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return WA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return WA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},kf=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return WA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return WA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return WA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Pf=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return WA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return WA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return WA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Xf=(t,A)=>{switch(A){case 0:return kr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return kr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return kr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return kr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},kr=(t,A)=>{const e=[];return OA(t)?e.push(t.subdivide(.5,!1)):e.push(t),OA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},WA=(t,A,e,r)=>{const s=[];return OA(t)?s.push(t.subdivide(.5,!1)):s.push(t),OA(e)?s.push(e.subdivide(.5,!0)):s.push(e),OA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),OA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class Wf{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(wa(r,e)),this.ctx.fillStyle=eA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=kf(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=eA(A),this.ctx.fill();const o=Pf(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=Xf(s,r),i=wa(s,r);n===2&&(this.pathCallbacks.path(i),this.ctx.clip());let a,l,c,B;OA(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),OA(i[1])?(c=i[1].end.x,B=i[1].end.y):(c=i[1].x,B=i[1].y);let f;r===0||r===2?f=Math.abs(a-c):f=Math.abs(l-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(i.slice(0,2));let u=e<3?e*3:e*2,h=e<3?e*2:e;n===3&&(u=e,h=e);let p=!0;if(f<=u*2)p=!1;else if(f<=u*2+h){const C=f/(2*u+h);u*=C,h*=C}else{const C=Math.floor((f+h)/(u+h)),y=(f-C*u)/(C-1),w=(f-(C+1)*u)/C;h=w<=0||Math.abs(h-y)<Math.abs(h-w)?y:w}if(p&&(n===3?this.ctx.setLineDash([0,u+h]):this.ctx.setLineDash([u,h])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=eA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(OA(i[0])){const C=i[3],y=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new x(C.end.x,C.end.y),new x(y.start.x,y.start.y)]),this.ctx.stroke()}if(OA(i[1])){const C=i[1],y=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new x(C.end.x,C.end.y),new x(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class Jf{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),Sf(A)?this.ctx.globalAlpha=A.opacity:vf(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):ia(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Lf(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const Yf=["-apple-system","system-ui"],jf=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,zf=t=>jf.test(t),Zf=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const r=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const s of r){const n=t.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},$f=t=>{const A=Zf();return A!==null&&A>=15&&A<17?t.map(e=>Yf.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class qf{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Tr(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(zf(a)){const l=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(a,i,o),this.ctx.textBaseline=l}else s(a,i,o);i+=this.ctx.measureText(a).width+e}}renderTextWithLetterSpacing(A,e,r){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):this.iterateLettersWithLetterSpacing(A,e,r,(s,n,o)=>{this.ctx.fillText(s,n,o)})}renderTextBoundWithPaintOrder(A,e,r){r.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=eA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,i)=>this.ctx.strokeText(n,o,i)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=eA(e.textDecorationColor||e.color);let r=1;typeof e.textDecorationThickness=="number"?r=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(r=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let i=0;switch(o){case 1:i=A.top+A.height-r+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,i,A.width,r,n)})}drawDecorationLine(A,e,r,s,n){switch(n){case 0:this.ctx.fillRect(A,e,r,s);break;case 1:const o=Math.max(1,s);this.ctx.fillRect(A,e,r,s),this.ctx.fillRect(A,e+s+o,r,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;const i=s*2,a=s*4;let l=A;for(this.ctx.moveTo(l,e+s/2);l<A+r;){const c=Math.min(l+a/2,A+r);if(this.ctx.quadraticCurveTo(l+a/4,e+s/2-i,c,e+s/2),l=c,l<A+r){const B=Math.min(l+a/2,A+r);this.ctx.quadraticCurveTo(l+a/4,e+s/2+i,B,e+s/2),l=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,r,s)}}truncateTextWithEllipsis(A,e,r){const n=this.ctx.measureText("…").width,o=Tr(A);if(r===0){const i=c=>this.ctx.measureText(o.slice(0,c).join("")).width+n<=e;let a=0,l=o.length;for(;a<l;){const c=a+l+1>>1;i(c)?a=c:l=c-1}return o.slice(0,a).join("")+"…"}else{let i=n;const a=[];for(const l of o){const c=this.ctx.measureText(l).width;if(i+c>e)break;a.push(l),i+=c+r}return a.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=$f(A.fontFamily).join(", "),s=oe(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,r].join(" "),r,s]}async renderTextNode(A,e,r){const[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const B=[];let f=[],u=A.textBounds[0].bounds.top;A.textBounds.forEach(p=>{Math.abs(p.bounds.top-u)>=o*.5?(f.length>0&&B.push(f),f=[p],u=p.bounds.top):f.push(p)}),f.length>0&&B.push(f);const h=e.webkitLineClamp;if(B.length>h){for(let C=0;C<h-1;C++)B[C].forEach(y=>{this.renderTextBoundWithPaintOrder(y,e,n)});const p=B[h-1];if(p&&p.length>0&&r){const C=p.map(m=>m.text).join(""),y=p[0],w=r.width-(y.bounds.left-r.left),b=this.truncateTextWithEllipsis(C,w,e.letterSpacing),H=new Ve(b,y.bounds);n.forEach(m=>{switch(m){case 0:this.ctx.fillStyle=eA(e.color),e.letterSpacing===0?this.ctx.fillText(b,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(D,k,X)=>this.ctx.fillText(D,k,X));break;case 1:e.webkitTextStrokeWidth&&b.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(b,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(D,k,X)=>this.ctx.strokeText(D,k,X)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const a=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let l=!1,c="";if(a){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(u=>Math.abs(u.bounds.top-B)<o*.5)){let u=A.textBounds.map(C=>C.text).join("");u=u.replace(/\s+/g," ").trim();const h=this.ctx.measureText(u).width,p=r.width;h>p&&(l=!0,c=this.truncateTextWithEllipsis(u,p,e.letterSpacing))}}if(l){const B=A.textBounds[0],f=new Ve(c,B.bounds);n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=eA(e.color),e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(p,C,y)=>this.ctx.fillText(p,C,y));const h=e.textShadow;h.length&&c.trim().length&&(h.slice(0).reverse().forEach(p=>{this.ctx.shadowColor=eA(p.color),this.ctx.shadowOffsetX=p.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=p.offsetY.number*this.options.scale,this.ctx.shadowBlur=p.blur.number,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(C,y,w)=>this.ctx.fillText(C,y,w))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(h,p,C)=>this.ctx.strokeText(h,p,C)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=eA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const u=e.textShadow;u.length&&B.text.trim().length&&(u.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=eA(h.color),this.ctx.shadowOffsetX=h.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=h.offsetY.number*this.options.scale,this.ctx.shadowBlur=h.blur.number,this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(B.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&B.text.trim().length){this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const u=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+u):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,u,(h,p,C)=>this.ctx.strokeText(h,p,C)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const Aw=1e4;class gn extends fa{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new Gf(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Vf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Wf({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new Jf({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new qf({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(nA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const s=r.naturalWidth||A.intrinsicWidth,n=r.naturalHeight||A.intrinsicHeight;if(r&&s>0&&n>0){const o=Mt(A),i=_r(e);this.path(i),this.ctx.save(),this.ctx.clip();let a=0,l=0,c=s,B=n,f=o.left,u=o.top,h=o.width,p=o.height;const{objectFit:C}=A.styles,y=h/p,w=c/B;if(C===2)w>y?(p=h/w,u+=(o.height-p)/2):(h=p*w,f+=(o.width-h)/2);else if(C===4)w>y?(c=B*y,a+=(s-c)/2):(B=c/y,l+=(n-B)/2);else if(C===8)c>h?(a+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),B>p?(l+=(B-p)/2,B=p):(u+=(p-B)/2,p=B);else if(C===16){const b=w>y?h:p*w,H=c>h?c:h;b<H?w>y?(p=h/w,u+=(o.height-p)/2):(h=p*w,f+=(o.width-h)/2):(c>h?(a+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),B>p?(l+=(B-p)/2,B=p):(u+=(p-B)/2,p=B))}this.ctx.drawImage(r,a,l,c,B,f,u,h,p),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=Mt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Ri)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===VA.PIXELATED||s.imageRendering===VA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===VA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===VA.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,r,o),this.ctx.imageSmoothingEnabled=i}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof Mi&&this.renderReplacedElement(e,r,e.canvas),e instanceof Ni)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,r,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof Pi&&e.tree){const i=await new gn(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(i,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof Lt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===Kr?e.checked&&(this.ctx.save(),this.path([new x(e.bounds.left+o*.39363,e.bounds.top+o*.79),new x(e.bounds.left+o*.16,e.bounds.top+o*.5549),new x(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new x(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new x(e.bounds.left+o*.72983,e.bounds.top+o*.23),new x(e.bounds.left+o*.84,e.bounds.top+o*.34085),new x(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=eA(Gi),this.ctx.fill(),this.ctx.restore()):e.type===Dr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=eA(Gi),this.ctx.fill(),this.ctx.restore())}if(ew(e)&&e.value.length){const[o,i,a]=this.textRenderer.createFontStyle(s),{baseline:l}=this.fontMetrics.getMetrics(i,a);this.ctx.font=o;const c=e instanceof Lt&&e.isPlaceholder;this.ctx.fillStyle=eA(c?rf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=rw(e.styles.textAlign);const B=Mt(e);let f=0;switch(e.styles.textAlign){case 1:f+=B.width/2;break;case 2:f+=B.width;break}let u=0;if(e instanceof Lt){const p=O(s.fontSize,0);u=(B.height-p)/2}const h=B.add(f,u,0,0);this.ctx.save(),this.path([new x(B.left,B.top),new x(B.left+B.width,B.top),new x(B.left+B.width,B.top+B.height),new x(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Ve(e.value,h),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(nA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let i;const a=o.url;try{i=await this.context.cache.match(a),this.ctx.drawImage(i,e.bounds.left-(i.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${a}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(s);this.ctx.font=o,this.ctx.fillStyle=eA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new yA(e.bounds.left,e.bounds.top+O(e.styles.paddingTop,e.bounds.width),e.bounds.width,fi(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Ve(A.listValue,i),s.letterSpacing,fi(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(nA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=OA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),OA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!He(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=tw(ct(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),He(e.backgroundColor)||(this.ctx.fillStyle=eA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(i=>{this.ctx.save();const a=Nr(A.curves),l=i.inset?0:Aw,c=Tf(a,-l+(i.inset?1:-1)*i.spread.number,(i.inset?1:-1)*i.spread.number,i.spread.number*(i.inset?-2:2),i.spread.number*(i.inset?-2:2));i.inset?(this.path(a),this.ctx.clip(),this.mask(c)):(this.mask(a),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=i.offsetX.number+l,this.ctx.shadowOffsetY=i.offsetY.number,this.ctx.shadowColor=eA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?eA(i.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const i of s)i.style!==0&&!He(i.color)&&i.width>0&&(i.style===2?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,2):i.style===3?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,3):i.style===4?await this.borderRenderer.renderDoubleBorder(i.color,i.width,o,A.curves):await this.borderRenderer.renderSolidBorder(i.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=eA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Df(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const ew=t=>t instanceof ki||t instanceof Vi?!0:t instanceof Lt&&t.type!==Dr&&t.type!==Kr,tw=(t,A)=>{switch(t){case 0:return Nr(A);case 2:return bf(A);default:return _r(A)}},rw=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class sw extends fa{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=qs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await nw(e);return this.options.backgroundColor&&(this.ctx.fillStyle=eA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const nw=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>{A(r)},r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ha{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}ha.instances={};class ow{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const r=this._cache.get(A);return r&&(r.lastAccessed=Date.now()),Promise.resolve()}if(un(A)||lw(A)){const r=this._addImageInternal(A);return this._pendingOperations.set(A,r),r.finally(()=>{this._pendingOperations.delete(A)}),r}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,r=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),s=Promise.race([this.loadImage(A),r]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,s)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const r=this._cache.get(A);r.value=e,r.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[r,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=r);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,r=a=>e.isSameOrigin(a),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!dn(A)&&this._options.useCORS===!0&&FA.SUPPORT_CORS_IMAGES&&!s,o=!dn(A)&&!s&&!un(A)&&typeof this._options.proxy=="string"&&FA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!dn(A)&&!un(A)&&!o&&!n)return;let i=A;return o&&(i=await this.proxy(i)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((a,l)=>{const c=new Image;c.onload=()=>a(c),c.onerror=l,(Bw(i)||n)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(()=>a(c),500),this._options.imageTimeout>0&&setTimeout(()=>l(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const r=A.substring(0,256);return new Promise((s,n)=>{const o=FA.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=()=>{if(i.status===200)if(o==="text")s(i.response);else{const l=new FileReader;l.addEventListener("load",()=>s(l.result),!1),l.addEventListener("error",c=>n(c),!1),l.readAsDataURL(i.response)}else n(`Failed to proxy resource ${r} with status code ${i.status}`)},i.onerror=n;const a=e.indexOf("?")>-1?"&":"?";if(i.open("GET",`${e}${a}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&i instanceof XMLHttpRequest&&(i.responseType=o),this._options.imageTimeout){const l=this._options.imageTimeout;i.timeout=l,i.ontimeout=()=>n(`Timed out (${l}ms) proxying ${r}`)}i.send()})}}const iw=/^data:image\/svg\+xml/i,aw=/^data:image\/.*;base64,/i,cw=/^data:image\/.*/i,lw=t=>FA.SUPPORT_SVG_DRAWING||!gw(t),dn=t=>cw.test(t),Bw=t=>aw.test(t),un=t=>t.substr(0,4)==="blob",gw=t=>t.substr(-3).toLowerCase()==="svg"||iw.test(t);class dw{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class Pr{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${Pr.instanceCount++}`,this.config=r,this.logger=new ha({id:this.instanceName,enabled:A.logging}),this.originChecker=new dw(r.window),this.cache=A.cache??r.cache??new ow(this,A)}}Pr.instanceCount=1;class Nt{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a window");return new Nt({window:s,...e})}clone(A={}){return new Nt({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function uw(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class fw{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const r=new URL(A);if(!["http:","https:"].includes(r.protocol))return{valid:!1,error:`Protocol ${r.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const s=r.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const i=o.toLowerCase();return s===i||s.endsWith("."+i)}))return{valid:!1,error:`Proxy domain ${r.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const s=r.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(r){return{valid:!1,error:`Invalid URL format: ${r instanceof Error?r.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(r=>r.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return!0;const n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const i=parseInt(n.substring(2,4),16);if(i>=128&&i<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const r=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-r.length-s.length;if(n<0)return null;const o=Array(n).fill("0000");return[...r,...o,...s].map(a=>a.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(r=>r.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const r=32767;return A>r||e>r?{valid:!1,error:`Dimensions exceed maximum allowed (${r}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],r=A.proxy;if(r!=null&&typeof r=="string"&&r.length>0){const s=this.validateUrl(r,"proxy");s.valid||e.push(`Proxy: ${s.error}`)}if(A.imageTimeout!==void 0){const s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`)}if(A.width!==void 0||A.height!==void 0){const s=A.width??800,n=A.height??600,o=this.validateDimensions(s,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`)}if(A.cspNonce!==void 0){const s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`)}if(this.config.customValidator){const s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function ww(t={}){return new fw({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class hw{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,r){this.start(A,r);try{const s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,r){this.start(A,r);try{const s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((r,s)=>r+(s.duration||0),0),e=this.completedMetrics.map(r=>({name:r.name,duration:r.duration||0,percentage:A>0?((r.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
|
|
12
|
-
📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,r)=>r.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const pa=(t,A={},e)=>{const r=e||Nt.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return Cw(t,A,r)},pw=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&uw(new Nt({window,cspNonce:t}))};pa.setCspNonce=pw;const Qw=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const r=t[e];if(r!=null&&typeof r!="number"){const s=Number(r);Number.isNaN(s)||(t[e]=s)}})},Cw=async(t,A,e)=>{if(Qw(A),!A.skipValidation){const aA=A.validator||ww(),W=aA.validateElement(t);if(!W.valid)throw new Error(W.error);const bA=aA.validateOptions(A);if(!bA.valid)throw new Error(`Invalid options: ${bA.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},i=800,a=600,l=0,c=s,B={windowWidth:A.windowWidth??c.innerWidth??i,windowHeight:A.windowHeight??c.innerHeight??a,scrollX:A.scrollX??c.pageXOffset??l,scrollY:A.scrollY??c.pageYOffset??l},f=new yA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),u=new Pr(o,f,e),h=A.enablePerformanceMonitoring??A.logging??!1,p=new hw(u,h);p.start("total",{width:B.windowWidth,height:B.windowHeight});const C=A.foreignObjectRendering??!1,y={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:C,copyStyles:C,cspNonce:A.cspNonce??e.cspNonce};u.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),p.start("clone");const w=new sa(u,t,y),b=w.clonedReferenceElement;if(!b)throw new Error("Unable to find element in cloned iframe");const H=await w.toIFrame(r,f);p.end("clone");const{width:m,height:D,left:k,top:X}=en(b)||cf(b)?Ic(b.ownerDocument):jt(u,b),K=Uw(u,b,A.backgroundColor),pA={canvas:A.canvas,backgroundColor:K,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+k,y:(A.y??0)+X,width:A.width??Math.ceil(m),height:A.height??Math.ceil(D),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let dA,Y;try{return C?(u.logger.debug("Document cloned, using foreign object rendering"),p.start("render-foreignobject"),dA=await new sw(u,pA).render(b),p.end("render-foreignobject")):(u.logger.debug(`Document cloned, element located at ${k},${X} with size ${m}x${D} using computed rendering`),u.logger.debug("Starting DOM parsing"),p.start("parse"),Y=Wi(u,b),p.end("parse"),K===Y.styles.backgroundColor&&(Y.styles.backgroundColor=ae.TRANSPARENT),u.logger.debug(`Starting renderer for element at ${pA.x},${pA.y} with size ${pA.width}x${pA.height}`),p.start("render"),dA=await new gn(u,pA).render(Y),p.end("render")),p.start("cleanup"),(A.removeContainer??!0)&&(sa.destroy(H)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),p.end("cleanup"),p.end("total"),u.logger.debug("Finished rendering"),h&&p.logSummary(),dA}finally{Y&&Y.restoreTree()}},Uw=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?tt(t,getComputedStyle(r.documentElement).backgroundColor):ae.TRANSPARENT,n=r.body?tt(t,getComputedStyle(r.body).backgroundColor):ae.TRANSPARENT,o=typeof e=="string"?tt(t,e):e===null?ae.TRANSPARENT:4294967295;return A===r.documentElement?He(s)?He(n)?o:n:s:o},_t=2147483647,fn=_t-1,wn=_t-1,Fw=_t-10,mw=_t-5,Ew=_t-15,le="data-vg-pin-id",xw=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Qa=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},Ca=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=U.useRef(null),o=()=>{if(!n.current||!s)return;const i=n.current.getBoundingClientRect(),a=i.top,l=window.innerHeight-i.bottom,c=a<140&&l>a?"bottom":"top";s({url:t,x:i.left+i.width/2,y:c==="top"?i.top:i.bottom,direction:c})};return g.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:e,onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[g.jsx(Uc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:117",size:e?.fontSize?parseInt(e.fontSize)+1:10}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:118",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},Gt=t=>{const A=[],e=[],r=[];let s=t;for(;s&&s.nodeType===Node.ELEMENT_NODE;){if(s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")){A.unshift(`#${s.id}`),r.unshift(`${s.localName}#${s.id}`);break}let n=s.localName;const o=Array.from(s.parentNode?.children||[]).indexOf(s),i=`${s.localName}[${o}]`;r.unshift(i);const a=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(a&&e.push(`[data-testid="${a}"]`),s.getAttribute("placeholder"),s.getAttribute("aria-label"),s.getAttribute("role"),s.getAttribute("name"),s.getAttribute("title"),a){n=`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${a}"]`,A.unshift(n);break}const l=Array.from(s.parentNode?.children||[]).filter(c=>c.localName===s?.localName);if(l.length>1){const c=l.indexOf(s)+1;n+=`:nth-of-type(${c})`}A.unshift(n),s=s.parentElement}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},yw=t=>{const{vgPath:A}=Gt(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,textSnippet:(t.innerText||"").slice(0,30).trim()}},Hw=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const r=document.createElement("div");r.style.color=e,document.body.appendChild(r);const s=getComputedStyle(r).color;return document.body.removeChild(r),s&&!s.includes("oklch")?s:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),bw=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(s=>{const n=A.getPropertyValue(s);e[s]=Hw(n)}),e},Iw=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const r=[];let s=t[e];for(;s;){const n=s.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!r.includes(o)&&r.unshift(o)}s=s.return}return r.join(" > ")||"Generic Component"},hn=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),r=t.getAttribute("role");if(r&&["listbox","menu","combobox","tooltip","option"].includes(r)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",i=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,a=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,l=t.getAttribute("class")||"",c=l.toLowerCase().includes("modal")||l.toLowerCase().includes("dialog");return!!(o&&n>=100&&(i||a||c))},Le=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden"||s.opacity==="0")return!1;e=e.parentElement}const r=t.getBoundingClientRect();return!(r.width===0||r.height===0)},Ua=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const r=A.querySelectorAll("*");for(const s of Array.from(r)){const n=s.shadowRoot;if(n){const o=Ua(t,n);if(o)return o}}return null},Fa=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const r=e.shadowRoot.elementFromPoint(t,A);if(!r||r===e)break;e=r}return e},vw=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,r=0;for(const s of A){if(!Xr(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),i=t.attributes?.placeholder||t.fingerprint?.placeholder;i&&o===i&&(n+=6);const a=s.getAttribute("type"),l=t.attributes?.type||t.fingerprint?.type;if(l&&a===l&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:c}=Gt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},Xr=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),r=A.attributes?.placeholder||A.fingerprint?.placeholder;if(r&&e&&r!==e)return!1;const s=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&s&&n!==s)},ma=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${le}="${A}"]`));if(o.length>0){const i=o.filter(a=>Xr(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(le));else{const a=i.find(c=>{const{vgPath:B}=Gt(c);return B===t.vgPath||t.fingerprint?.vgPath===B}),l=a&&Le(a)?a:i.find(c=>!(!Le(c)||t.metadata?.isModal&&!c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return l?(o.forEach(c=>{c!==l&&c.removeAttribute(le)}),l):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>Xr(o,t));let s=r.find(o=>{const{vgPath:i}=Gt(o);return i===t.vgPath||t.fingerprint?.vgPath===i})||r[0]||null;if(s&&Le(s))if(t.metadata?.isModal&&!s.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const i=Ua(o);if(i&&Xr(i,t)&&Le(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=vw(t);return n&&Le(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},pn=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),Sw=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>pn(o)),r=Array.from(A.children),s=r.indexOf(t);let n="middle";return s===0&&(n="start"),s===r.length-1&&(n="end"),{target:{...pn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:pn(A),siblings:e}},Ea=(t,A)=>{let e="unknown:0",r=t;for(;r;){const f=r.getAttribute("data-source-path");if(f){e=f;break}r=r.parentElement}const s=Iw(t),{selector:n,fallbacks:o,vgPath:i}=Gt(t),a={};["placeholder","aria-label","name","type","alt","title","value","role"].forEach(f=>{const u=t.getAttribute(f);u&&(a[f]=u)});const l=(()=>{let f=t;for(;f&&f!==document.body;){if(hn(f))return!0;f=f.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=Ea(A));const B=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${n.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:n,vgPath:i,outerHtml:t.outerHTML,parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(f=>`${f.name}="${f.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:s,signature:B,source:e,attributes:a,fallbackSelectors:[...new Set(o)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:Sw(t),fingerprint:yw(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:bw(t),viewportBreakpoint:xw(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},xa=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,disableViewGate:n,hasActiveToasts:o}=no(),i=U.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[]),[a,l]=U.useState(typeof window<"u"?window.location.pathname:"/");U.useEffect(()=>{const d=()=>l(window.location.pathname);window.addEventListener("popstate",d);const I=window.history.pushState,F=window.history.replaceState;return window.history.pushState=function(...L){I.apply(this,L),d()},window.history.replaceState=function(...L){F.apply(this,L),d()},()=>{window.removeEventListener("popstate",d),window.history.pushState=I,window.history.replaceState=F}},[]);const[c,B]=U.useState(!1),[f,u]=U.useState("medium"),[h,p]=U.useState("medium"),[C,y]=U.useState("all"),[w,b]=U.useState(null),[H,m]=U.useState(null),[D,k]=U.useState(""),[X,K]=U.useState(!1),[pA,dA]=U.useState(!1),[Y,aA]=U.useState(!1),[W,bA]=U.useState([]),[uA,IA]=U.useState(null),[Pe,lt]=U.useState(!1),[qA,Q]=U.useState({}),[S,V]=U.useState(null),[j,Ae]=U.useState(!1),[vA,z]=U.useState(null),LA=U.useCallback(async d=>{const I=await fetch(d,{headers:{"x-api-key":r}});if(!I.ok)throw new Error("Fetch failed");return I.json()},[r]),Xe=U.useMemo(()=>i?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[i]),{data:Te,isLoading:Cn}=jn(r?`${s}/api/projects/active-sprint`:null,LA,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:We,isLoading:Qe,mutate:JA}=jn(r&&(Te||i)?`${s}/api/annotations?status=${Xe}`:null,LA,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[Be,Un]=U.useState(null),Z=U.useRef(W);Z.current=W;const[M,tA]=U.useState(null),sA=U.useRef(null),[mA,RA]=U.useState([]),oA=U.useMemo(()=>{let d=Array.isArray(W)?W:[];if(d=d.filter(F=>{try{return new URL(F.url).pathname===a}catch{return!0}}),S){const F=mA.find(L=>L.annotations&&Array.isArray(L.annotations)&&L.annotations.some(G=>G._id===S));F?d=F.annotations:d=d.filter(L=>L._id===S)}return d=d.filter(F=>F.status!=="completed"&&F.status!=="done"),window.location.href.includes("viewgate-backlog")||(M==="pending"?d=d.filter(F=>F.status!=="ready_for_review"):M==="ready"&&(d=d.filter(F=>F.status==="ready_for_review"))),C!=="all"&&(d=d.filter(F=>(F.priority||"medium")===C)),d},[S,W,mA,M,C]);U.useEffect(()=>{S&&oA.length===0&&!Qe&&V(null)},[S,oA.length,Qe]);const[QA,Je]=U.useState(()=>{if(typeof window>"u")return{top:24,right:24};const d=localStorage.getItem("vg-exit-pos");return d?JSON.parse(d):{top:24,right:24}}),[ee,Vt]=U.useState(!1),YA=U.useRef(null),[fA,te]=U.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const d=localStorage.getItem("vg-bar-pos");return d?JSON.parse(d):{bottom:30,right:30}}),[Ce,Wr]=U.useState(!1),kA=U.useRef(null),Kw=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Vt(!0),YA.current={x:d.clientX,y:d.clientY,top:QA.top,right:QA.right,width:I.width,height:I.height})},Dw=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Wr(!0),kA.current={x:d.clientX,y:d.clientY,bottom:fA.bottom,right:fA.right,width:I.width,height:I.height})};U.useEffect(()=>{if(!ee&&!Ce)return;const d=F=>{if(ee&&YA.current){const L=F.clientX-YA.current.x,G=F.clientY-YA.current.y;let $=YA.current.top+G,q=YA.current.right-L;const T=10;$=Math.max(T,Math.min(window.innerHeight-YA.current.height-T,$)),q=Math.max(T,Math.min(window.innerWidth-YA.current.width-T,q)),Je({top:$,right:q})}if(Ce&&kA.current){const L=F.clientX-kA.current.x,G=F.clientY-kA.current.y;let $=kA.current.bottom-G,q=kA.current.right-L;const T=10;$=Math.max(T,Math.min(window.innerHeight-kA.current.height-T,$)),q=Math.max(T,Math.min(window.innerWidth-kA.current.width-T,q)),te({bottom:$,right:q})}},I=()=>{ee&&(Vt(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(QA)),YA.current=null),Ce&&(Wr(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(fA)),kA.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",I),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",I)}},[ee,Ce,QA,fA]);const[Fn,mn]=U.useState(null),[ya,Ha]=U.useState(""),[oh,ih]=U.useState({}),Jr=U.useRef(null),Bt=U.useRef(null),kt=U.useCallback(()=>{typeof window>"u"||(Bt.current&&cancelAnimationFrame(Bt.current),Bt.current=requestAnimationFrame(()=>{Bt.current=null;const d=Z.current,I=Array.isArray(d)?d:[],F=new Set(I.map(AA=>AA._id));document.querySelectorAll(`[${le}]`).forEach(AA=>{const SA=AA.getAttribute(le);SA&&!F.has(SA)&&AA.removeAttribute(le)});const G=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(AA=>hn(AA)&&Le(AA)),$=!!G,q=new Map,T=new Map;I.forEach(AA=>{if(!AA||!AA.reference)return;try{const hA=window.location.pathname;if(new URL(AA.url).pathname!==hA)return}catch{return}const SA=!!AA.reference.metadata?.isModal,re=AA.reference.metadata?.triggerReference;let wA=ma(AA.reference,AA._id),NA=!1;if(re){const hA=ma(re);hA&&Le(hA)&&(wA=hA,NA=!0)}if(!wA||!Le(wA))return;let TA=!1;if($?TA=G.contains(wA):NA?TA=!0:TA=!SA,!TA)return;const ge=wA.getAttribute(le);ge!==AA._id&&(document.querySelectorAll(`[${le}="${AA._id}"]`).forEach(hA=>{hA.removeAttribute(le)}),ge||wA.setAttribute(le,AA._id));const jA=NA?q:T;jA.has(wA)||jA.set(wA,{anns:[]}),jA.get(wA).anns.push(AA)});const EA=[],MA=(AA,SA)=>{AA.forEach((re,wA)=>{const{anns:NA}=re,TA=wA.getBoundingClientRect(),ge=TA.left+TA.width/2,jA=TA.top+TA.height/2;if(ge>=0&&ge<=window.innerWidth&&jA>=0&&jA<=window.innerHeight){const hA=document.elementFromPoint(ge,jA),Ke=document.getElementById("viewgate-shadow-host");if(hA&&!wA.contains(hA)&&hA!==Ke&&!Ke?.contains(hA))return}EA.push({id:NA[0]._id+(SA?"_trig":""),element:wA,rect:TA,annotations:NA.sort((hA,Ke)=>new Date(Ke.timestamp||Ke.createdAt).getTime()-new Date(hA.timestamp||hA.createdAt).getTime()),isModal:!!NA[0].reference?.metadata?.isModal,isTriggerPin:SA})})};MA(q,!0),MA(T,!1),RA(EA)}))},[]);U.useEffect(()=>{if(We){const d=Array.isArray(We)?We:We?.data||[];if(Array.isArray(d)){const I=d.reduce((F,L)=>F.find($=>$._id===L._id)?F:F.concat([L]),[]);bA(I)}}else Qe||bA([])},[We,Qe]),U.useEffect(()=>{z(Te||null)},[Te]),U.useEffect(()=>{Y&&W.length===0&&!Qe&&aA(!1)},[Y,W.length,Qe]),U.useEffect(()=>{kt();const d=new MutationObserver(()=>kt()),I=new ResizeObserver(()=>kt()),F=()=>kt();return d.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),I.observe(document.documentElement),window.addEventListener("scroll",F,!0),()=>{d.disconnect(),I.disconnect(),window.removeEventListener("scroll",F,!0),Bt.current&&cancelAnimationFrame(Bt.current)}},[c,W,kt,Y,S,a]);const En=U.useCallback(d=>{let I=d;for(;I&&I!==document.body;){if(hn(I))return I;I=I.parentElement}return null},[]);U.useEffect(()=>{const d=I=>{const F=I.target;F&&(En(F)||(sA.current=F))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[En]),U.useEffect(()=>{Jr.current=document.getElementById("viewgate-shadow-host")},[]);const xn=U.useCallback(d=>{if(!c||H)return;const I=Fa(d.clientX,d.clientY);if(!I||Jr.current?.contains(I)||I.closest(".vg-no-capture")){b(null);return}const F=I.getBoundingClientRect();b({tag:I.tagName.toLowerCase(),source:I.getAttribute("data-source-path")||"unknown:0",rect:F,element:I,previewText:(I.innerText||"").slice(0,100)||(I.getAttribute("placeholder")||"").slice(0,100)||I.tagName.toLowerCase(),semanticReference:{...Ea(I,sA.current),normalizedOffset:{x:(d.clientX-F.left)/F.width,y:(d.clientY-F.top)/F.height}}})},[c,H]),yn=U.useCallback(async d=>{if(!c||H)return;const I=Fa(d.clientX,d.clientY);if(!(!I||Jr.current?.contains(I)||I.closest(".vg-no-capture"))&&w){d.preventDefault(),d.stopPropagation(),dA(!0);try{const F=w.element,L=F.getBoundingClientRect(),G=En(F)||document.body,$=G.getBoundingClientRect(),q=await pa(G,{scale:2,useCORS:!0,logging:!1,backgroundColor:"#ffffff",ignoreElements:SA=>Jr.current?.contains(SA)||SA.id==="viewgate-shadow-host"}),T=document.createElement("canvas"),EA=T.getContext("2d"),MA=L.left-$.left,AA=L.top-$.top;T.width=L.width*2,T.height=L.height*2,EA?(EA.drawImage(q,MA*2,AA*2,L.width*2,L.height*2,0,0,L.width*2,L.height*2),T.toBlob(async SA=>{if(SA){const re=new FileReader;re.onloadend=()=>{m({...w,visualPreview:re.result})},re.readAsDataURL(SA)}else m(w)},"image/webp",.85)):m(w)}catch(F){console.error("Failed to capture high-fidelity preview:",F),m(w)}finally{dA(!1),b(null)}}},[c,w,H]);U.useEffect(()=>{const d=I=>{if(I.key==="Escape"){H?m(null):Y?aA(!1):c&&B(!1);return}const L=(()=>{let q=document.activeElement;for(;q&&q.shadowRoot&&q.shadowRoot.activeElement;)q=q.shadowRoot.activeElement;return q})();if(["input","textarea"].includes((L?.tagName||"").toLowerCase())||L?.isContentEditable)return;const $=I.key.toLowerCase();if($==="c"&&!H&&!Y){if(!(vA&&vA.status!=="closed")&&!i&&!c){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}B(T=>!T)}$==="v"&&!H&&(W.length>0||Y)&&(aA(q=>!q),Y||B(!1))};return c&&!H?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",xn,!0),window.addEventListener("click",yn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",xn,!0),window.removeEventListener("click",yn,!0)}},[c,H,Y,W,xn,yn]);const Ow=async()=>{if(!H||!D.trim())return;K(!0);const{semanticReference:d}=H,[I,F]=(d.source||"").split(":"),L=F||"0";try{const G=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({filePath:I,line:parseInt(L),url:window.location.href,title:D.length>50?D.substring(0,50)+"...":D,message:D,status:i?"backlog":"pending",priority:f,screenshot:H.visualPreview,componentName:d.componentPath||H.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}})});if(!G.ok){const $=await G.json().catch(()=>({}));throw new Error($.error||"Backend failed")}t(e.success,"success"),m(null),k(""),B(!1),JA()}catch(G){console.error(G);const $=G.message&&G.message!=="Backend failed"?G.message:e.error;t($,"error")}finally{K(!1)}};return g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1529",className:"vg-container",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1530",className:"vg-no-capture",children:[!o&&g.jsxs("div",{style:{position:"fixed",top:`${QA.top}px`,right:`${QA.right}px`,zIndex:fn+10,display:"flex",alignItems:"center",gap:"8px",transition:ee?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("div",{onMouseDown:Kw,style:{width:"20px",height:"32px",borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:c?0:1,visibility:c?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},children:g.jsx(Ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1574",size:14})}),g.jsx("button",{onClick:d=>{d.stopPropagation(),IA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>n()})},title:"Cerrar ViewGate",style:{width:"40px",height:"40px",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid rgba(0,0,0,0.05)",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",cursor:"pointer",color:"#64748b",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},onMouseEnter:d=>{d.currentTarget.style.transform="scale(1.1) rotate(90deg)",d.currentTarget.style.color="#ef4444",d.currentTarget.style.backgroundColor="white"},onMouseLeave:d=>{d.currentTarget.style.transform="scale(1) rotate(0deg)",d.currentTarget.style.color="#64748b",d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)"},children:g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1614",size:20,strokeWidth:2.5})})]}),g.jsxs("div",{style:{position:"fixed",bottom:`${fA.bottom}px`,right:`${fA.right}px`,zIndex:fn,display:"flex",alignItems:"center",gap:"8px",transition:Ce?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[g.jsx("div",{onMouseDown:Dw,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:c?0:1,visibility:c?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:g.jsx(Ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1663",size:16})}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1666",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("button",{onClick:()=>{if(!vA&&!i&&!c){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}B(!c)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:c?"#ef4444":!vA&&!i?"#94a3b8":void 0,cursor:!vA&&!i&&!c?"not-allowed":"pointer",opacity:!vA&&!i&&!c?.7:1},title:!vA&&!i&&!c?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1684",style:{display:"flex",alignItems:"center",gap:"10px"},children:[c?g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1685",size:20,className:"vg-animate-pop"}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1685",size:20,className:"vg-animate-pop"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1686",children:c?e.exitMode:e.enterMode})]})}),W.length>0&&g.jsxs("button",{onClick:()=>{aA(!Y),B(!1),m(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[g.jsx(Cc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1699",size:20}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1700",children:e.viewComments})]})]})]}),pA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1708",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:fn+1,cursor:"wait"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1714",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1715",className:"vg-spinner"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1716",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),c&&!H&&g.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:w?`polygon(
|
|
11
|
+
.${cn}${mf}${na}`,A)},xf=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},yf=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};class x{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new x(this.x+A,this.y+e)}}const it=(t,A,e)=>new x(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class pe{constructor(A,e,r,s){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=s}subdivide(A,e){const r=it(this.start,this.startControl,A),s=it(this.startControl,this.endControl,A),n=it(this.endControl,this.end,A),o=it(r,s,A),i=it(s,n,A),a=it(o,i,A);return e?new pe(this.start,r,o,a):new pe(a,i,n,this.end)}add(A,e){return new pe(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new pe(this.end,this.endControl,this.startControl,this.start)}}const OA=t=>t.type===1;class Hf{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Ht(e.borderTopLeftRadius,r.width,r.height),[o,i]=Ht(e.borderTopRightRadius,r.width,r.height),[a,l]=Ht(e.borderBottomRightRadius,r.width,r.height),[c,B]=Ht(e.borderBottomLeftRadius,r.width,r.height);const f=[];f.push((s+o)/r.width),f.push((c+a)/r.width),f.push((n+B)/r.height),f.push((i+l)/r.height);const u=Math.max(...f);u>1&&(s/=u,n/=u,o/=u,i/=u,a/=u,l/=u,c/=u,B/=u);const h=r.width-o,p=r.height-l,C=r.width-a,y=r.height-B,w=e.borderTopWidth,b=e.borderRightWidth,H=e.borderBottomWidth,m=e.borderLeftWidth,D=O(e.paddingTop,A.bounds.width),k=O(e.paddingRight,A.bounds.width),X=O(e.paddingBottom,A.bounds.width),T=O(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?rA(r.left+m/3,r.top+w/3,s-m/3,n-w/3,P.TOP_LEFT):new x(r.left+m/3,r.top+w/3),this.topRightBorderDoubleOuterBox=s>0||n>0?rA(r.left+h,r.top+w/3,o-b/3,i-w/3,P.TOP_RIGHT):new x(r.left+r.width-b/3,r.top+w/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?rA(r.left+C,r.top+p,a-b/3,l-H/3,P.BOTTOM_RIGHT):new x(r.left+r.width-b/3,r.top+r.height-H/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?rA(r.left+m/3,r.top+y,c-m/3,B-H/3,P.BOTTOM_LEFT):new x(r.left+m/3,r.top+r.height-H/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?rA(r.left+m*2/3,r.top+w*2/3,s-m*2/3,n-w*2/3,P.TOP_LEFT):new x(r.left+m*2/3,r.top+w*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?rA(r.left+h,r.top+w*2/3,o-b*2/3,i-w*2/3,P.TOP_RIGHT):new x(r.left+r.width-b*2/3,r.top+w*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?rA(r.left+C,r.top+p,a-b*2/3,l-H*2/3,P.BOTTOM_RIGHT):new x(r.left+r.width-b*2/3,r.top+r.height-H*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?rA(r.left+m*2/3,r.top+y,c-m*2/3,B-H*2/3,P.BOTTOM_LEFT):new x(r.left+m*2/3,r.top+r.height-H*2/3),this.topLeftBorderStroke=s>0||n>0?rA(r.left+m/2,r.top+w/2,s-m/2,n-w/2,P.TOP_LEFT):new x(r.left+m/2,r.top+w/2),this.topRightBorderStroke=s>0||n>0?rA(r.left+h,r.top+w/2,o-b/2,i-w/2,P.TOP_RIGHT):new x(r.left+r.width-b/2,r.top+w/2),this.bottomRightBorderStroke=a>0||l>0?rA(r.left+C,r.top+p,a-b/2,l-H/2,P.BOTTOM_RIGHT):new x(r.left+r.width-b/2,r.top+r.height-H/2),this.bottomLeftBorderStroke=c>0||B>0?rA(r.left+m/2,r.top+y,c-m/2,B-H/2,P.BOTTOM_LEFT):new x(r.left+m/2,r.top+r.height-H/2),this.topLeftBorderBox=s>0||n>0?rA(r.left,r.top,s,n,P.TOP_LEFT):new x(r.left,r.top),this.topRightBorderBox=o>0||i>0?rA(r.left+h,r.top,o,i,P.TOP_RIGHT):new x(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?rA(r.left+C,r.top+p,a,l,P.BOTTOM_RIGHT):new x(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?rA(r.left,r.top+y,c,B,P.BOTTOM_LEFT):new x(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?rA(r.left+m,r.top+w,Math.max(0,s-m),Math.max(0,n-w),P.TOP_LEFT):new x(r.left+m,r.top+w),this.topRightPaddingBox=o>0||i>0?rA(r.left+Math.min(h,r.width-b),r.top+w,h>r.width+b?0:Math.max(0,o-b),Math.max(0,i-w),P.TOP_RIGHT):new x(r.left+r.width-b,r.top+w),this.bottomRightPaddingBox=a>0||l>0?rA(r.left+Math.min(C,r.width-m),r.top+Math.min(p,r.height-H),Math.max(0,a-b),Math.max(0,l-H),P.BOTTOM_RIGHT):new x(r.left+r.width-b,r.top+r.height-H),this.bottomLeftPaddingBox=c>0||B>0?rA(r.left+m,r.top+Math.min(y,r.height-H),Math.max(0,c-m),Math.max(0,B-H),P.BOTTOM_LEFT):new x(r.left+m,r.top+r.height-H),this.topLeftContentBox=s>0||n>0?rA(r.left+m+T,r.top+w+D,Math.max(0,s-(m+T)),Math.max(0,n-(w+D)),P.TOP_LEFT):new x(r.left+m+T,r.top+w+D),this.topRightContentBox=o>0||i>0?rA(r.left+Math.min(h,r.width+m+T),r.top+w+D,h>r.width+m+T?0:o-m+T,i-(w+D),P.TOP_RIGHT):new x(r.left+r.width-(b+k),r.top+w+D),this.bottomRightContentBox=a>0||l>0?rA(r.left+Math.min(C,r.width-(m+T)),r.top+Math.min(p,r.height+w+D),Math.max(0,a-(b+k)),l-(H+X),P.BOTTOM_RIGHT):new x(r.left+r.width-(b+k),r.top+r.height-(H+X)),this.bottomLeftContentBox=c>0||B>0?rA(r.left+m+T,r.top+y,Math.max(0,c-(m+T)),B-(H+X),P.BOTTOM_LEFT):new x(r.left+m+T,r.top+r.height-(H+X))}}var P;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(P||(P={}));const rA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,i=r*n,a=t+e,l=A+r;switch(s){case P.TOP_LEFT:return new pe(new x(t,l),new x(t,l-i),new x(a-o,A),new x(a,A));case P.TOP_RIGHT:return new pe(new x(t,A),new x(t+o,A),new x(a,l-i),new x(a,l));case P.BOTTOM_RIGHT:return new pe(new x(a,A),new x(a,A+i),new x(t+o,l),new x(t,l));case P.BOTTOM_LEFT:default:return new pe(new x(a,l),new x(a-o,l),new x(t,A+i),new x(t,A))}},Nr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],bf=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],_r=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class oa{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Gr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class If{constructor(A){this.opacity=A,this.type=2,this.target=6}}class Rt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const vf=t=>t.type===0,ia=t=>t.type===1,Sf=t=>t.type===2,Lf=t=>t.type===3,aa=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,Tf=(t,A,e,r,s)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+r,e);case 2:return n.add(A+r,e+s);case 3:return n.add(A,e+s)}return n});class ca{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class la{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Hf(this.container),this.container.styles.opacity<1&&this.effects.push(new If(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),i=this.container.styles.rotate*Math.PI/180,a=Math.cos(i),l=Math.sin(i),c=[a,l,-l,a,0,0];this.effects.push(new oa(s,n,c))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new oa(s,n,o))}if(this.container.styles.overflowX!==0){const r=Nr(this.curves),s=_r(this.curves);aa(r,s)?this.effects.push(new Gr(r,6)):(this.effects.push(new Gr(r,2)),this.effects.push(new Gr(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Kf(this.container.styles.clipPath,this.container.bounds);r&&this.effects.push(r)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent;const s=this.effects.slice(0);for(;r;){const n=r.effects.filter(o=>!ia(o));if(e||r.container.styles.position!==0||!r.parent){if(e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){const o=Nr(r.curves),i=_r(r.curves);aa(o,i)||s.unshift(new Gr(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>nA(n.target,A))}}const Ba=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):O(t,s),Kf=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=O(t.left,s),i=O(t.top,n),a=e+o,l=r+i,c=Math.max(0,s-o-O(t.right,s)),B=Math.max(0,n-i-O(t.bottom,n));return new Rt(f=>{f.beginPath(),f.rect(a,l,c,B),f.clip()})}case 2:{const o=e+O(t.cx,s),i=r+O(t.cy,n);let a;return t.radius==="closest-side"?a=Math.min(o-e,i-r,e+s-o,r+n-i):t.radius==="farthest-side"?a=Math.max(o-e,i-r,e+s-o,r+n-i):a=O(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new Rt(l=>{l.beginPath(),l.arc(o,i,Math.max(0,a),0,Math.PI*2),l.clip()})}case 3:{const o=e+O(t.cx,s),i=r+O(t.cy,n),a=Ba(t.rx,o,e,e+s,s),l=Ba(t.ry,i,r,r+n,n);return new Rt(c=>{c.beginPath(),c.ellipse(o,i,Math.max(0,a),Math.max(0,l),0,0,Math.PI*2),c.clip()})}case 4:{const o=t.points.map(([i,a])=>[e+O(i,s),r+O(a,n)]);return new Rt(i=>{if(i.beginPath(),o.length>0){i.moveTo(o[0][0],o[0][1]);for(let a=1;a<o.length;a++)i.lineTo(o[a][0],o[a][1]);i.closePath()}i.clip()})}case 5:{const{d:o}=t;return new Rt(i=>{try{const a=i.getTransform();i.translate(e,r),i.clip(new Path2D(o)),i.setTransform(a)}catch{}})}case 0:return null;default:return null}},ln=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=nA(s.flags,4),o=nA(s.flags,2),i=new la(s,t);nA(s.styles.display,2048)&&r.push(i);const a=nA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new ca(i);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const B=s.styles.zIndex.order;if(B<0){let f=0;l.negativeZIndex.some((u,h)=>B>u.element.container.styles.zIndex.order?(f=h,!1):f>0),l.negativeZIndex.splice(f,0,c)}else if(B>0){let f=0;l.positiveZIndex.some((u,h)=>B>=u.element.container.styles.zIndex.order?(f=h+1,!1):f>0),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);ln(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),ln(i,A,e,a);nA(s.flags,8)&&ga(s,a)})},ga=(t,A)=>{let e=t instanceof An?t.start:1;const r=t instanceof An?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof _i&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Dt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Df=t=>{const A=new la(t,null),e=new ca(A),r=[];return ln(A,e,e,r),ga(A.container,r),e},da=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Mt=t=>{const A=t.styles,e=t.bounds,r=O(A.paddingLeft,e.width),s=O(A.paddingRight,e.width),n=O(A.paddingTop,e.width),o=O(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+s),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Of=(t,A)=>t===0?A.bounds:t===2?Mt(A):da(A),Rf=(t,A)=>t===0?A.bounds:t===2?Mt(A):da(A),Bn=(t,A,e)=>{const r=Of(ct(t.styles.backgroundOrigin,A),t),s=Rf(ct(t.styles.backgroundClip,A),t),n=Mf(ct(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=Ht(ct(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=Nf(ct(t.styles.backgroundRepeat,A),a,n,r,s),c=Math.round(r.left+a[0]),B=Math.round(r.top+a[1]);return o=Math.max(1,o),i=Math.max(1,i),[l,c,B,o,i]},at=t=>R(t)&&t.value===rt.AUTO,Vr=t=>typeof t=="number",Mf=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if(Y(n)&&o&&Y(o))return[O(n,s.width),O(o,s.height)];const i=Vr(r);if(R(n)&&(n.value===rt.CONTAIN||n.value===rt.COVER))return Vr(r)?s.width/s.height<r!=(n.value===rt.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const a=Vr(A),l=Vr(e),c=a||l;if(at(n)&&(!o||at(o))){if(a&&l)return[A,e];if(!i&&!c)return[s.width,s.height];if(c&&i){const p=a?A:e*r,C=l?e:A/r;return[p,C]}const u=a?A:s.width,h=l?e:s.height;return[u,h]}if(i){let u=0,h=0;return Y(n)?u=O(n,s.width):Y(o)&&(h=O(o,s.height)),at(n)?u=h*r:(!o||at(o))&&(h=u/r),[u,h]}let B=null,f=null;if(Y(n)?B=O(n,s.width):o&&Y(o)&&(f=O(o,s.height)),B!==null&&(!o||at(o))&&(f=a&&l?B/A*e:s.height),f!==null&&at(n)&&(B=a&&l?f/e*A:s.width),B!==null&&f!==null)return[B,f];throw new Error("Unable to calculate background-size for element")},ct=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Nf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new x(Math.round(n.left),Math.round(n.top+e)),new x(Math.round(n.left+n.width),Math.round(n.top+e)),new x(Math.round(n.left+n.width),Math.round(s+n.top+e)),new x(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new x(Math.round(n.left+A),Math.round(n.top)),new x(Math.round(n.left+A+r),Math.round(n.top)),new x(Math.round(n.left+A+r),Math.round(n.height+n.top)),new x(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new x(Math.round(n.left+A),Math.round(n.top+e)),new x(Math.round(n.left+A+r),Math.round(n.top+e)),new x(Math.round(n.left+A+r),Math.round(n.top+e+s)),new x(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new x(Math.round(o.left),Math.round(o.top)),new x(Math.round(o.left+o.width),Math.round(o.top)),new x(Math.round(o.left+o.width),Math.round(o.height+o.top)),new x(Math.round(o.left),Math.round(o.height+o.top))]}},_f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ua="Hidden Text";class Gf{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const r=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",o.appendChild(r),s.src=_f,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(ua)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(ua)),r.style.lineHeight="normal",s.style.verticalAlign="super";const a=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:i,middle:a}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class fa{constructor(A,e){this.context=A,this.options=e}}class Vf{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const r of A.styles.backgroundImage.slice(0).reverse())r.type===0?await this.renderBackgroundURLImage(A,r,e):Ug(r)?this.renderLinearGradient(A,r,e):Fg(r)&&this.renderRadialGradient(A,r,e),e--}async renderBackgroundURLImage(A,e,r){let s;const n=e.url;try{s=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(s){const o=isNaN(s.width)||s.width===0?1:s.width,i=isNaN(s.height)||s.height===0?1:s.height,[a,l,c,B,f]=Bn(A,r,[o,i,o/i]),u=this.ctx.createPattern(this.resizeImage(s,B,f,A.styles.imageRendering),"repeat");this.renderRepeat(a,u,l,c)}}renderLinearGradient(A,e,r){const[s,n,o,i,a]=Bn(A,r,[null,null,null]),[l,c,B,f,u]=wg(e.angle,i,a),p=(this.canvas.ownerDocument??document).createElement("canvas");p.width=i,p.height=a;const C=p.getContext("2d"),y=C.createLinearGradient(c,f,B,u);if(ri(e.stops,l||1).forEach(w=>y.addColorStop(w.stop,eA(w.color))),C.fillStyle=y,C.fillRect(0,0,i,a),i>0&&a>0){const w=this.ctx.createPattern(p,"repeat");this.renderRepeat(s,w,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=Bn(A,r,[null,null,null]),l=e.position.length===0?[Ne]:e.position,c=O(l[0],i),B=O(l[l.length-1],a);let[f,u]=hg(e,c,B,i,a);if((f===0||u===0)&&(f=Math.max(f,.01),u=Math.max(u,.01)),f>0&&u>0){const h=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,f);if(ri(e.stops,f*2).forEach(p=>h.addColorStop(p.stop,eA(p.color))),this.path(s),this.ctx.fillStyle=h,f!==u){const p=A.bounds.left+.5*A.bounds.width,C=A.bounds.top+.5*A.bounds.height,y=u/f,w=1/y;this.ctx.save(),this.ctx.translate(p,C),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-p,-C),this.ctx.fillRect(n,w*(o-C)+C,i,a*w),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,r,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)}resizeImage(A,e,r,s){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,r);const i=o.getContext("2d");return s===VA.PIXELATED||s===VA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===VA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,r),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=OA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),OA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const wa=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return WA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return WA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return WA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},kf=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return WA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return WA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return WA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Pf=(t,A)=>{switch(A){case 0:return WA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return WA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return WA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return WA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Xf=(t,A)=>{switch(A){case 0:return kr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return kr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return kr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return kr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},kr=(t,A)=>{const e=[];return OA(t)?e.push(t.subdivide(.5,!1)):e.push(t),OA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},WA=(t,A,e,r)=>{const s=[];return OA(t)?s.push(t.subdivide(.5,!1)):s.push(t),OA(e)?s.push(e.subdivide(.5,!0)):s.push(e),OA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),OA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class Wf{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(wa(r,e)),this.ctx.fillStyle=eA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=kf(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=eA(A),this.ctx.fill();const o=Pf(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=Xf(s,r),i=wa(s,r);n===2&&(this.pathCallbacks.path(i),this.ctx.clip());let a,l,c,B;OA(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),OA(i[1])?(c=i[1].end.x,B=i[1].end.y):(c=i[1].x,B=i[1].y);let f;r===0||r===2?f=Math.abs(a-c):f=Math.abs(l-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(i.slice(0,2));let u=e<3?e*3:e*2,h=e<3?e*2:e;n===3&&(u=e,h=e);let p=!0;if(f<=u*2)p=!1;else if(f<=u*2+h){const C=f/(2*u+h);u*=C,h*=C}else{const C=Math.floor((f+h)/(u+h)),y=(f-C*u)/(C-1),w=(f-(C+1)*u)/C;h=w<=0||Math.abs(h-y)<Math.abs(h-w)?y:w}if(p&&(n===3?this.ctx.setLineDash([0,u+h]):this.ctx.setLineDash([u,h])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=eA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(OA(i[0])){const C=i[3],y=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new x(C.end.x,C.end.y),new x(y.start.x,y.start.y)]),this.ctx.stroke()}if(OA(i[1])){const C=i[1],y=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new x(C.end.x,C.end.y),new x(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class Jf{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),Sf(A)?this.ctx.globalAlpha=A.opacity:vf(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):ia(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Lf(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const Yf=["-apple-system","system-ui"],jf=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,zf=t=>jf.test(t),Zf=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const r=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const s of r){const n=t.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},$f=t=>{const A=Zf();return A!==null&&A>=15&&A<17?t.map(e=>Yf.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class qf{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Tr(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(zf(a)){const l=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(a,i,o),this.ctx.textBaseline=l}else s(a,i,o);i+=this.ctx.measureText(a).width+e}}renderTextWithLetterSpacing(A,e,r){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):this.iterateLettersWithLetterSpacing(A,e,r,(s,n,o)=>{this.ctx.fillText(s,n,o)})}renderTextBoundWithPaintOrder(A,e,r){r.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=eA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,i)=>this.ctx.strokeText(n,o,i)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=eA(e.textDecorationColor||e.color);let r=1;typeof e.textDecorationThickness=="number"?r=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(r=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let i=0;switch(o){case 1:i=A.top+A.height-r+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,i,A.width,r,n)})}drawDecorationLine(A,e,r,s,n){switch(n){case 0:this.ctx.fillRect(A,e,r,s);break;case 1:const o=Math.max(1,s);this.ctx.fillRect(A,e,r,s),this.ctx.fillRect(A,e+s+o,r,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;const i=s*2,a=s*4;let l=A;for(this.ctx.moveTo(l,e+s/2);l<A+r;){const c=Math.min(l+a/2,A+r);if(this.ctx.quadraticCurveTo(l+a/4,e+s/2-i,c,e+s/2),l=c,l<A+r){const B=Math.min(l+a/2,A+r);this.ctx.quadraticCurveTo(l+a/4,e+s/2+i,B,e+s/2),l=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,r,s)}}truncateTextWithEllipsis(A,e,r){const n=this.ctx.measureText("…").width,o=Tr(A);if(r===0){const i=c=>this.ctx.measureText(o.slice(0,c).join("")).width+n<=e;let a=0,l=o.length;for(;a<l;){const c=a+l+1>>1;i(c)?a=c:l=c-1}return o.slice(0,a).join("")+"…"}else{let i=n;const a=[];for(const l of o){const c=this.ctx.measureText(l).width;if(i+c>e)break;a.push(l),i+=c+r}return a.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=$f(A.fontFamily).join(", "),s=oe(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,r].join(" "),r,s]}async renderTextNode(A,e,r){const[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const B=[];let f=[],u=A.textBounds[0].bounds.top;A.textBounds.forEach(p=>{Math.abs(p.bounds.top-u)>=o*.5?(f.length>0&&B.push(f),f=[p],u=p.bounds.top):f.push(p)}),f.length>0&&B.push(f);const h=e.webkitLineClamp;if(B.length>h){for(let C=0;C<h-1;C++)B[C].forEach(y=>{this.renderTextBoundWithPaintOrder(y,e,n)});const p=B[h-1];if(p&&p.length>0&&r){const C=p.map(m=>m.text).join(""),y=p[0],w=r.width-(y.bounds.left-r.left),b=this.truncateTextWithEllipsis(C,w,e.letterSpacing),H=new Ve(b,y.bounds);n.forEach(m=>{switch(m){case 0:this.ctx.fillStyle=eA(e.color),e.letterSpacing===0?this.ctx.fillText(b,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(D,k,X)=>this.ctx.fillText(D,k,X));break;case 1:e.webkitTextStrokeWidth&&b.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(b,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(D,k,X)=>this.ctx.strokeText(D,k,X)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const a=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let l=!1,c="";if(a){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(u=>Math.abs(u.bounds.top-B)<o*.5)){let u=A.textBounds.map(C=>C.text).join("");u=u.replace(/\s+/g," ").trim();const h=this.ctx.measureText(u).width,p=r.width;h>p&&(l=!0,c=this.truncateTextWithEllipsis(u,p,e.letterSpacing))}}if(l){const B=A.textBounds[0],f=new Ve(c,B.bounds);n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=eA(e.color),e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(p,C,y)=>this.ctx.fillText(p,C,y));const h=e.textShadow;h.length&&c.trim().length&&(h.slice(0).reverse().forEach(p=>{this.ctx.shadowColor=eA(p.color),this.ctx.shadowOffsetX=p.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=p.offsetY.number*this.options.scale,this.ctx.shadowBlur=p.blur.number,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(C,y,w)=>this.ctx.fillText(C,y,w))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(h,p,C)=>this.ctx.strokeText(h,p,C)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=eA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const u=e.textShadow;u.length&&B.text.trim().length&&(u.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=eA(h.color),this.ctx.shadowOffsetX=h.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=h.offsetY.number*this.options.scale,this.ctx.shadowBlur=h.blur.number,this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(B.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&B.text.trim().length){this.ctx.strokeStyle=eA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const u=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+u):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,u,(h,p,C)=>this.ctx.strokeText(h,p,C)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const Aw=1e4;class gn extends fa{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new Gf(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Vf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Wf({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new Jf({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new qf({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(nA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const s=r.naturalWidth||A.intrinsicWidth,n=r.naturalHeight||A.intrinsicHeight;if(r&&s>0&&n>0){const o=Mt(A),i=_r(e);this.path(i),this.ctx.save(),this.ctx.clip();let a=0,l=0,c=s,B=n,f=o.left,u=o.top,h=o.width,p=o.height;const{objectFit:C}=A.styles,y=h/p,w=c/B;if(C===2)w>y?(p=h/w,u+=(o.height-p)/2):(h=p*w,f+=(o.width-h)/2);else if(C===4)w>y?(c=B*y,a+=(s-c)/2):(B=c/y,l+=(n-B)/2);else if(C===8)c>h?(a+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),B>p?(l+=(B-p)/2,B=p):(u+=(p-B)/2,p=B);else if(C===16){const b=w>y?h:p*w,H=c>h?c:h;b<H?w>y?(p=h/w,u+=(o.height-p)/2):(h=p*w,f+=(o.width-h)/2):(c>h?(a+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),B>p?(l+=(B-p)/2,B=p):(u+=(p-B)/2,p=B))}this.ctx.drawImage(r,a,l,c,B,f,u,h,p),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=Mt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Ri)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===VA.PIXELATED||s.imageRendering===VA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===VA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===VA.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,r,o),this.ctx.imageSmoothingEnabled=i}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof Mi&&this.renderReplacedElement(e,r,e.canvas),e instanceof Ni)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,r,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof Pi&&e.tree){const i=await new gn(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(i,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof Lt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===Kr?e.checked&&(this.ctx.save(),this.path([new x(e.bounds.left+o*.39363,e.bounds.top+o*.79),new x(e.bounds.left+o*.16,e.bounds.top+o*.5549),new x(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new x(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new x(e.bounds.left+o*.72983,e.bounds.top+o*.23),new x(e.bounds.left+o*.84,e.bounds.top+o*.34085),new x(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=eA(Gi),this.ctx.fill(),this.ctx.restore()):e.type===Dr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=eA(Gi),this.ctx.fill(),this.ctx.restore())}if(ew(e)&&e.value.length){const[o,i,a]=this.textRenderer.createFontStyle(s),{baseline:l}=this.fontMetrics.getMetrics(i,a);this.ctx.font=o;const c=e instanceof Lt&&e.isPlaceholder;this.ctx.fillStyle=eA(c?rf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=rw(e.styles.textAlign);const B=Mt(e);let f=0;switch(e.styles.textAlign){case 1:f+=B.width/2;break;case 2:f+=B.width;break}let u=0;if(e instanceof Lt){const p=O(s.fontSize,0);u=(B.height-p)/2}const h=B.add(f,u,0,0);this.ctx.save(),this.path([new x(B.left,B.top),new x(B.left+B.width,B.top),new x(B.left+B.width,B.top+B.height),new x(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Ve(e.value,h),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(nA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let i;const a=o.url;try{i=await this.context.cache.match(a),this.ctx.drawImage(i,e.bounds.left-(i.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${a}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(s);this.ctx.font=o,this.ctx.fillStyle=eA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new yA(e.bounds.left,e.bounds.top+O(e.styles.paddingTop,e.bounds.width),e.bounds.width,fi(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Ve(A.listValue,i),s.letterSpacing,fi(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(nA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=OA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),OA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!He(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=tw(ct(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),He(e.backgroundColor)||(this.ctx.fillStyle=eA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(i=>{this.ctx.save();const a=Nr(A.curves),l=i.inset?0:Aw,c=Tf(a,-l+(i.inset?1:-1)*i.spread.number,(i.inset?1:-1)*i.spread.number,i.spread.number*(i.inset?-2:2),i.spread.number*(i.inset?-2:2));i.inset?(this.path(a),this.ctx.clip(),this.mask(c)):(this.mask(a),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=i.offsetX.number+l,this.ctx.shadowOffsetY=i.offsetY.number,this.ctx.shadowColor=eA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?eA(i.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const i of s)i.style!==0&&!He(i.color)&&i.width>0&&(i.style===2?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,2):i.style===3?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,3):i.style===4?await this.borderRenderer.renderDoubleBorder(i.color,i.width,o,A.curves):await this.borderRenderer.renderSolidBorder(i.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=eA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Df(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const ew=t=>t instanceof ki||t instanceof Vi?!0:t instanceof Lt&&t.type!==Dr&&t.type!==Kr,tw=(t,A)=>{switch(t){case 0:return Nr(A);case 2:return bf(A);default:return _r(A)}},rw=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class sw extends fa{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=qs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await nw(e);return this.options.backgroundColor&&(this.ctx.fillStyle=eA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const nw=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>{A(r)},r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ha{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}ha.instances={};class ow{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const r=this._cache.get(A);return r&&(r.lastAccessed=Date.now()),Promise.resolve()}if(un(A)||lw(A)){const r=this._addImageInternal(A);return this._pendingOperations.set(A,r),r.finally(()=>{this._pendingOperations.delete(A)}),r}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,r=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),s=Promise.race([this.loadImage(A),r]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,s)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const r=this._cache.get(A);r.value=e,r.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[r,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=r);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,r=a=>e.isSameOrigin(a),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!dn(A)&&this._options.useCORS===!0&&FA.SUPPORT_CORS_IMAGES&&!s,o=!dn(A)&&!s&&!un(A)&&typeof this._options.proxy=="string"&&FA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!dn(A)&&!un(A)&&!o&&!n)return;let i=A;return o&&(i=await this.proxy(i)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((a,l)=>{const c=new Image;c.onload=()=>a(c),c.onerror=l,(Bw(i)||n)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(()=>a(c),500),this._options.imageTimeout>0&&setTimeout(()=>l(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const r=A.substring(0,256);return new Promise((s,n)=>{const o=FA.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=()=>{if(i.status===200)if(o==="text")s(i.response);else{const l=new FileReader;l.addEventListener("load",()=>s(l.result),!1),l.addEventListener("error",c=>n(c),!1),l.readAsDataURL(i.response)}else n(`Failed to proxy resource ${r} with status code ${i.status}`)},i.onerror=n;const a=e.indexOf("?")>-1?"&":"?";if(i.open("GET",`${e}${a}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&i instanceof XMLHttpRequest&&(i.responseType=o),this._options.imageTimeout){const l=this._options.imageTimeout;i.timeout=l,i.ontimeout=()=>n(`Timed out (${l}ms) proxying ${r}`)}i.send()})}}const iw=/^data:image\/svg\+xml/i,aw=/^data:image\/.*;base64,/i,cw=/^data:image\/.*/i,lw=t=>FA.SUPPORT_SVG_DRAWING||!gw(t),dn=t=>cw.test(t),Bw=t=>aw.test(t),un=t=>t.substr(0,4)==="blob",gw=t=>t.substr(-3).toLowerCase()==="svg"||iw.test(t);class dw{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class Pr{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${Pr.instanceCount++}`,this.config=r,this.logger=new ha({id:this.instanceName,enabled:A.logging}),this.originChecker=new dw(r.window),this.cache=A.cache??r.cache??new ow(this,A)}}Pr.instanceCount=1;class Nt{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a window");return new Nt({window:s,...e})}clone(A={}){return new Nt({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function uw(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class fw{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const r=new URL(A);if(!["http:","https:"].includes(r.protocol))return{valid:!1,error:`Protocol ${r.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const s=r.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const i=o.toLowerCase();return s===i||s.endsWith("."+i)}))return{valid:!1,error:`Proxy domain ${r.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const s=r.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(r){return{valid:!1,error:`Invalid URL format: ${r instanceof Error?r.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(r=>r.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return!0;const n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const i=parseInt(n.substring(2,4),16);if(i>=128&&i<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const r=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-r.length-s.length;if(n<0)return null;const o=Array(n).fill("0000");return[...r,...o,...s].map(a=>a.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(r=>r.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const r=32767;return A>r||e>r?{valid:!1,error:`Dimensions exceed maximum allowed (${r}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],r=A.proxy;if(r!=null&&typeof r=="string"&&r.length>0){const s=this.validateUrl(r,"proxy");s.valid||e.push(`Proxy: ${s.error}`)}if(A.imageTimeout!==void 0){const s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`)}if(A.width!==void 0||A.height!==void 0){const s=A.width??800,n=A.height??600,o=this.validateDimensions(s,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`)}if(A.cspNonce!==void 0){const s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`)}if(this.config.customValidator){const s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function ww(t={}){return new fw({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class hw{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,r){this.start(A,r);try{const s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,r){this.start(A,r);try{const s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((r,s)=>r+(s.duration||0),0),e=this.completedMetrics.map(r=>({name:r.name,duration:r.duration||0,percentage:A>0?((r.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
|
|
12
|
+
📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,r)=>r.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const pa=(t,A={},e)=>{const r=e||Nt.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return Cw(t,A,r)},pw=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&uw(new Nt({window,cspNonce:t}))};pa.setCspNonce=pw;const Qw=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const r=t[e];if(r!=null&&typeof r!="number"){const s=Number(r);Number.isNaN(s)||(t[e]=s)}})},Cw=async(t,A,e)=>{if(Qw(A),!A.skipValidation){const aA=A.validator||ww(),W=aA.validateElement(t);if(!W.valid)throw new Error(W.error);const bA=aA.validateOptions(A);if(!bA.valid)throw new Error(`Invalid options: ${bA.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},i=800,a=600,l=0,c=s,B={windowWidth:A.windowWidth??c.innerWidth??i,windowHeight:A.windowHeight??c.innerHeight??a,scrollX:A.scrollX??c.pageXOffset??l,scrollY:A.scrollY??c.pageYOffset??l},f=new yA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),u=new Pr(o,f,e),h=A.enablePerformanceMonitoring??A.logging??!1,p=new hw(u,h);p.start("total",{width:B.windowWidth,height:B.windowHeight});const C=A.foreignObjectRendering??!1,y={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:C,copyStyles:C,cspNonce:A.cspNonce??e.cspNonce};u.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),p.start("clone");const w=new sa(u,t,y),b=w.clonedReferenceElement;if(!b)throw new Error("Unable to find element in cloned iframe");const H=await w.toIFrame(r,f);p.end("clone");const{width:m,height:D,left:k,top:X}=en(b)||cf(b)?Ic(b.ownerDocument):jt(u,b),T=Uw(u,b,A.backgroundColor),pA={canvas:A.canvas,backgroundColor:T,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+k,y:(A.y??0)+X,width:A.width??Math.ceil(m),height:A.height??Math.ceil(D),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let dA,j;try{return C?(u.logger.debug("Document cloned, using foreign object rendering"),p.start("render-foreignobject"),dA=await new sw(u,pA).render(b),p.end("render-foreignobject")):(u.logger.debug(`Document cloned, element located at ${k},${X} with size ${m}x${D} using computed rendering`),u.logger.debug("Starting DOM parsing"),p.start("parse"),j=Wi(u,b),p.end("parse"),T===j.styles.backgroundColor&&(j.styles.backgroundColor=ae.TRANSPARENT),u.logger.debug(`Starting renderer for element at ${pA.x},${pA.y} with size ${pA.width}x${pA.height}`),p.start("render"),dA=await new gn(u,pA).render(j),p.end("render")),p.start("cleanup"),(A.removeContainer??!0)&&(sa.destroy(H)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),p.end("cleanup"),p.end("total"),u.logger.debug("Finished rendering"),h&&p.logSummary(),dA}finally{j&&j.restoreTree()}},Uw=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?tt(t,getComputedStyle(r.documentElement).backgroundColor):ae.TRANSPARENT,n=r.body?tt(t,getComputedStyle(r.body).backgroundColor):ae.TRANSPARENT,o=typeof e=="string"?tt(t,e):e===null?ae.TRANSPARENT:4294967295;return A===r.documentElement?He(s)?He(n)?o:n:s:o},_t=2147483647,fn=_t-1,wn=_t-1,Fw=_t-10,mw=_t-5,Ew=_t-15,le="data-vg-pin-id",xw=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Qa=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},Ca=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=U.useRef(null),o=()=>{if(!n.current||!s)return;const i=n.current.getBoundingClientRect(),a=i.top,l=window.innerHeight-i.bottom,c=a<140&&l>a?"bottom":"top";s({url:t,x:i.left+i.width/2,y:c==="top"?i.top:i.bottom,direction:c})};return g.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:e,onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[g.jsx(Uc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:117",size:e?.fontSize?parseInt(e.fontSize)+1:10}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:118",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},Gt=t=>{const A=[],e=[],r=[];let s=t;for(;s&&s.nodeType===Node.ELEMENT_NODE;){if(s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")){A.unshift(`#${s.id}`),r.unshift(`${s.localName}#${s.id}`);break}let n=s.localName;const o=Array.from(s.parentNode?.children||[]).indexOf(s),i=`${s.localName}[${o}]`;r.unshift(i);const a=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(a&&e.push(`[data-testid="${a}"]`),s.getAttribute("placeholder"),s.getAttribute("aria-label"),s.getAttribute("role"),s.getAttribute("name"),s.getAttribute("title"),a){n=`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${a}"]`,A.unshift(n);break}const l=Array.from(s.parentNode?.children||[]).filter(c=>c.localName===s?.localName);if(l.length>1){const c=l.indexOf(s)+1;n+=`:nth-of-type(${c})`}A.unshift(n),s=s.parentElement}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},yw=t=>{const{vgPath:A}=Gt(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,textSnippet:(t.innerText||"").slice(0,30).trim()}},Hw=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const r=document.createElement("div");r.style.color=e,document.body.appendChild(r);const s=getComputedStyle(r).color;return document.body.removeChild(r),s&&!s.includes("oklch")?s:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),bw=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(s=>{const n=A.getPropertyValue(s);e[s]=Hw(n)}),e},Iw=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const r=[];let s=t[e];for(;s;){const n=s.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!r.includes(o)&&r.unshift(o)}s=s.return}return r.join(" > ")||"Generic Component"},hn=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),r=t.getAttribute("role");if(r&&["listbox","menu","combobox","tooltip","option"].includes(r)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",i=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,a=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,l=t.getAttribute("class")||"",c=l.toLowerCase().includes("modal")||l.toLowerCase().includes("dialog");return!!(o&&n>=100&&(i||a||c))},Le=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden"||s.opacity==="0")return!1;e=e.parentElement}const r=t.getBoundingClientRect();return!(r.width===0||r.height===0)},Ua=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const r=A.querySelectorAll("*");for(const s of Array.from(r)){const n=s.shadowRoot;if(n){const o=Ua(t,n);if(o)return o}}return null},Fa=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const r=e.shadowRoot.elementFromPoint(t,A);if(!r||r===e)break;e=r}return e},vw=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,r=0;for(const s of A){if(!Xr(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),i=t.attributes?.placeholder||t.fingerprint?.placeholder;i&&o===i&&(n+=6);const a=s.getAttribute("type"),l=t.attributes?.type||t.fingerprint?.type;if(l&&a===l&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:c}=Gt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},Xr=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),r=A.attributes?.placeholder||A.fingerprint?.placeholder;if(r&&e&&r!==e)return!1;const s=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&s&&n!==s)},ma=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${le}="${A}"]`));if(o.length>0){const i=o.filter(a=>Xr(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(le));else{const a=i.find(c=>{const{vgPath:B}=Gt(c);return B===t.vgPath||t.fingerprint?.vgPath===B}),l=a&&Le(a)?a:i.find(c=>!(!Le(c)||t.metadata?.isModal&&!c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return l?(o.forEach(c=>{c!==l&&c.removeAttribute(le)}),l):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>Xr(o,t));let s=r.find(o=>{const{vgPath:i}=Gt(o);return i===t.vgPath||t.fingerprint?.vgPath===i})||r[0]||null;if(s&&Le(s))if(t.metadata?.isModal&&!s.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const i=Ua(o);if(i&&Xr(i,t)&&Le(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=vw(t);return n&&Le(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},pn=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),Sw=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>pn(o)),r=Array.from(A.children),s=r.indexOf(t);let n="middle";return s===0&&(n="start"),s===r.length-1&&(n="end"),{target:{...pn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:pn(A),siblings:e}},Ea=(t,A)=>{let e="unknown:0",r=t;for(;r;){const f=r.getAttribute("data-source-path");if(f){e=f;break}r=r.parentElement}const s=Iw(t),{selector:n,fallbacks:o,vgPath:i}=Gt(t),a={};["placeholder","aria-label","name","type","alt","title","value","role"].forEach(f=>{const u=t.getAttribute(f);u&&(a[f]=u)});const l=(()=>{let f=t;for(;f&&f!==document.body;){if(hn(f))return!0;f=f.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=Ea(A));const B=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${n.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:n,vgPath:i,outerHtml:t.outerHTML,parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(f=>`${f.name}="${f.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:s,signature:B,source:e,attributes:a,fallbackSelectors:[...new Set(o)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:Sw(t),fingerprint:yw(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:bw(t),viewportBreakpoint:xw(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},xa=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,disableViewGate:n,hasActiveToasts:o}=no(),i=U.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[]),[a,l]=U.useState(typeof window<"u"?window.location.pathname:"/");U.useEffect(()=>{const d=()=>l(window.location.pathname);window.addEventListener("popstate",d);const I=window.history.pushState,F=window.history.replaceState;return window.history.pushState=function(...K){I.apply(this,K),d()},window.history.replaceState=function(...K){F.apply(this,K),d()},()=>{window.removeEventListener("popstate",d),window.history.pushState=I,window.history.replaceState=F}},[]);const[c,B]=U.useState(!1),[f,u]=U.useState("medium"),[h,p]=U.useState("medium"),[C,y]=U.useState("all"),[w,b]=U.useState(null),[H,m]=U.useState(null),[D,k]=U.useState(""),[X,T]=U.useState(!1),[pA,dA]=U.useState(!1),[j,aA]=U.useState(!1),[W,bA]=U.useState([]),[uA,IA]=U.useState(null),[Pe,lt]=U.useState(!1),[qA,Q]=U.useState({}),[S,V]=U.useState(null),[z,Ae]=U.useState(!1),[vA,Z]=U.useState(null),LA=U.useCallback(async d=>{const I=await fetch(d,{headers:{"x-api-key":r}});if(!I.ok){const F=await I.json().catch(()=>({}));throw new Error(F.message||F.error||"Fetch failed")}return I.json()},[r]),Xe=U.useMemo(()=>i?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[i]),{data:Te,isLoading:Cn}=jn(r?`${s}/api/projects/active-sprint`:null,LA,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:We,isLoading:Qe,mutate:JA}=jn(r&&(Te||i)?`${s}/api/annotations?status=${Xe}`:null,LA,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[Be,Un]=U.useState(null),$=U.useRef(W);$.current=W;const[M,tA]=U.useState(null),sA=U.useRef(null),[mA,RA]=U.useState([]),oA=U.useMemo(()=>{let d=Array.isArray(W)?W:[];if(S){const F=mA.find(K=>K.annotations&&Array.isArray(K.annotations)&&K.annotations.some(G=>G._id===S));F?d=F.annotations:d=d.filter(K=>K._id===S)}return d=d.filter(F=>F.status!=="completed"&&F.status!=="done"),window.location.href.includes("viewgate-backlog")||(M==="pending"?d=d.filter(F=>F.status!=="ready_for_review"):M==="ready"&&(d=d.filter(F=>F.status==="ready_for_review"))),C!=="all"&&(d=d.filter(F=>(F.priority||"medium")===C)),d},[S,W,mA,M,C]);U.useEffect(()=>{S&&oA.length===0&&!Qe&&V(null)},[S,oA.length,Qe]);const[QA,Je]=U.useState(()=>{if(typeof window>"u")return{top:24,right:24};const d=localStorage.getItem("vg-exit-pos");return d?JSON.parse(d):{top:24,right:24}}),[ee,Vt]=U.useState(!1),YA=U.useRef(null),[fA,te]=U.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const d=localStorage.getItem("vg-bar-pos");return d?JSON.parse(d):{bottom:30,right:30}}),[Ce,Wr]=U.useState(!1),kA=U.useRef(null),Kw=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Vt(!0),YA.current={x:d.clientX,y:d.clientY,top:QA.top,right:QA.right,width:I.width,height:I.height})},Dw=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Wr(!0),kA.current={x:d.clientX,y:d.clientY,bottom:fA.bottom,right:fA.right,width:I.width,height:I.height})};U.useEffect(()=>{if(!ee&&!Ce)return;const d=F=>{if(ee&&YA.current){const K=F.clientX-YA.current.x,G=F.clientY-YA.current.y;let J=YA.current.top+G,q=YA.current.right-K;const L=10;J=Math.max(L,Math.min(window.innerHeight-YA.current.height-L,J)),q=Math.max(L,Math.min(window.innerWidth-YA.current.width-L,q)),Je({top:J,right:q})}if(Ce&&kA.current){const K=F.clientX-kA.current.x,G=F.clientY-kA.current.y;let J=kA.current.bottom-G,q=kA.current.right-K;const L=10;J=Math.max(L,Math.min(window.innerHeight-kA.current.height-L,J)),q=Math.max(L,Math.min(window.innerWidth-kA.current.width-L,q)),te({bottom:J,right:q})}},I=()=>{ee&&(Vt(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(QA)),YA.current=null),Ce&&(Wr(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(fA)),kA.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",I),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",I)}},[ee,Ce,QA,fA]);const[Fn,mn]=U.useState(null),[ya,Ha]=U.useState(""),[oh,ih]=U.useState({}),Jr=U.useRef(null),Bt=U.useRef(null),kt=U.useCallback(()=>{typeof window>"u"||(Bt.current&&cancelAnimationFrame(Bt.current),Bt.current=requestAnimationFrame(()=>{Bt.current=null;const d=$.current,I=Array.isArray(d)?d:[],F=new Set(I.map(AA=>AA._id));document.querySelectorAll(`[${le}]`).forEach(AA=>{const SA=AA.getAttribute(le);SA&&!F.has(SA)&&AA.removeAttribute(le)});const G=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(AA=>hn(AA)&&Le(AA)),J=!!G,q=new Map,L=new Map;I.forEach(AA=>{if(!AA||!AA.reference)return;try{const hA=window.location.pathname;if(new URL(AA.url).pathname!==hA)return}catch{return}const SA=!!AA.reference.metadata?.isModal,re=AA.reference.metadata?.triggerReference;let wA=ma(AA.reference,AA._id),NA=!1;if(re){const hA=ma(re);hA&&Le(hA)&&(wA=hA,NA=!0)}if(!wA||!Le(wA))return;let TA=!1;if(J?TA=G.contains(wA):NA?TA=!0:TA=!SA,!TA)return;const ge=wA.getAttribute(le);ge!==AA._id&&(document.querySelectorAll(`[${le}="${AA._id}"]`).forEach(hA=>{hA.removeAttribute(le)}),ge||wA.setAttribute(le,AA._id));const jA=NA?q:L;jA.has(wA)||jA.set(wA,{anns:[]}),jA.get(wA).anns.push(AA)});const EA=[],MA=(AA,SA)=>{AA.forEach((re,wA)=>{const{anns:NA}=re,TA=wA.getBoundingClientRect(),ge=TA.left+TA.width/2,jA=TA.top+TA.height/2;if(ge>=0&&ge<=window.innerWidth&&jA>=0&&jA<=window.innerHeight){const hA=document.elementFromPoint(ge,jA),Ke=document.getElementById("viewgate-shadow-host");if(hA&&!wA.contains(hA)&&hA!==Ke&&!Ke?.contains(hA))return}EA.push({id:NA[0]._id+(SA?"_trig":""),element:wA,rect:TA,annotations:NA.sort((hA,Ke)=>new Date(Ke.timestamp||Ke.createdAt).getTime()-new Date(hA.timestamp||hA.createdAt).getTime()),isModal:!!NA[0].reference?.metadata?.isModal,isTriggerPin:SA})})};MA(q,!0),MA(L,!1),RA(EA)}))},[]);U.useEffect(()=>{if(We){const d=Array.isArray(We)?We:We?.data||[];if(Array.isArray(d)){const I=d.reduce((F,K)=>F.find(J=>J._id===K._id)?F:F.concat([K]),[]);bA(I)}}else Qe||bA([])},[We,Qe]),U.useEffect(()=>{Z(Te||null)},[Te]),U.useEffect(()=>{j&&W.length===0&&!Qe&&aA(!1)},[j,W.length,Qe]),U.useEffect(()=>{kt();const d=new MutationObserver(()=>kt()),I=new ResizeObserver(()=>kt()),F=()=>kt();return d.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),I.observe(document.documentElement),window.addEventListener("scroll",F,!0),()=>{d.disconnect(),I.disconnect(),window.removeEventListener("scroll",F,!0),Bt.current&&cancelAnimationFrame(Bt.current)}},[c,W,kt,j,S,a]);const En=U.useCallback(d=>{let I=d;for(;I&&I!==document.body;){if(hn(I))return I;I=I.parentElement}return null},[]);U.useEffect(()=>{const d=I=>{const F=I.target;F&&(En(F)||(sA.current=F))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[En]),U.useEffect(()=>{Jr.current=document.getElementById("viewgate-shadow-host")},[]);const xn=U.useCallback(d=>{if(!c||H)return;const I=Fa(d.clientX,d.clientY);if(!I||Jr.current?.contains(I)||I.closest(".vg-no-capture")){b(null);return}const F=I.getBoundingClientRect();b({tag:I.tagName.toLowerCase(),source:I.getAttribute("data-source-path")||"unknown:0",rect:F,element:I,previewText:(I.innerText||"").slice(0,100)||(I.getAttribute("placeholder")||"").slice(0,100)||I.tagName.toLowerCase(),semanticReference:{...Ea(I,sA.current),normalizedOffset:{x:(d.clientX-F.left)/F.width,y:(d.clientY-F.top)/F.height}}})},[c,H]),yn=U.useCallback(async d=>{if(!c||H)return;const I=Fa(d.clientX,d.clientY);if(!(!I||Jr.current?.contains(I)||I.closest(".vg-no-capture"))&&w){d.preventDefault(),d.stopPropagation(),dA(!0);try{const F=w.element,K=F.getBoundingClientRect(),G=En(F)||document.body,J=G.getBoundingClientRect(),q=await pa(G,{scale:2,useCORS:!0,logging:!1,backgroundColor:"#ffffff",ignoreElements:SA=>Jr.current?.contains(SA)||SA.id==="viewgate-shadow-host"}),L=document.createElement("canvas"),EA=L.getContext("2d"),MA=K.left-J.left,AA=K.top-J.top;L.width=K.width*2,L.height=K.height*2,EA?(EA.drawImage(q,MA*2,AA*2,K.width*2,K.height*2,0,0,K.width*2,K.height*2),L.toBlob(async SA=>{if(SA){const re=new FileReader;re.onloadend=()=>{m({...w,visualPreview:re.result})},re.readAsDataURL(SA)}else m(w)},"image/webp",.85)):m(w)}catch(F){console.error("Failed to capture high-fidelity preview:",F),m(w)}finally{dA(!1),b(null)}}},[c,w,H]);U.useEffect(()=>{const d=I=>{if(I.key==="Escape"){H?m(null):j?aA(!1):c&&B(!1);return}const K=(()=>{let q=document.activeElement;for(;q&&q.shadowRoot&&q.shadowRoot.activeElement;)q=q.shadowRoot.activeElement;return q})();if(["input","textarea"].includes((K?.tagName||"").toLowerCase())||K?.isContentEditable)return;const J=I.key.toLowerCase();if(J==="c"&&!H&&!j){if(!(vA&&vA.status!=="closed")&&!i&&!c){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}B(L=>!L)}J==="v"&&!H&&(W.length>0||j)&&(aA(q=>!q),j||B(!1))};return c&&!H?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",xn,!0),window.addEventListener("click",yn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",xn,!0),window.removeEventListener("click",yn,!0)}},[c,H,j,W,xn,yn]);const Ow=async()=>{if(!H||!D.trim())return;T(!0);const{semanticReference:d}=H,[I,F]=(d.source||"").split(":"),K=F||"0";try{const G=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({filePath:I,line:parseInt(K),url:window.location.href,title:D.length>50?D.substring(0,50)+"...":D,message:D,status:i?"backlog":"pending",priority:f,screenshot:H.visualPreview,componentName:d.componentPath||H.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}})});if(!G.ok){const J=await G.json().catch(()=>({}));throw new Error(J.message||J.error||"Backend failed")}t(e.success,"success"),m(null),k(""),B(!1),JA()}catch(G){console.error(G);const J=G.message&&G.message!=="Backend failed"?G.message:e.error;t(J,"error")}finally{T(!1)}};return g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1525",className:"vg-container",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1526",className:"vg-no-capture",children:[!o&&g.jsxs("div",{style:{position:"fixed",top:`${QA.top}px`,right:`${QA.right}px`,zIndex:fn+10,display:"flex",alignItems:"center",gap:"8px",transition:ee?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("div",{onMouseDown:Kw,style:{width:"20px",height:"32px",borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:c?0:1,visibility:c?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},children:g.jsx(Ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1570",size:14})}),g.jsx("button",{onClick:d=>{d.stopPropagation(),IA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>n()})},title:"Cerrar ViewGate",style:{width:"40px",height:"40px",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid rgba(0,0,0,0.05)",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",cursor:"pointer",color:"#64748b",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},onMouseEnter:d=>{d.currentTarget.style.transform="scale(1.1) rotate(90deg)",d.currentTarget.style.color="#ef4444",d.currentTarget.style.backgroundColor="white"},onMouseLeave:d=>{d.currentTarget.style.transform="scale(1) rotate(0deg)",d.currentTarget.style.color="#64748b",d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)"},children:g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1610",size:20,strokeWidth:2.5})})]}),g.jsxs("div",{style:{position:"fixed",bottom:`${fA.bottom}px`,right:`${fA.right}px`,zIndex:fn,display:"flex",alignItems:"center",gap:"8px",transition:Ce?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[g.jsx("div",{onMouseDown:Dw,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:c?0:1,visibility:c?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:g.jsx(Ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1659",size:16})}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1662",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("button",{onClick:()=>{if(!vA&&!i&&!c){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}B(!c)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:c?"#ef4444":!vA&&!i?"#94a3b8":void 0,cursor:!vA&&!i&&!c?"not-allowed":"pointer",opacity:!vA&&!i&&!c?.7:1},title:!vA&&!i&&!c?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1680",style:{display:"flex",alignItems:"center",gap:"10px"},children:[c?g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1681",size:20,className:"vg-animate-pop"}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1681",size:20,className:"vg-animate-pop"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1682",children:c?e.exitMode:e.enterMode})]})}),W.length>0&&g.jsxs("button",{onClick:()=>{aA(!j),B(!1),m(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[g.jsx(Cc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1695",size:20}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1696",children:e.viewComments})]})]})]}),pA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1704",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:fn+1,cursor:"wait"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1710",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1711",className:"vg-spinner"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1712",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),c&&!H&&g.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:w?`polygon(
|
|
13
13
|
0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
|
|
14
14
|
${w.rect.left}px ${w.rect.top}px,
|
|
15
15
|
${w.rect.right}px ${w.rect.top}px,
|
|
16
16
|
${w.rect.right}px ${w.rect.bottom}px,
|
|
17
17
|
${w.rect.left}px ${w.rect.bottom}px,
|
|
18
18
|
${w.rect.left}px ${w.rect.top}px
|
|
19
|
-
)`:"none",zIndex:Fw}}),c&&w&&!H&&!pA&&g.jsx("div",{className:"vg-selection-pulse",style:{top:w.rect.top-4,left:w.rect.left-4,width:w.rect.width+8,height:w.rect.height+8,zIndex:mw},children:g.jsxs("div",{className:"vg-selection-label",style:{...w.rect.top<60?w.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...w.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[g.jsx(mc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1768",size:16}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1769",style:{display:"flex",flexDirection:"column"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1770",style:{fontWeight:700},children:e.selectToComment}),g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1771",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(w.rect.width)," × ",Math.round(w.rect.height)]})]})]})}),H&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1781",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1786",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"500px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1790",style:{textAlign:"center",marginBottom:"32px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1791",style:{width:"48px",height:"48px",background:"var(--vg-primary-gradient)",borderRadius:"12px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px",color:"white",boxShadow:"0 8px 16px rgba(99, 102, 241, 0.3)"},children:g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1796",size:24})}),g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1798",style:{margin:"0 0 8px 0",fontSize:"24px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1799",style:{margin:0,color:"#000000",fontSize:"15px"},children:e.feedbackSubheader})]}),H.visualPreview&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1803",style:{marginBottom:"24px",borderRadius:"8px",overflow:"hidden",width:"fit-content",margin:"0 auto 24px auto",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:g.jsx("img",{src:H.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"350px",objectFit:"contain",display:"block"}})}),g.jsx("textarea",{className:"vg-textarea",value:D,onChange:d=>k(d.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px"}}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1830",style:{marginBottom:"24px"},children:[g.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1831",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1834",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>g.jsx("button",{onClick:()=>u(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:f===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:f===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:f===d?d==="low"?"#059669":d==="medium"?"#4338ca":d==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[d]},d))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1860",style:{display:"flex",gap:"12px"},children:[g.jsx("button",{onClick:()=>!X&&m(null),className:"vg-button-ghost",disabled:X,style:{flex:1,padding:"12px"},children:e.cancel}),g.jsx("button",{onClick:Ow,className:"vg-button-primary",disabled:X||!D.trim(),style:{flex:2},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1875",style:{display:"flex",alignItems:"center",gap:"8px"},children:[X?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1876",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1876",size:18}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1877",children:X?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),Y&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1887",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1893",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"650px",maxHeight:"80vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1898",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1899",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1900",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:S?e.commentDetails:e.annotations}),g.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{aA(!1),V(null),tA(null),y("all")},children:g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1908",size:20})})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1911",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(W)?W:[],I=S?mA.find(T=>T.annotations?.some(EA=>EA._id===S)):null,L=(I?I.annotations:d).filter(T=>T.status!=="completed"&&T.status!=="done"),G=L.filter(T=>T.status!=="ready_for_review").length,$=L.filter(T=>T.status==="ready_for_review").length,q=L.length;return q<=0?q===0?null:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1925",style:{display:"flex",gap:"8px",opacity:.9},children:[G>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1927",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[G," ",G===1?"pendiente":"pendientes"]}),$>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1932",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[$," ",A==="es"?$===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):g.jsxs(g.Fragment,{children:[!i&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1943",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[g.jsx("div",{className:"vg-segmented-slider",style:{left:M===null?"4px":M==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:M===null?"var(--vg-primary)":M==="pending"?"#ea580c":"#a855f7",boxShadow:M===null?"0 4px 12px rgba(99, 102, 241, 0.3)":M==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),g.jsxs("div",{onClick:()=>tA(null),className:`vg-segmented-item ${M===null?"active":""}`,children:[e.viewAll||"Todos"," (",q,")"]}),g.jsxs("div",{onClick:()=>tA("pending"),className:`vg-segmented-item ${M==="pending"?"active":""}`,children:[A==="es"?G===1?"Pendiente":"Pendientes":"Pending"," (",G,")"]}),g.jsxs("div",{onClick:()=>tA("ready"),className:`vg-segmented-item ${M==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",$,")"]})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1974",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:i?"0":"4px"},children:[g.jsxs("button",{onClick:()=>y("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:C==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:C==="all"?"var(--vg-primary)":"transparent",color:C==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",L.filter(T=>i?!0:M==="pending"?T.status!=="ready_for_review":M==="ready"?T.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(T=>{const EA=L.filter(MA=>i?!0:M==="pending"?MA.status!=="ready_for_review":M==="ready"?MA.status==="ready_for_review":!0).filter(MA=>(MA.priority||"medium")===T).length;return EA===0&&C!==T?null:g.jsxs("button",{onClick:()=>y(T),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:C===T?T==="low"?"#10b981":T==="medium"?"#6366f1":T==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:C===T?T==="low"?"#ecfdf5":T==="medium"?"#eef2ff":T==="high"?"#fffbeb":"#fef2f2":"transparent",color:C===T?T==="low"?"#059669":T==="medium"?"#4338ca":T==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[T]," (",EA,")"]},T)})]})]})})()})]}),g.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:Qe?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2040",style:{display:"flex",justifyContent:"center",padding:"40px"},children:g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2041",className:"vg-spinner"})}):oA.map((d,I)=>g.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${I*.05}s`},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2056",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2057",style:{display:"flex",gap:"12px",alignItems:"center"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2058",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Qa(d.timestamp||d.createdAt||d.reference?.timestamp,A)}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2061",onClick:F=>{F.stopPropagation();const L=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(L);const G=F.currentTarget;G.innerText="¡Copiado!",G.style.color="#22c55e",setTimeout(()=>{G.innerText=L,G.style.color=i?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:i?"#64748b":"#6366f1",background:i?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:A==="es"?"Click para copiar":"Click to copy",children:d.key||`VG-${d._id.slice(-6).toUpperCase()}`}),d.reference?.metadata?.isModal&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2090",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:i?"#64748b":d.status==="completed"||d.status==="done"?"#059669":d.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),d.url&&g.jsx(Ca,{url:d.url,onHover:Un,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),d.status==="completed"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2118",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2119",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):d.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2122",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2123",size:14})," ",e.readyForReview]}):d.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2126",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2127",size:14})," ","Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2130",className:"vg-badge",style:{backgroundColor:i||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:i||d.status==="backlog"?"#64748b":"#ea580c",border:i||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx($n,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2135",size:14}),i||d.status==="backlog"?e.backlog:e.pending]})]}),Fn===d._id?g.jsx("textarea",{className:"vg-textarea",value:ya,onChange:F=>Ha(F.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px"}}):g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2151",style:{marginBottom:"20px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2152",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2153",style:{fontSize:"10px",fontWeight:800,color:d.priority==="low"?"#059669":d.priority==="urgent"?"#b91c1c":d.priority==="high"?"#b45309":"#4338ca",backgroundColor:d.priority==="low"?"#ecfdf5":d.priority==="urgent"?"#fef2f2":d.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:d.priority==="low"?"#d1fae5":d.priority==="urgent"?"#fee2e2":d.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[d.priority||"medium"]]})}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2167",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:d.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2171",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2173",style:{display:"flex",gap:"6px"},children:Fn!==d._id&&g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{d.url&&(window.location.href=d.url)},title:e.review,children:g.jsx(qn,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2184",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{mn(d._id),Ha(d.message),p(d.priority||"medium")},title:e.edit,children:g.jsx(Ec,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2196",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{IA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(JA(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:g.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2226",size:16})})]})}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2233",style:{display:"flex",gap:"8px"},children:Fn===d._id?g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({message:ya,priority:h})})).ok&&(mn(null),JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2262",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(F=>g.jsx("button",{onClick:()=>p(F),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===F?F==="low"?"#10b981":F==="medium"?"#6366f1":F==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===F?F==="low"?"#ecfdf5":F==="medium"?"#eef2ff":F==="high"?"#fffbeb":"#fef2f2":"white",color:h===F?F==="low"?"#059669":F==="medium"?"#4338ca":F==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[F]},F))}),g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2285",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>mn(null),children:e.cancel})]}):g.jsxs(g.Fragment,{children:[!i&&(d.status==="pending"||!["ready_for_review","completed","done"].includes(d.status||""))&&g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"ready_for_review"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2318",size:14})," ",e.markReady]}),!i&&d.status==="ready_for_review"&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2322",style:{display:"flex",gap:"8px"},children:[g.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"pending"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(xc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2351",size:14})," ",e.reopen]}),g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"completed"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2381",size:14})," ",e.completed]})]})]})})]})]},d._id))},S||"all")]})}),uA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2400",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn+100},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2405",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2412",style:{width:"64px",height:"64px",background:uA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:uA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:uA.type==="danger"?g.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2421",size:32}):g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2421",size:32})}),g.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2423",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:uA.title}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2424",style:{margin:"0 0 32px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:uA.message}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2425",style:{display:"flex",gap:"16px"},children:[g.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!j&&IA(null),disabled:j,children:e.no}),g.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:uA.type==="danger"?"#ef4444":void 0,backgroundImage:uA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px"},disabled:j,onClick:async()=>{Ae(!0);try{await uA.onConfirm()}catch(d){console.error("Confirmation error:",d)}finally{Ae(!1)}},children:j?g.jsx(Fc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2459",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!Y&&!c&&mA.map((d,I)=>{const{rect:F,annotations:L,isModal:G}=d,$=L[0],q=L.length,T=L.some(v=>v.status==="ready_for_review"),EA=L.some(v=>v.status==="completed"||v.status==="done"),MA=L.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),AA=EA&&!T&&!MA,SA=T&&!MA&&!EA,re=(T||EA)&&!MA,wA=(T||EA)&&MA,NA=L.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,TA=L.filter(v=>v.status==="ready_for_review").length,ge=L.filter(v=>v.status==="completed"||v.status==="done").length,jA=L.some(v=>v.status==="bug_fixing"),hA=NA>0?jA?"#f43f5e":i?"#64748b":"#ea580c":TA>0?"#a855f7":"#10b981",Ke=mA.some(v=>v.element===d.element&&v.isTriggerPin),Rw=mA.some(v=>v.element===d.element&&!v.isTriggerPin),ba=Ke&&Rw?d.isTriggerPin?-18:18:0,Ia=F.top===0&&F.left===0&&F.width>window.innerWidth*.9;return g.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,F.top-20)),left:Ia?Math.max(20,F.left+40+ba):Math.max(20,Math.min(window.innerWidth-52,F.left+F.width/2-16+ba)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Ew},onMouseEnter:v=>{const Ye=v.currentTarget.getBoundingClientRect(),va=window.innerHeight-Ye.bottom,Mw=Ye.top;va<250&&Mw>va?Q(Hn=>({...Hn,[d.id]:"vg-top"})):Q(Hn=>({...Hn,[d.id]:""}))},onWheel:v=>{const Ye=v.currentTarget.querySelector(".vg-tooltip-scroll");Ye&&Ye.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{aA(!0),V($._id)},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2534",className:`vg-pin-tooltip ${qA[d.id]||""} ${Ia||F.left<160?"vg-tooltip-right":F.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2535",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2536",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?g.jsx(eo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2538",size:14,color:hA}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2540",size:14,color:hA}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2542",style:{display:"flex",gap:"4px"},children:[NA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2544",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":"#fff7ed",color:i?"#64748b":"#c2410c"},children:[NA," ",i||$.status==="backlog"?"Backlog":A==="es"?NA===1?e.pending:"Pendientes":"pending"]}),TA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2553",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[TA," ",A==="es"?TA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),ge>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2565",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[ge," ",A==="es"?ge===1?"Completado":"Completados":"completed"]}),L.some(v=>v.status==="bug_fixing")&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2577",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),G&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2591",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":wA?`linear-gradient(90deg, #ea580c 50%, ${EA?"#10b981":"#a855f7"} 50%)`:NA>0?"#fff7ed":AA?"#ecfdf5":"#f3e8ff",color:i?"#64748b":wA?"#ffffff":NA>0?"#c2410c":AA?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:wA&&!i?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2603",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:L.map((v,Ye)=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2605",style:{padding:"10px 0",borderTop:Ye===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2612",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2613",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Qa(v.timestamp||v.createdAt,A)}),v.url&&g.jsx(Ca,{url:v.url,onHover:Un,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2635",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2639",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2640",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2654",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2667",size:10}),e.completed]}):v.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2671",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2684",size:10}),e.readyForReview]}):v.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2688",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2701",size:10}),"Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2705",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:i||v.status==="backlog"?"#64748b":"#ea580c",background:i||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:i||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx($n,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2718",size:10}),i||v.status==="backlog"?e.backlog:e.pending]})]})]},v._id))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2728",className:`vg-formal-pin ${AA?"completed":SA||re?"ready":jA?"bug":wA?"mixed":i?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:jA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":wA?EA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[SA||AA||re?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2735",size:18}):jA?g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2735",size:18}):d.isTriggerPin?g.jsx(eo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2735",size:16}):G?g.jsx(qn,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2735",size:16}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2735",size:16}),q>1&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2738",className:"vg-pin-badge vg-animate-pop",children:q})]})]},`group-${d.id}`)}),g.jsx("div",{className:`vg-url-tooltip ${Be?"visible":""} ${Be?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:Be?`translate(-50%, ${Be.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:Be?.x||0,top:Be?.y||0},children:Be?.url})]})})};function Qn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=i=>i.replace(/\\/g,"/"),s=r(A).replace(r(e),"");return t.split(`
|
|
19
|
+
)`:"none",zIndex:Fw}}),c&&w&&!H&&!pA&&g.jsx("div",{className:"vg-selection-pulse",style:{top:w.rect.top-4,left:w.rect.left-4,width:w.rect.width+8,height:w.rect.height+8,zIndex:mw},children:g.jsxs("div",{className:"vg-selection-label",style:{...w.rect.top<60?w.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...w.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[g.jsx(mc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1764",size:16}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1765",style:{display:"flex",flexDirection:"column"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1766",style:{fontWeight:700},children:e.selectToComment}),g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1767",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(w.rect.width)," × ",Math.round(w.rect.height)]})]})]})}),H&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1777",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1782",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"500px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1786",style:{textAlign:"center",marginBottom:"32px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1787",style:{width:"48px",height:"48px",background:"var(--vg-primary-gradient)",borderRadius:"12px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px",color:"white",boxShadow:"0 8px 16px rgba(99, 102, 241, 0.3)"},children:g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1792",size:24})}),g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1794",style:{margin:"0 0 8px 0",fontSize:"24px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1795",style:{margin:0,color:"#000000",fontSize:"15px"},children:e.feedbackSubheader})]}),H.visualPreview&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1799",style:{marginBottom:"24px",borderRadius:"8px",overflow:"hidden",width:"fit-content",margin:"0 auto 24px auto",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:g.jsx("img",{src:H.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"350px",objectFit:"contain",display:"block"}})}),g.jsx("textarea",{className:"vg-textarea",value:D,onChange:d=>k(d.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px"}}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1826",style:{marginBottom:"24px"},children:[g.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1827",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1830",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>g.jsx("button",{onClick:()=>u(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:f===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:f===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:f===d?d==="low"?"#059669":d==="medium"?"#4338ca":d==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[d]},d))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1856",style:{display:"flex",gap:"12px"},children:[g.jsx("button",{onClick:()=>!X&&m(null),className:"vg-button-ghost",disabled:X,style:{flex:1,padding:"12px"},children:e.cancel}),g.jsx("button",{onClick:Ow,className:"vg-button-primary",disabled:X||!D.trim(),style:{flex:2},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1871",style:{display:"flex",alignItems:"center",gap:"8px"},children:[X?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1872",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1872",size:18}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1873",children:X?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),j&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1883",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1889",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"650px",maxHeight:"80vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1894",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1895",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1896",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:S?e.commentDetails:e.annotations}),g.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{aA(!1),V(null),tA(null),y("all")},children:g.jsx(ds,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1904",size:20})})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1907",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(W)?W:[],I=S?mA.find(L=>L.annotations?.some(EA=>EA._id===S)):null,K=(I?I.annotations:d).filter(L=>L.status!=="completed"&&L.status!=="done"),G=K.filter(L=>L.status!=="ready_for_review").length,J=K.filter(L=>L.status==="ready_for_review").length,q=K.length;return q<=0?q===0?null:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1921",style:{display:"flex",gap:"8px",opacity:.9},children:[G>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1923",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[G," ",G===1?"pendiente":"pendientes"]}),J>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1928",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[J," ",A==="es"?J===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):g.jsxs(g.Fragment,{children:[!i&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1939",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[g.jsx("div",{className:"vg-segmented-slider",style:{left:M===null?"4px":M==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:M===null?"var(--vg-primary)":M==="pending"?"#ea580c":"#a855f7",boxShadow:M===null?"0 4px 12px rgba(99, 102, 241, 0.3)":M==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),g.jsxs("div",{onClick:()=>tA(null),className:`vg-segmented-item ${M===null?"active":""}`,children:[e.viewAll||"Todos"," (",q,")"]}),g.jsxs("div",{onClick:()=>tA("pending"),className:`vg-segmented-item ${M==="pending"?"active":""}`,children:[A==="es"?G===1?"Pendiente":"Pendientes":"Pending"," (",G,")"]}),g.jsxs("div",{onClick:()=>tA("ready"),className:`vg-segmented-item ${M==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",J,")"]})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1970",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:i?"0":"4px"},children:[g.jsxs("button",{onClick:()=>y("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:C==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:C==="all"?"var(--vg-primary)":"transparent",color:C==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",K.filter(L=>i?!0:M==="pending"?L.status!=="ready_for_review":M==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const EA=K.filter(MA=>i?!0:M==="pending"?MA.status!=="ready_for_review":M==="ready"?MA.status==="ready_for_review":!0).filter(MA=>(MA.priority||"medium")===L).length;return EA===0&&C!==L?null:g.jsxs("button",{onClick:()=>y(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:C===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:C===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:C===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[L]," (",EA,")"]},L)})]})]})})()})]}),g.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:Qe?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2036",style:{display:"flex",justifyContent:"center",padding:"40px"},children:g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2037",className:"vg-spinner"})}):oA.map((d,I)=>g.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${I*.05}s`},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2052",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2053",style:{display:"flex",gap:"12px",alignItems:"center"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2054",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Qa(d.timestamp||d.createdAt||d.reference?.timestamp,A)}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2057",onClick:F=>{F.stopPropagation();const K=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(K);const G=F.currentTarget;G.innerText="¡Copiado!",G.style.color="#22c55e",setTimeout(()=>{G.innerText=K,G.style.color=i?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:i?"#64748b":"#6366f1",background:i?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:A==="es"?"Click para copiar":"Click to copy",children:d.key||`VG-${d._id.slice(-6).toUpperCase()}`}),d.reference?.metadata?.isModal&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2086",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:i?"#64748b":d.status==="completed"||d.status==="done"?"#059669":d.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),d.url&&g.jsx(Ca,{url:d.url,onHover:Un,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),d.status==="completed"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2114",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2115",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):d.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2118",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2119",size:14})," ",e.readyForReview]}):d.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2122",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2123",size:14})," ","Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2126",className:"vg-badge",style:{backgroundColor:i||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:i||d.status==="backlog"?"#64748b":"#ea580c",border:i||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx($n,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2131",size:14}),i||d.status==="backlog"?e.backlog:e.pending]})]}),Fn===d._id?g.jsx("textarea",{className:"vg-textarea",value:ya,onChange:F=>Ha(F.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px"}}):g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2147",style:{marginBottom:"20px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2148",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2149",style:{fontSize:"10px",fontWeight:800,color:d.priority==="low"?"#059669":d.priority==="urgent"?"#b91c1c":d.priority==="high"?"#b45309":"#4338ca",backgroundColor:d.priority==="low"?"#ecfdf5":d.priority==="urgent"?"#fef2f2":d.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:d.priority==="low"?"#d1fae5":d.priority==="urgent"?"#fee2e2":d.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[d.priority||"medium"]]})}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2163",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:d.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2167",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2169",style:{display:"flex",gap:"6px"},children:Fn!==d._id&&g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{d.url&&(window.location.href=d.url)},title:e.review,children:g.jsx(qn,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2180",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{mn(d._id),Ha(d.message),p(d.priority||"medium")},title:e.edit,children:g.jsx(Ec,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2192",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{IA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(JA(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:g.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2222",size:16})})]})}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2229",style:{display:"flex",gap:"8px"},children:Fn===d._id?g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({message:ya,priority:h})})).ok&&(mn(null),JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2258",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(F=>g.jsx("button",{onClick:()=>p(F),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===F?F==="low"?"#10b981":F==="medium"?"#6366f1":F==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===F?F==="low"?"#ecfdf5":F==="medium"?"#eef2ff":F==="high"?"#fffbeb":"#fef2f2":"white",color:h===F?F==="low"?"#059669":F==="medium"?"#4338ca":F==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[F]},F))}),g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2281",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>mn(null),children:e.cancel})]}):g.jsxs(g.Fragment,{children:[!i&&(d.status==="pending"||!["ready_for_review","completed","done"].includes(d.status||""))&&g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"ready_for_review"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2314",size:14})," ",e.markReady]}),!i&&d.status==="ready_for_review"&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2318",style:{display:"flex",gap:"8px"},children:[g.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"pending"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(xc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2347",size:14})," ",e.reopen]}),g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{IA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"completed"})})).ok&&(JA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{IA(null)}}})},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2377",size:14})," ",e.completed]})]})]})})]})]},d._id))},S||"all")]})}),uA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2396",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:wn+100},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2401",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2408",style:{width:"64px",height:"64px",background:uA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:uA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:uA.type==="danger"?g.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2417",size:32}):g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2417",size:32})}),g.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2419",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:uA.title}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2420",style:{margin:"0 0 32px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:uA.message}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2421",style:{display:"flex",gap:"16px"},children:[g.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!z&&IA(null),disabled:z,children:e.no}),g.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:uA.type==="danger"?"#ef4444":void 0,backgroundImage:uA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px"},disabled:z,onClick:async()=>{Ae(!0);try{await uA.onConfirm()}catch(d){console.error("Confirmation error:",d)}finally{Ae(!1)}},children:z?g.jsx(Fc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2455",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!j&&!c&&mA.map((d,I)=>{const{rect:F,annotations:K,isModal:G}=d,J=K[0],q=K.length,L=K.some(v=>v.status==="ready_for_review"),EA=K.some(v=>v.status==="completed"||v.status==="done"),MA=K.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),AA=EA&&!L&&!MA,SA=L&&!MA&&!EA,re=(L||EA)&&!MA,wA=(L||EA)&&MA,NA=K.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,TA=K.filter(v=>v.status==="ready_for_review").length,ge=K.filter(v=>v.status==="completed"||v.status==="done").length,jA=K.some(v=>v.status==="bug_fixing"),hA=NA>0?jA?"#f43f5e":i?"#64748b":"#ea580c":TA>0?"#a855f7":"#10b981",Ke=mA.some(v=>v.element===d.element&&v.isTriggerPin),Rw=mA.some(v=>v.element===d.element&&!v.isTriggerPin),ba=Ke&&Rw?d.isTriggerPin?-18:18:0,Ia=F.top===0&&F.left===0&&F.width>window.innerWidth*.9;return g.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,F.top-20)),left:Ia?Math.max(20,F.left+40+ba):Math.max(20,Math.min(window.innerWidth-52,F.left+F.width/2-16+ba)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Ew},onMouseEnter:v=>{const Ye=v.currentTarget.getBoundingClientRect(),va=window.innerHeight-Ye.bottom,Mw=Ye.top;va<250&&Mw>va?Q(Hn=>({...Hn,[d.id]:"vg-top"})):Q(Hn=>({...Hn,[d.id]:""}))},onWheel:v=>{const Ye=v.currentTarget.querySelector(".vg-tooltip-scroll");Ye&&Ye.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{aA(!0),V(J._id)},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2530",className:`vg-pin-tooltip ${qA[d.id]||""} ${Ia||F.left<160?"vg-tooltip-right":F.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2531",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2532",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?g.jsx(eo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2534",size:14,color:hA}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2536",size:14,color:hA}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2538",style:{display:"flex",gap:"4px"},children:[NA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2540",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":"#fff7ed",color:i?"#64748b":"#c2410c"},children:[NA," ",i||J.status==="backlog"?"Backlog":A==="es"?NA===1?e.pending:"Pendientes":"pending"]}),TA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2549",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[TA," ",A==="es"?TA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),ge>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2561",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[ge," ",A==="es"?ge===1?"Completado":"Completados":"completed"]}),K.some(v=>v.status==="bug_fixing")&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2573",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),G&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2587",className:"vg-badge",style:{fontSize:"10px",background:i?"#f1f5f9":wA?`linear-gradient(90deg, #ea580c 50%, ${EA?"#10b981":"#a855f7"} 50%)`:NA>0?"#fff7ed":AA?"#ecfdf5":"#f3e8ff",color:i?"#64748b":wA?"#ffffff":NA>0?"#c2410c":AA?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:wA&&!i?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2599",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:K.map((v,Ye)=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2601",style:{padding:"10px 0",borderTop:Ye===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2608",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2609",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Qa(v.timestamp||v.createdAt,A)}),v.url&&g.jsx(Ca,{url:v.url,onHover:Un,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2631",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2635",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2636",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2650",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2663",size:10}),e.completed]}):v.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2667",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2680",size:10}),e.readyForReview]}):v.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2684",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2697",size:10}),"Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2701",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:i||v.status==="backlog"?"#64748b":"#ea580c",background:i||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:i||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx($n,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2714",size:10}),i||v.status==="backlog"?e.backlog:e.pending]})]})]},v._id))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2724",className:`vg-formal-pin ${AA?"completed":SA||re?"ready":jA?"bug":wA?"mixed":i?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:jA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":wA?EA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[SA||AA||re?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",size:18}):jA?g.jsx(gs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",size:18}):d.isTriggerPin?g.jsx(eo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",size:16}):G?g.jsx(qn,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",size:16}):g.jsx(Yt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",size:16}),q>1&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2734",className:"vg-pin-badge vg-animate-pop",children:q})]})]},`group-${d.id}`)}),g.jsx("div",{className:`vg-url-tooltip ${Be?"visible":""} ${Be?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:Be?`translate(-50%, ${Be.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:Be?.x||0,top:Be?.y||0},children:Be?.url})]})})};function Qn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=i=>i.replace(/\\/g,"/"),s=r(A).replace(r(e),"");return t.split(`
|
|
20
20
|
`).map((i,a)=>{const l=a+1;return i.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(c,B,f)=>c.includes("data-source-path")||f==="Fragment"||f==="React.Fragment"?c:`${B}<${f} data-source-path="${s}:${l}"`)}).join(`
|
|
21
21
|
`)}function Lw(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:Qn(t,A,process.cwd()),map:null}}}}function Tw(t){const A=this.resourcePath;return A?(process.env.NODE_ENV,Qn(t,A,process.cwd())):t}_A.ViewGate=bc,_A.ViewGateOverlay=xa,_A.transformSourcePaths=Qn,_A.useViewGate=no,_A.viewgateNextLoader=Tw,_A.viewgatePlugin=Lw,Object.defineProperty(_A,Symbol.toStringTag,{value:"Module"})}));
|