viewgate-wrapper 1.11.32 → 1.11.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";body{margin:0!important;padding:0!important}:root{--vg-primary: #6366f1;--vg-primary-glow: rgba(99, 102, 241, .5);--vg-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);--vg-bg-glass: rgba(255, 255, 255, .7);--vg-radius: 16px;--vg-font-main: "Inter", system-ui, sans-serif;--vg-font-alt: "Inter", system-ui, sans-serif;--placeholder-color: #94a3b8;--vg-glass-border: rgba(255, 255, 255, .3);--vg-shadow-premium: 0 20px 50px rgba(0, 0, 0, .1)}.vg-container,.vg-container *{box-sizing:border-box}.vg-container{font-family:var(--vg-font-main);-webkit-font-smoothing:antialiased}.vg-glassmorphism{background:var(--vg-bg-glass);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid var(--vg-glass-border);box-shadow:0 8px 32px #0000001a;border-radius:var(--vg-radius);position:relative}.vg-button-primary{background:var(--vg-primary-gradient);color:#fff;border:none;padding:12px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 12px #6366f14d}.vg-button-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.vg-button-primary:disabled,.vg-button-ghost:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4);transform:none!important;box-shadow:none!important;pointer-events:none}.vg-button-ghost{background:#fffc;color:#1e293b;border:1px solid #e2e8f0;padding:10px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px}.vg-button-ghost:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 12px #0000000d}.vg-badge{background:#f1f5f9;color:#64748b;padding:4px 12px;font-size:11px;border-radius:99px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.vg-textarea{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-family:var(--vg-font-main);font-size:15px;color:#0f172a;resize:none;outline:none;background:#f8fafc;transition:all .2s ease}.vg-textarea:focus{background:#fff;border-color:var(--vg-primary);box-shadow:0 0 0 4px #6366f11a}@keyframes vg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes vg-slide-in{0%{transform:translateY(30px) scale(.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes vg-pop-in{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes vg-slide-up-fade{0%{transform:translateY(12px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.vg-animate-pop{animation:vg-pop-in .4s cubic-bezier(.34,1.56,.64,1) forwards}.vg-animate-slide-up{animation:vg-slide-up-fade .5s cubic-bezier(.22,1,.36,1) forwards}.vg-button-primary,.vg-button-ghost,.vg-pin-container,.vg-action-bar,.vg-glassmorphism{transition:all .3s cubic-bezier(.4,0,.2,1)}.vg-animate-slide{animation:vg-slide-in .5s cubic-bezier(.22,1,.36,1) forwards}.vg-animate-fade{animation:vg-fade-in .35s cubic-bezier(.22,1,.36,1) forwards}.vg-toasts{position:fixed;top:24px;right:24px;display:flex;flex-direction:column;gap:12px}.vg-toast{padding:12px 20px;display:flex;align-items:center;gap:12px;min-width:300px;border-radius:12px;box-shadow:0 10px 30px #0000001a;background:#fff}.vg-toast.success{border-left:6px solid #22c55e}.vg-toast.error{border-left:6px solid #ef4444}.vg-backdrop-blur{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-backdrop-filter:blur(8px) grayscale(.2);backdrop-filter:blur(8px) grayscale(.2);background:#0000001a;pointer-events:none;transition:opacity .3s ease,clip-path .2s cubic-bezier(.19,1,.22,1)}.vg-selection-pulse{position:fixed;pointer-events:none;border:2px solid var(--vg-primary);border-radius:8px;box-shadow:0 0 0 0 var(--vg-primary-glow);animation:vg-pulse 2s infinite;transition:all .2s cubic-bezier(.19,1,.22,1)}@keyframes vg-pulse{0%{box-shadow:0 0 0 0 var(--vg-primary-glow)}70%{box-shadow:0 0 0 15px #6366f100}to{box-shadow:0 0 #6366f100}}.vg-selection-label{position:absolute;top:-40px;left:0;background:var(--vg-primary-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px #6366f14d;display:flex;align-items:center;gap:8px}.vg-pin-container{transition:transform .2s ease}.vg-pin-container:hover{transform:scale(1.1);z-index:2147483645!important}.vg-formal-pin{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);border:3px solid white;box-shadow:0 4px 12px #ea580c66;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s ease}.vg-formal-pin.modal-variant{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b66;border-style:dashed}.vg-formal-pin.ready{background:linear-gradient(135deg,#a855f7,#7e22ce);box-shadow:0 4px 12px #a855f766}.vg-formal-pin.completed{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b98166}.vg-formal-pin.backlog{background:linear-gradient(135deg,#94a3b8,#64748b);box-shadow:0 4px 12px #64748b66}.vg-formal-pin.bug{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 12px #e11d4866}.vg-formal-pin.mixed{border:3px solid #ea580c;box-shadow:0 4px 15px #ea580c66}.vg-pin-tooltip{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);padding:16px;border-radius:16px;background:#fff;color:#1e293b;width:320px;font-size:13px;box-shadow:0 10px 40px #00000040;opacity:0;visibility:hidden;pointer-events:none;transition:all .3s cubic-bezier(.19,1,.22,1);border:1px solid #e2e8f0;z-index:1000;overflow:hidden}.vg-tooltip-scroll{scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.2) transparent;overflow-y:auto;overflow-x:hidden;padding-right:12px;scroll-behavior:smooth}.vg-tooltip-scroll::-webkit-scrollbar{width:4px}.vg-tooltip-scroll::-webkit-scrollbar-track{background:transparent}.vg-tooltip-scroll::-webkit-scrollbar-thumb{background:#6366f14d;border-radius:10px}.vg-tooltip-scroll::-webkit-scrollbar-thumb:hover{background:#6366f180}.vg-text-wrap{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;white-space:pre-wrap}.vg-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.8em}.vg-pin-badge{position:absolute;top:-8px;right:-8px;background:#f43f5e;color:#fff;font-size:10px;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid white;box-shadow:0 4px 12px #f43f5e66;z-index:2}.vg-pin-tooltip.vg-top{top:auto;bottom:calc(100% + 12px)}.vg-pin-tooltip.vg-tooltip-right{left:0;transform:translate(0)}.vg-pin-tooltip.vg-tooltip-left{left:auto;right:0;transform:translate(0)}.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-right,.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-left{transform:translate(0) translateY(-5px)}.vg-pin-container:hover .vg-pin-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%) translateY(-5px)}.vg-action-bar{display:flex;gap:12px;padding:0;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vg-custom-scrollbar::-webkit-scrollbar{width:6px}.vg-custom-scrollbar::-webkit-scrollbar-track{background:transparent}.vg-custom-scrollbar::-webkit-scrollbar-thumb{background:#6366f166;border-radius:10px;transition:all .2s ease}.vg-custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.vg-spinner{border:3px solid rgba(99,102,241,.1);border-top:3px solid var(--vg-primary);border-radius:50%;width:32px;height:32px;animation:vg-spin .8s linear infinite}@keyframes vg-spin{to{transform:rotate(360deg)}}.vg-animate-spin{animation:vg-spin .8s linear infinite}.vg-cursor-pointer,.vg-cursor-pointer *{cursor:pointer!important}.vg-url-tag{position:relative;cursor:help;transition:all .2s ease}.vg-url-tag:hover{background:#f1f5f9!important;border-color:var(--vg-primary)!important}.vg-url-tooltip{position:fixed;left:0;top:0;background:#0f172a;color:#fff;padding:8px 14px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:0 10px 25px -5px #0006;z-index:2147483647;border:1px solid rgba(255,255,255,.1)}.vg-url-tooltip.visible{opacity:1}.vg-url-tooltip:after{content:"";position:absolute;left:50%;transform:translate(-50%);border-width:6px;border-style:solid}.vg-url-tooltip.vg-top:after{top:100%;border-color:#0f172a transparent transparent transparent}.vg-url-tooltip.vg-bottom:after{bottom:100%;border-color:transparent transparent #0f172a transparent}.vg-segmented-control{display:flex;background:#f1f5f9;padding:4px;border-radius:99px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;border:4px solid #e2e8f0;width:100%;max-width:480px;margin:0 auto}.vg-segmented-slider{position:absolute;top:4px;bottom:4px;border-radius:99px;transition:all .35s cubic-bezier(.4,0,.2,1);z-index:1}.vg-segmented-item{position:relative;flex:1;padding:8px 4px;font-size:11px;font-weight:700;text-align:center;z-index:2;transition:all .35s ease;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:99px;color:#64748b;white-space:nowrap;min-width:0}.vg-segmented-item.active{color:#fff}.vg-glassmorphism.vg-animate-slide:last-child{margin-bottom:0!important}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- (function(qA,Q){typeof exports=="object"&&typeof module<"u"?Q(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Q):(qA=typeof globalThis<"u"?globalThis:qA||self,Q(qA.ViewGateWrapper={},qA.React,qA.ReactDOM))})(this,(function(qA,Q,bc){"use strict";var ws={exports:{}},It={};var ho;function vc(){if(ho)return It;ho=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(s,r,n){var o=null;if(n!==void 0&&(o=""+n),r.key!==void 0&&(o=""+r.key),"key"in r){n={};for(var a in r)a!=="key"&&(n[a]=r[a])}else n=r;return r=n.ref,{$$typeof:t,type:s,key:o,ref:r!==void 0?r:null,props:n}}return It.Fragment=A,It.jsx=e,It.jsxs=e,It}var St={};var po;function Hc(){return po||(po=1,process.env.NODE_ENV!=="production"&&(function(){function t(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===vA?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case F:return"Fragment";case m:return"Profiler";case y:return"StrictMode";case K:return"Suspense";case _:return"SuspenseList";case lA:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case C:return"Portal";case H:return U.displayName||"Context";case T:return(U._context.displayName||"Context")+".Consumer";case I:var k=U.render;return U=U.displayName,U||(U=k.displayName||k.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case W:return k=U.displayName||null,k!==null?k:t(U.type)||"Memo";case R:k=U._payload,U=U._init;try{return t(U(k))}catch{}}return null}function A(U){return""+U}function e(U){try{A(U);var k=!1}catch{k=!0}if(k){k=console;var z=k.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return z.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),A(U)}}function s(U){if(U===F)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===R)return"<...>";try{var k=t(U);return k?"<"+k+">":"<...>"}catch{return"<...>"}}function r(){var U=N.A;return U===null?null:U.getOwner()}function n(){return Error("react-stack-top-frame")}function o(U){if(yA.call(U,"key")){var k=Object.getOwnPropertyDescriptor(U,"key").get;if(k&&k.isReactWarning)return!1}return U.key!==void 0}function a(U,k){function z(){X||(X=!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)",k))}z.isReactWarning=!0,Object.defineProperty(U,"key",{get:z,configurable:!0})}function c(){var U=t(this.type);return JA[U]||(JA[U]=!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.")),U=this.props.ref,U!==void 0?U:null}function g(U,k,z,q,YA,He){var AA=z.ref;return U={$$typeof:w,type:U,key:k,props:z,_owner:q},(AA!==void 0?AA:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:c}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:YA}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function l(U,k,z,q,YA,He){var AA=k.children;if(AA!==void 0)if(q)if($(AA)){for(q=0;q<AA.length;q++)B(AA[q]);Object.freeze&&Object.freeze(AA)}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(AA);if(yA.call(k,"key")){AA=t(U);var DA=Object.keys(k).filter(function(MA){return MA!=="key"});q=0<DA.length?"{key: someKey, "+DA.join(": ..., ")+": ...}":"{key: someKey}",te[AA+q]||(DA=0<DA.length?"{"+DA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ (function(ZA,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],m):(ZA=typeof globalThis<"u"?globalThis:ZA||self,m(ZA.ViewGateWrapper={},ZA.React,ZA.ReactDOM))})(this,(function(ZA,m,yc){"use strict";var gr={exports:{}},vt={};var go;function Ec(){if(go)return vt;go=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 a in s)a!=="key"&&(n[a]=s[a])}else n=s;return s=n.ref,{$$typeof:t,type:r,key:o,ref:s!==void 0?s:null,props:n}}return vt.Fragment=A,vt.jsx=e,vt.jsxs=e,vt}var It={};var uo;function bc(){return uo||(uo=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===vA?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case F:return"Fragment";case p:return"Profiler";case y:return"StrictMode";case K:return"Suspense";case N:return"SuspenseList";case lA:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case Q:return"Portal";case I:return x.displayName||"Context";case T:return(x._context.displayName||"Context")+".Consumer";case H:var M=x.render;return x=x.displayName,x||(x=M.displayName||M.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case W:return M=x.displayName||null,M!==null?M:t(x.type)||"Memo";case D:M=x._payload,x=x._init;try{return t(x(M))}catch{}}return null}function A(x){return""+x}function e(x){try{A(x);var M=!1}catch{M=!0}if(M){M=console;var J=M.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return J.call(M,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),A(x)}}function r(x){if(x===F)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===D)return"<...>";try{var M=t(x);return M?"<"+M+">":"<...>"}catch{return"<...>"}}function s(){var x=_.A;return x===null?null:x.getOwner()}function n(){return Error("react-stack-top-frame")}function o(x){if(yA.call(x,"key")){var M=Object.getOwnPropertyDescriptor(x,"key").get;if(M&&M.isReactWarning)return!1}return x.key!==void 0}function a(x,M){function J(){X||(X=!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)",M))}J.isReactWarning=!0,Object.defineProperty(x,"key",{get:J,configurable:!0})}function i(){var x=t(this.type);return ae[x]||(ae[x]=!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.")),x=this.props.ref,x!==void 0?x:null}function g(x,M,J,q,ee,ve){var AA=J.ref;return x={$$typeof:w,type:x,key:M,props:J,_owner:q},(AA!==void 0?AA:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:i}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ee}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ve}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function d(x,M,J,q,ee,ve){var AA=M.children;if(AA!==void 0)if(q)if($(AA)){for(q=0;q<AA.length;q++)B(AA[q]);Object.freeze&&Object.freeze(AA)}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(AA);if(yA.call(M,"key")){AA=t(x);var DA=Object.keys(M).filter(function(RA){return RA!=="key"});q=0<DA.length?"{key: someKey, "+DA.join(": ..., ")+": ...}":"{key: someKey}",Ae[AA+q]||(DA=0<DA.length?"{"+DA.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} />`,q,AA,DA,AA),te[AA+q]=!0)}if(AA=null,z!==void 0&&(e(z),AA=""+z),o(k)&&(e(k.key),AA=""+k.key),"key"in k){z={};for(var ge in k)ge!=="key"&&(z[ge]=k[ge])}else z=k;return AA&&a(z,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,AA,z,r(),YA,He)}function B(U){f(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===R&&(U._payload.status==="fulfilled"?f(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function f(U){return typeof U=="object"&&U!==null&&U.$$typeof===w}var h=Q,w=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),H=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),lA=Symbol.for("react.activity"),vA=Symbol.for("react.client.reference"),N=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yA=Object.prototype.hasOwnProperty,$=Array.isArray,HA=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(U){return U()}};var X,JA={},ie=h.react_stack_bottom_frame.bind(h,n)(),_e=HA(s(n)),te={};St.Fragment=F,St.jsx=function(U,k,z){var q=1e4>N.recentlyCreatedOwnerStacks++;return l(U,k,z,!1,q?Error("react-stack-top-frame"):ie,q?HA(s(U)):_e)},St.jsxs=function(U,k,z){var q=1e4>N.recentlyCreatedOwnerStacks++;return l(U,k,z,!0,q?Error("react-stack-top-frame"):ie,q?HA(s(U)):_e)}})()),St}var wo;function Ic(){return wo||(wo=1,process.env.NODE_ENV==="production"?ws.exports=vc():ws.exports=Hc()),ws.exports}var i=Ic(),ms={exports:{}},Dr={};var mo;function Sc(){if(mo)return Dr;mo=1;var t=Q;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,s=t.useState,r=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function a(B,f){var h=f(),w=s({inst:{value:h,getSnapshot:f}}),C=w[0].inst,F=w[1];return n(function(){C.value=h,C.getSnapshot=f,c(C)&&F({inst:C})},[B,h,f]),r(function(){return c(C)&&F({inst:C}),B(function(){c(C)&&F({inst:C})})},[B]),o(h),h}function c(B){var f=B.getSnapshot;B=B.value;try{var h=f();return!e(B,h)}catch{return!0}}function g(B,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:a;return Dr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:l,Dr}var Rr={};var Co;function Lc(){return Co||(Co=1,process.env.NODE_ENV!=="production"&&(function(){function t(h,w){return h===w&&(h!==0||1/h===1/w)||h!==h&&w!==w}function A(h,w){l||r.startTransition===void 0||(l=!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 C=w();if(!B){var F=w();n(C,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}F=o({inst:{value:C,getSnapshot:w}});var y=F[0].inst,m=F[1];return c(function(){y.value=C,y.getSnapshot=w,e(y)&&m({inst:y})},[h,C,w]),a(function(){return e(y)&&m({inst:y}),h(function(){e(y)&&m({inst:y})})},[h]),g(C),C}function e(h){var w=h.getSnapshot;h=h.value;try{var C=w();return!n(h,C)}catch{return!0}}function s(h,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=Q,n=typeof Object.is=="function"?Object.is:t,o=r.useState,a=r.useEffect,c=r.useLayoutEffect,g=r.useDebugValue,l=!1,B=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?s:A;Rr.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Rr}var Qo;function Tc(){return Qo||(Qo=1,process.env.NODE_ENV==="production"?ms.exports=Sc():ms.exports=Lc()),ms.exports}var xo=Tc();const Uo=0,Fo=1,yo=2,Eo=3;var bo=Object.prototype.hasOwnProperty;function kr(t,A){var e,s;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((s=t.length)===A.length)for(;s--&&kr(t[s],A[s]););return s===-1}if(!e||typeof t=="object"){s=0;for(e in t)if(bo.call(t,e)&&++s&&!bo.call(A,e)||!(e in A)||!kr(t[e],A[e]))return!1;return Object.keys(A).length===s}}return t!==t&&A!==A}const xe=new WeakMap,Ue=()=>{},RA=Ue(),Gr=Object,P=t=>t===RA,ue=t=>typeof t=="function",Le=(t,A)=>({...t,...A}),vo=t=>ue(t.then),Mr={},Cs={},Vr="undefined",Lt=typeof window!=Vr,Nr=typeof document!=Vr,Oc=Lt&&"Deno"in window,Kc=()=>Lt&&typeof window.requestAnimationFrame!=Vr,Ho=(t,A)=>{const e=xe.get(t);return[()=>!P(A)&&t.get(A)||Mr,s=>{if(!P(A)){const r=t.get(A);A in Cs||(Cs[A]=r),e[5](A,Le(r,s),r||Mr)}},e[6],()=>!P(A)&&A in Cs?Cs[A]:!P(A)&&t.get(A)||Mr]};let _r=!0;const Dc=()=>_r,[Pr,jr]=Lt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ue,Ue],Rc=()=>{const t=Nr&&document.visibilityState;return P(t)||t!=="hidden"},kc=t=>(Nr&&document.addEventListener("visibilitychange",t),Pr("focus",t),()=>{Nr&&document.removeEventListener("visibilitychange",t),jr("focus",t)}),Gc=t=>{const A=()=>{_r=!0,t()},e=()=>{_r=!1};return Pr("online",A),Pr("offline",e),()=>{jr("online",A),jr("offline",e)}},Mc={isOnline:Dc,isVisible:Rc},Vc={initFocus:kc,initReconnect:Gc},Io=!Q.useId,nt=!Lt||Oc,Nc=t=>Kc()?window.requestAnimationFrame(t):setTimeout(t,1),Wr=nt?Q.useEffect:Q.useLayoutEffect,Xr=typeof navigator<"u"&&navigator.connection,So=!nt&&Xr&&(["slow-2g","2g"].includes(Xr.effectiveType)||Xr.saveData),Qs=new WeakMap,_c=t=>Gr.prototype.toString.call(t),zr=(t,A)=>t===`[object ${A}]`;let Pc=0;const Jr=t=>{const A=typeof t,e=_c(t),s=zr(e,"Date"),r=zr(e,"RegExp"),n=zr(e,"Object");let o,a;if(Gr(t)===t&&!s&&!r){if(o=Qs.get(t),o)return o;if(o=++Pc+"~",Qs.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=Jr(t[a])+",";Qs.set(t,o)}if(n){o="#";const c=Gr.keys(t).sort();for(;!P(a=c.pop());)P(t[a])||(o+=a+":"+Jr(t[a])+",");Qs.set(t,o)}}else o=s?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},Yr=t=>{if(ue(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Jr(t):"",[t,A]};let jc=0;const Zr=()=>++jc;async function Lo(...t){const[A,e,s,r]=t,n=Le({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let o=n.populateCache;const a=n.rollbackOnError;let c=n.optimisticData;const g=f=>typeof a=="function"?a(f):a!==!1,l=n.throwOnError;if(ue(e)){const f=e,h=[],w=A.keys();for(const C of w)!/^\$(inf|sub)\$/.test(C)&&f(A.get(C)._k)&&h.push(C);return Promise.all(h.map(B))}return B(e);async function B(f){const[h]=Yr(f);if(!h)return;const[w,C]=Ho(A,h),[F,y,m,T]=xe.get(A),H=()=>{const $=F[h];return(ue(n.revalidate)?n.revalidate(w().data,f):n.revalidate!==!1)&&(delete m[h],delete T[h],$&&$[0])?$[0](yo).then(()=>w().data):w().data};if(t.length<3)return H();let I=s,K,_=!1;const W=Zr();y[h]=[W,0];const R=!P(c),lA=w(),vA=lA.data,N=lA._c,yA=P(N)?vA:N;if(R&&(c=ue(c)?c(yA,vA):c,C({data:c,_c:yA})),ue(I))try{I=I(yA)}catch($){K=$,_=!0}if(I&&vo(I))if(I=await I.catch($=>{K=$,_=!0}),W!==y[h][0]){if(_)throw K;return I}else _&&R&&g(K)&&(o=!0,C({data:yA,_c:RA}));if(o&&!_)if(ue(o)){const $=o(I,yA);C({data:$,error:RA,_c:RA})}else C({data:I,error:RA,_c:RA});if(y[h][1]=Zr(),Promise.resolve(H()).then(()=>{C({_c:RA})}),_){if(l)throw K;return}return I}}const To=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},Wc=(t,A)=>{if(!xe.has(t)){const e=Le(Vc,A),s=Object.create(null),r=Lo.bind(RA,t);let n=Ue;const o=Object.create(null),a=(l,B)=>{const f=o[l]||[];return o[l]=f,f.push(B),()=>f.splice(f.indexOf(B),1)},c=(l,B,f)=>{t.set(l,B);const h=o[l];if(h)for(const w of h)w(B,f)},g=()=>{if(!xe.has(t)&&(xe.set(t,[s,Object.create(null),Object.create(null),Object.create(null),r,c,a]),!nt)){const l=e.initFocus(setTimeout.bind(RA,To.bind(RA,s,Uo))),B=e.initReconnect(setTimeout.bind(RA,To.bind(RA,s,Fo)));n=()=>{l&&l(),B&&B(),xe.delete(t)}}};return g(),[t,r,g,n]}return[t,xe.get(t)[4]]},Xc=(t,A,e,s,r)=>{const n=e.errorRetryCount,o=r.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!P(n)&&o>n||setTimeout(s,a,r)},zc=kr,[Oo,Jc]=Wc(new Map),Yc=Le({onLoadingSlow:Ue,onSuccess:Ue,onError:Ue,onErrorRetry:Xc,onDiscarded:Ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:So?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:So?5e3:3e3,compare:zc,isPaused:()=>!1,cache:Oo,mutate:Jc,fallback:{}},Mc),Zc=(t,A)=>{const e=Le(t,A);if(A){const{use:s,fallback:r}=t,{use:n,fallback:o}=A;s&&n&&(e.use=s.concat(n)),r&&o&&(e.fallback=Le(r,o))}return e},$c=Q.createContext({}),qc="$inf$",Ko=Lt&&window.__SWR_DEVTOOLS_USE__,Al=Ko?window.__SWR_DEVTOOLS_USE__:[],el=()=>{Ko&&(window.__SWR_DEVTOOLS_REACT__=Q)},tl=t=>ue(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Do=()=>{const t=Q.useContext($c);return Q.useMemo(()=>Le(Yc,t),[t])},sl=t=>(A,e,s)=>t(A,e&&((...n)=>{const[o]=Yr(A),[,,,a]=xe.get(Oo);if(o.startsWith(qc))return e(...n);const c=a[o];return P(c)?e(...n):(delete a[o],c)}),s),rl=Al.concat(sl),nl=t=>function(...e){const s=Do(),[r,n,o]=tl(e),a=Zc(s,o);let c=t;const{use:g}=a,l=(g||[]).concat(rl);for(let B=l.length;B--;)c=l[B](c);return c(r,n||a.fetcher||null,a)},ol=(t,A,e)=>{const s=A[t]||(A[t]=[]);return s.push(e),()=>{const r=s.indexOf(e);r>=0&&(s[r]=s[s.length-1],s.pop())}};el();const $r=Q.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}}),qr={dedupe:!0},Ro=Promise.resolve(RA),al=()=>Ue,ko=nl((t,A,e)=>{const{cache:s,compare:r,suspense:n,fallbackData:o,revalidateOnMount:a,revalidateIfStale:c,refreshInterval:g,refreshWhenHidden:l,refreshWhenOffline:B,keepPreviousData:f,strictServerPrefetchWarning:h}=e,[w,C,F,y]=xe.get(s),[m,T]=Yr(t),H=Q.useRef(!1),I=Q.useRef(!1),K=Q.useRef(m),_=Q.useRef(A),W=Q.useRef(e),R=()=>W.current,lA=()=>R().isVisible()&&R().isOnline(),[vA,N,yA,$]=Ho(s,m),HA=Q.useRef({}).current,X=P(o)?P(e.fallback)?RA:e.fallback[m]:o,JA=(eA,fA)=>{for(const hA in HA){const dA=hA;if(dA==="data"){if(!r(eA[dA],fA[dA])&&(!P(eA[dA])||!r(He,fA[dA])))return!1}else if(fA[dA]!==eA[dA])return!1}return!0},ie=!H.current,_e=Q.useMemo(()=>{const eA=vA(),fA=$(),hA=BA=>{const VA=Le(BA);return delete VA._k,(()=>{if(!m||!A||R().isPaused())return!1;if(ie&&!P(a))return a;const ZA=P(X)?VA.data:X;return P(ZA)||c})()?{isValidating:!0,isLoading:!0,...VA}:VA},dA=hA(eA),se=eA===fA?dA:hA(fA);let aA=dA;return[()=>{const BA=hA(vA());return JA(BA,aA)?(aA.data=BA.data,aA.isLoading=BA.isLoading,aA.isValidating=BA.isValidating,aA.error=BA.error,aA):(aA=BA,BA)},()=>se]},[s,m]),te=xo.useSyncExternalStore(Q.useCallback(eA=>yA(m,(fA,hA)=>{JA(hA,fA)||eA()}),[s,m]),_e[0],_e[1]),U=w[m]&&w[m].length>0,k=te.data,z=P(k)?X&&vo(X)?$r(X):X:k,q=te.error,YA=Q.useRef(z),He=f?P(k)?P(YA.current)?z:YA.current:k:z,AA=m&&P(z),DA=Q.useRef(null);!nt&&xo.useSyncExternalStore(al,()=>(DA.current=!1,DA),()=>(DA.current=!0,DA));const ge=DA.current;h&&ge&&!n&&AA&&console.warn(`Missing pre-initiated data for serialized key "${m}" 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 MA=!m||!A||R().isPaused()||U&&!P(q)?!1:ie&&!P(a)?a:n?P(z)?!1:c:P(z)||c,Ce=ie&&MA,PA=P(te.isValidating)?Ce:te.isValidating,Qt=P(te.isLoading)?Ce:te.isLoading,IA=Q.useCallback(async eA=>{const fA=_.current;if(!m||!fA||I.current||R().isPaused())return!1;let hA,dA,se=!0;const aA=eA||{},BA=!F[m]||!aA.dedupe,VA=()=>Io?!I.current&&m===K.current&&H.current:m===K.current,Pe={isValidating:!1,isLoading:!1},ZA=()=>{N(Pe)},ds=()=>{const re=F[m];re&&re[1]===dA&&delete F[m]},oo={isValidating:!0};P(vA().data)&&(oo.isLoading=!0);try{if(BA&&(N(oo),e.loadingTimeout&&P(vA().data)&&setTimeout(()=>{se&&VA()&&R().onLoadingSlow(m,e)},e.loadingTimeout),F[m]=[fA(T),Zr()]),[hA,dA]=F[m],hA=await hA,BA&&setTimeout(ds,e.dedupingInterval),!F[m]||F[m][1]!==dA)return BA&&VA()&&R().onDiscarded(m),!1;Pe.error=RA;const re=C[m];if(!P(re)&&(dA<=re[0]||dA<=re[1]||re[1]===0))return ZA(),BA&&VA()&&R().onDiscarded(m),!1;const tA=vA().data;Pe.data=r(tA,hA)?tA:hA,BA&&VA()&&R().onSuccess(hA,m,e)}catch(re){ds();const tA=R(),{shouldRetryOnError:Ut}=tA;tA.isPaused()||(Pe.error=re,BA&&VA()&&(tA.onError(re,m,tA),(Ut===!0||ue(Ut)&&Ut(re))&&(!R().revalidateOnFocus||!R().revalidateOnReconnect||lA())&&tA.onErrorRetry(re,m,tA,SA=>{const Ft=w[m];Ft&&Ft[0]&&Ft[0](Eo,SA)},{retryCount:(aA.retryCount||0)+1,dedupe:!0})))}return se=!1,ZA(),!0},[m,s]),et=Q.useCallback((...eA)=>Lo(s,K.current,...eA),[]);if(Wr(()=>{_.current=A,W.current=e,P(k)||(YA.current=k)}),Wr(()=>{if(!m)return;const eA=IA.bind(RA,qr);let fA=0;R().revalidateOnFocus&&(fA=Date.now()+R().focusThrottleInterval);const dA=ol(m,w,(se,aA={})=>{if(se==Uo){const BA=Date.now();R().revalidateOnFocus&&BA>fA&&lA()&&(fA=BA+R().focusThrottleInterval,eA())}else if(se==Fo)R().revalidateOnReconnect&&lA()&&eA();else{if(se==yo)return IA();if(se==Eo)return IA(aA)}});return I.current=!1,K.current=m,H.current=!0,N({_k:T}),MA&&(F[m]||(P(z)||nt?eA():Nc(eA))),()=>{I.current=!0,dA()}},[m]),Wr(()=>{let eA;function fA(){const dA=ue(g)?g(vA().data):g;dA&&eA!==-1&&(eA=setTimeout(hA,dA))}function hA(){!vA().error&&(l||R().isVisible())&&(B||R().isOnline())?IA(qr).then(fA):fA()}return fA(),()=>{eA&&(clearTimeout(eA),eA=-1)}},[g,l,B,m]),Q.useDebugValue(He),n){if(!Io&&nt&&AA)throw new Error("Fallback data is required when using Suspense in SSR.");AA&&(_.current=A,W.current=e,I.current=!1);const eA=y[m],fA=!P(eA)&&AA?et(eA):Ro;if($r(fA),!P(q)&&AA)throw q;const hA=AA?IA(qr):Ro;!P(He)&&AA&&(hA.status="fulfilled",hA.value=!0),$r(hA)}return{mutate:et,get data(){return HA.data=!0,He},get error(){return HA.error=!0,q},get isValidating(){return HA.isValidating=!0,PA},get isLoading(){return HA.isLoading=!0,Qt}}}),il=({children:t})=>{const A=Q.useRef(null),[e,s]=Q.useState(null);return Q.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const r=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(a=>{(a.textContent?.includes(".vg-")||a.textContent?.includes("--vg-"))&&r.appendChild(a.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",r.appendChild(o),s(r)}},[]),i.jsx("div",{"data-vg-id":"49696d6b","data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&bc.createPortal(t,e)})};const Go=(...t)=>t.filter((A,e,s)=>!!A&&A.trim()!==""&&s.indexOf(A)===e).join(" ").trim();const cl=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ll=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,s)=>s?s.toUpperCase():e.toLowerCase());const Mo=t=>{const A=ll(t);return A.charAt(0).toUpperCase()+A.slice(1)};var dl={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 Bl=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const gl=Q.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:s,className:r="",children:n,iconNode:o,...a},c)=>Q.createElement("svg",{ref:c,...dl,width:A,height:A,stroke:t,strokeWidth:s?Number(e)*24/Number(A):e,className:Go("lucide",r),...!n&&!Bl(a)&&{"aria-hidden":"true"},...a},[...o.map(([g,l])=>Q.createElement(g,l)),...Array.isArray(n)?n:[n]]));const iA=(t,A)=>{const e=Q.forwardRef(({className:s,...r},n)=>Q.createElement(gl,{ref:n,iconNode:A,className:Go(`lucide-${cl(Mo(t))}`,`lucide-${t}`,s),...r}));return e.displayName=Mo(t),e};const Tt=iA("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 ul=iA("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const Vo=iA("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const fl=iA("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 je=iA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const No=iA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const An=iA("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 hl=iA("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 Te=iA("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 pl=iA("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 xs=iA("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const en=iA("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 tn=iA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const wl=iA("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const Us=iA("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 ml=iA("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 Ot=iA("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 Cl=iA("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Ql=iA("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const xl=iA("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 Fs=iA("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 Ul=iA("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Kt=iA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Fl={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",reopenPlaceholder:"Add a new comment before confirming...",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? Remember you can reopen it by pressing ALT once (Normal Mode) or holding it for 1 second (Backlog Mode).",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",login:"Login with Google",authenticating:"Authenticating...",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change",focusAreas:"Focus Areas",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Figma Reference Link",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Related Backend Endpoint",selectEndpoint:"Select endpoint...",figmaNamePlaceholder:"e.g. Main Design, Modal, etc.",addLink:"Add another link",removeLink:"Remove",figmaPrimaryDesign:"Principal Design"},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",reopenPlaceholder:"Agrega un nuevo comentario antes de confirmar...",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? Recuerda que puedes volver a activarlo pulsando una vez la tecla ALT (Modo Normal) o manteniéndola pulsada 1 segundo (Modo Backlog).",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",login:"Iniciar sesión con Google",authenticating:"Autenticando...",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar",focusAreas:"Áreas de Foco",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Link de Referencia Figma",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Endpoint de Backend Relacionado",selectEndpoint:"Seleccionar endpoint...",figmaNamePlaceholder:"ej. Diseño Principal, Modal, etc.",addLink:"Agregar otro link",removeLink:"Eliminar",figmaPrimaryDesign:"Diseño Principal"}},_o=Q.createContext(void 0),Po=()=>{const t=Q.useContext(_o);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Dt="viewgate_enabled",yl=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(Dt,"true"),!0):sessionStorage.getItem(Dt)==="true"},El=({children:t,language:A="es",apiKey:e,baseUrl:s="https://view-gate.vercel.app",dashboardUrl:r})=>{const n=r||(s==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":s.includes("localhost:5000")?s.replace("5000","3000"):s),[o,a]=Q.useState(!1),[c,g]=Q.useState([]);Q.useRef(0);const l=Q.useRef(null),B=Q.useRef(!1);Q.useEffect(()=>{a(yl());const C=y=>{y.key==="Alt"&&!y.repeat&&(y.preventDefault(),B.current=!1,l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{const m=new URL(window.location.href);m.searchParams.delete("viewgate"),m.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",m.toString()),a(!0),sessionStorage.setItem(Dt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),h(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),B.current=!0,l.current=null},1e3))},F=y=>{if(y.key==="Alt"&&(y.preventDefault(),l.current)){clearTimeout(l.current),l.current=null;const m=new URL(window.location.href);m.searchParams.delete("viewgate-backlog"),m.searchParams.set("viewgate","true"),window.history.replaceState({},"",m.toString()),a(!0),sessionStorage.setItem(Dt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),h(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",C),window.addEventListener("keyup",F),()=>{window.removeEventListener("keydown",C),window.removeEventListener("keyup",F)}},[A]);const f=()=>{if(sessionStorage.removeItem(Dt),a(!1),typeof window<"u"){const C=new URL(window.location.href);C.searchParams.delete("viewgate"),window.history.replaceState({},"",C.toString())}},h=(C,F)=>{const y=Date.now();g(m=>[...m,{id:y,message:C,type:F}]),setTimeout(()=>{g(m=>m.filter(T=>T.id!==y))},4e3)},w=Fl[A];return i.jsxs(_o.Provider,{"data-vg-id":"89da3486","data-source-path":"/src/components/ViewGateProvider.tsx:371",value:{addToast:h,language:A,t:w,apiKey:e,baseUrl:s,dashboardUrl:n,disableViewGate:f,hasActiveToasts:c.length>0},children:[t,o&&i.jsx(il,{"data-vg-id":"f1499d3a","data-source-path":"/src/components/ViewGateProvider.tsx:383",children:i.jsxs("div",{"data-vg-id":"1bedb79b","data-source-path":"/src/components/ViewGateProvider.tsx:384",className:"vg-container",children:[i.jsx(dc,{"data-vg-id":"d3f262cb","data-source-path":"/src/components/ViewGateProvider.tsx:385"}),i.jsx("div",{"data-vg-id":"1bedb79d","data-source-path":"/src/components/ViewGateProvider.tsx:386",className:"vg-toasts",style:{zIndex:2147483647},children:c.map(C=>i.jsxs("div",{"data-vg-id":"1bedb79e","data-source-path":"/src/components/ViewGateProvider.tsx:388",className:`vg-toast vg-animate-slide ${C.type}`,children:[C.type==="success"?i.jsx(je,{"data-vg-id":"c7ae3b26","data-source-path":"/src/components/ViewGateProvider.tsx:390",size:24,color:"#22c55e"}):C.type==="warning"?i.jsx(Ul,{"data-vg-id":"137eb473","data-source-path":"/src/components/ViewGateProvider.tsx:392",size:24,color:"#f59e0b"}):i.jsx(fl,{"data-vg-id":"e7ad3c7c","data-source-path":"/src/components/ViewGateProvider.tsx:394",size:24,color:"#ef4444"}),i.jsxs("div",{"data-vg-id":"61c93bb7","data-source-path":"/src/components/ViewGateProvider.tsx:396",children:[i.jsx("strong",{"data-vg-id":"29b8e974","data-source-path":"/src/components/ViewGateProvider.tsx:397",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:C.type==="success"?w.successHeader:C.type==="warning"?A==="es"?"Aviso":"Warning":w.errorHeader}),i.jsx("span",{"data-vg-id":"fbbd7822","data-source-path":"/src/components/ViewGateProvider.tsx:400",style:{fontSize:"14px",color:"#000000"},children:C.message})]})]},C.id))})]})})]})};class kA{constructor(A,e,s,r){this.left=A,this.top=e,this.width=s,this.height=r}add(A,e,s,r){return new kA(this.left+A,this.top+e,this.width+s,this.height+r)}static fromClientRect(A,e){return new kA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const s=Array.from(e);let r=s.find(n=>n.width!==0);return r||(r=s.find(n=>n.height!==0)),!r&&s.length>0&&(r=s[0]),r?new kA(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):kA.EMPTY}}kA.EMPTY=new kA(0,0,0,0);const ys=(t,A)=>kA.fromClientRect(t,A.getBoundingClientRect()),bl=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const s=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),r=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new kA(0,0,s,r)};for(var Es=function(t){for(var A=[],e=0,s=t.length;e<s;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<s){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((r&1023)<<10)+(n&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},mA=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 s=[],r=-1,n="";++r<e;){var o=t[r];o<=65535?s.push(o):(o-=65536,s.push((o>>10)+55296,o%1024+56320)),(r+1===e||s.length>16384)&&(n+=String.fromCharCode.apply(String,s),s.length=0)}return n},jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vl=typeof Uint8Array>"u"?[]:new Uint8Array(256),bs=0;bs<jo.length;bs++)vl[jo.charCodeAt(bs)]=bs;for(var Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rt=typeof Uint8Array>"u"?[]:new Uint8Array(256),vs=0;vs<Wo.length;vs++)Rt[Wo.charCodeAt(vs)]=vs;for(var Hl=function(t){var A=t.length*.75,e=t.length,s,r=0,n,o,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),l=Array.isArray(g)?g:new Uint8Array(g);for(s=0;s<e;s+=4)n=Rt[t.charCodeAt(s)],o=Rt[t.charCodeAt(s+1)],a=Rt[t.charCodeAt(s+2)],c=Rt[t.charCodeAt(s+3)],l[r++]=n<<2|o>>4,l[r++]=(o&15)<<4|a>>2,l[r++]=(a&3)<<6|c&63;return g},Il=function(t){for(var A=t.length,e=[],s=0;s<A;s+=2)e.push(t[s+1]<<8|t[s]);return e},Sl=function(t){for(var A=t.length,e=[],s=0;s<A;s+=4)e.push(t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s]);return e},We=5,sn=11,rn=2,Ll=sn-We,Xo=65536>>We,Tl=1<<We,nn=Tl-1,Ol=1024>>We,Kl=Xo+Ol,Dl=Kl,Rl=32,kl=Dl+Rl,Gl=65536>>sn,Ml=1<<Ll,Vl=Ml-1,zo=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Nl=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},_l=function(t,A){var e=Hl(t),s=Array.isArray(e)?Sl(e):new Uint32Array(e),r=Array.isArray(e)?Il(e):new Uint16Array(e),n=24,o=zo(r,n/2,s[4]/2),a=s[5]===2?zo(r,(n+s[4])/2):Nl(s,Math.ceil((n+s[4])/4));return new Pl(s[0],s[1],s[2],s[3],o,a)},Pl=(function(){function t(A,e,s,r,n,o){this.initialValue=A,this.errorValue=e,this.highStart=s,this.highValueIndex=r,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>>We],e=(e<<rn)+(A&nn),this.data[e];if(A<=65535)return e=this.index[Xo+(A-55296>>We)],e=(e<<rn)+(A&nn),this.data[e];if(A<this.highStart)return e=kl-Gl+(A>>sn),e=this.index[e],e+=A>>We&Vl,e=this.index[e],e=(e<<rn)+(A&nn),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jl=typeof Uint8Array>"u"?[]:new Uint8Array(256),Hs=0;Hs<Jo.length;Hs++)jl[Jo.charCodeAt(Hs)]=Hs;var Wl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHF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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENA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AMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKD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csBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAM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YAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACs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AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAC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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwAr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QAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAA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ACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Yo=50,Xl=1,Zo=2,$o=3,zl=4,Jl=5,qo=7,Aa=8,ea=9,Oe=10,on=11,ta=12,an=13,Yl=14,kt=15,cn=16,Is=17,Gt=18,Zl=19,sa=20,ln=21,Mt=22,dn=23,ot=24,Ae=25,Vt=26,Nt=27,at=28,$l=29,Xe=30,ql=31,Ss=32,Ls=33,Bn=34,gn=35,un=36,_t=37,fn=38,Ts=39,Os=40,hn=41,ra=42,Ad=43,ed=[9001,65288],na="!",j="×",Ks="÷",pn=_l(Wl),Fe=[Xe,un],wn=[Xl,Zo,$o,Jl],oa=[Oe,Aa],aa=[Nt,Vt],td=wn.concat(oa),ia=[fn,Ts,Os,Bn,gn],sd=[kt,an],rd=function(t,A){A===void 0&&(A="strict");var e=[],s=[],r=[];return t.forEach(function(n,o){var a=pn.get(n);if(a>Yo?(r.push(!0),a-=Yo):r.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return s.push(o),e.push(cn);if(a===zl||a===on){if(o===0)return s.push(o),e.push(Xe);var c=e[o-1];return td.indexOf(c)===-1?(s.push(s[o-1]),e.push(c)):(s.push(o),e.push(Xe))}if(s.push(o),a===ql)return e.push(A==="strict"?ln:_t);if(a===ra||a===$l)return e.push(Xe);if(a===Ad)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(_t):e.push(Xe);e.push(a)}),[s,e,r]},mn=function(t,A,e,s){var r=s[e];if(Array.isArray(t)?t.indexOf(r)!==-1:t===r)for(var n=e;n<=s.length;){n++;var o=s[n];if(o===A)return!0;if(o!==Oe)break}if(r===Oe)for(var n=e;n>0;){n--;var a=s[n];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var c=e;c<=s.length;){c++;var o=s[c];if(o===A)return!0;if(o!==Oe)break}if(a!==Oe)break}return!1},ca=function(t,A){for(var e=t;e>=0;){var s=A[e];if(s===Oe)e--;else return s}return 0},nd=function(t,A,e,s,r){if(e[s]===0)return j;var n=s-1;if(Array.isArray(r)&&r[n]===!0)return j;var o=n-1,a=n+1,c=A[n],g=o>=0?A[o]:0,l=A[a];if(c===Zo&&l===$o)return j;if(wn.indexOf(c)!==-1)return na;if(wn.indexOf(l)!==-1||oa.indexOf(l)!==-1)return j;if(ca(n,A)===Aa)return Ks;if(pn.get(t[n])===on||(c===Ss||c===Ls)&&pn.get(t[a])===on||c===qo||l===qo||c===ea||[Oe,an,kt].indexOf(c)===-1&&l===ea||[Is,Gt,Zl,ot,at].indexOf(l)!==-1||ca(n,A)===Mt||mn(dn,Mt,n,A)||mn([Is,Gt],ln,n,A)||mn(ta,ta,n,A))return j;if(c===Oe)return Ks;if(c===dn||l===dn)return j;if(l===cn||c===cn)return Ks;if([an,kt,ln].indexOf(l)!==-1||c===Yl||g===un&&sd.indexOf(c)!==-1||c===at&&l===un||l===sa||Fe.indexOf(l)!==-1&&c===Ae||Fe.indexOf(c)!==-1&&l===Ae||c===Nt&&[_t,Ss,Ls].indexOf(l)!==-1||[_t,Ss,Ls].indexOf(c)!==-1&&l===Vt||Fe.indexOf(c)!==-1&&aa.indexOf(l)!==-1||aa.indexOf(c)!==-1&&Fe.indexOf(l)!==-1||[Nt,Vt].indexOf(c)!==-1&&(l===Ae||[Mt,kt].indexOf(l)!==-1&&A[a+1]===Ae)||[Mt,kt].indexOf(c)!==-1&&l===Ae||c===Ae&&[Ae,at,ot].indexOf(l)!==-1)return j;if([Ae,at,ot,Is,Gt].indexOf(l)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===Ae)return j;if([at,ot].indexOf(f)!==-1)B--;else break}if([Nt,Vt].indexOf(l)!==-1)for(var B=[Is,Gt].indexOf(c)!==-1?o:n;B>=0;){var f=A[B];if(f===Ae)return j;if([at,ot].indexOf(f)!==-1)B--;else break}if(fn===c&&[fn,Ts,Bn,gn].indexOf(l)!==-1||[Ts,Bn].indexOf(c)!==-1&&[Ts,Os].indexOf(l)!==-1||[Os,gn].indexOf(c)!==-1&&l===Os||ia.indexOf(c)!==-1&&[sa,Vt].indexOf(l)!==-1||ia.indexOf(l)!==-1&&c===Nt||Fe.indexOf(c)!==-1&&Fe.indexOf(l)!==-1||c===ot&&Fe.indexOf(l)!==-1||Fe.concat(Ae).indexOf(c)!==-1&&l===Mt&&ed.indexOf(t[a])===-1||Fe.concat(Ae).indexOf(l)!==-1&&c===Gt)return j;if(c===hn&&l===hn){for(var h=e[n],w=1;h>0&&(h--,A[h]===hn);)w++;if(w%2!==0)return j}return c===Ss&&l===Ls?j:Ks},od=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=rd(t,A.lineBreak),s=e[0],r=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(r=r.map(function(a){return[Ae,Xe,ra].indexOf(a)!==-1?_t:a}));var o=A.wordBreak==="keep-all"?n.map(function(a,c){return a&&t[c]>=19968&&t[c]<=40959}):void 0;return[s,r,o]},ad=(function(){function t(A,e,s,r){this.codePoints=A,this.required=e===na,this.start=s,this.end=r}return t.prototype.slice=function(){return mA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),id=function(t,A){var e=Es(t),s=od(e,A),r=s[0],n=s[1],o=s[2],a=e.length,c=0,g=0;return{next:function(){if(g>=a)return{done:!0,value:null};for(var l=j;g<a&&(l=nd(e,n,r,++g,o))===j;);if(l!==j||g===a){var B=new ad(e,l,c,g);return c=g,{value:B,done:!1}}return{done:!0,value:null}}}};const cd=1,ld=2,it=4,la=8,Ds=10,da=47,Pt=92,dd=9,Bd=32,Rs=34,jt=61,gd=35,ud=36,fd=37,ks=39,Gs=40,Wt=41,hd=95,WA=45,pd=33,wd=60,md=62,Cd=64,Qd=91,xd=93,Ud=61,Fd=123,Ms=63,yd=125,Ba=124,Ed=126,bd=128,ga=65533,Cn=42,ze=43,vd=44,Hd=58,Id=59,Xt=46,Sd=0,Ld=8,Td=11,Od=14,Kd=31,Dd=127,fe=-1,ua=48,fa=97,ha=101,Rd=102,kd=117,Gd=122,pa=65,wa=69,ma=70,Md=85,Vd=90,GA=t=>t>=ua&&t<=57,Nd=t=>t>=55296&&t<=57343,ct=t=>GA(t)||t>=pa&&t<=ma||t>=fa&&t<=Rd,_d=t=>t>=fa&&t<=Gd,Pd=t=>t>=pa&&t<=Vd,jd=t=>_d(t)||Pd(t),Wd=t=>t>=bd,Vs=t=>t===Ds||t===dd||t===Bd,Ns=t=>jd(t)||Wd(t)||t===hd,Ca=t=>Ns(t)||GA(t)||t===WA,Xd=t=>t>=Sd&&t<=Ld||t===Td||t>=Od&&t<=Kd||t===Dd,Ke=(t,A)=>t!==Pt?!1:A!==Ds,_s=(t,A,e)=>t===WA?Ns(A)||Ke(A,e):Ns(t)?!0:!!(t===Pt&&Ke(t,A)),Qn=(t,A,e)=>t===ze||t===WA?GA(A)?!0:A===Xt&&GA(e):GA(t===Xt?A:t),zd=t=>{let A=0,e=1;(t[A]===ze||t[A]===WA)&&(t[A]===WA&&(e=-1),A++);const s=[];for(;GA(t[A]);)s.push(t[A++]);const r=s.length?parseInt(mA(...s),10):0;t[A]===Xt&&A++;const n=[];for(;GA(t[A]);)n.push(t[A++]);const o=n.length,a=o?parseInt(mA(...n),10):0;(t[A]===wa||t[A]===ha)&&A++;let c=1;(t[A]===ze||t[A]===WA)&&(t[A]===WA&&(c=-1),A++);const g=[];for(;GA(t[A]);)g.push(t[A++]);const l=g.length?parseInt(mA(...g),10):0;return e*(r+a*Math.pow(10,-o))*Math.pow(10,c*l)},Jd={type:2},Yd={type:3},Zd={type:4},$d={type:13},qd={type:8},AB={type:21},eB={type:9},tB={type:10},sB={type:11},rB={type:12},nB={type:14},Ps={type:23},oB={type:1},aB={type:25},iB={type:24},cB={type:26},lB={type:27},dB={type:28},BB={type:29},gB={type:31},xn={type:32};class Qa{constructor(){this._value=[]}write(A){this._value=this._value.concat(Es(A))}read(){const A=[];let e=this.consumeToken();for(;e!==xn;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case Rs:return this.consumeStringToken(Rs);case gd:const e=this.peekCodePoint(0),s=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Ca(e)||Ke(s,r)){const h=_s(e,s,r)?ld:cd;return{type:5,value:this.consumeName(),flags:h}}break;case ud:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),$d;break;case ks:return this.consumeStringToken(ks);case Gs:return Jd;case Wt:return Yd;case Cn:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),nB;break;case ze:if(Qn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case vd:return Zd;case WA:const n=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(Qn(n,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(_s(n,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===WA&&a===md)return this.consumeCodePoint(),this.consumeCodePoint(),iB;break;case Xt:if(Qn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case da:if(this.peekCodePoint(0)===Cn)for(this.consumeCodePoint();;){let h=this.consumeCodePoint();if(h===Cn&&(h=this.consumeCodePoint(),h===da))return this.consumeToken();if(h===fe)return this.consumeToken()}break;case Hd:return cB;case Id:return lB;case wd:if(this.peekCodePoint(0)===pd&&this.peekCodePoint(1)===WA&&this.peekCodePoint(2)===WA)return this.consumeCodePoint(),this.consumeCodePoint(),aB;break;case Cd:const c=this.peekCodePoint(0),g=this.peekCodePoint(1),l=this.peekCodePoint(2);if(_s(c,g,l))return{type:7,value:this.consumeName()};break;case Qd:return dB;case Pt:if(Ke(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case xd:return BB;case Ud:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),qd;break;case Fd:return sB;case yd:return rB;case kd:case Md:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===ze&&(ct(f)||f===Ms)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ba:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),eB;if(this.peekCodePoint(0)===Ba)return this.consumeCodePoint(),AB;break;case Ed:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),tB;break;case fe:return xn}return Vs(A)?(this.consumeWhiteSpace(),gB):GA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ns(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:mA(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(;ct(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let s=!1;for(;e===Ms&&A.length<6;)A.push(e),e=this.consumeCodePoint(),s=!0;if(s){const n=parseInt(mA(...A.map(a=>a===Ms?ua:a)),16),o=parseInt(mA(...A.map(a=>a===Ms?ma:a)),16);return{type:30,start:n,end:o}}const r=parseInt(mA(...A),16);if(this.peekCodePoint(0)===WA&&ct(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;ct(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(mA(...n),16);return{type:30,start:r,end:o}}else return{type:30,start:r,end:r}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Gs?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Gs?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===fe)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===ks||e===Rs){const s=this.consumeStringToken(this.consumeCodePoint());return s.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===fe||this.peekCodePoint(0)===Wt)?(this.consumeCodePoint(),{type:22,value:s.value}):(this.consumeBadUrlRemnants(),Ps)}for(;;){const s=this.consumeCodePoint();if(s===fe||s===Wt)return{type:22,value:mA(...A)};if(Vs(s))return this.consumeWhiteSpace(),this.peekCodePoint(0)===fe||this.peekCodePoint(0)===Wt?(this.consumeCodePoint(),{type:22,value:mA(...A)}):(this.consumeBadUrlRemnants(),Ps);if(s===Rs||s===ks||s===Gs||Xd(s))return this.consumeBadUrlRemnants(),Ps;if(s===Pt)if(Ke(s,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ps;else A.push(s)}}consumeWhiteSpace(){for(;Vs(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===Wt||A===fe)return;Ke(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let s="";for(;A>0;){const r=Math.min(5e4,A);s+=mA(...this._value.splice(0,r)),A-=r}return this._value.shift(),s}consumeStringToken(A){let e="",s=0;do{const r=this._value[s];if(r===fe||r===void 0||r===A)return e+=this.consumeStringSlice(s),{type:0,value:e};if(r===Ds)return this._value.splice(0,s),oB;if(r===Pt){const n=this._value[s+1];n!==fe&&n!==void 0&&(n===Ds?(e+=this.consumeStringSlice(s),s=-1,this._value.shift()):Ke(r,n)&&(e+=this.consumeStringSlice(s),e+=mA(this.consumeEscapedCodePoint()),s=-1))}s++}while(!0)}consumeNumber(){const A=[];let e=it,s=this.peekCodePoint(0);for((s===ze||s===WA)&&A.push(this.consumeCodePoint());GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());s=this.peekCodePoint(0);let r=this.peekCodePoint(1);if(s===Xt&&GA(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=la;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());s=this.peekCodePoint(0),r=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((s===wa||s===ha)&&((r===ze||r===WA)&&GA(n)||GA(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=la;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[zd(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),s=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(_s(s,r,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return s===fd?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(ct(A)){let e=mA(A);for(;ct(this.peekCodePoint(0))&&e.length<6;)e+=mA(this.consumeCodePoint());Vs(this.peekCodePoint(0))&&this.consumeCodePoint();const s=parseInt(e,16);return s===0||Nd(s)||s>1114111?ga:s}return A===fe?ga:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Ca(e))A+=mA(e);else if(Ke(e,this.peekCodePoint(0)))A+=mA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class lt{constructor(A){this._tokens=A}static create(A){const e=new Qa;return e.write(A),new lt(e.read())}static parseValue(A){return lt.create(A).parseComponentValue()}static parseValues(A){return lt.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 s=this.consumeToken();for(;;){if(s.type===32||fB(s,A))return e;this.reconsumeToken(s),e.values.push(this.consumeComponentValue()),s=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const s=this.consumeToken();if(s.type===32||s.type===3)return e;this.reconsumeToken(s),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?xn:A}reconsumeToken(A){this._tokens.unshift(A)}}const he=t=>t.type===15,UA=t=>t.type===17,V=t=>t.type===20,uB=t=>t.type===0,zt=(t,A)=>V(t)&&t.value===A,js=t=>t.type!==31,OA=t=>t.type!==31&&t.type!==4,ce=t=>{const A=[];let e=[];return t.forEach(s=>{if(s.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}s.type!==31&&e.push(s)}),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,uA=(t,A,e)=>Math.min(Math.max(t,A),e),XA=(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]],De=t=>XA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),Un=t=>XA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Je=t=>t.map(A=>{const e=A<0?-1:1,s=Math.abs(A);return s>.0031308?e*(1.055*s**(1/2.4)-.055):12.92*A}),Fn=t=>t.map(A=>{const e=A<0?-1:1,s=Math.abs(A);return s<=.04045?A/12.92:e*((s+.055)/1.055)**2.4}),hB=t=>{const[A,e,s]=Je(De([t[0],t[1],t[2]]));return[A,e,s,t[3]]},pB=t=>{const[A,e,s]=De([t[0],t[1],t[2]]);return[uA(Math.round(A*255),0,255),uA(Math.round(e*255),0,255),uA(Math.round(s*255),0,255),t[3]]},Re=t=>t.type===17||t.type===15,Z=t=>t.type===16||Re(t),wB=t=>t.type===18&&t.name==="calc",mB=(t,A=0)=>{const e=s=>{let r="";for(const n of s)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;r+=`(${o})`}else return null;else if(n.type===17)r+=n.number.toString();else if(n.type===15)n.unit==="px"?r+=n.number.toString():n.unit==="rem"||n.unit==="em"?r+=(n.number*16).toString():r+=n.number.toString();else if(n.type===16)r+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?r+=` ${o} `:o==="("?r+="(":o===")"&&(r+=")")}}return r};try{const s=e(t.values);if(s===null||s.trim()==="")return null;const r=new Function("return "+s)();if(typeof r=="number"&&!isNaN(r))return{type:17,number:r,flags:it}}catch{return null}return null},xa=t=>t.length>1?[t[0],t[1]]:[t[0]],FA={type:17,number:0,flags:it},Ye={type:16,number:50,flags:it},pe={type:16,number:100,flags:it},Jt=(t,A,e)=>{const[s,r]=t;return[G(s,A),G(typeof r<"u"?r:s,e)]},G=(t,A)=>{if(t.type===16)return t.number/100*A;if(he(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Ua="deg",Fa="grad",ya="rad",Ea="turn",dt={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Ua:return Math.PI*A.number/180;case Fa:return Math.PI/200*A.number;case ya:return A.number;case Ea:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},ba=t=>t.type===15&&(t.unit===Ua||t.unit===Fa||t.unit===ya||t.unit===Ea),va=t=>{switch(t.filter(V).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[FA,FA];case"to top":case"bottom":return ne(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[FA,pe];case"to right":case"left":return ne(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[pe,pe];case"to bottom":case"top":return ne(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[pe,FA];case"to left":case"right":return ne(270)}return 0},ne=t=>Math.PI*t/180,ke=t=>(255&t)===0,rA=t=>{const A=255&t,e=255&t>>8,s=255&t>>16,r=255&t>>24;return A<255?`rgba(${r},${s},${e},${A/255})`:`rgb(${r},${s},${e})`},le=(t,A,e,s)=>(t<<24|A<<16|e<<8|Math.round(s*255)<<0)>>>0,Ge=(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},Ze=t=>(t[0].type===20?t[0].value:"unknown")==="from",CB=t=>le(uA(Math.round(t[0]*255),0,255),uA(Math.round(t[1]*255),0,255),uA(Math.round(t[2]*255),0,255),uA(t[3],0,1)),yn=([t,A,e,s])=>{const r=Je([t,A,e]);return le(uA(Math.round(r[0]*255),0,255),uA(Math.round(r[1]*255),0,255),uA(Math.round(r[2]*255),0,255),s)},Yt=t=>{const A=De([t[0],t[1],t[2]]);return yn([A[0],A[1],A[2],t[3]])},QB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for lab()");const[e,s,r,n]=Ws(A),o=Je(De(Js([e,s,r])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},xB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for oklab()");const[e,s,r,n]=Ws(A),o=Je(De(zs([e,s,r])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},UB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for oklch()");const[e,s,r,n]=La(A),o=Je(De(zs(Xs([e,s,r]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},FB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for lch()");const[e,s,r,n]=Sa(A),o=Je(De(Js(Xs([e,s,r]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},Ha=(t,A)=>{const e=A.filter(OA),[s,r,n,o]=e,a=(s.type===17?ne(s.number):dt.parse(t,s))/(Math.PI*2),c=Z(r)?r.number/100:0,g=Z(n)?n.number/100:0,l=typeof o<"u"&&Z(o)?G(o,1):1;return[a,c,g,l]},Ia=(t,A)=>{if(Ze(A))throw new Error("Relative color not supported for hsl()");const[e,s,r,n]=Ha(t,A),o=Oa([e,s,r]);return le(o[0]*255,o[1]*255,o[2]*255,s===0?1:n)},Sa=t=>{const A=t.filter(OA),e=Z(A[0])?A[0].number:0,s=Z(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},Ws=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,s=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},La=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,s=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},Ta=t=>XA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),En=t=>XA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),bn=(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),Oa=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const s=e<=.5?e*(A+1):e+A-e*A,r=e*2-s,n=bn(r,s,t+1/3),o=bn(r,s,t),a=bn(r,s,t-1/3);return[n,o,a]},Xs=([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)]),zs=t=>{const A=XA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(s=>s**3);return XA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Js=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,s=A-t[2]/200,r=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/r)*.3457/.3585,t[0]>8?A**3:t[0]/r,(s>n?s**3:(116*s-16)/r)*(1-.3457-.3585)/.3585];return En([o[0],o[1],o[2]])},yB=(t,A)=>{const e=A.filter(OA);if(e.length===3){const[s,r,n]=e.map(Ge),o=Fn([s/255,r/255,n/255]),[a,c,g]=Un([o[0],o[1],o[2]]);return[a,c,g,1]}if(e.length===4){const[s,r,n,o]=e.map(Ge),a=Fn([s/255,r/255,n/255]),[c,g,l]=Un([a[0],a[1],a[2]]);return[c,g,l,o]}return[0,0,0,1]},EB=(t,A)=>{const[e,s,r,n]=Ha(t,A),o=Fn(Oa([e,s,r])),[a,c,g]=Un([o[0],o[1],o[2]]);return[a,c,g,n]},bB=(t,A)=>{const[e,s,r,n]=Ws(A),[o,a,c]=Js([e,s,r]);return[o,a,c,n]},vB=(t,A)=>{const[e,s,r,n]=Sa(A),[o,a,c]=Js(Xs([e,s,r]));return[o,a,c,n]},HB=(t,A)=>{const[e,s,r,n]=La(A),[o,a,c]=zs(Xs([e,s,r]));return[o,a,c,n]},IB=(t,A)=>{const[e,s,r,n]=Ws(A),[o,a,c]=zs([e,s,r]);return[o,a,c,n]},SB=t=>En([t[0],t[1],t[2]]),Ka=t=>t,LB=t=>{const[A,e,s]=Ta([t[0],t[2],t[3]]);return[A,e,s,t[3]]},Da=t=>Yt([t[0],t[1],t[2],t[3]]),TB=t=>{const A=SB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},OB=t=>XA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),KB=t=>XA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),DB=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}),RB=t=>Je(t),kB=t=>{const A=DB([t[0],t[1],t[2]]);return OB([A[0],A[1],A[2]])},GB=t=>{const[A,e,s]=RB(KB([t[0],t[1],t[2]]));return[A,e,s,t[3]]},MB=t=>{const A=kB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},VB=t=>XA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),NB=t=>XA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),_B=t=>{const A=t.map(e=>{const s=e<0?-1:1,r=Math.abs(e);return s*r**2.19921875});return[A[0],A[1],A[2]]},PB=t=>{const A=t.map(e=>{const s=e<0?-1:1,r=Math.abs(e);return s*r**.4547069271758437});return[A[0],A[1],A[2]]},jB=t=>{const[A,e,s]=PB(VB([t[0],t[1],t[2]]));return[A,e,s,t[3]]},WB=t=>{const A=De(NB(_B([t[0],t[1],t[2]])));return yn([A[0],A[1],A[2],t[3]])},XB=t=>XA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),zB=t=>XA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),JB=t=>t.map(A=>A<16/512?A/16:A**1.8),YB=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),ZB=t=>{const A=JB([t[0],t[1],t[2]]);return En(XB([A[0],A[1],A[2]]))},$B=t=>{const[A,e,s]=YB(zB(Ta([t[0],t[1],t[2]])));return[A,e,s,t[3]]},qB=t=>{const A=ZB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},Ys=1.09929682680944,Ra=.018053968510807,Ag=t=>t.map(function(A){return A<Ra*4.5?A/4.5:Math.pow((A+Ys-1)/Ys,1/.45)}),eg=t=>t.map(function(A){return A>=Ra?Ys*Math.pow(A,.45)-(Ys-1):4.5*A}),tg=t=>XA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),sg=t=>XA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),rg=t=>{const A=Ag([t[0],t[1],t[2]]);return tg([A[0],A[1],A[2]])},ng=t=>{const[A,e,s]=eg(sg([t[0],t[1],t[2]]));return[A,e,s,t[3]]},og=t=>{const A=rg([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},Me={name:"color",parse:(t,A)=>{if(A.type===18){const e=lg[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,s,r,n]=ka(A);return le(e,s,r,n)}if(A.type===20){const e=we[A.value.toUpperCase()];if(typeof e<"u")return e}return we.TRANSPARENT}},ka=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),s=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(s+s,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),s=t.value.substring(2,3),r=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(s+s,16),parseInt(r+r,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),s=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(s,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),s=t.value.substring(4,6),r=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(s,16),parseInt(r,16)/255]}return[0,0,0,1]},Ga=(t,A)=>{const e=A.filter(OA);if(Ze(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[s,r,n]=e.map(Ge);return le(s,r,n,1)}if(e.length===4){const[s,r,n,o]=e.map(Ge);return le(s,r,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const s=Ge(e[0],0),r=Ge(e[1],1),n=Ge(e[2],2),o=Ge(e[4],3);return le(s,r,n,o)}return 0},ag=(t,A)=>{const e=A.filter(OA),s=e[0].type===20?e[0].value:"unknown";if(!Ze(e)){const n=s,o=Ma[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const a=UA(e[1])?e[1].number:0,c=UA(e[2])?e[2].number:0,g=UA(e[3])?e[3].number:0,l=e.length>4&&e[4].type===6&&e[4].value==="/"&&UA(e[5])?e[5].number:1;return o([a,c,g,l])}else{const n=(m,T)=>{if(UA(T))return T.number;const H=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(V(T)){const K=H(T.value);return m[K]}const I=K=>{const _=K.filter(OA);let W="(";for(const R of _)W+=R.type===18&&R.name==="calc"?I(R.values):UA(R)?R.number:R.type===6||V(R)?R.value:"";return W+=")",W};if(T.type===18){const K=T.values.filter(OA);if(T.name==="calc"){const _=I(K).replace(/r|x/,m[0].toString()).replace(/g|y/,m[1].toString()).replace(/b|z/,m[2].toString());return new Function("return "+_)()}}return null},o=e[1].type===18?e[1].name:V(e[1])||e[1].type===5?"rgb":"unknown",a=V(e[2])?e[2].value:"unknown";let c=e[1].type===18?e[1].values:V(e[1])?[e[1]]:[];if(V(e[1])){if(typeof we[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const T=Bt(t,e[1].value),H=255&T,I=255&T>>8,K=255&T>>16;c=[{type:17,number:255&T>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:I,flags:1},{type:17,number:H>1?H/255:H,flags:1}]}}else if(e[1].type===5){const[m,T,H,I]=ka(e[1]);c=[{type:17,number:m,flags:1},{type:17,number:T,flags:1},{type:17,number:H,flags:1},{type:17,number:I>1?I/255:I,flags:1}]}if(c.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(a==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const g=ig[o],l=cg[a],B=Ma[a];if(typeof g>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${a}" for color() function`);const f=g(t,c),h=l(f),w=n(h,e[3]),C=n(h,e[4]),F=n(h,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&UA(e[7])?e[7].number:1;if(w===null||C===null||F===null)throw new Error("Invalid relative color in color() function");return B([w,C,F,y])}},Ma={srgb:CB,"srgb-linear":yn,"display-p3":MB,"a98-rgb":WB,"prophoto-rgb":qB,xyz:Da,"xyz-d50":TB,"xyz-d65":Da,rec2020:og},ig={rgb:yB,hsl:EB,lab:bB,lch:vB,oklab:IB,oklch:HB},cg={srgb:hB,"srgb-linear":pB,"display-p3":GB,"a98-rgb":jB,"prophoto-rgb":$B,xyz:Ka,"xyz-d50":LB,"xyz-d65":Ka,rec2020:ng},lg={hsl:Ia,hsla:Ia,rgb:Ga,rgba:Ga,lch:FB,oklch:UB,oklab:xB,lab:QB,color:ag},Bt=(t,A)=>Me.parse(t,lt.create(A).parseComponentValue()),we={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Bg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zs=(t,A)=>{const e=Me.parse(t,A[0]),s=A[1];return s&&Z(s)?{color:e,stop:s}:{color:e,stop:null}},Va=(t,A)=>{const e=t[0],s=t[t.length-1];e.stop===null&&(e.stop=FA),s.stop===null&&(s.stop=pe);const r=[];let n=0;for(let a=0;a<t.length;a++){const c=t[a].stop;if(c!==null){const g=G(c,A);g>n?r.push(g):r.push(n),n=g}else r.push(null)}let o=null;for(let a=0;a<r.length;a++){const c=r[a];if(c===null)o===null&&(o=a);else if(o!==null){const g=a-o,l=r[o-1],B=(c-l)/(g+1);for(let f=1;f<=g;f++)r[o+f-1]=B*f;o=null}}return t.map(({color:a},c)=>({color:a,stop:Math.max(Math.min(1,r[c]/A),0)}))},gg=(t,A,e)=>{const s=A/2,r=e/2,n=G(t[0],A)-s,o=r-G(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},ug=(t,A,e)=>{const s=typeof t=="number"?t:gg(t,A,e),r=Math.abs(A*Math.sin(s))+Math.abs(e*Math.cos(s)),n=A/2,o=e/2,a=r/2,c=Math.sin(s-Math.PI/2)*a,g=Math.cos(s-Math.PI/2)*a;return[r,n-g,n+g,o-c,o+c]},de=(t,A)=>Math.sqrt(t*t+A*A),Na=(t,A,e,s,r)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,a)=>{const[c,g]=a,l=de(e-c,s-g);return(r?l<o.optimumDistance:l>o.optimumDistance)?{optimumCorner:a,optimumDistance:l}:o},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner,fg=(t,A,e,s,r)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-s),Math.abs(e),Math.abs(e-r)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-s)),o=Math.min(Math.abs(e),Math.abs(e-r)));break;case 2:if(t.shape===0)n=o=Math.min(de(A,e),de(A,e-r),de(A-s,e),de(A-s,e-r));else if(t.shape===1){const a=Math.min(Math.abs(e),Math.abs(e-r))/Math.min(Math.abs(A),Math.abs(A-s)),[c,g]=Na(s,r,A,e,!0);n=de(c-A,(g-e)/a),o=a*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-s),Math.abs(e),Math.abs(e-r)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-s)),o=Math.max(Math.abs(e),Math.abs(e-r)));break;case 3:if(t.shape===0)n=o=Math.max(de(A,e),de(A,e-r),de(A-s,e),de(A-s,e-r));else if(t.shape===1){const a=Math.max(Math.abs(e),Math.abs(e-r))/Math.max(Math.abs(A),Math.abs(A-s)),[c,g]=Na(s,r,A,e,!1);n=de(c-A,(g-e)/a),o=a*n}break}return Array.isArray(t.size)&&(n=G(t.size[0],s),o=t.size.length===2?G(t.size[1],r):n),[n,o]},hg=(t,A)=>{let e=ne(180);const s=[];return ce(A).forEach((r,n)=>{if(n===0){const a=r[0];if(a.type===20&&a.value==="to"){e=va(r);return}else if(ba(a)){e=dt.parse(t,a);return}}const o=Zs(t,r);s.push(o)}),{angle:e,stops:s,type:1}},$s=(t,A)=>{let e=ne(180);const s=[];return ce(A).forEach((r,n)=>{if(n===0){const a=r[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=va(r);return}else if(ba(a)){e=(dt.parse(t,a)+ne(270))%ne(360);return}}const o=Zs(t,r);s.push(o)}),{angle:e,stops:s,type:1}},pg=(t,A)=>{const e=ne(180),s=[];let r=1;const n=0,o=3,a=[];return ce(A).forEach((c,g)=>{const l=c[0];if(g===0){if(V(l)&&l.value==="linear"){r=1;return}else if(V(l)&&l.value==="radial"){r=2;return}}if(l.type===18){if(l.name==="from"){const B=Me.parse(t,l.values[0]);s.push({stop:FA,color:B})}else if(l.name==="to"){const B=Me.parse(t,l.values[0]);s.push({stop:pe,color:B})}else if(l.name==="color-stop"){const B=l.values.filter(OA);if(B.length===2){const f=Me.parse(t,B[1]),h=B[0];UA(h)&&s.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),r===1?{angle:(e+ne(180))%ne(360),stops:s,type:r}:{size:o,shape:n,stops:s,position:a,type:r}},_a="closest-side",Pa="farthest-side",ja="closest-corner",Wa="farthest-corner",Xa="circle",za="ellipse",Ja="cover",Ya="contain",wg=(t,A)=>{let e=0,s=3;const r=[],n=[];return ce(A).forEach((o,a)=>{let c=!0;if(a===0){let g=!1;c=o.reduce((l,B)=>{if(g)if(V(B))switch(B.value){case"center":return n.push(Ye),l;case"top":case"left":return n.push(FA),l;case"right":case"bottom":return n.push(pe),l}else(Z(B)||Re(B))&&n.push(B);else if(V(B))switch(B.value){case Xa:return e=0,!1;case za:return e=1,!1;case"at":return g=!0,!1;case _a:return s=0,!1;case Ja:case Pa:return s=1,!1;case Ya:case ja:return s=2,!1;case Wa:return s=3,!1}else if(Re(B)||Z(B))return Array.isArray(s)||(s=[]),s.push(B),!1;return l},c)}if(c){const g=Zs(t,o);r.push(g)}}),{size:s,shape:e,stops:r,position:n,type:2}},qs=(t,A)=>{let e=0,s=3;const r=[],n=[];return ce(A).forEach((o,a)=>{let c=!0;if(a===0?c=o.reduce((g,l)=>{if(V(l))switch(l.value){case"center":return n.push(Ye),!1;case"top":case"left":return n.push(FA),!1;case"right":case"bottom":return n.push(pe),!1}else if(Z(l)||Re(l))return n.push(l),!1;return g},c):a===1&&(c=o.reduce((g,l)=>{if(V(l))switch(l.value){case Xa:return e=0,!1;case za:return e=1,!1;case Ya:case _a:return s=0,!1;case Pa:return s=1,!1;case ja:return s=2,!1;case Ja:case Wa:return s=3,!1}else if(Re(l)||Z(l))return Array.isArray(s)||(s=[]),s.push(l),!1;return g},c)),c){const g=Zs(t,o);r.push(g)}}),{size:s,shape:e,stops:r,position:n,type:2}},mg=t=>t.type===1,Cg=t=>t.type===2,vn={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=Za[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 Qg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Za[t.name])}const Za={"linear-gradient":hg,"-moz-linear-gradient":$s,"-ms-linear-gradient":$s,"-o-linear-gradient":$s,"-webkit-linear-gradient":$s,"radial-gradient":wg,"-moz-radial-gradient":qs,"-ms-radial-gradient":qs,"-o-radial-gradient":qs,"-webkit-radial-gradient":qs,"-webkit-gradient":pg},xg={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(s=>OA(s)&&Qg(s)).map(s=>vn.parse(t,s))}},Ug={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Fg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>ce(A).map(e=>e.map(s=>wB(s)?mB(s,0):Z(s)?s:null).filter(s=>s!==null)).map(xa)},yg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(V).map(s=>s.value).join(" ")).map(Eg)},Eg=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 gt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(gt||(gt={}));const bg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(vg))},vg=t=>V(t)||Z(t),Ar=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Hg=Ar("top"),Ig=Ar("right"),Sg=Ar("bottom"),Lg=Ar("left"),er=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>xa(e.filter(Z))}),Tg=er("top-left"),Og=er("top-right"),Kg=er("bottom-right"),Dg=er("bottom-left"),tr=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}}),Rg=tr("top"),kg=tr("right"),Gg=tr("bottom"),Mg=tr("left"),sr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>he(e)?e.number:0}),Vg=sr("top"),Ng=sr("right"),_g=sr("bottom"),Pg=sr("left"),Hn={type:0},In=t=>{const[A]=t;return A?V(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Z(A)?A:"closest-side":"closest-side"},$a=t=>{let A=null,e=null;for(const s of t)if(V(s))switch(s.value){case"left":A=FA;break;case"right":A=pe;break;case"top":e=FA;break;case"bottom":e=pe;break;case"center":A===null?A=Ye:e===null&&(e=Ye);break}else Z(s)&&(A===null?A=s:e===null&&(e=s));return{cx:A??Ye,cy:e??Ye}},jg=t=>{const A=[];for(const o of t)if(o.type!==31){if(V(o)&&o.value==="round")break;Z(o)&&A.push(o)}const e=A[0]??FA,s=A[1]??e,r=A[2]??e,n=A[3]??s;return{type:1,top:e,right:s,bottom:r,left:n}},Wg=t=>{const A=t.filter(js),e=A.findIndex(n=>zt(n,"at")),s=e===-1?A:A.slice(0,e),r=e===-1?[]:A.slice(e+1);return{type:2,radius:In(s),...$a(r)}},Xg=t=>{const A=t.filter(js),e=A.findIndex(n=>zt(n,"at")),s=e===-1?A:A.slice(0,e),r=e===-1?[]:A.slice(e+1);return{type:3,rx:In(s.slice(0,1)),ry:In(s.slice(1,2)),...$a(r)}},zg=t=>{const A=ce(t),e=[];for(const s of A){if(s.length===1&&V(s[0]))continue;const r=s.filter(Z);r.length>=2&&e.push([r[0],r[1]])}return{type:4,points:e}},Jg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Hn},Yg={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(V(A)&&A.value==="none")return Hn;if(A.type===18)switch(A.name){case"inset":return jg(A.values);case"circle":return Wg(A.values);case"ellipse":return Xg(A.values);case"polygon":return zg(A.values);case"path":return Jg(A.values)}return Hn}},Zg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$g={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},qg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,s)=>e|Au(s.value),0)},Au=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},eu={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}},tu={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 rr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(rr||(rr={}));const su={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?rr.STRICT:rr.NORMAL},ru={name:"line-height",initialValue:"normal",prefix:!1,type:4},qa=(t,A)=>V(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Z(t)?G(t,A):A,nu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:vn.parse(t,A)},ou={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Sn={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}}},nr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),au=nr("top"),iu=nr("right"),cu=nr("bottom"),lu=nr("left"),du={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(V).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Bu={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"}),gu=or("top"),uu=or("right"),fu=or("bottom"),hu=or("left"),pu={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}}},wu={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}},mu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&zt(A[0],"none")?[]:ce(A).map(e=>{const s={color:we.TRANSPARENT,offsetX:FA,offsetY:FA,blur:FA};let r=0;for(let n=0;n<e.length;n++){const o=e[n];Re(o)?(r===0?s.offsetX=o:r===1?s.offsetY=o:s.blur=o,r++):s.color=Me.parse(t,o)}return s})},Cu={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}},Qu={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=xu[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}},xu={matrix:(t,A)=>{const e=A.filter(s=>s.type===17).map(s=>s.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(g=>g.type===17).map(g=>g.number),[s,r,{},{},n,o,{},{},{},{},{},{},a,c]=e;return e.length===16?[s,r,n,o,a,c]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let s=0;if(e.type===17&&e.number===0)s=0;else if(e.type===15)s=dt.parse(t,e);else return null;const r=Math.cos(s),n=Math.sin(s);return[r,n,-n,r,0,0]}},Ai={type:16,number:50,flags:it},Uu=[Ai,Ai],Fu={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Z);return e.length!==2?Uu:[e[0],e[1]]}},yu={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?dt.parse(t,A)*180/Math.PI:null},Eu={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 Zt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Zt||(Zt={}));const bu={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Zt.BREAK_ALL;case"keep-all":return Zt.KEEP_ALL;default:return Zt.NORMAL}}},vu={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(UA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},ei={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")}},Hu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:1},Iu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Su={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(V).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)},Lu={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}}},Tu={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(V(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return he(A)?A.number:"auto"}},Ou={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>V(A)&&A.value==="auto"?"auto":he(A)?A.number:"auto"},Ku={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],s=[];return A.forEach(r=>{switch(r.type){case 20:case 0:e.push(r.value);break;case 17:e.push(r.number.toString());break;case 4:s.push(e.join(" ")),e.length=0;break}}),e.length&&s.push(e.join(" ")),s.map(r=>r.indexOf(" ")===-1?r:`'${r}'`)}},Du={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ru={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:V(A)&&A.value==="bold"?700:400},ku={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(V).map(e=>e.value)},Gu={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"}}},cA=(t,A)=>(t&A)!==0,Mu={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}},Vu={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 s=[],r=A.filter(js);for(let n=0;n<r.length;n++){const o=r[n],a=r[n+1];if(o.type===20){const c=a&&UA(a)?a.number:1;s.push({counter:o.value,increment:c})}}return s}},Nu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],s=A.filter(js);for(let r=0;r<s.length;r++){const n=s[r],o=s[r+1];if(V(n)&&n.value!=="none"){const a=o&&UA(o)?o.number:0;e.push({counter:n.value,reset:a})}}return e}},_u={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(he).map(e=>ei.parse(t,e))},Pu={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 s=[],r=A.filter(uB);if(r.length%2!==0)return null;for(let n=0;n<r.length;n+=2){const o=r[n].value,a=r[n+1].value;s.push({open:o,close:a})}return s}},ti=(t,A,e)=>{if(!t)return"";const s=t[Math.min(A,t.length-1)];return s?e?s.open:s.close:""},ju={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&zt(A[0],"none")?[]:ce(A).map(e=>{const s={color:255,offsetX:FA,offsetY:FA,blur:FA,spread:FA,inset:!1};let r=0;for(let n=0;n<e.length;n++){const o=e[n];zt(o,"inset")?s.inset=!0:Re(o)?(r===0?s.offsetX=o:r===1?s.offsetY=o:r===2?s.blur=o:s.spread=o,r++):s.color=Me.parse(t,o)}return s})},Wu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],s=[];return A.filter(V).forEach(r=>{switch(r.value){case"stroke":s.push(1);break;case"fill":s.push(0);break;case"markers":s.push(2);break}}),e.forEach(r=>{s.indexOf(r)===-1&&s.push(r)}),s}},Xu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},zu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>he(A)?A.number:0},Ju={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},Yu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,s)=>e|Zu(s.value),0)},Zu=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},$u={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var ee;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(ee||(ee={}));const qu={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 ee.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return ee.PIXELATED;case"smooth":case"high-quality":return ee.SMOOTH;default:return ee.AUTO}}};class Af{constructor(A,e){this.animationDuration=b(A,_u,e.animationDuration),this.backgroundClip=b(A,dg,e.backgroundClip),this.backgroundColor=b(A,Bg,e.backgroundColor),this.backgroundImage=b(A,xg,e.backgroundImage),this.backgroundOrigin=b(A,Ug,e.backgroundOrigin),this.backgroundPosition=b(A,Fg,e.backgroundPosition),this.backgroundRepeat=b(A,yg,e.backgroundRepeat),this.backgroundSize=b(A,bg,e.backgroundSize),this.borderTopColor=b(A,Hg,e.borderTopColor),this.borderRightColor=b(A,Ig,e.borderRightColor),this.borderBottomColor=b(A,Sg,e.borderBottomColor),this.borderLeftColor=b(A,Lg,e.borderLeftColor),this.borderTopLeftRadius=b(A,Tg,e.borderTopLeftRadius),this.borderTopRightRadius=b(A,Og,e.borderTopRightRadius),this.borderBottomRightRadius=b(A,Kg,e.borderBottomRightRadius),this.borderBottomLeftRadius=b(A,Dg,e.borderBottomLeftRadius),this.borderTopStyle=b(A,Rg,e.borderTopStyle),this.borderRightStyle=b(A,kg,e.borderRightStyle),this.borderBottomStyle=b(A,Gg,e.borderBottomStyle),this.borderLeftStyle=b(A,Mg,e.borderLeftStyle),this.borderTopWidth=b(A,Vg,e.borderTopWidth),this.borderRightWidth=b(A,Ng,e.borderRightWidth),this.borderBottomWidth=b(A,_g,e.borderBottomWidth),this.borderLeftWidth=b(A,Pg,e.borderLeftWidth),this.boxShadow=b(A,ju,e.boxShadow),this.clipPath=b(A,Yg,e.clipPath),this.color=b(A,Zg,e.color),this.direction=b(A,$g,e.direction),this.display=b(A,qg,e.display),this.float=b(A,eu,e.cssFloat),this.fontFamily=b(A,Ku,e.fontFamily),this.fontSize=b(A,Du,e.fontSize),this.fontStyle=b(A,Gu,e.fontStyle),this.fontVariant=b(A,ku,e.fontVariant),this.fontWeight=b(A,Ru,e.fontWeight),this.letterSpacing=b(A,tu,e.letterSpacing),this.lineBreak=b(A,su,e.lineBreak),this.lineHeight=b(A,ru,e.lineHeight),this.listStyleImage=b(A,nu,e.listStyleImage),this.listStylePosition=b(A,ou,e.listStylePosition),this.listStyleType=b(A,Sn,e.listStyleType),this.marginTop=b(A,au,e.marginTop),this.marginRight=b(A,iu,e.marginRight),this.marginBottom=b(A,cu,e.marginBottom),this.marginLeft=b(A,lu,e.marginLeft),this.opacity=b(A,Hu,e.opacity);const s=b(A,du,e.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=b(A,Bu,e.overflowWrap),this.paddingTop=b(A,gu,e.paddingTop),this.paddingRight=b(A,uu,e.paddingRight),this.paddingBottom=b(A,fu,e.paddingBottom),this.paddingLeft=b(A,hu,e.paddingLeft),this.paintOrder=b(A,Wu,e.paintOrder),this.position=b(A,wu,e.position),this.textAlign=b(A,pu,e.textAlign),this.textDecorationColor=b(A,Iu,e.textDecorationColor??e.color),this.textDecorationLine=b(A,Su,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=b(A,Lu,e.textDecorationStyle),this.textDecorationThickness=b(A,Tu,e.textDecorationThickness),this.textUnderlineOffset=b(A,Ou,e.textUnderlineOffset),this.textShadow=b(A,mu,e.textShadow),this.textTransform=b(A,Cu,e.textTransform),this.textOverflow=b(A,$u,e.textOverflow),this.transform=b(A,Qu,e.transform),this.transformOrigin=b(A,Fu,e.transformOrigin),this.rotate=b(A,yu,e.rotate),this.visibility=b(A,Eu,e.visibility),this.webkitTextStrokeColor=b(A,Xu,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=b(A,zu,e.webkitTextStrokeWidth),this.webkitLineClamp=b(A,Ju,e.webkitLineClamp),this.wordBreak=b(A,bu,e.wordBreak),this.zIndex=b(A,vu,e.zIndex),this.objectFit=b(A,Yu,e.objectFit),this.imageRendering=b(A,qu,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return ke(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 cA(this.display,4)||cA(this.display,33554432)||cA(this.display,268435456)||cA(this.display,536870912)||cA(this.display,67108864)||cA(this.display,134217728)}}class ef{constructor(A,e){this.content=b(A,Mu,e.content),this.quotes=b(A,Pu,e.quotes)}}class si{constructor(A,e){this.counterIncrement=b(A,Vu,e.counterIncrement),this.counterReset=b(A,Nu,e.counterReset)}}const b=(t,A,e)=>{const s=new Qa,r=e!==null&&typeof e<"u"?e.toString():A.initialValue;s.write(r);const n=new lt(s.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,V(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 dt.parse(t,n.parseComponentValue());case"color":return Me.parse(t,n.parseComponentValue());case"image":return vn.parse(t,n.parseComponentValue());case"length":const a=n.parseComponentValue();return Re(a)?a:FA;case"length-percentage":const c=n.parseComponentValue();return Z(c)?c:FA;case"time":return ei.parse(t,n.parseComponentValue())}break}},ye=t=>t.nodeType===Node.ELEMENT_NODE,ri=t=>t.nodeType===Node.TEXT_NODE,ut=t=>typeof t.className=="object",$t=t=>ye(t)&&typeof t.style<"u"&&!ut(t),tf=t=>t.tagName==="LI",sf=t=>t.tagName==="OL",ni=t=>!ut(t)&&t.tagName.indexOf("-")>0,rf="data-html2canvas-debug",nf=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(rf)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ln=(t,A)=>{const e=nf(t);return e===1||A===e};class oi{static normalizeElement(A,e){const s={};return $t(A)&&(e.animationDuration.some(r=>r>0)&&(s.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(s.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(s.rotate=A.style.rotate,A.style.rotate="0deg",s.transform===void 0&&(s.transform=A.style.transform,A.style.transform="translate(0, 0)"))),s}static restoreElement(A,e){$t(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 me{constructor(A,e,s={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Ln(e,3))debugger;this.styles=new Af(A,A.config.window.getComputedStyle(e,null)),s.normalizeDom!==!1&&$t(e)&&(this.originalStyles=oi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=ys(this.context,e),Ln(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(oi.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 of="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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ACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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AAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt=typeof Uint8Array>"u"?[]:new Uint8Array(256),ar=0;ar<ai.length;ar++)qt[ai.charCodeAt(ar)]=ar;for(var af=function(t){var A=t.length*.75,e=t.length,s,r=0,n,o,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),l=Array.isArray(g)?g:new Uint8Array(g);for(s=0;s<e;s+=4)n=qt[t.charCodeAt(s)],o=qt[t.charCodeAt(s+1)],a=qt[t.charCodeAt(s+2)],c=qt[t.charCodeAt(s+3)],l[r++]=n<<2|o>>4,l[r++]=(o&15)<<4|a>>2,l[r++]=(a&3)<<6|c&63;return g},cf=function(t){for(var A=t.length,e=[],s=0;s<A;s+=2)e.push(t[s+1]<<8|t[s]);return e},lf=function(t){for(var A=t.length,e=[],s=0;s<A;s+=4)e.push(t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s]);return e},$e=5,Tn=11,On=2,df=Tn-$e,ii=65536>>$e,Bf=1<<$e,Kn=Bf-1,gf=1024>>$e,uf=ii+gf,ff=uf,hf=32,pf=ff+hf,wf=65536>>Tn,mf=1<<df,Cf=mf-1,ci=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Qf=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},xf=function(t,A){var e=af(t),s=Array.isArray(e)?lf(e):new Uint32Array(e),r=Array.isArray(e)?cf(e):new Uint16Array(e),n=24,o=ci(r,n/2,s[4]/2),a=s[5]===2?ci(r,(n+s[4])/2):Qf(s,Math.ceil((n+s[4])/4));return new Uf(s[0],s[1],s[2],s[3],o,a)},Uf=(function(){function t(A,e,s,r,n,o){this.initialValue=A,this.errorValue=e,this.highStart=s,this.highValueIndex=r,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>>$e],e=(e<<On)+(A&Kn),this.data[e];if(A<=65535)return e=this.index[ii+(A-55296>>$e)],e=(e<<On)+(A&Kn),this.data[e];if(A<this.highStart)return e=pf-wf+(A>>Tn),e=this.index[e],e+=A>>$e&Cf,e=this.index[e],e=(e<<On)+(A&Kn),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ff=typeof Uint8Array>"u"?[]:new Uint8Array(256),ir=0;ir<li.length;ir++)Ff[li.charCodeAt(ir)]=ir;var yf=1,Dn=2,Rn=3,di=4,Bi=5,Ef=7,gi=8,kn=9,Gn=10,ui=11,fi=12,hi=13,pi=14,Mn=15,bf=function(t){for(var A=[],e=0,s=t.length;e<s;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<s){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((r&1023)<<10)+(n&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},vf=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 s=[],r=-1,n="";++r<e;){var o=t[r];o<=65535?s.push(o):(o-=65536,s.push((o>>10)+55296,o%1024+56320)),(r+1===e||s.length>16384)&&(n+=String.fromCharCode.apply(String,s),s.length=0)}return n},Hf=xf(of),oe="×",Vn="÷",If=function(t){return Hf.get(t)},Sf=function(t,A,e){var s=e-2,r=A[s],n=A[e-1],o=A[e];if(n===Dn&&o===Rn)return oe;if(n===Dn||n===Rn||n===di||o===Dn||o===Rn||o===di)return Vn;if(n===gi&&[gi,kn,ui,fi].indexOf(o)!==-1||(n===ui||n===kn)&&(o===kn||o===Gn)||(n===fi||n===Gn)&&o===Gn||o===hi||o===Bi||o===Ef||n===yf)return oe;if(n===hi&&o===pi){for(;r===Bi;)r=A[--s];if(r===pi)return oe}if(n===Mn&&o===Mn){for(var a=0;r===Mn;)a++,r=A[--s];if(a%2===0)return oe}return Vn},Lf=function(t){var A=bf(t),e=A.length,s=0,r=0,n=A.map(If);return{next:function(){if(s>=e)return{done:!0,value:null};for(var o=oe;s<e&&(o=Sf(A,n,++s))===oe;);if(o!==oe||s===e){var a=vf.apply(null,A.slice(r,s));return r=s,{value:a,done:!1}}return{done:!0,value:null}}}},Tf=function(t){for(var A=Lf(t),e=[],s;!(s=A.next()).done;)s.value&&e.push(s.value.slice());return e};const Of=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const s=t.createElement("boundtest");s.style.height="123px",s.style.display="block",t.body.appendChild(s),e.selectNode(s);const r=e.getBoundingClientRect(),n=Math.round(r.height);if(t.body.removeChild(s),n===123)return!0}}return!1},Kf=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"?"&#128104;".repeat(10):"";const s=A.firstChild,r=Es(s.data).map(c=>mA(c));let n=0,o={};const a=r.every((c,g)=>{e.setStart(s,n),e.setEnd(s,n+c.length);const l=e.getBoundingClientRect();n+=c.length;const B=l.x>o.x||l.y>o.y;return o=l,g===0?!0:B});return t.body.removeChild(A),a},Df=()=>typeof new Image().crossOrigin<"u",Rf=()=>typeof new XMLHttpRequest().responseType=="string",kf=t=>{const A=new Image,e=t.createElement("canvas"),s=e.getContext("2d");if(!s)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{s.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},wi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Gf=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const s=A.getContext("2d");if(!s)return Promise.reject(!1);s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,e,e);const r=new Image,n=A.toDataURL();r.src=n;const o=Nn(e,e,0,0,r);return s.fillStyle="red",s.fillRect(0,0,e,e),mi(o).then(a=>{s.drawImage(a,0,0);const c=s.getImageData(0,0,e,e).data;s.fillStyle="red",s.fillRect(0,0,e,e);const g=t.createElement("div");return g.style.backgroundImage=`url(${n})`,g.style.height=`${e}px`,wi(c)?mi(Nn(e,e,0,0,g)):Promise.reject(!1)}).then(a=>(s.drawImage(a,0,0),wi(s.getImageData(0,0,e,e).data))).catch(()=>!1)},Nn=(t,A,e,s,r)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),a=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",s.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(r),o},mi=t=>new Promise((A,e)=>{const s=new Image;s.onload=()=>A(s),s.onerror=e,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),KA={get SUPPORT_RANGE_BOUNDS(){const t=Of(document);return Object.defineProperty(KA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=KA.SUPPORT_RANGE_BOUNDS&&Kf(document);return Object.defineProperty(KA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=kf(document);return Object.defineProperty(KA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Gf(document):Promise.resolve(!1);return Object.defineProperty(KA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Df();return Object.defineProperty(KA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Rf();return Object.defineProperty(KA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(KA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(KA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class qe{constructor(A,e){this.text=A,this.bounds=e}}const Mf=(t,A,e,s)=>{const r=_f(A,e),n=[];let o=0;return r.forEach(a=>{if(e.textDecorationLine.length||a.trim().length>0)if(KA.SUPPORT_RANGE_BOUNDS){const c=Ci(s,o,a.length).getClientRects();if(c.length>1){const g=cr(a);let l=0;g.forEach(B=>{n.push(new qe(B,kA.fromDOMRectList(t,Ci(s,l+o,B.length).getClientRects()))),l+=B.length})}else n.push(new qe(a,kA.fromDOMRectList(t,c)))}else{const c=s.splitText(a.length);n.push(new qe(a,Vf(t,s))),s=c}else KA.SUPPORT_RANGE_BOUNDS||(s=s.splitText(a.length));o+=a.length}),n},Vf=(t,A)=>{const e=A.ownerDocument;if(e){const s=e.createElement("html2canvaswrapper");s.appendChild(A.cloneNode(!0));const r=A.parentNode;if(r){r.replaceChild(s,A);const n=ys(t,s);return s.firstChild&&r.replaceChild(s.firstChild,s),n}}return kA.EMPTY},Ci=(t,A,e)=>{const s=t.ownerDocument;if(!s)throw new Error("Node has no owner document");const r=s.createRange();return r.setStart(t,A),r.setEnd(t,A+e),r},cr=t=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Tf(t)},Nf=(t,A)=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(s=>s.segment)}return jf(t,A)},_f=(t,A)=>A.letterSpacing!==0?cr(t):Nf(t,A),Pf=[32,160,4961,65792,65793,4153,4241],jf=(t,A)=>{const e=id(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),s=[];let r;for(;!(r=e.next()).done;)if(r.value){const n=r.value.slice(),o=Es(n);let a="";o.forEach(c=>{Pf.indexOf(c)===-1?a+=mA(c):(a.length&&s.push(a),s.push(mA(c)),a="")}),a.length&&s.push(a)}return s};class Wf{constructor(A,e,s){this.text=Xf(e.data,s.textTransform),this.textBounds=Mf(A,this.text,s,e)}}const Xf=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(zf,Jf);case 2:return t.toUpperCase();default:return t}},zf=/(^|\s|:|-|\(|\))([a-z])/g,Jf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Qi extends me{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 xi extends me{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Ui extends me{constructor(A,e){super(A,e);const s=new XMLSerializer,r=ys(A,e);e.setAttribute("width",`${r.width}px`),e.setAttribute("height",`${r.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(s.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class Fi extends me{constructor(A,e){super(A,e),this.value=e.value}}class _n extends me{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const Yf=[{type:15,flags:0,unit:"px",number:3}],Zf=[{type:16,flags:0,number:50}],$f=t=>t.width>t.height?new kA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new kA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,qf=t=>{const A=t.type===eh?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Ah=t=>t.value.length===0&&!!t.placeholder,lr="checkbox",dr="radio",eh="password",yi=707406591,th=1970632191;class As extends me{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=qf(e),this.isPlaceholder=Ah(e),(this.type===lr||this.type===dr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=$f(this.bounds)),this.type){case lr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Yf;break;case dr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Zf;break}}}class Ei extends me{constructor(A,e){super(A,e);const s=e.options[e.selectedIndex||0];this.value=s&&s.text||""}}class bi extends me{constructor(A,e){super(A,e),this.value=e.value}}class vi extends me{constructor(A,e,s){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=s;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const r=e.contentWindow.document.documentElement?Bt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):we.TRANSPARENT,n=e.contentWindow.document.body?Bt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):we.TRANSPARENT;this.backgroundColor=ke(r)?ke(n)?this.styles.backgroundColor:n:r}}catch{}}}const sh=["OL","UL","MENU"],Br=(t,A,e,s)=>{for(let r=A.firstChild,n;r;r=n)if(n=r.nextSibling,ri(r)&&r.data.length>0)e.textNodes.push(new Wf(t,r,e.styles));else if(ye(r))if(es(r)&&r.assignedNodes)r.assignedNodes().forEach(o=>Br(t,o,e,s));else{const o=Hi(t,r);o.styles.isVisible()&&(rh(r,o,s)?o.flags|=4:nh(o.styles)&&(o.flags|=2),sh.indexOf(r.tagName)!==-1&&(o.flags|=8),e.elements.push(o),r.slot,r.shadowRoot?Br(t,r.shadowRoot,o,s):!gr(r)&&!Si(r)&&!ur(r)&&Br(t,r,o,s))}},Hi=(t,A)=>jn(A)?new Qi(t,A):Li(A)?new xi(t,A):Si(A)?new Ui(t,A):tf(A)?new Fi(t,A):sf(A)?new _n(t,A):oh(A)?new As(t,A):ur(A)?new Ei(t,A):gr(A)?new bi(t,A):Oi(A)?new vi(t,A,Ii):new me(t,A),Ii=(t,A)=>{const e=Hi(t,A);return e.flags|=4,Br(t,A,e,e),e},rh=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Pn(t)&&e.styles.isTransparent(),nh=t=>t.isPositioned()||t.isFloating()?!0:cA(t.display,268435456)||cA(t.display,33554432)||cA(t.display,536870912)||cA(t.display,134217728),oh=t=>t.tagName==="INPUT",ah=t=>t.tagName==="HTML",Si=t=>t.tagName==="svg",Pn=t=>t.tagName==="BODY",Li=t=>t.tagName==="CANVAS",Ti=t=>t.tagName==="VIDEO",jn=t=>t.tagName==="IMG",Oi=t=>t.tagName==="IFRAME",Wn=t=>t.tagName==="STYLE",Ki=t=>t.tagName==="SCRIPT",gr=t=>t.tagName==="TEXTAREA",ur=t=>t.tagName==="SELECT",es=t=>t.tagName==="SLOT";class ih{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,s=A.counterReset;let r=!0;e!==null&&e.forEach(o=>{const a=this.counters[o.counter];a&&o.increment!==0&&(r=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});const n=[];return r&&s.forEach(o=>{let a=this.counters[o.counter];n.push(o.counter),a||(a=this.counters[o.counter]=[]),a.push(o.reset)}),n}}const Di={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"]},Ri={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ch={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},lh={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ft=(t,A,e,s,r,n)=>t<A||t>e?ss(t,r,n.length>0):s.integers.reduce((o,a,c)=>{for(;t>=a;)t-=a,o+=s.values[c];return o},"")+n,ki=(t,A,e,s)=>{let r="";do e||t--,r=s(t)+r,t/=A;while(t*A>=A);return r},CA=(t,A,e,s,r)=>{const n=e-A+1;return(t<0?"-":"")+(ki(Math.abs(t),n,s,o=>mA(Math.floor(o%n)+A))+r)},At=(t,A,e=". ")=>{const s=A.length;return ki(Math.abs(t),s,!1,r=>A[Math.floor(r%s)])+e},ht=1,Ve=2,Ne=4,ts=8,Ee=(t,A,e,s,r,n)=>{if(t<-9999||t>9999)return ss(t,4,r.length>0);let o=Math.abs(t),a=r;if(o===0)return A[0]+a;for(let c=0;o>0&&c<=4;c++){const g=o%10;g===0&&cA(n,ht)&&a!==""?a=A[g]+a:g>1||g===1&&c===0||g===1&&c===1&&cA(n,Ve)||g===1&&c===1&&cA(n,Ne)&&t>100||g===1&&c>1&&cA(n,ts)?a=A[g]+(c>0?e[c-1]:"")+a:g===1&&c>0&&(a=e[c-1]+a),o=Math.floor(o/10)}return(t<0?s:"")+a},Gi="十百千萬",Mi="拾佰仟萬",Vi="マイナス",Xn="마이너스",ss=(t,A,e)=>{const s=e?". ":"",r=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const a=CA(t,48,57,!0,s);return a.length<4?`0${a}`:a;case 4:return At(t,"〇一二三四五六七八九",r);case 6:return ft(t,1,3999,Di,3,s).toLowerCase();case 7:return ft(t,1,3999,Di,3,s);case 8:return CA(t,945,969,!1,s);case 9:return CA(t,97,122,!1,s);case 10:return CA(t,65,90,!1,s);case 11:return CA(t,1632,1641,!0,s);case 12:case 49:return ft(t,1,9999,Ri,3,s);case 35:return ft(t,1,9999,Ri,3,s).toLowerCase();case 13:return CA(t,2534,2543,!0,s);case 14:case 30:return CA(t,6112,6121,!0,s);case 15:return At(t,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return At(t,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Ee(t,"零一二三四五六七八九",Gi,"負",r,Ve|Ne|ts);case 47:return Ee(t,"零壹貳參肆伍陸柒捌玖",Mi,"負",r,ht|Ve|Ne|ts);case 42:return Ee(t,"零一二三四五六七八九",Gi,"负",r,Ve|Ne|ts);case 41:return Ee(t,"零壹贰叁肆伍陆柒捌玖",Mi,"负",r,ht|Ve|Ne|ts);case 26:return Ee(t,"〇一二三四五六七八九","十百千万",Vi,r,0);case 25:return Ee(t,"零壱弐参四伍六七八九","拾百千万",Vi,r,ht|Ve|Ne);case 31:return Ee(t,"영일이삼사오육칠팔구","십백천만",Xn,n,ht|Ve|Ne);case 33:return Ee(t,"零一二三四五六七八九","十百千萬",Xn,n,0);case 32:return Ee(t,"零壹貳參四五六七八九","拾百千",Xn,n,ht|Ve|Ne);case 18:return CA(t,2406,2415,!0,s);case 20:return ft(t,1,19999,lh,3,s);case 21:return CA(t,2790,2799,!0,s);case 22:return CA(t,2662,2671,!0,s);case 52:return ft(t,1,10999,ch,3,s);case 23:return At(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return At(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return CA(t,3302,3311,!0,s);case 28:return At(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return At(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return CA(t,3792,3801,!0,s);case 37:return CA(t,6160,6169,!0,s);case 38:return CA(t,4160,4169,!0,s);case 39:return CA(t,2918,2927,!0,s);case 40:return CA(t,1776,1785,!0,s);case 43:return CA(t,3046,3055,!0,s);case 44:return CA(t,3174,3183,!0,s);case 45:return CA(t,3664,3673,!0,s);case 46:return CA(t,3872,3881,!0,s);default:return CA(t,48,57,!0,s)}},zn="data-html2canvas-ignore",dh=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 Ni{constructor(A,e,s){if(this.context=A,this.options=s,this.scrolledElements=[],this.referenceElement=e,this.counters=new ih,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const r=dh(e);r&&(this.options.iframeContainer=r)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const s=Bh(A,e,this.options.iframeContainer);if(!s.contentWindow)throw new Error("Unable to find iframe window");const r=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=s.contentWindow,a=o.document,c=fh(s).then(async()=>{this.scrolledElements.forEach(mh),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,h=this.clonedReferenceElement;if(typeof h>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return a.fonts&&a.fonts.ready&&await a.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await uh(a),typeof f=="function"?Promise.resolve().then(()=>f(a,h)).then(()=>s):s}),g=a.baseURI;a.open();const l=ph(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,h=f&&f.trustedTypes;let w=h?.getPolicy?.("html2canvas-pro");!w&&h&&(w=h.createPolicy("html2canvas-pro",{createHTML:C=>C})),w?a.write(w.createHTML(l)):a.write(l)}catch{a.write(l)}wh(this.referenceElement.ownerDocument,r,n),a.close();const B=a.adoptNode(this.documentElement);return Fh(B,g),a.replaceChild(B,a.documentElement),c}createElementClone(A){if(Ln(A,2))debugger;if(Li(A))return this.createCanvasClone(A);if(Ti(A))return this.createVideoClone(A);if(Wn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return jn(e)&&(jn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),ni(e)&&!ut(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,Jn(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(s){this.context.logger.error("Failed to attach shadow root to custom element clone:",s)}return e}createStyleClone(A){try{const s=A.sheet;if(s&&s.cssRules){const r=[].slice.call(s.cssRules,0).reduce((o,a)=>a&&typeof a.cssText=="string"?o+a.cssText:o,""),n=A.cloneNode(!1);return n.textContent=r,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const s=A.ownerDocument.createElement("img");try{return s.src=A.toDataURL(),s}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 s=A.getContext("2d"),r=e.getContext("2d",{willReadFrequently:!0});if(r)if(!this.options.allowTaint&&s)r.putImageData(s.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),r.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 s=e.getContext("2d");try{return s&&(s.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||s.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r}appendChildNode(A,e,s){(!ye(e)||!Ki(e)&&!e.hasAttribute(zn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!ye(e)||!Wn(e))&&A.appendChild(this.cloneNode(e,s))}shouldCloneChild(A){return!ye(A)||!Ki(A)&&!A.hasAttribute(zn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!ye(A)||!Wn(A)}safeAppendClonedChild(A,e,s){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,s))}cloneAssignedNodes(A,e,s){A.forEach(r=>{this.safeAppendClonedChild(e,r,s)})}cloneSlotFallbackContent(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)this.safeAppendClonedChild(e,r,s)}cloneSlotElement(A,e,s){if(!es(A))return;const r=A;if(typeof r.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,s);return}const n=r.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,s);return}n.length>0?this.cloneAssignedNodes(n,e,s):this.cloneSlotFallbackContent(A,e,s)}cloneShadowDOMChildren(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)ye(r)&&es(r)?this.cloneSlotElement(r,e,s):this.safeAppendClonedChild(e,r,s)}cloneLightDOMChildren(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)this.appendChildNode(e,r,s)}cloneSlotElementAsLightDOM(A,e,s){if(!es(A))return;const r=A;if(typeof r.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,s);return}const n=r.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,s));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,s)}cloneShadowDOMAsLightDOM(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)ye(r)&&es(r)?this.cloneSlotElementAsLightDOM(r,e,s):this.appendChildNode(e,r,s)}cloneChildNodes(A,e,s){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,s),this.cloneLightDOMChildren(A,e,s)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,s):this.cloneLightDOMChildren(A,e,s)}cloneNode(A,e){if(ri(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const s=A.ownerDocument.defaultView;if(s&&ye(A)&&($t(A)||ut(A))){const r=this.createElementClone(A);r.style.transitionProperty="none";const n=s.getComputedStyle(A),o=s.getComputedStyle(A,":before"),a=s.getComputedStyle(A,":after");this.referenceElement===A&&$t(r)&&(this.clonedReferenceElement=r),Pn(r)&&xh(r,this.options.cspNonce);const c=this.counters.parse(new si(this.context,n)),g=this.resolvePseudoContent(A,r,o,rs.BEFORE);ni(A)&&(e=!0),Ti(A)||this.cloneChildNodes(A,r,e),g&&r.insertBefore(g,r.firstChild);const l=this.resolvePseudoContent(A,r,a,rs.AFTER);return l&&r.appendChild(l),this.counters.pop(c),(n&&(this.options.copyStyles||ut(A))&&!Oi(A)||e)&&Jn(n,r),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(gr(A)||ur(A))&&(gr(r)||ur(r))&&(r.value=A.value),r}return A.cloneNode(!1)}resolvePseudoContent(A,e,s,r){if(!s)return;const n=s.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||s.display==="none")return;this.counters.parse(new si(this.context,s));const a=new ef(this.context,s),c=o.createElement("html2canvaspseudoelement");Jn(s,c),a.content.forEach(l=>{if(l.type===0)c.appendChild(o.createTextNode(l.value));else if(l.type===22){const B=o.createElement("img");B.src=l.value,B.style.opacity="1",c.appendChild(B)}else if(l.type===18){if(l.name==="attr"){const B=l.values.filter(V);B.length&&c.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(l.name==="counter"){const[B,f]=l.values.filter(OA);if(B&&V(B)){const h=this.counters.getCounterValue(B.value),w=f&&V(f)?Sn.parse(this.context,f.value):3;c.appendChild(o.createTextNode(ss(h,w,!1)))}}else if(l.name==="counters"){const[B,f,h]=l.values.filter(OA);if(B&&V(B)){const w=this.counters.getCounterValues(B.value),C=h&&V(h)?Sn.parse(this.context,h.value):3,F=f&&f.type===0?f.value:"",y=w.map(m=>ss(m,C,!1)).join(F);c.appendChild(o.createTextNode(y))}}}else if(l.type===20)switch(l.value){case"open-quote":c.appendChild(o.createTextNode(ti(a.quotes,this.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(ti(a.quotes,--this.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(l.value))}}),c.className=`${Yn} ${Zn}`;const g=r===rs.BEFORE?` ${Yn}`:` ${Zn}`;return ut(e)?e.className.baseValue+=g:e.className+=g,c}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var rs;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(rs||(rs={}));const Bh=(t,A,e)=>{const s=t.createElement("iframe");return s.className="html2canvas-container",s.style.visibility="hidden",s.style.position="fixed",s.style.left="-10000px",s.style.top="0px",s.style.border="0",s.width=A.width.toString(),s.height=A.height.toString(),s.scrolling="no",s.setAttribute(zn,"true"),(e||t.body).appendChild(s),s},gh=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),uh=t=>Promise.all([].slice.call(t.images,0).map(gh)),fh=t=>new Promise((A,e)=>{const s=t.contentWindow;if(!s)return e("No window assigned for iframe");const r=s.document;s.onload=t.onload=()=>{s.onload=t.onload=null;const n=setInterval(()=>{r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),hh=["all","d","content"],Jn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const s=t.item(e);hh.indexOf(s)===-1&&!s.startsWith("--")&&A.style.setProperty(s,t.getPropertyValue(s))}return A},ph=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,"&quot;")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,"&quot;")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,"&quot;")+'"'),A+=">"),A},wh=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},mh=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Ch=":before",Qh=":after",Yn="___html2canvas___pseudoelement_before",Zn="___html2canvas___pseudoelement_after",_i=`{
7
+ <%s key={someKey} {...props} />`,q,AA,DA,AA),Ae[AA+q]=!0)}if(AA=null,J!==void 0&&(e(J),AA=""+J),o(M)&&(e(M.key),AA=""+M.key),"key"in M){J={};for(var ge in M)ge!=="key"&&(J[ge]=M[ge])}else J=M;return AA&&a(J,typeof x=="function"?x.displayName||x.name||"Unknown":x),g(x,AA,J,s(),ee,ve)}function B(x){u(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===D&&(x._payload.status==="fulfilled"?u(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function u(x){return typeof x=="object"&&x!==null&&x.$$typeof===w}var f=m,w=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),I=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),lA=Symbol.for("react.activity"),vA=Symbol.for("react.client.reference"),_=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yA=Object.prototype.hasOwnProperty,$=Array.isArray,IA=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var X,ae={},ie=f.react_stack_bottom_frame.bind(f,n)(),Ve=IA(r(n)),Ae={};It.Fragment=F,It.jsx=function(x,M,J){var q=1e4>_.recentlyCreatedOwnerStacks++;return d(x,M,J,!1,q?Error("react-stack-top-frame"):ie,q?IA(r(x)):Ve)},It.jsxs=function(x,M,J){var q=1e4>_.recentlyCreatedOwnerStacks++;return d(x,M,J,!0,q?Error("react-stack-top-frame"):ie,q?IA(r(x)):Ve)}})()),It}var fo;function vc(){return fo||(fo=1,process.env.NODE_ENV==="production"?gr.exports=Ec():gr.exports=bc()),gr.exports}var c=vc(),ur={exports:{}},Is={};var ho;function Ic(){if(ho)return Is;ho=1;var t=m;function A(B,u){return B===u&&(B!==0||1/B===1/u)||B!==B&&u!==u}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function a(B,u){var f=u(),w=r({inst:{value:f,getSnapshot:u}}),Q=w[0].inst,F=w[1];return n(function(){Q.value=f,Q.getSnapshot=u,i(Q)&&F({inst:Q})},[B,f,u]),s(function(){return i(Q)&&F({inst:Q}),B(function(){i(Q)&&F({inst:Q})})},[B]),o(f),f}function i(B){var u=B.getSnapshot;B=B.value;try{var f=u();return!e(B,f)}catch{return!0}}function g(B,u){return u()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:a;return Is.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,Is}var Hs={};var wo;function Hc(){return wo||(wo=1,process.env.NODE_ENV!=="production"&&(function(){function t(f,w){return f===w&&(f!==0||1/f===1/w)||f!==f&&w!==w}function A(f,w){d||s.startTransition===void 0||(d=!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 Q=w();if(!B){var F=w();n(Q,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}F=o({inst:{value:Q,getSnapshot:w}});var y=F[0].inst,p=F[1];return i(function(){y.value=Q,y.getSnapshot=w,e(y)&&p({inst:y})},[f,Q,w]),a(function(){return e(y)&&p({inst:y}),f(function(){e(y)&&p({inst:y})})},[f]),g(Q),Q}function e(f){var w=f.getSnapshot;f=f.value;try{var Q=w();return!n(f,Q)}catch{return!0}}function r(f,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=m,n=typeof Object.is=="function"?Object.is:t,o=s.useState,a=s.useEffect,i=s.useLayoutEffect,g=s.useDebugValue,d=!1,B=!1,u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;Hs.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Hs}var po;function Sc(){return po||(po=1,process.env.NODE_ENV==="production"?ur.exports=Ic():ur.exports=Hc()),ur.exports}var Co=Sc();const Qo=0,mo=1,Uo=2,xo=3;var Fo=Object.prototype.hasOwnProperty;function Ss(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--&&Ss(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(Fo.call(t,e)&&++r&&!Fo.call(A,e)||!(e in A)||!Ss(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const me=new WeakMap,Ue=()=>{},MA=Ue(),Ls=Object,P=t=>t===MA,fe=t=>typeof t=="function",Se=(t,A)=>({...t,...A}),yo=t=>fe(t.then),Ts={},fr={},Os="undefined",Ht=typeof window!=Os,Ks=typeof document!=Os,Lc=Ht&&"Deno"in window,Tc=()=>Ht&&typeof window.requestAnimationFrame!=Os,Eo=(t,A)=>{const e=me.get(t);return[()=>!P(A)&&t.get(A)||Ts,r=>{if(!P(A)){const s=t.get(A);A in fr||(fr[A]=s),e[5](A,Se(s,r),s||Ts)}},e[6],()=>!P(A)&&A in fr?fr[A]:!P(A)&&t.get(A)||Ts]};let Ds=!0;const Oc=()=>Ds,[Rs,Ms]=Ht&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ue,Ue],Kc=()=>{const t=Ks&&document.visibilityState;return P(t)||t!=="hidden"},Dc=t=>(Ks&&document.addEventListener("visibilitychange",t),Rs("focus",t),()=>{Ks&&document.removeEventListener("visibilitychange",t),Ms("focus",t)}),Rc=t=>{const A=()=>{Ds=!0,t()},e=()=>{Ds=!1};return Rs("online",A),Rs("offline",e),()=>{Ms("online",A),Ms("offline",e)}},Mc={isOnline:Oc,isVisible:Kc},kc={initFocus:Dc,initReconnect:Rc},bo=!m.useId,nt=!Ht||Lc,Gc=t=>Tc()?window.requestAnimationFrame(t):setTimeout(t,1),ks=nt?m.useEffect:m.useLayoutEffect,Gs=typeof navigator<"u"&&navigator.connection,vo=!nt&&Gs&&(["slow-2g","2g"].includes(Gs.effectiveType)||Gs.saveData),hr=new WeakMap,Vc=t=>Ls.prototype.toString.call(t),Vs=(t,A)=>t===`[object ${A}]`;let Nc=0;const Ns=t=>{const A=typeof t,e=Vc(t),r=Vs(e,"Date"),s=Vs(e,"RegExp"),n=Vs(e,"Object");let o,a;if(Ls(t)===t&&!r&&!s){if(o=hr.get(t),o)return o;if(o=++Nc+"~",hr.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=Ns(t[a])+",";hr.set(t,o)}if(n){o="#";const i=Ls.keys(t).sort();for(;!P(a=i.pop());)P(t[a])||(o+=a+":"+Ns(t[a])+",");hr.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},_s=t=>{if(fe(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Ns(t):"",[t,A]};let _c=0;const Ps=()=>++_c;async function Io(...t){const[A,e,r,s]=t,n=Se({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const a=n.rollbackOnError;let i=n.optimisticData;const g=u=>typeof a=="function"?a(u):a!==!1,d=n.throwOnError;if(fe(e)){const u=e,f=[],w=A.keys();for(const Q of w)!/^\$(inf|sub)\$/.test(Q)&&u(A.get(Q)._k)&&f.push(Q);return Promise.all(f.map(B))}return B(e);async function B(u){const[f]=_s(u);if(!f)return;const[w,Q]=Eo(A,f),[F,y,p,T]=me.get(A),I=()=>{const $=F[f];return(fe(n.revalidate)?n.revalidate(w().data,u):n.revalidate!==!1)&&(delete p[f],delete T[f],$&&$[0])?$[0](Uo).then(()=>w().data):w().data};if(t.length<3)return I();let H=r,K,N=!1;const W=Ps();y[f]=[W,0];const D=!P(i),lA=w(),vA=lA.data,_=lA._c,yA=P(_)?vA:_;if(D&&(i=fe(i)?i(yA,vA):i,Q({data:i,_c:yA})),fe(H))try{H=H(yA)}catch($){K=$,N=!0}if(H&&yo(H))if(H=await H.catch($=>{K=$,N=!0}),W!==y[f][0]){if(N)throw K;return H}else N&&D&&g(K)&&(o=!0,Q({data:yA,_c:MA}));if(o&&!N)if(fe(o)){const $=o(H,yA);Q({data:$,error:MA,_c:MA})}else Q({data:H,error:MA,_c:MA});if(y[f][1]=Ps(),Promise.resolve(I()).then(()=>{Q({_c:MA})}),N){if(d)throw K;return}return H}}const Ho=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},Pc=(t,A)=>{if(!me.has(t)){const e=Se(kc,A),r=Object.create(null),s=Io.bind(MA,t);let n=Ue;const o=Object.create(null),a=(d,B)=>{const u=o[d]||[];return o[d]=u,u.push(B),()=>u.splice(u.indexOf(B),1)},i=(d,B,u)=>{t.set(d,B);const f=o[d];if(f)for(const w of f)w(B,u)},g=()=>{if(!me.has(t)&&(me.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,i,a]),!nt)){const d=e.initFocus(setTimeout.bind(MA,Ho.bind(MA,r,Qo))),B=e.initReconnect(setTimeout.bind(MA,Ho.bind(MA,r,mo)));n=()=>{d&&d(),B&&B(),me.delete(t)}}};return g(),[t,s,g,n]}return[t,me.get(t)[4]]},jc=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!P(n)&&o>n||setTimeout(r,a,s)},Wc=Ss,[So,Xc]=Pc(new Map),Jc=Se({onLoadingSlow:Ue,onSuccess:Ue,onError:Ue,onErrorRetry:jc,onDiscarded:Ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:vo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:vo?5e3:3e3,compare:Wc,isPaused:()=>!1,cache:So,mutate:Xc,fallback:{}},Mc),zc=(t,A)=>{const e=Se(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=Se(s,o))}return e},Yc=m.createContext({}),Zc="$inf$",Lo=Ht&&window.__SWR_DEVTOOLS_USE__,$c=Lo?window.__SWR_DEVTOOLS_USE__:[],qc=()=>{Lo&&(window.__SWR_DEVTOOLS_REACT__=m)},Al=t=>fe(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],To=()=>{const t=m.useContext(Yc);return m.useMemo(()=>Se(Jc,t),[t])},el=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=_s(A),[,,,a]=me.get(So);if(o.startsWith(Zc))return e(...n);const i=a[o];return P(i)?e(...n):(delete a[o],i)}),r),tl=$c.concat(el),rl=t=>function(...e){const r=To(),[s,n,o]=Al(e),a=zc(r,o);let i=t;const{use:g}=a,d=(g||[]).concat(tl);for(let B=d.length;B--;)i=d[B](i);return i(s,n||a.fetcher||null,a)},sl=(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())}};qc();const js=m.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},Oo=Promise.resolve(MA),nl=()=>Ue,Ko=rl((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:a,revalidateIfStale:i,refreshInterval:g,refreshWhenHidden:d,refreshWhenOffline:B,keepPreviousData:u,strictServerPrefetchWarning:f}=e,[w,Q,F,y]=me.get(r),[p,T]=_s(t),I=m.useRef(!1),H=m.useRef(!1),K=m.useRef(p),N=m.useRef(A),W=m.useRef(e),D=()=>W.current,lA=()=>D().isVisible()&&D().isOnline(),[vA,_,yA,$]=Eo(r,p),IA=m.useRef({}).current,X=P(o)?P(e.fallback)?MA:e.fallback[p]:o,ae=(eA,fA)=>{for(const hA in IA){const dA=hA;if(dA==="data"){if(!s(eA[dA],fA[dA])&&(!P(eA[dA])||!s(ve,fA[dA])))return!1}else if(fA[dA]!==eA[dA])return!1}return!0},ie=!I.current,Ve=m.useMemo(()=>{const eA=vA(),fA=$(),hA=BA=>{const VA=Se(BA);return delete VA._k,(()=>{if(!p||!A||D().isPaused())return!1;if(ie&&!P(a))return a;const zA=P(X)?VA.data:X;return P(zA)||i})()?{isValidating:!0,isLoading:!0,...VA}:VA},dA=hA(eA),te=eA===fA?dA:hA(fA);let iA=dA;return[()=>{const BA=hA(vA());return ae(BA,iA)?(iA.data=BA.data,iA.isLoading=BA.isLoading,iA.isValidating=BA.isValidating,iA.error=BA.error,iA):(iA=BA,BA)},()=>te]},[r,p]),Ae=Co.useSyncExternalStore(m.useCallback(eA=>yA(p,(fA,hA)=>{ae(hA,fA)||eA()}),[r,p]),Ve[0],Ve[1]),x=w[p]&&w[p].length>0,M=Ae.data,J=P(M)?X&&yo(X)?js(X):X:M,q=Ae.error,ee=m.useRef(J),ve=u?P(M)?P(ee.current)?J:ee.current:M:J,AA=p&&P(J),DA=m.useRef(null);!nt&&Co.useSyncExternalStore(nl,()=>(DA.current=!1,DA),()=>(DA.current=!0,DA));const ge=DA.current;f&&ge&&!n&&AA&&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 RA=!p||!A||D().isPaused()||x&&!P(q)?!1:ie&&!P(a)?a:n?P(J)?!1:i:P(J)||i,ue=ie&&RA,PA=P(Ae.isValidating)?ue:Ae.isValidating,Ut=P(Ae.isLoading)?ue:Ae.isLoading,HA=m.useCallback(async eA=>{const fA=N.current;if(!p||!fA||H.current||D().isPaused())return!1;let hA,dA,te=!0;const iA=eA||{},BA=!F[p]||!iA.dedupe,VA=()=>bo?!H.current&&p===K.current&&I.current:p===K.current,Ne={isValidating:!1,isLoading:!1},zA=()=>{_(Ne)},ir=()=>{const re=F[p];re&&re[1]===dA&&delete F[p]},Ao={isValidating:!0};P(vA().data)&&(Ao.isLoading=!0);try{if(BA&&(_(Ao),e.loadingTimeout&&P(vA().data)&&setTimeout(()=>{te&&VA()&&D().onLoadingSlow(p,e)},e.loadingTimeout),F[p]=[fA(T),Ps()]),[hA,dA]=F[p],hA=await hA,BA&&setTimeout(ir,e.dedupingInterval),!F[p]||F[p][1]!==dA)return BA&&VA()&&D().onDiscarded(p),!1;Ne.error=MA;const re=Q[p];if(!P(re)&&(dA<=re[0]||dA<=re[1]||re[1]===0))return zA(),BA&&VA()&&D().onDiscarded(p),!1;const tA=vA().data;Ne.data=s(tA,hA)?tA:hA,BA&&VA()&&D().onSuccess(hA,p,e)}catch(re){ir();const tA=D(),{shouldRetryOnError:At}=tA;tA.isPaused()||(Ne.error=re,BA&&VA()&&(tA.onError(re,p,tA),(At===!0||fe(At)&&At(re))&&(!D().revalidateOnFocus||!D().revalidateOnReconnect||lA())&&tA.onErrorRetry(re,p,tA,SA=>{const et=w[p];et&&et[0]&&et[0](xo,SA)},{retryCount:(iA.retryCount||0)+1,dedupe:!0})))}return te=!1,zA(),!0},[p,r]),qe=m.useCallback((...eA)=>Io(r,K.current,...eA),[]);if(ks(()=>{N.current=A,W.current=e,P(M)||(ee.current=M)}),ks(()=>{if(!p)return;const eA=HA.bind(MA,Ws);let fA=0;D().revalidateOnFocus&&(fA=Date.now()+D().focusThrottleInterval);const dA=sl(p,w,(te,iA={})=>{if(te==Qo){const BA=Date.now();D().revalidateOnFocus&&BA>fA&&lA()&&(fA=BA+D().focusThrottleInterval,eA())}else if(te==mo)D().revalidateOnReconnect&&lA()&&eA();else{if(te==Uo)return HA();if(te==xo)return HA(iA)}});return H.current=!1,K.current=p,I.current=!0,_({_k:T}),RA&&(F[p]||(P(J)||nt?eA():Gc(eA))),()=>{H.current=!0,dA()}},[p]),ks(()=>{let eA;function fA(){const dA=fe(g)?g(vA().data):g;dA&&eA!==-1&&(eA=setTimeout(hA,dA))}function hA(){!vA().error&&(d||D().isVisible())&&(B||D().isOnline())?HA(Ws).then(fA):fA()}return fA(),()=>{eA&&(clearTimeout(eA),eA=-1)}},[g,d,B,p]),m.useDebugValue(ve),n){if(!bo&&nt&&AA)throw new Error("Fallback data is required when using Suspense in SSR.");AA&&(N.current=A,W.current=e,H.current=!1);const eA=y[p],fA=!P(eA)&&AA?qe(eA):Oo;if(js(fA),!P(q)&&AA)throw q;const hA=AA?HA(Ws):Oo;!P(ve)&&AA&&(hA.status="fulfilled",hA.value=!0),js(hA)}return{mutate:qe,get data(){return IA.data=!0,ve},get error(){return IA.error=!0,q},get isValidating(){return IA.isValidating=!0,PA},get isLoading(){return IA.isLoading=!0,Ut}}}),ol=({children:t})=>{const A=m.useRef(null),[e,r]=m.useState(null);return m.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(a=>{(a.textContent?.includes(".vg-")||a.textContent?.includes("--vg-"))&&s.appendChild(a.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)}},[]),c.jsx("div",{"data-vg-id":"49696d6b","data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&yc.createPortal(t,e)})};const Do=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const al=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const il=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const Ro=t=>{const A=il(t);return A.charAt(0).toUpperCase()+A.slice(1)};var cl={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 ll=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const dl=m.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...a},i)=>m.createElement("svg",{ref:i,...cl,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:Do("lucide",s),...!n&&!ll(a)&&{"aria-hidden":"true"},...a},[...o.map(([g,d])=>m.createElement(g,d)),...Array.isArray(n)?n:[n]]));const oA=(t,A)=>{const e=m.forwardRef(({className:r,...s},n)=>m.createElement(dl,{ref:n,iconNode:A,className:Do(`lucide-${al(Ro(t))}`,`lucide-${t}`,r),...s}));return e.displayName=Ro(t),e};const St=oA("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 Bl=oA("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const gl=oA("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const ul=oA("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 _e=oA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const Mo=oA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const Xs=oA("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 fl=oA("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 ot=oA("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 hl=oA("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 wl=oA("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);const Js=oA("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const zs=oA("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 wr=oA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const ko=oA("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const pr=oA("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 pl=oA("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 Cr=oA("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 Cl=oA("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Ql=oA("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const ml=oA("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 Ys=oA("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 Ul=oA("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Lt=oA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),xl={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",reopenPlaceholder:"Add a new comment before confirming...",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? Remember you can reopen it by pressing ALT once (Normal Mode) or holding it for 1 second (Backlog Mode).",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change",focusAreas:"Focus Areas",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Figma Reference Link",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Related Backend Endpoint",selectEndpoint:"Select endpoint...",figmaNamePlaceholder:"e.g. Main Design, Modal, etc.",addLink:"Add another link",removeLink:"Remove",figmaPrimaryDesign:"Principal Design"},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",reopenPlaceholder:"Agrega un nuevo comentario antes de confirmar...",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? Recuerda que puedes volver a activarlo pulsando una vez la tecla ALT (Modo Normal) o manteniéndola pulsada 1 segundo (Modo Backlog).",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar",focusAreas:"Áreas de Foco",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Link de Referencia Figma",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Endpoint de Backend Relacionado",selectEndpoint:"Seleccionar endpoint...",figmaNamePlaceholder:"ej. Diseño Principal, Modal, etc.",addLink:"Agregar otro link",removeLink:"Eliminar",figmaPrimaryDesign:"Diseño Principal"}},Go=m.createContext(void 0),Vo=()=>{const t=m.useContext(Go);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Tt="viewgate_enabled",Fl=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(Tt,"true"),!0):sessionStorage.getItem(Tt)==="true"},yl=({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.includes("localhost:5000")?r.replace("5000","3000"):r),[o,a]=m.useState(!1),[i,g]=m.useState([]);m.useRef(0);const d=m.useRef(null),B=m.useRef(!1);m.useEffect(()=>{a(Fl());const Q=y=>{y.key==="Alt"&&!y.repeat&&(y.preventDefault(),B.current=!1,d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{const p=new URL(window.location.href);p.searchParams.delete("viewgate"),p.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",p.toString()),a(!0),sessionStorage.setItem(Tt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),B.current=!0,d.current=null},1e3))},F=y=>{if(y.key==="Alt"&&(y.preventDefault(),d.current)){clearTimeout(d.current),d.current=null;const p=new URL(window.location.href);p.searchParams.delete("viewgate-backlog"),p.searchParams.set("viewgate","true"),window.history.replaceState({},"",p.toString()),a(!0),sessionStorage.setItem(Tt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",Q),window.addEventListener("keyup",F),()=>{window.removeEventListener("keydown",Q),window.removeEventListener("keyup",F)}},[A]);const u=()=>{if(sessionStorage.removeItem(Tt),a(!1),typeof window<"u"){const Q=new URL(window.location.href);Q.searchParams.delete("viewgate"),window.history.replaceState({},"",Q.toString())}},f=(Q,F)=>{const y=Date.now();g(p=>[...p,{id:y,message:Q,type:F}]),setTimeout(()=>{g(p=>p.filter(T=>T.id!==y))},4e3)},w=xl[A];return c.jsxs(Go.Provider,{"data-vg-id":"89da3486","data-source-path":"/src/components/ViewGateProvider.tsx:367",value:{addToast:f,language:A,t:w,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:u,hasActiveToasts:i.length>0},children:[t,o&&c.jsx(ol,{"data-vg-id":"f1499d3a","data-source-path":"/src/components/ViewGateProvider.tsx:379",children:c.jsxs("div",{"data-vg-id":"1bedb79b","data-source-path":"/src/components/ViewGateProvider.tsx:380",className:"vg-container",children:[c.jsx(ic,{"data-vg-id":"d3f262cb","data-source-path":"/src/components/ViewGateProvider.tsx:381"}),c.jsx("div",{"data-vg-id":"1bedb79d","data-source-path":"/src/components/ViewGateProvider.tsx:382",className:"vg-toasts",style:{zIndex:2147483647},children:i.map(Q=>c.jsxs("div",{"data-vg-id":"1bedb79e","data-source-path":"/src/components/ViewGateProvider.tsx:384",className:`vg-toast vg-animate-slide ${Q.type}`,children:[Q.type==="success"?c.jsx(_e,{"data-vg-id":"c7ae3b26","data-source-path":"/src/components/ViewGateProvider.tsx:386",size:24,color:"#22c55e"}):Q.type==="warning"?c.jsx(Ul,{"data-vg-id":"137eb473","data-source-path":"/src/components/ViewGateProvider.tsx:388",size:24,color:"#f59e0b"}):c.jsx(ul,{"data-vg-id":"e7ad3c7c","data-source-path":"/src/components/ViewGateProvider.tsx:390",size:24,color:"#ef4444"}),c.jsxs("div",{"data-vg-id":"61c93bb7","data-source-path":"/src/components/ViewGateProvider.tsx:392",children:[c.jsx("strong",{"data-vg-id":"29b8e974","data-source-path":"/src/components/ViewGateProvider.tsx:393",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:Q.type==="success"?w.successHeader:Q.type==="warning"?A==="es"?"Aviso":"Warning":w.errorHeader}),c.jsx("span",{"data-vg-id":"fbbd7822","data-source-path":"/src/components/ViewGateProvider.tsx:396",style:{fontSize:"14px",color:"#000000"},children:Q.message})]})]},Q.id))})]})})]})};class kA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new kA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new kA(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 kA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):kA.EMPTY}}kA.EMPTY=new kA(0,0,0,0);const Qr=(t,A)=>kA.fromClientRect(t,A.getBoundingClientRect()),El=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 kA(0,0,r,s)};for(var mr=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},CA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},No="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bl=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ur=0;Ur<No.length;Ur++)bl[No.charCodeAt(Ur)]=Ur;for(var _o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ot=typeof Uint8Array>"u"?[]:new Uint8Array(256),xr=0;xr<_o.length;xr++)Ot[_o.charCodeAt(xr)]=xr;for(var vl=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,a,i;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),d=Array.isArray(g)?g:new Uint8Array(g);for(r=0;r<e;r+=4)n=Ot[t.charCodeAt(r)],o=Ot[t.charCodeAt(r+1)],a=Ot[t.charCodeAt(r+2)],i=Ot[t.charCodeAt(r+3)],d[s++]=n<<2|o>>4,d[s++]=(o&15)<<4|a>>2,d[s++]=(a&3)<<6|i&63;return g},Il=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Hl=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},Pe=5,Zs=11,$s=2,Sl=Zs-Pe,Po=65536>>Pe,Ll=1<<Pe,qs=Ll-1,Tl=1024>>Pe,Ol=Po+Tl,Kl=Ol,Dl=32,Rl=Kl+Dl,Ml=65536>>Zs,kl=1<<Sl,Gl=kl-1,jo=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Vl=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Nl=function(t,A){var e=vl(t),r=Array.isArray(e)?Hl(e):new Uint32Array(e),s=Array.isArray(e)?Il(e):new Uint16Array(e),n=24,o=jo(s,n/2,r[4]/2),a=r[5]===2?jo(s,(n+r[4])/2):Vl(r,Math.ceil((n+r[4])/4));return new _l(r[0],r[1],r[2],r[3],o,a)},_l=(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>>Pe],e=(e<<$s)+(A&qs),this.data[e];if(A<=65535)return e=this.index[Po+(A-55296>>Pe)],e=(e<<$s)+(A&qs),this.data[e];if(A<this.highStart)return e=Rl-Ml+(A>>Zs),e=this.index[e],e+=A>>Pe&Gl,e=this.index[e],e=(e<<$s)+(A&qs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pl=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fr=0;Fr<Wo.length;Fr++)Pl[Wo.charCodeAt(Fr)]=Fr;var jl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwC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sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZ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IIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQow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AcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwAD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AeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwAr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B4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQB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sAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4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FAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACU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gAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Xo=50,Wl=1,Jo=2,zo=3,Xl=4,Jl=5,Yo=7,Zo=8,$o=9,Le=10,An=11,qo=12,en=13,zl=14,Kt=15,tn=16,yr=17,Dt=18,Yl=19,Aa=20,rn=21,Rt=22,sn=23,at=24,$A=25,Mt=26,kt=27,it=28,Zl=29,je=30,$l=31,Er=32,br=33,nn=34,on=35,an=36,Gt=37,cn=38,vr=39,Ir=40,ln=41,ea=42,ql=43,Ad=[9001,65288],ta="!",j="×",Hr="÷",dn=Nl(jl),xe=[je,an],Bn=[Wl,Jo,zo,Jl],ra=[Le,Zo],sa=[kt,Mt],ed=Bn.concat(ra),na=[cn,vr,Ir,nn,on],td=[Kt,en],rd=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var a=dn.get(n);if(a>Xo?(s.push(!0),a-=Xo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(tn);if(a===Xl||a===An){if(o===0)return r.push(o),e.push(je);var i=e[o-1];return ed.indexOf(i)===-1?(r.push(r[o-1]),e.push(i)):(r.push(o),e.push(je))}if(r.push(o),a===$l)return e.push(A==="strict"?rn:Gt);if(a===ea||a===Zl)return e.push(je);if(a===ql)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(Gt):e.push(je);e.push(a)}),[r,e,s]},gn=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!==Le)break}if(s===Le)for(var n=e;n>0;){n--;var a=r[n];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var i=e;i<=r.length;){i++;var o=r[i];if(o===A)return!0;if(o!==Le)break}if(a!==Le)break}return!1},oa=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===Le)e--;else return r}return 0},sd=function(t,A,e,r,s){if(e[r]===0)return j;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return j;var o=n-1,a=n+1,i=A[n],g=o>=0?A[o]:0,d=A[a];if(i===Jo&&d===zo)return j;if(Bn.indexOf(i)!==-1)return ta;if(Bn.indexOf(d)!==-1||ra.indexOf(d)!==-1)return j;if(oa(n,A)===Zo)return Hr;if(dn.get(t[n])===An||(i===Er||i===br)&&dn.get(t[a])===An||i===Yo||d===Yo||i===$o||[Le,en,Kt].indexOf(i)===-1&&d===$o||[yr,Dt,Yl,at,it].indexOf(d)!==-1||oa(n,A)===Rt||gn(sn,Rt,n,A)||gn([yr,Dt],rn,n,A)||gn(qo,qo,n,A))return j;if(i===Le)return Hr;if(i===sn||d===sn)return j;if(d===tn||i===tn)return Hr;if([en,Kt,rn].indexOf(d)!==-1||i===zl||g===an&&td.indexOf(i)!==-1||i===it&&d===an||d===Aa||xe.indexOf(d)!==-1&&i===$A||xe.indexOf(i)!==-1&&d===$A||i===kt&&[Gt,Er,br].indexOf(d)!==-1||[Gt,Er,br].indexOf(i)!==-1&&d===Mt||xe.indexOf(i)!==-1&&sa.indexOf(d)!==-1||sa.indexOf(i)!==-1&&xe.indexOf(d)!==-1||[kt,Mt].indexOf(i)!==-1&&(d===$A||[Rt,Kt].indexOf(d)!==-1&&A[a+1]===$A)||[Rt,Kt].indexOf(i)!==-1&&d===$A||i===$A&&[$A,it,at].indexOf(d)!==-1)return j;if([$A,it,at,yr,Dt].indexOf(d)!==-1)for(var B=n;B>=0;){var u=A[B];if(u===$A)return j;if([it,at].indexOf(u)!==-1)B--;else break}if([kt,Mt].indexOf(d)!==-1)for(var B=[yr,Dt].indexOf(i)!==-1?o:n;B>=0;){var u=A[B];if(u===$A)return j;if([it,at].indexOf(u)!==-1)B--;else break}if(cn===i&&[cn,vr,nn,on].indexOf(d)!==-1||[vr,nn].indexOf(i)!==-1&&[vr,Ir].indexOf(d)!==-1||[Ir,on].indexOf(i)!==-1&&d===Ir||na.indexOf(i)!==-1&&[Aa,Mt].indexOf(d)!==-1||na.indexOf(d)!==-1&&i===kt||xe.indexOf(i)!==-1&&xe.indexOf(d)!==-1||i===at&&xe.indexOf(d)!==-1||xe.concat($A).indexOf(i)!==-1&&d===Rt&&Ad.indexOf(t[a])===-1||xe.concat($A).indexOf(d)!==-1&&i===Dt)return j;if(i===ln&&d===ln){for(var f=e[n],w=1;f>0&&(f--,A[f]===ln);)w++;if(w%2!==0)return j}return i===Er&&d===br?j:Hr},nd=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=rd(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(a){return[$A,je,ea].indexOf(a)!==-1?Gt:a}));var o=A.wordBreak==="keep-all"?n.map(function(a,i){return a&&t[i]>=19968&&t[i]<=40959}):void 0;return[r,s,o]},od=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===ta,this.start=r,this.end=s}return t.prototype.slice=function(){return CA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),ad=function(t,A){var e=mr(t),r=nd(e,A),s=r[0],n=r[1],o=r[2],a=e.length,i=0,g=0;return{next:function(){if(g>=a)return{done:!0,value:null};for(var d=j;g<a&&(d=sd(e,n,s,++g,o))===j;);if(d!==j||g===a){var B=new od(e,d,i,g);return i=g,{value:B,done:!1}}return{done:!0,value:null}}}};const id=1,cd=2,ct=4,aa=8,Sr=10,ia=47,Vt=92,ld=9,dd=32,Lr=34,Nt=61,Bd=35,gd=36,ud=37,Tr=39,Or=40,_t=41,fd=95,WA=45,hd=33,wd=60,pd=62,Cd=64,Qd=91,md=93,Ud=61,xd=123,Kr=63,Fd=125,ca=124,yd=126,Ed=128,la=65533,un=42,We=43,bd=44,vd=58,Id=59,Pt=46,Hd=0,Sd=8,Ld=11,Td=14,Od=31,Kd=127,he=-1,da=48,Ba=97,ga=101,Dd=102,Rd=117,Md=122,ua=65,fa=69,ha=70,kd=85,Gd=90,GA=t=>t>=da&&t<=57,Vd=t=>t>=55296&&t<=57343,lt=t=>GA(t)||t>=ua&&t<=ha||t>=Ba&&t<=Dd,Nd=t=>t>=Ba&&t<=Md,_d=t=>t>=ua&&t<=Gd,Pd=t=>Nd(t)||_d(t),jd=t=>t>=Ed,Dr=t=>t===Sr||t===ld||t===dd,Rr=t=>Pd(t)||jd(t)||t===fd,wa=t=>Rr(t)||GA(t)||t===WA,Wd=t=>t>=Hd&&t<=Sd||t===Ld||t>=Td&&t<=Od||t===Kd,Te=(t,A)=>t!==Vt?!1:A!==Sr,Mr=(t,A,e)=>t===WA?Rr(A)||Te(A,e):Rr(t)?!0:!!(t===Vt&&Te(t,A)),fn=(t,A,e)=>t===We||t===WA?GA(A)?!0:A===Pt&&GA(e):GA(t===Pt?A:t),Xd=t=>{let A=0,e=1;(t[A]===We||t[A]===WA)&&(t[A]===WA&&(e=-1),A++);const r=[];for(;GA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(CA(...r),10):0;t[A]===Pt&&A++;const n=[];for(;GA(t[A]);)n.push(t[A++]);const o=n.length,a=o?parseInt(CA(...n),10):0;(t[A]===fa||t[A]===ga)&&A++;let i=1;(t[A]===We||t[A]===WA)&&(t[A]===WA&&(i=-1),A++);const g=[];for(;GA(t[A]);)g.push(t[A++]);const d=g.length?parseInt(CA(...g),10):0;return e*(s+a*Math.pow(10,-o))*Math.pow(10,i*d)},Jd={type:2},zd={type:3},Yd={type:4},Zd={type:13},$d={type:8},qd={type:21},AB={type:9},eB={type:10},tB={type:11},rB={type:12},sB={type:14},kr={type:23},nB={type:1},oB={type:25},aB={type:24},iB={type:26},cB={type:27},lB={type:28},dB={type:29},BB={type:31},hn={type:32};class pa{constructor(){this._value=[]}write(A){this._value=this._value.concat(mr(A))}read(){const A=[];let e=this.consumeToken();for(;e!==hn;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case Lr:return this.consumeStringToken(Lr);case Bd:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(wa(e)||Te(r,s)){const f=Mr(e,r,s)?cd:id;return{type:5,value:this.consumeName(),flags:f}}break;case gd:if(this.peekCodePoint(0)===Nt)return this.consumeCodePoint(),Zd;break;case Tr:return this.consumeStringToken(Tr);case Or:return Jd;case _t:return zd;case un:if(this.peekCodePoint(0)===Nt)return this.consumeCodePoint(),sB;break;case We:if(fn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case bd:return Yd;case WA:const n=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(fn(n,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Mr(n,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===WA&&a===pd)return this.consumeCodePoint(),this.consumeCodePoint(),aB;break;case Pt:if(fn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case ia:if(this.peekCodePoint(0)===un)for(this.consumeCodePoint();;){let f=this.consumeCodePoint();if(f===un&&(f=this.consumeCodePoint(),f===ia))return this.consumeToken();if(f===he)return this.consumeToken()}break;case vd:return iB;case Id:return cB;case wd:if(this.peekCodePoint(0)===hd&&this.peekCodePoint(1)===WA&&this.peekCodePoint(2)===WA)return this.consumeCodePoint(),this.consumeCodePoint(),oB;break;case Cd:const i=this.peekCodePoint(0),g=this.peekCodePoint(1),d=this.peekCodePoint(2);if(Mr(i,g,d))return{type:7,value:this.consumeName()};break;case Qd:return lB;case Vt:if(Te(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case md:return dB;case Ud:if(this.peekCodePoint(0)===Nt)return this.consumeCodePoint(),$d;break;case xd:return tB;case Fd:return rB;case Rd:case kd:const B=this.peekCodePoint(0),u=this.peekCodePoint(1);return B===We&&(lt(u)||u===Kr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case ca:if(this.peekCodePoint(0)===Nt)return this.consumeCodePoint(),AB;if(this.peekCodePoint(0)===ca)return this.consumeCodePoint(),qd;break;case yd:if(this.peekCodePoint(0)===Nt)return this.consumeCodePoint(),eB;break;case he:return hn}return Dr(A)?(this.consumeWhiteSpace(),BB):GA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Rr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:CA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;lt(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===Kr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(CA(...A.map(a=>a===Kr?da:a)),16),o=parseInt(CA(...A.map(a=>a===Kr?ha:a)),16);return{type:30,start:n,end:o}}const s=parseInt(CA(...A),16);if(this.peekCodePoint(0)===WA&&lt(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;lt(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(CA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Or?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Or?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===he)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===Tr||e===Lr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===he||this.peekCodePoint(0)===_t)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),kr)}for(;;){const r=this.consumeCodePoint();if(r===he||r===_t)return{type:22,value:CA(...A)};if(Dr(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===he||this.peekCodePoint(0)===_t?(this.consumeCodePoint(),{type:22,value:CA(...A)}):(this.consumeBadUrlRemnants(),kr);if(r===Lr||r===Tr||r===Or||Wd(r))return this.consumeBadUrlRemnants(),kr;if(r===Vt)if(Te(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),kr;else A.push(r)}}consumeWhiteSpace(){for(;Dr(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===_t||A===he)return;Te(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=CA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===he||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===Sr)return this._value.splice(0,r),nB;if(s===Vt){const n=this._value[r+1];n!==he&&n!==void 0&&(n===Sr?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Te(s,n)&&(e+=this.consumeStringSlice(r),e+=CA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=ct,r=this.peekCodePoint(0);for((r===We||r===WA)&&A.push(this.consumeCodePoint());GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===Pt&&GA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=aa;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===fa||r===ga)&&((s===We||s===WA)&&GA(n)||GA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=aa;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Xd(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Mr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===ud?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(lt(A)){let e=CA(A);for(;lt(this.peekCodePoint(0))&&e.length<6;)e+=CA(this.consumeCodePoint());Dr(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||Vd(r)||r>1114111?la:r}return A===he?la:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(wa(e))A+=CA(e);else if(Te(e,this.peekCodePoint(0)))A+=CA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class dt{constructor(A){this._tokens=A}static create(A){const e=new pa;return e.write(A),new dt(e.read())}static parseValue(A){return dt.create(A).parseComponentValue()}static parseValues(A){return dt.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||uB(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"?hn:A}reconsumeToken(A){this._tokens.unshift(A)}}const we=t=>t.type===15,xA=t=>t.type===17,V=t=>t.type===20,gB=t=>t.type===0,jt=(t,A)=>V(t)&&t.value===A,Gr=t=>t.type!==31,OA=t=>t.type!==31&&t.type!==4,ce=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},uB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,uA=(t,A,e)=>Math.min(Math.max(t,A),e),XA=(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]],Oe=t=>XA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),wn=t=>XA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Xe=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}),pn=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}),fB=t=>{const[A,e,r]=Xe(Oe([t[0],t[1],t[2]]));return[A,e,r,t[3]]},hB=t=>{const[A,e,r]=Oe([t[0],t[1],t[2]]);return[uA(Math.round(A*255),0,255),uA(Math.round(e*255),0,255),uA(Math.round(r*255),0,255),t[3]]},Ke=t=>t.type===17||t.type===15,Z=t=>t.type===16||Ke(t),wB=t=>t.type===18&&t.name==="calc",pB=(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:ct}}catch{return null}return null},Ca=t=>t.length>1?[t[0],t[1]]:[t[0]],FA={type:17,number:0,flags:ct},Je={type:16,number:50,flags:ct},pe={type:16,number:100,flags:ct},Wt=(t,A,e)=>{const[r,s]=t;return[k(r,A),k(typeof s<"u"?s:r,e)]},k=(t,A)=>{if(t.type===16)return t.number/100*A;if(we(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Qa="deg",ma="grad",Ua="rad",xa="turn",Bt={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Qa:return Math.PI*A.number/180;case ma:return Math.PI/200*A.number;case Ua:return A.number;case xa:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Fa=t=>t.type===15&&(t.unit===Qa||t.unit===ma||t.unit===Ua||t.unit===xa),ya=t=>{switch(t.filter(V).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[FA,FA];case"to top":case"bottom":return se(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[FA,pe];case"to right":case"left":return se(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[pe,pe];case"to bottom":case"top":return se(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[pe,FA];case"to left":case"right":return se(270)}return 0},se=t=>Math.PI*t/180,De=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})`},le=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,Re=(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},ze=t=>(t[0].type===20?t[0].value:"unknown")==="from",CB=t=>le(uA(Math.round(t[0]*255),0,255),uA(Math.round(t[1]*255),0,255),uA(Math.round(t[2]*255),0,255),uA(t[3],0,1)),Cn=([t,A,e,r])=>{const s=Xe([t,A,e]);return le(uA(Math.round(s[0]*255),0,255),uA(Math.round(s[1]*255),0,255),uA(Math.round(s[2]*255),0,255),r)},Xt=t=>{const A=Oe([t[0],t[1],t[2]]);return Cn([A[0],A[1],A[2],t[3]])},QB=(t,A)=>{if(ze(A.filter(OA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=Vr(A),o=Xe(Oe(Pr([e,r,s])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},mB=(t,A)=>{if(ze(A.filter(OA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=Vr(A),o=Xe(Oe(_r([e,r,s])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},UB=(t,A)=>{if(ze(A.filter(OA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=Ia(A),o=Xe(Oe(_r(Nr([e,r,s]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},xB=(t,A)=>{if(ze(A.filter(OA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=va(A),o=Xe(Oe(Pr(Nr([e,r,s]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},Ea=(t,A)=>{const e=A.filter(OA),[r,s,n,o]=e,a=(r.type===17?se(r.number):Bt.parse(t,r))/(Math.PI*2),i=Z(s)?s.number/100:0,g=Z(n)?n.number/100:0,d=typeof o<"u"&&Z(o)?k(o,1):1;return[a,i,g,d]},ba=(t,A)=>{if(ze(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=Ea(t,A),o=Sa([e,r,s]);return le(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},va=t=>{const A=t.filter(OA),e=Z(A[0])?A[0].number:0,r=Z(A[1])?A[1].number:0,s=xA(A[2])||we(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?k(A[4],1):1;return[e,r,s,n]},Vr=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:xA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:xA(A[1])?A[1].number:0,s=xA(A[2])||we(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?k(A[4],1):1;return[e,r,s,n]},Ia=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:xA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:xA(A[1])?A[1].number:0,s=xA(A[2])||we(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?k(A[4],1):1;return[e,r,s,n]},Ha=t=>XA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Qn=t=>XA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),mn=(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),Sa=([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=mn(s,r,t+1/3),o=mn(s,r,t),a=mn(s,r,t-1/3);return[n,o,a]},Nr=([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)]),_r=t=>{const A=XA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return XA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Pr=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 Qn([o[0],o[1],o[2]])},FB=(t,A)=>{const e=A.filter(OA);if(e.length===3){const[r,s,n]=e.map(Re),o=pn([r/255,s/255,n/255]),[a,i,g]=wn([o[0],o[1],o[2]]);return[a,i,g,1]}if(e.length===4){const[r,s,n,o]=e.map(Re),a=pn([r/255,s/255,n/255]),[i,g,d]=wn([a[0],a[1],a[2]]);return[i,g,d,o]}return[0,0,0,1]},yB=(t,A)=>{const[e,r,s,n]=Ea(t,A),o=pn(Sa([e,r,s])),[a,i,g]=wn([o[0],o[1],o[2]]);return[a,i,g,n]},EB=(t,A)=>{const[e,r,s,n]=Vr(A),[o,a,i]=Pr([e,r,s]);return[o,a,i,n]},bB=(t,A)=>{const[e,r,s,n]=va(A),[o,a,i]=Pr(Nr([e,r,s]));return[o,a,i,n]},vB=(t,A)=>{const[e,r,s,n]=Ia(A),[o,a,i]=_r(Nr([e,r,s]));return[o,a,i,n]},IB=(t,A)=>{const[e,r,s,n]=Vr(A),[o,a,i]=_r([e,r,s]);return[o,a,i,n]},HB=t=>Qn([t[0],t[1],t[2]]),La=t=>t,SB=t=>{const[A,e,r]=Ha([t[0],t[2],t[3]]);return[A,e,r,t[3]]},Ta=t=>Xt([t[0],t[1],t[2],t[3]]),LB=t=>{const A=HB([t[0],t[1],t[2]]);return Xt([A[0],A[1],A[2],t[3]])},TB=t=>XA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),OB=t=>XA([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}),DB=t=>Xe(t),RB=t=>{const A=KB([t[0],t[1],t[2]]);return TB([A[0],A[1],A[2]])},MB=t=>{const[A,e,r]=DB(OB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},kB=t=>{const A=RB([t[0],t[1],t[2]]);return Xt([A[0],A[1],A[2],t[3]])},GB=t=>XA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),VB=t=>XA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),NB=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]]},_B=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]]},PB=t=>{const[A,e,r]=_B(GB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},jB=t=>{const A=Oe(VB(NB([t[0],t[1],t[2]])));return Cn([A[0],A[1],A[2],t[3]])},WB=t=>XA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),XB=t=>XA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),JB=t=>t.map(A=>A<16/512?A/16:A**1.8),zB=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),YB=t=>{const A=JB([t[0],t[1],t[2]]);return Qn(WB([A[0],A[1],A[2]]))},ZB=t=>{const[A,e,r]=zB(XB(Ha([t[0],t[1],t[2]])));return[A,e,r,t[3]]},$B=t=>{const A=YB([t[0],t[1],t[2]]);return Xt([A[0],A[1],A[2],t[3]])},jr=1.09929682680944,Oa=.018053968510807,qB=t=>t.map(function(A){return A<Oa*4.5?A/4.5:Math.pow((A+jr-1)/jr,1/.45)}),Ag=t=>t.map(function(A){return A>=Oa?jr*Math.pow(A,.45)-(jr-1):4.5*A}),eg=t=>XA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),tg=t=>XA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),rg=t=>{const A=qB([t[0],t[1],t[2]]);return eg([A[0],A[1],A[2]])},sg=t=>{const[A,e,r]=Ag(tg([t[0],t[1],t[2]]));return[A,e,r,t[3]]},ng=t=>{const A=rg([t[0],t[1],t[2]]);return Xt([A[0],A[1],A[2],t[3]])},Me={name:"color",parse:(t,A)=>{if(A.type===18){const e=cg[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]=Ka(A);return le(e,r,s,n)}if(A.type===20){const e=Ce[A.value.toUpperCase()];if(typeof e<"u")return e}return Ce.TRANSPARENT}},Ka=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]},Da=(t,A)=>{const e=A.filter(OA);if(ze(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(Re);return le(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(Re);return le(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=Re(e[0],0),s=Re(e[1],1),n=Re(e[2],2),o=Re(e[4],3);return le(r,s,n,o)}return 0},og=(t,A)=>{const e=A.filter(OA),r=e[0].type===20?e[0].value:"unknown";if(!ze(e)){const n=r,o=Ra[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const a=xA(e[1])?e[1].number:0,i=xA(e[2])?e[2].number:0,g=xA(e[3])?e[3].number:0,d=e.length>4&&e[4].type===6&&e[4].value==="/"&&xA(e[5])?e[5].number:1;return o([a,i,g,d])}else{const n=(p,T)=>{if(xA(T))return T.number;const I=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(V(T)){const K=I(T.value);return p[K]}const H=K=>{const N=K.filter(OA);let W="(";for(const D of N)W+=D.type===18&&D.name==="calc"?H(D.values):xA(D)?D.number:D.type===6||V(D)?D.value:"";return W+=")",W};if(T.type===18){const K=T.values.filter(OA);if(T.name==="calc"){const N=H(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+N)()}}return null},o=e[1].type===18?e[1].name:V(e[1])||e[1].type===5?"rgb":"unknown",a=V(e[2])?e[2].value:"unknown";let i=e[1].type===18?e[1].values:V(e[1])?[e[1]]:[];if(V(e[1])){if(typeof Ce[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const T=gt(t,e[1].value),I=255&T,H=255&T>>8,K=255&T>>16;i=[{type:17,number:255&T>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:H,flags:1},{type:17,number:I>1?I/255:I,flags:1}]}}else if(e[1].type===5){const[p,T,I,H]=Ka(e[1]);i=[{type:17,number:p,flags:1},{type:17,number:T,flags:1},{type:17,number:I,flags:1},{type:17,number:H>1?H/255:H,flags:1}]}if(i.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(a==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const g=ag[o],d=ig[a],B=Ra[a];if(typeof g>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof d>"u")throw new Error(`Attempting to parse an unsupported color space "${a}" for color() function`);const u=g(t,i),f=d(u),w=n(f,e[3]),Q=n(f,e[4]),F=n(f,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&xA(e[7])?e[7].number:1;if(w===null||Q===null||F===null)throw new Error("Invalid relative color in color() function");return B([w,Q,F,y])}},Ra={srgb:CB,"srgb-linear":Cn,"display-p3":kB,"a98-rgb":jB,"prophoto-rgb":$B,xyz:Ta,"xyz-d50":LB,"xyz-d65":Ta,rec2020:ng},ag={rgb:FB,hsl:yB,lab:EB,lch:bB,oklab:IB,oklch:vB},ig={srgb:fB,"srgb-linear":hB,"display-p3":MB,"a98-rgb":PB,"prophoto-rgb":ZB,xyz:La,"xyz-d50":SB,"xyz-d65":La,rec2020:sg},cg={hsl:ba,hsla:ba,rgb:Da,rgba:Da,lch:xB,oklch:UB,oklab:mB,lab:QB,color:og},gt=(t,A)=>Me.parse(t,dt.create(A).parseComponentValue()),Ce={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},lg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},dg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Wr=(t,A)=>{const e=Me.parse(t,A[0]),r=A[1];return r&&Z(r)?{color:e,stop:r}:{color:e,stop:null}},Ma=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=FA),r.stop===null&&(r.stop=pe);const s=[];let n=0;for(let a=0;a<t.length;a++){const i=t[a].stop;if(i!==null){const g=k(i,A);g>n?s.push(g):s.push(n),n=g}else s.push(null)}let o=null;for(let a=0;a<s.length;a++){const i=s[a];if(i===null)o===null&&(o=a);else if(o!==null){const g=a-o,d=s[o-1],B=(i-d)/(g+1);for(let u=1;u<=g;u++)s[o+u-1]=B*u;o=null}}return t.map(({color:a},i)=>({color:a,stop:Math.max(Math.min(1,s[i]/A),0)}))},Bg=(t,A,e)=>{const r=A/2,s=e/2,n=k(t[0],A)-r,o=s-k(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},gg=(t,A,e)=>{const r=typeof t=="number"?t:Bg(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,a=s/2,i=Math.sin(r-Math.PI/2)*a,g=Math.cos(r-Math.PI/2)*a;return[s,n-g,n+g,o-i,o+i]},de=(t,A)=>Math.sqrt(t*t+A*A),ka=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,a)=>{const[i,g]=a,d=de(e-i,r-g);return(s?d<o.optimumDistance:d>o.optimumDistance)?{optimumCorner:a,optimumDistance:d}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,ug=(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(de(A,e),de(A,e-s),de(A-r,e),de(A-r,e-s));else if(t.shape===1){const a=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[i,g]=ka(r,s,A,e,!0);n=de(i-A,(g-e)/a),o=a*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(de(A,e),de(A,e-s),de(A-r,e),de(A-r,e-s));else if(t.shape===1){const a=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[i,g]=ka(r,s,A,e,!1);n=de(i-A,(g-e)/a),o=a*n}break}return Array.isArray(t.size)&&(n=k(t.size[0],r),o=t.size.length===2?k(t.size[1],s):n),[n,o]},fg=(t,A)=>{let e=se(180);const r=[];return ce(A).forEach((s,n)=>{if(n===0){const a=s[0];if(a.type===20&&a.value==="to"){e=ya(s);return}else if(Fa(a)){e=Bt.parse(t,a);return}}const o=Wr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Xr=(t,A)=>{let e=se(180);const r=[];return ce(A).forEach((s,n)=>{if(n===0){const a=s[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=ya(s);return}else if(Fa(a)){e=(Bt.parse(t,a)+se(270))%se(360);return}}const o=Wr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},hg=(t,A)=>{const e=se(180),r=[];let s=1;const n=0,o=3,a=[];return ce(A).forEach((i,g)=>{const d=i[0];if(g===0){if(V(d)&&d.value==="linear"){s=1;return}else if(V(d)&&d.value==="radial"){s=2;return}}if(d.type===18){if(d.name==="from"){const B=Me.parse(t,d.values[0]);r.push({stop:FA,color:B})}else if(d.name==="to"){const B=Me.parse(t,d.values[0]);r.push({stop:pe,color:B})}else if(d.name==="color-stop"){const B=d.values.filter(OA);if(B.length===2){const u=Me.parse(t,B[1]),f=B[0];xA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:u})}}}}),s===1?{angle:(e+se(180))%se(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:a,type:s}},Ga="closest-side",Va="farthest-side",Na="closest-corner",_a="farthest-corner",Pa="circle",ja="ellipse",Wa="cover",Xa="contain",wg=(t,A)=>{let e=0,r=3;const s=[],n=[];return ce(A).forEach((o,a)=>{let i=!0;if(a===0){let g=!1;i=o.reduce((d,B)=>{if(g)if(V(B))switch(B.value){case"center":return n.push(Je),d;case"top":case"left":return n.push(FA),d;case"right":case"bottom":return n.push(pe),d}else(Z(B)||Ke(B))&&n.push(B);else if(V(B))switch(B.value){case Pa:return e=0,!1;case ja:return e=1,!1;case"at":return g=!0,!1;case Ga:return r=0,!1;case Wa:case Va:return r=1,!1;case Xa:case Na:return r=2,!1;case _a:return r=3,!1}else if(Ke(B)||Z(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return d},i)}if(i){const g=Wr(t,o);s.push(g)}}),{size:r,shape:e,stops:s,position:n,type:2}},Jr=(t,A)=>{let e=0,r=3;const s=[],n=[];return ce(A).forEach((o,a)=>{let i=!0;if(a===0?i=o.reduce((g,d)=>{if(V(d))switch(d.value){case"center":return n.push(Je),!1;case"top":case"left":return n.push(FA),!1;case"right":case"bottom":return n.push(pe),!1}else if(Z(d)||Ke(d))return n.push(d),!1;return g},i):a===1&&(i=o.reduce((g,d)=>{if(V(d))switch(d.value){case Pa:return e=0,!1;case ja:return e=1,!1;case Xa:case Ga:return r=0,!1;case Va:return r=1,!1;case Na:return r=2,!1;case Wa:case _a:return r=3,!1}else if(Ke(d)||Z(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return g},i)),i){const g=Wr(t,o);s.push(g)}}),{size:r,shape:e,stops:s,position:n,type:2}},pg=t=>t.type===1,Cg=t=>t.type===2,Un={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=Ja[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 Qg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Ja[t.name])}const Ja={"linear-gradient":fg,"-moz-linear-gradient":Xr,"-ms-linear-gradient":Xr,"-o-linear-gradient":Xr,"-webkit-linear-gradient":Xr,"radial-gradient":wg,"-moz-radial-gradient":Jr,"-ms-radial-gradient":Jr,"-o-radial-gradient":Jr,"-webkit-radial-gradient":Jr,"-webkit-gradient":hg},mg={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=>OA(r)&&Qg(r)).map(r=>Un.parse(t,r))}},Ug={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},xg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>ce(A).map(e=>e.map(r=>wB(r)?pB(r,0):Z(r)?r:null).filter(r=>r!==null)).map(Ca)},Fg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(V).map(r=>r.value).join(" ")).map(yg)},yg=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 ut;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(ut||(ut={}));const Eg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(bg))},bg=t=>V(t)||Z(t),zr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),vg=zr("top"),Ig=zr("right"),Hg=zr("bottom"),Sg=zr("left"),Yr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>Ca(e.filter(Z))}),Lg=Yr("top-left"),Tg=Yr("top-right"),Og=Yr("bottom-right"),Kg=Yr("bottom-left"),Zr=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}}),Dg=Zr("top"),Rg=Zr("right"),Mg=Zr("bottom"),kg=Zr("left"),$r=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>we(e)?e.number:0}),Gg=$r("top"),Vg=$r("right"),Ng=$r("bottom"),_g=$r("left"),xn={type:0},Fn=t=>{const[A]=t;return A?V(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Z(A)?A:"closest-side":"closest-side"},za=t=>{let A=null,e=null;for(const r of t)if(V(r))switch(r.value){case"left":A=FA;break;case"right":A=pe;break;case"top":e=FA;break;case"bottom":e=pe;break;case"center":A===null?A=Je:e===null&&(e=Je);break}else Z(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Je,cy:e??Je}},Pg=t=>{const A=[];for(const o of t)if(o.type!==31){if(V(o)&&o.value==="round")break;Z(o)&&A.push(o)}const e=A[0]??FA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},jg=t=>{const A=t.filter(Gr),e=A.findIndex(n=>jt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:Fn(r),...za(s)}},Wg=t=>{const A=t.filter(Gr),e=A.findIndex(n=>jt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:Fn(r.slice(0,1)),ry:Fn(r.slice(1,2)),...za(s)}},Xg=t=>{const A=ce(t),e=[];for(const r of A){if(r.length===1&&V(r[0]))continue;const s=r.filter(Z);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},Jg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:xn},zg={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(V(A)&&A.value==="none")return xn;if(A.type===18)switch(A.name){case"inset":return Pg(A.values);case"circle":return jg(A.values);case"ellipse":return Wg(A.values);case"polygon":return Xg(A.values);case"path":return Jg(A.values)}return xn}},Yg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zg={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},$g={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,r)=>e|qg(r.value),0)},qg=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},Au={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}},eu={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 qr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(qr||(qr={}));const tu={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?qr.STRICT:qr.NORMAL},ru={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ya=(t,A)=>V(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Z(t)?k(t,A):A,su={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:Un.parse(t,A)},nu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},yn={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}}},As=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),ou=As("top"),au=As("right"),iu=As("bottom"),cu=As("left"),lu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(V).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},du={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},es=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),Bu=es("top"),gu=es("right"),uu=es("bottom"),fu=es("left"),hu={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}}},wu={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}},pu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&jt(A[0],"none")?[]:ce(A).map(e=>{const r={color:Ce.TRANSPARENT,offsetX:FA,offsetY:FA,blur:FA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];Ke(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=Me.parse(t,o)}return r})},Cu={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}},Qu={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=mu[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}},mu={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(g=>g.type===17).map(g=>g.number),[r,s,{},{},n,o,{},{},{},{},{},{},a,i]=e;return e.length===16?[r,s,n,o,a,i]: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=Bt.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},Za={type:16,number:50,flags:ct},Uu=[Za,Za],xu={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Z);return e.length!==2?Uu:[e[0],e[1]]}},Fu={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?Bt.parse(t,A)*180/Math.PI:null},yu={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 Jt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Jt||(Jt={}));const Eu={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Jt.BREAK_ALL;case"keep-all":return Jt.KEEP_ALL;default:return Jt.NORMAL}}},bu={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(xA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},$a={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")}},vu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>xA(A)?A.number:1},Iu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Hu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(V).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)},Su={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}}},Lu={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(V(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return we(A)?A.number:"auto"}},Tu={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>V(A)&&A.value==="auto"?"auto":we(A)?A.number:"auto"},Ou={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}'`)}},Ku={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Du={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>xA(A)?A.number:V(A)&&A.value==="bold"?700:400},Ru={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(V).map(e=>e.value)},Mu={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"}}},cA=(t,A)=>(t&A)!==0,ku={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}},Gu={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(Gr);for(let n=0;n<s.length;n++){const o=s[n],a=s[n+1];if(o.type===20){const i=a&&xA(a)?a.number:1;r.push({counter:o.value,increment:i})}}return r}},Vu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(Gr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(V(n)&&n.value!=="none"){const a=o&&xA(o)?o.number:0;e.push({counter:n.value,reset:a})}}return e}},Nu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(we).map(e=>$a.parse(t,e))},_u={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(gB);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,a=s[n+1].value;r.push({open:o,close:a})}return r}},qa=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},Pu={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&jt(A[0],"none")?[]:ce(A).map(e=>{const r={color:255,offsetX:FA,offsetY:FA,blur:FA,spread:FA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];jt(o,"inset")?r.inset=!0:Ke(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=Me.parse(t,o)}return r})},ju={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(V).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}},Wu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Xu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>we(A)?A.number:0},Ju={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},zu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,r)=>e|Yu(r.value),0)},Yu=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Zu={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var qA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(qA||(qA={}));const $u={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 qA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return qA.PIXELATED;case"smooth":case"high-quality":return qA.SMOOTH;default:return qA.AUTO}}};class qu{constructor(A,e){this.animationDuration=b(A,Nu,e.animationDuration),this.backgroundClip=b(A,lg,e.backgroundClip),this.backgroundColor=b(A,dg,e.backgroundColor),this.backgroundImage=b(A,mg,e.backgroundImage),this.backgroundOrigin=b(A,Ug,e.backgroundOrigin),this.backgroundPosition=b(A,xg,e.backgroundPosition),this.backgroundRepeat=b(A,Fg,e.backgroundRepeat),this.backgroundSize=b(A,Eg,e.backgroundSize),this.borderTopColor=b(A,vg,e.borderTopColor),this.borderRightColor=b(A,Ig,e.borderRightColor),this.borderBottomColor=b(A,Hg,e.borderBottomColor),this.borderLeftColor=b(A,Sg,e.borderLeftColor),this.borderTopLeftRadius=b(A,Lg,e.borderTopLeftRadius),this.borderTopRightRadius=b(A,Tg,e.borderTopRightRadius),this.borderBottomRightRadius=b(A,Og,e.borderBottomRightRadius),this.borderBottomLeftRadius=b(A,Kg,e.borderBottomLeftRadius),this.borderTopStyle=b(A,Dg,e.borderTopStyle),this.borderRightStyle=b(A,Rg,e.borderRightStyle),this.borderBottomStyle=b(A,Mg,e.borderBottomStyle),this.borderLeftStyle=b(A,kg,e.borderLeftStyle),this.borderTopWidth=b(A,Gg,e.borderTopWidth),this.borderRightWidth=b(A,Vg,e.borderRightWidth),this.borderBottomWidth=b(A,Ng,e.borderBottomWidth),this.borderLeftWidth=b(A,_g,e.borderLeftWidth),this.boxShadow=b(A,Pu,e.boxShadow),this.clipPath=b(A,zg,e.clipPath),this.color=b(A,Yg,e.color),this.direction=b(A,Zg,e.direction),this.display=b(A,$g,e.display),this.float=b(A,Au,e.cssFloat),this.fontFamily=b(A,Ou,e.fontFamily),this.fontSize=b(A,Ku,e.fontSize),this.fontStyle=b(A,Mu,e.fontStyle),this.fontVariant=b(A,Ru,e.fontVariant),this.fontWeight=b(A,Du,e.fontWeight),this.letterSpacing=b(A,eu,e.letterSpacing),this.lineBreak=b(A,tu,e.lineBreak),this.lineHeight=b(A,ru,e.lineHeight),this.listStyleImage=b(A,su,e.listStyleImage),this.listStylePosition=b(A,nu,e.listStylePosition),this.listStyleType=b(A,yn,e.listStyleType),this.marginTop=b(A,ou,e.marginTop),this.marginRight=b(A,au,e.marginRight),this.marginBottom=b(A,iu,e.marginBottom),this.marginLeft=b(A,cu,e.marginLeft),this.opacity=b(A,vu,e.opacity);const r=b(A,lu,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=b(A,du,e.overflowWrap),this.paddingTop=b(A,Bu,e.paddingTop),this.paddingRight=b(A,gu,e.paddingRight),this.paddingBottom=b(A,uu,e.paddingBottom),this.paddingLeft=b(A,fu,e.paddingLeft),this.paintOrder=b(A,ju,e.paintOrder),this.position=b(A,wu,e.position),this.textAlign=b(A,hu,e.textAlign),this.textDecorationColor=b(A,Iu,e.textDecorationColor??e.color),this.textDecorationLine=b(A,Hu,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=b(A,Su,e.textDecorationStyle),this.textDecorationThickness=b(A,Lu,e.textDecorationThickness),this.textUnderlineOffset=b(A,Tu,e.textUnderlineOffset),this.textShadow=b(A,pu,e.textShadow),this.textTransform=b(A,Cu,e.textTransform),this.textOverflow=b(A,Zu,e.textOverflow),this.transform=b(A,Qu,e.transform),this.transformOrigin=b(A,xu,e.transformOrigin),this.rotate=b(A,Fu,e.rotate),this.visibility=b(A,yu,e.visibility),this.webkitTextStrokeColor=b(A,Wu,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=b(A,Xu,e.webkitTextStrokeWidth),this.webkitLineClamp=b(A,Ju,e.webkitLineClamp),this.wordBreak=b(A,Eu,e.wordBreak),this.zIndex=b(A,bu,e.zIndex),this.objectFit=b(A,zu,e.objectFit),this.imageRendering=b(A,$u,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return De(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 cA(this.display,4)||cA(this.display,33554432)||cA(this.display,268435456)||cA(this.display,536870912)||cA(this.display,67108864)||cA(this.display,134217728)}}class Af{constructor(A,e){this.content=b(A,ku,e.content),this.quotes=b(A,_u,e.quotes)}}class Ai{constructor(A,e){this.counterIncrement=b(A,Gu,e.counterIncrement),this.counterReset=b(A,Vu,e.counterReset)}}const b=(t,A,e)=>{const r=new pa,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new dt(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,V(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 Bt.parse(t,n.parseComponentValue());case"color":return Me.parse(t,n.parseComponentValue());case"image":return Un.parse(t,n.parseComponentValue());case"length":const a=n.parseComponentValue();return Ke(a)?a:FA;case"length-percentage":const i=n.parseComponentValue();return Z(i)?i:FA;case"time":return $a.parse(t,n.parseComponentValue())}break}},Fe=t=>t.nodeType===Node.ELEMENT_NODE,ei=t=>t.nodeType===Node.TEXT_NODE,ft=t=>typeof t.className=="object",zt=t=>Fe(t)&&typeof t.style<"u"&&!ft(t),ef=t=>t.tagName==="LI",tf=t=>t.tagName==="OL",ti=t=>!ft(t)&&t.tagName.indexOf("-")>0,rf="data-html2canvas-debug",sf=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(rf)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},En=(t,A)=>{const e=sf(t);return e===1||A===e};class ri{static normalizeElement(A,e){const r={};return zt(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){zt(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 Qe{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,En(e,3))debugger;this.styles=new qu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&zt(e)&&(this.originalStyles=ri.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=Qr(this.context,e),En(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(ri.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 nf="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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U4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC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VAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgAC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A4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yt=typeof Uint8Array>"u"?[]:new Uint8Array(256),ts=0;ts<si.length;ts++)Yt[si.charCodeAt(ts)]=ts;for(var of=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,a,i;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),d=Array.isArray(g)?g:new Uint8Array(g);for(r=0;r<e;r+=4)n=Yt[t.charCodeAt(r)],o=Yt[t.charCodeAt(r+1)],a=Yt[t.charCodeAt(r+2)],i=Yt[t.charCodeAt(r+3)],d[s++]=n<<2|o>>4,d[s++]=(o&15)<<4|a>>2,d[s++]=(a&3)<<6|i&63;return g},af=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},cf=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},Ye=5,bn=11,vn=2,lf=bn-Ye,ni=65536>>Ye,df=1<<Ye,In=df-1,Bf=1024>>Ye,gf=ni+Bf,uf=gf,ff=32,hf=uf+ff,wf=65536>>bn,pf=1<<lf,Cf=pf-1,oi=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Qf=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},mf=function(t,A){var e=of(t),r=Array.isArray(e)?cf(e):new Uint32Array(e),s=Array.isArray(e)?af(e):new Uint16Array(e),n=24,o=oi(s,n/2,r[4]/2),a=r[5]===2?oi(s,(n+r[4])/2):Qf(r,Math.ceil((n+r[4])/4));return new Uf(r[0],r[1],r[2],r[3],o,a)},Uf=(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>>Ye],e=(e<<vn)+(A&In),this.data[e];if(A<=65535)return e=this.index[ni+(A-55296>>Ye)],e=(e<<vn)+(A&In),this.data[e];if(A<this.highStart)return e=hf-wf+(A>>bn),e=this.index[e],e+=A>>Ye&Cf,e=this.index[e],e=(e<<vn)+(A&In),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xf=typeof Uint8Array>"u"?[]:new Uint8Array(256),rs=0;rs<ai.length;rs++)xf[ai.charCodeAt(rs)]=rs;var Ff=1,Hn=2,Sn=3,ii=4,ci=5,yf=7,li=8,Ln=9,Tn=10,di=11,Bi=12,gi=13,ui=14,On=15,Ef=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},bf=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},vf=mf(nf),ne="×",Kn="÷",If=function(t){return vf.get(t)},Hf=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===Hn&&o===Sn)return ne;if(n===Hn||n===Sn||n===ii||o===Hn||o===Sn||o===ii)return Kn;if(n===li&&[li,Ln,di,Bi].indexOf(o)!==-1||(n===di||n===Ln)&&(o===Ln||o===Tn)||(n===Bi||n===Tn)&&o===Tn||o===gi||o===ci||o===yf||n===Ff)return ne;if(n===gi&&o===ui){for(;s===ci;)s=A[--r];if(s===ui)return ne}if(n===On&&o===On){for(var a=0;s===On;)a++,s=A[--r];if(a%2===0)return ne}return Kn},Sf=function(t){var A=Ef(t),e=A.length,r=0,s=0,n=A.map(If);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=ne;r<e&&(o=Hf(A,n,++r))===ne;);if(o!==ne||r===e){var a=bf.apply(null,A.slice(s,r));return s=r,{value:a,done:!1}}return{done:!0,value:null}}}},Lf=function(t){for(var A=Sf(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Tf=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},Of=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"?"&#128104;".repeat(10):"";const r=A.firstChild,s=mr(r.data).map(i=>CA(i));let n=0,o={};const a=s.every((i,g)=>{e.setStart(r,n),e.setEnd(r,n+i.length);const d=e.getBoundingClientRect();n+=i.length;const B=d.x>o.x||d.y>o.y;return o=d,g===0?!0:B});return t.body.removeChild(A),a},Kf=()=>typeof new Image().crossOrigin<"u",Df=()=>typeof new XMLHttpRequest().responseType=="string",Rf=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},fi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Mf=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=Dn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),hi(o).then(a=>{r.drawImage(a,0,0);const i=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const g=t.createElement("div");return g.style.backgroundImage=`url(${n})`,g.style.height=`${e}px`,fi(i)?hi(Dn(e,e,0,0,g)):Promise.reject(!1)}).then(a=>(r.drawImage(a,0,0),fi(r.getImageData(0,0,e,e).data))).catch(()=>!1)},Dn=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),a=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(s),o},hi=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))}`}),KA={get SUPPORT_RANGE_BOUNDS(){const t=Tf(document);return Object.defineProperty(KA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=KA.SUPPORT_RANGE_BOUNDS&&Of(document);return Object.defineProperty(KA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=Rf(document);return Object.defineProperty(KA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Mf(document):Promise.resolve(!1);return Object.defineProperty(KA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Kf();return Object.defineProperty(KA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Df();return Object.defineProperty(KA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(KA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(KA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Ze{constructor(A,e){this.text=A,this.bounds=e}}const kf=(t,A,e,r)=>{const s=Nf(A,e),n=[];let o=0;return s.forEach(a=>{if(e.textDecorationLine.length||a.trim().length>0)if(KA.SUPPORT_RANGE_BOUNDS){const i=wi(r,o,a.length).getClientRects();if(i.length>1){const g=ss(a);let d=0;g.forEach(B=>{n.push(new Ze(B,kA.fromDOMRectList(t,wi(r,d+o,B.length).getClientRects()))),d+=B.length})}else n.push(new Ze(a,kA.fromDOMRectList(t,i)))}else{const i=r.splitText(a.length);n.push(new Ze(a,Gf(t,r))),r=i}else KA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));o+=a.length}),n},Gf=(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=Qr(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return kA.EMPTY},wi=(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},ss=t=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Lf(t)},Vf=(t,A)=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return Pf(t,A)},Nf=(t,A)=>A.letterSpacing!==0?ss(t):Vf(t,A),_f=[32,160,4961,65792,65793,4153,4241],Pf=(t,A)=>{const e=ad(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=mr(n);let a="";o.forEach(i=>{_f.indexOf(i)===-1?a+=CA(i):(a.length&&r.push(a),r.push(CA(i)),a="")}),a.length&&r.push(a)}return r};class jf{constructor(A,e,r){this.text=Wf(e.data,r.textTransform),this.textBounds=kf(A,this.text,r,e)}}const Wf=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(Xf,Jf);case 2:return t.toUpperCase();default:return t}},Xf=/(^|\s|:|-|\(|\))([a-z])/g,Jf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class pi extends Qe{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 Ci extends Qe{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Qi extends Qe{constructor(A,e){super(A,e);const r=new XMLSerializer,s=Qr(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 mi extends Qe{constructor(A,e){super(A,e),this.value=e.value}}class Rn extends Qe{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const zf=[{type:15,flags:0,unit:"px",number:3}],Yf=[{type:16,flags:0,number:50}],Zf=t=>t.width>t.height?new kA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new kA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,$f=t=>{const A=t.type===Ah?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},qf=t=>t.value.length===0&&!!t.placeholder,ns="checkbox",os="radio",Ah="password",Ui=707406591,eh=1970632191;class Zt extends Qe{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=$f(e),this.isPlaceholder=qf(e),(this.type===ns||this.type===os)&&(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=Zf(this.bounds)),this.type){case ns:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=zf;break;case os:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Yf;break}}}class xi extends Qe{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class Fi extends Qe{constructor(A,e){super(A,e),this.value=e.value}}class yi extends Qe{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?gt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):Ce.TRANSPARENT,n=e.contentWindow.document.body?gt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):Ce.TRANSPARENT;this.backgroundColor=De(s)?De(n)?this.styles.backgroundColor:n:s}}catch{}}}const th=["OL","UL","MENU"],as=(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 jf(t,s,e.styles));else if(Fe(s))if($t(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>as(t,o,e,r));else{const o=Ei(t,s);o.styles.isVisible()&&(rh(s,o,r)?o.flags|=4:sh(o.styles)&&(o.flags|=2),th.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?as(t,s.shadowRoot,o,r):!is(s)&&!vi(s)&&!cs(s)&&as(t,s,o,r))}},Ei=(t,A)=>kn(A)?new pi(t,A):Ii(A)?new Ci(t,A):vi(A)?new Qi(t,A):ef(A)?new mi(t,A):tf(A)?new Rn(t,A):nh(A)?new Zt(t,A):cs(A)?new xi(t,A):is(A)?new Fi(t,A):Si(A)?new yi(t,A,bi):new Qe(t,A),bi=(t,A)=>{const e=Ei(t,A);return e.flags|=4,as(t,A,e,e),e},rh=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Mn(t)&&e.styles.isTransparent(),sh=t=>t.isPositioned()||t.isFloating()?!0:cA(t.display,268435456)||cA(t.display,33554432)||cA(t.display,536870912)||cA(t.display,134217728),nh=t=>t.tagName==="INPUT",oh=t=>t.tagName==="HTML",vi=t=>t.tagName==="svg",Mn=t=>t.tagName==="BODY",Ii=t=>t.tagName==="CANVAS",Hi=t=>t.tagName==="VIDEO",kn=t=>t.tagName==="IMG",Si=t=>t.tagName==="IFRAME",Gn=t=>t.tagName==="STYLE",Li=t=>t.tagName==="SCRIPT",is=t=>t.tagName==="TEXTAREA",cs=t=>t.tagName==="SELECT",$t=t=>t.tagName==="SLOT";class ah{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 a=this.counters[o.counter];a&&o.increment!==0&&(s=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let a=this.counters[o.counter];n.push(o.counter),a||(a=this.counters[o.counter]=[]),a.push(o.reset)}),n}}const Ti={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"]},Oi={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ih={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ch={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ht=(t,A,e,r,s,n)=>t<A||t>e?Ar(t,s,n.length>0):r.integers.reduce((o,a,i)=>{for(;t>=a;)t-=a,o+=r.values[i];return o},"")+n,Ki=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},QA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(Ki(Math.abs(t),n,r,o=>CA(Math.floor(o%n)+A))+s)},$e=(t,A,e=". ")=>{const r=A.length;return Ki(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},wt=1,ke=2,Ge=4,qt=8,ye=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Ar(t,4,s.length>0);let o=Math.abs(t),a=s;if(o===0)return A[0]+a;for(let i=0;o>0&&i<=4;i++){const g=o%10;g===0&&cA(n,wt)&&a!==""?a=A[g]+a:g>1||g===1&&i===0||g===1&&i===1&&cA(n,ke)||g===1&&i===1&&cA(n,Ge)&&t>100||g===1&&i>1&&cA(n,qt)?a=A[g]+(i>0?e[i-1]:"")+a:g===1&&i>0&&(a=e[i-1]+a),o=Math.floor(o/10)}return(t<0?r:"")+a},Di="十百千萬",Ri="拾佰仟萬",Mi="マイナス",Vn="마이너스",Ar=(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 a=QA(t,48,57,!0,r);return a.length<4?`0${a}`:a;case 4:return $e(t,"〇一二三四五六七八九",s);case 6:return ht(t,1,3999,Ti,3,r).toLowerCase();case 7:return ht(t,1,3999,Ti,3,r);case 8:return QA(t,945,969,!1,r);case 9:return QA(t,97,122,!1,r);case 10:return QA(t,65,90,!1,r);case 11:return QA(t,1632,1641,!0,r);case 12:case 49:return ht(t,1,9999,Oi,3,r);case 35:return ht(t,1,9999,Oi,3,r).toLowerCase();case 13:return QA(t,2534,2543,!0,r);case 14:case 30:return QA(t,6112,6121,!0,r);case 15:return $e(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return $e(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return ye(t,"零一二三四五六七八九",Di,"負",s,ke|Ge|qt);case 47:return ye(t,"零壹貳參肆伍陸柒捌玖",Ri,"負",s,wt|ke|Ge|qt);case 42:return ye(t,"零一二三四五六七八九",Di,"负",s,ke|Ge|qt);case 41:return ye(t,"零壹贰叁肆伍陆柒捌玖",Ri,"负",s,wt|ke|Ge|qt);case 26:return ye(t,"〇一二三四五六七八九","十百千万",Mi,s,0);case 25:return ye(t,"零壱弐参四伍六七八九","拾百千万",Mi,s,wt|ke|Ge);case 31:return ye(t,"영일이삼사오육칠팔구","십백천만",Vn,n,wt|ke|Ge);case 33:return ye(t,"零一二三四五六七八九","十百千萬",Vn,n,0);case 32:return ye(t,"零壹貳參四五六七八九","拾百千",Vn,n,wt|ke|Ge);case 18:return QA(t,2406,2415,!0,r);case 20:return ht(t,1,19999,ch,3,r);case 21:return QA(t,2790,2799,!0,r);case 22:return QA(t,2662,2671,!0,r);case 52:return ht(t,1,10999,ih,3,r);case 23:return $e(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return $e(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(t,3302,3311,!0,r);case 28:return $e(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return $e(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return QA(t,3792,3801,!0,r);case 37:return QA(t,6160,6169,!0,r);case 38:return QA(t,4160,4169,!0,r);case 39:return QA(t,2918,2927,!0,r);case 40:return QA(t,1776,1785,!0,r);case 43:return QA(t,3046,3055,!0,r);case 44:return QA(t,3174,3183,!0,r);case 45:return QA(t,3664,3673,!0,r);case 46:return QA(t,3872,3881,!0,r);default:return QA(t,48,57,!0,r)}},Nn="data-html2canvas-ignore",lh=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 ki{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new ah,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=lh(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=dh(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,a=o.document,i=uh(r).then(async()=>{this.scrolledElements.forEach(ph),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 u=this.options.onclone,f=this.clonedReferenceElement;if(typeof f>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return a.fonts&&a.fonts.ready&&await a.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await gh(a),typeof u=="function"?Promise.resolve().then(()=>u(a,f)).then(()=>r):r}),g=a.baseURI;a.open();const d=hh(document.doctype)+"<html></html>";try{const u=this.referenceElement.ownerDocument?.defaultView,f=u&&u.trustedTypes;let w=f?.getPolicy?.("html2canvas-pro");!w&&f&&(w=f.createPolicy("html2canvas-pro",{createHTML:Q=>Q})),w?a.write(w.createHTML(d)):a.write(d)}catch{a.write(d)}wh(this.referenceElement.ownerDocument,s,n),a.close();const B=a.adoptNode(this.documentElement);return xh(B,g),a.replaceChild(B,a.documentElement),i}createElementClone(A){if(En(A,2))debugger;if(Ii(A))return this.createCanvasClone(A);if(Hi(A))return this.createVideoClone(A);if(Gn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return kn(e)&&(kn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),ti(e)&&!ft(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,_n(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,a)=>a&&typeof a.cssText=="string"?o+a.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)||!Li(e)&&!e.hasAttribute(Nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Fe(e)||!Gn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!Fe(A)||!Li(A)&&!A.hasAttribute(Nn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!Fe(A)||!Gn(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(!$t(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)&&$t(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(!$t(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)&&$t(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)&&(zt(A)||ft(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),a=r.getComputedStyle(A,":after");this.referenceElement===A&&zt(s)&&(this.clonedReferenceElement=s),Mn(s)&&mh(s,this.options.cspNonce);const i=this.counters.parse(new Ai(this.context,n)),g=this.resolvePseudoContent(A,s,o,er.BEFORE);ti(A)&&(e=!0),Hi(A)||this.cloneChildNodes(A,s,e),g&&s.insertBefore(g,s.firstChild);const d=this.resolvePseudoContent(A,s,a,er.AFTER);return d&&s.appendChild(d),this.counters.pop(i),(n&&(this.options.copyStyles||ft(A))&&!Si(A)||e)&&_n(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(is(A)||cs(A))&&(is(s)||cs(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 Ai(this.context,r));const a=new Af(this.context,r),i=o.createElement("html2canvaspseudoelement");_n(r,i),a.content.forEach(d=>{if(d.type===0)i.appendChild(o.createTextNode(d.value));else if(d.type===22){const B=o.createElement("img");B.src=d.value,B.style.opacity="1",i.appendChild(B)}else if(d.type===18){if(d.name==="attr"){const B=d.values.filter(V);B.length&&i.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(d.name==="counter"){const[B,u]=d.values.filter(OA);if(B&&V(B)){const f=this.counters.getCounterValue(B.value),w=u&&V(u)?yn.parse(this.context,u.value):3;i.appendChild(o.createTextNode(Ar(f,w,!1)))}}else if(d.name==="counters"){const[B,u,f]=d.values.filter(OA);if(B&&V(B)){const w=this.counters.getCounterValues(B.value),Q=f&&V(f)?yn.parse(this.context,f.value):3,F=u&&u.type===0?u.value:"",y=w.map(p=>Ar(p,Q,!1)).join(F);i.appendChild(o.createTextNode(y))}}}else if(d.type===20)switch(d.value){case"open-quote":i.appendChild(o.createTextNode(qa(a.quotes,this.quoteDepth++,!0)));break;case"close-quote":i.appendChild(o.createTextNode(qa(a.quotes,--this.quoteDepth,!1)));break;default:i.appendChild(o.createTextNode(d.value))}}),i.className=`${Pn} ${jn}`;const g=s===er.BEFORE?` ${Pn}`:` ${jn}`;return ft(e)?e.className.baseValue+=g:e.className+=g,i}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var er;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(er||(er={}));const dh=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(Nn,"true"),(e||t.body).appendChild(r),r},Bh=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),gh=t=>Promise.all([].slice.call(t.images,0).map(Bh)),uh=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)}}),fh=["all","d","content"],_n=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);fh.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},hh=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,"&quot;")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,"&quot;")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,"&quot;")+'"'),A+=">"),A},wh=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},ph=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Ch=":before",Qh=":after",Pn="___html2canvas___pseudoelement_before",jn="___html2canvas___pseudoelement_after",Gi=`{
8
8
  content: "" !important;
9
9
  display: none !important;
10
- }`,xh=(t,A)=>{Uh(t,`.${Yn}${Ch}${_i}
11
- .${Zn}${Qh}${_i}`,A)},Uh=(t,A,e)=>{const s=t.ownerDocument;if(s){const r=s.createElement("style");r.textContent=A,e&&(r.nonce=e),t.appendChild(r)}},Fh=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const s=t.getElementsByTagName("head").item(0);s?.insertBefore(e,s?.firstChild??null)};class S{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new S(this.x+A,this.y+e)}}const pt=(t,A,e)=>new S(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class be{constructor(A,e,s,r){this.type=1,this.start=A,this.startControl=e,this.endControl=s,this.end=r}subdivide(A,e){const s=pt(this.start,this.startControl,A),r=pt(this.startControl,this.endControl,A),n=pt(this.endControl,this.end,A),o=pt(s,r,A),a=pt(r,n,A),c=pt(o,a,A);return e?new be(this.start,s,o,c):new be(c,a,n,this.end)}add(A,e){return new be(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new be(this.end,this.endControl,this.startControl,this.start)}}const zA=t=>t.type===1;class yh{constructor(A){const e=A.styles,s=A.bounds;let[r,n]=Jt(e.borderTopLeftRadius,s.width,s.height),[o,a]=Jt(e.borderTopRightRadius,s.width,s.height),[c,g]=Jt(e.borderBottomRightRadius,s.width,s.height),[l,B]=Jt(e.borderBottomLeftRadius,s.width,s.height);const f=[];f.push((r+o)/s.width),f.push((l+c)/s.width),f.push((n+B)/s.height),f.push((a+g)/s.height);const h=Math.max(...f);h>1&&(r/=h,n/=h,o/=h,a/=h,c/=h,g/=h,l/=h,B/=h);const w=s.width-o,C=s.height-g,F=s.width-c,y=s.height-B,m=e.borderTopWidth,T=e.borderRightWidth,H=e.borderBottomWidth,I=e.borderLeftWidth,K=G(e.paddingTop,A.bounds.width),_=G(e.paddingRight,A.bounds.width),W=G(e.paddingBottom,A.bounds.width),R=G(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||n>0?oA(s.left+I/3,s.top+m/3,r-I/3,n-m/3,J.TOP_LEFT):new S(s.left+I/3,s.top+m/3),this.topRightBorderDoubleOuterBox=r>0||n>0?oA(s.left+w,s.top+m/3,o-T/3,a-m/3,J.TOP_RIGHT):new S(s.left+s.width-T/3,s.top+m/3),this.bottomRightBorderDoubleOuterBox=c>0||g>0?oA(s.left+F,s.top+C,c-T/3,g-H/3,J.BOTTOM_RIGHT):new S(s.left+s.width-T/3,s.top+s.height-H/3),this.bottomLeftBorderDoubleOuterBox=l>0||B>0?oA(s.left+I/3,s.top+y,l-I/3,B-H/3,J.BOTTOM_LEFT):new S(s.left+I/3,s.top+s.height-H/3),this.topLeftBorderDoubleInnerBox=r>0||n>0?oA(s.left+I*2/3,s.top+m*2/3,r-I*2/3,n-m*2/3,J.TOP_LEFT):new S(s.left+I*2/3,s.top+m*2/3),this.topRightBorderDoubleInnerBox=r>0||n>0?oA(s.left+w,s.top+m*2/3,o-T*2/3,a-m*2/3,J.TOP_RIGHT):new S(s.left+s.width-T*2/3,s.top+m*2/3),this.bottomRightBorderDoubleInnerBox=c>0||g>0?oA(s.left+F,s.top+C,c-T*2/3,g-H*2/3,J.BOTTOM_RIGHT):new S(s.left+s.width-T*2/3,s.top+s.height-H*2/3),this.bottomLeftBorderDoubleInnerBox=l>0||B>0?oA(s.left+I*2/3,s.top+y,l-I*2/3,B-H*2/3,J.BOTTOM_LEFT):new S(s.left+I*2/3,s.top+s.height-H*2/3),this.topLeftBorderStroke=r>0||n>0?oA(s.left+I/2,s.top+m/2,r-I/2,n-m/2,J.TOP_LEFT):new S(s.left+I/2,s.top+m/2),this.topRightBorderStroke=r>0||n>0?oA(s.left+w,s.top+m/2,o-T/2,a-m/2,J.TOP_RIGHT):new S(s.left+s.width-T/2,s.top+m/2),this.bottomRightBorderStroke=c>0||g>0?oA(s.left+F,s.top+C,c-T/2,g-H/2,J.BOTTOM_RIGHT):new S(s.left+s.width-T/2,s.top+s.height-H/2),this.bottomLeftBorderStroke=l>0||B>0?oA(s.left+I/2,s.top+y,l-I/2,B-H/2,J.BOTTOM_LEFT):new S(s.left+I/2,s.top+s.height-H/2),this.topLeftBorderBox=r>0||n>0?oA(s.left,s.top,r,n,J.TOP_LEFT):new S(s.left,s.top),this.topRightBorderBox=o>0||a>0?oA(s.left+w,s.top,o,a,J.TOP_RIGHT):new S(s.left+s.width,s.top),this.bottomRightBorderBox=c>0||g>0?oA(s.left+F,s.top+C,c,g,J.BOTTOM_RIGHT):new S(s.left+s.width,s.top+s.height),this.bottomLeftBorderBox=l>0||B>0?oA(s.left,s.top+y,l,B,J.BOTTOM_LEFT):new S(s.left,s.top+s.height),this.topLeftPaddingBox=r>0||n>0?oA(s.left+I,s.top+m,Math.max(0,r-I),Math.max(0,n-m),J.TOP_LEFT):new S(s.left+I,s.top+m),this.topRightPaddingBox=o>0||a>0?oA(s.left+Math.min(w,s.width-T),s.top+m,w>s.width+T?0:Math.max(0,o-T),Math.max(0,a-m),J.TOP_RIGHT):new S(s.left+s.width-T,s.top+m),this.bottomRightPaddingBox=c>0||g>0?oA(s.left+Math.min(F,s.width-I),s.top+Math.min(C,s.height-H),Math.max(0,c-T),Math.max(0,g-H),J.BOTTOM_RIGHT):new S(s.left+s.width-T,s.top+s.height-H),this.bottomLeftPaddingBox=l>0||B>0?oA(s.left+I,s.top+Math.min(y,s.height-H),Math.max(0,l-I),Math.max(0,B-H),J.BOTTOM_LEFT):new S(s.left+I,s.top+s.height-H),this.topLeftContentBox=r>0||n>0?oA(s.left+I+R,s.top+m+K,Math.max(0,r-(I+R)),Math.max(0,n-(m+K)),J.TOP_LEFT):new S(s.left+I+R,s.top+m+K),this.topRightContentBox=o>0||a>0?oA(s.left+Math.min(w,s.width+I+R),s.top+m+K,w>s.width+I+R?0:o-I+R,a-(m+K),J.TOP_RIGHT):new S(s.left+s.width-(T+_),s.top+m+K),this.bottomRightContentBox=c>0||g>0?oA(s.left+Math.min(F,s.width-(I+R)),s.top+Math.min(C,s.height+m+K),Math.max(0,c-(T+_)),g-(H+W),J.BOTTOM_RIGHT):new S(s.left+s.width-(T+_),s.top+s.height-(H+W)),this.bottomLeftContentBox=l>0||B>0?oA(s.left+I+R,s.top+y,Math.max(0,l-(I+R)),B-(H+W),J.BOTTOM_LEFT):new S(s.left+I+R,s.top+s.height-(H+W))}}var J;(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"})(J||(J={}));const oA=(t,A,e,s,r)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,a=s*n,c=t+e,g=A+s;switch(r){case J.TOP_LEFT:return new be(new S(t,g),new S(t,g-a),new S(c-o,A),new S(c,A));case J.TOP_RIGHT:return new be(new S(t,A),new S(t+o,A),new S(c,g-a),new S(c,g));case J.BOTTOM_RIGHT:return new be(new S(c,A),new S(c,A+a),new S(t+o,g),new S(t,g));case J.BOTTOM_LEFT:default:return new be(new S(c,g),new S(c-o,g),new S(t,A+a),new S(t,A))}},fr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Eh=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],hr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class Pi{constructor(A,e,s){this.offsetX=A,this.offsetY=e,this.matrix=s,this.type=0,this.target=6}}class pr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class bh{constructor(A){this.opacity=A,this.type=2,this.target=6}}class ns{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const vh=t=>t.type===0,ji=t=>t.type===1,Hh=t=>t.type===2,Ih=t=>t.type===3,Wi=(t,A)=>t.length===A.length?t.some((e,s)=>e===A[s]):!1,Sh=(t,A,e,s,r)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+s,e);case 2:return n.add(A+s,e+r);case 3:return n.add(A,e+r)}return n});class Xi{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class zi{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new yh(this.container),this.container.styles.opacity<1&&this.effects.push(new bh(this.container.styles.opacity)),this.container.styles.rotate!==null){const s=this.container.styles.transformOrigin,r=this.container.bounds.left+G(s[0],this.container.bounds.width),n=this.container.bounds.top+G(s[1],this.container.bounds.height),a=this.container.styles.rotate*Math.PI/180,c=Math.cos(a),g=Math.sin(a),l=[c,g,-g,c,0,0];this.effects.push(new Pi(r,n,l))}if(this.container.styles.transform!==null){const s=this.container.styles.transformOrigin,r=this.container.bounds.left+G(s[0],this.container.bounds.width),n=this.container.bounds.top+G(s[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new Pi(r,n,o))}if(this.container.styles.overflowX!==0){const s=fr(this.curves),r=hr(this.curves);Wi(s,r)?this.effects.push(new pr(s,6)):(this.effects.push(new pr(s,2)),this.effects.push(new pr(r,4)))}if(this.container.styles.clipPath.type!==0){const s=Lh(this.container.styles.clipPath,this.container.bounds);s&&this.effects.push(s)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,s=this.parent;const r=this.effects.slice(0);for(;s;){const n=s.effects.filter(o=>!ji(o));if(e||s.container.styles.position!==0||!s.parent){if(e=[2,3].indexOf(s.container.styles.position)===-1,s.container.styles.overflowX!==0){const o=fr(s.curves),a=hr(s.curves);Wi(o,a)||r.unshift(new pr(a,6))}r.unshift(...n)}else r.unshift(...n);s=s.parent}return r.filter(n=>cA(n.target,A))}}const Ji=(t,A,e,s,r)=>t==="closest-side"?Math.min(A-e,s-A):t==="farthest-side"?Math.max(A-e,s-A):G(t,r),Lh=(t,A)=>{const{left:e,top:s,width:r,height:n}=A;switch(t.type){case 1:{const o=G(t.left,r),a=G(t.top,n),c=e+o,g=s+a,l=Math.max(0,r-o-G(t.right,r)),B=Math.max(0,n-a-G(t.bottom,n));return new ns(f=>{f.beginPath(),f.rect(c,g,l,B),f.clip()})}case 2:{const o=e+G(t.cx,r),a=s+G(t.cy,n);let c;return t.radius==="closest-side"?c=Math.min(o-e,a-s,e+r-o,s+n-a):t.radius==="farthest-side"?c=Math.max(o-e,a-s,e+r-o,s+n-a):c=G(t.radius,Math.sqrt(r*r+n*n)/Math.SQRT2),new ns(g=>{g.beginPath(),g.arc(o,a,Math.max(0,c),0,Math.PI*2),g.clip()})}case 3:{const o=e+G(t.cx,r),a=s+G(t.cy,n),c=Ji(t.rx,o,e,e+r,r),g=Ji(t.ry,a,s,s+n,n);return new ns(l=>{l.beginPath(),l.ellipse(o,a,Math.max(0,c),Math.max(0,g),0,0,Math.PI*2),l.clip()})}case 4:{const o=t.points.map(([a,c])=>[e+G(a,r),s+G(c,n)]);return new ns(a=>{if(a.beginPath(),o.length>0){a.moveTo(o[0][0],o[0][1]);for(let c=1;c<o.length;c++)a.lineTo(o[c][0],o[c][1]);a.closePath()}a.clip()})}case 5:{const{d:o}=t;return new ns(a=>{try{const c=a.getTransform();a.translate(e,s),a.clip(new Path2D(o)),a.setTransform(c)}catch{}})}case 0:return null;default:return null}},$n=(t,A,e,s)=>{t.container.elements.forEach(r=>{const n=cA(r.flags,4),o=cA(r.flags,2),a=new zi(r,t);cA(r.styles.display,2048)&&s.push(a);const c=cA(r.flags,8)?[]:s;if(n||o){const g=n||r.styles.isPositioned()?e:A,l=new Xi(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){const B=r.styles.zIndex.order;if(B<0){let f=0;g.negativeZIndex.some((h,w)=>B>h.element.container.styles.zIndex.order?(f=w,!1):f>0),g.negativeZIndex.splice(f,0,l)}else if(B>0){let f=0;g.positiveZIndex.some((h,w)=>B>=h.element.container.styles.zIndex.order?(f=w+1,!1):f>0),g.positiveZIndex.splice(f,0,l)}else g.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else r.styles.isFloating()?g.nonPositionedFloats.push(l):g.nonPositionedInlineLevel.push(l);$n(a,l,n?l:e,c)}else r.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),$n(a,A,e,c);cA(r.flags,8)&&Yi(r,c)})},Yi=(t,A)=>{let e=t instanceof _n?t.start:1;const s=t instanceof _n?t.reversed:!1;for(let r=0;r<A.length;r++){const n=A[r];n.container instanceof Fi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=ss(e,n.container.styles.listStyleType,!0),e+=s?-1:1}},Th=t=>{const A=new zi(t,null),e=new Xi(A),s=[];return $n(A,e,e,s),Yi(A.container,s),e},Zi=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},os=t=>{const A=t.styles,e=t.bounds,s=G(A.paddingLeft,e.width),r=G(A.paddingRight,e.width),n=G(A.paddingTop,e.width),o=G(A.paddingBottom,e.width);return e.add(s+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+s+r),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Oh=(t,A)=>t===0?A.bounds:t===2?os(A):Zi(A),Kh=(t,A)=>t===0?A.bounds:t===2?os(A):Zi(A),qn=(t,A,e)=>{const s=Oh(mt(t.styles.backgroundOrigin,A),t),r=Kh(mt(t.styles.backgroundClip,A),t),n=Dh(mt(t.styles.backgroundSize,A),e,s);let[o,a]=n;const c=Jt(mt(t.styles.backgroundPosition,A),s.width-o,s.height-a),g=Rh(mt(t.styles.backgroundRepeat,A),c,n,s,r),l=Math.round(s.left+c[0]),B=Math.round(s.top+c[1]);return o=Math.max(1,o),a=Math.max(1,a),[g,l,B,o,a]},wt=t=>V(t)&&t.value===gt.AUTO,wr=t=>typeof t=="number",Dh=(t,[A,e,s],r)=>{const[n,o]=t;if(!n)return[0,0];if(Z(n)&&o&&Z(o))return[G(n,r.width),G(o,r.height)];const a=wr(s);if(V(n)&&(n.value===gt.CONTAIN||n.value===gt.COVER))return wr(s)?r.width/r.height<s!=(n.value===gt.COVER)?[r.width,r.width/s]:[r.height*s,r.height]:[r.width,r.height];const c=wr(A),g=wr(e),l=c||g;if(wt(n)&&(!o||wt(o))){if(c&&g)return[A,e];if(!a&&!l)return[r.width,r.height];if(l&&a){const C=c?A:e*s,F=g?e:A/s;return[C,F]}const h=c?A:r.width,w=g?e:r.height;return[h,w]}if(a){let h=0,w=0;return Z(n)?h=G(n,r.width):Z(o)&&(w=G(o,r.height)),wt(n)?h=w*s:(!o||wt(o))&&(w=h/s),[h,w]}let B=null,f=null;if(Z(n)?B=G(n,r.width):o&&Z(o)&&(f=G(o,r.height)),B!==null&&(!o||wt(o))&&(f=c&&g?B/A*e:r.height),f!==null&&wt(n)&&(B=c&&g?f/e*A:r.width),B!==null&&f!==null)return[B,f];throw new Error("Unable to calculate background-size for element")},mt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Rh=(t,[A,e],[s,r],n,o)=>{switch(t){case 2:return[new S(Math.round(n.left),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(r+n.top+e)),new S(Math.round(n.left),Math.round(r+n.top+e))];case 3:return[new S(Math.round(n.left+A),Math.round(n.top)),new S(Math.round(n.left+A+s),Math.round(n.top)),new S(Math.round(n.left+A+s),Math.round(n.height+n.top)),new S(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new S(Math.round(n.left+A),Math.round(n.top+e)),new S(Math.round(n.left+A+s),Math.round(n.top+e)),new S(Math.round(n.left+A+s),Math.round(n.top+e+r)),new S(Math.round(n.left+A),Math.round(n.top+e+r))];default:return[new S(Math.round(o.left),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.height+o.top)),new S(Math.round(o.left),Math.round(o.height+o.top))]}},kh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$i="Hidden Text";class Gh{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const s=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;s.style.visibility="hidden",s.style.fontFamily=A,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.style.whiteSpace="nowrap",o.appendChild(s),r.src=kh,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode($i)),s.appendChild(n),s.appendChild(r);const a=r.offsetTop-n.offsetTop+2;s.removeChild(n),s.appendChild(this._document.createTextNode($i)),s.style.lineHeight="normal",r.style.verticalAlign="super";const c=r.offsetTop-s.offsetTop+2;return o.removeChild(s),{baseline:a,middle:c}}getMetrics(A,e){const s=`${A} ${e}`;return typeof this._data[s]>"u"&&(this._data[s]=this.parseMetrics(A,e)),this._data[s]}}class qi{constructor(A,e){this.context=A,this.options=e}}class Mh{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 s of A.styles.backgroundImage.slice(0).reverse())s.type===0?await this.renderBackgroundURLImage(A,s,e):mg(s)?this.renderLinearGradient(A,s,e):Cg(s)&&this.renderRadialGradient(A,s,e),e--}async renderBackgroundURLImage(A,e,s){let r;const n=e.url;try{r=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(r){const o=isNaN(r.width)||r.width===0?1:r.width,a=isNaN(r.height)||r.height===0?1:r.height,[c,g,l,B,f]=qn(A,s,[o,a,o/a]),h=this.ctx.createPattern(this.resizeImage(r,B,f,A.styles.imageRendering),"repeat");this.renderRepeat(c,h,g,l)}}renderLinearGradient(A,e,s){const[r,n,o,a,c]=qn(A,s,[null,null,null]),[g,l,B,f,h]=ug(e.angle,a,c),C=(this.canvas.ownerDocument??document).createElement("canvas");C.width=a,C.height=c;const F=C.getContext("2d"),y=F.createLinearGradient(l,f,B,h);if(Va(e.stops,g||1).forEach(m=>y.addColorStop(m.stop,rA(m.color))),F.fillStyle=y,F.fillRect(0,0,a,c),a>0&&c>0){const m=this.ctx.createPattern(C,"repeat");this.renderRepeat(r,m,n,o)}}renderRadialGradient(A,e,s){const[r,n,o,a,c]=qn(A,s,[null,null,null]),g=e.position.length===0?[Ye]:e.position,l=G(g[0],a),B=G(g[g.length-1],c);let[f,h]=fg(e,l,B,a,c);if((f===0||h===0)&&(f=Math.max(f,.01),h=Math.max(h,.01)),f>0&&h>0){const w=this.ctx.createRadialGradient(n+l,o+B,0,n+l,o+B,f);if(Va(e.stops,f*2).forEach(C=>w.addColorStop(C.stop,rA(C.color))),this.path(r),this.ctx.fillStyle=w,f!==h){const C=A.bounds.left+.5*A.bounds.width,F=A.bounds.top+.5*A.bounds.height,y=h/f,m=1/y;this.ctx.save(),this.ctx.translate(C,F),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-C,-F),this.ctx.fillRect(n,m*(o-F)+F,a,c*m),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,s,r){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(s,r),this.ctx.fill(),this.ctx.translate(-s,-r)}resizeImage(A,e,s,r){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,s);const a=o.getContext("2d");return r===ee.PIXELATED||r===ee.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),a.imageSmoothingEnabled=!1):r===ee.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),a.imageSmoothingEnabled=!0):a.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(a.imageSmoothingQuality=this.ctx.imageSmoothingQuality),a.drawImage(A,0,0,A.width,A.height,0,0,e,s),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,s)=>{const r=zA(e)?e.start:e;s===0?this.ctx.moveTo(r.x,r.y):this.ctx.lineTo(r.x,r.y),zA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const Ac=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return ae(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return ae(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return ae(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Vh=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return ae(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return ae(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return ae(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Nh=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return ae(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return ae(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return ae(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},_h=(t,A)=>{switch(A){case 0:return mr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return mr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return mr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return mr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},mr=(t,A)=>{const e=[];return zA(t)?e.push(t.subdivide(.5,!1)):e.push(t),zA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},ae=(t,A,e,s)=>{const r=[];return zA(t)?r.push(t.subdivide(.5,!1)):r.push(t),zA(e)?r.push(e.subdivide(.5,!0)):r.push(e),zA(s)?r.push(s.subdivide(.5,!0).reverse()):r.push(s),zA(A)?r.push(A.subdivide(.5,!1).reverse()):r.push(A),r};class Ph{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,s){this.pathCallbacks.path(Ac(s,e)),this.ctx.fillStyle=rA(A),this.ctx.fill()}async renderDoubleBorder(A,e,s,r){if(e<3){await this.renderSolidBorder(A,s,r);return}const n=Vh(r,s);this.pathCallbacks.path(n),this.ctx.fillStyle=rA(A),this.ctx.fill();const o=Nh(r,s);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,s,r,n){this.ctx.save();const o=_h(r,s),a=Ac(r,s);n===2&&(this.pathCallbacks.path(a),this.ctx.clip());let c,g,l,B;zA(a[0])?(c=a[0].start.x,g=a[0].start.y):(c=a[0].x,g=a[0].y),zA(a[1])?(l=a[1].end.x,B=a[1].end.y):(l=a[1].x,B=a[1].y);let f;s===0||s===2?f=Math.abs(c-l):f=Math.abs(g-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(a.slice(0,2));let h=e<3?e*3:e*2,w=e<3?e*2:e;n===3&&(h=e,w=e);let C=!0;if(f<=h*2)C=!1;else if(f<=h*2+w){const F=f/(2*h+w);h*=F,w*=F}else{const F=Math.floor((f+w)/(h+w)),y=(f-F*h)/(F-1),m=(f-(F+1)*h)/F;w=m<=0||Math.abs(w-y)<Math.abs(w-m)?y:m}if(C&&(n===3?this.ctx.setLineDash([0,h+w]):this.ctx.setLineDash([h,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=rA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(zA(a[0])){const F=a[3],y=a[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}if(zA(a[1])){const F=a[1],y=a[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class jh{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(),Hh(A)?this.ctx.globalAlpha=A.opacity:vh(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)):ji(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Ih(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 Wh=["-apple-system","system-ui"],Xh=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,zh=t=>Xh.test(t),Jh=()=>{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 s=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const r of s){const n=t.match(r);if(n&&n[1])return parseInt(n[1],10)}return null},Yh=t=>{const A=Jh();return A!==null&&A>=15&&A<17?t.map(e=>Wh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class Zh{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,s,r){const n=cr(A.text),o=A.bounds.top+s;let a=A.bounds.left;for(const c of n){if(zh(c)){const g=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",r(c,a,o),this.ctx.textBaseline=g}else r(c,a,o);a+=this.ctx.measureText(c).width+e}}renderTextWithLetterSpacing(A,e,s){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+s):this.iterateLettersWithLetterSpacing(A,e,s,(r,n,o)=>{this.ctx.fillText(r,n,o)})}renderTextBoundWithPaintOrder(A,e,s){s.forEach(r=>{switch(r){case 0:this.ctx.fillStyle=rA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=rA(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,a)=>this.ctx.strokeText(n,o,a)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=rA(e.textDecorationColor||e.color);let s=1;typeof e.textDecorationThickness=="number"?s=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(s=Math.max(1,Math.floor(e.fontSize.number*.05)));let r=0;typeof e.textUnderlineOffset=="number"&&(r=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let a=0;switch(o){case 1:a=A.top+A.height-s+r;break;case 2:a=A.top;break;case 3:a=A.top+(A.height/2-s/2);break;default:return}this.drawDecorationLine(A.left,a,A.width,s,n)})}drawDecorationLine(A,e,s,r,n){switch(n){case 0:this.ctx.fillRect(A,e,s,r);break;case 1:const o=Math.max(1,r);this.ctx.fillRect(A,e,s,r),this.ctx.fillRect(A,e+r+o,s,r);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([r,r*2]),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+r/2),this.ctx.lineTo(A+s,e+r/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([r*3,r*2]),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+r/2),this.ctx.lineTo(A+s,e+r/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle;const a=r*2,c=r*4;let g=A;for(this.ctx.moveTo(g,e+r/2);g<A+s;){const l=Math.min(g+c/2,A+s);if(this.ctx.quadraticCurveTo(g+c/4,e+r/2-a,l,e+r/2),g=l,g<A+s){const B=Math.min(g+c/2,A+s);this.ctx.quadraticCurveTo(g+c/4,e+r/2+a,B,e+r/2),g=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,s,r)}}truncateTextWithEllipsis(A,e,s){const n=this.ctx.measureText("…").width,o=cr(A);if(s===0){const a=l=>this.ctx.measureText(o.slice(0,l).join("")).width+n<=e;let c=0,g=o.length;for(;c<g;){const l=c+g+1>>1;a(l)?c=l:g=l-1}return o.slice(0,c).join("")+"…"}else{let a=n;const c=[];for(const g of o){const l=this.ctx.measureText(g).width;if(a+l>e)break;c.push(g),a+=l+s}return c.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),s=Yh(A.fontFamily).join(", "),r=he(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,r,s].join(" "),s,r]}async renderTextNode(A,e,s){const[r]=this.createFontStyle(e);this.ctx.font=r,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=[],h=A.textBounds[0].bounds.top;A.textBounds.forEach(C=>{Math.abs(C.bounds.top-h)>=o*.5?(f.length>0&&B.push(f),f=[C],h=C.bounds.top):f.push(C)}),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 C=B[w-1];if(C&&C.length>0&&s){const F=C.map(I=>I.text).join(""),y=C[0],m=s.width-(y.bounds.left-s.left),T=this.truncateTextWithEllipsis(F,m,e.letterSpacing),H=new qe(T,y.bounds);n.forEach(I=>{switch(I){case 0:this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(K,_,W)=>this.ctx.fillText(K,_,W));break;case 1:e.webkitTextStrokeWidth&&T.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(K,_,W)=>this.ctx.strokeText(K,_,W)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const c=e.textOverflow===1&&s&&e.overflowX===1&&A.textBounds.length>0;let g=!1,l="";if(c){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(h=>Math.abs(h.bounds.top-B)<o*.5)){let h=A.textBounds.map(F=>F.text).join("");h=h.replace(/\s+/g," ").trim();const w=this.ctx.measureText(h).width,C=s.width;w>C&&(g=!0,l=this.truncateTextWithEllipsis(h,C,e.letterSpacing))}}if(g){const B=A.textBounds[0],f=new qe(l,B.bounds);n.forEach(h=>{switch(h){case 0:{this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(C,F,y)=>this.ctx.fillText(C,F,y));const w=e.textShadow;w.length&&l.trim().length&&(w.slice(0).reverse().forEach(C=>{this.ctx.shadowColor=rA(C.color),this.ctx.shadowOffsetX=C.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=C.offsetY.number*this.options.scale,this.ctx.shadowBlur=C.blur.number,e.letterSpacing===0?this.ctx.fillText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(F,y,m)=>this.ctx.fillText(F,y,m))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&l.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(w,C,F)=>this.ctx.strokeText(w,C,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=rA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const h=e.textShadow;h.length&&B.text.trim().length&&(h.slice(0).reverse().forEach(w=>{this.ctx.shadowColor=rA(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=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const h=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+h):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,h,(w,C,F)=>this.ctx.strokeText(w,C,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const $h=1e4;class Ao extends qi{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 Gh(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 Mh({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Ph({ctx:this.ctx},{path:s=>this.path(s),formatPath:s=>this.formatPath(s)}),this.effectsRenderer=new jh({ctx:this.ctx},{path:s=>this.path(s)}),this.textRenderer=new Zh({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(cA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,s){const r=s.naturalWidth||A.intrinsicWidth,n=s.naturalHeight||A.intrinsicHeight;if(s&&r>0&&n>0){const o=os(A),a=hr(e);this.path(a),this.ctx.save(),this.ctx.clip();let c=0,g=0,l=r,B=n,f=o.left,h=o.top,w=o.width,C=o.height;const{objectFit:F}=A.styles,y=w/C,m=l/B;if(F===2)m>y?(C=w/m,h+=(o.height-C)/2):(w=C*m,f+=(o.width-w)/2);else if(F===4)m>y?(l=B*y,c+=(r-l)/2):(B=l/y,g+=(n-B)/2);else if(F===8)l>w?(c+=(l-w)/2,l=w):(f+=(w-l)/2,w=l),B>C?(g+=(B-C)/2,B=C):(h+=(C-B)/2,C=B);else if(F===16){const T=m>y?w:C*m,H=l>w?l:w;T<H?m>y?(C=w/m,h+=(o.height-C)/2):(w=C*m,f+=(o.width-w)/2):(l>w?(c+=(l-w)/2,l=w):(f+=(w-l)/2,w=l),B>C?(g+=(B-C)/2,B=C):(h+=(C-B)/2,C=B))}this.ctx.drawImage(s,c,g,l,B,f,h,w,C),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,s=A.curves,r=e.styles,n=os(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,r,n);if(e instanceof Qi)try{const o=await this.context.cache.match(e.src),a=this.ctx.imageSmoothingEnabled;r.imageRendering===ee.PIXELATED||r.imageRendering===ee.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${r.imageRendering===ee.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):r.imageRendering===ee.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,s,o),this.ctx.imageSmoothingEnabled=a}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof xi&&this.renderReplacedElement(e,s,e.canvas),e instanceof Ui)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,s,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof vi&&e.tree){const a=await new Ao(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(a,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof As){const o=Math.min(e.bounds.width,e.bounds.height);e.type===lr?e.checked&&(this.ctx.save(),this.path([new S(e.bounds.left+o*.39363,e.bounds.top+o*.79),new S(e.bounds.left+o*.16,e.bounds.top+o*.5549),new S(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new S(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new S(e.bounds.left+o*.72983,e.bounds.top+o*.23),new S(e.bounds.left+o*.84,e.bounds.top+o*.34085),new S(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=rA(yi),this.ctx.fill(),this.ctx.restore()):e.type===dr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=rA(yi),this.ctx.fill(),this.ctx.restore())}if(qh(e)&&e.value.length){const[o,a,c]=this.textRenderer.createFontStyle(r),{baseline:g}=this.fontMetrics.getMetrics(a,c);this.ctx.font=o;const l=e instanceof As&&e.isPlaceholder;this.ctx.fillStyle=rA(l?th:r.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ep(e.styles.textAlign);const B=os(e);let f=0;switch(e.styles.textAlign){case 1:f+=B.width/2;break;case 2:f+=B.width;break}let h=0;if(e instanceof As){const C=G(r.fontSize,0);h=(B.height-C)/2}const w=B.add(f,h,0,0);this.ctx.save(),this.path([new S(B.left,B.top),new S(B.left+B.width,B.top),new S(B.left+B.width,B.top+B.height),new S(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new qe(e.value,w),r.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(cA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let a;const c=o.url;try{a=await this.context.cache.match(c),this.ctx.drawImage(a,e.bounds.left-(a.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${c}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(r);this.ctx.font=o,this.ctx.fillStyle=rA(r.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const a=new kA(e.bounds.left,e.bounds.top+G(e.styles.paddingTop,e.bounds.width),e.bounds.width,qa(r.lineHeight,r.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new qe(A.listValue,a),r.letterSpacing,qa(r.lineHeight,r.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(cA(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,s)=>{const r=zA(e)?e.start:e;s===0?this.ctx.moveTo(r.x,r.y):this.ctx.lineTo(r.x,r.y),zA(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,s=!ke(e.backgroundColor)||e.backgroundImage.length,r=[{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=Ap(mt(e.backgroundClip,0),A.curves);(s||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),ke(e.backgroundColor)||(this.ctx.fillStyle=rA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(a=>{this.ctx.save();const c=fr(A.curves),g=a.inset?0:$h,l=Sh(c,-g+(a.inset?1:-1)*a.spread.number,(a.inset?1:-1)*a.spread.number,a.spread.number*(a.inset?-2:2),a.spread.number*(a.inset?-2:2));a.inset?(this.path(c),this.ctx.clip(),this.mask(l)):(this.mask(c),this.ctx.clip(),this.path(l)),this.ctx.shadowOffsetX=a.offsetX.number+g,this.ctx.shadowOffsetY=a.offsetY.number,this.ctx.shadowColor=rA(a.color),this.ctx.shadowBlur=a.blur.number,this.ctx.fillStyle=a.inset?rA(a.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const a of r)a.style!==0&&!ke(a.color)&&a.width>0&&(a.style===2?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,2):a.style===3?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,3):a.style===4?await this.borderRenderer.renderDoubleBorder(a.color,a.width,o,A.curves):await this.borderRenderer.renderSolidBorder(a.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Th(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const qh=t=>t instanceof bi||t instanceof Ei?!0:t instanceof As&&t.type!==dr&&t.type!==lr,Ap=(t,A)=>{switch(t){case 0:return fr(A);case 2:return Eh(A);default:return hr(A)}},ep=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class tp extends qi{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),s=await sp(e);return this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(s,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const sp=t=>new Promise((A,e)=>{const s=new Image;s.onload=()=>{A(s)},s.onerror=e,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ec{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))}}ec.instances={};class rp{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 s=this._cache.get(A);return s&&(s.lastAccessed=Date.now()),Promise.resolve()}if(to(A)||ip(A)){const s=this._addImageInternal(A);return this._pendingOperations.set(A,s),s.finally(()=>{this._pendingOperations.delete(A)}),s}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,s=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),r=Promise.race([this.loadImage(A),s]);r.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,r)}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 s=this._cache.get(A);s.value=e,s.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[s,r]of this._cache.entries())r.lastAccessed<e&&(e=r.lastAccessed,A=s);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,s=c=>e.isSameOrigin(c),r=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,s):s(A),n=!eo(A)&&this._options.useCORS===!0&&KA.SUPPORT_CORS_IMAGES&&!r,o=!eo(A)&&!r&&!to(A)&&typeof this._options.proxy=="string"&&KA.SUPPORT_CORS_XHR&&!n;if(!r&&this._options.allowTaint===!1&&!eo(A)&&!to(A)&&!o&&!n)return;let a=A;return o&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((c,g)=>{const l=new Image;l.onload=()=>c(l),l.onerror=g,(cp(a)||n)&&(l.crossOrigin="anonymous"),l.src=a,l.complete===!0&&setTimeout(()=>c(l),500),this._options.imageTimeout>0&&setTimeout(()=>g(`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 s=A.substring(0,256);return new Promise((r,n)=>{const o=KA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=()=>{if(a.status===200)if(o==="text")r(a.response);else{const g=new FileReader;g.addEventListener("load",()=>r(g.result),!1),g.addEventListener("error",l=>n(l),!1),g.readAsDataURL(a.response)}else n(`Failed to proxy resource ${s} with status code ${a.status}`)},a.onerror=n;const c=e.indexOf("?")>-1?"&":"?";if(a.open("GET",`${e}${c}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),this._options.imageTimeout){const g=this._options.imageTimeout;a.timeout=g,a.ontimeout=()=>n(`Timed out (${g}ms) proxying ${s}`)}a.send()})}}const np=/^data:image\/svg\+xml/i,op=/^data:image\/.*;base64,/i,ap=/^data:image\/.*/i,ip=t=>KA.SUPPORT_SVG_DRAWING||!lp(t),eo=t=>ap.test(t),cp=t=>op.test(t),to=t=>t.substr(0,4)==="blob",lp=t=>t.substr(-3).toLowerCase()==="svg"||np.test(t);class dp{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 Cr{constructor(A,e,s){this.windowBounds=e,this.instanceName=`#${Cr.instanceCount++}`,this.config=s,this.logger=new ec({id:this.instanceName,enabled:A.logging}),this.originChecker=new dp(s.window),this.cache=A.cache??s.cache??new rp(this,A)}}Cr.instanceCount=1;class as{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 s=A.ownerDocument;if(!s)throw new Error("Element is not attached to a document");const r=s.defaultView;if(!r)throw new Error("Document is not attached to a window");return new as({window:r,...e})}clone(A={}){return new as({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Bp(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class gp{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 s=new URL(A);if(!["http:","https:"].includes(s.protocol))return{valid:!1,error:`Protocol ${s.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const r=s.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const a=o.toLowerCase();return r===a||r.endsWith("."+a)}))return{valid:!1,error:`Proxy domain ${s.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const r=s.hostname.toLowerCase();if(r==="localhost"||r==="127.0.0.1"||r==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(r))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(r.startsWith("169.254.")||r.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(s){return{valid:!1,error:`Invalid URL format: ${s instanceof Error?s.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(s=>s.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const r=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(r)||r==="::1"||/^(0:){7}0$/.test(r)||r==="::")return!0;const n=this.expandIPv6(r);if(!n)return this.isPrivateIPv6Prefix(r);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const a=parseInt(n.substring(2,4),16);if(a>=128&&a<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const s=e[0]?e[0].split(":"):[],r=e[1]?e[1].split(":"):[],n=8-s.length-r.length;if(n<0)return null;const o=Array(n).fill("0000");return[...s,...o,...r].map(c=>c.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(s=>s.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 s=32767;return A>s||e>s?{valid:!1,error:`Dimensions exceed maximum allowed (${s}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=[],s=A.proxy;if(s!=null&&typeof s=="string"&&s.length>0){const r=this.validateUrl(s,"proxy");r.valid||e.push(`Proxy: ${r.error}`)}if(A.imageTimeout!==void 0){const r=this.validateImageTimeout(A.imageTimeout);r.valid||e.push(`Image timeout: ${r.error}`)}if(A.width!==void 0||A.height!==void 0){const r=A.width??800,n=A.height??600,o=this.validateDimensions(r,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const r=this.validateScale(A.scale);r.valid||e.push(`Scale: ${r.error}`)}if(A.cspNonce!==void 0){const r=this.validateCspNonce(A.cspNonce);r.valid||e.push(`CSP nonce: ${r.error}`)}if(this.config.customValidator){const r=this.config.customValidator(A,"options");r.valid||e.push(`Custom validation: ${r.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function up(t={}){return new gp({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class fp{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,s){this.start(A,s);try{const r=e();return this.end(A),r}catch(r){throw this.end(A),r}}async measureAsync(A,e,s){this.start(A,s);try{const r=await e();return this.end(A),r}catch(r){throw this.end(A),r}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((s,r)=>s+(r.duration||0),0),e=this.completedMetrics.map(s=>({name:s.name,duration:s.duration||0,percentage:A>0?((s.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,s)=>s.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 so=(t,A={},e)=>{const s=e||as.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return wp(t,A,s)},hp=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Bp(new as({window,cspNonce:t}))};so.setCspNonce=hp;const pp=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const s=t[e];if(s!=null&&typeof s!="number"){const r=Number(s);Number.isNaN(r)||(t[e]=r)}})},wp=async(t,A,e)=>{if(pp(A),!A.skipValidation){const yA=A.validator||up(),$=yA.validateElement(t);if(!$.valid)throw new Error($.error);const HA=yA.validateOptions(A);if(!HA.valid)throw new Error(`Invalid options: ${HA.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const s=t.ownerDocument;if(!s)throw new Error("Element is not attached to a Document");const r=s.defaultView;if(!r)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},a=800,c=600,g=0,l=r,B={windowWidth:A.windowWidth??l.innerWidth??a,windowHeight:A.windowHeight??l.innerHeight??c,scrollX:A.scrollX??l.pageXOffset??g,scrollY:A.scrollY??l.pageYOffset??g},f=new kA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),h=new Cr(o,f,e),w=A.enablePerformanceMonitoring??A.logging??!1,C=new fp(h,w);C.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};h.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),C.start("clone");const m=new Ni(h,t,y),T=m.clonedReferenceElement;if(!T)throw new Error("Unable to find element in cloned iframe");const H=await m.toIFrame(s,f);C.end("clone");const{width:I,height:K,left:_,top:W}=Pn(T)||ah(T)?bl(T.ownerDocument):ys(h,T),R=mp(h,T,A.backgroundColor),lA={canvas:A.canvas,backgroundColor:R,scale:A.scale??r.devicePixelRatio??1,x:(A.x??0)+_,y:(A.y??0)+W,width:A.width??Math.ceil(I),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let vA,N;try{return F?(h.logger.debug("Document cloned, using foreign object rendering"),C.start("render-foreignobject"),vA=await new tp(h,lA).render(T),C.end("render-foreignobject")):(h.logger.debug(`Document cloned, element located at ${_},${W} with size ${I}x${K} using computed rendering`),h.logger.debug("Starting DOM parsing"),C.start("parse"),N=Ii(h,T),C.end("parse"),R===N.styles.backgroundColor&&(N.styles.backgroundColor=we.TRANSPARENT),h.logger.debug(`Starting renderer for element at ${lA.x},${lA.y} with size ${lA.width}x${lA.height}`),C.start("render"),vA=await new Ao(h,lA).render(N),C.end("render")),C.start("cleanup"),(A.removeContainer??!0)&&(Ni.destroy(H)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),C.end("cleanup"),C.end("total"),h.logger.debug("Finished rendering"),w&&C.logSummary(),vA}finally{N&&N.restoreTree()}},mp=(t,A,e)=>{const s=A.ownerDocument,r=s.documentElement?Bt(t,getComputedStyle(s.documentElement).backgroundColor):we.TRANSPARENT,n=s.body?Bt(t,getComputedStyle(s.body).backgroundColor):we.TRANSPARENT,o=typeof e=="string"?Bt(t,e):e===null?we.TRANSPARENT:4294967295;return A===s.documentElement?ke(r)?ke(n)?o:n:r:o},is=2147e6,tc=is,Ct=is,Cp=is-100,Qp=is-50,xp=is-150,Be="data-vg-pin-id",Up=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},sc=(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""}},rc=({url:t,className:A,style:e,tooltipStyle:s,onHover:r})=>{const n=Q.useRef(null),o=()=>{if(!n.current||!r)return;const g=n.current.getBoundingClientRect(),l=g.top,B=window.innerHeight-g.bottom,f=l<140&&B>l?"bottom":"top";r({url:t,x:g.left+g.width/2,y:f==="top"?g.top:g.bottom,direction:f})},a=g=>g.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),c=()=>{try{const g=a(window.location.pathname),l=new URL(t),B=a(l.pathname);return g===B||g.startsWith(B)||B.startsWith(g)}catch{return!1}};return i.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:c()?1:.6,borderColor:c()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>r?.(null),children:[i.jsx(Te,{"data-vg-id":"353251b6","data-source-path":"/src/components/ViewGateOverlay.tsx:149",size:e?.fontSize?parseInt(e.fontSize)+1:10}),i.jsx("span",{"data-vg-id":"1b724dd0","data-source-path":"/src/components/ViewGateOverlay.tsx:150",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},cs=t=>{const A=[],e=[],s=[];let r=t,n=!1;for(;r&&r.nodeType===Node.ELEMENT_NODE;){const o=r.localName.toLowerCase();let a=1,c=r.previousElementSibling;for(;c;)c.localName.toLowerCase()===o&&a++,c=c.previousElementSibling;const g=o==="body"||o==="head"||o==="html"?o:`${o}:nth-of-type(${a})`;if(s.unshift(g),!n){const l=r.getAttribute("data-testid")||r.getAttribute("data-qa");if(l){const B=r.hasAttribute("data-testid")?"data-testid":"data-qa";e.push(`[${B}="${l}"]`)}r.id&&!r.id.startsWith("vg-")&&!r.id.includes(":")?(A.unshift(`#${r.id}`),n=!0):l?(A.unshift(`[${r.hasAttribute("data-testid")?"data-testid":"data-qa"}="${l}"]`),n=!0):A.unshift(g)}if(r=r.parentElement,o==="html")break}return{selector:A.join(" > "),fallbacks:e,vgPath:s.join(" > ")}},nc=t=>{const{vgPath:A}=cs(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||t.getAttribute("title")||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,testId:t.getAttribute("data-testid")||t.getAttribute("data-qa")||void 0,textSnippet:(t.innerText||"").slice(0,50).trim()}},Fp=(()=>{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 s=document.createElement("div");s.style.color=e,document.body.appendChild(s);const r=getComputedStyle(s).color;return document.body.removeChild(s),r&&!r.includes("oklch")?r:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),yp=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(r=>{const n=A.getPropertyValue(r);e[r]=Fp(n)}),e},Ep=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const s=[];let r=t[e];for(;r;){const n=r.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!s.includes(o)&&s.unshift(o)}r=r.return}return s.join(" > ")||"Generic Component"},Qr=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(),s=t.getAttribute("role");if(s&&["listbox","menu","combobox","tooltip","option"].includes(s)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",a=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,c=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,g=t.getAttribute("class")||"",l=g.toLowerCase().includes("modal")||g.toLowerCase().includes("dialog");return!!(o&&n>=100&&(a||c||l))},xr=t=>{let A=t;for(;A&&A!==document.body;){if(Qr(A))return A;A=A.parentElement}return null},ve=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 r=window.getComputedStyle(e);if(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")return!1;e=e.parentElement}const s=t.getBoundingClientRect();return!(s.width===0||s.height===0)},oc=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const s=A.querySelectorAll("*");for(const r of Array.from(s)){const n=r.shadowRoot;if(n){const o=oc(t,n);if(o)return o}}return null},ac=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const s=e.shadowRoot.elementFromPoint(t,A);if(!s||s===e)break;e=s}return e},bp=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,s=0;for(const r of A){if(!ls(r,t))continue;let n=0;const o=r.getAttribute("placeholder"),a=t.attributes?.placeholder||t.fingerprint?.placeholder;a&&o===a&&(n+=6);const c=r.getAttribute("type"),g=t.attributes?.type||t.fingerprint?.type;if(g&&c===g&&(n+=2),r.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:l}=cs(r);(l===t.vgPath||t.fingerprint?.vgPath===l)&&(n+=10)}n>s&&n>=7&&(s=n,e=r)}return e},ls=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),s=A.attributes?.placeholder||A.fingerprint?.placeholder;if(s&&e&&s!==e)return!1;const r=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&r&&n!==r)},ic=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${Be}="${A}"]`));if(o.length>0){const a=o.filter(c=>ls(c,t));if(a.length===0)o.forEach(c=>c.removeAttribute(Be));else{const c=a.find(l=>{const{vgPath:B}=cs(l);return B===t.vgPath||t.fingerprint?.vgPath===B}),g=c&&ve(c)?c:a.find(l=>!(!ve(l)||t.metadata?.isModal&&!l.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return g?(o.forEach(l=>{l!==g&&l.removeAttribute(Be)}),g):null}}}if(t.vgPath)try{const o=document.querySelector(t.vgPath);if(o&&ls(o,t)&&ve(o)&&(!t.metadata?.isModal||xr(o)))return o}catch{}const s=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>ls(o,t));let r=s.find(o=>{const{vgPath:a}=cs(o);return a===t.vgPath||t.fingerprint?.vgPath===a})||s[0]||null;if(r&&ve(r))if(t.metadata?.isModal&&!xr(r))r=null;else return r;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const a=oc(o);if(a&&ls(a,t)&&ve(a)){if(t.metadata?.isModal&&!xr(a))continue;return a}}const n=bp(t);return n&&ve(n)?t.metadata?.isModal&&!xr(n)?null:n:null},ro=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}),cc=t=>{if(!t)return"";let A=t.replace(/<path[^>]*d="([^"]{50,})"[^>]*\/?>/gi,(e,s)=>e.replace(s,`${s.substring(0,20)}...[STRIPPED_${s.length}]`));return A=A.replace(/<polygon[^>]*points="([^"]{50,})"[^>]*\/?>/gi,(e,s)=>e.replace(s,`${s.substring(0,20)}...[STRIPPED_${s.length}]`)),A},vp=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>ro(o)),s=Array.from(A.children),r=s.indexOf(t);let n="middle";return r===0&&(n="start"),r===s.length-1&&(n="end"),{target:{...ro(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:ro(A),siblings:e}},lc=(t,A)=>{const e=t.getAttribute("data-vg-id")||void 0;let s;const n=Object.keys(t).find(y=>y.startsWith("__reactFiber$")||y.startsWith("__reactInternalInstance$"));if(n){let y=t[n];for(;y;){if(y._debugSource){const{fileName:m,lineNumber:T,columnNumber:H}=y._debugSource;s=`${m}:${T}${H?":"+H:""}`;break}y=y.return}}const o=nc(t),a={vgId:e?1:0,fiber:s?.8:0,fingerprint:.5+(o.testId?.3:0)+(o.ariaLabel?.1:0)};let c=t.getAttribute("data-source-path")||s||"unknown:0";const g=Ep(t),{selector:l,fallbacks:B,vgPath:f}=cs(t),h={};["placeholder","aria-label","name","type","alt","title","value","role","data-testid"].forEach(y=>{const m=t.getAttribute(y);m&&(h[y]=m)});const w=(()=>{let y=t;for(;y&&y!==document.body;){if(Qr(y))return!0;y=y.parentElement}return!1})();let C;w&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(C=lc(A));const F=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${l.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:l,vgPath:f,vgId:e,outerHtml:cc(t.outerHTML),parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(y=>`${y.name}="${y.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:g,signature:F,source:c,attributes:h,confidence:a,fallbackSelectors:[...new Set(B)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:vp(t),fingerprint:nc(t),metadata:{hint:`Edit ${c.split(":")[0]} at line ${c.split(":")[1]||"?"}`,computedStyles:yp(t),viewportBreakpoint:Up(),outerHtml:cc(t.outerHTML).slice(0,2e3),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:w,triggerReference:C}}},dc=()=>{const{mutate:t}=Do(),{addToast:A,language:e,t:s,apiKey:r,baseUrl:n,dashboardUrl:o,disableViewGate:a,hasActiveToasts:c}=Po(),[g,l]=Q.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),B=Q.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[g]);Q.useEffect(()=>{const d=()=>l(window.location.pathname+window.location.search);window.addEventListener("popstate",d);const u=window.history.pushState,p=window.history.replaceState;return window.history.pushState=function(...x){u.apply(this,x),setTimeout(d,0)},window.history.replaceState=function(...x){p.apply(this,x),setTimeout(d,0)},()=>{window.removeEventListener("popstate",d),window.history.pushState=u,window.history.replaceState=p}},[]);const[f,h]=Q.useState(!1),[w,C]=Q.useState("medium"),[F,y]=Q.useState("medium"),[m,T]=Q.useState("all"),[H,I]=Q.useState(null),[K,_]=Q.useState(null),[W,R]=Q.useState(""),[lA,vA]=Q.useState(!1),[N,yA]=Q.useState([]),[$,HA]=Q.useState([{name:s.figmaPrimaryDesign,link:""}]),[X,JA]=Q.useState([]),[ie,_e]=Q.useState([]),[te,U]=Q.useState(!1),[k,z]=Q.useState(""),[q,YA]=Q.useState(!1),[He,AA]=Q.useState("down");Q.useRef(null);const[DA,ge]=Q.useState(!1),[MA,Ce]=Q.useState(!1),[PA,Qt]=Q.useState([]),[IA,et]=Q.useState(null),[xt,eA]=Q.useState(""),[fA,hA]=Q.useState(!1),[dA,se]=Q.useState({}),[aA,BA]=Q.useState(null),[VA,Pe]=Q.useState(!1),[ZA,ds]=Q.useState(null),[oo,re]=Q.useState([]),[tA,Ut]=Q.useState(()=>typeof window>"u"?null:sessionStorage.getItem("vg_token")),[SA,Ft]=Q.useState(()=>{if(typeof window>"u")return null;const d=sessionStorage.getItem("vg_user");return d?JSON.parse(d):null}),[Bs,Bc]=Q.useState(()=>typeof window>"u"?null:sessionStorage.getItem("vg_role")),[fw,hw]=Q.useState(!1),[gs,Lp]=Q.useState(!1),[Ur,Tp]=Q.useState(!1),[gc,Op]=Q.useState(!1),[Fr,ao]=Q.useState(!0),uc=()=>{const p=window.screenX+(window.outerWidth-500)/2,x=window.screenY+(window.outerHeight-600)/2,E=`${o}/login?redirectTo=auth-success&origin=${encodeURIComponent(window.location.origin)}`;window.open(E,"viewgate-login",`width=500,height=600,left=${p},top=${x}`)};Q.useEffect(()=>{const d=u=>{if(u.data?.type?.startsWith("VIEWGATE_")&&console.log("[VIEWGATE_WRAPPER] Received message:",u.data.type,u.data),u.data?.type==="VIEWGATE_AUTH_SUCCESS"||u.data?.type==="VIEWGATE_SILENT_AUTH"){const{token:p,user:x,role:E,error:D}=u.data;if(console.log("[VIEWGATE_WRAPPER] Auth process:",{type:u.data.type,hasToken:!!p,hasUser:!!x}),D==="NO_SESSION")return;if(p&&p!==sessionStorage.getItem("vg_token")||!p&&sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Session sync detected change, clearing caches");const O=n;t(L=>typeof L=="string"&&O&&L.startsWith(O),void 0,{revalidate:!0}),Qt([])}p?(Ut(p),sessionStorage.setItem("vg_token",p),x&&(Ft(x),Bc(E||x.role||"dev"),sessionStorage.setItem("vg_user",JSON.stringify(x)),(E||x.role)&&sessionStorage.setItem("vg_role",E||x.role)),u.data.type==="VIEWGATE_AUTH_SUCCESS"&&A(e==="es"?"Sesión iniciada correctamente":"Logged in successfully","success")):console.warn("[VIEWGATE_WRAPPER] Auth message received but token was missing")}if(u.data?.type==="VIEWGATE_LOGOUT"){if(console.log("[VIEWGATE_WRAPPER] Logout message received"),sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Protective logout: Ignoring logout since we have a valid manual session.");return}console.log("[VIEWGATE_WRAPPER] Logout confirmed"),Ut(null),Ft(null),Bc(null),ao(!1),sessionStorage.removeItem("vg_token"),sessionStorage.removeItem("vg_user"),sessionStorage.removeItem("vg_role");const x=n;t(E=>typeof E=="string"&&x&&E.startsWith(x),void 0,{revalidate:!1}),Qt([]),ds(null),h(!1),_(null),R(""),Ce(!1)}};return window.addEventListener("message",d),()=>window.removeEventListener("message",d)},[e,A]);const fc=Q.useCallback(()=>{if(!r||!n||Ur)return;const d={"x-api-key":r};tA&&(d.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/settings-check`,{headers:d}).then(u=>u.json()).then(u=>{typeof u.isFigmaConnected=="boolean"&&U(u.isFigmaConnected),typeof u.hasEndpoints=="boolean"&&Op(u.hasEndpoints),Tp(!0)}).catch(u=>console.error("Failed to fetch project settings-check",u))},[r,n,Ur]),yr=Q.useCallback(()=>{if(!r||!n||gs)return;const d={"x-api-key":r};tA&&(d.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/endpoints`,{headers:d}).then(u=>u.json()).then(u=>{u.endpoints&&Array.isArray(u.endpoints)?_e(u.endpoints):Array.isArray(u)&&_e(u),typeof u.isFigmaConnected=="boolean"&&U(u.isFigmaConnected),Lp(!0)}).catch(u=>console.error("Failed to fetch project endpoints",u))},[r,n,gs]);Q.useEffect(()=>{f&&(Ur||fc())},[f,Ur,fc]),Q.useEffect(()=>{q&&!gs&&yr()},[q,gs,yr]),Q.useEffect(()=>{if(N.length===0)return;const d=["frontend"];gc&&d.push("backend"),te&&d.push("ux");const u=N.filter(p=>d.includes(p));u.length!==N.length&&yA(u)},[ie.length,te,N]);const hc=Q.useCallback(async d=>{const u={"x-api-key":r};tA&&(u.Authorization=`Bearer ${tA}`);const p=await fetch(d,{headers:u});if(!p.ok){p.status===403&&ao(!1);const x=await p.json().catch(()=>({})),E=new Error(x.message||x.error||"Fetch failed");throw E.status=p.status,E}return ao(!0),p.json()},[r,tA]),Kp=Q.useMemo(()=>B?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[B]),{data:Er,isLoading:br,error:pc}=ko(r?`${n}/api/projects/active-sprint`:null,hc,{revalidateOnFocus:!0,revalidateOnMount:!0,dedupingInterval:6e4}),{data:us,isLoading:tt,mutate:vr}=ko(r&&(Er||B)?`${n}/api/annotations?status=${Kp}`:null,hc,{refreshInterval:3e4,revalidateOnFocus:!0,dedupingInterval:5e3}),[st,wc]=Q.useState(null),mc=Q.useRef(PA);mc.current=PA;const[NA,Hr]=Q.useState(null),Cc=Q.useRef(null),[yt,Dp]=Q.useState([]),Qc=Q.useMemo(()=>{const d=(k||"").toLowerCase().trim();return d?ie.filter(u=>{const p=u.path&&u.path.toLowerCase().includes(d),x=u.description&&u.description.toLowerCase().includes(d),E=u.method&&u.method.toLowerCase().includes(d);return p||x||E}):ie},[ie,k]),xc=Q.useMemo(()=>{const d={},u=e==="es"?"Seleccionados":"Selected";return Qc.forEach(p=>{const x=`${p.method}|${p.path}`;X.includes(x)&&(d[u]||(d[u]={name:u,endpoints:[]}),d[u].endpoints.push(p));const D=(p.path||"").split("/").filter(gA=>gA&&!["api","v1.0","v2","rest"].includes(gA.toLowerCase()));let O=D.length>0?D[0]:"General";O=O.replace(/([a-z])([A-Z])/g,"$1 $2"),O=O.replace(/([A-Z])([A-Z][a-z])/g,"$1 $2"),O=O.charAt(0).toUpperCase()+O.slice(1),d[O]||(d[O]={name:O,endpoints:[]});const L=d[O];L&&L.endpoints.push(p)}),Object.values(d).sort((p,x)=>p.name===u?-1:x.name===u||p.name==="General"?1:x.name==="General"?-1:p.name.localeCompare(x.name))},[Qc,X,e]),Ir=Q.useMemo(()=>{let d=Array.isArray(PA)?PA:[];if(aA){const p=yt.find(x=>x.annotations&&Array.isArray(x.annotations)&&x.annotations.some(E=>E._id===aA));p?d=p.annotations:d=d.filter(x=>x._id===aA)}return d=d.filter(p=>p.status!=="completed"&&p.status!=="done"),window.location.href.includes("viewgate-backlog")||(NA==="pending"?d=d.filter(p=>p.status!=="ready_for_review"):NA==="ready"&&(d=d.filter(p=>p.status==="ready_for_review"))),m!=="all"&&(d=d.filter(p=>(p.priority||"medium")===m)),d},[aA,PA,yt,NA,m]);Q.useEffect(()=>{aA&&Ir.length===0&&!tt&&BA(null)},[aA,Ir.length,tt]);const[Et,Rp]=Q.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}}),[fs,Uc]=Q.useState(!1),Ie=Q.useRef(null),kp=d=>{d.preventDefault(),d.stopPropagation();const u=d.currentTarget.parentElement?.getBoundingClientRect();u&&(Uc(!0),Ie.current={x:d.clientX,y:d.clientY,bottom:Et.bottom,right:Et.right,width:u.width,height:u.height})};Q.useEffect(()=>{if(!fs)return;const d=p=>{if(fs&&Ie.current){const x=p.clientX-Ie.current.x,E=p.clientY-Ie.current.y;let D=Ie.current.bottom-E,O=Ie.current.right-x;const L=10;D=Math.max(L,Math.min(window.innerHeight-Ie.current.height-L,D)),O=Math.max(L,Math.min(window.innerWidth-Ie.current.width-L,O)),Rp({bottom:D,right:O})}},u=()=>{fs&&(Uc(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(Et)),Ie.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",u),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",u)}},[fs,Et]);const[bt,Sr]=Q.useState(null),[Fc,yc]=Q.useState(""),[Qe,io]=Q.useState([]),[rt,hs]=Q.useState([]),[vt,Lr]=Q.useState([]),[ps,Tr]=Q.useState(!1);Q.useEffect(()=>{bt&&Lr(X)},[X,bt]);const[pw,ww]=Q.useState({}),co=Q.useRef(null),Ht=Q.useRef(null),lo=Q.useRef(null),Or=Q.useRef(!1),Ec=Q.useCallback(()=>{typeof window>"u"||Or.current||(Ht.current&&cancelAnimationFrame(Ht.current),Ht.current=requestAnimationFrame(()=>{Ht.current=null,Or.current=!0,lo.current;const d=mc.current,u=Array.isArray(d)?d:[],p=new Set(u.map(M=>M._id));document.querySelectorAll(`[${Be}]`).forEach(M=>{const pA=M.getAttribute(Be);pA&&!p.has(pA)&&M.removeAttribute(Be)});const x=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], [class*="modal" i], [class*="dialog" i], .fixed, .modal-backdrop, .fixed.inset-0')),E=x.find(M=>Qr(M)&&ve(M));let D=!!E;console.log("[ViewGate Debug] Modal Detection:",{potentialModals:x.length,activeModal:E,isAnyModalOpen:D});const O=new Map;u.forEach(M=>{if(!M||!M.reference)return;try{const bA=()=>{const Y=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),_A=new URLSearchParams(window.location.search);_A.delete("viewgate"),_A.sort();const jA=_A.toString();return jA?`${Y}?${jA}`:Y},xA=Y=>{try{const _A=new URL(Y),jA=_A.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),wA=new URLSearchParams(_A.search);wA.delete("viewgate"),wA.sort();const TA=wA.toString();return TA?`${jA}?${TA}`:jA}catch{return""}},LA=bA(),Se=xA(M.url);if(LA!==Se)return}catch{return}const pA=!!M.reference.metadata?.isModal;let sA=ic(M.reference,M._id);if(console.log(`[ViewGate Debug] Processing Pin [${M._id}]:`,{isModalTarget:pA,targetEl:sA,isVisible:sA?ve(sA):!1}),!sA||!ve(sA))return;let nA=!1;if(pA?(nA=!0,D=!0,console.log(`[ViewGate Debug] Pin [${M._id}] Modal Open Check: isModalTarget=true`)):(nA=!D,console.log(`[ViewGate Debug] Pin [${M._id}] No Modal Check: !isAnyModalOpen=${nA}`)),!nA)return;const QA=sA.getAttribute(Be);QA!==M._id&&(document.querySelectorAll(`[${Be}="${M._id}"]`).forEach(bA=>{bA.removeAttribute(Be)}),QA||sA.setAttribute(Be,M._id));const EA=O;EA.has(sA)||EA.set(sA,{anns:[]}),EA.get(sA).anns.push(M)});const L=[];(M=>{M.forEach((pA,sA)=>{const{anns:nA}=pA,QA=sA.getBoundingClientRect(),EA=QA.left+QA.width/2,bA=QA.top+QA.height/2;if(EA>=0&&EA<=window.innerWidth&&bA>=0&&bA<=window.innerHeight){const xA=document.elementFromPoint(EA,bA),LA=document.getElementById("viewgate-shadow-host");if(xA&&!sA.contains(xA)&&xA!==LA&&!LA?.contains(xA))return}L.push({id:nA[0]._id,element:sA,rect:QA,annotations:nA.sort((xA,LA)=>new Date(LA.timestamp||LA.createdAt).getTime()-new Date(xA.timestamp||xA.createdAt).getTime()),isModal:!!nA[0].reference?.metadata?.isModal})})})(O),Dp(L),Or.current=!1}))},[ZA]);Q.useEffect(()=>{if(us){const d=Array.isArray(us)?us:us?.data||[];if(Array.isArray(d)){const u=d.reduce((p,x)=>p.find(D=>D._id===x._id)?p:p.concat([x]),[]);Qt(u)}}else tt||Qt([])},[us,tt]),Q.useEffect(()=>{ds(Er||null)},[Er]),Q.useEffect(()=>{MA&&PA.length===0&&!tt&&Ce(!1)},[MA,PA.length,tt]),Q.useEffect(()=>{let d=null;const u=()=>{Or.current||Ec()},p=new MutationObserver(D=>{D.some(L=>L.type!=="attributes"||L.attributeName!==Be&&!L.target.parentElement?.closest("#viewgate-shadow-host"))&&(d&&clearTimeout(d),d=setTimeout(()=>{u(),setTimeout(u,350)},32))});lo.current=p;const x=new ResizeObserver(()=>u()),E=()=>u();return u(),p.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),x.observe(document.documentElement),window.addEventListener("scroll",E,{capture:!0,passive:!0}),()=>{d&&clearTimeout(d),p.disconnect(),x.disconnect(),window.removeEventListener("scroll",E,!0),Ht.current&&cancelAnimationFrame(Ht.current),lo.current=null}},[f,PA,Ec,MA,aA,g]);const Bo=Q.useCallback(d=>{let u=d;for(;u&&u!==document.body;){if(Qr(u))return u;u=u.parentElement}return null},[]);Q.useEffect(()=>{const d=u=>{const p=u.target;p&&(Bo(p)||(Cc.current=p))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[Bo]),Q.useEffect(()=>{co.current=document.getElementById("viewgate-shadow-host")},[]);const go=Q.useCallback(d=>{if(!f||K)return;const u=ac(d.clientX,d.clientY);if(!u||co.current?.contains(u)||u.closest(".vg-no-capture")){I(null);return}const p=u.getBoundingClientRect();I({tag:u.tagName.toLowerCase(),source:u.getAttribute("data-source-path")||"unknown:0",rect:p,element:u,previewText:(u.innerText||"").slice(0,100)||(u.getAttribute("placeholder")||"").slice(0,100)||u.tagName.toLowerCase(),semanticReference:{...lc(u,Cc.current),normalizedOffset:{x:(d.clientX-p.left)/p.width,y:(d.clientY-p.top)/p.height}}})},[f,K]),uo=Q.useCallback(async d=>{if(!f||K)return;const u=ac(d.clientX,d.clientY);if(!(!u||co.current?.contains(u)||u.closest(".vg-no-capture"))&&H){const p=H;let x=p.element;Bo(x);let E=p.semanticReference,D=p.tag;d.preventDefault(),d.stopPropagation(),ge(!0);try{await new Promise(Y=>requestAnimationFrame(Y)),await new Promise(Y=>setTimeout(Y,80));const O=x.getBoundingClientRect(),L=document.documentElement,gA=window.devicePixelRatio||1,M=Math.max(gA,3),pA=Array.from(L.querySelectorAll("img"));await Promise.all(pA.map(Y=>{const _A=Y.getBoundingClientRect();return _A.bottom>-200&&_A.top<window.innerHeight+200&&(Y.loading==="lazy"&&(Y.loading="eager"),!Y.complete)?new Promise(jA=>{Y.onload=jA,Y.onerror=jA}):Promise.resolve()})).catch(()=>{});const sA=window.scrollX||window.pageXOffset,nA=window.scrollY||window.pageYOffset,QA=O.left,EA=O.top,bA=await so(L,{scale:M,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:sA,y:nA,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:Y=>{const _A=[];document.querySelectorAll("*").forEach((wA,TA)=>{const v=wA;if(v.shadowRoot){const $A=`sh-${TA}`;v.setAttribute("data-vg-capture-id",$A),_A.push({original:v,id:$A})}}),_A.forEach(({original:wA,id:TA})=>{const v=Y.querySelector(`[data-vg-capture-id="${TA}"]`);if(v&&wA.shadowRoot)try{const $A=wA.shadowRoot.cloneNode(!0);v.innerHTML="",Array.from($A.childNodes).forEach(Kr=>{v.appendChild(Y.importNode(Kr,!0))})}catch($A){console.warn("[ViewGate] Shadow DOM flatting failed",$A)}}),Y.querySelectorAll('input[type="password"]').forEach(wA=>{wA.value="••••••••"}),Y.querySelectorAll("[data-vg-mask]").forEach(wA=>{const TA=wA;TA.style.filter="blur(10px) grayscale(1)",TA.style.opacity="0.7",["INPUT","TEXTAREA"].includes(TA.tagName)||(TA.innerText="• REDACTED •")});const jA=Y.getElementById("viewgate-shadow-host");jA&&(jA.style.display="none"),Y.querySelectorAll(".vg-selection-overlay").forEach(wA=>{wA.style.display="none"}),document.querySelectorAll("[data-vg-capture-id]").forEach(wA=>wA.removeAttribute("data-vg-capture-id"))},ignoreElements:Y=>Y.id==="viewgate-shadow-host"||Y.classList.contains("vg-no-capture")||Y.classList.contains("vg-selection-overlay")}),xA=document.createElement("canvas"),LA=xA.getContext("2d"),Se=24;if(xA.width=(O.width+Se*2)*M,xA.height=(O.height+Se*2)*M,LA){LA.imageSmoothingEnabled=!0,LA.imageSmoothingQuality="high";const Y=(QA-Se)*M,_A=(EA-Se)*M;LA.drawImage(bA,-Y,-_A,bA.width,bA.height),xA.toBlob(async jA=>{const wA={...p,element:x,rect:x.getBoundingClientRect(),semanticReference:E,tag:D};if(jA){const TA=new FileReader;TA.onloadend=()=>{_({...wA,visualPreview:TA.result})},TA.readAsDataURL(jA)}else _(wA)},"image/webp",.98)}}catch(O){console.error("[ViewGate] Capture Error:",O),_(H)}finally{ge(!1),I(null)}}},[f,H,K]);Q.useEffect(()=>{const d=u=>{const x=(()=>{let O=document.activeElement;for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O})();if(["input","textarea"].includes((x?.tagName||"").toLowerCase())||x?.isContentEditable)return;const D=u.key.toLowerCase();if(!tA){(D==="c"||D==="v")&&A(e==="es"?"Debes iniciar sesión en el Dashboard para usar ViewGate":"Log in to the Dashboard to use ViewGate","warning");return}if(u.key==="Escape"){K?_(null):MA?Ce(!1):f&&h(!1);return}if(D==="c"&&!u.ctrlKey&&!u.metaKey&&!K&&!MA){if(!Fr){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}if(Bs==="client"){A(e==="es"?"Acceso de solo lectura (Backlog)":"Read-only access (Backlog)","warning");return}if(br&&!f){if(pc?.status===403||!Fr){const gA=pc?.message||(e==="es"?"Acceso denegado a este proyecto":"No project access");A(gA,"error");return}A(e==="es"?"Verificando información del sprint...":"Checking sprint info...","warning");return}if(!(ZA&&ZA.status!=="closed")&&!B&&!f){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}h(L=>!L)}if(D==="v"&&!K){if(!Fr){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}(PA.length>0||MA)&&(Ce(O=>!O),MA||h(!1))}};return f&&!K?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",go,!0),window.addEventListener("click",uo,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",go,!0),window.removeEventListener("click",uo,!0)}},[f,K,MA,PA,go,uo,tA,Bs]);const Gp=async()=>{if(!K||!W.trim())return;if(N.includes("backend")&&X.length===0){A(e==="es"?"Selecciona al menos un endpoint de backend":"Select at least one backend endpoint","error");return}if(N.includes("ux")&&$.some(O=>!O.name.trim()||!O.link.trim())){A(e==="es"?"Todos los diseños de Figma deben tener nombre y link":"All Figma designs must have a name and link","error");return}if(!SA){A(e==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}vA(!0);const{semanticReference:d}=K,[u,p]=(d.source||"").split(":"),E={filePath:u,line:parseInt(p||"0"),url:window.location.href,title:W.length>50?W.substring(0,50)+"...":W,message:W,status:B?"backlog":"pending",priority:w,type:K.visualPreview&&!B&&Er?.status==="active"?"bug":"task",screenshot:K.visualPreview,componentName:d.componentPath||K.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()},focusAreas:N,figmaReference:N.includes("ux")?$:void 0,backendEndpoints:N.includes("backend")?X:[]};SA&&(E.creator={name:SA.name,email:SA.email,avatar:SA.avatar});try{const D=await fetch(`${n}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r,Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify(E)});if(!D.ok){const O=await D.json().catch(()=>({}));throw new Error(O.message||O.error||"Backend failed")}A(s.success,"success"),_(null),R(""),yA([]),HA([{name:s.figmaPrimaryDesign,link:""}]),JA([]),h(!1),vr()}catch(D){console.error(D);const O=D.message&&D.message!=="Backend failed"?D.message:s.error;A(O,"error")}finally{vA(!1)}},Mp=async d=>{ge(!0);try{const u=ic(d.reference,d._id);if(!u){A(e==="es"?"No se pudo encontrar el elemento original para la captura":"Could not find the original element for capture","error"),ge(!1);return}u.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(nA=>setTimeout(nA,600));const p=u.style.outline,x=u.style.transition;u.style.transition="outline 0.3s ease",u.style.outline="4px solid #10b981",u.style.outlineOffset="4px",await new Promise(nA=>setTimeout(nA,400)),u.style.outline=p,u.style.transition=x,await new Promise(nA=>requestAnimationFrame(nA)),await new Promise(nA=>setTimeout(nA,50));const E=u.getBoundingClientRect(),D=document.documentElement,O=window.devicePixelRatio||1,L=Math.max(O,3),gA=await so(D,{scale:L,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:window.scrollX,y:window.scrollY,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:nA=>{const QA=nA.getElementById("viewgate-shadow-host");QA&&(QA.style.display="none"),nA.querySelectorAll(".vg-selection-overlay, .vg-formal-pin").forEach(EA=>{EA.style.display="none"})}}),M=document.createElement("canvas"),pA=M.getContext("2d"),sA=32;if(M.width=(E.width+sA*2)*L,M.height=(E.height+sA*2)*L,pA){pA.imageSmoothingEnabled=!0,pA.imageSmoothingQuality="high";const nA=(E.left-sA)*L,QA=(E.top-sA)*L;pA.drawImage(gA,-nA,-QA,gA.width,gA.height);const EA=M.toDataURL("image/webp",.95),bA=await fetch(`${n}/api/tickets/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({status:"completed",resolvedScreenshot:EA})});if(!bA.ok){const xA=await bA.json().catch(()=>({}));throw new Error(xA.message||xA.error||"API failed")}A(e==="es"?"¡Ticket resuelto con éxito!":"Ticket resolved successfully!","success"),vr()}u.style.outline=p,u.style.transition=x}catch(u){console.error("[ViewGate] Resolve with evidence failed:",u),A(e==="es"?`Error: ${u.message}`:`Error: ${u.message}`,"error")}finally{ge(!1)}};return i.jsx("div",{"data-vg-id":"ef883ffc","data-source-path":"/src/components/ViewGateOverlay.tsx:2202",className:"vg-container",children:i.jsxs("div",{"data-vg-id":"ef883ffd","data-source-path":"/src/components/ViewGateOverlay.tsx:2203",className:"vg-no-capture",children:[i.jsxs("div",{style:{position:"fixed",bottom:`${Et.bottom}px`,right:`${Et.right}px`,zIndex:tc,display:"flex",alignItems:"center",gap:"8px",transition:fs?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[i.jsx("div",{onMouseDown:kp,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:f?0:1,visibility:f?"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:i.jsx(pl,{"data-vg-id":"3dbe6a11","data-source-path":"/src/components/ViewGateOverlay.tsx:2250",size:16})}),i.jsxs("div",{"data-vg-id":"ef883fff","data-source-path":"/src/components/ViewGateOverlay.tsx:2253",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[tA?Fr?i.jsxs(i.Fragment,{children:[Bs!=="client"&&i.jsx("button",{onClick:()=>{if(br&&!f){A(e==="es"?"Sincronizando con el servidor...":"Syncing with server...","warning");return}if(!ZA&&!B&&!f){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}h(!f)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:f?"#ef4444":!ZA&&!B?"#94a3b8":void 0,cursor:!ZA&&!B&&!f?"not-allowed":"pointer",opacity:!ZA&&!B&&!f?.7:1},title:!ZA&&!B&&!f?e==="es"?"Requiere sprint activo":"Requires active sprint":"",children:i.jsxs("div",{"data-vg-id":"ef884001","data-source-path":"/src/components/ViewGateOverlay.tsx:2292",style:{display:"flex",alignItems:"center",gap:"10px"},children:[br&&!f?i.jsx(tn,{"data-vg-id":"edca6150","data-source-path":"/src/components/ViewGateOverlay.tsx:2294",size:20,className:"vg-animate-spin"}):f?i.jsx(Kt,{"data-vg-id":"ff5f5cf","data-source-path":"/src/components/ViewGateOverlay.tsx:2296",size:20,className:"vg-animate-pop"}):i.jsx(Us,{"data-vg-id":"10c621c4","data-source-path":"/src/components/ViewGateOverlay.tsx:2298",size:20,className:"vg-animate-pop"}),i.jsx("span",{"data-vg-id":"52d76c43","data-source-path":"/src/components/ViewGateOverlay.tsx:2300",children:br&&!f?e==="es"?"Cargando...":"Loading...":f?s.exitMode:s.enterMode})]})}),PA.length>0&&i.jsxs("button",{onClick:()=>{Ce(!MA),h(!1),_(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[i.jsx(hl,{"data-vg-id":"cd7341f9","data-source-path":"/src/components/ViewGateOverlay.tsx:2318",size:20}),i.jsx("span",{"data-vg-id":"52d76c45","data-source-path":"/src/components/ViewGateOverlay.tsx:2319",children:s.viewComments})]})]}):i.jsx("div",{"data-vg-id":"ef884000","data-source-path":"/src/components/ViewGateOverlay.tsx:2256",style:{padding:"8px 16px",background:"#fee2e2",color:"#b91c1c",borderRadius:"20px",fontSize:"12px",fontWeight:600,border:"1px solid #fecaca",whiteSpace:"nowrap"},children:e==="es"?"Acceso denegado a este proyecto":"No project access"}):i.jsxs("button",{onClick:uc,className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",backgroundColor:"#1E293B",backgroundImage:"linear-gradient(135deg, #1e293b 0%, #334155 100%)",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",border:"1px solid rgba(255,255,255,0.1)",display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx("img",{"data-vg-id":"a398709","data-source-path":"/src/components/ViewGateOverlay.tsx:2339",src:"https://www.gstatic.com/images/branding/product/1x/gsa_512dp.png",style:{width:"18px",height:"18px"},alt:"G"}),i.jsx("span",{"data-vg-id":"52d76c47","data-source-path":"/src/components/ViewGateOverlay.tsx:2340",style:{fontWeight:700},children:e==="es"?"Iniciar Sesión":"Login to ViewGate"})]}),i.jsx("button",{onClick:d=>{d.stopPropagation(),et({title:s.exitConfirmTitle||"Close ViewGate?",message:s.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>a()})},className:"vg-button-ghost vg-animate-pop",style:{width:"40px",height:"40px",minWidth:"40px",padding:"0",animationDelay:"0.2s",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.8)",color:"#64748b",border:"1px solid rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.color="#ef4444",d.currentTarget.style.backgroundColor="white",d.currentTarget.style.borderColor="rgba(239, 68, 68, 0.2)",d.currentTarget.style.transform="scale(1.05)"},onMouseLeave:d=>{d.currentTarget.style.color="#64748b",d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.8)",d.currentTarget.style.borderColor="rgba(0,0,0,0.05)",d.currentTarget.style.transform="scale(1)"},title:s.close||"Cerrar ViewGate",children:i.jsx(Kt,{"data-vg-id":"ff5f5d6","data-source-path":"/src/components/ViewGateOverlay.tsx:2384",size:20,strokeWidth:2.5})})]}),i.jsx("iframe",{src:`${o}/silent-auth`,style:{display:"none",width:0,height:0,border:"none"},title:"viewgate-silent-auth"})]}),DA&&i.jsx("div",{"data-vg-id":"17fbf7e","data-source-path":"/src/components/ViewGateOverlay.tsx:2398",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:tc+1,cursor:"wait"},children:i.jsxs("div",{"data-vg-id":"17fbf7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2404",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[i.jsx("div",{"data-vg-id":"17fbf95","data-source-path":"/src/components/ViewGateOverlay.tsx:2405",className:"vg-spinner"}),i.jsx("span",{"data-vg-id":"52d76c61","data-source-path":"/src/components/ViewGateOverlay.tsx:2406",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),f&&!K&&i.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:H?`polygon(
10
+ }`,mh=(t,A)=>{Uh(t,`.${Pn}${Ch}${Gi}
11
+ .${jn}${Qh}${Gi}`,A)},Uh=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},xh=(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 S{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new S(this.x+A,this.y+e)}}const pt=(t,A,e)=>new S(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class Ee{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=pt(this.start,this.startControl,A),s=pt(this.startControl,this.endControl,A),n=pt(this.endControl,this.end,A),o=pt(r,s,A),a=pt(s,n,A),i=pt(o,a,A);return e?new Ee(this.start,r,o,i):new Ee(i,a,n,this.end)}add(A,e){return new Ee(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new Ee(this.end,this.endControl,this.startControl,this.start)}}const JA=t=>t.type===1;class Fh{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Wt(e.borderTopLeftRadius,r.width,r.height),[o,a]=Wt(e.borderTopRightRadius,r.width,r.height),[i,g]=Wt(e.borderBottomRightRadius,r.width,r.height),[d,B]=Wt(e.borderBottomLeftRadius,r.width,r.height);const u=[];u.push((s+o)/r.width),u.push((d+i)/r.width),u.push((n+B)/r.height),u.push((a+g)/r.height);const f=Math.max(...u);f>1&&(s/=f,n/=f,o/=f,a/=f,i/=f,g/=f,d/=f,B/=f);const w=r.width-o,Q=r.height-g,F=r.width-i,y=r.height-B,p=e.borderTopWidth,T=e.borderRightWidth,I=e.borderBottomWidth,H=e.borderLeftWidth,K=k(e.paddingTop,A.bounds.width),N=k(e.paddingRight,A.bounds.width),W=k(e.paddingBottom,A.bounds.width),D=k(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?aA(r.left+H/3,r.top+p/3,s-H/3,n-p/3,z.TOP_LEFT):new S(r.left+H/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?aA(r.left+w,r.top+p/3,o-T/3,a-p/3,z.TOP_RIGHT):new S(r.left+r.width-T/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=i>0||g>0?aA(r.left+F,r.top+Q,i-T/3,g-I/3,z.BOTTOM_RIGHT):new S(r.left+r.width-T/3,r.top+r.height-I/3),this.bottomLeftBorderDoubleOuterBox=d>0||B>0?aA(r.left+H/3,r.top+y,d-H/3,B-I/3,z.BOTTOM_LEFT):new S(r.left+H/3,r.top+r.height-I/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?aA(r.left+H*2/3,r.top+p*2/3,s-H*2/3,n-p*2/3,z.TOP_LEFT):new S(r.left+H*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?aA(r.left+w,r.top+p*2/3,o-T*2/3,a-p*2/3,z.TOP_RIGHT):new S(r.left+r.width-T*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=i>0||g>0?aA(r.left+F,r.top+Q,i-T*2/3,g-I*2/3,z.BOTTOM_RIGHT):new S(r.left+r.width-T*2/3,r.top+r.height-I*2/3),this.bottomLeftBorderDoubleInnerBox=d>0||B>0?aA(r.left+H*2/3,r.top+y,d-H*2/3,B-I*2/3,z.BOTTOM_LEFT):new S(r.left+H*2/3,r.top+r.height-I*2/3),this.topLeftBorderStroke=s>0||n>0?aA(r.left+H/2,r.top+p/2,s-H/2,n-p/2,z.TOP_LEFT):new S(r.left+H/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?aA(r.left+w,r.top+p/2,o-T/2,a-p/2,z.TOP_RIGHT):new S(r.left+r.width-T/2,r.top+p/2),this.bottomRightBorderStroke=i>0||g>0?aA(r.left+F,r.top+Q,i-T/2,g-I/2,z.BOTTOM_RIGHT):new S(r.left+r.width-T/2,r.top+r.height-I/2),this.bottomLeftBorderStroke=d>0||B>0?aA(r.left+H/2,r.top+y,d-H/2,B-I/2,z.BOTTOM_LEFT):new S(r.left+H/2,r.top+r.height-I/2),this.topLeftBorderBox=s>0||n>0?aA(r.left,r.top,s,n,z.TOP_LEFT):new S(r.left,r.top),this.topRightBorderBox=o>0||a>0?aA(r.left+w,r.top,o,a,z.TOP_RIGHT):new S(r.left+r.width,r.top),this.bottomRightBorderBox=i>0||g>0?aA(r.left+F,r.top+Q,i,g,z.BOTTOM_RIGHT):new S(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=d>0||B>0?aA(r.left,r.top+y,d,B,z.BOTTOM_LEFT):new S(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?aA(r.left+H,r.top+p,Math.max(0,s-H),Math.max(0,n-p),z.TOP_LEFT):new S(r.left+H,r.top+p),this.topRightPaddingBox=o>0||a>0?aA(r.left+Math.min(w,r.width-T),r.top+p,w>r.width+T?0:Math.max(0,o-T),Math.max(0,a-p),z.TOP_RIGHT):new S(r.left+r.width-T,r.top+p),this.bottomRightPaddingBox=i>0||g>0?aA(r.left+Math.min(F,r.width-H),r.top+Math.min(Q,r.height-I),Math.max(0,i-T),Math.max(0,g-I),z.BOTTOM_RIGHT):new S(r.left+r.width-T,r.top+r.height-I),this.bottomLeftPaddingBox=d>0||B>0?aA(r.left+H,r.top+Math.min(y,r.height-I),Math.max(0,d-H),Math.max(0,B-I),z.BOTTOM_LEFT):new S(r.left+H,r.top+r.height-I),this.topLeftContentBox=s>0||n>0?aA(r.left+H+D,r.top+p+K,Math.max(0,s-(H+D)),Math.max(0,n-(p+K)),z.TOP_LEFT):new S(r.left+H+D,r.top+p+K),this.topRightContentBox=o>0||a>0?aA(r.left+Math.min(w,r.width+H+D),r.top+p+K,w>r.width+H+D?0:o-H+D,a-(p+K),z.TOP_RIGHT):new S(r.left+r.width-(T+N),r.top+p+K),this.bottomRightContentBox=i>0||g>0?aA(r.left+Math.min(F,r.width-(H+D)),r.top+Math.min(Q,r.height+p+K),Math.max(0,i-(T+N)),g-(I+W),z.BOTTOM_RIGHT):new S(r.left+r.width-(T+N),r.top+r.height-(I+W)),this.bottomLeftContentBox=d>0||B>0?aA(r.left+H+D,r.top+y,Math.max(0,d-(H+D)),B-(I+W),z.BOTTOM_LEFT):new S(r.left+H+D,r.top+r.height-(I+W))}}var z;(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"})(z||(z={}));const aA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,a=r*n,i=t+e,g=A+r;switch(s){case z.TOP_LEFT:return new Ee(new S(t,g),new S(t,g-a),new S(i-o,A),new S(i,A));case z.TOP_RIGHT:return new Ee(new S(t,A),new S(t+o,A),new S(i,g-a),new S(i,g));case z.BOTTOM_RIGHT:return new Ee(new S(i,A),new S(i,A+a),new S(t+o,g),new S(t,g));case z.BOTTOM_LEFT:default:return new Ee(new S(i,g),new S(i-o,g),new S(t,A+a),new S(t,A))}},ls=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],yh=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],ds=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class Vi{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Bs{constructor(A,e){this.path=A,this.target=e,this.type=1}}class Eh{constructor(A){this.opacity=A,this.type=2,this.target=6}}class tr{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const bh=t=>t.type===0,Ni=t=>t.type===1,vh=t=>t.type===2,Ih=t=>t.type===3,_i=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,Hh=(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 Pi{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class ji{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Fh(this.container),this.container.styles.opacity<1&&this.effects.push(new Eh(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+k(r[0],this.container.bounds.width),n=this.container.bounds.top+k(r[1],this.container.bounds.height),a=this.container.styles.rotate*Math.PI/180,i=Math.cos(a),g=Math.sin(a),d=[i,g,-g,i,0,0];this.effects.push(new Vi(s,n,d))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+k(r[0],this.container.bounds.width),n=this.container.bounds.top+k(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new Vi(s,n,o))}if(this.container.styles.overflowX!==0){const r=ls(this.curves),s=ds(this.curves);_i(r,s)?this.effects.push(new Bs(r,6)):(this.effects.push(new Bs(r,2)),this.effects.push(new Bs(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Sh(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=>!Ni(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=ls(r.curves),a=ds(r.curves);_i(o,a)||s.unshift(new Bs(a,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>cA(n.target,A))}}const Wi=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):k(t,s),Sh=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=k(t.left,s),a=k(t.top,n),i=e+o,g=r+a,d=Math.max(0,s-o-k(t.right,s)),B=Math.max(0,n-a-k(t.bottom,n));return new tr(u=>{u.beginPath(),u.rect(i,g,d,B),u.clip()})}case 2:{const o=e+k(t.cx,s),a=r+k(t.cy,n);let i;return t.radius==="closest-side"?i=Math.min(o-e,a-r,e+s-o,r+n-a):t.radius==="farthest-side"?i=Math.max(o-e,a-r,e+s-o,r+n-a):i=k(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new tr(g=>{g.beginPath(),g.arc(o,a,Math.max(0,i),0,Math.PI*2),g.clip()})}case 3:{const o=e+k(t.cx,s),a=r+k(t.cy,n),i=Wi(t.rx,o,e,e+s,s),g=Wi(t.ry,a,r,r+n,n);return new tr(d=>{d.beginPath(),d.ellipse(o,a,Math.max(0,i),Math.max(0,g),0,0,Math.PI*2),d.clip()})}case 4:{const o=t.points.map(([a,i])=>[e+k(a,s),r+k(i,n)]);return new tr(a=>{if(a.beginPath(),o.length>0){a.moveTo(o[0][0],o[0][1]);for(let i=1;i<o.length;i++)a.lineTo(o[i][0],o[i][1]);a.closePath()}a.clip()})}case 5:{const{d:o}=t;return new tr(a=>{try{const i=a.getTransform();a.translate(e,r),a.clip(new Path2D(o)),a.setTransform(i)}catch{}})}case 0:return null;default:return null}},Wn=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=cA(s.flags,4),o=cA(s.flags,2),a=new ji(s,t);cA(s.styles.display,2048)&&r.push(a);const i=cA(s.flags,8)?[]:r;if(n||o){const g=n||s.styles.isPositioned()?e:A,d=new Pi(a);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const B=s.styles.zIndex.order;if(B<0){let u=0;g.negativeZIndex.some((f,w)=>B>f.element.container.styles.zIndex.order?(u=w,!1):u>0),g.negativeZIndex.splice(u,0,d)}else if(B>0){let u=0;g.positiveZIndex.some((f,w)=>B>=f.element.container.styles.zIndex.order?(u=w+1,!1):u>0),g.positiveZIndex.splice(u,0,d)}else g.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else s.styles.isFloating()?g.nonPositionedFloats.push(d):g.nonPositionedInlineLevel.push(d);Wn(a,d,n?d:e,i)}else s.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),Wn(a,A,e,i);cA(s.flags,8)&&Xi(s,i)})},Xi=(t,A)=>{let e=t instanceof Rn?t.start:1;const r=t instanceof Rn?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof mi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Ar(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Lh=t=>{const A=new ji(t,null),e=new Pi(A),r=[];return Wn(A,e,e,r),Xi(A.container,r),e},Ji=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},rr=t=>{const A=t.styles,e=t.bounds,r=k(A.paddingLeft,e.width),s=k(A.paddingRight,e.width),n=k(A.paddingTop,e.width),o=k(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))},Th=(t,A)=>t===0?A.bounds:t===2?rr(A):Ji(A),Oh=(t,A)=>t===0?A.bounds:t===2?rr(A):Ji(A),Xn=(t,A,e)=>{const r=Th(Qt(t.styles.backgroundOrigin,A),t),s=Oh(Qt(t.styles.backgroundClip,A),t),n=Kh(Qt(t.styles.backgroundSize,A),e,r);let[o,a]=n;const i=Wt(Qt(t.styles.backgroundPosition,A),r.width-o,r.height-a),g=Dh(Qt(t.styles.backgroundRepeat,A),i,n,r,s),d=Math.round(r.left+i[0]),B=Math.round(r.top+i[1]);return o=Math.max(1,o),a=Math.max(1,a),[g,d,B,o,a]},Ct=t=>V(t)&&t.value===ut.AUTO,gs=t=>typeof t=="number",Kh=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if(Z(n)&&o&&Z(o))return[k(n,s.width),k(o,s.height)];const a=gs(r);if(V(n)&&(n.value===ut.CONTAIN||n.value===ut.COVER))return gs(r)?s.width/s.height<r!=(n.value===ut.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const i=gs(A),g=gs(e),d=i||g;if(Ct(n)&&(!o||Ct(o))){if(i&&g)return[A,e];if(!a&&!d)return[s.width,s.height];if(d&&a){const Q=i?A:e*r,F=g?e:A/r;return[Q,F]}const f=i?A:s.width,w=g?e:s.height;return[f,w]}if(a){let f=0,w=0;return Z(n)?f=k(n,s.width):Z(o)&&(w=k(o,s.height)),Ct(n)?f=w*r:(!o||Ct(o))&&(w=f/r),[f,w]}let B=null,u=null;if(Z(n)?B=k(n,s.width):o&&Z(o)&&(u=k(o,s.height)),B!==null&&(!o||Ct(o))&&(u=i&&g?B/A*e:s.height),u!==null&&Ct(n)&&(B=i&&g?u/e*A:s.width),B!==null&&u!==null)return[B,u];throw new Error("Unable to calculate background-size for element")},Qt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Dh=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new S(Math.round(n.left),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(s+n.top+e)),new S(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new S(Math.round(n.left+A),Math.round(n.top)),new S(Math.round(n.left+A+r),Math.round(n.top)),new S(Math.round(n.left+A+r),Math.round(n.height+n.top)),new S(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new S(Math.round(n.left+A),Math.round(n.top+e)),new S(Math.round(n.left+A+r),Math.round(n.top+e)),new S(Math.round(n.left+A+r),Math.round(n.top+e+s)),new S(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new S(Math.round(o.left),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.height+o.top)),new S(Math.round(o.left),Math.round(o.height+o.top))]}},Rh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",zi="Hidden Text";class Mh{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=Rh,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(zi)),r.appendChild(n),r.appendChild(s);const a=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(zi)),r.style.lineHeight="normal",s.style.verticalAlign="super";const i=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:a,middle:i}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class Yi{constructor(A,e){this.context=A,this.options=e}}class kh{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):pg(r)?this.renderLinearGradient(A,r,e):Cg(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,a=isNaN(s.height)||s.height===0?1:s.height,[i,g,d,B,u]=Xn(A,r,[o,a,o/a]),f=this.ctx.createPattern(this.resizeImage(s,B,u,A.styles.imageRendering),"repeat");this.renderRepeat(i,f,g,d)}}renderLinearGradient(A,e,r){const[s,n,o,a,i]=Xn(A,r,[null,null,null]),[g,d,B,u,f]=gg(e.angle,a,i),Q=(this.canvas.ownerDocument??document).createElement("canvas");Q.width=a,Q.height=i;const F=Q.getContext("2d"),y=F.createLinearGradient(d,u,B,f);if(Ma(e.stops,g||1).forEach(p=>y.addColorStop(p.stop,sA(p.color))),F.fillStyle=y,F.fillRect(0,0,a,i),a>0&&i>0){const p=this.ctx.createPattern(Q,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,a,i]=Xn(A,r,[null,null,null]),g=e.position.length===0?[Je]:e.position,d=k(g[0],a),B=k(g[g.length-1],i);let[u,f]=ug(e,d,B,a,i);if((u===0||f===0)&&(u=Math.max(u,.01),f=Math.max(f,.01)),u>0&&f>0){const w=this.ctx.createRadialGradient(n+d,o+B,0,n+d,o+B,u);if(Ma(e.stops,u*2).forEach(Q=>w.addColorStop(Q.stop,sA(Q.color))),this.path(s),this.ctx.fillStyle=w,u!==f){const Q=A.bounds.left+.5*A.bounds.width,F=A.bounds.top+.5*A.bounds.height,y=f/u,p=1/y;this.ctx.save(),this.ctx.translate(Q,F),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-Q,-F),this.ctx.fillRect(n,p*(o-F)+F,a,i*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 a=o.getContext("2d");return s===qA.PIXELATED||s===qA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),a.imageSmoothingEnabled=!1):s===qA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),a.imageSmoothingEnabled=!0):a.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(a.imageSmoothingQuality=this.ctx.imageSmoothingQuality),a.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=JA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),JA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const Zi=(t,A)=>{switch(A){case 0:return oe(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return oe(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return oe(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return oe(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Gh=(t,A)=>{switch(A){case 0:return oe(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return oe(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return oe(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return oe(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Vh=(t,A)=>{switch(A){case 0:return oe(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return oe(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return oe(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return oe(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Nh=(t,A)=>{switch(A){case 0:return us(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return us(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return us(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return us(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},us=(t,A)=>{const e=[];return JA(t)?e.push(t.subdivide(.5,!1)):e.push(t),JA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},oe=(t,A,e,r)=>{const s=[];return JA(t)?s.push(t.subdivide(.5,!1)):s.push(t),JA(e)?s.push(e.subdivide(.5,!0)):s.push(e),JA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),JA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class _h{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(Zi(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=Gh(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=sA(A),this.ctx.fill();const o=Vh(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=Nh(s,r),a=Zi(s,r);n===2&&(this.pathCallbacks.path(a),this.ctx.clip());let i,g,d,B;JA(a[0])?(i=a[0].start.x,g=a[0].start.y):(i=a[0].x,g=a[0].y),JA(a[1])?(d=a[1].end.x,B=a[1].end.y):(d=a[1].x,B=a[1].y);let u;r===0||r===2?u=Math.abs(i-d):u=Math.abs(g-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(a.slice(0,2));let f=e<3?e*3:e*2,w=e<3?e*2:e;n===3&&(f=e,w=e);let Q=!0;if(u<=f*2)Q=!1;else if(u<=f*2+w){const F=u/(2*f+w);f*=F,w*=F}else{const F=Math.floor((u+w)/(f+w)),y=(u-F*f)/(F-1),p=(u-(F+1)*f)/F;w=p<=0||Math.abs(w-y)<Math.abs(w-p)?y:p}if(Q&&(n===3?this.ctx.setLineDash([0,f+w]):this.ctx.setLineDash([f,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(JA(a[0])){const F=a[3],y=a[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}if(JA(a[1])){const F=a[1],y=a[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class Ph{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(),vh(A)?this.ctx.globalAlpha=A.opacity:bh(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)):Ni(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Ih(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 jh=["-apple-system","system-ui"],Wh=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Xh=t=>Wh.test(t),Jh=()=>{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},zh=t=>{const A=Jh();return A!==null&&A>=15&&A<17?t.map(e=>jh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class Yh{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=ss(A.text),o=A.bounds.top+r;let a=A.bounds.left;for(const i of n){if(Xh(i)){const g=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(i,a,o),this.ctx.textBaseline=g}else s(i,a,o);a+=this.ctx.measureText(i).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,a)=>this.ctx.strokeText(n,o,a)),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 a=0;switch(o){case 1:a=A.top+A.height-r+s;break;case 2:a=A.top;break;case 3:a=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,a,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 a=s*2,i=s*4;let g=A;for(this.ctx.moveTo(g,e+s/2);g<A+r;){const d=Math.min(g+i/2,A+r);if(this.ctx.quadraticCurveTo(g+i/4,e+s/2-a,d,e+s/2),g=d,g<A+r){const B=Math.min(g+i/2,A+r);this.ctx.quadraticCurveTo(g+i/4,e+s/2+a,B,e+s/2),g=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=ss(A);if(r===0){const a=d=>this.ctx.measureText(o.slice(0,d).join("")).width+n<=e;let i=0,g=o.length;for(;i<g;){const d=i+g+1>>1;a(d)?i=d:g=d-1}return o.slice(0,i).join("")+"…"}else{let a=n;const i=[];for(const g of o){const d=this.ctx.measureText(g).width;if(a+d>e)break;i.push(g),a+=d+r}return i.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=zh(A.fontFamily).join(", "),s=we(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 u=[],f=A.textBounds[0].bounds.top;A.textBounds.forEach(Q=>{Math.abs(Q.bounds.top-f)>=o*.5?(u.length>0&&B.push(u),u=[Q],f=Q.bounds.top):u.push(Q)}),u.length>0&&B.push(u);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 Q=B[w-1];if(Q&&Q.length>0&&r){const F=Q.map(H=>H.text).join(""),y=Q[0],p=r.width-(y.bounds.left-r.left),T=this.truncateTextWithEllipsis(F,p,e.letterSpacing),I=new Ze(T,y.bounds);n.forEach(H=>{switch(H){case 0:this.ctx.fillStyle=sA(e.color),e.letterSpacing===0?this.ctx.fillText(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(I,e.letterSpacing,e.fontSize.number,(K,N,W)=>this.ctx.fillText(K,N,W));break;case 1:e.webkitTextStrokeWidth&&T.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(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(I,e.letterSpacing,e.fontSize.number,(K,N,W)=>this.ctx.strokeText(K,N,W)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const i=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let g=!1,d="";if(i){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(f=>Math.abs(f.bounds.top-B)<o*.5)){let f=A.textBounds.map(F=>F.text).join("");f=f.replace(/\s+/g," ").trim();const w=this.ctx.measureText(f).width,Q=r.width;w>Q&&(g=!0,d=this.truncateTextWithEllipsis(f,Q,e.letterSpacing))}}if(g){const B=A.textBounds[0],u=new Ze(d,B.bounds);n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=sA(e.color),e.letterSpacing===0?this.ctx.fillText(d,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(Q,F,y)=>this.ctx.fillText(Q,F,y));const w=e.textShadow;w.length&&d.trim().length&&(w.slice(0).reverse().forEach(Q=>{this.ctx.shadowColor=sA(Q.color),this.ctx.shadowOffsetX=Q.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=Q.offsetY.number*this.options.scale,this.ctx.shadowBlur=Q.blur.number,e.letterSpacing===0?this.ctx.fillText(d,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,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&&d.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(d,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(w,Q,F)=>this.ctx.strokeText(w,Q,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=sA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const f=e.textShadow;f.length&&B.text.trim().length&&(f.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 f=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+f):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,f,(w,Q,F)=>this.ctx.strokeText(w,Q,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const Zh=1e4;class Jn extends Yi{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 Mh(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 kh({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new _h({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new Ph({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new Yh({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(cA(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=rr(A),a=ds(e);this.path(a),this.ctx.save(),this.ctx.clip();let i=0,g=0,d=s,B=n,u=o.left,f=o.top,w=o.width,Q=o.height;const{objectFit:F}=A.styles,y=w/Q,p=d/B;if(F===2)p>y?(Q=w/p,f+=(o.height-Q)/2):(w=Q*p,u+=(o.width-w)/2);else if(F===4)p>y?(d=B*y,i+=(s-d)/2):(B=d/y,g+=(n-B)/2);else if(F===8)d>w?(i+=(d-w)/2,d=w):(u+=(w-d)/2,w=d),B>Q?(g+=(B-Q)/2,B=Q):(f+=(Q-B)/2,Q=B);else if(F===16){const T=p>y?w:Q*p,I=d>w?d:w;T<I?p>y?(Q=w/p,f+=(o.height-Q)/2):(w=Q*p,u+=(o.width-w)/2):(d>w?(i+=(d-w)/2,d=w):(u+=(w-d)/2,w=d),B>Q?(g+=(B-Q)/2,B=Q):(f+=(Q-B)/2,Q=B))}this.ctx.drawImage(r,i,g,d,B,u,f,w,Q),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=rr(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof pi)try{const o=await this.context.cache.match(e.src),a=this.ctx.imageSmoothingEnabled;s.imageRendering===qA.PIXELATED||s.imageRendering===qA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===qA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===qA.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=a}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof Ci&&this.renderReplacedElement(e,r,e.canvas),e instanceof Qi)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 a=await new Jn(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(a,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof Zt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===ns?e.checked&&(this.ctx.save(),this.path([new S(e.bounds.left+o*.39363,e.bounds.top+o*.79),new S(e.bounds.left+o*.16,e.bounds.top+o*.5549),new S(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new S(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new S(e.bounds.left+o*.72983,e.bounds.top+o*.23),new S(e.bounds.left+o*.84,e.bounds.top+o*.34085),new S(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=sA(Ui),this.ctx.fill(),this.ctx.restore()):e.type===os&&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(Ui),this.ctx.fill(),this.ctx.restore())}if($h(e)&&e.value.length){const[o,a,i]=this.textRenderer.createFontStyle(s),{baseline:g}=this.fontMetrics.getMetrics(a,i);this.ctx.font=o;const d=e instanceof Zt&&e.isPlaceholder;this.ctx.fillStyle=sA(d?eh:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Aw(e.styles.textAlign);const B=rr(e);let u=0;switch(e.styles.textAlign){case 1:u+=B.width/2;break;case 2:u+=B.width;break}let f=0;if(e instanceof Zt){const Q=k(s.fontSize,0);f=(B.height-Q)/2}const w=B.add(u,f,0,0);this.ctx.save(),this.path([new S(B.left,B.top),new S(B.left+B.width,B.top),new S(B.left+B.width,B.top+B.height),new S(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Ze(e.value,w),s.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(cA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let a;const i=o.url;try{a=await this.context.cache.match(i),this.ctx.drawImage(a,e.bounds.left-(a.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${i}`)}}}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 a=new kA(e.bounds.left,e.bounds.top+k(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ya(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Ze(A.listValue,a),s.letterSpacing,Ya(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(cA(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=JA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),JA(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=!De(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=qh(Qt(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),De(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(a=>{this.ctx.save();const i=ls(A.curves),g=a.inset?0:Zh,d=Hh(i,-g+(a.inset?1:-1)*a.spread.number,(a.inset?1:-1)*a.spread.number,a.spread.number*(a.inset?-2:2),a.spread.number*(a.inset?-2:2));a.inset?(this.path(i),this.ctx.clip(),this.mask(d)):(this.mask(i),this.ctx.clip(),this.path(d)),this.ctx.shadowOffsetX=a.offsetX.number+g,this.ctx.shadowOffsetY=a.offsetY.number,this.ctx.shadowColor=sA(a.color),this.ctx.shadowBlur=a.blur.number,this.ctx.fillStyle=a.inset?sA(a.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const a of s)a.style!==0&&!De(a.color)&&a.width>0&&(a.style===2?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,2):a.style===3?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,3):a.style===4?await this.borderRenderer.renderDoubleBorder(a.color,a.width,o,A.curves):await this.borderRenderer.renderSolidBorder(a.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=Lh(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const $h=t=>t instanceof Fi||t instanceof xi?!0:t instanceof Zt&&t.type!==os&&t.type!==ns,qh=(t,A)=>{switch(t){case 0:return ls(A);case 2:return yh(A);default:return ds(A)}},Aw=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class ew extends Yi{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=Dn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await tw(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 tw=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 $i{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))}}$i.instances={};class rw{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(Yn(A)||aw(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=i=>e.isSameOrigin(i),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!zn(A)&&this._options.useCORS===!0&&KA.SUPPORT_CORS_IMAGES&&!s,o=!zn(A)&&!s&&!Yn(A)&&typeof this._options.proxy=="string"&&KA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!zn(A)&&!Yn(A)&&!o&&!n)return;let a=A;return o&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((i,g)=>{const d=new Image;d.onload=()=>i(d),d.onerror=g,(iw(a)||n)&&(d.crossOrigin="anonymous"),d.src=a,d.complete===!0&&setTimeout(()=>i(d),500),this._options.imageTimeout>0&&setTimeout(()=>g(`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=KA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=()=>{if(a.status===200)if(o==="text")s(a.response);else{const g=new FileReader;g.addEventListener("load",()=>s(g.result),!1),g.addEventListener("error",d=>n(d),!1),g.readAsDataURL(a.response)}else n(`Failed to proxy resource ${r} with status code ${a.status}`)},a.onerror=n;const i=e.indexOf("?")>-1?"&":"?";if(a.open("GET",`${e}${i}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),this._options.imageTimeout){const g=this._options.imageTimeout;a.timeout=g,a.ontimeout=()=>n(`Timed out (${g}ms) proxying ${r}`)}a.send()})}}const sw=/^data:image\/svg\+xml/i,nw=/^data:image\/.*;base64,/i,ow=/^data:image\/.*/i,aw=t=>KA.SUPPORT_SVG_DRAWING||!cw(t),zn=t=>ow.test(t),iw=t=>nw.test(t),Yn=t=>t.substr(0,4)==="blob",cw=t=>t.substr(-3).toLowerCase()==="svg"||sw.test(t);class lw{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 fs{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${fs.instanceCount++}`,this.config=r,this.logger=new $i({id:this.instanceName,enabled:A.logging}),this.originChecker=new lw(r.window),this.cache=A.cache??r.cache??new rw(this,A)}}fs.instanceCount=1;class sr{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 sr({window:s,...e})}clone(A={}){return new sr({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function dw(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class Bw{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 a=o.toLowerCase();return s===a||s.endsWith("."+a)}))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 a=parseInt(n.substring(2,4),16);if(a>=128&&a<=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(i=>i.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 gw(t={}){return new Bw({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class uw{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 Zn=(t,A={},e)=>{const r=e||sr.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return ww(t,A,r)},fw=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&dw(new sr({window,cspNonce:t}))};Zn.setCspNonce=fw;const hw=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)}})},ww=async(t,A,e)=>{if(hw(A),!A.skipValidation){const yA=A.validator||gw(),$=yA.validateElement(t);if(!$.valid)throw new Error($.error);const IA=yA.validateOptions(A);if(!IA.valid)throw new Error(`Invalid options: ${IA.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},a=800,i=600,g=0,d=s,B={windowWidth:A.windowWidth??d.innerWidth??a,windowHeight:A.windowHeight??d.innerHeight??i,scrollX:A.scrollX??d.pageXOffset??g,scrollY:A.scrollY??d.pageYOffset??g},u=new kA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),f=new fs(o,u,e),w=A.enablePerformanceMonitoring??A.logging??!1,Q=new uw(f,w);Q.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};f.logger.debug(`Starting document clone with size ${u.width}x${u.height} scrolled to ${-u.left},${-u.top}`),Q.start("clone");const p=new ki(f,t,y),T=p.clonedReferenceElement;if(!T)throw new Error("Unable to find element in cloned iframe");const I=await p.toIFrame(r,u);Q.end("clone");const{width:H,height:K,left:N,top:W}=Mn(T)||oh(T)?El(T.ownerDocument):Qr(f,T),D=pw(f,T,A.backgroundColor),lA={canvas:A.canvas,backgroundColor:D,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+N,y:(A.y??0)+W,width:A.width??Math.ceil(H),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let vA,_;try{return F?(f.logger.debug("Document cloned, using foreign object rendering"),Q.start("render-foreignobject"),vA=await new ew(f,lA).render(T),Q.end("render-foreignobject")):(f.logger.debug(`Document cloned, element located at ${N},${W} with size ${H}x${K} using computed rendering`),f.logger.debug("Starting DOM parsing"),Q.start("parse"),_=bi(f,T),Q.end("parse"),D===_.styles.backgroundColor&&(_.styles.backgroundColor=Ce.TRANSPARENT),f.logger.debug(`Starting renderer for element at ${lA.x},${lA.y} with size ${lA.width}x${lA.height}`),Q.start("render"),vA=await new Jn(f,lA).render(_),Q.end("render")),Q.start("cleanup"),(A.removeContainer??!0)&&(ki.destroy(I)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Q.end("cleanup"),Q.end("total"),f.logger.debug("Finished rendering"),w&&Q.logSummary(),vA}finally{_&&_.restoreTree()}},pw=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?gt(t,getComputedStyle(r.documentElement).backgroundColor):Ce.TRANSPARENT,n=r.body?gt(t,getComputedStyle(r.body).backgroundColor):Ce.TRANSPARENT,o=typeof e=="string"?gt(t,e):e===null?Ce.TRANSPARENT:4294967295;return A===r.documentElement?De(s)?De(n)?o:n:s:o},nr=2147e6,qi=nr,mt=nr,Cw=nr-100,Qw=nr-50,mw=nr-150,Be="data-vg-pin-id",Uw=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Ac=(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""}},ec=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=m.useRef(null),o=()=>{if(!n.current||!s)return;const g=n.current.getBoundingClientRect(),d=g.top,B=window.innerHeight-g.bottom,u=d<140&&B>d?"bottom":"top";s({url:t,x:g.left+g.width/2,y:u==="top"?g.top:g.bottom,direction:u})},a=g=>g.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),i=()=>{try{const g=a(window.location.pathname),d=new URL(t),B=a(d.pathname);return g===B||g.startsWith(B)||B.startsWith(g)}catch{return!1}};return c.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:i()?1:.6,borderColor:i()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[c.jsx(ot,{"data-vg-id":"353251b6","data-source-path":"/src/components/ViewGateOverlay.tsx:150",size:e?.fontSize?parseInt(e.fontSize)+1:10}),c.jsx("span",{"data-vg-id":"1b724dd0","data-source-path":"/src/components/ViewGateOverlay.tsx:151",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},or=t=>{const A=[],e=[],r=[];let s=t,n=!1;for(;s&&s.nodeType===Node.ELEMENT_NODE;){const o=s.localName.toLowerCase();let a=1,i=s.previousElementSibling;for(;i;)i.localName.toLowerCase()===o&&a++,i=i.previousElementSibling;const g=o==="body"||o==="head"||o==="html"?o:`${o}:nth-of-type(${a})`;if(r.unshift(g),!n){const d=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(d){const B=s.hasAttribute("data-testid")?"data-testid":"data-qa";e.push(`[${B}="${d}"]`)}s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")?(A.unshift(`#${s.id}`),n=!0):d?(A.unshift(`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${d}"]`),n=!0):A.unshift(g)}if(s=s.parentElement,o==="html")break}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},tc=t=>{const{vgPath:A}=or(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||t.getAttribute("title")||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,testId:t.getAttribute("data-testid")||t.getAttribute("data-qa")||void 0,textSnippet:(t.innerText||"").slice(0,50).trim()}},xw=(()=>{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}})(),Fw=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]=xw(n)}),e},yw=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"},hs=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",a=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,i=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,g=t.getAttribute("class")||"",d=g.toLowerCase().includes("modal")||g.toLowerCase().includes("dialog");return!!(o&&n>=100&&(a||i||d))},ws=t=>{let A=t;for(;A&&A!==document.body;){if(hs(A))return A;A=A.parentElement}return null},be=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)},rc=(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=rc(t,n);if(o)return o}}return null},sc=(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},Ew=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(!ar(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),a=t.attributes?.placeholder||t.fingerprint?.placeholder;a&&o===a&&(n+=6);const i=s.getAttribute("type"),g=t.attributes?.type||t.fingerprint?.type;if(g&&i===g&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:d}=or(s);(d===t.vgPath||t.fingerprint?.vgPath===d)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},ar=(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)},nc=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${Be}="${A}"]`));if(o.length>0){const a=o.filter(i=>ar(i,t));if(a.length===0)o.forEach(i=>i.removeAttribute(Be));else{const i=a.find(d=>{const{vgPath:B}=or(d);return B===t.vgPath||t.fingerprint?.vgPath===B}),g=i&&be(i)?i:a.find(d=>!(!be(d)||t.metadata?.isModal&&!d.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return g?(o.forEach(d=>{d!==g&&d.removeAttribute(Be)}),g):null}}}if(t.vgPath)try{const o=document.querySelector(t.vgPath);if(o&&ar(o,t)&&be(o)&&(!t.metadata?.isModal||ws(o)))return o}catch{}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>ar(o,t));let s=r.find(o=>{const{vgPath:a}=or(o);return a===t.vgPath||t.fingerprint?.vgPath===a})||r[0]||null;if(s&&be(s))if(t.metadata?.isModal&&!ws(s))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const a=rc(o);if(a&&ar(a,t)&&be(a)){if(t.metadata?.isModal&&!ws(a))continue;return a}}const n=Ew(t);return n&&be(n)?t.metadata?.isModal&&!ws(n)?null:n:null},$n=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}),oc=t=>{if(!t)return"";let A=t.replace(/<path[^>]*d="([^"]{50,})"[^>]*\/?>/gi,(e,r)=>e.replace(r,`${r.substring(0,20)}...[STRIPPED_${r.length}]`));return A=A.replace(/<polygon[^>]*points="([^"]{50,})"[^>]*\/?>/gi,(e,r)=>e.replace(r,`${r.substring(0,20)}...[STRIPPED_${r.length}]`)),A},bw=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>$n(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:{...$n(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:$n(A),siblings:e}},ac=(t,A)=>{const e=t.getAttribute("data-vg-id")||void 0;let r;const n=Object.keys(t).find(y=>y.startsWith("__reactFiber$")||y.startsWith("__reactInternalInstance$"));if(n){let y=t[n];for(;y;){if(y._debugSource){const{fileName:p,lineNumber:T,columnNumber:I}=y._debugSource;r=`${p}:${T}${I?":"+I:""}`;break}y=y.return}}const o=tc(t),a={vgId:e?1:0,fiber:r?.8:0,fingerprint:.5+(o.testId?.3:0)+(o.ariaLabel?.1:0)};let i=t.getAttribute("data-source-path")||r||"unknown:0";const g=yw(t),{selector:d,fallbacks:B,vgPath:u}=or(t),f={};["placeholder","aria-label","name","type","alt","title","value","role","data-testid"].forEach(y=>{const p=t.getAttribute(y);p&&(f[y]=p)});const w=(()=>{let y=t;for(;y&&y!==document.body;){if(hs(y))return!0;y=y.parentElement}return!1})();let Q;w&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(Q=ac(A));const F=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${d.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:d,vgPath:u,vgId:e,outerHtml:oc(t.outerHTML),parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(y=>`${y.name}="${y.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:g,signature:F,source:i,attributes:f,confidence:a,fallbackSelectors:[...new Set(B)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:bw(t),fingerprint:tc(t),metadata:{hint:`Edit ${i.split(":")[0]} at line ${i.split(":")[1]||"?"}`,computedStyles:Fw(t),viewportBreakpoint:Uw(),outerHtml:oc(t.outerHTML).slice(0,2e3),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:w,triggerReference:Q}}},ic=()=>{const{mutate:t}=To(),{addToast:A,language:e,t:r,apiKey:s,baseUrl:n,dashboardUrl:o,disableViewGate:a,hasActiveToasts:i}=Vo(),[g,d]=m.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),B=m.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[g]);m.useEffect(()=>{const l=()=>d(window.location.pathname+window.location.search);window.addEventListener("popstate",l);const h=window.history.pushState,C=window.history.replaceState;return window.history.pushState=function(...U){h.apply(this,U),setTimeout(l,0)},window.history.replaceState=function(...U){C.apply(this,U),setTimeout(l,0)},()=>{window.removeEventListener("popstate",l),window.history.pushState=h,window.history.replaceState=C}},[]);const[u,f]=m.useState(!1),[w,Q]=m.useState("medium"),[F,y]=m.useState("medium"),[p,T]=m.useState("all"),[I,H]=m.useState(null),[K,N]=m.useState(null),[W,D]=m.useState(""),[lA,vA]=m.useState(!1),[_,yA]=m.useState([]),[$,IA]=m.useState([{name:r.figmaPrimaryDesign,link:""}]),[X,ae]=m.useState([]),[ie,Ve]=m.useState([]),[Ae,x]=m.useState(!1),[M,J]=m.useState(""),[q,ee]=m.useState(!1),[ve,AA]=m.useState("down");m.useRef(null);const[DA,ge]=m.useState(!1),[RA,ue]=m.useState(!1),[PA,Ut]=m.useState([]),[HA,qe]=m.useState(null),[xt,eA]=m.useState(""),[fA,hA]=m.useState(!1),[dA,te]=m.useState({}),[iA,BA]=m.useState(null),[VA,Ne]=m.useState(!1),[zA,ir]=m.useState(null),[Ao,re]=m.useState([]),[tA,At]=m.useState(()=>typeof window>"u"?null:localStorage.getItem("vg_token")||sessionStorage.getItem("vg_token")),[SA,et]=m.useState(()=>{if(typeof window>"u")return null;const l=localStorage.getItem("vg_user")||sessionStorage.getItem("vg_user");return l?JSON.parse(l):null}),[cr,eo]=m.useState(()=>typeof window>"u"?null:localStorage.getItem("vg_role")||sessionStorage.getItem("vg_role")),[tt,cc]=m.useState(""),[to,lc]=m.useState(!1),[pp,Cp]=m.useState(!1),[lr,Sw]=m.useState(!1),[ps,Lw]=m.useState(!1),[dc,Tw]=m.useState(!1),[Cs,ro]=m.useState(!0),Ow=async l=>{if(l&&l.preventDefault(),!(!tt.trim()||!n)){lc(!0);try{const h=await fetch(`${n}/api/auth/me`,{headers:{Authorization:`Bearer ${tt.trim()}`}});if(!h.ok)throw new Error("Invalid token");const C=await h.json(),U=C.user,E=C.role||U?.role||"dev";At(tt.trim()),et(U),eo(E),localStorage.setItem("vg_token",tt.trim()),localStorage.setItem("vg_user",JSON.stringify(U)),localStorage.setItem("vg_role",E),A(e==="es"?"Sesión iniciada correctamente":"Logged in successfully","success"),cc("")}catch{A(e==="es"?"Clave inválida o expirada":"Invalid or expired key","error")}finally{lc(!1)}}};m.useEffect(()=>{const l=h=>{if(h.data?.type?.startsWith("VIEWGATE_")&&console.log("[VIEWGATE_WRAPPER] Received message:",h.data.type,h.data),h.data?.type==="VIEWGATE_AUTH_SUCCESS"||h.data?.type==="VIEWGATE_SILENT_AUTH"){const{token:C,user:U,role:E,error:R}=h.data;if(console.log("[VIEWGATE_WRAPPER] Auth process:",{type:h.data.type,hasToken:!!C,hasUser:!!U}),R==="NO_SESSION")return;if(C&&C!==sessionStorage.getItem("vg_token")||!C&&sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Session sync detected change, clearing caches");const O=n;t(L=>typeof L=="string"&&O&&L.startsWith(O),void 0,{revalidate:!0}),Ut([])}C?(At(C),sessionStorage.setItem("vg_token",C),localStorage.setItem("vg_token",C),U&&(et(U),eo(E||U.role||"dev"),sessionStorage.setItem("vg_user",JSON.stringify(U)),localStorage.setItem("vg_user",JSON.stringify(U)),(E||U.role)&&(sessionStorage.setItem("vg_role",E||U.role),localStorage.setItem("vg_role",E||U.role))),h.data.type==="VIEWGATE_AUTH_SUCCESS"&&A(e==="es"?"Sesión iniciada correctamente":"Logged in successfully","success")):console.warn("[VIEWGATE_WRAPPER] Auth message received but token was missing")}if(h.data?.type==="VIEWGATE_LOGOUT"){if(console.log("[VIEWGATE_WRAPPER] Logout message received"),sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Protective logout: Ignoring logout since we have a valid manual session.");return}console.log("[VIEWGATE_WRAPPER] Logout confirmed"),At(null),et(null),eo(null),ro(!1),sessionStorage.removeItem("vg_token"),sessionStorage.removeItem("vg_user"),sessionStorage.removeItem("vg_role"),localStorage.removeItem("vg_token"),localStorage.removeItem("vg_user"),localStorage.removeItem("vg_role");const U=n;t(E=>typeof E=="string"&&U&&E.startsWith(U),void 0,{revalidate:!1}),Ut([]),ir(null),f(!1),N(null),D(""),ue(!1)}};return window.addEventListener("message",l),()=>window.removeEventListener("message",l)},[e,A]);const Bc=m.useCallback(()=>{if(!s||!n||ps)return;const l={"x-api-key":s};tA&&(l.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/settings-check`,{headers:l}).then(h=>h.json()).then(h=>{typeof h.isFigmaConnected=="boolean"&&x(h.isFigmaConnected),typeof h.hasEndpoints=="boolean"&&Tw(h.hasEndpoints),Lw(!0)}).catch(h=>console.error("Failed to fetch project settings-check",h))},[s,n,ps]),so=m.useCallback(()=>{if(!s||!n||lr)return;const l={"x-api-key":s};tA&&(l.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/endpoints`,{headers:l}).then(h=>h.json()).then(h=>{h.endpoints&&Array.isArray(h.endpoints)?Ve(h.endpoints):Array.isArray(h)&&Ve(h),typeof h.isFigmaConnected=="boolean"&&x(h.isFigmaConnected),Sw(!0)}).catch(h=>console.error("Failed to fetch project endpoints",h))},[s,n,lr]);m.useEffect(()=>{u&&(ps||Bc())},[u,ps,Bc]),m.useEffect(()=>{q&&!lr&&so()},[q,lr,so]),m.useEffect(()=>{if(_.length===0)return;const l=["frontend"];dc&&l.push("backend"),Ae&&l.push("ux");const h=_.filter(C=>l.includes(C));h.length!==_.length&&yA(h)},[ie.length,Ae,_]);const gc=m.useCallback(async l=>{const h={"x-api-key":s};tA&&(h.Authorization=`Bearer ${tA}`);const C=await fetch(l,{headers:h});if(!C.ok){C.status===403&&ro(!1);const U=await C.json().catch(()=>({})),E=new Error(U.message||U.error||"Fetch failed");throw E.status=C.status,E}return ro(!0),C.json()},[s,tA]),Kw=m.useMemo(()=>B?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[B]),{data:Qs,isLoading:ms,error:uc}=Ko(s?`${n}/api/projects/active-sprint`:null,gc,{revalidateOnFocus:!0,revalidateOnMount:!0,dedupingInterval:6e4}),{data:dr,isLoading:rt,mutate:Us}=Ko(s&&(Qs||B)?`${n}/api/annotations?status=${Kw}`:null,gc,{refreshInterval:3e4,revalidateOnFocus:!0,dedupingInterval:5e3}),[st,fc]=m.useState(null),hc=m.useRef(PA);hc.current=PA;const[NA,xs]=m.useState(null),wc=m.useRef(null),[Ft,Dw]=m.useState([]),pc=m.useMemo(()=>{const l=(M||"").toLowerCase().trim();return l?ie.filter(h=>{const C=h.path&&h.path.toLowerCase().includes(l),U=h.description&&h.description.toLowerCase().includes(l),E=h.method&&h.method.toLowerCase().includes(l);return C||U||E}):ie},[ie,M]),Cc=m.useMemo(()=>{const l={},h=e==="es"?"Seleccionados":"Selected";return pc.forEach(C=>{const U=`${C.method}|${C.path}`;X.includes(U)&&(l[h]||(l[h]={name:h,endpoints:[]}),l[h].endpoints.push(C));const R=(C.path||"").split("/").filter(gA=>gA&&!["api","v1.0","v2","rest"].includes(gA.toLowerCase()));let O=R.length>0?R[0]:"General";O=O.replace(/([a-z])([A-Z])/g,"$1 $2"),O=O.replace(/([A-Z])([A-Z][a-z])/g,"$1 $2"),O=O.charAt(0).toUpperCase()+O.slice(1),l[O]||(l[O]={name:O,endpoints:[]});const L=l[O];L&&L.endpoints.push(C)}),Object.values(l).sort((C,U)=>C.name===h?-1:U.name===h||C.name==="General"?1:U.name==="General"?-1:C.name.localeCompare(U.name))},[pc,X,e]),no=m.useMemo(()=>{let l=Array.isArray(PA)?PA:[];if(iA){const C=Ft.find(U=>U.annotations&&Array.isArray(U.annotations)&&U.annotations.some(E=>E._id===iA));C?l=C.annotations:l=l.filter(U=>U._id===iA)}return l=l.filter(C=>C.status!=="completed"&&C.status!=="done"),window.location.href.includes("viewgate-backlog")||(NA==="pending"?l=l.filter(C=>C.status!=="ready_for_review"):NA==="ready"&&(l=l.filter(C=>C.status==="ready_for_review"))),p!=="all"&&(l=l.filter(C=>(C.priority||"medium")===p)),l},[iA,PA,Ft,NA,p]);m.useEffect(()=>{iA&&no.length===0&&!rt&&BA(null)},[iA,no.length,rt]);const[yt,Rw]=m.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const l=localStorage.getItem("vg-bar-pos");return l?JSON.parse(l):{bottom:30,right:30}}),[Br,Qc]=m.useState(!1),Ie=m.useRef(null),Mw=l=>{l.preventDefault(),l.stopPropagation();const h=l.currentTarget.parentElement?.getBoundingClientRect();h&&(Qc(!0),Ie.current={x:l.clientX,y:l.clientY,bottom:yt.bottom,right:yt.right,width:h.width,height:h.height})};m.useEffect(()=>{if(!Br)return;const l=C=>{if(Br&&Ie.current){const U=C.clientX-Ie.current.x,E=C.clientY-Ie.current.y;let R=Ie.current.bottom-E,O=Ie.current.right-U;const L=10;R=Math.max(L,Math.min(window.innerHeight-Ie.current.height-L,R)),O=Math.max(L,Math.min(window.innerWidth-Ie.current.width-L,O)),Rw({bottom:R,right:O})}},h=()=>{Br&&(Qc(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(yt)),Ie.current=null)};return window.addEventListener("mousemove",l),window.addEventListener("mouseup",h),()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",h)}},[Br,yt]);const[Et,Fs]=m.useState(null),[mc,Uc]=m.useState(""),[Qp,kw]=m.useState([]),[mp,Gw]=m.useState([]),[Up,ys]=m.useState([]),[Es,xc]=m.useState(!1);m.useEffect(()=>{Et&&ys(X)},[X,Et]);const[xp,Fp]=m.useState({}),oo=m.useRef(null),bt=m.useRef(null),ao=m.useRef(null),bs=m.useRef(!1),Fc=m.useCallback(()=>{typeof window>"u"||bs.current||(bt.current&&cancelAnimationFrame(bt.current),bt.current=requestAnimationFrame(()=>{bt.current=null,bs.current=!0,ao.current;const l=hc.current,h=Array.isArray(l)?l:[],C=new Set(h.map(G=>G._id));document.querySelectorAll(`[${Be}]`).forEach(G=>{const wA=G.getAttribute(Be);wA&&!C.has(wA)&&G.removeAttribute(Be)});const U=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], [class*="modal" i], [class*="dialog" i], .fixed, .modal-backdrop, .fixed.inset-0')),E=U.find(G=>hs(G)&&be(G));let R=!!E;console.log("[ViewGate Debug] Modal Detection:",{potentialModals:U.length,activeModal:E,isAnyModalOpen:R});const O=new Map;h.forEach(G=>{if(!G||!G.reference)return;try{const bA=()=>{const Y=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),_A=new URLSearchParams(window.location.search);_A.delete("viewgate"),_A.sort();const jA=_A.toString();return jA?`${Y}?${jA}`:Y},UA=Y=>{try{const _A=new URL(Y),jA=_A.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),pA=new URLSearchParams(_A.search);pA.delete("viewgate"),pA.sort();const TA=pA.toString();return TA?`${jA}?${TA}`:jA}catch{return""}},LA=bA(),He=UA(G.url);if(LA!==He)return}catch{return}const wA=!!G.reference.metadata?.isModal;let rA=nc(G.reference,G._id);if(console.log(`[ViewGate Debug] Processing Pin [${G._id}]:`,{isModalTarget:wA,targetEl:rA,isVisible:rA?be(rA):!1}),!rA||!be(rA))return;let nA=!1;if(wA?(nA=!0,R=!0,console.log(`[ViewGate Debug] Pin [${G._id}] Modal Open Check: isModalTarget=true`)):(nA=!R,console.log(`[ViewGate Debug] Pin [${G._id}] No Modal Check: !isAnyModalOpen=${nA}`)),!nA)return;const mA=rA.getAttribute(Be);mA!==G._id&&(document.querySelectorAll(`[${Be}="${G._id}"]`).forEach(bA=>{bA.removeAttribute(Be)}),mA||rA.setAttribute(Be,G._id));const EA=O;EA.has(rA)||EA.set(rA,{anns:[]}),EA.get(rA).anns.push(G)});const L=[];(G=>{G.forEach((wA,rA)=>{const{anns:nA}=wA,mA=rA.getBoundingClientRect(),EA=mA.left+mA.width/2,bA=mA.top+mA.height/2;if(EA>=0&&EA<=window.innerWidth&&bA>=0&&bA<=window.innerHeight){const UA=document.elementFromPoint(EA,bA),LA=document.getElementById("viewgate-shadow-host");if(UA&&!rA.contains(UA)&&UA!==LA&&!LA?.contains(UA))return}L.push({id:nA[0]._id,element:rA,rect:mA,annotations:nA.sort((UA,LA)=>new Date(LA.timestamp||LA.createdAt).getTime()-new Date(UA.timestamp||UA.createdAt).getTime()),isModal:!!nA[0].reference?.metadata?.isModal})})})(O),Dw(L),bs.current=!1}))},[zA]);m.useEffect(()=>{if(dr){const l=Array.isArray(dr)?dr:dr?.data||[];if(Array.isArray(l)){const h=l.reduce((C,U)=>C.find(R=>R._id===U._id)?C:C.concat([U]),[]);Ut(h)}}else rt||Ut([])},[dr,rt]),m.useEffect(()=>{ir(Qs||null)},[Qs]),m.useEffect(()=>{RA&&PA.length===0&&!rt&&ue(!1)},[RA,PA.length,rt]),m.useEffect(()=>{let l=null;const h=()=>{bs.current||Fc()},C=new MutationObserver(R=>{R.some(L=>L.type!=="attributes"||L.attributeName!==Be&&!L.target.parentElement?.closest("#viewgate-shadow-host"))&&(l&&clearTimeout(l),l=setTimeout(()=>{h(),setTimeout(h,350)},32))});ao.current=C;const U=new ResizeObserver(()=>h()),E=()=>h();return h(),C.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),U.observe(document.documentElement),window.addEventListener("scroll",E,{capture:!0,passive:!0}),()=>{l&&clearTimeout(l),C.disconnect(),U.disconnect(),window.removeEventListener("scroll",E,!0),bt.current&&cancelAnimationFrame(bt.current),ao.current=null}},[u,PA,Fc,RA,iA,g]);const io=m.useCallback(l=>{let h=l;for(;h&&h!==document.body;){if(hs(h))return h;h=h.parentElement}return null},[]);m.useEffect(()=>{const l=h=>{const C=h.target;C&&(io(C)||(wc.current=C))};return window.addEventListener("mousedown",l,!0),()=>window.removeEventListener("mousedown",l,!0)},[io]),m.useEffect(()=>{oo.current=document.getElementById("viewgate-shadow-host")},[]);const co=m.useCallback(l=>{if(!u||K)return;const h=sc(l.clientX,l.clientY);if(!h||oo.current?.contains(h)||h.closest(".vg-no-capture")){H(null);return}const C=h.getBoundingClientRect();H({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:{...ac(h,wc.current),normalizedOffset:{x:(l.clientX-C.left)/C.width,y:(l.clientY-C.top)/C.height}}})},[u,K]),lo=m.useCallback(async l=>{if(!u||K)return;const h=sc(l.clientX,l.clientY);if(!(!h||oo.current?.contains(h)||h.closest(".vg-no-capture"))&&I){const C=I;let U=C.element;io(U);let E=C.semanticReference,R=C.tag;l.preventDefault(),l.stopPropagation(),ge(!0);try{await new Promise(Y=>requestAnimationFrame(Y)),await new Promise(Y=>setTimeout(Y,80));const O=U.getBoundingClientRect(),L=document.documentElement,gA=window.devicePixelRatio||1,G=Math.max(gA,3),wA=Array.from(L.querySelectorAll("img"));await Promise.all(wA.map(Y=>{const _A=Y.getBoundingClientRect();return _A.bottom>-200&&_A.top<window.innerHeight+200&&(Y.loading==="lazy"&&(Y.loading="eager"),!Y.complete)?new Promise(jA=>{Y.onload=jA,Y.onerror=jA}):Promise.resolve()})).catch(()=>{});const rA=window.scrollX||window.pageXOffset,nA=window.scrollY||window.pageYOffset,mA=O.left,EA=O.top,bA=await Zn(L,{scale:G,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:rA,y:nA,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:Y=>{const _A=[];document.querySelectorAll("*").forEach((pA,TA)=>{const v=pA;if(v.shadowRoot){const YA=`sh-${TA}`;v.setAttribute("data-vg-capture-id",YA),_A.push({original:v,id:YA})}}),_A.forEach(({original:pA,id:TA})=>{const v=Y.querySelector(`[data-vg-capture-id="${TA}"]`);if(v&&pA.shadowRoot)try{const YA=pA.shadowRoot.cloneNode(!0);v.innerHTML="",Array.from(YA.childNodes).forEach(vs=>{v.appendChild(Y.importNode(vs,!0))})}catch(YA){console.warn("[ViewGate] Shadow DOM flatting failed",YA)}}),Y.querySelectorAll('input[type="password"]').forEach(pA=>{pA.value="••••••••"}),Y.querySelectorAll("[data-vg-mask]").forEach(pA=>{const TA=pA;TA.style.filter="blur(10px) grayscale(1)",TA.style.opacity="0.7",["INPUT","TEXTAREA"].includes(TA.tagName)||(TA.innerText="• REDACTED •")});const jA=Y.getElementById("viewgate-shadow-host");jA&&(jA.style.display="none"),Y.querySelectorAll(".vg-selection-overlay").forEach(pA=>{pA.style.display="none"}),document.querySelectorAll("[data-vg-capture-id]").forEach(pA=>pA.removeAttribute("data-vg-capture-id"))},ignoreElements:Y=>Y.id==="viewgate-shadow-host"||Y.classList.contains("vg-no-capture")||Y.classList.contains("vg-selection-overlay")}),UA=document.createElement("canvas"),LA=UA.getContext("2d"),He=24;if(UA.width=(O.width+He*2)*G,UA.height=(O.height+He*2)*G,LA){LA.imageSmoothingEnabled=!0,LA.imageSmoothingQuality="high";const Y=(mA-He)*G,_A=(EA-He)*G;LA.drawImage(bA,-Y,-_A,bA.width,bA.height),UA.toBlob(async jA=>{const pA={...C,element:U,rect:U.getBoundingClientRect(),semanticReference:E,tag:R};if(jA){const TA=new FileReader;TA.onloadend=()=>{N({...pA,visualPreview:TA.result})},TA.readAsDataURL(jA)}else N(pA)},"image/webp",.98)}}catch(O){console.error("[ViewGate] Capture Error:",O),N(I)}finally{ge(!1),H(null)}}},[u,I,K]);m.useEffect(()=>{const l=h=>{const U=(()=>{let O=document.activeElement;for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O})();if(["input","textarea"].includes((U?.tagName||"").toLowerCase())||U?.isContentEditable)return;const R=h.key.toLowerCase();if(!tA){(R==="c"||R==="v")&&A(e==="es"?"Debes iniciar sesión en el Dashboard para usar ViewGate":"Log in to the Dashboard to use ViewGate","warning");return}if(h.key==="Escape"){K?N(null):RA?ue(!1):u&&f(!1);return}if(R==="c"&&!h.ctrlKey&&!h.metaKey&&!K&&!RA){if(!Cs){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}if(cr==="client"){A(e==="es"?"Acceso de solo lectura (Backlog)":"Read-only access (Backlog)","warning");return}if(ms&&!u){if(uc?.status===403||!Cs){const gA=uc?.message||(e==="es"?"Acceso denegado a este proyecto":"No project access");A(gA,"error");return}A(e==="es"?"Verificando información del sprint...":"Checking sprint info...","warning");return}if(!(zA&&zA.status!=="closed")&&!B&&!u){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(L=>!L)}if(R==="v"&&!K){if(!Cs){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}(PA.length>0||RA)&&(ue(O=>!O),RA||f(!1))}};return u&&!K?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",l),window.addEventListener("mousemove",co,!0),window.addEventListener("click",lo,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",l),window.removeEventListener("mousemove",co,!0),window.removeEventListener("click",lo,!0)}},[u,K,RA,PA,co,lo,tA,cr]);const Vw=async()=>{if(!K||!W.trim())return;if(_.includes("backend")&&X.length===0){A(e==="es"?"Selecciona al menos un endpoint de backend":"Select at least one backend endpoint","error");return}if(_.includes("ux")&&$.some(O=>!O.name.trim()||!O.link.trim())){A(e==="es"?"Todos los diseños de Figma deben tener nombre y link":"All Figma designs must have a name and link","error");return}if(!SA){A(e==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}vA(!0);const{semanticReference:l}=K,[h,C]=(l.source||"").split(":"),E={filePath:h,line:parseInt(C||"0"),url:window.location.href,title:W.length>50?W.substring(0,50)+"...":W,message:W,status:B?"backlog":"pending",priority:w,type:K.visualPreview&&!B&&Qs?.status==="active"?"bug":"task",screenshot:K.visualPreview,componentName:l.componentPath||K.tag,reference:{...l,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()},focusAreas:_,figmaReference:_.includes("ux")?$:void 0,backendEndpoints:_.includes("backend")?X:[]};SA&&(E.creator={name:SA.name,email:SA.email,avatar:SA.avatar});try{const R=await fetch(`${n}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":s,Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify(E)});if(!R.ok){const O=await R.json().catch(()=>({}));throw new Error(O.message||O.error||"Backend failed")}A(r.success,"success"),N(null),D(""),yA([]),IA([{name:r.figmaPrimaryDesign,link:""}]),ae([]),f(!1),Us()}catch(R){console.error(R);const O=R.message&&R.message!=="Backend failed"?R.message:r.error;A(O,"error")}finally{vA(!1)}},Nw=async l=>{ge(!0);try{const h=nc(l.reference,l._id);if(!h){A(e==="es"?"No se pudo encontrar el elemento original para la captura":"Could not find the original element for capture","error"),ge(!1);return}h.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(nA=>setTimeout(nA,600));const C=h.style.outline,U=h.style.transition;h.style.transition="outline 0.3s ease",h.style.outline="4px solid #10b981",h.style.outlineOffset="4px",await new Promise(nA=>setTimeout(nA,400)),h.style.outline=C,h.style.transition=U,await new Promise(nA=>requestAnimationFrame(nA)),await new Promise(nA=>setTimeout(nA,50));const E=h.getBoundingClientRect(),R=document.documentElement,O=window.devicePixelRatio||1,L=Math.max(O,3),gA=await Zn(R,{scale:L,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:window.scrollX,y:window.scrollY,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:nA=>{const mA=nA.getElementById("viewgate-shadow-host");mA&&(mA.style.display="none"),nA.querySelectorAll(".vg-selection-overlay, .vg-formal-pin").forEach(EA=>{EA.style.display="none"})}}),G=document.createElement("canvas"),wA=G.getContext("2d"),rA=32;if(G.width=(E.width+rA*2)*L,G.height=(E.height+rA*2)*L,wA){wA.imageSmoothingEnabled=!0,wA.imageSmoothingQuality="high";const nA=(E.left-rA)*L,mA=(E.top-rA)*L;wA.drawImage(gA,-nA,-mA,gA.width,gA.height);const EA=G.toDataURL("image/webp",.95),bA=await fetch(`${n}/api/tickets/${l._id}`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({status:"completed",resolvedScreenshot:EA})});if(!bA.ok){const UA=await bA.json().catch(()=>({}));throw new Error(UA.message||UA.error||"API failed")}A(e==="es"?"¡Ticket resuelto con éxito!":"Ticket resolved successfully!","success"),Us()}h.style.outline=C,h.style.transition=U}catch(h){console.error("[ViewGate] Resolve with evidence failed:",h),A(e==="es"?`Error: ${h.message}`:`Error: ${h.message}`,"error")}finally{ge(!1)}};return c.jsx("div",{"data-vg-id":"ef883ffc","data-source-path":"/src/components/ViewGateOverlay.tsx:2240",className:"vg-container",children:c.jsxs("div",{"data-vg-id":"ef883ffd","data-source-path":"/src/components/ViewGateOverlay.tsx:2241",className:"vg-no-capture",children:[c.jsxs("div",{style:{position:"fixed",bottom:`${yt.bottom}px`,right:`${yt.right}px`,zIndex:qi,display:"flex",alignItems:"center",gap:"8px",transition:Br?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[c.jsx("div",{onMouseDown:Mw,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:u?0:1,visibility:u?"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:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color="#000000"},onMouseLeave:l=>{l.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",l.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:c.jsx(hl,{"data-vg-id":"3dbe6a11","data-source-path":"/src/components/ViewGateOverlay.tsx:2288",size:16})}),c.jsxs("div",{"data-vg-id":"ef883fff","data-source-path":"/src/components/ViewGateOverlay.tsx:2291",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[tA?Cs?c.jsxs(c.Fragment,{children:[cr!=="client"&&c.jsx("button",{onClick:()=>{if(ms&&!u){A(e==="es"?"Sincronizando con el servidor...":"Syncing with server...","warning");return}if(!zA&&!B&&!u){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(!u)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:u?"#ef4444":!zA&&!B?"#94a3b8":void 0,cursor:!zA&&!B&&!u?"not-allowed":"pointer",opacity:!zA&&!B&&!u?.7:1},title:!zA&&!B&&!u?e==="es"?"Requiere sprint activo":"Requires active sprint":"",children:c.jsxs("div",{"data-vg-id":"ef884001","data-source-path":"/src/components/ViewGateOverlay.tsx:2330",style:{display:"flex",alignItems:"center",gap:"10px"},children:[ms&&!u?c.jsx(wr,{"data-vg-id":"edca6150","data-source-path":"/src/components/ViewGateOverlay.tsx:2332",size:20,className:"vg-animate-spin"}):u?c.jsx(Lt,{"data-vg-id":"ff5f5cf","data-source-path":"/src/components/ViewGateOverlay.tsx:2334",size:20,className:"vg-animate-pop"}):c.jsx(pr,{"data-vg-id":"10c621c4","data-source-path":"/src/components/ViewGateOverlay.tsx:2336",size:20,className:"vg-animate-pop"}),c.jsx("span",{"data-vg-id":"52d76c43","data-source-path":"/src/components/ViewGateOverlay.tsx:2338",children:ms&&!u?e==="es"?"Cargando...":"Loading...":u?r.exitMode:r.enterMode})]})}),PA.length>0&&c.jsxs("button",{onClick:()=>{ue(!RA),f(!1),N(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[c.jsx(fl,{"data-vg-id":"cd7341f9","data-source-path":"/src/components/ViewGateOverlay.tsx:2356",size:20}),c.jsx("span",{"data-vg-id":"52d76c45","data-source-path":"/src/components/ViewGateOverlay.tsx:2357",children:r.viewComments})]})]}):c.jsx("div",{"data-vg-id":"ef884000","data-source-path":"/src/components/ViewGateOverlay.tsx:2294",style:{padding:"8px 16px",background:"#fee2e2",color:"#b91c1c",borderRadius:"20px",fontSize:"12px",fontWeight:600,border:"1px solid #fecaca",whiteSpace:"nowrap"},children:e==="es"?"Acceso denegado a este proyecto":"No project access"}):c.jsxs("button",{onClick:()=>{f(!0),N({rect:new DOMRect})},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:"var(--vg-primary-gradient)",display:"flex",alignItems:"center",gap:"10px"},children:[c.jsx(ko,{"data-vg-id":"422a5ea5","data-source-path":"/src/components/ViewGateOverlay.tsx:2377",size:18}),c.jsx("span",{"data-vg-id":"52d76c47","data-source-path":"/src/components/ViewGateOverlay.tsx:2378",style:{fontWeight:700},children:e==="es"?"Desbloquear con Clave":"Unlock with Key"})]}),c.jsx("button",{onClick:l=>{l.stopPropagation(),qe({title:r.exitConfirmTitle||"Close ViewGate?",message:r.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>a()})},className:"vg-button-ghost vg-animate-pop",style:{width:"40px",height:"40px",minWidth:"40px",padding:"0",animationDelay:"0.2s",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.8)",color:"#64748b",border:"1px solid rgba(0,0,0,0.05)"},onMouseEnter:l=>{l.currentTarget.style.color="#ef4444",l.currentTarget.style.backgroundColor="white",l.currentTarget.style.borderColor="rgba(239, 68, 68, 0.2)",l.currentTarget.style.transform="scale(1.05)"},onMouseLeave:l=>{l.currentTarget.style.color="#64748b",l.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.8)",l.currentTarget.style.borderColor="rgba(0,0,0,0.05)",l.currentTarget.style.transform="scale(1)"},title:r.close||"Cerrar ViewGate",children:c.jsx(Lt,{"data-vg-id":"ff5f5d6","data-source-path":"/src/components/ViewGateOverlay.tsx:2422",size:20,strokeWidth:2.5})})]})]}),DA&&c.jsx("div",{"data-vg-id":"17fbf7e","data-source-path":"/src/components/ViewGateOverlay.tsx:2431",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:qi+1,cursor:"wait"},children:c.jsxs("div",{"data-vg-id":"17fbf7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2437",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[c.jsx("div",{"data-vg-id":"17fbf95","data-source-path":"/src/components/ViewGateOverlay.tsx:2438",className:"vg-spinner"}),c.jsx("span",{"data-vg-id":"52d76c61","data-source-path":"/src/components/ViewGateOverlay.tsx:2439",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),u&&!K&&c.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:I?`polygon(
13
13
  0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
14
- ${H.rect.left}px ${H.rect.top}px,
15
- ${H.rect.right}px ${H.rect.top}px,
16
- ${H.rect.right}px ${H.rect.bottom}px,
17
- ${H.rect.left}px ${H.rect.bottom}px,
18
- ${H.rect.left}px ${H.rect.top}px
19
- )`:"none",zIndex:Cp}}),f&&H&&!K&&!DA&&i.jsx("div",{className:"vg-selection-pulse",style:{top:H.rect.top-4,left:H.rect.left-4,width:H.rect.width+8,height:H.rect.height+8,zIndex:Qp},children:i.jsxs("div",{className:"vg-selection-label",style:{...H.rect.top<60?H.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...H.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[i.jsx(ml,{"data-vg-id":"f840c8ce","data-source-path":"/src/components/ViewGateOverlay.tsx:2458",size:16}),i.jsxs("div",{"data-vg-id":"17fbf98","data-source-path":"/src/components/ViewGateOverlay.tsx:2459",style:{display:"flex",flexDirection:"column"},children:[i.jsx("span",{"data-vg-id":"52d76c64","data-source-path":"/src/components/ViewGateOverlay.tsx:2460",style:{fontWeight:700},children:s.selectToComment}),i.jsxs("span",{"data-vg-id":"52d76c65","data-source-path":"/src/components/ViewGateOverlay.tsx:2461",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(H.rect.width)," × ",Math.round(H.rect.height)]})]})]})}),K&&!tA&&i.jsx("div",{"data-vg-id":"17fbf9b","data-source-path":"/src/components/ViewGateOverlay.tsx:2471",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:Ct},children:i.jsxs("div",{"data-vg-id":"17fbf9c","data-source-path":"/src/components/ViewGateOverlay.tsx:2476",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"440px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",padding:"40px 32px"},children:[i.jsxs("div",{"data-vg-id":"17fbf9d","data-source-path":"/src/components/ViewGateOverlay.tsx:2485",style:{textAlign:"center",marginBottom:"32px"},children:[i.jsx("div",{"data-vg-id":"17fbf9e","data-source-path":"/src/components/ViewGateOverlay.tsx:2486",style:{width:"64px",height:"64px",background:"var(--vg-primary-gradient)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 20px",color:"white",boxShadow:"0 8px 16px rgba(99, 102, 241, 0.2)"},children:i.jsx(wl,{"data-vg-id":"422a5ede","data-source-path":"/src/components/ViewGateOverlay.tsx:2491",size:32})}),i.jsx("h2",{"data-vg-id":"efa6bb80","data-source-path":"/src/components/ViewGateOverlay.tsx:2493",style:{margin:"0 0 12px 0",fontSize:"24px",fontWeight:800,color:"#0f172a",letterSpacing:"-0.02em"},children:e==="es"?"Acceso Requerido":"Authentication Required"}),i.jsx("p",{"data-vg-id":"1000def7","data-source-path":"/src/components/ViewGateOverlay.tsx:2496",style:{margin:0,color:"#64748b",fontSize:"15px",lineHeight:1.6},children:e==="es"?"Para dejar comentarios, debes iniciar sesión con tu cuenta de ViewGate.":"To leave feedback, please sign in with your ViewGate account."})]}),i.jsxs("button",{onClick:uc,className:"vg-button-primary",style:{width:"100%",padding:"14px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",fontSize:"15px",fontWeight:700,marginBottom:"16px"},children:[i.jsxs("svg",{"data-vg-id":"1bc8d104","data-source-path":"/src/components/ViewGateOverlay.tsx:2518",width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:[i.jsx("path",{"data-vg-id":"9b950dc8","data-source-path":"/src/components/ViewGateOverlay.tsx:2519",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),i.jsx("path",{"data-vg-id":"9b950dc9","data-source-path":"/src/components/ViewGateOverlay.tsx:2520",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),i.jsx("path",{"data-vg-id":"9b950dca","data-source-path":"/src/components/ViewGateOverlay.tsx:2521",d:"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.84z",fill:"#FBBC05"}),i.jsx("path",{"data-vg-id":"9b950dcb","data-source-path":"/src/components/ViewGateOverlay.tsx:2522",d:"M12 5.38c1.62 0 3.06.56 4.21 1.66l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z",fill:"#EA4335"})]}),e==="es"?"Continuar con Google":"Continue with Google"]}),i.jsx("button",{onClick:()=>{_(null),h(!1)},className:"vg-button-ghost",style:{width:"100%",padding:"12px",fontSize:"14px"},children:s.cancel}),i.jsx("div",{"data-vg-id":"17fbfbc","data-source-path":"/src/components/ViewGateOverlay.tsx:2538",style:{marginTop:"24px",textAlign:"center"},children:i.jsx("p",{"data-vg-id":"1000defe","data-source-path":"/src/components/ViewGateOverlay.tsx:2539",style:{fontSize:"11px",color:"#94a3b8",margin:0},children:e==="es"?"Tu sesión se sincronizará con el Dashboard principal.":"Your session will be synced with the main Dashboard."})})]})}),K&&SA&&i.jsx("div",{"data-vg-id":"17fbfd3","data-source-path":"/src/components/ViewGateOverlay.tsx:2551",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:Ct},children:i.jsxs("div",{"data-vg-id":"17fbfd4","data-source-path":"/src/components/ViewGateOverlay.tsx:2556",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"700px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[i.jsxs("div",{"data-vg-id":"17fbfd5","data-source-path":"/src/components/ViewGateOverlay.tsx:2566",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0,position:"relative"},children:[SA&&i.jsxs("div",{"data-vg-id":"17fbfd6","data-source-path":"/src/components/ViewGateOverlay.tsx:2568",className:"vg-profile-info-card",style:{position:"absolute",top:"20px",right:"20px",display:"flex",alignItems:"center",gap:"8px",padding:"4px 8px",borderRadius:"20px",background:"white",border:"1px solid #e2e8f0",boxShadow:"0 2px 6px rgba(0,0,0,0.05)",zIndex:10},children:[i.jsx("span",{"data-vg-id":"52d76ca2","data-source-path":"/src/components/ViewGateOverlay.tsx:2585",style:{fontSize:"10px",fontWeight:800,color:"#64748b",textTransform:"uppercase"},children:SA.name.split(" ")[0]}),SA.avatar?i.jsx("img",{"data-vg-id":"a398766","data-source-path":"/src/components/ViewGateOverlay.tsx:2589",src:SA.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"17fbfd9","data-source-path":"/src/components/ViewGateOverlay.tsx:2591",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:700},children:SA.name?.[0]})]}),i.jsx("div",{"data-vg-id":"17fbfda","data-source-path":"/src/components/ViewGateOverlay.tsx:2597",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:i.jsx(Us,{"data-vg-id":"10c62228","data-source-path":"/src/components/ViewGateOverlay.tsx:2602",size:20})}),i.jsx("h2",{"data-vg-id":"efa6bba7","data-source-path":"/src/components/ViewGateOverlay.tsx:2604",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:s.feedbackHeader}),i.jsx("p",{"data-vg-id":"1000df33","data-source-path":"/src/components/ViewGateOverlay.tsx:2605",style:{margin:0,color:"#64748b",fontSize:"14px"},children:s.feedbackSubheader})]}),i.jsxs("div",{"data-vg-id":"17fbff3","data-source-path":"/src/components/ViewGateOverlay.tsx:2609",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[K.visualPreview&&i.jsx("div",{"data-vg-id":"17fbff4","data-source-path":"/src/components/ViewGateOverlay.tsx:2618",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:i.jsx("img",{src:K.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),i.jsx("textarea",{className:"vg-textarea",value:W,onChange:d=>R(d.target.value),rows:4,placeholder:s.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),i.jsxs("div",{"data-vg-id":"17fbff5","data-source-path":"/src/components/ViewGateOverlay.tsx:2655",style:{marginBottom:"24px"},children:[i.jsx("label",{"data-vg-id":"18bd4b33","data-source-path":"/src/components/ViewGateOverlay.tsx:2656",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:s.priority}),i.jsx("div",{"data-vg-id":"17fbff7","data-source-path":"/src/components/ViewGateOverlay.tsx:2659",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>i.jsx("button",{onClick:()=>C(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:w===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:w===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:w===d?d==="low"?"#059669":d==="medium"?"#4338ca":d==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:s[d]},d))})]}),i.jsxs("div",{"data-vg-id":"17fbff8","data-source-path":"/src/components/ViewGateOverlay.tsx:2686",style:{marginBottom:"24px"},children:[i.jsx("label",{"data-vg-id":"18bd4b36","data-source-path":"/src/components/ViewGateOverlay.tsx:2687",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:s.focusAreas}),i.jsx("div",{"data-vg-id":"17fbffa","data-source-path":"/src/components/ViewGateOverlay.tsx:2690",style:{display:"flex",gap:"8px",marginBottom:N.length>0?"12px":"0"},children:[{id:"frontend",label:s.frontend,icon:i.jsx(xs,{"data-vg-id":"377c172e","data-source-path":"/src/components/ViewGateOverlay.tsx:2692",size:14}),color:"#10b981",bg:"#ecfdf5",border:"#d1fae5"},{id:"backend",label:s.backend,icon:i.jsx(Te,{"data-vg-id":"7117e5d5","data-source-path":"/src/components/ViewGateOverlay.tsx:2693",size:14}),color:"#6366f1",bg:"#eef2ff",border:"#e0e7ff"},{id:"ux",label:s.ux,icon:i.jsx(Ot,{"data-vg-id":"de42479a","data-source-path":"/src/components/ViewGateOverlay.tsx:2694",size:14}),color:"#d946ef",bg:"#fdf4ff",border:"#f5d0fe"}].filter(d=>d.id==="backend"?gc:d.id==="ux"?te:!0).map(d=>{const u=N.includes(d.id);return i.jsxs("button",{onClick:()=>{u?yA(N.filter(p=>p!==d.id)):(yA([...N,d.id]),d.id==="backend"&&yr())},style:{flex:1,padding:"10px 4px",borderRadius:"8px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:u?d.color:"#e2e8f0",backgroundColor:u?d.bg:"white",color:u?d.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[d.icon,d.label]},d.id)})}),N.includes("ux")&&i.jsxs("div",{"data-vg-id":"17fc013","data-source-path":"/src/components/ViewGateOverlay.tsx:2741",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[i.jsxs("div",{"data-vg-id":"17fc014","data-source-path":"/src/components/ViewGateOverlay.tsx:2742",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[i.jsxs("div",{"data-vg-id":"17fc015","data-source-path":"/src/components/ViewGateOverlay.tsx:2743",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx(en,{"data-vg-id":"38884e11","data-source-path":"/src/components/ViewGateOverlay.tsx:2744",size:14,style:{color:"#d946ef"}}),i.jsx("span",{"data-vg-id":"52d76ce2","data-source-path":"/src/components/ViewGateOverlay.tsx:2745",style:{fontSize:"11px",fontWeight:800,color:"#64748b",textTransform:"uppercase",letterSpacing:"0.05em"},children:s.figmaLink})]}),i.jsxs("button",{"data-vg-id":"23e21f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2749",onClick:()=>HA([...$,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"1px solid rgba(217, 70, 239, 0.2)",color:"#d946ef",borderRadius:"6px",padding:"4px 8px",fontSize:"10px",fontWeight:800,display:"flex",alignItems:"center",gap:"4px",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:d=>d.currentTarget.style.background="rgba(217, 70, 239, 0.15)",onMouseLeave:d=>d.currentTarget.style.background="rgba(217, 70, 239, 0.1)",children:[i.jsx(Cl,{"data-vg-id":"11a60c74","data-source-path":"/src/components/ViewGateOverlay.tsx:2768",size:10})," ",s.addLink]})]}),i.jsx("div",{"data-vg-id":"17fc01a","data-source-path":"/src/components/ViewGateOverlay.tsx:2772",style:{display:"flex",flexDirection:"column",gap:"8px"},children:$.map((d,u)=>i.jsxs("div",{"data-vg-id":"17fc030","data-source-path":"/src/components/ViewGateOverlay.tsx:2774",style:{display:"flex",gap:"6px",alignItems:"flex-start"},className:"vg-animate-slide",children:[i.jsxs("div",{"data-vg-id":"17fc031","data-source-path":"/src/components/ViewGateOverlay.tsx:2775",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("input",{"data-vg-id":"a993bad9","data-source-path":"/src/components/ViewGateOverlay.tsx:2776",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:s.figmaNamePlaceholder,value:d.name,onChange:p=>{const x=[...$];x[u]&&(x[u].name=p.target.value,HA(x))}}),i.jsx("input",{"data-vg-id":"a993bada","data-source-path":"/src/components/ViewGateOverlay.tsx:2790",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:s.figmaLinkPlaceholder,value:d.link,onChange:p=>{const x=[...$];x[u]&&(x[u].link=p.target.value,HA(x))}})]}),$.length>1&&i.jsx("button",{"data-vg-id":"23e21f97","data-source-path":"/src/components/ViewGateOverlay.tsx:2806",onClick:()=>HA($.filter((p,x)=>x!==u)),style:{background:"rgba(239, 68, 68, 0.05)",border:"1px solid rgba(239, 68, 68, 0.1)",color:"#ef4444",borderRadius:"8px",padding:"10px",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:p=>p.currentTarget.style.background="rgba(239, 68, 68, 0.1)",onMouseLeave:p=>p.currentTarget.style.background="rgba(239, 68, 68, 0.05)",children:i.jsx(Fs,{"data-vg-id":"e1375db0","data-source-path":"/src/components/ViewGateOverlay.tsx:2823",size:14})})]},u))})]}),ie.length>0&&N.includes("backend")&&i.jsxs("div",{"data-vg-id":"17fc036","data-source-path":"/src/components/ViewGateOverlay.tsx:2835",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[i.jsxs("div",{"data-vg-id":"17fc037","data-source-path":"/src/components/ViewGateOverlay.tsx:2836",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[i.jsxs("div",{"data-vg-id":"17fc038","data-source-path":"/src/components/ViewGateOverlay.tsx:2837",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx(Te,{"data-vg-id":"7117e5fd","data-source-path":"/src/components/ViewGateOverlay.tsx:2838",size:14,style:{color:"#6366f1"}}),i.jsx("span",{"data-vg-id":"52d76d1a","data-source-path":"/src/components/ViewGateOverlay.tsx:2839",style:{fontSize:"11px",fontWeight:700,color:"#64748b"},children:s.endpoint})]}),X.length>0&&i.jsxs("span",{"data-vg-id":"52d76d1b","data-source-path":"/src/components/ViewGateOverlay.tsx:2842",style:{fontSize:"10px",background:"#eef2ff",color:"#6366f1",padding:"2px 8px",borderRadius:"12px",fontWeight:700},children:[X.length," ",e==="es"?"seleccionados":"selected"]})]}),i.jsxs("button",{"data-vg-id":"23e21fb4","data-source-path":"/src/components/ViewGateOverlay.tsx:2848",onClick:()=>YA(!0),className:"vg-input-like-button",style:{width:"100%",padding:"12px 16px",fontSize:"13px",borderRadius:"12px",background:"#f8fafc",border:"1px solid #e2e8f0",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s",textAlign:"left",color:X.length>0?"#0f172a":"#94a3b8"},children:[i.jsx("div",{"data-vg-id":"17fc052","data-source-path":"/src/components/ViewGateOverlay.tsx:2867",style:{display:"flex",gap:"4px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:X.length>0?X.slice(0,2).map(d=>{const u=d.split("|"),p=u.length>1?u[0]:"",x=u.length>1?u[1]:d;return i.jsxs("span",{"data-vg-id":"52d76d1e","data-source-path":"/src/components/ViewGateOverlay.tsx:2874",style:{background:"rgba(99, 102, 241, 0.1)",color:"#6366f1",padding:"1px 6px",borderRadius:"4px",fontSize:"11px",fontWeight:600},children:[p&&i.jsx("span",{"data-vg-id":"52d76d1f","data-source-path":"/src/components/ViewGateOverlay.tsx:2882",style:{opacity:.6,marginRight:"4px"},children:p}),(x||"").split("/").pop()||x]},d)}).concat(X.length>2?[i.jsxs("span",{"data-vg-id":"52d76d20","data-source-path":"/src/components/ViewGateOverlay.tsx:2886",children:["+",X.length-2]},"more")]:[]):s.selectEndpoint}),i.jsx(Vo,{"data-vg-id":"c71f9a0a","data-source-path":"/src/components/ViewGateOverlay.tsx:2889",size:14,style:{color:"#64748b"}})]})]})]})]}),i.jsxs("div",{"data-vg-id":"17fc057","data-source-path":"/src/components/ViewGateOverlay.tsx:2898",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[i.jsx("button",{onClick:()=>{lA||(_(null),h(!1))},className:"vg-button-ghost",disabled:lA,style:{flex:1,padding:"12px"},children:s.cancel}),i.jsx("button",{onClick:Gp,className:"vg-button-primary",disabled:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim()),style:{flex:2,opacity:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim())?.6:1,cursor:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim())?"not-allowed":"pointer"},children:i.jsxs("div",{"data-vg-id":"17fc058","data-source-path":"/src/components/ViewGateOverlay.tsx:2936",style:{display:"flex",alignItems:"center",gap:"8px"},children:[lA?i.jsx("div",{"data-vg-id":"17fc06e","data-source-path":"/src/components/ViewGateOverlay.tsx:2937",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):i.jsx(xl,{"data-vg-id":"a3fd5c1c","data-source-path":"/src/components/ViewGateOverlay.tsx:2937",size:18}),i.jsx("span",{"data-vg-id":"52d76d3b","data-source-path":"/src/components/ViewGateOverlay.tsx:2938",children:lA?s.submitting:s.sendFeedback||"Send Comment"})]})})]})]})}),MA&&i.jsx("div",{"data-vg-id":"17fc071","data-source-path":"/src/components/ViewGateOverlay.tsx:2948",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:Ct},children:i.jsxs("div",{"data-vg-id":"17fc072","data-source-path":"/src/components/ViewGateOverlay.tsx:2954",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[i.jsxs("div",{"data-vg-id":"17fc073","data-source-path":"/src/components/ViewGateOverlay.tsx:2959",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[i.jsxs("div",{"data-vg-id":"17fc074","data-source-path":"/src/components/ViewGateOverlay.tsx:2960",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsx("h2",{"data-vg-id":"efa6bc40","data-source-path":"/src/components/ViewGateOverlay.tsx:2961",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:aA?s.commentDetails:s.annotations}),i.jsxs("div",{"data-vg-id":"17fc076","data-source-path":"/src/components/ViewGateOverlay.tsx:2964",style:{display:"flex",alignItems:"center",gap:"12px"},children:[SA?i.jsxs("div",{"data-vg-id":"17fc077","data-source-path":"/src/components/ViewGateOverlay.tsx:2966",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[SA.avatar?i.jsx("img",{"data-vg-id":"3cf759ac","data-source-path":"/src/components/ViewGateOverlay.tsx:2968",src:SA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e782f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2970",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:SA.name?.[0]}),i.jsx("span",{"data-vg-id":"8161c11","data-source-path":"/src/components/ViewGateOverlay.tsx:2974",style:{fontSize:"12px",fontWeight:600,color:"#4338ca"},children:SA.name})]}):i.jsx("div",{"data-vg-id":"2e782f7d","data-source-path":"/src/components/ViewGateOverlay.tsx:2981",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:e==="es"?"Sin usuario":"No user selected"}),i.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{Ce(!1),BA(null),Hr(null),T("all")},children:i.jsx(Kt,{"data-vg-id":"eec8c445","data-source-path":"/src/components/ViewGateOverlay.tsx:2990",size:20})})]})]}),i.jsx("div",{"data-vg-id":"2e782f7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2994",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(PA)?PA:[],u=aA?yt.find(L=>L.annotations?.some(gA=>gA._id===aA)):null,x=(u?u.annotations:d).filter(L=>L.status!=="completed"&&L.status!=="done"),E=x.filter(L=>L.status!=="ready_for_review").length,D=x.filter(L=>L.status==="ready_for_review").length,O=x.length;return O<=0?O===0?null:i.jsxs("div",{"data-vg-id":"2e782f80","data-source-path":"/src/components/ViewGateOverlay.tsx:3008",style:{display:"flex",gap:"8px",opacity:.9},children:[E>0&&i.jsxs("div",{"data-vg-id":"2e782f81","data-source-path":"/src/components/ViewGateOverlay.tsx:3010",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[E," ",E===1?"pendiente":"pendientes"]}),D>0&&i.jsxs("div",{"data-vg-id":"2e782f82","data-source-path":"/src/components/ViewGateOverlay.tsx:3015",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[D," ",e==="es"?D===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):i.jsxs(i.Fragment,{children:[!B&&i.jsxs("div",{"data-vg-id":"2e782f83","data-source-path":"/src/components/ViewGateOverlay.tsx:3026",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[i.jsx("div",{className:"vg-segmented-slider",style:{left:NA===null?"4px":NA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:NA===null?"var(--vg-primary)":NA==="pending"?"#ea580c":"#a855f7",boxShadow:NA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":NA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),i.jsxs("div",{onClick:()=>Hr(null),className:`vg-segmented-item ${NA===null?"active":""}`,children:[s.viewAll||"Todos"," (",O,")"]}),i.jsxs("div",{onClick:()=>Hr("pending"),className:`vg-segmented-item ${NA==="pending"?"active":""}`,children:[e==="es"?E===1?"Pendiente":"Pendientes":"Pending"," (",E,")"]}),i.jsxs("div",{onClick:()=>Hr("ready"),className:`vg-segmented-item ${NA==="ready"?"active":""}`,children:[e==="es"?"Listo para revisión":"Ready for Review"," (",D,")"]})]}),i.jsxs("div",{"data-vg-id":"2e782f99","data-source-path":"/src/components/ViewGateOverlay.tsx:3057",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:B?"0":"4px"},children:[i.jsxs("button",{onClick:()=>T("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:m==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:m==="all"?"var(--vg-primary)":"transparent",color:m==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[s.viewAll||"Todos"," (",x.filter(L=>B?!0:NA==="pending"?L.status!=="ready_for_review":NA==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const gA=x.filter(M=>B?!0:NA==="pending"?M.status!=="ready_for_review":NA==="ready"?M.status==="ready_for_review":!0).filter(M=>(M.priority||"medium")===L).length;return gA===0&&m!==L?null:i.jsxs("button",{onClick:()=>T(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:m===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:m===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:m===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[s[L]," (",gA,")"]},L)})]})]})})()})]}),i.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:tt?i.jsx("div",{"data-vg-id":"2e782f9a","data-source-path":"/src/components/ViewGateOverlay.tsx:3123",style:{display:"flex",justifyContent:"center",padding:"40px"},children:i.jsx("div",{"data-vg-id":"2e782f9b","data-source-path":"/src/components/ViewGateOverlay.tsx:3124",className:"vg-spinner"})}):Ir.map((d,u)=>i.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:`${u*.05}s`},children:[i.jsxs("div",{"data-vg-id":"2e782f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3139",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[i.jsxs("div",{"data-vg-id":"2e782f9d","data-source-path":"/src/components/ViewGateOverlay.tsx:3140",style:{display:"flex",gap:"12px",alignItems:"center"},children:[i.jsx("span",{"data-vg-id":"8161c33","data-source-path":"/src/components/ViewGateOverlay.tsx:3141",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:sc(d.timestamp||d.createdAt||d.reference?.timestamp,e)}),i.jsx("div",{"data-vg-id":"2e782f9f","data-source-path":"/src/components/ViewGateOverlay.tsx:3144",onClick:p=>{p.stopPropagation();const x=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(x);const E=p.currentTarget;E.innerText="¡Copiado!",E.style.color="#22c55e",setTimeout(()=>{E.innerText=x,E.style.color=B?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:B?"#64748b":"#6366f1",background:B?"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:e==="es"?"Click para copiar":"Click to copy",children:d.key||`VG-${d._id.slice(-6).toUpperCase()}`}),d.reference?.metadata?.isModal&&i.jsx("span",{"data-vg-id":"8161c35","data-source-path":"/src/components/ViewGateOverlay.tsx:3173",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:B?"#64748b":d.status==="completed"||d.status==="done"?"#059669":d.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),d.creator&&i.jsx("div",{"data-vg-id":"2e782fa1","data-source-path":"/src/components/ViewGateOverlay.tsx:3182",style:{display:"flex",alignItems:"center",background:"#f8fafc",padding:"2px",borderRadius:"50%",border:"1px solid #e2e8f0",marginLeft:"4px"},children:d.creator.avatar?i.jsx("img",{"data-vg-id":"3cf759d4","data-source-path":"/src/components/ViewGateOverlay.tsx:3192",src:d.creator.avatar,style:{width:"16px",height:"16px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e782fb8","data-source-path":"/src/components/ViewGateOverlay.tsx:3194",style:{width:"16px",height:"16px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"8px",fontWeight:700},children:d.creator.name?.[0]})}),d.url&&i.jsx(rc,{url:d.url,onHover:wc,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.focusAreas?.length>0?d.focusAreas:[...d.backendEndpoints?.length>0?["backend"]:[],...d.figmaReference?.length>0?["ux"]:[]]).map(p=>i.jsxs("span",{"data-vg-id":"8161c4e","data-source-path":"/src/components/ViewGateOverlay.tsx:3220",style:{fontSize:"10px",fontWeight:800,textTransform:"uppercase",padding:"4px 10px",borderRadius:"24px",background:p==="frontend"?"linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%)":p==="backend"?"linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%)":"linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%)",color:p==="frontend"?"#059669":p==="backend"?"#4f46e5":"#c026d3",display:"flex",alignItems:"center",gap:"4px",border:`1px solid ${p==="frontend"?"#a7f3d0":p==="backend"?"#c7d2fe":"#fbcfe8"}`,boxShadow:p==="frontend"?"0 2px 4px rgba(5, 150, 105, 0.05)":p==="backend"?"0 2px 4px rgba(79, 70, 229, 0.05)":"0 2px 4px rgba(192, 38, 211, 0.05)",letterSpacing:"0.02em"},children:[p==="frontend"?i.jsx(xs,{"data-vg-id":"b806bee7","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}):p==="backend"?i.jsx(Te,{"data-vg-id":"b1e4c277","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}):i.jsx(Ot,{"data-vg-id":"ea069934","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}),p==="frontend"?"Frontend":p==="backend"?"Backend":"UX / UI"]},p))]}),d.status==="completed"?i.jsxs("span",{"data-vg-id":"8161c52","data-source-path":"/src/components/ViewGateOverlay.tsx:3234",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[i.jsx(je,{"data-vg-id":"a75c1a63","data-source-path":"/src/components/ViewGateOverlay.tsx:3235",size:14})," ",s.completed||(e==="es"?"Listo para revisión":"Ready for Review")]}):d.status==="ready_for_review"?i.jsxs("span",{"data-vg-id":"8161c54","data-source-path":"/src/components/ViewGateOverlay.tsx:3238",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[i.jsx(je,{"data-vg-id":"a75c1a65","data-source-path":"/src/components/ViewGateOverlay.tsx:3239",size:14})," ",s.readyForReview]}):d.status==="bug_fixing"?i.jsxs("span",{"data-vg-id":"8161c56","data-source-path":"/src/components/ViewGateOverlay.tsx:3242",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[i.jsx(Tt,{"data-vg-id":"3b8b181a","data-source-path":"/src/components/ViewGateOverlay.tsx:3243",size:14})," ","Bug Fixing"]}):i.jsxs("span",{"data-vg-id":"8161c6d","data-source-path":"/src/components/ViewGateOverlay.tsx:3246",className:"vg-badge",style:{backgroundColor:B||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:B||d.status==="backlog"?"#64748b":"#ea580c",border:B||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[i.jsx(No,{"data-vg-id":"62dc6c36","data-source-path":"/src/components/ViewGateOverlay.tsx:3251",size:14}),B||d.status==="backlog"?s.backlog:s.pending]})]}),(d.screenshot||d.reference?.previewUrl)&&i.jsx("div",{"data-vg-id":"2e782fda","data-source-path":"/src/components/ViewGateOverlay.tsx:3258",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx("img",{"data-vg-id":"3cf75a0d","data-source-path":"/src/components/ViewGateOverlay.tsx:3270",src:d.screenshot||d.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),i.jsxs("div",{"data-vg-id":"2e782fdc","data-source-path":"/src/components/ViewGateOverlay.tsx:3283",style:{marginBottom:"20px"},children:[i.jsx("div",{"data-vg-id":"2e782fdd","data-source-path":"/src/components/ViewGateOverlay.tsx:3284",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:i.jsxs("div",{"data-vg-id":"2e782fde","data-source-path":"/src/components/ViewGateOverlay.tsx:3285",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:[s.priority,": ",s[d.priority||"medium"]]})}),i.jsx("p",{"data-vg-id":"f01af8be","data-source-path":"/src/components/ViewGateOverlay.tsx:3299",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:d.message}),d.figmaReference?.length>0&&i.jsxs("div",{"data-vg-id":"2e782fe0","data-source-path":"/src/components/ViewGateOverlay.tsx:3304",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#faf5ff",borderRadius:"12px",border:"1px solid #fae8ff"},children:[i.jsxs("div",{"data-vg-id":"2e782ff6","data-source-path":"/src/components/ViewGateOverlay.tsx:3305",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[i.jsx(Ot,{"data-vg-id":"ea06996f","data-source-path":"/src/components/ViewGateOverlay.tsx:3306",size:14,style:{color:"#d946ef"}}),i.jsx("span",{"data-vg-id":"8161c8d","data-source-path":"/src/components/ViewGateOverlay.tsx:3307",style:{fontSize:"11px",fontWeight:800,color:"#a21caf",textTransform:"uppercase",letterSpacing:"0.05em"},children:e==="es"?"Diseños Figma":"Figma Designs"})]}),d.figmaReference.map((p,x)=>i.jsxs("a",{"data-vg-id":"ef479849","data-source-path":"/src/components/ViewGateOverlay.tsx:3310",href:p.link,target:"_blank",rel:"noreferrer",className:"vg-animate-pop",style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px",background:"#ffffff",border:"1px solid #f5d0fe",borderRadius:"10px",fontSize:"13px",color:"#c026d3",textDecoration:"none",transition:"all 0.2s",boxShadow:"0 2px 4px rgba(217, 70, 239, 0.05)"},onMouseEnter:E=>{E.currentTarget.style.transform="translateY(-2px)",E.currentTarget.style.boxShadow="0 4px 12px rgba(217, 70, 239, 0.15)",E.currentTarget.style.borderColor="#d946ef"},onMouseLeave:E=>{E.currentTarget.style.transform="translateY(0)",E.currentTarget.style.boxShadow="0 2px 4px rgba(217, 70, 239, 0.05)",E.currentTarget.style.borderColor="#f5d0fe"},children:[i.jsxs("div",{"data-vg-id":"2e782ffa","data-source-path":"/src/components/ViewGateOverlay.tsx:3318",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{"data-vg-id":"2e782ffb","data-source-path":"/src/components/ViewGateOverlay.tsx:3319",style:{width:"24px",height:"24px",borderRadius:"6px",background:"rgba(217, 70, 239, 0.1)",display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx(xs,{"data-vg-id":"b806bf29","data-source-path":"/src/components/ViewGateOverlay.tsx:3320",size:12,strokeWidth:3})}),i.jsx("span",{"data-vg-id":"8161c92","data-source-path":"/src/components/ViewGateOverlay.tsx:3322",style:{fontWeight:700},children:p.name||"Figma Reference"})]}),i.jsx(An,{"data-vg-id":"5c2be04e","data-source-path":"/src/components/ViewGateOverlay.tsx:3324",size:14,style:{opacity:.5}})]},x))]}),d.backendEndpoints?.length>0&&i.jsxs("div",{"data-vg-id":"2e782fff","data-source-path":"/src/components/ViewGateOverlay.tsx:3331",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#f5f8ff",borderRadius:"12px",border:"1px solid #e0e7ff"},children:[i.jsxs("div",{"data-vg-id":"2e783015","data-source-path":"/src/components/ViewGateOverlay.tsx:3332",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[i.jsx(Te,{"data-vg-id":"b1e4c2d2","data-source-path":"/src/components/ViewGateOverlay.tsx:3333",size:14,style:{color:"#4f46e5"}}),i.jsx("span",{"data-vg-id":"8161cac","data-source-path":"/src/components/ViewGateOverlay.tsx:3334",style:{fontSize:"11px",fontWeight:800,color:"#3730a3",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Backend Endpoints"})]}),i.jsx("div",{"data-vg-id":"2e783018","data-source-path":"/src/components/ViewGateOverlay.tsx:3336",style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:d.backendEndpoints.map(p=>{const x=p.split("|"),E=x.length>1?x[0]:"";let D=x.length>1?x[1]||"":p||"",O="#4f46e5",L="#e0e7ff";return E==="GET"?(O="#059669",L="#d1fae5"):E==="POST"?(O="#ea580c",L="#ffedd5"):E==="PUT"?(O="#0284c7",L="#e0f2fe"):E==="DELETE"&&(O="#e11d48",L="#ffe4e6"),i.jsxs("div",{"data-vg-id":"2e783019","data-source-path":"/src/components/ViewGateOverlay.tsx:3351",className:"vg-animate-slide",style:{fontSize:"12px",padding:"6px 12px",background:"#ffffff",color:"#4f46e5",borderRadius:"8px",border:"1px solid #c7d2fe",display:"flex",alignItems:"center",gap:"8px",boxShadow:"0 2px 4px rgba(79, 70, 229, 0.05)"},children:[E&&i.jsx("span",{"data-vg-id":"8161caf","data-source-path":"/src/components/ViewGateOverlay.tsx:3357",style:{fontWeight:800,color:O,background:L,padding:"2px 6px",borderRadius:"4px",fontSize:"10px"},children:E}),i.jsx("span",{"data-vg-id":"8161cb0","data-source-path":"/src/components/ViewGateOverlay.tsx:3358",style:{fontWeight:600,fontFamily:"monospace",letterSpacing:"-0.02em",color:"#1e293b"},children:D})]},p)})})]})]}),i.jsxs("div",{"data-vg-id":"2e78301c","data-source-path":"/src/components/ViewGateOverlay.tsx:3368",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[i.jsx("div",{"data-vg-id":"2e78301d","data-source-path":"/src/components/ViewGateOverlay.tsx:3370",style:{display:"flex",gap:"6px"},children:Bs!=="client"&&i.jsxs(i.Fragment,{children:[i.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{const p=d.backendEndpoints||[],x=d.focusAreas&&d.focusAreas.length>0?d.focusAreas:[...p.length>0?["backend"]:[],...d.figmaReference&&d.figmaReference.length>0?["ux"]:[]];Sr(d._id),yc(d.message),y(d.priority||"medium"),io(x),hs(d.figmaReference&&d.figmaReference.length>0?d.figmaReference:[{name:s.figmaPrimaryDesign,link:""}]),Lr(p),JA(p)},title:s.edit,children:i.jsx(Ot,{"data-vg-id":"ea069996","data-source-path":"/src/components/ViewGateOverlay.tsx:3394",size:16})}),i.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{et({title:s.deleteConfirm,message:s.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${n}/api/annotations/${d._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(vr(),A(s.deleteSuccess,"success"))}catch{A(s.error,"error")}finally{et(null)}}})},title:e==="es"?"Eliminar":"Delete",children:i.jsx(Fs,{"data-vg-id":"45b44219","data-source-path":"/src/components/ViewGateOverlay.tsx:3424",size:16})})]})}),i.jsxs("div",{"data-vg-id":"2e783035","data-source-path":"/src/components/ViewGateOverlay.tsx:3430",style:{display:"flex",gap:"8px"},children:[Bs!=="client"&&d.status==="ready_for_review"&&i.jsxs("button",{onClick:()=>Mp(d),className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",background:"linear-gradient(135deg, #059669 0%, #10b981 100%)",boxShadow:"0 4px 12px rgba(5, 150, 69, 0.2)",display:"flex",alignItems:"center",gap:"8px",fontWeight:700},disabled:DA,children:[DA?i.jsx(tn,{"data-vg-id":"a4b73604","data-source-path":"/src/components/ViewGateOverlay.tsx:3448",size:14,className:"vg-animate-spin"}):i.jsx(ul,{"data-vg-id":"41e603c7","data-source-path":"/src/components/ViewGateOverlay.tsx:3448",size:14}),e==="es"?"Resolver con Evidencia":"Resolve & Capture"]}),i.jsxs("a",{href:`${(o||"").replace(/\/$/,"")}/${B||d.status==="backlog"?"backlog":"board"}?search=${d.key||(d._id?"VG-"+d._id.slice(-6).toUpperCase():"TICKET")}`,target:"_blank",rel:"noopener noreferrer",className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",textDecoration:"none",display:"flex",alignItems:"center",gap:"8px",cursor:"pointer"},children:[i.jsx(An,{"data-vg-id":"5c2be088","data-source-path":"/src/components/ViewGateOverlay.tsx:3468",size:14}),e==="es"?"Ver en Dashboard":"View in Dashboard"]})]})]})]},d._id))},aA||"all")]})}),IA&&i.jsx("div",{"data-vg-id":"2e783039","data-source-path":"/src/components/ViewGateOverlay.tsx:3484",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:Ct+100},children:i.jsxs("div",{"data-vg-id":"2e78303a","data-source-path":"/src/components/ViewGateOverlay.tsx:3489",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:[i.jsx("div",{"data-vg-id":"2e78303b","data-source-path":"/src/components/ViewGateOverlay.tsx:3496",style:{width:"64px",height:"64px",background:IA.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:IA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:IA.type==="danger"?i.jsx(Fs,{"data-vg-id":"45b44221","data-source-path":"/src/components/ViewGateOverlay.tsx:3505",size:32}):i.jsx(je,{"data-vg-id":"a75c1ae2","data-source-path":"/src/components/ViewGateOverlay.tsx:3505",size:32})}),i.jsx("h3",{"data-vg-id":"53ec569","data-source-path":"/src/components/ViewGateOverlay.tsx:3507",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:IA.title}),i.jsx("p",{"data-vg-id":"f01af933","data-source-path":"/src/components/ViewGateOverlay.tsx:3508",style:{margin:"0 0 24px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:IA.message}),IA.showInput&&i.jsx("textarea",{className:"vg-textarea",placeholder:s.reopenPlaceholder,value:xt,onChange:d=>eA(d.target.value),rows:3,autoFocus:!0,style:{marginBottom:"24px",minHeight:"80px",textAlign:"left"}}),i.jsxs("div",{"data-vg-id":"2e783055","data-source-path":"/src/components/ViewGateOverlay.tsx:3522",style:{display:"flex",gap:"16px"},children:[i.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!VA&&et(null),disabled:VA,children:s.no}),i.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:IA.type==="danger"?"#ef4444":void 0,backgroundImage:IA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",opacity:IA.showInput&&!xt.trim()?.5:1,cursor:IA.showInput&&!xt.trim()?"not-allowed":"pointer"},disabled:VA||IA.showInput&&!xt.trim(),onClick:async()=>{Pe(!0);try{await IA.onConfirm(xt)}catch(d){console.error("Confirmation error:",d)}finally{Pe(!1)}},children:VA?i.jsx(tn,{"data-vg-id":"a4b73624","data-source-path":"/src/components/ViewGateOverlay.tsx:3558",size:18,className:"vg-animate-spin"}):s.yes})]})]})}),!MA&&!f&&tA&&yt.map((d,u)=>{const{rect:p,annotations:x,isModal:E}=d,D=x[0],O=x.length,L=x.some(v=>v.status==="ready_for_review"),gA=x.some(v=>v.status==="completed"||v.status==="done"),M=x.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),pA=gA&&!L&&!M,sA=L&&!M&&!gA,nA=(L||gA)&&!M,QA=(L||gA)&&M,EA=x.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,bA=x.filter(v=>v.status==="ready_for_review").length,xA=x.filter(v=>v.status==="completed"||v.status==="done").length,LA=x.some(v=>v.status==="bug_fixing"||v.type==="bug"||v.originalStatus==="bug_fixing"),Se=LA&&!sA&&!pA?"#f43f5e":EA>0?B?"#64748b":"#ea580c":bA>0?"#a855f7":"#10b981",Y=yt.some(v=>v.element===d.element&&v.isTriggerPin),_A=yt.some(v=>v.element===d.element&&!v.isTriggerPin),wA=Y&&_A?d.isTriggerPin?-18:18:0,TA=p.top===0&&p.left===0&&p.width>window.innerWidth*.9;return i.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,p.top-20)),left:TA?Math.max(20,p.left+40+wA):Math.max(20,Math.min(window.innerWidth-52,p.left+p.width/2-16+wA)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:xp},onMouseEnter:v=>{const $A=v.currentTarget.getBoundingClientRect(),Kr=window.innerHeight-$A.bottom,Vp=$A.top;Kr<250&&Vp>Kr?se(fo=>({...fo,[d.id]:"vg-top"})):se(fo=>({...fo,[d.id]:""}))},onWheel:v=>{const $A=v.currentTarget.querySelector(".vg-tooltip-scroll");$A&&$A.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{Ce(!0),BA(D._id)},children:[i.jsxs("div",{"data-vg-id":"2e783057","data-source-path":"/src/components/ViewGateOverlay.tsx:3633",className:`vg-pin-tooltip ${dA[d.id]||""} ${TA||p.left<160?"vg-tooltip-right":p.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[i.jsxs("div",{"data-vg-id":"2e783058","data-source-path":"/src/components/ViewGateOverlay.tsx:3634",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[i.jsxs("div",{"data-vg-id":"2e783059","data-source-path":"/src/components/ViewGateOverlay.tsx:3635",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?i.jsx(en,{"data-vg-id":"d88161bf","data-source-path":"/src/components/ViewGateOverlay.tsx:3637",size:14,color:Se}):i.jsx(Us,{"data-vg-id":"7fe17ae","data-source-path":"/src/components/ViewGateOverlay.tsx:3639",size:14,color:Se}),i.jsxs("div",{"data-vg-id":"2e78305c","data-source-path":"/src/components/ViewGateOverlay.tsx:3641",style:{display:"flex",gap:"4px"},children:[EA>0&&i.jsxs("span",{"data-vg-id":"8161d07","data-source-path":"/src/components/ViewGateOverlay.tsx:3643",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":"#fff7ed",color:B?"#64748b":"#c2410c"},children:[EA," ",B||D.status==="backlog"?"Backlog":e==="es"?EA===1?s.pending:"Pendientes":"pending"]}),bA>0&&i.jsxs("span",{"data-vg-id":"8161d08","data-source-path":"/src/components/ViewGateOverlay.tsx:3652",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[bA," ",e==="es"?bA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),xA>0&&i.jsxs("span",{"data-vg-id":"8161d09","data-source-path":"/src/components/ViewGateOverlay.tsx:3664",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[xA," ",e==="es"?xA===1?"Completado":"Completados":"completed"]}),x.some(v=>v.status==="bug_fixing")&&i.jsx("span",{"data-vg-id":"8161d0a","data-source-path":"/src/components/ViewGateOverlay.tsx:3676",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),E&&i.jsx("span",{"data-vg-id":"8161d0b","data-source-path":"/src/components/ViewGateOverlay.tsx:3690",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":QA?`linear-gradient(90deg, #ea580c 50%, ${gA?"#10b981":"#a855f7"} 50%)`:EA>0?"#fff7ed":pA?"#ecfdf5":"#f3e8ff",color:B?"#64748b":QA?"#ffffff":EA>0?"#c2410c":pA?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:QA&&!B?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),i.jsx("div",{"data-vg-id":"2e783077","data-source-path":"/src/components/ViewGateOverlay.tsx:3702",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:x.map((v,$A)=>i.jsxs("div",{"data-vg-id":"2e783078","data-source-path":"/src/components/ViewGateOverlay.tsx:3704",style:{padding:"10px 0",borderTop:$A===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[i.jsxs("div",{"data-vg-id":"2e783079","data-source-path":"/src/components/ViewGateOverlay.tsx:3711",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsxs("div",{"data-vg-id":"2e78307a","data-source-path":"/src/components/ViewGateOverlay.tsx:3712",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{"data-vg-id":"8161d10","data-source-path":"/src/components/ViewGateOverlay.tsx:3713",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:sc(v.timestamp||v.createdAt,e)}),v.creator&&i.jsx("div",{"data-vg-id":"2e783091","data-source-path":"/src/components/ViewGateOverlay.tsx:3717",style:{marginLeft:"4px"},children:v.creator.avatar?i.jsx("img",{"data-vg-id":"3cf75ac4","data-source-path":"/src/components/ViewGateOverlay.tsx:3719",src:v.creator.avatar,style:{width:"14px",height:"14px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e783093","data-source-path":"/src/components/ViewGateOverlay.tsx:3721",style:{width:"14px",height:"14px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"7px",fontWeight:700},children:v.creator.name?.[0]})})]}),v.url&&i.jsx(rc,{url:v.url,onHover:wc,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"}}),i.jsx("div",{"data-vg-id":"2e783094","data-source-path":"/src/components/ViewGateOverlay.tsx:3747",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),i.jsxs("div",{"data-vg-id":"2e783095","data-source-path":"/src/components/ViewGateOverlay.tsx:3751",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[i.jsx("div",{"data-vg-id":"2e783096","data-source-path":"/src/components/ViewGateOverlay.tsx:3752",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:s[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?i.jsxs("span",{"data-vg-id":"8161d2c","data-source-path":"/src/components/ViewGateOverlay.tsx:3766",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:[i.jsx(je,{"data-vg-id":"a75c1b3d","data-source-path":"/src/components/ViewGateOverlay.tsx:3779",size:10}),s.completed]}):v.status==="ready_for_review"?i.jsxs("span",{"data-vg-id":"8161d2e","data-source-path":"/src/components/ViewGateOverlay.tsx:3783",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:[v.type==="bug"||v.status==="bug_fixing"||v.originalStatus==="bug_fixing"?i.jsx(Tt,{"data-vg-id":"3b8b18dd","data-source-path":"/src/components/ViewGateOverlay.tsx:3796",size:10}):i.jsx(je,{"data-vg-id":"a75c1de0","data-source-path":"/src/components/ViewGateOverlay.tsx:3796",size:10}),s.readyForReview]}):v.status==="bug_fixing"?i.jsxs("span",{"data-vg-id":"8161fd1","data-source-path":"/src/components/ViewGateOverlay.tsx:3800",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:[i.jsx(Tt,{"data-vg-id":"3b8b1b80","data-source-path":"/src/components/ViewGateOverlay.tsx:3813",size:10}),"Bug Fixing"]}):i.jsxs("span",{"data-vg-id":"8161fd3","data-source-path":"/src/components/ViewGateOverlay.tsx:3817",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:B||v.status==="backlog"?"#64748b":"#ea580c",background:B||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:B||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[i.jsx(No,{"data-vg-id":"62dc6f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3830",size:10}),B||v.status==="backlog"?s.backlog:s.pending]})]})]},v._id))})]}),i.jsxs("div",{"data-vg-id":"2e783340","data-source-path":"/src/components/ViewGateOverlay.tsx:3840",className:`vg-formal-pin ${pA?"completed":sA||nA?"ready":LA?"bug":QA?"mixed":B?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:LA&&!sA&&!pA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":sA?"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":QA?gA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[sA||pA||nA?LA&&!pA?i.jsx(Tt,{"data-vg-id":"3b8b1b84","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):i.jsx(je,{"data-vg-id":"a75c1de7","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):LA?i.jsx(Tt,{"data-vg-id":"3b8b1b86","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):d.isTriggerPin?i.jsx(en,{"data-vg-id":"d88164a9","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}):E?i.jsx(An,{"data-vg-id":"5c2be3aa","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}):i.jsx(Us,{"data-vg-id":"7fe1aae","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}),O>1&&i.jsx("div",{"data-vg-id":"2e78335c","data-source-path":"/src/components/ViewGateOverlay.tsx:3850",className:"vg-pin-badge vg-animate-pop",children:O})]})]},`group-${d.id}`)}),i.jsx("div",{className:`vg-url-tooltip ${st?"visible":""} ${st?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:st?`translate(-50%, ${st.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:st?.x||0,top:st?.y||0},children:st?.url}),q&&i.jsx("div",{"data-vg-id":"2e78335d","data-source-path":"/src/components/ViewGateOverlay.tsx:3875",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.75)",backdropFilter:"blur(16px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct+100,animation:"vg-fade-in 0.3s ease-out"},onClick:d=>{d.target===d.currentTarget&&YA(!1)},children:i.jsxs("div",{"data-vg-id":"2e78335e","data-source-path":"/src/components/ViewGateOverlay.tsx:3884",className:"vg-glassmorphism vg-animate-pop",style:{width:"95%",maxWidth:"800px",height:"85vh",maxHeight:"850px",display:"flex",flexDirection:"column",overflow:"hidden",boxShadow:"0 50px 100px rgba(0,0,0,0.6)",borderRadius:"32px",border:"1px solid rgba(255, 255, 255, 0.15)",backgroundColor:"rgba(255, 255, 255, 0.98)"},children:[i.jsxs("div",{"data-vg-id":"2e78335f","data-source-path":"/src/components/ViewGateOverlay.tsx:3897",style:{padding:"32px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",display:"flex",alignItems:"center",justifyContent:"space-between",background:"white"},children:[i.jsxs("div",{"data-vg-id":"2e783360","data-source-path":"/src/components/ViewGateOverlay.tsx:3898",children:[i.jsx("h3",{"data-vg-id":"53ec877","data-source-path":"/src/components/ViewGateOverlay.tsx:3899",style:{margin:0,fontSize:"24px",fontWeight:900,letterSpacing:"-0.03em",color:"#0f172a"},children:e==="es"?"Selector de Endpoints":"Endpoint Selector"}),i.jsx("p",{"data-vg-id":"f01afc41","data-source-path":"/src/components/ViewGateOverlay.tsx:3902",style:{margin:"6px 0 0 0",fontSize:"14px",color:"#64748b",fontWeight:500},children:e==="es"?"Asocia múltiples rutas backend a este ticket para mayor precisión":"Associate multiple backend routes to this ticket for better precision"})]}),i.jsx("button",{"data-vg-id":"5861c060","data-source-path":"/src/components/ViewGateOverlay.tsx:3906",onClick:()=>YA(!1),className:"vg-close-pill",style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"14px",background:"#f1f5f9",color:"#64748b",border:"none",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:d=>{d.currentTarget.style.background="#e2e8f0",d.currentTarget.style.color="#0f172a"},onMouseLeave:d=>{d.currentTarget.style.background="#f1f5f9",d.currentTarget.style.color="#64748b"},children:i.jsx(Kt,{"data-vg-id":"eec8c840","data-source-path":"/src/components/ViewGateOverlay.tsx:3913",size:20,strokeWidth:2.5})})]}),i.jsx("div",{"data-vg-id":"2e78337a","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",style:{padding:"24px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",background:"#fcfcfc"},children:i.jsxs("div",{"data-vg-id":"2e78337b","data-source-path":"/src/components/ViewGateOverlay.tsx:3918",style:{position:"relative"},children:[i.jsx(Ql,{"data-vg-id":"8f7bb00f","data-source-path":"/src/components/ViewGateOverlay.tsx:3919",size:20,style:{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#94a3b8"}}),i.jsx("input",{"data-vg-id":"88e38db6","data-source-path":"/src/components/ViewGateOverlay.tsx:3920",type:"text",placeholder:e==="es"?"Buscar rutas, métodos o descripciones...":"Search routes, methods, or descriptions...",value:k,onChange:d=>z(d.target.value),className:"vg-textarea",style:{padding:"14px 16px 14px 50px",fontSize:"16px",minHeight:"auto",borderRadius:"16px",border:"1px solid #e2e8f0",backgroundColor:"white",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},autoFocus:!0})]})}),i.jsx("div",{"data-vg-id":"2e78337e","data-source-path":"/src/components/ViewGateOverlay.tsx:3940",style:{flex:1,overflowY:"auto",overflowX:"hidden",padding:"24px 40px"},className:"vg-custom-scrollbar",children:gs?xc.length>0?i.jsx("div",{"data-vg-id":"2e783382","data-source-path":"/src/components/ViewGateOverlay.tsx:3947",style:{display:"flex",flexDirection:"column",gap:"0px"},children:xc.map(d=>{const u=d.name===(e==="es"?"Seleccionados":"Selected");return i.jsxs("div",{"data-vg-id":"2e783398","data-source-path":"/src/components/ViewGateOverlay.tsx:3951",style:{marginBottom:"32px"},children:[i.jsxs("div",{"data-vg-id":"2e783399","data-source-path":"/src/components/ViewGateOverlay.tsx:3952",style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"16px",padding:"0 4px"},children:[i.jsx("span",{"data-vg-id":"816202f","data-source-path":"/src/components/ViewGateOverlay.tsx:3953",style:{fontSize:"11px",fontWeight:900,textTransform:"uppercase",letterSpacing:"0.1em",color:u?"#10b981":"#6366f1",backgroundColor:u?"rgba(10, 185, 129, 0.08)":"rgba(99, 102, 241, 0.08)",padding:"4px 10px",borderRadius:"6px",border:"1px solid",borderColor:u?"rgba(10, 185, 129, 0.1)":"rgba(99, 102, 241, 0.1)"},children:d.name}),i.jsx("div",{"data-vg-id":"2e78339b","data-source-path":"/src/components/ViewGateOverlay.tsx:3967",style:{flex:1,height:"1px",background:`linear-gradient(90deg, ${u?"rgba(16, 185, 129, 0.15)":"rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`}})]}),i.jsx("div",{"data-vg-id":"2e78339c","data-source-path":"/src/components/ViewGateOverlay.tsx:3974",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(340px, 1fr))",gap:"12px"},children:d.endpoints.map(p=>{const x=`${p.method}|${p.path}`,E=X.includes(x);return i.jsxs("div",{"data-vg-id":"2e78339d","data-source-path":"/src/components/ViewGateOverlay.tsx:3983",onClick:()=>{JA(E?X.filter(D=>D!==x):[...X,x])},style:{padding:"16px 20px",borderRadius:"18px",cursor:"pointer",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",background:E?"#f5f7ff":"#ffffff",border:"1px solid",borderColor:E?"rgba(99, 102, 241, 0.2)":"#f1f5f9",display:"flex",alignItems:"center",gap:"16px",boxShadow:E?"0 4px 12px rgba(99, 102, 241, 0.08)":"none"},onMouseEnter:D=>{E||(D.currentTarget.style.background="#f8fafc",D.currentTarget.style.borderColor="#e2e8f0")},onMouseLeave:D=>{E||(D.currentTarget.style.background="#ffffff",D.currentTarget.style.borderColor="#f1f5f9")},children:[i.jsx("div",{"data-vg-id":"2e78339e","data-source-path":"/src/components/ViewGateOverlay.tsx:4015",style:{width:"24px",height:"24px",borderRadius:"8px",border:"2px solid",borderColor:E?"#6366f1":"#cbd5e1",backgroundColor:E?"#6366f1":"white",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s",flexShrink:0},children:E&&i.jsx("div",{"data-vg-id":"2e78339f","data-source-path":"/src/components/ViewGateOverlay.tsx:4028",style:{color:"white",fontSize:"14px",fontWeight:900},children:"✓"})}),i.jsxs("div",{"data-vg-id":"2e7833a0","data-source-path":"/src/components/ViewGateOverlay.tsx:4030",style:{flex:1,minWidth:0},children:[i.jsxs("div",{"data-vg-id":"2e7833a1","data-source-path":"/src/components/ViewGateOverlay.tsx:4031",style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx("span",{"data-vg-id":"816204c","data-source-path":"/src/components/ViewGateOverlay.tsx:4032",style:{fontSize:"11px",fontWeight:800,padding:"3px 8px",borderRadius:"8px",background:p.method==="GET"?"#dcfce7":"#fee2e2",color:p.method==="GET"?"#166534":"#991b1b",flexShrink:0},children:p.method}),i.jsx("span",{"data-vg-id":"816204d","data-source-path":"/src/components/ViewGateOverlay.tsx:4043",style:{fontWeight:700,color:E?"#4338ca":"#1e293b",fontSize:"14px",wordBreak:"break-all"},children:p.path})]}),p.description&&i.jsx("div",{"data-vg-id":"2e7833b9","data-source-path":"/src/components/ViewGateOverlay.tsx:4053",style:{fontSize:"12px",color:"#64748b",marginTop:"6px",wordBreak:"break-word",fontWeight:450,lineHeight:1.4},children:p.description})]})]},x)})})]},d.name)})}):i.jsxs("div",{"data-vg-id":"2e7833ba","data-source-path":"/src/components/ViewGateOverlay.tsx:4074",style:{padding:"80px 20px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center"},children:[i.jsx("div",{"data-vg-id":"2e7833bb","data-source-path":"/src/components/ViewGateOverlay.tsx:4075",style:{width:"80px",height:"80px",borderRadius:"24px",backgroundColor:"#f1f5f9",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px"},children:i.jsx(Te,{"data-vg-id":"b1e4c678","data-source-path":"/src/components/ViewGateOverlay.tsx:4076",size:40,style:{color:"#94a3b8"}})}),i.jsx("p",{"data-vg-id":"f01afc9c","data-source-path":"/src/components/ViewGateOverlay.tsx:4078",style:{color:"#0f172a",fontSize:"18px",fontWeight:800,margin:"0 0 8px 0"},children:e==="es"?"No encontramos lo que buscas":"No results found"}),i.jsx("p",{"data-vg-id":"f01afc9d","data-source-path":"/src/components/ViewGateOverlay.tsx:4081",style:{color:"#64748b",fontSize:"15px",margin:0},children:e==="es"?"Intenta buscar con otros términos o revisa la sincronización":"Try searching with different terms or check synchronization"})]}):i.jsxs("div",{"data-vg-id":"2e78337f","data-source-path":"/src/components/ViewGateOverlay.tsx:3942",style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"100px 0",gap:"20px"},children:[i.jsx("div",{"data-vg-id":"2e783380","data-source-path":"/src/components/ViewGateOverlay.tsx:3943",className:"vg-spinner",style:{width:"40px",height:"40px",border:"3px solid rgba(99, 102, 241, 0.1)",borderTopColor:"#6366f1"}}),i.jsx("p",{"data-vg-id":"f01afc60","data-source-path":"/src/components/ViewGateOverlay.tsx:3944",style:{color:"#64748b",fontSize:"15px",fontWeight:600},children:e==="es"?"Cargando endpoints...":"Loading endpoints..."})]})}),i.jsxs("div",{"data-vg-id":"2e7833bf","data-source-path":"/src/components/ViewGateOverlay.tsx:4088",style:{padding:"24px 40px",borderTop:"1px solid rgba(0,0,0,0.06)",background:"white",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"20px"},children:[i.jsxs("div",{"data-vg-id":"2e7833c0","data-source-path":"/src/components/ViewGateOverlay.tsx:4089",style:{display:"flex",alignItems:"center",gap:"12px"},children:[i.jsxs("div",{"data-vg-id":"2e7833d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4090",style:{padding:"6px 12px",background:"#f1f5f9",borderRadius:"10px",fontSize:"14px",fontWeight:700,color:"#475569"},children:[X.length," ",e==="es"?"seleccionados":"selected"]}),X.length>0&&i.jsx("button",{"data-vg-id":"5861c0d4","data-source-path":"/src/components/ViewGateOverlay.tsx:4094",onClick:()=>{JA([]),bt&&Lr([])},style:{background:"none",border:"none",color:"#6366f1",fontSize:"14px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:e==="es"?"Desmarcar todos":"Deselect all"})]}),i.jsx("div",{"data-vg-id":"2e7833d8","data-source-path":"/src/components/ViewGateOverlay.tsx:4105",style:{display:"flex",gap:"12px"},children:i.jsx("button",{"data-vg-id":"5861c0d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4106",onClick:()=>{bt&&Lr(X),YA(!1)},style:{minWidth:"160px",padding:"14px 28px",borderRadius:"16px",fontSize:"15px",fontWeight:850,border:"none",background:"var(--vg-primary-gradient)",color:"white",cursor:"pointer",boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:d=>{d.currentTarget.style.transform="translateY(-2px)",d.currentTarget.style.boxShadow="0 15px 30px -5px rgba(99, 102, 241, 0.6)"},onMouseLeave:d=>{d.currentTarget.style.transform="translateY(0)",d.currentTarget.style.boxShadow="0 10px 25px -5px rgba(99, 102, 241, 0.45)"},children:e==="es"?"Confirmar Selección":"Confirm Selection"})})]})]})}),bt&&(()=>{const d=Ir.find(u=>u._id===bt);return d?i.jsx("div",{"data-vg-id":"2e7833da","data-source-path":"/src/components/ViewGateOverlay.tsx:4143",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct+50},children:i.jsxs("div",{"data-vg-id":"2e7833db","data-source-path":"/src/components/ViewGateOverlay.tsx:4149",className:"vg-glassmorphism vg-animate-slide",style:{width:"600px",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",background:"#ffffff",borderRadius:"24px",padding:"32px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",gap:"24px"},children:[i.jsxs("div",{"data-vg-id":"2e7833dc","data-source-path":"/src/components/ViewGateOverlay.tsx:4160",style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("h2",{"data-vg-id":"530b172","data-source-path":"/src/components/ViewGateOverlay.tsx:4161",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#1e293b"},children:e==="es"?"Editar Comentario":"Edit Comment"}),i.jsx("button",{"data-vg-id":"5861c0db","data-source-path":"/src/components/ViewGateOverlay.tsx:4164",onClick:()=>Sr(null),style:{background:"none",border:"none",cursor:"pointer",color:"#94a3b8"},children:i.jsx(Kt,{"data-vg-id":"eec8c8a6","data-source-path":"/src/components/ViewGateOverlay.tsx:4165",size:24})})]}),i.jsxs("div",{"data-vg-id":"2e7833f5","data-source-path":"/src/components/ViewGateOverlay.tsx:4169",style:{display:"flex",flexDirection:"column",gap:"16px"},children:[i.jsxs("div",{"data-vg-id":"2e7833f6","data-source-path":"/src/components/ViewGateOverlay.tsx:4170",children:[i.jsx("label",{"data-vg-id":"feec105a","data-source-path":"/src/components/ViewGateOverlay.tsx:4171",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:s.priority}),i.jsx("div",{"data-vg-id":"2e7833f8","data-source-path":"/src/components/ViewGateOverlay.tsx:4172",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(u=>i.jsx("button",{onClick:()=>y(u),style:{flex:1,padding:"10px 12px",borderRadius:"12px",fontSize:"13px",fontWeight:800,border:"2px solid",borderColor:F===u?u==="low"?"#10b981":u==="medium"?"#6366f1":u==="high"?"#f59e0b":"#ef4444":"#f1f5f9",backgroundColor:F===u?u==="low"?"#ecfdf5":u==="medium"?"#eef2ff":u==="high"?"#fffbeb":"#fef2f2":"white",color:F===u?u==="low"?"#059669":u==="medium"?"#4338ca":u==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"capitalize"},children:s[u]},u))})]}),i.jsxs("div",{"data-vg-id":"2e7833f9","data-source-path":"/src/components/ViewGateOverlay.tsx:4191",children:[i.jsx("label",{"data-vg-id":"feec105d","data-source-path":"/src/components/ViewGateOverlay.tsx:4192",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:e==="es"?"Mensaje":"Message"}),i.jsx("textarea",{className:"vg-textarea",value:Fc,onChange:u=>yc(u.target.value),rows:5,style:{minHeight:"120px",fontSize:"15px"}})]}),i.jsxs("div",{"data-vg-id":"2e7833fb","data-source-path":"/src/components/ViewGateOverlay.tsx:4202",children:[i.jsx("label",{"data-vg-id":"feec105f","data-source-path":"/src/components/ViewGateOverlay.tsx:4203",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Focus Areas"}),i.jsx("div",{"data-vg-id":"2e7833fd","data-source-path":"/src/components/ViewGateOverlay.tsx:4204",style:{display:"flex",gap:"12px"},children:[{id:"frontend",label:s.frontend,icon:i.jsx(xs,{"data-vg-id":"b806c32b","data-source-path":"/src/components/ViewGateOverlay.tsx:4206",size:16}),color:"#10b981",bg:"#ecfdf5",outline:"#a7f3d0"},{id:"backend",label:s.backend,icon:i.jsx(Te,{"data-vg-id":"b1e4c6d0","data-source-path":"/src/components/ViewGateOverlay.tsx:4207",size:16}),color:"#6366f1",bg:"#eef2ff",outline:"#c7d2fe"},{id:"ux",label:s.ux,icon:i.jsx(Ot,{"data-vg-id":"ea069d8d","data-source-path":"/src/components/ViewGateOverlay.tsx:4208",size:16}),color:"#d946ef",bg:"#fdf4ff",outline:"#fae8ff"}].map(u=>{const p=Qe.includes(u.id);return i.jsxs("button",{onClick:()=>{p?io(Qe.filter(x=>x!==u.id)):(io([...Qe,u.id]),u.id==="backend"&&vt.length===0&&yr())},style:{flex:1,padding:"12px",borderRadius:"16px",fontSize:"13px",fontWeight:800,border:"2px solid",borderColor:p?u.color:"#f1f5f9",backgroundColor:p?u.bg:"white",color:p?u.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",boxShadow:p?`0 4px 12px ${u.outline}`:"none"},children:[u.icon," ",u.label]},u.id)})})]}),Qe.includes("ux")&&i.jsxs("div",{"data-vg-id":"2e783416","data-source-path":"/src/components/ViewGateOverlay.tsx:4237",className:"vg-animate-slide",style:{padding:"20px",background:"rgba(217, 70, 239, 0.04)",borderRadius:"20px",border:"1px solid rgba(217, 70, 239, 0.15)"},children:[i.jsxs("div",{"data-vg-id":"2e783417","data-source-path":"/src/components/ViewGateOverlay.tsx:4238",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"},children:[i.jsx("span",{"data-vg-id":"81620ad","data-source-path":"/src/components/ViewGateOverlay.tsx:4239",style:{fontSize:"12px",fontWeight:800,color:"#d946ef",textTransform:"uppercase",letterSpacing:"0.5px"},children:s.figmaLink}),i.jsxs("button",{"data-vg-id":"5861c116","data-source-path":"/src/components/ViewGateOverlay.tsx:4240",onClick:()=>hs([...rt,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"none",color:"#d946ef",borderRadius:"8px",padding:"6px 12px",fontSize:"12px",fontWeight:800,cursor:"pointer",transition:"all 0.2s"},children:["+ ",s.addLink]})]}),i.jsx("div",{"data-vg-id":"2e78341a","data-source-path":"/src/components/ViewGateOverlay.tsx:4247",style:{display:"flex",flexDirection:"column",gap:"12px"},children:rt.map((u,p)=>i.jsxs("div",{"data-vg-id":"2e78341b","data-source-path":"/src/components/ViewGateOverlay.tsx:4249",style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.jsxs("div",{"data-vg-id":"2e78341c","data-source-path":"/src/components/ViewGateOverlay.tsx:4250",style:{flex:1,display:"flex",gap:"8px"},children:[i.jsx("input",{"data-vg-id":"88e38e56","data-source-path":"/src/components/ViewGateOverlay.tsx:4251",className:"vg-textarea",style:{flex:1,padding:"10px 14px",fontSize:"13px",minHeight:"auto",borderRadius:"12px"},placeholder:s.figmaNamePlaceholder,value:u.name,onChange:x=>{const E=[...rt];E[p]&&(E[p].name=x.target.value),hs(E)}}),i.jsx("input",{"data-vg-id":"88e38e6c","data-source-path":"/src/components/ViewGateOverlay.tsx:4260",className:"vg-textarea",style:{flex:2,padding:"10px 14px",fontSize:"13px",minHeight:"auto",borderRadius:"12px"},placeholder:s.figmaLinkPlaceholder,value:u.link,onChange:x=>{const E=[...rt];E[p]&&(E[p].link=x.target.value),hs(E)}})]}),rt.length>1&&i.jsx("button",{"data-vg-id":"5861c131","data-source-path":"/src/components/ViewGateOverlay.tsx:4271",onClick:()=>hs(rt.filter((x,E)=>E!==p)),style:{background:"none",border:"none",color:"#ef4444",cursor:"pointer",padding:"8px",borderRadius:"8px",display:"flex"},children:i.jsx(Fs,{"data-vg-id":"45b4461a","data-source-path":"/src/components/ViewGateOverlay.tsx:4271",size:18})})]},p))})]}),Qe.includes("backend")&&i.jsxs("div",{"data-vg-id":"2e783436","data-source-path":"/src/components/ViewGateOverlay.tsx:4280",className:"vg-animate-slide",style:{padding:"20px",background:"rgba(99, 102, 241, 0.04)",borderRadius:"20px",border:"1px solid rgba(99, 102, 241, 0.15)"},children:[i.jsx("span",{"data-vg-id":"81620cc","data-source-path":"/src/components/ViewGateOverlay.tsx:4281",style:{display:"block",fontSize:"12px",fontWeight:800,color:"#6366f1",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:"16px"},children:"Backend Endpoints"}),i.jsxs("button",{"data-vg-id":"5861c135","data-source-path":"/src/components/ViewGateOverlay.tsx:4282",onClick:()=>{JA(vt),YA(!0)},className:"vg-input-like-button",style:{cursor:"pointer",width:"100%",padding:"14px 20px",fontSize:"14px",borderRadius:"16px",background:"#ffffff",border:"1px solid #e0e7ff",display:"flex",alignItems:"center",justifyContent:"space-between",color:"#6366f1",fontWeight:700,boxShadow:"0 4px 6px -1px rgba(99, 102, 241, 0.1)"},children:[i.jsxs("div",{"data-vg-id":"2e783439","data-source-path":"/src/components/ViewGateOverlay.tsx:4290",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx(Te,{"data-vg-id":"b1e4c6f6","data-source-path":"/src/components/ViewGateOverlay.tsx:4291",size:18}),vt.length>0?`${vt.length} ${e==="es"?"seleccionados":"selected"}`:s.selectEndpoint]}),i.jsx(Vo,{"data-vg-id":"1cd39107","data-source-path":"/src/components/ViewGateOverlay.tsx:4294",size:18})]})]})]}),i.jsxs("div",{"data-vg-id":"2e78343c","data-source-path":"/src/components/ViewGateOverlay.tsx:4300",style:{display:"flex",justifyContent:"flex-end",gap:"12px",marginTop:"16px",paddingTop:"24px",borderTop:"1px solid #f1f5f9"},children:[i.jsx("button",{"data-vg-id":"5861c14f","data-source-path":"/src/components/ViewGateOverlay.tsx:4301",className:"vg-button-ghost",style:{padding:"12px 24px",fontSize:"14px",borderRadius:"12px",color:"#64748b",fontWeight:700},onClick:()=>{Sr(null),JA([])},children:s.cancel}),i.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"12px 32px",fontSize:"15px",borderRadius:"12px",background:"var(--vg-primary-gradient)",fontWeight:800,boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",opacity:ps?.7:1,cursor:ps?"not-allowed":"pointer",display:"flex",alignItems:"center",gap:"8px"},disabled:ps,onClick:async()=>{if(!ps)try{Tr(!0);const u=d.status==="ready_for_review"?d.originalStatus||(d.screenshot?"bug_fixing":"pending"):d.status,p=d.type==="bug"||d.originalStatus==="bug_fixing"||d.status==="bug_fixing";if(Qe.includes("backend")&&vt.length===0){A(e==="es"?"Selecciona al menos un endpoint o remueve el Focus Area de Backend":"Select at least one endpoint or remove the Backend Focus Area","error"),Tr(!1);return}const x=rt.filter(D=>D.link&&D.link.trim()!=="");if(Qe.includes("ux")&&x.length===0){A(e==="es"?"Añade al menos un enlace de Figma o remueve el Focus Area de UX":"Add at least one Figma link or remove the UX Focus Area","error"),Tr(!1);return}const E=await fetch(`${n}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({message:Fc,priority:F,focusAreas:Qe,figmaReference:Qe.includes("ux")?x:[],backendEndpoints:Qe.includes("backend")?vt:[],status:u,type:p?"bug":"task"})});if(E.ok)Sr(null),JA([]),vr(),A(s.updateSuccess,"success");else{const D=await E.json().catch(()=>({}));A(D.message||D.error||s.error,"error")}}catch{A(s.error,"error")}finally{Tr(!1)}},children:[ps?i.jsx("div",{"data-vg-id":"2e783453","data-source-path":"/src/components/ViewGateOverlay.tsx:4380",className:"vg-spinner",style:{width:"16px",height:"16px",borderTopColor:"white"}}):null,s.save]})]})]})}):null})()]})})};function no(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const s=g=>g.replace(/\\/g,"/"),r=s(A).replace(s(e),""),n=g=>{let l=0;for(let B=0;B<g.length;B++)l=Math.imul(31,l)+g.charCodeAt(B)|0;return(l>>>0).toString(16)};let o=0;return t.split(`
20
- `).map((g,l)=>{const B=l+1;return g.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(f,h,w)=>{if(f.includes("data-source-path")||f.includes("data-vg-id")||w==="Fragment"||w==="React.Fragment")return f;o++;const C=n(`${r}:${w}:${o}`);return`${h}<${w} data-vg-id="${C}" data-source-path="${r}:${B}"`})}).join(`
21
- `)}function Hp(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:no(t,A,process.cwd()),map:null}}}}function Ip(t){const A=this.resourcePath;return A?(this.getOptions&&this.getOptions(),no(t,A,process.cwd())):t}function Sp(t){return Ip.call(this,t)}qA.ViewGate=El,qA.ViewGateOverlay=dc,qA.transformSourcePaths=no,qA.useViewGate=Po,qA.viewgateNextLoader=Sp,qA.viewgatePlugin=Hp,Object.defineProperty(qA,Symbol.toStringTag,{value:"Module"})}));
14
+ ${I.rect.left}px ${I.rect.top}px,
15
+ ${I.rect.right}px ${I.rect.top}px,
16
+ ${I.rect.right}px ${I.rect.bottom}px,
17
+ ${I.rect.left}px ${I.rect.bottom}px,
18
+ ${I.rect.left}px ${I.rect.top}px
19
+ )`:"none",zIndex:Cw}}),u&&I&&!K&&!DA&&c.jsx("div",{className:"vg-selection-pulse",style:{top:I.rect.top-4,left:I.rect.left-4,width:I.rect.width+8,height:I.rect.height+8,zIndex:Qw},children:c.jsxs("div",{className:"vg-selection-label",style:{...I.rect.top<60?I.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...I.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[c.jsx(pl,{"data-vg-id":"f840c8ce","data-source-path":"/src/components/ViewGateOverlay.tsx:2491",size:16}),c.jsxs("div",{"data-vg-id":"17fbf98","data-source-path":"/src/components/ViewGateOverlay.tsx:2492",style:{display:"flex",flexDirection:"column"},children:[c.jsx("span",{"data-vg-id":"52d76c64","data-source-path":"/src/components/ViewGateOverlay.tsx:2493",style:{fontWeight:700},children:r.selectToComment}),c.jsxs("span",{"data-vg-id":"52d76c65","data-source-path":"/src/components/ViewGateOverlay.tsx:2494",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(I.rect.width)," × ",Math.round(I.rect.height)]})]})]})}),!tA&&(u||RA||K)&&c.jsx("div",{"data-vg-id":"17fbf9b","data-source-path":"/src/components/ViewGateOverlay.tsx:2504",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(12px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:mt},children:c.jsxs("div",{"data-vg-id":"17fbf9c","data-source-path":"/src/components/ViewGateOverlay.tsx:2509",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"440px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.4)",display:"flex",flexDirection:"column",overflow:"hidden",padding:"48px 32px"},children:[c.jsxs("div",{"data-vg-id":"17fbf9d","data-source-path":"/src/components/ViewGateOverlay.tsx:2518",style:{textAlign:"center",marginBottom:"32px"},children:[c.jsx("div",{"data-vg-id":"17fbf9e","data-source-path":"/src/components/ViewGateOverlay.tsx:2519",style:{width:"64px",height:"64px",background:"var(--vg-primary-gradient)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:"white",boxShadow:"0 8px 20px -4px var(--vg-primary)",animation:"pulse 2s infinite"},children:c.jsx(ko,{"data-vg-id":"422a5ede","data-source-path":"/src/components/ViewGateOverlay.tsx:2525",size:32})}),c.jsx("h2",{"data-vg-id":"efa6bb80","data-source-path":"/src/components/ViewGateOverlay.tsx:2527",style:{margin:"0 0 12px 0",fontSize:"24px",fontWeight:800,color:"#0f172a",letterSpacing:"-0.025em"},children:e==="es"?"ViewGate Protegido":"ViewGate Protected"}),c.jsx("p",{"data-vg-id":"1000def7","data-source-path":"/src/components/ViewGateOverlay.tsx:2530",style:{margin:0,color:"#64748b",fontSize:"15px",lineHeight:1.6},children:e==="es"?"Ingresa tu Clave de Acceso Semanal para continuar.":"Enter your project Weekly Access Key to continue."})]}),c.jsxs("form",{"data-vg-id":"a260acc8","data-source-path":"/src/components/ViewGateOverlay.tsx:2537",onSubmit:Ow,style:{width:"100%"},children:[c.jsx("div",{"data-vg-id":"17fbfb8","data-source-path":"/src/components/ViewGateOverlay.tsx:2538",style:{position:"relative",marginBottom:"24px"},children:c.jsx("input",{autoFocus:!0,type:"password",value:tt,onChange:l=>cc(l.target.value),placeholder:e==="es"?"Pega tu clave aquí...":"Paste your key here...",style:{width:"100%",padding:"16px",borderRadius:"12px",border:"2px solid #e2e8f0",fontSize:"15px",outline:"none",transition:"all 0.2s",backgroundColor:"rgba(255, 255, 255, 0.8)",color:"#1e293b"},onFocus:l=>{l.target.style.borderColor="var(--vg-primary)",l.target.style.boxShadow="0 0 0 4px rgba(99, 102, 241, 0.1)"},onBlur:l=>{l.target.style.borderColor="#e2e8f0",l.target.style.boxShadow="none"}})}),c.jsxs("button",{type:"submit",disabled:to||!tt.trim(),className:"vg-button-primary",style:{width:"100%",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",fontSize:"16px",fontWeight:700,opacity:to||!tt.trim()?.7:1,boxShadow:"0 10px 15px -3px rgba(99, 102, 241, 0.3)"},children:[to?c.jsx(wr,{"data-vg-id":"cb81c82b","data-source-path":"/src/components/ViewGateOverlay.tsx:2585",size:20,className:"vg-animate-spin"}):c.jsx(wl,{"data-vg-id":"d69f974c","data-source-path":"/src/components/ViewGateOverlay.tsx:2587",size:20}),e==="es"?"Desbloquear":"Unlock Now"]})]}),c.jsx("div",{"data-vg-id":"17fbfbb","data-source-path":"/src/components/ViewGateOverlay.tsx:2593",style:{margin:"32px 0 24px",height:"1px",background:"linear-gradient(to right, transparent, #e2e8f0, transparent)"}}),c.jsx("button",{onClick:()=>{N(null),f(!1),ue(!1)},className:"vg-button-ghost",style:{width:"100%",padding:"12px",fontSize:"14px",color:"#94a3b8"},children:e==="es"?"Cerrar ViewGate":"Close ViewGate"}),c.jsx("div",{"data-vg-id":"17fbfbc","data-source-path":"/src/components/ViewGateOverlay.tsx:2607",style:{marginTop:"24px",textAlign:"center"},children:c.jsx("p",{"data-vg-id":"1000defe","data-source-path":"/src/components/ViewGateOverlay.tsx:2608",style:{fontSize:"12px",color:"#94a3b8",margin:0,lineHeight:1.5},children:e==="es"?"Encuentra tu clave en Dashboard > Proyectos":"Find your key in Dashboard > Projects"})})]})}),K&&SA&&c.jsx("div",{"data-vg-id":"17fbfd3","data-source-path":"/src/components/ViewGateOverlay.tsx:2621",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:mt},children:c.jsxs("div",{"data-vg-id":"17fbfd4","data-source-path":"/src/components/ViewGateOverlay.tsx:2626",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"700px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[c.jsxs("div",{"data-vg-id":"17fbfd5","data-source-path":"/src/components/ViewGateOverlay.tsx:2636",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0,position:"relative"},children:[SA&&c.jsxs("div",{"data-vg-id":"17fbfd6","data-source-path":"/src/components/ViewGateOverlay.tsx:2638",className:"vg-profile-info-card",style:{position:"absolute",top:"20px",right:"20px",display:"flex",alignItems:"center",gap:"8px",padding:"4px 8px",borderRadius:"20px",background:"white",border:"1px solid #e2e8f0",boxShadow:"0 2px 6px rgba(0,0,0,0.05)",zIndex:10},children:[c.jsx("span",{"data-vg-id":"52d76ca2","data-source-path":"/src/components/ViewGateOverlay.tsx:2655",style:{fontSize:"10px",fontWeight:800,color:"#64748b",textTransform:"uppercase"},children:SA.name.split(" ")[0]}),SA.avatar?c.jsx("img",{"data-vg-id":"a398766","data-source-path":"/src/components/ViewGateOverlay.tsx:2659",src:SA.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):c.jsx("div",{"data-vg-id":"17fbfd9","data-source-path":"/src/components/ViewGateOverlay.tsx:2661",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:700},children:SA.name?.[0]})]}),c.jsx("div",{"data-vg-id":"17fbfda","data-source-path":"/src/components/ViewGateOverlay.tsx:2667",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:c.jsx(pr,{"data-vg-id":"10c62228","data-source-path":"/src/components/ViewGateOverlay.tsx:2672",size:20})}),c.jsx("h2",{"data-vg-id":"efa6bba7","data-source-path":"/src/components/ViewGateOverlay.tsx:2674",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:r.feedbackHeader}),c.jsx("p",{"data-vg-id":"1000df33","data-source-path":"/src/components/ViewGateOverlay.tsx:2675",style:{margin:0,color:"#64748b",fontSize:"14px"},children:r.feedbackSubheader})]}),c.jsxs("div",{"data-vg-id":"17fbff3","data-source-path":"/src/components/ViewGateOverlay.tsx:2679",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[K.visualPreview&&c.jsx("div",{"data-vg-id":"17fbff4","data-source-path":"/src/components/ViewGateOverlay.tsx:2688",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:c.jsx("img",{src:K.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),c.jsx("textarea",{className:"vg-textarea",value:W,onChange:l=>D(l.target.value),rows:4,placeholder:r.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),c.jsxs("div",{"data-vg-id":"17fbff5","data-source-path":"/src/components/ViewGateOverlay.tsx:2725",style:{marginBottom:"24px"},children:[c.jsx("label",{"data-vg-id":"18bd4b33","data-source-path":"/src/components/ViewGateOverlay.tsx:2726",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:r.priority}),c.jsx("div",{"data-vg-id":"17fbff7","data-source-path":"/src/components/ViewGateOverlay.tsx:2729",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(l=>c.jsx("button",{onClick:()=>Q(l),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:w===l?l==="low"?"#10b981":l==="medium"?"#6366f1":l==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:w===l?l==="low"?"#ecfdf5":l==="medium"?"#eef2ff":l==="high"?"#fffbeb":"#fef2f2":"white",color:w===l?l==="low"?"#059669":l==="medium"?"#4338ca":l==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:r[l]},l))})]}),c.jsxs("div",{"data-vg-id":"17fbff8","data-source-path":"/src/components/ViewGateOverlay.tsx:2756",style:{marginBottom:"24px"},children:[c.jsx("label",{"data-vg-id":"18bd4b36","data-source-path":"/src/components/ViewGateOverlay.tsx:2757",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:r.focusAreas}),c.jsx("div",{"data-vg-id":"17fbffa","data-source-path":"/src/components/ViewGateOverlay.tsx:2760",style:{display:"flex",gap:"8px",marginBottom:_.length>0?"12px":"0"},children:[{id:"frontend",label:r.frontend,icon:c.jsx(Js,{"data-vg-id":"377c172e","data-source-path":"/src/components/ViewGateOverlay.tsx:2762",size:14}),color:"#10b981",bg:"#ecfdf5",border:"#d1fae5"},{id:"backend",label:r.backend,icon:c.jsx(ot,{"data-vg-id":"7117e5d5","data-source-path":"/src/components/ViewGateOverlay.tsx:2763",size:14}),color:"#6366f1",bg:"#eef2ff",border:"#e0e7ff"},{id:"ux",label:r.ux,icon:c.jsx(Cr,{"data-vg-id":"de42479a","data-source-path":"/src/components/ViewGateOverlay.tsx:2764",size:14}),color:"#d946ef",bg:"#fdf4ff",border:"#f5d0fe"}].filter(l=>l.id==="backend"?dc:l.id==="ux"?Ae:!0).map(l=>{const h=_.includes(l.id);return c.jsxs("button",{onClick:()=>{h?yA(_.filter(C=>C!==l.id)):(yA([..._,l.id]),l.id==="backend"&&so())},style:{flex:1,padding:"10px 4px",borderRadius:"8px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:h?l.color:"#e2e8f0",backgroundColor:h?l.bg:"white",color:h?l.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[l.icon,l.label]},l.id)})}),_.includes("ux")&&c.jsxs("div",{"data-vg-id":"17fc013","data-source-path":"/src/components/ViewGateOverlay.tsx:2811",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[c.jsxs("div",{"data-vg-id":"17fc014","data-source-path":"/src/components/ViewGateOverlay.tsx:2812",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[c.jsxs("div",{"data-vg-id":"17fc015","data-source-path":"/src/components/ViewGateOverlay.tsx:2813",style:{display:"flex",alignItems:"center",gap:"6px"},children:[c.jsx(zs,{"data-vg-id":"38884e11","data-source-path":"/src/components/ViewGateOverlay.tsx:2814",size:14,style:{color:"#d946ef"}}),c.jsx("span",{"data-vg-id":"52d76ce2","data-source-path":"/src/components/ViewGateOverlay.tsx:2815",style:{fontSize:"11px",fontWeight:800,color:"#64748b",textTransform:"uppercase",letterSpacing:"0.05em"},children:r.figmaLink})]}),c.jsxs("button",{"data-vg-id":"23e21f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2819",onClick:()=>IA([...$,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"1px solid rgba(217, 70, 239, 0.2)",color:"#d946ef",borderRadius:"6px",padding:"4px 8px",fontSize:"10px",fontWeight:800,display:"flex",alignItems:"center",gap:"4px",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:l=>l.currentTarget.style.background="rgba(217, 70, 239, 0.15)",onMouseLeave:l=>l.currentTarget.style.background="rgba(217, 70, 239, 0.1)",children:[c.jsx(Cl,{"data-vg-id":"11a60c74","data-source-path":"/src/components/ViewGateOverlay.tsx:2838",size:10})," ",r.addLink]})]}),c.jsx("div",{"data-vg-id":"17fc01a","data-source-path":"/src/components/ViewGateOverlay.tsx:2842",style:{display:"flex",flexDirection:"column",gap:"8px"},children:$.map((l,h)=>c.jsxs("div",{"data-vg-id":"17fc030","data-source-path":"/src/components/ViewGateOverlay.tsx:2844",style:{display:"flex",gap:"6px",alignItems:"flex-start"},className:"vg-animate-slide",children:[c.jsxs("div",{"data-vg-id":"17fc031","data-source-path":"/src/components/ViewGateOverlay.tsx:2845",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[c.jsx("input",{"data-vg-id":"a993bad9","data-source-path":"/src/components/ViewGateOverlay.tsx:2846",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:r.figmaNamePlaceholder,value:l.name,onChange:C=>{const U=[...$];U[h]&&(U[h].name=C.target.value,IA(U))}}),c.jsx("input",{"data-vg-id":"a993bada","data-source-path":"/src/components/ViewGateOverlay.tsx:2860",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:r.figmaLinkPlaceholder,value:l.link,onChange:C=>{const U=[...$];U[h]&&(U[h].link=C.target.value,IA(U))}})]}),$.length>1&&c.jsx("button",{"data-vg-id":"23e21f97","data-source-path":"/src/components/ViewGateOverlay.tsx:2876",onClick:()=>IA($.filter((C,U)=>U!==h)),style:{background:"rgba(239, 68, 68, 0.05)",border:"1px solid rgba(239, 68, 68, 0.1)",color:"#ef4444",borderRadius:"8px",padding:"10px",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:C=>C.currentTarget.style.background="rgba(239, 68, 68, 0.1)",onMouseLeave:C=>C.currentTarget.style.background="rgba(239, 68, 68, 0.05)",children:c.jsx(Ys,{"data-vg-id":"e1375db0","data-source-path":"/src/components/ViewGateOverlay.tsx:2893",size:14})})]},h))})]}),ie.length>0&&_.includes("backend")&&c.jsxs("div",{"data-vg-id":"17fc036","data-source-path":"/src/components/ViewGateOverlay.tsx:2905",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[c.jsxs("div",{"data-vg-id":"17fc037","data-source-path":"/src/components/ViewGateOverlay.tsx:2906",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[c.jsxs("div",{"data-vg-id":"17fc038","data-source-path":"/src/components/ViewGateOverlay.tsx:2907",style:{display:"flex",alignItems:"center",gap:"6px"},children:[c.jsx(ot,{"data-vg-id":"7117e5fd","data-source-path":"/src/components/ViewGateOverlay.tsx:2908",size:14,style:{color:"#6366f1"}}),c.jsx("span",{"data-vg-id":"52d76d1a","data-source-path":"/src/components/ViewGateOverlay.tsx:2909",style:{fontSize:"11px",fontWeight:700,color:"#64748b"},children:r.endpoint})]}),X.length>0&&c.jsxs("span",{"data-vg-id":"52d76d1b","data-source-path":"/src/components/ViewGateOverlay.tsx:2912",style:{fontSize:"10px",background:"#eef2ff",color:"#6366f1",padding:"2px 8px",borderRadius:"12px",fontWeight:700},children:[X.length," ",e==="es"?"seleccionados":"selected"]})]}),c.jsxs("button",{"data-vg-id":"23e21fb4","data-source-path":"/src/components/ViewGateOverlay.tsx:2918",onClick:()=>ee(!0),className:"vg-input-like-button",style:{width:"100%",padding:"12px 16px",fontSize:"13px",borderRadius:"12px",background:"#f8fafc",border:"1px solid #e2e8f0",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s",textAlign:"left",color:X.length>0?"#0f172a":"#94a3b8"},children:[c.jsx("div",{"data-vg-id":"17fc052","data-source-path":"/src/components/ViewGateOverlay.tsx:2937",style:{display:"flex",gap:"4px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:X.length>0?X.slice(0,2).map(l=>{const h=l.split("|"),C=h.length>1?h[0]:"",U=h.length>1?h[1]:l;return c.jsxs("span",{"data-vg-id":"52d76d1e","data-source-path":"/src/components/ViewGateOverlay.tsx:2944",style:{background:"rgba(99, 102, 241, 0.1)",color:"#6366f1",padding:"1px 6px",borderRadius:"4px",fontSize:"11px",fontWeight:600},children:[C&&c.jsx("span",{"data-vg-id":"52d76d1f","data-source-path":"/src/components/ViewGateOverlay.tsx:2952",style:{opacity:.6,marginRight:"4px"},children:C}),(U||"").split("/").pop()||U]},l)}).concat(X.length>2?[c.jsxs("span",{"data-vg-id":"52d76d20","data-source-path":"/src/components/ViewGateOverlay.tsx:2956",children:["+",X.length-2]},"more")]:[]):r.selectEndpoint}),c.jsx(gl,{"data-vg-id":"c71f9a0a","data-source-path":"/src/components/ViewGateOverlay.tsx:2959",size:14,style:{color:"#64748b"}})]})]})]})]}),c.jsxs("div",{"data-vg-id":"17fc057","data-source-path":"/src/components/ViewGateOverlay.tsx:2968",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[c.jsx("button",{onClick:()=>{lA||(N(null),f(!1))},className:"vg-button-ghost",disabled:lA,style:{flex:1,padding:"12px"},children:r.cancel}),c.jsx("button",{onClick:Vw,className:"vg-button-primary",disabled:lA||!W.trim()||_.includes("backend")&&X.length===0||_.includes("ux")&&$.some(l=>!l.name.trim()||!l.link.trim()),style:{flex:2,opacity:lA||!W.trim()||_.includes("backend")&&X.length===0||_.includes("ux")&&$.some(l=>!l.name.trim()||!l.link.trim())?.6:1,cursor:lA||!W.trim()||_.includes("backend")&&X.length===0||_.includes("ux")&&$.some(l=>!l.name.trim()||!l.link.trim())?"not-allowed":"pointer"},children:c.jsxs("div",{"data-vg-id":"17fc058","data-source-path":"/src/components/ViewGateOverlay.tsx:3005",style:{display:"flex",alignItems:"center",gap:"8px"},children:[lA?c.jsx("div",{"data-vg-id":"17fc06e","data-source-path":"/src/components/ViewGateOverlay.tsx:3006",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):c.jsx(ml,{"data-vg-id":"a3fd5c1c","data-source-path":"/src/components/ViewGateOverlay.tsx:3006",size:18}),c.jsx("span",{"data-vg-id":"52d76d3b","data-source-path":"/src/components/ViewGateOverlay.tsx:3007",children:lA?r.submitting:r.sendFeedback||"Send Comment"})]})})]})]})}),RA&&c.jsx("div",{"data-vg-id":"17fc071","data-source-path":"/src/components/ViewGateOverlay.tsx:3018",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:mt},children:c.jsxs("div",{"data-vg-id":"17fc072","data-source-path":"/src/components/ViewGateOverlay.tsx:3024",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[c.jsxs("div",{"data-vg-id":"17fc073","data-source-path":"/src/components/ViewGateOverlay.tsx:3029",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[c.jsxs("div",{"data-vg-id":"17fc074","data-source-path":"/src/components/ViewGateOverlay.tsx:3030",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[c.jsx("h2",{"data-vg-id":"efa6bc40","data-source-path":"/src/components/ViewGateOverlay.tsx:3031",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:iA?r.commentDetails:r.annotations}),c.jsxs("div",{"data-vg-id":"17fc076","data-source-path":"/src/components/ViewGateOverlay.tsx:3034",style:{display:"flex",alignItems:"center",gap:"12px"},children:[SA?c.jsxs("div",{"data-vg-id":"17fc077","data-source-path":"/src/components/ViewGateOverlay.tsx:3036",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[SA.avatar?c.jsx("img",{"data-vg-id":"3cf759ac","data-source-path":"/src/components/ViewGateOverlay.tsx:3038",src:SA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):c.jsx("div",{"data-vg-id":"2e782f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:3040",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:SA.name?.[0]}),c.jsx("span",{"data-vg-id":"8161c11","data-source-path":"/src/components/ViewGateOverlay.tsx:3044",style:{fontSize:"12px",fontWeight:600,color:"#4338ca"},children:SA.name})]}):c.jsx("div",{"data-vg-id":"2e782f7d","data-source-path":"/src/components/ViewGateOverlay.tsx:3051",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:e==="es"?"Sin usuario":"No user selected"}),c.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{ue(!1),BA(null),xs(null),T("all")},children:c.jsx(Lt,{"data-vg-id":"eec8c445","data-source-path":"/src/components/ViewGateOverlay.tsx:3060",size:20})})]})]}),c.jsx("div",{"data-vg-id":"2e782f7f","data-source-path":"/src/components/ViewGateOverlay.tsx:3064",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const l=Array.isArray(PA)?PA:[],h=iA?Ft.find(L=>L.annotations?.some(gA=>gA._id===iA)):null,U=(h?h.annotations:l).filter(L=>L.status!=="completed"&&L.status!=="done"),E=U.filter(L=>L.status!=="ready_for_review").length,R=U.filter(L=>L.status==="ready_for_review").length,O=U.length;return O<=0?O===0?null:c.jsxs("div",{"data-vg-id":"2e782f80","data-source-path":"/src/components/ViewGateOverlay.tsx:3078",style:{display:"flex",gap:"8px",opacity:.9},children:[E>0&&c.jsxs("div",{"data-vg-id":"2e782f81","data-source-path":"/src/components/ViewGateOverlay.tsx:3080",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[E," ",E===1?"pendiente":"pendientes"]}),R>0&&c.jsxs("div",{"data-vg-id":"2e782f82","data-source-path":"/src/components/ViewGateOverlay.tsx:3085",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[R," ",e==="es"?R===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):c.jsxs(c.Fragment,{children:[!B&&c.jsxs("div",{"data-vg-id":"2e782f83","data-source-path":"/src/components/ViewGateOverlay.tsx:3096",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[c.jsx("div",{className:"vg-segmented-slider",style:{left:NA===null?"4px":NA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:NA===null?"var(--vg-primary)":NA==="pending"?"#ea580c":"#a855f7",boxShadow:NA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":NA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),c.jsxs("div",{onClick:()=>xs(null),className:`vg-segmented-item ${NA===null?"active":""}`,children:[r.viewAll||"Todos"," (",O,")"]}),c.jsxs("div",{onClick:()=>xs("pending"),className:`vg-segmented-item ${NA==="pending"?"active":""}`,children:[e==="es"?E===1?"Pendiente":"Pendientes":"Pending"," (",E,")"]}),c.jsxs("div",{onClick:()=>xs("ready"),className:`vg-segmented-item ${NA==="ready"?"active":""}`,children:[e==="es"?"Listo para revisión":"Ready for Review"," (",R,")"]})]}),c.jsxs("div",{"data-vg-id":"2e782f99","data-source-path":"/src/components/ViewGateOverlay.tsx:3127",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:B?"0":"4px"},children:[c.jsxs("button",{onClick:()=>T("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:p==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:p==="all"?"var(--vg-primary)":"transparent",color:p==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[r.viewAll||"Todos"," (",U.filter(L=>B?!0:NA==="pending"?L.status!=="ready_for_review":NA==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const gA=U.filter(G=>B?!0:NA==="pending"?G.status!=="ready_for_review":NA==="ready"?G.status==="ready_for_review":!0).filter(G=>(G.priority||"medium")===L).length;return gA===0&&p!==L?null:c.jsxs("button",{onClick:()=>T(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:p===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:p===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:p===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[r[L]," (",gA,")"]},L)})]})]})})()})]}),c.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:rt?c.jsx("div",{"data-vg-id":"2e782f9a","data-source-path":"/src/components/ViewGateOverlay.tsx:3193",style:{display:"flex",justifyContent:"center",padding:"40px"},children:c.jsx("div",{"data-vg-id":"2e782f9b","data-source-path":"/src/components/ViewGateOverlay.tsx:3194",className:"vg-spinner"})}):no.map((l,h)=>c.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:[c.jsxs("div",{"data-vg-id":"2e782f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3209",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[c.jsxs("div",{"data-vg-id":"2e782f9d","data-source-path":"/src/components/ViewGateOverlay.tsx:3210",style:{display:"flex",gap:"12px",alignItems:"center"},children:[c.jsx("span",{"data-vg-id":"8161c33","data-source-path":"/src/components/ViewGateOverlay.tsx:3211",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Ac(l.timestamp||l.createdAt||l.reference?.timestamp,e)}),c.jsx("div",{"data-vg-id":"2e782f9f","data-source-path":"/src/components/ViewGateOverlay.tsx:3214",onClick:C=>{C.stopPropagation();const U=l.key||`VG-${l._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(U);const E=C.currentTarget;E.innerText="¡Copiado!",E.style.color="#22c55e",setTimeout(()=>{E.innerText=U,E.style.color=B?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:B?"#64748b":"#6366f1",background:B?"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:e==="es"?"Click para copiar":"Click to copy",children:l.key||`VG-${l._id.slice(-6).toUpperCase()}`}),l.reference?.metadata?.isModal&&c.jsx("span",{"data-vg-id":"8161c35","data-source-path":"/src/components/ViewGateOverlay.tsx:3243",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":l.status==="completed"||l.status==="done"?"#ecfdf5":l.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:B?"#64748b":l.status==="completed"||l.status==="done"?"#059669":l.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),l.creator&&c.jsx("div",{"data-vg-id":"2e782fa1","data-source-path":"/src/components/ViewGateOverlay.tsx:3252",style:{display:"flex",alignItems:"center",background:"#f8fafc",padding:"2px",borderRadius:"50%",border:"1px solid #e2e8f0",marginLeft:"4px"},children:l.creator.avatar?c.jsx("img",{"data-vg-id":"3cf759d4","data-source-path":"/src/components/ViewGateOverlay.tsx:3262",src:l.creator.avatar,style:{width:"16px",height:"16px",borderRadius:"50%"},alt:""}):c.jsx("div",{"data-vg-id":"2e782fb8","data-source-path":"/src/components/ViewGateOverlay.tsx:3264",style:{width:"16px",height:"16px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"8px",fontWeight:700},children:l.creator.name?.[0]})}),l.url&&c.jsx(ec,{url:l.url,onHover:fc,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}}),(l.focusAreas?.length>0?l.focusAreas:[...l.backendEndpoints?.length>0?["backend"]:[],...l.figmaReference?.length>0?["ux"]:[]]).map(C=>c.jsxs("span",{"data-vg-id":"8161c4e","data-source-path":"/src/components/ViewGateOverlay.tsx:3290",style:{fontSize:"10px",fontWeight:800,textTransform:"uppercase",padding:"4px 10px",borderRadius:"24px",background:C==="frontend"?"linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%)":C==="backend"?"linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%)":"linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%)",color:C==="frontend"?"#059669":C==="backend"?"#4f46e5":"#c026d3",display:"flex",alignItems:"center",gap:"4px",border:`1px solid ${C==="frontend"?"#a7f3d0":C==="backend"?"#c7d2fe":"#fbcfe8"}`,boxShadow:C==="frontend"?"0 2px 4px rgba(5, 150, 105, 0.05)":C==="backend"?"0 2px 4px rgba(79, 70, 229, 0.05)":"0 2px 4px rgba(192, 38, 211, 0.05)",letterSpacing:"0.02em"},children:[C==="frontend"?c.jsx(Js,{"data-vg-id":"b806bee7","data-source-path":"/src/components/ViewGateOverlay.tsx:3298",size:11,strokeWidth:2.5}):C==="backend"?c.jsx(ot,{"data-vg-id":"b1e4c277","data-source-path":"/src/components/ViewGateOverlay.tsx:3298",size:11,strokeWidth:2.5}):c.jsx(Cr,{"data-vg-id":"ea069934","data-source-path":"/src/components/ViewGateOverlay.tsx:3298",size:11,strokeWidth:2.5}),C==="frontend"?"Frontend":C==="backend"?"Backend":"UX / UI"]},C))]}),l.status==="completed"?c.jsxs("span",{"data-vg-id":"8161c52","data-source-path":"/src/components/ViewGateOverlay.tsx:3304",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[c.jsx(_e,{"data-vg-id":"a75c1a63","data-source-path":"/src/components/ViewGateOverlay.tsx:3305",size:14})," ",r.completed||(e==="es"?"Listo para revisión":"Ready for Review")]}):l.status==="ready_for_review"?c.jsxs("span",{"data-vg-id":"8161c54","data-source-path":"/src/components/ViewGateOverlay.tsx:3308",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[c.jsx(_e,{"data-vg-id":"a75c1a65","data-source-path":"/src/components/ViewGateOverlay.tsx:3309",size:14})," ",r.readyForReview]}):l.status==="bug_fixing"?c.jsxs("span",{"data-vg-id":"8161c56","data-source-path":"/src/components/ViewGateOverlay.tsx:3312",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[c.jsx(St,{"data-vg-id":"3b8b181a","data-source-path":"/src/components/ViewGateOverlay.tsx:3313",size:14})," ","Bug Fixing"]}):c.jsxs("span",{"data-vg-id":"8161c6d","data-source-path":"/src/components/ViewGateOverlay.tsx:3316",className:"vg-badge",style:{backgroundColor:B||l.status==="backlog"?"#f1f5f9":"#fff7ed",color:B||l.status==="backlog"?"#64748b":"#ea580c",border:B||l.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[c.jsx(Mo,{"data-vg-id":"62dc6c36","data-source-path":"/src/components/ViewGateOverlay.tsx:3321",size:14}),B||l.status==="backlog"?r.backlog:r.pending]})]}),(l.screenshot||l.reference?.previewUrl)&&c.jsx("div",{"data-vg-id":"2e782fda","data-source-path":"/src/components/ViewGateOverlay.tsx:3328",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:c.jsx("img",{"data-vg-id":"3cf75a0d","data-source-path":"/src/components/ViewGateOverlay.tsx:3340",src:l.screenshot||l.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),c.jsxs("div",{"data-vg-id":"2e782fdc","data-source-path":"/src/components/ViewGateOverlay.tsx:3353",style:{marginBottom:"20px"},children:[c.jsx("div",{"data-vg-id":"2e782fdd","data-source-path":"/src/components/ViewGateOverlay.tsx:3354",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:c.jsxs("div",{"data-vg-id":"2e782fde","data-source-path":"/src/components/ViewGateOverlay.tsx:3355",style:{fontSize:"10px",fontWeight:800,color:l.priority==="low"?"#059669":l.priority==="urgent"?"#b91c1c":l.priority==="high"?"#b45309":"#4338ca",backgroundColor:l.priority==="low"?"#ecfdf5":l.priority==="urgent"?"#fef2f2":l.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:l.priority==="low"?"#d1fae5":l.priority==="urgent"?"#fee2e2":l.priority==="high"?"#fef3c7":"#e0e7ff"},children:[r.priority,": ",r[l.priority||"medium"]]})}),c.jsx("p",{"data-vg-id":"f01af8be","data-source-path":"/src/components/ViewGateOverlay.tsx:3369",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:l.message}),l.figmaReference?.length>0&&c.jsxs("div",{"data-vg-id":"2e782fe0","data-source-path":"/src/components/ViewGateOverlay.tsx:3374",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#faf5ff",borderRadius:"12px",border:"1px solid #fae8ff"},children:[c.jsxs("div",{"data-vg-id":"2e782ff6","data-source-path":"/src/components/ViewGateOverlay.tsx:3375",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[c.jsx(Cr,{"data-vg-id":"ea06996f","data-source-path":"/src/components/ViewGateOverlay.tsx:3376",size:14,style:{color:"#d946ef"}}),c.jsx("span",{"data-vg-id":"8161c8d","data-source-path":"/src/components/ViewGateOverlay.tsx:3377",style:{fontSize:"11px",fontWeight:800,color:"#a21caf",textTransform:"uppercase",letterSpacing:"0.05em"},children:e==="es"?"Diseños Figma":"Figma Designs"})]}),l.figmaReference.map((C,U)=>c.jsxs("a",{"data-vg-id":"ef479849","data-source-path":"/src/components/ViewGateOverlay.tsx:3380",href:C.link,target:"_blank",rel:"noreferrer",className:"vg-animate-pop",style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px",background:"#ffffff",border:"1px solid #f5d0fe",borderRadius:"10px",fontSize:"13px",color:"#c026d3",textDecoration:"none",transition:"all 0.2s",boxShadow:"0 2px 4px rgba(217, 70, 239, 0.05)"},onMouseEnter:E=>{E.currentTarget.style.transform="translateY(-2px)",E.currentTarget.style.boxShadow="0 4px 12px rgba(217, 70, 239, 0.15)",E.currentTarget.style.borderColor="#d946ef"},onMouseLeave:E=>{E.currentTarget.style.transform="translateY(0)",E.currentTarget.style.boxShadow="0 2px 4px rgba(217, 70, 239, 0.05)",E.currentTarget.style.borderColor="#f5d0fe"},children:[c.jsxs("div",{"data-vg-id":"2e782ffa","data-source-path":"/src/components/ViewGateOverlay.tsx:3388",style:{display:"flex",alignItems:"center",gap:"8px"},children:[c.jsx("div",{"data-vg-id":"2e782ffb","data-source-path":"/src/components/ViewGateOverlay.tsx:3389",style:{width:"24px",height:"24px",borderRadius:"6px",background:"rgba(217, 70, 239, 0.1)",display:"flex",alignItems:"center",justifyContent:"center"},children:c.jsx(Js,{"data-vg-id":"b806bf29","data-source-path":"/src/components/ViewGateOverlay.tsx:3390",size:12,strokeWidth:3})}),c.jsx("span",{"data-vg-id":"8161c92","data-source-path":"/src/components/ViewGateOverlay.tsx:3392",style:{fontWeight:700},children:C.name||"Figma Reference"})]}),c.jsx(Xs,{"data-vg-id":"5c2be04e","data-source-path":"/src/components/ViewGateOverlay.tsx:3394",size:14,style:{opacity:.5}})]},U))]}),l.backendEndpoints?.length>0&&c.jsxs("div",{"data-vg-id":"2e782fff","data-source-path":"/src/components/ViewGateOverlay.tsx:3401",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#f5f8ff",borderRadius:"12px",border:"1px solid #e0e7ff"},children:[c.jsxs("div",{"data-vg-id":"2e783015","data-source-path":"/src/components/ViewGateOverlay.tsx:3402",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[c.jsx(ot,{"data-vg-id":"b1e4c2d2","data-source-path":"/src/components/ViewGateOverlay.tsx:3403",size:14,style:{color:"#4f46e5"}}),c.jsx("span",{"data-vg-id":"8161cac","data-source-path":"/src/components/ViewGateOverlay.tsx:3404",style:{fontSize:"11px",fontWeight:800,color:"#3730a3",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Backend Endpoints"})]}),c.jsx("div",{"data-vg-id":"2e783018","data-source-path":"/src/components/ViewGateOverlay.tsx:3406",style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:l.backendEndpoints.map(C=>{const U=C.split("|"),E=U.length>1?U[0]:"";let R=U.length>1?U[1]||"":C||"",O="#4f46e5",L="#e0e7ff";return E==="GET"?(O="#059669",L="#d1fae5"):E==="POST"?(O="#ea580c",L="#ffedd5"):E==="PUT"?(O="#0284c7",L="#e0f2fe"):E==="DELETE"&&(O="#e11d48",L="#ffe4e6"),c.jsxs("div",{"data-vg-id":"2e783019","data-source-path":"/src/components/ViewGateOverlay.tsx:3421",className:"vg-animate-slide",style:{fontSize:"12px",padding:"6px 12px",background:"#ffffff",color:"#4f46e5",borderRadius:"8px",border:"1px solid #c7d2fe",display:"flex",alignItems:"center",gap:"8px",boxShadow:"0 2px 4px rgba(79, 70, 229, 0.05)"},children:[E&&c.jsx("span",{"data-vg-id":"8161caf","data-source-path":"/src/components/ViewGateOverlay.tsx:3427",style:{fontWeight:800,color:O,background:L,padding:"2px 6px",borderRadius:"4px",fontSize:"10px"},children:E}),c.jsx("span",{"data-vg-id":"8161cb0","data-source-path":"/src/components/ViewGateOverlay.tsx:3428",style:{fontWeight:600,fontFamily:"monospace",letterSpacing:"-0.02em",color:"#1e293b"},children:R})]},C)})})]})]}),c.jsxs("div",{"data-vg-id":"2e78301c","data-source-path":"/src/components/ViewGateOverlay.tsx:3438",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[c.jsx("div",{"data-vg-id":"2e78301d","data-source-path":"/src/components/ViewGateOverlay.tsx:3440",style:{display:"flex",gap:"6px"},children:cr!=="client"&&c.jsxs(c.Fragment,{children:[c.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{const C=l.backendEndpoints||[],U=l.focusAreas&&l.focusAreas.length>0?l.focusAreas:[...C.length>0?["backend"]:[],...l.figmaReference&&l.figmaReference.length>0?["ux"]:[]];Fs(l._id),Uc(l.message),y(l.priority||"medium"),kw(U),Gw(l.figmaReference&&l.figmaReference.length>0?l.figmaReference:[{name:r.figmaPrimaryDesign,link:""}]),ys(C),ae(C)},title:r.edit,children:c.jsx(Cr,{"data-vg-id":"ea069996","data-source-path":"/src/components/ViewGateOverlay.tsx:3464",size:16})}),c.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{qe({title:r.deleteConfirm,message:r.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${n}/api/annotations/${l._id}`,{method:"DELETE",headers:{"x-api-key":s}})).ok&&(Us(),A(r.deleteSuccess,"success"))}catch{A(r.error,"error")}finally{qe(null)}}})},title:e==="es"?"Eliminar":"Delete",children:c.jsx(Ys,{"data-vg-id":"45b44219","data-source-path":"/src/components/ViewGateOverlay.tsx:3494",size:16})})]})}),c.jsxs("div",{"data-vg-id":"2e783035","data-source-path":"/src/components/ViewGateOverlay.tsx:3500",style:{display:"flex",gap:"8px"},children:[cr!=="client"&&l.status==="ready_for_review"&&c.jsxs("button",{onClick:()=>Nw(l),className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",background:"linear-gradient(135deg, #059669 0%, #10b981 100%)",boxShadow:"0 4px 12px rgba(5, 150, 69, 0.2)",display:"flex",alignItems:"center",gap:"8px",fontWeight:700},disabled:DA,children:[DA?c.jsx(wr,{"data-vg-id":"a4b73604","data-source-path":"/src/components/ViewGateOverlay.tsx:3518",size:14,className:"vg-animate-spin"}):c.jsx(Bl,{"data-vg-id":"41e603c7","data-source-path":"/src/components/ViewGateOverlay.tsx:3518",size:14}),e==="es"?"Resolver con Evidencia":"Resolve & Capture"]}),c.jsxs("a",{href:`${(o||"").replace(/\/$/,"")}/${B||l.status==="backlog"?"backlog":"board"}?search=${l.key||(l._id?"VG-"+l._id.slice(-6).toUpperCase():"TICKET")}`,target:"_blank",rel:"noopener noreferrer",className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",textDecoration:"none",display:"flex",alignItems:"center",gap:"8px",cursor:"pointer"},children:[c.jsx(Xs,{"data-vg-id":"5c2be088","data-source-path":"/src/components/ViewGateOverlay.tsx:3538",size:14}),e==="es"?"Ver en Dashboard":"View in Dashboard"]})]})]})]},l._id))},iA||"all")]})}),HA&&c.jsx("div",{"data-vg-id":"2e783039","data-source-path":"/src/components/ViewGateOverlay.tsx:3554",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:mt+100},children:c.jsxs("div",{"data-vg-id":"2e78303a","data-source-path":"/src/components/ViewGateOverlay.tsx:3559",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:[c.jsx("div",{"data-vg-id":"2e78303b","data-source-path":"/src/components/ViewGateOverlay.tsx:3566",style:{width:"64px",height:"64px",background:HA.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:HA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:HA.type==="danger"?c.jsx(Ys,{"data-vg-id":"45b44221","data-source-path":"/src/components/ViewGateOverlay.tsx:3575",size:32}):c.jsx(_e,{"data-vg-id":"a75c1ae2","data-source-path":"/src/components/ViewGateOverlay.tsx:3575",size:32})}),c.jsx("h3",{"data-vg-id":"53ec569","data-source-path":"/src/components/ViewGateOverlay.tsx:3577",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:HA.title}),c.jsx("p",{"data-vg-id":"f01af933","data-source-path":"/src/components/ViewGateOverlay.tsx:3578",style:{margin:"0 0 24px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:HA.message}),HA.showInput&&c.jsx("textarea",{className:"vg-textarea",placeholder:r.reopenPlaceholder,value:xt,onChange:l=>eA(l.target.value),rows:3,autoFocus:!0,style:{marginBottom:"24px",minHeight:"80px",textAlign:"left"}}),c.jsxs("div",{"data-vg-id":"2e783055","data-source-path":"/src/components/ViewGateOverlay.tsx:3592",style:{display:"flex",gap:"16px"},children:[c.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!VA&&qe(null),disabled:VA,children:r.no}),c.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:HA.type==="danger"?"#ef4444":void 0,backgroundImage:HA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",opacity:HA.showInput&&!xt.trim()?.5:1,cursor:HA.showInput&&!xt.trim()?"not-allowed":"pointer"},disabled:VA||HA.showInput&&!xt.trim(),onClick:async()=>{Ne(!0);try{await HA.onConfirm(xt)}catch(l){console.error("Confirmation error:",l)}finally{Ne(!1)}},children:VA?c.jsx(wr,{"data-vg-id":"a4b73624","data-source-path":"/src/components/ViewGateOverlay.tsx:3628",size:18,className:"vg-animate-spin"}):r.yes})]})]})}),!RA&&!u&&tA&&Ft.map((l,h)=>{const{rect:C,annotations:U,isModal:E}=l,R=U[0],O=U.length,L=U.some(v=>v.status==="ready_for_review"),gA=U.some(v=>v.status==="completed"||v.status==="done"),G=U.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),wA=gA&&!L&&!G,rA=L&&!G&&!gA,nA=(L||gA)&&!G,mA=(L||gA)&&G,EA=U.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,bA=U.filter(v=>v.status==="ready_for_review").length,UA=U.filter(v=>v.status==="completed"||v.status==="done").length,LA=U.some(v=>v.status==="bug_fixing"||v.type==="bug"||v.originalStatus==="bug_fixing"),He=LA&&!rA&&!wA?"#f43f5e":EA>0?B?"#64748b":"#ea580c":bA>0?"#a855f7":"#10b981",Y=Ft.some(v=>v.element===l.element&&v.isTriggerPin),_A=Ft.some(v=>v.element===l.element&&!v.isTriggerPin),pA=Y&&_A?l.isTriggerPin?-18:18:0,TA=C.top===0&&C.left===0&&C.width>window.innerWidth*.9;return c.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:TA?Math.max(20,C.left+40+pA):Math.max(20,Math.min(window.innerWidth-52,C.left+C.width/2-16+pA)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:mw},onMouseEnter:v=>{const YA=v.currentTarget.getBoundingClientRect(),vs=window.innerHeight-YA.bottom,_w=YA.top;vs<250&&_w>vs?te(Bo=>({...Bo,[l.id]:"vg-top"})):te(Bo=>({...Bo,[l.id]:""}))},onWheel:v=>{const YA=v.currentTarget.querySelector(".vg-tooltip-scroll");YA&&YA.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{ue(!0),BA(R._id)},children:[c.jsxs("div",{"data-vg-id":"2e783057","data-source-path":"/src/components/ViewGateOverlay.tsx:3703",className:`vg-pin-tooltip ${dA[l.id]||""} ${TA||C.left<160?"vg-tooltip-right":C.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[c.jsxs("div",{"data-vg-id":"2e783058","data-source-path":"/src/components/ViewGateOverlay.tsx:3704",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[c.jsxs("div",{"data-vg-id":"2e783059","data-source-path":"/src/components/ViewGateOverlay.tsx:3705",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[l.isTriggerPin?c.jsx(zs,{"data-vg-id":"d88161bf","data-source-path":"/src/components/ViewGateOverlay.tsx:3707",size:14,color:He}):c.jsx(pr,{"data-vg-id":"7fe17ae","data-source-path":"/src/components/ViewGateOverlay.tsx:3709",size:14,color:He}),c.jsxs("div",{"data-vg-id":"2e78305c","data-source-path":"/src/components/ViewGateOverlay.tsx:3711",style:{display:"flex",gap:"4px"},children:[EA>0&&c.jsxs("span",{"data-vg-id":"8161d07","data-source-path":"/src/components/ViewGateOverlay.tsx:3713",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":"#fff7ed",color:B?"#64748b":"#c2410c"},children:[EA," ",B||R.status==="backlog"?"Backlog":e==="es"?EA===1?r.pending:"Pendientes":"pending"]}),bA>0&&c.jsxs("span",{"data-vg-id":"8161d08","data-source-path":"/src/components/ViewGateOverlay.tsx:3722",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[bA," ",e==="es"?bA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),UA>0&&c.jsxs("span",{"data-vg-id":"8161d09","data-source-path":"/src/components/ViewGateOverlay.tsx:3734",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[UA," ",e==="es"?UA===1?"Completado":"Completados":"completed"]}),U.some(v=>v.status==="bug_fixing")&&c.jsx("span",{"data-vg-id":"8161d0a","data-source-path":"/src/components/ViewGateOverlay.tsx:3746",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),E&&c.jsx("span",{"data-vg-id":"8161d0b","data-source-path":"/src/components/ViewGateOverlay.tsx:3760",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":mA?`linear-gradient(90deg, #ea580c 50%, ${gA?"#10b981":"#a855f7"} 50%)`:EA>0?"#fff7ed":wA?"#ecfdf5":"#f3e8ff",color:B?"#64748b":mA?"#ffffff":EA>0?"#c2410c":wA?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:mA&&!B?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),c.jsx("div",{"data-vg-id":"2e783077","data-source-path":"/src/components/ViewGateOverlay.tsx:3772",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:U.map((v,YA)=>c.jsxs("div",{"data-vg-id":"2e783078","data-source-path":"/src/components/ViewGateOverlay.tsx:3774",style:{padding:"10px 0",borderTop:YA===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[c.jsxs("div",{"data-vg-id":"2e783079","data-source-path":"/src/components/ViewGateOverlay.tsx:3781",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[c.jsxs("div",{"data-vg-id":"2e78307a","data-source-path":"/src/components/ViewGateOverlay.tsx:3782",style:{display:"flex",alignItems:"center",gap:"6px"},children:[c.jsx("span",{"data-vg-id":"8161d10","data-source-path":"/src/components/ViewGateOverlay.tsx:3783",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Ac(v.timestamp||v.createdAt,e)}),v.creator&&c.jsx("div",{"data-vg-id":"2e783091","data-source-path":"/src/components/ViewGateOverlay.tsx:3787",style:{marginLeft:"4px"},children:v.creator.avatar?c.jsx("img",{"data-vg-id":"3cf75ac4","data-source-path":"/src/components/ViewGateOverlay.tsx:3789",src:v.creator.avatar,style:{width:"14px",height:"14px",borderRadius:"50%"},alt:""}):c.jsx("div",{"data-vg-id":"2e783093","data-source-path":"/src/components/ViewGateOverlay.tsx:3791",style:{width:"14px",height:"14px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"7px",fontWeight:700},children:v.creator.name?.[0]})})]}),v.url&&c.jsx(ec,{url:v.url,onHover:fc,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"}}),c.jsx("div",{"data-vg-id":"2e783094","data-source-path":"/src/components/ViewGateOverlay.tsx:3817",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),c.jsxs("div",{"data-vg-id":"2e783095","data-source-path":"/src/components/ViewGateOverlay.tsx:3821",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[c.jsx("div",{"data-vg-id":"2e783096","data-source-path":"/src/components/ViewGateOverlay.tsx:3822",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:r[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?c.jsxs("span",{"data-vg-id":"8161d2c","data-source-path":"/src/components/ViewGateOverlay.tsx:3836",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:[c.jsx(_e,{"data-vg-id":"a75c1b3d","data-source-path":"/src/components/ViewGateOverlay.tsx:3849",size:10}),r.completed]}):v.status==="ready_for_review"?c.jsxs("span",{"data-vg-id":"8161d2e","data-source-path":"/src/components/ViewGateOverlay.tsx:3853",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:[v.type==="bug"||v.status==="bug_fixing"||v.originalStatus==="bug_fixing"?c.jsx(St,{"data-vg-id":"3b8b18dd","data-source-path":"/src/components/ViewGateOverlay.tsx:3866",size:10}):c.jsx(_e,{"data-vg-id":"a75c1de0","data-source-path":"/src/components/ViewGateOverlay.tsx:3866",size:10}),r.readyForReview]}):v.status==="bug_fixing"?c.jsxs("span",{"data-vg-id":"8161fd1","data-source-path":"/src/components/ViewGateOverlay.tsx:3870",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:[c.jsx(St,{"data-vg-id":"3b8b1b80","data-source-path":"/src/components/ViewGateOverlay.tsx:3883",size:10}),"Bug Fixing"]}):c.jsxs("span",{"data-vg-id":"8161fd3","data-source-path":"/src/components/ViewGateOverlay.tsx:3887",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:B||v.status==="backlog"?"#64748b":"#ea580c",background:B||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:B||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[c.jsx(Mo,{"data-vg-id":"62dc6f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3900",size:10}),B||v.status==="backlog"?r.backlog:r.pending]})]})]},v._id))})]}),c.jsxs("div",{"data-vg-id":"2e783340","data-source-path":"/src/components/ViewGateOverlay.tsx:3910",className:`vg-formal-pin ${wA?"completed":rA||nA?"ready":LA?"bug":mA?"mixed":B?"backlog":""} ${l.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:LA&&!rA&&!wA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":rA?"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":mA?gA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[rA||wA||nA?LA&&!wA?c.jsx(St,{"data-vg-id":"3b8b1b84","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:18}):c.jsx(_e,{"data-vg-id":"a75c1de7","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:18}):LA?c.jsx(St,{"data-vg-id":"3b8b1b86","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:18}):l.isTriggerPin?c.jsx(zs,{"data-vg-id":"d88164a9","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:16}):E?c.jsx(Xs,{"data-vg-id":"5c2be3aa","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:16}):c.jsx(pr,{"data-vg-id":"7fe1aae","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",size:16}),O>1&&c.jsx("div",{"data-vg-id":"2e78335c","data-source-path":"/src/components/ViewGateOverlay.tsx:3920",className:"vg-pin-badge vg-animate-pop",children:O})]})]},`group-${l.id}`)}),c.jsx("div",{className:`vg-url-tooltip ${st?"visible":""} ${st?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:st?`translate(-50%, ${st.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:st?.x||0,top:st?.y||0},children:st?.url}),q&&c.jsx("div",{"data-vg-id":"2e78335d","data-source-path":"/src/components/ViewGateOverlay.tsx:3945",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.75)",backdropFilter:"blur(16px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:mt+100,animation:"vg-fade-in 0.3s ease-out"},onClick:l=>{l.target===l.currentTarget&&ee(!1)},children:c.jsxs("div",{"data-vg-id":"2e78335e","data-source-path":"/src/components/ViewGateOverlay.tsx:3954",className:"vg-glassmorphism vg-animate-pop",style:{width:"95%",maxWidth:"800px",height:"85vh",maxHeight:"850px",display:"flex",flexDirection:"column",overflow:"hidden",boxShadow:"0 50px 100px rgba(0,0,0,0.6)",borderRadius:"32px",border:"1px solid rgba(255, 255, 255, 0.15)",backgroundColor:"rgba(255, 255, 255, 0.98)"},children:[c.jsxs("div",{"data-vg-id":"2e78335f","data-source-path":"/src/components/ViewGateOverlay.tsx:3967",style:{padding:"32px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",display:"flex",alignItems:"center",justifyContent:"space-between",background:"white"},children:[c.jsxs("div",{"data-vg-id":"2e783360","data-source-path":"/src/components/ViewGateOverlay.tsx:3968",children:[c.jsx("h3",{"data-vg-id":"53ec877","data-source-path":"/src/components/ViewGateOverlay.tsx:3969",style:{margin:0,fontSize:"24px",fontWeight:900,letterSpacing:"-0.03em",color:"#0f172a"},children:e==="es"?"Selector de Endpoints":"Endpoint Selector"}),c.jsx("p",{"data-vg-id":"f01afc41","data-source-path":"/src/components/ViewGateOverlay.tsx:3972",style:{margin:"6px 0 0 0",fontSize:"14px",color:"#64748b",fontWeight:500},children:e==="es"?"Asocia múltiples rutas backend a este ticket para mayor precisión":"Associate multiple backend routes to this ticket for better precision"})]}),c.jsx("button",{"data-vg-id":"5861c060","data-source-path":"/src/components/ViewGateOverlay.tsx:3976",onClick:()=>ee(!1),className:"vg-close-pill",style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"14px",background:"#f1f5f9",color:"#64748b",border:"none",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:l=>{l.currentTarget.style.background="#e2e8f0",l.currentTarget.style.color="#0f172a"},onMouseLeave:l=>{l.currentTarget.style.background="#f1f5f9",l.currentTarget.style.color="#64748b"},children:c.jsx(Lt,{"data-vg-id":"eec8c840","data-source-path":"/src/components/ViewGateOverlay.tsx:3983",size:20,strokeWidth:2.5})})]}),c.jsx("div",{"data-vg-id":"2e78337a","data-source-path":"/src/components/ViewGateOverlay.tsx:3987",style:{padding:"24px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",background:"#fcfcfc"},children:c.jsxs("div",{"data-vg-id":"2e78337b","data-source-path":"/src/components/ViewGateOverlay.tsx:3988",style:{position:"relative"},children:[c.jsx(Ql,{"data-vg-id":"8f7bb00f","data-source-path":"/src/components/ViewGateOverlay.tsx:3989",size:20,style:{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#94a3b8"}}),c.jsx("input",{"data-vg-id":"88e38db6","data-source-path":"/src/components/ViewGateOverlay.tsx:3990",type:"text",placeholder:e==="es"?"Buscar rutas, métodos o descripciones...":"Search routes, methods, or descriptions...",value:M,onChange:l=>J(l.target.value),className:"vg-textarea",style:{padding:"14px 16px 14px 50px",fontSize:"16px",minHeight:"auto",borderRadius:"16px",border:"1px solid #e2e8f0",backgroundColor:"white",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},autoFocus:!0})]})}),c.jsx("div",{"data-vg-id":"2e78337e","data-source-path":"/src/components/ViewGateOverlay.tsx:4010",style:{flex:1,overflowY:"auto",overflowX:"hidden",padding:"24px 40px"},className:"vg-custom-scrollbar",children:lr?Cc.length>0?c.jsx("div",{"data-vg-id":"2e783382","data-source-path":"/src/components/ViewGateOverlay.tsx:4017",style:{display:"flex",flexDirection:"column",gap:"0px"},children:Cc.map(l=>{const h=l.name===(e==="es"?"Seleccionados":"Selected");return c.jsxs("div",{"data-vg-id":"2e783398","data-source-path":"/src/components/ViewGateOverlay.tsx:4021",style:{marginBottom:"32px"},children:[c.jsxs("div",{"data-vg-id":"2e783399","data-source-path":"/src/components/ViewGateOverlay.tsx:4022",style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"16px",padding:"0 4px"},children:[c.jsx("span",{"data-vg-id":"816202f","data-source-path":"/src/components/ViewGateOverlay.tsx:4023",style:{fontSize:"11px",fontWeight:900,textTransform:"uppercase",letterSpacing:"0.1em",color:h?"#10b981":"#6366f1",backgroundColor:h?"rgba(10, 185, 129, 0.08)":"rgba(99, 102, 241, 0.08)",padding:"4px 10px",borderRadius:"6px",border:"1px solid",borderColor:h?"rgba(10, 185, 129, 0.1)":"rgba(99, 102, 241, 0.1)"},children:l.name}),c.jsx("div",{"data-vg-id":"2e78339b","data-source-path":"/src/components/ViewGateOverlay.tsx:4037",style:{flex:1,height:"1px",background:`linear-gradient(90deg, ${h?"rgba(16, 185, 129, 0.15)":"rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`}})]}),c.jsx("div",{"data-vg-id":"2e78339c","data-source-path":"/src/components/ViewGateOverlay.tsx:4044",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(340px, 1fr))",gap:"12px"},children:l.endpoints.map(C=>{const U=`${C.method}|${C.path}`,E=X.includes(U);return c.jsxs("div",{"data-vg-id":"2e78339d","data-source-path":"/src/components/ViewGateOverlay.tsx:4053",onClick:()=>{ae(E?X.filter(R=>R!==U):[...X,U])},style:{padding:"16px 20px",borderRadius:"18px",cursor:"pointer",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",background:E?"#f5f7ff":"#ffffff",border:"1px solid",borderColor:E?"rgba(99, 102, 241, 0.2)":"#f1f5f9",display:"flex",alignItems:"center",gap:"16px",boxShadow:E?"0 4px 12px rgba(99, 102, 241, 0.08)":"none"},onMouseEnter:R=>{E||(R.currentTarget.style.background="#f8fafc",R.currentTarget.style.borderColor="#e2e8f0")},onMouseLeave:R=>{E||(R.currentTarget.style.background="#ffffff",R.currentTarget.style.borderColor="#f1f5f9")},children:[c.jsx("div",{"data-vg-id":"2e78339e","data-source-path":"/src/components/ViewGateOverlay.tsx:4085",style:{width:"24px",height:"24px",borderRadius:"8px",border:"2px solid",borderColor:E?"#6366f1":"#cbd5e1",backgroundColor:E?"#6366f1":"white",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s",flexShrink:0},children:E&&c.jsx("div",{"data-vg-id":"2e78339f","data-source-path":"/src/components/ViewGateOverlay.tsx:4098",style:{color:"white",fontSize:"14px",fontWeight:900},children:"✓"})}),c.jsxs("div",{"data-vg-id":"2e7833a0","data-source-path":"/src/components/ViewGateOverlay.tsx:4100",style:{flex:1,minWidth:0},children:[c.jsxs("div",{"data-vg-id":"2e7833a1","data-source-path":"/src/components/ViewGateOverlay.tsx:4101",style:{display:"flex",alignItems:"center",gap:"10px"},children:[c.jsx("span",{"data-vg-id":"816204c","data-source-path":"/src/components/ViewGateOverlay.tsx:4102",style:{fontSize:"11px",fontWeight:800,padding:"3px 8px",borderRadius:"8px",background:C.method==="GET"?"#dcfce7":"#fee2e2",color:C.method==="GET"?"#166534":"#991b1b",flexShrink:0},children:C.method}),c.jsx("span",{"data-vg-id":"816204d","data-source-path":"/src/components/ViewGateOverlay.tsx:4113",style:{fontWeight:700,color:E?"#4338ca":"#1e293b",fontSize:"14px",wordBreak:"break-all"},children:C.path})]}),C.description&&c.jsx("div",{"data-vg-id":"2e7833b9","data-source-path":"/src/components/ViewGateOverlay.tsx:4123",style:{fontSize:"12px",color:"#64748b",marginTop:"6px",wordBreak:"break-word",fontWeight:450,lineHeight:1.4},children:C.description})]})]},U)})})]},l.name)})}):c.jsxs("div",{"data-vg-id":"2e7833ba","data-source-path":"/src/components/ViewGateOverlay.tsx:4144",style:{padding:"80px 20px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center"},children:[c.jsx("div",{"data-vg-id":"2e7833bb","data-source-path":"/src/components/ViewGateOverlay.tsx:4145",style:{width:"80px",height:"80px",borderRadius:"24px",backgroundColor:"#f1f5f9",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px"},children:c.jsx(ot,{"data-vg-id":"b1e4c678","data-source-path":"/src/components/ViewGateOverlay.tsx:4146",size:40,style:{color:"#94a3b8"}})}),c.jsx("p",{"data-vg-id":"f01afc9c","data-source-path":"/src/components/ViewGateOverlay.tsx:4148",style:{color:"#0f172a",fontSize:"18px",fontWeight:800,margin:"0 0 8px 0"},children:e==="es"?"No encontramos lo que buscas":"No results found"}),c.jsx("p",{"data-vg-id":"f01afc9d","data-source-path":"/src/components/ViewGateOverlay.tsx:4151",style:{color:"#64748b",fontSize:"15px",margin:0},children:e==="es"?"Intenta buscar con otros términos o revisa la sincronización":"Try searching with different terms or check synchronization"})]}):c.jsxs("div",{"data-vg-id":"2e78337f","data-source-path":"/src/components/ViewGateOverlay.tsx:4012",style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"100px 0",gap:"20px"},children:[c.jsx("div",{"data-vg-id":"2e783380","data-source-path":"/src/components/ViewGateOverlay.tsx:4013",className:"vg-spinner",style:{width:"40px",height:"40px",border:"3px solid rgba(99, 102, 241, 0.1)",borderTopColor:"#6366f1"}}),c.jsx("p",{"data-vg-id":"f01afc60","data-source-path":"/src/components/ViewGateOverlay.tsx:4014",style:{color:"#64748b",fontSize:"15px",fontWeight:600},children:e==="es"?"Cargando endpoints...":"Loading endpoints..."})]})}),c.jsxs("div",{"data-vg-id":"2e7833bf","data-source-path":"/src/components/ViewGateOverlay.tsx:4158",style:{padding:"24px 40px",borderTop:"1px solid rgba(0,0,0,0.06)",background:"white",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"20px"},children:[c.jsxs("div",{"data-vg-id":"2e7833c0","data-source-path":"/src/components/ViewGateOverlay.tsx:4159",style:{display:"flex",alignItems:"center",gap:"12px"},children:[c.jsxs("div",{"data-vg-id":"2e7833d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4160",style:{padding:"6px 12px",background:"#f1f5f9",borderRadius:"10px",fontSize:"14px",fontWeight:700,color:"#475569"},children:[X.length," ",e==="es"?"seleccionados":"selected"]}),X.length>0&&c.jsx("button",{"data-vg-id":"5861c0d4","data-source-path":"/src/components/ViewGateOverlay.tsx:4164",onClick:()=>{ae([]),Et&&ys([])},style:{background:"none",border:"none",color:"#6366f1",fontSize:"14px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:e==="es"?"Desmarcar todos":"Deselect all"})]}),c.jsx("div",{"data-vg-id":"2e7833d8","data-source-path":"/src/components/ViewGateOverlay.tsx:4175",style:{display:"flex",gap:"12px"},children:c.jsx("button",{"data-vg-id":"5861c0d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4176",onClick:()=>{Et&&ys(X),ee(!1)},style:{minWidth:"160px",padding:"14px 28px",borderRadius:"16px",fontSize:"15px",fontWeight:850,border:"none",background:"var(--vg-primary-gradient)",color:"white",cursor:"pointer",boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:l=>{l.currentTarget.style.transform="translateY(-2px)",l.currentTarget.style.boxShadow="0 15px 30px -5px rgba(99, 102, 241, 0.6)"},onMouseLeave:l=>{l.currentTarget.style.transform="translateY(0)",l.currentTarget.style.boxShadow="0 10px 25px -5px rgba(99, 102, 241, 0.45)"},children:e==="es"?"Confirmar Selección":"Confirm Selection"})})]})]})}),Et&&c.jsx("div",{"data-vg-id":"2e7833da","data-source-path":"/src/components/ViewGateOverlay.tsx:4211",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:mt+50},children:c.jsxs("div",{"data-vg-id":"2e7833db","data-source-path":"/src/components/ViewGateOverlay.tsx:4217",className:"vg-glassmorphism vg-animate-slide",style:{width:"600px",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",background:"#ffffff",borderRadius:"24px",padding:"32px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",gap:"24px"},children:[c.jsxs("div",{"data-vg-id":"2e7833dc","data-source-path":"/src/components/ViewGateOverlay.tsx:4228",style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[c.jsx("h2",{"data-vg-id":"530b172","data-source-path":"/src/components/ViewGateOverlay.tsx:4229",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#1e293b"},children:e==="es"?"Editar Comentario":"Edit Comment"}),c.jsx("button",{"data-vg-id":"5861c0db","data-source-path":"/src/components/ViewGateOverlay.tsx:4232",onClick:()=>Fs(null),style:{background:"none",border:"none",cursor:"pointer",color:"#94a3b8"},children:c.jsx(Lt,{"data-vg-id":"eec8c8a6","data-source-path":"/src/components/ViewGateOverlay.tsx:4233",size:24})})]}),c.jsxs("div",{"data-vg-id":"2e7833f5","data-source-path":"/src/components/ViewGateOverlay.tsx:4237",style:{display:"flex",flexDirection:"column",gap:"16px"},children:[c.jsxs("div",{"data-vg-id":"2e7833f6","data-source-path":"/src/components/ViewGateOverlay.tsx:4238",children:[c.jsx("label",{"data-vg-id":"feec105a","data-source-path":"/src/components/ViewGateOverlay.tsx:4239",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:r.priority}),c.jsx("div",{"data-vg-id":"2e7833f8","data-source-path":"/src/components/ViewGateOverlay.tsx:4240",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(l=>c.jsx("button",{onClick:()=>y(l),style:{flex:1,padding:"10px 12px",borderRadius:"12px",fontSize:"13px",fontWeight:800,border:"2px solid",borderColor:F===l?l==="low"?"#10b981":l==="medium"?"#6366f1":l==="high"?"#f59e0b":"#ef4444":"#f1f5f9",backgroundColor:F===l?l==="low"?"#ecfdf5":l==="medium"?"#eef2ff":l==="high"?"#fffbeb":"#fef2f2":"white",color:F===l?l==="low"?"#059669":l==="medium"?"#4338ca":l==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"capitalize"},children:r[l]},l))})]}),c.jsxs("div",{"data-vg-id":"2e7833f9","data-source-path":"/src/components/ViewGateOverlay.tsx:4259",children:[c.jsx("label",{"data-vg-id":"feec105d","data-source-path":"/src/components/ViewGateOverlay.tsx:4260",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:e==="es"?"Mensaje":"Message"}),c.jsx("textarea",{className:"vg-textarea",value:mc,onChange:l=>Uc(l.target.value),rows:5,style:{minHeight:"120px",fontSize:"15px"}})]})]}),c.jsxs("div",{"data-vg-id":"2e7833fb","data-source-path":"/src/components/ViewGateOverlay.tsx:4271",style:{display:"flex",justifyContent:"flex-end",gap:"12px",marginTop:"16px",paddingTop:"24px",borderTop:"1px solid #f1f5f9"},children:[c.jsx("button",{"data-vg-id":"5861c0f9","data-source-path":"/src/components/ViewGateOverlay.tsx:4272",className:"vg-button-ghost",style:{padding:"12px 24px",fontSize:"14px",borderRadius:"12px",color:"#64748b",fontWeight:700},onClick:()=>{Fs(null),ae([])},children:r.cancel}),c.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"12px 32px",fontSize:"15px",borderRadius:"12px",background:"var(--vg-primary-gradient)",fontWeight:800,boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",opacity:Es?.7:1,cursor:Es?"not-allowed":"pointer"},disabled:Es,onClick:async()=>{xc(!0);try{(await fetch(`${n}/api/annotations/${Et}`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({message:mc,priority:F})})).ok&&(Fs(null),Us(),A(r.updateSuccess,"success"))}catch{}finally{xc(!1)}},children:Es?"...":r.save})]})]})})]})})};function qn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=g=>g.replace(/\\/g,"/"),s=r(A).replace(r(e),""),n=g=>{let d=0;for(let B=0;B<g.length;B++)d=Math.imul(31,d)+g.charCodeAt(B)|0;return(d>>>0).toString(16)};let o=0;return t.split(`
20
+ `).map((g,d)=>{const B=d+1;return g.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(u,f,w)=>{if(u.includes("data-source-path")||u.includes("data-vg-id")||w==="Fragment"||w==="React.Fragment")return u;o++;const Q=n(`${s}:${w}:${o}`);return`${f}<${w} data-vg-id="${Q}" data-source-path="${s}:${B}"`})}).join(`
21
+ `)}function vw(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:qn(t,A,process.cwd()),map:null}}}}function Iw(t){const A=this.resourcePath;return A?(this.getOptions&&this.getOptions(),qn(t,A,process.cwd())):t}function Hw(t){return Iw.call(this,t)}ZA.ViewGate=yl,ZA.ViewGateOverlay=ic,ZA.transformSourcePaths=qn,ZA.useViewGate=Vo,ZA.viewgateNextLoader=Hw,ZA.viewgatePlugin=vw,Object.defineProperty(ZA,Symbol.toStringTag,{value:"Module"})}));