viewgate-wrapper 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -131
- package/dist/components/ViewGateOverlay.d.ts.map +1 -1
- package/dist/viewgate-wrapper.js +2165 -2145
- package/dist/viewgate-wrapper.umd.cjs +7 -7
- package/package.json +1 -1
|
@@ -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(GA,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):(GA=typeof globalThis<"u"?globalThis:GA||self,U(GA.ViewGateWrapper={},GA.React,GA.ReactDOM))})(this,(function(GA,U,
|
|
2
|
+
(function(GA,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):(GA=typeof globalThis<"u"?globalThis:GA||self,U(GA.ViewGateWrapper={},GA.React,GA.ReactDOM))})(this,(function(GA,U,Ma){"use strict";var zt={exports:{}},ut={};var Tn;function Na(){if(Tn)return ut;Tn=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 ut.Fragment=A,ut.jsx=e,ut.jsxs=e,ut}var ft={};var Kn;function _a(){return Kn||(Kn=1,process.env.NODE_ENV!=="production"&&(function(){function t(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===wA?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case F:return"Fragment";case p:return"Profiler";case H:return"StrictMode";case K:return"Suspense";case V:return"SuspenseList";case FA:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case h:return"Portal";case T:return C.displayName||"Context";case E:return(C._context.displayName||"Context")+".Consumer";case m:var D=C.render;return C=C.displayName,C||(C=D.displayName||D.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case Z:return D=C.displayName||null,D!==null?D:t(C.type)||"Memo";case L:D=C._payload,C=C._init;try{return t(C(D))}catch{}}return null}function A(C){return""+C}function e(C){try{A(C);var D=!1}catch{D=!0}if(D){D=console;var M=D.error,Y=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return M.call(D,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Y),A(C)}}function r(C){if(C===F)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===L)return"<...>";try{var D=t(C);return D?"<"+D+">":"<...>"}catch{return"<...>"}}function s(){var C=fA.A;return C===null?null:C.getOwner()}function n(){return Error("react-stack-top-frame")}function o(C){if($.call(C,"key")){var D=Object.getOwnPropertyDescriptor(C,"key").get;if(D&&D.isReactWarning)return!1}return C.key!==void 0}function i(C,D){function M(){jA||(jA=!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)",D))}M.isReactWarning=!0,Object.defineProperty(C,"key",{get:M,configurable:!0})}function a(){var C=t(this.type);return LA[C]||(LA[C]=!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.")),C=this.props.ref,C!==void 0?C:null}function l(C,D,M,Y,PA,Ae){var k=M.ref;return C={$$typeof:w,type:C,key:D,props:M,_owner:Y},(k!==void 0?k:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:a}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:PA}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ae}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function c(C,D,M,Y,PA,Ae){var k=D.children;if(k!==void 0)if(Y)if(iA(k)){for(Y=0;Y<k.length;Y++)B(k[Y]);Object.freeze&&Object.freeze(k)}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(k);if($.call(D,"key")){k=t(C);var RA=Object.keys(D).filter(function(Qe){return Qe!=="key"});Y=0<RA.length?"{key: someKey, "+RA.join(": ..., ")+": ...}":"{key: someKey}",Be[k+Y]||(RA=0<RA.length?"{"+RA.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,k,MA,k),ce[k+j]=!0)}if(k=null,M!==void 0&&(e(M),k=""+M),o(D)&&(e(D.key),k=""+D.key),"key"in D){M={};for(var Ae in D)Ae!=="key"&&(M[Ae]=D[Ae])}else M=D;return k&&i(M,typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q),l(Q,k,M,s(),PA,qA)}function B(Q){f(Q)?Q._store&&(Q._store.validated=1):typeof Q=="object"&&Q!==null&&Q.$$typeof===L&&(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===w}var u=U,w=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),CA=Symbol.for("react.activity"),wA=Symbol.for("react.client.reference"),fA=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,AA=Object.prototype.hasOwnProperty,iA=Array.isArray,eA=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(Q){return Q()}};var YA,LA={},xA=u.react_stack_bottom_frame.bind(u,n)(),ct=eA(r(n)),ce={};ut.Fragment=F,ut.jsx=function(Q,D,M){var j=1e4>fA.recentlyCreatedOwnerStacks++;return c(Q,D,M,!1,j?Error("react-stack-top-frame"):xA,j?eA(r(Q)):ct)},ut.jsxs=function(Q,D,M){var j=1e4>fA.recentlyCreatedOwnerStacks++;return c(Q,D,M,!0,j?Error("react-stack-top-frame"):xA,j?eA(r(Q)):ct)}})()),ut}var Kn;function Na(){return Kn||(Kn=1,process.env.NODE_ENV==="production"?Jt.exports=Ra():Jt.exports=Ma()),Jt.exports}var g=Na(),Yt={exports:{}},As={};var Dn;function _a(){if(Dn)return As;Dn=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(),w=r({inst:{value:u,getSnapshot:f}}),h=w[0].inst,F=w[1];return n(function(){h.value=u,h.getSnapshot=f,a(h)&&F({inst:h})},[B,u,f]),s(function(){return a(h)&&F({inst:h}),B(function(){a(h)&&F({inst:h})})},[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 As.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,As}var es={};var On;function Ga(){return On||(On=1,process.env.NODE_ENV!=="production"&&(function(){function t(u,w){return u===w&&(u!==0||1/u===1/w)||u!==u&&w!==w}function A(u,w){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 h=w();if(!B){var F=w();n(h,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}F=o({inst:{value:h,getSnapshot:w}});var y=F[0].inst,p=F[1];return a(function(){y.value=h,y.getSnapshot=w,e(y)&&p({inst:y})},[u,h,w]),i(function(){return e(y)&&p({inst:y}),u(function(){e(y)&&p({inst:y})})},[u]),l(h),h}function e(u){var w=u.getSnapshot;u=u.value;try{var h=w();return!n(u,h)}catch{return!0}}function r(u,w){return w()}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;es.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())})()),es}var Rn;function Va(){return Rn||(Rn=1,process.env.NODE_ENV==="production"?Yt.exports=_a():Yt.exports=Ga()),Yt.exports}var Mn=Va();const Nn=0,_n=1,Gn=2,Vn=3;var kn=Object.prototype.hasOwnProperty;function ts(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--&&ts(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(kn.call(t,e)&&++r&&!kn.call(A,e)||!(e in A)||!ts(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const ge=new WeakMap,de=()=>{},yA=de(),rs=Object,_=t=>t===yA,te=t=>typeof t=="function",Ue=(t,A)=>({...t,...A}),Pn=t=>te(t.then),ss={},jt={},ns="undefined",ft=typeof window!=ns,os=typeof document!=ns,ka=ft&&"Deno"in window,Pa=()=>ft&&typeof window.requestAnimationFrame!=ns,Xn=(t,A)=>{const e=ge.get(t);return[()=>!_(A)&&t.get(A)||ss,r=>{if(!_(A)){const s=t.get(A);A in jt||(jt[A]=s),e[5](A,Ue(s,r),s||ss)}},e[6],()=>!_(A)&&A in jt?jt[A]:!_(A)&&t.get(A)||ss]};let is=!0;const Xa=()=>is,[as,cs]=ft&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[de,de],Wa=()=>{const t=os&&document.visibilityState;return _(t)||t!=="hidden"},Ja=t=>(os&&document.addEventListener("visibilitychange",t),as("focus",t),()=>{os&&document.removeEventListener("visibilitychange",t),cs("focus",t)}),Ya=t=>{const A=()=>{is=!0,t()},e=()=>{is=!1};return as("online",A),as("offline",e),()=>{cs("online",A),cs("offline",e)}},ja={isOnline:Xa,isVisible:Wa},za={initFocus:Ja,initReconnect:Ya},Wn=!U.useId,Ye=!ft||ka,Za=t=>Pa()?window.requestAnimationFrame(t):setTimeout(t,1),ls=Ye?U.useEffect:U.useLayoutEffect,Bs=typeof navigator<"u"&&navigator.connection,Jn=!Ye&&Bs&&(["slow-2g","2g"].includes(Bs.effectiveType)||Bs.saveData),zt=new WeakMap,$a=t=>rs.prototype.toString.call(t),gs=(t,A)=>t===`[object ${A}]`;let qa=0;const ds=t=>{const A=typeof t,e=$a(t),r=gs(e,"Date"),s=gs(e,"RegExp"),n=gs(e,"Object");let o,i;if(rs(t)===t&&!r&&!s){if(o=zt.get(t),o)return o;if(o=++qa+"~",zt.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=ds(t[i])+",";zt.set(t,o)}if(n){o="#";const a=rs.keys(t).sort();for(;!_(i=a.pop());)_(t[i])||(o+=i+":"+ds(t[i])+",");zt.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},us=t=>{if(te(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?ds(t):"",[t,A]};let Ac=0;const fs=()=>++Ac;async function Yn(...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(te(e)){const f=e,u=[],w=A.keys();for(const h of w)!/^\$(inf|sub)\$/.test(h)&&f(A.get(h)._k)&&u.push(h);return Promise.all(u.map(B))}return B(e);async function B(f){const[u]=us(f);if(!u)return;const[w,h]=Xn(A,u),[F,y,p,E]=ge.get(A),T=()=>{const iA=F[u];return(te(n.revalidate)?n.revalidate(w().data,f):n.revalidate!==!1)&&(delete p[u],delete E[u],iA&&iA[0])?iA[0](Gn).then(()=>w().data):w().data};if(t.length<3)return T();let m=r,K,V=!1;const q=fs();y[u]=[q,0];const L=!_(a),CA=w(),wA=CA.data,fA=CA._c,AA=_(fA)?wA:fA;if(L&&(a=te(a)?a(AA,wA):a,h({data:a,_c:AA})),te(m))try{m=m(AA)}catch(iA){K=iA,V=!0}if(m&&Pn(m))if(m=await m.catch(iA=>{K=iA,V=!0}),q!==y[u][0]){if(V)throw K;return m}else V&&L&&l(K)&&(o=!0,h({data:AA,_c:yA}));if(o&&!V)if(te(o)){const iA=o(m,AA);h({data:iA,error:yA,_c:yA})}else h({data:m,error:yA,_c:yA});if(y[u][1]=fs(),Promise.resolve(T()).then(()=>{h({_c:yA})}),V){if(c)throw K;return}return m}}const jn=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},ec=(t,A)=>{if(!ge.has(t)){const e=Ue(za,A),r=Object.create(null),s=Yn.bind(yA,t);let n=de;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 w of u)w(B,f)},l=()=>{if(!ge.has(t)&&(ge.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,a,i]),!Ye)){const c=e.initFocus(setTimeout.bind(yA,jn.bind(yA,r,Nn))),B=e.initReconnect(setTimeout.bind(yA,jn.bind(yA,r,_n)));n=()=>{c&&c(),B&&B(),ge.delete(t)}}};return l(),[t,s,l,n]}return[t,ge.get(t)[4]]},tc=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!_(n)&&o>n||setTimeout(r,i,s)},rc=ts,[zn,sc]=ec(new Map),nc=Ue({onLoadingSlow:de,onSuccess:de,onError:de,onErrorRetry:tc,onDiscarded:de,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Jn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Jn?5e3:3e3,compare:rc,isPaused:()=>!1,cache:zn,mutate:sc,fallback:{}},ja),oc=(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},ic=U.createContext({}),ac="$inf$",Zn=ft&&window.__SWR_DEVTOOLS_USE__,cc=Zn?window.__SWR_DEVTOOLS_USE__:[],lc=()=>{Zn&&(window.__SWR_DEVTOOLS_REACT__=U)},Bc=t=>te(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],gc=()=>{const t=U.useContext(ic);return U.useMemo(()=>Ue(nc,t),[t])},dc=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=us(A),[,,,i]=ge.get(zn);if(o.startsWith(ac))return e(...n);const a=i[o];return _(a)?e(...n):(delete i[o],a)}),r),uc=cc.concat(dc),fc=t=>function(...e){const r=gc(),[s,n,o]=Bc(e),i=oc(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(uc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},wc=(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())}};lc();const ws=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}}),hs={dedupe:!0},$n=Promise.resolve(yA),hc=()=>de,qn=fc((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,[w,h,F,y]=ge.get(r),[p,E]=us(t),T=U.useRef(!1),m=U.useRef(!1),K=U.useRef(p),V=U.useRef(A),q=U.useRef(e),L=()=>q.current,CA=()=>L().isVisible()&&L().isOnline(),[wA,fA,AA,iA]=Xn(r,p),eA=U.useRef({}).current,YA=_(o)?_(e.fallback)?yA:e.fallback[p]:o,LA=(tA,rA)=>{for(const Y in eA){const z=Y;if(z==="data"){if(!s(tA[z],rA[z])&&(!_(tA[z])||!s(qA,rA[z])))return!1}else if(rA[z]!==tA[z])return!1}return!0},xA=!T.current,ct=U.useMemo(()=>{const tA=wA(),rA=iA(),Y=lA=>{const Z=Ue(lA);return delete Z._k,(()=>{if(!p||!A||L().isPaused())return!1;if(xA&&!_(i))return i;const De=_(YA)?Z.data:YA;return _(De)||a})()?{isValidating:!0,isLoading:!0,...Z}:Z},z=Y(tA),UA=tA===rA?z:Y(rA);let TA=z;return[()=>{const lA=Y(wA());return LA(lA,TA)?(TA.data=lA.data,TA.isLoading=lA.isLoading,TA.isValidating=lA.isValidating,TA.error=lA.error,TA):(TA=lA,lA)},()=>UA]},[r,p]),ce=Mn.useSyncExternalStore(U.useCallback(tA=>AA(p,(rA,Y)=>{LA(Y,rA)||tA()}),[r,p]),ct[0],ct[1]),Q=w[p]&&w[p].length>0,D=ce.data,M=_(D)?YA&&Pn(YA)?ws(YA):YA:D,j=ce.error,PA=U.useRef(M),qA=f?_(D)?_(PA.current)?M:PA.current:D:M,k=p&&_(M),MA=U.useRef(null);!Ye&&Mn.useSyncExternalStore(hc,()=>(MA.current=!1,MA),()=>(MA.current=!0,MA));const Ae=MA.current;u&&Ae&&!n&&k&&console.warn(`Missing pre-initiated data for serialized key "${p}" 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=!p||!A||L().isPaused()||Q&&!_(j)?!1:xA&&!_(i)?i:n?_(M)?!1:a:_(M)||a,cA=xA&&Te,kt=_(ce.isValidating)?cA:ce.isValidating,jr=_(ce.isLoading)?cA:ce.isLoading,Ke=U.useCallback(async tA=>{const rA=V.current;if(!p||!rA||m.current||L().isPaused())return!1;let Y,z,UA=!0;const TA=tA||{},lA=!F[p]||!TA.dedupe,Z=()=>Wn?!m.current&&p===K.current&&T.current:p===K.current,le={isValidating:!1,isLoading:!1},De=()=>{fA(le)},pe=()=>{const IA=F[p];IA&&IA[1]===z&&delete F[p]},$r={isValidating:!0};_(wA().data)&&($r.isLoading=!0);try{if(lA&&(fA($r),e.loadingTimeout&&_(wA().data)&&setTimeout(()=>{UA&&Z()&&L().onLoadingSlow(p,e)},e.loadingTimeout),F[p]=[rA(E),fs()]),[Y,z]=F[p],Y=await Y,lA&&setTimeout(pe,e.dedupingInterval),!F[p]||F[p][1]!==z)return lA&&Z()&&L().onDiscarded(p),!1;le.error=yA;const IA=h[p];if(!_(IA)&&(z<=IA[0]||z<=IA[1]||IA[1]===0))return De(),lA&&Z()&&L().onDiscarded(p),!1;const vA=wA().data;le.data=s(vA,Y)?vA:Y,lA&&Z()&&L().onSuccess(Y,p,e)}catch(IA){pe();const vA=L(),{shouldRetryOnError:Pt}=vA;vA.isPaused()||(le.error=IA,lA&&Z()&&(vA.onError(IA,p,vA),(Pt===!0||te(Pt)&&Pt(IA))&&(!L().revalidateOnFocus||!L().revalidateOnReconnect||CA())&&vA.onErrorRetry(IA,p,vA,We=>{const lt=w[p];lt&<[0]&<[0](Vn,We)},{retryCount:(TA.retryCount||0)+1,dedupe:!0})))}return UA=!1,De(),!0},[p,r]),zr=U.useCallback((...tA)=>Yn(r,K.current,...tA),[]);if(ls(()=>{V.current=A,q.current=e,_(D)||(PA.current=D)}),ls(()=>{if(!p)return;const tA=Ke.bind(yA,hs);let rA=0;L().revalidateOnFocus&&(rA=Date.now()+L().focusThrottleInterval);const z=wc(p,w,(UA,TA={})=>{if(UA==Nn){const lA=Date.now();L().revalidateOnFocus&&lA>rA&&CA()&&(rA=lA+L().focusThrottleInterval,tA())}else if(UA==_n)L().revalidateOnReconnect&&CA()&&tA();else{if(UA==Gn)return Ke();if(UA==Vn)return Ke(TA)}});return m.current=!1,K.current=p,T.current=!0,fA({_k:E}),Te&&(F[p]||(_(M)||Ye?tA():Za(tA))),()=>{m.current=!0,z()}},[p]),ls(()=>{let tA;function rA(){const z=te(l)?l(wA().data):l;z&&tA!==-1&&(tA=setTimeout(Y,z))}function Y(){!wA().error&&(c||L().isVisible())&&(B||L().isOnline())?Ke(hs).then(rA):rA()}return rA(),()=>{tA&&(clearTimeout(tA),tA=-1)}},[l,c,B,p]),U.useDebugValue(qA),n){if(!Wn&&Ye&&k)throw new Error("Fallback data is required when using Suspense in SSR.");k&&(V.current=A,q.current=e,m.current=!1);const tA=y[p],rA=!_(tA)&&k?zr(tA):$n;if(ws(rA),!_(j)&&k)throw j;const Y=k?Ke(hs):$n;!_(qA)&&k&&(Y.status="fulfilled",Y.value=!0),ws(Y)}return{mutate:zr,get data(){return eA.data=!0,qA},get error(){return eA.error=!0,j},get isValidating(){return eA.isValidating=!0,kt},get isLoading(){return eA.isLoading=!0,jr}}}),pc=({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&&Oa.createPortal(t,e)})};const Ao=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const Qc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Cc=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const eo=t=>{const A=Cc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var Uc={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 Fc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const mc=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,...Uc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:Ao("lucide",s),...!n&&!Fc(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>U.createElement(l,c)),...Array.isArray(n)?n:[n]]));const FA=(t,A)=>{const e=U.forwardRef(({className:r,...s},n)=>U.createElement(mc,{ref:n,iconNode:A,className:Ao(`lucide-${Qc(eo(t))}`,`lucide-${t}`,r),...s}));return e.displayName=eo(t),e};const ps=FA("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 Ec=FA("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=FA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const to=FA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const ro=FA("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 xc=FA("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 yc=FA("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 so=FA("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 no=FA("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 Hc=FA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Zt=FA("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 bc=FA("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 Ic=FA("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 vc=FA("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 oo=FA("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 io=FA("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 Qs=FA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Sc={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",login:"Login with Google",authenticating:"Authenticating..."},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",login:"Iniciar sesión con Google",authenticating:"Autenticando..."}},ao=U.createContext(void 0),co=()=>{const t=U.useContext(ao);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Cs="viewgate_enabled",Lc=()=>typeof window>"u"?!1:new URLSearchParams(window.location.search).has("viewgate")?(sessionStorage.setItem(Cs,"true"),!0):sessionStorage.getItem(Cs)==="true",Tc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app",dashboardUrl:s})=>{const n=s||(r==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":r),[o,i]=U.useState(!1),[a,l]=U.useState([]);U.useEffect(()=>{i(Lc())},[]);const c=()=>{if(sessionStorage.removeItem(Cs),i(!1),typeof window<"u"){const u=new URL(window.location.href);u.searchParams.delete("viewgate"),window.history.replaceState({},"",u.toString())}},B=(u,w)=>{const h=Date.now();l(F=>[...F,{id:h,message:u,type:w}]),setTimeout(()=>{l(F=>F.filter(y=>y.id!==h))},4e3)},f=Sc[A];return g.jsxs(ao.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:275",value:{addToast:B,language:A,t:f,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:c,hasActiveToasts:a.length>0},children:[t,o&&g.jsx(pc,{"data-source-path":"/src/components/ViewGateProvider.tsx:287",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:288",className:"vg-container",children:[g.jsx(Ia,{"data-source-path":"/src/components/ViewGateProvider.tsx:289"}),g.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:290",className:"vg-toasts",style:{zIndex:2147483647},children:a.map(u=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:292",className:`vg-toast vg-animate-slide ${u.type}`,children:[u.type==="success"?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateProvider.tsx:294",size:24,color:"#22c55e"}):g.jsx(Ec,{"data-source-path":"/src/components/ViewGateProvider.tsx:296",size:24,color:"#ef4444"}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:298",children:[g.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:299",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:u.type==="success"?f.successHeader:f.errorHeader}),g.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:302",style:{fontSize:"14px",color:"#000000"},children:u.message})]})]},u.id))})]})})]})};class HA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new HA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new HA(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 HA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):HA.EMPTY}}HA.EMPTY=new HA(0,0,0,0);const $t=(t,A)=>HA.fromClientRect(t,A.getBoundingClientRect()),Kc=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 HA(0,0,r,s)};for(var qt=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},BA=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},lo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dc=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ar=0;Ar<lo.length;Ar++)Dc[lo.charCodeAt(Ar)]=Ar;for(var Bo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wt=typeof Uint8Array>"u"?[]:new Uint8Array(256),er=0;er<Bo.length;er++)wt[Bo.charCodeAt(er)]=er;for(var Oc=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=wt[t.charCodeAt(r)],o=wt[t.charCodeAt(r+1)],i=wt[t.charCodeAt(r+2)],a=wt[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},Rc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Mc=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},Re=5,Us=11,Fs=2,Nc=Us-Re,go=65536>>Re,_c=1<<Re,ms=_c-1,Gc=1024>>Re,Vc=go+Gc,kc=Vc,Pc=32,Xc=kc+Pc,Wc=65536>>Us,Jc=1<<Nc,Yc=Jc-1,uo=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},jc=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},zc=function(t,A){var e=Oc(t),r=Array.isArray(e)?Mc(e):new Uint32Array(e),s=Array.isArray(e)?Rc(e):new Uint16Array(e),n=24,o=uo(s,n/2,r[4]/2),i=r[5]===2?uo(s,(n+r[4])/2):jc(r,Math.ceil((n+r[4])/4));return new Zc(r[0],r[1],r[2],r[3],o,i)},Zc=(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>>Re],e=(e<<Fs)+(A&ms),this.data[e];if(A<=65535)return e=this.index[go+(A-55296>>Re)],e=(e<<Fs)+(A&ms),this.data[e];if(A<this.highStart)return e=Xc-Wc+(A>>Us),e=this.index[e],e+=A>>Re&Yc,e=this.index[e],e=(e<<Fs)+(A&ms),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$c=typeof Uint8Array>"u"?[]:new Uint8Array(256),tr=0;tr<fo.length;tr++)$c[fo.charCodeAt(tr)]=tr;var qc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiEC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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDU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IIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAA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csBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNM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WAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAF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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQ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4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKw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AB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUA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ACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",wo=50,Al=1,ho=2,po=3,el=4,tl=5,Qo=7,Co=8,Uo=9,me=10,Es=11,Fo=12,xs=13,rl=14,ht=15,ys=16,rr=17,pt=18,sl=19,mo=20,Hs=21,Qt=22,bs=23,je=24,VA=25,Ct=26,Ut=27,ze=28,nl=29,Me=30,ol=31,sr=32,nr=33,Is=34,vs=35,Ss=36,Ft=37,Ls=38,or=39,ir=40,Ts=41,Eo=42,il=43,al=[9001,65288],xo="!",G="×",ar="÷",Ks=zc(qc),ue=[Me,Ss],Ds=[Al,ho,po,tl],yo=[me,Co],Ho=[Ut,Ct],cl=Ds.concat(yo),bo=[Ls,or,ir,Is,vs],ll=[ht,xs],Bl=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=Ks.get(n);if(i>wo?(s.push(!0),i-=wo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(ys);if(i===el||i===Es){if(o===0)return r.push(o),e.push(Me);var a=e[o-1];return cl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(Me))}if(r.push(o),i===ol)return e.push(A==="strict"?Hs:Ft);if(i===Eo||i===nl)return e.push(Me);if(i===il)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(Ft):e.push(Me);e.push(i)}),[r,e,s]},Os=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},Io=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===me)e--;else return r}return 0},gl=function(t,A,e,r,s){if(e[r]===0)return G;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return G;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===ho&&c===po)return G;if(Ds.indexOf(a)!==-1)return xo;if(Ds.indexOf(c)!==-1||yo.indexOf(c)!==-1)return G;if(Io(n,A)===Co)return ar;if(Ks.get(t[n])===Es||(a===sr||a===nr)&&Ks.get(t[i])===Es||a===Qo||c===Qo||a===Uo||[me,xs,ht].indexOf(a)===-1&&c===Uo||[rr,pt,sl,je,ze].indexOf(c)!==-1||Io(n,A)===Qt||Os(bs,Qt,n,A)||Os([rr,pt],Hs,n,A)||Os(Fo,Fo,n,A))return G;if(a===me)return ar;if(a===bs||c===bs)return G;if(c===ys||a===ys)return ar;if([xs,ht,Hs].indexOf(c)!==-1||a===rl||l===Ss&&ll.indexOf(a)!==-1||a===ze&&c===Ss||c===mo||ue.indexOf(c)!==-1&&a===VA||ue.indexOf(a)!==-1&&c===VA||a===Ut&&[Ft,sr,nr].indexOf(c)!==-1||[Ft,sr,nr].indexOf(a)!==-1&&c===Ct||ue.indexOf(a)!==-1&&Ho.indexOf(c)!==-1||Ho.indexOf(a)!==-1&&ue.indexOf(c)!==-1||[Ut,Ct].indexOf(a)!==-1&&(c===VA||[Qt,ht].indexOf(c)!==-1&&A[i+1]===VA)||[Qt,ht].indexOf(a)!==-1&&c===VA||a===VA&&[VA,ze,je].indexOf(c)!==-1)return G;if([VA,ze,je,rr,pt].indexOf(c)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===VA)return G;if([ze,je].indexOf(f)!==-1)B--;else break}if([Ut,Ct].indexOf(c)!==-1)for(var B=[rr,pt].indexOf(a)!==-1?o:n;B>=0;){var f=A[B];if(f===VA)return G;if([ze,je].indexOf(f)!==-1)B--;else break}if(Ls===a&&[Ls,or,Is,vs].indexOf(c)!==-1||[or,Is].indexOf(a)!==-1&&[or,ir].indexOf(c)!==-1||[ir,vs].indexOf(a)!==-1&&c===ir||bo.indexOf(a)!==-1&&[mo,Ct].indexOf(c)!==-1||bo.indexOf(c)!==-1&&a===Ut||ue.indexOf(a)!==-1&&ue.indexOf(c)!==-1||a===je&&ue.indexOf(c)!==-1||ue.concat(VA).indexOf(a)!==-1&&c===Qt&&al.indexOf(t[i])===-1||ue.concat(VA).indexOf(c)!==-1&&a===pt)return G;if(a===Ts&&c===Ts){for(var u=e[n],w=1;u>0&&(u--,A[u]===Ts);)w++;if(w%2!==0)return G}return a===sr&&c===nr?G:ar},dl=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=Bl(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[VA,Me,Eo].indexOf(i)!==-1?Ft: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]},ul=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===xo,this.start=r,this.end=s}return t.prototype.slice=function(){return BA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),fl=function(t,A){var e=qt(t),r=dl(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=G;l<i&&(c=gl(e,n,s,++l,o))===G;);if(c!==G||l===i){var B=new ul(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const wl=1,hl=2,Ze=4,vo=8,cr=10,So=47,mt=92,pl=9,Ql=32,lr=34,Et=61,Cl=35,Ul=36,Fl=37,Br=39,gr=40,xt=41,ml=95,DA=45,El=33,xl=60,yl=62,Hl=64,bl=91,Il=93,vl=61,Sl=123,dr=63,Ll=125,Lo=124,Tl=126,Kl=128,To=65533,Rs=42,Ne=43,Dl=44,Ol=58,Rl=59,yt=46,Ml=0,Nl=8,_l=11,Gl=14,Vl=31,kl=127,re=-1,Ko=48,Do=97,Oo=101,Pl=102,Xl=117,Wl=122,Ro=65,Mo=69,No=70,Jl=85,Yl=90,bA=t=>t>=Ko&&t<=57,jl=t=>t>=55296&&t<=57343,$e=t=>bA(t)||t>=Ro&&t<=No||t>=Do&&t<=Pl,zl=t=>t>=Do&&t<=Wl,Zl=t=>t>=Ro&&t<=Yl,$l=t=>zl(t)||Zl(t),ql=t=>t>=Kl,ur=t=>t===cr||t===pl||t===Ql,fr=t=>$l(t)||ql(t)||t===ml,_o=t=>fr(t)||bA(t)||t===DA,AB=t=>t>=Ml&&t<=Nl||t===_l||t>=Gl&&t<=Vl||t===kl,Ee=(t,A)=>t!==mt?!1:A!==cr,wr=(t,A,e)=>t===DA?fr(A)||Ee(A,e):fr(t)?!0:!!(t===mt&&Ee(t,A)),Ms=(t,A,e)=>t===Ne||t===DA?bA(A)?!0:A===yt&&bA(e):bA(t===yt?A:t),eB=t=>{let A=0,e=1;(t[A]===Ne||t[A]===DA)&&(t[A]===DA&&(e=-1),A++);const r=[];for(;bA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(BA(...r),10):0;t[A]===yt&&A++;const n=[];for(;bA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(BA(...n),10):0;(t[A]===Mo||t[A]===Oo)&&A++;let a=1;(t[A]===Ne||t[A]===DA)&&(t[A]===DA&&(a=-1),A++);const l=[];for(;bA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(BA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},tB={type:2},rB={type:3},sB={type:4},nB={type:13},oB={type:8},iB={type:21},aB={type:9},cB={type:10},lB={type:11},BB={type:12},gB={type:14},hr={type:23},dB={type:1},uB={type:25},fB={type:24},wB={type:26},hB={type:27},pB={type:28},QB={type:29},CB={type:31},Ns={type:32};class Go{constructor(){this._value=[]}write(A){this._value=this._value.concat(qt(A))}read(){const A=[];let e=this.consumeToken();for(;e!==Ns;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case lr:return this.consumeStringToken(lr);case Cl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(_o(e)||Ee(r,s)){const u=wr(e,r,s)?hl:wl;return{type:5,value:this.consumeName(),flags:u}}break;case Ul:if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),nB;break;case Br:return this.consumeStringToken(Br);case gr:return tB;case xt:return rB;case Rs:if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),gB;break;case Ne:if(Ms(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Dl:return sB;case DA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Ms(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(wr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===DA&&i===yl)return this.consumeCodePoint(),this.consumeCodePoint(),fB;break;case yt:if(Ms(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case So:if(this.peekCodePoint(0)===Rs)for(this.consumeCodePoint();;){let u=this.consumeCodePoint();if(u===Rs&&(u=this.consumeCodePoint(),u===So))return this.consumeToken();if(u===re)return this.consumeToken()}break;case Ol:return wB;case Rl:return hB;case xl:if(this.peekCodePoint(0)===El&&this.peekCodePoint(1)===DA&&this.peekCodePoint(2)===DA)return this.consumeCodePoint(),this.consumeCodePoint(),uB;break;case Hl:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(wr(a,l,c))return{type:7,value:this.consumeName()};break;case bl:return pB;case mt:if(Ee(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Il:return QB;case vl:if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),oB;break;case Sl:return lB;case Ll:return BB;case Xl:case Jl:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===Ne&&($e(f)||f===dr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Lo:if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),aB;if(this.peekCodePoint(0)===Lo)return this.consumeCodePoint(),iB;break;case Tl:if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),cB;break;case re:return Ns}return ur(A)?(this.consumeWhiteSpace(),CB):bA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):fr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:BA(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(;$e(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===dr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(BA(...A.map(i=>i===dr?Ko:i)),16),o=parseInt(BA(...A.map(i=>i===dr?No:i)),16);return{type:30,start:n,end:o}}const s=parseInt(BA(...A),16);if(this.peekCodePoint(0)===DA&&$e(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;$e(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(BA(...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)===gr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===gr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===re)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===Br||e===lr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===re||this.peekCodePoint(0)===xt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),hr)}for(;;){const r=this.consumeCodePoint();if(r===re||r===xt)return{type:22,value:BA(...A)};if(ur(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===re||this.peekCodePoint(0)===xt?(this.consumeCodePoint(),{type:22,value:BA(...A)}):(this.consumeBadUrlRemnants(),hr);if(r===lr||r===Br||r===gr||AB(r))return this.consumeBadUrlRemnants(),hr;if(r===mt)if(Ee(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),hr;else A.push(r)}}consumeWhiteSpace(){for(;ur(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===xt||A===re)return;Ee(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=BA(...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===re||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===cr)return this._value.splice(0,r),dB;if(s===mt){const n=this._value[r+1];n!==re&&n!==void 0&&(n===cr?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ee(s,n)&&(e+=this.consumeStringSlice(r),e+=BA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=Ze,r=this.peekCodePoint(0);for((r===Ne||r===DA)&&A.push(this.consumeCodePoint());bA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===yt&&bA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=vo;bA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===Mo||r===Oo)&&((s===Ne||s===DA)&&bA(n)||bA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=vo;bA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[eB(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(wr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===Fl?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if($e(A)){let e=BA(A);for(;$e(this.peekCodePoint(0))&&e.length<6;)e+=BA(this.consumeCodePoint());ur(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||jl(r)||r>1114111?To:r}return A===re?To:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(_o(e))A+=BA(e);else if(Ee(e,this.peekCodePoint(0)))A+=BA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class qe{constructor(A){this._tokens=A}static create(A){const e=new Go;return e.write(A),new qe(e.read())}static parseValue(A){return qe.create(A).parseComponentValue()}static parseValues(A){return qe.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||FB(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"?Ns:A}reconsumeToken(A){this._tokens.unshift(A)}}const se=t=>t.type===15,dA=t=>t.type===17,R=t=>t.type===20,UB=t=>t.type===0,Ht=(t,A)=>R(t)&&t.value===A,pr=t=>t.type!==31,mA=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},FB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,aA=(t,A,e)=>Math.min(Math.max(t,A),e),OA=(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=>OA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),_s=t=>OA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),_e=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}),Gs=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}),mB=t=>{const[A,e,r]=_e(xe([t[0],t[1],t[2]]));return[A,e,r,t[3]]},EB=t=>{const[A,e,r]=xe([t[0],t[1],t[2]]);return[aA(Math.round(A*255),0,255),aA(Math.round(e*255),0,255),aA(Math.round(r*255),0,255),t[3]]},ye=t=>t.type===17||t.type===15,J=t=>t.type===16||ye(t),xB=t=>t.type===18&&t.name==="calc",yB=(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:Ze}}catch{return null}return null},Vo=t=>t.length>1?[t[0],t[1]]:[t[0]],uA={type:17,number:0,flags:Ze},Ge={type:16,number:50,flags:Ze},ne={type:16,number:100,flags:Ze},bt=(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(se(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},ko="deg",Po="grad",Xo="rad",Wo="turn",At={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case ko:return Math.PI*A.number/180;case Po:return Math.PI/200*A.number;case Xo:return A.number;case Wo:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Jo=t=>t.type===15&&(t.unit===ko||t.unit===Po||t.unit===Xo||t.unit===Wo),Yo=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[uA,uA];case"to top":case"bottom":return XA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[uA,ne];case"to right":case"left":return XA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ne,ne];case"to bottom":case"top":return XA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ne,uA];case"to left":case"right":return XA(270)}return 0},XA=t=>Math.PI*t/180,He=t=>(255&t)===0,sA=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},Ve=t=>(t[0].type===20?t[0].value:"unknown")==="from",HB=t=>ZA(aA(Math.round(t[0]*255),0,255),aA(Math.round(t[1]*255),0,255),aA(Math.round(t[2]*255),0,255),aA(t[3],0,1)),Vs=([t,A,e,r])=>{const s=_e([t,A,e]);return ZA(aA(Math.round(s[0]*255),0,255),aA(Math.round(s[1]*255),0,255),aA(Math.round(s[2]*255),0,255),r)},It=t=>{const A=xe([t[0],t[1],t[2]]);return Vs([A[0],A[1],A[2],t[3]])},bB=(t,A)=>{if(Ve(A.filter(mA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=Qr(A),o=_e(xe(Fr([e,r,s])));return ZA(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},IB=(t,A)=>{if(Ve(A.filter(mA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=Qr(A),o=_e(xe(Ur([e,r,s])));return ZA(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},vB=(t,A)=>{if(Ve(A.filter(mA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=$o(A),o=_e(xe(Ur(Cr([e,r,s]))));return ZA(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},SB=(t,A)=>{if(Ve(A.filter(mA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=Zo(A),o=_e(xe(Fr(Cr([e,r,s]))));return ZA(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},jo=(t,A)=>{const e=A.filter(mA),[r,s,n,o]=e,i=(r.type===17?XA(r.number):At.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]},zo=(t,A)=>{if(Ve(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=jo(t,A),o=Ai([e,r,s]);return ZA(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},Zo=t=>{const A=t.filter(mA),e=J(A[0])?A[0].number:0,r=J(A[1])?A[1].number:0,s=dA(A[2])||se(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},Qr=t=>{const A=t.filter(mA),e=A[0].type===16?A[0].number/100:dA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:dA(A[1])?A[1].number:0,s=dA(A[2])||se(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},$o=t=>{const A=t.filter(mA),e=A[0].type===16?A[0].number/100:dA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:dA(A[1])?A[1].number:0,s=dA(A[2])||se(A[2])?A[2].number:0,n=typeof A[4]<"u"&&J(A[4])?O(A[4],1):1;return[e,r,s,n]},qo=t=>OA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),ks=t=>OA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Ps=(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),Ai=([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=Ps(s,r,t+1/3),o=Ps(s,r,t),i=Ps(s,r,t-1/3);return[n,o,i]},Cr=([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)]),Ur=t=>{const A=OA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return OA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Fr=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 ks([o[0],o[1],o[2]])},LB=(t,A)=>{const e=A.filter(mA);if(e.length===3){const[r,s,n]=e.map(be),o=Gs([r/255,s/255,n/255]),[i,a,l]=_s([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(be),i=Gs([r/255,s/255,n/255]),[a,l,c]=_s([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},TB=(t,A)=>{const[e,r,s,n]=jo(t,A),o=Gs(Ai([e,r,s])),[i,a,l]=_s([o[0],o[1],o[2]]);return[i,a,l,n]},KB=(t,A)=>{const[e,r,s,n]=Qr(A),[o,i,a]=Fr([e,r,s]);return[o,i,a,n]},DB=(t,A)=>{const[e,r,s,n]=Zo(A),[o,i,a]=Fr(Cr([e,r,s]));return[o,i,a,n]},OB=(t,A)=>{const[e,r,s,n]=$o(A),[o,i,a]=Ur(Cr([e,r,s]));return[o,i,a,n]},RB=(t,A)=>{const[e,r,s,n]=Qr(A),[o,i,a]=Ur([e,r,s]);return[o,i,a,n]},MB=t=>ks([t[0],t[1],t[2]]),ei=t=>t,NB=t=>{const[A,e,r]=qo([t[0],t[2],t[3]]);return[A,e,r,t[3]]},ti=t=>It([t[0],t[1],t[2],t[3]]),_B=t=>{const A=MB([t[0],t[1],t[2]]);return It([A[0],A[1],A[2],t[3]])},GB=t=>OA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),VB=t=>OA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),kB=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}),PB=t=>_e(t),XB=t=>{const A=kB([t[0],t[1],t[2]]);return GB([A[0],A[1],A[2]])},WB=t=>{const[A,e,r]=PB(VB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},JB=t=>{const A=XB([t[0],t[1],t[2]]);return It([A[0],A[1],A[2],t[3]])},YB=t=>OA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),jB=t=>OA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),zB=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]]},ZB=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]]},$B=t=>{const[A,e,r]=ZB(YB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},qB=t=>{const A=xe(jB(zB([t[0],t[1],t[2]])));return Vs([A[0],A[1],A[2],t[3]])},Ag=t=>OA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),eg=t=>OA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),tg=t=>t.map(A=>A<16/512?A/16:A**1.8),rg=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),sg=t=>{const A=tg([t[0],t[1],t[2]]);return ks(Ag([A[0],A[1],A[2]]))},ng=t=>{const[A,e,r]=rg(eg(qo([t[0],t[1],t[2]])));return[A,e,r,t[3]]},og=t=>{const A=sg([t[0],t[1],t[2]]);return It([A[0],A[1],A[2],t[3]])},mr=1.09929682680944,ri=.018053968510807,ig=t=>t.map(function(A){return A<ri*4.5?A/4.5:Math.pow((A+mr-1)/mr,1/.45)}),ag=t=>t.map(function(A){return A>=ri?mr*Math.pow(A,.45)-(mr-1):4.5*A}),cg=t=>OA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),lg=t=>OA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),Bg=t=>{const A=ig([t[0],t[1],t[2]]);return cg([A[0],A[1],A[2]])},gg=t=>{const[A,e,r]=ag(lg([t[0],t[1],t[2]]));return[A,e,r,t[3]]},dg=t=>{const A=Bg([t[0],t[1],t[2]]);return It([A[0],A[1],A[2],t[3]])},Ie={name:"color",parse:(t,A)=>{if(A.type===18){const e=hg[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]=si(A);return ZA(e,r,s,n)}if(A.type===20){const e=oe[A.value.toUpperCase()];if(typeof e<"u")return e}return oe.TRANSPARENT}},si=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]},ni=(t,A)=>{const e=A.filter(mA);if(Ve(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},ug=(t,A)=>{const e=A.filter(mA),r=e[0].type===20?e[0].value:"unknown";if(!Ve(e)){const n=r,o=oi[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=dA(e[1])?e[1].number:0,a=dA(e[2])?e[2].number:0,l=dA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&dA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(p,E)=>{if(dA(E))return E.number;const T=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(R(E)){const K=T(E.value);return p[K]}const m=K=>{const V=K.filter(mA);let q="(";for(const L of V)q+=L.type===18&&L.name==="calc"?m(L.values):dA(L)?L.number:L.type===6||R(L)?L.value:"";return q+=")",q};if(E.type===18){const K=E.values.filter(mA);if(E.name==="calc"){const V=m(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+V)()}}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 oe[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const E=et(t,e[1].value),T=255&E,m=255&E>>8,K=255&E>>16;a=[{type:17,number:255&E>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:m,flags:1},{type:17,number:T>1?T/255:T,flags:1}]}}else if(e[1].type===5){const[p,E,T,m]=si(e[1]);a=[{type:17,number:p,flags:1},{type:17,number:E,flags:1},{type:17,number:T,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=fg[o],c=wg[i],B=oi[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),w=n(u,e[3]),h=n(u,e[4]),F=n(u,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&dA(e[7])?e[7].number:1;if(w===null||h===null||F===null)throw new Error("Invalid relative color in color() function");return B([w,h,F,y])}},oi={srgb:HB,"srgb-linear":Vs,"display-p3":JB,"a98-rgb":qB,"prophoto-rgb":og,xyz:ti,"xyz-d50":_B,"xyz-d65":ti,rec2020:dg},fg={rgb:LB,hsl:TB,lab:KB,lch:DB,oklab:RB,oklch:OB},wg={srgb:mB,"srgb-linear":EB,"display-p3":WB,"a98-rgb":$B,"prophoto-rgb":ng,xyz:ei,"xyz-d50":NB,"xyz-d65":ei,rec2020:gg},hg={hsl:zo,hsla:zo,rgb:ni,rgba:ni,lch:SB,oklch:vB,oklab:IB,lab:bB,color:ug},et=(t,A)=>Ie.parse(t,qe.create(A).parseComponentValue()),oe={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},pg={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})},Qg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Er=(t,A)=>{const e=Ie.parse(t,A[0]),r=A[1];return r&&J(r)?{color:e,stop:r}:{color:e,stop:null}},ii=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=uA),r.stop===null&&(r.stop=ne);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)}))},Cg=(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)},Ug=(t,A,e)=>{const r=typeof t=="number"?t:Cg(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),ai=(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,Fg=(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]=ai(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]=ai(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]},mg=(t,A)=>{let e=XA(180);const r=[];return zA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=Yo(s);return}else if(Jo(i)){e=At.parse(t,i);return}}const o=Er(t,s);r.push(o)}),{angle:e,stops:r,type:1}},xr=(t,A)=>{let e=XA(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=Yo(s);return}else if(Jo(i)){e=(At.parse(t,i)+XA(270))%XA(360);return}}const o=Er(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Eg=(t,A)=>{const e=XA(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:uA,color:B})}else if(c.name==="to"){const B=Ie.parse(t,c.values[0]);r.push({stop:ne,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(mA);if(B.length===2){const f=Ie.parse(t,B[1]),u=B[0];dA(u)&&r.push({stop:{type:16,number:u.number*100,flags:u.flags},color:f})}}}}),s===1?{angle:(e+XA(180))%XA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},ci="closest-side",li="farthest-side",Bi="closest-corner",gi="farthest-corner",di="circle",ui="ellipse",fi="cover",wi="contain",xg=(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(Ge),c;case"top":case"left":return n.push(uA),c;case"right":case"bottom":return n.push(ne),c}else(J(B)||ye(B))&&n.push(B);else if(R(B))switch(B.value){case di:return e=0,!1;case ui:return e=1,!1;case"at":return l=!0,!1;case ci:return r=0,!1;case fi:case li:return r=1,!1;case wi:case Bi:return r=2,!1;case gi: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=Er(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},yr=(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(Ge),!1;case"top":case"left":return n.push(uA),!1;case"right":case"bottom":return n.push(ne),!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 di:return e=0,!1;case ui:return e=1,!1;case wi:case ci:return r=0,!1;case li:return r=1,!1;case Bi:return r=2,!1;case fi:case gi: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=Er(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},yg=t=>t.type===1,Hg=t=>t.type===2,Xs={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=hi[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 bg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!hi[t.name])}const hi={"linear-gradient":mg,"-moz-linear-gradient":xr,"-ms-linear-gradient":xr,"-o-linear-gradient":xr,"-webkit-linear-gradient":xr,"radial-gradient":xg,"-moz-radial-gradient":yr,"-ms-radial-gradient":yr,"-o-radial-gradient":yr,"-webkit-radial-gradient":yr,"-webkit-gradient":Eg},Ig={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=>mA(r)&&bg(r)).map(r=>Xs.parse(t,r))}},vg={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})},Sg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>zA(A).map(e=>e.map(r=>xB(r)?yB(r,0):J(r)?r:null).filter(r=>r!==null)).map(Vo)},Lg={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(Tg)},Tg=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 tt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(tt||(tt={}));const Kg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>zA(A).map(e=>e.filter(Dg))},Dg=t=>R(t)||J(t),Hr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Og=Hr("top"),Rg=Hr("right"),Mg=Hr("bottom"),Ng=Hr("left"),br=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>Vo(e.filter(J))}),_g=br("top-left"),Gg=br("top-right"),Vg=br("bottom-right"),kg=br("bottom-left"),Ir=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}}),Pg=Ir("top"),Xg=Ir("right"),Wg=Ir("bottom"),Jg=Ir("left"),vr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>se(e)?e.number:0}),Yg=vr("top"),jg=vr("right"),zg=vr("bottom"),Zg=vr("left"),Ws={type:0},Js=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":J(A)?A:"closest-side":"closest-side"},pi=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=uA;break;case"right":A=ne;break;case"top":e=uA;break;case"bottom":e=ne;break;case"center":A===null?A=Ge:e===null&&(e=Ge);break}else J(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Ge,cy:e??Ge}},$g=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]??uA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},qg=t=>{const A=t.filter(pr),e=A.findIndex(n=>Ht(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:Js(r),...pi(s)}},Ad=t=>{const A=t.filter(pr),e=A.findIndex(n=>Ht(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:Js(r.slice(0,1)),ry:Js(r.slice(1,2)),...pi(s)}},ed=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}},td=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Ws},rd={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return Ws;if(A.type===18)switch(A.name){case"inset":return $g(A.values);case"circle":return qg(A.values);case"ellipse":return Ad(A.values);case"polygon":return ed(A.values);case"path":return td(A.values)}return Ws}},sd={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},nd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},od={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|id(r.value),0)},id=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},ad={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}},cd={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 Sr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Sr||(Sr={}));const ld={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?Sr.STRICT:Sr.NORMAL},Bd={name:"line-height",initialValue:"normal",prefix:!1,type:4},Qi=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:J(t)?O(t,A):A,gd={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:Xs.parse(t,A)},dd={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Ys={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}}},Lr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),ud=Lr("top"),fd=Lr("right"),wd=Lr("bottom"),hd=Lr("left"),pd={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}})},Qd={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},Tr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),Cd=Tr("top"),Ud=Tr("right"),Fd=Tr("bottom"),md=Tr("left"),Ed={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}}},xd={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}},yd={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&Ht(A[0],"none")?[]:zA(A).map(e=>{const r={color:oe.TRANSPARENT,offsetX:uA,offsetY:uA,blur:uA};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})},Hd={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}},bd={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=Id[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}},Id={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=At.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},Ci={type:16,number:50,flags:Ze},vd=[Ci,Ci],Sd={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(J);return e.length!==2?vd:[e[0],e[1]]}},Ld={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?At.parse(t,A)*180/Math.PI:null},Td={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 vt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(vt||(vt={}));const Kd={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return vt.BREAK_ALL;case"keep-all":return vt.KEEP_ALL;default:return vt.NORMAL}}},Dd={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(dA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Ui={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")}},Od={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>dA(A)?A.number:1},Rd={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Md={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)},Nd={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}}},_d={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 se(A)?A.number:"auto"}},Gd={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":se(A)?A.number:"auto"},Vd={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}'`)}},kd={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Pd={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>dA(A)?A.number:R(A)&&A.value==="bold"?700:400},Xd={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},Wd={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"}}},oA=(t,A)=>(t&A)!==0,Jd={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}},Yd={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(pr);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&dA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},jd={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(pr);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&&dA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},zd={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(se).map(e=>Ui.parse(t,e))},Zd={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(UB);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}},Fi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},$d={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&Ht(A[0],"none")?[]:zA(A).map(e=>{const r={color:255,offsetX:uA,offsetY:uA,blur:uA,spread:uA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];Ht(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})},qd={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}},Au={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},eu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>se(A)?A.number:0},tu={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},ru={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|su(r.value),0)},su=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},nu={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var kA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(kA||(kA={}));const ou={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 kA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return kA.PIXELATED;case"smooth":case"high-quality":return kA.SMOOTH;default:return kA.AUTO}}};class iu{constructor(A,e){this.animationDuration=x(A,zd,e.animationDuration),this.backgroundClip=x(A,pg,e.backgroundClip),this.backgroundColor=x(A,Qg,e.backgroundColor),this.backgroundImage=x(A,Ig,e.backgroundImage),this.backgroundOrigin=x(A,vg,e.backgroundOrigin),this.backgroundPosition=x(A,Sg,e.backgroundPosition),this.backgroundRepeat=x(A,Lg,e.backgroundRepeat),this.backgroundSize=x(A,Kg,e.backgroundSize),this.borderTopColor=x(A,Og,e.borderTopColor),this.borderRightColor=x(A,Rg,e.borderRightColor),this.borderBottomColor=x(A,Mg,e.borderBottomColor),this.borderLeftColor=x(A,Ng,e.borderLeftColor),this.borderTopLeftRadius=x(A,_g,e.borderTopLeftRadius),this.borderTopRightRadius=x(A,Gg,e.borderTopRightRadius),this.borderBottomRightRadius=x(A,Vg,e.borderBottomRightRadius),this.borderBottomLeftRadius=x(A,kg,e.borderBottomLeftRadius),this.borderTopStyle=x(A,Pg,e.borderTopStyle),this.borderRightStyle=x(A,Xg,e.borderRightStyle),this.borderBottomStyle=x(A,Wg,e.borderBottomStyle),this.borderLeftStyle=x(A,Jg,e.borderLeftStyle),this.borderTopWidth=x(A,Yg,e.borderTopWidth),this.borderRightWidth=x(A,jg,e.borderRightWidth),this.borderBottomWidth=x(A,zg,e.borderBottomWidth),this.borderLeftWidth=x(A,Zg,e.borderLeftWidth),this.boxShadow=x(A,$d,e.boxShadow),this.clipPath=x(A,rd,e.clipPath),this.color=x(A,sd,e.color),this.direction=x(A,nd,e.direction),this.display=x(A,od,e.display),this.float=x(A,ad,e.cssFloat),this.fontFamily=x(A,Vd,e.fontFamily),this.fontSize=x(A,kd,e.fontSize),this.fontStyle=x(A,Wd,e.fontStyle),this.fontVariant=x(A,Xd,e.fontVariant),this.fontWeight=x(A,Pd,e.fontWeight),this.letterSpacing=x(A,cd,e.letterSpacing),this.lineBreak=x(A,ld,e.lineBreak),this.lineHeight=x(A,Bd,e.lineHeight),this.listStyleImage=x(A,gd,e.listStyleImage),this.listStylePosition=x(A,dd,e.listStylePosition),this.listStyleType=x(A,Ys,e.listStyleType),this.marginTop=x(A,ud,e.marginTop),this.marginRight=x(A,fd,e.marginRight),this.marginBottom=x(A,wd,e.marginBottom),this.marginLeft=x(A,hd,e.marginLeft),this.opacity=x(A,Od,e.opacity);const r=x(A,pd,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=x(A,Qd,e.overflowWrap),this.paddingTop=x(A,Cd,e.paddingTop),this.paddingRight=x(A,Ud,e.paddingRight),this.paddingBottom=x(A,Fd,e.paddingBottom),this.paddingLeft=x(A,md,e.paddingLeft),this.paintOrder=x(A,qd,e.paintOrder),this.position=x(A,xd,e.position),this.textAlign=x(A,Ed,e.textAlign),this.textDecorationColor=x(A,Rd,e.textDecorationColor??e.color),this.textDecorationLine=x(A,Md,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=x(A,Nd,e.textDecorationStyle),this.textDecorationThickness=x(A,_d,e.textDecorationThickness),this.textUnderlineOffset=x(A,Gd,e.textUnderlineOffset),this.textShadow=x(A,yd,e.textShadow),this.textTransform=x(A,Hd,e.textTransform),this.textOverflow=x(A,nu,e.textOverflow),this.transform=x(A,bd,e.transform),this.transformOrigin=x(A,Sd,e.transformOrigin),this.rotate=x(A,Ld,e.rotate),this.visibility=x(A,Td,e.visibility),this.webkitTextStrokeColor=x(A,Au,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=x(A,eu,e.webkitTextStrokeWidth),this.webkitLineClamp=x(A,tu,e.webkitLineClamp),this.wordBreak=x(A,Kd,e.wordBreak),this.zIndex=x(A,Dd,e.zIndex),this.objectFit=x(A,ru,e.objectFit),this.imageRendering=x(A,ou,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 oA(this.display,4)||oA(this.display,33554432)||oA(this.display,268435456)||oA(this.display,536870912)||oA(this.display,67108864)||oA(this.display,134217728)}}class au{constructor(A,e){this.content=x(A,Jd,e.content),this.quotes=x(A,Zd,e.quotes)}}class mi{constructor(A,e){this.counterIncrement=x(A,Yd,e.counterIncrement),this.counterReset=x(A,jd,e.counterReset)}}const x=(t,A,e)=>{const r=new Go,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new qe(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 At.parse(t,n.parseComponentValue());case"color":return Ie.parse(t,n.parseComponentValue());case"image":return Xs.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return ye(i)?i:uA;case"length-percentage":const a=n.parseComponentValue();return J(a)?a:uA;case"time":return Ui.parse(t,n.parseComponentValue())}break}},fe=t=>t.nodeType===Node.ELEMENT_NODE,Ei=t=>t.nodeType===Node.TEXT_NODE,rt=t=>typeof t.className=="object",St=t=>fe(t)&&typeof t.style<"u"&&!rt(t),cu=t=>t.tagName==="LI",lu=t=>t.tagName==="OL",xi=t=>!rt(t)&&t.tagName.indexOf("-")>0,Bu="data-html2canvas-debug",gu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(Bu)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},js=(t,A)=>{const e=gu(t);return e===1||A===e};class yi{static normalizeElement(A,e){const r={};return St(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){St(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 ie{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,js(e,3))debugger;this.styles=new iu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&St(e)&&(this.originalStyles=yi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=$t(this.context,e),js(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(yi.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 du="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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TQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoF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gAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Hi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lt=typeof Uint8Array>"u"?[]:new Uint8Array(256),Kr=0;Kr<Hi.length;Kr++)Lt[Hi.charCodeAt(Kr)]=Kr;for(var uu=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=Lt[t.charCodeAt(r)],o=Lt[t.charCodeAt(r+1)],i=Lt[t.charCodeAt(r+2)],a=Lt[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},fu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},wu=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},ke=5,zs=11,Zs=2,hu=zs-ke,bi=65536>>ke,pu=1<<ke,$s=pu-1,Qu=1024>>ke,Cu=bi+Qu,Uu=Cu,Fu=32,mu=Uu+Fu,Eu=65536>>zs,xu=1<<hu,yu=xu-1,Ii=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Hu=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},bu=function(t,A){var e=uu(t),r=Array.isArray(e)?wu(e):new Uint32Array(e),s=Array.isArray(e)?fu(e):new Uint16Array(e),n=24,o=Ii(s,n/2,r[4]/2),i=r[5]===2?Ii(s,(n+r[4])/2):Hu(r,Math.ceil((n+r[4])/4));return new Iu(r[0],r[1],r[2],r[3],o,i)},Iu=(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>>ke],e=(e<<Zs)+(A&$s),this.data[e];if(A<=65535)return e=this.index[bi+(A-55296>>ke)],e=(e<<Zs)+(A&$s),this.data[e];if(A<this.highStart)return e=mu-Eu+(A>>zs),e=this.index[e],e+=A>>ke&yu,e=this.index[e],e=(e<<Zs)+(A&$s),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vu=typeof Uint8Array>"u"?[]:new Uint8Array(256),Dr=0;Dr<vi.length;Dr++)vu[vi.charCodeAt(Dr)]=Dr;var Su=1,qs=2,An=3,Si=4,Li=5,Lu=7,Ti=8,en=9,tn=10,Ki=11,Di=12,Oi=13,Ri=14,rn=15,Tu=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},Ku=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},Du=bu(du),WA="×",sn="÷",Ou=function(t){return Du.get(t)},Ru=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===qs&&o===An)return WA;if(n===qs||n===An||n===Si||o===qs||o===An||o===Si)return sn;if(n===Ti&&[Ti,en,Ki,Di].indexOf(o)!==-1||(n===Ki||n===en)&&(o===en||o===tn)||(n===Di||n===tn)&&o===tn||o===Oi||o===Li||o===Lu||n===Su)return WA;if(n===Oi&&o===Ri){for(;s===Li;)s=A[--r];if(s===Ri)return WA}if(n===rn&&o===rn){for(var i=0;s===rn;)i++,s=A[--r];if(i%2===0)return WA}return sn},Mu=function(t){var A=Tu(t),e=A.length,r=0,s=0,n=A.map(Ou);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=WA;r<e&&(o=Ru(A,n,++r))===WA;);if(o!==WA||r===e){var i=Ku.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},Nu=function(t){for(var A=Mu(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const _u=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},Gu=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=qt(r.data).map(a=>BA(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},Vu=()=>typeof new Image().crossOrigin<"u",ku=()=>typeof new XMLHttpRequest().responseType=="string",Pu=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},Mi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Xu=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=nn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Ni(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`,Mi(a)?Ni(nn(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Mi(r.getImageData(0,0,e,e).data))).catch(()=>!1)},nn=(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},Ni=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))}`}),EA={get SUPPORT_RANGE_BOUNDS(){const t=_u(document);return Object.defineProperty(EA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=EA.SUPPORT_RANGE_BOUNDS&&Gu(document);return Object.defineProperty(EA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=Pu(document);return Object.defineProperty(EA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Xu(document):Promise.resolve(!1);return Object.defineProperty(EA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Vu();return Object.defineProperty(EA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=ku();return Object.defineProperty(EA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(EA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(EA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Pe{constructor(A,e){this.text=A,this.bounds=e}}const Wu=(t,A,e,r)=>{const s=ju(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(EA.SUPPORT_RANGE_BOUNDS){const a=_i(r,o,i.length).getClientRects();if(a.length>1){const l=Or(i);let c=0;l.forEach(B=>{n.push(new Pe(B,HA.fromDOMRectList(t,_i(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new Pe(i,HA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new Pe(i,Ju(t,r))),r=a}else EA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},Ju=(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=$t(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return HA.EMPTY},_i=(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},Or=t=>{if(EA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Nu(t)},Yu=(t,A)=>{if(EA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return Zu(t,A)},ju=(t,A)=>A.letterSpacing!==0?Or(t):Yu(t,A),zu=[32,160,4961,65792,65793,4153,4241],Zu=(t,A)=>{const e=fl(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=qt(n);let i="";o.forEach(a=>{zu.indexOf(a)===-1?i+=BA(a):(i.length&&r.push(i),r.push(BA(a)),i="")}),i.length&&r.push(i)}return r};class $u{constructor(A,e,r){this.text=qu(e.data,r.textTransform),this.textBounds=Wu(A,this.text,r,e)}}const qu=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(Af,ef);case 2:return t.toUpperCase();default:return t}},Af=/(^|\s|:|-|\(|\))([a-z])/g,ef=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Gi extends ie{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 Vi extends ie{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class ki extends ie{constructor(A,e){super(A,e);const r=new XMLSerializer,s=$t(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 Pi extends ie{constructor(A,e){super(A,e),this.value=e.value}}class on extends ie{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const tf=[{type:15,flags:0,unit:"px",number:3}],rf=[{type:16,flags:0,number:50}],sf=t=>t.width>t.height?new HA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new HA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,nf=t=>{const A=t.type===af?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},of=t=>t.value.length===0&&!!t.placeholder,Rr="checkbox",Mr="radio",af="password",Xi=707406591,cf=1970632191;class Tt extends ie{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=nf(e),this.isPlaceholder=of(e),(this.type===Rr||this.type===Mr)&&(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=sf(this.bounds)),this.type){case Rr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=tf;break;case Mr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=rf;break}}}class Wi extends ie{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class Ji extends ie{constructor(A,e){super(A,e),this.value=e.value}}class Yi extends ie{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?et(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):oe.TRANSPARENT,n=e.contentWindow.document.body?et(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):oe.TRANSPARENT;this.backgroundColor=He(s)?He(n)?this.styles.backgroundColor:n:s}}catch{}}}const lf=["OL","UL","MENU"],Nr=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,Ei(s)&&s.data.length>0)e.textNodes.push(new $u(t,s,e.styles));else if(fe(s))if(Kt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Nr(t,o,e,r));else{const o=ji(t,s);o.styles.isVisible()&&(Bf(s,o,r)?o.flags|=4:gf(o.styles)&&(o.flags|=2),lf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Nr(t,s.shadowRoot,o,r):!_r(s)&&!Zi(s)&&!Gr(s)&&Nr(t,s,o,r))}},ji=(t,A)=>cn(A)?new Gi(t,A):$i(A)?new Vi(t,A):Zi(A)?new ki(t,A):cu(A)?new Pi(t,A):lu(A)?new on(t,A):df(A)?new Tt(t,A):Gr(A)?new Wi(t,A):_r(A)?new Ji(t,A):Aa(A)?new Yi(t,A,zi):new ie(t,A),zi=(t,A)=>{const e=ji(t,A);return e.flags|=4,Nr(t,A,e,e),e},Bf=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||an(t)&&e.styles.isTransparent(),gf=t=>t.isPositioned()||t.isFloating()?!0:oA(t.display,268435456)||oA(t.display,33554432)||oA(t.display,536870912)||oA(t.display,134217728),df=t=>t.tagName==="INPUT",uf=t=>t.tagName==="HTML",Zi=t=>t.tagName==="svg",an=t=>t.tagName==="BODY",$i=t=>t.tagName==="CANVAS",qi=t=>t.tagName==="VIDEO",cn=t=>t.tagName==="IMG",Aa=t=>t.tagName==="IFRAME",ln=t=>t.tagName==="STYLE",ea=t=>t.tagName==="SCRIPT",_r=t=>t.tagName==="TEXTAREA",Gr=t=>t.tagName==="SELECT",Kt=t=>t.tagName==="SLOT";class ff{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 ta={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"]},ra={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},wf={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},hf={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},st=(t,A,e,r,s,n)=>t<A||t>e?Ot(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,sa=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},gA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(sa(Math.abs(t),n,r,o=>BA(Math.floor(o%n)+A))+s)},Xe=(t,A,e=". ")=>{const r=A.length;return sa(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},nt=1,ve=2,Se=4,Dt=8,we=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Ot(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&&oA(n,nt)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&oA(n,ve)||l===1&&a===1&&oA(n,Se)&&t>100||l===1&&a>1&&oA(n,Dt)?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},na="十百千萬",oa="拾佰仟萬",ia="マイナス",Bn="마이너스",Ot=(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=gA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return Xe(t,"〇一二三四五六七八九",s);case 6:return st(t,1,3999,ta,3,r).toLowerCase();case 7:return st(t,1,3999,ta,3,r);case 8:return gA(t,945,969,!1,r);case 9:return gA(t,97,122,!1,r);case 10:return gA(t,65,90,!1,r);case 11:return gA(t,1632,1641,!0,r);case 12:case 49:return st(t,1,9999,ra,3,r);case 35:return st(t,1,9999,ra,3,r).toLowerCase();case 13:return gA(t,2534,2543,!0,r);case 14:case 30:return gA(t,6112,6121,!0,r);case 15:return Xe(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return Xe(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return we(t,"零一二三四五六七八九",na,"負",s,ve|Se|Dt);case 47:return we(t,"零壹貳參肆伍陸柒捌玖",oa,"負",s,nt|ve|Se|Dt);case 42:return we(t,"零一二三四五六七八九",na,"负",s,ve|Se|Dt);case 41:return we(t,"零壹贰叁肆伍陆柒捌玖",oa,"负",s,nt|ve|Se|Dt);case 26:return we(t,"〇一二三四五六七八九","十百千万",ia,s,0);case 25:return we(t,"零壱弐参四伍六七八九","拾百千万",ia,s,nt|ve|Se);case 31:return we(t,"영일이삼사오육칠팔구","십백천만",Bn,n,nt|ve|Se);case 33:return we(t,"零一二三四五六七八九","十百千萬",Bn,n,0);case 32:return we(t,"零壹貳參四五六七八九","拾百千",Bn,n,nt|ve|Se);case 18:return gA(t,2406,2415,!0,r);case 20:return st(t,1,19999,hf,3,r);case 21:return gA(t,2790,2799,!0,r);case 22:return gA(t,2662,2671,!0,r);case 52:return st(t,1,10999,wf,3,r);case 23:return Xe(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Xe(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return gA(t,3302,3311,!0,r);case 28:return Xe(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return Xe(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return gA(t,3792,3801,!0,r);case 37:return gA(t,6160,6169,!0,r);case 38:return gA(t,4160,4169,!0,r);case 39:return gA(t,2918,2927,!0,r);case 40:return gA(t,1776,1785,!0,r);case 43:return gA(t,3046,3055,!0,r);case 44:return gA(t,3174,3183,!0,r);case 45:return gA(t,3664,3673,!0,r);case 46:return gA(t,3872,3881,!0,r);default:return gA(t,48,57,!0,r)}},gn="data-html2canvas-ignore",pf=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 aa{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new ff,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=pf(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=Qf(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=Ff(r).then(async()=>{this.scrolledElements.forEach(yf),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 Uf(i),typeof f=="function"?Promise.resolve().then(()=>f(i,u)).then(()=>r):r}),l=i.baseURI;i.open();const c=Ef(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,u=f&&f.trustedTypes;let w=u?.getPolicy?.("html2canvas-pro");!w&&u&&(w=u.createPolicy("html2canvas-pro",{createHTML:h=>h})),w?i.write(w.createHTML(c)):i.write(c)}catch{i.write(c)}xf(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return Sf(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if(js(A,2))debugger;if($i(A))return this.createCanvasClone(A);if(qi(A))return this.createVideoClone(A);if(ln(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return cn(e)&&(cn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),xi(e)&&!rt(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,dn(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){(!fe(e)||!ea(e)&&!e.hasAttribute(gn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!fe(e)||!ln(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!fe(A)||!ea(A)&&!A.hasAttribute(gn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!fe(A)||!ln(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(!Kt(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)fe(s)&&Kt(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(!Kt(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)fe(s)&&Kt(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(Ei(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&fe(A)&&(St(A)||rt(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&&St(s)&&(this.clonedReferenceElement=s),an(s)&&If(s,this.options.cspNonce);const a=this.counters.parse(new mi(this.context,n)),l=this.resolvePseudoContent(A,s,o,Rt.BEFORE);xi(A)&&(e=!0),qi(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,Rt.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||rt(A))&&!Aa(A)||e)&&dn(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(_r(A)||Gr(A))&&(_r(s)||Gr(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 mi(this.context,r));const i=new au(this.context,r),a=o.createElement("html2canvaspseudoelement");dn(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(mA);if(B&&R(B)){const u=this.counters.getCounterValue(B.value),w=f&&R(f)?Ys.parse(this.context,f.value):3;a.appendChild(o.createTextNode(Ot(u,w,!1)))}}else if(c.name==="counters"){const[B,f,u]=c.values.filter(mA);if(B&&R(B)){const w=this.counters.getCounterValues(B.value),h=u&&R(u)?Ys.parse(this.context,u.value):3,F=f&&f.type===0?f.value:"",y=w.map(p=>Ot(p,h,!1)).join(F);a.appendChild(o.createTextNode(y))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(Fi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(Fi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${un} ${fn}`;const l=s===Rt.BEFORE?` ${un}`:` ${fn}`;return rt(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Rt;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Rt||(Rt={}));const Qf=(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(gn,"true"),(e||t.body).appendChild(r),r},Cf=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),Uf=t=>Promise.all([].slice.call(t.images,0).map(Cf)),Ff=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)}}),mf=["all","d","content"],dn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);mf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},Ef=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},xf=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},yf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Hf=":before",bf=":after",un="___html2canvas___pseudoelement_before",fn="___html2canvas___pseudoelement_after",ca=`{
|
|
7
|
+
<%s key={someKey} {...props} />`,Y,k,RA,k),Be[k+Y]=!0)}if(k=null,M!==void 0&&(e(M),k=""+M),o(D)&&(e(D.key),k=""+D.key),"key"in D){M={};for(var XA in D)XA!=="key"&&(M[XA]=D[XA])}else M=D;return k&&i(M,typeof C=="function"?C.displayName||C.name||"Unknown":C),l(C,k,M,s(),PA,Ae)}function B(C){f(C)?C._store&&(C._store.validated=1):typeof C=="object"&&C!==null&&C.$$typeof===L&&(C._payload.status==="fulfilled"?f(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function f(C){return typeof C=="object"&&C!==null&&C.$$typeof===w}var u=U,w=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),FA=Symbol.for("react.activity"),wA=Symbol.for("react.client.reference"),fA=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,iA=Array.isArray,q=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(C){return C()}};var jA,LA={},HA=u.react_stack_bottom_frame.bind(u,n)(),lt=q(r(n)),Be={};ft.Fragment=F,ft.jsx=function(C,D,M){var Y=1e4>fA.recentlyCreatedOwnerStacks++;return c(C,D,M,!1,Y?Error("react-stack-top-frame"):HA,Y?q(r(C)):lt)},ft.jsxs=function(C,D,M){var Y=1e4>fA.recentlyCreatedOwnerStacks++;return c(C,D,M,!0,Y?Error("react-stack-top-frame"):HA,Y?q(r(C)):lt)}})()),ft}var Dn;function Ga(){return Dn||(Dn=1,process.env.NODE_ENV==="production"?zt.exports=Na():zt.exports=_a()),zt.exports}var d=Ga(),Zt={exports:{}},qr={};var On;function Va(){if(On)return qr;On=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(),w=r({inst:{value:u,getSnapshot:f}}),h=w[0].inst,F=w[1];return n(function(){h.value=u,h.getSnapshot=f,a(h)&&F({inst:h})},[B,u,f]),s(function(){return a(h)&&F({inst:h}),B(function(){a(h)&&F({inst:h})})},[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 qr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,qr}var As={};var Rn;function ka(){return Rn||(Rn=1,process.env.NODE_ENV!=="production"&&(function(){function t(u,w){return u===w&&(u!==0||1/u===1/w)||u!==u&&w!==w}function A(u,w){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 h=w();if(!B){var F=w();n(h,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}F=o({inst:{value:h,getSnapshot:w}});var H=F[0].inst,p=F[1];return a(function(){H.value=h,H.getSnapshot=w,e(H)&&p({inst:H})},[u,h,w]),i(function(){return e(H)&&p({inst:H}),u(function(){e(H)&&p({inst:H})})},[u]),l(h),h}function e(u){var w=u.getSnapshot;u=u.value;try{var h=w();return!n(u,h)}catch{return!0}}function r(u,w){return w()}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;As.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())})()),As}var Mn;function Pa(){return Mn||(Mn=1,process.env.NODE_ENV==="production"?Zt.exports=Va():Zt.exports=ka()),Zt.exports}var Nn=Pa();const _n=0,Gn=1,Vn=2,kn=3;var Pn=Object.prototype.hasOwnProperty;function es(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--&&es(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(Pn.call(t,e)&&++r&&!Pn.call(A,e)||!(e in A)||!es(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const de=new WeakMap,ue=()=>{},bA=ue(),ts=Object,_=t=>t===bA,se=t=>typeof t=="function",Fe=(t,A)=>({...t,...A}),Xn=t=>se(t.then),rs={},$t={},ss="undefined",wt=typeof window!=ss,ns=typeof document!=ss,Xa=wt&&"Deno"in window,Wa=()=>wt&&typeof window.requestAnimationFrame!=ss,Wn=(t,A)=>{const e=de.get(t);return[()=>!_(A)&&t.get(A)||rs,r=>{if(!_(A)){const s=t.get(A);A in $t||($t[A]=s),e[5](A,Fe(s,r),s||rs)}},e[6],()=>!_(A)&&A in $t?$t[A]:!_(A)&&t.get(A)||rs]};let os=!0;const Ja=()=>os,[is,as]=wt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ue,ue],Ya=()=>{const t=ns&&document.visibilityState;return _(t)||t!=="hidden"},ja=t=>(ns&&document.addEventListener("visibilitychange",t),is("focus",t),()=>{ns&&document.removeEventListener("visibilitychange",t),as("focus",t)}),za=t=>{const A=()=>{os=!0,t()},e=()=>{os=!1};return is("online",A),is("offline",e),()=>{as("online",A),as("offline",e)}},Za={isOnline:Ja,isVisible:Ya},$a={initFocus:ja,initReconnect:za},Jn=!U.useId,je=!wt||Xa,qa=t=>Wa()?window.requestAnimationFrame(t):setTimeout(t,1),cs=je?U.useEffect:U.useLayoutEffect,ls=typeof navigator<"u"&&navigator.connection,Yn=!je&&ls&&(["slow-2g","2g"].includes(ls.effectiveType)||ls.saveData),qt=new WeakMap,Ac=t=>ts.prototype.toString.call(t),Bs=(t,A)=>t===`[object ${A}]`;let ec=0;const gs=t=>{const A=typeof t,e=Ac(t),r=Bs(e,"Date"),s=Bs(e,"RegExp"),n=Bs(e,"Object");let o,i;if(ts(t)===t&&!r&&!s){if(o=qt.get(t),o)return o;if(o=++ec+"~",qt.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=gs(t[i])+",";qt.set(t,o)}if(n){o="#";const a=ts.keys(t).sort();for(;!_(i=a.pop());)_(t[i])||(o+=i+":"+gs(t[i])+",");qt.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},ds=t=>{if(se(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?gs(t):"",[t,A]};let tc=0;const us=()=>++tc;async function jn(...t){const[A,e,r,s]=t,n=Fe({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=[],w=A.keys();for(const h of w)!/^\$(inf|sub)\$/.test(h)&&f(A.get(h)._k)&&u.push(h);return Promise.all(u.map(B))}return B(e);async function B(f){const[u]=ds(f);if(!u)return;const[w,h]=Wn(A,u),[F,H,p,E]=de.get(A),T=()=>{const iA=F[u];return(se(n.revalidate)?n.revalidate(w().data,f):n.revalidate!==!1)&&(delete p[u],delete E[u],iA&&iA[0])?iA[0](Vn).then(()=>w().data):w().data};if(t.length<3)return T();let m=r,K,V=!1;const Z=us();H[u]=[Z,0];const L=!_(a),FA=w(),wA=FA.data,fA=FA._c,$=_(fA)?wA:fA;if(L&&(a=se(a)?a($,wA):a,h({data:a,_c:$})),se(m))try{m=m($)}catch(iA){K=iA,V=!0}if(m&&Xn(m))if(m=await m.catch(iA=>{K=iA,V=!0}),Z!==H[u][0]){if(V)throw K;return m}else V&&L&&l(K)&&(o=!0,h({data:$,_c:bA}));if(o&&!V)if(se(o)){const iA=o(m,$);h({data:iA,error:bA,_c:bA})}else h({data:m,error:bA,_c:bA});if(H[u][1]=us(),Promise.resolve(T()).then(()=>{h({_c:bA})}),V){if(c)throw K;return}return m}}const zn=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},rc=(t,A)=>{if(!de.has(t)){const e=Fe($a,A),r=Object.create(null),s=jn.bind(bA,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 w of u)w(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(bA,zn.bind(bA,r,_n))),B=e.initReconnect(setTimeout.bind(bA,zn.bind(bA,r,Gn)));n=()=>{c&&c(),B&&B(),de.delete(t)}}};return l(),[t,s,l,n]}return[t,de.get(t)[4]]},sc=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!_(n)&&o>n||setTimeout(r,i,s)},nc=es,[Zn,oc]=rc(new Map),ic=Fe({onLoadingSlow:ue,onSuccess:ue,onError:ue,onErrorRetry:sc,onDiscarded:ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Yn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Yn?5e3:3e3,compare:nc,isPaused:()=>!1,cache:Zn,mutate:oc,fallback:{}},Za),ac=(t,A)=>{const e=Fe(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=Fe(s,o))}return e},cc=U.createContext({}),lc="$inf$",$n=wt&&window.__SWR_DEVTOOLS_USE__,Bc=$n?window.__SWR_DEVTOOLS_USE__:[],gc=()=>{$n&&(window.__SWR_DEVTOOLS_REACT__=U)},dc=t=>se(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],uc=()=>{const t=U.useContext(cc);return U.useMemo(()=>Fe(ic,t),[t])},fc=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=ds(A),[,,,i]=de.get(Zn);if(o.startsWith(lc))return e(...n);const a=i[o];return _(a)?e(...n):(delete i[o],a)}),r),wc=Bc.concat(fc),hc=t=>function(...e){const r=uc(),[s,n,o]=dc(e),i=ac(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(wc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},pc=(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())}};gc();const fs=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}}),ws={dedupe:!0},qn=Promise.resolve(bA),Qc=()=>ue,Ao=hc((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,[w,h,F,H]=de.get(r),[p,E]=ds(t),T=U.useRef(!1),m=U.useRef(!1),K=U.useRef(p),V=U.useRef(A),Z=U.useRef(e),L=()=>Z.current,FA=()=>L().isVisible()&&L().isOnline(),[wA,fA,$,iA]=Wn(r,p),q=U.useRef({}).current,jA=_(o)?_(e.fallback)?bA:e.fallback[p]:o,LA=(j,sA)=>{for(const cA in q){const AA=cA;if(AA==="data"){if(!s(j[AA],sA[AA])&&(!_(j[AA])||!s(Ae,sA[AA])))return!1}else if(sA[AA]!==j[AA])return!1}return!0},HA=!T.current,lt=U.useMemo(()=>{const j=wA(),sA=iA(),cA=eA=>{const MA=Fe(eA);return delete MA._k,(()=>{if(!p||!A||L().isPaused())return!1;if(HA&&!_(i))return i;const lA=_(jA)?MA.data:jA;return _(lA)||a})()?{isValidating:!0,isLoading:!0,...MA}:MA},AA=cA(j),mA=j===sA?AA:cA(sA);let hA=AA;return[()=>{const eA=cA(wA());return LA(eA,hA)?(hA.data=eA.data,hA.isLoading=eA.isLoading,hA.isValidating=eA.isValidating,hA.error=eA.error,hA):(hA=eA,eA)},()=>mA]},[r,p]),Be=Nn.useSyncExternalStore(U.useCallback(j=>$(p,(sA,cA)=>{LA(cA,sA)||j()}),[r,p]),lt[0],lt[1]),C=w[p]&&w[p].length>0,D=Be.data,M=_(D)?jA&&Xn(jA)?fs(jA):jA:D,Y=Be.error,PA=U.useRef(M),Ae=f?_(D)?_(PA.current)?M:PA.current:D:M,k=p&&_(M),RA=U.useRef(null);!je&&Nn.useSyncExternalStore(Qc,()=>(RA.current=!1,RA),()=>(RA.current=!0,RA));const XA=RA.current;u&&XA&&!n&&k&&console.warn(`Missing pre-initiated data for serialized key "${p}" 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 Qe=!p||!A||L().isPaused()||C&&!_(Y)?!1:HA&&!_(i)?i:n?_(M)?!1:a:_(M)||a,rA=HA&&Qe,Bt=_(Be.isValidating)?rA:Be.isValidating,xn=_(Be.isLoading)?rA:Be.isLoading,ee=U.useCallback(async j=>{const sA=V.current;if(!p||!sA||m.current||L().isPaused())return!1;let cA,AA,mA=!0;const hA=j||{},eA=!F[p]||!hA.dedupe,MA=()=>Jn?!m.current&&p===K.current&&T.current:p===K.current,Ke={isValidating:!1,isLoading:!1},lA=()=>{fA(Ke)},We=()=>{const pA=F[p];pA&&pA[1]===AA&&delete F[p]},Xt={isValidating:!0};_(wA().data)&&(Xt.isLoading=!0);try{if(eA&&(fA(Xt),e.loadingTimeout&&_(wA().data)&&setTimeout(()=>{mA&&MA()&&L().onLoadingSlow(p,e)},e.loadingTimeout),F[p]=[sA(E),us()]),[cA,AA]=F[p],cA=await cA,eA&&setTimeout(We,e.dedupingInterval),!F[p]||F[p][1]!==AA)return eA&&MA()&&L().onDiscarded(p),!1;Ke.error=bA;const pA=h[p];if(!_(pA)&&(AA<=pA[0]||AA<=pA[1]||pA[1]===0))return lA(),eA&&MA()&&L().onDiscarded(p),!1;const te=wA().data;Ke.data=s(te,cA)?te:cA,eA&&MA()&&L().onSuccess(cA,p,e)}catch(pA){We();const te=L(),{shouldRetryOnError:Je}=te;te.isPaused()||(Ke.error=pA,eA&&MA()&&(te.onError(pA,p,te),(Je===!0||se(Je)&&Je(pA))&&(!L().revalidateOnFocus||!L().revalidateOnReconnect||FA())&&te.onErrorRetry(pA,p,te,De=>{const Wt=w[p];Wt&&Wt[0]&&Wt[0](kn,De)},{retryCount:(hA.retryCount||0)+1,dedupe:!0})))}return mA=!1,lA(),!0},[p,r]),Pt=U.useCallback((...j)=>jn(r,K.current,...j),[]);if(cs(()=>{V.current=A,Z.current=e,_(D)||(PA.current=D)}),cs(()=>{if(!p)return;const j=ee.bind(bA,ws);let sA=0;L().revalidateOnFocus&&(sA=Date.now()+L().focusThrottleInterval);const AA=pc(p,w,(mA,hA={})=>{if(mA==_n){const eA=Date.now();L().revalidateOnFocus&&eA>sA&&FA()&&(sA=eA+L().focusThrottleInterval,j())}else if(mA==Gn)L().revalidateOnReconnect&&FA()&&j();else{if(mA==Vn)return ee();if(mA==kn)return ee(hA)}});return m.current=!1,K.current=p,T.current=!0,fA({_k:E}),Qe&&(F[p]||(_(M)||je?j():qa(j))),()=>{m.current=!0,AA()}},[p]),cs(()=>{let j;function sA(){const AA=se(l)?l(wA().data):l;AA&&j!==-1&&(j=setTimeout(cA,AA))}function cA(){!wA().error&&(c||L().isVisible())&&(B||L().isOnline())?ee(ws).then(sA):sA()}return sA(),()=>{j&&(clearTimeout(j),j=-1)}},[l,c,B,p]),U.useDebugValue(Ae),n){if(!Jn&&je&&k)throw new Error("Fallback data is required when using Suspense in SSR.");k&&(V.current=A,Z.current=e,m.current=!1);const j=H[p],sA=!_(j)&&k?Pt(j):qn;if(fs(sA),!_(Y)&&k)throw Y;const cA=k?ee(ws):qn;!_(Ae)&&k&&(cA.status="fulfilled",cA.value=!0),fs(cA)}return{mutate:Pt,get data(){return q.data=!0,Ae},get error(){return q.error=!0,Y},get isValidating(){return q.isValidating=!0,Bt},get isLoading(){return q.isLoading=!0,xn}}}),Cc=({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)}},[]),d.jsx("div",{"data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&Ma.createPortal(t,e)})};const eo=(...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 to=t=>{const A=Fc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var mc={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 Ec=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const xc=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,...mc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:eo("lucide",s),...!n&&!Ec(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>U.createElement(l,c)),...Array.isArray(n)?n:[n]]));const EA=(t,A)=>{const e=U.forwardRef(({className:r,...s},n)=>U.createElement(xc,{ref:n,iconNode:A,className:eo(`lucide-${Uc(to(t))}`,`lucide-${t}`,r),...s}));return e.displayName=to(t),e};const hs=EA("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 yc=EA("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 me=EA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const ro=EA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const so=EA("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 Hc=EA("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 bc=EA("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 no=EA("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 oo=EA("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 Ic=EA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Ar=EA("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 vc=EA("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 Sc=EA("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 Lc=EA("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 io=EA("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 ao=EA("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 ps=EA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Tc={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",login:"Login with Google",authenticating:"Authenticating..."},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",login:"Iniciar sesión con Google",authenticating:"Autenticando..."}},co=U.createContext(void 0),lo=()=>{const t=U.useContext(co);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Qs="viewgate_enabled",Kc=()=>typeof window>"u"?!1:new URLSearchParams(window.location.search).has("viewgate")?(sessionStorage.setItem(Qs,"true"),!0):sessionStorage.getItem(Qs)==="true",Dc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app",dashboardUrl:s})=>{const n=s||(r==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":r?.replace("/api","")||r),[o,i]=U.useState(!1),[a,l]=U.useState([]);U.useEffect(()=>{i(Kc())},[]);const c=()=>{if(sessionStorage.removeItem(Qs),i(!1),typeof window<"u"){const u=new URL(window.location.href);u.searchParams.delete("viewgate"),window.history.replaceState({},"",u.toString())}},B=(u,w)=>{const h=Date.now();l(F=>[...F,{id:h,message:u,type:w}]),setTimeout(()=>{l(F=>F.filter(H=>H.id!==h))},4e3)},f=Tc[A];return d.jsxs(co.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:275",value:{addToast:B,language:A,t:f,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:c,hasActiveToasts:a.length>0},children:[t,o&&d.jsx(Cc,{"data-source-path":"/src/components/ViewGateProvider.tsx:287",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:288",className:"vg-container",children:[d.jsx(va,{"data-source-path":"/src/components/ViewGateProvider.tsx:289"}),d.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:290",className:"vg-toasts",style:{zIndex:2147483647},children:a.map(u=>d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:292",className:`vg-toast vg-animate-slide ${u.type}`,children:[u.type==="success"?d.jsx(me,{"data-source-path":"/src/components/ViewGateProvider.tsx:294",size:24,color:"#22c55e"}):d.jsx(yc,{"data-source-path":"/src/components/ViewGateProvider.tsx:296",size:24,color:"#ef4444"}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:298",children:[d.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:299",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:u.type==="success"?f.successHeader:f.errorHeader}),d.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:302",style:{fontSize:"14px",color:"#000000"},children:u.message})]})]},u.id))})]})})]})};class IA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new IA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new IA(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 IA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):IA.EMPTY}}IA.EMPTY=new IA(0,0,0,0);const er=(t,A)=>IA.fromClientRect(t,A.getBoundingClientRect()),Oc=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 IA(0,0,r,s)};for(var tr=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},BA=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},Bo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rc=typeof Uint8Array>"u"?[]:new Uint8Array(256),rr=0;rr<Bo.length;rr++)Rc[Bo.charCodeAt(rr)]=rr;for(var go="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ht=typeof Uint8Array>"u"?[]:new Uint8Array(256),sr=0;sr<go.length;sr++)ht[go.charCodeAt(sr)]=sr;for(var Mc=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=ht[t.charCodeAt(r)],o=ht[t.charCodeAt(r+1)],i=ht[t.charCodeAt(r+2)],a=ht[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},Nc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},_c=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},Re=5,Cs=11,Us=2,Gc=Cs-Re,uo=65536>>Re,Vc=1<<Re,Fs=Vc-1,kc=1024>>Re,Pc=uo+kc,Xc=Pc,Wc=32,Jc=Xc+Wc,Yc=65536>>Cs,jc=1<<Gc,zc=jc-1,fo=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Zc=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},$c=function(t,A){var e=Mc(t),r=Array.isArray(e)?_c(e):new Uint32Array(e),s=Array.isArray(e)?Nc(e):new Uint16Array(e),n=24,o=fo(s,n/2,r[4]/2),i=r[5]===2?fo(s,(n+r[4])/2):Zc(r,Math.ceil((n+r[4])/4));return new qc(r[0],r[1],r[2],r[3],o,i)},qc=(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>>Re],e=(e<<Us)+(A&Fs),this.data[e];if(A<=65535)return e=this.index[uo+(A-55296>>Re)],e=(e<<Us)+(A&Fs),this.data[e];if(A<this.highStart)return e=Jc-Yc+(A>>Cs),e=this.index[e],e+=A>>Re&zc,e=this.index[e],e=(e<<Us)+(A&Fs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz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YABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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CIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2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UAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAF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AA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXAB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AQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVA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AAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AH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AKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQ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AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ho=50,tl=1,po=2,Qo=3,rl=4,sl=5,Co=7,Uo=8,Fo=9,Ee=10,ms=11,mo=12,Es=13,nl=14,pt=15,xs=16,or=17,Qt=18,ol=19,Eo=20,ys=21,Ct=22,Hs=23,ze=24,VA=25,Ut=26,Ft=27,Ze=28,il=29,Me=30,al=31,ir=32,ar=33,bs=34,Is=35,vs=36,mt=37,Ss=38,cr=39,lr=40,Ls=41,xo=42,cl=43,ll=[9001,65288],yo="!",G="×",Br="÷",Ts=$c(el),fe=[Me,vs],Ks=[tl,po,Qo,sl],Ho=[Ee,Uo],bo=[Ft,Ut],Bl=Ks.concat(Ho),Io=[Ss,cr,lr,bs,Is],gl=[pt,Es],dl=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=Ts.get(n);if(i>ho?(s.push(!0),i-=ho):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(xs);if(i===rl||i===ms){if(o===0)return r.push(o),e.push(Me);var a=e[o-1];return Bl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(Me))}if(r.push(o),i===al)return e.push(A==="strict"?ys:mt);if(i===xo||i===il)return e.push(Me);if(i===cl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(mt):e.push(Me);e.push(i)}),[r,e,s]},Ds=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!==Ee)break}if(s===Ee)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!==Ee)break}if(i!==Ee)break}return!1},vo=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===Ee)e--;else return r}return 0},ul=function(t,A,e,r,s){if(e[r]===0)return G;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return G;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===po&&c===Qo)return G;if(Ks.indexOf(a)!==-1)return yo;if(Ks.indexOf(c)!==-1||Ho.indexOf(c)!==-1)return G;if(vo(n,A)===Uo)return Br;if(Ts.get(t[n])===ms||(a===ir||a===ar)&&Ts.get(t[i])===ms||a===Co||c===Co||a===Fo||[Ee,Es,pt].indexOf(a)===-1&&c===Fo||[or,Qt,ol,ze,Ze].indexOf(c)!==-1||vo(n,A)===Ct||Ds(Hs,Ct,n,A)||Ds([or,Qt],ys,n,A)||Ds(mo,mo,n,A))return G;if(a===Ee)return Br;if(a===Hs||c===Hs)return G;if(c===xs||a===xs)return Br;if([Es,pt,ys].indexOf(c)!==-1||a===nl||l===vs&&gl.indexOf(a)!==-1||a===Ze&&c===vs||c===Eo||fe.indexOf(c)!==-1&&a===VA||fe.indexOf(a)!==-1&&c===VA||a===Ft&&[mt,ir,ar].indexOf(c)!==-1||[mt,ir,ar].indexOf(a)!==-1&&c===Ut||fe.indexOf(a)!==-1&&bo.indexOf(c)!==-1||bo.indexOf(a)!==-1&&fe.indexOf(c)!==-1||[Ft,Ut].indexOf(a)!==-1&&(c===VA||[Ct,pt].indexOf(c)!==-1&&A[i+1]===VA)||[Ct,pt].indexOf(a)!==-1&&c===VA||a===VA&&[VA,Ze,ze].indexOf(c)!==-1)return G;if([VA,Ze,ze,or,Qt].indexOf(c)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===VA)return G;if([Ze,ze].indexOf(f)!==-1)B--;else break}if([Ft,Ut].indexOf(c)!==-1)for(var B=[or,Qt].indexOf(a)!==-1?o:n;B>=0;){var f=A[B];if(f===VA)return G;if([Ze,ze].indexOf(f)!==-1)B--;else break}if(Ss===a&&[Ss,cr,bs,Is].indexOf(c)!==-1||[cr,bs].indexOf(a)!==-1&&[cr,lr].indexOf(c)!==-1||[lr,Is].indexOf(a)!==-1&&c===lr||Io.indexOf(a)!==-1&&[Eo,Ut].indexOf(c)!==-1||Io.indexOf(c)!==-1&&a===Ft||fe.indexOf(a)!==-1&&fe.indexOf(c)!==-1||a===ze&&fe.indexOf(c)!==-1||fe.concat(VA).indexOf(a)!==-1&&c===Ct&&ll.indexOf(t[i])===-1||fe.concat(VA).indexOf(c)!==-1&&a===Qt)return G;if(a===Ls&&c===Ls){for(var u=e[n],w=1;u>0&&(u--,A[u]===Ls);)w++;if(w%2!==0)return G}return a===ir&&c===ar?G:Br},fl=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=dl(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[VA,Me,xo].indexOf(i)!==-1?mt: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]},wl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===yo,this.start=r,this.end=s}return t.prototype.slice=function(){return BA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),hl=function(t,A){var e=tr(t),r=fl(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=G;l<i&&(c=ul(e,n,s,++l,o))===G;);if(c!==G||l===i){var B=new wl(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const pl=1,Ql=2,$e=4,So=8,gr=10,Lo=47,Et=92,Cl=9,Ul=32,dr=34,xt=61,Fl=35,ml=36,El=37,ur=39,fr=40,yt=41,xl=95,KA=45,yl=33,Hl=60,bl=62,Il=64,vl=91,Sl=93,Ll=61,Tl=123,wr=63,Kl=125,To=124,Dl=126,Ol=128,Ko=65533,Os=42,Ne=43,Rl=44,Ml=58,Nl=59,Ht=46,_l=0,Gl=8,Vl=11,kl=14,Pl=31,Xl=127,ne=-1,Do=48,Oo=97,Ro=101,Wl=102,Jl=117,Yl=122,Mo=65,No=69,_o=70,jl=85,zl=90,vA=t=>t>=Do&&t<=57,Zl=t=>t>=55296&&t<=57343,qe=t=>vA(t)||t>=Mo&&t<=_o||t>=Oo&&t<=Wl,$l=t=>t>=Oo&&t<=Yl,ql=t=>t>=Mo&&t<=zl,AB=t=>$l(t)||ql(t),eB=t=>t>=Ol,hr=t=>t===gr||t===Cl||t===Ul,pr=t=>AB(t)||eB(t)||t===xl,Go=t=>pr(t)||vA(t)||t===KA,tB=t=>t>=_l&&t<=Gl||t===Vl||t>=kl&&t<=Pl||t===Xl,xe=(t,A)=>t!==Et?!1:A!==gr,Qr=(t,A,e)=>t===KA?pr(A)||xe(A,e):pr(t)?!0:!!(t===Et&&xe(t,A)),Rs=(t,A,e)=>t===Ne||t===KA?vA(A)?!0:A===Ht&&vA(e):vA(t===Ht?A:t),rB=t=>{let A=0,e=1;(t[A]===Ne||t[A]===KA)&&(t[A]===KA&&(e=-1),A++);const r=[];for(;vA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(BA(...r),10):0;t[A]===Ht&&A++;const n=[];for(;vA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(BA(...n),10):0;(t[A]===No||t[A]===Ro)&&A++;let a=1;(t[A]===Ne||t[A]===KA)&&(t[A]===KA&&(a=-1),A++);const l=[];for(;vA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(BA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},sB={type:2},nB={type:3},oB={type:4},iB={type:13},aB={type:8},cB={type:21},lB={type:9},BB={type:10},gB={type:11},dB={type:12},uB={type:14},Cr={type:23},fB={type:1},wB={type:25},hB={type:24},pB={type:26},QB={type:27},CB={type:28},UB={type:29},FB={type:31},Ms={type:32};class Vo{constructor(){this._value=[]}write(A){this._value=this._value.concat(tr(A))}read(){const A=[];let e=this.consumeToken();for(;e!==Ms;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case dr:return this.consumeStringToken(dr);case Fl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Go(e)||xe(r,s)){const u=Qr(e,r,s)?Ql:pl;return{type:5,value:this.consumeName(),flags:u}}break;case ml:if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),iB;break;case ur:return this.consumeStringToken(ur);case fr:return sB;case yt:return nB;case Os:if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),uB;break;case Ne:if(Rs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Rl:return oB;case KA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Rs(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Qr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===KA&&i===bl)return this.consumeCodePoint(),this.consumeCodePoint(),hB;break;case Ht:if(Rs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Lo:if(this.peekCodePoint(0)===Os)for(this.consumeCodePoint();;){let u=this.consumeCodePoint();if(u===Os&&(u=this.consumeCodePoint(),u===Lo))return this.consumeToken();if(u===ne)return this.consumeToken()}break;case Ml:return pB;case Nl:return QB;case Hl:if(this.peekCodePoint(0)===yl&&this.peekCodePoint(1)===KA&&this.peekCodePoint(2)===KA)return this.consumeCodePoint(),this.consumeCodePoint(),wB;break;case Il:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(Qr(a,l,c))return{type:7,value:this.consumeName()};break;case vl:return CB;case Et:if(xe(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Sl:return UB;case Ll:if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),aB;break;case Tl:return gB;case Kl:return dB;case Jl:case jl:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===Ne&&(qe(f)||f===wr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case To:if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),lB;if(this.peekCodePoint(0)===To)return this.consumeCodePoint(),cB;break;case Dl:if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),BB;break;case ne:return Ms}return hr(A)?(this.consumeWhiteSpace(),FB):vA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):pr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:BA(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===wr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(BA(...A.map(i=>i===wr?Do:i)),16),o=parseInt(BA(...A.map(i=>i===wr?_o:i)),16);return{type:30,start:n,end:o}}const s=parseInt(BA(...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(BA(...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)===fr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===fr?(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===ur||e===dr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===yt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Cr)}for(;;){const r=this.consumeCodePoint();if(r===ne||r===yt)return{type:22,value:BA(...A)};if(hr(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ne||this.peekCodePoint(0)===yt?(this.consumeCodePoint(),{type:22,value:BA(...A)}):(this.consumeBadUrlRemnants(),Cr);if(r===dr||r===ur||r===fr||tB(r))return this.consumeBadUrlRemnants(),Cr;if(r===Et)if(xe(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Cr;else A.push(r)}}consumeWhiteSpace(){for(;hr(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===yt||A===ne)return;xe(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=BA(...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===gr)return this._value.splice(0,r),fB;if(s===Et){const n=this._value[r+1];n!==ne&&n!==void 0&&(n===gr?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):xe(s,n)&&(e+=this.consumeStringSlice(r),e+=BA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=$e,r=this.peekCodePoint(0);for((r===Ne||r===KA)&&A.push(this.consumeCodePoint());vA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===Ht&&vA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=So;vA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===No||r===Ro)&&((s===Ne||s===KA)&&vA(n)||vA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=So;vA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[rB(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Qr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===El?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(qe(A)){let e=BA(A);for(;qe(this.peekCodePoint(0))&&e.length<6;)e+=BA(this.consumeCodePoint());hr(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||Zl(r)||r>1114111?Ko:r}return A===ne?Ko:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Go(e))A+=BA(e);else if(xe(e,this.peekCodePoint(0)))A+=BA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class At{constructor(A){this._tokens=A}static create(A){const e=new Vo;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||EB(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"?Ms:A}reconsumeToken(A){this._tokens.unshift(A)}}const oe=t=>t.type===15,dA=t=>t.type===17,R=t=>t.type===20,mB=t=>t.type===0,bt=(t,A)=>R(t)&&t.value===A,Ur=t=>t.type!==31,xA=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},EB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,aA=(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]],ye=t=>DA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),Ns=t=>DA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),_e=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}),_s=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}),xB=t=>{const[A,e,r]=_e(ye([t[0],t[1],t[2]]));return[A,e,r,t[3]]},yB=t=>{const[A,e,r]=ye([t[0],t[1],t[2]]);return[aA(Math.round(A*255),0,255),aA(Math.round(e*255),0,255),aA(Math.round(r*255),0,255),t[3]]},He=t=>t.type===17||t.type===15,J=t=>t.type===16||He(t),HB=t=>t.type===18&&t.name==="calc",bB=(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},ko=t=>t.length>1?[t[0],t[1]]:[t[0]],uA={type:17,number:0,flags:$e},Ge={type:16,number:50,flags:$e},ie={type:16,number:100,flags:$e},It=(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},Po="deg",Xo="grad",Wo="rad",Jo="turn",et={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Po:return Math.PI*A.number/180;case Xo:return Math.PI/200*A.number;case Wo:return A.number;case Jo:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Yo=t=>t.type===15&&(t.unit===Po||t.unit===Xo||t.unit===Wo||t.unit===Jo),jo=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[uA,uA];case"to top":case"bottom":return WA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[uA,ie];case"to right":case"left":return WA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ie,ie];case"to bottom":case"top":return WA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ie,uA];case"to left":case"right":return WA(270)}return 0},WA=t=>Math.PI*t/180,be=t=>(255&t)===0,tA=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})`},$A=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,Ie=(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},Ve=t=>(t[0].type===20?t[0].value:"unknown")==="from",IB=t=>$A(aA(Math.round(t[0]*255),0,255),aA(Math.round(t[1]*255),0,255),aA(Math.round(t[2]*255),0,255),aA(t[3],0,1)),Gs=([t,A,e,r])=>{const s=_e([t,A,e]);return $A(aA(Math.round(s[0]*255),0,255),aA(Math.round(s[1]*255),0,255),aA(Math.round(s[2]*255),0,255),r)},vt=t=>{const A=ye([t[0],t[1],t[2]]);return Gs([A[0],A[1],A[2],t[3]])},vB=(t,A)=>{if(Ve(A.filter(xA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=Fr(A),o=_e(ye(xr([e,r,s])));return $A(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},SB=(t,A)=>{if(Ve(A.filter(xA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=Fr(A),o=_e(ye(Er([e,r,s])));return $A(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},LB=(t,A)=>{if(Ve(A.filter(xA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=qo(A),o=_e(ye(Er(mr([e,r,s]))));return $A(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},TB=(t,A)=>{if(Ve(A.filter(xA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=$o(A),o=_e(ye(xr(mr([e,r,s]))));return $A(aA(Math.round(o[0]*255),0,255),aA(Math.round(o[1]*255),0,255),aA(Math.round(o[2]*255),0,255),n)},zo=(t,A)=>{const e=A.filter(xA),[r,s,n,o]=e,i=(r.type===17?WA(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]},Zo=(t,A)=>{if(Ve(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=zo(t,A),o=ei([e,r,s]);return $A(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},$o=t=>{const A=t.filter(xA),e=J(A[0])?A[0].number:0,r=J(A[1])?A[1].number:0,s=dA(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]},Fr=t=>{const A=t.filter(xA),e=A[0].type===16?A[0].number/100:dA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:dA(A[1])?A[1].number:0,s=dA(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]},qo=t=>{const A=t.filter(xA),e=A[0].type===16?A[0].number/100:dA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:dA(A[1])?A[1].number:0,s=dA(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]},Ai=t=>DA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Vs=t=>DA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),ks=(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),ei=([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=ks(s,r,t+1/3),o=ks(s,r,t),i=ks(s,r,t-1/3);return[n,o,i]},mr=([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)]),Er=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)},xr=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 Vs([o[0],o[1],o[2]])},KB=(t,A)=>{const e=A.filter(xA);if(e.length===3){const[r,s,n]=e.map(Ie),o=_s([r/255,s/255,n/255]),[i,a,l]=Ns([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(Ie),i=_s([r/255,s/255,n/255]),[a,l,c]=Ns([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},DB=(t,A)=>{const[e,r,s,n]=zo(t,A),o=_s(ei([e,r,s])),[i,a,l]=Ns([o[0],o[1],o[2]]);return[i,a,l,n]},OB=(t,A)=>{const[e,r,s,n]=Fr(A),[o,i,a]=xr([e,r,s]);return[o,i,a,n]},RB=(t,A)=>{const[e,r,s,n]=$o(A),[o,i,a]=xr(mr([e,r,s]));return[o,i,a,n]},MB=(t,A)=>{const[e,r,s,n]=qo(A),[o,i,a]=Er(mr([e,r,s]));return[o,i,a,n]},NB=(t,A)=>{const[e,r,s,n]=Fr(A),[o,i,a]=Er([e,r,s]);return[o,i,a,n]},_B=t=>Vs([t[0],t[1],t[2]]),ti=t=>t,GB=t=>{const[A,e,r]=Ai([t[0],t[2],t[3]]);return[A,e,r,t[3]]},ri=t=>vt([t[0],t[1],t[2],t[3]]),VB=t=>{const A=_B([t[0],t[1],t[2]]);return vt([A[0],A[1],A[2],t[3]])},kB=t=>DA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),PB=t=>DA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),XB=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}),WB=t=>_e(t),JB=t=>{const A=XB([t[0],t[1],t[2]]);return kB([A[0],A[1],A[2]])},YB=t=>{const[A,e,r]=WB(PB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},jB=t=>{const A=JB([t[0],t[1],t[2]]);return vt([A[0],A[1],A[2],t[3]])},zB=t=>DA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),ZB=t=>DA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),$B=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]]},qB=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]]},Ag=t=>{const[A,e,r]=qB(zB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},eg=t=>{const A=ye(ZB($B([t[0],t[1],t[2]])));return Gs([A[0],A[1],A[2],t[3]])},tg=t=>DA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),rg=t=>DA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),sg=t=>t.map(A=>A<16/512?A/16:A**1.8),ng=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),og=t=>{const A=sg([t[0],t[1],t[2]]);return Vs(tg([A[0],A[1],A[2]]))},ig=t=>{const[A,e,r]=ng(rg(Ai([t[0],t[1],t[2]])));return[A,e,r,t[3]]},ag=t=>{const A=og([t[0],t[1],t[2]]);return vt([A[0],A[1],A[2],t[3]])},yr=1.09929682680944,si=.018053968510807,cg=t=>t.map(function(A){return A<si*4.5?A/4.5:Math.pow((A+yr-1)/yr,1/.45)}),lg=t=>t.map(function(A){return A>=si?yr*Math.pow(A,.45)-(yr-1):4.5*A}),Bg=t=>DA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),gg=t=>DA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),dg=t=>{const A=cg([t[0],t[1],t[2]]);return Bg([A[0],A[1],A[2]])},ug=t=>{const[A,e,r]=lg(gg([t[0],t[1],t[2]]));return[A,e,r,t[3]]},fg=t=>{const A=dg([t[0],t[1],t[2]]);return vt([A[0],A[1],A[2],t[3]])},ve={name:"color",parse:(t,A)=>{if(A.type===18){const e=Qg[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]=ni(A);return $A(e,r,s,n)}if(A.type===20){const e=ae[A.value.toUpperCase()];if(typeof e<"u")return e}return ae.TRANSPARENT}},ni=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]},oi=(t,A)=>{const e=A.filter(xA);if(Ve(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(Ie);return $A(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(Ie);return $A(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=Ie(e[0],0),s=Ie(e[1],1),n=Ie(e[2],2),o=Ie(e[4],3);return $A(r,s,n,o)}return 0},wg=(t,A)=>{const e=A.filter(xA),r=e[0].type===20?e[0].value:"unknown";if(!Ve(e)){const n=r,o=ii[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=dA(e[1])?e[1].number:0,a=dA(e[2])?e[2].number:0,l=dA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&dA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(p,E)=>{if(dA(E))return E.number;const T=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(R(E)){const K=T(E.value);return p[K]}const m=K=>{const V=K.filter(xA);let Z="(";for(const L of V)Z+=L.type===18&&L.name==="calc"?m(L.values):dA(L)?L.number:L.type===6||R(L)?L.value:"";return Z+=")",Z};if(E.type===18){const K=E.values.filter(xA);if(E.name==="calc"){const V=m(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+V)()}}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 E=tt(t,e[1].value),T=255&E,m=255&E>>8,K=255&E>>16;a=[{type:17,number:255&E>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:m,flags:1},{type:17,number:T>1?T/255:T,flags:1}]}}else if(e[1].type===5){const[p,E,T,m]=ni(e[1]);a=[{type:17,number:p,flags:1},{type:17,number:E,flags:1},{type:17,number:T,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=hg[o],c=pg[i],B=ii[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),w=n(u,e[3]),h=n(u,e[4]),F=n(u,e[5]),H=e.length>6&&e[6].type===6&&e[6].value==="/"&&dA(e[7])?e[7].number:1;if(w===null||h===null||F===null)throw new Error("Invalid relative color in color() function");return B([w,h,F,H])}},ii={srgb:IB,"srgb-linear":Gs,"display-p3":jB,"a98-rgb":eg,"prophoto-rgb":ag,xyz:ri,"xyz-d50":VB,"xyz-d65":ri,rec2020:fg},hg={rgb:KB,hsl:DB,lab:OB,lch:RB,oklab:NB,oklch:MB},pg={srgb:xB,"srgb-linear":yB,"display-p3":YB,"a98-rgb":Ag,"prophoto-rgb":ig,xyz:ti,"xyz-d50":GB,"xyz-d65":ti,rec2020:ug},Qg={hsl:Zo,hsla:Zo,rgb:oi,rgba:oi,lch:TB,oklch:LB,oklab:SB,lab:vB,color:wg},tt=(t,A)=>ve.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},Cg={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"},Hr=(t,A)=>{const e=ve.parse(t,A[0]),r=A[1];return r&&J(r)?{color:e,stop:r}:{color:e,stop:null}},ai=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=uA),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)},mg=(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]},qA=(t,A)=>Math.sqrt(t*t+A*A),ci=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,i)=>{const[a,l]=i,c=qA(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,Eg=(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(qA(A,e),qA(A,e-s),qA(A-r,e),qA(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]=ci(r,s,A,e,!0);n=qA(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(qA(A,e),qA(A,e-s),qA(A-r,e),qA(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]=ci(r,s,A,e,!1);n=qA(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]},xg=(t,A)=>{let e=WA(180);const r=[];return ZA(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=jo(s);return}else if(Yo(i)){e=et.parse(t,i);return}}const o=Hr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},br=(t,A)=>{let e=WA(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=jo(s);return}else if(Yo(i)){e=(et.parse(t,i)+WA(270))%WA(360);return}}const o=Hr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},yg=(t,A)=>{const e=WA(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=ve.parse(t,c.values[0]);r.push({stop:uA,color:B})}else if(c.name==="to"){const B=ve.parse(t,c.values[0]);r.push({stop:ie,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(xA);if(B.length===2){const f=ve.parse(t,B[1]),u=B[0];dA(u)&&r.push({stop:{type:16,number:u.number*100,flags:u.flags},color:f})}}}}),s===1?{angle:(e+WA(180))%WA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},li="closest-side",Bi="farthest-side",gi="closest-corner",di="farthest-corner",ui="circle",fi="ellipse",wi="cover",hi="contain",Hg=(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(Ge),c;case"top":case"left":return n.push(uA),c;case"right":case"bottom":return n.push(ie),c}else(J(B)||He(B))&&n.push(B);else if(R(B))switch(B.value){case ui:return e=0,!1;case fi:return e=1,!1;case"at":return l=!0,!1;case li:return r=0,!1;case wi:case Bi:return r=1,!1;case hi:case gi:return r=2,!1;case di:return r=3,!1}else if(He(B)||J(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},a)}if(a){const l=Hr(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Ir=(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(Ge),!1;case"top":case"left":return n.push(uA),!1;case"right":case"bottom":return n.push(ie),!1}else if(J(c)||He(c))return n.push(c),!1;return l},a):i===1&&(a=o.reduce((l,c)=>{if(R(c))switch(c.value){case ui:return e=0,!1;case fi:return e=1,!1;case hi:case li:return r=0,!1;case Bi:return r=1,!1;case gi:return r=2,!1;case wi:case di:return r=3,!1}else if(He(c)||J(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},a)),a){const l=Hr(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},bg=t=>t.type===1,Ig=t=>t.type===2,Ps={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=pi[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 vg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!pi[t.name])}const pi={"linear-gradient":xg,"-moz-linear-gradient":br,"-ms-linear-gradient":br,"-o-linear-gradient":br,"-webkit-linear-gradient":br,"radial-gradient":Hg,"-moz-radial-gradient":Ir,"-ms-radial-gradient":Ir,"-o-radial-gradient":Ir,"-webkit-radial-gradient":Ir,"-webkit-gradient":yg},Sg={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=>xA(r)&&vg(r)).map(r=>Ps.parse(t,r))}},Lg={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})},Tg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>ZA(A).map(e=>e.map(r=>HB(r)?bB(r,0):J(r)?r:null).filter(r=>r!==null)).map(ko)},Kg={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(Dg)},Dg=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 Og={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>ZA(A).map(e=>e.filter(Rg))},Rg=t=>R(t)||J(t),vr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Mg=vr("top"),Ng=vr("right"),_g=vr("bottom"),Gg=vr("left"),Sr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>ko(e.filter(J))}),Vg=Sr("top-left"),kg=Sr("top-right"),Pg=Sr("bottom-right"),Xg=Sr("bottom-left"),Lr=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}}),Wg=Lr("top"),Jg=Lr("right"),Yg=Lr("bottom"),jg=Lr("left"),Tr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>oe(e)?e.number:0}),zg=Tr("top"),Zg=Tr("right"),$g=Tr("bottom"),qg=Tr("left"),Xs={type:0},Ws=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":J(A)?A:"closest-side":"closest-side"},Qi=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=uA;break;case"right":A=ie;break;case"top":e=uA;break;case"bottom":e=ie;break;case"center":A===null?A=Ge:e===null&&(e=Ge);break}else J(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Ge,cy:e??Ge}},Ad=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]??uA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},ed=t=>{const A=t.filter(Ur),e=A.findIndex(n=>bt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:Ws(r),...Qi(s)}},td=t=>{const A=t.filter(Ur),e=A.findIndex(n=>bt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:Ws(r.slice(0,1)),ry:Ws(r.slice(1,2)),...Qi(s)}},rd=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}},sd=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Xs},nd={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return Xs;if(A.type===18)switch(A.name){case"inset":return Ad(A.values);case"circle":return ed(A.values);case"ellipse":return td(A.values);case"polygon":return rd(A.values);case"path":return sd(A.values)}return Xs}},od={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},id={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},ad={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|cd(r.value),0)},cd=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},ld={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}},Bd={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 Kr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Kr||(Kr={}));const gd={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?Kr.STRICT:Kr.NORMAL},dd={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ci=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:J(t)?O(t,A):A,ud={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:Ps.parse(t,A)},fd={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Js={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}}},Dr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),wd=Dr("top"),hd=Dr("right"),pd=Dr("bottom"),Qd=Dr("left"),Cd={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"},Or=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),Fd=Or("top"),md=Or("right"),Ed=Or("bottom"),xd=Or("left"),yd={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}}},Hd={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}},bd={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&bt(A[0],"none")?[]:ZA(A).map(e=>{const r={color:ae.TRANSPARENT,offsetX:uA,offsetY:uA,blur:uA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];He(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=ve.parse(t,o)}return r})},Id={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}},vd={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=Sd[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}},Sd={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]}},Ui={type:16,number:50,flags:$e},Ld=[Ui,Ui],Td={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(J);return e.length!==2?Ld:[e[0],e[1]]}},Kd={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},Dd={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 St;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(St||(St={}));const Od={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return St.BREAK_ALL;case"keep-all":return St.KEEP_ALL;default:return St.NORMAL}}},Rd={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(dA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Fi={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")}},Md={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>dA(A)?A.number:1},Nd={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_d={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)},Gd={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}}},Vd={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"}},kd={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":oe(A)?A.number:"auto"},Pd={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}'`)}},Xd={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Wd={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>dA(A)?A.number:R(A)&&A.value==="bold"?700:400},Jd={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},Yd={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"}}},oA=(t,A)=>(t&A)!==0,jd={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}},zd={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(Ur);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&dA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},Zd={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(Ur);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&&dA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},$d={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(oe).map(e=>Fi.parse(t,e))},qd={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(mB);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}},mi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},Au={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&bt(A[0],"none")?[]:ZA(A).map(e=>{const r={color:255,offsetX:uA,offsetY:uA,blur:uA,spread:uA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];bt(o,"inset")?r.inset=!0:He(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=ve.parse(t,o)}return r})},eu={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}},tu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ru={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>oe(A)?A.number:0},su={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},nu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|ou(r.value),0)},ou=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},iu={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var kA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(kA||(kA={}));const au={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 kA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return kA.PIXELATED;case"smooth":case"high-quality":return kA.SMOOTH;default:return kA.AUTO}}};class cu{constructor(A,e){this.animationDuration=y(A,$d,e.animationDuration),this.backgroundClip=y(A,Cg,e.backgroundClip),this.backgroundColor=y(A,Ug,e.backgroundColor),this.backgroundImage=y(A,Sg,e.backgroundImage),this.backgroundOrigin=y(A,Lg,e.backgroundOrigin),this.backgroundPosition=y(A,Tg,e.backgroundPosition),this.backgroundRepeat=y(A,Kg,e.backgroundRepeat),this.backgroundSize=y(A,Og,e.backgroundSize),this.borderTopColor=y(A,Mg,e.borderTopColor),this.borderRightColor=y(A,Ng,e.borderRightColor),this.borderBottomColor=y(A,_g,e.borderBottomColor),this.borderLeftColor=y(A,Gg,e.borderLeftColor),this.borderTopLeftRadius=y(A,Vg,e.borderTopLeftRadius),this.borderTopRightRadius=y(A,kg,e.borderTopRightRadius),this.borderBottomRightRadius=y(A,Pg,e.borderBottomRightRadius),this.borderBottomLeftRadius=y(A,Xg,e.borderBottomLeftRadius),this.borderTopStyle=y(A,Wg,e.borderTopStyle),this.borderRightStyle=y(A,Jg,e.borderRightStyle),this.borderBottomStyle=y(A,Yg,e.borderBottomStyle),this.borderLeftStyle=y(A,jg,e.borderLeftStyle),this.borderTopWidth=y(A,zg,e.borderTopWidth),this.borderRightWidth=y(A,Zg,e.borderRightWidth),this.borderBottomWidth=y(A,$g,e.borderBottomWidth),this.borderLeftWidth=y(A,qg,e.borderLeftWidth),this.boxShadow=y(A,Au,e.boxShadow),this.clipPath=y(A,nd,e.clipPath),this.color=y(A,od,e.color),this.direction=y(A,id,e.direction),this.display=y(A,ad,e.display),this.float=y(A,ld,e.cssFloat),this.fontFamily=y(A,Pd,e.fontFamily),this.fontSize=y(A,Xd,e.fontSize),this.fontStyle=y(A,Yd,e.fontStyle),this.fontVariant=y(A,Jd,e.fontVariant),this.fontWeight=y(A,Wd,e.fontWeight),this.letterSpacing=y(A,Bd,e.letterSpacing),this.lineBreak=y(A,gd,e.lineBreak),this.lineHeight=y(A,dd,e.lineHeight),this.listStyleImage=y(A,ud,e.listStyleImage),this.listStylePosition=y(A,fd,e.listStylePosition),this.listStyleType=y(A,Js,e.listStyleType),this.marginTop=y(A,wd,e.marginTop),this.marginRight=y(A,hd,e.marginRight),this.marginBottom=y(A,pd,e.marginBottom),this.marginLeft=y(A,Qd,e.marginLeft),this.opacity=y(A,Md,e.opacity);const r=y(A,Cd,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=y(A,Ud,e.overflowWrap),this.paddingTop=y(A,Fd,e.paddingTop),this.paddingRight=y(A,md,e.paddingRight),this.paddingBottom=y(A,Ed,e.paddingBottom),this.paddingLeft=y(A,xd,e.paddingLeft),this.paintOrder=y(A,eu,e.paintOrder),this.position=y(A,Hd,e.position),this.textAlign=y(A,yd,e.textAlign),this.textDecorationColor=y(A,Nd,e.textDecorationColor??e.color),this.textDecorationLine=y(A,_d,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=y(A,Gd,e.textDecorationStyle),this.textDecorationThickness=y(A,Vd,e.textDecorationThickness),this.textUnderlineOffset=y(A,kd,e.textUnderlineOffset),this.textShadow=y(A,bd,e.textShadow),this.textTransform=y(A,Id,e.textTransform),this.textOverflow=y(A,iu,e.textOverflow),this.transform=y(A,vd,e.transform),this.transformOrigin=y(A,Td,e.transformOrigin),this.rotate=y(A,Kd,e.rotate),this.visibility=y(A,Dd,e.visibility),this.webkitTextStrokeColor=y(A,tu,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=y(A,ru,e.webkitTextStrokeWidth),this.webkitLineClamp=y(A,su,e.webkitLineClamp),this.wordBreak=y(A,Od,e.wordBreak),this.zIndex=y(A,Rd,e.zIndex),this.objectFit=y(A,nu,e.objectFit),this.imageRendering=y(A,au,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return be(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 oA(this.display,4)||oA(this.display,33554432)||oA(this.display,268435456)||oA(this.display,536870912)||oA(this.display,67108864)||oA(this.display,134217728)}}class lu{constructor(A,e){this.content=y(A,jd,e.content),this.quotes=y(A,qd,e.quotes)}}class Ei{constructor(A,e){this.counterIncrement=y(A,zd,e.counterIncrement),this.counterReset=y(A,Zd,e.counterReset)}}const y=(t,A,e)=>{const r=new Vo,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 ve.parse(t,n.parseComponentValue());case"image":return Ps.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return He(i)?i:uA;case"length-percentage":const a=n.parseComponentValue();return J(a)?a:uA;case"time":return Fi.parse(t,n.parseComponentValue())}break}},we=t=>t.nodeType===Node.ELEMENT_NODE,xi=t=>t.nodeType===Node.TEXT_NODE,st=t=>typeof t.className=="object",Lt=t=>we(t)&&typeof t.style<"u"&&!st(t),Bu=t=>t.tagName==="LI",gu=t=>t.tagName==="OL",yi=t=>!st(t)&&t.tagName.indexOf("-")>0,du="data-html2canvas-debug",uu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(du)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ys=(t,A)=>{const e=uu(t);return e===1||A===e};class Hi{static normalizeElement(A,e){const r={};return Lt(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){Lt(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,Ys(e,3))debugger;this.styles=new cu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&Lt(e)&&(this.originalStyles=Hi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=er(this.context,e),Ys(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Hi.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 fu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkF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IAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",bi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Tt=typeof Uint8Array>"u"?[]:new Uint8Array(256),Rr=0;Rr<bi.length;Rr++)Tt[bi.charCodeAt(Rr)]=Rr;for(var wu=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=Tt[t.charCodeAt(r)],o=Tt[t.charCodeAt(r+1)],i=Tt[t.charCodeAt(r+2)],a=Tt[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},hu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},pu=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},ke=5,js=11,zs=2,Qu=js-ke,Ii=65536>>ke,Cu=1<<ke,Zs=Cu-1,Uu=1024>>ke,Fu=Ii+Uu,mu=Fu,Eu=32,xu=mu+Eu,yu=65536>>js,Hu=1<<Qu,bu=Hu-1,vi=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Iu=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},vu=function(t,A){var e=wu(t),r=Array.isArray(e)?pu(e):new Uint32Array(e),s=Array.isArray(e)?hu(e):new Uint16Array(e),n=24,o=vi(s,n/2,r[4]/2),i=r[5]===2?vi(s,(n+r[4])/2):Iu(r,Math.ceil((n+r[4])/4));return new Su(r[0],r[1],r[2],r[3],o,i)},Su=(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>>ke],e=(e<<zs)+(A&Zs),this.data[e];if(A<=65535)return e=this.index[Ii+(A-55296>>ke)],e=(e<<zs)+(A&Zs),this.data[e];if(A<this.highStart)return e=xu-yu+(A>>js),e=this.index[e],e+=A>>ke&bu,e=this.index[e],e=(e<<zs)+(A&Zs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lu=typeof Uint8Array>"u"?[]:new Uint8Array(256),Mr=0;Mr<Si.length;Mr++)Lu[Si.charCodeAt(Mr)]=Mr;var Tu=1,$s=2,qs=3,Li=4,Ti=5,Ku=7,Ki=8,An=9,en=10,Di=11,Oi=12,Ri=13,Mi=14,tn=15,Du=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},Ou=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},Ru=vu(fu),JA="×",rn="÷",Mu=function(t){return Ru.get(t)},Nu=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===$s&&o===qs)return JA;if(n===$s||n===qs||n===Li||o===$s||o===qs||o===Li)return rn;if(n===Ki&&[Ki,An,Di,Oi].indexOf(o)!==-1||(n===Di||n===An)&&(o===An||o===en)||(n===Oi||n===en)&&o===en||o===Ri||o===Ti||o===Ku||n===Tu)return JA;if(n===Ri&&o===Mi){for(;s===Ti;)s=A[--r];if(s===Mi)return JA}if(n===tn&&o===tn){for(var i=0;s===tn;)i++,s=A[--r];if(i%2===0)return JA}return rn},_u=function(t){var A=Du(t),e=A.length,r=0,s=0,n=A.map(Mu);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=JA;r<e&&(o=Nu(A,n,++r))===JA;);if(o!==JA||r===e){var i=Ou.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},Gu=function(t){for(var A=_u(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Vu=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},ku=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=tr(r.data).map(a=>BA(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},Pu=()=>typeof new Image().crossOrigin<"u",Xu=()=>typeof new XMLHttpRequest().responseType=="string",Wu=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},Ni=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Ju=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=sn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),_i(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`,Ni(a)?_i(sn(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Ni(r.getImageData(0,0,e,e).data))).catch(()=>!1)},sn=(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},_i=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))}`}),yA={get SUPPORT_RANGE_BOUNDS(){const t=Vu(document);return Object.defineProperty(yA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=yA.SUPPORT_RANGE_BOUNDS&&ku(document);return Object.defineProperty(yA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=Wu(document);return Object.defineProperty(yA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Ju(document):Promise.resolve(!1);return Object.defineProperty(yA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Pu();return Object.defineProperty(yA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Xu();return Object.defineProperty(yA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(yA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(yA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Pe{constructor(A,e){this.text=A,this.bounds=e}}const Yu=(t,A,e,r)=>{const s=Zu(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(yA.SUPPORT_RANGE_BOUNDS){const a=Gi(r,o,i.length).getClientRects();if(a.length>1){const l=Nr(i);let c=0;l.forEach(B=>{n.push(new Pe(B,IA.fromDOMRectList(t,Gi(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new Pe(i,IA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new Pe(i,ju(t,r))),r=a}else yA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},ju=(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=er(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return IA.EMPTY},Gi=(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},Nr=t=>{if(yA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Gu(t)},zu=(t,A)=>{if(yA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return qu(t,A)},Zu=(t,A)=>A.letterSpacing!==0?Nr(t):zu(t,A),$u=[32,160,4961,65792,65793,4153,4241],qu=(t,A)=>{const e=hl(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=tr(n);let i="";o.forEach(a=>{$u.indexOf(a)===-1?i+=BA(a):(i.length&&r.push(i),r.push(BA(a)),i="")}),i.length&&r.push(i)}return r};class Af{constructor(A,e,r){this.text=ef(e.data,r.textTransform),this.textBounds=Yu(A,this.text,r,e)}}const ef=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(tf,rf);case 2:return t.toUpperCase();default:return t}},tf=/(^|\s|:|-|\(|\))([a-z])/g,rf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Vi 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 ki extends ce{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Pi extends ce{constructor(A,e){super(A,e);const r=new XMLSerializer,s=er(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 Xi extends ce{constructor(A,e){super(A,e),this.value=e.value}}class nn extends ce{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const sf=[{type:15,flags:0,unit:"px",number:3}],nf=[{type:16,flags:0,number:50}],of=t=>t.width>t.height?new IA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new IA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,af=t=>{const A=t.type===lf?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},cf=t=>t.value.length===0&&!!t.placeholder,_r="checkbox",Gr="radio",lf="password",Wi=707406591,Bf=1970632191;class Kt extends ce{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=af(e),this.isPlaceholder=cf(e),(this.type===_r||this.type===Gr)&&(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=of(this.bounds)),this.type){case _r:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=sf;break;case Gr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=nf;break}}}class Ji extends ce{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class Yi extends ce{constructor(A,e){super(A,e),this.value=e.value}}class ji 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=be(s)?be(n)?this.styles.backgroundColor:n:s}}catch{}}}const gf=["OL","UL","MENU"],Vr=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,xi(s)&&s.data.length>0)e.textNodes.push(new Af(t,s,e.styles));else if(we(s))if(Dt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Vr(t,o,e,r));else{const o=zi(t,s);o.styles.isVisible()&&(df(s,o,r)?o.flags|=4:uf(o.styles)&&(o.flags|=2),gf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Vr(t,s.shadowRoot,o,r):!kr(s)&&!$i(s)&&!Pr(s)&&Vr(t,s,o,r))}},zi=(t,A)=>an(A)?new Vi(t,A):qi(A)?new ki(t,A):$i(A)?new Pi(t,A):Bu(A)?new Xi(t,A):gu(A)?new nn(t,A):ff(A)?new Kt(t,A):Pr(A)?new Ji(t,A):kr(A)?new Yi(t,A):ea(A)?new ji(t,A,Zi):new ce(t,A),Zi=(t,A)=>{const e=zi(t,A);return e.flags|=4,Vr(t,A,e,e),e},df=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||on(t)&&e.styles.isTransparent(),uf=t=>t.isPositioned()||t.isFloating()?!0:oA(t.display,268435456)||oA(t.display,33554432)||oA(t.display,536870912)||oA(t.display,134217728),ff=t=>t.tagName==="INPUT",wf=t=>t.tagName==="HTML",$i=t=>t.tagName==="svg",on=t=>t.tagName==="BODY",qi=t=>t.tagName==="CANVAS",Aa=t=>t.tagName==="VIDEO",an=t=>t.tagName==="IMG",ea=t=>t.tagName==="IFRAME",cn=t=>t.tagName==="STYLE",ta=t=>t.tagName==="SCRIPT",kr=t=>t.tagName==="TEXTAREA",Pr=t=>t.tagName==="SELECT",Dt=t=>t.tagName==="SLOT";class hf{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 ra={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"]},sa={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},pf={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Qf={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?Rt(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,na=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},gA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(na(Math.abs(t),n,r,o=>BA(Math.floor(o%n)+A))+s)},Xe=(t,A,e=". ")=>{const r=A.length;return na(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},ot=1,Se=2,Le=4,Ot=8,he=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Rt(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&&oA(n,ot)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&oA(n,Se)||l===1&&a===1&&oA(n,Le)&&t>100||l===1&&a>1&&oA(n,Ot)?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},oa="十百千萬",ia="拾佰仟萬",aa="マイナス",ln="마이너스",Rt=(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=gA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return Xe(t,"〇一二三四五六七八九",s);case 6:return nt(t,1,3999,ra,3,r).toLowerCase();case 7:return nt(t,1,3999,ra,3,r);case 8:return gA(t,945,969,!1,r);case 9:return gA(t,97,122,!1,r);case 10:return gA(t,65,90,!1,r);case 11:return gA(t,1632,1641,!0,r);case 12:case 49:return nt(t,1,9999,sa,3,r);case 35:return nt(t,1,9999,sa,3,r).toLowerCase();case 13:return gA(t,2534,2543,!0,r);case 14:case 30:return gA(t,6112,6121,!0,r);case 15:return Xe(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return Xe(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return he(t,"零一二三四五六七八九",oa,"負",s,Se|Le|Ot);case 47:return he(t,"零壹貳參肆伍陸柒捌玖",ia,"負",s,ot|Se|Le|Ot);case 42:return he(t,"零一二三四五六七八九",oa,"负",s,Se|Le|Ot);case 41:return he(t,"零壹贰叁肆伍陆柒捌玖",ia,"负",s,ot|Se|Le|Ot);case 26:return he(t,"〇一二三四五六七八九","十百千万",aa,s,0);case 25:return he(t,"零壱弐参四伍六七八九","拾百千万",aa,s,ot|Se|Le);case 31:return he(t,"영일이삼사오육칠팔구","십백천만",ln,n,ot|Se|Le);case 33:return he(t,"零一二三四五六七八九","十百千萬",ln,n,0);case 32:return he(t,"零壹貳參四五六七八九","拾百千",ln,n,ot|Se|Le);case 18:return gA(t,2406,2415,!0,r);case 20:return nt(t,1,19999,Qf,3,r);case 21:return gA(t,2790,2799,!0,r);case 22:return gA(t,2662,2671,!0,r);case 52:return nt(t,1,10999,pf,3,r);case 23:return Xe(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Xe(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return gA(t,3302,3311,!0,r);case 28:return Xe(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return Xe(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return gA(t,3792,3801,!0,r);case 37:return gA(t,6160,6169,!0,r);case 38:return gA(t,4160,4169,!0,r);case 39:return gA(t,2918,2927,!0,r);case 40:return gA(t,1776,1785,!0,r);case 43:return gA(t,3046,3055,!0,r);case 44:return gA(t,3174,3183,!0,r);case 45:return gA(t,3664,3673,!0,r);case 46:return gA(t,3872,3881,!0,r);default:return gA(t,48,57,!0,r)}},Bn="data-html2canvas-ignore",Cf=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 ca{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new hf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=Cf(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=Ef(r).then(async()=>{this.scrolledElements.forEach(bf),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 mf(i),typeof f=="function"?Promise.resolve().then(()=>f(i,u)).then(()=>r):r}),l=i.baseURI;i.open();const c=yf(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,u=f&&f.trustedTypes;let w=u?.getPolicy?.("html2canvas-pro");!w&&u&&(w=u.createPolicy("html2canvas-pro",{createHTML:h=>h})),w?i.write(w.createHTML(c)):i.write(c)}catch{i.write(c)}Hf(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return Tf(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if(Ys(A,2))debugger;if(qi(A))return this.createCanvasClone(A);if(Aa(A))return this.createVideoClone(A);if(cn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return an(e)&&(an(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),yi(e)&&!st(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,gn(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)||!ta(e)&&!e.hasAttribute(Bn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!we(e)||!cn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!we(A)||!ta(A)&&!A.hasAttribute(Bn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!we(A)||!cn(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(!Dt(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)&&Dt(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(!Dt(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)&&Dt(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(xi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&we(A)&&(Lt(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&&Lt(s)&&(this.clonedReferenceElement=s),on(s)&&Sf(s,this.options.cspNonce);const a=this.counters.parse(new Ei(this.context,n)),l=this.resolvePseudoContent(A,s,o,Mt.BEFORE);yi(A)&&(e=!0),Aa(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,Mt.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||st(A))&&!ea(A)||e)&&gn(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(kr(A)||Pr(A))&&(kr(s)||Pr(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 Ei(this.context,r));const i=new lu(this.context,r),a=o.createElement("html2canvaspseudoelement");gn(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(xA);if(B&&R(B)){const u=this.counters.getCounterValue(B.value),w=f&&R(f)?Js.parse(this.context,f.value):3;a.appendChild(o.createTextNode(Rt(u,w,!1)))}}else if(c.name==="counters"){const[B,f,u]=c.values.filter(xA);if(B&&R(B)){const w=this.counters.getCounterValues(B.value),h=u&&R(u)?Js.parse(this.context,u.value):3,F=f&&f.type===0?f.value:"",H=w.map(p=>Rt(p,h,!1)).join(F);a.appendChild(o.createTextNode(H))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(mi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(mi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${dn} ${un}`;const l=s===Mt.BEFORE?` ${dn}`:` ${un}`;return st(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Mt;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Mt||(Mt={}));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(Bn,"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}),mf=t=>Promise.all([].slice.call(t.images,0).map(Ff)),Ef=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)}}),xf=["all","d","content"],gn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);xf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},yf=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},Hf=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},bf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},If=":before",vf=":after",dn="___html2canvas___pseudoelement_before",un="___html2canvas___pseudoelement_after",la=`{
|
|
8
8
|
content: "" !important;
|
|
9
9
|
display: none !important;
|
|
10
|
-
}`,
|
|
11
|
-
.${fn}${bf}${ca}`,A)},vf=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},Sf=(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 b{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new b(this.x+A,this.y+e)}}const ot=(t,A,e)=>new b(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class he{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=ot(this.start,this.startControl,A),s=ot(this.startControl,this.endControl,A),n=ot(this.endControl,this.end,A),o=ot(r,s,A),i=ot(s,n,A),a=ot(o,i,A);return e?new he(this.start,r,o,a):new he(a,i,n,this.end)}add(A,e){return new he(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new he(this.end,this.endControl,this.startControl,this.start)}}const RA=t=>t.type===1;class Lf{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=bt(e.borderTopLeftRadius,r.width,r.height),[o,i]=bt(e.borderTopRightRadius,r.width,r.height),[a,l]=bt(e.borderBottomRightRadius,r.width,r.height),[c,B]=bt(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 w=r.width-o,h=r.height-l,F=r.width-a,y=r.height-B,p=e.borderTopWidth,E=e.borderRightWidth,T=e.borderBottomWidth,m=e.borderLeftWidth,K=O(e.paddingTop,A.bounds.width),V=O(e.paddingRight,A.bounds.width),q=O(e.paddingBottom,A.bounds.width),L=O(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?nA(r.left+m/3,r.top+p/3,s-m/3,n-p/3,W.TOP_LEFT):new b(r.left+m/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?nA(r.left+w,r.top+p/3,o-E/3,i-p/3,W.TOP_RIGHT):new b(r.left+r.width-E/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?nA(r.left+F,r.top+h,a-E/3,l-T/3,W.BOTTOM_RIGHT):new b(r.left+r.width-E/3,r.top+r.height-T/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?nA(r.left+m/3,r.top+y,c-m/3,B-T/3,W.BOTTOM_LEFT):new b(r.left+m/3,r.top+r.height-T/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?nA(r.left+m*2/3,r.top+p*2/3,s-m*2/3,n-p*2/3,W.TOP_LEFT):new b(r.left+m*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?nA(r.left+w,r.top+p*2/3,o-E*2/3,i-p*2/3,W.TOP_RIGHT):new b(r.left+r.width-E*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?nA(r.left+F,r.top+h,a-E*2/3,l-T*2/3,W.BOTTOM_RIGHT):new b(r.left+r.width-E*2/3,r.top+r.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?nA(r.left+m*2/3,r.top+y,c-m*2/3,B-T*2/3,W.BOTTOM_LEFT):new b(r.left+m*2/3,r.top+r.height-T*2/3),this.topLeftBorderStroke=s>0||n>0?nA(r.left+m/2,r.top+p/2,s-m/2,n-p/2,W.TOP_LEFT):new b(r.left+m/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?nA(r.left+w,r.top+p/2,o-E/2,i-p/2,W.TOP_RIGHT):new b(r.left+r.width-E/2,r.top+p/2),this.bottomRightBorderStroke=a>0||l>0?nA(r.left+F,r.top+h,a-E/2,l-T/2,W.BOTTOM_RIGHT):new b(r.left+r.width-E/2,r.top+r.height-T/2),this.bottomLeftBorderStroke=c>0||B>0?nA(r.left+m/2,r.top+y,c-m/2,B-T/2,W.BOTTOM_LEFT):new b(r.left+m/2,r.top+r.height-T/2),this.topLeftBorderBox=s>0||n>0?nA(r.left,r.top,s,n,W.TOP_LEFT):new b(r.left,r.top),this.topRightBorderBox=o>0||i>0?nA(r.left+w,r.top,o,i,W.TOP_RIGHT):new b(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?nA(r.left+F,r.top+h,a,l,W.BOTTOM_RIGHT):new b(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?nA(r.left,r.top+y,c,B,W.BOTTOM_LEFT):new b(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?nA(r.left+m,r.top+p,Math.max(0,s-m),Math.max(0,n-p),W.TOP_LEFT):new b(r.left+m,r.top+p),this.topRightPaddingBox=o>0||i>0?nA(r.left+Math.min(w,r.width-E),r.top+p,w>r.width+E?0:Math.max(0,o-E),Math.max(0,i-p),W.TOP_RIGHT):new b(r.left+r.width-E,r.top+p),this.bottomRightPaddingBox=a>0||l>0?nA(r.left+Math.min(F,r.width-m),r.top+Math.min(h,r.height-T),Math.max(0,a-E),Math.max(0,l-T),W.BOTTOM_RIGHT):new b(r.left+r.width-E,r.top+r.height-T),this.bottomLeftPaddingBox=c>0||B>0?nA(r.left+m,r.top+Math.min(y,r.height-T),Math.max(0,c-m),Math.max(0,B-T),W.BOTTOM_LEFT):new b(r.left+m,r.top+r.height-T),this.topLeftContentBox=s>0||n>0?nA(r.left+m+L,r.top+p+K,Math.max(0,s-(m+L)),Math.max(0,n-(p+K)),W.TOP_LEFT):new b(r.left+m+L,r.top+p+K),this.topRightContentBox=o>0||i>0?nA(r.left+Math.min(w,r.width+m+L),r.top+p+K,w>r.width+m+L?0:o-m+L,i-(p+K),W.TOP_RIGHT):new b(r.left+r.width-(E+V),r.top+p+K),this.bottomRightContentBox=a>0||l>0?nA(r.left+Math.min(F,r.width-(m+L)),r.top+Math.min(h,r.height+p+K),Math.max(0,a-(E+V)),l-(T+q),W.BOTTOM_RIGHT):new b(r.left+r.width-(E+V),r.top+r.height-(T+q)),this.bottomLeftContentBox=c>0||B>0?nA(r.left+m+L,r.top+y,Math.max(0,c-(m+L)),B-(T+q),W.BOTTOM_LEFT):new b(r.left+m+L,r.top+r.height-(T+q))}}var W;(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"})(W||(W={}));const nA=(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 W.TOP_LEFT:return new he(new b(t,l),new b(t,l-i),new b(a-o,A),new b(a,A));case W.TOP_RIGHT:return new he(new b(t,A),new b(t+o,A),new b(a,l-i),new b(a,l));case W.BOTTOM_RIGHT:return new he(new b(a,A),new b(a,A+i),new b(t+o,l),new b(t,l));case W.BOTTOM_LEFT:default:return new he(new b(a,l),new b(a-o,l),new b(t,A+i),new b(t,A))}},Vr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Tf=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],kr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class la{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Pr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class Kf{constructor(A){this.opacity=A,this.type=2,this.target=6}}class Mt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const Df=t=>t.type===0,Ba=t=>t.type===1,Of=t=>t.type===2,Rf=t=>t.type===3,ga=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,Mf=(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 da{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class ua{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Lf(this.container),this.container.styles.opacity<1&&this.effects.push(new Kf(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 la(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 la(s,n,o))}if(this.container.styles.overflowX!==0){const r=Vr(this.curves),s=kr(this.curves);ga(r,s)?this.effects.push(new Pr(r,6)):(this.effects.push(new Pr(r,2)),this.effects.push(new Pr(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Nf(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=>!Ba(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=Vr(r.curves),i=kr(r.curves);ga(o,i)||s.unshift(new Pr(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>oA(n.target,A))}}const fa=(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),Nf=(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 Mt(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 Mt(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=fa(t.rx,o,e,e+s,s),l=fa(t.ry,i,r,r+n,n);return new Mt(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 Mt(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 Mt(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}},wn=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=oA(s.flags,4),o=oA(s.flags,2),i=new ua(s,t);oA(s.styles.display,2048)&&r.push(i);const a=oA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new da(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,w)=>B>u.element.container.styles.zIndex.order?(f=w,!1):f>0),l.negativeZIndex.splice(f,0,c)}else if(B>0){let f=0;l.positiveZIndex.some((u,w)=>B>=u.element.container.styles.zIndex.order?(f=w+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);wn(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),wn(i,A,e,a);oA(s.flags,8)&&wa(s,a)})},wa=(t,A)=>{let e=t instanceof on?t.start:1;const r=t instanceof on?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof Pi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Ot(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},_f=t=>{const A=new ua(t,null),e=new da(A),r=[];return wn(A,e,e,r),wa(A.container,r),e},ha=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Nt=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))},Gf=(t,A)=>t===0?A.bounds:t===2?Nt(A):ha(A),Vf=(t,A)=>t===0?A.bounds:t===2?Nt(A):ha(A),hn=(t,A,e)=>{const r=Gf(at(t.styles.backgroundOrigin,A),t),s=Vf(at(t.styles.backgroundClip,A),t),n=kf(at(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=bt(at(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=Pf(at(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]},it=t=>R(t)&&t.value===tt.AUTO,Xr=t=>typeof t=="number",kf=(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=Xr(r);if(R(n)&&(n.value===tt.CONTAIN||n.value===tt.COVER))return Xr(r)?s.width/s.height<r!=(n.value===tt.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const a=Xr(A),l=Xr(e),c=a||l;if(it(n)&&(!o||it(o))){if(a&&l)return[A,e];if(!i&&!c)return[s.width,s.height];if(c&&i){const h=a?A:e*r,F=l?e:A/r;return[h,F]}const u=a?A:s.width,w=l?e:s.height;return[u,w]}if(i){let u=0,w=0;return J(n)?u=O(n,s.width):J(o)&&(w=O(o,s.height)),it(n)?u=w*r:(!o||it(o))&&(w=u/r),[u,w]}let B=null,f=null;if(J(n)?B=O(n,s.width):o&&J(o)&&(f=O(o,s.height)),B!==null&&(!o||it(o))&&(f=a&&l?B/A*e:s.height),f!==null&&it(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")},at=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Pf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new b(Math.round(n.left),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(s+n.top+e)),new b(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new b(Math.round(n.left+A),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.height+n.top)),new b(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new b(Math.round(n.left+A),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e+s)),new b(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new b(Math.round(o.left),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.height+o.top)),new b(Math.round(o.left),Math.round(o.height+o.top))]}},Xf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",pa="Hidden Text";class Wf{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=Xf,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(pa)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(pa)),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 Qa{constructor(A,e){this.context=A,this.options=e}}class Jf{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):yg(r)?this.renderLinearGradient(A,r,e):Hg(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]=hn(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]=hn(A,r,[null,null,null]),[l,c,B,f,u]=Ug(e.angle,i,a),h=(this.canvas.ownerDocument??document).createElement("canvas");h.width=i,h.height=a;const F=h.getContext("2d"),y=F.createLinearGradient(c,f,B,u);if(ii(e.stops,l||1).forEach(p=>y.addColorStop(p.stop,sA(p.color))),F.fillStyle=y,F.fillRect(0,0,i,a),i>0&&a>0){const p=this.ctx.createPattern(h,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=hn(A,r,[null,null,null]),l=e.position.length===0?[Ge]:e.position,c=O(l[0],i),B=O(l[l.length-1],a);let[f,u]=Fg(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 w=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,f);if(ii(e.stops,f*2).forEach(h=>w.addColorStop(h.stop,sA(h.color))),this.path(s),this.ctx.fillStyle=w,f!==u){const h=A.bounds.left+.5*A.bounds.width,F=A.bounds.top+.5*A.bounds.height,y=u/f,p=1/y;this.ctx.save(),this.ctx.translate(h,F),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-h,-F),this.ctx.fillRect(n,p*(o-F)+F,i,a*p),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===kA.PIXELATED||s===kA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===kA.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=RA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),RA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const Ca=(t,A)=>{switch(A){case 0:return JA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return JA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return JA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return JA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Yf=(t,A)=>{switch(A){case 0:return JA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return JA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return JA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return JA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},jf=(t,A)=>{switch(A){case 0:return JA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return JA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return JA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return JA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},zf=(t,A)=>{switch(A){case 0:return Wr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Wr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Wr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return Wr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},Wr=(t,A)=>{const e=[];return RA(t)?e.push(t.subdivide(.5,!1)):e.push(t),RA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},JA=(t,A,e,r)=>{const s=[];return RA(t)?s.push(t.subdivide(.5,!1)):s.push(t),RA(e)?s.push(e.subdivide(.5,!0)):s.push(e),RA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),RA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class Zf{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(Ca(r,e)),this.ctx.fillStyle=sA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=Yf(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=sA(A),this.ctx.fill();const o=jf(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=zf(s,r),i=Ca(s,r);n===2&&(this.pathCallbacks.path(i),this.ctx.clip());let a,l,c,B;RA(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),RA(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,w=e<3?e*2:e;n===3&&(u=e,w=e);let h=!0;if(f<=u*2)h=!1;else if(f<=u*2+w){const F=f/(2*u+w);u*=F,w*=F}else{const F=Math.floor((f+w)/(u+w)),y=(f-F*u)/(F-1),p=(f-(F+1)*u)/F;w=p<=0||Math.abs(w-y)<Math.abs(w-p)?y:p}if(h&&(n===3?this.ctx.setLineDash([0,u+w]):this.ctx.setLineDash([u,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=sA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(RA(i[0])){const F=i[3],y=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(F.end.x,F.end.y),new b(y.start.x,y.start.y)]),this.ctx.stroke()}if(RA(i[1])){const F=i[1],y=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(F.end.x,F.end.y),new b(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class $f{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(),Of(A)?this.ctx.globalAlpha=A.opacity:Df(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)):Ba(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Rf(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 qf=["-apple-system","system-ui"],Aw=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,ew=t=>Aw.test(t),tw=()=>{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},rw=t=>{const A=tw();return A!==null&&A>=15&&A<17?t.map(e=>qf.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class sw{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Or(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(ew(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=sA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=sA(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=sA(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=Or(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=rw(A.fontFamily).join(", "),s=se(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(h=>{Math.abs(h.bounds.top-u)>=o*.5?(f.length>0&&B.push(f),f=[h],u=h.bounds.top):f.push(h)}),f.length>0&&B.push(f);const w=e.webkitLineClamp;if(B.length>w){for(let F=0;F<w-1;F++)B[F].forEach(y=>{this.renderTextBoundWithPaintOrder(y,e,n)});const h=B[w-1];if(h&&h.length>0&&r){const F=h.map(m=>m.text).join(""),y=h[0],p=r.width-(y.bounds.left-r.left),E=this.truncateTextWithEllipsis(F,p,e.letterSpacing),T=new Pe(E,y.bounds);n.forEach(m=>{switch(m){case 0:this.ctx.fillStyle=sA(e.color),e.letterSpacing===0?this.ctx.fillText(E,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,q)=>this.ctx.fillText(K,V,q));break;case 1:e.webkitTextStrokeWidth&&E.trim().length&&(this.ctx.strokeStyle=sA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(E,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,q)=>this.ctx.strokeText(K,V,q)),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(F=>F.text).join("");u=u.replace(/\s+/g," ").trim();const w=this.ctx.measureText(u).width,h=r.width;w>h&&(l=!0,c=this.truncateTextWithEllipsis(u,h,e.letterSpacing))}}if(l){const B=A.textBounds[0],f=new Pe(c,B.bounds);n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=sA(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,(h,F,y)=>this.ctx.fillText(h,F,y));const w=e.textShadow;w.length&&c.trim().length&&(w.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=sA(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,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(F,y,p)=>this.ctx.fillText(F,y,p))}),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=sA(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,(w,h,F)=>this.ctx.strokeText(w,h,F)),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=sA(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(w=>{this.ctx.shadowColor=sA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.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=sA(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,(w,h,F)=>this.ctx.strokeText(w,h,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const nw=1e4;class pn extends Qa{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 Wf(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 Jf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Zf({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new $f({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new sw({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(oA(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=Nt(A),i=kr(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,w=o.width,h=o.height;const{objectFit:F}=A.styles,y=w/h,p=c/B;if(F===2)p>y?(h=w/p,u+=(o.height-h)/2):(w=h*p,f+=(o.width-w)/2);else if(F===4)p>y?(c=B*y,a+=(s-c)/2):(B=c/y,l+=(n-B)/2);else if(F===8)c>w?(a+=(c-w)/2,c=w):(f+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(u+=(h-B)/2,h=B);else if(F===16){const E=p>y?w:h*p,T=c>w?c:w;E<T?p>y?(h=w/p,u+=(o.height-h)/2):(w=h*p,f+=(o.width-w)/2):(c>w?(a+=(c-w)/2,c=w):(f+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(u+=(h-B)/2,h=B))}this.ctx.drawImage(r,a,l,c,B,f,u,w,h),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=Nt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Gi)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===kA.PIXELATED||s.imageRendering===kA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===kA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===kA.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 Vi&&this.renderReplacedElement(e,r,e.canvas),e instanceof ki)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 Yi&&e.tree){const i=await new pn(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 Tt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===Rr?e.checked&&(this.ctx.save(),this.path([new b(e.bounds.left+o*.39363,e.bounds.top+o*.79),new b(e.bounds.left+o*.16,e.bounds.top+o*.5549),new b(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new b(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new b(e.bounds.left+o*.72983,e.bounds.top+o*.23),new b(e.bounds.left+o*.84,e.bounds.top+o*.34085),new b(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=sA(Xi),this.ctx.fill(),this.ctx.restore()):e.type===Mr&&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=sA(Xi),this.ctx.fill(),this.ctx.restore())}if(ow(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 Tt&&e.isPlaceholder;this.ctx.fillStyle=sA(c?cf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=aw(e.styles.textAlign);const B=Nt(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 Tt){const h=O(s.fontSize,0);u=(B.height-h)/2}const w=B.add(f,u,0,0);this.ctx.save(),this.path([new b(B.left,B.top),new b(B.left+B.width,B.top),new b(B.left+B.width,B.top+B.height),new b(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Pe(e.value,w),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(oA(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=sA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new HA(e.bounds.left,e.bounds.top+O(e.styles.paddingTop,e.bounds.width),e.bounds.width,Qi(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Pe(A.listValue,i),s.letterSpacing,Qi(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(oA(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=RA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),RA(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=iw(at(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),He(e.backgroundColor)||(this.ctx.fillStyle=sA(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=Vr(A.curves),l=i.inset?0:nw,c=Mf(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=sA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?sA(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=sA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=_f(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const ow=t=>t instanceof Ji||t instanceof Wi?!0:t instanceof Tt&&t.type!==Mr&&t.type!==Rr,iw=(t,A)=>{switch(t){case 0:return Vr(A);case 2:return Tf(A);default:return kr(A)}},aw=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class cw extends Qa{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=nn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await lw(e);return this.options.backgroundColor&&(this.ctx.fillStyle=sA(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 lw=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 Ua{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))}}Ua.instances={};class Bw{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(Cn(A)||fw(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=!Qn(A)&&this._options.useCORS===!0&&EA.SUPPORT_CORS_IMAGES&&!s,o=!Qn(A)&&!s&&!Cn(A)&&typeof this._options.proxy=="string"&&EA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!Qn(A)&&!Cn(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,(ww(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=EA.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 gw=/^data:image\/svg\+xml/i,dw=/^data:image\/.*;base64,/i,uw=/^data:image\/.*/i,fw=t=>EA.SUPPORT_SVG_DRAWING||!hw(t),Qn=t=>uw.test(t),ww=t=>dw.test(t),Cn=t=>t.substr(0,4)==="blob",hw=t=>t.substr(-3).toLowerCase()==="svg"||gw.test(t);class pw{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 Jr{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${Jr.instanceCount++}`,this.config=r,this.logger=new Ua({id:this.instanceName,enabled:A.logging}),this.originChecker=new pw(r.window),this.cache=A.cache??r.cache??new Bw(this,A)}}Jr.instanceCount=1;class _t{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 _t({window:s,...e})}clone(A={}){return new _t({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Qw(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class Cw{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 Uw(t={}){return new Cw({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class Fw{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 Fa=(t,A={},e)=>{const r=e||_t.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return xw(t,A,r)},mw=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Qw(new _t({window,cspNonce:t}))};Fa.setCspNonce=mw;const Ew=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)}})},xw=async(t,A,e)=>{if(Ew(A),!A.skipValidation){const AA=A.validator||Uw(),iA=AA.validateElement(t);if(!iA.valid)throw new Error(iA.error);const eA=AA.validateOptions(A);if(!eA.valid)throw new Error(`Invalid options: ${eA.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 HA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),u=new Jr(o,f,e),w=A.enablePerformanceMonitoring??A.logging??!1,h=new Fw(u,w);h.start("total",{width:B.windowWidth,height:B.windowHeight});const F=A.foreignObjectRendering??!1,y={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:F,copyStyles:F,cspNonce:A.cspNonce??e.cspNonce};u.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),h.start("clone");const p=new aa(u,t,y),E=p.clonedReferenceElement;if(!E)throw new Error("Unable to find element in cloned iframe");const T=await p.toIFrame(r,f);h.end("clone");const{width:m,height:K,left:V,top:q}=an(E)||uf(E)?Kc(E.ownerDocument):$t(u,E),L=yw(u,E,A.backgroundColor),CA={canvas:A.canvas,backgroundColor:L,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+V,y:(A.y??0)+q,width:A.width??Math.ceil(m),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let wA,fA;try{return F?(u.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),wA=await new cw(u,CA).render(E),h.end("render-foreignobject")):(u.logger.debug(`Document cloned, element located at ${V},${q} with size ${m}x${K} using computed rendering`),u.logger.debug("Starting DOM parsing"),h.start("parse"),fA=zi(u,E),h.end("parse"),L===fA.styles.backgroundColor&&(fA.styles.backgroundColor=oe.TRANSPARENT),u.logger.debug(`Starting renderer for element at ${CA.x},${CA.y} with size ${CA.width}x${CA.height}`),h.start("render"),wA=await new pn(u,CA).render(fA),h.end("render")),h.start("cleanup"),(A.removeContainer??!0)&&(aa.destroy(T)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),u.logger.debug("Finished rendering"),w&&h.logSummary(),wA}finally{fA&&fA.restoreTree()}},yw=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?et(t,getComputedStyle(r.documentElement).backgroundColor):oe.TRANSPARENT,n=r.body?et(t,getComputedStyle(r.body).backgroundColor):oe.TRANSPARENT,o=typeof e=="string"?et(t,e):e===null?oe.TRANSPARENT:4294967295;return A===r.documentElement?He(s)?He(n)?o:n:s:o},Gt=2147483647,Un=Gt-1,Fn=Gt-1,Hw=Gt-10,bw=Gt-5,Iw=Gt-15,ae="data-vg-pin-id",vw=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},ma=(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""}},Ea=({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(yc,{"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})]})},Vt=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(" > ")}},Sw=t=>{const{vgPath:A}=Vt(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()}},Lw=(()=>{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}})(),Tw=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]=Lw(n)}),e},Kw=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"},mn=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)},xa=(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=xa(t,n);if(o)return o}}return null},ya=(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},Dw=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(!Yr(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}=Vt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},Yr=(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)},Ha=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${ae}="${A}"]`));if(o.length>0){const i=o.filter(a=>Yr(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(ae));else{const a=i.find(c=>{const{vgPath:B}=Vt(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(ae)}),l):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>Yr(o,t));let s=r.find(o=>{const{vgPath:i}=Vt(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=xa(o);if(i&&Yr(i,t)&&Le(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=Dw(t);return n&&Le(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},En=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}),Ow=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>En(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:{...En(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:En(A),siblings:e}},ba=(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=Kw(t),{selector:n,fallbacks:o,vgPath:i}=Vt(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(mn(f))return!0;f=f.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=ba(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:Ow(t),fingerprint:Sw(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:Tw(t),viewportBreakpoint:vw(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},Ia=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,dashboardUrl:n,disableViewGate:o,hasActiveToasts:i}=co(),a=U.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[]),[l,c]=U.useState(typeof window<"u"?window.location.pathname:"/");U.useEffect(()=>{const d=()=>c(window.location.pathname);window.addEventListener("popstate",d);const H=window.history.pushState,C=window.history.replaceState;return window.history.pushState=function(...I){H.apply(this,I),d()},window.history.replaceState=function(...I){C.apply(this,I),d()},()=>{window.removeEventListener("popstate",d),window.history.pushState=H,window.history.replaceState=C}},[]);const[B,f]=U.useState(!1),[u,w]=U.useState("medium"),[h,F]=U.useState("medium"),[y,p]=U.useState("all"),[E,T]=U.useState(null),[m,K]=U.useState(null),[V,q]=U.useState(""),[L,CA]=U.useState(!1),[wA,fA]=U.useState(!1),[AA,iA]=U.useState(!1),[eA,YA]=U.useState([]),[LA,xA]=U.useState(null),[ct,ce]=U.useState(!1),[Q,D]=U.useState({}),[M,j]=U.useState(null),[PA,qA]=U.useState(!1),[k,MA]=U.useState(null),[Ae,Te]=U.useState(null),[cA,kt]=U.useState(typeof window<"u"?localStorage.getItem("vg_token"):null);U.useEffect(()=>{const d=H=>{if(H.data?.type==="VIEWGATE_AUTH_SUCCESS"){const{token:C,user:I}=H.data;kt(C),Te(I),localStorage.setItem("vg_token",C),t(A==="es"?"Sesión iniciada":"Logged in","success")}};return window.addEventListener("message",d),()=>window.removeEventListener("message",d)},[A,t]),U.useEffect(()=>{if(!n||typeof window>"u")return;const d="vg-auth-bridge-frame";let H=document.getElementById(d);H||(H=document.createElement("iframe"),H.id=d,H.src=`${n}/vg-auth-bridge.html`,H.style.display="none",document.body.appendChild(H));const C=async P=>{if(P.data?.type==="VG_AUTH_TOKEN_FOUND"){const{token:X}=P.data;if(cA===X)return;try{const v=await fetch(`${s}/api/auth/me`,{headers:{"x-api-key":r,Authorization:`Bearer ${X}`}});if(v.ok){const hA=await v.json();kt(X),Te(hA),localStorage.setItem("vg_token",X),t(A==="es"?"Sesión detectada automáticamente":"Auto-session detected","success")}}catch(v){console.error("ViewGate Bridge Auth Error:",v)}}else P.data?.type==="VG_AUTH_NOT_FOUND"&&cA&&(kt(null),Te(null),localStorage.removeItem("vg_token"),t(A==="es"?"Sesión finalizada":"Session ended","error"))};window.addEventListener("message",C);const I=()=>{H&&H.contentWindow&&H.contentWindow.postMessage({type:"VG_CHECK_AUTH"},"*")};window.addEventListener("focus",I);const N=setInterval(I,1e4);return()=>{window.removeEventListener("message",C),window.removeEventListener("focus",I),clearInterval(N)}},[n,s,r,A,t,cA]);const jr=()=>{const C=window.screenX+(window.outerWidth-500)/2,I=window.screenY+(window.outerHeight-700)/2;window.open(`${s}/api/auth/google`,"viewgate-auth",`width=500,height=700,left=${C},top=${I},scrollbars=yes`)},Ke=U.useCallback(async d=>{const H={"x-api-key":r,...cA?{Authorization:`Bearer ${cA}`}:{}},C=typeof window<"u"?localStorage.getItem("vg_token"):cA;C&&!H.Authorization&&(H.Authorization=`Bearer ${C}`);const I=await fetch(d,{headers:H});if(!I.ok){const N=await I.json().catch(()=>({}));throw new Error(N.message||N.error||"Fetch failed")}return I.json()},[r]),zr=U.useMemo(()=>a?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[a]),{data:Zr,isLoading:tA}=qn(r?`${s}/api/projects/active-sprint`:null,Ke,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:rA,isLoading:Y,mutate:z}=qn(r&&(Zr||a)?`${s}/api/annotations?status=${zr}`:null,Ke,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[UA,TA]=U.useState(null),lA=U.useRef(eA);lA.current=eA;const[Z,le]=U.useState(null),De=U.useRef(null),[pe,$r]=U.useState([]),IA=U.useMemo(()=>{let d=Array.isArray(eA)?eA:[];if(M){const C=pe.find(I=>I.annotations&&Array.isArray(I.annotations)&&I.annotations.some(N=>N._id===M));C?d=C.annotations:d=d.filter(I=>I._id===M)}return d=d.filter(C=>C.status!=="completed"&&C.status!=="done"),window.location.href.includes("viewgate-backlog")||(Z==="pending"?d=d.filter(C=>C.status!=="ready_for_review"):Z==="ready"&&(d=d.filter(C=>C.status==="ready_for_review"))),y!=="all"&&(d=d.filter(C=>(C.priority||"medium")===y)),d},[M,eA,pe,Z,y]);U.useEffect(()=>{M&&IA.length===0&&!Y&&j(null)},[M,IA.length,Y]);const[vA,Pt]=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}}),[We,lt]=U.useState(!1),Qe=U.useRef(null),[Bt,Nw]=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}}),[Xt,va]=U.useState(!1),Ce=U.useRef(null),_w=d=>{d.preventDefault(),d.stopPropagation();const H=d.currentTarget.parentElement?.getBoundingClientRect();H&&(lt(!0),Qe.current={x:d.clientX,y:d.clientY,top:vA.top,right:vA.right,width:H.width,height:H.height})},Gw=d=>{d.preventDefault(),d.stopPropagation();const H=d.currentTarget.parentElement?.getBoundingClientRect();H&&(va(!0),Ce.current={x:d.clientX,y:d.clientY,bottom:Bt.bottom,right:Bt.right,width:H.width,height:H.height})};U.useEffect(()=>{if(!We&&!Xt)return;const d=C=>{if(We&&Qe.current){const I=C.clientX-Qe.current.x,N=C.clientY-Qe.current.y;let P=Qe.current.top+N,X=Qe.current.right-I;const v=10;P=Math.max(v,Math.min(window.innerHeight-Qe.current.height-v,P)),X=Math.max(v,Math.min(window.innerWidth-Qe.current.width-v,X)),Pt({top:P,right:X})}if(Xt&&Ce.current){const I=C.clientX-Ce.current.x,N=C.clientY-Ce.current.y;let P=Ce.current.bottom-N,X=Ce.current.right-I;const v=10;P=Math.max(v,Math.min(window.innerHeight-Ce.current.height-v,P)),X=Math.max(v,Math.min(window.innerWidth-Ce.current.width-v,X)),Nw({bottom:P,right:X})}},H=()=>{We&&(lt(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(vA)),Qe.current=null),Xt&&(va(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(Bt)),Ce.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",H),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",H)}},[We,Xt,vA,Bt]);const[yn,Hn]=U.useState(null),[Sa,La]=U.useState(""),[gh,dh]=U.useState({}),qr=U.useRef(null),gt=U.useRef(null),Wt=U.useCallback(()=>{typeof window>"u"||(gt.current&&cancelAnimationFrame(gt.current),gt.current=requestAnimationFrame(()=>{gt.current=null;const d=lA.current,H=Array.isArray(d)?d:[],C=new Set(H.map($=>$._id));document.querySelectorAll(`[${ae}]`).forEach($=>{const SA=$.getAttribute(ae);SA&&!C.has(SA)&&$.removeAttribute(ae)});const N=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find($=>mn($)&&Le($)),P=!!N,X=new Map,v=new Map;H.forEach($=>{if(!$||!$.reference)return;try{const QA=window.location.pathname;if(new URL($.url).pathname!==QA)return}catch{return}const SA=!!$.reference.metadata?.isModal,ee=$.reference.metadata?.triggerReference;let pA=Ha($.reference,$._id),_A=!1;if(ee){const QA=Ha(ee);QA&&Le(QA)&&(pA=QA,_A=!0)}if(!pA||!Le(pA))return;let KA=!1;if(P?KA=N.contains(pA):_A?KA=!0:KA=!SA,!KA)return;const Be=pA.getAttribute(ae);Be!==$._id&&(document.querySelectorAll(`[${ae}="${$._id}"]`).forEach(QA=>{QA.removeAttribute(ae)}),Be||pA.setAttribute(ae,$._id));const jA=_A?X:v;jA.has(pA)||jA.set(pA,{anns:[]}),jA.get(pA).anns.push($)});const hA=[],NA=($,SA)=>{$.forEach((ee,pA)=>{const{anns:_A}=ee,KA=pA.getBoundingClientRect(),Be=KA.left+KA.width/2,jA=KA.top+KA.height/2;if(Be>=0&&Be<=window.innerWidth&&jA>=0&&jA<=window.innerHeight){const QA=document.elementFromPoint(Be,jA),Oe=document.getElementById("viewgate-shadow-host");if(QA&&!pA.contains(QA)&&QA!==Oe&&!Oe?.contains(QA))return}hA.push({id:_A[0]._id+(SA?"_trig":""),element:pA,rect:KA,annotations:_A.sort((QA,Oe)=>new Date(Oe.timestamp||Oe.createdAt).getTime()-new Date(QA.timestamp||QA.createdAt).getTime()),isModal:!!_A[0].reference?.metadata?.isModal,isTriggerPin:SA})})};NA(X,!0),NA(v,!1),$r(hA)}))},[]);U.useEffect(()=>{if(rA){const d=Array.isArray(rA)?rA:rA?.data||[];if(Array.isArray(d)){const H=d.reduce((C,I)=>C.find(P=>P._id===I._id)?C:C.concat([I]),[]);YA(H)}}else Y||YA([])},[rA,Y]),U.useEffect(()=>{MA(Zr||null)},[Zr]),U.useEffect(()=>{AA&&eA.length===0&&!Y&&iA(!1)},[AA,eA.length,Y]),U.useEffect(()=>{Wt();const d=new MutationObserver(()=>Wt()),H=new ResizeObserver(()=>Wt()),C=()=>Wt();return d.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),H.observe(document.documentElement),window.addEventListener("scroll",C,!0),()=>{d.disconnect(),H.disconnect(),window.removeEventListener("scroll",C,!0),gt.current&&cancelAnimationFrame(gt.current)}},[B,eA,Wt,AA,M,l]);const bn=U.useCallback(d=>{let H=d;for(;H&&H!==document.body;){if(mn(H))return H;H=H.parentElement}return null},[]);U.useEffect(()=>{const d=H=>{const C=H.target;C&&(bn(C)||(De.current=C))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[bn]),U.useEffect(()=>{qr.current=document.getElementById("viewgate-shadow-host")},[]);const In=U.useCallback(d=>{if(!B||m)return;const H=ya(d.clientX,d.clientY);if(!H||qr.current?.contains(H)||H.closest(".vg-no-capture")){T(null);return}const C=H.getBoundingClientRect();T({tag:H.tagName.toLowerCase(),source:H.getAttribute("data-source-path")||"unknown:0",rect:C,element:H,previewText:(H.innerText||"").slice(0,100)||(H.getAttribute("placeholder")||"").slice(0,100)||H.tagName.toLowerCase(),semanticReference:{...ba(H,De.current),normalizedOffset:{x:(d.clientX-C.left)/C.width,y:(d.clientY-C.top)/C.height}}})},[B,m]),vn=U.useCallback(async d=>{if(!B||m)return;const H=ya(d.clientX,d.clientY);if(!(!H||qr.current?.contains(H)||H.closest(".vg-no-capture"))&&E){d.preventDefault(),d.stopPropagation(),fA(!0);try{const C=E.element,I=C.getBoundingClientRect(),N=bn(C)||document.body,P=N.getBoundingClientRect(),X=await Fa(N,{scale:2,useCORS:!0,logging:!1,backgroundColor:"#ffffff",ignoreElements:SA=>qr.current?.contains(SA)||SA.id==="viewgate-shadow-host"}),v=document.createElement("canvas"),hA=v.getContext("2d"),NA=I.left-P.left,$=I.top-P.top;v.width=I.width*2,v.height=I.height*2,hA?(hA.drawImage(X,NA*2,$*2,I.width*2,I.height*2,0,0,I.width*2,I.height*2),v.toBlob(async SA=>{if(SA){const ee=new FileReader;ee.onloadend=()=>{K({...E,visualPreview:ee.result})},ee.readAsDataURL(SA)}else K(E)},"image/webp",.85)):K(E)}catch(C){console.error("Failed to capture high-fidelity preview:",C),K(E)}finally{fA(!1),T(null)}}},[B,E,m]);U.useEffect(()=>{const d=H=>{if(H.key==="Escape"){m?K(null):AA?iA(!1):B&&f(!1);return}const I=(()=>{let X=document.activeElement;for(;X&&X.shadowRoot&&X.shadowRoot.activeElement;)X=X.shadowRoot.activeElement;return X})();if(["input","textarea"].includes((I?.tagName||"").toLowerCase())||I?.isContentEditable)return;const P=H.key.toLowerCase();if(P==="c"&&!m&&!AA){if(!(k&&k.status!=="closed")&&!a&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(v=>!v)}P==="v"&&!m&&(eA.length>0||AA)&&(iA(X=>!X),AA||f(!1))};return B&&!m?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",In,!0),window.addEventListener("click",vn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",In,!0),window.removeEventListener("click",vn,!0)}},[B,m,AA,eA,In,vn]);const Vw=async()=>{if(!m||!V.trim())return;if(!cA){jr(),t(A==="es"?"Inicia sesión para comentar":"Please login to comment","error");return}CA(!0);const{semanticReference:d}=m,[H,C]=(d.source||"").split(":"),I=C||"0";try{const N=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r,...cA?{Authorization:`Bearer ${cA}`}:{}},body:JSON.stringify({filePath:H,line:parseInt(I),url:window.location.href,title:V.length>50?V.substring(0,50)+"...":V,message:V,status:a?"backlog":"pending",priority:u,screenshot:m.visualPreview,componentName:d.componentPath||m.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}})});if(!N.ok){const P=await N.json().catch(()=>({}));throw new Error(P.message||P.error||"Backend failed")}t(e.success,"success"),K(null),q(""),f(!1),z()}catch(N){console.error(N);const P=N.message&&N.message!=="Backend failed"?N.message:e.error;t(P,"error")}finally{CA(!1)}};return g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1639",className:"vg-container",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1640",className:"vg-no-capture",children:[!i&&g.jsxs("div",{style:{position:"fixed",top:`${vA.top}px`,right:`${vA.right}px`,zIndex:Un+10,display:"flex",alignItems:"center",gap:"8px",transition:We?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("div",{onMouseDown:_w,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:B?0:1,visibility:B?"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(so,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1684",size:14})}),g.jsx("button",{onClick:d=>{d.stopPropagation(),xA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>o()})},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(Qs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1724",size:20,strokeWidth:2.5})})]}),g.jsxs("div",{style:{position:"fixed",bottom:`${Bt.bottom}px`,right:`${Bt.right}px`,zIndex:Un,display:"flex",alignItems:"center",gap:"8px",transition:Xt?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[g.jsx("div",{onMouseDown:Gw,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:B?0:1,visibility:B?"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(so,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1773",size:16})}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1776",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(!k&&!a&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(!B)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:B?"#ef4444":!k&&!a?"#94a3b8":void 0,cursor:!k&&!a&&!B?"not-allowed":"pointer",opacity:!k&&!a&&!B?.7:1},title:!k&&!a&&!B?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1794",style:{display:"flex",alignItems:"center",gap:"10px"},children:[B?g.jsx(Qs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1795",size:20,className:"vg-animate-pop"}):g.jsx(Zt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1795",size:20,className:"vg-animate-pop"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1796",children:B?e.exitMode:e.enterMode})]})}),eA.length>0&&g.jsxs("button",{onClick:()=>{iA(!AA),f(!1),K(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[g.jsx(xc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1809",size:20}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1810",children:e.viewComments})]})]})]}),wA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1818",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:Un+1,cursor:"wait"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1824",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:1825",className:"vg-spinner"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1826",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),B&&!m&&g.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:E?`polygon(
|
|
10
|
+
}`,Sf=(t,A)=>{Lf(t,`.${dn}${If}${la}
|
|
11
|
+
.${un}${vf}${la}`,A)},Lf=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},Tf=(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 b{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new b(this.x+A,this.y+e)}}const it=(t,A,e)=>new b(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 Kf{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=It(e.borderTopLeftRadius,r.width,r.height),[o,i]=It(e.borderTopRightRadius,r.width,r.height),[a,l]=It(e.borderBottomRightRadius,r.width,r.height),[c,B]=It(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 w=r.width-o,h=r.height-l,F=r.width-a,H=r.height-B,p=e.borderTopWidth,E=e.borderRightWidth,T=e.borderBottomWidth,m=e.borderLeftWidth,K=O(e.paddingTop,A.bounds.width),V=O(e.paddingRight,A.bounds.width),Z=O(e.paddingBottom,A.bounds.width),L=O(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?nA(r.left+m/3,r.top+p/3,s-m/3,n-p/3,W.TOP_LEFT):new b(r.left+m/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?nA(r.left+w,r.top+p/3,o-E/3,i-p/3,W.TOP_RIGHT):new b(r.left+r.width-E/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?nA(r.left+F,r.top+h,a-E/3,l-T/3,W.BOTTOM_RIGHT):new b(r.left+r.width-E/3,r.top+r.height-T/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?nA(r.left+m/3,r.top+H,c-m/3,B-T/3,W.BOTTOM_LEFT):new b(r.left+m/3,r.top+r.height-T/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?nA(r.left+m*2/3,r.top+p*2/3,s-m*2/3,n-p*2/3,W.TOP_LEFT):new b(r.left+m*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?nA(r.left+w,r.top+p*2/3,o-E*2/3,i-p*2/3,W.TOP_RIGHT):new b(r.left+r.width-E*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?nA(r.left+F,r.top+h,a-E*2/3,l-T*2/3,W.BOTTOM_RIGHT):new b(r.left+r.width-E*2/3,r.top+r.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?nA(r.left+m*2/3,r.top+H,c-m*2/3,B-T*2/3,W.BOTTOM_LEFT):new b(r.left+m*2/3,r.top+r.height-T*2/3),this.topLeftBorderStroke=s>0||n>0?nA(r.left+m/2,r.top+p/2,s-m/2,n-p/2,W.TOP_LEFT):new b(r.left+m/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?nA(r.left+w,r.top+p/2,o-E/2,i-p/2,W.TOP_RIGHT):new b(r.left+r.width-E/2,r.top+p/2),this.bottomRightBorderStroke=a>0||l>0?nA(r.left+F,r.top+h,a-E/2,l-T/2,W.BOTTOM_RIGHT):new b(r.left+r.width-E/2,r.top+r.height-T/2),this.bottomLeftBorderStroke=c>0||B>0?nA(r.left+m/2,r.top+H,c-m/2,B-T/2,W.BOTTOM_LEFT):new b(r.left+m/2,r.top+r.height-T/2),this.topLeftBorderBox=s>0||n>0?nA(r.left,r.top,s,n,W.TOP_LEFT):new b(r.left,r.top),this.topRightBorderBox=o>0||i>0?nA(r.left+w,r.top,o,i,W.TOP_RIGHT):new b(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?nA(r.left+F,r.top+h,a,l,W.BOTTOM_RIGHT):new b(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?nA(r.left,r.top+H,c,B,W.BOTTOM_LEFT):new b(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?nA(r.left+m,r.top+p,Math.max(0,s-m),Math.max(0,n-p),W.TOP_LEFT):new b(r.left+m,r.top+p),this.topRightPaddingBox=o>0||i>0?nA(r.left+Math.min(w,r.width-E),r.top+p,w>r.width+E?0:Math.max(0,o-E),Math.max(0,i-p),W.TOP_RIGHT):new b(r.left+r.width-E,r.top+p),this.bottomRightPaddingBox=a>0||l>0?nA(r.left+Math.min(F,r.width-m),r.top+Math.min(h,r.height-T),Math.max(0,a-E),Math.max(0,l-T),W.BOTTOM_RIGHT):new b(r.left+r.width-E,r.top+r.height-T),this.bottomLeftPaddingBox=c>0||B>0?nA(r.left+m,r.top+Math.min(H,r.height-T),Math.max(0,c-m),Math.max(0,B-T),W.BOTTOM_LEFT):new b(r.left+m,r.top+r.height-T),this.topLeftContentBox=s>0||n>0?nA(r.left+m+L,r.top+p+K,Math.max(0,s-(m+L)),Math.max(0,n-(p+K)),W.TOP_LEFT):new b(r.left+m+L,r.top+p+K),this.topRightContentBox=o>0||i>0?nA(r.left+Math.min(w,r.width+m+L),r.top+p+K,w>r.width+m+L?0:o-m+L,i-(p+K),W.TOP_RIGHT):new b(r.left+r.width-(E+V),r.top+p+K),this.bottomRightContentBox=a>0||l>0?nA(r.left+Math.min(F,r.width-(m+L)),r.top+Math.min(h,r.height+p+K),Math.max(0,a-(E+V)),l-(T+Z),W.BOTTOM_RIGHT):new b(r.left+r.width-(E+V),r.top+r.height-(T+Z)),this.bottomLeftContentBox=c>0||B>0?nA(r.left+m+L,r.top+H,Math.max(0,c-(m+L)),B-(T+Z),W.BOTTOM_LEFT):new b(r.left+m+L,r.top+r.height-(T+Z))}}var W;(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"})(W||(W={}));const nA=(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 W.TOP_LEFT:return new pe(new b(t,l),new b(t,l-i),new b(a-o,A),new b(a,A));case W.TOP_RIGHT:return new pe(new b(t,A),new b(t+o,A),new b(a,l-i),new b(a,l));case W.BOTTOM_RIGHT:return new pe(new b(a,A),new b(a,A+i),new b(t+o,l),new b(t,l));case W.BOTTOM_LEFT:default:return new pe(new b(a,l),new b(a-o,l),new b(t,A+i),new b(t,A))}},Xr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Df=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],Wr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class Ba{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Jr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class Of{constructor(A){this.opacity=A,this.type=2,this.target=6}}class Nt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const Rf=t=>t.type===0,ga=t=>t.type===1,Mf=t=>t.type===2,Nf=t=>t.type===3,da=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,_f=(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 ua{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class fa{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Kf(this.container),this.container.styles.opacity<1&&this.effects.push(new Of(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 Ba(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 Ba(s,n,o))}if(this.container.styles.overflowX!==0){const r=Xr(this.curves),s=Wr(this.curves);da(r,s)?this.effects.push(new Jr(r,6)):(this.effects.push(new Jr(r,2)),this.effects.push(new Jr(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Gf(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=>!ga(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=Xr(r.curves),i=Wr(r.curves);da(o,i)||s.unshift(new Jr(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>oA(n.target,A))}}const wa=(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),Gf=(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 Nt(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 Nt(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=wa(t.rx,o,e,e+s,s),l=wa(t.ry,i,r,r+n,n);return new Nt(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 Nt(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 Nt(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}},fn=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=oA(s.flags,4),o=oA(s.flags,2),i=new fa(s,t);oA(s.styles.display,2048)&&r.push(i);const a=oA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new ua(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,w)=>B>u.element.container.styles.zIndex.order?(f=w,!1):f>0),l.negativeZIndex.splice(f,0,c)}else if(B>0){let f=0;l.positiveZIndex.some((u,w)=>B>=u.element.container.styles.zIndex.order?(f=w+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);fn(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),fn(i,A,e,a);oA(s.flags,8)&&ha(s,a)})},ha=(t,A)=>{let e=t instanceof nn?t.start:1;const r=t instanceof nn?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof Xi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Rt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Vf=t=>{const A=new fa(t,null),e=new ua(A),r=[];return fn(A,e,e,r),ha(A.container,r),e},pa=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},_t=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))},kf=(t,A)=>t===0?A.bounds:t===2?_t(A):pa(A),Pf=(t,A)=>t===0?A.bounds:t===2?_t(A):pa(A),wn=(t,A,e)=>{const r=kf(ct(t.styles.backgroundOrigin,A),t),s=Pf(ct(t.styles.backgroundClip,A),t),n=Xf(ct(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=It(ct(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=Wf(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,Yr=t=>typeof t=="number",Xf=(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=Yr(r);if(R(n)&&(n.value===rt.CONTAIN||n.value===rt.COVER))return Yr(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=Yr(A),l=Yr(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 h=a?A:e*r,F=l?e:A/r;return[h,F]}const u=a?A:s.width,w=l?e:s.height;return[u,w]}if(i){let u=0,w=0;return J(n)?u=O(n,s.width):J(o)&&(w=O(o,s.height)),at(n)?u=w*r:(!o||at(o))&&(w=u/r),[u,w]}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},Wf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new b(Math.round(n.left),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(s+n.top+e)),new b(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new b(Math.round(n.left+A),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.height+n.top)),new b(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new b(Math.round(n.left+A),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e+s)),new b(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new b(Math.round(o.left),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.height+o.top)),new b(Math.round(o.left),Math.round(o.height+o.top))]}},Jf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Qa="Hidden Text";class Yf{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=Jf,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(Qa)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(Qa)),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 Ca{constructor(A,e){this.context=A,this.options=e}}class jf{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):bg(r)?this.renderLinearGradient(A,r,e):Ig(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]=wn(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]=wn(A,r,[null,null,null]),[l,c,B,f,u]=mg(e.angle,i,a),h=(this.canvas.ownerDocument??document).createElement("canvas");h.width=i,h.height=a;const F=h.getContext("2d"),H=F.createLinearGradient(c,f,B,u);if(ai(e.stops,l||1).forEach(p=>H.addColorStop(p.stop,tA(p.color))),F.fillStyle=H,F.fillRect(0,0,i,a),i>0&&a>0){const p=this.ctx.createPattern(h,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=wn(A,r,[null,null,null]),l=e.position.length===0?[Ge]:e.position,c=O(l[0],i),B=O(l[l.length-1],a);let[f,u]=Eg(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 w=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,f);if(ai(e.stops,f*2).forEach(h=>w.addColorStop(h.stop,tA(h.color))),this.path(s),this.ctx.fillStyle=w,f!==u){const h=A.bounds.left+.5*A.bounds.width,F=A.bounds.top+.5*A.bounds.height,H=u/f,p=1/H;this.ctx.save(),this.ctx.translate(h,F),this.ctx.transform(1,0,0,H,0,0),this.ctx.translate(-h,-F),this.ctx.fillRect(n,p*(o-F)+F,i,a*p),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===kA.PIXELATED||s===kA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===kA.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 Ua=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return YA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return YA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return YA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},zf=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return YA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return YA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return YA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Zf=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return YA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return YA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return YA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},$f=(t,A)=>{switch(A){case 0:return jr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return jr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return jr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return jr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},jr=(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},YA=(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 qf{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(Ua(r,e)),this.ctx.fillStyle=tA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=zf(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=tA(A),this.ctx.fill();const o=Zf(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=$f(s,r),i=Ua(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,w=e<3?e*2:e;n===3&&(u=e,w=e);let h=!0;if(f<=u*2)h=!1;else if(f<=u*2+w){const F=f/(2*u+w);u*=F,w*=F}else{const F=Math.floor((f+w)/(u+w)),H=(f-F*u)/(F-1),p=(f-(F+1)*u)/F;w=p<=0||Math.abs(w-H)<Math.abs(w-p)?H:p}if(h&&(n===3?this.ctx.setLineDash([0,u+w]):this.ctx.setLineDash([u,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=tA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(OA(i[0])){const F=i[3],H=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(F.end.x,F.end.y),new b(H.start.x,H.start.y)]),this.ctx.stroke()}if(OA(i[1])){const F=i[1],H=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(F.end.x,F.end.y),new b(H.start.x,H.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class Aw{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(),Mf(A)?this.ctx.globalAlpha=A.opacity:Rf(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)):ga(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Nf(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 ew=["-apple-system","system-ui"],tw=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,rw=t=>tw.test(t),sw=()=>{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},nw=t=>{const A=sw();return A!==null&&A>=15&&A<17?t.map(e=>ew.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class ow{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Nr(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(rw(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=tA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=tA(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=tA(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=Nr(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=nw(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(h=>{Math.abs(h.bounds.top-u)>=o*.5?(f.length>0&&B.push(f),f=[h],u=h.bounds.top):f.push(h)}),f.length>0&&B.push(f);const w=e.webkitLineClamp;if(B.length>w){for(let F=0;F<w-1;F++)B[F].forEach(H=>{this.renderTextBoundWithPaintOrder(H,e,n)});const h=B[w-1];if(h&&h.length>0&&r){const F=h.map(m=>m.text).join(""),H=h[0],p=r.width-(H.bounds.left-r.left),E=this.truncateTextWithEllipsis(F,p,e.letterSpacing),T=new Pe(E,H.bounds);n.forEach(m=>{switch(m){case 0:this.ctx.fillStyle=tA(e.color),e.letterSpacing===0?this.ctx.fillText(E,H.bounds.left,H.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,Z)=>this.ctx.fillText(K,V,Z));break;case 1:e.webkitTextStrokeWidth&&E.trim().length&&(this.ctx.strokeStyle=tA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(E,H.bounds.left,H.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,Z)=>this.ctx.strokeText(K,V,Z)),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(F=>F.text).join("");u=u.replace(/\s+/g," ").trim();const w=this.ctx.measureText(u).width,h=r.width;w>h&&(l=!0,c=this.truncateTextWithEllipsis(u,h,e.letterSpacing))}}if(l){const B=A.textBounds[0],f=new Pe(c,B.bounds);n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=tA(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,(h,F,H)=>this.ctx.fillText(h,F,H));const w=e.textShadow;w.length&&c.trim().length&&(w.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=tA(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,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(F,H,p)=>this.ctx.fillText(F,H,p))}),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=tA(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,(w,h,F)=>this.ctx.strokeText(w,h,F)),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=tA(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(w=>{this.ctx.shadowColor=tA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.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=tA(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,(w,h,F)=>this.ctx.strokeText(w,h,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const iw=1e4;class hn extends Ca{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 Yf(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 jf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new qf({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new Aw({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new ow({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(oA(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=_t(A),i=Wr(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,w=o.width,h=o.height;const{objectFit:F}=A.styles,H=w/h,p=c/B;if(F===2)p>H?(h=w/p,u+=(o.height-h)/2):(w=h*p,f+=(o.width-w)/2);else if(F===4)p>H?(c=B*H,a+=(s-c)/2):(B=c/H,l+=(n-B)/2);else if(F===8)c>w?(a+=(c-w)/2,c=w):(f+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(u+=(h-B)/2,h=B);else if(F===16){const E=p>H?w:h*p,T=c>w?c:w;E<T?p>H?(h=w/p,u+=(o.height-h)/2):(w=h*p,f+=(o.width-w)/2):(c>w?(a+=(c-w)/2,c=w):(f+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(u+=(h-B)/2,h=B))}this.ctx.drawImage(r,a,l,c,B,f,u,w,h),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=_t(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Vi)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===kA.PIXELATED||s.imageRendering===kA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===kA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===kA.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 ki&&this.renderReplacedElement(e,r,e.canvas),e instanceof Pi)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 ji&&e.tree){const i=await new hn(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 Kt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===_r?e.checked&&(this.ctx.save(),this.path([new b(e.bounds.left+o*.39363,e.bounds.top+o*.79),new b(e.bounds.left+o*.16,e.bounds.top+o*.5549),new b(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new b(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new b(e.bounds.left+o*.72983,e.bounds.top+o*.23),new b(e.bounds.left+o*.84,e.bounds.top+o*.34085),new b(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=tA(Wi),this.ctx.fill(),this.ctx.restore()):e.type===Gr&&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=tA(Wi),this.ctx.fill(),this.ctx.restore())}if(aw(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 Kt&&e.isPlaceholder;this.ctx.fillStyle=tA(c?Bf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=lw(e.styles.textAlign);const B=_t(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 Kt){const h=O(s.fontSize,0);u=(B.height-h)/2}const w=B.add(f,u,0,0);this.ctx.save(),this.path([new b(B.left,B.top),new b(B.left+B.width,B.top),new b(B.left+B.width,B.top+B.height),new b(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Pe(e.value,w),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(oA(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=tA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new IA(e.bounds.left,e.bounds.top+O(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ci(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Pe(A.listValue,i),s.letterSpacing,Ci(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(oA(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=!be(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=cw(ct(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),be(e.backgroundColor)||(this.ctx.fillStyle=tA(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=Xr(A.curves),l=i.inset?0:iw,c=_f(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=tA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?tA(i.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const i of s)i.style!==0&&!be(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=tA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Vf(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const aw=t=>t instanceof Yi||t instanceof Ji?!0:t instanceof Kt&&t.type!==Gr&&t.type!==_r,cw=(t,A)=>{switch(t){case 0:return Xr(A);case 2:return Df(A);default:return Wr(A)}},lw=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class Bw extends Ca{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=sn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await gw(e);return this.options.backgroundColor&&(this.ctx.fillStyle=tA(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 gw=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 Fa{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))}}Fa.instances={};class dw{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(Qn(A)||hw(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=!pn(A)&&this._options.useCORS===!0&&yA.SUPPORT_CORS_IMAGES&&!s,o=!pn(A)&&!s&&!Qn(A)&&typeof this._options.proxy=="string"&&yA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!pn(A)&&!Qn(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,(pw(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=yA.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 uw=/^data:image\/svg\+xml/i,fw=/^data:image\/.*;base64,/i,ww=/^data:image\/.*/i,hw=t=>yA.SUPPORT_SVG_DRAWING||!Qw(t),pn=t=>ww.test(t),pw=t=>fw.test(t),Qn=t=>t.substr(0,4)==="blob",Qw=t=>t.substr(-3).toLowerCase()==="svg"||uw.test(t);class Cw{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 zr{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${zr.instanceCount++}`,this.config=r,this.logger=new Fa({id:this.instanceName,enabled:A.logging}),this.originChecker=new Cw(r.window),this.cache=A.cache??r.cache??new dw(this,A)}}zr.instanceCount=1;class Gt{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 Gt({window:s,...e})}clone(A={}){return new Gt({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 mw(t={}){return new Fw({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class Ew{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 ma=(t,A={},e)=>{const r=e||Gt.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return Hw(t,A,r)},xw=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Uw(new Gt({window,cspNonce:t}))};ma.setCspNonce=xw;const yw=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)}})},Hw=async(t,A,e)=>{if(yw(A),!A.skipValidation){const $=A.validator||mw(),iA=$.validateElement(t);if(!iA.valid)throw new Error(iA.error);const q=$.validateOptions(A);if(!q.valid)throw new Error(`Invalid options: ${q.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 IA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),u=new zr(o,f,e),w=A.enablePerformanceMonitoring??A.logging??!1,h=new Ew(u,w);h.start("total",{width:B.windowWidth,height:B.windowHeight});const F=A.foreignObjectRendering??!1,H={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:F,copyStyles:F,cspNonce:A.cspNonce??e.cspNonce};u.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),h.start("clone");const p=new ca(u,t,H),E=p.clonedReferenceElement;if(!E)throw new Error("Unable to find element in cloned iframe");const T=await p.toIFrame(r,f);h.end("clone");const{width:m,height:K,left:V,top:Z}=on(E)||wf(E)?Oc(E.ownerDocument):er(u,E),L=bw(u,E,A.backgroundColor),FA={canvas:A.canvas,backgroundColor:L,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+V,y:(A.y??0)+Z,width:A.width??Math.ceil(m),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let wA,fA;try{return F?(u.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),wA=await new Bw(u,FA).render(E),h.end("render-foreignobject")):(u.logger.debug(`Document cloned, element located at ${V},${Z} with size ${m}x${K} using computed rendering`),u.logger.debug("Starting DOM parsing"),h.start("parse"),fA=Zi(u,E),h.end("parse"),L===fA.styles.backgroundColor&&(fA.styles.backgroundColor=ae.TRANSPARENT),u.logger.debug(`Starting renderer for element at ${FA.x},${FA.y} with size ${FA.width}x${FA.height}`),h.start("render"),wA=await new hn(u,FA).render(fA),h.end("render")),h.start("cleanup"),(A.removeContainer??!0)&&(ca.destroy(T)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),u.logger.debug("Finished rendering"),w&&h.logSummary(),wA}finally{fA&&fA.restoreTree()}},bw=(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?be(s)?be(n)?o:n:s:o},Vt=2147483647,Cn=Vt-1,Un=Vt-1,Iw=Vt-10,vw=Vt-5,Sw=Vt-15,le="data-vg-pin-id",Lw=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Ea=(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""}},xa=({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 d.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:e,onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[d.jsx(bc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:117",size:e?.fontSize?parseInt(e.fontSize)+1:10}),d.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})]})},kt=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(" > ")}},Tw=t=>{const{vgPath:A}=kt(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()}},Kw=(()=>{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}})(),Dw=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]=Kw(n)}),e},Ow=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"},Fn=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))},Te=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)},ya=(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=ya(t,n);if(o)return o}}return null},Ha=(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},Rw=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(!Zr(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}=kt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},Zr=(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)},ba=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${le}="${A}"]`));if(o.length>0){const i=o.filter(a=>Zr(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(le));else{const a=i.find(c=>{const{vgPath:B}=kt(c);return B===t.vgPath||t.fingerprint?.vgPath===B}),l=a&&Te(a)?a:i.find(c=>!(!Te(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=>Zr(o,t));let s=r.find(o=>{const{vgPath:i}=kt(o);return i===t.vgPath||t.fingerprint?.vgPath===i})||r[0]||null;if(s&&Te(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=ya(o);if(i&&Zr(i,t)&&Te(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=Rw(t);return n&&Te(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},mn=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}),Mw=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>mn(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:{...mn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:mn(A),siblings:e}},Ia=(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=Ow(t),{selector:n,fallbacks:o,vgPath:i}=kt(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(Fn(f))return!0;f=f.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=Ia(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:Mw(t),fingerprint:Tw(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:Dw(t),viewportBreakpoint:Lw(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},va=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,dashboardUrl:n,disableViewGate:o,hasActiveToasts:i}=lo(),a=U.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[]),[l,c]=U.useState(typeof window<"u"?window.location.pathname:"/");U.useEffect(()=>{const g=()=>c(window.location.pathname);window.addEventListener("popstate",g);const x=window.history.pushState,Q=window.history.replaceState;return window.history.pushState=function(...I){x.apply(this,I),g()},window.history.replaceState=function(...I){Q.apply(this,I),g()},()=>{window.removeEventListener("popstate",g),window.history.pushState=x,window.history.replaceState=Q}},[]);const[B,f]=U.useState(!1),[u,w]=U.useState("medium"),[h,F]=U.useState("medium"),[H,p]=U.useState("all"),[E,T]=U.useState(null),[m,K]=U.useState(null),[V,Z]=U.useState(""),[L,FA]=U.useState(!1),[wA,fA]=U.useState(!1),[$,iA]=U.useState(!1),[q,jA]=U.useState([]),[LA,HA]=U.useState(null),[lt,Be]=U.useState(!1),[C,D]=U.useState({}),[M,Y]=U.useState(null),[PA,Ae]=U.useState(!1),[k,RA]=U.useState(null),[XA,Qe]=U.useState(null),[rA,Bt]=U.useState(typeof window<"u"?localStorage.getItem("vg_token"):null),xn=U.useMemo(()=>s?s.endsWith("/")?s.slice(0,-1):s:"",[s]),ee=g=>{const x=xn,Q=g.startsWith("/")?g:`/${g}`;return x.endsWith("/api")&&Q.startsWith("/api/")?`${x}${Q.substring(4)}`:!x.endsWith("/api")&&!Q.startsWith("/api/")?`${x}/api${Q}`:`${x}${Q}`};U.useEffect(()=>{rA&&!XA&&(async()=>{try{const x=await fetch(ee("/auth/me"),{headers:{"x-api-key":r,Authorization:`Bearer ${rA}`}});if(x.ok){const Q=await x.json();Qe(Q)}else x.status===401&&(Bt(null),localStorage.removeItem("vg_token"))}catch(x){console.error("ViewGate Initial Auth Error:",x)}})()},[rA]),U.useEffect(()=>{const g=x=>{if(x.data?.type==="VIEWGATE_AUTH_SUCCESS"){const{token:Q,user:I}=x.data;Bt(Q),Qe(I),localStorage.setItem("vg_token",Q),t(A==="es"?"Sesión iniciada":"Logged in","success")}};return window.addEventListener("message",g),()=>window.removeEventListener("message",g)},[A,t]),U.useEffect(()=>{if(!n||typeof window>"u")return;const g="vg-auth-bridge-frame";let x=document.getElementById(g);x||(x=document.createElement("iframe"),x.id=g,x.src=`${n}/vg-auth-bridge.html`,x.style.display="none",document.body.appendChild(x));const Q=async P=>{if(P.data?.type==="VG_AUTH_TOKEN_FOUND"){const{token:X}=P.data;if(rA===X&&XA)return;try{const v=await fetch(ee("/auth/me"),{headers:{"x-api-key":r,Authorization:`Bearer ${X}`}});if(v.ok){const QA=await v.json();Bt(X),Qe(QA),localStorage.setItem("vg_token",X),t(A==="es"?"Sesión detectada automáticamente":"Auto-session detected","success")}}catch(v){console.error("ViewGate Bridge Auth Error:",v)}}else P.data?.type==="VG_AUTH_NOT_FOUND"&&rA&&(Bt(null),Qe(null),localStorage.removeItem("vg_token"),t(A==="es"?"Sesión finalizada":"Session ended","error"))};window.addEventListener("message",Q);const I=()=>{x&&x.contentWindow&&x.contentWindow.postMessage({type:"VG_CHECK_AUTH"},"*")};window.addEventListener("focus",I);const N=setInterval(I,1e4);return()=>{window.removeEventListener("message",Q),window.removeEventListener("focus",I),clearInterval(N)}},[n,s,r,A,t,rA]);const Pt=()=>{const Q=window.screenX+(window.outerWidth-500)/2,I=window.screenY+(window.outerHeight-700)/2;window.open(ee("/auth/google"),"viewgate-auth",`width=500,height=700,left=${Q},top=${I},scrollbars=yes`)},yn=U.useCallback(async g=>{const x={"x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},Q=typeof window<"u"?localStorage.getItem("vg_token"):rA;Q&&!x.Authorization&&(x.Authorization=`Bearer ${Q}`);const I=await fetch(g,{headers:x});if(!I.ok){const N=await I.json().catch(()=>({}));throw new Error(N.message||N.error||"Fetch failed")}return I.json()},[r]),j=U.useMemo(()=>a?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[a]),{data:sA,isLoading:cA}=Ao(r?ee("/projects/active-sprint"):null,yn,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:AA,isLoading:mA,mutate:hA}=Ao(r&&(sA||a)?`${ee("/annotations")}?status=${j}`:null,yn,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[eA,MA]=U.useState(null),Ke=U.useRef(q);Ke.current=q;const[lA,We]=U.useState(null),Xt=U.useRef(null),[pA,te]=U.useState([]),Je=U.useMemo(()=>{let g=Array.isArray(q)?q:[];if(M){const Q=pA.find(I=>I.annotations&&Array.isArray(I.annotations)&&I.annotations.some(N=>N._id===M));Q?g=Q.annotations:g=g.filter(I=>I._id===M)}return g=g.filter(Q=>Q.status!=="completed"&&Q.status!=="done"),window.location.href.includes("viewgate-backlog")||(lA==="pending"?g=g.filter(Q=>Q.status!=="ready_for_review"):lA==="ready"&&(g=g.filter(Q=>Q.status==="ready_for_review"))),H!=="all"&&(g=g.filter(Q=>(Q.priority||"medium")===H)),g},[M,q,pA,lA,H]);U.useEffect(()=>{M&&Je.length===0&&!mA&&Y(null)},[M,Je.length,mA]);const[De,Wt]=U.useState(()=>{if(typeof window>"u")return{top:24,right:24};const g=localStorage.getItem("vg-exit-pos");return g?JSON.parse(g):{top:24,right:24}}),[Jt,Sa]=U.useState(!1),Ce=U.useRef(null),[gt,Gw]=U.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const g=localStorage.getItem("vg-bar-pos");return g?JSON.parse(g):{bottom:30,right:30}}),[Yt,La]=U.useState(!1),Ue=U.useRef(null),Vw=g=>{g.preventDefault(),g.stopPropagation();const x=g.currentTarget.parentElement?.getBoundingClientRect();x&&(Sa(!0),Ce.current={x:g.clientX,y:g.clientY,top:De.top,right:De.right,width:x.width,height:x.height})},kw=g=>{g.preventDefault(),g.stopPropagation();const x=g.currentTarget.parentElement?.getBoundingClientRect();x&&(La(!0),Ue.current={x:g.clientX,y:g.clientY,bottom:gt.bottom,right:gt.right,width:x.width,height:x.height})};U.useEffect(()=>{if(!Jt&&!Yt)return;const g=Q=>{if(Jt&&Ce.current){const I=Q.clientX-Ce.current.x,N=Q.clientY-Ce.current.y;let P=Ce.current.top+N,X=Ce.current.right-I;const v=10;P=Math.max(v,Math.min(window.innerHeight-Ce.current.height-v,P)),X=Math.max(v,Math.min(window.innerWidth-Ce.current.width-v,X)),Wt({top:P,right:X})}if(Yt&&Ue.current){const I=Q.clientX-Ue.current.x,N=Q.clientY-Ue.current.y;let P=Ue.current.bottom-N,X=Ue.current.right-I;const v=10;P=Math.max(v,Math.min(window.innerHeight-Ue.current.height-v,P)),X=Math.max(v,Math.min(window.innerWidth-Ue.current.width-v,X)),Gw({bottom:P,right:X})}},x=()=>{Jt&&(Sa(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(De)),Ce.current=null),Yt&&(La(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(gt)),Ue.current=null)};return window.addEventListener("mousemove",g),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",x)}},[Jt,Yt,De,gt]);const[Hn,bn]=U.useState(null),[Ta,Ka]=U.useState(""),[uh,fh]=U.useState({}),$r=U.useRef(null),dt=U.useRef(null),jt=U.useCallback(()=>{typeof window>"u"||(dt.current&&cancelAnimationFrame(dt.current),dt.current=requestAnimationFrame(()=>{dt.current=null;const g=Ke.current,x=Array.isArray(g)?g:[],Q=new Set(x.map(z=>z._id));document.querySelectorAll(`[${le}]`).forEach(z=>{const SA=z.getAttribute(le);SA&&!Q.has(SA)&&z.removeAttribute(le)});const N=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(z=>Fn(z)&&Te(z)),P=!!N,X=new Map,v=new Map;x.forEach(z=>{if(!z||!z.reference)return;try{const UA=window.location.pathname;if(new URL(z.url).pathname!==UA)return}catch{return}const SA=!!z.reference.metadata?.isModal,re=z.reference.metadata?.triggerReference;let CA=ba(z.reference,z._id),_A=!1;if(re){const UA=ba(re);UA&&Te(UA)&&(CA=UA,_A=!0)}if(!CA||!Te(CA))return;let TA=!1;if(P?TA=N.contains(CA):_A?TA=!0:TA=!SA,!TA)return;const ge=CA.getAttribute(le);ge!==z._id&&(document.querySelectorAll(`[${le}="${z._id}"]`).forEach(UA=>{UA.removeAttribute(le)}),ge||CA.setAttribute(le,z._id));const zA=_A?X:v;zA.has(CA)||zA.set(CA,{anns:[]}),zA.get(CA).anns.push(z)});const QA=[],NA=(z,SA)=>{z.forEach((re,CA)=>{const{anns:_A}=re,TA=CA.getBoundingClientRect(),ge=TA.left+TA.width/2,zA=TA.top+TA.height/2;if(ge>=0&&ge<=window.innerWidth&&zA>=0&&zA<=window.innerHeight){const UA=document.elementFromPoint(ge,zA),Oe=document.getElementById("viewgate-shadow-host");if(UA&&!CA.contains(UA)&&UA!==Oe&&!Oe?.contains(UA))return}QA.push({id:_A[0]._id+(SA?"_trig":""),element:CA,rect:TA,annotations:_A.sort((UA,Oe)=>new Date(Oe.timestamp||Oe.createdAt).getTime()-new Date(UA.timestamp||UA.createdAt).getTime()),isModal:!!_A[0].reference?.metadata?.isModal,isTriggerPin:SA})})};NA(X,!0),NA(v,!1),te(QA)}))},[]);U.useEffect(()=>{if(AA){const g=Array.isArray(AA)?AA:AA?.data||[];if(Array.isArray(g)){const x=g.reduce((Q,I)=>Q.find(P=>P._id===I._id)?Q:Q.concat([I]),[]);jA(x)}}else mA||jA([])},[AA,mA]),U.useEffect(()=>{RA(sA||null)},[sA]),U.useEffect(()=>{$&&q.length===0&&!mA&&iA(!1)},[$,q.length,mA]),U.useEffect(()=>{jt();const g=new MutationObserver(()=>jt()),x=new ResizeObserver(()=>jt()),Q=()=>jt();return g.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),x.observe(document.documentElement),window.addEventListener("scroll",Q,!0),()=>{g.disconnect(),x.disconnect(),window.removeEventListener("scroll",Q,!0),dt.current&&cancelAnimationFrame(dt.current)}},[B,q,jt,$,M,l]);const In=U.useCallback(g=>{let x=g;for(;x&&x!==document.body;){if(Fn(x))return x;x=x.parentElement}return null},[]);U.useEffect(()=>{const g=x=>{const Q=x.target;Q&&(In(Q)||(Xt.current=Q))};return window.addEventListener("mousedown",g,!0),()=>window.removeEventListener("mousedown",g,!0)},[In]),U.useEffect(()=>{$r.current=document.getElementById("viewgate-shadow-host")},[]);const vn=U.useCallback(g=>{if(!B||m)return;const x=Ha(g.clientX,g.clientY);if(!x||$r.current?.contains(x)||x.closest(".vg-no-capture")){T(null);return}const Q=x.getBoundingClientRect();T({tag:x.tagName.toLowerCase(),source:x.getAttribute("data-source-path")||"unknown:0",rect:Q,element:x,previewText:(x.innerText||"").slice(0,100)||(x.getAttribute("placeholder")||"").slice(0,100)||x.tagName.toLowerCase(),semanticReference:{...Ia(x,Xt.current),normalizedOffset:{x:(g.clientX-Q.left)/Q.width,y:(g.clientY-Q.top)/Q.height}}})},[B,m]),Sn=U.useCallback(async g=>{if(!B||m)return;const x=Ha(g.clientX,g.clientY);if(!(!x||$r.current?.contains(x)||x.closest(".vg-no-capture"))&&E){g.preventDefault(),g.stopPropagation(),fA(!0);try{const Q=E.element,I=Q.getBoundingClientRect(),N=In(Q)||document.body,P=N.getBoundingClientRect(),X=await ma(N,{scale:2,useCORS:!0,logging:!1,backgroundColor:"#ffffff",ignoreElements:SA=>$r.current?.contains(SA)||SA.id==="viewgate-shadow-host"}),v=document.createElement("canvas"),QA=v.getContext("2d"),NA=I.left-P.left,z=I.top-P.top;v.width=I.width*2,v.height=I.height*2,QA?(QA.drawImage(X,NA*2,z*2,I.width*2,I.height*2,0,0,I.width*2,I.height*2),v.toBlob(async SA=>{if(SA){const re=new FileReader;re.onloadend=()=>{K({...E,visualPreview:re.result})},re.readAsDataURL(SA)}else K(E)},"image/webp",.85)):K(E)}catch(Q){console.error("Failed to capture high-fidelity preview:",Q),K(E)}finally{fA(!1),T(null)}}},[B,E,m]);U.useEffect(()=>{const g=x=>{if(x.key==="Escape"){m?K(null):$?iA(!1):B&&f(!1);return}const I=(()=>{let X=document.activeElement;for(;X&&X.shadowRoot&&X.shadowRoot.activeElement;)X=X.shadowRoot.activeElement;return X})();if(["input","textarea"].includes((I?.tagName||"").toLowerCase())||I?.isContentEditable)return;const P=x.key.toLowerCase();if(P==="c"&&!m&&!$){if(!(k&&k.status!=="closed")&&!a&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(v=>!v)}P==="v"&&!m&&(q.length>0||$)&&(iA(X=>!X),$||f(!1))};return B&&!m?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",g),window.addEventListener("mousemove",vn,!0),window.addEventListener("click",Sn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",g),window.removeEventListener("mousemove",vn,!0),window.removeEventListener("click",Sn,!0)}},[B,m,$,q,vn,Sn]);const Pw=async()=>{if(!m||!V.trim())return;if(!rA){Pt(),t(A==="es"?"Inicia sesión para comentar":"Please login to comment","error");return}FA(!0);const{semanticReference:g}=m,[x,Q]=(g.source||"").split(":"),I=Q||"0";try{const N=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},body:JSON.stringify({filePath:x,line:parseInt(I),url:window.location.href,title:V.length>50?V.substring(0,50)+"...":V,message:V,status:a?"backlog":"pending",priority:u,screenshot:m.visualPreview,componentName:g.componentPath||m.tag,reference:{...g,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}})});if(!N.ok){const P=await N.json().catch(()=>({}));throw new Error(P.message||P.error||"Backend failed")}t(e.success,"success"),K(null),Z(""),f(!1),hA()}catch(N){console.error(N);const P=N.message&&N.message!=="Backend failed"?N.message:e.error;t(P,"error")}finally{FA(!1)}};return d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1691",className:"vg-container",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1692",className:"vg-no-capture",children:[!i&&d.jsxs("div",{style:{position:"fixed",top:`${De.top}px`,right:`${De.right}px`,zIndex:Cn+10,display:"flex",alignItems:"center",gap:"8px",transition:Jt?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsx("div",{onMouseDown:Vw,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:B?0:1,visibility:B?"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:g=>{g.currentTarget.style.backgroundColor="white",g.currentTarget.style.color="#000000"},onMouseLeave:g=>{g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",g.currentTarget.style.color="#1e293b"},children:d.jsx(no,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1736",size:14})}),d.jsx("button",{onClick:g=>{g.stopPropagation(),HA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>o()})},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:g=>{g.currentTarget.style.transform="scale(1.1) rotate(90deg)",g.currentTarget.style.color="#ef4444",g.currentTarget.style.backgroundColor="white"},onMouseLeave:g=>{g.currentTarget.style.transform="scale(1) rotate(0deg)",g.currentTarget.style.color="#64748b",g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)"},children:d.jsx(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1776",size:20,strokeWidth:2.5})})]}),d.jsxs("div",{style:{position:"fixed",bottom:`${gt.bottom}px`,right:`${gt.right}px`,zIndex:Cn,display:"flex",alignItems:"center",gap:"8px",transition:Yt?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[d.jsx("div",{onMouseDown:kw,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:B?0:1,visibility:B?"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:g=>{g.currentTarget.style.backgroundColor="white",g.currentTarget.style.color="#000000"},onMouseLeave:g=>{g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",g.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:d.jsx(no,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1825",size:16})}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1828",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsx("button",{onClick:()=>{if(!k&&!a&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(!B)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:B?"#ef4444":!k&&!a?"#94a3b8":void 0,cursor:!k&&!a&&!B?"not-allowed":"pointer",opacity:!k&&!a&&!B?.7:1},title:!k&&!a&&!B?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1846",style:{display:"flex",alignItems:"center",gap:"10px"},children:[B?d.jsx(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1847",size:20,className:"vg-animate-pop"}):d.jsx(Ar,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1847",size:20,className:"vg-animate-pop"}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1848",children:B?e.exitMode:e.enterMode})]})}),q.length>0&&d.jsxs("button",{onClick:()=>{iA(!$),f(!1),K(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[d.jsx(Hc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1861",size:20}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1862",children:e.viewComments})]})]})]}),wA&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1870",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:Cn+1,cursor:"wait"},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1876",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1877",className:"vg-spinner"}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1878",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),B&&!m&&d.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:E?`polygon(
|
|
13
13
|
0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
|
|
14
14
|
${E.rect.left}px ${E.rect.top}px,
|
|
15
15
|
${E.rect.right}px ${E.rect.top}px,
|
|
16
16
|
${E.rect.right}px ${E.rect.bottom}px,
|
|
17
17
|
${E.rect.left}px ${E.rect.bottom}px,
|
|
18
18
|
${E.rect.left}px ${E.rect.top}px
|
|
19
|
-
)`:"none",zIndex:Hw}}),B&&E&&!m&&!wA&&g.jsx("div",{className:"vg-selection-pulse",style:{top:E.rect.top-4,left:E.rect.left-4,width:E.rect.width+8,height:E.rect.height+8,zIndex:bw},children:g.jsxs("div",{className:"vg-selection-label",style:{...E.rect.top<60?E.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...E.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[g.jsx(bc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1878",size:16}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1879",style:{display:"flex",flexDirection:"column"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1880",style:{fontWeight:700},children:e.selectToComment}),g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1881",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(E.rect.width)," × ",Math.round(E.rect.height)]})]})]})}),m&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1891",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:Fn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1896",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:1900",style:{textAlign:"center",marginBottom:"32px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1901",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(Zt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1906",size:24})}),g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1908",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:1909",style:{margin:0,color:"#000000",fontSize:"15px"},children:e.feedbackSubheader})]}),m.visualPreview&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1913",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:m.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"350px",objectFit:"contain",display:"block"}})}),g.jsx("textarea",{className:"vg-textarea",value:V,onChange:d=>q(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:1940",style:{marginBottom:"24px"},children:[g.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1941",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1944",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>g.jsx("button",{onClick:()=>w(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:u===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:u===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:u===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:1970",style:{display:"flex",gap:"12px"},children:[g.jsx("button",{onClick:()=>!L&&K(null),className:"vg-button-ghost",disabled:L,style:{flex:1,padding:"12px"},children:e.cancel}),g.jsx("button",{onClick:Vw,className:"vg-button-primary",disabled:L||!V.trim(),style:{flex:2},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1985",style:{display:"flex",alignItems:"center",gap:"8px"},children:[L?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1986",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):g.jsx(oo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1986",size:18}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1987",children:L?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),AA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1997",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:Fn},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2003",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:2008",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2009",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2010",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:M?e.commentDetails:e.annotations}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2013",style:{display:"flex",alignItems:"center",gap:"12px"},children:[Ae?g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2015",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[Ae.avatar?g.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2017",src:Ae.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2019",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:Ae.name?.[0]}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2023",style:{fontSize:"12px",fontWeight:600,color:"#4338ca"},children:Ae.name})]}):g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2026",className:"vg-button-primary",style:{padding:"6px 12px",fontSize:"12px"},onClick:jr,children:e.login||"Login"}),g.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{iA(!1),j(null),le(null),p("all")},children:g.jsx(Qs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2039",size:20})})]})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2043",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(eA)?eA:[],H=M?pe.find(v=>v.annotations?.some(hA=>hA._id===M)):null,I=(H?H.annotations:d).filter(v=>v.status!=="completed"&&v.status!=="done"),N=I.filter(v=>v.status!=="ready_for_review").length,P=I.filter(v=>v.status==="ready_for_review").length,X=I.length;return X<=0?X===0?null:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2057",style:{display:"flex",gap:"8px",opacity:.9},children:[N>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2059",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[N," ",N===1?"pendiente":"pendientes"]}),P>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2064",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[P," ",A==="es"?P===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):g.jsxs(g.Fragment,{children:[!a&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2075",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[g.jsx("div",{className:"vg-segmented-slider",style:{left:Z===null?"4px":Z==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:Z===null?"var(--vg-primary)":Z==="pending"?"#ea580c":"#a855f7",boxShadow:Z===null?"0 4px 12px rgba(99, 102, 241, 0.3)":Z==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),g.jsxs("div",{onClick:()=>le(null),className:`vg-segmented-item ${Z===null?"active":""}`,children:[e.viewAll||"Todos"," (",X,")"]}),g.jsxs("div",{onClick:()=>le("pending"),className:`vg-segmented-item ${Z==="pending"?"active":""}`,children:[A==="es"?N===1?"Pendiente":"Pendientes":"Pending"," (",N,")"]}),g.jsxs("div",{onClick:()=>le("ready"),className:`vg-segmented-item ${Z==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",P,")"]})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2106",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:a?"0":"4px"},children:[g.jsxs("button",{onClick:()=>p("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:y==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:y==="all"?"var(--vg-primary)":"transparent",color:y==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",I.filter(v=>a?!0:Z==="pending"?v.status!=="ready_for_review":Z==="ready"?v.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(v=>{const hA=I.filter(NA=>a?!0:Z==="pending"?NA.status!=="ready_for_review":Z==="ready"?NA.status==="ready_for_review":!0).filter(NA=>(NA.priority||"medium")===v).length;return hA===0&&y!==v?null:g.jsxs("button",{onClick:()=>p(v),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:y===v?v==="low"?"#10b981":v==="medium"?"#6366f1":v==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:y===v?v==="low"?"#ecfdf5":v==="medium"?"#eef2ff":v==="high"?"#fffbeb":"#fef2f2":"transparent",color:y===v?v==="low"?"#059669":v==="medium"?"#4338ca":v==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[v]," (",hA,")"]},v)})]})]})})()})]}),g.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:Y?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2172",style:{display:"flex",justifyContent:"center",padding:"40px"},children:g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2173",className:"vg-spinner"})}):IA.map((d,H)=>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:`${H*.05}s`},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2188",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2189",style:{display:"flex",gap:"12px",alignItems:"center"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2190",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:ma(d.timestamp||d.createdAt||d.reference?.timestamp,A)}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2193",onClick:C=>{C.stopPropagation();const I=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(I);const N=C.currentTarget;N.innerText="¡Copiado!",N.style.color="#22c55e",setTimeout(()=>{N.innerText=I,N.style.color=a?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:a?"#64748b":"#6366f1",background:a?"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:2222",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:a?"#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(Ea,{url:d.url,onHover:TA,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:2250",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2251",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:2254",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2255",size:14})," ",e.readyForReview]}):d.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2258",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[g.jsx(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2259",size:14})," ","Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2262",className:"vg-badge",style:{backgroundColor:a||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:a||d.status==="backlog"?"#64748b":"#ea580c",border:a||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2267",size:14}),a||d.status==="backlog"?e.backlog:e.pending]})]}),yn===d._id?g.jsx("textarea",{className:"vg-textarea",value:Sa,onChange:C=>La(C.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px"}}):g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2283",style:{marginBottom:"20px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2284",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2285",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:2299",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:2303",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:2305",style:{display:"flex",gap:"6px"},children:yn!==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(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2316",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{Hn(d._id),La(d.message),F(d.priority||"medium")},title:e.edit,children:g.jsx(Ic,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2328",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{xA({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,...cA?{Authorization:`Bearer ${cA}`}:{}}})).ok&&(z(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{xA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:g.jsx(io,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2358",size:16})})]})}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2365",style:{display:"flex",gap:"8px"},children:yn===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,...cA?{Authorization:`Bearer ${cA}`}:{}},body:JSON.stringify({message:Sa,priority:h})})).ok&&(Hn(null),z(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2394",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(C=>g.jsx("button",{onClick:()=>F(C),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===C?C==="low"?"#10b981":C==="medium"?"#6366f1":C==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===C?C==="low"?"#ecfdf5":C==="medium"?"#eef2ff":C==="high"?"#fffbeb":"#fef2f2":"white",color:h===C?C==="low"?"#059669":C==="medium"?"#4338ca":C==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[C]},C))}),g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2417",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>Hn(null),children:e.cancel})]}):g.jsxs(g.Fragment,{children:[!a&&(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:()=>{xA({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,...cA?{Authorization:`Bearer ${cA}`}:{}},body:JSON.stringify({status:"ready_for_review"})})).ok&&(z(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{xA(null)}}})},children:[g.jsx(oo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2450",size:14})," ",e.markReady]}),!a&&d.status==="ready_for_review"&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2454",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:()=>{xA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",onConfirm:async()=>{try{const C=d.originalStatus||(d.screenshot?"bug_fixing":"pending");(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,...cA?{Authorization:`Bearer ${cA}`}:{}},body:JSON.stringify({status:C})})).ok&&(z(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{xA(null)}}})},children:[g.jsx(vc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2488",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:()=>{xA({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,...cA?{Authorization:`Bearer ${cA}`}:{}},body:JSON.stringify({status:"completed"})})).ok&&(z(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{xA(null)}}})},children:[g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2518",size:14})," ",e.completed]})]})]})})]})]},d._id))},M||"all")]})}),LA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2537",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:Fn+100},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2542",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:2549",style:{width:"64px",height:"64px",background:LA.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:LA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:LA.type==="danger"?g.jsx(io,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2558",size:32}):g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2558",size:32})}),g.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2560",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:LA.title}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2561",style:{margin:"0 0 32px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:LA.message}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2562",style:{display:"flex",gap:"16px"},children:[g.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!PA&&xA(null),disabled:PA,children:e.no}),g.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:LA.type==="danger"?"#ef4444":void 0,backgroundImage:LA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px"},disabled:PA,onClick:async()=>{qA(!0);try{await LA.onConfirm()}catch(d){console.error("Confirmation error:",d)}finally{qA(!1)}},children:PA?g.jsx(Hc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2596",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!AA&&!B&&pe.map((d,H)=>{const{rect:C,annotations:I,isModal:N}=d,P=I[0],X=I.length,v=I.some(S=>S.status==="ready_for_review"),hA=I.some(S=>S.status==="completed"||S.status==="done"),NA=I.some(S=>S.status!=="ready_for_review"&&S.status!=="completed"&&S.status!=="done"),$=hA&&!v&&!NA,SA=v&&!NA&&!hA,ee=(v||hA)&&!NA,pA=(v||hA)&&NA,_A=I.filter(S=>S.status!=="ready_for_review"&&S.status!=="completed"&&S.status!=="done").length,KA=I.filter(S=>S.status==="ready_for_review").length,Be=I.filter(S=>S.status==="completed"||S.status==="done").length,jA=I.some(S=>S.status==="bug_fixing"),QA=_A>0?jA?"#f43f5e":a?"#64748b":"#ea580c":KA>0?"#a855f7":"#10b981",Oe=pe.some(S=>S.element===d.element&&S.isTriggerPin),kw=pe.some(S=>S.element===d.element&&!S.isTriggerPin),Ta=Oe&&kw?d.isTriggerPin?-18:18:0,Ka=C.top===0&&C.left===0&&C.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,C.top-20)),left:Ka?Math.max(20,C.left+40+Ta):Math.max(20,Math.min(window.innerWidth-52,C.left+C.width/2-16+Ta)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Iw},onMouseEnter:S=>{const Je=S.currentTarget.getBoundingClientRect(),Da=window.innerHeight-Je.bottom,Pw=Je.top;Da<250&&Pw>Da?D(Sn=>({...Sn,[d.id]:"vg-top"})):D(Sn=>({...Sn,[d.id]:""}))},onWheel:S=>{const Je=S.currentTarget.querySelector(".vg-tooltip-scroll");Je&&Je.scrollBy({top:S.deltaY,behavior:"smooth"})},onClick:()=>{iA(!0),j(P._id)},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2671",className:`vg-pin-tooltip ${Q[d.id]||""} ${Ka||C.left<160?"vg-tooltip-right":C.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2672",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2673",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?g.jsx(no,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2675",size:14,color:QA}):g.jsx(Zt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2677",size:14,color:QA}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2679",style:{display:"flex",gap:"4px"},children:[_A>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2681",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":"#fff7ed",color:a?"#64748b":"#c2410c"},children:[_A," ",a||P.status==="backlog"?"Backlog":A==="es"?_A===1?e.pending:"Pendientes":"pending"]}),KA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2690",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[KA," ",A==="es"?KA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),Be>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2702",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[Be," ",A==="es"?Be===1?"Completado":"Completados":"completed"]}),I.some(S=>S.status==="bug_fixing")&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2714",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),N&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2728",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":pA?`linear-gradient(90deg, #ea580c 50%, ${hA?"#10b981":"#a855f7"} 50%)`:_A>0?"#fff7ed":$?"#ecfdf5":"#f3e8ff",color:a?"#64748b":pA?"#ffffff":_A>0?"#c2410c":$?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:pA&&!a?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2740",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:I.map((S,Je)=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2742",style:{padding:"10px 0",borderTop:Je===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2749",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2750",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:ma(S.timestamp||S.createdAt,A)}),S.url&&g.jsx(Ea,{url:S.url,onHover:TA,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:2772",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:S.message.length>100?S.message.slice(0,97)+"...":S.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2776",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:2777",style:{fontSize:"8px",fontWeight:800,color:S.priority==="low"?"#059669":S.priority==="urgent"?"#b91c1c":S.priority==="high"?"#b45309":"#4338ca",backgroundColor:S.priority==="low"?"#ecfdf5":S.priority==="urgent"?"#fef2f2":S.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:S.priority==="low"?"#d1fae5":S.priority==="urgent"?"#fee2e2":S.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[S.priority||"medium"]}),S.status==="completed"||S.status==="done"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2791",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:2804",size:10}),e.completed]}):S.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2808",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:2821",size:10}),e.readyForReview]}):S.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2825",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(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2838",size:10}),"Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2842",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:a||S.status==="backlog"?"#64748b":"#ea580c",background:a||S.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:a||S.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx(to,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2855",size:10}),a||S.status==="backlog"?e.backlog:e.pending]})]})]},S._id))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2865",className:`vg-formal-pin ${$?"completed":SA||ee?"ready":jA?"bug":pA?"mixed":a?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:jA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":pA?hA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[SA||$||ee?g.jsx(Fe,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:18}):jA?g.jsx(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:18}):d.isTriggerPin?g.jsx(no,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:16}):N?g.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:16}):g.jsx(Zt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:16}),X>1&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2875",className:"vg-pin-badge vg-animate-pop",children:X})]})]},`group-${d.id}`)}),g.jsx("div",{className:`vg-url-tooltip ${UA?"visible":""} ${UA?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:UA?`translate(-50%, ${UA.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:UA?.x||0,top:UA?.y||0},children:UA?.url})]})})};function xn(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:Iw}}),B&&E&&!m&&!wA&&d.jsx("div",{className:"vg-selection-pulse",style:{top:E.rect.top-4,left:E.rect.left-4,width:E.rect.width+8,height:E.rect.height+8,zIndex:vw},children:d.jsxs("div",{className:"vg-selection-label",style:{...E.rect.top<60?E.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...E.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[d.jsx(vc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1930",size:16}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1931",style:{display:"flex",flexDirection:"column"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1932",style:{fontWeight:700},children:e.selectToComment}),d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1933",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(E.rect.width)," × ",Math.round(E.rect.height)]})]})]})}),m&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1943",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:Un},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1948",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"500px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1952",style:{textAlign:"center",marginBottom:"32px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1953",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:d.jsx(Ar,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1958",size:24})}),d.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1960",style:{margin:"0 0 8px 0",fontSize:"24px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1961",style:{margin:0,color:"#000000",fontSize:"15px"},children:e.feedbackSubheader})]}),m.visualPreview&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1965",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:d.jsx("img",{src:m.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"350px",objectFit:"contain",display:"block"}})}),d.jsx("textarea",{className:"vg-textarea",value:V,onChange:g=>Z(g.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px"}}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1992",style:{marginBottom:"24px"},children:[d.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1993",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1996",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(g=>d.jsx("button",{onClick:()=>w(g),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:u===g?g==="low"?"#10b981":g==="medium"?"#6366f1":g==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:u===g?g==="low"?"#ecfdf5":g==="medium"?"#eef2ff":g==="high"?"#fffbeb":"#fef2f2":"white",color:u===g?g==="low"?"#059669":g==="medium"?"#4338ca":g==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[g]},g))})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2022",style:{display:"flex",gap:"12px"},children:[d.jsx("button",{onClick:()=>!L&&K(null),className:"vg-button-ghost",disabled:L,style:{flex:1,padding:"12px"},children:e.cancel}),d.jsx("button",{onClick:Pw,className:"vg-button-primary",disabled:L||!V.trim(),style:{flex:2},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2037",style:{display:"flex",alignItems:"center",gap:"8px"},children:[L?d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2038",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):d.jsx(io,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2038",size:18}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2039",children:L?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),$&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2049",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:Un},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2055",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:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2060",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2061",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2062",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:M?e.commentDetails:e.annotations}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2065",style:{display:"flex",alignItems:"center",gap:"12px"},children:[XA?d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2067",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[XA.avatar?d.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2069",src:XA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2071",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:XA.name?.[0]}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2075",style:{fontSize:"12px",fontWeight:600,color:"#4338ca"},children:XA.name})]}):d.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2078",className:"vg-button-primary",style:{padding:"6px 12px",fontSize:"12px"},onClick:Pt,children:e.login||"Login"}),d.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{iA(!1),Y(null),We(null),p("all")},children:d.jsx(ps,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2091",size:20})})]})]}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2095",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const g=Array.isArray(q)?q:[],x=M?pA.find(v=>v.annotations?.some(QA=>QA._id===M)):null,I=(x?x.annotations:g).filter(v=>v.status!=="completed"&&v.status!=="done"),N=I.filter(v=>v.status!=="ready_for_review").length,P=I.filter(v=>v.status==="ready_for_review").length,X=I.length;return X<=0?X===0?null:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2109",style:{display:"flex",gap:"8px",opacity:.9},children:[N>0&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2111",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[N," ",N===1?"pendiente":"pendientes"]}),P>0&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2116",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[P," ",A==="es"?P===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):d.jsxs(d.Fragment,{children:[!a&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2127",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[d.jsx("div",{className:"vg-segmented-slider",style:{left:lA===null?"4px":lA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:lA===null?"var(--vg-primary)":lA==="pending"?"#ea580c":"#a855f7",boxShadow:lA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":lA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),d.jsxs("div",{onClick:()=>We(null),className:`vg-segmented-item ${lA===null?"active":""}`,children:[e.viewAll||"Todos"," (",X,")"]}),d.jsxs("div",{onClick:()=>We("pending"),className:`vg-segmented-item ${lA==="pending"?"active":""}`,children:[A==="es"?N===1?"Pendiente":"Pendientes":"Pending"," (",N,")"]}),d.jsxs("div",{onClick:()=>We("ready"),className:`vg-segmented-item ${lA==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",P,")"]})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2158",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:a?"0":"4px"},children:[d.jsxs("button",{onClick:()=>p("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:H==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:H==="all"?"var(--vg-primary)":"transparent",color:H==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",I.filter(v=>a?!0:lA==="pending"?v.status!=="ready_for_review":lA==="ready"?v.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(v=>{const QA=I.filter(NA=>a?!0:lA==="pending"?NA.status!=="ready_for_review":lA==="ready"?NA.status==="ready_for_review":!0).filter(NA=>(NA.priority||"medium")===v).length;return QA===0&&H!==v?null:d.jsxs("button",{onClick:()=>p(v),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:H===v?v==="low"?"#10b981":v==="medium"?"#6366f1":v==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:H===v?v==="low"?"#ecfdf5":v==="medium"?"#eef2ff":v==="high"?"#fffbeb":"#fef2f2":"transparent",color:H===v?v==="low"?"#059669":v==="medium"?"#4338ca":v==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[v]," (",QA,")"]},v)})]})]})})()})]}),d.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:mA?d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2224",style:{display:"flex",justifyContent:"center",padding:"40px"},children:d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2225",className:"vg-spinner"})}):Je.map((g,x)=>d.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:`${x*.05}s`},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2240",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2241",style:{display:"flex",gap:"12px",alignItems:"center"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2242",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Ea(g.timestamp||g.createdAt||g.reference?.timestamp,A)}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2245",onClick:Q=>{Q.stopPropagation();const I=g.key||`VG-${g._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(I);const N=Q.currentTarget;N.innerText="¡Copiado!",N.style.color="#22c55e",setTimeout(()=>{N.innerText=I,N.style.color=a?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:a?"#64748b":"#6366f1",background:a?"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:g.key||`VG-${g._id.slice(-6).toUpperCase()}`}),g.reference?.metadata?.isModal&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2274",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":g.status==="completed"||g.status==="done"?"#ecfdf5":g.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:a?"#64748b":g.status==="completed"||g.status==="done"?"#059669":g.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),g.url&&d.jsx(xa,{url:g.url,onHover:MA,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),g.status==="completed"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2302",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2303",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):g.status==="ready_for_review"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2306",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2307",size:14})," ",e.readyForReview]}):g.status==="bug_fixing"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2310",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[d.jsx(hs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2311",size:14})," ","Bug Fixing"]}):d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2314",className:"vg-badge",style:{backgroundColor:a||g.status==="backlog"?"#f1f5f9":"#fff7ed",color:a||g.status==="backlog"?"#64748b":"#ea580c",border:a||g.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2319",size:14}),a||g.status==="backlog"?e.backlog:e.pending]})]}),Hn===g._id?d.jsx("textarea",{className:"vg-textarea",value:Ta,onChange:Q=>Ka(Q.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px"}}):d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2335",style:{marginBottom:"20px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2336",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2337",style:{fontSize:"10px",fontWeight:800,color:g.priority==="low"?"#059669":g.priority==="urgent"?"#b91c1c":g.priority==="high"?"#b45309":"#4338ca",backgroundColor:g.priority==="low"?"#ecfdf5":g.priority==="urgent"?"#fef2f2":g.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:g.priority==="low"?"#d1fae5":g.priority==="urgent"?"#fee2e2":g.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[g.priority||"medium"]]})}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2351",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:g.message})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2355",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2357",style:{display:"flex",gap:"6px"},children:Hn!==g._id&&d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{g.url&&(window.location.href=g.url)},title:e.review,children:d.jsx(so,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2368",size:16})}),d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{bn(g._id),Ka(g.message),F(g.priority||"medium")},title:e.edit,children:d.jsx(Sc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2380",size:16})}),d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{HA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"DELETE",headers:{"x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}}})).ok&&(hA(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:d.jsx(ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2410",size:16})})]})}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2417",style:{display:"flex",gap:"8px"},children:Hn===g._id?d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},body:JSON.stringify({message:Ta,priority:h})})).ok&&(bn(null),hA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2446",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(Q=>d.jsx("button",{onClick:()=>F(Q),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===Q?Q==="low"?"#10b981":Q==="medium"?"#6366f1":Q==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===Q?Q==="low"?"#ecfdf5":Q==="medium"?"#eef2ff":Q==="high"?"#fffbeb":"#fef2f2":"white",color:h===Q?Q==="low"?"#059669":Q==="medium"?"#4338ca":Q==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[Q]},Q))}),d.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2469",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>bn(null),children:e.cancel})]}):d.jsxs(d.Fragment,{children:[!a&&(g.status==="pending"||!["ready_for_review","completed","done"].includes(g.status||""))&&d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},body:JSON.stringify({status:"ready_for_review"})})).ok&&(hA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(io,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2502",size:14})," ",e.markReady]}),!a&&g.status==="ready_for_review"&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2506",style:{display:"flex",gap:"8px"},children:[d.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",onConfirm:async()=>{try{const Q=g.originalStatus||(g.screenshot?"bug_fixing":"pending");(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},body:JSON.stringify({status:Q})})).ok&&(hA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(Lc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2540",size:14})," ",e.reopen]}),d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,...rA?{Authorization:`Bearer ${rA}`}:{}},body:JSON.stringify({status:"completed"})})).ok&&(hA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2570",size:14})," ",e.completed]})]})]})})]})]},g._id))},M||"all")]})}),LA&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2589",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:Un+100},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2594",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:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2601",style:{width:"64px",height:"64px",background:LA.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:LA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:LA.type==="danger"?d.jsx(ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2610",size:32}):d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2610",size:32})}),d.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2612",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:LA.title}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2613",style:{margin:"0 0 32px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:LA.message}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2614",style:{display:"flex",gap:"16px"},children:[d.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!PA&&HA(null),disabled:PA,children:e.no}),d.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:LA.type==="danger"?"#ef4444":void 0,backgroundImage:LA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px"},disabled:PA,onClick:async()=>{Ae(!0);try{await LA.onConfirm()}catch(g){console.error("Confirmation error:",g)}finally{Ae(!1)}},children:PA?d.jsx(Ic,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2648",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!$&&!B&&pA.map((g,x)=>{const{rect:Q,annotations:I,isModal:N}=g,P=I[0],X=I.length,v=I.some(S=>S.status==="ready_for_review"),QA=I.some(S=>S.status==="completed"||S.status==="done"),NA=I.some(S=>S.status!=="ready_for_review"&&S.status!=="completed"&&S.status!=="done"),z=QA&&!v&&!NA,SA=v&&!NA&&!QA,re=(v||QA)&&!NA,CA=(v||QA)&&NA,_A=I.filter(S=>S.status!=="ready_for_review"&&S.status!=="completed"&&S.status!=="done").length,TA=I.filter(S=>S.status==="ready_for_review").length,ge=I.filter(S=>S.status==="completed"||S.status==="done").length,zA=I.some(S=>S.status==="bug_fixing"),UA=_A>0?zA?"#f43f5e":a?"#64748b":"#ea580c":TA>0?"#a855f7":"#10b981",Oe=pA.some(S=>S.element===g.element&&S.isTriggerPin),Xw=pA.some(S=>S.element===g.element&&!S.isTriggerPin),Da=Oe&&Xw?g.isTriggerPin?-18:18:0,Oa=Q.top===0&&Q.left===0&&Q.width>window.innerWidth*.9;return d.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,Q.top-20)),left:Oa?Math.max(20,Q.left+40+Da):Math.max(20,Math.min(window.innerWidth-52,Q.left+Q.width/2-16+Da)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Sw},onMouseEnter:S=>{const Ye=S.currentTarget.getBoundingClientRect(),Ra=window.innerHeight-Ye.bottom,Ww=Ye.top;Ra<250&&Ww>Ra?D(Ln=>({...Ln,[g.id]:"vg-top"})):D(Ln=>({...Ln,[g.id]:""}))},onWheel:S=>{const Ye=S.currentTarget.querySelector(".vg-tooltip-scroll");Ye&&Ye.scrollBy({top:S.deltaY,behavior:"smooth"})},onClick:()=>{iA(!0),Y(P._id)},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2723",className:`vg-pin-tooltip ${C[g.id]||""} ${Oa||Q.left<160?"vg-tooltip-right":Q.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2724",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2725",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[g.isTriggerPin?d.jsx(oo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2727",size:14,color:UA}):d.jsx(Ar,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2729",size:14,color:UA}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2731",style:{display:"flex",gap:"4px"},children:[_A>0&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2733",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":"#fff7ed",color:a?"#64748b":"#c2410c"},children:[_A," ",a||P.status==="backlog"?"Backlog":A==="es"?_A===1?e.pending:"Pendientes":"pending"]}),TA>0&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2742",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&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2754",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[ge," ",A==="es"?ge===1?"Completado":"Completados":"completed"]}),I.some(S=>S.status==="bug_fixing")&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2766",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),N&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2780",className:"vg-badge",style:{fontSize:"10px",background:a?"#f1f5f9":CA?`linear-gradient(90deg, #ea580c 50%, ${QA?"#10b981":"#a855f7"} 50%)`:_A>0?"#fff7ed":z?"#ecfdf5":"#f3e8ff",color:a?"#64748b":CA?"#ffffff":_A>0?"#c2410c":z?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:CA&&!a?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2792",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:I.map((S,Ye)=>d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2794",style:{padding:"10px 0",borderTop:Ye===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2801",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2802",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Ea(S.timestamp||S.createdAt,A)}),S.url&&d.jsx(xa,{url:S.url,onHover:MA,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"}}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2824",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:S.message.length>100?S.message.slice(0,97)+"...":S.message})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2828",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2829",style:{fontSize:"8px",fontWeight:800,color:S.priority==="low"?"#059669":S.priority==="urgent"?"#b91c1c":S.priority==="high"?"#b45309":"#4338ca",backgroundColor:S.priority==="low"?"#ecfdf5":S.priority==="urgent"?"#fef2f2":S.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:S.priority==="low"?"#d1fae5":S.priority==="urgent"?"#fee2e2":S.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[S.priority||"medium"]}),S.status==="completed"||S.status==="done"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2843",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:[d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2856",size:10}),e.completed]}):S.status==="ready_for_review"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2860",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:[d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2873",size:10}),e.readyForReview]}):S.status==="bug_fixing"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2877",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:[d.jsx(hs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2890",size:10}),"Bug Fixing"]}):d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2894",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:a||S.status==="backlog"?"#64748b":"#ea580c",background:a||S.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:a||S.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(ro,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2907",size:10}),a||S.status==="backlog"?e.backlog:e.pending]})]})]},S._id))})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2917",className:`vg-formal-pin ${z?"completed":SA||re?"ready":zA?"bug":CA?"mixed":a?"backlog":""} ${g.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:zA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":CA?QA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[SA||z||re?d.jsx(me,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",size:18}):zA?d.jsx(hs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",size:18}):g.isTriggerPin?d.jsx(oo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",size:16}):N?d.jsx(so,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",size:16}):d.jsx(Ar,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",size:16}),X>1&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2927",className:"vg-pin-badge vg-animate-pop",children:X})]})]},`group-${g.id}`)}),d.jsx("div",{className:`vg-url-tooltip ${eA?"visible":""} ${eA?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:eA?`translate(-50%, ${eA.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:eA?.x||0,top:eA?.y||0},children:eA?.url})]})})};function En(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
|
-
`)}function
|
|
21
|
+
`)}function Nw(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:En(t,A,process.cwd()),map:null}}}}function _w(t){const A=this.resourcePath;return A?(process.env.NODE_ENV,En(t,A,process.cwd())):t}GA.ViewGate=Dc,GA.ViewGateOverlay=va,GA.transformSourcePaths=En,GA.useViewGate=lo,GA.viewgateNextLoader=_w,GA.viewgatePlugin=Nw,Object.defineProperty(GA,Symbol.toStringTag,{value:"Module"})}));
|