@siteping/widget 0.11.1 → 0.12.0

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.
Files changed (126) hide show
  1. package/README.md +5 -5
  2. package/dist/chunk-ISSCC4XP.js +9 -0
  3. package/dist/chunk-ISSCC4XP.js.map +1 -0
  4. package/dist/chunk-QDJDQQ6E.cjs +9 -0
  5. package/dist/chunk-QDJDQQ6E.cjs.map +1 -0
  6. package/dist/de-GCYQ3JCH.cjs +2 -0
  7. package/dist/de-GCYQ3JCH.cjs.map +1 -0
  8. package/dist/de-U3V6TPCZ.js +2 -0
  9. package/dist/de-U3V6TPCZ.js.map +1 -0
  10. package/dist/deep-link.d.cts +10 -0
  11. package/dist/deep-link.d.ts +10 -0
  12. package/dist/errors.d.cts +46 -16
  13. package/dist/errors.d.ts +46 -16
  14. package/dist/es-435K3LIV.cjs +2 -0
  15. package/dist/es-435K3LIV.cjs.map +1 -0
  16. package/dist/es-CSZUS23Z.js +2 -0
  17. package/dist/es-CSZUS23Z.js.map +1 -0
  18. package/dist/fr-DVOFE3WF.js +2 -0
  19. package/dist/fr-DVOFE3WF.js.map +1 -0
  20. package/dist/fr-RKRDGOTP.cjs +2 -0
  21. package/dist/fr-RKRDGOTP.cjs.map +1 -0
  22. package/dist/i18n.d.cts +14 -10
  23. package/dist/i18n.d.ts +14 -10
  24. package/dist/index.cjs +3 -3
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +26 -19
  27. package/dist/index.d.ts +26 -19
  28. package/dist/index.global.js +2 -2
  29. package/dist/index.global.js.map +1 -1
  30. package/dist/index.js +3 -3
  31. package/dist/index.js.map +1 -1
  32. package/dist/it-COLRVG26.cjs +2 -0
  33. package/dist/it-COLRVG26.cjs.map +1 -0
  34. package/dist/it-ZWPEN22A.js +2 -0
  35. package/dist/it-ZWPEN22A.js.map +1 -0
  36. package/dist/ja-HLZ2GVFS.js +2 -0
  37. package/dist/ja-HLZ2GVFS.js.map +1 -0
  38. package/dist/ja-SNVDY7QP.cjs +2 -0
  39. package/dist/ja-SNVDY7QP.cjs.map +1 -0
  40. package/dist/ko-ORUCHGUZ.cjs +2 -0
  41. package/dist/ko-ORUCHGUZ.cjs.map +1 -0
  42. package/dist/ko-ZNF7AMXI.js +2 -0
  43. package/dist/ko-ZNF7AMXI.js.map +1 -0
  44. package/dist/logger.d.cts +30 -0
  45. package/dist/logger.d.ts +30 -0
  46. package/dist/panel-4CIN3Y66.js +2 -0
  47. package/dist/panel-4CIN3Y66.js.map +1 -0
  48. package/dist/panel-TD4UUEZA.cjs +2 -0
  49. package/dist/panel-TD4UUEZA.cjs.map +1 -0
  50. package/dist/pt-QQX5CA7D.cjs +2 -0
  51. package/dist/pt-QQX5CA7D.cjs.map +1 -0
  52. package/dist/pt-WGEJRQFC.js +2 -0
  53. package/dist/pt-WGEJRQFC.js.map +1 -0
  54. package/dist/react.cjs +2 -3
  55. package/dist/react.cjs.map +1 -1
  56. package/dist/react.d.cts +9 -0
  57. package/dist/react.d.ts +9 -0
  58. package/dist/react.js +2 -3
  59. package/dist/react.js.map +1 -1
  60. package/dist/ru-SERDK6PQ.js +2 -0
  61. package/dist/ru-SERDK6PQ.js.map +1 -0
  62. package/dist/ru-YRXPV57R.cjs +2 -0
  63. package/dist/ru-YRXPV57R.cjs.map +1 -0
  64. package/dist/schema.d.cts +31 -0
  65. package/dist/schema.d.ts +31 -0
  66. package/dist/screenshot-storage.d.cts +14 -17
  67. package/dist/screenshot-storage.d.ts +14 -17
  68. package/dist/siteping-core.d.cts +8 -5
  69. package/dist/siteping-core.d.ts +8 -5
  70. package/dist/store-helpers.d.cts +13 -9
  71. package/dist/store-helpers.d.ts +13 -9
  72. package/dist/text.d.cts +28 -0
  73. package/dist/text.d.ts +28 -0
  74. package/dist/types.d.cts +114 -37
  75. package/dist/types.d.ts +114 -37
  76. package/dist/wire.d.cts +6 -1
  77. package/dist/wire.d.ts +6 -1
  78. package/package.json +7 -5
  79. package/dist/chunk-26577FDQ.js +0 -9
  80. package/dist/chunk-26577FDQ.js.map +0 -1
  81. package/dist/chunk-3EHIWTJH.js +0 -9
  82. package/dist/chunk-3EHIWTJH.js.map +0 -1
  83. package/dist/chunk-6MCFOKVG.cjs +0 -9
  84. package/dist/chunk-6MCFOKVG.cjs.map +0 -1
  85. package/dist/chunk-Q34GDCKE.cjs +0 -9
  86. package/dist/chunk-Q34GDCKE.cjs.map +0 -1
  87. package/dist/de-73CTH2E4.cjs +0 -2
  88. package/dist/de-73CTH2E4.cjs.map +0 -1
  89. package/dist/de-GUUJUHYP.js +0 -2
  90. package/dist/de-GUUJUHYP.js.map +0 -1
  91. package/dist/es-3MXMSDUC.js +0 -2
  92. package/dist/es-3MXMSDUC.js.map +0 -1
  93. package/dist/es-WJZ3XARH.cjs +0 -2
  94. package/dist/es-WJZ3XARH.cjs.map +0 -1
  95. package/dist/fr-52F3ZCLQ.js +0 -2
  96. package/dist/fr-52F3ZCLQ.js.map +0 -1
  97. package/dist/fr-ZCRIJWI3.cjs +0 -2
  98. package/dist/fr-ZCRIJWI3.cjs.map +0 -1
  99. package/dist/it-MEUT3RCC.js +0 -2
  100. package/dist/it-MEUT3RCC.js.map +0 -1
  101. package/dist/it-TGUTW6MO.cjs +0 -2
  102. package/dist/it-TGUTW6MO.cjs.map +0 -1
  103. package/dist/ja-DOS7AWLW.cjs +0 -2
  104. package/dist/ja-DOS7AWLW.cjs.map +0 -1
  105. package/dist/ja-U7NRNGPQ.js +0 -2
  106. package/dist/ja-U7NRNGPQ.js.map +0 -1
  107. package/dist/ko-U2CS6XQ4.js +0 -2
  108. package/dist/ko-U2CS6XQ4.js.map +0 -1
  109. package/dist/ko-ZUL567LW.cjs +0 -2
  110. package/dist/ko-ZUL567LW.cjs.map +0 -1
  111. package/dist/panel-3BEMZFIR.cjs +0 -2
  112. package/dist/panel-3BEMZFIR.cjs.map +0 -1
  113. package/dist/panel-HPDIAYLQ.js +0 -2
  114. package/dist/panel-HPDIAYLQ.js.map +0 -1
  115. package/dist/panel-MIWFGD7X.cjs +0 -2
  116. package/dist/panel-MIWFGD7X.cjs.map +0 -1
  117. package/dist/panel-XTNU6XHV.js +0 -2
  118. package/dist/panel-XTNU6XHV.js.map +0 -1
  119. package/dist/pt-BZRBHCYN.cjs +0 -2
  120. package/dist/pt-BZRBHCYN.cjs.map +0 -1
  121. package/dist/pt-MOS5DVOG.js +0 -2
  122. package/dist/pt-MOS5DVOG.js.map +0 -1
  123. package/dist/ru-KDNRHHNZ.cjs +0 -2
  124. package/dist/ru-KDNRHHNZ.cjs.map +0 -1
  125. package/dist/ru-VSWB5NKK.js +0 -2
  126. package/dist/ru-VSWB5NKK.js.map +0 -1
@@ -1,4 +1,4 @@
1
- var SitePing=function(A){"use strict";var e=Object.defineProperty,t=(A,e,t)=>()=>{if(t)throw t[0];try{return A&&(e=A(A=0)),e}catch(A){throw t=[A],A}},s=(A,t)=>{for(var s in t)e(A,s,{get:t[s],enumerable:!0})};function r(A){return i.test(A)}var i,n,o,a,l,c=t(()=>{i=/^(?!\.)(?!.*\.\.)[\p{L}\p{M}\p{N}!#$%&'*+/=?^_`{|}~.-]{0,63}[\p{L}\p{M}\p{N}!#$%&'*+/=?^_`{|}~-]@(?:[\p{L}\p{N}](?:[\p{L}\p{M}\p{N}-]{0,61}[\p{L}\p{M}\p{N}])?\.)+[\p{L}\p{N}][\p{L}\p{M}\p{N}-]{0,61}[\p{L}\p{M}\p{N}]$/u}),d=t(()=>{n=class extends Error{code;retryable;constructor(A,e,t){super(A),this.code=e,this.retryable=t,this.name="SitepingError"}},o=class extends n{constructor(A){super(A,"NETWORK",!0),this.name="SitepingNetworkError"}},a=class extends n{status;constructor(A,e){super(A,"VALIDATION",!1),this.name="SitepingValidationError",this.status=e}},l=class extends n{status;constructor(A,e){super(A,"AUTH",!1),this.name="SitepingAuthError",this.status=e}}});function p(A,e){return function(A){return"object"==typeof A&&null!==A}(A)&&e in A}var h=t(()=>{});function u(A){return b.includes(A)}function g(A,e){return p(A,"code")&&A.code===e}function B(A){return{cssSelector:A.anchor.cssSelector,xpath:A.anchor.xpath,textSnippet:A.anchor.textSnippet,elementTag:A.anchor.elementTag,elementId:A.anchor.elementId,textPrefix:A.anchor.textPrefix,textSuffix:A.anchor.textSuffix,fingerprint:A.anchor.fingerprint,neighborText:A.anchor.neighborText,anchorKey:A.anchor.anchorKey??null,xPct:A.rect.xPct,yPct:A.rect.yPct,wPct:A.rect.wPct,hPct:A.rect.hPct,scrollX:A.scrollX,scrollY:A.scrollY,viewportW:A.viewportW,viewportH:A.viewportH,devicePixelRatio:A.devicePixelRatio}}var w,f,m,b,C,y,Q,x,F=t(()=>{h(),w=["en","fr","de","es","it","pt","ru","ja","ko"],f=200,m=["open","in_progress","resolved","wont_fix"],b=["resolved","wont_fix"],C=5e3,y=class extends Error{code="STORE_DUPLICATE";constructor(A="Duplicate record",e){super(A,e),this.name="StoreDuplicateError"}},Q=191,x=191});function U(A){return(A.split(/[-_]/)[0]??A).toLowerCase()}function v(A,e,t){return function(A,e){return A.replace(/\{(\w+)\}/g,(A,t)=>{let s=e[t];return void 0===s?A:String(s)})}(A(e),t)}var E=t(()=>{F()});function k(){try{return crypto.randomUUID()}catch{return`${Date.now()}-${Math.random().toString(36).slice(2)}`}}async function H(A,e){let t=await A.text().catch(()=>"Unknown error"),s=`${e}: ${t?`${A.status} ${t}`:`${A.status}`}`;return 401===A.status||403===A.status?new l(s,A.status):A.status>=400&&A.status<500?new a(s,A.status):new n(s,"SERVER",!1)}function I(A,e){if(A instanceof o)return A;let t=A instanceof Error?A.message:String(A);return new o(`${e}: ${t}`)}var S,L,M=t(()=>{d(),S=(A,e)=>A?.[e]}),D=t(()=>{c(),d(),E(),h(),F(),M()}),K=t(()=>{L="(max-width: 640px), (max-height: 500px) and (pointer: coarse)"});function T(A){let e=document.createRange().createContextualFragment(A).firstElementChild;if("svg"!==e?.nodeName.toLowerCase())throw new Error("[siteping] Invalid SVG string");for(let A of[...e.attributes])A.name.startsWith("on")&&e.removeAttribute(A.name);for(let A of e.querySelectorAll("*"))for(let e of[...A.attributes])e.name.startsWith("on")&&A.removeAttribute(e.name);return e}function R(A,e){let t=document.createElement(A);if(e)for(let[A,s]of Object.entries(e))"class"===A?t.className=s:"style"===A?t.style.cssText=s:t.setAttribute(A,s);return t}function O(A,e){A.textContent=e}function P(A,e){let t=A.getRootNode(),s=t instanceof ShadowRoot?t.host:null,r=t=>{A.contains(t.target)||e()},i=A=>{A.target!==s&&e()};return t.addEventListener("click",r,!0),s&&document.addEventListener("click",i,!0),()=>{t.removeEventListener("click",r,!0),s&&document.removeEventListener("click",i,!0)}}function N(A,e){A.hidden=e,A.style.display=e?"none":""}function V(A){let e=Array.from(A.childNodes).map(A=>A.cloneNode(!0));return A.disabled=!0,A.replaceChildren(R("div",{class:"sp-spinner sp-spinner--sm"})),()=>{A.replaceChildren(...e),A.disabled=!1}}function G(){let A=navigator.userAgentData;return A?"macOS"===A.platform:navigator.platform?.includes("Mac")??/Macintosh|Mac OS X/i.test(navigator.userAgent)}function X(A,e="en"){let t=Date.now()-new Date(A).getTime(),s=Math.floor(t/1e3);if(s<60)return new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"second");let r=new Intl.RelativeTimeFormat(e,{numeric:"always",style:"narrow"}),i=Math.floor(s/60);if(i<60)return r.format(-i,"minute");let n=Math.floor(i/60);if(n<24)return r.format(-n,"hour");let o=Math.floor(n/24);return o<7?r.format(-o,"day"):new Date(A).toLocaleDateString(e)}var $=t(()=>{});function Y(A){for(let e=A;e;e=rA(e))if(AA.has(e))return!0;return!1}function W(A,e){AA.add(A),e&&tA.set(A,e);for(let e of Z)A.addEventListener(e,nA,{passive:!0});for(let e of["keydown","keypress","keyup"])A.addEventListener(e,oA);let t=()=>{for(let e of q)("inert"!==e||!eA.has(A))&&A.removeAttribute(e)};t(),new MutationObserver(t).observe(A,{attributeFilter:q})}function J(A,e){e?eA.add(A):eA.delete(A),A.toggleAttribute("inert",e)}function z(A,e){let t=sA.get(A);return t||(t=new Set,sA.set(A,t)),t.add(e),()=>{t.delete(e)}}function _(){if("none"===getComputedStyle(document.body).pointerEvents)return!0;for(let A of document.querySelectorAll('[aria-modal="true"]'))if(A.getClientRects().length>0&&"visible"===getComputedStyle(A).visibility&&!Y(A))return!0;return!1}function j(A){let e=A.composedPath()[0];for(;e instanceof Element;){let A=(e.shadowRoot??tA.get(e))?.activeElement;if(!A)break;e=A}return e instanceof Node?e:null}var Z,q,AA,eA,tA,sA,rA,iA,nA,oA,aA,lA,cA,dA,pA,hA,uA,gA,BA,wA,fA,mA,bA,CA,yA,QA,xA,FA,UA=t(()=>{Z=["pointerdown","mousedown","touchstart","touchend","click","focusin","focusout","wheel","touchmove"],q=["inert","aria-hidden"],AA=new WeakSet,eA=new WeakSet,tA=new WeakMap,sA=new WeakMap,rA=A=>A instanceof ShadowRoot?A.host:A.parentNode,iA=A=>A instanceof Node&&Y(A),nA=A=>A.stopPropagation(),oA=A=>{let{key:e}=A,t=j(A);"Tab"!==e&&"Escape"!==e&&t instanceof HTMLElement&&(t.isContentEditable||/^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName))&&A.stopPropagation()}}),vA=t(()=>{aA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><circle cx="12" cy="10" r="1" fill="currentColor" stroke="none"/><circle cx="8" cy="10" r="1" fill="currentColor" stroke="none"/><circle cx="16" cy="10" r="1" fill="currentColor" stroke="none"/></svg>',lA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>',cA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/><path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/><line x1="1" y1="1" x2="23" y2="23"/></svg>',dA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>',pA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>',hA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg>',uA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>',gA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>',BA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="6" width="8" height="14" rx="4"/><path d="M19 9h2"/><path d="M3 9h2"/><path d="M19 13h2"/><path d="M3 13h2"/><path d="M19 17h2"/><path d="M3 17h2"/><path d="M10 2h4"/></svg>',wA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>',fA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>',mA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="3" fill="currentColor" stroke="none"/></svg>',bA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>',CA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>',yA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg>',QA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>',xA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><line x1="3" y1="6" x2="3.01" y2="6"/><line x1="3" y1="12" x2="3.01" y2="12"/><line x1="3" y1="18" x2="3.01" y2="18"/></svg>',FA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg>'});function EA(A=IA,e){let t=function(A){if(SA.test(A))return A;let e=LA.test(A)?A.match(LA):null;return e?`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:MA.test(A)?A.slice(0,7):(console.warn(`[siteping] Invalid accentColor "${A}" \u2014 only hex colors (#RGB, #RRGGBB, #RRGGBBAA) are supported. Using default.`),IA)}(A),s=function(A,e){let t=Math.max(0,Math.round(parseInt(A.slice(1,3),16)*(1-e))),s=Math.max(0,Math.round(parseInt(A.slice(3,5),16)*(1-e))),r=Math.max(0,Math.round(parseInt(A.slice(5,7),16)*(1-e)));return`#${t.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}${r.toString(16).padStart(2,"0")}`}(t,.15);return"dark"===function(A){return"dark"===A||"auto"===A&&!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}(e)?{accent:t,accentLight:t+"22",accentDark:s,accentGlow:t+"44",accentGradient:`linear-gradient(135deg, ${t}, ${s})`,bg:"#0f172a",bgHover:"#1e293b",text:"#f1f5f9",textSecondary:"#94a3b8",textTertiary:"#64748b",border:"#334155",shadow:"rgba(0, 0, 0, 0.3)",glassBg:"rgba(15, 23, 42, 0.78)",glassBgHeavy:"rgba(15, 23, 42, 0.88)",glassBorder:"rgba(51, 65, 85, 0.5)",glassBorderSubtle:"rgba(51, 65, 85, 0.3)",typeQuestion:"#60a5fa",typeChange:"#fbbf24",typeBug:"#f87171",typeOther:"#94a3b8",typeQuestionBg:"rgba(59, 130, 246, 0.15)",typeChangeBg:"rgba(245, 158, 11, 0.15)",typeBugBg:"rgba(239, 68, 68, 0.15)",typeOtherBg:"rgba(100, 116, 139, 0.15)",statusOpen:"#4ade80",statusOpenBg:"rgba(74, 222, 128, 0.15)",statusResolved:"#94a3b8",statusResolvedBg:"rgba(148, 163, 184, 0.15)",statusInProgress:"#fbbf24",statusInProgressBg:"rgba(245, 158, 11, 0.15)",statusWontFix:"#94a3b8",statusWontFixBg:"rgba(148, 163, 184, 0.15)"}:{accent:t,accentLight:t+"14",accentDark:s,accentGlow:t+"33",accentGradient:`linear-gradient(135deg, ${t}, ${s})`,bg:"#ffffff",bgHover:"#f8f9fb",text:"#0f172a",textSecondary:"#475569",textTertiary:"#64748b",border:"#e2e8f0",shadow:"rgba(0, 0, 0, 0.06)",glassBg:"rgba(255, 255, 255, 0.72)",glassBgHeavy:"rgba(255, 255, 255, 0.85)",glassBorder:"rgba(255, 255, 255, 0.35)",glassBorderSubtle:"rgba(255, 255, 255, 0.18)",typeQuestion:"#3b82f6",typeChange:"#b45309",typeBug:"#ef4444",typeOther:"#64748b",typeQuestionBg:"#eff6ff",typeChangeBg:"#fffbeb",typeBugBg:"#fef2f2",typeOtherBg:"#f8fafc",statusOpen:"#16a34a",statusOpenBg:"#f0fdf4",statusResolved:"#64748b",statusResolvedBg:"#f1f5f9",statusInProgress:"#d97706",statusInProgressBg:"#fffbeb",statusWontFix:"#64748b",statusWontFixBg:"#f1f5f9"}}function kA(A,e){switch(A){case"question":return e.typeQuestion;case"change":return e.typeChange;case"bug":return e.typeBug;default:return e.typeOther}}function HA(A,e){switch(A){case"question":return e.typeQuestionBg;case"change":return e.typeChangeBg;case"bug":return e.typeBugBg;default:return e.typeOtherBg}}var IA,SA,LA,MA,DA=t(()=>{IA="#0066ff",SA=/^#[0-9a-fA-F]{6}$/,LA=/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,MA=/^#[0-9a-fA-F]{8}$/});function KA(A){return"function"==typeof window.matchMedia&&window.matchMedia(A).matches}function TA(){return KA(L)}function RA(){return KA("(pointer: coarse)")}function OA(A){let e=window.visualViewport;if(!e)return()=>{};let t=()=>A(Math.max(0,Math.round(window.innerHeight-e.height-e.offsetTop)),e.height);return t(),e.addEventListener("resize",t),e.addEventListener("scroll",t),()=>{e.removeEventListener("resize",t),e.removeEventListener("scroll",t)}}var PA=t(()=>{K()}),NA={};function VA(A={}){return new $A({allowDataUrls:!0,maxImageTimeout:3e5,...A})}function GA(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Li[A.name])}s(NA,{Html2CanvasConfig:()=>XA,PerformanceMonitor:()=>YA,Validator:()=>$A,createDefaultValidator:()=>VA,default:()=>kd,html2canvas:()=>kd});var XA,$A,YA,WA,JA,zA,_A,jA,ZA,qA,Ae,ee,te,se,re,ie,ne,oe,ae,le,ce,de,pe,he,ue,ge,Be,we,fe,me,be,Ce,ye,Qe,xe,Fe,Ue,ve,Ee,ke,He,Ie,Se,Le,Me,De,Ke,Te,Re,Oe,Pe,Ne,Ve,Ge,Xe,$e,Ye,We,Je,ze,_e,je,Ze,qe,At,et,tt,st,rt,it,nt,ot,at,lt,ct,dt,pt,ht,ut,gt,Bt,wt,ft,mt,bt,Ct,yt,Qt,xt,Ft,Ut,vt,Et,kt,Ht,It,St,Lt,Mt,Dt,Kt,Tt,Rt,Ot,Pt,Nt,Vt,Gt,Xt,$t,Yt,Wt,Jt,zt,_t,jt,Zt,qt,As,es,ts,ss,rs,is,ns,os,as,ls,cs,ds,ps,hs,us,gs,Bs,ws,fs,ms,bs,Cs,ys,Qs,xs,Fs,Us,vs,Es,ks,Hs,Is,Ss,Ls,Ms,Ds,Ks,Ts,Rs,Os,Ps,Ns,Vs,Gs,Xs,$s,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l,Rl,Ol,Pl,Nl,Vl,Gl,Xl,$l,Yl,Wl,Jl,zl,_l,jl,Zl,ql,Ac,ec,tc,sc,rc,ic,nc,oc,ac,lc,cc,dc,pc,hc,uc,gc,Bc,wc,fc,mc,bc,Cc,yc,Qc,xc,Fc,Uc,vc,Ec,kc,Hc,Ic,Sc,Lc,Mc,Dc,Kc,Tc,Rc,Oc,Pc,Nc,Vc,Gc,Xc,$c,Yc,Wc,Jc,zc,_c,jc,Zc,qc,Ad,ed,td,sd,rd,id,nd,od,ad,ld,cd,dd,pd,hd,ud,gd,Bd,wd,fd,md,bd,Cd,yd,Qd,xd,Fd,Ud,vd,Ed,kd,Hd,Id=t(()=>{for(XA=class A{constructor(A={}){let e=A.window||(typeof window<"u"?window:void 0);if(!e)throw new Error("Window object is required but not available");this.window=e,this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(e,t={}){let s=e.ownerDocument;if(!s)throw new Error("Element is not attached to a document");let r=s.defaultView;if(!r)throw new Error("Document is not attached to a window");return new A({window:r,...t})}clone(e={}){return new A({window:e.window||this.window,cspNonce:e.cspNonce??this.cspNonce,cache:e.cache??this.cache})}},$A=class{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||"string"!=typeof A)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{let t=new URL(A);if(!["http:","https:"].includes(t.protocol))return{valid:!1,error:`Protocol ${t.protocol} is not allowed. Only http and https are permitted.`};if("proxy"===e&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){let A=t.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(e=>{let t=e.toLowerCase();return A===t||A.endsWith("."+t)}))return{valid:!1,error:`Proxy domain ${t.hostname} is not in the allowed list`}}if("proxy"===e){if(!this.config.allowLocalhostProxy){let A=t.hostname.toLowerCase();if("localhost"===A||"127.0.0.1"===A||"::1"===A)return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(A))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(A.startsWith("169.254.")||A.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(A){return{valid:!1,error:`Invalid URL format: ${A instanceof Error?A.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(e=>e.test(A))||!!A.includes(":")&&this.isPrivateIPv6(A)}isPrivateIPv6(A){let e=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(e)||"::1"===e||/^(0:){7}0$/.test(e)||"::"===e)return!0;let t=this.expandIPv6(e);if(!t)return this.isPrivateIPv6Prefix(e);let s=parseInt(t.substring(0,2),16);if(s>=252&&s<=253)return!0;if(254===s){let A=parseInt(t.substring(2,4),16);if(A>=128&&A<=191)return!0}return 255===s}expandIPv6(A){try{if(A.includes("::")){let e=A.split("::");if(e.length>2)return null;let t=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],r=8-t.length-s.length;if(r<0)return null;let i=Array(r).fill("0000");return[...t,...i,...s].map(A=>A.padStart(4,"0")).join(":")}{let e=A.split(":");return 8!==e.length?null:e.map(A=>A.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&&"string"==typeof A?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"}:{valid:!1,error:"CSP nonce must be a non-empty string"}}validateImageTimeout(A){return"number"!=typeof A||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("number"!=typeof A||"number"!=typeof e)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"};let t=32767;return A>t||e>t?{valid:!1,error:`Dimensions exceed maximum allowed (${t}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return"number"!=typeof A||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){if(!A)return{valid:!1,error:"Element is required"};if("object"!=typeof A)return{valid:!1,error:"Element must be an object"};let e=A;return typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:e.ownerDocument?e.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)"}}validateOptions(A){let e=[],t=A.proxy;if(null!=t&&"string"==typeof t&&t.length>0){let A=this.validateUrl(t,"proxy");A.valid||e.push(`Proxy: ${A.error}`)}if(void 0!==A.imageTimeout){let t=this.validateImageTimeout(A.imageTimeout);t.valid||e.push(`Image timeout: ${t.error}`)}if(void 0!==A.width||void 0!==A.height){let t=A.width??800,s=A.height??600,r=this.validateDimensions(t,s);r.valid||e.push(`Dimensions: ${r.error}`)}if(void 0!==A.scale){let t=this.validateScale(A.scale);t.valid||e.push(`Scale: ${t.error}`)}if(void 0!==A.cspNonce){let t=this.validateCspNonce(A.cspNonce);t.valid||e.push(`CSP nonce: ${t.error}`)}if(this.config.customValidator){let t=this.config.customValidator(A,"options");t.valid||e.push(`Custom validation: ${t.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}},YA=class{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&"function"==typeof performance.now?()=>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;let e=this.activeMetrics.get(A);if(e)return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`\u23f1\ufe0f ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e;this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`)}measure(A,e,t){this.start(A,t);try{let t=e();return this.end(A),t}catch(e){throw this.end(A),e}}async measureAsync(A,e,t){this.start(A,t);try{let t=await e();return this.end(A),t}catch(e){throw this.end(A),e}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){let A=this.completedMetrics.reduce((A,e)=>A+(e.duration||0),0),e=this.completedMetrics.map(e=>({name:e.name,duration:e.duration||0,percentage:A>0?((e.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||0===this.completedMetrics.length||!this.context)return;let A=this.getSummary();this.context.logger.info(`\n\ud83d\udcca Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((A,e)=>e.duration-A.duration).forEach(A=>{this.context.logger.info(` ${A.name.padEnd(20)} ${A.duration.toFixed(2).padStart(8)}ms ${A.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},WA=class A{constructor(A,e,t,s){this.left=A,this.top=e,this.width=t,this.height=s}add(e,t,s,r){return new A(this.left+e,this.top+t,this.width+s,this.height+r)}static fromClientRect(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)}static fromDOMRectList(e,t){let s=Array.from(t),r=s.find(A=>0!==A.width);return r||(r=s.find(A=>0!==A.height)),!r&&s.length>0&&(r=s[0]),r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY}static{this.EMPTY=new A(0,0,0,0)}},JA=(A,e)=>WA.fromClientRect(A,e.getBoundingClientRect()),zA=A=>{let e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");return new WA(0,0,Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight)))},_A=function(A){for(var e=[],t=0,s=A.length;t<s;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<s){var i=A.charCodeAt(t++);56320==(64512&i)?e.push(((1023&r)<<10)+(1023&i)+65536):(e.push(r),t--)}else e.push(r)}return e},jA=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var s=[],r=-1,i="";++r<t;){var n=A[r];n<=65535?s.push(n):(n-=65536,s.push(55296+(n>>10),n%1024+56320)),(r+1===t||s.length>16384)&&(i+=String.fromCharCode.apply(String,s),s.length=0)}return i},ZA=typeof Uint8Array>"u"?[]:new Uint8Array(256),qA=0;qA<64;qA++)ZA["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(qA)]=qA;for(Ae=typeof Uint8Array>"u"?[]:new Uint8Array(256),ee=0;ee<64;ee++)Ae["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ee)]=ee;for(te=function(A){var e,t,s,r,i,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<o;e+=4)t=Ae[A.charCodeAt(e)],s=Ae[A.charCodeAt(e+1)],r=Ae[A.charCodeAt(e+2)],i=Ae[A.charCodeAt(e+3)],c[a++]=t<<2|s>>4,c[a++]=(15&s)<<4|r>>2,c[a++]=(3&r)<<6|63&i;return l},se=function(A){for(var e=A.length,t=[],s=0;s<e;s+=2)t.push(A[s+1]<<8|A[s]);return t},re=function(A){for(var e=A.length,t=[],s=0;s<e;s+=4)t.push(A[s+3]<<24|A[s+2]<<16|A[s+1]<<8|A[s]);return t},ie=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},ne=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},oe=function(A,e){var t=te(A),s=Array.isArray(t)?re(t):new Uint32Array(t),r=Array.isArray(t)?se(t):new Uint16Array(t),i=ie(r,12,s[4]/2),n=2===s[5]?ie(r,(24+s[4])/2):ne(s,Math.ceil((24+s[4])/4));return new ae(s[0],s[1],s[2],s[3],i,n)},ae=function(){function A(A,e,t,s,r,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=r,this.data=i}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),le=typeof Uint8Array>"u"?[]:new Uint8Array(256),ce=0;ce<64;ce++)le["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ce)]=ce;for(de=10,pe=13,he=15,ue=17,ge=18,Be=19,we=20,fe=21,me=22,be=24,Ce=25,ye=26,Qe=27,xe=28,Fe=30,Ue=32,ve=33,Ee=34,ke=35,He=37,Ie=38,Se=39,Le=40,Me=42,De=[9001,65288],Ke="\xd7",Te="\xf7",Re=oe("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsD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LAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIa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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMA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1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm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gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAC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AFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeA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gAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUA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FAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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UABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4A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wArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Oe=[Fe,36],Ve=[Qe,ye],Ge=(Pe=[1,2,3,5]).concat(Ne=[de,8]),Xe=[Ie,Se,Le,Ee,ke],$e=[he,pe],Ye=function(A,e){void 0===e&&(e="strict");var t=[],s=[],r=[];return A.forEach(function(A,i){var n=Re.get(A);if(n>50?(r.push(!0),n-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return s.push(i),t.push(16);if(4===n||11===n){if(0===i)return s.push(i),t.push(Fe);var o=t[i-1];return-1===Ge.indexOf(o)?(s.push(s[i-1]),t.push(o)):(s.push(i),t.push(Fe))}return s.push(i),31===n?t.push("strict"===e?fe:He):n===Me||29===n?t.push(Fe):43===n?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(He):t.push(Fe):void t.push(n)}),[s,t,r]},We=function(A,e,t,s){var r=s[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var i=t;i<=s.length;){if((a=s[++i])===e)return!0;if(a!==de)break}if(r===de)for(i=t;i>0;){var n=s[--i];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var o=t;o<=s.length;){var a;if((a=s[++o])===e)return!0;if(a!==de)break}if(n!==de)break}return!1},Je=function(A,e){for(var t=A;t>=0;){var s=e[t];if(s!==de)return s;t--}return 0},ze=function(A,e,t,s,r){if(0===t[s])return Ke;var i=s-1;if(Array.isArray(r)&&!0===r[i])return Ke;var n=i-1,o=i+1,a=e[i],l=n>=0?e[n]:0,c=e[o];if(2===a&&3===c)return Ke;if(-1!==Pe.indexOf(a))return"!";if(-1!==Pe.indexOf(c)||-1!==Ne.indexOf(c))return Ke;if(8===Je(i,e))return Te;if(11===Re.get(A[i])||(a===Ue||a===ve)&&11===Re.get(A[o])||7===a||7===c||9===a||-1===[de,pe,he].indexOf(a)&&9===c||-1!==[ue,ge,Be,be,xe].indexOf(c)||Je(i,e)===me||We(23,me,i,e)||We([ue,ge],fe,i,e)||We(12,12,i,e))return Ke;if(a===de)return Te;if(23===a||23===c)return Ke;if(16===c||16===a)return Te;if(-1!==[pe,he,fe].indexOf(c)||14===a||36===l&&-1!==$e.indexOf(a)||a===xe&&36===c||c===we||-1!==Oe.indexOf(c)&&a===Ce||-1!==Oe.indexOf(a)&&c===Ce||a===Qe&&-1!==[He,Ue,ve].indexOf(c)||-1!==[He,Ue,ve].indexOf(a)&&c===ye||-1!==Oe.indexOf(a)&&-1!==Ve.indexOf(c)||-1!==Ve.indexOf(a)&&-1!==Oe.indexOf(c)||-1!==[Qe,ye].indexOf(a)&&(c===Ce||-1!==[me,he].indexOf(c)&&e[o+1]===Ce)||-1!==[me,he].indexOf(a)&&c===Ce||a===Ce&&-1!==[Ce,xe,be].indexOf(c))return Ke;if(-1!==[Ce,xe,be,ue,ge].indexOf(c))for(var d=i;d>=0;){if((p=e[d])===Ce)return Ke;if(-1===[xe,be].indexOf(p))break;d--}if(-1!==[Qe,ye].indexOf(c))for(d=-1!==[ue,ge].indexOf(a)?n:i;d>=0;){var p;if((p=e[d])===Ce)return Ke;if(-1===[xe,be].indexOf(p))break;d--}if(Ie===a&&-1!==[Ie,Se,Ee,ke].indexOf(c)||-1!==[Se,Ee].indexOf(a)&&-1!==[Se,Le].indexOf(c)||-1!==[Le,ke].indexOf(a)&&c===Le||-1!==Xe.indexOf(a)&&-1!==[we,ye].indexOf(c)||-1!==Xe.indexOf(c)&&a===Qe||-1!==Oe.indexOf(a)&&-1!==Oe.indexOf(c)||a===be&&-1!==Oe.indexOf(c)||-1!==Oe.concat(Ce).indexOf(a)&&c===me&&-1===De.indexOf(A[o])||-1!==Oe.concat(Ce).indexOf(c)&&a===ge)return Ke;if(41===a&&41===c){for(var h=t[i],u=1;h>0&&41===e[--h];)u++;if(u%2!=0)return Ke}return a===Ue&&c===ve?Ke:Te},_e=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=Ye(A,e.lineBreak),s=t[0],r=t[1],i=t[2];return("break-all"===e.wordBreak||"break-word"===e.wordBreak)&&(r=r.map(function(A){return-1!==[Ce,Fe,Me].indexOf(A)?He:A})),[s,r,"keep-all"===e.wordBreak?i.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0]},je=function(){function A(A,e,t,s){this.codePoints=A,this.required="!"===e,this.start=t,this.end=s}return A.prototype.slice=function(){return jA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),Ze=function(A,e){var t=_A(A),s=_e(t,e),r=s[0],i=s[1],n=s[2],o=t.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var A=Ke;l<o&&(A=ze(t,i,r,++l,n))===Ke;);if(A!==Ke||l===o){var e=new je(t,A,a,l);return a=l,{value:e,done:!1}}return{done:!0,value:null}}}},qe=A=>A>=48&&A<=57,At=A=>A>=55296&&A<=57343,et=A=>qe(A)||A>=65&&A<=70||A>=97&&A<=102,tt=A=>A>=97&&A<=122,st=A=>A>=65&&A<=90,rt=A=>tt(A)||st(A),it=A=>A>=128,nt=A=>10===A||9===A||32===A,ot=A=>rt(A)||it(A)||95===A,at=A=>ot(A)||qe(A)||45===A,lt=A=>A>=0&&A<=8||11===A||A>=14&&A<=31||127===A,ct=(A,e)=>92===A&&10!==e,dt=(A,e,t)=>45===A?ot(e)||ct(e,t):!!ot(A)||!(92!==A||!ct(A,e)),pt=(A,e,t)=>43===A||45===A?!!qe(e)||46===e&&qe(t):qe(46===A?e:A),ht=A=>{let e=0,t=1;(43===A[e]||45===A[e])&&(45===A[e]&&(t=-1),e++);let s=[];for(;qe(A[e]);)s.push(A[e++]);let r=s.length?parseInt(jA(...s),10):0;46===A[e]&&e++;let i=[];for(;qe(A[e]);)i.push(A[e++]);let n=i.length,o=n?parseInt(jA(...i),10):0;(69===A[e]||101===A[e])&&e++;let a=1;(43===A[e]||45===A[e])&&(45===A[e]&&(a=-1),e++);let l=[];for(;qe(A[e]);)l.push(A[e++]);let c=l.length?parseInt(jA(...l),10):0;return t*(r+o*Math.pow(10,-n))*Math.pow(10,a*c)},ut={type:2},gt={type:3},Bt={type:4},wt={type:13},ft={type:8},mt={type:21},bt={type:9},Ct={type:10},yt={type:11},Qt={type:12},xt={type:14},Ft={type:23},Ut={type:1},vt={type:25},Et={type:24},kt={type:26},Ht={type:27},It={type:28},St={type:29},Lt={type:31},Mt={type:32},Dt=class A{static{this._pool=[]}static{this.MAX_POOL_SIZE=40}static get(){return A._pool.pop()||new A}static release(e){A._pool.length<A.MAX_POOL_SIZE&&(e._reset(),A._pool.push(e))}constructor(){this._value=[]}_reset(){this._value=[]}write(A){this._value=this._value.concat(_A(A))}read(){let A=[],e=this.consumeToken();for(;e!==Mt;)A.push(e),e=this.consumeToken();return A}consumeToken(){let A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:{let A=this.peekCodePoint(0),e=this.peekCodePoint(1),t=this.peekCodePoint(2);if(at(A)||ct(e,t)){let s=dt(A,e,t)?2:1;return{type:5,value:this.consumeName(),flags:s}}break}case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wt;break;case 39:return this.consumeStringToken(39);case 40:return ut;case 41:return gt;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xt;break;case 43:if(pt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return Bt;case 45:{let e=A,t=this.peekCodePoint(0),s=this.peekCodePoint(1);if(pt(e,t,s))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(dt(e,t,s))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===t&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Et;break}case 46:if(pt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){let A=this.consumeCodePoint();if(42===A&&(A=this.consumeCodePoint(),47===A))return this.consumeToken();if(-1===A)return this.consumeToken()}break;case 58:return kt;case 59:return Ht;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),vt;break;case 64:if(dt(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2)))return{type:7,value:this.consumeName()};break;case 91:return It;case 92:if(ct(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return St;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ft;break;case 123:return yt;case 125:return Qt;case 117:case 85:{let e=this.peekCodePoint(0),t=this.peekCodePoint(1);return 43===e&&(et(t)||63===t)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken()}case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),bt;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),mt;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ct;break;case-1:return Mt}return nt(A)?(this.consumeWhiteSpace(),Lt):qe(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):ot(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:jA(A)}}consumeCodePoint(){let 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(){let A=[],e=this.consumeCodePoint();for(;et(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let t=!1;for(;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(jA(...A.map(A=>63===A?48:A)),16),end:parseInt(jA(...A.map(A=>63===A?70:A)),16)};let s=parseInt(jA(...A),16);if(45===this.peekCodePoint(0)&&et(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();let A=[];for(;et(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();return{type:30,start:s,end:parseInt(jA(...A),16)}}return{type:30,start:s,end:s}}consumeIdentLikeToken(){let A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){let A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};let e=this.peekCodePoint(0);if(39===e||34===e){let A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),Ft)}for(;;){let e=this.consumeCodePoint();if(-1===e||41===e)return{type:22,value:jA(...A)};if(nt(e))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:jA(...A)}):(this.consumeBadUrlRemnants(),Ft);if(34===e||39===e||40===e||lt(e))return this.consumeBadUrlRemnants(),Ft;if(92===e){if(!ct(e,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ft;A.push(this.consumeEscapedCodePoint())}else A.push(e)}}consumeWhiteSpace(){for(;nt(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){let A=this.consumeCodePoint();if(41===A||-1===A)return;ct(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let e="";for(;A>0;){let t=Math.min(5e4,A);e+=jA(...this._value.splice(0,t)),A-=t}return this._value.shift(),e}consumeStringToken(A){let e="",t=0;for(;;){let s=this._value[t];if(-1===s||void 0===s||s===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(10===s)return this._value.splice(0,t),Ut;if(92===s){let A=this._value[t+1];-1!==A&&void 0!==A&&(10===A?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):ct(s,A)&&(e+=this.consumeStringSlice(t),e+=jA(this.consumeEscapedCodePoint()),t=-1))}t++}}consumeNumber(){let A=[],e=4,t=this.peekCodePoint(0);for((43===t||45===t)&&A.push(this.consumeCodePoint());qe(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(46===t&&qe(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;qe(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),s=this.peekCodePoint(1);let r=this.peekCodePoint(2);if((69===t||101===t)&&((43===s||45===s)&&qe(r)||qe(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;qe(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[ht(A),e]}consumeNumericToken(){let[A,e]=this.consumeNumber(),t=this.peekCodePoint(0);return dt(t,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:A,flags:e,unit:this.consumeName()}:37===t?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){let A=this.consumeCodePoint();if(et(A)){let e=jA(A);for(;et(this.peekCodePoint(0))&&e.length<6;)e+=jA(this.consumeCodePoint());nt(this.peekCodePoint(0))&&this.consumeCodePoint();let t=parseInt(e,16);return 0===t||At(t)||t>1114111?65533:t}return-1===A?65533:A}consumeName(){let A="";for(;;){let e=this.consumeCodePoint();if(at(e))A+=jA(e);else{if(!ct(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=jA(this.consumeEscapedCodePoint())}}}},Kt=class A{constructor(A){this._tokens=A}static create(e){let t=new Dt;return t.write(e),new A(t.read())}static parseValue(e){return A.create(e).parseComponentValue()}static parseValues(e){return A.create(e).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);let e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){let A=[];for(;;){let e=this.consumeComponentValue();if(32===e.type)return A;A.push(e)}}consumeComponentValue(){let 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){let e={type:A,values:[]},t=this.consumeToken();for(;;){if(32===t.type||$t(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}}consumeFunction(A){let e={name:A.value,values:[],type:18};for(;;){let A=this.consumeToken();if(32===A.type||3===A.type)return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue())}}consumeToken(){let A=this._tokens.shift();return typeof A>"u"?Mt:A}reconsumeToken(A){this._tokens.unshift(A)}},Tt=A=>15===A.type,Rt=A=>17===A.type,Ot=A=>20===A.type,Pt=A=>0===A.type,Nt=(A,e)=>Ot(A)&&A.value===e,Vt=A=>31!==A.type,Gt=A=>31!==A.type&&4!==A.type,Xt=A=>{let e=[],t=[];return A.forEach(A=>{4!==A.type?31!==A.type&&t.push(A):t.length&&(e.push(t),t=[])}),t.length&&e.push(t),e},$t=(A,e)=>11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type,Yt=/(\d+(?:\.\d+)?|[+\-*/()])/g,Wt=A=>{let e=A.match(Yt);if(!e)return NaN;let t=[],s=[],r={"+":1,"-":1,"*":2,"/":2};for(let A of e)if(/^\d+(?:\.\d+)?$/.test(A))t.push(parseFloat(A));else if("("===A)s.push(A);else if(")"===A){for(;s.length&&"("!==s[s.length-1];)t.push(s.pop());if(!s.length)return NaN;s.pop()}else{for(;s.length&&r[s[s.length-1]]>=r[A];)t.push(s.pop());s.push(A)}for(;s.length;){let A=s.pop();if("("===A)return NaN;t.push(A)}let i=[];for(let A of t)if("number"==typeof A)i.push(A);else{let e=i.pop(),t=i.pop();if(void 0===t||void 0===e)return NaN;switch(A){case"+":i.push(t+e);break;case"-":i.push(t-e);break;case"*":i.push(t*e);break;case"/":i.push(0===e?NaN:t/e);break;default:return NaN}}return 1===i.length?i[0]:NaN},Jt=(A,e,t)=>Math.min(Math.max(A,e),t),zt=(A,e)=>[A[0]*e[0]+A[1]*e[1]+A[2]*e[2],A[3]*e[0]+A[4]*e[1]+A[5]*e[2],A[6]*e[0]+A[7]*e[1]+A[8]*e[2]],_t=A=>zt([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],A),jt=A=>zt([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],A),Zt=A=>A.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t>.0031308?e*(1.055*t**(1/2.4)-.055):12.92*A}),qt=A=>A.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t<=.04045?A/12.92:e*((t+.055)/1.055)**2.4}),As=A=>17===A.type||15===A.type,es=A=>16===A.type||As(A)||ts(A),ts=A=>17===A.type&&void 0!==A._calcPercentage,ss=A=>18===A.type&&"calc"===A.name,rs=A=>{let e=ns(A,0);if(!e)return null;let t=ns(A,100);if(!t)return null;let s=e.number,r=t.number-s;return 0===r?e:{type:17,number:s,flags:4,_calcPercentage:r,_calcPixelOffset:s}},is=A=>ss(A)?rs(A):es(A)?A:null,ns=(A,e=0)=>{let t=A=>{let s="";for(let r of A)if(31!==r.type)if(18===r.type){if("calc"!==r.name)return null;{let A=t(r.values);if(null===A)return null;s+=`(${A})`}}else if(17===r.type)s+=r.number.toString();else if(15===r.type)"px"===r.unit?s+=r.number.toString():"rem"===r.unit||"em"===r.unit?s+=(16*r.number).toString():s+=r.number.toString();else if(16===r.type)s+=(r.number/100*e).toString();else if(6===r.type){let A=r.value;"+"===A||"-"===A||"*"===A||"/"===A?s+=` ${A} `:"("===A?s+="(":")"===A&&(s+=")")}return s};try{let e=t(A.values);if(null===e||""===e.trim())return null;let s=Wt(e);if("number"==typeof s&&!isNaN(s))return{type:17,number:s,flags:4}}catch{return null}return null},os=A=>A.length>1?[A[0],A[1]]:[A[0]],as={type:17,number:0,flags:4},ls={type:16,number:50,flags:4},cs={type:16,number:100,flags:4},ds=(A,e,t)=>{let[s,r]=A;return[ps(s,e),ps(typeof r<"u"?r:s,t)]},ps=(A,e)=>{if(ts(A))return A._calcPercentage/100*e+A._calcPixelOffset;if(16===A.type)return A.number/100*e;if(Tt(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},hs="grad",us="turn",gs={name:"angle",parse:(A,e)=>{if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case hs:return Math.PI/200*e.number;case"rad":return e.number;case us:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},Bs=A=>15===A.type&&("deg"===A.unit||A.unit===hs||"rad"===A.unit||A.unit===us),ws=A=>{switch(A.filter(Ot).map(A=>A.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[as,as];case"to top":case"bottom":return fs(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[as,cs];case"to right":case"left":return fs(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[cs,cs];case"to bottom":case"top":return fs(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[cs,as];case"to left":case"right":return fs(270)}return 0},fs=A=>Math.PI*A/180,ms=A=>!(255&A),bs=A=>{let e=255&A,t=255&A>>8,s=255&A>>16,r=255&A>>24;return e<255?`rgba(${r},${s},${t},${e/255})`:`rgb(${r},${s},${t})`},Cs=(A,e,t,s)=>(A<<24|e<<16|t<<8|Math.round(255*s))>>>0,ys=(A,e)=>{if(17===A.type)return A.number;if(16===A.type){let t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},Qs=A=>"from"===(20===A[0].type?A[0].value:"unknown"),Fs=A=>{let e=_t([A[0],A[1],A[2]]);return xs([e[0],e[1],e[2],A[3]])},Us=(A,e)=>{if(Qs(e.filter(Gt)))throw new Error("Relative color not supported for lab()");let[t,s,r,i]=Ls(e),n=Zt(_t(Ns([t,s,r])));return Cs(Jt(Math.round(255*n[0]),0,255),Jt(Math.round(255*n[1]),0,255),Jt(Math.round(255*n[2]),0,255),i)},vs=(A,e)=>{if(Qs(e.filter(Gt)))throw new Error("Relative color not supported for oklab()");let[t,s,r,i]=Ls(e),n=Zt(_t(Ps([t,s,r])));return Cs(Jt(Math.round(255*n[0]),0,255),Jt(Math.round(255*n[1]),0,255),Jt(Math.round(255*n[2]),0,255),i)},Es=(A,e)=>{if(Qs(e.filter(Gt)))throw new Error("Relative color not supported for oklch()");let[t,s,r,i]=Ms(e),n=Zt(_t(Ps(Os([t,s,r]))));return Cs(Jt(Math.round(255*n[0]),0,255),Jt(Math.round(255*n[1]),0,255),Jt(Math.round(255*n[2]),0,255),i)},ks=(A,e)=>{if(Qs(e.filter(Gt)))throw new Error("Relative color not supported for lch()");let[t,s,r,i]=Ss(e),n=Zt(_t(Ns(Os([t,s,r]))));return Cs(Jt(Math.round(255*n[0]),0,255),Jt(Math.round(255*n[1]),0,255),Jt(Math.round(255*n[2]),0,255),i)},Hs=(A,e)=>{let[t,s,r,i]=e.filter(Gt);return[(17===t.type?fs(t.number):gs.parse(A,t))/(2*Math.PI),es(s)?s.number/100:0,es(r)?r.number/100:0,typeof i<"u"&&es(i)?ps(i,1):1]},Is=(A,e)=>{if(Qs(e))throw new Error("Relative color not supported for hsl()");let[t,s,r,i]=Hs(A,e),n=Rs([t,s,r]);return Cs(255*n[0],255*n[1],255*n[2],0===s?1:i)},Ss=A=>{let e=A.filter(Gt);return[es(e[0])?e[0].number:0,es(e[1])?e[1].number:0,Rt(e[2])||Tt(e[2])?e[2].number:0,typeof e[4]<"u"&&es(e[4])?ps(e[4],1):1]},Ls=A=>{let e=A.filter(Gt);return[16===e[0].type?e[0].number/100:Rt(e[0])?e[0].number:0,16===e[1].type?e[1].number/100:Rt(e[1])?e[1].number:0,Rt(e[2])||Tt(e[2])?e[2].number:0,typeof e[4]<"u"&&es(e[4])?ps(e[4],1):1]},Ms=A=>{let e=A.filter(Gt);return[16===e[0].type?e[0].number/100:Rt(e[0])?e[0].number:0,16===e[1].type?e[1].number/100:Rt(e[1])?e[1].number:0,Rt(e[2])||Tt(e[2])?e[2].number:0,typeof e[4]<"u"&&es(e[4])?ps(e[4],1):1]},Ds=A=>zt([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],A),Ks=A=>zt([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],A),Ts=(A,e,t)=>(t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A),Rs=([A,e,t])=>{if(0===e)return[255*t,255*t,255*t];let s=t<=.5?t*(e+1):t+e-t*e,r=2*t-s;return[Ts(r,s,A+1/3),Ts(r,s,A),Ts(r,s,A-1/3)]},Os=([A,e,t])=>(e<0&&(e=0),isNaN(t)&&(t=0),[A,e*Math.cos(t*Math.PI/180),e*Math.sin(t*Math.PI/180)]),Ps=A=>zt([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],zt([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],A).map(A=>A**3)),Ns=A=>{let e=(A[0]+16)/116,t=A[1]/500+e,s=e-A[2]/200,r=24389/27,i=24/116,n=[.3457*(t>i?t**3:(116*t-16)/r)/.3585,A[0]>8?e**3:A[0]/r,.2958*(s>i?s**3:(116*s-16)/r)/.3585];return Ks([n[0],n[1],n[2]])},Vs=A=>Ks([A[0],A[1],A[2]]),$s=A=>zt([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],A),Ys=A=>zt([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],A),Ws=A=>A.map(A=>{let e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),Js=A=>Zt(A),zs=A=>{let e=Ws([A[0],A[1],A[2]]);return $s([e[0],e[1],e[2]])},_s=A=>zt([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],A),js=A=>zt([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],A),Zs=A=>{let e=A.map(A=>(A<0?-1:1)*Math.abs(A)**2.19921875);return[e[0],e[1],e[2]]},qs=A=>{let e=A.map(A=>(A<0?-1:1)*Math.abs(A)**.4547069271758437);return[e[0],e[1],e[2]]},Ar=A=>{let e=_t(js(Zs([A[0],A[1],A[2]])));return xs([e[0],e[1],e[2],A[3]])},er=A=>zt([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],A),tr=A=>zt([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],A),sr=A=>A.map(A=>A<16/512?A/16:A**1.8),rr=A=>A.map(A=>A>1/512?A**(1/1.8):16*A),ir=A=>{let e=sr([A[0],A[1],A[2]]);return Ks(er([e[0],e[1],e[2]]))},nr=1.09929682680944,or=.018053968510807,ar=A=>A.map(function(A){return A<4.5*or?A/4.5:Math.pow((A+nr-1)/nr,1/.45)}),lr=A=>A.map(function(A){return A>=or?nr*Math.pow(A,.45)-(nr-1):4.5*A}),cr=A=>zt([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],A),dr=A=>zt([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],A),pr=A=>{let e=ar([A[0],A[1],A[2]]);return cr([e[0],e[1],e[2]])},hr={name:"color",parse:(A,e)=>{if(18===e.type){let t=br[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported color function "${e.name}"`);return t(A,e.values)}if(5===e.type){let[A,t,s,r]=ur(e);return Cs(A,t,s,r)}if(20===e.type){let A=yr[e.value.toUpperCase()];if(typeof A<"u")return A}return yr.TRANSPARENT}},ur=A=>{if(3===A.value.length){let e=A.value.substring(0,1),t=A.value.substring(1,2),s=A.value.substring(2,3);return[parseInt(e+e,16),parseInt(t+t,16),parseInt(s+s,16),1]}if(4===A.value.length){let e=A.value.substring(0,1),t=A.value.substring(1,2),s=A.value.substring(2,3),r=A.value.substring(3,4);return[parseInt(e+e,16),parseInt(t+t,16),parseInt(s+s,16),parseInt(r+r,16)/255]}if(6===A.value.length){let e=A.value.substring(0,2),t=A.value.substring(2,4),s=A.value.substring(4,6);return[parseInt(e,16),parseInt(t,16),parseInt(s,16),1]}if(8===A.value.length){let e=A.value.substring(0,2),t=A.value.substring(2,4),s=A.value.substring(4,6),r=A.value.substring(6,8);return[parseInt(e,16),parseInt(t,16),parseInt(s,16),parseInt(r,16)/255]}return[0,0,0,1]},Br=(A,e)=>{let t=e.filter(Gt),s=20===t[0].type?t[0].value:"unknown";if(Qs(t)){let e=(A,e)=>{if(Rt(e))return e.number;if(Ot(e))return A[t=e.value,"r"===t||"x"===t?0:"g"===t||"y"===t?1:2];var t;let s=A=>{let e=A.filter(Gt),t="(";for(let A of e)t+=18===A.type&&"calc"===A.name?s(A.values):Rt(A)?A.number:6===A.type||Ot(A)?A.value:"";return t+=")",t};if(18===e.type){let t=e.values.filter(Gt);if("calc"===e.name)return Wt(s(t).replace(/r|x/,A[0].toString()).replace(/g|y/,A[1].toString()).replace(/b|z/,A[2].toString()))}return null},s=18===t[1].type?t[1].name:Ot(t[1])||5===t[1].type?"rgb":"unknown",r=Ot(t[2])?t[2].value:"unknown",i=18===t[1].type?t[1].values:Ot(t[1])?[t[1]]:[];if(Ot(t[1])){if(typeof yr[t[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{let e=Cr(A,t[1].value),s=255&e;i=[{type:17,number:255&e>>24,flags:1},{type:17,number:255&e>>16,flags:1},{type:17,number:255&e>>8,flags:1},{type:17,number:s>1?s/255:s,flags:1}]}}else if(5===t[1].type){let[A,e,s,r]=ur(t[1]);i=[{type:17,number:A,flags:1},{type:17,number:e,flags:1},{type:17,number:s,flags:1},{type:17,number:r>1?r/255:r,flags:1}]}if(0===i.length)throw new Error("Attempting to use unknown color in relative color 'from'");if("unknown"===r)throw new Error("Attempting to use unknown colorspace in relative color 'to'");let n=fr[s],o=mr[r],a=wr[r];if(typeof n>"u")throw new Error(`Attempting to parse an unsupported color space "${s}" for color() function`);if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);let l=o(n(A,i)),c=e(l,t[3]),d=e(l,t[4]),p=e(l,t[5]),h=t.length>6&&6===t[6].type&&"/"===t[6].value&&Rt(t[7])?t[7].number:1;if(null===c||null===d||null===p)throw new Error("Invalid relative color in color() function");return a([c,d,p,h])}{let A=s,e=wr[A];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color space "${A}" for color() function`);return e([Rt(t[1])?t[1].number:0,Rt(t[2])?t[2].number:0,Rt(t[3])?t[3].number:0,t.length>4&&6===t[4].type&&"/"===t[4].value&&Rt(t[5])?t[5].number:1])}},wr={srgb:A=>Cs(Jt(Math.round(255*A[0]),0,255),Jt(Math.round(255*A[1]),0,255),Jt(Math.round(255*A[2]),0,255),Jt(A[3],0,1)),"srgb-linear":xs=([A,e,t,s])=>{let r=Zt([A,e,t]);return Cs(Jt(Math.round(255*r[0]),0,255),Jt(Math.round(255*r[1]),0,255),Jt(Math.round(255*r[2]),0,255),s)},"display-p3":A=>{let e=zs([A[0],A[1],A[2]]);return Fs([e[0],e[1],e[2],A[3]])},"a98-rgb":Ar,"prophoto-rgb":A=>{let e=ir([A[0],A[1],A[2]]);return Fs([e[0],e[1],e[2],A[3]])},xyz:Xs=A=>Fs([A[0],A[1],A[2],A[3]]),"xyz-d50":A=>{let e=Vs([A[0],A[1],A[2]]);return Fs([e[0],e[1],e[2],A[3]])},"xyz-d65":Xs,rec2020:A=>{let e=pr([A[0],A[1],A[2]]);return Fs([e[0],e[1],e[2],A[3]])}},fr={rgb:(A,e)=>{let t=e.filter(Gt);if(3===t.length){let[A,e,s]=t.map(ys),r=qt([A/255,e/255,s/255]),[i,n,o]=jt([r[0],r[1],r[2]]);return[i,n,o,1]}if(4===t.length){let[A,e,s,r]=t.map(ys),i=qt([A/255,e/255,s/255]),[n,o,a]=jt([i[0],i[1],i[2]]);return[n,o,a,r]}return[0,0,0,1]},hsl:(A,e)=>{let[t,s,r,i]=Hs(A,e),n=qt(Rs([t,s,r])),[o,a,l]=jt([n[0],n[1],n[2]]);return[o,a,l,i]},lab:(A,e)=>{let[t,s,r,i]=Ls(e),[n,o,a]=Ns([t,s,r]);return[n,o,a,i]},lch:(A,e)=>{let[t,s,r,i]=Ss(e),[n,o,a]=Ns(Os([t,s,r]));return[n,o,a,i]},oklab:(A,e)=>{let[t,s,r,i]=Ls(e),[n,o,a]=Ps([t,s,r]);return[n,o,a,i]},oklch:(A,e)=>{let[t,s,r,i]=Ms(e),[n,o,a]=Ps(Os([t,s,r]));return[n,o,a,i]}},mr={srgb:A=>{let[e,t,s]=Zt(_t([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"srgb-linear":A=>{let[e,t,s]=_t([A[0],A[1],A[2]]);return[Jt(Math.round(255*e),0,255),Jt(Math.round(255*t),0,255),Jt(Math.round(255*s),0,255),A[3]]},"display-p3":A=>{let[e,t,s]=Js(Ys([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"a98-rgb":A=>{let[e,t,s]=qs(_s([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"prophoto-rgb":A=>{let[e,t,s]=rr(tr(Ds([A[0],A[1],A[2]])));return[e,t,s,A[3]]},xyz:Gs=A=>A,"xyz-d50":A=>{let[e,t,s]=Ds([A[0],A[2],A[3]]);return[e,t,s,A[3]]},"xyz-d65":Gs,rec2020:A=>{let[e,t,s]=lr(dr([A[0],A[1],A[2]]));return[e,t,s,A[3]]}},br={hsl:Is,hsla:Is,rgb:gr=(A,e)=>{let t=e.filter(Gt);if(Qs(t))throw new Error("Relative color not supported for rgb()");if(3===t.length){let[A,e,s]=t.map(ys);return Cs(A,e,s,1)}if(4===t.length){let[A,e,s,r]=t.map(ys);return Cs(A,e,s,r)}return 5===t.length&&6===t[3].type&&"/"===t[3].value?Cs(ys(t[0],0),ys(t[1],1),ys(t[2],2),ys(t[4],3)):0},rgba:gr,lch:ks,oklch:Es,oklab:vs,lab:Us,color:Br},Cr=(A,e)=>hr.parse(A,Kt.create(e).parseComponentValue()),yr={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},Qr=A=>A.nodeType===Node.ELEMENT_NODE,xr=A=>A.nodeType===Node.TEXT_NODE,Fr=A=>"object"==typeof A.className,Ur=A=>Qr(A)&&typeof A.style<"u"&&!Fr(A),vr=A=>"INPUT"===A.tagName,Er=A=>"HTML"===A.tagName,kr=A=>"svg"===A.tagName,Hr=A=>"BODY"===A.tagName,Ir=A=>"CANVAS"===A.tagName,Sr=A=>"VIDEO"===A.tagName,Lr=A=>"IMG"===A.tagName,Mr=A=>"IFRAME"===A.tagName,Dr=A=>"STYLE"===A.tagName,Kr=A=>"SCRIPT"===A.tagName,Tr=A=>"TEXTAREA"===A.tagName,Rr=A=>"SELECT"===A.tagName,Or=A=>"SLOT"===A.tagName,Pr=A=>"LI"===A.tagName,Nr=A=>"OL"===A.tagName,Vr=A=>!Fr(A)&&A.tagName.indexOf("-")>0,Gr=new Set(["IMG","VIDEO","AUDIO","CANVAS","IFRAME","INPUT","TEXTAREA","SELECT","BR","HR","META","LINK","BASE","COL","SOURCE","TRACK","WBR","AREA","PARAM","EMBED","OBJECT"]),Xr=A=>!Fr(A)&&!Gr.has(A.tagName),$r={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){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}}},Yr=(A,e)=>0!==(A&e),Wr=class{constructor(){this.counters={}}getCounterValue(A){let e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){return this.counters[A]||[]}pop(A){A.forEach(A=>this.counters[A].pop())}parse(A){let e=A.counterIncrement,t=A.counterReset,s=!0;null!==e&&e.forEach(A=>{let e=this.counters[A.counter];e&&0!==A.increment&&(s=!1,e.length||e.push(1),e[Math.max(0,e.length-1)]+=A.increment)});let r=[];return s&&t.forEach(A=>{let e=this.counters[A.counter];r.push(A.counter),e||(e=this.counters[A.counter]=[]),e.push(A.reset)}),r}},Jr={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"]},zr={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:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},_r={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:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},jr={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:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Zr=(A,e,t,s,r,i)=>A<e||A>t?oi(A,r,i.length>0):s.integers.reduce((e,t,r)=>{for(;A>=t;)A-=t,e+=s.values[r];return e},"")+i,qr=(A,e,t,s)=>{let r="";do{t||A--,r=s(A)+r,A/=e}while(A*e>=e);return r},Ai=(A,e,t,s,r)=>{let i=t-e+1;return(A<0?"-":"")+(qr(Math.abs(A),i,s,A=>jA(Math.floor(A%i)+e))+r)},ei=(A,e,t=". ")=>{let s=e.length;return qr(Math.abs(A),s,!1,A=>e[Math.floor(A%s)])+t},ti=(A,e,t,s,r,i)=>{if(A<-9999||A>9999)return oi(A,4,r.length>0);let n=Math.abs(A),o=r;if(0===n)return e[0]+o;for(let s=0;n>0&&s<=4;s++){let r=n%10;0===r&&Yr(i,1)&&""!==o?o=e[r]+o:r>1||1===r&&0===s||1===r&&1===s&&Yr(i,2)||1===r&&1===s&&Yr(i,4)&&A>100||1===r&&s>1&&Yr(i,8)?o=e[r]+(s>0?t[s-1]:"")+o:1===r&&s>0&&(o=t[s-1]+o),n=Math.floor(n/10)}return(A<0?s:"")+o},si="\u5341\u767e\u5343\u842c",ri="\u62fe\u4f70\u4edf\u842c",ii="\u30de\u30a4\u30ca\u30b9",ni="\ub9c8\uc774\ub108\uc2a4",oi=(A,e,t)=>{let s=t?". ":"",r=t?"\u3001":"",i=t?", ":"",n=t?" ":"";switch(e){case 0:return"\u2022"+n;case 1:return"\u25e6"+n;case 2:return"\u25fe"+n;case 5:let e=Ai(A,48,57,!0,s);return e.length<4?`0${e}`:e;case 4:return ei(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",r);case 6:return Zr(A,1,3999,Jr,3,s).toLowerCase();case 7:return Zr(A,1,3999,Jr,3,s);case 8:return Ai(A,945,969,!1,s);case 9:return Ai(A,97,122,!1,s);case 10:return Ai(A,65,90,!1,s);case 11:return Ai(A,1632,1641,!0,s);case 12:case 49:return Zr(A,1,9999,zr,3,s);case 35:return Zr(A,1,9999,zr,3,s).toLowerCase();case 13:return Ai(A,2534,2543,!0,s);case 14:case 30:return Ai(A,6112,6121,!0,s);case 15:return ei(A,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",r);case 16:return ei(A,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",r);case 17:case 48:return ti(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",si,"\u8ca0",r,14);case 47:return ti(A,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",ri,"\u8ca0",r,15);case 42:return ti(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",si,"\u8d1f",r,14);case 41:return ti(A,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",ri,"\u8d1f",r,15);case 26:return ti(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",ii,r,0);case 25:return ti(A,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",ii,r,7);case 31:return ti(A,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",ni,i,7);case 33:return ti(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",ni,i,0);case 32:return ti(A,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",ni,i,7);case 18:return Ai(A,2406,2415,!0,s);case 20:return Zr(A,1,19999,jr,3,s);case 21:return Ai(A,2790,2799,!0,s);case 22:return Ai(A,2662,2671,!0,s);case 52:return Zr(A,1,10999,_r,3,s);case 23:return ei(A,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return ei(A,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Ai(A,3302,3311,!0,s);case 28:return ei(A,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",r);case 29:return ei(A,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",r);case 34:return Ai(A,3792,3801,!0,s);case 37:return Ai(A,6160,6169,!0,s);case 38:return Ai(A,4160,4169,!0,s);case 39:return Ai(A,2918,2927,!0,s);case 40:return Ai(A,1776,1785,!0,s);case 43:return Ai(A,3046,3055,!0,s);case 44:return Ai(A,3174,3183,!0,s);case 45:return Ai(A,3664,3673,!0,s);case 46:return Ai(A,3872,3881,!0,s);default:return Ai(A,48,57,!0,s)}},ai={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(A,e)=>e.map(A=>{if(Ot(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2;case"text":return 3}return 0})},li={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ci=(A,e)=>{let t=hr.parse(A,e[0]),s=e[1];return s&&es(s)?{color:t,stop:s}:{color:t,stop:null}},di=(A,e)=>{let t=A[0],s=A[A.length-1];null===t.stop&&(t.stop=as),null===s.stop&&(s.stop=cs);let r=[],i=0;for(let t=0;t<A.length;t++){let s=A[t].stop;if(null!==s){let A=ps(s,e);A>i?r.push(A):r.push(i),i=A}else r.push(null)}let n=null;for(let A=0;A<r.length;A++){let e=r[A];if(null===e)null===n&&(n=A);else if(null!==n){let t=A-n,s=(e-r[n-1])/(t+1);for(let A=1;A<=t;A++)r[n+A-1]=s*A;n=null}}return A.map(({color:A},t)=>({color:A,stop:Math.max(Math.min(1,r[t]/e),0)}))},pi=(A,e,t)=>{let s=e/2,r=t/2,i=ps(A[0],e)-s,n=r-ps(A[1],t);return(Math.atan2(n,i)+2*Math.PI)%(2*Math.PI)},hi=(A,e,t)=>{let s="number"==typeof A?A:pi(A,e,t),r=Math.abs(e*Math.sin(s))+Math.abs(t*Math.cos(s)),i=e/2,n=t/2,o=r/2,a=Math.sin(s-Math.PI/2)*o,l=Math.cos(s-Math.PI/2)*o;return[r,i-l,i+l,n-a,n+a]},ui=(A,e)=>Math.sqrt(A*A+e*e),gi=(A,e,t,s,r)=>[[0,0],[0,e],[A,0],[A,e]].reduce((A,e)=>{let[i,n]=e,o=ui(t-i,s-n);return(r?o<A.optimumDistance:o>A.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner,Bi=(A,e,t,s,r)=>{let i=0,n=0;switch(A.size){case 0:0===A.shape?i=n=Math.min(Math.abs(e),Math.abs(e-s),Math.abs(t),Math.abs(t-r)):1===A.shape&&(i=Math.min(Math.abs(e),Math.abs(e-s)),n=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)i=n=Math.min(ui(e,t),ui(e,t-r),ui(e-s,t),ui(e-s,t-r));else if(1===A.shape){let A=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-s)),[o,a]=gi(s,r,e,t,!0);i=ui(o-e,(a-t)/A),n=A*i}break;case 1:0===A.shape?i=n=Math.max(Math.abs(e),Math.abs(e-s),Math.abs(t),Math.abs(t-r)):1===A.shape&&(i=Math.max(Math.abs(e),Math.abs(e-s)),n=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)i=n=Math.max(ui(e,t),ui(e,t-r),ui(e-s,t),ui(e-s,t-r));else if(1===A.shape){let A=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-s)),[o,a]=gi(s,r,e,t,!1);i=ui(o-e,(a-t)/A),n=A*i}}return Array.isArray(A.size)&&(i=ps(A.size[0],s),n=2===A.size.length?ps(A.size[1],r):i),[i,n]},mi="closest-side",bi="farthest-side",Ci="closest-corner",yi="farthest-corner",Qi="circle",xi="ellipse",Fi="cover",Ui="contain",Ei=(A,e)=>({...wi(A,e),type:3}),ki=A=>1===A.type,Hi=A=>2===A.type,Ii=A=>3===A.type,Si={name:"image",parse:(A,e)=>{if(22===e.type){let t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){let t=Li[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported image function "${e.name}"`);return t(A,e.values)}throw new Error(`Unsupported image type ${e.type}`)}},Li={"linear-gradient":wi=(A,e)=>{let t=fs(180),s=[];return Xt(e).forEach((e,r)=>{if(0===r){let s=e[0];if(20===s.type&&"to"===s.value)return void(t=ws(e));if(Bs(s))return void(t=gs.parse(A,s))}let i=ci(A,e);s.push(i)}),{angle:t,stops:s,type:1}},"-moz-linear-gradient":fi=(A,e)=>{let t=fs(180),s=[];return Xt(e).forEach((e,r)=>{if(0===r){let s=e[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(t=ws(e));if(Bs(s))return void(t=(gs.parse(A,s)+fs(270))%fs(360))}let i=ci(A,e);s.push(i)}),{angle:t,stops:s,type:1}},"-ms-linear-gradient":fi,"-o-linear-gradient":fi,"-webkit-linear-gradient":fi,"radial-gradient":(A,e)=>{let t=0,s=3,r=[],i=[];return Xt(e).forEach((e,n)=>{let o=!0;if(0===n){let A=!1;o=e.reduce((e,r)=>{if(A)if(Ot(r))switch(r.value){case"center":return i.push(ls),e;case"top":case"left":return i.push(as),e;case"right":case"bottom":return i.push(cs),e}else(es(r)||As(r))&&i.push(r);else if(Ot(r))switch(r.value){case Qi:return t=0,!1;case xi:return t=1,!1;case"at":return A=!0,!1;case mi:return s=0,!1;case Fi:case bi:return s=1,!1;case Ui:case Ci:return s=2,!1;case yi:return s=3,!1}else if(As(r)||es(r))return Array.isArray(s)||(s=[]),s.push(r),!1;return e},o)}if(o){let t=ci(A,e);r.push(t)}}),{size:s,shape:t,stops:r,position:i,type:2}},"-moz-radial-gradient":vi=(A,e)=>{let t=0,s=3,r=[],i=[];return Xt(e).forEach((e,n)=>{let o=!0;if(0===n?o=e.reduce((A,e)=>{if(Ot(e))switch(e.value){case"center":return i.push(ls),!1;case"top":case"left":return i.push(as),!1;case"right":case"bottom":return i.push(cs),!1}else if(es(e)||As(e))return i.push(e),!1;return A},o):1===n&&(o=e.reduce((A,e)=>{if(Ot(e))switch(e.value){case Qi:return t=0,!1;case xi:return t=1,!1;case Ui:case mi:return s=0,!1;case bi:return s=1,!1;case Ci:return s=2,!1;case Fi:case yi:return s=3,!1}else if(As(e)||es(e))return Array.isArray(s)||(s=[]),s.push(e),!1;return A},o)),o){let t=ci(A,e);r.push(t)}}),{size:s,shape:t,stops:r,position:i,type:2}},"-ms-radial-gradient":vi,"-o-radial-gradient":vi,"-webkit-radial-gradient":vi,"-webkit-gradient":(A,e)=>{let t=fs(180),s=[],r=1;return Xt(e).forEach((e,t)=>{let i=e[0];if(0===t){if(Ot(i)&&"linear"===i.value)return void(r=1);if(Ot(i)&&"radial"===i.value)return void(r=2)}if(18===i.type)if("from"===i.name){let e=hr.parse(A,i.values[0]);s.push({stop:as,color:e})}else if("to"===i.name){let e=hr.parse(A,i.values[0]);s.push({stop:cs,color:e})}else if("color-stop"===i.name){let e=i.values.filter(Gt);if(2===e.length){let t=hr.parse(A,e[1]),r=e[0];Rt(r)&&s.push({stop:{type:16,number:100*r.number,flags:r.flags},color:t})}}}),1===r?{angle:(t+fs(180))%fs(360),stops:s,type:r}:{size:3,shape:0,stops:s,position:[],type:r}},"repeating-linear-gradient":Ei,"-webkit-repeating-linear-gradient":Ei,"-moz-repeating-linear-gradient":Ei,"-ms-repeating-linear-gradient":Ei,"-o-repeating-linear-gradient":Ei},Mi={name:"background-image",initialValue:"none",type:1,prefix:!1,skipCache:!0,parse:(A,e)=>{if(0===e.length)return[];let t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(A=>Gt(A)&&GA(A)).map(e=>Si.parse(A,e))}},Di={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(A,e)=>e.map(A=>{if(Ot(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Ki={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(A,e)=>Xt(e).map(A=>A.map(is).filter(A=>null!==A)).map(os)},Ti={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(A,e)=>Xt(e).map(A=>A.filter(Ot).map(A=>A.value).join(" ")).map(Ri)},Ri=A=>{switch(A){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}},Oi={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(A,e)=>Xt(e).map(A=>A.map(A=>Pi(A)?A:is(A)).filter(A=>null!==A))},Pi=A=>Ot(A)||es(A),Vi=(Ni=A=>({name:`border-${A}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}))("top"),Gi=Ni("right"),Xi=Ni("bottom"),$i=Ni("left"),Wi=(Yi=A=>({name:`border-${A}-radius`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>os(e.filter(es))}))("top-left"),Ji=Yi("top-right"),zi=Yi("bottom-right"),_i=Yi("bottom-left"),Zi=(ji=A=>({name:`border-${A}-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}}))("top"),qi=ji("right"),An=ji("bottom"),en=ji("left"),sn=(tn=A=>({name:`border-${A}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>Tt(e)?e.number:0}))("top"),rn=tn("right"),nn=tn("bottom"),on=tn("left"),an={type:0},ln=A=>{let[e]=A;return e?Ot(e)?"farthest-side"===e.value?"farthest-side":"closest-side":es(e)?e:"closest-side":"closest-side"},cn=A=>{let e=null,t=null;for(let s of A)if(Ot(s))switch(s.value){case"left":e=as;break;case"right":e=cs;break;case"top":t=as;break;case"bottom":t=cs;break;case"center":null===e?e=ls:null===t&&(t=ls)}else es(s)&&(null===e?e=s:null===t&&(t=s));return{cx:e??ls,cy:t??ls}},dn=A=>{let e=[];for(let t of A)if(31!==t.type){if(Ot(t)&&"round"===t.value)break;es(t)&&e.push(t)}let t=e[0]??as,s=e[1]??t;return{type:1,top:t,right:s,bottom:e[2]??t,left:e[3]??s}},pn=A=>{let e=A.filter(Vt),t=e.findIndex(A=>Nt(A,"at")),s=-1===t?e:e.slice(0,t),r=-1===t?[]:e.slice(t+1);return{type:2,radius:ln(s),...cn(r)}},hn=A=>{let e=A.filter(Vt),t=e.findIndex(A=>Nt(A,"at")),s=-1===t?e:e.slice(0,t),r=-1===t?[]:e.slice(t+1);return{type:3,rx:ln(s.slice(0,1)),ry:ln(s.slice(1,2)),...cn(r)}},un=A=>{let e=Xt(A),t=[];for(let A of e){if(1===A.length&&Ot(A[0]))continue;let e=A.filter(es);e.length>=2&&t.push([e[0],e[1]])}return{type:4,points:t}},gn=A=>{let e=A.find(A=>0===A.type);return e?{type:5,d:e.value}:an},Bn={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(A,e)=>{if(Ot(e)&&"none"===e.value)return an;if(18===e.type)switch(e.name){case"inset":return dn(e.values);case"circle":return pn(e.values);case"ellipse":return hn(e.values);case"polygon":return un(e.values);case"path":return gn(e.values)}return an}},wn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(A,e)=>"rtl"===e?1:0},mn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(A,e)=>e.filter(Ot).reduce((A,e)=>A|bn(e.value),0)},bn=A=>{switch(A){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},Cn={name:"float",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},yn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(A,e)=>20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0},Qn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>"strict"===e?"strict":"normal"},xn={name:"line-height",initialValue:"normal",prefix:!1,type:4},Fn=(A,e)=>Ot(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:es(A)?ps(A,e):e,Un={name:"list-style-image",initialValue:"none",type:0,prefix:!1,skipCache:!0,parse:(A,e)=>20===e.type&&"none"===e.value?null:Si.parse(A,e)},vn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(A,e)=>"inside"===e?0:1},kn=(En=A=>({name:`margin-${A}`,initialValue:"0",prefix:!1,type:4}))("top"),Hn=En("right"),In=En("bottom"),Sn=En("left"),Ln={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(A,e)=>e.filter(Ot).map(A=>{switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Mn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>"break-word"===e?"break-word":"normal"},Kn=(Dn=A=>({name:`padding-${A}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}))("top"),Tn=Dn("right"),Rn=Dn("bottom"),On=Dn("left"),Pn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Nn={name:"position",initialValue:"static",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Vn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>1===e.length&&Nt(e[0],"none")?[]:Xt(e).map(e=>{let t={color:yr.TRANSPARENT,offsetX:as,offsetY:as,blur:as},s=0;for(let r=0;r<e.length;r++){let i=e[r];As(i)?(0===s?t.offsetX=i:1===s?t.offsetY=i:t.blur=i,s++):t.color=hr.parse(A,i)}return t})},Gn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Xn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(A,e)=>{if(20===e.type&&"none"===e.value)return null;if(18===e.type){let t=$n[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported transform function "${e.name}"`);return t(A,e.values)}return null}},$n={matrix:(A,e)=>{let t=e.filter(A=>17===A.type).map(A=>A.number);return 6===t.length?t:null},matrix3d:(A,e)=>{let t=e.filter(A=>17===A.type).map(A=>A.number),[s,r,{},{},i,n,{},{},{},{},{},{},o,a,{},{}]=t;return 16===t.length?[s,r,i,n,o,a]:null},rotate:(A,e)=>{if(1!==e.length)return null;let t=e[0],s=0;if(17===t.type&&0===t.number)s=0;else{if(15!==t.type)return null;s=gs.parse(A,t)}let r=Math.cos(s),i=Math.sin(s);return[r,i,-i,r,0,0]}},Wn=[Yn={type:16,number:50,flags:4},Yn],Jn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(A,e)=>{let t=e.filter(es);return 2!==t.length?Wn:[t[0],t[1]]}},zn={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(A,e)=>20===e.type&&"none"===e.value?null:17===e.type&&0===e.number?0:15===e.type?180*gs.parse(A,e)/Math.PI:null},_n={name:"visibility",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},jn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"break-all":return"break-all";case"keep-all":return"keep-all";default:return"normal"}}},Zn={name:"white-space",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"pre":return"pre";case"nowrap":return"nowrap";case"pre-wrap":return"pre-wrap";case"pre-line":return"pre-line";default:return"normal"}}},qn=A=>0!==A,Ao=A=>3===A||4===A,eo={name:"writing-mode",initialValue:"horizontal-tb",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"vertical-rl":return 1;case"vertical-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4;default:return 0}}},to={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>{if(20===e.type)return{auto:!0,order:0};if(Rt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},so={name:"time",parse:(A,e)=>{if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},ro={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(A,e)=>Rt(e)?e.number:1},io={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},no={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(A,e)=>e.filter(Ot).map(A=>{switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(A=>0!==A)},oo={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},ao={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>{if(Ot(e))switch(e.value){case"auto":return"auto";case"from-font":return"from-font"}return Tt(e)?e.number:"auto"}},lo={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>Ot(e)&&"auto"===e.value?"auto":Tt(e)?e.number:"auto"},co={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=[],r=[],i=!1;return e.forEach(A=>{switch(A.type){case 20:t.push(A.value);break;case 0:i=!0,t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:s.push(t.join(" ")),r.push(i),i=!1,t.length=0}}),t.length&&(s.push(t.join(" ")),r.push(i)),s.map((A,e)=>r[e]||-1!==A.indexOf(" ")?`'${A.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/\n/g,"\\a ").replace(/\r/g,"\\d ").replace(/\f/g,"\\c ")}'`:A)}},po={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ho={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(A,e)=>Rt(e)?e.number:Ot(e)&&"bold"===e.value?700:400},uo={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>e.filter(Ot).map(A=>A.value)},go={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},Bo={name:"content",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>{if(0===e.length)return[];let t=e[0];return 20===t.type&&"none"===t.value?[]:e}},wo=(A,e)=>{let t=[],s=A.filter(Vt);for(let A=0;A<s.length;A++){let r=s[A],i=s[A+1];if(20===r.type){let A=i&&Rt(i)?i.number:e;t.push([r.value,A])}}return t},fo={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>{if(0===e.length)return null;let t=e[0];return 20===t.type&&"none"===t.value?null:wo(e,1).map(([A,e])=>({counter:A,increment:e}))}},mo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>0===e.length?[]:wo(e,0).filter(([A])=>"none"!==A).map(([A,e])=>({counter:A,reset:e}))},bo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(A,e)=>e.filter(Tt).map(e=>so.parse(A,e))},Co={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>{if(0===e.length)return null;let t=e[0];if(20===t.type&&"none"===t.value)return null;let s=[],r=e.filter(Pt);if(r.length%2!=0)return null;for(let A=0;A<r.length;A+=2){let e=r[A].value,t=r[A+1].value;s.push({open:e,close:t})}return s}},yo=(A,e,t)=>{if(!A)return"";let s=A[Math.min(e,A.length-1)];return s?t?s.open:s.close:""},Qo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>1===e.length&&Nt(e[0],"none")?[]:Xt(e).map(e=>{let t={color:255,offsetX:as,offsetY:as,blur:as,spread:as,inset:!1},s=0;for(let r=0;r<e.length;r++){let i=e[r];Nt(i,"inset")?t.inset=!0:As(i)?(0===s?t.offsetX=i:1===s?t.offsetY=i:2===s?t.blur=i:t.spread=i,s++):t.color=hr.parse(A,i)}return t})},xo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(A,e)=>{let t=[];return e.filter(Ot).forEach(A=>{switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(A=>{-1===t.indexOf(A)&&t.push(A)}),t}},Fo={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Uo={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(A,e)=>Tt(e)?e.number:0},vo={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(A,e)=>20===e.type&&"none"===e.value?0:17===e.type?Math.max(0,Math.floor(e.number)):0},Eo={name:"object-fit",initialValue:"fill",prefix:!1,type:1,parse:(A,e)=>e.filter(Ot).reduce((A,e)=>A|ko(e.value),0)},ko=A=>{switch(A){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Ho={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(A,e)=>"ellipsis"===e?1:0},Io={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(A,e)=>{switch(e.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return 1;case"pixelated":case"-webkit-optimize-contrast":return 2;case"smooth":case"high-quality":return 3;default:return 0}}},So={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"},Lo=new Set(Object.values(So)),Mo={name:"mix-blend-mode",initialValue:"normal",type:2,prefix:!1,parse:(A,e)=>Lo.has(e)?e:So.NORMAL},Do={name:"filter",initialValue:"none",prefix:!1,type:1,parse:(A,e)=>{if(1===e.length&&20===e[0].type&&"none"===e[0].value)return null;let t=[];for(let A of e)if(18===A.type){let e=A,s=Ko(e.values);switch(e.name){case"blur":t.push(`blur(${s}px)`);break;case"brightness":case"contrast":case"invert":case"opacity":case"saturate":case"sepia":t.push(`${e.name}(${s})`);break;case"grayscale":t.push(`grayscale(${s})`);break;case"hue-rotate":t.push(`hue-rotate(${s}deg)`);break;case"drop-shadow":t.push(`drop-shadow(${s})`)}}return t.length>0?t.join(" "):null}},Ko=A=>{let e=[];for(let t of A)31!==t.type&&(15===t.type?e.push(`${t.number}${t.unit}`):17===t.type?e.push(`${t.number}`):16===t.type?e.push(`${t.number}%`):20===t.type?e.push(t.value):5===t.type&&e.push(`#${t.value}`));return e.join(" ")},To={name:"font-variant-ligatures",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 1;case"common-ligatures":return 2;case"no-common-ligatures":return 3;case"discretionary-ligatures":return 4;case"no-discretionary-ligatures":return 5;case"historical-ligatures":return 6;case"no-historical-ligatures":return 7;case"contextual":return 8;case"no-contextual":return 9;default:return 0}}},Ro={name:"zoom",initialValue:"1",type:0,prefix:!1,parse:(A,e)=>16===e.type?Math.max(0,e.number/100):17===e.type?Math.max(0,e.number):1},Oo={name:"object-position",initialValue:"50% 50%",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=0;for(;s<e.length&&t.length<2;){let A=e[s];if(Ot(A))switch(A.value){case"left":case"top":t.push(as);break;case"center":t.push(ls);break;case"right":case"bottom":t.push(cs)}else es(A)&&t.push(A);s++}for(;t.length<2;)t.push(ls);return[t[0],t[1]]}},Po=new Set(Object.values({NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"})),No={name:"background-blend-mode",initialValue:"normal",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=e.filter(Gt);for(let A of s)Ot(A)&&Po.has(A.value)&&t.push(A.value);return t.length>0?t:["normal"]}},Vo={name:"border-image-source",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:(A,e)=>{if(0===e.length)return null;let t=e.filter(A=>Gt(A)&&GA(A));return 0===t.length?null:Si.parse(A,t[0])}},Go=A=>{let e=[...A];return 1===e.length?e.push(e[0],e[0],e[0]):2===e.length?e.push(e[0],e[1]):3===e.length&&e.push(e[1]),e.slice(0,4)},Xo={name:"border-image-slice",initialValue:"100%",prefix:!1,type:1,parse:(A,e)=>{let t=e.filter(Vt),s=[],r=!1,i="percent";for(let A of t)Ot(A)&&"fill"===A.value?r=!0:17===A.type?(s.push(A.number),i="number"):16===A.type&&(s.push(A.number),i="percent");let[n,o,a,l]=Go(s.length>0?s:[100]);return{top:n,right:o,bottom:a,left:l,fill:r,unit:i}}},$o=A=>{switch(A){case"repeat":return 1;case"round":return 2;case"space":return 3;default:return 0}},Yo={name:"border-image-repeat",initialValue:"stretch",prefix:!1,type:1,parse:(A,e)=>{let t=e.filter(Vt),s=[];for(let A of t)Ot(A)&&s.push($o(A.value));let r=s[0]??0;return{horizontal:r,vertical:s[1]??r}}},Wo={name:"box-decoration-break",initialValue:"slice",prefix:!1,type:2,parse:(A,e)=>"clone"===e?1:0},Jo=class{constructor(A){this.styles=A}get topColor(){return this.styles.borderTopColor}get rightColor(){return this.styles.borderRightColor}get bottomColor(){return this.styles.borderBottomColor}get leftColor(){return this.styles.borderLeftColor}get topStyle(){return this.styles.borderTopStyle}get rightStyle(){return this.styles.borderRightStyle}get bottomStyle(){return this.styles.borderBottomStyle}get leftStyle(){return this.styles.borderLeftStyle}get topWidth(){return this.styles.borderTopWidth}get rightWidth(){return this.styles.borderRightWidth}get bottomWidth(){return this.styles.borderBottomWidth}get leftWidth(){return this.styles.borderLeftWidth}get topLeftRadius(){return this.styles.borderTopLeftRadius}get topRightRadius(){return this.styles.borderTopRightRadius}get bottomRightRadius(){return this.styles.borderBottomRightRadius}get bottomLeftRadius(){return this.styles.borderBottomLeftRadius}get imageSource(){return this.styles.borderImageSource}get imageSlice(){return this.styles.borderImageSlice}get imageRepeat(){return this.styles.borderImageRepeat}get boxShadow(){return this.styles.boxShadow}},zo=class{constructor(A){this.styles=A}get color(){return this.styles.backgroundColor}get image(){return this.styles.backgroundImage}get clip(){return this.styles.backgroundClip}get origin(){return this.styles.backgroundOrigin}get position(){return this.styles.backgroundPosition}get repeat(){return this.styles.backgroundRepeat}get size(){return this.styles.backgroundSize}get blendMode(){return this.styles.backgroundBlendMode}},_o=class{constructor(A){this.styles=A}get family(){return this.styles.fontFamily}get size(){return this.styles.fontSize}get style(){return this.styles.fontStyle}get variant(){return this.styles.fontVariant}get weight(){return this.styles.fontWeight}get ligatures(){return this.styles.fontVariantLigatures}get color(){return this.styles.color}get letterSpacing(){return this.styles.letterSpacing}get lineHeight(){return this.styles.lineHeight}get textAlign(){return this.styles.textAlign}get textTransform(){return this.styles.textTransform}get textOverflow(){return this.styles.textOverflow}get textShadow(){return this.styles.textShadow}get textDecorationColor(){return this.styles.textDecorationColor}get textDecorationLine(){return this.styles.textDecorationLine}get textDecorationStyle(){return this.styles.textDecorationStyle}get textDecorationThickness(){return this.styles.textDecorationThickness}get textUnderlineOffset(){return this.styles.textUnderlineOffset}get wordBreak(){return this.styles.wordBreak}get lineBreak(){return this.styles.lineBreak}get overflowWrap(){return this.styles.overflowWrap}get writingMode(){return this.styles.writingMode}get direction(){return this.styles.direction}get webkitTextStrokeColor(){return this.styles.webkitTextStrokeColor}get webkitTextStrokeWidth(){return this.styles.webkitTextStrokeWidth}get webkitLineClamp(){return this.styles.webkitLineClamp}get paintOrder(){return this.styles.paintOrder}},jo=class{constructor(A){this.styles=A}get display(){return this.styles.display}get position(){return this.styles.position}get float(){return this.styles.float}get zIndex(){return this.styles.zIndex}get marginTop(){return this.styles.marginTop}get marginRight(){return this.styles.marginRight}get marginBottom(){return this.styles.marginBottom}get marginLeft(){return this.styles.marginLeft}get paddingTop(){return this.styles.paddingTop}get paddingRight(){return this.styles.paddingRight}get paddingBottom(){return this.styles.paddingBottom}get paddingLeft(){return this.styles.paddingLeft}get overflowX(){return this.styles.overflowX}get overflowY(){return this.styles.overflowY}get opacity(){return this.styles.opacity}get visibility(){return this.styles.visibility}get transform(){return this.styles.transform}get transformOrigin(){return this.styles.transformOrigin}get rotate(){return this.styles.rotate}get zoom(){return this.styles.zoom}get clipPath(){return this.styles.clipPath}get mixBlendMode(){return this.styles.mixBlendMode}get filter(){return this.styles.filter}get imageRendering(){return this.styles.imageRendering}get objectFit(){return this.styles.objectFit}get objectPosition(){return this.styles.objectPosition}get boxDecorationBreak(){return this.styles.boxDecorationBreak}get listStyleImage(){return this.styles.listStyleImage}get listStylePosition(){return this.styles.listStylePosition}get listStyleType(){return this.styles.listStyleType}get animationDuration(){return this.styles.animationDuration}isVisible(){return this.styles.isVisible()}isTransparent(){return this.styles.isTransparent()}isTransformed(){return this.styles.isTransformed()}isPositioned(){return this.styles.isPositioned()}isPositionedWithZIndex(){return this.styles.isPositionedWithZIndex()}isFloating(){return this.styles.isFloating()}isInlineLevel(){return this.styles.isInlineLevel()}},Zo=class A{get border(){return this._border??(this._border=new Jo(this))}get background(){return this._background??(this._background=new zo(this))}get font(){return this._font??(this._font=new _o(this))}get layout(){return this._layout??(this._layout=new jo(this))}static{this.standardProps=[["animationDuration",bo,"animationDuration"],["backgroundClip",ai,"backgroundClip"],["backgroundColor",li,"backgroundColor"],["backgroundImage",Mi,"backgroundImage"],["backgroundOrigin",Di,"backgroundOrigin"],["backgroundPosition",Ki,"backgroundPosition"],["backgroundRepeat",Ti,"backgroundRepeat"],["backgroundSize",Oi,"backgroundSize"],["borderTopColor",Vi,"borderTopColor"],["borderRightColor",Gi,"borderRightColor"],["borderBottomColor",Xi,"borderBottomColor"],["borderLeftColor",$i,"borderLeftColor"],["borderTopLeftRadius",Wi,"borderTopLeftRadius"],["borderTopRightRadius",Ji,"borderTopRightRadius"],["borderBottomRightRadius",zi,"borderBottomRightRadius"],["borderBottomLeftRadius",_i,"borderBottomLeftRadius"],["borderTopStyle",Zi,"borderTopStyle"],["borderRightStyle",qi,"borderRightStyle"],["borderBottomStyle",An,"borderBottomStyle"],["borderLeftStyle",en,"borderLeftStyle"],["borderTopWidth",sn,"borderTopWidth"],["borderRightWidth",rn,"borderRightWidth"],["borderBottomWidth",nn,"borderBottomWidth"],["borderLeftWidth",on,"borderLeftWidth"],["boxShadow",Qo,"boxShadow"],["clipPath",Bn,"clipPath"],["color",wn,"color"],["direction",fn,"direction"],["display",mn,"display"],["fontFamily",co,"fontFamily"],["fontSize",po,"fontSize"],["fontStyle",go,"fontStyle"],["fontVariant",uo,"fontVariant"],["fontWeight",ho,"fontWeight"],["letterSpacing",yn,"letterSpacing"],["lineBreak",Qn,"lineBreak"],["lineHeight",xn,"lineHeight"],["listStyleImage",Un,"listStyleImage"],["listStylePosition",vn,"listStylePosition"],["listStyleType",$r,"listStyleType"],["marginTop",kn,"marginTop"],["marginRight",Hn,"marginRight"],["marginBottom",In,"marginBottom"],["marginLeft",Sn,"marginLeft"],["opacity",ro,"opacity"],["overflowWrap",Mn,"overflowWrap"],["paddingTop",Kn,"paddingTop"],["paddingRight",Tn,"paddingRight"],["paddingBottom",Rn,"paddingBottom"],["paddingLeft",On,"paddingLeft"],["paintOrder",xo,"paintOrder"],["position",Nn,"position"],["textAlign",Pn,"textAlign"],["textDecorationStyle",oo,"textDecorationStyle"],["textDecorationThickness",ao,"textDecorationThickness"],["textUnderlineOffset",lo,"textUnderlineOffset"],["textShadow",Vn,"textShadow"],["textTransform",Gn,"textTransform"],["textOverflow",Ho,"textOverflow"],["transform",Xn,"transform"],["transformOrigin",Jn,"transformOrigin"],["rotate",zn,"rotate"],["visibility",_n,"visibility"],["webkitTextStrokeColor",Fo,"webkitTextStrokeColor"],["webkitTextStrokeWidth",Uo,"webkitTextStrokeWidth"],["webkitLineClamp",vo,"webkitLineClamp"],["wordBreak",jn,"wordBreak"],["whiteSpace",Zn,"whiteSpace"],["writingMode",eo,"writingMode"],["zIndex",to,"zIndex"],["objectFit",Eo,"objectFit"],["imageRendering",Io,"imageRendering"],["mixBlendMode",Mo,"mixBlendMode"],["filter",Do,"filter"],["fontVariantLigatures",To,"fontVariantLigatures"],["zoom",Ro,"zoom"],["objectPosition",Oo,"objectPosition"],["backgroundBlendMode",No,"backgroundBlendMode"],["borderImageSource",Vo,"borderImageSource"],["borderImageSlice",Xo,"borderImageSlice"],["borderImageRepeat",Yo,"borderImageRepeat"],["boxDecorationBreak",Wo,"boxDecorationBreak"]]}constructor(e,t){let s=A.standardProps;if("none"===t.display){this.display=0;for(let[A,t]of s)"display"!==A&&(this[A]=ta(e,t,void 0));this.float=ta(e,Cn,void 0),this.textDecorationColor=ta(e,io,void 0),this.textDecorationLine=ta(e,no,void 0);let A=ta(e,Ln,void 0);return this.overflowX=A[0],void(this.overflowY=A[A.length>1?1:0])}for(let[A,r,i]of s)this[A]=ta(e,r,t[i]);this.float=ta(e,Cn,t.cssFloat),this.textDecorationColor=ta(e,io,t.textDecorationColor??t.color),this.textDecorationLine=ta(e,no,t.textDecorationLine??t.textDecoration);let r=ta(e,Ln,t.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0]}isVisible(){return this.display>0&&this.opacity>0&&0===this.visibility}isTransparent(){return ms(this.backgroundColor)}isTransformed(){return null!==this.transform||null!==this.rotate}isPositioned(){return 0!==this.position}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return 0!==this.float}isInlineLevel(){return Yr(this.display,4)||Yr(this.display,33554432)||Yr(this.display,268435456)||Yr(this.display,536870912)||Yr(this.display,67108864)||Yr(this.display,134217728)}},qo=class{constructor(A,e){this.content=ta(A,Bo,e.content),this.quotes=ta(A,Co,e.quotes)}},Aa=class{constructor(A,e){this.counterIncrement=ta(A,fo,e.counterIncrement),this.counterReset=ta(A,mo,e.counterReset)}},ea=new Map,ta=(A,e,t)=>{let s=null!==t&&typeof t<"u"?t.toString():e.initialValue;""===s.trim()&&(s=e.initialValue);let r=ea.get(e);if(r){let A=r.get(s);if(void 0!==A)return r.delete(s),r.set(s,A),A}let i=Dt.get();i.write(s);let n=new Kt(i.read());Dt.release(i);let o=(()=>{switch(e.type){case 2:{let t=n.parseComponentValue();return e.parse(A,Ot(t)?t.value:e.initialValue)}case 0:return e.parse(A,n.parseComponentValue());case 1:return e.parse(A,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(e.format){case"angle":return gs.parse(A,n.parseComponentValue());case"color":return hr.parse(A,n.parseComponentValue());case"image":return Si.parse(A,n.parseComponentValue());case"length":{let A=n.parseComponentValue();return As(A)?A:as}case"length-percentage":{let A=n.parseComponentValue();return es(A)?A:as}case"time":return so.parse(A,n.parseComponentValue())}}})();if(r||(r=new Map,ea.set(e,r)),!(e.skipCache||3===e.type&&"image"===e.format)){if(r.size>=200){let A=r.keys().next().value;r.delete(A)}r.set(s,o)}return o},sa=A=>{if("function"!=typeof A.getAttribute)return 0;switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ra=(A,e)=>{let t=sa(A);return 1===t||e===t},ia=class{constructor(A,e,t){this.cloneNodeFn=A,this.options=e,this.context=t}appendChildNode(A,e,t){this.safeAppendClonedChild(A,e,t)}cloneChildNodes(A,e,t){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,t),this.cloneLightDOMChildren(A,e,t)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,t):this.cloneLightDOMChildren(A,e,t)}shouldCloneChild(A){return!(Qr(A)&&(Kr(A)||A.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(A)))}shouldCloneStyleElement(A){return!this.options.copyStyles||!Qr(A)||!Dr(A)}safeAppendClonedChild(A,e,t){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNodeFn(e,t))}cloneAssignedNodes(A,e,t){A.forEach(A=>{this.safeAppendClonedChild(e,A,t)})}cloneSlotFallbackContent(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,t)}cloneSlotElement(A,e,t){if(!Or(A))return;let s=A;if("function"!=typeof s.assignedNodes)return this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),void this.cloneSlotFallbackContent(A,e,t);let r=s.assignedNodes();if(!r||!Array.isArray(r))return this.context.logger.warn("assignedNodes() did not return a valid array",A),void this.cloneSlotFallbackContent(A,e,t);r.length>0?this.cloneAssignedNodes(r,e,t):this.cloneSlotFallbackContent(A,e,t)}cloneShadowDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)Qr(s)&&Or(s)?this.cloneSlotElement(s,e,t):this.safeAppendClonedChild(e,s,t)}cloneLightDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t)}cloneSlotElementAsLightDOM(A,e,t){if(!Or(A))return;let s=A;if("function"!=typeof s.assignedNodes){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t);return}let r=s.assignedNodes();if(r&&Array.isArray(r)&&r.length>0)r.forEach(A=>this.appendChildNode(e,A,t));else for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t)}cloneShadowDOMAsLightDOM(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)Qr(s)&&Or(s)?this.cloneSlotElementAsLightDOM(s,e,t):this.appendChildNode(e,s,t)}},na=A=>{let e=A;for(;e;){if(e.parentNode&&e.parentNode.host)return e.parentNode;let A=e.getRootNode();if(A&&A!==e.ownerDocument&&A.host)return A;e=e.parentNode}return null},oa=class{constructor(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Wr,this.quoteDepth=0,this.slotCloner=new ia((A,e)=>this.cloneNode(A,e),{ignoreElements:t.ignoreElements,copyStyles:t.copyStyles??!0},A),!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){let A=na(e);A&&(this.options.iframeContainer=A)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){let t=aa(A,e,this.options.iframeContainer);if(!t.contentWindow)throw new Error("Unable to find iframe window");let s=A.defaultView.pageXOffset,r=A.defaultView.pageYOffset,i=t.contentWindow,n=i.document,o=da(t).then(async()=>{this.scrolledElements.forEach(Ba),i&&i.scrollTo(e.left,e.top);let A=this.options.onclone,s=this.clonedReferenceElement;if(typeof s>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return n.fonts&&n.fonts.ready&&await n.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await ca(n),"function"==typeof A&&await Promise.resolve().then(()=>A(n,s)),i.scrollTo(e.left,e.top),/AppleWebKit/g.test(navigator.userAgent)&&(i.scrollY!==e.top||i.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-e.left,i.scrollY-e.top,0,0)),t}),a=A.baseURI;n.open();let l=ua(document.doctype)+"<html></html>";try{let A=this.referenceElement.ownerDocument?.defaultView,e=A&&A.trustedTypes,t=e?.getPolicy?.("html2canvas-pro");!t&&e&&(t=e.createPolicy("html2canvas-pro",{createHTML:A=>A}));let s=t?t.createHTML(l):l;n.write(s)}catch{n.write(l)}ga(this.referenceElement.ownerDocument,s,r),n.close();let c=n.adoptNode(this.documentElement);return ya(c,a),n.replaceChild(c,n.documentElement),o}createElementClone(A){if(ra(A,2),Ir(A))return this.createCanvasClone(A);if(Sr(A))return this.createVideoClone(A);if(Dr(A))return this.createStyleClone(A);let e=A.cloneNode(!1);return Lr(e)&&(Lr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Vr(e)&&!Fr(e)?this.createCustomElementClone(A,e):e}createCustomElementClone(A,e){let t=document.createElement("div");t.className=e.className,ha(e.style,t);let s=e.attributes;for(let A=0;A<s.length;A++){let e=s[A];"class"!==e.name&&"style"!==e.name&&t.setAttribute(e.name,e.value)}if(A.shadowRoot)try{t.attachShadow({mode:"open"})}catch(A){this.context.logger.error("Failed to attach shadow root to custom element clone:",A)}return t}createStyleClone(A){try{let e=A.sheet;if(e&&e.cssRules){let t=[].slice.call(e.cssRules,0).reduce((A,e)=>e&&"string"==typeof e.cssText?A+e.cssText:A,""),s=A.cloneNode(!1);return s.textContent=t,this.options.cspNonce&&(s.nonce=this.options.cspNonce),s}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}let e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){let e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}let e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;let t=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&t)s.putImageData(t.getImageData(0,0,A.width,A.height),0,0);else{let e=A.getContext("webgl2")??A.getContext("webgl");e&&!1===e.getContextAttributes()?.preserveDrawingBuffer&&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){let e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;let t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}let s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,t){this.slotCloner.appendChildNode(A,e,t)}cloneChildNodes(A,e,t){this.slotCloner.cloneChildNodes(A,e,t)}cloneNode(A,e){if(xr(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);let t=A.ownerDocument.defaultView;if(t&&Qr(A)&&(Ur(A)||Fr(A))){let s=this.createElementClone(A);s.style.transitionProperty="none";let r=t.getComputedStyle(A),i=Xr(A);this.referenceElement===A&&Ur(s)&&(this.clonedReferenceElement=s),Hr(s)&&ba(s,this.options.cspNonce);let n=this.counters.parse(new Aa(this.context,r));if(i){let e=t.getComputedStyle(A,":before"),r=this.resolvePseudoContent(A,s,e,0);r&&s.insertBefore(r,s.firstChild);let i=t.getComputedStyle(A,":after"),n=this.resolvePseudoContent(A,s,i,1);n&&s.appendChild(n)}return Vr(A)&&(e=!0),Sr(A)||this.cloneChildNodes(A,s,e),this.counters.pop(n),(r&&(this.options.copyStyles||Fr(A))&&!Mr(A)||e)&&ha(r,s),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(Tr(A)||Rr(A))&&(Tr(s)||Rr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,t,s){if(!t)return;let r=t.content,i=e.ownerDocument;if(!i||!r||"none"===r||"-moz-alt-content"===r||"none"===t.display)return;this.counters.parse(new Aa(this.context,t));let n=new qo(this.context,t),o=i.createElement("html2canvaspseudoelement");ha(t,o),n.content.forEach(e=>{if(0===e.type)o.appendChild(i.createTextNode(e.value));else if(22===e.type){let A=i.createElement("img");A.src=e.value,A.style.opacity="1",o.appendChild(A)}else if(18===e.type){if("attr"===e.name){let t=e.values.filter(Ot);t.length&&o.appendChild(i.createTextNode(A.getAttribute(t[0].value)||""))}else if("counter"===e.name){let[A,t]=e.values.filter(Gt);if(A&&Ot(A)){let e=this.counters.getCounterValue(A.value),s=t&&Ot(t)?$r.parse(this.context,t.value):3;o.appendChild(i.createTextNode(oi(e,s,!1)))}}else if("counters"===e.name){let[A,t,s]=e.values.filter(Gt);if(A&&Ot(A)){let e=this.counters.getCounterValues(A.value),r=s&&Ot(s)?$r.parse(this.context,s.value):3,n=t&&0===t.type?t.value:"",a=e.map(A=>oi(A,r,!1)).join(n);o.appendChild(i.createTextNode(a))}}}else if(20===e.type)switch(e.value){case"open-quote":o.appendChild(i.createTextNode(yo(n.quotes,this.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(yo(n.quotes,--this.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(e.value))}}),o.className=`${wa} ${fa}`;let a=0===s?` ${wa}`:` ${fa}`;return Fr(e)?e.className.baseValue+=a:e.className+=a,o}static destroy(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)}},aa=(A,e,t)=>{let s=A.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=e.width.toString(),s.height=e.height.toString(),s.scrolling="no",s.setAttribute("data-html2canvas-ignore","true"),(t||A.body).appendChild(s),s},la=A=>new Promise(e=>{A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}),ca=A=>Promise.all([].slice.call(A.images,0).map(la)),da=A=>new Promise((e,t)=>{let s=A.contentWindow;if(!s)return t("No window assigned for iframe");let r=s.document;s.onload=A.onload=()=>{s.onload=A.onload=null;let t=0,i=setInterval(()=>{t++,(r.body.childNodes.length>0&&"complete"===r.readyState||t>=600)&&(clearInterval(i),e(A))},50)}}),pa=["all","d","content"],ha=(A,e)=>{let t=[];for(let e=A.length-1;e>=0;e--){let s=A.item(e);if(-1===pa.indexOf(s)&&!s.startsWith("--")){let e=A.getPropertyValue(s);if(e){let r=A.getPropertyPriority(s);t.push(r?`${s}:${e} !${r}`:`${s}:${e}`)}}}return t.length>0&&(e.style.cssText=t.join(";")+";"),e},ua=A=>{let e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=" "+A.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),A.publicId?(e+=' PUBLIC "'+A.publicId.replace(/"/g,"&quot;")+'"',A.systemId&&(e+=' "'+A.systemId.replace(/"/g,"&quot;")+'"')):A.systemId&&(e+=' SYSTEM "'+A.systemId.replace(/"/g,"&quot;")+'"'),e+=">"),e},ga=(A,e,t)=>{A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Ba=([A,e,t])=>{A.scrollLeft=e,A.scrollTop=t},wa="___html2canvas___pseudoelement_before",fa="___html2canvas___pseudoelement_after",ma='{\n content: "" !important;\n display: none !important;\n}',ba=(A,e)=>{Ca(A,`.${wa}:before${ma}\n .${fa}:after${ma}`,e)},Ca=(A,e,t)=>{let s=A.ownerDocument;if(s){let r=s.createElement("style");r.textContent=e,t&&(r.nonce=t),A.appendChild(r)}},ya=(A,e)=>{let t=A.ownerDocument.createElement("base");t.href=e;let s=A.getElementsByTagName("head").item(0);s?.insertBefore(t,s?.firstChild??null)},Qa=class{static normalizeElement(A,e){let t={};return Ur(A)&&(e.animationDuration.some(A=>A>0)&&(t.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),null!==e.transform&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"),null!==e.rotate&&(t.rotate=A.style.rotate,A.style.rotate="0deg",void 0===t.transform&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"))),t}static restoreElement(A,e){Ur(A)&&(void 0!==e.animationDuration&&(A.style.animationDuration=e.animationDuration),void 0!==e.transform&&(A.style.transform=e.transform),void 0!==e.rotate&&(A.style.rotate=e.rotate))}},xa=class{constructor(A,e,t={}){if(this.context=A,this.textNodes=[],this.elements=[],this.createsStackingContext=!1,this.createsRealStackingContext=!1,this.isListOwner=!1,this.debugRender=!1,ra(e,3),this.styles=new Zo(A,A.config.window.getComputedStyle(e,null)),!1!==t.normalizeDom&&Ur(e)&&(this.originalStyles=Qa.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=JA(this.context,e),"FIELDSET"===e.tagName){let A=e.querySelector(":scope > legend");if(A){let e=JA(this.context,A);this.legendBounds=e;let t=e.top+e.height/2-this.styles.borderTopWidth/2;this.bounds=new WA(this.bounds.left,t,this.bounds.width,this.bounds.height-(t-this.bounds.top))}}ra(e,4)&&(this.debugRender=!0)}restore(){this.originalStyles&&this.originalElement&&(Qa.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(let A of this.elements)A.restoreTree()}},Fa=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ua=0;Ua<64;Ua++)Fa["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Ua)]=Ua;for(va=function(A){var e,t,s,r,i,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<o;e+=4)t=Fa[A.charCodeAt(e)],s=Fa[A.charCodeAt(e+1)],r=Fa[A.charCodeAt(e+2)],i=Fa[A.charCodeAt(e+3)],c[a++]=t<<2|s>>4,c[a++]=(15&s)<<4|r>>2,c[a++]=(3&r)<<6|63&i;return l},Ea=function(A){for(var e=A.length,t=[],s=0;s<e;s+=2)t.push(A[s+1]<<8|A[s]);return t},ka=function(A){for(var e=A.length,t=[],s=0;s<e;s+=4)t.push(A[s+3]<<24|A[s+2]<<16|A[s+1]<<8|A[s]);return t},Ha=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Ia=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Sa=function(A,e){var t=va(A),s=Array.isArray(t)?ka(t):new Uint32Array(t),r=Array.isArray(t)?Ea(t):new Uint16Array(t),i=Ha(r,12,s[4]/2),n=2===s[5]?Ha(r,(24+s[4])/2):Ia(s,Math.ceil((24+s[4])/4));return new La(s[0],s[1],s[2],s[3],i,n)},La=function(){function A(A,e,t,s,r,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=r,this.data=i}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ma=typeof Uint8Array>"u"?[]:new Uint8Array(256),Da=0;Da<64;Da++)Ma["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Da)]=Da;Ka=8,Ta=9,Ra=11,Oa=12,Pa=function(A){for(var e=[],t=0,s=A.length;t<s;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<s){var i=A.charCodeAt(t++);56320==(64512&i)?e.push(((1023&r)<<10)+(1023&i)+65536):(e.push(r),t--)}else e.push(r)}return e},Na=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var s=[],r=-1,i="";++r<t;){var n=A[r];n<=65535?s.push(n):(n-=65536,s.push(55296+(n>>10),n%1024+56320)),(r+1===t||s.length>16384)&&(i+=String.fromCharCode.apply(String,s),s.length=0)}return i},Va=Sa("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU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IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZU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AgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Ga="\xd7",Xa=function(A){return Va.get(A)},$a=function(A,e,t){var s=t-2,r=e[s],i=e[t-1],n=e[t];if(2===i&&3===n)return Ga;if(2===i||3===i||4===i||2===n||3===n||4===n)return"\xf7";if(i===Ka&&-1!==[Ka,Ta,Ra,Oa].indexOf(n)||(i===Ra||i===Ta)&&(n===Ta||10===n)||(i===Oa||10===i)&&10===n||13===n||5===n||7===n||1===i)return Ga;if(13===i&&14===n){for(;5===r;)r=e[--s];if(14===r)return Ga}if(15===i&&15===n){for(var o=0;15===r;)o++,r=e[--s];if(o%2==0)return Ga}return"\xf7"},Ya=function(A){var e=Pa(A),t=e.length,s=0,r=0,i=e.map(Xa);return{next:function(){if(s>=t)return{done:!0,value:null};for(var A=Ga;s<t&&(A=$a(0,i,++s))===Ga;);if(A!==Ga||s===t){var n=Na.apply(null,e.slice(r,s));return r=s,{value:n,done:!1}}return{done:!0,value:null}}}},Wa=function(A){for(var e,t=Ya(A),s=[];!(e=t.next()).done;)e.value&&s.push(e.value.slice());return s},Ja=A=>{if(A.createRange){let e=A.createRange();if(e.getBoundingClientRect){let t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);let s=e.getBoundingClientRect(),r=Math.round(s.height);if(A.body.removeChild(t),123===r)return!0}}return!1},za=A=>{let e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);let t=A.createRange();e.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";let s=e.firstChild,r=_A(s.data).map(A=>jA(A)),i=0,n={},o=r.every((A,e)=>{t.setStart(s,i),t.setEnd(s,i+A.length);let r=t.getBoundingClientRect();i+=A.length;let o=r.x>n.x||r.y>n.y;return n=r,0===e||o});return A.body.removeChild(e),o},_a=()=>typeof(new Image).crossOrigin<"u",ja=()=>"string"==typeof(new XMLHttpRequest).responseType,Za=A=>{let e=new Image,t=A.createElement("canvas"),s=t.getContext("2d");if(!s)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{s.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},qa=A=>0===A[0]&&255===A[1]&&0===A[2]&&255===A[3],Al=A=>{let e=A.createElement("canvas"),t=100;e.width=t,e.height=t;let s=e.getContext("2d");if(!s)return Promise.reject(new Error("Failed to get 2D rendering context"));s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,t,t);let r=new Image,i=e.toDataURL();r.src=i;let n=el(t,t,0,0,r);return s.fillStyle="red",s.fillRect(0,0,t,t),tl(n).then(e=>{s.drawImage(e,0,0);let r=s.getImageData(0,0,t,t).data;s.fillStyle="red",s.fillRect(0,0,t,t);let n=A.createElement("div");return n.style.backgroundImage=`url(${i})`,n.style.height="100px",qa(r)?tl(el(t,t,0,0,n)):Promise.reject(new Error("ForeignObject rendering not supported"))}).then(A=>(s.drawImage(A,0,0),qa(s.getImageData(0,0,t,t).data))).catch(()=>!1)},el=(A,e,t,s,r)=>{let i="http://www.w3.org/2000/svg",n=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return n.setAttributeNS(null,"width",A.toString()),n.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",s.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),n.appendChild(o),o.appendChild(r),n},tl=A=>new Promise((e,t)=>{let s=new Image;s.onload=()=>e(s),s.onerror=t,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent((new XMLSerializer).serializeToString(A))}`}),sl={get SUPPORT_RANGE_BOUNDS(){let A=Ja(document);return Object.defineProperty(sl,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){let A=sl.SUPPORT_RANGE_BOUNDS&&za(document);return Object.defineProperty(sl,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){let A=Za(document);return Object.defineProperty(sl,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){let A="function"==typeof Array.from&&"function"==typeof window.fetch?Al(document):Promise.resolve(!1);return Object.defineProperty(sl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){let A=_a();return Object.defineProperty(sl,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){let A=ja();return Object.defineProperty(sl,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){let A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(sl,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){let A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(sl,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},rl=class{constructor(A,e){this.text=A,this.bounds=e}},il=(A,e,t,s)=>{let r=cl(e,t),i=[],n=0;return r.forEach(e=>{if(t.textDecorationLine.length||e.trim().length>0)if(sl.SUPPORT_RANGE_BOUNDS){let t=ol(s,n,e.length).getClientRects();if(t.length>1){let t=al(e),r=0;t.forEach(e=>{i.push(new rl(e,WA.fromDOMRectList(A,ol(s,r+n,e.length).getClientRects()))),r+=e.length})}else i.push(new rl(e,WA.fromDOMRectList(A,t)))}else{let t=s.splitText(e.length);i.push(new rl(e,nl(A,s))),s=t}else sl.SUPPORT_RANGE_BOUNDS||(s=s.splitText(e.length));n+=e.length}),i},nl=(A,e)=>{let t=e.ownerDocument;if(t){let s=t.createElement("html2canvaswrapper");s.appendChild(e.cloneNode(!0));let r=e.parentNode;if(r){r.replaceChild(s,e);let t=JA(A,s);return s.firstChild&&r.replaceChild(s.firstChild,s),t}}return WA.EMPTY},ol=(A,e,t)=>{let s=A.ownerDocument;if(!s)throw new Error("Node has no owner document");let r=s.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},al=A=>{if(sl.SUPPORT_NATIVE_TEXT_SEGMENTATION){let e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(A=>A.segment)}return Wa(A)},ll=(A,e)=>{if(sl.SUPPORT_NATIVE_TEXT_SEGMENTATION){let e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(A)).map(A=>A.segment)}return pl(A,e)},cl=(A,e)=>qn(e.writingMode)||0!==e.letterSpacing?al(A):ll(A,e),dl=[32,160,4961,65792,65793,4153,4241],pl=(A,e)=>{let t,s=Ze(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[];for(;!(t=s.next()).done;)if(t.value){let A=_A(t.value.slice()),e="";A.forEach(A=>{-1===dl.indexOf(A)?e+=jA(A):(e.length&&r.push(e),r.push(jA(A)),e="")}),e.length&&r.push(e)}return r},hl=class{constructor(A,e,t){this.text=ul(e.data,t.textTransform),this.text.length!==e.data.length&&(e.data=this.text),this.textBounds=il(A,this.text,t,e)}},ul=(A,e)=>{switch(e){case 1:return A.toLowerCase();case 3:return A.replace(gl,Bl);case 2:return A.toUpperCase();default:return A}},gl=/(^|\s|:|-|\(|\))([a-z])/g,Bl=(A,e,t)=>A.length>0?e+t.toUpperCase():A,wl=class extends xa{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)}},fl=class extends xa{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}},ml=["position","inset","top","right","bottom","left","inset-inline","inset-inline-start","inset-inline-end","inset-block","inset-block-start","inset-block-end","margin","margin-top","margin-right","margin-bottom","margin-left","margin-inline","margin-inline-start","margin-inline-end","margin-block","margin-block-start","margin-block-end"],bl=(A,e)=>{let t=e.getAttribute("style");ml.forEach(A=>e.style.removeProperty(A));let s=A.serializeToString(e);return null===t?e.removeAttribute("style"):e.setAttribute("style",t),s},Cl=class extends xa{constructor(A,e){super(A,e);let t=new XMLSerializer,s=JA(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(bl(t,e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}},yl=class extends xa{constructor(A,e){super(A,e),this.value=e.value}},Ql=class extends xa{constructor(A,e){super(A,e),this.start=e.start,this.reversed="boolean"==typeof e.reversed&&!0===e.reversed}},xl=[{type:15,flags:0,unit:"px",number:3}],Fl=[{type:16,flags:0,number:50}],Ul=A=>A.width>A.height?new WA(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new WA(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A,vl=A=>{let e="password"===A.type?new Array(A.value.length+1).join("\u2022"):A.value;return 0===e.length?A.placeholder||"":e},El=A=>0===A.value.length&&!!A.placeholder,kl=707406591,Hl=class extends xa{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=vl(e),this.isPlaceholder=El(e),("checkbox"===this.type||"radio"===this.type)&&(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=Ul(this.bounds)),this.type){case"checkbox":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=xl;break;case"radio":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Fl}}},Il=class extends xa{constructor(A,e){super(A,e);let t=e.options[e.selectedIndex||0];this.value=t&&t.text||""}},Sl=class extends xa{constructor(A,e){super(A,e),this.value=e.value}},Ll=class extends xa{constructor(A,e,t){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=t;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);let t=e.contentWindow.document.documentElement?Cr(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):yr.TRANSPARENT,s=e.contentWindow.document.body?Cr(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):yr.TRANSPARENT;this.backgroundColor=ms(t)?ms(s)?this.styles.backgroundColor:s:t}}catch{}}},Ml=["OL","UL","MENU"],Dl=(A,e,t,s)=>{for(let r,i=e.firstChild;i;i=r)r=i.nextSibling,Kl(A,i,t,s)},Kl=(A,e,t,s)=>{if(xr(e)&&e.data.length>0)t.textNodes.push(new hl(A,e,t.styles));else if(Qr(e))if(Or(e)&&e.assignedNodes)e.assignedNodes().forEach(e=>Kl(A,e,t,s));else{let r=Tl(A,e);r.styles.isVisible()&&(Ol(e,r,s)?r.createsRealStackingContext=!0:Pl(r.styles)&&(r.createsStackingContext=!0),-1!==Ml.indexOf(e.tagName)&&(r.isListOwner=!0),t.elements.push(r),e.shadowRoot?Dl(A,e.shadowRoot,r,s):!Tr(e)&&!kr(e)&&!Rr(e)&&Dl(A,e,r,s))}},Tl=(A,e)=>Lr(e)?new wl(A,e):Ir(e)?new fl(A,e):kr(e)?new Cl(A,e):Pr(e)?new yl(A,e):Nr(e)?new Ql(A,e):vr(e)?new Hl(A,e):Rr(e)?new Il(A,e):Tr(e)?new Sl(A,e):Mr(e)?new Ll(A,e,Rl):new xa(A,e),Rl=(A,e)=>{let t=Tl(A,e);return t.createsRealStackingContext=!0,Dl(A,e,t,t),t},Ol=(A,e,t)=>e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Hr(A)&&t.styles.isTransparent(),Pl=A=>!(!A.isPositioned()&&!A.isFloating())||Yr(A.display,268435456)||Yr(A.display,33554432)||Yr(A.display,536870912)||Yr(A.display,134217728),Nl=(A,e)=>A.length===e.length&&A.some((A,t)=>A===e[t]),Vl=(A,e,t,s,r)=>A.map((A,i)=>{switch(i){case 0:return A.add(e,t);case 1:return A.add(e+s,t);case 2:return A.add(e+s,t+r);case 3:return A.add(e,t+r)}return A}),Gl=class A{constructor(A,e){this.type=0,this.x=A,this.y=e}add(e,t){return new A(this.x+e,this.y+t)}},Xl=(A,e,t)=>new Gl(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t),$l=class A{constructor(A,e,t,s){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=s}subdivide(e,t){let s=Xl(this.start,this.startControl,e),r=Xl(this.startControl,this.endControl,e),i=Xl(this.endControl,this.end,e),n=Xl(s,r,e),o=Xl(r,i,e),a=Xl(n,o,e);return t?new A(this.start,s,n,a):new A(a,o,i,this.end)}add(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))}reverse(){return new A(this.end,this.endControl,this.startControl,this.start)}},Yl=A=>1===A.type,Wl=class{constructor(A){let e=A.styles,t=A.bounds,[s,r]=ds(e.borderTopLeftRadius,t.width,t.height),[i,n]=ds(e.borderTopRightRadius,t.width,t.height),[o,a]=ds(e.borderBottomRightRadius,t.width,t.height),[l,c]=ds(e.borderBottomLeftRadius,t.width,t.height),d=[];d.push((s+i)/t.width),d.push((l+o)/t.width),d.push((r+c)/t.height),d.push((n+a)/t.height);let p=Math.max(...d);p>1&&(s/=p,r/=p,i/=p,n/=p,o/=p,a/=p,l/=p,c/=p);let h=t.width-i,u=t.height-a,g=t.width-o,B=t.height-c,w=e.borderTopWidth,f=e.borderRightWidth,m=e.borderBottomWidth,b=e.borderLeftWidth,C=ps(e.paddingTop,A.bounds.width),y=ps(e.paddingRight,A.bounds.width),Q=ps(e.paddingBottom,A.bounds.width),x=ps(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||r>0?Jl(t.left+b/3,t.top+w/3,s-b/3,r-w/3,0):new Gl(t.left+b/3,t.top+w/3),this.topRightBorderDoubleOuterBox=s>0||r>0?Jl(t.left+h,t.top+w/3,i-f/3,n-w/3,1):new Gl(t.left+t.width-f/3,t.top+w/3),this.bottomRightBorderDoubleOuterBox=o>0||a>0?Jl(t.left+g,t.top+u,o-f/3,a-m/3,2):new Gl(t.left+t.width-f/3,t.top+t.height-m/3),this.bottomLeftBorderDoubleOuterBox=l>0||c>0?Jl(t.left+b/3,t.top+B,l-b/3,c-m/3,3):new Gl(t.left+b/3,t.top+t.height-m/3),this.topLeftBorderDoubleInnerBox=s>0||r>0?Jl(t.left+2*b/3,t.top+2*w/3,s-2*b/3,r-2*w/3,0):new Gl(t.left+2*b/3,t.top+2*w/3),this.topRightBorderDoubleInnerBox=s>0||r>0?Jl(t.left+h,t.top+2*w/3,i-2*f/3,n-2*w/3,1):new Gl(t.left+t.width-2*f/3,t.top+2*w/3),this.bottomRightBorderDoubleInnerBox=o>0||a>0?Jl(t.left+g,t.top+u,o-2*f/3,a-2*m/3,2):new Gl(t.left+t.width-2*f/3,t.top+t.height-2*m/3),this.bottomLeftBorderDoubleInnerBox=l>0||c>0?Jl(t.left+2*b/3,t.top+B,l-2*b/3,c-2*m/3,3):new Gl(t.left+2*b/3,t.top+t.height-2*m/3),this.topLeftBorderStroke=s>0||r>0?Jl(t.left+b/2,t.top+w/2,s-b/2,r-w/2,0):new Gl(t.left+b/2,t.top+w/2),this.topRightBorderStroke=s>0||r>0?Jl(t.left+h,t.top+w/2,i-f/2,n-w/2,1):new Gl(t.left+t.width-f/2,t.top+w/2),this.bottomRightBorderStroke=o>0||a>0?Jl(t.left+g,t.top+u,o-f/2,a-m/2,2):new Gl(t.left+t.width-f/2,t.top+t.height-m/2),this.bottomLeftBorderStroke=l>0||c>0?Jl(t.left+b/2,t.top+B,l-b/2,c-m/2,3):new Gl(t.left+b/2,t.top+t.height-m/2),this.topLeftBorderBox=s>0||r>0?Jl(t.left,t.top,s,r,0):new Gl(t.left,t.top),this.topRightBorderBox=i>0||n>0?Jl(t.left+h,t.top,i,n,1):new Gl(t.left+t.width,t.top),this.bottomRightBorderBox=o>0||a>0?Jl(t.left+g,t.top+u,o,a,2):new Gl(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=l>0||c>0?Jl(t.left,t.top+B,l,c,3):new Gl(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||r>0?Jl(t.left+b,t.top+w,Math.max(0,s-b),Math.max(0,r-w),0):new Gl(t.left+b,t.top+w),this.topRightPaddingBox=i>0||n>0?Jl(t.left+Math.min(h,t.width-f),t.top+w,h>t.width+f?0:Math.max(0,i-f),Math.max(0,n-w),1):new Gl(t.left+t.width-f,t.top+w),this.bottomRightPaddingBox=o>0||a>0?Jl(t.left+Math.min(g,t.width-b),t.top+Math.min(u,t.height-m),Math.max(0,o-f),Math.max(0,a-m),2):new Gl(t.left+t.width-f,t.top+t.height-m),this.bottomLeftPaddingBox=l>0||c>0?Jl(t.left+b,t.top+Math.min(B,t.height-m),Math.max(0,l-b),Math.max(0,c-m),3):new Gl(t.left+b,t.top+t.height-m),this.topLeftContentBox=s>0||r>0?Jl(t.left+b+x,t.top+w+C,Math.max(0,s-(b+x)),Math.max(0,r-(w+C)),0):new Gl(t.left+b+x,t.top+w+C),this.topRightContentBox=i>0||n>0?Jl(t.left+Math.min(h,t.width+b+x),t.top+w+C,h>t.width+b+x?0:i-b+x,n-(w+C),1):new Gl(t.left+t.width-(f+y),t.top+w+C),this.bottomRightContentBox=o>0||a>0?Jl(t.left+Math.min(g,t.width-(b+x)),t.top+Math.min(u,t.height+w+C),Math.max(0,o-(f+y)),a-(m+Q),2):new Gl(t.left+t.width-(f+y),t.top+t.height-(m+Q)),this.bottomLeftContentBox=l>0||c>0?Jl(t.left+b+x,t.top+B,Math.max(0,l-(b+x)),c-(m+Q),3):new Gl(t.left+b+x,t.top+t.height-(m+Q))}},Jl=(A,e,t,s,r)=>{let i=(Math.sqrt(2)-1)/3*4,n=t*i,o=s*i,a=A+t,l=e+s;switch(r){case 0:return new $l(new Gl(A,l),new Gl(A,l-o),new Gl(a-n,e),new Gl(a,e));case 1:return new $l(new Gl(A,e),new Gl(A+n,e),new Gl(a,l-o),new Gl(a,l));case 2:return new $l(new Gl(a,e),new Gl(a,e+o),new Gl(A+n,l),new Gl(A,l));default:return new $l(new Gl(a,l),new Gl(a-n,l),new Gl(A,e+o),new Gl(A,e))}},zl=A=>[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox],_l=A=>[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox],jl=A=>[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox],Zl=class{constructor(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}},ql=class{constructor(A,e){this.path=A,this.target=e,this.type=1}},Ac=class{constructor(A){this.opacity=A,this.type=2,this.target=6}},ec=class{constructor(A){this.applyClip=A,this.type=3,this.target=6}},tc={[So.NORMAL]:"source-over",[So.MULTIPLY]:"multiply",[So.SCREEN]:"screen",[So.OVERLAY]:"overlay",[So.DARKEN]:"darken",[So.LIGHTEN]:"lighten",[So.COLOR_DODGE]:"color-dodge",[So.COLOR_BURN]:"color-burn",[So.HARD_LIGHT]:"hard-light",[So.SOFT_LIGHT]:"soft-light",[So.DIFFERENCE]:"difference",[So.EXCLUSION]:"exclusion",[So.HUE]:"hue",[So.SATURATION]:"saturation",[So.COLOR]:"color",[So.LUMINOSITY]:"luminosity"},sc=class{constructor(A){this.mixBlendMode=A,this.type=4,this.target=6,this.compositeOperation=tc[A]}},rc=class A{constructor(e){this.type=5,this.target=6;let t=A.parseDropShadow(e);this.shadow=t.shadow,this.safeFilterString=t.safeFilterString}static parseDropShadow(e){if(!e)return{safeFilterString:""};let t=A.findDropShadows(e);if(0===t.length)return{safeFilterString:e};let s=A.parseDropShadowBody(t[0].body),r="",i=0;for(let A of t)r+=e.slice(i,A.start),i=A.end;return r+=e.slice(i),{shadow:s,safeFilterString:r.replace(/\s+/g," ").trim()}}static findDropShadows(A){let e,t=[],s=/drop-shadow\(/gi;for(;null!==(e=s.exec(A));){let s=e.index+12-1,r=e.index,i=1,n=s+1;for(;n<A.length&&i>0;){let e=A[n];"("===e?i++:")"===e&&i--,n++}if(0!==i)break;let o=A.slice(s+1,n-1);t.push({body:o,start:r,end:n})}return t}static parseDropShadowBody(e){let t,s=A.tokenizeFilterArgs(e.trim()),r=[];for(let e of s)A.isCSSLength(e)?r.push(parseFloat(e)):e&&(t=e);if(!(r.length<2||r.length>3))return{offsetX:r[0],offsetY:r[1],blur:r[2]??0,color:t??"rgba(0,0,0,1)"}}static tokenizeFilterArgs(A){let e=[],t="",s=0;for(let r=0;r<A.length;r++){let i=A[r];"("===i?(s++,t+=i):")"===i?(s--,t+=i):/\s/.test(i)?s>0?t+=i:t&&(e.push(t),t=""):t+=i}return t&&e.push(t),e}static isCSSLength(A){return/^-?[\d.]+(px|em|rem|pt|cm|mm|in|pc|ex|ch|vw|vh|vmin|vmax|%)?$/i.test(A)}},ic=A=>0===A.type,nc=A=>1===A.type,oc=A=>2===A.type,ac=A=>3===A.type,lc=A=>4===A.type,cc=A=>5===A.type,dc=class{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}},pc=class{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Wl(this.container),this.container.styles.opacity<1&&this.effects.push(new Ac(this.container.styles.opacity)),null!==this.container.styles.rotate){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+ps(A[0],this.container.bounds.width),t=this.container.bounds.top+ps(A[1],this.container.bounds.height),s=this.container.styles.rotate*Math.PI/180,r=Math.cos(s),i=Math.sin(s),n=[r,i,-i,r,0,0];this.effects.push(new Zl(e,t,n))}if(null!==this.container.styles.transform){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+ps(A[0],this.container.bounds.width),t=this.container.bounds.top+ps(A[1],this.container.bounds.height),s=this.container.styles.transform;this.effects.push(new Zl(e,t,s))}if(hc(this.container.styles)){let A=zl(this.curves),e=jl(this.curves);Nl(A,e)?this.effects.push(new ql(A,6)):(this.effects.push(new ql(A,2)),this.effects.push(new ql(e,4)))}if(0!==this.container.styles.clipPath.type){let A=gc(this.container.styles.clipPath,this.container.bounds);A&&this.effects.push(A)}if(this.container.styles.mixBlendMode!==So.NORMAL&&this.effects.push(new sc(this.container.styles.mixBlendMode)),null!==this.container.styles.filter&&this.effects.push(new rc(this.container.styles.filter)),1!==this.container.styles.zoom){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+ps(A[0],this.container.bounds.width),t=this.container.bounds.top+ps(A[1],this.container.bounds.height),s=this.container.styles.zoom,r=[s,0,0,s,0,0];this.effects.push(new Zl(e,t,r))}}getEffects(A){let e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,s=this.effects.slice(0);for(;t;){let A=t.effects.filter(A=>!nc(A));if(e||0!==t.container.styles.position||!t.parent){if(e=-1===[2,3].indexOf(t.container.styles.position),hc(t.container.styles)){let A=zl(t.curves),e=jl(t.curves);Nl(A,e)||s.unshift(new ql(e,6))}s.unshift(...A)}else s.unshift(...A);t=t.parent}return s.filter(e=>Yr(e.target,A))}},hc=A=>0!==A.overflowX||0!==A.overflowY,uc=(A,e,t,s,r)=>"closest-side"===A?Math.min(e-t,s-e):"farthest-side"===A?Math.max(e-t,s-e):ps(A,r),gc=(A,e)=>{let{left:t,top:s,width:r,height:i}=e;switch(A.type){case 1:{let e=ps(A.left,r),n=ps(A.top,i),o=t+e,a=s+n,l=Math.max(0,r-e-ps(A.right,r)),c=Math.max(0,i-n-ps(A.bottom,i));return new ec(A=>{A.beginPath(),A.rect(o,a,l,c),A.clip()})}case 2:{let e,n=t+ps(A.cx,r),o=s+ps(A.cy,i);return e="closest-side"===A.radius?Math.min(n-t,o-s,t+r-n,s+i-o):"farthest-side"===A.radius?Math.max(n-t,o-s,t+r-n,s+i-o):ps(A.radius,Math.sqrt(r*r+i*i)/Math.SQRT2),new ec(A=>{A.beginPath(),A.arc(n,o,Math.max(0,e),0,2*Math.PI),A.clip()})}case 3:{let e=t+ps(A.cx,r),n=s+ps(A.cy,i),o=uc(A.rx,e,t,t+r,r),a=uc(A.ry,n,s,s+i,i);return new ec(A=>{A.beginPath(),A.ellipse(e,n,Math.max(0,o),Math.max(0,a),0,0,2*Math.PI),A.clip()})}case 4:{let e=A.points.map(([A,e])=>[t+ps(A,r),s+ps(e,i)]);return new ec(A=>{if(A.beginPath(),e.length>0){A.moveTo(e[0][0],e[0][1]);for(let t=1;t<e.length;t++)A.lineTo(e[t][0],e[t][1]);A.closePath()}A.clip()})}case 5:{let{d:e}=A,r=null;return new ec(A=>{try{r||(r=new Path2D(e));let i=A.getTransform();A.translate(t,s),A.clip(r),A.setTransform(i)}catch{}})}default:return null}},Bc=(A,e,t,s)=>{A.container.elements.forEach(r=>{let i=r.createsRealStackingContext,n=r.createsStackingContext,o=new pc(r,A);Yr(r.styles.display,2048)&&s.push(o);let a=r.isListOwner?[]:s;if(i||n){let A=i||r.styles.isPositioned()?t:e,s=new dc(o);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){let e=r.styles.zIndex.order;if(e<0){let t=0;A.negativeZIndex.some((A,s)=>e>A.element.container.styles.zIndex.order?(t=s,!1):t>0),A.negativeZIndex.splice(t,0,s)}else if(e>0){let t=0;A.positiveZIndex.some((A,s)=>e>=A.element.container.styles.zIndex.order?(t=s+1,!1):t>0),A.positiveZIndex.splice(t,0,s)}else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(s)}else r.styles.isFloating()?A.nonPositionedFloats.push(s):A.nonPositionedInlineLevel.push(s);Bc(o,s,i?s:t,a)}else r.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Bc(o,e,t,a);r.isListOwner&&wc(r,a)})},wc=(A,e)=>{let t=A instanceof Ql?A.start:1,s=A instanceof Ql&&A.reversed;for(let A=0;A<e.length;A++){let r=e[A];r.container instanceof yl&&"number"==typeof r.container.value&&0!==r.container.value&&(t=r.container.value),r.listValue=oi(t,r.container.styles.listStyleType,!0),t+=s?-1:1}},fc=A=>{let e=new pc(A,null),t=new dc(e),s=[];return Bc(e,t,t,s),wc(e.container,s),t},mc=A=>{let e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},bc=A=>{let e=A.styles,t=A.bounds,s=ps(e.paddingLeft,t.width),r=ps(e.paddingRight,t.width),i=ps(e.paddingTop,t.width),n=ps(e.paddingBottom,t.width);return t.add(s+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+s+r),-(e.borderTopWidth+e.borderBottomWidth+i+n))},Cc=(A,e)=>0===A?e.bounds:2===A?bc(e):mc(e),yc=(A,e)=>0===A?e.bounds:2===A?bc(e):mc(e),Qc=(A,e,t)=>{let s=Cc(vc(A.styles.backgroundOrigin,e),A),r=yc(vc(A.styles.backgroundClip,e),A),i=Uc(vc(A.styles.backgroundSize,e),t,s),[n,o]=i,a=ds(vc(A.styles.backgroundPosition,e),s.width-n,s.height-o),l=Ec(vc(A.styles.backgroundRepeat,e),a,i,s,r),c=Math.round(s.left+a[0]),d=Math.round(s.top+a[1]);return n=Math.max(1,n),o=Math.max(1,o),[l,c,d,n,o]},xc=A=>Ot(A)&&"auto"===A.value,Fc=A=>"number"==typeof A,Uc=(A,[e,t,s],r)=>{let[i,n]=A;if(!i)return[0,0];if(es(i)&&n&&es(n))return[ps(i,r.width),ps(n,r.height)];let o=Fc(s);if(Ot(i)&&("contain"===i.value||"cover"===i.value))return Fc(s)?r.width/r.height<s!=("cover"===i.value)?[r.width,r.width/s]:[r.height*s,r.height]:[r.width,r.height];let a=Fc(e),l=Fc(t),c=a||l;if(xc(i)&&(!n||xc(n)))return a&&l?[e,t]:o||c?c&&o?[a?e:t*s,l?t:e/s]:[a?e:r.width,l?t:r.height]:[r.width,r.height];if(o){let A=0,e=0;return es(i)?A=ps(i,r.width):es(n)&&(e=ps(n,r.height)),xc(i)?A=e*s:(!n||xc(n))&&(e=A/s),[A,e]}let d=null,p=null;if(es(i)?d=ps(i,r.width):n&&es(n)&&(p=ps(n,r.height)),null!==d&&(!n||xc(n))&&(p=a&&l?d/e*t:r.height),null!==p&&xc(i)&&(d=a&&l?p/t*e:r.width),null!==d&&null!==p)return[d,p];throw new Error("Unable to calculate background-size for element")},vc=(A,e)=>{let t=A[e];return typeof t>"u"?A[0]:t},Ec=(A,[e,t],[s,r],i,n)=>{switch(A){case 2:return[new Gl(Math.round(i.left),Math.round(i.top+t)),new Gl(Math.round(i.left+i.width),Math.round(i.top+t)),new Gl(Math.round(i.left+i.width),Math.round(r+i.top+t)),new Gl(Math.round(i.left),Math.round(r+i.top+t))];case 3:return[new Gl(Math.round(i.left+e),Math.round(i.top)),new Gl(Math.round(i.left+e+s),Math.round(i.top)),new Gl(Math.round(i.left+e+s),Math.round(i.height+i.top)),new Gl(Math.round(i.left+e),Math.round(i.height+i.top))];case 1:return[new Gl(Math.round(i.left+e),Math.round(i.top+t)),new Gl(Math.round(i.left+e+s),Math.round(i.top+t)),new Gl(Math.round(i.left+e+s),Math.round(i.top+t+r)),new Gl(Math.round(i.left+e),Math.round(i.top+t+r))];default:return[new Gl(Math.round(n.left),Math.round(n.top)),new Gl(Math.round(n.left+n.width),Math.round(n.top)),new Gl(Math.round(n.left+n.width),Math.round(n.height+n.top)),new Gl(Math.round(n.left),Math.round(n.height+n.top))]}},kc=class{constructor(A){this.ctx=A}render(A,e){this.ctx.fillStyle=bs(e.textDecorationColor||e.color);let t=1;"number"==typeof e.textDecorationThickness?t=e.textDecorationThickness:"from-font"===e.textDecorationThickness&&(t=Math.max(1,Math.floor(.05*e.fontSize.number)));let s=0;"number"==typeof e.textUnderlineOffset&&(s=e.textUnderlineOffset);let r=e.textDecorationStyle;e.textDecorationLine.forEach(e=>{let i=0;switch(e){case 1:i=A.top+A.height-t+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-t/2);break;default:return}this.draw(A.left,i,A.width,t,r)})}draw(A,e,t,s,r){switch(r){case 0:default:this.ctx.fillRect(A,e,t,s);break;case 1:{let r=Math.max(1,s);this.ctx.fillRect(A,e,t,s),this.ctx.fillRect(A,e+s+r,t,s);break}case 2:this.drawPattern(A,e,t,s,[s,2*s]);break;case 3:this.drawPattern(A,e,t,s,[3*s,2*s]);break;case 4:this.drawWavy(A,e,t,s)}}drawPattern(A,e,t,s,r){this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash(r),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+t,e+s/2),this.ctx.stroke(),this.ctx.restore()}drawWavy(A,e,t,s){this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;let r=2*s,i=4*s,n=A;for(this.ctx.moveTo(n,e+s/2);n<A+t;){let o=Math.min(n+i/2,A+t);if(this.ctx.quadraticCurveTo(n+i/4,e+s/2-r,o,e+s/2),n=o,n<A+t){let o=Math.min(n+i/2,A+t);this.ctx.quadraticCurveTo(n+i/4,e+s/2+r,o,e+s/2),n=o}}this.ctx.stroke(),this.ctx.restore()}},Hc=A=>void 0!==A&&!Number.isNaN(A),Ic=(A,e)=>{let t=A.measureText("Mg"),s=t;return{baseline:Hc(s.fontBoundingBoxAscent)?s.fontBoundingBoxAscent:Hc(t.actualBoundingBoxAscent)?t.actualBoundingBoxAscent:e,height:Hc(s.fontBoundingBoxAscent)&&Hc(s.fontBoundingBoxDescent)?s.fontBoundingBoxAscent+s.fontBoundingBoxDescent:Hc(t.actualBoundingBoxAscent)&&Hc(t.actualBoundingBoxDescent)?t.actualBoundingBoxAscent+t.actualBoundingBoxDescent:e}},Sc=(A,e)=>Ic(A,e).baseline,Lc=["-apple-system","system-ui"],Mc=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Dc=A=>Mc.test(A),Kc=()=>{if(typeof navigator>"u")return null;let A=navigator.userAgent,e=/iPhone|iPad|iPod/.test(A),t=/Macintosh/.test(A)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!e&&!t)return null;for(let e of[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/]){let t=A.match(e);if(t&&t[1])return parseInt(t[1],10)}return null},Tc=A=>{let e=Kc();return null!==e&&e>=15&&e<17?A.map(A=>-1!==Lc.indexOf(A)?'-apple-system, "Helvetica Neue", Arial, sans-serif':A):A},Rc=()=>(typeof window<"u"?window:void 0)?.chrome?"miter":"round",Oc=class{constructor(A){this.glyphWidthCache=null,this.ctx=A.ctx,this.options=A.options,this.decorationRenderer=new kc(A.ctx)}cachedMeasureText(A,e){let t=this.glyphWidthCache;t||(t=new Map,this.glyphWidthCache=t);let s=A+e,r=t.get(s);return void 0===r&&(r=this.ctx.measureText(A).width,t.set(s,r)),r}iterateLettersWithLetterSpacing(A,e,t,s,r){if(qn(s))return void this.iterateVerticalGlyphs(A,e,t,s,r);let i=al(A.text),n=A.bounds.top+t,o=this.ctx.font,a=A.bounds.left;for(let A of i){if(Dc(A)){let e=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",r(A,a,n),this.ctx.textBaseline=e}else r(A,a,n);a+=this.cachedMeasureText(A,o)+e}}iterateVerticalGlyphs(A,e,t,s,r){let i=al(A.text),n=this.ctx.font,o=4===s?-Math.PI/2:Math.PI/2,a=A.bounds.top;for(let l=0;l<i.length;){let c=i[l];if(!(Ao(s)||!Dc(c)&&c.trim().length>0)){let s=this.ctx.textBaseline;Dc(c)&&(this.ctx.textBaseline="ideographic"),r(c,A.bounds.left,a+t),this.ctx.textBaseline=s,a+=this.cachedMeasureText(c,n)+e,l++;continue}let d=l;for(;l<i.length;){let A=i[l];if(!Ao(s)&&!Dc(A)&&0===A.trim().length)break;if(!(Ao(s)||!Dc(A)&&A.trim().length>0))break;l++}this.ctx.save(),this.ctx.translate(A.bounds.left+t,a),this.ctx.rotate(o);let p=0;for(let A=d;A<l;A++)r(i[A],0,p),p+=this.cachedMeasureText(i[A],n)+e;this.ctx.restore(),a+=p}}renderTextWithLetterSpacing(A,e,t,s=0){this.renderFillText(A,e,t,s)}canRenderWholeText(A,e){return 0===A&&!qn(e)}renderFillText(A,e,t,s){this.canRenderWholeText(e,s)?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):this.iterateLettersWithLetterSpacing(A,e,t,s,(A,e,t)=>{this.ctx.fillText(A,e,t)})}renderStrokeText(A,e,t,s){this.canRenderWholeText(e,s)?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+t):this.iterateLettersWithLetterSpacing(A,e,t,s,(A,e,t)=>{this.ctx.strokeText(A,e,t)})}renderTextStrokeWithStyle(A,e,t){!e.webkitTextStrokeWidth||!A.text.trim().length||(this.ctx.strokeStyle=bs(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=Rc(),this.renderStrokeText(A,e.letterSpacing,t,e.writingMode),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter")}renderTextFillWithShadows(A,e,t){this.ctx.fillStyle=bs(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,t,e.writingMode);let s=e.textShadow;s.length&&A.text.trim().length&&(s.slice(0).reverse().forEach(s=>{this.ctx.shadowColor=bs(s.color),this.ctx.shadowOffsetX=s.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=s.offsetY.number*this.options.scale,this.ctx.shadowBlur=s.blur.number,this.renderTextWithLetterSpacing(A,e.letterSpacing,t,e.writingMode)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0)}renderTextBoundWithPaintOrder(A,e,t,s){t.forEach(t=>{switch(t){case 0:this.ctx.fillStyle=bs(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,s,e.writingMode);break;case 1:this.renderTextStrokeWithStyle(A,e,s)}})}renderTextDecoration(A,e){this.decorationRenderer.render(A,e)}truncateTextWithEllipsis(A,e,t){let s=this.ctx.measureText("\u2026").width,r=al(A);if(0===t){let A=A=>this.ctx.measureText(r.slice(0,A).join("")).width+s<=e,t=0,i=r.length;for(;t<i;){let e=t+i+1>>1;A(e)?t=e:i=e-1}return r.slice(0,t).join("")+"\u2026"}{let A=this.ctx.font,i=s,n=[];for(let s of r){let r=this.cachedMeasureText(s,A);if(i+r>e)break;n.push(s),i+=r+t}return n.join("")+"\u2026"}}createFontStyle(A){let e=A.fontVariant.filter(A=>"normal"===A||"small-caps"===A).join(""),t=Tc(A.fontFamily).join(", "),s=Tt(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,t].join(" "),t,s]}renderLineClampedText(A,e,t,s,r){let i=1.5*e.fontSize.number,n=[],o=[],a=A.textBounds[0].bounds.top;A.textBounds.forEach(A=>{Math.abs(A.bounds.top-a)>=.5*i?(o.length>0&&n.push(o),o=[A],a=A.bounds.top):o.push(A)}),o.length>0&&n.push(o);let l=e.webkitLineClamp;if(n.length<=l)return!1;for(let A=0;A<l-1;A++)n[A].forEach(A=>this.renderTextBoundWithPaintOrder(A,e,t,s));let c=n[l-1];if(c?.length&&r){let A=c.map(A=>A.text).join(""),i=c[0],n=r.width-(i.bounds.left-r.left),o=new rl(this.truncateTextWithEllipsis(A,n,e.letterSpacing),i.bounds);for(let A of t)0===A?(this.ctx.fillStyle=bs(e.color),this.renderTextWithLetterSpacing(o,e.letterSpacing,s,e.writingMode)):1===A&&this.renderTextStrokeWithStyle(o,e,s)}return!0}renderEllipsisText(A,e,t,s,r){let i=1.5*e.fontSize.number,n=A.textBounds[0].bounds.top;if(!A.textBounds.every(A=>Math.abs(A.bounds.top-n)<.5*i))return!1;let o=A.textBounds.map(A=>A.text).join("").replace(/\s+/g," ").trim();if(this.ctx.measureText(o).width<=r.width+1)return!1;let a=new rl(this.truncateTextWithEllipsis(o,r.width,e.letterSpacing),A.textBounds[0].bounds);for(let A of t)0===A?this.renderTextFillWithShadows(a,e,s):1===A&&this.renderTextStrokeWithStyle(a,e,s);return!0}async renderTextNode(A,e,t){this.glyphWidthCache=null;let[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";let r=e.paintOrder,i=Sc(this.ctx,e.fontSize.number);e.webkitLineClamp>0&&2&e.display&&1===e.overflowY&&A.textBounds.length>0&&this.renderLineClampedText(A,e,r,i,t)||1===e.textOverflow&&t&&1===e.overflowX&&A.textBounds.length>0&&this.renderEllipsisText(A,e,r,i,t)||A.textBounds.forEach(A=>{r.forEach(t=>{0===t?(this.renderTextFillWithShadows(A,e,i),e.textDecorationLine.length&&this.renderTextDecoration(A.bounds,e)):1===t&&this.renderTextStrokeWithStyle(A,e,i)})})}},Pc=(A,e)=>{e.forEach((e,t)=>{let s=Yl(e)?e.start:e;0===t?A.moveTo(s.x,s.y):A.lineTo(s.x,s.y),Yl(e)&&A.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},Nc=(A,e)=>{A.beginPath(),Pc(A,e),A.closePath()},Vc=class{constructor(A){this.maxSize=A,this._map=new Map}get(A){if(!this._map.has(A))return;let e=this._map.get(A);return this._map.delete(A),this._map.set(A,e),e}set(A,e){if(this._map.has(A))this._map.delete(A);else if(this._map.size>=this.maxSize){let A=this._map.keys().next().value;void 0!==A&&this._map.delete(A)}this._map.set(A,e)}get size(){return this._map.size}clear(){this._map.clear()}},Gc=class{constructor(A){this.patternCache=new Vc(50),this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1,t=A.styles.backgroundBlendMode,s=0;for(let r of A.styles.backgroundImage.slice(0).reverse()){if(s>0){let A=t[s]??t[0]??"normal";"normal"!==A&&(this.ctx.save(),this.ctx.globalCompositeOperation=A)}0===r.type?await this.renderBackgroundURLImage(A,r,e):ki(r)?this.renderLinearGradient(A,r,e):Ii(r)?this.renderRepeatingLinearGradient(A,r,e):Hi(r)&&this.renderRadialGradient(A,r,e),s>0&&"normal"!==(t[s]??t[0]??"normal")&&this.ctx.restore(),e--,s++}}async renderBackgroundURLImage(A,e,t){let s,r=e.url;try{s=await this.context.cache.match(r)}catch(A){this.context.logger.error(`Error loading background-image ${r}`),this.context.onError?.(A instanceof Error?A:new Error(String(A)))}if(s){let e=isNaN(s.width)||0===s.width?1:s.width,i=isNaN(s.height)||0===s.height?1:s.height,[n,o,a,l,c]=Qc(A,t,[e,i,e/i]),d=vc(A.styles.backgroundRepeat,t),p=1===d?"no-repeat":2===d?"repeat-x":3===d?"repeat-y":"repeat",h=`${r}|${Math.round(l)}x${Math.round(c)}|${A.styles.imageRendering}|${p}`,u=this.patternCache.get(h);if(!u){let e=this.resizeImage(s,l,c,A.styles.imageRendering);u=this.ctx.createPattern(e,p),this.patternCache.set(h,u)}this.renderRepeat(n,u,o,a)}}renderRepeatingLinearGradient(A,e,t){let[s,r,i,n,o]=Qc(A,t,[null,null,null]),[a,l,c,d,p]=hi(e.angle,n,o),h=di(e.stops,a||1),u=h[h.length-1],g=h[0],B=u.stop-g.stop;if(B<=0)return void this.renderLinearGradient(A,e,t);let w=c-l,f=p-d,m=B/(Math.sqrt(w*w+f*f)||1),b=l,C=d,y=l+w*m,Q=d+f*m,x=this.canvas.ownerDocument??document,F=`rlg|${e.angle}|${Math.round(B)}|${JSON.stringify(e.stops)}`,U=this.patternCache.get(F);if(!U){let A=x.createElement("canvas"),e=Math.max(1,Math.ceil(B));A.width=e,A.height=e;let t=A.getContext("2d");if(!t)return;let s=t.createLinearGradient(b-r,C-i,y-r,Q-i);h.forEach(A=>{s.addColorStop((A.stop-g.stop)/B,bs(A.color))}),t.fillStyle=s,t.fillRect(0,0,e,e),e>0&&(U=this.ctx.createPattern(A,"repeat"),this.patternCache.set(F,U))}U&&this.renderRepeat(s,U,r,i)}renderLinearGradient(A,e,t){let[s,r,i,n,o]=Qc(A,t,[null,null,null]),[a,l,c,d,p]=hi(e.angle,n,o),h=`lg|${e.angle}|${Math.round(n)}x${Math.round(o)}|${JSON.stringify(e.stops)}`,u=this.patternCache.get(h);if(!u){let A=(this.canvas.ownerDocument??document).createElement("canvas");A.width=n,A.height=o;let t=A.getContext("2d");if(!t)return;let s=t.createLinearGradient(l,d,c,p);di(e.stops,a||1).forEach(A=>s.addColorStop(A.stop,bs(A.color))),t.fillStyle=s,t.fillRect(0,0,n,o),n>0&&o>0&&(u=this.ctx.createPattern(A,"repeat"),this.patternCache.set(h,u))}u&&this.renderRepeat(s,u,r,i)}renderRadialGradient(A,e,t){let[s,r,i,n,o]=Qc(A,t,[null,null,null]),a=0===e.position.length?[ls]:e.position,l=ps(a[0],n),c=ps(a[a.length-1],o),[d,p]=Bi(e,l,c,n,o);if((0===d||0===p)&&(d=Math.max(d,.01),p=Math.max(p,.01)),d>0&&p>0){let A=`rg|${Math.round(l)}x${Math.round(c)}|${Math.round(d)}x${Math.round(p)}|${JSON.stringify(e.stops)}`,t=di(e.stops,2*d),n=t[t.length-1],o=this.patternCache.get(A);if(!o){let e=(this.canvas.ownerDocument??document).createElement("canvas");e.width=Math.ceil(2*d),e.height=Math.ceil(2*p);let s=e.getContext("2d");if(s){let r=s.createRadialGradient(d,d,0,d,d,d);t.forEach(A=>r.addColorStop(A.stop,bs(A.color))),s.fillStyle=r,d!==p&&s.scale(1,p/d),s.fillRect(0,0,2*d,2*d),o=this.ctx.createPattern(e,"no-repeat"),this.patternCache.set(A,o)}}o&&(this.path(s),this.ctx.save(),this.ctx.clip(),n&&(this.ctx.fillStyle=bs(n.color),this.ctx.fill()),this.ctx.translate(r+l-d,i+c-p),this.ctx.fillStyle=o,this.ctx.fillRect(0,0,2*d,2*p),this.ctx.restore())}}renderRepeat(A,e,t,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,s),this.ctx.fill(),this.ctx.translate(-t,-s)}resizeImage(A,e,t,s){let r=(this.canvas.ownerDocument??document).createElement("canvas");r.width=Math.max(1,e),r.height=Math.max(1,t);let i=r.getContext("2d");return i?(2===s||1===s?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):3===s?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,t),r):A}path(A){Nc(this.ctx,A)}},Xc=(A,e)=>{switch(e){case 0:return zc(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return zc(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return zc(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return zc(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},$c=(A,e)=>{switch(e){case 0:return zc(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return zc(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return zc(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return zc(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},Yc=(A,e)=>{switch(e){case 0:return zc(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return zc(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return zc(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return zc(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},Wc=(A,e)=>{switch(e){case 0:return Jc(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Jc(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Jc(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Jc(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},Jc=(A,e)=>{let t=[];return Yl(A)?t.push(A.subdivide(.5,!1)):t.push(A),Yl(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},zc=(A,e,t,s)=>{let r=[];return Yl(A)?r.push(A.subdivide(.5,!1)):r.push(A),Yl(t)?r.push(t.subdivide(.5,!0)):r.push(t),Yl(s)?r.push(s.subdivide(.5,!0).reverse()):r.push(s),Yl(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},_c=class{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,t){this.pathCallbacks.path(Xc(t,e)),this.ctx.fillStyle=bs(A),this.ctx.fill()}async renderDoubleBorder(A,e,t,s){if(e<3)return void await this.renderSolidBorder(A,t,s);let r=$c(s,t);this.pathCallbacks.path(r),this.ctx.fillStyle=bs(A),this.ctx.fill();let i=Yc(s,t);this.pathCallbacks.path(i),this.ctx.fill()}async renderDashedDottedBorder(A,e,t,s,r){this.ctx.save();let i,n,o,a,l,c=Wc(s,t),d=Xc(s,t);2===r&&(this.pathCallbacks.path(d),this.ctx.clip()),Yl(d[0])?(i=d[0].start.x,n=d[0].start.y):(i=d[0].x,n=d[0].y),Yl(d[1])?(o=d[1].end.x,a=d[1].end.y):(o=d[1].x,a=d[1].y),l=0===t||2===t?Math.abs(i-o):Math.abs(n-a),this.ctx.beginPath(),3===r?this.pathCallbacks.formatPath(c):this.pathCallbacks.formatPath(d.slice(0,2));let p=e<3?3*e:2*e,h=e<3?2*e:e;3===r&&(p=e,h=e);let u=!0;if(l<=2*p)u=!1;else if(l<=2*p+h){let A=l/(2*p+h);p*=A,h*=A}else{let A=Math.floor((l+h)/(p+h)),e=(l-A*p)/(A-1),t=(l-(A+1)*p)/A;h=t<=0||Math.abs(h-e)<Math.abs(h-t)?e:t}if(u&&(3===r?this.ctx.setLineDash([0,p+h]):this.ctx.setLineDash([p,h])),3===r?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=bs(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===r){if(Yl(d[0])){let A=d[3],e=d[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new Gl(A.end.x,A.end.y),new Gl(e.start.x,e.start.y)]),this.ctx.stroke()}if(Yl(d[1])){let A=d[1],e=d[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new Gl(A.end.x,A.end.y),new Gl(e.start.x,e.start.y)]),this.ctx.stroke()}}this.ctx.restore()}},jc=class{constructor(A){this.ctx=A}renderBorderImage(A,e,t,s,r,i,n,o){let a=e.naturalWidth||e.width,l=e.naturalHeight||e.height;if(a<=0||l<=0)return;let c=Math.min("percent"===t.unit?t.top/100*l:Math.min(t.top,l),l),d=Math.min("percent"===t.unit?t.right/100*a:Math.min(t.right,a),a),p=Math.min("percent"===t.unit?t.bottom/100*l:Math.min(t.bottom,l),l),h=Math.min("percent"===t.unit?t.left/100*a:Math.min(t.left,a),a),{left:u,top:g,width:B,height:w}=A;if(B<=0||w<=0)return;let f=Math.min(r,w),m=Math.min(i,B),b=Math.min(n,w-f),C=Math.min(o,B-m);this.drawRegion(e,0,0,h,c,u,g,C,f),this.drawRegion(e,a-d,0,d,c,u+B-m,g,m,f),this.drawRegion(e,a-d,l-p,d,p,u+B-m,g+w-b,m,b),this.drawRegion(e,0,l-p,h,p,u,g+w-b,C,b);let y=[{sx:h,sy:0,sw:a-h-d,sh:c,dx:u+C,dy:g,dw:B-C-m,dh:f,repeat:s.horizontal},{sx:a-d,sy:c,sw:d,sh:l-c-p,dx:u+B-m,dy:g+f,dw:m,dh:w-f-b,repeat:s.vertical},{sx:h,sy:l-p,sw:a-h-d,sh:p,dx:u+C,dy:g+w-b,dw:B-C-m,dh:b,repeat:s.horizontal},{sx:0,sy:c,sw:h,sh:l-c-p,dx:u,dy:g+f,dw:C,dh:w-f-b,repeat:s.vertical}];for(let A of y){if(A.sw<=0||A.sh<=0||A.dw<=0||A.dh<=0)continue;let t=A.dw>=A.dh;0===A.repeat?this.ctx.drawImage(e,A.sx,A.sy,A.sw,A.sh,A.dx,A.dy,A.dw,A.dh):(1===A.repeat||2===A.repeat)&&this.drawRepeatedEdge(e,A,t,2===A.repeat)}if(t.fill){let A=h,t=c,s=a-h-d,r=l-c-p,i=u+C,n=g+f,o=B-C-m,y=w-f-b;this.drawRegion(e,A,t,s,r,i,n,o,y)}}drawRegion(A,e,t,s,r,i,n,o,a){s>0&&r>0&&o>0&&a>0&&this.ctx.drawImage(A,e,t,s,r,i,n,o,a)}drawRepeatedEdge(A,e,t,s){let r,i,n=t?e.sw:e.sh,o=t?e.dw:e.dh;if(!(n<=0||o<=0)){s?(i=Math.max(1,Math.round(o/n)),r=o/i):(r=n,i=Math.ceil(o/r)),this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(e.dx,e.dy,e.dw,e.dh),this.ctx.clip();for(let s=0;s<i;s++){let i=s*r,n=o-i,a=Math.min(r,n);if(a<=0)break;t?this.ctx.drawImage(A,e.sx,e.sy,e.sw,e.sh,e.dx+i,e.dy,a,e.dh):this.ctx.drawImage(A,e.sx,e.sy,e.sw,e.sh,e.dx,e.dy+i,e.dw,a)}this.ctx.restore()}}},Zc=class{constructor(A,e){this.activeEffects=[],this.didSave=!1,this.saveAtDepth=-1,this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();this.didSave=!1,this.saveAtDepth=-1;let e=A=>ic(A)||nc(A)||ac(A),t=A.reduceRight((A,t,s)=>-1!==A?A:e(t)?s:-1,-1);for(let s=0;s<A.length;s++){let r=A[s];e(r)&&(this.didSave||(this.ctx.save(),this.didSave=!0),s===t&&(this.saveAtDepth=this.activeEffects.length)),this.applyEffect(r)}}applyEffect(A){ic(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)):nc(A)?(this.pathCallback.path(A.path),this.ctx.clip()):ac(A)?A.applyClip(this.ctx):oc(A)?this.ctx.globalAlpha*=A.opacity:lc(A)?this.ctx.globalCompositeOperation=A.compositeOperation:cc(A)&&(this.ctx.filter=A.safeFilterString||"none",A.shadow&&(this.ctx.shadowOffsetX=A.shadow.offsetX,this.ctx.shadowOffsetY=A.shadow.offsetY,this.ctx.shadowBlur=A.shadow.blur,this.ctx.shadowColor=A.shadow.color)),this.activeEffects.push(A)}popEffect(){0!==this.activeEffects.length&&(this.didSave&&this.activeEffects.length-1===this.saveAtDepth&&(this.ctx.restore(),this.didSave=!1,this.saveAtDepth=-1),this.activeEffects.pop(),!this.didSave&&0===this.activeEffects.length&&(this.ctx.globalAlpha=1,this.ctx.globalCompositeOperation="source-over",this.ctx.filter="none",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0,this.ctx.shadowColor="rgba(0, 0, 0, 0)"))}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}},qc=(A,e,t,s,r)=>{let i=0,n=0,o=A,a=e,l=t.left,c=t.top,d=t.width,p=t.height,h=d/p,u=o/a,g=r?ps(r[0],1):.5,B=r?ps(r[1],1):.5;return 2===s?u>h?(p=d/u,c+=(t.height-p)*B):(d=p*u,l+=(t.width-d)*g):4===s?u>h?(o=a*h,i+=(A-o)*g):(a=o/h,n+=(e-a)*B):8===s?(o>d?(i+=(o-d)*g,o=d):(l+=(d-o)*g,d=o),a>p?(n+=(a-p)*B,a=p):(c+=(p-a)*B,p=a)):16===s&&((u>h?d:p*u)<(o>d?o:d)?u>h?(p=d/u,c+=(t.height-p)*B):(d=p*u,l+=(t.width-d)*g):(o>d?(i+=(o-d)*g,o=d):(l+=(d-o)*g,d=o),a>p?(n+=(a-p)*B,a=p):(c+=(p-a)*B,p=a))),{sx:i,sy:n,sw:o,sh:a,dx:l,dy:c,dw:d,dh:p}},Ad=(A,e,t)=>A.height<t?new WA(A.left,e.top,A.width,e.height):A,ed=(A,e,t,s)=>{let r=[],i=e.split("\n");for(let e of i){if(s){r.push(e);continue}let i=e.split(/(\s+)/),n="";for(let e of i){let s=n+e;A.measureText(s).width<=t||""===n?n=s:(r.push(n),n=e)}r.push(n)}return r},td=A=>A instanceof Sl||A instanceof Il||A instanceof Hl&&"radio"!==A.type&&"checkbox"!==A.type,sd=A=>{switch(A){case 1:return"center";case 2:return"right";default:return"left"}},rd=class A{constructor(A,e){this.context=A,this.options=e,this.canvas=e.canvas?e.canvas:document.createElement("canvas");let t=this.canvas.getContext("2d");if(!t)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=t,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.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",void 0!==e.imageSmoothing&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Gc({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new _c({ctx:this.ctx},{path:A=>this.path(A),formatPath:A=>this.formatPath(A)}),this.borderImageRenderer=new jc(this.ctx),this.effectsRenderer=new Zc({ctx:this.ctx},{path:A=>this.path(A)}),this.textRenderer=new Oc({ctx:this.ctx,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){A.container.debugRender,A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,t){let s=t.naturalWidth||A.intrinsicWidth,r=t.naturalHeight||A.intrinsicHeight;if(t&&s>0&&r>0){let i=bc(A),n=jl(e);this.path(n),this.ctx.save(),this.ctx.clip();let{sx:o,sy:a,sw:l,sh:c,dx:d,dy:p,dw:h,dh:u}=qc(s,r,i,A.styles.objectFit,A.styles.objectPosition);this.ctx.drawImage(t,o,a,l,c,d,p,h,u),this.ctx.restore()}}async renderNodeContent(e){this.effectsRenderer.applyEffects(e.getEffects(4));let t=e.container,s=e.curves,r=t.styles,i=bc(t);for(let A of t.textNodes)await this.textRenderer.renderTextNode(A,r,i);await async function(e,t,s,r,i,n,o,a){if(i instanceof wl)try{let A=await t.cache.match(i.src),s=e.imageSmoothingEnabled;2===o.imageRendering||1===o.imageRendering?e.imageSmoothingEnabled=!1:3===o.imageRendering&&(e.imageSmoothingEnabled=!0),a(i,n,A),e.imageSmoothingEnabled=s}catch(A){t.logger.error(`Error loading image ${i.src}`),t.onError?.(A instanceof Error?A:new Error(String(A)))}if(i instanceof fl&&a(i,n,i.canvas),i instanceof Cl)try{a(i,n,await t.cache.match(i.svg))}catch(A){t.logger.error(`Error loading svg ${i.svg.substring(0,255)}`),t.onError?.(A instanceof Error?A:new Error(String(A)))}if(i instanceof Ll&&i.tree){let r=await((e,t)=>new A(e,t))(t,{scale:s.scale,backgroundColor:i.backgroundColor,x:0,y:0,width:i.width,height:i.height}).render(i.tree);i.width&&i.height&&e.drawImage(r,0,0,i.width,i.height,i.bounds.left,i.bounds.top,i.bounds.width,i.bounds.height)}}(this.ctx,this.context,{scale:this.options.scale,backgroundColor:this.options.backgroundColor,x:this.options.x,y:this.options.y,width:this.options.width,height:this.options.height},0,t,s,r,(A,e,t)=>this.renderReplacedElement(A,e,t)),function(A,e,t,s,r){if(s instanceof Hl){let e=Math.min(s.bounds.width,s.bounds.height);"checkbox"===s.type&&s.checked?(A.save(),t([new Gl(s.bounds.left+.39363*e,s.bounds.top+.79*e),new Gl(s.bounds.left+.16*e,s.bounds.top+.5549*e),new Gl(s.bounds.left+.27347*e,s.bounds.top+.44071*e),new Gl(s.bounds.left+.39694*e,s.bounds.top+.5649*e),new Gl(s.bounds.left+.72983*e,s.bounds.top+.23*e),new Gl(s.bounds.left+.84*e,s.bounds.top+.34085*e),new Gl(s.bounds.left+.39363*e,s.bounds.top+.79*e)]),A.fillStyle=bs(kl),A.fill(),A.restore()):"radio"===s.type&&s.checked&&(A.save(),A.beginPath(),A.arc(s.bounds.left+e/2,s.bounds.top+e/2,e/4,0,2*Math.PI,!0),A.fillStyle=bs(kl),A.fill(),A.restore())}if(td(s)&&s.value.length){let[i]=e.createFontStyle(r);A.font=i;let n=ps(r.fontSize,0),{baseline:o,height:a}=Ic(A,n);A.fillStyle=s instanceof Hl&&s.isPlaceholder?bs(1970632191):bs(r.color),A.textBaseline="alphabetic",A.textAlign=sd(s.styles.textAlign);let l=bc(s),c=s instanceof Hl?Ad(l,mc(s),a):l,d=0;switch(s.styles.textAlign){case 1:d+=l.width/2;break;case 2:d+=l.width}let p=0;s instanceof Hl&&(p=(l.height-a)/2);let h=l.add(d,p,0,0);A.save(),t([new Gl(c.left,c.top),new Gl(c.left+c.width,c.top),new Gl(c.left+c.width,c.top+c.height),new Gl(c.left,c.top+c.height)]),A.clip();let u=ed(A,s.value,l.width,"pre"===r.whiteSpace||"nowrap"===r.whiteSpace),g=Fn(r.lineHeight,n);u.forEach((t,s)=>{let i=h.left,n=A.measureText(t).width;switch(r.textAlign){case 1:i+=(l.width-n)/2;break;case 2:i+=l.width-n}let a=new WA(i,h.top+s*g,0,0);e.renderTextWithLetterSpacing(new rl(t,a),r.letterSpacing,o,r.writingMode)}),A.restore(),A.textBaseline="alphabetic",A.textAlign="left"}}(this.ctx,this.textRenderer,this.path.bind(this),t,r),await async function(A,e,t,s,r,i){if(Yr(r.styles.display,2048))if(null!==r.styles.listStyleImage){let t=r.styles.listStyleImage;if(0===t.type){let s=t.url;try{let t=await e.cache.match(s);A.drawImage(t,r.bounds.left-(t.width+10),r.bounds.top)}catch(A){e.logger.error(`Error loading list-style-image ${s}`),e.onError?.(A instanceof Error?A:new Error(String(A)))}}}else if(s.listValue&&-1!==r.styles.listStyleType){let[e]=t.createFontStyle(i);A.font=e,A.fillStyle=bs(i.color),A.textBaseline="middle",A.textAlign="right";let n=new WA(r.bounds.left,r.bounds.top+ps(r.styles.paddingTop,r.bounds.width),r.bounds.width,Fn(i.lineHeight,i.fontSize.number)/2+1);t.renderTextWithLetterSpacing(new rl(s.listValue,n),i.letterSpacing,Fn(i.lineHeight,i.fontSize.number)/2+2,i.writingMode),A.textBaseline="bottom",A.textAlign="left"}}(this.ctx,this.context,this.textRenderer,e,t,r)}async renderStackContent(A){A.element.container.debugRender;let e=this.options.signal;await this.renderNodeBackgroundAndBorders(A.element);for(let t of A.negativeZIndex){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderNodeContent(A.element);for(let e of A.nonInlineLevel)await this.renderNode(e);for(let t of A.nonPositionedFloats){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let t of A.nonPositionedInlineLevel){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let e of A.inlineLevel)await this.renderNode(e);for(let t of A.zeroOrAutoZIndexOrTransformedOrOpacity){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let t of A.positiveZIndex){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}}mask(A){this.ctx.beginPath();let e=this.options.x,t=this.options.y;this.ctx.moveTo(e,t),this.ctx.lineTo(e+this.options.width,t),this.ctx.lineTo(e+this.options.width,t+this.options.height),this.ctx.lineTo(e,t+this.options.height),this.ctx.lineTo(e,t),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){Nc(this.ctx,A)}formatPath(A){Pc(this.ctx,A)}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));let e=A.container.styles,t=!ms(e.backgroundColor)||e.backgroundImage.length,s=nd(e),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}],i=vc(e.backgroundClip,0),n=id(i,A.curves);if((t||e.boxShadow.length)&&(s&&A.container.textNodes.length>0?await this.renderTextClippedBackground(A):(this.ctx.save(),this.path(n),this.ctx.clip(),ms(e.backgroundColor)||(this.ctx.fillStyle=bs(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore()),e.boxShadow.slice(0).reverse().forEach(e=>{this.ctx.save();let t=zl(A.curves),s=e.inset?0:1e4,r=Vl(t,-s+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(this.path(t),this.ctx.clip(),this.mask(r)):(this.mask(t),this.ctx.clip(),this.path(r)),this.ctx.shadowOffsetX=e.offsetX.number+s,this.ctx.shadowOffsetY=e.offsetY.number,this.ctx.shadowColor=bs(e.color),this.ctx.shadowBlur=e.blur.number,this.ctx.fillStyle=e.inset?bs(e.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()})),e.borderImageSource){let t=e.borderImageSource;if(0===t.type){let s=t.url;try{let t=await this.context.cache.match(s);if(t){let s=A.container.bounds;this.borderImageRenderer.renderBorderImage(s,t,e.borderImageSlice,e.borderImageRepeat,Math.max(0,e.borderTopWidth),Math.max(0,e.borderRightWidth),Math.max(0,e.borderBottomWidth),Math.max(0,e.borderLeftWidth))}}catch{this.context.logger.error(`Error loading border-image ${s}`)}}return}let o=0;for(let e of r){if(0!==e.style&&!ms(e.color)&&e.width>0){let t=async()=>{2===e.style?await this.borderRenderer.renderDashedDottedBorder(e.color,e.width,o,A.curves,2):3===e.style?await this.borderRenderer.renderDashedDottedBorder(e.color,e.width,o,A.curves,3):4===e.style?await this.borderRenderer.renderDoubleBorder(e.color,e.width,o,A.curves):await this.borderRenderer.renderSolidBorder(e.color,o,A.curves)},s=A.container.legendBounds;if(0===o&&s){let e=A.container.bounds,r=s.left-e.left,i=s.left+s.width-e.left;r>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(e.left,e.top,r,e.height),this.ctx.clip(),await t(),this.ctx.restore());let n=e.left+i,o=e.width-i;o>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(n,e.top,o,e.height),this.ctx.clip(),await t(),this.ctx.restore())}else await t()}o++}}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=bs(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));let e=fc(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}async renderTextClippedBackground(A){let e=A.container,t=e.styles,s=e.bounds;if(s.width<=0||s.height<=0)return;let r=(this.canvas.ownerDocument??document).createElement("canvas"),i=Math.ceil(s.width),n=Math.ceil(s.height);r.width=i,r.height=n;let o=r.getContext("2d");if(!o)return;let[a]=this.textRenderer.createFontStyle(t);o.font=a,o.textBaseline="alphabetic",o.textAlign="left",o.direction=1===t.direction?"rtl":"ltr";let l=Sc(o,t.fontSize.number),c=new Gc({ctx:o,context:this.context,canvas:r,options:{width:i,height:n,scale:1}});ms(t.backgroundColor)||(o.fillStyle=bs(t.backgroundColor),o.fillRect(0,0,i,n)),o.save(),o.translate(-s.left,-s.top),await c.renderBackgroundImage(e),o.restore(),o.globalCompositeOperation="destination-in",o.fillStyle="#000";let d=t.writingMode,p=t.letterSpacing;for(let A of e.textNodes)for(let e of A.textBounds){let A=e.bounds.left-s.left,t=e.bounds.top-s.top+l;p>0?this.renderTextMaskWithLetterSpacing(o,e,p,A,t,d):o.fillText(e.text,A,t)}this.ctx.drawImage(r,s.left,s.top)}renderTextMaskWithLetterSpacing(A,e,t,s,r,i){let n=al(e.text),o=s;for(let a of n){if(qn(i))return void A.fillText(e.text,s,r);A.fillText(a,o,r),o+=A.measureText(a).width+t}}},id=(A,e)=>{switch(A){case 0:return zl(e);case 2:return _l(e);default:return jl(e)}},nd=A=>A.backgroundClip.some(A=>3===A),od=class{constructor(A,e){this.context=A,this.options=e,this.canvas=e.canvas?e.canvas:document.createElement("canvas");let t=this.canvas.getContext("2d");if(!t)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=t,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){if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");let e=await tl(el(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A));return this.options.backgroundColor&&(this.ctx.fillStyle=bs(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}},ad=class{static{this.instances={}}constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug?(this.id,this.getTime()):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&"function"==typeof console.info&&(this.id,this.getTime())}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}},ld=class{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this._deferMode=!1,this._collectedUrls=new Set,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).`)}startDefer(){this._deferMode=!0}async preloadAll(A=10){this._deferMode=!1;let e=Array.from(this._collectedUrls);if(this._collectedUrls.clear(),0===e.length)return;let t=Math.max(1,Math.min(A,100));this.context.logger.debug(`Preloading ${e.length} image(s) with concurrency ${t}`);for(let A=0;A<e.length;A+=t){let s=e.slice(A,A+t).map(A=>this._addImageWithPending(A));await Promise.allSettled(s)}}addImage(A){if(this._deferMode)return!this.has(A)&&(Bd(A)||hd(A))&&this._collectedUrls.add(A),Promise.resolve();let e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){let e=this._cache.get(A);return this._cache.delete(A),this._cache.set(A,e),Promise.resolve()}return Bd(A)||hd(A)?this._addImageWithPending(A):Promise.resolve()}_addImageWithPending(A){let e=this._pendingOperations.get(A);if(e)return e;let t=this._addImageInternal(A);return this._pendingOperations.set(A,t),t.finally(()=>{this._pendingOperations.delete(A)}),t}async _addImageInternal(A){let e=this._options.imageTimeout??15e3,t=this.withTimeout(this.loadImage(A),e,`Timed out (${e}ms) loading image`);t.catch(e=>{this.context.logger.error(`Failed to load image ${A}: ${e instanceof Error?e.message:"Unknown error"}`)}),this.set(A,t)}withTimeout(A,e,t){if(e<=0)return A;let s,r=new Promise((A,r)=>{s=setTimeout(()=>r(new Error(t)),e)});return Promise.race([A,r]).finally(()=>{void 0!==s&&clearTimeout(s)})}match(A){let e=this._cache.get(A);if(e)return this._cache.delete(A),this._cache.set(A,e),e.value}set(A,e){if(this._cache.has(A))this._cache.delete(A);else if(this._cache.size>=this.maxSize){let A=this._cache.keys().next().value;void 0!==A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}this._cache.set(A,{value:e})}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){let e=this.context.originChecker,t=A=>e.isSameOrigin(A),s="function"==typeof this._options.customIsSameOrigin?await this._options.customIsSameOrigin(A,t):t(A),r=!s&&!1===this._options.allowTaint&&!ud(A)&&!Bd(A)&&"string"!=typeof this._options.proxy,i=!ud(A)&&(!0===this._options.useCORS||r)&&sl.SUPPORT_CORS_IMAGES&&!s,n=!ud(A)&&!s&&!Bd(A)&&"string"==typeof this._options.proxy&&sl.SUPPORT_CORS_XHR&&!i;if(!(s||!1!==this._options.allowTaint||ud(A)||Bd(A)||n||i))return;let o=A;return n&&(o=await this.proxy(o)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((A,e)=>{let t=new Image;t.onload=()=>A(t),t.onerror=e,(gd(o)||i)&&(t.crossOrigin="anonymous"),t.src=o,!0===t.complete&&setTimeout(()=>A(t),500)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Array.from(this._cache.keys()))}proxy(A){let e=this._options.proxy;if(!e)throw new Error("No proxy defined");let t=A.substring(0,256);return new Promise((s,r)=>{let i=sl.SUPPORT_RESPONSE_TYPE?"blob":"text",n=new XMLHttpRequest;n.onload=()=>{if(200===n.status)if("text"===i)s(n.response);else{let A=new FileReader;A.addEventListener("load",()=>s(A.result),!1),A.addEventListener("error",A=>r(A),!1),A.readAsDataURL(n.response)}else r(`Failed to proxy resource ${t} with status code ${n.status}`)},n.onerror=r;let o=e.indexOf("?")>-1?"&":"?";if(n.open("GET",`${e}${o}url=${encodeURIComponent(A)}&responseType=${i}`),"text"!==i&&n instanceof XMLHttpRequest&&(n.responseType=i),this._options.imageTimeout){let A=this._options.imageTimeout;n.timeout=A,n.ontimeout=()=>r(`Timed out (${A}ms) proxying ${t}`)}n.send()})}},cd=/^data:image\/svg\+xml/i,dd=/^data:image\/.*;base64,/i,pd=/^data:image\/.*/i,hd=A=>sl.SUPPORT_SVG_DRAWING||!wd(A),ud=A=>pd.test(A),gd=A=>dd.test(A),Bd=A=>"blob"===A.substring(0,4),wd=A=>"svg"===A.slice(-3).toLowerCase()||cd.test(A),fd=class{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}},md=class A{static{this.instanceCount=1}constructor(e,t,s){this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.config=s,this.logger=new ad({id:this.instanceName,enabled:e.logging}),this.originChecker=new fd(s.window),this.cache=e.cache??s.cache??new ld(this,e),this.onError=e.onError}},bd=A=>{if(A?.aborted)throw new DOMException("The operation was aborted.","AbortError")},Cd=A=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{let t=A[e];if(null!=t&&"number"!=typeof t){let s=Number(t);Number.isNaN(s)||(A[e]=s)}})},yd=A=>({allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin,maxCacheSize:A.maxCacheSize}),Qd=(A,e,t)=>({logging:A.logging??!0,cache:A.cache??e.cache,...t}),xd=(A,e)=>{let t=e;return{windowWidth:A.windowWidth??t.innerWidth??800,windowHeight:A.windowHeight??t.innerHeight??600,scrollX:A.scrollX??t.pageXOffset??0,scrollY:A.scrollY??t.pageYOffset??0}},Fd=(A,e,t)=>({allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:t,copyStyles:t,cspNonce:A.cspNonce??e.cspNonce}),Ud=(A,e,t,s,r,i,n)=>({canvas:A.canvas,backgroundColor:e,signal:A.signal,scale:A.scale??n??1,x:(A.x??0)+t,y:(A.y??0)+s,width:A.width??Math.ceil(r),height:A.height??Math.ceil(i),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality}),vd=(A,e,t)=>{let s=e.ownerDocument,r=s.documentElement?Cr(A,getComputedStyle(s.documentElement).backgroundColor):yr.TRANSPARENT,i=s.body?Cr(A,getComputedStyle(s.body).backgroundColor):yr.TRANSPARENT,n="string"==typeof t?Cr(A,t):null===t?yr.TRANSPARENT:4294967295;return e===s.documentElement?ms(r)?ms(i)?n:i:r:n},Ed=async(A,e,t)=>{if(Cd(e),!e.skipValidation){let t=e.validator||VA(),s=t.validateElement(A);if(!s.valid)throw new Error(s.error);let r=t.validateOptions(e);if(!r.valid)throw new Error(`Invalid options: ${r.error}`)}if(!A||"object"!=typeof A)throw new Error("Invalid element provided as first argument");let s=A.ownerDocument;if(!s)throw new Error("Element is not attached to a Document");let r=s.defaultView;if(!r)throw new Error("Document is not attached to a Window");let i=Qd(e,t,yd(e)),n=xd(e,r),o=new WA(n.scrollX,n.scrollY,n.windowWidth,n.windowHeight),a=new md(i,o,t),l=e.enablePerformanceMonitoring??e.logging??!1,c=new YA(a,l);c.start("total",{width:n.windowWidth,height:n.windowHeight});let d=e.signal;bd(d);let p=e.foreignObjectRendering??!1,h=Fd(e,t,p);a.logger.debug(`Starting document clone with size ${o.width}x${o.height} scrolled to ${-o.left},${-o.top}`),c.start("clone");let u=new oa(a,A,h),g=u.clonedReferenceElement;if(!g)throw new Error("Unable to find element in cloned iframe");let B=await u.toIFrame(s,o);c.end("clone"),d?.aborted&&((e.removeContainer??!0)&&oa.destroy(B),bd(d));let w,f,{width:m,height:b,left:C,top:y}=Hr(g)||Er(g)?zA(g.ownerDocument):JA(a,g),Q=vd(a,g,e.backgroundColor),x=Ud(e,Q,C,y,m,b,r.devicePixelRatio??1);try{return p?(a.logger.debug("Document cloned, using foreign object rendering"),c.start("render-foreignobject"),w=await new od(a,x).render(g),c.end("render-foreignobject")):(a.logger.debug(`Document cloned, element located at ${C},${y} with size ${m}x${b} using computed rendering`),a.logger.debug("Starting DOM parsing"),c.start("parse"),bd(d),a.cache.startDefer(),f=Rl(a,g),c.end("parse"),c.start("preload"),await a.cache.preloadAll(),c.end("preload"),Q===f.styles.backgroundColor&&(f.styles.backgroundColor=yr.TRANSPARENT),a.logger.debug(`Starting renderer for element at ${x.x},${x.y} with size ${x.width}x${x.height}`),c.start("render"),bd(d),w=await new rd(a,x).render(f),c.end("render")),c.start("cleanup"),(e.removeContainer??!0)&&(oa.destroy(B)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.end("cleanup"),c.end("total"),a.logger.debug("Finished rendering"),l&&c.logSummary(),w}finally{f&&f.restoreTree()}},kd=(A,e={},t)=>Ed(A,e,t||XA.fromElement(A,{cspNonce:e.cspNonce,cache:e.cache}))}),Sd=t(()=>{Hd={"panel.title":"Feedbacks","panel.ariaLabel":"Siteping feedback panel","panel.feedbackList":"Feedback list","panel.loading":"Loading feedbacks","panel.close":"Close panel","panel.deleteAll":"Delete all","panel.deleteAllConfirmTitle":"Delete all","panel.deleteAllConfirmMessage":"Delete all feedbacks for this project? This action cannot be undone.","panel.search":"Search...","panel.searchAria":"Search feedbacks","panel.filterAll":"All","panel.loadError":"Failed to load","panel.retry":"Retry","panel.empty":"No feedback yet","panel.showMore":"Show more","panel.showLess":"Show less","panel.resolve":"Resolve","panel.reopen":"Reopen","panel.delete":"Delete","panel.cancel":"Cancel","panel.confirmDelete":"Delete","panel.loadMore":"Load more ({remaining} remaining)","panel.statusAll":"All","panel.statusOpen":"Open","panel.statusResolved":"Resolved","panel.statusInProgress":"In progress","panel.statusWontFix":"Won't fix","type.label":"Type","type.question":"Question","type.change":"Change","type.bug":"Bug","type.other":"Other","status.label":"Status","scope.label":"Scope","scope.thisPage":"This page","scope.thisType":"This type","scope.all":"All pages","panel.filterMine":"Mine","panel.filterMineHint":"Only the feedback sent from this browser","fab.aria":"Siteping \u2014 Feedback menu","fab.messages":"Show sidebar","fab.annotate":"Create new annotation","fab.annotations":"Show or hide markers","annotator.instruction":"Draw a rectangle on the area to comment \u2014 or press Enter to comment on the last focused element","annotator.instantInstruction":"Comment on the clicked spot","annotator.touchInstruction":"Tap an element or drag to select an area","annotator.cancel":"Cancel","popup.ariaLabel":"Feedback form","popup.placeholder":"Describe your feedback...","popup.textareaAria":"Feedback message","popup.submitHintMac":"\u2318+Enter to send","popup.submitHintOther":"Ctrl+Enter to send","popup.cancel":"Cancel","popup.submit":"Send","identity.title":"Identify yourself","identity.nameLabel":"Name","identity.namePlaceholder":"Your name","identity.emailLabel":"Email","identity.emailPlaceholder":"your@email.com","identity.cancel":"Cancel","identity.submit":"Continue","marker.approximate":"Approximate position (confidence: {confidence}%)","marker.aria":"Feedback #{number}: {type} \u2014 {message}","marker.count":"{count} feedback markers displayed","fab.badge":"{count} unresolved feedbacks","feedback.sent.confirmation":"Feedback sent successfully","feedback.error.message":"Failed to send feedback","feedback.deleted.confirmation":"Feedback deleted","badge.count":"{count} unresolved feedbacks","bulk.selectAll":"Select all","bulk.selected":"{count} selected","bulk.resolve":"Resolve","bulk.delete":"Delete","bulk.deselect":"Deselect","sort.newest":"Newest first","sort.oldest":"Oldest first","sort.byType":"By type","sort.openFirst":"Open first","sort.label":"Sort","group.byPage":"By page","group.feedbacks":"{count} feedbacks","stats.open":"Open","stats.resolved":"Resolved","stats.bugs":"Bugs","stats.progress":"{percent}% resolved","detail.back":"Back","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Message","detail.screenshot":"Screenshot","detail.screenshotAlt":"Screenshot of the annotated area","detail.metadata":"Details","detail.annotation":"Annotation","detail.page":"Page","detail.author":"Author","detail.date":"Created","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Resolved at","detail.closedAt":"Closed at","detail.goToAnnotation":"Go to annotation","detail.element":"Element","detail.selector":"Selector","detail.position":"Position","detail.resolve":"Resolve","detail.reopen":"Reopen","detail.delete":"Delete","detail.diagnostics":"Diagnostics","detail.diagnostics.console":"Console","detail.diagnostics.network":"Failed network","detail.diagnostics.expand":"Show diagnostics","detail.diagnostics.collapse":"Hide diagnostics","detail.diagnostics.noEntries":"No entries","comments.title":"Replies","comments.placeholder":"Reply to the team...","comments.error":"Not sent. Try again.","comments.full":"This thread is full.","comments.team":"Team","shortcuts.title":"Keyboard shortcuts","shortcuts.navigate":"Navigate feedbacks","shortcuts.resolve":"Resolve / Reopen","shortcuts.delete":"Delete","shortcuts.search":"Focus search","shortcuts.select":"Toggle selection","shortcuts.help":"Show shortcuts","shortcuts.close":"Close","shortcuts.hint":"Keyboard shortcuts","export.label":"Export","export.csv":"Export CSV","export.json":"Export JSON"}}),Ld={};s(Ld,{de:()=>Md});var Md,Dd=t(()=>{Md={"panel.title":"Feedbacks","panel.ariaLabel":"Siteping-Feedback-Panel","panel.feedbackList":"Feedbackliste","panel.loading":"Feedbacks werden geladen","panel.close":"Panel schlie\xdfen","panel.deleteAll":"Alle l\xf6schen","panel.deleteAllConfirmTitle":"Alle l\xf6schen","panel.deleteAllConfirmMessage":"Alle Feedbacks f\xfcr dieses Projekt l\xf6schen? Diese Aktion kann nicht r\xfcckg\xe4ngig gemacht werden.","panel.search":"Suchen...","panel.searchAria":"Feedbacks suchen","panel.filterAll":"Alle","panel.loadError":"Laden fehlgeschlagen","panel.retry":"Erneut versuchen","panel.empty":"Noch kein Feedback","panel.showMore":"Mehr anzeigen","panel.showLess":"Weniger anzeigen","panel.resolve":"Erledigen","panel.reopen":"Wieder \xf6ffnen","panel.delete":"L\xf6schen","panel.cancel":"Abbrechen","panel.confirmDelete":"L\xf6schen","panel.loadMore":"Mehr laden ({remaining} verbleibend)","panel.statusAll":"Alle","panel.statusOpen":"Offen","panel.statusResolved":"Erledigt","panel.statusInProgress":"In Arbeit","panel.statusWontFix":"Wird nicht behoben","type.label":"Typ","type.question":"Frage","type.change":"\xc4nderung","type.bug":"Fehler","type.other":"Sonstiges","status.label":"Status","scope.label":"Bereich","scope.thisPage":"Diese Seite","scope.thisType":"Dieser Typ","scope.all":"Alle Seiten","panel.filterMine":"Meine","panel.filterMineHint":"Nur das Feedback, das von diesem Browser gesendet wurde","fab.aria":"Siteping \u2014 Feedback-Men\xfc","fab.messages":"Seitenleiste anzeigen","fab.annotate":"Neue Anmerkung erstellen","fab.annotations":"Markierungen ein- oder ausblenden","annotator.instruction":"Zeichne ein Rechteck um den Bereich, den du kommentieren m\xf6chtest \u2014 oder dr\xfccke die Eingabetaste, um das zuletzt fokussierte Element zu kommentieren","annotator.instantInstruction":"Kommentar zur angeklickten Stelle","annotator.touchInstruction":"Tippe auf ein Element oder ziehe, um einen Bereich auszuw\xe4hlen","annotator.cancel":"Abbrechen","popup.ariaLabel":"Feedbackformular","popup.placeholder":"Beschreibe dein Feedback...","popup.textareaAria":"Feedbacknachricht","popup.submitHintMac":"\u2318+Enter zum Senden","popup.submitHintOther":"Strg+Enter zum Senden","popup.cancel":"Abbrechen","popup.submit":"Senden","identity.title":"Identifiziere dich","identity.nameLabel":"Name","identity.namePlaceholder":"Dein Name","identity.emailLabel":"E-Mail","identity.emailPlaceholder":"deine@email.de","identity.cancel":"Abbrechen","identity.submit":"Fortfahren","marker.approximate":"Ungef\xe4hre Position (Konfidenz: {confidence}%)","marker.aria":"Feedback #{number}: {type} \u2014 {message}","marker.count":"{count} Feedback-Markierungen angezeigt","fab.badge":"{count} unerledigte Feedbacks","feedback.sent.confirmation":"Feedback erfolgreich gesendet","feedback.error.message":"Feedback konnte nicht gesendet werden","feedback.deleted.confirmation":"Feedback gel\xf6scht","badge.count":"{count} unerledigte Feedbacks","bulk.selectAll":"Alle ausw\xe4hlen","bulk.selected":"{count} ausgew\xe4hlt","bulk.resolve":"Erledigen","bulk.delete":"L\xf6schen","bulk.deselect":"Abw\xe4hlen","sort.newest":"Neueste zuerst","sort.oldest":"\xc4lteste zuerst","sort.byType":"Nach Typ","sort.openFirst":"Offene zuerst","sort.label":"Sortieren","group.byPage":"Nach Seite","group.feedbacks":"{count} Feedbacks","stats.open":"Offen","stats.resolved":"Erledigt","stats.bugs":"Fehler","stats.progress":"{percent}% erledigt","detail.back":"Zur\xfcck","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Nachricht","detail.screenshot":"Screenshot","detail.screenshotAlt":"Screenshot des markierten Bereichs","detail.metadata":"Details","detail.annotation":"Anmerkung","detail.page":"Seite","detail.author":"Autor","detail.date":"Erstellt","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Erledigt am","detail.closedAt":"Geschlossen am","detail.goToAnnotation":"Zur Anmerkung","detail.element":"Element","detail.selector":"Selektor","detail.position":"Position","detail.resolve":"Erledigen","detail.reopen":"Wieder \xf6ffnen","detail.delete":"L\xf6schen","detail.diagnostics":"Diagnose","detail.diagnostics.console":"Konsole","detail.diagnostics.network":"Fehlgeschlagenes Netzwerk","detail.diagnostics.expand":"Diagnose anzeigen","detail.diagnostics.collapse":"Diagnose ausblenden","detail.diagnostics.noEntries":"Keine Eintr\xe4ge","comments.title":"Antworten","comments.placeholder":"Dem Team antworten...","comments.error":"Nicht gesendet. Versuch es noch einmal.","comments.full":"Dieser Verlauf ist voll.","comments.team":"Team","shortcuts.title":"Tastenk\xfcrzel","shortcuts.navigate":"Feedbacks navigieren","shortcuts.resolve":"Erledigen / Wieder \xf6ffnen","shortcuts.delete":"L\xf6schen","shortcuts.search":"Suche fokussieren","shortcuts.select":"Auswahl umschalten","shortcuts.help":"K\xfcrzel anzeigen","shortcuts.close":"Schlie\xdfen","shortcuts.hint":"Tastenk\xfcrzel","export.label":"Exportieren","export.csv":"CSV exportieren","export.json":"JSON exportieren"}}),Kd={};s(Kd,{es:()=>Td});var Td,Rd=t(()=>{Td={"panel.title":"Comentarios","panel.ariaLabel":"Panel de comentarios de Siteping","panel.feedbackList":"Lista de comentarios","panel.loading":"Cargando comentarios","panel.close":"Cerrar panel","panel.deleteAll":"Eliminar todo","panel.deleteAllConfirmTitle":"Eliminar todo","panel.deleteAllConfirmMessage":"\xbfEliminar todos los comentarios de este proyecto? Esta acci\xf3n no se puede deshacer.","panel.search":"Buscar...","panel.searchAria":"Buscar comentarios","panel.filterAll":"Todos","panel.loadError":"No se pudo cargar","panel.retry":"Reintentar","panel.empty":"A\xfan no hay comentarios","panel.showMore":"Mostrar m\xe1s","panel.showLess":"Mostrar menos","panel.resolve":"Resolver","panel.reopen":"Reabrir","panel.delete":"Eliminar","panel.cancel":"Cancelar","panel.confirmDelete":"Eliminar","panel.loadMore":"Cargar m\xe1s ({remaining} restantes)","panel.statusAll":"Todos","panel.statusOpen":"Abierto","panel.statusResolved":"Resuelto","panel.statusInProgress":"En curso","panel.statusWontFix":"No se corregir\xe1","type.label":"Tipo","type.question":"Pregunta","type.change":"Cambio","type.bug":"Error","type.other":"Otro","status.label":"Estado","scope.label":"\xc1mbito","scope.thisPage":"Esta p\xe1gina","scope.thisType":"Este tipo","scope.all":"Todas las p\xe1ginas","panel.filterMine":"M\xedos","panel.filterMineHint":"Solo los comentarios enviados desde este navegador","fab.aria":"Siteping \u2014 Men\xfa de comentarios","fab.messages":"Mostrar barra lateral","fab.annotate":"Crear nueva anotaci\xf3n","fab.annotations":"Mostrar u ocultar marcadores","annotator.instruction":"Dibuja un rect\xe1ngulo sobre el \xe1rea que quieres comentar \u2014 o pulsa Intro para comentar el \xfaltimo elemento enfocado","annotator.instantInstruction":"Comentar el punto seleccionado","annotator.touchInstruction":"Toca un elemento o arrastra para seleccionar un \xe1rea","annotator.cancel":"Cancelar","popup.ariaLabel":"Formulario de comentarios","popup.placeholder":"Describe tu comentario...","popup.textareaAria":"Mensaje de comentario","popup.submitHintMac":"\u2318+Enter para enviar","popup.submitHintOther":"Ctrl+Enter para enviar","popup.cancel":"Cancelar","popup.submit":"Enviar","identity.title":"Identif\xedcate","identity.nameLabel":"Nombre","identity.namePlaceholder":"Tu nombre","identity.emailLabel":"Correo electr\xf3nico","identity.emailPlaceholder":"tu@email.com","identity.cancel":"Cancelar","identity.submit":"Continuar","marker.approximate":"Posici\xf3n aproximada (confianza: {confidence}%)","marker.aria":"Comentario #{number}: {type} \u2014 {message}","marker.count":"{count} marcadores de feedback mostrados","fab.badge":"{count} comentarios sin resolver","feedback.sent.confirmation":"Comentario enviado correctamente","feedback.error.message":"No se pudo enviar el comentario","feedback.deleted.confirmation":"Comentario eliminado","badge.count":"{count} comentarios sin resolver","bulk.selectAll":"Seleccionar todo","bulk.selected":"{count} seleccionados","bulk.resolve":"Resolver","bulk.delete":"Eliminar","bulk.deselect":"Deseleccionar","sort.newest":"M\xe1s recientes","sort.oldest":"M\xe1s antiguos","sort.byType":"Por tipo","sort.openFirst":"Abiertos primero","sort.label":"Ordenar","group.byPage":"Por p\xe1gina","group.feedbacks":"{count} comentarios","stats.open":"Abiertos","stats.resolved":"Resueltos","stats.bugs":"Errores","stats.progress":"{percent}% resueltos","detail.back":"Atr\xe1s","detail.title":"Comentario #{number}","detail.status":"Estado","detail.message":"Mensaje","detail.screenshot":"Captura","detail.screenshotAlt":"Captura del \xe1rea anotada","detail.metadata":"Detalles","detail.annotation":"Anotaci\xf3n","detail.page":"P\xe1gina","detail.author":"Autor","detail.date":"Creado","detail.viewport":"Viewport","detail.browser":"Navegador","detail.resolvedAt":"Resuelto el","detail.closedAt":"Cerrado el","detail.goToAnnotation":"Ir a la anotaci\xf3n","detail.element":"Elemento","detail.selector":"Selector","detail.position":"Posici\xf3n","detail.resolve":"Resolver","detail.reopen":"Reabrir","detail.delete":"Eliminar","detail.diagnostics":"Diagn\xf3stico","detail.diagnostics.console":"Consola","detail.diagnostics.network":"Red fallida","detail.diagnostics.expand":"Mostrar diagn\xf3stico","detail.diagnostics.collapse":"Ocultar diagn\xf3stico","detail.diagnostics.noEntries":"Sin entradas","comments.title":"Respuestas","comments.placeholder":"Responder al equipo...","comments.error":"No se envi\xf3. Int\xe9ntalo de nuevo.","comments.full":"Este hilo est\xe1 completo.","comments.team":"Equipo","shortcuts.title":"Atajos de teclado","shortcuts.navigate":"Navegar comentarios","shortcuts.resolve":"Resolver / Reabrir","shortcuts.delete":"Eliminar","shortcuts.search":"Buscar","shortcuts.select":"Alternar selecci\xf3n","shortcuts.help":"Mostrar atajos","shortcuts.close":"Cerrar","shortcuts.hint":"Atajos de teclado","export.label":"Exportar","export.csv":"Exportar CSV","export.json":"Exportar JSON"}}),Od={};s(Od,{fr:()=>Pd});var Pd,Nd=t(()=>{Pd={"panel.title":"Feedbacks","panel.ariaLabel":"Panneau de feedback Siteping","panel.feedbackList":"Liste des feedbacks","panel.loading":"Chargement des feedbacks","panel.close":"Fermer le panneau","panel.deleteAll":"Tout supprimer","panel.deleteAllConfirmTitle":"Tout supprimer","panel.deleteAllConfirmMessage":"Supprimer tous les feedbacks de ce projet ? Cette action est irr\xe9versible.","panel.search":"Rechercher...","panel.searchAria":"Rechercher dans les feedbacks","panel.filterAll":"Tous","panel.loadError":"Erreur de chargement","panel.retry":"R\xe9essayer","panel.empty":"Aucun feedback pour le moment","panel.showMore":"Voir plus","panel.showLess":"Voir moins","panel.resolve":"R\xe9soudre","panel.reopen":"Rouvrir","panel.delete":"Supprimer","panel.cancel":"Annuler","panel.confirmDelete":"Supprimer","panel.loadMore":"Voir plus ({remaining} restants)","panel.statusAll":"Tous","panel.statusOpen":"Ouvert","panel.statusResolved":"R\xe9solu","panel.statusInProgress":"En cours","panel.statusWontFix":"Sans suite","type.label":"Type","type.question":"Question","type.change":"Changement","type.bug":"Bug","type.other":"Autre","status.label":"Statut","scope.label":"Port\xe9e","scope.thisPage":"Cette page","scope.thisType":"Ce type","scope.all":"Toutes les pages","panel.filterMine":"Mes feedbacks","panel.filterMineHint":"Uniquement les feedbacks envoy\xe9s depuis ce navigateur","fab.aria":"Siteping \u2014 Menu feedback","fab.messages":"Afficher la barre lat\xe9rale","fab.annotate":"Cr\xe9er une nouvelle annotation","fab.annotations":"Afficher ou masquer les marqueurs","annotator.instruction":"Tracez un rectangle sur la zone \xe0 commenter \u2014 ou appuyez sur Entr\xe9e pour commenter le dernier \xe9l\xe9ment actif","annotator.instantInstruction":"Commenter l'endroit cliqu\xe9","annotator.touchInstruction":"Touchez un \xe9l\xe9ment ou faites glisser pour s\xe9lectionner une zone","annotator.cancel":"Annuler","popup.ariaLabel":"Formulaire de feedback","popup.placeholder":"D\xe9crivez votre retour...","popup.textareaAria":"Message de feedback","popup.submitHintMac":"\u2318+Entr\xe9e pour envoyer","popup.submitHintOther":"Ctrl+Entr\xe9e pour envoyer","popup.cancel":"Annuler","popup.submit":"Envoyer","identity.title":"Identifiez-vous","identity.nameLabel":"Nom","identity.namePlaceholder":"Votre nom","identity.emailLabel":"Email","identity.emailPlaceholder":"votre@email.com","identity.cancel":"Annuler","identity.submit":"Continuer","marker.approximate":"Position approximative (confiance : {confidence}%)","marker.aria":"Feedback n\xb0{number} : {type} \u2014 {message}","marker.count":"{count} marqueurs de feedback affich\xe9s","fab.badge":"{count} feedbacks non r\xe9solus","feedback.sent.confirmation":"Feedback envoy\xe9 avec succ\xe8s","feedback.error.message":"\xc9chec de l'envoi du feedback","feedback.deleted.confirmation":"Feedback supprim\xe9","badge.count":"{count} feedbacks non r\xe9solus","bulk.selectAll":"Tout s\xe9lectionner","bulk.selected":"{count} s\xe9lectionn\xe9(s)","bulk.resolve":"R\xe9soudre","bulk.delete":"Supprimer","bulk.deselect":"D\xe9s\xe9lectionner","sort.newest":"Plus r\xe9cents","sort.oldest":"Plus anciens","sort.byType":"Par type","sort.openFirst":"Ouverts d'abord","sort.label":"Trier","group.byPage":"Par page","group.feedbacks":"{count} feedbacks","stats.open":"Ouverts","stats.resolved":"R\xe9solus","stats.bugs":"Bugs","stats.progress":"{percent}% r\xe9solus","detail.back":"Retour","detail.title":"Feedback n\xb0{number}","detail.status":"Statut","detail.message":"Message","detail.screenshot":"Capture d'\xe9cran","detail.screenshotAlt":"Capture d'\xe9cran de la zone annot\xe9e","detail.metadata":"D\xe9tails","detail.annotation":"Annotation","detail.page":"Page","detail.author":"Auteur","detail.date":"Cr\xe9\xe9 le","detail.viewport":"Viewport","detail.browser":"Navigateur","detail.resolvedAt":"R\xe9solu le","detail.closedAt":"Cl\xf4tur\xe9 le","detail.goToAnnotation":"Aller \xe0 l'annotation","detail.element":"\xc9l\xe9ment","detail.selector":"S\xe9lecteur","detail.position":"Position","detail.resolve":"R\xe9soudre","detail.reopen":"Rouvrir","detail.delete":"Supprimer","detail.diagnostics":"Diagnostics","detail.diagnostics.console":"Console","detail.diagnostics.network":"R\xe9seau en \xe9chec","detail.diagnostics.expand":"Afficher les diagnostics","detail.diagnostics.collapse":"Masquer les diagnostics","detail.diagnostics.noEntries":"Aucune entr\xe9e","comments.title":"R\xe9ponses","comments.placeholder":"R\xe9pondre \xe0 l'\xe9quipe...","comments.error":"Non envoy\xe9. R\xe9essayez.","comments.full":"Ce fil est complet.","comments.team":"\xc9quipe","shortcuts.title":"Raccourcis clavier","shortcuts.navigate":"Naviguer les feedbacks","shortcuts.resolve":"R\xe9soudre / Rouvrir","shortcuts.delete":"Supprimer","shortcuts.search":"Rechercher","shortcuts.select":"S\xe9lectionner","shortcuts.help":"Raccourcis","shortcuts.close":"Fermer","shortcuts.hint":"Raccourcis clavier","export.label":"Exporter","export.csv":"Exporter CSV","export.json":"Exporter JSON"}}),Vd={};s(Vd,{it:()=>Gd});var Gd,Xd=t(()=>{Gd={"panel.title":"Feedback","panel.ariaLabel":"Pannello feedback di Siteping","panel.feedbackList":"Elenco feedback","panel.loading":"Caricamento feedback","panel.close":"Chiudi pannello","panel.deleteAll":"Elimina tutto","panel.deleteAllConfirmTitle":"Elimina tutto","panel.deleteAllConfirmMessage":"Eliminare tutti i feedback per questo progetto? Questa azione non pu\xf2 essere annullata.","panel.search":"Cerca...","panel.searchAria":"Cerca feedback","panel.filterAll":"Tutti","panel.loadError":"Caricamento non riuscito","panel.retry":"Riprova","panel.empty":"Nessun feedback ancora","panel.showMore":"Mostra di pi\xf9","panel.showLess":"Mostra meno","panel.resolve":"Risolvi","panel.reopen":"Riapri","panel.delete":"Elimina","panel.cancel":"Annulla","panel.confirmDelete":"Elimina","panel.loadMore":"Carica altro ({remaining} rimanenti)","panel.statusAll":"Tutti","panel.statusOpen":"Aperto","panel.statusResolved":"Risolto","panel.statusInProgress":"In corso","panel.statusWontFix":"Non verr\xe0 corretto","type.label":"Tipo","type.question":"Domanda","type.change":"Modifica","type.bug":"Bug","type.other":"Altro","status.label":"Stato","scope.label":"Ambito","scope.thisPage":"Questa pagina","scope.thisType":"Questo tipo","scope.all":"Tutte le pagine","panel.filterMine":"Miei","panel.filterMineHint":"Solo i feedback inviati da questo browser","fab.aria":"Siteping \u2014 Menu feedback","fab.messages":"Mostra barra laterale","fab.annotate":"Crea nuova annotazione","fab.annotations":"Mostra o nascondi i marcatori","annotator.instruction":"Disegna un rettangolo sull'area da commentare \u2014 oppure premi Invio per commentare l'ultimo elemento attivo","annotator.instantInstruction":"Commenta il punto selezionato","annotator.touchInstruction":"Tocca un elemento o trascina per selezionare un'area","annotator.cancel":"Annulla","popup.ariaLabel":"Modulo feedback","popup.placeholder":"Descrivi il tuo feedback...","popup.textareaAria":"Messaggio di feedback","popup.submitHintMac":"\u2318+Invio per inviare","popup.submitHintOther":"Ctrl+Invio per inviare","popup.cancel":"Annulla","popup.submit":"Invia","identity.title":"Identificati","identity.nameLabel":"Nome","identity.namePlaceholder":"Il tuo nome","identity.emailLabel":"Email","identity.emailPlaceholder":"tua@email.com","identity.cancel":"Annulla","identity.submit":"Continua","marker.approximate":"Posizione approssimativa (confidenza: {confidence}%)","marker.aria":"Feedback #{number}: {type} \u2014 {message}","marker.count":"{count} marcatori di feedback visualizzati","fab.badge":"{count} feedback non risolti","feedback.sent.confirmation":"Feedback inviato con successo","feedback.error.message":"Invio del feedback non riuscito","feedback.deleted.confirmation":"Feedback eliminato","badge.count":"{count} feedback non risolti","bulk.selectAll":"Seleziona tutto","bulk.selected":"{count} selezionati","bulk.resolve":"Risolvi","bulk.delete":"Elimina","bulk.deselect":"Deseleziona","sort.newest":"Pi\xf9 recenti","sort.oldest":"Pi\xf9 vecchi","sort.byType":"Per tipo","sort.openFirst":"Aperti prima","sort.label":"Ordina","group.byPage":"Per pagina","group.feedbacks":"{count} feedback","stats.open":"Aperti","stats.resolved":"Risolti","stats.bugs":"Bug","stats.progress":"{percent}% risolti","detail.back":"Indietro","detail.title":"Feedback #{number}","detail.status":"Stato","detail.message":"Messaggio","detail.screenshot":"Schermata","detail.screenshotAlt":"Schermata dell'area annotata","detail.metadata":"Dettagli","detail.annotation":"Annotazione","detail.page":"Pagina","detail.author":"Autore","detail.date":"Creato","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Risolto il","detail.closedAt":"Chiuso il","detail.goToAnnotation":"Vai all'annotazione","detail.element":"Elemento","detail.selector":"Selettore","detail.position":"Posizione","detail.resolve":"Risolvi","detail.reopen":"Riapri","detail.delete":"Elimina","detail.diagnostics":"Diagnostica","detail.diagnostics.console":"Console","detail.diagnostics.network":"Rete fallita","detail.diagnostics.expand":"Mostra diagnostica","detail.diagnostics.collapse":"Nascondi diagnostica","detail.diagnostics.noEntries":"Nessuna voce","comments.title":"Risposte","comments.placeholder":"Rispondi al team...","comments.error":"Non inviata. Riprova.","comments.full":"Questa discussione \xe8 piena.","comments.team":"Team","shortcuts.title":"Scorciatoie da tastiera","shortcuts.navigate":"Naviga i feedback","shortcuts.resolve":"Risolvi / Riapri","shortcuts.delete":"Elimina","shortcuts.search":"Cerca","shortcuts.select":"Attiva selezione","shortcuts.help":"Mostra scorciatoie","shortcuts.close":"Chiudi","shortcuts.hint":"Scorciatoie da tastiera","export.label":"Esporta","export.csv":"Esporta CSV","export.json":"Esporta JSON"}}),$d={};s($d,{ja:()=>Yd});var Yd,Wd=t(()=>{Yd={"panel.title":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af","panel.ariaLabel":"Siteping \u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30d1\u30cd\u30eb","panel.feedbackList":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u4e00\u89a7","panel.loading":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u8aad\u307f\u8fbc\u307f\u4e2d","panel.close":"\u30d1\u30cd\u30eb\u3092\u9589\u3058\u308b","panel.deleteAll":"\u5168\u524a\u9664","panel.deleteAllConfirmTitle":"\u3059\u3079\u3066\u524a\u9664","panel.deleteAllConfirmMessage":"\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3059\u3079\u3066\u524a\u9664\u3057\u307e\u3059\u304b\uff1f\u3053\u306e\u64cd\u4f5c\u306f\u53d6\u308a\u6d88\u305b\u307e\u305b\u3093\u3002","panel.search":"\u691c\u7d22...","panel.searchAria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u691c\u7d22","panel.filterAll":"\u3059\u3079\u3066","panel.loadError":"\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557\u3057\u307e\u3057\u305f","panel.retry":"\u518d\u8a66\u884c","panel.empty":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306f\u307e\u3060\u3042\u308a\u307e\u305b\u3093","panel.showMore":"\u3082\u3063\u3068\u898b\u308b","panel.showLess":"\u6298\u308a\u305f\u305f\u3080","panel.resolve":"\u89e3\u6c7a","panel.reopen":"\u518d\u30aa\u30fc\u30d7\u30f3","panel.delete":"\u524a\u9664","panel.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","panel.confirmDelete":"\u524a\u9664","panel.loadMore":"\u3055\u3089\u306b\u8aad\u307f\u8fbc\u3080\uff08\u6b8b\u308a {remaining} \u4ef6\uff09","panel.statusAll":"\u3059\u3079\u3066","panel.statusOpen":"\u672a\u5bfe\u5fdc","panel.statusResolved":"\u89e3\u6c7a\u6e08\u307f","panel.statusInProgress":"\u5bfe\u5fdc\u4e2d","panel.statusWontFix":"\u5bfe\u5fdc\u3057\u306a\u3044","type.label":"\u7a2e\u985e","type.question":"\u8cea\u554f","type.change":"\u5909\u66f4\u4f9d\u983c","type.bug":"\u4e0d\u5177\u5408","type.other":"\u305d\u306e\u4ed6","status.label":"\u30b9\u30c6\u30fc\u30bf\u30b9","scope.label":"\u7bc4\u56f2","scope.thisPage":"\u3053\u306e\u30da\u30fc\u30b8","scope.thisType":"\u3053\u306e\u30da\u30fc\u30b8\u7a2e\u5225","scope.all":"\u3059\u3079\u3066\u306e\u30da\u30fc\u30b8","panel.filterMine":"\u81ea\u5206\u306e\u6295\u7a3f","panel.filterMineHint":"\u3053\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u9001\u4fe1\u3057\u305f\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u307f","fab.aria":"Siteping \u2014 \u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30e1\u30cb\u30e5\u30fc","fab.messages":"\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u8868\u793a","fab.annotate":"\u65b0\u3057\u3044\u6ce8\u91c8\u3092\u4f5c\u6210","fab.annotations":"\u30de\u30fc\u30ab\u30fc\u306e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048","annotator.instruction":"\u30b3\u30e1\u30f3\u30c8\u3057\u305f\u3044\u7bc4\u56f2\u3092\u56db\u89d2\u3067\u56f2\u3093\u3067\u304f\u3060\u3055\u3044 \u2014 \u307e\u305f\u306f Enter \u30ad\u30fc\u3067\u6700\u5f8c\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3057\u305f\u8981\u7d20\u306b\u30b3\u30e1\u30f3\u30c8\u3067\u304d\u307e\u3059","annotator.instantInstruction":"\u30af\u30ea\u30c3\u30af\u3057\u305f\u7b87\u6240\u306b\u30b3\u30e1\u30f3\u30c8","annotator.touchInstruction":"\u8981\u7d20\u3092\u30bf\u30c3\u30d7\u3059\u308b\u304b\u3001\u30c9\u30e9\u30c3\u30b0\u3057\u3066\u7bc4\u56f2\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044","annotator.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","popup.ariaLabel":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30d5\u30a9\u30fc\u30e0","popup.placeholder":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044...","popup.textareaAria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u672c\u6587","popup.submitHintMac":"\u2318+Enter \u3067\u9001\u4fe1","popup.submitHintOther":"Ctrl+Enter \u3067\u9001\u4fe1","popup.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","popup.submit":"\u9001\u4fe1","identity.title":"\u304a\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b","identity.nameLabel":"\u540d\u524d","identity.namePlaceholder":"\u304a\u540d\u524d","identity.emailLabel":"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9","identity.emailPlaceholder":"your@email.com","identity.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","identity.submit":"\u7d9a\u3051\u308b","marker.approximate":"\u304a\u304a\u3088\u305d\u306e\u4f4d\u7f6e\uff08\u78ba\u5ea6: {confidence}%\uff09","marker.aria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af #{number}: {type} \u2014 {message}","marker.count":"{count} \u4ef6\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30de\u30fc\u30ab\u30fc\u3092\u8868\u793a\u4e2d","fab.badge":"\u672a\u89e3\u6c7a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","feedback.sent.confirmation":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f","feedback.error.message":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u9001\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f","feedback.deleted.confirmation":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u524a\u9664\u3057\u307e\u3057\u305f","badge.count":"\u672a\u89e3\u6c7a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","bulk.selectAll":"\u3059\u3079\u3066\u9078\u629e","bulk.selected":"{count} \u4ef6\u9078\u629e\u4e2d","bulk.resolve":"\u89e3\u6c7a","bulk.delete":"\u524a\u9664","bulk.deselect":"\u9078\u629e\u3092\u89e3\u9664","sort.newest":"\u65b0\u3057\u3044\u9806","sort.oldest":"\u53e4\u3044\u9806","sort.byType":"\u7a2e\u985e\u5225","sort.openFirst":"\u672a\u5bfe\u5fdc\u3092\u5148\u982d\u306b","sort.label":"\u4e26\u3073\u66ff\u3048","group.byPage":"\u30da\u30fc\u30b8\u5225","group.feedbacks":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","stats.open":"\u672a\u5bfe\u5fdc","stats.resolved":"\u89e3\u6c7a\u6e08\u307f","stats.bugs":"\u4e0d\u5177\u5408","stats.progress":"{percent}% \u89e3\u6c7a\u6e08\u307f","detail.back":"\u623b\u308b","detail.title":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af #{number}","detail.status":"\u30b9\u30c6\u30fc\u30bf\u30b9","detail.message":"\u30e1\u30c3\u30bb\u30fc\u30b8","detail.screenshot":"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8","detail.screenshotAlt":"\u6ce8\u91c8\u304c\u4ed8\u3044\u305f\u7bc4\u56f2\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8","detail.metadata":"\u8a73\u7d30","detail.annotation":"\u6ce8\u91c8","detail.page":"\u30da\u30fc\u30b8","detail.author":"\u6295\u7a3f\u8005","detail.date":"\u4f5c\u6210\u65e5\u6642","detail.viewport":"\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8","detail.browser":"\u30d6\u30e9\u30a6\u30b6","detail.resolvedAt":"\u89e3\u6c7a\u65e5\u6642","detail.closedAt":"\u30af\u30ed\u30fc\u30ba\u65e5\u6642","detail.goToAnnotation":"\u6ce8\u91c8\u3078\u79fb\u52d5","detail.element":"\u8981\u7d20","detail.selector":"\u30bb\u30ec\u30af\u30bf\u30fc","detail.position":"\u4f4d\u7f6e","detail.resolve":"\u89e3\u6c7a","detail.reopen":"\u518d\u30aa\u30fc\u30d7\u30f3","detail.delete":"\u524a\u9664","detail.diagnostics":"\u8a3a\u65ad\u60c5\u5831","detail.diagnostics.console":"\u30b3\u30f3\u30bd\u30fc\u30eb","detail.diagnostics.network":"\u5931\u6557\u3057\u305f\u901a\u4fe1","detail.diagnostics.expand":"\u8a3a\u65ad\u60c5\u5831\u3092\u8868\u793a","detail.diagnostics.collapse":"\u8a3a\u65ad\u60c5\u5831\u3092\u96a0\u3059","detail.diagnostics.noEntries":"\u9805\u76ee\u306f\u3042\u308a\u307e\u305b\u3093","comments.title":"\u8fd4\u4fe1","comments.placeholder":"\u30c1\u30fc\u30e0\u306b\u8fd4\u4fe1...","comments.error":"\u9001\u4fe1\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002","comments.full":"\u3053\u306e\u30b9\u30ec\u30c3\u30c9\u306f\u4e0a\u9650\u306b\u9054\u3057\u307e\u3057\u305f\u3002","comments.team":"\u30c1\u30fc\u30e0","shortcuts.title":"\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8","shortcuts.navigate":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u79fb\u52d5","shortcuts.resolve":"\u89e3\u6c7a / \u518d\u30aa\u30fc\u30d7\u30f3","shortcuts.delete":"\u524a\u9664","shortcuts.search":"\u691c\u7d22\u306b\u30d5\u30a9\u30fc\u30ab\u30b9","shortcuts.select":"\u9078\u629e\u3092\u5207\u308a\u66ff\u3048","shortcuts.help":"\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u8868\u793a","shortcuts.close":"\u9589\u3058\u308b","shortcuts.hint":"\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8","export.label":"\u51fa\u529b","export.csv":"CSV \u3067\u51fa\u529b","export.json":"JSON \u3067\u51fa\u529b"}}),Jd={};s(Jd,{ko:()=>zd});var zd,_d=t(()=>{zd={"panel.title":"\ud53c\ub4dc\ubc31","panel.ariaLabel":"Siteping \ud53c\ub4dc\ubc31 \ud328\ub110","panel.feedbackList":"\ud53c\ub4dc\ubc31 \ubaa9\ub85d","panel.loading":"\ud53c\ub4dc\ubc31\uc744 \ubd88\ub7ec\uc624\ub294 \uc911","panel.close":"\ud328\ub110 \ub2eb\uae30","panel.deleteAll":"\ubaa8\ub450 \uc0ad\uc81c","panel.deleteAllConfirmTitle":"\ubaa8\ub450 \uc0ad\uc81c","panel.deleteAllConfirmMessage":"\uc774 \ud504\ub85c\uc81d\ud2b8\uc758 \ud53c\ub4dc\ubc31\uc744 \ubaa8\ub450 \uc0ad\uc81c\ud560\uae4c\uc694? \uc774 \uc791\uc5c5\uc740 \ub418\ub3cc\ub9b4 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","panel.search":"\uac80\uc0c9...","panel.searchAria":"\ud53c\ub4dc\ubc31 \uac80\uc0c9","panel.filterAll":"\uc804\uccb4","panel.loadError":"\ubd88\ub7ec\uc624\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4","panel.retry":"\ub2e4\uc2dc \uc2dc\ub3c4","panel.empty":"\uc544\uc9c1 \ud53c\ub4dc\ubc31\uc774 \uc5c6\uc2b5\ub2c8\ub2e4","panel.showMore":"\ub354 \ubcf4\uae30","panel.showLess":"\uc811\uae30","panel.resolve":"\ud574\uacb0","panel.reopen":"\ub2e4\uc2dc \uc5f4\uae30","panel.delete":"\uc0ad\uc81c","panel.cancel":"\ucde8\uc18c","panel.confirmDelete":"\uc0ad\uc81c","panel.loadMore":"\ub354 \ubd88\ub7ec\uc624\uae30 ({remaining}\uac74 \ub0a8\uc74c)","panel.statusAll":"\uc804\uccb4","panel.statusOpen":"\uc5f4\ub9bc","panel.statusResolved":"\ud574\uacb0\ub428","panel.statusInProgress":"\uc9c4\ud589 \uc911","panel.statusWontFix":"\ucc98\ub9ac \uc548 \ud568","type.label":"\uc720\ud615","type.question":"\uc9c8\ubb38","type.change":"\uc218\uc815 \uc694\uccad","type.bug":"\ubc84\uadf8","type.other":"\uae30\ud0c0","status.label":"\uc0c1\ud0dc","scope.label":"\ubc94\uc704","scope.thisPage":"\uc774 \ud398\uc774\uc9c0","scope.thisType":"\uac19\uc740 \uc720\ud615\uc758 \ud398\uc774\uc9c0","scope.all":"\ubaa8\ub4e0 \ud398\uc774\uc9c0","panel.filterMine":"\ub0b4 \ud53c\ub4dc\ubc31","panel.filterMineHint":"\uc774 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \ubcf4\ub0b8 \ud53c\ub4dc\ubc31\ub9cc \ubd05\ub2c8\ub2e4","fab.aria":"Siteping \u2014 \ud53c\ub4dc\ubc31 \uba54\ub274","fab.messages":"\uc0ac\uc774\ub4dc\ubc14 \ubcf4\uae30","fab.annotate":"\uc0c8 \uc8fc\uc11d \ub9cc\ub4e4\uae30","fab.annotations":"\ub9c8\ucee4 \ubcf4\uc774\uae30 \ub610\ub294 \uc228\uae30\uae30","annotator.instruction":"\ub313\uae00\uc744 \ub0a8\uae38 \uc601\uc5ed\uc5d0 \uc0ac\uac01\ud615\uc744 \uadf8\ub9ac\uc138\uc694. Enter \ud0a4\ub97c \ub204\ub974\uba74 \ub9c8\uc9c0\ub9c9\uc73c\ub85c \ud3ec\ucee4\uc2a4\ud55c \uc694\uc18c\uc5d0 \ub313\uae00\uc744 \ub0a8\uae41\ub2c8\ub2e4","annotator.instantInstruction":"\ud074\ub9ad\ud55c \uc704\uce58\uc5d0 \ub313\uae00\uc744 \ub0a8\uae41\ub2c8\ub2e4","annotator.touchInstruction":"\uc694\uc18c\ub97c \ud0ed\ud558\uac70\ub098 \ub4dc\ub798\uadf8\ud574\uc11c \uc601\uc5ed\uc744 \uc120\ud0dd\ud558\uc138\uc694","annotator.cancel":"\ucde8\uc18c","popup.ariaLabel":"\ud53c\ub4dc\ubc31 \uc791\uc131","popup.placeholder":"\ud53c\ub4dc\ubc31 \ub0b4\uc6a9\uc744 \uc785\ub825\ud558\uc138\uc694...","popup.textareaAria":"\ud53c\ub4dc\ubc31 \ub0b4\uc6a9","popup.submitHintMac":"\u2318+Enter\ub85c \ubcf4\ub0b4\uae30","popup.submitHintOther":"Ctrl+Enter\ub85c \ubcf4\ub0b4\uae30","popup.cancel":"\ucde8\uc18c","popup.submit":"\ubcf4\ub0b4\uae30","identity.title":"\uc791\uc131\uc790 \uc815\ubcf4","identity.nameLabel":"\uc774\ub984","identity.namePlaceholder":"\uc774\ub984","identity.emailLabel":"\uc774\uba54\uc77c","identity.emailPlaceholder":"you@example.com","identity.cancel":"\ucde8\uc18c","identity.submit":"\uacc4\uc18d","marker.approximate":"\ub300\ub7b5\uc801\uc778 \uc704\uce58 (\uc2e0\ub8b0\ub3c4: {confidence}%)","marker.aria":"\ud53c\ub4dc\ubc31 #{number}: {type} \u2014 {message}","marker.count":"\ud53c\ub4dc\ubc31 \ub9c8\ucee4 {count}\uac1c \ud45c\uc2dc \uc911","fab.badge":"\ud574\uacb0\ub418\uc9c0 \uc54a\uc740 \ud53c\ub4dc\ubc31 {count}\uac74","feedback.sent.confirmation":"\ud53c\ub4dc\ubc31\uc744 \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4","feedback.error.message":"\ud53c\ub4dc\ubc31\uc744 \ubcf4\ub0b4\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4","feedback.deleted.confirmation":"\ud53c\ub4dc\ubc31\uc744 \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4","badge.count":"\ud574\uacb0\ub418\uc9c0 \uc54a\uc740 \ud53c\ub4dc\ubc31 {count}\uac74","bulk.selectAll":"\ubaa8\ub450 \uc120\ud0dd","bulk.selected":"{count}\uac74 \uc120\ud0dd\ub428","bulk.resolve":"\ud574\uacb0","bulk.delete":"\uc0ad\uc81c","bulk.deselect":"\uc120\ud0dd \ud574\uc81c","sort.newest":"\ucd5c\uc2e0\uc21c","sort.oldest":"\uc624\ub798\ub41c\uc21c","sort.byType":"\uc720\ud615\ubcc4","sort.openFirst":"\uc5f4\ub9b0 \ud56d\ubaa9 \uba3c\uc800","sort.label":"\uc815\ub82c","group.byPage":"\ud398\uc774\uc9c0\ubcc4","group.feedbacks":"\ud53c\ub4dc\ubc31 {count}\uac74","stats.open":"\uc5f4\ub9bc","stats.resolved":"\ud574\uacb0\ub428","stats.bugs":"\ubc84\uadf8","stats.progress":"{percent}% \ud574\uacb0","detail.back":"\ub4a4\ub85c","detail.title":"\ud53c\ub4dc\ubc31 #{number}","detail.status":"\uc0c1\ud0dc","detail.message":"\ub0b4\uc6a9","detail.screenshot":"\uc2a4\ud06c\ub9b0\uc0f7","detail.screenshotAlt":"\uc8fc\uc11d\uc744 \ub2e8 \uc601\uc5ed\uc758 \uc2a4\ud06c\ub9b0\uc0f7","detail.metadata":"\uc0c1\uc138 \uc815\ubcf4","detail.annotation":"\uc8fc\uc11d","detail.page":"\ud398\uc774\uc9c0","detail.author":"\uc791\uc131\uc790","detail.date":"\uc791\uc131\uc77c","detail.viewport":"\ubdf0\ud3ec\ud2b8","detail.browser":"\ube0c\ub77c\uc6b0\uc800","detail.resolvedAt":"\ud574\uacb0\uc77c","detail.closedAt":"\uc885\ub8cc\uc77c","detail.goToAnnotation":"\uc8fc\uc11d \uc704\uce58\ub85c \uc774\ub3d9","detail.element":"\uc694\uc18c","detail.selector":"\uc120\ud0dd\uc790","detail.position":"\uc704\uce58","detail.resolve":"\ud574\uacb0","detail.reopen":"\ub2e4\uc2dc \uc5f4\uae30","detail.delete":"\uc0ad\uc81c","detail.diagnostics":"\uc9c4\ub2e8 \uc815\ubcf4","detail.diagnostics.console":"\ucf58\uc194","detail.diagnostics.network":"\uc2e4\ud328\ud55c \ub124\ud2b8\uc6cc\ud06c \uc694\uccad","detail.diagnostics.expand":"\uc9c4\ub2e8 \uc815\ubcf4 \ubcf4\uae30","detail.diagnostics.collapse":"\uc9c4\ub2e8 \uc815\ubcf4 \uc228\uae30\uae30","detail.diagnostics.noEntries":"\uae30\ub85d\uc774 \uc5c6\uc2b5\ub2c8\ub2e4","comments.title":"\ub2f5\uae00","comments.placeholder":"\ud300\uc5d0 \ub2f5\uae00 \ub0a8\uae30\uae30...","comments.error":"\ubcf4\ub0b4\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud558\uc138\uc694.","comments.full":"\uc774 \uc2a4\ub808\ub4dc\uc5d0\ub294 \ub354 \uc774\uc0c1 \ub2f5\uae00\uc744 \ub2ec \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","comments.team":"\ud300","shortcuts.title":"\ud0a4\ubcf4\ub4dc \ub2e8\ucd95\ud0a4","shortcuts.navigate":"\ud53c\ub4dc\ubc31 \uac04 \uc774\ub3d9","shortcuts.resolve":"\ud574\uacb0 / \ub2e4\uc2dc \uc5f4\uae30","shortcuts.delete":"\uc0ad\uc81c","shortcuts.search":"\uac80\uc0c9\ucc3d\uc73c\ub85c \uc774\ub3d9","shortcuts.select":"\uc120\ud0dd \uc804\ud658","shortcuts.help":"\ub2e8\ucd95\ud0a4 \ubcf4\uae30","shortcuts.close":"\ub2eb\uae30","shortcuts.hint":"\ud0a4\ubcf4\ub4dc \ub2e8\ucd95\ud0a4","export.label":"\ub0b4\ubcf4\ub0b4\uae30","export.csv":"CSV \ub0b4\ubcf4\ub0b4\uae30","export.json":"JSON \ub0b4\ubcf4\ub0b4\uae30"}}),jd={};s(jd,{pt:()=>Zd});var Zd,qd=t(()=>{Zd={"panel.title":"Feedbacks","panel.ariaLabel":"Painel de feedback do Siteping","panel.feedbackList":"Lista de feedbacks","panel.loading":"Carregando feedbacks","panel.close":"Fechar painel","panel.deleteAll":"Excluir tudo","panel.deleteAllConfirmTitle":"Excluir tudo","panel.deleteAllConfirmMessage":"Excluir todos os feedbacks deste projeto? Esta a\xe7\xe3o n\xe3o pode ser desfeita.","panel.search":"Pesquisar...","panel.searchAria":"Pesquisar feedbacks","panel.filterAll":"Todos","panel.loadError":"Falha ao carregar","panel.retry":"Tentar novamente","panel.empty":"Nenhum feedback ainda","panel.showMore":"Mostrar mais","panel.showLess":"Mostrar menos","panel.resolve":"Resolver","panel.reopen":"Reabrir","panel.delete":"Excluir","panel.cancel":"Cancelar","panel.confirmDelete":"Excluir","panel.loadMore":"Carregar mais ({remaining} restantes)","panel.statusAll":"Todos","panel.statusOpen":"Aberto","panel.statusResolved":"Resolvido","panel.statusInProgress":"Em andamento","panel.statusWontFix":"N\xe3o ser\xe1 corrigido","type.label":"Tipo","type.question":"Pergunta","type.change":"Altera\xe7\xe3o","type.bug":"Bug","type.other":"Outro","status.label":"Status","scope.label":"Escopo","scope.thisPage":"Esta p\xe1gina","scope.thisType":"Este tipo","scope.all":"Todas as p\xe1ginas","panel.filterMine":"Meus","panel.filterMineHint":"Apenas os feedbacks enviados deste navegador","fab.aria":"Siteping \u2014 Menu de feedback","fab.messages":"Exibir barra lateral","fab.annotate":"Criar nova anota\xe7\xe3o","fab.annotations":"Exibir ou ocultar marcadores","annotator.instruction":"Desenhe um ret\xe2ngulo na \xe1rea que deseja comentar \u2014 ou pressione Enter para comentar o \xfaltimo elemento em foco","annotator.instantInstruction":"Comentar o ponto clicado","annotator.touchInstruction":"Toque em um elemento ou arraste para selecionar uma \xe1rea","annotator.cancel":"Cancelar","popup.ariaLabel":"Formul\xe1rio de feedback","popup.placeholder":"Descreva seu feedback...","popup.textareaAria":"Mensagem de feedback","popup.submitHintMac":"\u2318+Enter para enviar","popup.submitHintOther":"Ctrl+Enter para enviar","popup.cancel":"Cancelar","popup.submit":"Enviar","identity.title":"Identifique-se","identity.nameLabel":"Nome","identity.namePlaceholder":"Seu nome","identity.emailLabel":"E-mail","identity.emailPlaceholder":"seu@email.com","identity.cancel":"Cancelar","identity.submit":"Continuar","marker.approximate":"Posi\xe7\xe3o aproximada (confian\xe7a: {confidence}%)","marker.aria":"Feedback #{number}: {type} \u2014 {message}","marker.count":"{count} marcadores de feedback exibidos","fab.badge":"{count} feedbacks n\xe3o resolvidos","feedback.sent.confirmation":"Feedback enviado com sucesso","feedback.error.message":"Falha ao enviar feedback","feedback.deleted.confirmation":"Feedback exclu\xeddo","badge.count":"{count} feedbacks n\xe3o resolvidos","bulk.selectAll":"Selecionar tudo","bulk.selected":"{count} selecionados","bulk.resolve":"Resolver","bulk.delete":"Excluir","bulk.deselect":"Desmarcar","sort.newest":"Mais recentes","sort.oldest":"Mais antigos","sort.byType":"Por tipo","sort.openFirst":"Abertos primeiro","sort.label":"Ordenar","group.byPage":"Por p\xe1gina","group.feedbacks":"{count} feedbacks","stats.open":"Abertos","stats.resolved":"Resolvidos","stats.bugs":"Bugs","stats.progress":"{percent}% resolvidos","detail.back":"Voltar","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Mensagem","detail.screenshot":"Captura","detail.screenshotAlt":"Captura da \xe1rea anotada","detail.metadata":"Detalhes","detail.annotation":"Anota\xe7\xe3o","detail.page":"P\xe1gina","detail.author":"Autor","detail.date":"Criado","detail.viewport":"Viewport","detail.browser":"Navegador","detail.resolvedAt":"Resolvido em","detail.closedAt":"Fechado em","detail.goToAnnotation":"Ir para anota\xe7\xe3o","detail.element":"Elemento","detail.selector":"Seletor","detail.position":"Posi\xe7\xe3o","detail.resolve":"Resolver","detail.reopen":"Reabrir","detail.delete":"Excluir","detail.diagnostics":"Diagn\xf3stico","detail.diagnostics.console":"Console","detail.diagnostics.network":"Rede com falha","detail.diagnostics.expand":"Mostrar diagn\xf3stico","detail.diagnostics.collapse":"Ocultar diagn\xf3stico","detail.diagnostics.noEntries":"Sem entradas","comments.title":"Respostas","comments.placeholder":"Responder \xe0 equipe...","comments.error":"N\xe3o enviada. Tente novamente.","comments.full":"Esta conversa est\xe1 cheia.","comments.team":"Equipe","shortcuts.title":"Atalhos de teclado","shortcuts.navigate":"Navegar feedbacks","shortcuts.resolve":"Resolver / Reabrir","shortcuts.delete":"Excluir","shortcuts.search":"Buscar","shortcuts.select":"Alternar sele\xe7\xe3o","shortcuts.help":"Mostrar atalhos","shortcuts.close":"Fechar","shortcuts.hint":"Atalhos de teclado","export.label":"Exportar","export.csv":"Exportar CSV","export.json":"Exportar JSON"}}),Ap={};s(Ap,{ru:()=>ep});var ep,tp,sp=t(()=>{ep={"panel.title":"\u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c","panel.ariaLabel":"\u041f\u0430\u043d\u0435\u043b\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 Siteping","panel.feedbackList":"\u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c","panel.deleteAll":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0451","panel.deleteAllConfirmTitle":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0451","panel.deleteAllConfirmMessage":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043e\u0442\u0437\u044b\u0432\u044b \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430? \u042d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043d\u0435\u043e\u0431\u0440\u0430\u0442\u0438\u043c\u043e.","panel.search":"\u041f\u043e\u0438\u0441\u043a...","panel.searchAria":"\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c","panel.filterAll":"\u0412\u0441\u0435","panel.loadError":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","panel.retry":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c","panel.empty":"\u041f\u043e\u043a\u0430 \u043d\u0435\u0442 \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.showMore":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","panel.showLess":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435","panel.resolve":"\u0420\u0435\u0448\u0435\u043d\u043e","panel.reopen":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e","panel.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","panel.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","panel.confirmDelete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","panel.loadMore":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0449\u0451 ({remaining} \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c)","panel.statusAll":"\u0412\u0441\u0435","panel.statusOpen":"\u041e\u0442\u043a\u0440\u044b\u0442","panel.statusResolved":"\u0420\u0435\u0448\u0451\u043d","panel.statusInProgress":"\u0412 \u0440\u0430\u0431\u043e\u0442\u0435","panel.statusWontFix":"\u041d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e","type.label":"\u0422\u0438\u043f","type.question":"\u0412\u043e\u043f\u0440\u043e\u0441","type.change":"\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435","type.bug":"\u0411\u0430\u0433","type.other":"\u0414\u0440\u0443\u0433\u043e\u0435","status.label":"\u0421\u0442\u0430\u0442\u0443\u0441","scope.label":"\u041e\u0431\u043b\u0430\u0441\u0442\u044c","scope.thisPage":"\u042d\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","scope.thisType":"\u042d\u0442\u043e\u0442 \u0442\u0438\u043f","scope.all":"\u0412\u0441\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b","panel.filterMine":"\u041c\u043e\u0438","panel.filterMineHint":"\u0422\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0437\u044b\u0432\u044b, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430","fab.aria":"Siteping \u2014 \u041c\u0435\u043d\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438","fab.messages":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c","fab.annotate":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e","fab.annotations":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0442\u044c \u043c\u0435\u0442\u043a\u0438","annotator.instruction":"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u2014 \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Enter, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442","annotator.instantInstruction":"\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0435","annotator.touchInstruction":"\u041a\u043e\u0441\u043d\u0438\u0442\u0435\u0441\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u043b\u044c\u0446\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0431\u043b\u0430\u0441\u0442\u044c","annotator.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","popup.ariaLabel":"\u0424\u043e\u0440\u043c\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438","popup.placeholder":"\u041e\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435...","popup.textareaAria":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","popup.submitHintMac":"\u2318+Enter \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","popup.submitHintOther":"Ctrl+Enter \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","popup.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","popup.submit":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","identity.title":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435\u0441\u044c","identity.nameLabel":"\u0418\u043c\u044f","identity.namePlaceholder":"\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","identity.emailLabel":"Email","identity.emailPlaceholder":"\u0432\u0430\u0448@email.com","identity.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","identity.submit":"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c","marker.approximate":"\u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f (\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c: {confidence}%)","marker.aria":"\u041e\u0442\u0437\u044b\u0432 #{number}: {type} \u2014 {message}","marker.count":"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","fab.badge":"\u041d\u0435\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","feedback.sent.confirmation":"\u041e\u0442\u0437\u044b\u0432 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d","feedback.error.message":"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0437\u044b\u0432","feedback.deleted.confirmation":"\u041e\u0442\u0437\u044b\u0432 \u0443\u0434\u0430\u043b\u0451\u043d","badge.count":"\u041d\u0435\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","bulk.selectAll":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","bulk.selected":"\u0412\u044b\u0431\u0440\u0430\u043d\u043e: {count}","bulk.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c","bulk.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","bulk.deselect":"\u0421\u043d\u044f\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sort.newest":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u043e\u0432\u044b\u0435","sort.oldest":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0430\u0440\u044b\u0435","sort.byType":"\u041f\u043e \u0442\u0438\u043f\u0443","sort.openFirst":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435","sort.label":"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430","group.byPage":"\u041f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435","group.feedbacks":"\u041e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","stats.open":"\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435","stats.resolved":"\u0420\u0435\u0448\u0451\u043d\u043d\u044b\u0435","stats.bugs":"\u0411\u0430\u0433\u0438","stats.progress":"\u0420\u0435\u0448\u0435\u043d\u043e: {percent}%","detail.back":"\u041d\u0430\u0437\u0430\u0434","detail.title":"\u041e\u0442\u0437\u044b\u0432 #{number}","detail.status":"\u0421\u0442\u0430\u0442\u0443\u0441","detail.message":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","detail.screenshot":"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442","detail.screenshotAlt":"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438","detail.metadata":"\u0414\u0435\u0442\u0430\u043b\u0438","detail.annotation":"\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f","detail.page":"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430","detail.author":"\u0410\u0432\u0442\u043e\u0440","detail.date":"\u0421\u043e\u0437\u0434\u0430\u043d","detail.viewport":"Viewport","detail.browser":"\u0411\u0440\u0430\u0443\u0437\u0435\u0440","detail.resolvedAt":"\u0420\u0435\u0448\u0451\u043d","detail.closedAt":"\u0417\u0430\u043a\u0440\u044b\u0442","detail.goToAnnotation":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438","detail.element":"\u042d\u043b\u0435\u043c\u0435\u043d\u0442","detail.selector":"\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440","detail.position":"\u041f\u043e\u0437\u0438\u0446\u0438\u044f","detail.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c","detail.reopen":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e","detail.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","detail.diagnostics":"\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430","detail.diagnostics.console":"\u041a\u043e\u043d\u0441\u043e\u043b\u044c","detail.diagnostics.network":"\u0421\u0435\u0442\u0435\u0432\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438","detail.diagnostics.expand":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443","detail.diagnostics.collapse":"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443","detail.diagnostics.noEntries":"\u041d\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0435\u0439","comments.title":"\u041e\u0442\u0432\u0435\u0442\u044b","comments.placeholder":"\u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0435...","comments.error":"\u041d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.","comments.full":"\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e.","comments.team":"\u041a\u043e\u043c\u0430\u043d\u0434\u0430","shortcuts.title":"\u0413\u043e\u0440\u044f\u0447\u0438\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438","shortcuts.navigate":"\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c","shortcuts.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c / \u041f\u0435\u0440\u0435\u043e\u0442\u043a\u0440\u044b\u0442\u044c","shortcuts.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","shortcuts.search":"\u041f\u043e\u0438\u0441\u043a","shortcuts.select":"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","shortcuts.help":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0438","shortcuts.close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","shortcuts.hint":"\u0413\u043e\u0440\u044f\u0447\u0438\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438","export.label":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442","export.csv":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 CSV","export.json":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 JSON"}});function rp(A,e){switch(A){case"question":return e("type.question");case"change":return e("type.change");case"bug":return e("type.bug");case"other":return e("type.other");default:return A}}function ip(A,e){switch(A){case"open":return e("panel.statusOpen");case"in_progress":return e("panel.statusInProgress");case"resolved":return e("panel.statusResolved");case"wont_fix":return e("panel.statusWontFix");default:return A}}A.registerLocale=void 0,A.loadLocale=void 0;var np,op,ap=t(()=>{D(),Sd(),tp=function(A,e){let t={en:A};function s(A){return"en"!==A&&w.includes(A)}return{registerLocale(A,e){t[U(A)]=e},async loadLocale(A){let r=U(A),i=t[r];if(i)return i;if(!s(r))return null;let n=await e[r]();return t[r]=n,n},createT(e){let r=U(e);return"en"!==r&&!t[r]&&!s(r)&&console.warn(`[siteping] Unknown locale "${e}", falling back to "en"`),e=>t[r]?.[e]??A[e]??e}}}(Hd,{de:()=>Promise.resolve().then(()=>(Dd(),Ld)).then(A=>A.de),es:()=>Promise.resolve().then(()=>(Rd(),Kd)).then(A=>A.es),fr:()=>Promise.resolve().then(()=>(Nd(),Od)).then(A=>A.fr),it:()=>Promise.resolve().then(()=>(Xd(),Vd)).then(A=>A.it),ja:()=>Promise.resolve().then(()=>(Wd(),$d)).then(A=>A.ja),ko:()=>Promise.resolve().then(()=>(_d(),Jd)).then(A=>A.ko),pt:()=>Promise.resolve().then(()=>(qd(),jd)).then(A=>A.pt),ru:()=>Promise.resolve().then(()=>(sp(),Ap)).then(A=>A.ru)}),A.registerLocale=tp.registerLocale,A.loadLocale=tp.loadLocale,np=tp.createT,op=v});function lp(A,e,t){let s=new Blob([A],{type:t}),r=URL.createObjectURL(s),i=document.createElement("a");i.href=r,i.download=e,i.style.display="none",W(i),document.body.appendChild(i),i.click(),requestAnimationFrame(()=>{URL.revokeObjectURL(r),i.remove()})}var cp,dp,pp,hp,up,gp,Bp=t(()=>{$(),UA(),cp=["id","type","status","message","url","authorName","authorEmail","createdAt","resolvedAt","viewport"],dp=class{constructor(A,e,t){this.getFeedbacks=e,this.element=R("div",{style:"position: relative; display: inline-flex;"});let s=document.createElement("button");s.className="sp-export-btn",s.setAttribute("aria-haspopup","true"),s.setAttribute("aria-expanded","false"),s.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>'));let r=document.createElement("span");O(r,t("export.label")),s.appendChild(r),s.addEventListener("click",A=>{A.stopPropagation(),this.toggle()}),this.menu=R("div",{class:"sp-export-menu"}),this.menu.setAttribute("role","menu");let i=this.createOption('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="3" y1="15" x2="21" y2="15"/><line x1="9" y1="3" x2="9" y2="21"/><line x1="15" y1="3" x2="15" y2="21"/></svg>',t("export.csv"),()=>{this.exportAs("csv")}),n=this.createOption('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 3H6a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2 2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h2"/><path d="M16 3h2a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2 2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2"/></svg>',t("export.json"),()=>{this.exportAs("json")});this.menu.appendChild(i),this.menu.appendChild(n),this.element.appendChild(s),this.element.appendChild(this.menu),this.element.addEventListener("keydown",A=>{"Escape"!==A.key||!this.isOpen||(A.stopPropagation(),this.close(),s.focus())})}getFeedbacks;element;menu;isOpen=!1;removeOutsideClick=null;createOption(A,e,t){let s=document.createElement("button");s.className="sp-export-option",s.setAttribute("role","menuitem");let r=R("span",{class:"sp-export-option-icon"});r.appendChild(T(A));let i=R("span",{class:"sp-export-option-label"});return O(i,e),s.appendChild(r),s.appendChild(i),s.addEventListener("click",A=>{A.stopPropagation(),t(),this.close()}),s}toggle(){this.isOpen?this.close():this.open()}open(){this.isOpen=!0,this.removeOutsideClick=P(this.element,()=>this.close()),this.menu.classList.add("sp-export-menu--open"),this.element.querySelector(".sp-export-btn")?.setAttribute("aria-expanded","true")}close(){this.isOpen=!1,this.removeOutsideClick?.(),this.removeOutsideClick=null,this.menu.classList.remove("sp-export-menu--open"),this.element.querySelector(".sp-export-btn")?.setAttribute("aria-expanded","false")}exportAs(A){let e=this.getFeedbacks();if(0===e.length)return;let t=e[0]?.projectName??"feedbacks",s=(new Date).toISOString().slice(0,10),r=t.replace(/[^a-zA-Z0-9_-]/g,"_");if("csv"===A){let A=function(A){let e=cp.join(","),t=A.map(A=>cp.map(e=>{let t=A[e];return function(A){let e=/^[=+\-@\t\r]/.test(A)?`'${A}`:A;return e.includes('"')||e.includes(",")||e.includes("\n")||e.includes("\r")?`"${e.replace(/"/g,'""')}"`:e}(null==t?"":String(t))}).join(","));return[e,...t].join("\n")}(e);lp(A,`feedbacks-${r}-${s}.csv`,"text/csv;charset=utf-8")}else lp((i=e,JSON.stringify(i,null,2)),`feedbacks-${r}-${s}.json`,"application/json;charset=utf-8");var i}destroy(){this.close(),this.element.remove()}}}),wp=t(()=>{$(),ap(),pp='<svg viewBox="0 0 18 18" fill="none" aria-hidden="true"><rect x="1" y="1" width="16" height="16" rx="4" stroke="currentColor" stroke-width="2"/></svg>',hp='<svg viewBox="0 0 18 18" fill="none" aria-hidden="true"><rect x="1" y="1" width="16" height="16" rx="4" fill="url(#sp-cb-grad)" stroke="none"/><polyline points="5 9 8 12 13 6" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><defs><linearGradient id="sp-cb-grad" x1="0" y1="0" x2="18" y2="18" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="var(--sp-accent)"/><stop offset="100%" stop-color="var(--sp-accent-dark)"/></linearGradient></defs></svg>',up=".sp-bulk-checkbox{position:relative;width:16px;height:16px;flex-shrink:0;cursor:pointer;border-radius:4px;color:var(--sp-border);opacity:0;transition:opacity 0.15s ease,color 0.15s ease,transform 0.15s ease;display:inline-flex;align-items:center;justify-content:center;}.sp-bulk-checkbox svg{width:16px;height:16px;display:block;}.sp-bulk-checkbox:hover{color:var(--sp-accent);transform:scale(1.1);}.sp-bulk-checkbox--checked{color:var(--sp-accent);opacity:1 !important;filter:drop-shadow(0 0 4px var(--sp-accent-glow));}.sp-card:hover .sp-bulk-checkbox{opacity:1;}.sp-list--has-selection .sp-bulk-checkbox{opacity:1;}.sp-card--selected{border-left:3px solid var(--sp-accent) !important;background:var(--sp-accent-light) !important;}.sp-card--selected:hover{background:var(--sp-accent-light) !important;}.sp-bulk-select-all{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:4px;border-radius:var(--sp-radius);background:transparent;cursor:pointer;opacity:0;transition:opacity 0.2s ease,background 0.2s ease;user-select:none;font-family:var(--sp-font);font-size:12px;font-weight:500;color:var(--sp-text-secondary);}.sp-bulk-select-all:hover{background:var(--sp-bg-hover);}.sp-list:hover .sp-bulk-select-all,.sp-list--has-selection .sp-bulk-select-all{opacity:1;}.sp-bulk-select-all .sp-bulk-checkbox{opacity:1;}@keyframes sp-bulk-bar-in{from{transform:translateY(100%) scale(0.95);opacity:0;}to{transform:translateY(0) scale(1);opacity:1;}}@keyframes sp-bulk-bar-out{from{transform:translateY(0) scale(1);opacity:1;}to{transform:translateY(100%) scale(0.95);opacity:0;}}.sp-bulk-bar{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:16px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);z-index:10;pointer-events:none;opacity:0;transform:translateY(100%) scale(0.95);transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),opacity 0.25s ease;font-family:var(--sp-font);}.sp-bulk-bar--visible{pointer-events:auto;opacity:1;transform:translateY(0) scale(1);}.sp-bulk-bar-count{font-size:13px;font-weight:600;color:var(--sp-text);white-space:nowrap;letter-spacing:-0.01em;}.sp-bulk-bar-actions{display:flex;align-items:center;gap:6px;}.sp-bulk-btn-resolve,.sp-bulk-btn-delete{padding:7px 14px;border-radius:var(--sp-radius-full);border:1.5px solid transparent;background:transparent;font-family:var(--sp-font);font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:5px;transition:all 0.2s ease;white-space:nowrap;}.sp-bulk-btn-resolve{color:#22c55e;border-color:#22c55e;}.sp-bulk-btn-resolve:hover{background:rgba(34,197,94,0.1);box-shadow:0 0 12px rgba(34,197,94,0.15);}.sp-bulk-btn-resolve:active{transform:scale(0.96);transition-duration:0.1s;}.sp-bulk-btn-delete{color:#ef4444;border-color:#ef4444;}.sp-bulk-btn-delete:hover{background:rgba(239,68,68,0.1);box-shadow:0 0 12px rgba(239,68,68,0.15);}.sp-bulk-btn-delete:active{transform:scale(0.96);transition-duration:0.1s;}.sp-bulk-btn-resolve:disabled,.sp-bulk-btn-delete:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-bulk-btn-deselect{width:28px;height:28px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;flex-shrink:0;padding:0;}.sp-bulk-btn-deselect:hover{background:var(--sp-bg-hover);color:var(--sp-text);border-color:var(--sp-text-tertiary);}.sp-bulk-btn-deselect:active{transform:scale(0.92);transition-duration:0.1s;}.sp-bulk-btn-deselect svg{width:12px;height:12px;}.sp-bulk-btn-resolve .sp-spinner,.sp-bulk-btn-delete .sp-spinner{width:14px;height:14px;}@media (forced-colors: active){.sp-bulk-checkbox,.sp-bulk-btn-resolve,.sp-bulk-btn-delete,.sp-bulk-btn-deselect,.sp-bulk-bar{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-bulk-checkbox--checked{background:Highlight !important;color:HighlightText !important;}.sp-card--selected{border-left:4px solid Highlight !important;}}@media (prefers-reduced-motion: reduce){.sp-bulk-bar{transition-duration:0.01ms !important;}.sp-bulk-checkbox{transition-duration:0.01ms !important;}}",gp=class{constructor(A,e,t){this.callbacks=e,this.t=t,this.barElement=R("div",{class:"sp-bulk-bar"}),this.barElement.setAttribute("role","toolbar"),this.barElement.setAttribute("aria-label","Bulk actions"),this.countLabel=R("span",{class:"sp-bulk-bar-count"}),O(this.countLabel,op(this.t,"bulk.selected",{count:0}));let s=R("div",{class:"sp-bulk-bar-actions"});this.resolveBtn=document.createElement("button"),this.resolveBtn.className="sp-bulk-btn-resolve",this.resolveBtn.type="button",this.resolveBtn.addEventListener("click",()=>this.handleResolve()),this.deleteBtn=document.createElement("button"),this.deleteBtn.className="sp-bulk-btn-delete",this.deleteBtn.type="button",this.deleteBtn.addEventListener("click",()=>this.handleDelete());let r=document.createElement("button");r.className="sp-bulk-btn-deselect",r.type="button",r.setAttribute("aria-label",this.t("bulk.deselect")),r.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>')),r.addEventListener("click",()=>this.deselectAll()),s.appendChild(this.resolveBtn),s.appendChild(this.deleteBtn),s.appendChild(r),this.barElement.appendChild(this.countLabel),this.barElement.appendChild(s),this.updateButtonLabels()}callbacks;barElement;selected=new Set;checkboxMap=new Map;countLabel;resolveBtn;deleteBtn;selectAllCheckbox=null;listContainer=null;isProcessing=!1;t;createCheckbox(A){let e=R("div",{class:"sp-bulk-checkbox"});return e.setAttribute("role","checkbox"),e.setAttribute("tabindex","0"),e.setAttribute("aria-label",`Select feedback ${A}`),e.addEventListener("click",e=>{e.stopPropagation(),this.toggle(A)}),e.addEventListener("keydown",e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),e.stopPropagation(),this.toggle(A))}),this.checkboxMap.set(A,e),this.updateCheckbox(A),e}isSelected(A){return this.selected.has(A)}createSelectAllBar(A,e){let t=R("div",{class:"sp-bulk-select-all"}),s=R("div",{class:"sp-bulk-checkbox"});this.selectAllCheckbox=s,this.updateSelectAllCheckbox(A.length>0&&A.every(A=>this.selected.has(A)));let r=R("span");return O(r,e),t.appendChild(s),t.appendChild(r),t.addEventListener("click",()=>{this.selected.size===A.length&&A.length>0?this.deselectAll():this.selectAll(A)}),t}setListContainer(A){this.listContainer=A}toggle(A){this.isProcessing||(this.selected.has(A)?this.selected.delete(A):this.selected.add(A),this.updateCheckbox(A),this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass(),this.updateCardSelectedState(A))}selectAll(A){if(!this.isProcessing){for(let e of A)this.selected.add(e),this.updateCheckbox(e),this.updateCardSelectedState(e);this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass()}}deselectAll(){let A=[...this.selected];this.selected.clear();for(let e of A)this.updateCheckbox(e),this.updateCardSelectedState(e);this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass()}get selectedIds(){return[...this.selected]}get count(){return this.selected.size}get hasSelection(){return this.selected.size>0}reset(){this.selected.clear(),this.checkboxMap.clear(),this.selectAllCheckbox=null,this.isProcessing=!1,this.updateBar(),this.updateListSelectionClass()}destroy(){this.selected.clear(),this.checkboxMap.clear(),this.selectAllCheckbox=null,this.listContainer=null,this.barElement.remove()}updateBar(){let A=this.selected.size,e=A>0;this.barElement.classList.toggle("sp-bulk-bar--visible",e),O(this.countLabel,op(this.t,"bulk.selected",{count:A}));let t=[...this.selected];N(this.resolveBtn,!1===this.callbacks.permits?.(t,"canChangeStatus")),N(this.deleteBtn,!1===this.callbacks.permits?.(t,"canDelete")),this.updateButtonLabels()}updateButtonLabels(){let A=this.selected.size,e=this.t("bulk.resolve"),t=this.t("bulk.delete");this.resolveBtn.replaceChildren();let s=document.createElement("span");O(s,A>0?`${e} ${A}`:e),this.resolveBtn.appendChild(s),this.deleteBtn.replaceChildren();let r=document.createElement("span");O(r,A>0?`${t} ${A}`:t),this.deleteBtn.appendChild(r)}updateCheckbox(A){let e=this.checkboxMap.get(A);if(!e)return;let t=this.selected.has(A);e.classList.toggle("sp-bulk-checkbox--checked",t),e.setAttribute("aria-checked",String(t)),e.replaceChildren(),e.appendChild(T(t?hp:pp))}updateSelectAllCheckbox(A=this.selected.size>0&&this.selected.size===this.checkboxMap.size){this.selectAllCheckbox&&(this.selectAllCheckbox.classList.toggle("sp-bulk-checkbox--checked",A),this.selectAllCheckbox.setAttribute("aria-checked",String(A)),this.selectAllCheckbox.replaceChildren(),this.selectAllCheckbox.appendChild(T(A?hp:pp)))}updateListSelectionClass(){this.listContainer&&this.listContainer.classList.toggle("sp-list--has-selection",this.selected.size>0)}updateCardSelectedState(A){if(!this.listContainer)return;let e=CSS.escape(A),t=this.listContainer.querySelector(`[data-feedback-id="${e}"]`);t&&t.classList.toggle("sp-card--selected",this.selected.has(A))}async handleResolve(){if(this.isProcessing||0===this.selected.size)return;this.isProcessing=!0;let A=[...this.selected];V(this.resolveBtn),this.deleteBtn.disabled=!0;try{await this.callbacks.onResolve(A)}catch{return}finally{this.endProcessing()}this.deselectAll()}async handleDelete(){if(this.isProcessing||0===this.selected.size)return;this.isProcessing=!0;let A=[...this.selected];V(this.deleteBtn),this.resolveBtn.disabled=!0;try{await this.callbacks.onDelete(A)}catch{return}finally{this.endProcessing()}this.deselectAll()}endProcessing(){this.isProcessing=!1,this.resolveBtn.disabled=!1,this.deleteBtn.disabled=!1,this.updateButtonLabels()}}});function fp(A){for(let e of[...A.attributes])(!yp.has(e.name.toLowerCase())||!xp(e.value))&&A.removeAttribute(e.name);for(let e of[...A.children])Cp.has(e.localName.toLowerCase())?fp(e):e.remove()}function mp(A){let e=(new DOMParser).parseFromString(A,"text/html").body.firstElementChild;return"http://www.w3.org/2000/svg"!==e?.namespaceURI||"svg"!==e.localName?null:(fp(e),e.setAttribute("aria-hidden","true"),document.importNode(e,!0))}function bp(A){try{let e=new URL(A,document.baseURI);return/^(https?|mailto):$/.test(e.protocol)?e.href:null}catch{return null}}var Cp,yp,Qp,xp,Fp,Up,vp=t(()=>{Cp=new Set(["svg","g","path","circle","ellipse","line","polyline","polygon","rect","defs","lineargradient","radialgradient","stop","clippath","mask"]),yp=new Set("id viewbox preserveaspectratio width height x y x1 y1 x2 y2 cx cy r rx ry fx fy fr d points pathlength\n transform opacity color fill fill-opacity fill-rule stroke stroke-width stroke-linecap stroke-linejoin\n stroke-miterlimit stroke-dasharray stroke-dashoffset stroke-opacity clip-path clip-rule mask offset\n stop-color stop-opacity gradientunits gradienttransform spreadmethod clippathunits maskunits\n maskcontentunits".split(/\s+/)),Qp=/\b(?:(?:rgba?|hsla?|matrix|translate|scale|rotate|skewx|skewy)\([^()\\]*\)|url\(\s*(['"]?)#[\w-]+\1\s*\))/gi,xp=A=>!A.includes("\\")&&!A.replace(Qp,"").includes("("),Fp=A=>"function"==typeof A.onAction&&void 0===A.href,Up=A=>("string"==typeof A.href||"function"==typeof A.href)&&void 0===A.onAction});function Ep(A,e){try{return new Date(A).toLocaleString(e,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{return A}}function kp(A,e){return A.length<=e?A:A.slice(0,e-1)+"\u2026"}function Hp(A){return!Number.isFinite(A)||A<0?"\u2014":A<1e3?`${Math.round(A)} ms`:`${(A/1e3).toFixed(1)} s`}function Ip({action:A,icon:e}){let t=document.createElement("span");return O(t,A.label),e?[e.cloneNode(!0),t]:[t]}var Sp,Lp,Mp,Dp=t(()=>{D(),$(),ap(),vA(),vp(),DA(),Sp='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>',Lp='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg>',Mp=class{constructor(A,e,t,s,r=[]){this.colors=A,this.callbacks=e,this.customActions=r,this.t=t,this.locale=s,this.element=R("div",{class:"sp-detail"}),this.element.setAttribute("role","dialog"),this.element.setAttribute("aria-label","Feedback detail"),this.element.setAttribute("aria-hidden","true");let i=R("div",{class:"sp-detail-header"}),n=document.createElement("button");n.type="button",n.className="sp-detail-back",n.setAttribute("aria-label",this.t("detail.back")),n.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>')),n.addEventListener("click",()=>{this.hide(),this.callbacks.onBack()}),this.element.appendChild(i),i.appendChild(n),this.content=R("div",{class:"sp-detail-content"}),this.element.appendChild(this.content)}colors;callbacks;customActions;element;_isVisible=!1;currentFeedback=null;content;t;locale;resolveBtn=null;deleteBtn=null;customBtns=[];pending=new Map;show(A,e){this.currentFeedback=A;let t=this.element.querySelector(".sp-detail-header");if(!t)return;let s=t.querySelector(".sp-detail-back");if(!s)return;t.replaceChildren(s);let r=R("span",{class:"sp-detail-title"});O(r,op(this.t,"detail.title",{number:e})),t.appendChild(r);let i=R("span",{class:"sp-badge"});i.style.background=HA(A.type,this.colors),i.style.color=kA(A.type,this.colors),O(i,rp(A.type,this.t)),t.appendChild(i),this.content.replaceChildren();let n=0,o=this.buildSection(n++);this.buildStatusActions(o,A);let a=this.pending.get(A.id);a&&this.lock(a),this.content.appendChild(o);let l=this.buildSection(n++),c=R("div",{class:"sp-detail-section-title"});O(c,this.t("detail.message")),l.appendChild(c);let d=R("div",{class:"sp-detail-message"});d.style.borderLeftColor=kA(A.type,this.colors),O(d,A.message),l.appendChild(d);let p=this.callbacks.buildThread?.(A);if(p&&l.appendChild(p),this.content.appendChild(l),A.screenshotUrl&&(h=A.screenshotUrl,/^data:image\/(jpeg|png|webp);/i.test(h)||/^https:\/\//i.test(h)||function(A){try{let{protocol:e,hostname:t}=new URL(A);return"http:"===e&&("localhost"===t||t.endsWith(".localhost")||"127.0.0.1"===t||"[::1]"===t)}catch{return!1}}(h))){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});O(t,this.t("detail.screenshot")),e.appendChild(t);let s=document.createElement("img");s.className="sp-detail-screenshot",s.src=A.screenshotUrl,s.alt=this.t("detail.screenshotAlt"),s.loading="lazy",s.referrerPolicy="no-referrer",e.appendChild(s),this.content.appendChild(e)}var h;let u=this.buildSection(n++),g=R("div",{class:"sp-detail-section-title"});if(O(g,this.t("detail.metadata")),u.appendChild(g),this.buildMetadata(u,A),this.content.appendChild(u),A.annotations.length>0){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});t.appendChild(T(Sp));let s=R("span");O(s,this.t("detail.annotation")),t.appendChild(s),e.appendChild(t),this.buildAnnotation(e,A),this.content.appendChild(e)}if(function(A){if(!A)return!1;let e=Array.isArray(A.console)?A.console.length:0,t=Array.isArray(A.network)?A.network.length:0;return e>0||t>0}(A.diagnostics)){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});t.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>'));let s=R("span");O(s,this.t("detail.diagnostics")),t.appendChild(s),e.appendChild(t),this.buildDiagnostics(e,A),this.content.appendChild(e)}this._isVisible=!0,this.element.setAttribute("aria-hidden","false"),this.element.offsetHeight,this.element.classList.add("sp-detail--visible"),requestAnimationFrame(()=>{s.focus()})}hide(){this._isVisible&&(this._isVisible=!1,this.element.classList.remove("sp-detail--visible"),this.element.setAttribute("aria-hidden","true"),this.currentFeedback=null,this.resolveBtn=null,this.deleteBtn=null,this.customBtns=[])}get feedbackId(){return this.currentFeedback?.id??null}get isVisible(){return this._isVisible}destroy(){this.hide(),this.element.remove()}buildSection(A){let e=R("div",{class:"sp-detail-section"});return e.style.animationDelay=40*A+"ms",e}buildStatusActions(A,e){let t=u(e.status),s=R("div",{class:"sp-detail-section-title"});O(s,this.t("detail.status")),A.appendChild(s);let r=e.status.replace(/_/g,"-"),i={open:"#22c55e",in_progress:"#f59e0b",resolved:"#9ca3af",wont_fix:"#94a3b8"},n=R("div",{class:"sp-detail-status"}),o=R("span",{class:`sp-detail-status-pill sp-detail-status-pill--${r}`}),a=R("span",{class:"sp-detail-status-dot"});a.style.background=i[e.status]??i.open,o.appendChild(a);let l=R("span");O(l,ip(e.status,this.t)),o.appendChild(l),n.appendChild(o),A.appendChild(n);let c=R("div",{class:"sp-detail-actions"});this.resolveBtn=document.createElement("button"),this.resolveBtn.type="button",this.resolveBtn.className=t?"sp-detail-btn-reopen":"sp-detail-btn-resolve",this.restoreResolveBtn(e),this.resolveBtn.addEventListener("click",()=>this.handleResolve()),this.deleteBtn=document.createElement("button"),this.deleteBtn.type="button",this.deleteBtn.className="sp-detail-btn-delete",this.restoreDeleteBtn(),this.deleteBtn.addEventListener("click",()=>this.handleDelete()),!1!==this.callbacks.permits?.(e,"canChangeStatus")&&c.appendChild(this.resolveBtn),!1!==this.callbacks.permits?.(e,"canDelete")&&c.appendChild(this.deleteBtn),A.appendChild(c),this.buildCustomActions(A,e)}buildCustomActions(A,e){if(this.customBtns=[],0===this.customActions.length)return;let t=(r=e,JSON.parse(JSON.stringify(r),(A,e)=>"object"==typeof e&&null!==e?Object.freeze(e):e)),s=R("div",{class:"sp-detail-actions sp-detail-actions--custom"});var r;for(let A of this.customActions){let e,{action:r}=A;try{if(r.visible&&!r.visible(t))continue;if(void 0===r.href){let s=document.createElement("button");s.type="button",s.setAttribute("aria-label",r.label),s.addEventListener("click",()=>{this.run(A,()=>this.callbacks.onCustomAction(r,t))}),this.customBtns.push(s),e=s}else{let A=bp("function"==typeof r.href?r.href(t):r.href);if(!A)throw new Error(`[siteping] Panel action "${r.id}": href must be an http(s) or mailto URL.`);let s=document.createElement("a");s.href=A,A.startsWith("mailto:")||(s.target="_blank"),s.rel="noopener noreferrer",e=s}}catch(A){this.callbacks.onCustomActionError(A);continue}e.className="sp-detail-btn-custom",e.setAttribute("data-action-id",r.id),e.title=r.label,e.append(...Ip(A)),s.appendChild(e)}s.childElementCount>0&&A.appendChild(s)}buildMetadata(A,e){let t=R("div",{class:"sp-detail-meta"});if(this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>',this.t("detail.page"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return O(A,kp(function(A){try{return new URL(A).pathname}catch{return A}}(e.url),60)),A.title=e.url,A}),this.addMetaRow(t,QA,this.t("detail.author"),()=>{let A=R("div",{class:"sp-detail-meta-value"}),t=e.authorName||"Anonymous",s=e.authorEmail;return O(A,s?`${t} (${s})`:t),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>',this.t("detail.date"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return O(A,Ep(e.createdAt,this.locale)),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>',this.t("detail.viewport"),()=>{let A=R("div",{class:"sp-detail-meta-value sp-detail-meta-value--mono"});return O(A,e.viewport||"Unknown"),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>',this.t("detail.browser"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return O(A,function(A){if(/Edg\//i.test(A)){let e=A.match(/Edg\/([\d.]+)/);return e?`Edge ${e[1]}`:"Edge"}if(/OPR\//i.test(A)||/Opera/i.test(A)){let e=A.match(/OPR\/([\d.]+)/);return e?`Opera ${e[1]}`:"Opera"}if(/Firefox\//i.test(A)){let e=A.match(/Firefox\/([\d.]+)/);return e?`Firefox ${e[1]}`:"Firefox"}if(/Chrome\//i.test(A)&&!/Chromium/i.test(A)){let e=A.match(/Chrome\/([\d.]+)/);return e?`Chrome ${e[1]}`:"Chrome"}if(/Safari\//i.test(A)&&!/Chrome/i.test(A)){let e=A.match(/Version\/([\d.]+)/);return e?`Safari ${e[1]}`:"Safari"}return"Unknown"}(e.userAgent)),A}),e.resolvedAt){let A=e.resolvedAt,s="wont_fix"===e.status?this.t("detail.closedAt"):this.t("detail.resolvedAt");this.addMetaRow(t,Lp,s,()=>{let e=R("div",{class:"sp-detail-meta-value sp-detail-meta-value--secondary"});return O(e,Ep(A,this.locale)),e})}A.appendChild(t)}addMetaRow(A,e,t,s){let r=R("div",{class:"sp-detail-meta-row"});r.appendChild(T(e));let i=R("div",{class:"sp-detail-meta-content"}),n=R("div",{class:"sp-detail-meta-label"});O(n,t),i.appendChild(n),i.appendChild(s()),r.appendChild(i),A.appendChild(r)}buildAnnotation(A,e){let t=e.annotations[0];if(!t)return;let s=R("div",{class:"sp-detail-annotation"}),r=R("div",{class:"sp-detail-annotation-info"});if(this.addAnnotationRow(r,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>',this.t("detail.element"),()=>{let A=R("span",{class:"sp-detail-annotation-value sp-detail-annotation-value--mono"});return O(A,t.elementId?`<${t.elementTag}#${t.elementId}>`:`<${t.elementTag}>`),A}),this.addAnnotationRow(r,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="22" y1="12" x2="18" y2="12"/><line x1="6" y1="12" x2="2" y2="12"/><line x1="12" y1="6" x2="12" y2="2"/><line x1="12" y1="22" x2="12" y2="18"/></svg>',this.t("detail.selector"),()=>{let A=R("span",{class:"sp-detail-annotation-value sp-detail-annotation-value--mono"});return O(A,kp(t.cssSelector,60)),A.title=t.cssSelector,A}),this.addAnnotationRow(r,Sp,this.t("detail.position"),()=>{let A=R("span",{class:"sp-detail-annotation-value"}),e=A=>`${(100*A).toFixed(1)}%`;return O(A,`${e(t.xPct)}, ${e(t.yPct)}`+(t.wPct>0||t.hPct>0?` (${e(t.wPct)} \xd7 ${e(t.hPct)})`:"")),A}),s.appendChild(r),A.appendChild(s),!1===this.callbacks.canGoToAnnotation?.(e))return;let i=document.createElement("button");i.type="button",i.className="sp-detail-btn-goto",i.appendChild(T(Sp));let n=document.createElement("span");O(n,this.t("detail.goToAnnotation")),i.appendChild(n),i.addEventListener("click",()=>{this.currentFeedback&&this.callbacks.onGoToAnnotation(this.currentFeedback)}),s.appendChild(i)}buildDiagnostics(A,e){let t=e.diagnostics;if(!t)return;let s=Array.isArray(t.console)?t.console:[],r=Array.isArray(t.network)?t.network:[],i=s.filter(A=>"error"===A.level).length,n=R("div",{class:"sp-detail-diag"}),o=document.createElement("button");o.type="button",o.className="sp-detail-diag-toggle",o.setAttribute("aria-expanded","false"),o.setAttribute("aria-label",this.t("detail.diagnostics.expand"));let a=document.createElement("span"),l=document.createElement("span");l.style.display="inline-flex",l.style.alignItems="center",l.style.gap="8px",l.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg>')),O(a,this.t("detail.diagnostics")),l.appendChild(a),o.appendChild(l);let c=R("span",{class:"sp-detail-diag-counts"}),d=R("span",{class:"sp-detail-diag-count"+(i>0?" sp-detail-diag-count--errors":"")});O(d,`${s.length} console`);let p=R("span",{class:"sp-detail-diag-count"+(r.length>0?" sp-detail-diag-count--errors":"")});O(p,`${r.length} net`),c.appendChild(d),c.appendChild(p),o.appendChild(c);let h=R("div",{class:"sp-detail-diag-body"});if(s.length>0){let A=document.createElement("div"),e=R("div",{class:"sp-detail-diag-group-title"});O(e,this.t("detail.diagnostics.console")),A.appendChild(e);let t=document.createElement("ul");t.className="sp-detail-diag-list";for(let A of s){let e=document.createElement("li"),s=R("span",{class:`sp-detail-diag-level sp-detail-diag-level--${A.level}`});O(s,A.level);let r=R("span",{class:"sp-detail-diag-message"});O(r,kp(A.message,240)),r.title=A.message,e.appendChild(s),e.appendChild(r),t.appendChild(e)}A.appendChild(t),h.appendChild(A)}if(r.length>0){let A=document.createElement("div"),e=R("div",{class:"sp-detail-diag-group-title"});O(e,this.t("detail.diagnostics.network")),A.appendChild(e);let t=document.createElement("ul");t.className="sp-detail-diag-list";for(let A of r){let e=document.createElement("li");e.classList.add("sp-detail-diag-net");let s=R("span",{class:"sp-detail-diag-net-status"});O(s,0===A.status?"ERR":String(A.status));let r=R("span",{class:"sp-detail-diag-net-method"});O(r,A.method);let i=R("span",{class:"sp-detail-diag-net-url"});O(i,kp(A.url,120)),i.title=`${A.url} \u2014 ${Hp(A.durationMs)}`,e.appendChild(s),e.appendChild(r),e.appendChild(i),t.appendChild(e)}A.appendChild(t),h.appendChild(A)}o.addEventListener("click",()=>{let A=!("true"===o.getAttribute("aria-expanded"));o.setAttribute("aria-expanded",String(A)),o.setAttribute("aria-label",A?this.t("detail.diagnostics.collapse"):this.t("detail.diagnostics.expand")),h.classList.toggle("sp-detail-diag-body--open",A)}),n.appendChild(o),n.appendChild(h),A.appendChild(n)}addAnnotationRow(A,e,t,s){let r=R("div",{class:"sp-detail-annotation-row"});r.appendChild(T(e));let i=R("div",{class:"sp-detail-meta-content"}),n=R("div",{class:"sp-detail-annotation-label"});O(n,t),i.appendChild(n),i.appendChild(s()),r.appendChild(i),A.appendChild(r)}handleResolve(){return this.run("resolve",A=>this.callbacks.onResolve(A))}handleDelete(){return this.run("delete",A=>this.callbacks.onDelete(A))}async run(A,e){let t=this.currentFeedback;if(t&&!this.pending.has(t.id)){this.pending.set(t.id,A),this.lock(A);try{await e(t)}catch{}finally{this.pending.delete(t.id),this.currentFeedback?.id===t.id&&this.unlock(A,this.currentFeedback)}}}lock(A){this.setActionsDisabled(!0);let e=this.buttonFor(A);e&&(this.setButtonLoading(e),e.setAttribute("aria-busy","true"))}unlock(A,e){let t=this.buttonFor(A);t?.removeAttribute("aria-busy"),"resolve"===A?this.restoreResolveBtn(e):"delete"===A?this.restoreDeleteBtn():t?.replaceChildren(...Ip(A)),this.setActionsDisabled(!1)}buttonFor(A){return"resolve"===A?this.resolveBtn:"delete"===A?this.deleteBtn:this.customBtns.find(e=>e.dataset.actionId===A.action.id)??null}setActionsDisabled(A){for(let e of[this.resolveBtn,this.deleteBtn,...this.customBtns])e&&(e.disabled=A)}setButtonLoading(A){A.disabled=!0,A.replaceChildren(R("div",{class:"sp-spinner sp-spinner--sm"}))}restoreResolveBtn(A){if(!this.resolveBtn)return;this.resolveBtn.disabled=!1,this.resolveBtn.replaceChildren();let e=u(A.status);this.resolveBtn.appendChild(T(e?'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>':Lp));let t=document.createElement("span");O(t,e?this.t("detail.reopen"):this.t("detail.resolve")),this.resolveBtn.appendChild(t)}restoreDeleteBtn(){if(!this.deleteBtn)return;this.deleteBtn.disabled=!1,this.deleteBtn.replaceChildren(),this.deleteBtn.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg>'));let A=document.createElement("span");O(A,this.t("detail.delete")),this.deleteBtn.appendChild(A)}}});function Kp(A){try{return new URL(A).pathname}catch{return A}}function Tp(A,e,t){let s=R("div",{class:"sp-group-header"});s.setAttribute("role","button"),s.setAttribute("tabindex","0"),s.setAttribute("aria-expanded","true"),s.style.borderBottomColor=t.border;let r=R("span",{class:"sp-group-header-chevron"});r.appendChild(T(Op)),s.appendChild(r);let i=R("span",{class:"sp-group-header-icon"});i.appendChild(T(Rp)),s.appendChild(i);let n=R("span",{class:"sp-group-header-path"}),o=function(A){if(A.length<=40)return A;let e=Math.floor(19.5);return A.slice(0,e)+"\u2026"+A.slice(-e)}(A);O(n,o),A.length>40&&(n.title=A),s.appendChild(n);let a=R("span",{class:"sp-group-header-count"});a.style.background=t.accentLight,a.style.color=t.accent,O(a,String(e)),s.appendChild(a);let l=()=>{let A="true"===s.getAttribute("aria-expanded");s.setAttribute("aria-expanded",String(!A)),s.classList.toggle("sp-group-header--collapsed",A);let e=s.nextElementSibling;e?.classList.contains("sp-group-content")&&e.classList.toggle("sp-group-content--collapsed",A)};return s.addEventListener("click",l),s.addEventListener("keydown",A=>{("Enter"===A.key||" "===A.key)&&(A.preventDefault(),l())}),s}var Rp,Op,Pp,Np,Vp,Gp,Xp,$p=t(()=>{D(),$(),Rp='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>',Op='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg>',Pp={question:0,change:1,bug:2,other:3},Np=class{element;_sortMode="newest";_groupByPage=!1;menuEl=null;sortBtn;sortDropdown;groupToggle;t;colors;onChange;removeOutsideClick=null;constructor(A,e,t){this.colors=A,this.onChange=e,this.t=t,this.element=R("div",{class:"sp-sort-controls"}),this.sortBtn=document.createElement("button"),this.sortBtn.className="sp-sort-btn",this.sortBtn.setAttribute("aria-haspopup","listbox"),this.sortBtn.setAttribute("aria-expanded","false"),this.sortBtn.setAttribute("aria-label",this.t("sort.label"));let s=T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 5h10"/><path d="M11 9h7"/><path d="M11 13h4"/><path d="M3 17l3 3 3-3"/><path d="M6 18V4"/></svg>');this.sortBtn.appendChild(s);let r=R("span",{class:"sp-sort-btn-label"});O(r,this.t("sort.newest")),this.sortBtn.appendChild(r),this.sortBtn.addEventListener("click",A=>{A.stopPropagation(),this.toggleMenu()}),this.groupToggle=document.createElement("button"),this.groupToggle.className="sp-group-toggle",this.groupToggle.setAttribute("aria-pressed","false");let i=T(Rp);this.groupToggle.appendChild(i);let n=R("span",{class:"sp-group-toggle-label"});O(n,this.t("group.byPage")),this.groupToggle.appendChild(n),this.groupToggle.addEventListener("click",()=>{this._groupByPage=!this._groupByPage,this.groupToggle.classList.toggle("sp-group-toggle--active",this._groupByPage),this.groupToggle.setAttribute("aria-pressed",String(this._groupByPage)),this.onChange()}),this.sortDropdown=R("div",{class:"sp-sort-dropdown"}),this.sortDropdown.appendChild(this.sortBtn),this.element.appendChild(this.sortDropdown),this.element.appendChild(this.groupToggle),this.element.addEventListener("keydown",A=>{"Escape"!==A.key||!this.menuEl||(A.stopPropagation(),this.closeMenu(),this.sortBtn.focus())})}get sortMode(){return this._sortMode}get groupByPage(){return this._groupByPage}toggleMenu(){this.menuEl?this.closeMenu():this.openMenu()}openMenu(){this.menuEl=R("div",{class:"sp-sort-menu"}),this.menuEl.setAttribute("role","listbox"),this.menuEl.setAttribute("aria-label",this.t("sort.label")),this.sortBtn.setAttribute("aria-expanded","true");let A=[{mode:"newest",label:this.t("sort.newest")},{mode:"oldest",label:this.t("sort.oldest")},{mode:"by-type",label:this.t("sort.byType")},{mode:"open-first",label:this.t("sort.openFirst")}];for(let e of A){let A=document.createElement("button");A.className="sp-sort-option"+(e.mode===this._sortMode?" sp-sort-option--active":""),A.setAttribute("role","option"),A.setAttribute("aria-selected",String(e.mode===this._sortMode)),e.mode===this._sortMode&&(A.style.background=this.colors.accentLight,A.style.color=this.colors.accent),O(A,e.label),A.addEventListener("click",A=>{A.stopPropagation(),this._sortMode=e.mode,this.updateSortLabel(),this.closeMenu(),this.onChange()}),this.menuEl.appendChild(A)}this.sortDropdown.appendChild(this.menuEl),this.removeOutsideClick=P(this.sortDropdown,()=>this.closeMenu())}closeMenu(){this.menuEl&&(this.menuEl.remove(),this.menuEl=null),this.sortBtn.setAttribute("aria-expanded","false"),this.removeOutsideClick?.(),this.removeOutsideClick=null}updateSortLabel(){let A={newest:this.t("sort.newest"),oldest:this.t("sort.oldest"),"by-type":this.t("sort.byType"),"open-first":this.t("sort.openFirst")},e=this.sortBtn.querySelector(".sp-sort-btn-label");e&&O(e,A[this._sortMode])}destroy(){this.closeMenu()}},Vp='.sp-sort-controls{display:flex;align-items:center;gap:6px;margin-top:4px;padding-top:8px;border-top:1px solid var(--sp-border);}.sp-sort-dropdown{display:contents;}.sp-sort-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all 0.2s ease;position:relative;}.sp-sort-btn svg{width:14px;height:14px;flex-shrink:0;}.sp-sort-btn:hover{border-color:var(--sp-accent);color:var(--sp-accent);background:var(--sp-accent-light);}.sp-sort-btn[aria-expanded="true"]{border-color:var(--sp-accent);color:var(--sp-accent);background:var(--sp-accent-light);}.sp-sort-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:170px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-md);z-index:10;animation:sp-sort-menu-in 0.15s ease-out both;}@keyframes sp-sort-menu-in{from{opacity:0;transform:translateY(-4px) scale(0.97);}to{opacity:1;transform:translateY(0) scale(1);}}.sp-sort-option{display:block;width:100%;padding:8px 12px;border:none;border-radius:8px;background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;text-align:left;transition:all 0.15s ease;}.sp-sort-option:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-sort-option--active{font-weight:600;}.sp-sort-option--active:hover{background:var(--sp-accent-light);color:var(--sp-accent);}.sp-group-toggle,.sp-mine-toggle{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all 0.2s ease;}.sp-group-toggle svg,.sp-mine-toggle svg{width:13px;height:13px;flex-shrink:0;}.sp-group-toggle:hover,.sp-mine-toggle:hover{border-color:var(--sp-accent);color:var(--sp-accent);background:var(--sp-accent-light);}.sp-group-toggle--active,.sp-mine-toggle--active{background:var(--sp-accent-gradient);border-color:transparent;color:#fff;box-shadow:0 2px 8px var(--sp-accent-glow);}.sp-group-toggle--active:hover,.sp-mine-toggle--active:hover{background:var(--sp-accent-gradient);border-color:transparent;color:#fff;}.sp-group-header{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--sp-accent-light);border-bottom:1px solid var(--sp-border);cursor:pointer;user-select:none;position:sticky;top:0;z-index:2;transition:background 0.2s ease;}.sp-group-header:hover{background:var(--sp-bg-hover);}.sp-group-header:focus-visible{outline:2px solid var(--sp-accent);outline-offset:-2px;}.sp-group-header-chevron{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;transition:transform 0.2s ease;transform:rotate(90deg);}.sp-group-header-chevron svg{width:12px;height:12px;color:var(--sp-text-tertiary);}.sp-group-header--collapsed .sp-group-header-chevron{transform:rotate(0deg);}.sp-group-header-icon{display:flex;align-items:center;flex-shrink:0;}.sp-group-header-icon svg{width:14px;height:14px;color:var(--sp-text-tertiary);}.sp-group-header-path{font-size:12px;font-weight:600;color:var(--sp-text-secondary);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-group-header-count{font-size:11px;font-weight:700;padding:1px 8px;border-radius:var(--sp-radius-full);flex-shrink:0;font-variant-numeric:tabular-nums;}.sp-group-content{overflow:hidden;transition:max-height 0.25s ease,opacity 0.2s ease;max-height:5000px;opacity:1;}.sp-group-content--collapsed{max-height:0;opacity:0;pointer-events:none;}@media (forced-colors: active){.sp-sort-btn,.sp-group-toggle,.sp-mine-toggle,.sp-sort-option,.sp-group-header{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-group-toggle--active,.sp-mine-toggle--active{background:Highlight !important;color:HighlightText !important;}.sp-sort-btn:focus-visible,.sp-group-toggle:focus-visible,.sp-mine-toggle:focus-visible,.sp-sort-option:focus-visible,.sp-group-header:focus-visible{outline:3px solid Highlight !important;}.sp-sort-menu{border:2px solid ButtonText !important;background:Canvas !important;}}@media (prefers-reduced-motion: reduce){.sp-sort-menu{animation:none;}.sp-group-header-chevron{transition:none;}.sp-group-content{transition:none;}}'}),Yp=t(()=>{D(),$(),ap(),Gp='.sp-stats-bar{display:flex;flex-direction:column;gap:8px;padding:12px 24px;border-bottom:1px solid var(--sp-border);user-select:none;}.sp-stats-bar[hidden]{display:none;}.sp-stats-row{display:flex;align-items:center;gap:16px;}.sp-stats-item{display:flex;align-items:center;gap:6px;}.sp-stats-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}.sp-stats-value{font-size:16px;font-weight:600;line-height:1;color:var(--sp-text);font-variant-numeric:tabular-nums;font-feature-settings:"tnum";transition:opacity 0.3s ease;}.sp-stats-label{font-size:11px;line-height:1;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.04em;}.sp-stats-progress{display:flex;align-items:center;gap:8px;}.sp-stats-progress-track{flex:1;height:4px;border-radius:2px;background:var(--sp-border);overflow:hidden;}.sp-stats-progress-fill{height:100%;border-radius:2px;background:linear-gradient(90deg,var(--sp-accent),#22c55e);width:0%;transition:width 0.5s ease;}.sp-stats-progress-label{font-size:10px;line-height:1;color:var(--sp-text-tertiary);white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum";min-width:64px;text-align:right;}',Xp=class{constructor(A,e){this.colors=A,this.t=e,this.element=R("div",{class:"sp-stats-bar"}),this.element.setAttribute("aria-label","Feedback statistics"),this.element.hidden=!0;let t=R("div",{class:"sp-stats-row"}),s=R("div",{class:"sp-stats-item"}),r=R("span",{class:"sp-stats-dot"});r.style.background="#22c55e",this.valueOpen=R("span",{class:"sp-stats-value"}),O(this.valueOpen,"0");let i=R("span",{class:"sp-stats-label"});O(i,this.t("stats.open")),s.appendChild(r),s.appendChild(this.valueOpen),s.appendChild(i);let n=R("div",{class:"sp-stats-item"}),o=R("span",{class:"sp-stats-dot"});o.style.background="#9ca3af",this.valueResolved=R("span",{class:"sp-stats-value"}),O(this.valueResolved,"0");let a=R("span",{class:"sp-stats-label"});O(a,this.t("stats.resolved")),n.appendChild(o),n.appendChild(this.valueResolved),n.appendChild(a);let l=R("div",{class:"sp-stats-item"}),c=R("span",{class:"sp-stats-dot"});c.style.background=this.colors.typeBug,this.valueBugs=R("span",{class:"sp-stats-value"}),O(this.valueBugs,"0");let d=R("span",{class:"sp-stats-label"});O(d,this.t("stats.bugs")),l.appendChild(c),l.appendChild(this.valueBugs),l.appendChild(d),t.appendChild(s),t.appendChild(n),t.appendChild(l);let p=R("div",{class:"sp-stats-progress"}),h=R("div",{class:"sp-stats-progress-track"});this.progressFill=R("div",{class:"sp-stats-progress-fill"}),h.appendChild(this.progressFill),this.progressLabel=R("span",{class:"sp-stats-progress-label"}),O(this.progressLabel,""),p.appendChild(h),p.appendChild(this.progressLabel),this.element.appendChild(t),this.element.appendChild(p)}colors;element;valueOpen;valueResolved;valueBugs;progressFill;progressLabel;t;update(A,e){if(0===e)return void(this.element.hidden=!0);this.element.hidden=!1;let t=0,s=0,r=0;for(let e of A)u(e.status)?s++:t++,"bug"===e.type&&r++;O(this.valueOpen,String(t)),O(this.valueResolved,String(s)),O(this.valueBugs,String(r));let i=A.length,n=i>0?Math.round(s/i*100):0;requestAnimationFrame(()=>{this.progressFill.style.width=`${n}%`});let o=op(this.t,"stats.progress",{percent:n});O(this.progressLabel,o)}}});function Wp(A){let e=Array.from(A.querySelectorAll(".sp-card")),t=A.getRootNode().activeElement?.closest(".sp-card"),s=t?e.indexOf(t):-1;return s>=0?s:e.findIndex(A=>A.classList.contains("sp-card--focused"))}var Jp,zp,_p,jp=t(()=>{$(),Jp=[{keys:["J","K"],label:"shortcuts.navigate"},{keys:["R"],label:"shortcuts.resolve"},{keys:["D"],label:"shortcuts.delete"},{keys:["F","/"],label:"shortcuts.search"},{keys:["X"],label:"shortcuts.select"},{keys:["?"],label:"shortcuts.help"},{keys:["Esc"],label:"shortcuts.close"}],zp=class{constructor(A,e,t){this.t=t,this.keyMap=new Map([["j",()=>e.onNavigate("down")],["k",()=>e.onNavigate("up")],["r",()=>e.onResolve()],["d",()=>e.onDelete()],["f",()=>e.onFocusSearch()],["/",()=>e.onFocusSearch()],["x",()=>e.onToggleSelect()],["?",()=>this.toggleHelp()]]),this.isSuspended=e.isSuspended??(()=>!1),this.helpOverlay=this.buildOverlay(),this.hintButton=this.buildHintButton(),this.boundHandler=A=>this.handleKeydown(A)}t;helpOverlay;hintButton;keyMap;isSuspended;boundHandler;shadowRoot=null;enabled=!1;helpVisible=!1;destroyed=!1;enable(A){this.destroyed||this.enabled||(A&&(this.shadowRoot=A),(this.shadowRoot??document).addEventListener("keydown",this.boundHandler),this.enabled=!0)}disable(){this.enabled&&((this.shadowRoot??document).removeEventListener("keydown",this.boundHandler),this.enabled=!1,this.helpVisible&&this.hideHelp())}get isHelpVisible(){return this.helpVisible}toggleHelp(){this.helpVisible?this.hideHelp():this.showHelp()}destroy(){this.destroyed||(this.disable(),this.helpOverlay.remove(),this.hintButton.remove(),this.destroyed=!0)}handleKeydown(A){if("Escape"===A.key)return void(this.helpVisible&&(A.preventDefault(),A.stopPropagation(),this.hideHelp()));if(this.helpVisible||this.isSuspended())return;let e=A.composedPath();if(e.some(A=>A instanceof Element&&"true"===A.getAttribute("aria-modal")))return;let t=e[0];if(t){let A=t.tagName?.toLowerCase();if("input"===A||"textarea"===A||"select"===A||t.isContentEditable)return}if(A.ctrlKey||A.altKey||A.metaKey)return;let s=this.keyMap.get(A.key);s&&(A.preventDefault(),A.stopPropagation(),s())}showHelp(){this.helpVisible=!0,this.helpOverlay.classList.add("sp-shortcuts-overlay--visible"),this.helpOverlay.querySelector(".sp-shortcuts-close")?.focus()}hideHelp(){this.helpVisible=!1,this.helpOverlay.classList.remove("sp-shortcuts-overlay--visible")}buildOverlay(){let A=R("div",{class:"sp-shortcuts-overlay"});A.setAttribute("role","dialog"),A.setAttribute("aria-modal","true"),A.setAttribute("aria-label",this.t("shortcuts.title")),A.addEventListener("click",e=>{e.target===A&&this.hideHelp()});let e=R("div",{class:"sp-shortcuts-card"}),t=R("div",{class:"sp-shortcuts-title"});t.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M6 8h.01"/><path d="M10 8h.01"/><path d="M14 8h.01"/><path d="M18 8h.01"/><path d="M6 12h.01"/><path d="M18 12h.01"/><path d="M8 16h8"/></svg>'));let s=R("span");O(s,this.t("shortcuts.title")),t.appendChild(s),e.appendChild(t);let r=document.createElement("button");r.className="sp-shortcuts-close",r.setAttribute("aria-label",this.t("shortcuts.close")),r.appendChild(T('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>')),r.addEventListener("click",()=>this.hideHelp()),e.appendChild(r);let i=R("div",{class:"sp-shortcuts-grid"});for(let A of Jp){let e=R("div",{class:"sp-shortcuts-row"}),t=R("div",{class:"sp-shortcuts-keys"});A.keys.forEach((A,e)=>{if(e>0){let A=R("span",{class:"sp-shortcuts-separator"});O(A,"/"),t.appendChild(A)}let s=R("span",{class:"sp-kbd"});O(s,A),t.appendChild(s)});let s=R("span",{class:"sp-shortcuts-desc"});O(s,this.t(A.label)),e.appendChild(t),e.appendChild(s),i.appendChild(e)}return e.appendChild(i),A.appendChild(e),A}buildHintButton(){let A=document.createElement("button");return A.className="sp-shortcuts-hint",A.setAttribute("aria-label",this.t("shortcuts.hint")),O(A,"?"),A.addEventListener("click",A=>{A.stopPropagation(),this.toggleHelp()}),A}}}),Zp=t(()=>{$(),_p=class{element;current;opts;onChange;datasetKey;constructor(A){this.opts=A.options,this.current=A.value,this.onChange=A.onChange,this.datasetKey=A.datasetKey,this.element=R("div",{class:"sp-segmented"+(A.extraClass?` ${A.extraClass}`:""),role:"radiogroup"}),this.element.setAttribute("aria-label",A.ariaLabel);for(let e of this.opts){let t=document.createElement("button");t.type="button",t.className=void 0!==A.modifierPrefix?`sp-segmented__btn ${A.modifierPrefix}${e.value}`:"sp-segmented__btn",t.dataset[this.datasetKey]=e.value,t.setAttribute("role","radio");let s=this.current===e.value;if(t.setAttribute("aria-checked",String(s)),t.tabIndex=s?0:-1,s&&t.classList.add("sp-segmented__btn--active"),e.color&&t.style.setProperty("--sp-chip-color",e.color),e.bg&&t.style.setProperty("--sp-chip-bg",e.bg),e.icon){let A=R("span",{class:"sp-segmented__icon"});A.appendChild(T(e.icon)),t.appendChild(A)}let r=R("span",{class:"sp-segmented__label"});O(r,e.label),t.appendChild(r),t.addEventListener("click",()=>this.select(e.value)),t.addEventListener("keydown",A=>this.handleKey(A,e.value)),this.element.appendChild(t)}}select(A){this.current=A,this.syncSelection(),this.onChange(A)}syncSelection(){let A=this.element.querySelectorAll(".sp-segmented__btn");for(let e of A){let A=e.dataset[this.datasetKey]===this.current;e.classList.toggle("sp-segmented__btn--active",A),e.setAttribute("aria-checked",String(A)),e.tabIndex=A?0:-1}}setOptionVisible(A,e){let t=this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`);return!!t&&(t.style.display=e?"":"none",!0)}get value(){return this.current}focusOption(A){this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`)?.focus()}handleKey(A,e){let t,s=this.opts.map(A=>A.value).filter(A=>{let e=this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`);return null!==e&&"none"!==e.style.display}),r=s.indexOf(e);if(r<0)return;switch(A.key){case"ArrowLeft":t=(r-1+s.length)%s.length;break;case"ArrowRight":t=(r+1)%s.length;break;case"Home":t=0;break;case"End":t=s.length-1;break;default:return}A.preventDefault();let i=s[t];void 0!==i&&(this.select(i),this.focusOption(i))}kebabKey(){return this.datasetKey.replace(/[A-Z]/g,A=>`-${A.toLowerCase()}`)}}});function qp({input:A,send:e},t){A.readOnly=t,e.setAttribute("aria-busy",String(t)),e.setAttribute("aria-disabled",String(t))}var Ah,eh=t(()=>{D(),$(),PA(),Ah=0}),th={};s(th,{Panel:()=>rh});var sh,rh,ih=t(()=>{D(),Zp(),$(),Bp(),UA(),ap(),vA(),vp(),wp(),Dp(),$p(),Yp(),eh(),jp(),DA(),PA(),sh=m.filter(A=>!u(A)),rh=class{constructor(A,e,t,s,r,i,n,o,a){this.colors=e,this.bus=t,this.client=s,this.projectName=r,this.markers=i,this.t=n,this.locale=o,this.shadowRoot=A,this.readOnly=!!a?.readOnly,this.resolveIdentity=a?.resolveIdentity??(async()=>null),this.getScope=a?.getScope??(()=>({url:window.location.pathname,urlPattern:null})),this.scopeAnnotationsByUrl=a?.scopeAnnotationsByUrl??!0,this.ownFeedback=a?.ownFeedback??{ids:()=>new Set,remove:()=>{}},this.scrim=R("div",{class:"sp-scrim"}),this.scrim.addEventListener("click",()=>this.close()),this.root=R("div",{class:"sp-panel"}),this.root.setAttribute("role","complementary"),this.root.setAttribute("aria-label",this.t("panel.ariaLabel")),this.root.setAttribute("aria-hidden","true");let l=R("div",{class:"sp-panel-header"}),c=R("span",{class:"sp-panel-title"});O(c,this.t("panel.title")),this.closeBtn=document.createElement("button"),this.closeBtn.className="sp-panel-close",this.closeBtn.setAttribute("aria-label",this.t("panel.close")),this.closeBtn.appendChild(T(dA)),this.closeBtn.addEventListener("click",()=>this.close()),this.deleteAllBtn=document.createElement("button"),this.deleteAllBtn.className="sp-btn-delete-all",this.deleteAllBtn.setAttribute("aria-label",this.t("panel.deleteAll")),this.deleteAllBtn.appendChild(T(yA));let d=document.createElement("span");O(d,` ${this.t("panel.deleteAll")}`),this.deleteAllBtn.appendChild(d),this.deleteAllBtn.addEventListener("click",()=>this.confirmDeleteAll()),N(this.deleteAllBtn,!0),this.exportBtn=new dp(e,()=>this.feedbacks,this.t);let p=R("div",{class:"sp-panel-header-right"});p.appendChild(this.exportBtn.element),p.appendChild(this.deleteAllBtn),p.appendChild(this.closeBtn),l.appendChild(c),l.appendChild(p),this.stats=new Xp(e,this.t);let h=R("div",{class:"sp-filters"}),g=R("div",{class:"sp-search-wrap"}),B=T(pA);B.setAttribute("class","sp-search-icon"),this.searchInput=document.createElement("input"),this.searchInput.type="text",this.searchInput.className="sp-search",this.searchInput.placeholder=this.t("panel.search"),this.searchInput.setAttribute("aria-label",this.t("panel.searchAria")),this.searchInput.addEventListener("input",()=>{this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>this.loadFeedbacks().catch(()=>{}),200)}),g.appendChild(B),g.appendChild(this.searchInput);let w=R("div",{class:"sp-filter-bar"});w.appendChild(this.buildTypeDropdown()),w.appendChild(this.buildStatusSegmented()),w.appendChild(this.buildScopeSegmented()),w.appendChild(this.buildMineToggle()),this.sortControls=new Np(e,()=>this.renderList(),this.t),h.appendChild(g),h.appendChild(w),h.appendChild(this.sortControls.element),this.listContainer=R("div",{class:"sp-list"}),this.listContainer.setAttribute("role","list"),this.listContainer.setAttribute("aria-label",this.t("panel.feedbackList")),this.bulk=new gp(e,{onResolve:A=>this.bulkResolve(A),onDelete:A=>this.bulkDelete(A),permits:(A,e)=>this.feedbacks.every(t=>!A.includes(t.id)||this.can(t,e))},this.t),this.bulk.setListContainer(this.listContainer),this.detail=new Mp(e,{onBack:()=>this.detail.hide(),onResolve:async A=>{try{let e=!u(A.status);await this.client.resolveFeedback(A.id,e),await this.loadFeedbacks(),this.detail.hide()}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}},onDelete:async A=>{try{await this.client.deleteFeedback(A.id),this.bus.emit("feedback:deleted",A.id),await this.loadFeedbacks(),this.detail.hide()}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}},canGoToAnnotation:A=>!this.scopeAnnotationsByUrl||A.url===this.getScope().url,onGoToAnnotation:A=>{if(A.annotations.length>0){let e=A.annotations[0];if(!e)return;this.markers.revealPin(A.id)||(window.scrollTo({left:e.scrollX,top:e.scrollY,behavior:"smooth"}),this.markers.pinHighlight(A)),TA()&&this.close()}},onCustomAction:async(A,e)=>{try{await A.onAction(e,{refresh:()=>this.refreshDetail(e.id),close:()=>this.close()})}catch(A){this.reportActionError(A)}},onCustomActionError:A=>this.reportActionError(A),permits:(A,e)=>this.can(A,e),buildThread:A=>function(A,{t:e,locale:t,canPost:s,draft:r,post:i}){let n=A.comments??[];if(!s&&0===n.length)return null;let o=R("div"),a=R("ol",{class:"sp-thread-list",role:"list","aria-label":e("comments.title"),"aria-live":"polite"}),l=new Set,c=A=>{if(l.has(A.id))return;l.add(A.id);let s=R("li",{class:"sp-detail-message sp-comment","data-role":A.authorRole}),r=R("div",{class:"sp-comment-head"}),i=R("span");if(O(i,A.authorName),r.appendChild(i),"team"===A.authorRole){let A=R("span",{class:"sp-badge"});O(A,e("comments.team")),r.appendChild(A)}let n=R("time",{datetime:A.createdAt});O(n,X(A.createdAt,t)),r.appendChild(n);let o=R("div");O(o,A.body),s.append(r,o),a.appendChild(s)};for(let A of n)c(A);if(o.appendChild(a),!s)return o;let d=document.createElement("textarea");d.className="sp-input sp-thread-input",d.rows=3,d.maxLength=C,d.placeholder=e("comments.placeholder"),d.setAttribute("aria-label",d.placeholder),d.value=r.text,d.addEventListener("input",()=>{r.text=d.value});let p=R("div",{class:"sp-thread-foot"}),h=R("span",{id:"sp-thread-hint-"+ ++Ah});RA()||(O(h,e(G()?"popup.submitHintMac":"popup.submitHintOther")),d.setAttribute("aria-describedby",h.id),d.setAttribute("aria-keyshortcuts","Control+Enter Meta+Enter"));let u=document.createElement("button");u.type="button",u.className="sp-btn-primary",O(u,e("popup.submit")),p.append(h,u);let g=R("div",{class:"sp-thread-error",role:"alert"});o.append(d,p,g);let B={add:c,input:d,send:u,error:g};r.view=B,qp(B,!0===r.sending);let w=async()=>{r.text=d.value;let A=r.text.trim();if(r.sending||!A)return;r.sent?.body!==A&&(r.sent={body:A,clientId:k()});let{clientId:t}=r.sent;r.sending=!0,O(g,""),qp(B,!0);let s="",n=null;try{n=await i(A,t)}catch(A){s=e(function(A){return 409===S(A,"status")||"STORE_LIMIT"===S(A,"code")}(A)?"comments.full":"comments.error")}r.sending=!1;let o=r.view??B;qp(o,!1),O(o.error,s),n&&(o.add(n),o.input.value=r.text="",r.sent=void 0)};return u.addEventListener("click",()=>{w()}),d.addEventListener("keydown",A=>{"Enter"===A.key&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),w())}),o}(A,{t:this.t,locale:o,canPost:this.canComment&&!1!==A.permissions?.canComment,draft:this.draftOf(A.id),post:(e,t)=>this.postComment(A,e,t)})},this.t,o,function(A){let e=[];if(!Array.isArray(A))return e;let t=new Set;return A.forEach((A,s)=>{let r=`[siteping] panelActions[${s}]`,i=A?.id;if("string"==typeof i&&i&&"string"==typeof A?.label&&A.label)if(Fp(A)||Up(A))if("string"!=typeof A.href||bp(A.href))if(t.has(i))console.warn(`${r} ignored: duplicate id "${i}".`);else{t.add(i);let s=void 0===A.icon?null:mp(A.icon);void 0!==A.icon&&!s&&console.warn(`${r} ("${i}"): \`icon\` is not SVG markup \u2014 showing the label only.`),e.push({action:A,icon:s})}else console.warn(`${r} ("${i}") ignored: \`href\` must be an http(s) or mailto URL.`);else console.warn(`${r} ("${i}") ignored: it needs either an \`onAction\` function or an \`href\`, not both.`);else console.warn(`${r} ignored: it needs a non-empty string \`id\` and \`label\`.`)}),e}(a?.panelActions)),this.shortcuts=new zp(e,{onNavigate:A=>{let e=Wp(this.listContainer);!function(A,e){let t=A.querySelectorAll(".sp-card");if(0===t.length)return;for(let A of t)A.classList.remove("sp-card--focused");let s=t[Math.max(0,Math.min(e,t.length-1))];s&&(s.classList.add("sp-card--focused"),s.scrollIntoView({block:"nearest",behavior:"smooth"}),s.focus({preventScroll:!0}))}(this.listContainer,"down"===A?e+1:e-1)},onResolve:()=>this.pressInFocusedCard('[data-action="resolve"]'),onDelete:()=>this.pressInFocusedCard('[data-action="delete"]'),onFocusSearch:()=>this.searchInput.focus(),onToggleSelect:()=>this.pressInFocusedCard(".sp-bulk-checkbox"),isSuspended:()=>this.detail.isVisible},this.t),this.root.appendChild(l),this.root.appendChild(this.stats.element),this.root.appendChild(h),this.root.appendChild(this.listContainer),this.root.appendChild(this.bulk.barElement),this.root.appendChild(this.detail.element),this.root.appendChild(this.shortcuts.helpOverlay),this.root.appendChild(this.shortcuts.hintButton),A.appendChild(this.scrim),A.appendChild(this.root),this.attachSheetDrag(),this.onListClick=A=>{let e=A.target;if(e.closest(".sp-bulk-checkbox"))return;let t=e.closest("[data-action]");if(t){A.stopPropagation();let e=t.closest(".sp-card");if(!e)return;let s=e.dataset.feedbackId,r=this.feedbacks.find(A=>A.id===s);if(!r)return;let i=t.dataset.action;if("expand"===i){let A=e.querySelector(".sp-card-message");if(!A)return;let s=A.classList.toggle("sp-card-message--expanded");O(t,s?this.t("panel.showLess"):this.t("panel.showMore")),t.setAttribute("aria-expanded",String(s))}else if("resolve"===i){if(this.pendingMutations.has(r.id))return;let A=t;this.toggleResolve(r,A).catch(()=>{})}else if("delete"===i){if(this.pendingMutations.has(r.id))return;let A=t;this.deleteFeedback(r,A).catch(()=>{})}return}let s=e.closest(".sp-card");if(s){let A=s.dataset.feedbackId,e=this.feedbacks.find(e=>e.id===A);e&&this.detail.show(e,Number(s.dataset.number))}},this.listContainer.addEventListener("click",this.onListClick),this.onListKeydown=A=>{let e=A;if("Enter"!==e.key&&" "!==e.key)return;let t=e.target,s=t.closest(".sp-card");if(!s||t!==s)return;e.preventDefault();let r=s.dataset.feedbackId,i=this.feedbacks.find(A=>A.id===r);i&&this.detail.show(i,Number(s.dataset.number))},this.listContainer.addEventListener("keydown",this.onListKeydown),this.onListMouseover=A=>{let e=A.target.closest(".sp-card");if(!e)return;let t=e.dataset.feedbackId;t&&this.markers.highlight(t)},this.listContainer.addEventListener("mouseover",this.onListMouseover),this.onListMouseout=A=>{let e=A.relatedTarget;e&&this.listContainer.contains(e)||this.markers.highlight("")},this.listContainer.addEventListener("mouseout",this.onListMouseout),this.bus.on("panel:toggle",A=>{A?this.open():this.close()}),z(A,()=>this.isOpen),A.addEventListener("keydown",e=>{let t=e;if("Escape"===t.key&&this.isOpen){if(this.shortcuts.isHelpVisible)return;return this.detail.isVisible?void this.detail.hide():void this.close()}if("Tab"===t.key&&this.isOpen){let e=A=>{let e=A;for(;e&&e!==this.root;){if("none"===getComputedStyle(e).display)return!1;e=e.parentElement}return!0},s=Array.from(this.root.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(A=>e(A)&&!A.hasAttribute("disabled"));if(0===s.length)return;let r=s[0],i=s[s.length-1];if(!r||!i)return;let n=A.activeElement;t.shiftKey&&n===r?(t.preventDefault(),i.focus()):!t.shiftKey&&n===i&&(t.preventDefault(),r.focus())}}),this.onMarkerClick=A=>{this.scrollToFeedback(A.detail.feedbackId)},document.addEventListener("sp-marker-click",this.onMarkerClick)}colors;bus;client;projectName;markers;t;locale;root;scrim;listContainer;searchInput;closeBtn;deleteAllBtn;activeFilters=new Set(["all"]);typeDropdownBtn;typeDropdownContainer;typeDropdownMenu=null;removeTypeDropdownOutsideClick=null;statusSegmented;typeOptions;feedbacks=[];currentPage=1;totalFeedbacks=0;isLoadingMore=!1;isOpen=!1;searchTimeout=null;loadController=null;isLoading=!1;pendingScrollId=null;pendingMutations=new Set;canComment=!1;threadDrafts=new Map;readOnly;resolveIdentity;stats;sortControls;bulk;exportBtn;shortcuts;detail;shadowRoot;getScope;scopeAnnotationsByUrl;scopeSegmented;initialScopeFilter="this";mineOnly=!1;ownFeedback;onMarkerClick;onListClick;onListKeydown;onListMouseover;onListMouseout;async open(){if(this.isOpen)return;this.isOpen=!0;let A=TA();this.root.setAttribute("role",A?"dialog":"complementary"),A?this.root.setAttribute("aria-modal","true"):this.root.removeAttribute("aria-modal"),this.root.classList.add("sp-panel--open"),this.scrim.classList.add("sp-scrim--open"),this.root.setAttribute("aria-hidden","false"),this.bus.emit("open"),this.shortcuts.enable(this.shadowRoot),await this.loadFeedbacks(),requestAnimationFrame(()=>{(RA()?this.closeBtn:this.searchInput).focus()})}close(){this.isOpen&&(this.isOpen=!1,this.root.classList.remove("sp-panel--open"),this.scrim.classList.remove("sp-scrim--open"),this.root.setAttribute("aria-hidden","true"),this.bus.emit("close"),this.shortcuts.disable(),this.detail.hide(),this.pendingScrollId=null,this.root.getRootNode().querySelector(".sp-fab")?.focus())}attachSheetDrag(){let A=0,e=0,t=0,s=!1;this.root.addEventListener("pointerdown",r=>{let i=r.target;"mouse"===r.pointerType||!TA()||i.closest("button")||!i.closest(".sp-panel-header, .sp-detail-header")||(s=!0,A=r.clientY,e=r.timeStamp,t=0,this.root.style.transition="none",this.root.setPointerCapture?.(r.pointerId))}),this.root.addEventListener("pointermove",e=>{s&&(t=Math.max(0,e.clientY-A),this.root.style.transform=`translateY(${t}px)`)});let r=A=>{s&&(s=!1,this.root.style.transition="",this.root.style.transform="",(t>40&&t/Math.max(1,A.timeStamp-e)>.5||t>this.root.offsetHeight/4)&&this.close())};this.root.addEventListener("pointerup",r),this.root.addEventListener("pointercancel",r)}showLoading(){this.listContainer.replaceChildren();let A=R("div",{class:"sp-loading"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite"),A.setAttribute("aria-label",this.t("panel.loading"));let e=R("div",{class:"sp-spinner"});A.appendChild(e),this.listContainer.appendChild(A)}showError(){this.listContainer.replaceChildren();let A=R("div",{class:"sp-empty"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite");let e=R("div",{class:"sp-empty-text"});O(e,this.t("panel.loadError"));let t=document.createElement("button");t.className="sp-btn-ghost",t.style.marginTop="8px",O(t,this.t("panel.retry")),t.addEventListener("click",()=>this.loadFeedbacks().catch(()=>{})),A.appendChild(e),A.appendChild(t),this.listContainer.appendChild(A)}statusBucket(A){if("all"!==A)return u(A)?b:sh}async loadFeedbacks(A=1){this.loadController?.abort(),this.loadController=new AbortController;let{signal:e}=this.loadController;this.currentPage=1;let t=this.searchInput.value.trim()||void 0,s=this.activeFilters.has("all")?void 0:Array.from(this.activeFilters)[0],r=this.statusBucket(this.statusSegmented.value),i=this.getScope();this.syncScopeAvailability();let n=this.scopeSegmented.value,o={page:1,limit:20};s&&(o.type=s),r&&(o.statuses=r),t&&(o.search=t),"this"===n?o.url=i.url:"template"===n&&i.urlPattern&&(o.urlPattern=i.urlPattern);let a=this.feedbacks.length>0;a||this.showLoading();let l=!this.mineOnly&&this.isMarkerQuery(o,i);this.isLoading=!0;try{let t=this.mineOnly?this.fetchOwnFeedbacks(o,e):this.client.getFeedbacks(this.projectName,o);l||this.loadPageMarkers(i,e);let s=await t,{feedbacks:r,total:n}=s,a=1;for(;a<A&&r.length<n&&!e.aborted;){a++;let A=await this.client.getFeedbacks(this.projectName,{...o,page:a});r=[...r,...A.feedbacks],n=A.total}if(e.aborted)return;this.currentPage=a,this.feedbacks=r,this.totalFeedbacks=n,this.canComment=!0===s.capabilities?.comments,N(this.deleteAllBtn,this.readOnly||!1===s.permissions?.canDeleteAll),this.stats.update(r,n),this.bulk.reset(),this.renderList(),this.pendingScrollId&&this.flashCard(this.pendingScrollId),l&&this.renderPageMarkers(r,i)}catch(A){if(e.aborted)return;a||this.showError(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{e.aborted||(this.isLoading=!1,this.pendingScrollId=null)}}async loadMoreFeedbacks(){if(this.isLoadingMore)return;this.isLoadingMore=!0;let A=this.loadController,e=this.currentPage+1,t=this.searchInput.value.trim()||void 0,s=this.activeFilters.has("all")?void 0:Array.from(this.activeFilters)[0],r=this.statusBucket(this.statusSegmented.value),i=this.getScope(),n=this.scopeSegmented.value,o={page:e,limit:20};s&&(o.type=s),r&&(o.statuses=r),t&&(o.search=t),"this"===n?o.url=i.url:"template"===n&&i.urlPattern&&(o.urlPattern=i.urlPattern);let a,l=this.listContainer.querySelector(".sp-btn-load-more");l&&(a=V(l));try{let{feedbacks:t,total:s}=await this.client.getFeedbacks(this.projectName,o);if(A!==this.loadController)return;this.currentPage=e,this.totalFeedbacks=s,this.feedbacks=[...this.feedbacks,...t],this.stats.update(this.feedbacks,s),this.renderList(),this.isMarkerQuery(o,i)&&this.renderPageMarkers(this.feedbacks,i)}catch(A){a&&a(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.isLoadingMore=!1}}isMarkerQuery(A,e){let t=this.scopeAnnotationsByUrl?e.url:void 0;return!(A.type||A.statuses||A.search||A.urlPattern||A.url!==t)}async fetchOwnFeedbacks(A,e){let t,s,r,i=this.ownFeedback.ids(),n=new Map,o=new Set,a=0,l=!0;for(let c=1;n.size<i.size&&!e.aborted;c++){let e=await this.client.getFeedbacks(this.projectName,{...A,page:c,limit:100}),{feedbacks:d,total:p}=e;s=e.capabilities,r=e.permissions,t??=p,l&&=p===t;for(let A of d)o.add(A.id),i.has(A.id)&&n.set(A.id,A);if(a+=d.length,0===d.length||a>=p)break}return Object.keys(A).every(A=>"page"===A||"limit"===A)&&l&&o.size===t&&this.ownFeedback.remove(...[...i].filter(A=>!n.has(A))),{feedbacks:[...n.values()],total:n.size,capabilities:s,permissions:r}}async loadPageMarkers(A,e){let t=this.scopeAnnotationsByUrl?{limit:20,url:A.url}:{limit:20};try{let{feedbacks:s}=await this.client.getFeedbacks(this.projectName,t);e.aborted||this.renderPageMarkers(s,A)}catch{}}renderPageMarkers(A,e){this.markers.render(this.scopeAnnotationsByUrl?A.filter(A=>A.url===e.url):A)}renderList(){if(this.listContainer.replaceChildren(),0===this.feedbacks.length){let A=R("div",{class:"sp-empty"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite");let e=R("div",{class:"sp-empty-text"});return O(e,this.t("panel.empty")),A.appendChild(e),void this.listContainer.appendChild(A)}let A=function(A,e){let t=[...A];switch(e){case"newest":t.sort((A,e)=>new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime());break;case"oldest":t.sort((A,e)=>new Date(A.createdAt).getTime()-new Date(e.createdAt).getTime());break;case"by-type":t.sort((A,e)=>{let t=Pp[A.type]??99,s=Pp[e.type]??99;return t!==s?t-s:new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime()});break;case"open-first":t.sort((A,e)=>{let t=u(A.status)?1:0,s=u(e.status)?1:0;return t!==s?t-s:new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime()})}return t}(this.feedbacks,this.sortControls.sortMode),e=A.filter(A=>this.selectable(A)).map(A=>A.id);if(e.length>0&&this.listContainer.appendChild(this.bulk.createSelectAllBar(e,this.t("bulk.selectAll"))),this.sortControls.groupByPage){let e=function(A){let e=new Map;for(let t of A){let A=Kp(t.url),s=e.get(A);s?s.push(t):e.set(A,[t])}return new Map([...e.entries()].sort((A,e)=>e[1].length-A[1].length))}(A),t=0;for(let[A,s]of e){let e=Tp(A,s.length,this.colors);this.listContainer.appendChild(e);let r=R("div",{class:"sp-group-content"});for(let A of s){let e=this.createCard(A,t+1);e.style.setProperty("--sp-card-i",String(t)),r.appendChild(e),t++}this.listContainer.appendChild(r)}}else A.forEach((A,e)=>{let t=this.createCard(A,e+1);t.style.setProperty("--sp-card-i",String(e)),this.listContainer.appendChild(t)});let t=this.totalFeedbacks-this.feedbacks.length;if(t>0){let A=R("div",{class:"sp-load-more-wrap"}),e=document.createElement("button");e.className="sp-btn-ghost sp-btn-load-more",O(e,op(this.t,"panel.loadMore",{remaining:t})),e.addEventListener("click",()=>this.loadMoreFeedbacks().catch(()=>{})),A.appendChild(e),this.listContainer.appendChild(A)}}createCard(A,e){let t=u(A.status),s=kA(A.type,this.colors),r=R("div",{class:"sp-card "+(t?"sp-card--resolved":"")});r.classList.toggle("sp-card--selected",this.bulk.isSelected(A.id)),r.setAttribute("role","listitem"),r.setAttribute("tabindex","0"),r.setAttribute("aria-label",`Feedback #${e}: ${rp(A.type,this.t)} \u2014 ${A.message.slice(0,80)}`),r.dataset.feedbackId=A.id,r.dataset.number=String(e);let i=R("div",{class:"sp-card-bar"});i.style.background=t?"#9ca3af":s;let n=R("div",{class:"sp-card-body"}),o=R("div",{class:"sp-card-header"});this.selectable(A)&&o.appendChild(this.bulk.createCheckbox(A.id));let a=R("span",{class:"sp-card-number"});O(a,`#${e}`);let l=R("span",{class:"sp-badge"}),c=HA(A.type,this.colors);l.style.background=c,l.style.color=s,O(l,rp(A.type,this.t));let d=R("span",{class:"sp-badge sp-badge--status"});d.dataset.status=A.status,d.style.background=function(A,e){switch(A){case"in_progress":return e.statusInProgressBg;case"resolved":return e.statusResolvedBg;case"wont_fix":return e.statusWontFixBg;default:return e.statusOpenBg}}(A.status,this.colors),d.style.color=function(A,e){switch(A){case"in_progress":return e.statusInProgress;case"resolved":return e.statusResolved;case"wont_fix":return e.statusWontFix;default:return e.statusOpen}}(A.status,this.colors),O(d,ip(A.status,this.t));let p=R("span",{class:"sp-card-date"});O(p,X(A.createdAt,this.locale)),o.appendChild(a),o.appendChild(l),o.appendChild(d),o.appendChild(p);let h=R("div",{class:"sp-card-message"});O(h,A.message);let g=document.createElement("button");g.className="sp-card-expand",g.dataset.action="expand",O(g,this.t("panel.showMore")),g.style.display="none",g.setAttribute("aria-expanded","false"),requestAnimationFrame(()=>{h.scrollHeight>h.clientHeight&&(g.style.display="block")});let B=R("div",{class:"sp-card-footer"}),w=document.createElement("button");w.className="sp-btn-resolve",w.dataset.action="resolve",w.appendChild(T(t?CA:hA));let f=document.createElement("span");O(f,` ${this.t(t?"panel.reopen":"panel.resolve")}`),w.appendChild(f);let m=document.createElement("button");m.className="sp-btn-delete",m.dataset.action="delete",m.appendChild(T(yA));let b=document.createElement("span");return O(b,` ${this.t("panel.delete")}`),m.appendChild(b),this.can(A,"canChangeStatus")&&B.appendChild(w),this.can(A,"canDelete")&&B.appendChild(m),n.appendChild(o),n.appendChild(h),n.appendChild(g),B.hasChildNodes()&&n.appendChild(B),r.appendChild(i),r.appendChild(n),r}can(A,e){return!this.readOnly&&!1!==A.permissions?.[e]}selectable(A){return this.can(A,"canChangeStatus")||this.can(A,"canDelete")}async bulkResolve(A){let e=new Set(this.feedbacks.filter(A=>u(A.status)).map(A=>A.id)),t=A.filter(A=>!e.has(A)),s=await Promise.allSettled(t.map(A=>this.client.resolveFeedback(A,!0)));await this.settleBulk(t,s)}async bulkDelete(A){let e=await Promise.allSettled(A.map(A=>this.client.deleteFeedback(A)));A.forEach((A,t)=>{"fulfilled"===e[t]?.status&&this.bus.emit("feedback:deleted",A)}),await this.settleBulk(A,e)}async settleBulk(A,e){let t=A.filter((A,t)=>"rejected"===e[t]?.status);t.length<A.length&&await this.loadFeedbacks();let s=e.find(A=>"rejected"===A.status);if(!s)return;let r=new Set(this.feedbacks.map(A=>A.id));this.bulk.selectAll(t.filter(A=>r.has(A)));let i=s.reason instanceof Error?s.reason:new Error(String(s.reason));throw this.bus.emit("feedback:error",i),i}async confirmDeleteAll(){if(await this.showConfirmDialog(this.t("panel.deleteAllConfirmTitle"),this.t("panel.deleteAllConfirmMessage"))){this.deleteAllBtn.disabled=!0;try{await this.client.deleteAllFeedbacks(this.projectName),this.bus.emit("feedback:all-deleted"),await this.loadFeedbacks()}catch(A){this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.deleteAllBtn.disabled=!1}}}showConfirmDialog(A,e){return new Promise(t=>{let s=R("div",{class:"sp-confirm-backdrop"}),r=`sp-confirm-title-${Date.now()}`,i=`sp-confirm-msg-${Date.now()}`,n=R("div",{class:"sp-confirm-dialog"});n.setAttribute("role","alertdialog"),n.setAttribute("aria-modal","true"),n.setAttribute("aria-labelledby",r),n.setAttribute("aria-describedby",i);let o=R("div",{class:"sp-confirm-title"});o.id=r,O(o,A);let a=R("div",{class:"sp-confirm-message"});a.id=i,O(a,e);let l=R("div",{class:"sp-confirm-actions"}),c=document.createElement("button");c.type="button",c.className="sp-btn-ghost",O(c,this.t("panel.cancel"));let d=document.createElement("button");d.type="button",d.className="sp-btn-danger",O(d,this.t("panel.confirmDelete"));let p=!1,h=A=>{p||(p=!0,s.removeEventListener("keydown",u),s.style.opacity="0",n.style.transform="translateY(8px) scale(0.97)",setTimeout(()=>{s.remove(),t(A)},200))},u=A=>{let e=A;if("Escape"===e.key)return e.stopPropagation(),void h(!1);"Tab"===e.key&&(e.preventDefault(),s.getRootNode().activeElement===c?d.focus():c.focus())};s.addEventListener("keydown",u),c.addEventListener("click",()=>h(!1)),d.addEventListener("click",()=>h(!0)),s.addEventListener("click",A=>{A.target===s&&h(!1)}),l.appendChild(c),l.appendChild(d),n.appendChild(o),n.appendChild(a),n.appendChild(l),s.appendChild(n),this.root.getRootNode()instanceof ShadowRoot?this.root.getRootNode().appendChild(s):this.root.appendChild(s),requestAnimationFrame(()=>{s.style.opacity="1",n.style.transform="translateY(0) scale(1)",c.focus()})})}async deleteFeedback(A,e){this.pendingMutations.add(A.id);let t=V(e);try{await this.client.deleteFeedback(A.id),this.bus.emit("feedback:deleted",A.id),await this.loadFeedbacks()}catch(A){t(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.pendingMutations.delete(A.id)}}async toggleResolve(A,e){this.pendingMutations.add(A.id);let t=V(e);try{let e=!u(A.status);await this.client.resolveFeedback(A.id,e),await this.loadFeedbacks()}catch(A){t(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.pendingMutations.delete(A.id)}}buildTypeDropdown(){return this.typeOptions=[{value:"all",label:this.t("panel.filterAll"),icon:fA,color:this.colors.accent,bg:this.colors.accentLight},{value:"question",label:this.t("type.question"),icon:uA,color:this.colors.typeQuestion,bg:this.colors.typeQuestionBg},{value:"change",label:this.t("type.change"),icon:gA,color:this.colors.typeChange,bg:this.colors.typeChangeBg},{value:"bug",label:this.t("type.bug"),icon:BA,color:this.colors.typeBug,bg:this.colors.typeBugBg},{value:"other",label:this.t("type.other"),icon:wA,color:this.colors.typeOther,bg:this.colors.typeOtherBg}],this.typeDropdownContainer=R("div",{class:"sp-filter-dropdown"}),this.typeDropdownBtn=document.createElement("button"),this.typeDropdownBtn.type="button",this.typeDropdownBtn.className="sp-filter-dropdown-btn",this.typeDropdownBtn.setAttribute("aria-haspopup","listbox"),this.typeDropdownBtn.setAttribute("aria-expanded","false"),this.renderTypeDropdownTrigger(),this.typeDropdownBtn.addEventListener("click",A=>{A.stopPropagation(),this.typeDropdownMenu?this.closeTypeDropdown():this.openTypeDropdown()}),this.typeDropdownContainer.addEventListener("keydown",A=>{"Escape"!==A.key||!this.typeDropdownMenu||(A.stopPropagation(),this.closeTypeDropdown(),this.typeDropdownBtn.focus())}),this.typeDropdownContainer.appendChild(this.typeDropdownBtn),this.typeDropdownContainer}renderTypeDropdownTrigger(){let A=this.typeOptions.find(A=>this.activeFilters.has(A.value))??this.typeOptions[0];if(!A)return;this.typeDropdownBtn.replaceChildren(),this.typeDropdownBtn.style.setProperty("--sp-chip-color",A.color),this.typeDropdownBtn.style.setProperty("--sp-chip-bg",A.bg),this.typeDropdownBtn.dataset.filter=A.value,this.typeDropdownBtn.classList.toggle("sp-filter-dropdown-btn--filtered","all"!==A.value),this.typeDropdownBtn.setAttribute("aria-label",`${this.t("type.label")}: ${A.label}`);let e=R("span",{class:"sp-filter-dropdown-btn__icon"});e.appendChild(T(A.icon)),this.typeDropdownBtn.appendChild(e);let t=R("span",{class:"sp-filter-dropdown-btn__label"}),s=R("span",{class:"sp-filter-dropdown-btn__prefix"});O(s,this.t("type.label"));let r=R("span",{class:"sp-filter-dropdown-btn__value"});O(r,A.label),t.appendChild(s),t.appendChild(r),this.typeDropdownBtn.appendChild(t);let i=R("span",{class:"sp-filter-dropdown-btn__chevron"});i.appendChild(T(bA)),this.typeDropdownBtn.appendChild(i)}openTypeDropdown(){this.typeDropdownMenu=R("div",{class:"sp-filter-dropdown-menu"}),this.typeDropdownMenu.setAttribute("role","listbox"),this.typeDropdownMenu.setAttribute("aria-label",this.t("type.label")),this.typeDropdownBtn.setAttribute("aria-expanded","true");for(let A of this.typeOptions){let e=document.createElement("button");e.type="button";let t=this.activeFilters.has(A.value);e.className="sp-filter-dropdown-option"+(t?" sp-filter-dropdown-option--active":""),e.style.setProperty("--sp-chip-color",A.color),e.style.setProperty("--sp-chip-bg",A.bg),e.dataset.filter=A.value,e.setAttribute("role","option"),e.setAttribute("aria-selected",String(t));let s=R("span",{class:"sp-filter-dropdown-option__icon"});s.appendChild(T(A.icon)),e.appendChild(s);let r=R("span",{class:"sp-filter-dropdown-option__label"});if(O(r,A.label),e.appendChild(r),t){let A=R("span",{class:"sp-filter-dropdown-option__check"});A.appendChild(T(hA)),e.appendChild(A)}e.addEventListener("click",e=>{e.stopPropagation(),this.selectTypeFilter(A.value)}),this.typeDropdownMenu.appendChild(e)}this.typeDropdownContainer.appendChild(this.typeDropdownMenu),this.removeTypeDropdownOutsideClick=P(this.typeDropdownContainer,()=>this.closeTypeDropdown())}closeTypeDropdown(){this.typeDropdownMenu&&(this.typeDropdownMenu.remove(),this.typeDropdownMenu=null),this.typeDropdownBtn.setAttribute("aria-expanded","false"),this.removeTypeDropdownOutsideClick?.(),this.removeTypeDropdownOutsideClick=null}selectTypeFilter(A){this.activeFilters.clear(),this.activeFilters.add(A),this.renderTypeDropdownTrigger(),this.closeTypeDropdown(),this.loadFeedbacks().catch(()=>{})}buildStatusSegmented(){return this.statusSegmented=new _p({options:[{value:"all",label:this.t("panel.statusAll"),icon:fA,color:this.colors.accent,bg:this.colors.accentLight},{value:"open",label:this.t("panel.statusOpen"),icon:mA,color:this.colors.statusOpen,bg:this.colors.statusOpenBg},{value:"resolved",label:this.t("panel.statusResolved"),icon:hA,color:this.colors.statusResolved,bg:this.colors.statusResolvedBg}],value:"all",onChange:()=>{this.loadFeedbacks().catch(()=>{})},ariaLabel:this.t("status.label"),datasetKey:"statusFilter",modifierPrefix:"sp-segmented__btn--"}),this.statusSegmented.element}buildScopeSegmented(){return this.scopeSegmented=new _p({options:[{value:"this",label:this.t("scope.thisPage")},{value:"template",label:this.t("scope.thisType")},{value:"all",label:this.t("scope.all")}],value:this.initialScopeFilter,onChange:()=>{this.loadFeedbacks().catch(()=>{})},ariaLabel:this.t("scope.label"),datasetKey:"scopeFilter",modifierPrefix:"sp-segmented__btn--scope-",extraClass:"sp-segmented--scope"}),this.syncScopeAvailability(),this.scopeSegmented.element}syncScopeAvailability(){if(!this.scopeSegmented)return;let A=!!this.getScope().urlPattern;this.scopeSegmented.setOptionVisible("template",A),!A&&"template"===this.scopeSegmented.value&&this.scopeSegmented.select("this")}buildMineToggle(){let A=document.createElement("button");return A.type="button",A.className="sp-mine-toggle",A.title=this.t("panel.filterMineHint"),A.setAttribute("aria-pressed","false"),A.append(T(QA),this.t("panel.filterMine")),A.addEventListener("click",()=>{this.mineOnly=!this.mineOnly,A.classList.toggle("sp-mine-toggle--active",this.mineOnly),A.setAttribute("aria-pressed",String(this.mineOnly)),this.loadFeedbacks().catch(()=>{})}),A}pressInFocusedCard(A){this.listContainer.querySelectorAll(".sp-card")[Wp(this.listContainer)]?.querySelector(A)?.click()}scrollToFeedback(A){this.isLoading?this.pendingScrollId=A:this.flashCard(A)}flashCard(A){let e=CSS.escape(A),t=this.listContainer.querySelector(`[data-feedback-id="${e}"]`);if(t){t.scrollIntoView({behavior:"smooth",block:"center"}),t.classList.add("sp-anim-flash"),t.addEventListener("animationend",()=>{t.classList.remove("sp-anim-flash")},{once:!0});let e=this.feedbacks.find(e=>e.id===A);e&&TA()&&this.detail.show(e,Number(t.dataset.number))}}draftOf(A){let e=this.threadDrafts.get(A)??{text:""};return this.threadDrafts.set(A,e),e}async postComment(A,e,t){let s=await this.resolveIdentity();if(!s)return null;try{let r=await this.client.addComment(A.id,{body:e,clientId:t,authorName:s.name,authorEmail:s.email,authorRole:"client"});for(let e of new Set([A,this.feedbacks.find(e=>e.id===A.id)]))e&&!e.comments?.some(A=>A.id===r.id)&&(e.comments=[...e.comments??[],r]);return this.bus.emit("comment:added",r),r}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}}reportActionError(A){this.bus.emit("panel:action-error",A instanceof Error?A:new Error(String(A)))}async refreshDetail(A){if(this.isOpen&&await this.loadFeedbacks(this.currentPage),this.detail.feedbackId!==A)return;let e=this.feedbacks.findIndex(e=>e.id===A),t=this.feedbacks[e];t?this.detail.show(t,e+1):this.detail.hide()}async refresh(){this.isOpen&&await this.loadFeedbacks()}get isCurrentlyOpen(){return this.isOpen}destroy(){this.isOpen=!1,this.loadController?.abort(),this.searchTimeout&&clearTimeout(this.searchTimeout),this.listContainer.removeEventListener("click",this.onListClick),this.listContainer.removeEventListener("keydown",this.onListKeydown),this.listContainer.removeEventListener("mouseover",this.onListMouseover),this.listContainer.removeEventListener("mouseout",this.onListMouseout),document.removeEventListener("sp-marker-click",this.onMarkerClick),this.closeTypeDropdown(),this.sortControls.destroy(),this.bulk.destroy(),this.exportBtn.destroy(),this.shortcuts.destroy(),this.detail.destroy(),this.scrim.remove(),this.root.remove()}}});D(),D();var nh=new Set(["role","name","aria-label","rel","href"]);function oh(A,e){let t=nh.has(A);t||=A.startsWith("data-")&&ph(A);let s=ph(e)&&e.length<100;return s||=e.startsWith("#")&&ph(e.slice(1)),t&&s}function ah(A){return ph(A)}function lh(A){return ph(A)}function ch(A){return!0}function dh(A,e){if(A.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===A.tagName.toLowerCase())return"html";let t,s={root:document.body,idName:ah,className:lh,tagName:ch,attr:oh,timeoutMs:1e3,seedMinLength:3,optimizedMinLength:2,maxNumberOfPathChecks:1/0},r=new Date,i={...s,...e},n=function(A,e){return A.nodeType===Node.DOCUMENT_NODE?A:A===e.root?A.ownerDocument:A}(i.root,s),o=0;for(let e of function*(A,e,t){let s=[],r=[],i=A,n=0;for(;i&&i!==t;){let A=hh(i,e);for(let e of A)e.level=n;if(s.push(A),i=i.parentElement,n++,r.push(...Ch(s)),n>=e.seedMinLength){r.sort(Bh);for(let A of r)yield A;r=[]}}r.sort(Bh);for(let A of r)yield A}(A,i,n)){if((new Date).getTime()-r.getTime()>i.timeoutMs||o>=i.maxNumberOfPathChecks){let e=fh(A,n);if(!e)throw new Error(`Timeout: Can't find a unique selector after ${i.timeoutMs}ms`);return uh(e)}if(o++,yh(e,n)){t=e;break}}if(!t)throw new Error("Selector was not found.");let a=[...Qh(t,A,i,n,r)];return a.sort(Bh),a.length>0?uh(a[0]):uh(t)}function ph(A){if(/^[a-z\-]{3,}$/i.test(A)){let e=A.split(/-|[A-Z]/);for(let A of e)if(A.length<=2||/[^aeiou]{4,}/i.test(A))return!1;return!0}return!1}function hh(A,e){let t=[],s=A.getAttribute("id");s&&e.idName(s)&&t.push({name:"#"+CSS.escape(s),penalty:0});for(let s=0;s<A.classList.length;s++){let r=A.classList[s];e.className(r)&&t.push({name:"."+CSS.escape(r),penalty:1})}for(let s=0;s<A.attributes.length;s++){let r=A.attributes[s];e.attr(r.name,r.value)&&t.push({name:`[${CSS.escape(r.name)}="${CSS.escape(r.value)}"]`,penalty:2})}let r=A.tagName.toLowerCase();if(e.tagName(r)){t.push({name:r,penalty:5});let e=wh(A,r);void 0!==e&&t.push({name:bh(r,e),penalty:10})}let i=wh(A);return void 0!==i&&t.push({name:mh(r,i),penalty:50}),t}function uh(A){let e=A[0],t=e.name;for(let s=1;s<A.length;s++){let r=A[s].level||0;t=e.level===r-1?`${A[s].name} > ${t}`:`${A[s].name} ${t}`,e=A[s]}return t}function gh(A){return A.map(A=>A.penalty).reduce((A,e)=>A+e,0)}function Bh(A,e){return gh(A)-gh(e)}function wh(A,e){let t=A.parentNode;if(!t)return;let s=t.firstChild;if(!s)return;let r=0;for(;s&&(s.nodeType===Node.ELEMENT_NODE&&(void 0===e||s.tagName.toLowerCase()===e)&&r++,s!==A);)s=s.nextSibling;return r}function fh(A,e){let t=0,s=A,r=[];for(;s&&s!==e;){let A=s.tagName.toLowerCase(),e=wh(s,A);if(void 0===e)return;r.push({name:bh(A,e),penalty:NaN,level:t}),s=s.parentElement,t++}if(yh(r,e))return r}function mh(A,e){return"html"===A?"html":`${A}:nth-child(${e})`}function bh(A,e){return"html"===A?"html":`${A}:nth-of-type(${e})`}function*Ch(A,e=[]){if(A.length>0)for(let t of A[0])yield*Ch(A.slice(1,A.length),e.concat(t));else yield e}function yh(A,e){let t=uh(A);switch(e.querySelectorAll(t).length){case 0:throw new Error(`Can't select any node with this selector: ${t}`);case 1:return!0;default:return!1}}function*Qh(A,e,t,s,r){if(A.length>2&&A.length>t.optimizedMinLength)for(let i=1;i<A.length-1;i++){if((new Date).getTime()-r.getTime()>t.timeoutMs)return;let n=[...A];n.splice(i,1),yh(n,s)&&s.querySelector(uh(n))===e&&(yield n,yield*Qh(n,e,t,s,r))}}D();var xh=["role","aria-label","type","name","href","src","data-testid","data-id"];function Fh(A){let e=A.children.length,t=0,s=A.parentElement;if(s)for(let e of s.children){if(e===A)break;e.tagName===A.tagName&&t++}return`${e}:${t}:${Uh(A)}`}function Uh(A){let e=[];for(let t of xh){let s=A.getAttribute(t);s&&e.push(`${t}=${s}`)}return e.length>0?function(A){let e=5381;for(let t=0;t<A.length;t++)e=(e<<5)+e+A.charCodeAt(t)|0;return(e>>>0).toString(36)}(e.join(",")):"0"}function vh(A){return"SITEPING-WIDGET"===A.tagName||null!==A.closest("siteping-widget")||null!==A.closest('[data-siteping-ignore="true"]')||null!==A.closest("#siteping-markers")||null!==A.closest("#sp-tooltip")}function Eh(A){let e=A,t=A.shadowRoot?.activeElement;for(;t instanceof HTMLElement;){let A=t.getBoundingClientRect();A.width>=4&&A.height>=4&&(e=t),t=t.shadowRoot?.activeElement}return e}var kh=256;function Hh(A,e){let t=A;for(;t&&vh(t);)t=t[e];return t}function Ih(A){return 1===A.nodeType&&"true"===A.getAttribute("data-siteping-ignore")}function Sh(A){return 3===A.nodeType?NodeFilter.FILTER_ACCEPT:Ih(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_SKIP}function Lh(A,e){let t="before"===e?"previousElementSibling":"nextElementSibling",s=Hh(A[t],t),r=3;for(;s&&r>0;){let A="before"===e?Kh(s,kh,!0).trim():Dh(s,kh,!0).trim();if(A)return"before"===e?A.slice(-32):A.slice(0,32);s=Hh(s[t],t),r--}return""}function Mh(A){let e=Hh(A.previousElementSibling,"previousElementSibling"),t=Hh(A.nextElementSibling,"nextElementSibling");return[e?Dh(e,kh,!0).trim().slice(0,40):"",t?Dh(t,kh,!0).trim().slice(0,40):""].filter(Boolean).join(" | ")}function Dh(A,e,t=!1){let s="";if(null===A.firstElementChild){for(let t of A.childNodes)if(3===t.nodeType&&(s+=t.data,s.length>=e))break;return s.length>e?s.slice(0,e):s}let r=t?A.ownerDocument.createTreeWalker(A,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,Sh):A.ownerDocument.createTreeWalker(A,NodeFilter.SHOW_TEXT);for(;s.length<e;){let A=r.nextNode();if(!A)break;s+=A.data}return s.length>e?s.slice(0,e):s}function Kh(A,e,t=!1){let s="",r=A=>{for(let i=A.lastChild;i;i=i.previousSibling)if(3===i.nodeType){if(s=i.data+s,s.length>=e)return!0}else if(1===i.nodeType&&(!t||!Ih(i))&&r(i))return!0;return!1};return r(A),s.length>e?s.slice(-e):s}function Th(A){return A.includes("'")?`concat('${A.replace(/'/g,"',\"'\",'")}')`:`'${A}'`}var Rh="data-feedback-anchor",Oh=" >>> ",Ph={className:A=>!/^(css|sc|emotion|styled)-/.test(A)&&!/^[a-z]{1,3}[A-Za-z0-9]{4,8}$/.test(A),attr:A=>["data-testid","data-id","role","aria-label"].includes(A),idName:A=>!A.startsWith("radix-")&&!/^:r[0-9]+:$/.test(A),seedMinLength:3,optimizedMinLength:2};function Nh(A){if(A.parentElement)return A.parentElement;let e=A.getRootNode();return e instanceof ShadowRoot?e.host:null}function Vh(A){let e=[],t=A;for(;t;){let A=t.getRootNode();A instanceof ShadowRoot?(e.unshift(dh(t,{...Ph,root:A})),t=A.host):(e.unshift(dh(t,Ph)),t=null)}let s=e.join(Oh),r=function(A){if(A.getRootNode()instanceof ShadowRoot)return function(A){let e="";for(let t=A;t;t=t.parentElement){let A=t.localName;if(t.id){e=`/${A}[@id=${Th(t.id)}]${e}`;continue}let s=1;for(let e=t.previousElementSibling;e;e=e.previousElementSibling)e.localName===A&&s++;e=`/${A}[${s}]${e}`}return`.${e}`}(A);if(A.id)return`//${A.localName}[@id=${Th(A.id)}]`;let e=[],t=A;for(;t&&t!==document.body&&e.length<6;){let A=t.localName,s=t.parentElement;if(t.id)return e.unshift(`/${A}[@id=${Th(t.id)}]`),"/"+e.join("");let r=1;if(s)for(let e of s.children){if(e===t)break;e.localName===A&&r++}e.unshift(`/${A}[${r}]`),t=s}return t!==document.body?"/"+e.join(""):"/html/body"+e.join("")}(A),i=(A.textContent?.trim()??"").slice(0,120),n=Lh(A,"before"),o=Lh(A,"after"),a=Fh(A),l=Mh(A),c=function(A,e){let t=A;for(;t;){let A=t.closest(e);if(A)return A;let s=t.getRootNode();t=s instanceof ShadowRoot?s.host:null}return null}(A,`[${Rh}]`)?.getAttribute(Rh)??null;return{cssSelector:s,xpath:r,textSnippet:i,textPrefix:n,textSuffix:o,fingerprint:a,neighborText:l,elementTag:A.tagName.slice(0,Q),elementId:A.id&&A.id.length<=x?A.id:void 0,anchorKey:c}}function Gh(A,e){let t=A.getBoundingClientRect();return t.left<=e.x&&t.top<=e.y&&t.right>=e.x+e.width&&t.bottom>=e.y+e.height}function Xh(A,e){let t=document.elementFromPoint(A,e),s=t?.shadowRoot;for(;s&&"function"==typeof s.elementFromPoint;){let r=s.elementFromPoint(A,e);if(!r||r.getRootNode()!==s)break;t=r,s=r.shadowRoot}return t}$(),UA(),$(),UA(),vA();var $h={width:334,height:280},Yh={top:0,bottom:0};DA(),PA();var Wh={question:"type.question",change:"type.change",bug:"type.bug",other:"type.other"},Jh="opacity 250ms cubic-bezier(0.16, 1, 0.3, 1),transform 250ms cubic-bezier(0.16, 1, 0.3, 1)";function zh(){return"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}var _h,jh=class{constructor(A,e){this.colors=A,this.t=e,this.root=R("div",{style:`position:fixed;z-index:2147483647;pointer-events:auto;width:300px;padding:16px;border-radius:16px;background:${this.colors.glassBg};backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid ${this.colors.glassBorder};box-shadow:0 8px 32px ${this.colors.shadow},0 2px 8px ${this.colors.shadow};font-family:"Inter",system-ui,-apple-system,sans-serif;opacity:0;transform:translateY(8px) scale(0.98);transition:${Jh};display:none;-webkit-font-smoothing:antialiased;`}),this.root.setAttribute("role","dialog"),this.root.setAttribute("aria-modal","true"),this.root.setAttribute("data-siteping-ignore","true");let t=[{type:"question",icon:uA},{type:"change",icon:gA},{type:"bug",icon:BA},{type:"other",icon:wA}];this.typeRow=R("div",{style:"display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;"});for(let A of t){let e=document.createElement("button");e.style.cssText=`height:44px;border-radius:9999px;border:1px solid ${this.colors.border};background:${this.colors.glassBg};cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;color:${this.colors.textTertiary};transition:all 0.2s ease;padding:0 12px;`;let t=T(A.icon);t.setAttribute("style","width:13px;height:13px;flex-shrink:0;"),e.appendChild(t),e.appendChild(document.createElement("span")),e.dataset.type=A.type,e.setAttribute("aria-pressed","false"),e.addEventListener("click",()=>{this.submittingState||this.selectType(A.type,this.typeRow)}),e.addEventListener("mouseenter",()=>{if(!this.submittingState&&e.dataset.type!==this.selectedType){let A=HA(e.dataset.type??"",this.colors);e.style.background=A,e.style.borderColor=kA(e.dataset.type??"",this.colors)+"40"}}),e.addEventListener("mouseleave",()=>{this.submittingState||e.dataset.type!==this.selectedType&&(e.style.background=this.colors.glassBg,e.style.borderColor=this.colors.border)}),this.typeRow.appendChild(e)}this.textarea=document.createElement("textarea"),this.textarea.style.cssText=`width:100%;min-height:72px;max-height:152px;padding:10px 12px;border-radius:12px;border:1px solid ${this.colors.border};background:${this.colors.glassBgHeavy};color:${this.colors.text};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.5;resize:vertical;outline:none;transition:all 0.2s ease;box-sizing:border-box;`,this.textarea.maxLength=5e3,this.hint=R("div",{style:`font-size:11px;color:${this.colors.textTertiary};text-align:right;margin-top:4px;font-family:"Inter",system-ui,-apple-system,sans-serif;letter-spacing:0.01em;`}),this.textarea.addEventListener("focus",()=>{this.submittingState||(this.textarea.style.borderColor=this.colors.accent,this.textarea.style.boxShadow=`0 0 0 3px ${this.colors.accent}14`,this.textarea.style.background=this.colors.bg)}),this.textarea.addEventListener("blur",()=>{this.submittingState||(this.textarea.style.borderColor=this.colors.border,this.textarea.style.boxShadow="none",this.textarea.style.background=this.colors.glassBgHeavy)}),this.textarea.addEventListener("input",()=>{this.updateSubmitState()}),this.textarea.addEventListener("keydown",A=>{this.submittingState||"Enter"===A.key&&(A.ctrlKey||A.metaKey)&&(A.preventDefault(),this.submit())});let s=R("div",{style:"display:flex;justify-content:flex-end;gap:8px;margin-top:12px;"});this.cancelBtn=document.createElement("button"),this.cancelBtn.style.cssText=`height:34px;padding:0 16px;border-radius:9999px;border:1px solid ${this.colors.border};background:${this.colors.glassBg};color:${this.colors.textTertiary};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all 0.2s ease;`,this.cancelBtn.addEventListener("click",()=>this.dismiss()),this.cancelBtn.addEventListener("mouseenter",()=>{this.submittingState||(this.cancelBtn.style.borderColor=this.colors.accent,this.cancelBtn.style.color=this.colors.accent)}),this.cancelBtn.addEventListener("mouseleave",()=>{this.submittingState||(this.cancelBtn.style.borderColor=this.colors.border,this.cancelBtn.style.color=this.colors.textTertiary)}),this.submitBtn=document.createElement("button"),this.submitBtn.style.cssText=`height:34px;padding:0 18px;border-radius:9999px;border:none;background:${this.colors.accentGradient};color:#fff;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:600;cursor:pointer;opacity:0.35;pointer-events:none;transition:all 0.2s ease;box-shadow:0 2px 8px ${this.colors.accentGlow};display:inline-flex;align-items:center;justify-content:center;min-width:64px;`,this.submitLabel=document.createElement("span"),this.submitBtn.appendChild(this.submitLabel),this.submitBtn.addEventListener("click",()=>this.submit()),s.appendChild(this.cancelBtn),s.appendChild(this.submitBtn),this.root.appendChild(this.typeRow),this.root.appendChild(this.textarea),this.root.appendChild(this.hint),this.root.appendChild(s),W(this.root),document.body.appendChild(this.root),this.applyLabels()}colors;t;root;selectedType=null;textarea;submitBtn;cancelBtn;typeRow;submitLabel;hint;resolve=null;previouslyFocused=null;onKeydownTrap=null;onSubmit=null;submittingState=!1;showFrame=null;hideTimeoutId=null;spinnerAnimation=null;sheet=!1;stopKeyboardTracking=null;get isOpen(){return null!==this.resolve}get sheetTop(){return this.sheet&&this.isOpen?window.innerHeight-this.root.offsetHeight:null}refreshLabels(){this.applyLabels()}applyLabels(){this.root.setAttribute("aria-label",this.t("popup.ariaLabel"));let A=this.root.querySelectorAll("button[data-type]");for(let e of A){let A=e.dataset.type;if(!A)continue;let t=Wh[A];if(!t)continue;let s=e.querySelector("span");s&&O(s,this.t(t))}this.textarea.placeholder=this.t("popup.placeholder"),this.textarea.setAttribute("aria-label",this.t("popup.textareaAria")),O(this.hint,G()?this.t("popup.submitHintMac"):this.t("popup.submitHintOther")),O(this.cancelBtn,this.t("popup.cancel")),O(this.submitLabel,this.t("popup.submit"))}show(A,e,t=Yh){return new Promise(s=>{this.cancelPendingTransition(),this.resolve=s,this.onSubmit=e??null,this.selectedType=null,this.textarea.value="",this.submittingState=!1,this.updateSubmitState(),this.resetTypeButtons(),this.previouslyFocused=document.activeElement;let r=RA();this.sheet=TA();let i=this.sheet?"48px":r?"44px":"34px";this.cancelBtn.style.height=i,this.submitBtn.style.height=i,this.cancelBtn.style.flex=this.sheet?"1":"",this.submitBtn.style.flex=this.sheet?"2":"",this.textarea.style.fontSize=r?"16px":"13px",this.textarea.style.minHeight=this.sheet?"96px":"72px",this.hint.style.display=r?"none":"",this.root.style.transform=this.hiddenTransform(),J(this.root,!1),this.root.style.display="block",this.layout(A,t),this.onKeydownTrap=A=>{if("Escape"===A.key&&this.dismiss(),"Tab"===A.key){let e=Array.from(this.root.querySelectorAll('button:not([disabled]), textarea:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])'));if(0===e.length)return;let t=e[0],s=e[e.length-1];if(!t||!s)return;A.shiftKey?(document.activeElement===t||!this.root.contains(document.activeElement))&&(A.preventDefault(),s.focus()):(document.activeElement===s||!this.root.contains(document.activeElement))&&(A.preventDefault(),t.focus())}},this.root.addEventListener("keydown",this.onKeydownTrap),this.root.style.transition=zh()?"none":Jh,this.showFrame=requestAnimationFrame(()=>{this.showFrame=null,this.root.style.opacity="1",this.root.style.transform="translateY(0) scale(1)",(r?this.typeRow.querySelector("button"):this.textarea)?.focus()})})}layout(A,e){let t=this.root.style;if(t.width=this.sheet?"auto":"300px",t.borderRadius=this.sheet?"20px 20px 0 0":"16px",t.background=this.sheet?this.colors.bg:this.colors.glassBg,t.boxShadow=this.sheet?`0 -8px 32px ${this.colors.shadow}`:`0 8px 32px ${this.colors.shadow}, 0 2px 8px ${this.colors.shadow}`,t.overscrollBehavior=this.sheet?"contain":"",this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.sheet){t.top="auto",t.left="0",t.right="0",t.overflowY="auto";let A=(A,e=window.innerHeight)=>{t.bottom=`${A}px`,t.maxHeight=e-8+"px",t.padding="16px 16px "+(A>0?"16px":"calc(16px + env(safe-area-inset-bottom, 0px))")};return A(0),void(this.stopKeyboardTracking=OA(A))}t.right="",t.bottom="",t.padding="16px",t.maxHeight="",t.overflowY="";let{top:s,left:r,maxHeight:i}=function(A,e,t,s=Yh){let r,i=s.top+8,n=t.height-s.bottom-8,o=Math.max(0,n-i),a=A.bottom+8,l=A.top-8-e.height,c=A=>A>=i&&A+e.height<=n,d=null;c(a)?r=a:c(l)?r=l:e.height<=o?r=Math.min(Math.max(a,i),n-e.height):(r=i,d=o);let p=A.left;return p+e.width>t.width-8&&(p=A.right-e.width),p=Math.max(8,Math.min(p,t.width-8-e.width)),{top:r,left:p,maxHeight:d}}(A,this.measure(),{width:window.innerWidth,height:window.innerHeight},e);t.top=`${s}px`,t.left=`${r}px`,null!==i&&(t.maxHeight=`${Math.max(0,i-this.verticalChromeHeight())}px`,t.overflowY="auto",this.root.scrollTop=0)}hiddenTransform(){return this.sheet?"translateY(100%)":"translateY(8px) scale(0.98)"}measure(){let A=this.root.offsetWidth,e=this.root.offsetHeight;return A>0&&e>0?{width:A,height:e}:$h}verticalChromeHeight(){let A=window.getComputedStyle(this.root);return"border-box"===A.boxSizing?0:[A.paddingTop,A.paddingBottom,A.borderTopWidth,A.borderBottomWidth].reduce((A,e)=>A+(Number.parseFloat(e)||0),0)}selectType(A,e){this.selectedType=A;let t=e.querySelectorAll("button");for(let e of t){let t=e.dataset.type===A,s=kA(e.dataset.type??"",this.colors),r=HA(e.dataset.type??"",this.colors);e.style.background=t?r:this.colors.glassBg,e.style.borderColor=t?s+"60":this.colors.border,e.style.color=t?s:this.colors.textTertiary,e.style.fontWeight=t?"600":"500",e.setAttribute("aria-pressed",String(t))}this.updateSubmitState()}resetTypeButtons(){let A=this.root.querySelectorAll("button[data-type]");for(let e of A)e.setAttribute("aria-pressed","false"),e.disabled=!1,e.style.background=this.colors.glassBg,e.style.borderColor=this.colors.border,e.style.color=this.colors.textTertiary,e.style.fontWeight="500",e.style.cursor="pointer"}updateSubmitState(){if(this.submittingState)return;let A=null!==this.selectedType&&this.textarea.value.trim().length>0;this.submitBtn.disabled=!A,this.submitBtn.style.opacity=A?"1":"0.35",this.submitBtn.style.pointerEvents=A?"auto":"none"}submit(){if(this.submittingState||!this.selectedType||!this.textarea.value.trim())return;let A={type:this.selectedType,message:this.textarea.value.trim()};if(!this.onSubmit)return this.resolve?.(A),this.resolve=null,void this.hideElement();this.enterSubmittingState(),(0,this.onSubmit)(A).then(()=>{this.resolve?.(A),this.resolve=null,this.hideElement()}).catch(()=>{this.exitSubmittingState()})}dismiss(){this.submittingState||!this.isOpen||(this.resolve?.(null),this.resolve=null,this.hideElement())}enterSubmittingState(){this.submittingState=!0,this.submitLabel.style.display="none",this.submitBtn.disabled=!0,this.submitBtn.style.cursor="wait",this.submitBtn.style.opacity="0.85",this.submitBtn.setAttribute("aria-busy","true"),this.submitBtn.appendChild(this.buildSpinner()),this.cancelBtn.disabled=!0,this.cancelBtn.style.opacity="0.5",this.cancelBtn.style.cursor="not-allowed",this.cancelBtn.style.pointerEvents="none",this.textarea.disabled=!0,this.textarea.style.opacity="0.6";let A=this.typeRow.querySelectorAll("button");for(let e of A)e.disabled=!0,e.style.cursor="not-allowed",e.style.opacity="0.6"}exitSubmittingState(){this.submittingState=!1,this.spinnerAnimation?.cancel(),this.spinnerAnimation=null,this.submitBtn.querySelector('[data-role="sp-popup-spinner"]')?.remove(),this.submitLabel.style.display="",this.submitBtn.removeAttribute("aria-busy"),this.submitBtn.style.cursor="pointer",this.cancelBtn.disabled=!1,this.cancelBtn.style.opacity="1",this.cancelBtn.style.cursor="pointer",this.cancelBtn.style.pointerEvents="auto",this.textarea.disabled=!1,this.textarea.style.opacity="1";let A=this.typeRow.querySelectorAll("button");for(let e of A)e.disabled=!1,e.style.cursor="pointer",e.style.opacity="1";this.updateSubmitState()}buildSpinner(){let A=document.createElement("div");return A.dataset.role="sp-popup-spinner",A.style.cssText="width:14px;height:14px;border:2px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;box-sizing:border-box;",!zh()&&"function"==typeof A.animate&&(this.spinnerAnimation=A.animate([{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}],{duration:600,iterations:1/0,easing:"linear"})),A}hideElement(){this.cancelPendingTransition(),this.onKeydownTrap&&(this.root.removeEventListener("keydown",this.onKeydownTrap),this.onKeydownTrap=null),this.submittingState&&this.exitSubmittingState(),this.onSubmit=null,this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.root.style.opacity="0",this.root.style.transform=this.hiddenTransform(),this.previouslyFocused?.focus(),this.previouslyFocused=null,J(this.root,!0),zh()?this.root.style.display="none":this.hideTimeoutId=setTimeout(()=>{this.hideTimeoutId=null,this.root.style.display="none"},250)}cancelPendingTransition(){null!==this.showFrame&&cancelAnimationFrame(this.showFrame),null!==this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.showFrame=null,this.hideTimeoutId=null}destroy(){this.submittingState&&this.exitSubmittingState(),this.cancelPendingTransition(),this.resolve?.(null),this.resolve=null,this.onSubmit=null,this.onKeydownTrap&&(this.root.removeEventListener("keydown",this.onKeydownTrap),this.onKeydownTrap=null),this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.root.remove()}},Zh=!1;function qh(A,e,t){return Math.min(t,Math.max(A,e))}function Au(A){return qh(0,Math.round(1e4*A)/1e4,1)}function eu(A){let e=Math.max(0,A.left),t=Math.max(0,A.top);return new DOMRect(e,t,Math.max(0,Math.min(A.right,window.innerWidth)-e),Math.max(0,Math.min(A.bottom,window.innerHeight)-t))}PA();var tu=class{constructor(A,e,t,s=!1,r){this.colors=A,this.bus=e,this.t=t,this.enableScreenshot=s,this.getFallbackTarget=r,this.popup=new jh(A,t),this.bus.on("annotation:start",()=>this.activate())}colors;bus;t;enableScreenshot;getFallbackTarget;overlay=null;toolbar=null;drawingRect=null;startX=0;startY=0;isDrawing=!1;isActive=!1;instantMode=!1;popup;savedOverflow="";preActiveFocusElement=null;keyboardTarget=null;rafId=null;pendingMoveEvent=null;rejectPendingSubmission=null;unregisterEscapeLayer=z(document,()=>this.isActive);get isBusy(){return this.isActive}refreshLabels(){this.popup.refreshLabels()}async maybeCapture(A){return this.enableScreenshot?async function(A){let e=await async function(){if(void 0!==_h)return _h;try{let A=await Promise.resolve().then(()=>(Id(),NA));return _h=A.default??A}catch(A){return _h=null,Zh||(Zh=!0,console.warn("[siteping] html2canvas-pro import failed unexpectedly. Capture is disabled for this session \u2014 feedbacks are still submitted, just without screenshots. Underlying error:",A)),null}}();if(!e)return null;let t=1200,s=qh(48,.6*A.width,280),r=qh(48,.6*A.height,220),i=window.scrollX+A.x,n=window.scrollY+A.y,o=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),l=Math.max(0,i-s),c=Math.max(0,n-r),d=Math.min(o,i+A.width+s)-l,p=Math.min(a,n+A.height+r)-c;if(d<=0||p<=0)return null;let h={xPct:Au((i-l)/d),yPct:Au((n-c)/p),wPct:Au(A.width/d),hPct:Au(A.height/p)};try{let A=await e(document.body,{x:l,y:c,width:d,height:p,scale:window.devicePixelRatio,useCORS:!0,allowTaint:!0,logging:!1,ignoreElements:A=>"SITEPING-WIDGET"===A.tagName||null!==A.closest?.("siteping-widget")||"true"===A.getAttribute?.("data-siteping-ignore")});if(A.width<=t)return{dataUrl:A.toDataURL("image/jpeg",.85),region:h};let s=t/A.width,r=t,i=Math.round(A.height*s),n=document.createElement("canvas");n.width=r,n.height=i;let o=n.getContext("2d");return o?(o.drawImage(A,0,0,r,i),{dataUrl:n.toDataURL("image/jpeg",.85),region:h}):null}catch(A){return console.warn("[siteping] Screenshot capture failed:",A),null}}(A):null}activate(){if(this.isActive)return;this.isActive=!0;let A=!this.instantMode,e=TA(),t=RA(),s=this.t("annotator.instruction");this.preActiveFocusElement=document.activeElement;let r=document.activeElement;if(this.keyboardTarget=r instanceof HTMLElement&&r!==document.body&&r!==document.documentElement&&!vh(r)?Eh(r):this.getFallbackTarget?.()??null,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden",this.overlay=R("div",{style:`position:fixed;inset:0;z-index:2147483646;pointer-events:auto;background:rgba(15,23,42,0.04);cursor:${A?"crosshair":"default"};touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;`}),this.overlay.setAttribute("role","application"),this.overlay.setAttribute("aria-label",A?s:this.t("annotator.instantInstruction")),this.overlay.setAttribute("data-siteping-ignore","true"),A){this.toolbar=R("div",{style:`position:fixed;top:0;left:0;right:0;z-index:2147483647;pointer-events:auto;min-height:52px;box-sizing:border-box;padding:calc(env(safe-area-inset-top,0px) + 8px) ${e?"12px 8px 16px":"16px 8px"};background:${e?this.colors.bg:this.colors.glassBg};backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid ${this.colors.glassBorder};display:flex;align-items:center;justify-content:center;gap:${e?12:16}px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.35;color:${this.colors.text};box-shadow:0 4px 16px ${this.colors.shadow};-webkit-font-smoothing:antialiased;`}),this.toolbar.setAttribute("data-siteping-ignore","true");let A=R("span",{style:`width:8px;height:8px;border-radius:50%;flex-shrink:0;background:${this.colors.accent};box-shadow:0 0 8px ${this.colors.accentGlow};animation:pulse 1.5s ease-in-out infinite;`}),r=document.createElement("style");r.textContent=["@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}","@media(prefers-reduced-motion:reduce){@keyframes pulse{from,to{opacity:1}}}"].join(""),this.toolbar.appendChild(r);let i=R("span",{style:"font-weight:500;letter-spacing:-0.01em;min-width:0;"});O(i,t?this.t("annotator.touchInstruction"):s);let n=document.createElement("button");n.style.cssText=`height:${t?40:34}px;padding:0 18px;border-radius:9999px;flex-shrink:0;border:1px solid ${this.colors.border};background:${this.colors.glassBg};color:${this.colors.textTertiary};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all 0.2s ease;`,O(n,this.t("annotator.cancel")),n.addEventListener("click",()=>this.cancelSession()),n.addEventListener("mouseenter",()=>{n.style.borderColor=this.colors.typeBug,n.style.color=this.colors.typeBug,n.style.background=this.colors.typeBugBg}),n.addEventListener("mouseleave",()=>{n.style.borderColor=this.colors.border,n.style.color=this.colors.textTertiary,n.style.background=this.colors.glassBg}),this.toolbar.appendChild(A),this.toolbar.appendChild(i),this.toolbar.appendChild(n)}A&&(this.overlay.addEventListener("mousedown",this.onMouseDown),this.overlay.addEventListener("mousemove",this.onMouseMove),this.overlay.addEventListener("mouseup",this.onMouseUp),this.overlay.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.overlay.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.overlay.addEventListener("touchend",this.onTouchEnd),this.overlay.addEventListener("keydown",this.onOverlayKeyDown)),this.overlay.setAttribute("tabindex","0"),document.addEventListener("keydown",this.onKeyDown),W(this.overlay),this.toolbar&&W(this.toolbar),document.body.appendChild(this.overlay),this.toolbar&&document.body.appendChild(this.toolbar),this.overlay.focus({preventScroll:!0})}toolbarInsets(){if(!this.toolbar)return Yh;let A=this.toolbar.getBoundingClientRect();if(0===A.height)return Yh;let e=window.innerHeight;return A.top+A.height/2<e/2?{top:Math.max(0,A.bottom),bottom:0}:{top:0,bottom:Math.max(0,e-A.top)}}cancelSession(){this.isActive&&(this.popup.dismiss(),!this.popup.isOpen&&this.deactivate())}deactivate(){if(!this.isActive)return;this.isActive=!1,this.isDrawing=!1,this.instantMode=!1;let A=this.preActiveFocusElement;this.preActiveFocusElement=null,this.keyboardTarget=null,null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.pendingMoveEvent=null,document.body.style.overflow=this.savedOverflow,document.removeEventListener("keydown",this.onKeyDown),this.overlay?.remove(),this.toolbar?.remove(),this.drawingRect?.remove(),this.overlay=null,this.toolbar=null,this.drawingRect=null,A instanceof HTMLElement&&A.isConnected&&A.focus({preventScroll:!0}),this.bus.emit("annotation:end")}onKeyDown=A=>{"Escape"===A.key&&this.cancelSession()};onOverlayKeyDown=async A=>{if("Enter"!==A.key||(A.preventDefault(),this.popup.isOpen)||this.isDrawing)return;let e=this.keyboardTarget;!e||!(e instanceof HTMLElement)||await this.annotateElement(e)};async annotateElement(A,e=!1){let t=A.getBoundingClientRect();if(t.width<=0||t.height<=0)return;let s=new DOMRect(t.x,t.y,t.width,t.height);this.drawingRect?.remove();let r=this.createDrawingRect();r.style.left=`${t.x}px`,r.style.top=`${t.y}px`,r.style.width=`${t.width}px`,r.style.height=`${t.height}px`,this.drawingRect=r,this.overlay?.appendChild(r);let i={anchor:Vh(A),rect:{xPct:0,yPct:0,wPct:1,hPct:1},scrollX:window.scrollX,scrollY:window.scrollY,viewportW:window.innerWidth,viewportH:window.innerHeight,devicePixelRatio:window.devicePixelRatio},n=await this.openForm(i,s,e?eu(s):s);this.drawingRect?.remove(),this.drawingRect=null,n&&this.deactivate()}onMouseDown=A=>{this.startDrawing(A.clientX,A.clientY)};onTouchStart=A=>{A.preventDefault();let e=A.touches[0];e&&this.startDrawing(e.clientX,e.clientY)};startDrawing(A,e){this.popup.isOpen||(this.isDrawing=!0,this.startX=A,this.startY=e,this.drawingRect?.remove(),this.drawingRect=this.createDrawingRect(),this.overlay?.appendChild(this.drawingRect))}createDrawingRect(){let A=R("div",{style:`position:fixed;border:2px solid ${this.colors.accent};background:${this.colors.accent}12;pointer-events:none;border-radius:8px;box-shadow:0 0 16px ${this.colors.accentGlow};transition:box-shadow 0.15s ease;`});return A.setAttribute("data-siteping-ignore","true"),A}onMouseMove=A=>{this.scheduleRectUpdate(A)};onTouchMove=A=>{A.preventDefault(),A.touches[0]&&this.scheduleRectUpdate(A.touches[0])};scheduleRectUpdate(A){!this.isDrawing||!this.drawingRect||(this.pendingMoveEvent=A,null===this.rafId&&(this.rafId=requestAnimationFrame(()=>{this.rafId=null;let A=this.pendingMoveEvent;if(!A||!this.drawingRect)return;let e=Math.min(A.clientX,this.startX),t=Math.min(A.clientY,this.startY),s=Math.abs(A.clientX-this.startX),r=Math.abs(A.clientY-this.startY);this.drawingRect.style.left=`${e}px`,this.drawingRect.style.top=`${t}px`,this.drawingRect.style.width=`${s}px`,this.drawingRect.style.height=`${r}px`})))}onTouchEnd=async A=>{let e=A.changedTouches[0];if(e){if(this.isDrawing&&(Math.abs(e.clientX-this.startX)<10||Math.abs(e.clientY-this.startY)<10)){this.isDrawing=!1,this.drawingRect?.remove(),this.drawingRect=null;let A=this.elementAt(e.clientX,e.clientY);return void(A&&await this.annotateElement(A,!0))}await this.finishDrawing(e.clientX,e.clientY)}};elementAt(A,e){this.overlay&&(this.overlay.style.pointerEvents="none");let t=Xh(A,e);this.overlay&&(this.overlay.style.pointerEvents="auto");let s=t instanceof SVGElement?(t.ownerSVGElement??t).parentElement:t;return s instanceof HTMLElement&&s!==document.body&&s!==document.documentElement&&!vh(s)?s:null}onMouseUp=async A=>{await this.finishDrawing(A.clientX,A.clientY)};finishDrawing=async(A,e)=>{if(!this.isDrawing||!this.drawingRect)return;this.isDrawing=!1;let t=Math.min(A,this.startX),s=Math.min(e,this.startY),r=Math.abs(A-this.startX),i=Math.abs(e-this.startY);if(r<10||i<10)return this.drawingRect.remove(),void(this.drawingRect=null);let n=new DOMRect(t,s,r,i),{annotation:o}=this.buildAnnotation(n),a=await this.openForm(o,n);this.drawingRect?.remove(),this.drawingRect=null,a&&this.deactivate()};async startInstantAnnotation(A,e){if(this.isActive)return;this.instantMode=!0,this.bus.emit("annotation:start");let t=Math.max(0,Math.min(A-10,window.innerWidth-20)),s=Math.max(0,Math.min(e-10,window.innerHeight-20)),r=new DOMRect(t,s,20,20),{annotation:i,anchorBounds:n}=this.buildAnnotation(r),o=eu(n);this.drawingRect?.remove(),this.drawingRect=R("div",{style:`position:fixed;left:${t}px;top:${s}px;width:20px;height:20px;border:2px solid ${this.colors.accent};background:${this.colors.accent}12;pointer-events:none;border-radius:8px;box-shadow:0 0 16px ${this.colors.accentGlow};`}),this.drawingRect.setAttribute("data-siteping-ignore","true"),this.overlay?.appendChild(this.drawingRect),await this.openForm(i,r,o),this.drawingRect?.remove(),this.drawingRect=null,this.deactivate()}openForm(A,e,t=e){let s={clientId:k()},r=this.popup.show(e,e=>this.runSubmission(A,e,t,s),this.toolbarInsets());return this.revealSelection(e),r}revealSelection(A){let e=this.popup.sheetTop;if(null===e||!this.drawingRect)return;let t=Math.min(A.bottom+16-e,A.top-72);if(t<=0)return;let s=window.scrollY;window.scrollBy({top:t,behavior:"instant"}),this.drawingRect.style.top=A.top-(window.scrollY-s)+"px"}async runSubmission(A,e,t,s){void 0===s.screenshot&&(s.screenshot=await this.maybeCapture(new DOMRect(t.x+A.scrollX-window.scrollX,t.y+A.scrollY-window.scrollY,t.width,t.height)));let r=s.screenshot;await new Promise((t,i)=>{let n=()=>{o(),a(),l(),this.rejectPendingSubmission=null},o=this.bus.on("feedback:sent",()=>{n(),t()}),a=this.bus.on("feedback:error",A=>{n(),i(A)}),l=this.bus.on("submission:cancelled",()=>{n(),i(new Error("Feedback submission cancelled"))});this.rejectPendingSubmission=A=>{n(),i(A)},this.bus.emit("annotation:complete",{annotation:A,type:e.type,message:e.message,clientId:s.clientId,screenshotDataUrl:r?.dataUrl??null,screenshotRegion:r?.region??null})})}buildAnnotation(A){this.overlay&&(this.overlay.style.pointerEvents="none");let e=function(A,e=document.documentElement){let t=Xh(A.x+A.width/2,A.y+A.height/2);if(!t||t===e)return document.body;let s=t;for(;s&&s!==document.body;){if(s.hasAttribute(Rh)&&Gh(s,A))return s;s=Nh(s)}for(s=t;s&&s!==document.body;){if(Gh(s,A))return s;s=Nh(s)}return document.body}(A);this.overlay&&(this.overlay.style.pointerEvents="auto");let t=Vh(e),s=e.getBoundingClientRect(),r=function(A,e){return e.width<=0||e.height<=0?{xPct:0,yPct:0,wPct:1,hPct:1}:{xPct:(A.x-e.x)/e.width,yPct:(A.y-e.y)/e.height,wPct:A.width/e.width,hPct:A.height/e.height}}(A,s);return{annotation:{anchor:t,rect:r,scrollX:window.scrollX,scrollY:window.scrollY,viewportW:window.innerWidth,viewportH:window.innerHeight,devicePixelRatio:window.devicePixelRatio},anchorBounds:s}}destroy(){this.deactivate(),this.unregisterEscapeLayer(),this.rejectPendingSubmission?.(new Error("Annotator destroyed during submission")),this.popup.destroy()}};function su(A,e){let t=`siteping_own_feedback:${JSON.stringify([A,e??null])}`,s=()=>{try{let A=JSON.parse(localStorage.getItem(t)??"[]");return new Set(Array.isArray(A)?A.filter(A=>"string"==typeof A):[])}catch{return new Set}},r=A=>{try{A.size>0?localStorage.setItem(t,JSON.stringify([...A].slice(-500))):localStorage.removeItem(t)}catch{}};return{ids:s,add(A){let e=s();e.delete(A),r(e.add(A))},remove(...A){let e=s(),t=e.size;for(let t of A)e.delete(t);e.size<t&&r(e)},clear:()=>r(new Set)}}D();var ru=1e4,iu="siteping_retry_queue";function nu(A,e,t){let s,r=new Promise((A,r)=>{s=setTimeout(()=>r(t()),e)});return Promise.race([A,r]).finally(()=>clearTimeout(s))}async function ou(A,e){let t={};return e&&(t["Content-Type"]="application/json"),A.apiKey&&(t.Authorization=`Bearer ${A.apiKey}`),function(A,e){let t={...A};for(let[A,s]of Object.entries(e??{})){for(let e of Object.keys(t))e.toLowerCase()===A.toLowerCase()&&delete t[e];t[A]=s}return t}(t,"function"==typeof A.headers?await nu(Promise.resolve(A.headers()),ru,()=>new Error("headers factory did not settle within 10 s")):A.headers)}async function au(A,e,t,s,{boundBody:r=!1}={}){for(let i=0;;i++){let n=new AbortController,o=setTimeout(()=>n.abort(),ru);try{let a=await fetch(A,{...e,signal:n.signal}).catch(A=>{if(3===i)throw I(A,t);return null});if(a&&(a.ok||a.status>=400&&a.status<500||3===i)){if(clearTimeout(o),r&&(o=setTimeout(()=>n.abort(),ru)),!a.ok)throw await H(a,t);return await s(a).catch(A=>{throw I(A,t)})}}finally{clearTimeout(o)}let a=1e3*2**i,l=1e3*Math.random()-500;await new Promise(A=>setTimeout(A,a+l))}}function lu(A){return A>=500}async function cu(A){return typeof navigator<"u"&&navigator.locks?navigator.locks.request("siteping_retry_queue",()=>A()):A()}function du(A){if(!p(A,"endpoint")||"string"!=typeof A.endpoint||!p(A,"payload"))return!1;let{payload:e}=A;return p(e,"authorName")&&"string"==typeof e.authorName&&p(e,"authorEmail")&&"string"==typeof e.authorEmail}function pu(){let A,e=localStorage.getItem(iu);if(!e)return[];try{A=JSON.parse(e)}catch{return localStorage.removeItem(iu),console.warn(`[siteping] discarded an unreadable retry queue from localStorage (${e.length} chars)`),[]}return Array.isArray(A)?A.filter(du):[]}function hu(A){try{return localStorage.setItem(iu,JSON.stringify(A)),!0}catch{return!1}}function uu(A){return null!=A.payload.screenshotDataUrl}function gu(A){let{screenshotDataUrl:e,screenshotRegion:t,...s}=A.payload;return{endpoint:A.endpoint,payload:s}}function Bu(A){return A.trim()}function wu(A){return A.trim().toLowerCase()}function fu(A,e){let t=Math.min(1,Math.max(0,A)),s=e-(t-A);return[t,Math.max(0,t+s<=1?s:1-t)]}function mu(A){let[e,t]=fu(A.rect.xPct,A.rect.wPct),[s,r]=fu(A.rect.yPct,A.rect.hPct);return{...A,rect:{xPct:e,yPct:s,wPct:t,hPct:r}}}async function bu(A){return await A.json()}async function Cu(){}var yu=class{constructor(A,e,t={}){this.endpoint=A,this.projectName=e,this.auth=t}endpoint;projectName;auth;async headers(A,e){try{return await ou(this.auth,A)}catch(A){throw I(A,e)}}async sendFeedback(A){let e="Failed to send feedback",{screenshotRegion:t,...s}=A,r={...s,annotations:s.annotations.map(mu)},i=t?{...r,screenshotRegion:t}:r;try{let A=await au(this.endpoint,{method:"POST",headers:await this.headers(!0,e),body:JSON.stringify(i)},e,bu,{boundBody:!0});return a=i.clientId,cu(()=>{try{let A=pu(),e=A.filter(A=>A.payload.clientId!==a);if(e.length===A.length)return;e.length>0?localStorage.setItem(iu,JSON.stringify(e)):localStorage.removeItem(iu)}catch{}}),A}catch(A){throw function(A){return A instanceof o||A instanceof n&&"SERVER"===A.code}(A)&&function(A,e){cu(()=>{try{let t=pu().filter(A=>A.payload.clientId!==e.clientId);if(t.length>=20&&t.shift(),t.push({endpoint:A,payload:e}),hu(t))return;let s=t.slice(),r=0;for(let[A,e]of s.entries())if(uu(e)&&(s[A]=gu(e),r+=1,hu(s)))return void console.warn(`[siteping] retry queue exceeded the localStorage quota \u2014 dropped the screenshot of ${r} of ${t.length} queued feedback(s)`);for(;s.length>1;)if(s.shift(),hu(s)){let A=t.length-s.length,e=t.slice(A).filter(uu).length;return void console.warn(`[siteping] retry queue exceeded the localStorage quota \u2014 dropped the ${A} oldest of ${t.length} queued feedback(s)${e>0?`, and the screenshot of ${e} of the rest`:""}`)}console.warn("[siteping] feedback could not be queued for retry \u2014 localStorage is full or unavailable")}catch{}})}(this.endpoint,i),A}var a}async getFeedbacks(A,e){let t="Failed to fetch feedbacks",s=function(A){let e=new URLSearchParams({projectName:A.projectName});return A.page&&e.set("page",String(A.page)),A.limit&&e.set("limit",String(A.limit)),A.type&&e.set("type",A.type),A.status&&e.set("status",A.status),A.statuses?.length&&e.set("statuses",A.statuses.join(",")),A.search&&e.set("search",A.search),A.url&&e.set("url",A.url),A.urlPattern&&e.set("urlPattern",A.urlPattern),e}({projectName:A,...e}),r=await this.headers(!1,t);return au(function(A,e){let t=e.toString();if(!t)return A;let s=A.includes("#")?A.indexOf("#"):A.length,r=A.slice(0,s),i=/[?&]$/.test(r)?"":r.includes("?")?"&":"?";return r+i+t+A.slice(s)}(this.endpoint,s),{method:"GET",cache:"no-store",...Object.keys(r).length>0?{headers:r}:{}},t,bu)}async addComment(A,e){let t="Failed to post comment";return au(this.endpoint,{method:"POST",headers:await this.headers(!0,t),body:JSON.stringify({...e,projectName:this.projectName,feedbackId:A})},t,bu,{boundBody:!0})}async resolveFeedback(A,e){let t="Failed to update feedback";return au(this.endpoint,{method:"PATCH",headers:await this.headers(!0,t),body:JSON.stringify({id:A,projectName:this.projectName,status:e?"resolved":"open"})},t,bu)}async deleteFeedback(A){let e="Failed to delete feedback";await au(this.endpoint,{method:"DELETE",headers:await this.headers(!0,e),body:JSON.stringify({id:A,projectName:this.projectName})},e,Cu)}async deleteAllFeedbacks(A){let e="Failed to delete all feedbacks";await au(this.endpoint,{method:"DELETE",headers:await this.headers(!0,e),body:JSON.stringify({projectName:A,deleteAll:!0})},e,Cu)}};function Qu(A,e){if(A.length<=e)return A;let t=e-1,s=A.charCodeAt(t-1);return s>=55296&&s<=56319&&(t-=1),`${A.slice(0,t)}\u2026`}var xu=["log","info","warn","error"];function Fu(A){if(null===A)return"null";if(void 0===A)return"undefined";if("string"==typeof A)return A;if("number"==typeof A||"boolean"==typeof A||"bigint"==typeof A)return String(A);if(A instanceof Error)return`${A.name}: ${A.message}${A.stack?`\n${A.stack}`:""}`;try{let e=[],t=500;return JSON.stringify(A,function(A,s){if(!(--t<0)){if("function"==typeof s)return"[Function]";if("symbol"==typeof s)return s.toString();if("object"!=typeof s||null===s)return s;for(;e.length>0&&e[e.length-1]!==this;)e.pop();return e.includes(s)?"[Circular]":(e.push(s),s)}})}catch{try{return String(A)}catch{return"[Unserializable]"}}}function Uu(A){let e="";for(let t=0;t<A.length&&(t>0&&(e+=" "),e+=Fu(A[t]),!(e.length>=500));t++);return Qu(e,500)}var vu=class{maxEntries;entries=[];originals=new Map;wrappers=new Map;disposed=!1;constructor(A=50){if(this.maxEntries=Number.isFinite(A)&&A>=0?Math.min(Math.floor(A),50):50,!(typeof console>"u"))for(let A of xu){let e=console[A];if("function"!=typeof e)continue;this.originals.set(A,e);let t=this,s=function(...s){try{t.push(A,s)}catch{}e.apply(this??console,s)};try{Object.defineProperty(s,"name",{value:A})}catch{}this.wrappers.set(A,s),console[A]=s}}push(A,e){0!==this.maxEntries&&(this.entries.length>=this.maxEntries&&this.entries.shift(),this.entries.push({level:A,timestamp:(new Date).toISOString(),message:Uu(e)}))}getEntries(){return this.entries.slice()}dispose(){if(this.disposed||(this.disposed=!0,typeof console>"u"))return;let A=console;for(let[e,t]of this.originals)if(A[e]===this.wrappers.get(e))try{A[e]=t}catch{}this.originals.clear(),this.wrappers.clear()}};function Eu(A){let e=function(A){try{let e=new URL(A,typeof location>"u"?void 0:location.href);return e.username||e.password?(e.username="",e.password="",e.href):A}catch{return A}}(function(A){if("string"==typeof A)return A;if(A instanceof URL)return A.href;if("object"==typeof A&&null!==A&&"url"in A){let e=A.url;if("string"==typeof e)return e}try{return String(A)}catch{return"(unknown)"}}(A)),t=e.search(/[?#]/);return Qu(-1===t?e:e.slice(0,t),2e3)}var ku=class{maxEntries;entries=[];originalFetch=null;originalXhrOpen=null;originalXhrSend=null;wrappedFetch=null;wrappedXhrOpen=null;wrappedXhrSend=null;disposed=!1;constructor(A=20){this.maxEntries=Number.isFinite(A)&&A>=0?Math.min(Math.floor(A),20):20,this.installFetch(),this.installXhr()}push(A){0!==this.maxEntries&&(this.entries.length>=this.maxEntries&&this.entries.shift(),this.entries.push({...A,method:A.method.slice(0,20),status:A.status<=599?A.status:0,durationMs:Math.min(Math.max(A.durationMs,0),6e5)}))}installFetch(){if("function"!=typeof globalThis.fetch)return;let A=globalThis.fetch;this.originalFetch=A;let e=async(e,t)=>{let s=new Date,r=typeof performance<"u"?performance.now():Date.now(),i=Eu(e),n=(t?.method??(e instanceof Request?e.method:"GET")).toUpperCase();try{let o=await A(e,t);if(!o.ok){let A=typeof performance<"u"?performance.now():Date.now();this.push({url:i,method:n,status:o.status,durationMs:Math.round(A-r),timestamp:s.toISOString()})}return o}catch(A){let e=typeof performance<"u"?performance.now():Date.now();throw this.push({url:i,method:n,status:0,durationMs:Math.round(e-r),timestamp:s.toISOString()}),A}};this.wrappedFetch=e,globalThis.fetch=e}installXhr(){if(typeof XMLHttpRequest>"u")return;let A=XMLHttpRequest.prototype,e=A.open,t=A.send;this.originalXhrOpen=e,this.originalXhrSend=t;let s=this,r=new WeakMap,i=function(A,t,...s){try{r.set(this,{method:A.toUpperCase(),url:Eu(t),startedAt:new Date,t0:typeof performance<"u"?performance.now():Date.now()})}catch{}return e.call(this,A,t,...s)},n=function(A){let e=r.get(this);if(e){let A=()=>{try{let A=typeof performance<"u"?performance.now():Date.now(),t=this.status;(0===t||t>=400)&&s.push({url:e.url,method:e.method,status:t,durationMs:Math.round(A-e.t0),timestamp:e.startedAt.toISOString()})}catch{}};try{this.addEventListener("loadend",A,{once:!0})}catch{try{this.addEventListener("loadend",A)}catch{}}}return t.call(this,A??null)};this.wrappedXhrOpen=i,this.wrappedXhrSend=n,A.open=i,A.send=n}getEntries(){return this.entries.slice()}dispose(){if(!this.disposed){if(this.disposed=!0,this.originalFetch&&globalThis.fetch===this.wrappedFetch)try{globalThis.fetch=this.originalFetch}catch{}if(typeof XMLHttpRequest<"u")try{let A=XMLHttpRequest.prototype;this.originalXhrOpen&&A.open===this.wrappedXhrOpen&&(A.open=this.originalXhrOpen),this.originalXhrSend&&A.send===this.wrappedXhrSend&&(A.send=this.originalXhrSend)}catch{}}}},Hu=class{listeners=new Map;on(A,e){let t=this.listeners.get(A);return t||(t=new Set,this.listeners.set(A,t)),t.add(e),()=>{t?.delete(e)}}off(A,e){this.listeners.get(A)?.delete(e)}emit(A,...e){let t=this.listeners.get(A);if(t)for(let s of t)try{s(...e)}catch(e){console.error(`[siteping] Error in event listener for "${String(A)}":`,e)}}removeAll(){this.listeners.clear()}};$(),UA(),ap(),vA(),PA();var Iu={chat:"fab.messages",annotate:"fab.annotate","toggle-annotations":"fab.annotations"},Su=class{constructor(A,e,t,s){this.bus=t,this.t=s;let r=e.position??"bottom-right";this.items=[{id:"chat",icon:xA},{id:"annotate",icon:FA}],!1!==e.showAnnotationsToggle&&this.items.push({id:"toggle-annotations",icon:lA,iconAlt:cA}),this.fab=document.createElement("button"),this.fab.className=`sp-fab sp-fab--${r} sp-anim-fab-in`,this.fab.style.position="fixed",this.fab.appendChild(T(aA)),this.fab.setAttribute("aria-expanded","false"),this.fab.addEventListener("click",()=>this.toggle()),this.radialContainer=document.createElement("div"),this.radialContainer.className=`sp-radial sp-radial--${r}`,this.radialContainer.setAttribute("role","menu");for(let A=0;A<this.items.length;A++){let e=this.items[A];if(!e)continue;let t=document.createElement("button");t.className="sp-radial-item",t.style.setProperty("--sp-i",String(A)),t.appendChild(T(e.icon)),t.setAttribute("role","menuitem"),t.dataset.itemId=e.id,t.addEventListener("click",A=>{A.stopPropagation(),this.handleItemClick(e.id)});let s=document.createElement("span");s.className="sp-radial-label",t.appendChild(s),this.radialContainer.appendChild(t)}this.scrim=document.createElement("div"),this.scrim.className="sp-scrim",this.scrim.addEventListener("click",()=>this.close()),this.root=document.createElement("div"),this.root.appendChild(this.scrim),this.root.appendChild(this.radialContainer),this.root.appendChild(this.fab),A.appendChild(this.root),this.applyLabels();let i=A.host;this.onDocumentClick=A=>{this.isOpen&&!A.composedPath().includes(i)&&this.close()},document.addEventListener("click",this.onDocumentClick,!0);let n=A=>{"Escape"===A.key&&this.isOpen&&(A.stopPropagation(),this.close())};this.fab.addEventListener("keydown",n),this.radialContainer.addEventListener("keydown",n),z(this.root,()=>this.isOpen),this.radialContainer.addEventListener("keydown",e=>{let t=Array.from(this.radialContainer.querySelectorAll(".sp-radial-item"));if(0===t.length||!this.isOpen)return;let s=A.activeElement??document.activeElement,r=t.indexOf(s);switch(e.key){case"ArrowUp":{e.preventDefault();let A=r<=0?t.length-1:r-1;t[A]?.focus();break}case"ArrowDown":{e.preventDefault();let A=r>=t.length-1?0:r+1;t[A]?.focus();break}case"Home":e.preventDefault(),t[0]?.focus();break;case"End":e.preventDefault(),t[t.length-1]?.focus()}})}bus;t;root;scrim;fab;radialContainer;badgeEl=null;isOpen=!1;annotationsVisible=!0;items;onDocumentClick;refreshLabels(){this.applyLabels()}applyLabels(){this.fab.setAttribute("aria-label",this.t("fab.aria"));let A=this.radialContainer.querySelectorAll(".sp-radial-item");for(let e of A){let A=e.dataset.itemId;if(!A)continue;let t=Iu[A];if(!t)continue;let s=this.t(t);e.setAttribute("aria-label",s);let r=e.querySelector(".sp-radial-label");r&&O(r,s)}}updateBadge(A){if(A<=0)return this.badgeEl?.remove(),void(this.badgeEl=null);this.badgeEl||(this.badgeEl=document.createElement("span"),this.badgeEl.className="sp-fab-badge",this.badgeEl.setAttribute("role","status"),this.badgeEl.setAttribute("aria-live","polite"),this.fab.appendChild(this.badgeEl));let e=A>99?"99+":String(A);O(this.badgeEl,e),this.badgeEl.setAttribute("aria-label",op(this.t,"fab.badge",{count:A}))}toggle(){this.isOpen?this.close():this.open()}open(){this.isOpen=!0,this.setFabIcon(dA),this.fab.setAttribute("aria-expanded","true"),this.scrim.classList.add("sp-scrim--open");let A=RA()?60:54;this.radialContainer.querySelectorAll(".sp-radial-item").forEach((e,t)=>{let s=-(16+A*(t+1));e.style.transform=`translate(0px, ${s}px) scale(1)`,e.classList.add("sp-radial-item--open")}),requestAnimationFrame(()=>{this.radialContainer.querySelector(".sp-radial-item")?.focus()})}close(){this.isOpen=!1,this.setFabIcon(aA),this.fab.setAttribute("aria-expanded","false"),this.scrim.classList.remove("sp-scrim--open"),this.radialContainer.querySelectorAll(".sp-radial-item").forEach(A=>{A.style.transform="translate(0, 0) scale(0.8)",A.classList.remove("sp-radial-item--open")}),this.fab.focus()}setFabIcon(A){let e=this.badgeEl;this.fab.replaceChildren(T(A)),e&&this.fab.appendChild(e)}handleItemClick(A){switch(this.close(),A){case"chat":this.bus.emit("panel:toggle",!0);break;case"annotate":{let A=this.bus.on("annotation:end",()=>{A(),this.fab.focus()});this.bus.emit("annotation:start");break}case"toggle-annotations":{this.annotationsVisible=!this.annotationsVisible,this.bus.emit("annotations:toggle",this.annotationsVisible);let A=this.radialContainer.querySelector('[data-item-id="toggle-annotations"]')?.querySelector("svg");if(A){let e=T(this.annotationsVisible?lA:cA);A.replaceWith(e)}break}}}destroy(){document.removeEventListener("click",this.onDocumentClick,!0),this.root.remove()}};UA(),ap(),D();var Lu="siteping_identity";function Mu(){try{let A=localStorage.getItem(Lu);if(!A)return null;let e=JSON.parse(A);return function(A){if(!p(A,"name")||!p(A,"email"))return!1;let{name:e,email:t}=A;return"string"==typeof e&&"string"==typeof t&&e.length>0&&e.length<=f&&t.length<=f&&r(t)}(e)?e:null}catch{return null}}function Du(A){return A.normalize("NFC").replace(/\s+/g," ").trim()}function Ku(A){return A.replace(/\s+/g," ").trim()}function Tu(A,e){if(A===e)return 1;let t=Math.max(A.length,e.length);return 0===t?1:1-function(A,e){if(A===e)return 0;if(0===A.length)return e.length;if(0===e.length)return A.length;if(A.length>e.length){let t=A;A=e,e=t}let t=A.length,s=e.length,r=new Array(t+1);for(let A=0;A<=t;A++)r[A]=A;let i=new Array(t+1);for(let n=1;n<=s;n++){i[0]=n;for(let s=1;s<=t;s++){let t=r[s-1];i[s]=A[s-1]===e[n-1]?t:1+Math.min(t,r[s],i[s-1])}let s=r;r=i,i=s}return r[t]}(A,e)/t}function Ru(A){let e=new Map;for(let t=0;t<A.length-1;t++){let s=A.charCodeAt(t)<<16|A.charCodeAt(t+1);e.set(s,(e.get(s)??0)+1)}return e}function Ou(A,e,t){let s=t.length-1;if(e<=0||s<=0)return 0;let r=0,i=new Map;for(let e=0;e<t.length-1;e++){let s=t.charCodeAt(e)<<16|t.charCodeAt(e+1),n=A.get(s);if(void 0===n)continue;let o=i.get(s)??0;o<n&&(i.set(s,o+1),r++)}return 2*r/(e+s)}function Pu(A,e,t){if(e<=0)return 0;let s=t.split(" "),r=s.length-1;if(r<=0)return 0;let i=0,n=new Map;for(let e=0;e<s.length-1;e++){let t=`${s[e]} ${s[e+1]}`,r=A.get(t);if(void 0===r)continue;let o=n.get(t)??0;o<r&&(n.set(t,o+1),i++)}return 2*i/(e+r)}D();var Nu={checkOpacity:!0,opacityProperty:!0,checkVisibilityCSS:!0,visibilityProperty:!0};function Vu(A){if(!A.isConnected)return"hidden";if("function"==typeof A.checkVisibility)return A.checkVisibility(Nu)?"visible":A.checkVisibility()?"soft-hidden":"hidden";if(A.getClientRects().length>0)try{return"visible"===getComputedStyle(A).visibility?"visible":"soft-hidden"}catch{return"visible"}let e=A.firstElementChild;return e&&e.getClientRects().length>0?"visible":0===A.ownerDocument.documentElement.getClientRects().length?"unknown":"hidden"}var Gu={anchorKey:1,id:1,css:.95,xpath:.9,scan:.85};function Xu(A,e){return Du((A??"").slice(0,2e3)).slice(0,e)}function $u(A,e){let t=function(A){let e=Xu(A.textSnippet,500),t=function(A){let e=new Map,t=A.split(" ");for(let A=0;A<t.length-1;A++){let s=`${t[A]} ${t[A+1]}`;e.set(s,(e.get(s)??0)+1)}return e}(e),s=0;for(let A of t.values())s+=A;return{snippet:e,snippetBigrams:Ru(e),snippetBigramTotal:Math.max(0,e.length-1),snippetWordPairs:t,snippetWordPairTotal:s,prefix:Xu(A.textPrefix,128),suffix:Xu(A.textSuffix,128),neighbor:Xu(A.neighborText,128),fingerprint:(A.fingerprint??"").slice(0,64),tag:"string"==typeof A.elementTag?A.elementTag:""}}(A),{pool:s,treeRoots:r}=function(A){let e=new Map,t=(t,s,r)=>{!t||e.has(t)||r&&t.tagName!==A.elementTag||e.set(t,s)},s="string"==typeof A.cssSelector?A.cssSelector.split(Oh):[],r=s[s.length-1]??A.cssSelector,i=s.length>1?function(A){let e=[],t=[document];for(let s of A){let A;try{A=Yu(t,s)}catch{return[]}let r=[];for(let e of A)e.shadowRoot&&r.push(e.shadowRoot);if(0===r.length)return[];e.push(r),t=r}return e}(s.slice(0,-1)):null,n=i?i[i.length-1]??[]:[document],o=i?[document,...i.flat()]:n;if(A.anchorKey){let e=A.anchorKey.replace(/\\/g,"\\\\").replace(/"/g,'\\"');try{for(let A of Yu(o,`[${Rh}="${e}"]`))t(A,"anchorKey",!1)}catch{}}if(A.elementId){let e=A.elementId.replace(/\\/g,"\\\\").replace(/"/g,'\\"');try{for(let A of Yu(n,`[id="${e}"]`))t(A,"id",!0)}catch{for(let e of n)t(e.getElementById(A.elementId),"id",!0)}}try{for(let A of Yu(n,r))t(A,"css",!0)}catch{}if(i)return{pool:e,treeRoots:n};try{let e=document.evaluate(A.xpath,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),s=Math.min(e.snapshotLength,16);for(let A=0;A<s;A++){let s=e.snapshotItem(A);s instanceof Element&&t(s,"xpath",!0)}}catch{}return{pool:e,treeRoots:n}}(A),i=[];for(let[A,e]of s){let s=Wu(A,e,t);s&&i.push(s)}let n=0,o=!1;for(let A of i)A.final>n&&(n=A.final),("id"===A.strategy||"anchorKey"===A.strategy)&&1===A.visibility&&(A.signals?.text??0)>=.8&&(void 0===A.signals?.fingerprint||A.signals.fingerprint>=.8)&&(o=!0);let a=!!(t.snippet||t.fingerprint||t.prefix||t.suffix||t.neighbor),l=e?.scanBudget;if(a&&r.length>0&&n<Gu.scan&&!o)if(l&&l.remaining<=0)l.starved=!0;else{l&&l.remaining--;for(let A of function(A,e,t){let s=A.tag.toLowerCase();if(!s)return[];let r=[];try{for(let A of t){let e=A.querySelectorAll(s);for(let A=0;A<e.length&&r.length<1e4;A++){let t=e[A];t&&r.push(t)}if(1e4===r.length)break}}catch{return[]}let i=A.fingerprint.split(":"),n=3===i.length?Number(i[0]):Number.NaN,o=3===i.length?i[2]??"":"",a=[];for(let t of r){if(e.has(t))continue;let s=0;if(A.snippetBigramTotal>0){let e=Ku(Dh(t,500)),r=Ou(A.snippetBigrams,A.snippetBigramTotal,e);A.snippetWordPairTotal>0?s+=.6*(.5*r+.5*(r>0?Pu(A.snippetWordPairs,A.snippetWordPairTotal,e):0)):s+=.6*r}if(o&&Uh(t)===o&&(s+=.25),!Number.isNaN(n)){let A=Math.abs(t.children.length-n);0===A?s+=.15:A<=2&&(s+=.07)}a.push({element:t,cheap:s})}return a.sort((A,e)=>e.cheap-A.cheap),a.slice(0,24).map(A=>A.element)}(t,s,r)){let e=Wu(A,"scan",t);e&&i.push(e)}}let c=i.filter(Ju);if(0===c.length)return null;c.sort((A,e)=>e.final-A.final);let d=function(A){let e=A[0],t=A.filter(A=>e.final-A.final<=.05&&(A===e||e.element.contains(A.element))),s=e;for(let A of t)A!==s&&s.element.contains(A.element)&&(s=A);return s}(c);return{element:d.element,confidence:zu(d),strategy:d.strategy}}function Yu(A,e){let t=[];for(let s of A){let A=s.querySelectorAll(e);for(let e=0;e<A.length&&t.length<16;e++){let s=A[e];s&&t.push(s)}if(16===t.length)break}return t}function Wu(A,e,t){let s=function(A,e){let t=0,s=0,r={blend:0,strongest:0};if(e.snippet){s+=40;let i=Du(Dh(A,500));r.text=function(A,e,t=.6){if(!e||!A)return 0;if(A.includes(e))return 1;let s=A.length>500?A.slice(0,500):A;if(e.length>s.length){let A=Tu(s,e);return A>=t?A:0}if(e.length<8&&s.length>64)return 0;let r=1-function(A,e){let t=e.length,s=new Int32Array(t+1),r=new Int32Array(t+1);for(let A=0;A<=t;A++)s[A]=A;let i=t;for(let n=1;n<=A.length;n++){r[0]=0;let o=A.charCodeAt(n-1);for(let A=1;A<=t;A++){let t=s[A-1]+(e.charCodeAt(A-1)===o?0:1),i=s[A]+1,n=r[A-1]+1;r[A]=Math.min(t,i,n)}let a=r[t];a<i&&(i=a);let l=s;s=r,r=l}return i}(s,e)/e.length;return r>=t?r:0}(i,e.snippet,.5),t+=40*r.text}if(e.fingerprint&&(s+=20,r.fingerprint=function(A,e){let t=e.split(":");if(3!==t.length)return 0;let[s,r,i]=t,n=Number(s),o=Number(r);if(Number.isNaN(n)||Number.isNaN(o))return 0;let a=Fh(A),[l,c,d]=a.split(":"),p=0,h=Math.abs(Number(l)-n);0===h?p+=.2:h<=2?p+=.1:h<=5&&(p+=.03);let u=Math.abs(Number(c)-o);return 0===u?p+=.4:1===u?p+=.2:u<=3&&(p+=.08),d===i&&(p+=.4),p}(A,e.fingerprint),t+=20*r.fingerprint),e.prefix||e.suffix){s+=20;let i=0,n=0;if(e.prefix){let t=Du(Lh(A,"before"));i+=t?Tu(t,e.prefix):0,n++}if(e.suffix){let t=Du(Lh(A,"after"));i+=t?Tu(t,e.suffix):0,n++}n>0&&(r.context=i/n,t+=20*r.context)}if(e.neighbor){s+=20;let i=Du(Mh(A));r.neighbor=i?Tu(i,e.neighbor):0,t+=20*r.neighbor}return 0===s?null:(r.blend=t/s,r.strongest=Math.max(r.text??0,r.fingerprint??0,r.context??0,r.neighbor??0),r)}(A,t),r=function(A){switch(A){case"hidden":return.3;case"soft-hidden":return.6;default:return 1}}(Vu(A));return null===s?"scan"===e?null:{element:A,strategy:e,verification:.6,strongest:.6,visibility:r,final:.6*Gu[e]*r,unverified:!0}:{element:A,strategy:e,verification:s.blend,strongest:s.strongest,signals:s,visibility:r,final:Gu[e]*s.blend*r}}function Ju(A){if("scan"===A.strategy)return A.verification>=.4;if(A.unverified||!A.signals)return!0;let e=A.signals;return void 0===e.text||e.text>=.5||(e.fingerprint??0)>=.6||(e.context??0)>=.6||(e.neighbor??0)>=.6}function zu(A){return"scan"===A.strategy?Math.min(A.verification,Gu.scan):A.unverified?Gu[A.strategy]:Gu[A.strategy]*Math.min(1,A.strongest/.8)}function _u(A,e,t){let s=$u(A,t);if(!s)return null;let r=s.element.getBoundingClientRect(),i=new DOMRect(r.x+e.xPct*r.width,r.y+e.yPct*r.height,e.wPct*r.width,e.hPct*r.height);return{element:s.element,rect:i,confidence:s.confidence,strategy:s.strategy}}function ju(A){return{cssSelector:A.cssSelector,xpath:A.xpath,textSnippet:A.textSnippet,elementTag:A.elementTag,elementId:A.elementId??void 0,textPrefix:A.textPrefix,textSuffix:A.textSuffix,fingerprint:A.fingerprint,neighborText:A.neighborText,anchorKey:A.anchorKey??null}}function Zu(A){return{xPct:A.xPct,yPct:A.yPct,wPct:A.wPct,hPct:A.hPct}}function qu(A){return{top:A.top+window.scrollY-13,left:A.right+window.scrollX-13}}function Ag(A,e){let t=A.entries[e],s=A.elementIndices[e];if(t&&void 0!==s)return t.elements[s]}function eg(A){let e=A.elementIndices[0];return void 0===e?void 0:A.entries[0]?.positions[e]}$(),UA(),ap(),DA(),PA();var tg=class{constructor(A,e,t,s,r=null){this.colors=A,this.tooltip=e,this.bus=t,this.t=s,this.liveRegion=r,this.container=R("div",{style:"position:absolute;top:0;left:0;pointer-events:none;z-index:2147483646;"}),this.container.id="siteping-markers",W(this.container),document.body.appendChild(this.container),this.bus.on("annotations:toggle",A=>{this.container.style.display=A?"block":"none"}),this.resizeHandler=()=>this.scheduleReposition("resize"),window.addEventListener("resize",this.resizeHandler,{passive:!0}),this.scrollHandler=()=>this.scheduleReposition("scroll"),window.addEventListener("scroll",this.scrollHandler,{passive:!0,capture:!0}),this.mutationObserver=new MutationObserver(A=>{let e=!1;for(let t of A)if(!this.container.contains(t.target)&&!this.tooltip.contains(t.target)){e=!0;break}e&&this.scheduleReposition("mutation")}),this.mutationObserver.observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),this.onDocumentClickForClusters=A=>{this.container.contains(A.target)||this.collapseAllClusters()},document.addEventListener("click",this.onDocumentClickForClusters,!0)}colors;tooltip;bus;t;liveRegion;container;entries=[];highlightElements=[];pinnedFeedback=null;onDocumentClick=null;repositionTimer=null;mutationObserver=null;scrollHandler=null;resizeHandler=null;anchorCache=new Map;pendingLayoutChange=!1;pendingResize=!1;hiddenRecheckAt=new Map;clusters=[];onDocumentClickForClusters=null;lastOpenCount=-1;get count(){return this.entries.length}get openCount(){let A=0;for(let e of this.entries)u(e.feedback.status)||A++;return A}scheduleReposition(A="mutation"){"scroll"!==A&&(this.pendingLayoutChange=!0),"resize"===A&&(this.pendingResize=!0),!this.repositionTimer&&("requestIdleCallback"in window?this.repositionTimer=window.requestIdleCallback(()=>{this.repositionTimer=null,this.repositionAll()},{timeout:300}):this.repositionTimer=+setTimeout(()=>{this.repositionTimer=null,this.repositionAll()},200))}repositionAll(){let A=this.pendingLayoutChange,e=this.pendingResize;this.pendingLayoutChange=!1,this.pendingResize=!1,e&&this.hiddenRecheckAt.clear();let t=Date.now(),s={remaining:2,starved:!1},r=new Set,i=!1;for(let e of this.entries)for(let n=0;n<e.feedback.annotations.length;n++){let o=e.elements[n];if(!o)continue;let a=e.feedback.annotations[n];if(!a)continue;let l=`${e.feedback.id}:${n}`;r.add(l);let c,d=this.anchorCache.get(l)?.deref(),p=(this.hiddenRecheckAt.get(l)??0)>t,h=d?.isConnected&&(p||!(A&&"hidden"===Vu(d)));if(d&&h){let A=d.getBoundingClientRect(),e=Zu(a);c={element:d,rect:new DOMRect(A.left+e.xPct*A.width,A.top+e.yPct*A.height,e.wPct*A.width,e.hPct*A.height),confidence:1,strategy:"css"}}else p?c=null:(s.starved=!1,c=_u(ju(a),Zu(a),{scanBudget:s}),s.starved||(c?.element&&this.anchorCache.set(l,new WeakRef(c.element)),c&&"hidden"!==Vu(c.element)?this.hiddenRecheckAt.delete(l):this.hiddenRecheckAt.set(l,t+3e3)));let u="none"!==o.style.display;c?(u||(i=!0),e.positions[n]=qu(c.rect),o.style.display="flex",this.applyConfidenceStyle(o,c.confidence,e.feedback)):(u&&(i=!0),o.style.display="none")}for(let A of this.anchorCache.keys())r.has(A)||this.anchorCache.delete(A);for(let A of this.hiddenRecheckAt.keys())r.has(A)||this.hiddenRecheckAt.delete(A);i&&this.buildClusters(),this.applyClusterPositions(),this.pinnedFeedback&&this.showHighlight(this.pinnedFeedback)}applyClusterPositions(){for(let A of this.clusters)A.expanded?this.applyFanPositions(A):this.applyStackPositions(A)}emitMarkersChanged(){let A=this.openCount;A!==this.lastOpenCount&&(this.lastOpenCount=A,this.bus.emit("markers:changed",A))}render(A){this.clear(),A.forEach((A,e)=>{let t=this.buildEntry(A,e+1);this.entries.push(t)}),this.buildClusters(),this.liveRegion&&this.entries.length>0&&(this.liveRegion.textContent=op(this.t,"marker.count",{count:this.entries.length})),this.emitMarkersChanged()}addFeedback(A,e){let t=this.buildEntry(A,e);for(let A of t.elements)A.style.animation="sp-marker-in 0.35s cubic-bezier(0.34,1.56,0.64,1) both";this.entries.push(t),this.buildClusters(),this.emitMarkersChanged()}buildEntry(A,e){let t={feedback:A,elements:[],positions:[]};for(let s of A.annotations){let r=_u(ju(s),Zu(s)),i=r?qu(r.rect):{top:0,left:0},n=this.createMarker(e,A,i);r?this.applyConfidenceStyle(n,r.confidence,A):n.style.display="none",this.container.appendChild(n),t.elements.push(n),t.positions.push(i)}return t}buildClusters(){for(let A of this.container.querySelectorAll(".sp-cluster-badge"))A.remove();let A=[];for(let e of this.entries)for(let t=0;t<e.elements.length;t++){let s=e.positions[t];!s||"none"===e.elements[t]?.style.display||A.push({entry:e,elIdx:t,pos:s})}let e=new Set;this.clusters=[];for(let t=0;t<A.length;t++){if(e.has(t))continue;let s=A[t];if(!s)continue;let r={entries:[s.entry],elementIndices:[s.elIdx],expanded:!1};e.add(t);for(let i=t+1;i<A.length;i++){if(e.has(i))continue;let t=s.pos,n=A[i];if(!n)continue;let o=n.pos;Math.sqrt((t.left-o.left)**2+(t.top-o.top)**2)<28&&(r.entries.push(n.entry),r.elementIndices.push(n.elIdx),e.add(i))}this.clusters.push(r)}for(let A of this.clusters)A.entries.length<=1||(this.applyStackPositions(A),this.addClusterBadge(A))}applyStackPositions(A){let e=eg(A);if(!e)return;let{top:t,left:s}=e,r=A.entries.length<=1;for(let e=0;e<A.entries.length;e++){let i=Ag(A,e);i&&(i.style.top=`${t+(r?0:3*e)}px`,i.style.left=`${s+(r?0:3*e)}px`,i.style.zIndex=String(e+1))}}applyFanPositions(A){let e=eg(A);if(!e)return;let{top:t,left:s}=e,r=A.entries.length,i=s-32*(r-1)/2;for(let e=0;e<r;e++){let s=Ag(A,e);s&&(s.style.top=`${t}px`,s.style.left=`${i+32*e}px`,s.style.zIndex=String(10+e))}}addClusterBadge(A){let e=Ag(A,A.entries.length-1);if(!e)return;let t=R("div",{class:"sp-cluster-badge",style:`position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:9999px;background:${this.colors.accent};color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;border:1.5px solid #fff;pointer-events:none;font-family:"Inter",system-ui,-apple-system,sans-serif;line-height:1;`});O(t,String(A.entries.length)),e.appendChild(t)}setBadgesVisible(A,e){for(let t=0;t<A.entries.length;t++){let s=Ag(A,t)?.querySelector(".sp-cluster-badge");s&&(s.style.display=e?"flex":"none")}}findCluster(A){for(let e of this.clusters)if(!(e.entries.length<=1))for(let t=0;t<e.entries.length;t++)if(Ag(e,t)===A)return e;return null}handleClusterClick(A,e){let t=this.findCluster(A);return!!t&&!t.expanded&&(e.stopPropagation(),this.collapseAllClusters(),t.expanded=!0,this.applyFanPositions(t),this.setBadgesVisible(t,!1),!0)}collapseCluster(A){A.expanded&&(A.expanded=!1,this.applyStackPositions(A),this.setBadgesVisible(A,!0))}collapseAllClusters(){for(let A of this.clusters)this.collapseCluster(A)}applyConfidenceStyle(A,e,t){let s=u(t.status);e<.7&&!s?(A.style.borderStyle="dashed",A.style.opacity="0.7",A.title=op(this.t,"marker.approximate",{confidence:Math.round(100*e)})):(A.style.borderStyle="solid",A.style.opacity="1",A.title="")}createMarker(A,e,t){let s=kA(e.type,this.colors),r=u(e.status),i=R("div",{style:`position:absolute;top:${t.top}px;left:${t.left}px;width:26px;height:26px;border-radius:50%;background:${r?"rgba(241,245,249,0.9)":"rgba(255,255,255,0.92)"};border:2px solid ${r?"#cbd5e1":s};display:flex;align-items:center;justify-content:center;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:11px;font-weight:700;color:${r?"#94a3b8":s};cursor:pointer;pointer-events:auto;box-shadow:${r?"0 2px 8px rgba(0,0,0,0.06)":`0 2px 12px ${s}25, 0 2px 6px rgba(0,0,0,0.06)`};transition:top 0.25s cubic-bezier(0.34,1.56,0.64,1),left 0.25s cubic-bezier(0.34,1.56,0.64,1),transform 0.15s ease,box-shadow 0.15s ease;user-select:none;-webkit-font-smoothing:antialiased;`});i.dataset.feedbackId=e.id,i.setAttribute("tabindex","0"),i.setAttribute("role","button");let n=e.message.length>60?`${e.message.slice(0,60)}...`:e.message,o=op(this.t,"marker.aria",{number:A,type:rp(e.type,this.t),message:n});i.setAttribute("aria-label",o),i.setAttribute("aria-describedby",this.tooltip.tooltipId),O(i,r?"\u2713":String(A)),RA()&&i.appendChild(R("span",{style:"position:absolute;inset:-9px;border-radius:50%;"})),i.addEventListener("mouseenter",()=>{i.style.transform="scale(1.2)",i.style.boxShadow=r?"0 4px 16px rgba(0,0,0,0.1)":`0 4px 20px ${s}35, 0 4px 12px rgba(0,0,0,0.08)`,this.tooltip.show(e,i.getBoundingClientRect()),this.pinnedFeedback||this.showHighlight(e)}),i.addEventListener("mouseleave",()=>{i.style.transform="scale(1)",i.style.boxShadow=r?"0 2px 8px rgba(0,0,0,0.06)":`0 2px 12px ${s}25, 0 2px 6px rgba(0,0,0,0.06)`,this.tooltip.scheduleHide(),this.pinnedFeedback||this.clearHighlight()}),i.addEventListener("focus",()=>{this.tooltip.show(e,i.getBoundingClientRect()),this.pinnedFeedback||this.showHighlight(e)}),i.addEventListener("blur",()=>{this.tooltip.scheduleHide(),this.pinnedFeedback||this.clearHighlight()});let a=A=>{A instanceof MouseEvent&&this.handleClusterClick(i,A)||(TA()&&this.tooltip.hide(),this.pinHighlight(e),this.bus.emit("panel:toggle",!0),i.dispatchEvent(new CustomEvent("sp-marker-click",{detail:{feedbackId:e.id},bubbles:!0})))};return i.addEventListener("click",A=>a(A)),i.addEventListener("keydown",A=>{("Enter"===A.key||" "===A.key)&&(A.preventDefault(),a(A))}),i}focusFeedback(A){let e=this.entries.find(e=>e.feedback.id===A);if(!e)return!1;let t=e.elements.find(A=>"none"!==A.style.display);return t&&t.scrollIntoView({behavior:"smooth",block:"center"}),this.pinHighlight(e.feedback),this.highlight(A),!0}revealPin(A){return"none"!==this.container.style.display&&this.entries.some(e=>e.feedback.id===A&&e.elements.some(A=>"none"!==A.style.display))&&this.focusFeedback(A)}highlight(A){for(let e of this.entries)if(e.feedback.id===A)for(let A of e.elements)A.style.animation="sp-pulse-ring 0.7s ease-out",A.addEventListener("animationend",()=>{A.style.animation=""},{once:!0})}showHighlight(A){this.removeHighlightElements();for(let e of A.annotations){let t=_u(ju(e),Zu(e));if(!t)continue;let s=kA(A.type,this.colors),r=t.rect,i=R("div",{style:`position:absolute;top:${r.top+window.scrollY}px;left:${r.left+window.scrollX}px;width:${r.width}px;height:${r.height}px;border:2px solid ${s};background:${s}0c;border-radius:8px;pointer-events:none;z-index:-1;opacity:0;box-shadow:0 0 16px ${s}20;transition:opacity 300ms ease;`});this.container.appendChild(i),this.highlightElements.push(i),i.offsetHeight,i.style.opacity="1"}}pinHighlight(A){this.unpinHighlight(),this.showHighlight(A),this.pinnedFeedback=A,this.onDocumentClick=A=>{this.container.contains(A.target)||this.unpinHighlight()},document.addEventListener("click",this.onDocumentClick,{capture:!0})}unpinHighlight(){this.onDocumentClick&&(document.removeEventListener("click",this.onDocumentClick,{capture:!0}),this.onDocumentClick=null),this.pinnedFeedback=null,this.clearHighlight()}clearHighlight(){for(let A of this.highlightElements)A.style.opacity="0",setTimeout(()=>A.remove(),300);this.highlightElements=[]}removeHighlightElements(){for(let A of this.highlightElements)A.remove();this.highlightElements=[]}clear(){this.unpinHighlight(),this.container.replaceChildren(),this.entries=[],this.clusters=[],this.anchorCache.clear()}destroy(){this.unpinHighlight(),this.repositionTimer&&("cancelIdleCallback"in window&&window.cancelIdleCallback(this.repositionTimer),clearTimeout(this.repositionTimer)),this.resizeHandler&&window.removeEventListener("resize",this.resizeHandler),this.scrollHandler&&window.removeEventListener("scroll",this.scrollHandler,{capture:!0}),this.onDocumentClickForClusters&&document.removeEventListener("click",this.onDocumentClickForClusters,!0),this.mutationObserver?.disconnect(),this.container.remove()}};D();var sg=class{constructor(A,e){this.store=A,this.projectName=e}store;projectName;async sendFeedback(A){return ig(await rg(this.write(A),"Failed to send feedback"))}async write(A){try{return await this.store.createFeedback({projectName:A.projectName,type:A.type,message:A.message,status:"open",url:A.url,urlPattern:A.urlPattern??null,viewport:A.viewport,userAgent:A.userAgent,authorName:A.authorName,authorEmail:A.authorEmail,clientId:A.clientId,annotations:A.annotations.map(B),screenshotDataUrl:A.screenshotDataUrl??null,screenshotRegion:A.screenshotRegion??null,diagnostics:A.diagnostics??null})}catch(t){if(!((e=t)instanceof y||g(e,"STORE_DUPLICATE")||g(e,"P2002")))throw t;let s=await this.store.findByClientId(A.clientId);if(!s||s.projectName!==A.projectName)throw t;return s}var e}async getFeedbacks(A,e){let{feedbacks:t,total:s}=await this.store.getFeedbacks({projectName:A,page:e?.page,limit:e?.limit,type:e?.type,status:e?.status,statuses:e?.statuses,search:e?.search,url:e?.url,urlPattern:e?.urlPattern});return{feedbacks:t.map(ig),total:s,capabilities:{comments:!!this.store.addComment}}}async resolveFeedback(A,e){let t=await this.store.updateFeedback(A,function(A,e=new Date){return u(A)?{status:A,resolvedAt:e}:{status:A,resolvedAt:null}}(e?"resolved":"open"));return ig(t)}async deleteFeedback(A){await this.store.deleteFeedback(A)}async deleteAllFeedbacks(A){await this.store.deleteAllFeedbacks(A)}async addComment(A,e){let t="Failed to post comment";if(!this.store.addComment)throw new n(`${t}: this store keeps no comments`,"SERVER",!1);return ng(await rg(this.store.addComment(A,e),t))}};function rg(A,e){return nu(A,3e4,()=>new n(`${e}: the store did not answer within 30 s`,"TIMEOUT",!0))}function ig(A){return{id:A.id,projectName:A.projectName,type:A.type,message:A.message,status:A.status,url:A.url,urlPattern:A.urlPattern??null,viewport:A.viewport,userAgent:A.userAgent,authorName:A.authorName,authorEmail:A.authorEmail,resolvedAt:A.resolvedAt?.toISOString()??null,createdAt:A.createdAt.toISOString(),updatedAt:A.updatedAt.toISOString(),annotations:A.annotations.map(og),comments:A.comments?.map(ng),screenshotUrl:A.screenshotUrl??null,screenshotRegion:A.screenshotRegion??null,diagnostics:A.diagnostics??null}}function ng({clientId:A,createdAt:e,...t}){return{...t,createdAt:e.toISOString()}}function og(A){return{id:A.id,feedbackId:A.feedbackId,cssSelector:A.cssSelector,xpath:A.xpath,textSnippet:A.textSnippet,elementTag:A.elementTag,elementId:A.elementId,textPrefix:A.textPrefix,textSuffix:A.textSuffix,fingerprint:A.fingerprint,neighborText:A.neighborText,anchorKey:A.anchorKey??null,xPct:A.xPct,yPct:A.yPct,wPct:A.wPct,hPct:A.hPct,scrollX:A.scrollX,scrollY:A.scrollY,viewportW:A.viewportW,viewportH:A.viewportH,devicePixelRatio:A.devicePixelRatio,createdAt:A.createdAt.toISOString()}}Bp(),wp(),Dp(),$p(),Yp(),jp();var ag="cubic-bezier(0.16, 1, 0.3, 1)",lg="cubic-bezier(0.34, 1.56, 0.64, 1)",cg=`@keyframes sp-fab-in{from{transform:scale(0) rotate(-180deg);opacity:0;}to{transform:scale(1) rotate(0deg);opacity:1;}}@keyframes sp-fab-glow{0%,100%{box-shadow:0 4px 20px var(--sp-accent-glow),0 2px 8px rgba(0,0,0,0.08);}50%{box-shadow:0 4px 28px var(--sp-accent-glow),0 2px 12px rgba(0,0,0,0.1);}}@keyframes sp-marker-in{0%{transform:scale(0);opacity:0;}60%{transform:scale(1.2);opacity:1;}100%{transform:scale(1);}}@keyframes sp-pulse-ring{0%{box-shadow:0 0 0 0 var(--sp-accent-glow);}70%{box-shadow:0 0 0 8px transparent;}100%{box-shadow:0 0 0 0 transparent;}}@keyframes sp-flash-bg{0%{background-color:var(--sp-accent-light);}100%{background-color:transparent;}}@keyframes sp-slide-up{from{transform:translateY(8px);opacity:0;}to{transform:translateY(0);opacity:1;}}@keyframes sp-fade-in{from{opacity:0;}to{opacity:1;}}@keyframes sp-shimmer{0%{background-position:-200% 0;}100%{background-position:200% 0;}}.sp-anim-fab-in{animation:sp-fab-in 0.5s linear(0, 0.006, 0.025, 0.06, 0.11, 0.17, 0.25, 0.34, 0.45, 0.56, 0.67, 0.78, 0.88, 0.95, 1.01, 1.04, 1.05, 1.04, 1.02, 1, 0.99, 1) both;}.sp-anim-marker-in{animation:sp-marker-in 0.35s ${lg} both;}.sp-anim-pulse{animation:sp-pulse-ring 0.7s ease-out;}.sp-anim-flash{animation:sp-flash-bg 0.5s cubic-bezier(0.25, 1, 0.5, 1);}.sp-anim-slide-up{animation:sp-slide-up 0.3s ${ag} both;}.sp-anim-fade-in{animation:sp-fade-in 0.2s ease-out both;}.sp-panel{transform:translateX(110%);transition:transform 0.4s ${ag};}.sp-panel.sp-panel--open{transform:translateX(0);}.sp-radial-item{opacity:0;pointer-events:none;transform:translate(0,0) scale(0.8);transition:transform 0.35s ${lg},opacity 0.2s ease,background 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease;}.sp-radial-item.sp-radial-item--open{opacity:1;pointer-events:auto;}.sp-radial-item{transition-delay:calc(var(--sp-i, 0) * 50ms);}@keyframes sp-card-in{from{transform:translateY(12px);opacity:0;}to{transform:translateY(0);opacity:1;}}.sp-card{animation:sp-card-in 0.35s ${ag} both;animation-delay:calc(var(--sp-card-i, 0) * 40ms);}@keyframes sp-spin{to{transform:rotate(360deg);}}.sp-spinner{width:20px;height:20px;border:2px solid var(--sp-border);border-top-color:var(--sp-accent);border-radius:50%;animation:sp-spin 0.6s linear infinite;}@keyframes sp-badge-in{0%{transform:scale(0);}60%{transform:scale(1.3);}100%{transform:scale(1);}}.sp-fab-badge{animation:sp-badge-in 0.4s ${lg} both;}@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;}}`;K();var dg=`:host{-webkit-tap-highlight-color:transparent;}.sp-list,.sp-detail-content{overscroll-behavior:contain;}.sp-scrim{display:none;}@media (hover: none){.sp-fab:hover:not(:active),.sp-card:hover:not(:active),.sp-btn-primary:hover:not(:active),.sp-btn-danger:hover:not(:active){transform:none;}.sp-card:hover:not(:active){box-shadow:var(--sp-shadow-xs);}.sp-radial-item--open .sp-radial-label{opacity:1;transform:translate(0,-50%);}.sp-bulk-checkbox{opacity:1;}.sp-bulk-checkbox::after{content:"";position:absolute;inset:-12px;}.sp-bulk-select-all{display:none;}.sp-list--has-selection .sp-bulk-select-all{display:flex;}.sp-shortcuts-hint{display:none;}}@media (pointer: coarse){.sp-radial-item{width:48px;height:48px;left:2px;bottom:2px;}.sp-radial-item svg{width:20px;height:20px;}.sp-radial-label{font-size:13px;font-weight:600;padding:8px 12px;}.sp-search,.sp-input{font-size:16px;}.sp-filter-dropdown-btn{height:36px;}.sp-segmented__btn{height:32px;}.sp-sort-btn,.sp-group-toggle,.sp-mine-toggle{min-height:36px;}.sp-btn-resolve,.sp-btn-delete{min-height:40px;}.sp-detail-back{width:44px;height:44px;}.sp-detail-actions button,.sp-detail-actions a{height:44px;}}@media ${L}{.sp-fab--bottom-right,.sp-radial--bottom-right{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-fab--bottom-left,.sp-radial--bottom-left{left:calc(16px + env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-scrim{display:block;position:fixed;inset:0;background:var(--sp-scrim);opacity:0;pointer-events:none;touch-action:none;transition:opacity 0.3s ease;}.sp-scrim--open{opacity:1;pointer-events:auto;}.sp-panel{top:auto;left:0;right:0;bottom:0;width:auto;max-width:none;height:calc(100vh - 48px);height:calc(100dvh - 40px - env(safe-area-inset-top,0px));border-left:none;border-top:1px solid var(--sp-glass-border);border-radius:var(--sp-radius-xl) var(--sp-radius-xl) 0 0;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;transform:translateY(105%);}.sp-panel.sp-panel--open{transform:translateY(0);}.sp-panel-header,.sp-detail-header{position:relative;padding-top:22px;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;touch-action:none;}.sp-panel-header{padding:22px 12px 12px 20px;}.sp-panel-header::before,.sp-detail-header::before{content:"";position:absolute;top:8px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--sp-border);}.sp-export-btn,.sp-btn-delete-all{width:40px;height:40px;padding:0;justify-content:center;border-radius:var(--sp-radius);}.sp-export-btn svg,.sp-btn-delete-all svg{width:17px;height:17px;}.sp-export-btn span,.sp-btn-delete-all span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}.sp-stats-bar{padding:10px 20px;}.sp-filters{padding:12px 16px 10px;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;}.sp-stats-bar,.sp-filters{touch-action:pan-x;}.sp-search{height:44px;}.sp-filter-bar{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px 8px;padding:0 16px 2px;scrollbar-width:none;}.sp-filter-bar::-webkit-scrollbar{display:none;}.sp-filter-dropdown{flex:0 0 auto;}.sp-filter-dropdown-btn{width:auto;}.sp-filter-dropdown-menu,.sp-sort-menu{position:fixed;top:auto;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-width:0;padding:6px;border-radius:var(--sp-radius-lg);background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:var(--sp-shadow-xl);z-index:30;}.sp-filter-dropdown-option,.sp-sort-option{min-height:44px;font-size:14px;}.sp-list{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));}.sp-bulk-bar{bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-detail{background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;}.sp-detail-section{padding:18px 20px;}.sp-detail-content{padding-bottom:env(safe-area-inset-bottom,0px);}.sp-identity-backdrop{align-items:flex-end;}.sp-identity-modal{width:100%;max-width:none;margin-bottom:var(--sp-kb, 0px);padding:24px 20px calc(20px + env(safe-area-inset-bottom,0px));border-radius:var(--sp-radius-xl) var(--sp-radius-xl) 0 0;background:var(--sp-bg);transform:translateY(100%);}.sp-identity-actions button{flex:1;height:48px;}.sp-identity-actions .sp-btn-primary{flex:2;}}`;function pg(A){return`:host{all:initial;position:fixed;z-index:2147483647;font-family:var(--sp-font);font-size:14px;line-height:1.5;color:var(--sp-text);color-scheme:${"#ffffff"===A.bg?"light":"dark"};-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;${function(A){return`--sp-accent: ${A.accent};--sp-accent-light: ${A.accentLight};--sp-accent-dark: ${A.accentDark};--sp-accent-glow: ${A.accentGlow};--sp-accent-gradient: ${A.accentGradient};--sp-bg: ${A.bg};--sp-bg-hover: ${A.bgHover};--sp-text: ${A.text};--sp-text-secondary: ${A.textSecondary};--sp-text-tertiary: ${A.textTertiary};--sp-border: ${A.border};--sp-shadow: ${A.shadow};--sp-glass-bg: ${A.glassBg};--sp-glass-bg-heavy: ${A.glassBgHeavy};--sp-glass-border: ${A.glassBorder};--sp-glass-border-subtle: ${A.glassBorderSubtle};--sp-type-question: ${A.typeQuestion};--sp-type-change: ${A.typeChange};--sp-type-bug: ${A.typeBug};--sp-type-other: ${A.typeOther};--sp-type-question-bg: ${A.typeQuestionBg};--sp-type-change-bg: ${A.typeChangeBg};--sp-type-bug-bg: ${A.typeBugBg};--sp-type-other-bg: ${A.typeOtherBg};--sp-radius: 12px;--sp-radius-lg: 16px;--sp-radius-xl: 20px;--sp-radius-full: 9999px;--sp-blur: 20px;--sp-blur-heavy: 32px;--sp-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);--sp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);--sp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);--sp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);--sp-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);--sp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;`}(A)} --sp-identity-bg: ${A.glassBgHeavy};--sp-identity-overlay: ${"#ffffff"===A.bg?"rgba(15, 23, 42, 0.2)":"rgba(0, 0, 0, 0.4)"};--sp-scrim: ${"#ffffff"===A.bg?"rgba(15, 23, 42, 0.32)":"rgba(0, 0, 0, 0.5)"};}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}:focus-visible{outline:2px solid var(--sp-accent);outline-offset:2px;box-shadow:0 0 0 4px var(--sp-bg);}.sp-fab{position:fixed;width:52px;height:52px;border-radius:var(--sp-radius-full);background:var(--sp-accent-gradient);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px var(--sp-accent-glow),0 2px 8px rgba(0,0,0,0.08);transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.3s ease;outline:none;}.sp-fab:focus-visible{outline:2px solid #fff;outline-offset:3px;}.sp-fab:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 8px 28px var(--sp-accent-glow),0 4px 12px rgba(0,0,0,0.1);}.sp-fab:active{transform:translateY(0) scale(0.95);transition-duration:0.1s;}.sp-fab--bottom-right{bottom:24px;right:24px;}.sp-fab--bottom-left{bottom:24px;left:24px;}.sp-fab svg{width:22px;height:22px;fill:currentColor;transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);}.sp-fab-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:var(--sp-radius-full);background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff;pointer-events:none;font-family:var(--sp-font);line-height:1;}.sp-radial{position:fixed;pointer-events:none;width:52px;height:52px;}.sp-radial--bottom-right{bottom:24px;right:24px;}.sp-radial--bottom-left{bottom:24px;left:24px;}.sp-radial-item{position:absolute;left:4px;bottom:4px;width:44px;height:44px;border-radius:var(--sp-radius-full);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));color:var(--sp-text);border:1px solid var(--sp-glass-border);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--sp-shadow-md);font-size:12px;font-weight:600;}.sp-radial-item:hover,.sp-radial-item:focus-visible{background:rgba(255,255,255,0.95);border-color:var(--sp-accent);color:var(--sp-accent);box-shadow:var(--sp-shadow-md),0 0 0 3px var(--sp-accent-light);outline:none;}.sp-radial-item svg{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;}.sp-radial-label{position:absolute;top:50%;white-space:nowrap;font-size:12px;font-weight:500;color:var(--sp-text);pointer-events:none;opacity:0;padding:4px 12px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-sm);transform:translate(4px,-50%);transition:opacity 0.2s ease,transform 0.2s ease;}.sp-radial--bottom-right .sp-radial-label{right:calc(100% + 12px);}.sp-radial--bottom-left .sp-radial-label{left:calc(100% + 12px);transform:translate(-4px,-50%);}.sp-radial-item:hover .sp-radial-label,.sp-radial-item:focus-visible .sp-radial-label{opacity:1;transform:translate(0,-50%);}.sp-panel{position:fixed;top:0;right:0;width:400px;max-width:100vw;height:100vh;height:100dvh;background:var(--sp-glass-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border-left:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);display:flex;flex-direction:column;overflow:hidden;}.sp-panel-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));position:relative;z-index:2;}.sp-panel-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;}.sp-panel-close{width:44px;height:44px;border-radius:var(--sp-radius);border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sp-text-tertiary);transition:all 0.2s ease;}.sp-panel-close:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-panel-close svg{width:16px;height:16px;}.sp-filters{padding:16px 24px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));position:sticky;top:0;z-index:1;}.sp-search-wrap{position:relative;margin-bottom:12px;}.sp-search{width:100%;height:40px;padding:0 12px 0 38px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:13px;outline:none;transition:all 0.2s ease;}.sp-search::placeholder{color:var(--sp-text-tertiary);}.sp-search:focus{border-color:var(--sp-accent);box-shadow:0 0 0 3px var(--sp-accent-light);background:var(--sp-bg);}.sp-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--sp-text-tertiary);width:16px;height:16px;transition:color 0.2s ease;}.sp-search:focus ~ .sp-search-icon,.sp-search-wrap:focus-within .sp-search-icon{color:var(--sp-accent);}.sp-filter-bar{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;}.sp-filter-dropdown{position:relative;flex:1 1 auto;min-width:0;}.sp-filter-dropdown-btn{--sp-chip-color: var(--sp-text-secondary);--sp-chip-bg: var(--sp-glass-bg-heavy);display:inline-flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px 0 10px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background 0.18s ease,border-color 0.18s ease,box-shadow 0.18s ease;}.sp-filter-dropdown-btn:hover{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);}.sp-filter-dropdown-btn[aria-expanded="true"]{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);box-shadow:0 0 0 3px color-mix(in srgb,var(--sp-chip-color) 14%,transparent);}.sp-filter-dropdown-btn--filtered{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);}.sp-filter-dropdown-btn__icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:var(--sp-chip-color);}.sp-filter-dropdown-btn__icon svg{width:14px;height:14px;}.sp-filter-dropdown-btn__label{display:inline-flex;align-items:baseline;gap:6px;flex:1;min-width:0;overflow:hidden;}.sp-filter-dropdown-btn__prefix{color:var(--sp-text-tertiary);font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:0.06em;}.sp-filter-dropdown-btn__value{color:var(--sp-chip-color);font-weight:600;overflow:hidden;text-overflow:ellipsis;}.sp-filter-dropdown-btn__chevron{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;color:var(--sp-text-tertiary);transition:transform 0.18s ease,color 0.18s ease;}.sp-filter-dropdown-btn__chevron svg{width:12px;height:12px;}.sp-filter-dropdown-btn[aria-expanded="true"] .sp-filter-dropdown-btn__chevron{transform:rotate(180deg);color:var(--sp-chip-color);}.sp-filter-dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;min-width:180px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-md);z-index:10;animation:sp-filter-menu-in 0.15s ease-out both;}@keyframes sp-filter-menu-in{from{opacity:0;transform:translateY(-4px) scale(0.98);}to{opacity:1;transform:translateY(0) scale(1);}}.sp-filter-dropdown-option{--sp-chip-color: var(--sp-text-secondary);--sp-chip-bg: transparent;display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:transparent;color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;text-align:left;transition:background 0.12s ease,color 0.12s ease;}.sp-filter-dropdown-option__icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;border-radius:6px;background:var(--sp-chip-bg);color:var(--sp-chip-color);}.sp-filter-dropdown-option__icon svg{width:13px;height:13px;}.sp-filter-dropdown-option__label{flex:1;min-width:0;}.sp-filter-dropdown-option__check{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;color:var(--sp-chip-color);}.sp-filter-dropdown-option__check svg{width:13px;height:13px;}.sp-filter-dropdown-option:hover{background:var(--sp-bg-hover);}.sp-filter-dropdown-option--active{color:var(--sp-chip-color);font-weight:600;}.sp-filter-dropdown-option--active:hover{background:var(--sp-chip-bg);}.sp-segmented{display:inline-flex;align-items:stretch;padding:2px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);flex-shrink:0;}.sp-segmented__btn{--sp-chip-color: var(--sp-text-tertiary);--sp-chip-bg: transparent;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border:none;border-radius:var(--sp-radius-full);background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background 0.18s ease,color 0.18s ease,box-shadow 0.18s ease;}.sp-segmented__icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;flex-shrink:0;color:var(--sp-chip-color);transition:color 0.18s ease,transform 0.18s ease;}.sp-segmented__icon svg{width:13px;height:13px;}.sp-segmented__btn:hover{color:var(--sp-chip-color);}.sp-segmented__btn:hover .sp-segmented__icon{color:var(--sp-chip-color);}.sp-segmented__btn--active{background:var(--sp-chip-bg);color:var(--sp-chip-color);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sp-chip-color) 35%,transparent),0 1px 2px rgba(0,0,0,0.04);}.sp-segmented__btn--active .sp-segmented__icon{color:var(--sp-chip-color);}.sp-segmented__btn--open.sp-segmented__btn--active .sp-segmented__icon{animation:sp-segmented-pulse 2.4s ease-in-out infinite;}@keyframes sp-segmented-pulse{0%,100%{transform:scale(1);}50%{transform:scale(0.85);}}@media (prefers-reduced-motion: reduce){.sp-filter-dropdown-btn,.sp-filter-dropdown-btn__chevron,.sp-filter-dropdown-option,.sp-segmented__btn,.sp-segmented__icon{transition:none;}.sp-filter-dropdown-menu{animation:none;}.sp-segmented__btn--open.sp-segmented__btn--active .sp-segmented__icon{animation:none;}}.sp-list{flex:1;overflow-y:auto;padding:8px 12px;}.sp-list::-webkit-scrollbar{width:6px;}.sp-list::-webkit-scrollbar-track{background:transparent;}.sp-list::-webkit-scrollbar-thumb{background:var(--sp-border);border-radius:var(--sp-radius-full);}.sp-list::-webkit-scrollbar-thumb:hover{background:var(--sp-text-tertiary);}.sp-card{display:flex;padding:14px 16px;margin-bottom:6px;cursor:pointer;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xs);transition:all 0.2s cubic-bezier(0.34,1.56,0.64,1);}.sp-card:hover{background:var(--sp-bg);border-color:var(--sp-border);box-shadow:var(--sp-shadow-md);transform:translateY(-2px);}.sp-card:active{transform:translateY(0) scale(0.99);transition-duration:0.1s;}.sp-card-bar{width:3px;border-radius:var(--sp-radius-full);margin-right:14px;flex-shrink:0;}.sp-card-body{flex:1;min-width:0;}.sp-card-header{display:flex;align-items:center;gap:8px;margin-bottom:6px;}.sp-card-number{font-size:12px;font-weight:700;color:var(--sp-text-tertiary);font-variant-numeric:tabular-nums;}.sp-badge{padding:2px 10px;border-radius:var(--sp-radius-full);font-size:11px;font-weight:600;letter-spacing:0.02em;}.sp-card-date{font-size:11px;color:var(--sp-text-tertiary);margin-left:auto;}.sp-card-message{font-size:13px;line-height:1.5;color:var(--sp-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}.sp-card-message--expanded{-webkit-line-clamp:unset;}.sp-card-expand{font-size:12px;font-weight:500;color:var(--sp-accent);cursor:pointer;background:none;border:none;padding:4px 0;font-family:var(--sp-font);transition:opacity 0.15s ease;}.sp-card-expand:hover{opacity:0.8;}.sp-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:10px;}.sp-btn-resolve,.sp-btn-delete{padding:8px 14px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;}.sp-btn-resolve svg,.sp-btn-delete svg{width:14px;height:14px;}.sp-btn-resolve:hover{border-color:#22c55e;color:#22c55e;background:rgba(34,197,94,0.06);}.sp-btn-delete:hover{border-color:#ef4444;color:#ef4444;background:rgba(239,68,68,0.06);}.sp-btn-resolve:disabled,.sp-btn-delete:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-spinner--sm{width:14px;height:14px;}.sp-panel-header-right{display:flex;align-items:center;gap:8px;}.sp-btn-delete-all{padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);font-family:var(--sp-font);font-size:11px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;}.sp-btn-delete-all svg{width:13px;height:13px;}.sp-btn-delete-all:hover{border-color:#ef4444;color:#ef4444;background:rgba(239,68,68,0.06);}.sp-btn-delete-all:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-confirm-backdrop{position:fixed;inset:0;background:var(--sp-backdrop, rgba(15, 23, 42, 0.2));backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));display:flex;align-items:center;justify-content:center;z-index:2147483647;opacity:0;transition:opacity 0.2s ease;}.sp-confirm-dialog{width:min(340px,calc(100vw - 32px));padding:28px;border-radius:20px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);font-family:var(--sp-font);transform:translateY(8px) scale(0.97);transition:transform 0.25s cubic-bezier(0.16,1,0.3,1);}.sp-confirm-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;margin-bottom:8px;}.sp-confirm-message{font-size:14px;color:var(--sp-text-secondary);line-height:1.5;margin-bottom:20px;}.sp-confirm-actions{display:flex;gap:8px;justify-content:flex-end;}.sp-btn-danger{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:none;background:#ef4444;color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 8px rgba(239,68,68,0.25);}.sp-btn-danger:hover{background:#dc2626;box-shadow:0 4px 16px rgba(239,68,68,0.3);transform:translateY(-1px);}.sp-btn-danger:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-card--resolved{opacity:0.5;}.sp-card--resolved .sp-card-message{text-decoration:line-through;text-decoration-color:var(--sp-text-tertiary);}.sp-loading{display:flex;align-items:center;justify-content:center;padding:48px 24px;}.sp-identity-backdrop{position:fixed;inset:0;background:var(--sp-identity-overlay);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2147483647;opacity:0;transition:opacity 0.25s ease;}.sp-identity-modal{width:340px;max-width:calc(100vw - 32px);padding:28px;border-radius:var(--sp-radius-xl);background:var(--sp-identity-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:0 16px 48px var(--sp-shadow),0 8px 16px var(--sp-shadow);font-family:var(--sp-font);color:var(--sp-text);transform:translateY(12px) scale(0.97);transition:transform 0.3s cubic-bezier(0.16,1,0.3,1);}.sp-identity--open{opacity:1;}.sp-identity--open .sp-identity-modal{transform:none;}.sp-identity-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px;}.sp-identity-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;}.sp-input{width:100%;height:42px;padding:0 14px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:14px;outline:none;transition:all 0.2s ease;}.sp-input::placeholder{color:var(--sp-text-tertiary);}.sp-input:focus{border-color:var(--sp-accent);box-shadow:0 0 0 3px var(--sp-accent-light);background:var(--sp-bg);}.sp-input-label{font-size:13px;font-weight:500;color:var(--sp-text-secondary);margin-bottom:6px;display:block;}.sp-btn-primary{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:none;background:var(--sp-accent-gradient);color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 8px var(--sp-accent-glow);}.sp-btn-primary:hover{box-shadow:0 4px 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-btn-primary:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-btn-primary:disabled{opacity:0.4;cursor:not-allowed;transform:none;box-shadow:none;}.sp-btn-ghost{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:14px;font-weight:500;cursor:pointer;transition:all 0.2s ease;}.sp-btn-ghost:hover{border-color:var(--sp-accent);color:var(--sp-accent);background:var(--sp-accent-light);}.sp-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 24px;color:var(--sp-text-tertiary);text-align:center;gap:8px;animation:sp-fade-in 0.3s ease-out both;}.sp-empty-text{font-size:14px;font-weight:500;}.sp-load-more-wrap{display:flex;justify-content:center;padding:12px 0 4px;}.sp-btn-load-more{width:100%;}@media (forced-colors: active){.sp-fab,.sp-radial-item,.sp-filter-dropdown-btn,.sp-segmented,.sp-segmented__btn,.sp-card,.sp-panel-close,.sp-search,.sp-btn-resolve,.sp-btn-delete,.sp-btn-delete-all,.sp-btn-primary,.sp-btn-ghost,.sp-btn-danger,.sp-card-expand,.sp-input,.sp-confirm-dialog{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-segmented__btn--active{background:Highlight !important;color:HighlightText !important;}.sp-filter-dropdown-menu{border:2px solid ButtonText !important;background:Canvas !important;}.sp-filter-dropdown-option--active{background:Highlight !important;color:HighlightText !important;}.sp-fab:focus-visible,.sp-radial-item:focus-visible,.sp-filter-dropdown-btn:focus-visible,.sp-segmented__btn:focus-visible,.sp-filter-dropdown-option:focus-visible,.sp-panel-close:focus-visible,.sp-btn-resolve:focus-visible,.sp-btn-delete:focus-visible,.sp-btn-delete-all:focus-visible,.sp-btn-primary:focus-visible,.sp-btn-ghost:focus-visible,.sp-btn-danger:focus-visible,.sp-card-expand:focus-visible,.sp-input:focus-visible,.sp-search:focus-visible{outline:3px solid Highlight !important;}.sp-panel{border:2px solid ButtonText !important;}.sp-fab-badge{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-card-bar{background:ButtonText !important;}}${cg} ${Gp} ${Vp} ${up} .sp-export-btn{padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);font-family:var(--sp-font);font-size:11px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;position:relative;}.sp-export-btn svg{width:13px;height:13px;}.sp-export-btn:hover{border-color:var(--sp-accent);color:var(--sp-accent);background:var(--sp-accent-light);}.sp-export-btn:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-export-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-lg);z-index:10;opacity:0;transform:translateY(-4px) scale(0.97);transition:opacity 0.15s ease,transform 0.15s ease;pointer-events:none;}.sp-export-menu--open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}.sp-export-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 16px;border:none;border-radius:8px;background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:13px;font-weight:500;cursor:pointer;transition:all 0.15s ease;text-align:left;}.sp-export-option:hover,.sp-export-option:focus-visible{background:var(--sp-accent-light);color:var(--sp-accent);}.sp-export-option-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;}.sp-export-option-icon svg{width:16px;height:16px;}.sp-export-option-label{flex:1;}@media (forced-colors: active){.sp-export-btn,.sp-export-option,.sp-export-menu{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-export-btn:focus-visible,.sp-export-option:focus-visible{outline:3px solid Highlight !important;}} .sp-shortcuts-overlay{position:fixed;inset:0;background:var(--sp-backdrop, rgba(15, 23, 42, 0.2));backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));display:flex;align-items:center;justify-content:center;z-index:10;opacity:0;pointer-events:none;transition:opacity 0.2s ease;}.sp-shortcuts-overlay--visible{opacity:1;pointer-events:auto;}.sp-shortcuts-card{width:380px;max-width:calc(100vw - 32px);padding:24px 28px 20px;border-radius:20px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);font-family:var(--sp-font);position:relative;transform:scale(0.92) translateY(8px);transition:transform 0.25s cubic-bezier(0.16,1,0.3,1);}.sp-shortcuts-overlay--visible .sp-shortcuts-card{transform:scale(1) translateY(0);}.sp-shortcuts-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:var(--sp-text);margin-bottom:18px;}.sp-shortcuts-title svg{width:18px;height:18px;color:var(--sp-text-secondary);flex-shrink:0;}.sp-shortcuts-close{position:absolute;top:16px;right:16px;width:28px;height:28px;border-radius:8px;border:none;background:transparent;color:var(--sp-text-tertiary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease;}.sp-shortcuts-close:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-shortcuts-close svg{width:14px;height:14px;}.sp-shortcuts-grid{display:flex;flex-direction:column;gap:10px;}.sp-shortcuts-row{display:flex;align-items:center;gap:12px;}.sp-shortcuts-keys{display:flex;align-items:center;gap:4px;min-width:80px;justify-content:flex-end;}.sp-shortcuts-separator{font-size:11px;color:var(--sp-text-tertiary);user-select:none;}.sp-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:26px;padding:0 7px;border-radius:6px;background:var(--sp-bg-hover);border:1px solid var(--sp-border);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.08),0 1px 2px rgba(0,0,0,0.04);font-family:ui-monospace,"SF Mono","Cascadia Code","Segoe UI Mono",Menlo,monospace;font-size:12px;font-weight:600;color:var(--sp-text);text-align:center;line-height:1;user-select:none;}.sp-shortcuts-desc{font-size:13px;color:var(--sp-text-secondary);line-height:1.3;}.sp-shortcuts-hint{width:24px;height:24px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-bg-hover);color:var(--sp-text-tertiary);font-family:ui-monospace,"SF Mono","Cascadia Code","Segoe UI Mono",Menlo,monospace;font-size:12px;font-weight:700;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease,border-color 0.15s ease;position:absolute;bottom:12px;right:12px;}.sp-shortcuts-hint:hover{background:var(--sp-accent-light);color:var(--sp-accent);border-color:var(--sp-accent);}.sp-shortcuts-hint::after{content:attr(aria-label);position:absolute;bottom:calc(100% + 6px);right:0;padding:4px 8px;border-radius:6px;background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-sm);font-family:var(--sp-font);font-size:11px;font-weight:500;color:var(--sp-text-secondary);white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity 0.15s ease,transform 0.15s ease;}.sp-shortcuts-hint:hover::after{opacity:1;transform:translateY(0);}.sp-card--focused{outline:2px solid var(--sp-accent);outline-offset:-2px;border-radius:inherit;}@media (prefers-reduced-motion: reduce){.sp-shortcuts-overlay,.sp-shortcuts-card,.sp-shortcuts-close,.sp-shortcuts-hint,.sp-shortcuts-hint::after{transition-duration:0.01ms !important;}} .sp-detail{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--sp-glass-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));z-index:20;transform:translateX(100%);transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);will-change:transform;overflow:hidden;}.sp-detail--visible{transform:translateX(0);}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.sp-detail{background:var(--sp-bg);}}@supports (-webkit-backdrop-filter: blur(1px)) and (not (backdrop-filter: blur(1px))){.sp-detail{background:var(--sp-bg);}}.sp-detail-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));flex-shrink:0;min-height:64px;}.sp-detail-back{width:40px;height:40px;border-radius:var(--sp-radius);border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sp-text-tertiary);transition:all 0.2s ease;flex-shrink:0;padding:0;}.sp-detail-back:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-detail-back:active{transform:scale(0.92);transition-duration:0.1s;}.sp-detail-back svg{width:18px;height:18px;}.sp-detail-title{font-size:16px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-header .sp-badge{flex-shrink:0;}.sp-detail-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:0;}.sp-detail-content::-webkit-scrollbar{width:6px;}.sp-detail-content::-webkit-scrollbar-track{background:transparent;}.sp-detail-content::-webkit-scrollbar-thumb{background:var(--sp-border);border-radius:var(--sp-radius-full);}.sp-detail-content::-webkit-scrollbar-thumb:hover{background:var(--sp-text-tertiary);}.sp-detail-section{padding:20px 24px;border-bottom:1px solid var(--sp-border);opacity:0;transform:translateY(8px);animation:sp-detail-section-in 0.35s cubic-bezier(0.16,1,0.3,1) forwards;}@keyframes sp-detail-section-in{to{opacity:1;transform:translateY(0);}}.sp-detail-section:last-child{border-bottom:none;}.sp-detail-section-title{font-size:11px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:14px;display:flex;align-items:center;gap:6px;}.sp-detail-section-title svg{width:14px;height:14px;opacity:0.6;}.sp-detail-status{display:flex;align-items:center;gap:10px;margin-bottom:16px;}.sp-detail-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:var(--sp-radius-full);font-size:12px;font-weight:600;letter-spacing:0.02em;}.sp-detail-status-pill--open{background:rgba(34,197,94,0.1);color:#22c55e;border:1px solid rgba(34,197,94,0.2);}.sp-detail-status-pill--resolved{background:rgba(156,163,175,0.1);color:#9ca3af;border:1px solid rgba(156,163,175,0.2);}.sp-detail-status-pill--in-progress{background:rgba(245,158,11,0.1);color:#f59e0b;border:1px solid rgba(245,158,11,0.2);}.sp-detail-status-pill--wont-fix{background:rgba(148,163,184,0.1);color:#94a3b8;border:1px solid rgba(148,163,184,0.2);}.sp-detail-status-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}.sp-detail-actions{display:flex;gap:8px;}.sp-detail-actions button,.sp-detail-actions a{flex:1;height:40px;padding:0 16px;border-radius:var(--sp-radius);font-family:var(--sp-font);font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all 0.2s ease;}.sp-detail-actions button svg,.sp-detail-actions a svg{width:15px;height:15px;}.sp-detail-btn-resolve{border:1.5px solid #22c55e;background:rgba(34,197,94,0.06);color:#22c55e;}.sp-detail-btn-resolve:hover{background:rgba(34,197,94,0.14);box-shadow:0 0 16px rgba(34,197,94,0.12);transform:translateY(-1px);}.sp-detail-btn-resolve:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-reopen{border:1.5px solid var(--sp-accent);background:var(--sp-accent-light);color:var(--sp-accent);}.sp-detail-btn-reopen:hover{background:rgba(var(--sp-accent),0.14);box-shadow:0 0 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-detail-btn-reopen:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-delete{border:1.5px solid #ef4444;background:rgba(239,68,68,0.06);color:#ef4444;}.sp-detail-btn-delete:hover{background:rgba(239,68,68,0.14);box-shadow:0 0 16px rgba(239,68,68,0.12);transform:translateY(-1px);}.sp-detail-btn-delete:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-custom{border:1.5px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);text-decoration:none;}.sp-detail-btn-custom:hover{background:var(--sp-bg-hover);border-color:var(--sp-accent);color:var(--sp-accent);box-shadow:0 0 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-detail-btn-custom:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-actions--custom{flex-wrap:wrap;margin-top:8px;}.sp-detail-actions--custom > .sp-detail-btn-custom{flex:1 1 auto;min-width:0;}.sp-detail-btn-custom svg{flex-shrink:0;}.sp-detail-btn-custom span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-actions button:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;transform:none;box-shadow:none;}.sp-detail-message{font-size:14px;line-height:1.65;color:var(--sp-text);padding:14px 16px;border-left:3px solid var(--sp-accent);border-radius:0 var(--sp-radius) var(--sp-radius) 0;background:var(--sp-glass-bg-heavy);white-space:pre-wrap;word-break:break-word;}.sp-thread-list{list-style:none;}.sp-comment{margin-top:8px;border-left-color:var(--sp-border);}.sp-comment[data-role="team"]{border-left-color:var(--sp-accent);}.sp-comment-head,.sp-thread-foot{display:flex;align-items:center;gap:6px;font-size:12px;}.sp-comment-head{margin-bottom:4px;font-weight:600;}.sp-comment-head .sp-badge{background:var(--sp-accent-light);}.sp-comment-head time,.sp-thread-foot,.sp-thread-input::placeholder{font-weight:400;color:var(--sp-text-secondary);}.sp-comment-head time{margin-left:auto;}.sp-thread-input{height:auto;margin-top:10px;padding:10px 14px;}.sp-thread-foot{justify-content:space-between;margin-top:8px;}.sp-thread-foot [aria-busy="true"]::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border:2px solid;border-top-color:transparent;border-radius:50%;animation:sp-spin 0.6s linear infinite;}.sp-thread-error{margin-top:8px;padding:8px 12px;border-radius:var(--sp-radius);background:var(--sp-type-bug-bg);font-size:12px;}.sp-thread-error:empty{display:none;}.sp-detail-screenshot{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border);background:var(--sp-glass-bg-heavy);}.sp-detail-meta{display:flex;flex-direction:column;gap:14px;}.sp-detail-meta-row{display:flex;align-items:flex-start;gap:12px;}.sp-detail-meta-row svg{width:14px;height:14px;color:var(--sp-text-tertiary);flex-shrink:0;margin-top:1px;}.sp-detail-meta-content{flex:1;min-width:0;}.sp-detail-meta-label{font-size:10px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;line-height:1;margin-bottom:4px;}.sp-detail-meta-value{font-size:13px;line-height:1.4;color:var(--sp-text);word-break:break-all;}.sp-detail-meta-value--mono{font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:12px;background:var(--sp-glass-bg-heavy);padding:2px 6px;border-radius:4px;border:1px solid var(--sp-glass-border-subtle);}.sp-detail-meta-value--secondary{color:var(--sp-text-secondary);font-size:12px;}.sp-detail-annotation{display:flex;flex-direction:column;gap:12px;}.sp-detail-annotation-info{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border-subtle);}.sp-detail-annotation-row{display:flex;align-items:flex-start;gap:10px;}.sp-detail-annotation-row svg{width:13px;height:13px;color:var(--sp-text-tertiary);flex-shrink:0;margin-top:2px;}.sp-detail-annotation-label{font-size:10px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;line-height:1;margin-bottom:3px;}.sp-detail-annotation-value{font-size:12px;line-height:1.4;color:var(--sp-text);word-break:break-all;}.sp-detail-annotation-value--mono{font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:11px;background:var(--sp-bg-hover);padding:2px 6px;border-radius:4px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-btn-goto{width:100%;height:44px;padding:0 20px;border-radius:var(--sp-radius);border:none;background:var(--sp-accent-gradient);color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all 0.25s ease;box-shadow:0 2px 12px var(--sp-accent-glow);}.sp-detail-btn-goto svg{width:16px;height:16px;}.sp-detail-btn-goto:hover{box-shadow:0 4px 20px var(--sp-accent-glow);transform:translateY(-2px);}.sp-detail-btn-goto:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}@media (forced-colors: active){.sp-detail{border:2px solid ButtonText !important;background:Canvas !important;}.sp-detail-back,.sp-detail-btn-goto,.sp-detail-btn-resolve,.sp-detail-btn-reopen,.sp-detail-btn-delete,.sp-detail-btn-custom{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-detail-back:focus-visible,.sp-detail-btn-goto:focus-visible,.sp-detail-btn-resolve:focus-visible,.sp-detail-btn-reopen:focus-visible,.sp-detail-btn-delete:focus-visible,.sp-detail-btn-custom:focus-visible{outline:3px solid Highlight !important;}.sp-detail-status-pill{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-detail-message{border-left:3px solid ButtonText !important;}}.sp-detail-diag{display:flex;flex-direction:column;gap:12px;}.sp-detail-diag-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border-subtle);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:600;cursor:pointer;transition:background 0.15s ease;}.sp-detail-diag-toggle:hover{background:var(--sp-bg-hover);}.sp-detail-diag-toggle svg{width:12px;height:12px;transition:transform 0.2s ease;}.sp-detail-diag-toggle[aria-expanded="true"] svg{transform:rotate(90deg);}.sp-detail-diag-counts{display:inline-flex;gap:6px;font-weight:500;color:var(--sp-text-tertiary);}.sp-detail-diag-count{padding:1px 7px;border-radius:var(--sp-radius-full);background:var(--sp-bg-hover);font-variant-numeric:tabular-nums;}.sp-detail-diag-count--errors{background:rgba(239,68,68,0.14);color:#ef4444;}.sp-detail-diag-body{display:none;flex-direction:column;gap:14px;}.sp-detail-diag-body--open{display:flex;}.sp-detail-diag-group-title{font-size:10px;font-weight:700;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:6px;}.sp-detail-diag-list{list-style:none;padding:0;margin:0;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border-subtle);background:var(--sp-glass-bg-heavy);max-height:240px;overflow-y:auto;}.sp-detail-diag-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-bottom:1px solid var(--sp-glass-border-subtle);font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:11px;line-height:1.45;color:var(--sp-text);}.sp-detail-diag-list li:last-child{border-bottom:none;}.sp-detail-diag-level{flex-shrink:0;font-weight:700;width:44px;text-transform:uppercase;letter-spacing:0.04em;font-size:10px;}.sp-detail-diag-level--log{color:var(--sp-text-tertiary);}.sp-detail-diag-level--info{color:#3b82f6;}.sp-detail-diag-level--warn{color:#f59e0b;}.sp-detail-diag-level--error{color:#ef4444;}.sp-detail-diag-message{flex:1;min-width:0;word-break:break-word;white-space:pre-wrap;}.sp-detail-diag-net{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;}.sp-detail-diag-net-status{flex-shrink:0;font-weight:700;color:#ef4444;min-width:32px;text-align:right;font-variant-numeric:tabular-nums;}.sp-detail-diag-net-method{flex-shrink:0;font-weight:600;color:var(--sp-text-tertiary);min-width:44px;}.sp-detail-diag-net-url{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sp-text);}.sp-detail-diag-empty{padding:12px;font-style:italic;font-size:11px;color:var(--sp-text-tertiary);text-align:center;}@media (prefers-reduced-motion: reduce){.sp-detail{transition-duration:0.01ms !important;}.sp-detail-section{animation-duration:0.01ms !important;}} ${dg}`}DA(),DA(),$(),UA(),ap(),DA();var hg="opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1)",ug=class{constructor(A,e="en"){this.colors=A,this.locale=e,this.root=R("div",{style:`position:fixed;z-index:2147483647;max-width:280px;padding:12px 14px;border-radius:14px;background:${this.colors.glassBgHeavy};backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid ${this.colors.glassBorder};box-shadow:0 8px 32px ${this.colors.shadow},0 2px 8px ${this.colors.shadow};font-family:"Inter",system-ui,-apple-system,sans-serif;pointer-events:auto;opacity:0;transform:translateY(6px) scale(0.97);transition:${hg};visibility:hidden;-webkit-font-smoothing:antialiased;`}),this.root.setAttribute("role","tooltip"),this.root.id=this.tooltipId,this.arrow=R("div",{style:`position:absolute;width:12px;height:12px;background:${this.colors.glassBgHeavy};border:1px solid ${this.colors.glassBorder};transform:rotate(45deg);pointer-events:none;`}),this.root.appendChild(this.arrow),this.root.addEventListener("mouseenter",()=>this.cancelHide()),this.root.addEventListener("mouseleave",()=>this.scheduleHide()),W(this.root),document.body.appendChild(this.root)}colors;locale;root;arrow;showTimer=null;hideTimer=null;currentFeedbackId=null;tooltipId="sp-tooltip";show(A,e){this.cancelHide(),this.currentFeedbackId!==A.id&&(this.cancelShow(),this.showTimer=setTimeout(()=>{this.currentFeedbackId=A.id,this.render(A),this.position(e);let t=typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;this.root.style.transition=t?"none":hg,this.root.style.visibility="visible",this.root.style.opacity="1",this.root.style.transform="translateY(0) scale(1)"},120))}scheduleHide(){this.cancelHide(),this.hideTimer=setTimeout(()=>this.hide(),80)}hide(){this.cancelShow(),this.currentFeedbackId=null,this.root.style.opacity="0",this.root.style.transform="translateY(6px) scale(0.97)",setTimeout(()=>{this.currentFeedbackId||(this.root.style.visibility="hidden")},200)}cancelShow(){this.showTimer&&(clearTimeout(this.showTimer),this.showTimer=null)}cancelHide(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)}render(A){let e=Array.from(this.root.children);for(let A of e)A!==this.arrow&&A.remove();let t=kA(A.type,this.colors),s=HA(A.type,this.colors),r=np(this.locale),i=rp(A.type,r),n=R("div",{style:"display:flex;align-items:center;gap:8px;margin-bottom:8px;"}),o=R("span",{style:`padding:3px 10px;border-radius:9999px;font-size:11px;font-weight:600;color:${t};background:${s};letter-spacing:0.02em;`});O(o,i);let a=R("span",{style:`font-size:11px;color:${this.colors.textSecondary};margin-left:auto;`});O(a,X(A.createdAt,this.locale)),n.appendChild(o),n.appendChild(a);let l=R("div",{style:`font-size:13px;line-height:1.55;color:${this.colors.text};display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;`});O(l,A.message),this.root.insertBefore(n,this.arrow),this.root.insertBefore(l,this.arrow)}position(A){let e=this.root.getBoundingClientRect(),t=A.top-e.height-10,s=A.left+A.width/2-e.width/2,r=!0;t<8&&(t=A.bottom+10,r=!1),s=Math.max(8,Math.min(s,window.innerWidth-e.width-8)),this.root.style.top=`${t}px`,this.root.style.left=`${s}px`;let i=Math.max(16,Math.min(A.left+A.width/2-s-6,e.width-22));this.arrow.style.cssText=r?`position:absolute;width:12px;height:12px;background:${this.colors.glassBgHeavy};border-right:1px solid ${this.colors.glassBorder};border-bottom:1px solid ${this.colors.glassBorder};transform:rotate(45deg);pointer-events:none;bottom:-6px;left:${i}px;`:`position:absolute;width:12px;height:12px;background:${this.colors.glassBgHeavy};border-left:1px solid ${this.colors.glassBorder};border-top:1px solid ${this.colors.glassBorder};transform:rotate(45deg);pointer-events:none;top:-6px;left:${i}px;`}contains(A){return this.root.contains(A)}destroy(){this.cancelShow(),this.cancelHide(),this.root.remove()}};PA();var gg=null;function Bg(){let A=()=>{};return{destroy:A,open:A,close:A,refresh:A,focusFeedback:()=>!1,on:()=>A,off:A}}function wg(){try{return process.env.NODE_ENV}catch{return}}function fg(e){if(typeof window>"u"||typeof document>"u")return e.onSkip?.("ssr"),Bg();let t=e.debug?(...A)=>console.debug("[siteping]",...A):()=>{};if(gg)return t("initSiteping() called more than once \u2014 returning existing instance"),gg;if(!e.forceShow&&"production"===wg())return e.onSkip?.("production"),Bg();let s="number"==typeof e.minViewportWidth&&Number.isFinite(e.minViewportWidth)?e.minViewportWidth:0;if(!e.forceShow&&window.innerWidth<s){let A="mobile";return e.onSkip?.(A),Bg()}if(!(e.store||e.endpoint&&"string"==typeof e.endpoint))return console.error("[siteping] Missing 'endpoint' or 'store' in config. Provide an endpoint like '/api/siteping' or a SitepingStore instance."),Bg();if(!e.projectName||"string"!=typeof e.projectName)return console.error("[siteping] Missing or invalid 'projectName' in config. Expected a non-empty string."),Bg();let i=function(A){let e=function(A){try{return Intl.getCanonicalLocales(A.replace(/_/g,"-"))[0]}catch{return}}(A);return e||(console.warn(`[siteping] Invalid locale "${A}", falling back to "en"`),"en")}(e.locale??"en"),n="en"===i?Promise.resolve():A.loadLocale(i).catch(()=>{}),o=np(i),a=e.scopeAnnotationsByUrl??!0,l=()=>{try{let A=e.getPageScope?.();if(A)return A}catch(A){t("getPageScope() threw, falling back to pathname:",A)}return{url:window.location.pathname,urlPattern:null}};t("Initializing widget",{projectName:e.projectName,theme:e.theme??"light",locale:i,scopeAnnotationsByUrl:a});let c=function(A){return void 0===A||!1===A?{console:!1,network:!1,maxConsoleEntries:50,maxNetworkEntries:20}:!0===A?{console:!0,network:!0,maxConsoleEntries:50,maxNetworkEntries:20}:{console:!1!==A.console,network:!1!==A.network,maxConsoleEntries:"number"==typeof A.maxConsoleEntries?A.maxConsoleEntries:50,maxNetworkEntries:"number"==typeof A.maxNetworkEntries?A.maxNetworkEntries:20}}(e.captureDiagnostics),d=c.console?new vu(c.maxConsoleEntries):null,h=c.network?new ku(c.maxNetworkEntries):null,u=EA(e.accentColor,e.theme),g=new Hu,B=new Hu,w=(()=>{if(e.store)return new sg(e.store,e.projectName);let A=e.endpoint;if("string"!=typeof A||0===A.length)throw new Error("[siteping] internal invariant: endpoint must be a non-empty string in HTTP mode");return new yu(A,e.projectName,{apiKey:e.apiKey,headers:e.headers})})();e.onOpen&&g.on("open",e.onOpen),e.onClose&&g.on("close",e.onClose),e.onFeedbackSent&&g.on("feedback:sent",e.onFeedbackSent),e.onCommentAdded&&g.on("comment:added",e.onCommentAdded),e.onError&&g.on("feedback:error",e.onError),e.onError&&g.on("panel:action-error",e.onError),g.on("panel:action-error",A=>console.error("[siteping] Panel action failed:",A)),e.onAnnotationStart&&g.on("annotation:start",e.onAnnotationStart),e.onAnnotationEnd&&g.on("annotation:end",e.onAnnotationEnd);let m=su(e.projectName,e.endpoint);g.on("feedback:sent",A=>m.add(A.id)),g.on("feedback:deleted",A=>m.remove(A)),g.on("feedback:all-deleted",()=>m.clear());let b={"feedback:sent":()=>g.on("feedback:sent",A=>B.emit("feedback:sent",A)),"feedback:deleted":()=>g.on("feedback:deleted",A=>B.emit("feedback:deleted",A)),"comment:added":()=>g.on("comment:added",A=>B.emit("comment:added",A)),"feedback:error":()=>g.on("feedback:error",A=>B.emit("feedback:error",A)),"panel:open":()=>g.on("open",()=>B.emit("panel:open")),"panel:close":()=>g.on("close",()=>B.emit("panel:close")),"annotation:start":()=>g.on("annotation:start",()=>B.emit("annotation:start")),"annotation:end":()=>g.on("annotation:end",()=>B.emit("annotation:end"))};for(let A of Object.values(b))A();g.on("open",()=>t("Panel opened")),g.on("close",()=>t("Panel closed")),g.on("feedback:sent",A=>t("Feedback sent",A.id)),g.on("feedback:error",A=>t("Feedback failed",A.message)),g.on("annotation:start",()=>t("Annotation started")),g.on("annotation:end",()=>t("Annotation ended"));let C=document.createElement("siteping-widget");C.style.cssText="position:fixed;z-index:2147483647;pointer-events:auto;";let y="test"===wg()?"open":"closed",Q=C.attachShadow({mode:y});if("adoptedStyleSheets"in ShadowRoot.prototype){let A=new CSSStyleSheet;A.replaceSync(pg(u)),Q.adoptedStyleSheets=[A]}else{let A=document.createElement("style");A.textContent=pg(u),Q.appendChild(A)}W(C,Q);let x=function(){let A=A=>{iA(A.target)&&_()&&A.stopImmediatePropagation()},e=[["pointerdown",A],["focusin",A],["focusout",A=>{(iA(A.target)||iA(A.relatedTarget))&&_()&&A.stopImmediatePropagation()}],["keydown",A=>{"Escape"===A.key&&iA(A.target)&&_()&&function(A){for(let e=j(A);e;e=rA(e))for(let A of sA.get(e)??[])if(A())return!0;return!1}(A)&&A.preventDefault()}]];for(let[A,t]of e)window.addEventListener(A,t,!0);return()=>{for(let[A,t]of e)window.removeEventListener(A,t,!0)}}();document.body.appendChild(C);let F=function(A){let e=null,t=t=>{let s=t.target;s instanceof HTMLElement&&(s===document.body||s===document.documentElement||s===A||vh(s)||(e=Eh(s)))};return document.addEventListener("focusin",t),{getLastPageFocus:()=>(e&&!e.isConnected&&(e=null),e),destroy(){document.removeEventListener("focusin",t),e=null}}}(C),U=document.createElement("div");U.setAttribute("role","status"),U.setAttribute("aria-live","polite"),U.setAttribute("aria-atomic","true"),U.setAttribute("data-siteping-ignore","true"),U.style.cssText="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;",W(U),document.body.appendChild(U);let v=new ug(u,i),E=new tg(u,v,g,o,U),k=new Su(Q,e,g,o);g.on("markers:changed",A=>k.updateBadge(A));let H=null,I=null,S=!1,L=0;async function M(A=!1){let t=e.identity??Mu();if(t)return t;let s=await function(A,e,t){return new Promise(s=>{let i=A.activeElement??document.activeElement,n=A.host;t&&n.parentNode&&n.parentNode.appendChild(n);let o=document.createElement("div");o.className="sp-identity-backdrop";let a=document.createElement("div");a.className="sp-identity-modal";let l=`sp-identity-title-${Date.now()}`;a.setAttribute("role","dialog"),a.setAttribute("aria-modal","true"),a.setAttribute("aria-labelledby",l);let c=document.createElement("div");c.className="sp-identity-title",c.id=l,c.textContent=e("identity.title"),c.style.marginBottom="20px";let d=`sp-identity-name-${Date.now()}`,p=`sp-identity-email-${Date.now()}`,h=document.createElement("label");h.className="sp-input-label",h.textContent=e("identity.nameLabel"),h.setAttribute("for",d);let u=document.createElement("input");u.className="sp-input",u.id=d,u.type="text",u.maxLength=f,u.placeholder=e("identity.namePlaceholder"),u.style.marginBottom="14px";let g=document.createElement("label");g.className="sp-input-label",g.textContent=e("identity.emailLabel"),g.setAttribute("for",p);let B=document.createElement("input");B.className="sp-input",B.id=p,B.type="email",B.maxLength=f,B.placeholder=e("identity.emailPlaceholder");let w=document.createElement("div");w.className="sp-identity-actions";let m=OA(A=>a.style.setProperty("--sp-kb",`${A}px`)),b=A=>{o.removeEventListener("keydown",x),F(),m(),o.classList.remove("sp-identity--open"),setTimeout(()=>{o.remove(),i?.focus(),s(A)},250)},C=document.createElement("button");C.className="sp-btn-ghost",C.textContent=e("identity.cancel"),C.addEventListener("click",()=>b(null));let y=document.createElement("button");y.className="sp-btn-primary",y.textContent=e("identity.submit");let Q=(A,e)=>{A.style.borderColor=e?"var(--sp-type-bug, #ef4444)":"",e?A.setAttribute("aria-invalid","true"):A.removeAttribute("aria-invalid")};y.addEventListener("click",()=>{let A=u.value.trim(),e=B.value.trim();if(!A||!e)return;let t=A.length>f,s=e.length>f||!r(e);Q(u,t),Q(B,s),!t&&!s&&b({name:A,email:e})});let x=e=>{let t=e;if("Escape"===t.key)return t.stopPropagation(),void b(null);if("Tab"===t.key){let e=Array.from(a.querySelectorAll('input, button, [tabindex]:not([tabindex="-1"])'));if(0===e.length)return;let s=e[0],r=e[e.length-1];if(!s||!r)return;let i=A.activeElement;t.shiftKey?(i===s||!a.contains(i))&&(t.preventDefault(),r.focus()):(i===r||!a.contains(i))&&(t.preventDefault(),s.focus())}};o.addEventListener("keydown",x);let F=z(o,()=>!0);o.addEventListener("click",A=>{A.target===o&&b(null)}),w.appendChild(C),w.appendChild(y),a.appendChild(c),a.appendChild(h),a.appendChild(u),a.appendChild(g),a.appendChild(B),a.appendChild(w),o.appendChild(a),A.appendChild(o),requestAnimationFrame(()=>{o.classList.add("sp-identity--open"),u.focus()})})}(Q,o,A);return s&&function(A){try{localStorage.setItem(Lu,JSON.stringify(A))}catch{}}(s),s}async function D(){return S?null:H||(I||(I=Promise.resolve().then(()=>(ih(),th)).then(A=>S?null:(H=new A.Panel(Q,u,g,w,e.projectName,E,o,i,{getScope:l,scopeAnnotationsByUrl:a,panelActions:e.panelActions,ownFeedback:m,resolveIdentity:M,readOnly:e.readOnly}),H))),I)}if(typeof window<"u"){let A=()=>{S||D()},e=window.requestIdleCallback;"function"==typeof e?e(A):setTimeout(A,200)}let K=!1,T=g.on("panel:toggle",A=>{H||(A?(K=!0,D().then(A=>{A&&K&&A.open(),K=!1}).catch(A=>t("Failed to lazy-load panel:",A))):K=!1)}),R=new tu(u,g,o,e.enableScreenshot??!1,()=>F.getLastPageFocus()),O=null;e.enableRightClickComment&&(O=A=>{if(A.defaultPrevented)return;let e=A.pointerType;""===e||void 0===e&&2!==A.button||A.shiftKey||A.ctrlKey||A.altKey||A.metaKey||A.composedPath().some(A=>A===C||A instanceof Element&&(A.hasAttribute("data-siteping-ignore")||"siteping-markers"===A.id))||R.isBusy||(A.preventDefault(),R.startInstantAnnotation(A.clientX,A.clientY).catch(A=>t("right-click annotation failed",A)))},document.addEventListener("contextmenu",O)),"en"!==i&&n.then(()=>{S||(k.refreshLabels(),R.refreshLabels())});let P=!1,N=g.on("annotation:complete",async A=>{if(P)g.emit("submission:cancelled");else{P=!0;try{let{annotation:t,type:s,message:r,clientId:i,screenshotDataUrl:n,screenshotRegion:c}=A,p=await M(!0);if(!p)return void g.emit("submission:cancelled");let u=l(),B=null;(d||h)&&(B={console:d?.getEntries()??[],network:h?.getEntries()??[]});let f={projectName:e.projectName,type:s,message:r,url:u.url,urlPattern:u.urlPattern,viewport:`${window.innerWidth}x${window.innerHeight}`,userAgent:navigator.userAgent,authorName:p.name,authorEmail:p.email,annotations:[t],clientId:i,screenshotDataUrl:n??null,screenshotRegion:c??null,diagnostics:B};try{let A=await w.sendFeedback(f);g.emit("feedback:sent",A),(!a||A.url===u.url)&&E.addFeedback(A,E.count+1),U.textContent=o("feedback.sent.confirmation"),H&&await H.refresh()}catch(A){g.emit("feedback:error",A instanceof Error?A:new Error(String(A))),U.textContent=o("feedback.error.message")}}finally{P=!1}}}),V=l(),G=a?{limit:20,url:V.url}:{limit:20},X=function(A){return void 0===A||!1===A?{enabled:!1,param:"siteping"}:!0===A?{enabled:!0,param:"siteping"}:{enabled:!0,param:A.param??"siteping"}}(e.deepLink),$=++L;Promise.all([w.getFeedbacks(e.projectName,G),n]).then(([{feedbacks:A}])=>{if(S||L!==$)return;let e=a?A.filter(A=>A.url===V.url):A;if(E.render(e),X.enabled)try{let A=new URLSearchParams(window.location.search).get(X.param);if(A){let e=E.focusFeedback(A);t(`deepLink ?${X.param}=${A} ${e?"focused":"did not match a visible feedback"}`)}}catch(A){t("deepLink parsing failed:",A)}}).catch(A=>{t("Failed to load initial markers:",A)}),e.endpoint&&async function(A,e,t={}){await cu(async()=>{try{let s=pu();if(0===s.length)return;let r=[],i=[],n=0;for(let t of s)t.endpoint===A?!e||Bu(t.payload.authorName)===Bu(e.name)&&wu(t.payload.authorEmail)===wu(e.email)?r.push(t):n+=1:i.push(t);if(0===r.length&&0===n)return;let o=[],a=0;if(r.length>0){let e=await ou(t,!0);for(let t of r){let s=new AbortController,r=setTimeout(()=>s.abort(),ru);try{let r=await fetch(A,{method:"POST",headers:e,body:JSON.stringify(t.payload),signal:s.signal});if(r.ok){let e=await r.json().catch(()=>null);p(e,"id")&&"string"==typeof e.id&&su(t.payload.projectName,A).add(e.id);continue}lu(r.status)?o.push(t):a+=1}catch{o.push(t)}finally{clearTimeout(r)}}}a>0&&console.warn(`[siteping] flushRetryQueue: dropped ${a} queued feedback(s) the server rejected (4xx) \u2014 they would fail identically on every replay`);let l=i.concat(o);l.length>0?localStorage.setItem(iu,JSON.stringify(l)):localStorage.removeItem(iu)}catch{}})}(e.endpoint,e.identity??Mu(),{apiKey:e.apiKey,headers:e.headers}).then(()=>t("Retry queue flushed")).catch(()=>{});let Y=()=>{let A=++L;if(H?.isCurrentlyOpen)return H.refresh();let t=l(),s=a?{limit:20,url:t.url}:{limit:20};return w.getFeedbacks(e.projectName,s).then(({feedbacks:e})=>{if(S||A!==L||H?.isCurrentlyOpen)return;let s=a?e.filter(A=>A.url===t.url):e;E.render(s)})},J=null;if(!1!==e.watchNavigation&&typeof window<"u"&&typeof history<"u"){let A=A=>`${A.url}\n${A.urlPattern??""}`,e=A(V),s=()=>{if(S)return;let s=A(l());if(s===e)return;let r=e;e=s,t("SPA navigation detected \u2014 refreshing feedbacks for new scope"),Y().catch(()=>{e===s&&(e=r)})},r=history.pushState,i=history.replaceState,n=function(...A){r.apply(this,A),s()},o=function(...A){i.apply(this,A),s()};history.pushState=n,history.replaceState=o,window.addEventListener("popstate",s),window.addEventListener("hashchange",s),J=()=>{window.removeEventListener("popstate",s),window.removeEventListener("hashchange",s),history.pushState===n&&(history.pushState=r),history.replaceState===o&&(history.replaceState=i)}}let Z={destroy:()=>{S||(t("Destroying widget"),O&&document.removeEventListener("contextmenu",O),S=!0,K=!1,J?.(),F.destroy(),N(),T(),k.destroy(),H?.destroy(),R.destroy(),E.destroy(),v.destroy(),d?.dispose(),h?.dispose(),g.removeAll(),B.removeAll(),U.remove(),C.remove(),x(),gg===Z&&(gg=null))},open:()=>{g.emit("panel:toggle",!0)},close:()=>{H?H.close():K=!1},focusFeedback:A=>E.focusFeedback(A),refresh:()=>{Y().catch(()=>{})},on:(A,e)=>B.on(A,e),off:(A,e)=>{B.off(A,e)}};return gg=Z,Z}return ap(),
1
+ var SitePing=function(A){"use strict";var e=Object.defineProperty,t=(A,e,t)=>()=>{if(t)throw t[0];try{return A&&(e=A(A=0)),e}catch(A){throw t=[A],A}},s=(A,t)=>{for(var s in t)e(A,s,{get:t[s],enumerable:!0})};var r=t(()=>{});function i(A){return n.test(A)}var n,o=t(()=>{n=/^(?!\.)(?!.*\.\.)[\p{L}\p{M}\p{N}!#$%&'*+/=?^_`{|}~.-]{0,63}[\p{L}\p{M}\p{N}!#$%&'*+/=?^_`{|}~-]@(?:[\p{L}\p{N}](?:[\p{L}\p{M}\p{N}-]{0,61}[\p{L}\p{M}\p{N}])?\.)+[\p{L}\p{N}][\p{L}\p{M}\p{N}-]{0,61}[\p{L}\p{M}\p{N}]$/u});function a(A,e){return function(A){return"object"==typeof A&&null!==A}(A)&&e in A}var l,c,d,p,h,u=t(()=>{}),g=t(()=>{u(),l=class extends Error{code;retryable;constructor(A,e,t){super(A),this.code=e,this.retryable=t,this.name="SitepingError"}},c=class extends l{constructor(A){super(A,"NETWORK",!0),this.name="SitepingNetworkError"}},d=class extends l{status;constructor(A,e){super(A,"VALIDATION",!1),this.name="SitepingValidationError",this.status=e}},p=class extends l{status;constructor(A,e){super(A,"AUTH",!1),this.name="SitepingAuthError",this.status=e}},h=["NETWORK","VALIDATION","AUTH","SERVER","TIMEOUT"]});function B(A){return(A.split(/[-_]/)[0]??A).toLowerCase()}function w(A,e,t){return function(A,e){return A.replace(/\{(\w+)\}/g,(A,t)=>{let s=e[t];return void 0===s?A:String(s)})}(A(e),t)}var f=t(()=>{});function m(A){return x.includes(A)}function b(A,e){return a(A,"code")&&A.code===e}function C(A){return{cssSelector:A.anchor.cssSelector,xpath:A.anchor.xpath,textSnippet:A.anchor.textSnippet,elementTag:A.anchor.elementTag,elementId:A.anchor.elementId,textPrefix:A.anchor.textPrefix,textSuffix:A.anchor.textSuffix,fingerprint:A.anchor.fingerprint,neighborText:A.anchor.neighborText,anchorKey:A.anchor.anchorKey??null,xPct:A.rect.xPct,yPct:A.rect.yPct,wPct:A.rect.wPct,hPct:A.rect.hPct,scrollX:A.scrollX,scrollY:A.scrollY,viewportW:A.viewportW,viewportH:A.viewportH,devicePixelRatio:A.devicePixelRatio}}var y,Q,x,F,v,U,E,k=t(()=>{u(),y=200,Q=["open","in_progress","resolved","wont_fix"],x=["resolved","wont_fix"],F=5e3,v=class extends Error{code="STORE_DUPLICATE";constructor(A="Duplicate record",e){super(A,e),this.name="StoreDuplicateError"}},U=191,E=191});function H(){try{return crypto.randomUUID()}catch{return`${Date.now()}-${Math.random().toString(36).slice(2)}`}}async function I(A,e){let{status:t}=A,s=await A.text().catch(()=>"Unknown error"),r=`${e}: ${s?`${t} ${s}`:t}`;return 401===t||403===t?new p(r,t):t>=500||408===t||429===t?new l(r,"SERVER",!0):t>=400?new d(r,t):new l(r,"SERVER",!1)}function S(A,e){if(A instanceof c)return A;let t=A instanceof Error?A.message:String(A);return new c(`${e}: ${t}`)}var L,M,D=t(()=>{g(),L=(A,e)=>A?.[e]}),K=t(()=>{r(),o(),g(),f(),u(),k(),D()}),T=t(()=>{M="(max-width: 640px), (max-height: 500px) and (pointer: coarse)"});function O(A){let e=document.createRange().createContextualFragment(A).firstElementChild;if("svg"!==e?.nodeName.toLowerCase())throw new Error("[siteping] Invalid SVG string");for(let A of[...e.attributes])A.name.startsWith("on")&&e.removeAttribute(A.name);for(let A of e.querySelectorAll("*"))for(let e of[...A.attributes])e.name.startsWith("on")&&A.removeAttribute(e.name);return e}function R(A,e){let t=document.createElement(A);if(e)for(let[A,s]of Object.entries(e))"class"===A?t.className=s:"style"===A?t.style.cssText=s:t.setAttribute(A,s);return t}function P(A,e){A.textContent=e}function N(A,e){let t=A.getRootNode(),s=t instanceof ShadowRoot?t.host:null,r=t=>{A.contains(t.target)||e()},i=A=>{A.target!==s&&e()};return t.addEventListener("click",r,!0),s&&document.addEventListener("click",i,!0),()=>{t.removeEventListener("click",r,!0),s&&document.removeEventListener("click",i,!0)}}function V(A,e){A.hidden=e,A.style.display=e?"none":""}function G(A,e){A.toggleAttribute("inert",e)}function X(A){let e=A.getRootNode().activeElement;return null!==e&&A.contains(e)}function $(A){let e=Array.from(A.childNodes).map(A=>A.cloneNode(!0));return A.disabled=!0,A.replaceChildren(R("div",{class:"sp-spinner sp-spinner--sm"})),()=>{A.replaceChildren(...e),A.disabled=!1}}function W(){let A=navigator.userAgentData;return A?"macOS"===A.platform:navigator.platform?.includes("Mac")??/Macintosh|Mac OS X/i.test(navigator.userAgent)}function Y(A,e="en"){let t=Date.now()-new Date(A).getTime(),s=Math.floor(t/1e3);if(s<60)return new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"second");let r=new Intl.RelativeTimeFormat(e,{numeric:"always",style:"narrow"}),i=Math.floor(s/60);if(i<60)return r.format(-i,"minute");let n=Math.floor(i/60);if(n<24)return r.format(-n,"hour");let o=Math.floor(n/24);return o<7?r.format(-o,"day"):new Date(A).toLocaleDateString(e)}var J=t(()=>{});function z(A){for(let e=A;e;e=lA(e))if(rA.has(e))return!0;return!1}function _(A,e){rA.add(A),e&&nA.set(A,e);for(let e of tA)A.addEventListener(e,dA,{passive:!0});for(let e of["keydown","keypress","keyup"])A.addEventListener(e,pA);let t=()=>{for(let e of sA)("inert"!==e||!iA.has(A))&&A.removeAttribute(e)};t(),new MutationObserver(t).observe(A,{attributeFilter:sA})}function j(A,e){e?iA.add(A):iA.delete(A),A.toggleAttribute("inert",e)}function Z(A,e){let t=oA.get(A);return t||(t=new Set,oA.set(A,t)),t.add(e),()=>{t.delete(e)}}function q(A,e){let t=aA.get(A);return t||(t=new Set,aA.set(A,t)),t.add(e),A.addEventListener("keydown",e),()=>{t.delete(e),A.removeEventListener("keydown",e)}}function AA(){if("none"===getComputedStyle(document.body).pointerEvents)return!0;for(let A of document.querySelectorAll('[aria-modal="true"]'))if(A.getClientRects().length>0&&"visible"===getComputedStyle(A).visibility&&!z(A))return!0;return!1}function eA(A){let e=A.composedPath()[0];for(;e instanceof Element;){let A=(e.shadowRoot??nA.get(e))?.activeElement;if(!A)break;e=A}return e instanceof Node?e:null}var tA,sA,rA,iA,nA,oA,aA,lA,cA,dA,pA,hA,uA,gA,BA,wA,fA,mA,bA,CA,yA,QA,xA,FA,vA,UA,EA,kA,HA,IA,SA=t(()=>{tA=["pointerdown","mousedown","touchstart","touchend","click","focusin","focusout","wheel","touchmove"],sA=["inert","aria-hidden"],rA=new WeakSet,iA=new WeakSet,nA=new WeakMap,oA=new WeakMap,aA=new WeakMap,lA=A=>A instanceof ShadowRoot?A.host:A.parentNode,cA=A=>A instanceof Node&&z(A),dA=A=>A.stopPropagation(),pA=A=>{let{key:e}=A,t=eA(A);"Tab"!==e&&"Escape"!==e&&t instanceof HTMLElement&&(t.isContentEditable||/^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName))&&A.stopPropagation()}}),LA=t(()=>{hA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><circle cx="12" cy="10" r="1" fill="currentColor" stroke="none"/><circle cx="8" cy="10" r="1" fill="currentColor" stroke="none"/><circle cx="16" cy="10" r="1" fill="currentColor" stroke="none"/></svg>',uA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>',gA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/><path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/><line x1="1" y1="1" x2="23" y2="23"/></svg>',BA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>',wA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>',fA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg>',mA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="5" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M10 12h4"/></svg>',bA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>',CA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>',yA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="6" width="8" height="14" rx="4"/><path d="M19 9h2"/><path d="M3 9h2"/><path d="M19 13h2"/><path d="M3 13h2"/><path d="M19 17h2"/><path d="M3 17h2"/><path d="M10 2h4"/></svg>',QA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>',xA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>',FA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="3" fill="currentColor" stroke="none"/></svg>',vA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>',UA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>',EA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg>',kA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>',HA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><line x1="3" y1="6" x2="3.01" y2="6"/><line x1="3" y1="12" x2="3.01" y2="12"/><line x1="3" y1="18" x2="3.01" y2="18"/></svg>',IA='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg>'});function MA(A,e,t){let s="#";for(let r=1;r<7;r+=2){let i=parseInt(A.slice(r,r+2),16);s+=Math.round(i+(parseInt(e.slice(r,r+2),16)-i)*t).toString(16).padStart(2,"0")}return s}function DA(A){let e=0;for(let[t,s]of[[1,.2126],[3,.7152],[5,.0722]]){let r=parseInt(A.slice(t,t+2),16)/255;e+=s*(r<=.04045?r/12.92:((r+.055)/1.055)**2.4)}return e}function KA(A,e,t){let s=DA(e),r=A;for(let e=1;e<=10;e++){let i=DA(r);if((Math.max(i,s)+.05)/(Math.min(i,s)+.05)>=4.5)break;r=MA(A,t,e/10)}return r}function TA(A=VA,e){let t=function(A){if(GA.test(A))return A;let e=XA.test(A)?A.match(XA):null;return e?`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:$A.test(A)?A.slice(0,7):(console.warn(`[siteping] Invalid accentColor "${A}" \u2014 only hex colors (#RGB, #RRGGBB, #RRGGBBAA) are supported. Using default.`),VA)}(A),s=MA(t,"#000000",.15);return"dark"===function(A){return"dark"===A||"auto"===A&&!(typeof window>"u"||"function"!=typeof window.matchMedia)&&window.matchMedia(WA).matches?"dark":"light"}(e)?{accent:t,accentLight:t+"22",accentDark:s,accentGlow:t+"44",accentGradient:`linear-gradient(135deg, ${t}, ${s})`,accentText:KA(t,MA("#1e293b",t,34/255),"#ffffff"),bg:"#0f172a",bgHover:"#1e293b",text:"#f1f5f9",textSecondary:"#94a3b8",textTertiary:"#8695aa",border:"#334155",shadow:"rgba(0, 0, 0, 0.3)",glassBg:"rgba(15, 23, 42, 0.94)",glassBgHeavy:"rgba(15, 23, 42, 0.96)",glassBorder:"rgba(51, 65, 85, 0.5)",glassBorderSubtle:"rgba(51, 65, 85, 0.3)",typeQuestion:"#60a5fa",typeChange:"#fbbf24",typeBug:"#f87171",typeOther:"#94a3b8",typeQuestionBg:"rgba(59, 130, 246, 0.15)",typeChangeBg:"rgba(245, 158, 11, 0.15)",typeBugBg:"rgba(239, 68, 68, 0.15)",typeOtherBg:"rgba(100, 116, 139, 0.15)",statusOpen:"#4ade80",statusOpenBg:"rgba(74, 222, 128, 0.15)",statusResolved:"#a3b0c2",statusResolvedBg:"rgba(148, 163, 184, 0.15)",statusInProgress:"#fbbf24",statusInProgressBg:"rgba(245, 158, 11, 0.15)",statusWontFix:"#a3b0c2",statusWontFixBg:"rgba(148, 163, 184, 0.15)"}:{accent:t,accentLight:t+"14",accentDark:s,accentGlow:t+"33",accentGradient:`linear-gradient(135deg, ${t}, ${s})`,accentText:KA(t,MA("#f8f9fb",t,20/255),"#000000"),bg:"#ffffff",bgHover:"#f8f9fb",text:"#0f172a",textSecondary:"#475569",textTertiary:"#64748b",border:"#e2e8f0",shadow:"rgba(0, 0, 0, 0.06)",glassBg:"rgba(255, 255, 255, 0.72)",glassBgHeavy:"rgba(255, 255, 255, 0.85)",glassBorder:"rgba(255, 255, 255, 0.35)",glassBorderSubtle:"rgba(255, 255, 255, 0.18)",typeQuestion:"#2563eb",typeChange:"#b45309",typeBug:"#d01f1f",typeOther:"#5b6778",typeQuestionBg:"#eff6ff",typeChangeBg:"#fffbeb",typeBugBg:"#fef2f2",typeOtherBg:"#f8fafc",statusOpen:"#15803d",statusOpenBg:"#f0fdf4",statusResolved:"#5b6778",statusResolvedBg:"#f1f5f9",statusInProgress:"#b45309",statusInProgressBg:"#fffbeb",statusWontFix:"#5b6778",statusWontFixBg:"#f1f5f9"}}function OA(A,e){switch(A){case"question":return e.typeQuestion;case"change":return e.typeChange;case"bug":return e.typeBug;default:return e.typeOther}}function RA(A,e){switch(A){case"in_progress":return e.statusInProgress;case"resolved":return e.statusResolved;case"wont_fix":return e.statusWontFix;default:return e.statusOpen}}function PA(A,e){switch(A){case"in_progress":return e.statusInProgressBg;case"resolved":return e.statusResolvedBg;case"wont_fix":return e.statusWontFixBg;default:return e.statusOpenBg}}function NA(A,e){switch(A){case"question":return e.typeQuestionBg;case"change":return e.typeChangeBg;case"bug":return e.typeBugBg;default:return e.typeOtherBg}}var VA,GA,XA,$A,WA,YA=t(()=>{VA="#0066ff",GA=/^#[0-9a-fA-F]{6}$/,XA=/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,$A=/^#[0-9a-fA-F]{8}$/,WA="(prefers-color-scheme: dark)"});function JA(A){return"function"==typeof window.matchMedia&&window.matchMedia(A).matches}function zA(){return JA(M)}function _A(){return JA("(pointer: coarse)")}function jA(){return JA("(prefers-reduced-motion: reduce)")}function ZA(A){let e=window.visualViewport;if(!e)return()=>{};let t=()=>A(Math.max(0,Math.round(window.innerHeight-e.height-e.offsetTop)),e.height);return t(),e.addEventListener("resize",t),e.addEventListener("scroll",t),()=>{e.removeEventListener("resize",t),e.removeEventListener("scroll",t)}}var qA=t(()=>{T()}),Ae={};function ee(A={}){return new re({allowDataUrls:!0,maxImageTimeout:3e5,...A})}function te(A){return!(20===A.type&&"none"===A.value||18===A.type&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(!e)throw new Error("Window object is required but not available");this.window=e,this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(e,t={}){let s=e.ownerDocument;if(!s)throw new Error("Element is not attached to a document");let r=s.defaultView;if(!r)throw new Error("Document is not attached to a window");return new A({window:r,...t})}clone(e={}){return new A({window:e.window||this.window,cspNonce:e.cspNonce??this.cspNonce,cache:e.cache??this.cache})}},re=class{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||"string"!=typeof A)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{let t=new URL(A);if(!["http:","https:"].includes(t.protocol))return{valid:!1,error:`Protocol ${t.protocol} is not allowed. Only http and https are permitted.`};if("proxy"===e&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){let A=t.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(e=>{let t=e.toLowerCase();return A===t||A.endsWith("."+t)}))return{valid:!1,error:`Proxy domain ${t.hostname} is not in the allowed list`}}if("proxy"===e){if(!this.config.allowLocalhostProxy){let A=t.hostname.toLowerCase();if("localhost"===A||"127.0.0.1"===A||"::1"===A)return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(A))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(A.startsWith("169.254.")||A.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(A){return{valid:!1,error:`Invalid URL format: ${A instanceof Error?A.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(e=>e.test(A))||!!A.includes(":")&&this.isPrivateIPv6(A)}isPrivateIPv6(A){let e=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(e)||"::1"===e||/^(0:){7}0$/.test(e)||"::"===e)return!0;let t=this.expandIPv6(e);if(!t)return this.isPrivateIPv6Prefix(e);let s=parseInt(t.substring(0,2),16);if(s>=252&&s<=253)return!0;if(254===s){let A=parseInt(t.substring(2,4),16);if(A>=128&&A<=191)return!0}return 255===s}expandIPv6(A){try{if(A.includes("::")){let e=A.split("::");if(e.length>2)return null;let t=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],r=8-t.length-s.length;if(r<0)return null;let i=Array(r).fill("0000");return[...t,...i,...s].map(A=>A.padStart(4,"0")).join(":")}{let e=A.split(":");return 8!==e.length?null:e.map(A=>A.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&&"string"==typeof A?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"}:{valid:!1,error:"CSP nonce must be a non-empty string"}}validateImageTimeout(A){return"number"!=typeof A||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("number"!=typeof A||"number"!=typeof e)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"};let t=32767;return A>t||e>t?{valid:!1,error:`Dimensions exceed maximum allowed (${t}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return"number"!=typeof A||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){if(!A)return{valid:!1,error:"Element is required"};if("object"!=typeof A)return{valid:!1,error:"Element must be an object"};let e=A;return typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:e.ownerDocument?e.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)"}}validateOptions(A){let e=[],t=A.proxy;if(null!=t&&"string"==typeof t&&t.length>0){let A=this.validateUrl(t,"proxy");A.valid||e.push(`Proxy: ${A.error}`)}if(void 0!==A.imageTimeout){let t=this.validateImageTimeout(A.imageTimeout);t.valid||e.push(`Image timeout: ${t.error}`)}if(void 0!==A.width||void 0!==A.height){let t=A.width??800,s=A.height??600,r=this.validateDimensions(t,s);r.valid||e.push(`Dimensions: ${r.error}`)}if(void 0!==A.scale){let t=this.validateScale(A.scale);t.valid||e.push(`Scale: ${t.error}`)}if(void 0!==A.cspNonce){let t=this.validateCspNonce(A.cspNonce);t.valid||e.push(`CSP nonce: ${t.error}`)}if(this.config.customValidator){let t=this.config.customValidator(A,"options");t.valid||e.push(`Custom validation: ${t.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}},ie=class{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&"function"==typeof performance.now?()=>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;let e=this.activeMetrics.get(A);if(e)return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`\u23f1\ufe0f ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e;this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`)}measure(A,e,t){this.start(A,t);try{let t=e();return this.end(A),t}catch(e){throw this.end(A),e}}async measureAsync(A,e,t){this.start(A,t);try{let t=await e();return this.end(A),t}catch(e){throw this.end(A),e}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){let A=this.completedMetrics.reduce((A,e)=>A+(e.duration||0),0),e=this.completedMetrics.map(e=>({name:e.name,duration:e.duration||0,percentage:A>0?((e.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||0===this.completedMetrics.length||!this.context)return;let A=this.getSummary();this.context.logger.info(`\n\ud83d\udcca Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((A,e)=>e.duration-A.duration).forEach(A=>{this.context.logger.info(` ${A.name.padEnd(20)} ${A.duration.toFixed(2).padStart(8)}ms ${A.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},ne=class A{constructor(A,e,t,s){this.left=A,this.top=e,this.width=t,this.height=s}add(e,t,s,r){return new A(this.left+e,this.top+t,this.width+s,this.height+r)}static fromClientRect(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)}static fromDOMRectList(e,t){let s=Array.from(t),r=s.find(A=>0!==A.width);return r||(r=s.find(A=>0!==A.height)),!r&&s.length>0&&(r=s[0]),r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY}static{this.EMPTY=new A(0,0,0,0)}},oe=(A,e)=>ne.fromClientRect(A,e.getBoundingClientRect()),ae=A=>{let e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");return new ne(0,0,Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight)))},le=function(A){for(var e=[],t=0,s=A.length;t<s;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<s){var i=A.charCodeAt(t++);56320==(64512&i)?e.push(((1023&r)<<10)+(1023&i)+65536):(e.push(r),t--)}else e.push(r)}return e},ce=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var s=[],r=-1,i="";++r<t;){var n=A[r];n<=65535?s.push(n):(n-=65536,s.push(55296+(n>>10),n%1024+56320)),(r+1===t||s.length>16384)&&(i+=String.fromCharCode.apply(String,s),s.length=0)}return i},de=typeof Uint8Array>"u"?[]:new Uint8Array(256),pe=0;pe<64;pe++)de["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(pe)]=pe;for(he=typeof Uint8Array>"u"?[]:new Uint8Array(256),ue=0;ue<64;ue++)he["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ue)]=ue;for(ge=function(A){var e,t,s,r,i,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<o;e+=4)t=he[A.charCodeAt(e)],s=he[A.charCodeAt(e+1)],r=he[A.charCodeAt(e+2)],i=he[A.charCodeAt(e+3)],c[a++]=t<<2|s>>4,c[a++]=(15&s)<<4|r>>2,c[a++]=(3&r)<<6|63&i;return l},Be=function(A){for(var e=A.length,t=[],s=0;s<e;s+=2)t.push(A[s+1]<<8|A[s]);return t},we=function(A){for(var e=A.length,t=[],s=0;s<e;s+=4)t.push(A[s+3]<<24|A[s+2]<<16|A[s+1]<<8|A[s]);return t},fe=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},me=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},be=function(A,e){var t=ge(A),s=Array.isArray(t)?we(t):new Uint32Array(t),r=Array.isArray(t)?Be(t):new Uint16Array(t),i=fe(r,12,s[4]/2),n=2===s[5]?fe(r,(24+s[4])/2):me(s,Math.ceil((24+s[4])/4));return new Ce(s[0],s[1],s[2],s[3],i,n)},Ce=function(){function A(A,e,t,s,r,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=r,this.data=i}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ye=typeof Uint8Array>"u"?[]:new Uint8Array(256),Qe=0;Qe<64;Qe++)ye["ABCDEFGHIJKLMNOPQRSTUVWXYZabc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hoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsByw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ILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwA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AAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4A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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFA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AKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAV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FAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAA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UABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB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AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Ze=[Oe,36],et=[Ke,De],tt=(qe=[1,2,3,5]).concat(At=[xe,8]),st=[Xe,$e,We,Ne,Ve],rt=[ve,Fe],it=function(A,e){void 0===e&&(e="strict");var t=[],s=[],r=[];return A.forEach(function(A,i){var n=je.get(A);if(n>50?(r.push(!0),n-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return s.push(i),t.push(16);if(4===n||11===n){if(0===i)return s.push(i),t.push(Oe);var o=t[i-1];return-1===tt.indexOf(o)?(s.push(s[i-1]),t.push(o)):(s.push(i),t.push(Oe))}return s.push(i),31===n?t.push("strict"===e?Ie:Ge):n===Ye||29===n?t.push(Oe):43===n?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(Ge):t.push(Oe):void t.push(n)}),[s,t,r]},nt=function(A,e,t,s){var r=s[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var i=t;i<=s.length;){if((a=s[++i])===e)return!0;if(a!==xe)break}if(r===xe)for(i=t;i>0;){var n=s[--i];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var o=t;o<=s.length;){var a;if((a=s[++o])===e)return!0;if(a!==xe)break}if(n!==xe)break}return!1},ot=function(A,e){for(var t=A;t>=0;){var s=e[t];if(s!==xe)return s;t--}return 0},at=function(A,e,t,s,r){if(0===t[s])return ze;var i=s-1;if(Array.isArray(r)&&!0===r[i])return ze;var n=i-1,o=i+1,a=e[i],l=n>=0?e[n]:0,c=e[o];if(2===a&&3===c)return ze;if(-1!==qe.indexOf(a))return"!";if(-1!==qe.indexOf(c)||-1!==At.indexOf(c))return ze;if(8===ot(i,e))return _e;if(11===je.get(A[i])||(a===Re||a===Pe)&&11===je.get(A[o])||7===a||7===c||9===a||-1===[xe,Fe,ve].indexOf(a)&&9===c||-1!==[Ue,Ee,ke,Le,Te].indexOf(c)||ot(i,e)===Se||nt(23,Se,i,e)||nt([Ue,Ee],Ie,i,e)||nt(12,12,i,e))return ze;if(a===xe)return _e;if(23===a||23===c)return ze;if(16===c||16===a)return _e;if(-1!==[Fe,ve,Ie].indexOf(c)||14===a||36===l&&-1!==rt.indexOf(a)||a===Te&&36===c||c===He||-1!==Ze.indexOf(c)&&a===Me||-1!==Ze.indexOf(a)&&c===Me||a===Ke&&-1!==[Ge,Re,Pe].indexOf(c)||-1!==[Ge,Re,Pe].indexOf(a)&&c===De||-1!==Ze.indexOf(a)&&-1!==et.indexOf(c)||-1!==et.indexOf(a)&&-1!==Ze.indexOf(c)||-1!==[Ke,De].indexOf(a)&&(c===Me||-1!==[Se,ve].indexOf(c)&&e[o+1]===Me)||-1!==[Se,ve].indexOf(a)&&c===Me||a===Me&&-1!==[Me,Te,Le].indexOf(c))return ze;if(-1!==[Me,Te,Le,Ue,Ee].indexOf(c))for(var d=i;d>=0;){if((p=e[d])===Me)return ze;if(-1===[Te,Le].indexOf(p))break;d--}if(-1!==[Ke,De].indexOf(c))for(d=-1!==[Ue,Ee].indexOf(a)?n:i;d>=0;){var p;if((p=e[d])===Me)return ze;if(-1===[Te,Le].indexOf(p))break;d--}if(Xe===a&&-1!==[Xe,$e,Ne,Ve].indexOf(c)||-1!==[$e,Ne].indexOf(a)&&-1!==[$e,We].indexOf(c)||-1!==[We,Ve].indexOf(a)&&c===We||-1!==st.indexOf(a)&&-1!==[He,De].indexOf(c)||-1!==st.indexOf(c)&&a===Ke||-1!==Ze.indexOf(a)&&-1!==Ze.indexOf(c)||a===Le&&-1!==Ze.indexOf(c)||-1!==Ze.concat(Me).indexOf(a)&&c===Se&&-1===Je.indexOf(A[o])||-1!==Ze.concat(Me).indexOf(c)&&a===Ee)return ze;if(41===a&&41===c){for(var h=t[i],u=1;h>0&&41===e[--h];)u++;if(u%2!=0)return ze}return a===Re&&c===Pe?ze:_e},lt=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=it(A,e.lineBreak),s=t[0],r=t[1],i=t[2];return("break-all"===e.wordBreak||"break-word"===e.wordBreak)&&(r=r.map(function(A){return-1!==[Me,Oe,Ye].indexOf(A)?Ge:A})),[s,r,"keep-all"===e.wordBreak?i.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0]},ct=function(){function A(A,e,t,s){this.codePoints=A,this.required="!"===e,this.start=t,this.end=s}return A.prototype.slice=function(){return ce.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),dt=function(A,e){var t=le(A),s=lt(t,e),r=s[0],i=s[1],n=s[2],o=t.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var A=ze;l<o&&(A=at(t,i,r,++l,n))===ze;);if(A!==ze||l===o){var e=new ct(t,A,a,l);return a=l,{value:e,done:!1}}return{done:!0,value:null}}}},pt=A=>A>=48&&A<=57,ht=A=>A>=55296&&A<=57343,ut=A=>pt(A)||A>=65&&A<=70||A>=97&&A<=102,gt=A=>A>=97&&A<=122,Bt=A=>A>=65&&A<=90,wt=A=>gt(A)||Bt(A),ft=A=>A>=128,mt=A=>10===A||9===A||32===A,bt=A=>wt(A)||ft(A)||95===A,Ct=A=>bt(A)||pt(A)||45===A,yt=A=>A>=0&&A<=8||11===A||A>=14&&A<=31||127===A,Qt=(A,e)=>92===A&&10!==e,xt=(A,e,t)=>45===A?bt(e)||Qt(e,t):!!bt(A)||!(92!==A||!Qt(A,e)),Ft=(A,e,t)=>43===A||45===A?!!pt(e)||46===e&&pt(t):pt(46===A?e:A),vt=A=>{let e=0,t=1;(43===A[e]||45===A[e])&&(45===A[e]&&(t=-1),e++);let s=[];for(;pt(A[e]);)s.push(A[e++]);let r=s.length?parseInt(ce(...s),10):0;46===A[e]&&e++;let i=[];for(;pt(A[e]);)i.push(A[e++]);let n=i.length,o=n?parseInt(ce(...i),10):0;(69===A[e]||101===A[e])&&e++;let a=1;(43===A[e]||45===A[e])&&(45===A[e]&&(a=-1),e++);let l=[];for(;pt(A[e]);)l.push(A[e++]);let c=l.length?parseInt(ce(...l),10):0;return t*(r+o*Math.pow(10,-n))*Math.pow(10,a*c)},Ut={type:2},Et={type:3},kt={type:4},Ht={type:13},It={type:8},St={type:21},Lt={type:9},Mt={type:10},Dt={type:11},Kt={type:12},Tt={type:14},Ot={type:23},Rt={type:1},Pt={type:25},Nt={type:24},Vt={type:26},Gt={type:27},Xt={type:28},$t={type:29},Wt={type:31},Yt={type:32},Jt=class A{static{this._pool=[]}static{this.MAX_POOL_SIZE=40}static get(){return A._pool.pop()||new A}static release(e){A._pool.length<A.MAX_POOL_SIZE&&(e._reset(),A._pool.push(e))}constructor(){this._value=[]}_reset(){this._value=[]}write(A){this._value=this._value.concat(le(A))}read(){let A=[],e=this.consumeToken();for(;e!==Yt;)A.push(e),e=this.consumeToken();return A}consumeToken(){let A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:{let A=this.peekCodePoint(0),e=this.peekCodePoint(1),t=this.peekCodePoint(2);if(Ct(A)||Qt(e,t)){let s=xt(A,e,t)?2:1;return{type:5,value:this.consumeName(),flags:s}}break}case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ht;break;case 39:return this.consumeStringToken(39);case 40:return Ut;case 41:return Et;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Tt;break;case 43:if(Ft(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return kt;case 45:{let e=A,t=this.peekCodePoint(0),s=this.peekCodePoint(1);if(Ft(e,t,s))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xt(e,t,s))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===t&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Nt;break}case 46:if(Ft(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){let A=this.consumeCodePoint();if(42===A&&(A=this.consumeCodePoint(),47===A))return this.consumeToken();if(-1===A)return this.consumeToken()}break;case 58:return Vt;case 59:return Gt;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Pt;break;case 64:if(xt(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2)))return{type:7,value:this.consumeName()};break;case 91:return Xt;case 92:if(Qt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return $t;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),It;break;case 123:return Dt;case 125:return Kt;case 117:case 85:{let e=this.peekCodePoint(0),t=this.peekCodePoint(1);return 43===e&&(ut(t)||63===t)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken()}case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Lt;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),St;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Mt;break;case-1:return Yt}return mt(A)?(this.consumeWhiteSpace(),Wt):pt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):bt(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:ce(A)}}consumeCodePoint(){let 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(){let A=[],e=this.consumeCodePoint();for(;ut(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let t=!1;for(;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(ce(...A.map(A=>63===A?48:A)),16),end:parseInt(ce(...A.map(A=>63===A?70:A)),16)};let s=parseInt(ce(...A),16);if(45===this.peekCodePoint(0)&&ut(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();let A=[];for(;ut(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();return{type:30,start:s,end:parseInt(ce(...A),16)}}return{type:30,start:s,end:s}}consumeIdentLikeToken(){let A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){let A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};let e=this.peekCodePoint(0);if(39===e||34===e){let A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),Ot)}for(;;){let e=this.consumeCodePoint();if(-1===e||41===e)return{type:22,value:ce(...A)};if(mt(e))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:ce(...A)}):(this.consumeBadUrlRemnants(),Ot);if(34===e||39===e||40===e||yt(e))return this.consumeBadUrlRemnants(),Ot;if(92===e){if(!Qt(e,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ot;A.push(this.consumeEscapedCodePoint())}else A.push(e)}}consumeWhiteSpace(){for(;mt(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){let A=this.consumeCodePoint();if(41===A||-1===A)return;Qt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let e="";for(;A>0;){let t=Math.min(5e4,A);e+=ce(...this._value.splice(0,t)),A-=t}return this._value.shift(),e}consumeStringToken(A){let e="",t=0;for(;;){let s=this._value[t];if(-1===s||void 0===s||s===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(10===s)return this._value.splice(0,t),Rt;if(92===s){let A=this._value[t+1];-1!==A&&void 0!==A&&(10===A?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):Qt(s,A)&&(e+=this.consumeStringSlice(t),e+=ce(this.consumeEscapedCodePoint()),t=-1))}t++}}consumeNumber(){let A=[],e=4,t=this.peekCodePoint(0);for((43===t||45===t)&&A.push(this.consumeCodePoint());pt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(46===t&&pt(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;pt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),s=this.peekCodePoint(1);let r=this.peekCodePoint(2);if((69===t||101===t)&&((43===s||45===s)&&pt(r)||pt(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;pt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[vt(A),e]}consumeNumericToken(){let[A,e]=this.consumeNumber(),t=this.peekCodePoint(0);return xt(t,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:A,flags:e,unit:this.consumeName()}:37===t?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){let A=this.consumeCodePoint();if(ut(A)){let e=ce(A);for(;ut(this.peekCodePoint(0))&&e.length<6;)e+=ce(this.consumeCodePoint());mt(this.peekCodePoint(0))&&this.consumeCodePoint();let t=parseInt(e,16);return 0===t||ht(t)||t>1114111?65533:t}return-1===A?65533:A}consumeName(){let A="";for(;;){let e=this.consumeCodePoint();if(Ct(e))A+=ce(e);else{if(!Qt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=ce(this.consumeEscapedCodePoint())}}}},zt=class A{constructor(A){this._tokens=A}static create(e){let t=new Jt;return t.write(e),new A(t.read())}static parseValue(e){return A.create(e).parseComponentValue()}static parseValues(e){return A.create(e).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);let e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){let A=[];for(;;){let e=this.consumeComponentValue();if(32===e.type)return A;A.push(e)}}consumeComponentValue(){let 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){let e={type:A,values:[]},t=this.consumeToken();for(;;){if(32===t.type||rs(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}}consumeFunction(A){let e={name:A.value,values:[],type:18};for(;;){let A=this.consumeToken();if(32===A.type||3===A.type)return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue())}}consumeToken(){let A=this._tokens.shift();return typeof A>"u"?Yt:A}reconsumeToken(A){this._tokens.unshift(A)}},_t=A=>15===A.type,jt=A=>17===A.type,Zt=A=>20===A.type,qt=A=>0===A.type,As=(A,e)=>Zt(A)&&A.value===e,es=A=>31!==A.type,ts=A=>31!==A.type&&4!==A.type,ss=A=>{let e=[],t=[];return A.forEach(A=>{4!==A.type?31!==A.type&&t.push(A):t.length&&(e.push(t),t=[])}),t.length&&e.push(t),e},rs=(A,e)=>11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type,is=/(\d+(?:\.\d+)?|[+\-*/()])/g,ns=A=>{let e=A.match(is);if(!e)return NaN;let t=[],s=[],r={"+":1,"-":1,"*":2,"/":2};for(let A of e)if(/^\d+(?:\.\d+)?$/.test(A))t.push(parseFloat(A));else if("("===A)s.push(A);else if(")"===A){for(;s.length&&"("!==s[s.length-1];)t.push(s.pop());if(!s.length)return NaN;s.pop()}else{for(;s.length&&r[s[s.length-1]]>=r[A];)t.push(s.pop());s.push(A)}for(;s.length;){let A=s.pop();if("("===A)return NaN;t.push(A)}let i=[];for(let A of t)if("number"==typeof A)i.push(A);else{let e=i.pop(),t=i.pop();if(void 0===t||void 0===e)return NaN;switch(A){case"+":i.push(t+e);break;case"-":i.push(t-e);break;case"*":i.push(t*e);break;case"/":i.push(0===e?NaN:t/e);break;default:return NaN}}return 1===i.length?i[0]:NaN},os=(A,e,t)=>Math.min(Math.max(A,e),t),as=(A,e)=>[A[0]*e[0]+A[1]*e[1]+A[2]*e[2],A[3]*e[0]+A[4]*e[1]+A[5]*e[2],A[6]*e[0]+A[7]*e[1]+A[8]*e[2]],ls=A=>as([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],A),cs=A=>as([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],A),ds=A=>A.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t>.0031308?e*(1.055*t**(1/2.4)-.055):12.92*A}),ps=A=>A.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t<=.04045?A/12.92:e*((t+.055)/1.055)**2.4}),hs=A=>17===A.type||15===A.type,us=A=>16===A.type||hs(A)||gs(A),gs=A=>17===A.type&&void 0!==A._calcPercentage,Bs=A=>18===A.type&&"calc"===A.name,ws=A=>{let e=ms(A,0);if(!e)return null;let t=ms(A,100);if(!t)return null;let s=e.number,r=t.number-s;return 0===r?e:{type:17,number:s,flags:4,_calcPercentage:r,_calcPixelOffset:s}},fs=A=>Bs(A)?ws(A):us(A)?A:null,ms=(A,e=0)=>{let t=A=>{let s="";for(let r of A)if(31!==r.type)if(18===r.type){if("calc"!==r.name)return null;{let A=t(r.values);if(null===A)return null;s+=`(${A})`}}else if(17===r.type)s+=r.number.toString();else if(15===r.type)"px"===r.unit?s+=r.number.toString():"rem"===r.unit||"em"===r.unit?s+=(16*r.number).toString():s+=r.number.toString();else if(16===r.type)s+=(r.number/100*e).toString();else if(6===r.type){let A=r.value;"+"===A||"-"===A||"*"===A||"/"===A?s+=` ${A} `:"("===A?s+="(":")"===A&&(s+=")")}return s};try{let e=t(A.values);if(null===e||""===e.trim())return null;let s=ns(e);if("number"==typeof s&&!isNaN(s))return{type:17,number:s,flags:4}}catch{return null}return null},bs=A=>A.length>1?[A[0],A[1]]:[A[0]],Cs={type:17,number:0,flags:4},ys={type:16,number:50,flags:4},Qs={type:16,number:100,flags:4},xs=(A,e,t)=>{let[s,r]=A;return[Fs(s,e),Fs(typeof r<"u"?r:s,t)]},Fs=(A,e)=>{if(gs(A))return A._calcPercentage/100*e+A._calcPixelOffset;if(16===A.type)return A.number/100*e;if(_t(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},vs="grad",Us="turn",Es={name:"angle",parse:(A,e)=>{if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case vs:return Math.PI/200*e.number;case"rad":return e.number;case Us:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},ks=A=>15===A.type&&("deg"===A.unit||A.unit===vs||"rad"===A.unit||A.unit===Us),Hs=A=>{switch(A.filter(Zt).map(A=>A.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Cs,Cs];case"to top":case"bottom":return Is(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Cs,Qs];case"to right":case"left":return Is(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Qs,Qs];case"to bottom":case"top":return Is(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Qs,Cs];case"to left":case"right":return Is(270)}return 0},Is=A=>Math.PI*A/180,Ss=A=>!(255&A),Ls=A=>{let e=255&A,t=255&A>>8,s=255&A>>16,r=255&A>>24;return e<255?`rgba(${r},${s},${t},${e/255})`:`rgb(${r},${s},${t})`},Ms=(A,e,t,s)=>(A<<24|e<<16|t<<8|Math.round(255*s))>>>0,Ds=(A,e)=>{if(17===A.type)return A.number;if(16===A.type){let t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},Ks=A=>"from"===(20===A[0].type?A[0].value:"unknown"),Os=A=>{let e=ls([A[0],A[1],A[2]]);return Ts([e[0],e[1],e[2],A[3]])},Rs=(A,e)=>{if(Ks(e.filter(ts)))throw new Error("Relative color not supported for lab()");let[t,s,r,i]=Ws(e),n=ds(ls(Ar([t,s,r])));return Ms(os(Math.round(255*n[0]),0,255),os(Math.round(255*n[1]),0,255),os(Math.round(255*n[2]),0,255),i)},Ps=(A,e)=>{if(Ks(e.filter(ts)))throw new Error("Relative color not supported for oklab()");let[t,s,r,i]=Ws(e),n=ds(ls(qs([t,s,r])));return Ms(os(Math.round(255*n[0]),0,255),os(Math.round(255*n[1]),0,255),os(Math.round(255*n[2]),0,255),i)},Ns=(A,e)=>{if(Ks(e.filter(ts)))throw new Error("Relative color not supported for oklch()");let[t,s,r,i]=Ys(e),n=ds(ls(qs(Zs([t,s,r]))));return Ms(os(Math.round(255*n[0]),0,255),os(Math.round(255*n[1]),0,255),os(Math.round(255*n[2]),0,255),i)},Vs=(A,e)=>{if(Ks(e.filter(ts)))throw new Error("Relative color not supported for lch()");let[t,s,r,i]=$s(e),n=ds(ls(Ar(Zs([t,s,r]))));return Ms(os(Math.round(255*n[0]),0,255),os(Math.round(255*n[1]),0,255),os(Math.round(255*n[2]),0,255),i)},Gs=(A,e)=>{let[t,s,r,i]=e.filter(ts);return[(17===t.type?Is(t.number):Es.parse(A,t))/(2*Math.PI),us(s)?s.number/100:0,us(r)?r.number/100:0,typeof i<"u"&&us(i)?Fs(i,1):1]},Xs=(A,e)=>{if(Ks(e))throw new Error("Relative color not supported for hsl()");let[t,s,r,i]=Gs(A,e),n=js([t,s,r]);return Ms(255*n[0],255*n[1],255*n[2],0===s?1:i)},$s=A=>{let e=A.filter(ts);return[us(e[0])?e[0].number:0,us(e[1])?e[1].number:0,jt(e[2])||_t(e[2])?e[2].number:0,typeof e[4]<"u"&&us(e[4])?Fs(e[4],1):1]},Ws=A=>{let e=A.filter(ts);return[16===e[0].type?e[0].number/100:jt(e[0])?e[0].number:0,16===e[1].type?e[1].number/100:jt(e[1])?e[1].number:0,jt(e[2])||_t(e[2])?e[2].number:0,typeof e[4]<"u"&&us(e[4])?Fs(e[4],1):1]},Ys=A=>{let e=A.filter(ts);return[16===e[0].type?e[0].number/100:jt(e[0])?e[0].number:0,16===e[1].type?e[1].number/100:jt(e[1])?e[1].number:0,jt(e[2])||_t(e[2])?e[2].number:0,typeof e[4]<"u"&&us(e[4])?Fs(e[4],1):1]},Js=A=>as([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],A),zs=A=>as([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],A),_s=(A,e,t)=>(t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A),js=([A,e,t])=>{if(0===e)return[255*t,255*t,255*t];let s=t<=.5?t*(e+1):t+e-t*e,r=2*t-s;return[_s(r,s,A+1/3),_s(r,s,A),_s(r,s,A-1/3)]},Zs=([A,e,t])=>(e<0&&(e=0),isNaN(t)&&(t=0),[A,e*Math.cos(t*Math.PI/180),e*Math.sin(t*Math.PI/180)]),qs=A=>as([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],as([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],A).map(A=>A**3)),Ar=A=>{let e=(A[0]+16)/116,t=A[1]/500+e,s=e-A[2]/200,r=24389/27,i=24/116,n=[.3457*(t>i?t**3:(116*t-16)/r)/.3585,A[0]>8?e**3:A[0]/r,.2958*(s>i?s**3:(116*s-16)/r)/.3585];return zs([n[0],n[1],n[2]])},er=A=>zs([A[0],A[1],A[2]]),rr=A=>as([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],A),ir=A=>as([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],A),nr=A=>A.map(A=>{let e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),or=A=>ds(A),ar=A=>{let e=nr([A[0],A[1],A[2]]);return rr([e[0],e[1],e[2]])},lr=A=>as([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],A),cr=A=>as([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],A),dr=A=>{let e=A.map(A=>(A<0?-1:1)*Math.abs(A)**2.19921875);return[e[0],e[1],e[2]]},pr=A=>{let e=A.map(A=>(A<0?-1:1)*Math.abs(A)**.4547069271758437);return[e[0],e[1],e[2]]},hr=A=>{let e=ls(cr(dr([A[0],A[1],A[2]])));return Ts([e[0],e[1],e[2],A[3]])},ur=A=>as([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],A),gr=A=>as([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],A),Br=A=>A.map(A=>A<16/512?A/16:A**1.8),wr=A=>A.map(A=>A>1/512?A**(1/1.8):16*A),fr=A=>{let e=Br([A[0],A[1],A[2]]);return zs(ur([e[0],e[1],e[2]]))},mr=1.09929682680944,br=.018053968510807,Cr=A=>A.map(function(A){return A<4.5*br?A/4.5:Math.pow((A+mr-1)/mr,1/.45)}),yr=A=>A.map(function(A){return A>=br?mr*Math.pow(A,.45)-(mr-1):4.5*A}),Qr=A=>as([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],A),xr=A=>as([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],A),Fr=A=>{let e=Cr([A[0],A[1],A[2]]);return Qr([e[0],e[1],e[2]])},vr={name:"color",parse:(A,e)=>{if(18===e.type){let t=Lr[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported color function "${e.name}"`);return t(A,e.values)}if(5===e.type){let[A,t,s,r]=Ur(e);return Ms(A,t,s,r)}if(20===e.type){let A=Dr[e.value.toUpperCase()];if(typeof A<"u")return A}return Dr.TRANSPARENT}},Ur=A=>{if(3===A.value.length){let e=A.value.substring(0,1),t=A.value.substring(1,2),s=A.value.substring(2,3);return[parseInt(e+e,16),parseInt(t+t,16),parseInt(s+s,16),1]}if(4===A.value.length){let e=A.value.substring(0,1),t=A.value.substring(1,2),s=A.value.substring(2,3),r=A.value.substring(3,4);return[parseInt(e+e,16),parseInt(t+t,16),parseInt(s+s,16),parseInt(r+r,16)/255]}if(6===A.value.length){let e=A.value.substring(0,2),t=A.value.substring(2,4),s=A.value.substring(4,6);return[parseInt(e,16),parseInt(t,16),parseInt(s,16),1]}if(8===A.value.length){let e=A.value.substring(0,2),t=A.value.substring(2,4),s=A.value.substring(4,6),r=A.value.substring(6,8);return[parseInt(e,16),parseInt(t,16),parseInt(s,16),parseInt(r,16)/255]}return[0,0,0,1]},kr=(A,e)=>{let t=e.filter(ts),s=20===t[0].type?t[0].value:"unknown";if(Ks(t)){let e=(A,e)=>{if(jt(e))return e.number;if(Zt(e))return A[t=e.value,"r"===t||"x"===t?0:"g"===t||"y"===t?1:2];var t;let s=A=>{let e=A.filter(ts),t="(";for(let A of e)t+=18===A.type&&"calc"===A.name?s(A.values):jt(A)?A.number:6===A.type||Zt(A)?A.value:"";return t+=")",t};if(18===e.type){let t=e.values.filter(ts);if("calc"===e.name)return ns(s(t).replace(/r|x/,A[0].toString()).replace(/g|y/,A[1].toString()).replace(/b|z/,A[2].toString()))}return null},s=18===t[1].type?t[1].name:Zt(t[1])||5===t[1].type?"rgb":"unknown",r=Zt(t[2])?t[2].value:"unknown",i=18===t[1].type?t[1].values:Zt(t[1])?[t[1]]:[];if(Zt(t[1])){if(typeof Dr[t[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{let e=Mr(A,t[1].value),s=255&e;i=[{type:17,number:255&e>>24,flags:1},{type:17,number:255&e>>16,flags:1},{type:17,number:255&e>>8,flags:1},{type:17,number:s>1?s/255:s,flags:1}]}}else if(5===t[1].type){let[A,e,s,r]=Ur(t[1]);i=[{type:17,number:A,flags:1},{type:17,number:e,flags:1},{type:17,number:s,flags:1},{type:17,number:r>1?r/255:r,flags:1}]}if(0===i.length)throw new Error("Attempting to use unknown color in relative color 'from'");if("unknown"===r)throw new Error("Attempting to use unknown colorspace in relative color 'to'");let n=Ir[s],o=Sr[r],a=Hr[r];if(typeof n>"u")throw new Error(`Attempting to parse an unsupported color space "${s}" for color() function`);if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);let l=o(n(A,i)),c=e(l,t[3]),d=e(l,t[4]),p=e(l,t[5]),h=t.length>6&&6===t[6].type&&"/"===t[6].value&&jt(t[7])?t[7].number:1;if(null===c||null===d||null===p)throw new Error("Invalid relative color in color() function");return a([c,d,p,h])}{let A=s,e=Hr[A];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color space "${A}" for color() function`);return e([jt(t[1])?t[1].number:0,jt(t[2])?t[2].number:0,jt(t[3])?t[3].number:0,t.length>4&&6===t[4].type&&"/"===t[4].value&&jt(t[5])?t[5].number:1])}},Hr={srgb:A=>Ms(os(Math.round(255*A[0]),0,255),os(Math.round(255*A[1]),0,255),os(Math.round(255*A[2]),0,255),os(A[3],0,1)),"srgb-linear":Ts=([A,e,t,s])=>{let r=ds([A,e,t]);return Ms(os(Math.round(255*r[0]),0,255),os(Math.round(255*r[1]),0,255),os(Math.round(255*r[2]),0,255),s)},"display-p3":A=>{let e=ar([A[0],A[1],A[2]]);return Os([e[0],e[1],e[2],A[3]])},"a98-rgb":hr,"prophoto-rgb":A=>{let e=fr([A[0],A[1],A[2]]);return Os([e[0],e[1],e[2],A[3]])},xyz:sr=A=>Os([A[0],A[1],A[2],A[3]]),"xyz-d50":A=>{let e=er([A[0],A[1],A[2]]);return Os([e[0],e[1],e[2],A[3]])},"xyz-d65":sr,rec2020:A=>{let e=Fr([A[0],A[1],A[2]]);return Os([e[0],e[1],e[2],A[3]])}},Ir={rgb:(A,e)=>{let t=e.filter(ts);if(3===t.length){let[A,e,s]=t.map(Ds),r=ps([A/255,e/255,s/255]),[i,n,o]=cs([r[0],r[1],r[2]]);return[i,n,o,1]}if(4===t.length){let[A,e,s,r]=t.map(Ds),i=ps([A/255,e/255,s/255]),[n,o,a]=cs([i[0],i[1],i[2]]);return[n,o,a,r]}return[0,0,0,1]},hsl:(A,e)=>{let[t,s,r,i]=Gs(A,e),n=ps(js([t,s,r])),[o,a,l]=cs([n[0],n[1],n[2]]);return[o,a,l,i]},lab:(A,e)=>{let[t,s,r,i]=Ws(e),[n,o,a]=Ar([t,s,r]);return[n,o,a,i]},lch:(A,e)=>{let[t,s,r,i]=$s(e),[n,o,a]=Ar(Zs([t,s,r]));return[n,o,a,i]},oklab:(A,e)=>{let[t,s,r,i]=Ws(e),[n,o,a]=qs([t,s,r]);return[n,o,a,i]},oklch:(A,e)=>{let[t,s,r,i]=Ys(e),[n,o,a]=qs(Zs([t,s,r]));return[n,o,a,i]}},Sr={srgb:A=>{let[e,t,s]=ds(ls([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"srgb-linear":A=>{let[e,t,s]=ls([A[0],A[1],A[2]]);return[os(Math.round(255*e),0,255),os(Math.round(255*t),0,255),os(Math.round(255*s),0,255),A[3]]},"display-p3":A=>{let[e,t,s]=or(ir([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"a98-rgb":A=>{let[e,t,s]=pr(lr([A[0],A[1],A[2]]));return[e,t,s,A[3]]},"prophoto-rgb":A=>{let[e,t,s]=wr(gr(Js([A[0],A[1],A[2]])));return[e,t,s,A[3]]},xyz:tr=A=>A,"xyz-d50":A=>{let[e,t,s]=Js([A[0],A[2],A[3]]);return[e,t,s,A[3]]},"xyz-d65":tr,rec2020:A=>{let[e,t,s]=yr(xr([A[0],A[1],A[2]]));return[e,t,s,A[3]]}},Lr={hsl:Xs,hsla:Xs,rgb:Er=(A,e)=>{let t=e.filter(ts);if(Ks(t))throw new Error("Relative color not supported for rgb()");if(3===t.length){let[A,e,s]=t.map(Ds);return Ms(A,e,s,1)}if(4===t.length){let[A,e,s,r]=t.map(Ds);return Ms(A,e,s,r)}return 5===t.length&&6===t[3].type&&"/"===t[3].value?Ms(Ds(t[0],0),Ds(t[1],1),Ds(t[2],2),Ds(t[4],3)):0},rgba:Er,lch:Vs,oklch:Ns,oklab:Ps,lab:Rs,color:kr},Mr=(A,e)=>vr.parse(A,zt.create(e).parseComponentValue()),Dr={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},Kr=A=>A.nodeType===Node.ELEMENT_NODE,Tr=A=>A.nodeType===Node.TEXT_NODE,Or=A=>"object"==typeof A.className,Rr=A=>Kr(A)&&typeof A.style<"u"&&!Or(A),Pr=A=>"INPUT"===A.tagName,Nr=A=>"HTML"===A.tagName,Vr=A=>"svg"===A.tagName,Gr=A=>"BODY"===A.tagName,Xr=A=>"CANVAS"===A.tagName,$r=A=>"VIDEO"===A.tagName,Wr=A=>"IMG"===A.tagName,Yr=A=>"IFRAME"===A.tagName,Jr=A=>"STYLE"===A.tagName,zr=A=>"SCRIPT"===A.tagName,_r=A=>"TEXTAREA"===A.tagName,jr=A=>"SELECT"===A.tagName,Zr=A=>"SLOT"===A.tagName,qr=A=>"LI"===A.tagName,Ai=A=>"OL"===A.tagName,ei=A=>!Or(A)&&A.tagName.indexOf("-")>0,ti=new Set(["IMG","VIDEO","AUDIO","CANVAS","IFRAME","INPUT","TEXTAREA","SELECT","BR","HR","META","LINK","BASE","COL","SOURCE","TRACK","WBR","AREA","PARAM","EMBED","OBJECT"]),si=A=>!Or(A)&&!ti.has(A.tagName),ri={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){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}}},ii=(A,e)=>0!==(A&e),ni=class{constructor(){this.counters={}}getCounterValue(A){let e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){return this.counters[A]||[]}pop(A){A.forEach(A=>this.counters[A].pop())}parse(A){let e=A.counterIncrement,t=A.counterReset,s=!0;null!==e&&e.forEach(A=>{let e=this.counters[A.counter];e&&0!==A.increment&&(s=!1,e.length||e.push(1),e[Math.max(0,e.length-1)]+=A.increment)});let r=[];return s&&t.forEach(A=>{let e=this.counters[A.counter];r.push(A.counter),e||(e=this.counters[A.counter]=[]),e.push(A.reset)}),r}},oi={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"]},ai={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:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},li={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:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},ci={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:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},di=(A,e,t,s,r,i)=>A<e||A>t?bi(A,r,i.length>0):s.integers.reduce((e,t,r)=>{for(;A>=t;)A-=t,e+=s.values[r];return e},"")+i,pi=(A,e,t,s)=>{let r="";do{t||A--,r=s(A)+r,A/=e}while(A*e>=e);return r},hi=(A,e,t,s,r)=>{let i=t-e+1;return(A<0?"-":"")+(pi(Math.abs(A),i,s,A=>ce(Math.floor(A%i)+e))+r)},ui=(A,e,t=". ")=>{let s=e.length;return pi(Math.abs(A),s,!1,A=>e[Math.floor(A%s)])+t},gi=(A,e,t,s,r,i)=>{if(A<-9999||A>9999)return bi(A,4,r.length>0);let n=Math.abs(A),o=r;if(0===n)return e[0]+o;for(let s=0;n>0&&s<=4;s++){let r=n%10;0===r&&ii(i,1)&&""!==o?o=e[r]+o:r>1||1===r&&0===s||1===r&&1===s&&ii(i,2)||1===r&&1===s&&ii(i,4)&&A>100||1===r&&s>1&&ii(i,8)?o=e[r]+(s>0?t[s-1]:"")+o:1===r&&s>0&&(o=t[s-1]+o),n=Math.floor(n/10)}return(A<0?s:"")+o},Bi="\u5341\u767e\u5343\u842c",wi="\u62fe\u4f70\u4edf\u842c",fi="\u30de\u30a4\u30ca\u30b9",mi="\ub9c8\uc774\ub108\uc2a4",bi=(A,e,t)=>{let s=t?". ":"",r=t?"\u3001":"",i=t?", ":"",n=t?" ":"";switch(e){case 0:return"\u2022"+n;case 1:return"\u25e6"+n;case 2:return"\u25fe"+n;case 5:let e=hi(A,48,57,!0,s);return e.length<4?`0${e}`:e;case 4:return ui(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",r);case 6:return di(A,1,3999,oi,3,s).toLowerCase();case 7:return di(A,1,3999,oi,3,s);case 8:return hi(A,945,969,!1,s);case 9:return hi(A,97,122,!1,s);case 10:return hi(A,65,90,!1,s);case 11:return hi(A,1632,1641,!0,s);case 12:case 49:return di(A,1,9999,ai,3,s);case 35:return di(A,1,9999,ai,3,s).toLowerCase();case 13:return hi(A,2534,2543,!0,s);case 14:case 30:return hi(A,6112,6121,!0,s);case 15:return ui(A,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",r);case 16:return ui(A,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",r);case 17:case 48:return gi(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Bi,"\u8ca0",r,14);case 47:return gi(A,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",wi,"\u8ca0",r,15);case 42:return gi(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Bi,"\u8d1f",r,14);case 41:return gi(A,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",wi,"\u8d1f",r,15);case 26:return gi(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",fi,r,0);case 25:return gi(A,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",fi,r,7);case 31:return gi(A,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",mi,i,7);case 33:return gi(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",mi,i,0);case 32:return gi(A,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",mi,i,7);case 18:return hi(A,2406,2415,!0,s);case 20:return di(A,1,19999,ci,3,s);case 21:return hi(A,2790,2799,!0,s);case 22:return hi(A,2662,2671,!0,s);case 52:return di(A,1,10999,li,3,s);case 23:return ui(A,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return ui(A,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return hi(A,3302,3311,!0,s);case 28:return ui(A,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",r);case 29:return ui(A,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",r);case 34:return hi(A,3792,3801,!0,s);case 37:return hi(A,6160,6169,!0,s);case 38:return hi(A,4160,4169,!0,s);case 39:return hi(A,2918,2927,!0,s);case 40:return hi(A,1776,1785,!0,s);case 43:return hi(A,3046,3055,!0,s);case 44:return hi(A,3174,3183,!0,s);case 45:return hi(A,3664,3673,!0,s);case 46:return hi(A,3872,3881,!0,s);default:return hi(A,48,57,!0,s)}},Ci={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(A,e)=>e.map(A=>{if(Zt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2;case"text":return 3}return 0})},yi={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Qi=(A,e)=>{let t=vr.parse(A,e[0]),s=e[1];return s&&us(s)?{color:t,stop:s}:{color:t,stop:null}},xi=(A,e)=>{let t=A[0],s=A[A.length-1];null===t.stop&&(t.stop=Cs),null===s.stop&&(s.stop=Qs);let r=[],i=0;for(let t=0;t<A.length;t++){let s=A[t].stop;if(null!==s){let A=Fs(s,e);A>i?r.push(A):r.push(i),i=A}else r.push(null)}let n=null;for(let A=0;A<r.length;A++){let e=r[A];if(null===e)null===n&&(n=A);else if(null!==n){let t=A-n,s=(e-r[n-1])/(t+1);for(let A=1;A<=t;A++)r[n+A-1]=s*A;n=null}}return A.map(({color:A},t)=>({color:A,stop:Math.max(Math.min(1,r[t]/e),0)}))},Fi=(A,e,t)=>{let s=e/2,r=t/2,i=Fs(A[0],e)-s,n=r-Fs(A[1],t);return(Math.atan2(n,i)+2*Math.PI)%(2*Math.PI)},vi=(A,e,t)=>{let s="number"==typeof A?A:Fi(A,e,t),r=Math.abs(e*Math.sin(s))+Math.abs(t*Math.cos(s)),i=e/2,n=t/2,o=r/2,a=Math.sin(s-Math.PI/2)*o,l=Math.cos(s-Math.PI/2)*o;return[r,i-l,i+l,n-a,n+a]},Ui=(A,e)=>Math.sqrt(A*A+e*e),Ei=(A,e,t,s,r)=>[[0,0],[0,e],[A,0],[A,e]].reduce((A,e)=>{let[i,n]=e,o=Ui(t-i,s-n);return(r?o<A.optimumDistance:o>A.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner,ki=(A,e,t,s,r)=>{let i=0,n=0;switch(A.size){case 0:0===A.shape?i=n=Math.min(Math.abs(e),Math.abs(e-s),Math.abs(t),Math.abs(t-r)):1===A.shape&&(i=Math.min(Math.abs(e),Math.abs(e-s)),n=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)i=n=Math.min(Ui(e,t),Ui(e,t-r),Ui(e-s,t),Ui(e-s,t-r));else if(1===A.shape){let A=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-s)),[o,a]=Ei(s,r,e,t,!0);i=Ui(o-e,(a-t)/A),n=A*i}break;case 1:0===A.shape?i=n=Math.max(Math.abs(e),Math.abs(e-s),Math.abs(t),Math.abs(t-r)):1===A.shape&&(i=Math.max(Math.abs(e),Math.abs(e-s)),n=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)i=n=Math.max(Ui(e,t),Ui(e,t-r),Ui(e-s,t),Ui(e-s,t-r));else if(1===A.shape){let A=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-s)),[o,a]=Ei(s,r,e,t,!1);i=Ui(o-e,(a-t)/A),n=A*i}}return Array.isArray(A.size)&&(i=Fs(A.size[0],s),n=2===A.size.length?Fs(A.size[1],r):i),[i,n]},Si="closest-side",Li="farthest-side",Mi="closest-corner",Di="farthest-corner",Ki="circle",Ti="ellipse",Oi="cover",Ri="contain",Ni=(A,e)=>({...Hi(A,e),type:3}),Vi=A=>1===A.type,Gi=A=>2===A.type,Xi=A=>3===A.type,$i={name:"image",parse:(A,e)=>{if(22===e.type){let t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){let t=Wi[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported image function "${e.name}"`);return t(A,e.values)}throw new Error(`Unsupported image type ${e.type}`)}},Wi={"linear-gradient":Hi=(A,e)=>{let t=Is(180),s=[];return ss(e).forEach((e,r)=>{if(0===r){let s=e[0];if(20===s.type&&"to"===s.value)return void(t=Hs(e));if(ks(s))return void(t=Es.parse(A,s))}let i=Qi(A,e);s.push(i)}),{angle:t,stops:s,type:1}},"-moz-linear-gradient":Ii=(A,e)=>{let t=Is(180),s=[];return ss(e).forEach((e,r)=>{if(0===r){let s=e[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(t=Hs(e));if(ks(s))return void(t=(Es.parse(A,s)+Is(270))%Is(360))}let i=Qi(A,e);s.push(i)}),{angle:t,stops:s,type:1}},"-ms-linear-gradient":Ii,"-o-linear-gradient":Ii,"-webkit-linear-gradient":Ii,"radial-gradient":(A,e)=>{let t=0,s=3,r=[],i=[];return ss(e).forEach((e,n)=>{let o=!0;if(0===n){let A=!1;o=e.reduce((e,r)=>{if(A)if(Zt(r))switch(r.value){case"center":return i.push(ys),e;case"top":case"left":return i.push(Cs),e;case"right":case"bottom":return i.push(Qs),e}else(us(r)||hs(r))&&i.push(r);else if(Zt(r))switch(r.value){case Ki:return t=0,!1;case Ti:return t=1,!1;case"at":return A=!0,!1;case Si:return s=0,!1;case Oi:case Li:return s=1,!1;case Ri:case Mi:return s=2,!1;case Di:return s=3,!1}else if(hs(r)||us(r))return Array.isArray(s)||(s=[]),s.push(r),!1;return e},o)}if(o){let t=Qi(A,e);r.push(t)}}),{size:s,shape:t,stops:r,position:i,type:2}},"-moz-radial-gradient":Pi=(A,e)=>{let t=0,s=3,r=[],i=[];return ss(e).forEach((e,n)=>{let o=!0;if(0===n?o=e.reduce((A,e)=>{if(Zt(e))switch(e.value){case"center":return i.push(ys),!1;case"top":case"left":return i.push(Cs),!1;case"right":case"bottom":return i.push(Qs),!1}else if(us(e)||hs(e))return i.push(e),!1;return A},o):1===n&&(o=e.reduce((A,e)=>{if(Zt(e))switch(e.value){case Ki:return t=0,!1;case Ti:return t=1,!1;case Ri:case Si:return s=0,!1;case Li:return s=1,!1;case Mi:return s=2,!1;case Oi:case Di:return s=3,!1}else if(hs(e)||us(e))return Array.isArray(s)||(s=[]),s.push(e),!1;return A},o)),o){let t=Qi(A,e);r.push(t)}}),{size:s,shape:t,stops:r,position:i,type:2}},"-ms-radial-gradient":Pi,"-o-radial-gradient":Pi,"-webkit-radial-gradient":Pi,"-webkit-gradient":(A,e)=>{let t=Is(180),s=[],r=1;return ss(e).forEach((e,t)=>{let i=e[0];if(0===t){if(Zt(i)&&"linear"===i.value)return void(r=1);if(Zt(i)&&"radial"===i.value)return void(r=2)}if(18===i.type)if("from"===i.name){let e=vr.parse(A,i.values[0]);s.push({stop:Cs,color:e})}else if("to"===i.name){let e=vr.parse(A,i.values[0]);s.push({stop:Qs,color:e})}else if("color-stop"===i.name){let e=i.values.filter(ts);if(2===e.length){let t=vr.parse(A,e[1]),r=e[0];jt(r)&&s.push({stop:{type:16,number:100*r.number,flags:r.flags},color:t})}}}),1===r?{angle:(t+Is(180))%Is(360),stops:s,type:r}:{size:3,shape:0,stops:s,position:[],type:r}},"repeating-linear-gradient":Ni,"-webkit-repeating-linear-gradient":Ni,"-moz-repeating-linear-gradient":Ni,"-ms-repeating-linear-gradient":Ni,"-o-repeating-linear-gradient":Ni},Yi={name:"background-image",initialValue:"none",type:1,prefix:!1,skipCache:!0,parse:(A,e)=>{if(0===e.length)return[];let t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(A=>ts(A)&&te(A)).map(e=>$i.parse(A,e))}},Ji={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(A,e)=>e.map(A=>{if(Zt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})},zi={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(A,e)=>ss(e).map(A=>A.map(fs).filter(A=>null!==A)).map(bs)},_i={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(A,e)=>ss(e).map(A=>A.filter(Zt).map(A=>A.value).join(" ")).map(ji)},ji=A=>{switch(A){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}},Zi={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(A,e)=>ss(e).map(A=>A.map(A=>qi(A)?A:fs(A)).filter(A=>null!==A))},qi=A=>Zt(A)||us(A),en=(An=A=>({name:`border-${A}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}))("top"),tn=An("right"),sn=An("bottom"),rn=An("left"),on=(nn=A=>({name:`border-${A}-radius`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>bs(e.filter(us))}))("top-left"),an=nn("top-right"),ln=nn("bottom-right"),cn=nn("bottom-left"),pn=(dn=A=>({name:`border-${A}-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}}))("top"),hn=dn("right"),un=dn("bottom"),gn=dn("left"),wn=(Bn=A=>({name:`border-${A}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>_t(e)?e.number:0}))("top"),fn=Bn("right"),mn=Bn("bottom"),bn=Bn("left"),Cn={type:0},yn=A=>{let[e]=A;return e?Zt(e)?"farthest-side"===e.value?"farthest-side":"closest-side":us(e)?e:"closest-side":"closest-side"},Qn=A=>{let e=null,t=null;for(let s of A)if(Zt(s))switch(s.value){case"left":e=Cs;break;case"right":e=Qs;break;case"top":t=Cs;break;case"bottom":t=Qs;break;case"center":null===e?e=ys:null===t&&(t=ys)}else us(s)&&(null===e?e=s:null===t&&(t=s));return{cx:e??ys,cy:t??ys}},xn=A=>{let e=[];for(let t of A)if(31!==t.type){if(Zt(t)&&"round"===t.value)break;us(t)&&e.push(t)}let t=e[0]??Cs,s=e[1]??t;return{type:1,top:t,right:s,bottom:e[2]??t,left:e[3]??s}},Fn=A=>{let e=A.filter(es),t=e.findIndex(A=>As(A,"at")),s=-1===t?e:e.slice(0,t),r=-1===t?[]:e.slice(t+1);return{type:2,radius:yn(s),...Qn(r)}},vn=A=>{let e=A.filter(es),t=e.findIndex(A=>As(A,"at")),s=-1===t?e:e.slice(0,t),r=-1===t?[]:e.slice(t+1);return{type:3,rx:yn(s.slice(0,1)),ry:yn(s.slice(1,2)),...Qn(r)}},Un=A=>{let e=ss(A),t=[];for(let A of e){if(1===A.length&&Zt(A[0]))continue;let e=A.filter(us);e.length>=2&&t.push([e[0],e[1]])}return{type:4,points:t}},En=A=>{let e=A.find(A=>0===A.type);return e?{type:5,d:e.value}:Cn},kn={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(A,e)=>{if(Zt(e)&&"none"===e.value)return Cn;if(18===e.type)switch(e.name){case"inset":return xn(e.values);case"circle":return Fn(e.values);case"ellipse":return vn(e.values);case"polygon":return Un(e.values);case"path":return En(e.values)}return Cn}},Hn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},In={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(A,e)=>"rtl"===e?1:0},Sn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(A,e)=>e.filter(Zt).reduce((A,e)=>A|Ln(e.value),0)},Ln=A=>{switch(A){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},Mn={name:"float",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Dn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(A,e)=>20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0},Kn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>"strict"===e?"strict":"normal"},Tn={name:"line-height",initialValue:"normal",prefix:!1,type:4},On=(A,e)=>Zt(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:us(A)?Fs(A,e):e,Rn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,skipCache:!0,parse:(A,e)=>20===e.type&&"none"===e.value?null:$i.parse(A,e)},Pn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(A,e)=>"inside"===e?0:1},Vn=(Nn=A=>({name:`margin-${A}`,initialValue:"0",prefix:!1,type:4}))("top"),Gn=Nn("right"),Xn=Nn("bottom"),$n=Nn("left"),Wn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(A,e)=>e.filter(Zt).map(A=>{switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Yn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>"break-word"===e?"break-word":"normal"},zn=(Jn=A=>({name:`padding-${A}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}))("top"),_n=Jn("right"),jn=Jn("bottom"),Zn=Jn("left"),qn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Ao={name:"position",initialValue:"static",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},eo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>1===e.length&&As(e[0],"none")?[]:ss(e).map(e=>{let t={color:Dr.TRANSPARENT,offsetX:Cs,offsetY:Cs,blur:Cs},s=0;for(let r=0;r<e.length;r++){let i=e[r];hs(i)?(0===s?t.offsetX=i:1===s?t.offsetY=i:t.blur=i,s++):t.color=vr.parse(A,i)}return t})},to={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},so={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(A,e)=>{if(20===e.type&&"none"===e.value)return null;if(18===e.type){let t=ro[e.name];if(typeof t>"u")throw new Error(`Attempting to parse an unsupported transform function "${e.name}"`);return t(A,e.values)}return null}},ro={matrix:(A,e)=>{let t=e.filter(A=>17===A.type).map(A=>A.number);return 6===t.length?t:null},matrix3d:(A,e)=>{let t=e.filter(A=>17===A.type).map(A=>A.number),[s,r,{},{},i,n,{},{},{},{},{},{},o,a,{},{}]=t;return 16===t.length?[s,r,i,n,o,a]:null},rotate:(A,e)=>{if(1!==e.length)return null;let t=e[0],s=0;if(17===t.type&&0===t.number)s=0;else{if(15!==t.type)return null;s=Es.parse(A,t)}let r=Math.cos(s),i=Math.sin(s);return[r,i,-i,r,0,0]}},no=[io={type:16,number:50,flags:4},io],oo={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(A,e)=>{let t=e.filter(us);return 2!==t.length?no:[t[0],t[1]]}},ao={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(A,e)=>20===e.type&&"none"===e.value?null:17===e.type&&0===e.number?0:15===e.type?180*Es.parse(A,e)/Math.PI:null},lo={name:"visibility",initialValue:"none",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},co={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"break-all":return"break-all";case"keep-all":return"keep-all";default:return"normal"}}},po={name:"white-space",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"pre":return"pre";case"nowrap":return"nowrap";case"pre-wrap":return"pre-wrap";case"pre-line":return"pre-line";default:return"normal"}}},ho=A=>0!==A,uo=A=>3===A||4===A,go={name:"writing-mode",initialValue:"horizontal-tb",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"vertical-rl":return 1;case"vertical-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4;default:return 0}}},Bo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>{if(20===e.type)return{auto:!0,order:0};if(jt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},wo={name:"time",parse:(A,e)=>{if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},fo={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(A,e)=>jt(e)?e.number:1},mo={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bo={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(A,e)=>e.filter(Zt).map(A=>{switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(A=>0!==A)},Co={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},yo={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>{if(Zt(e))switch(e.value){case"auto":return"auto";case"from-font":return"from-font"}return _t(e)?e.number:"auto"}},Qo={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(A,e)=>Zt(e)&&"auto"===e.value?"auto":_t(e)?e.number:"auto"},xo={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=[],r=[],i=!1;return e.forEach(A=>{switch(A.type){case 20:t.push(A.value);break;case 0:i=!0,t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:s.push(t.join(" ")),r.push(i),i=!1,t.length=0}}),t.length&&(s.push(t.join(" ")),r.push(i)),s.map((A,e)=>r[e]||-1!==A.indexOf(" ")?`'${A.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/\n/g,"\\a ").replace(/\r/g,"\\d ").replace(/\f/g,"\\c ")}'`:A)}},Fo={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},vo={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(A,e)=>jt(e)?e.number:Zt(e)&&"bold"===e.value?700:400},Uo={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>e.filter(Zt).map(A=>A.value)},Eo={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ko={name:"content",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>{if(0===e.length)return[];let t=e[0];return 20===t.type&&"none"===t.value?[]:e}},Ho=(A,e)=>{let t=[],s=A.filter(es);for(let A=0;A<s.length;A++){let r=s[A],i=s[A+1];if(20===r.type){let A=i&&jt(i)?i.number:e;t.push([r.value,A])}}return t},Io={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>{if(0===e.length)return null;let t=e[0];return 20===t.type&&"none"===t.value?null:Ho(e,1).map(([A,e])=>({counter:A,increment:e}))}},So={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>0===e.length?[]:Ho(e,0).filter(([A])=>"none"!==A).map(([A,e])=>({counter:A,reset:e}))},Lo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(A,e)=>e.filter(_t).map(e=>wo.parse(A,e))},Mo={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(A,e)=>{if(0===e.length)return null;let t=e[0];if(20===t.type&&"none"===t.value)return null;let s=[],r=e.filter(qt);if(r.length%2!=0)return null;for(let A=0;A<r.length;A+=2){let e=r[A].value,t=r[A+1].value;s.push({open:e,close:t})}return s}},Do=(A,e,t)=>{if(!A)return"";let s=A[Math.min(e,A.length-1)];return s?t?s.open:s.close:""},Ko={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,e)=>1===e.length&&As(e[0],"none")?[]:ss(e).map(e=>{let t={color:255,offsetX:Cs,offsetY:Cs,blur:Cs,spread:Cs,inset:!1},s=0;for(let r=0;r<e.length;r++){let i=e[r];As(i,"inset")?t.inset=!0:hs(i)?(0===s?t.offsetX=i:1===s?t.offsetY=i:2===s?t.blur=i:t.spread=i,s++):t.color=vr.parse(A,i)}return t})},To={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(A,e)=>{let t=[];return e.filter(Zt).forEach(A=>{switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(A=>{-1===t.indexOf(A)&&t.push(A)}),t}},Oo={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Ro={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(A,e)=>_t(e)?e.number:0},Po={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(A,e)=>20===e.type&&"none"===e.value?0:17===e.type?Math.max(0,Math.floor(e.number)):0},No={name:"object-fit",initialValue:"fill",prefix:!1,type:1,parse:(A,e)=>e.filter(Zt).reduce((A,e)=>A|Vo(e.value),0)},Vo=A=>{switch(A){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Go={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(A,e)=>"ellipsis"===e?1:0},Xo={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(A,e)=>{switch(e.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return 1;case"pixelated":case"-webkit-optimize-contrast":return 2;case"smooth":case"high-quality":return 3;default:return 0}}},$o={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"},Wo=new Set(Object.values($o)),Yo={name:"mix-blend-mode",initialValue:"normal",type:2,prefix:!1,parse:(A,e)=>Wo.has(e)?e:$o.NORMAL},Jo={name:"filter",initialValue:"none",prefix:!1,type:1,parse:(A,e)=>{if(1===e.length&&20===e[0].type&&"none"===e[0].value)return null;let t=[];for(let A of e)if(18===A.type){let e=A,s=zo(e.values);switch(e.name){case"blur":t.push(`blur(${s}px)`);break;case"brightness":case"contrast":case"invert":case"opacity":case"saturate":case"sepia":t.push(`${e.name}(${s})`);break;case"grayscale":t.push(`grayscale(${s})`);break;case"hue-rotate":t.push(`hue-rotate(${s}deg)`);break;case"drop-shadow":t.push(`drop-shadow(${s})`)}}return t.length>0?t.join(" "):null}},zo=A=>{let e=[];for(let t of A)31!==t.type&&(15===t.type?e.push(`${t.number}${t.unit}`):17===t.type?e.push(`${t.number}`):16===t.type?e.push(`${t.number}%`):20===t.type?e.push(t.value):5===t.type&&e.push(`#${t.value}`));return e.join(" ")},_o={name:"font-variant-ligatures",initialValue:"normal",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 1;case"common-ligatures":return 2;case"no-common-ligatures":return 3;case"discretionary-ligatures":return 4;case"no-discretionary-ligatures":return 5;case"historical-ligatures":return 6;case"no-historical-ligatures":return 7;case"contextual":return 8;case"no-contextual":return 9;default:return 0}}},jo={name:"zoom",initialValue:"1",type:0,prefix:!1,parse:(A,e)=>16===e.type?Math.max(0,e.number/100):17===e.type?Math.max(0,e.number):1},Zo={name:"object-position",initialValue:"50% 50%",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=0;for(;s<e.length&&t.length<2;){let A=e[s];if(Zt(A))switch(A.value){case"left":case"top":t.push(Cs);break;case"center":t.push(ys);break;case"right":case"bottom":t.push(Qs)}else us(A)&&t.push(A);s++}for(;t.length<2;)t.push(ys);return[t[0],t[1]]}},qo=new Set(Object.values({NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"})),Aa={name:"background-blend-mode",initialValue:"normal",prefix:!1,type:1,parse:(A,e)=>{let t=[],s=e.filter(ts);for(let A of s)Zt(A)&&qo.has(A.value)&&t.push(A.value);return t.length>0?t:["normal"]}},ea={name:"border-image-source",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:(A,e)=>{if(0===e.length)return null;let t=e.filter(A=>ts(A)&&te(A));return 0===t.length?null:$i.parse(A,t[0])}},ta=A=>{let e=[...A];return 1===e.length?e.push(e[0],e[0],e[0]):2===e.length?e.push(e[0],e[1]):3===e.length&&e.push(e[1]),e.slice(0,4)},sa={name:"border-image-slice",initialValue:"100%",prefix:!1,type:1,parse:(A,e)=>{let t=e.filter(es),s=[],r=!1,i="percent";for(let A of t)Zt(A)&&"fill"===A.value?r=!0:17===A.type?(s.push(A.number),i="number"):16===A.type&&(s.push(A.number),i="percent");let[n,o,a,l]=ta(s.length>0?s:[100]);return{top:n,right:o,bottom:a,left:l,fill:r,unit:i}}},ra=A=>{switch(A){case"repeat":return 1;case"round":return 2;case"space":return 3;default:return 0}},ia={name:"border-image-repeat",initialValue:"stretch",prefix:!1,type:1,parse:(A,e)=>{let t=e.filter(es),s=[];for(let A of t)Zt(A)&&s.push(ra(A.value));let r=s[0]??0;return{horizontal:r,vertical:s[1]??r}}},na={name:"box-decoration-break",initialValue:"slice",prefix:!1,type:2,parse:(A,e)=>"clone"===e?1:0},oa=class{constructor(A){this.styles=A}get topColor(){return this.styles.borderTopColor}get rightColor(){return this.styles.borderRightColor}get bottomColor(){return this.styles.borderBottomColor}get leftColor(){return this.styles.borderLeftColor}get topStyle(){return this.styles.borderTopStyle}get rightStyle(){return this.styles.borderRightStyle}get bottomStyle(){return this.styles.borderBottomStyle}get leftStyle(){return this.styles.borderLeftStyle}get topWidth(){return this.styles.borderTopWidth}get rightWidth(){return this.styles.borderRightWidth}get bottomWidth(){return this.styles.borderBottomWidth}get leftWidth(){return this.styles.borderLeftWidth}get topLeftRadius(){return this.styles.borderTopLeftRadius}get topRightRadius(){return this.styles.borderTopRightRadius}get bottomRightRadius(){return this.styles.borderBottomRightRadius}get bottomLeftRadius(){return this.styles.borderBottomLeftRadius}get imageSource(){return this.styles.borderImageSource}get imageSlice(){return this.styles.borderImageSlice}get imageRepeat(){return this.styles.borderImageRepeat}get boxShadow(){return this.styles.boxShadow}},aa=class{constructor(A){this.styles=A}get color(){return this.styles.backgroundColor}get image(){return this.styles.backgroundImage}get clip(){return this.styles.backgroundClip}get origin(){return this.styles.backgroundOrigin}get position(){return this.styles.backgroundPosition}get repeat(){return this.styles.backgroundRepeat}get size(){return this.styles.backgroundSize}get blendMode(){return this.styles.backgroundBlendMode}},la=class{constructor(A){this.styles=A}get family(){return this.styles.fontFamily}get size(){return this.styles.fontSize}get style(){return this.styles.fontStyle}get variant(){return this.styles.fontVariant}get weight(){return this.styles.fontWeight}get ligatures(){return this.styles.fontVariantLigatures}get color(){return this.styles.color}get letterSpacing(){return this.styles.letterSpacing}get lineHeight(){return this.styles.lineHeight}get textAlign(){return this.styles.textAlign}get textTransform(){return this.styles.textTransform}get textOverflow(){return this.styles.textOverflow}get textShadow(){return this.styles.textShadow}get textDecorationColor(){return this.styles.textDecorationColor}get textDecorationLine(){return this.styles.textDecorationLine}get textDecorationStyle(){return this.styles.textDecorationStyle}get textDecorationThickness(){return this.styles.textDecorationThickness}get textUnderlineOffset(){return this.styles.textUnderlineOffset}get wordBreak(){return this.styles.wordBreak}get lineBreak(){return this.styles.lineBreak}get overflowWrap(){return this.styles.overflowWrap}get writingMode(){return this.styles.writingMode}get direction(){return this.styles.direction}get webkitTextStrokeColor(){return this.styles.webkitTextStrokeColor}get webkitTextStrokeWidth(){return this.styles.webkitTextStrokeWidth}get webkitLineClamp(){return this.styles.webkitLineClamp}get paintOrder(){return this.styles.paintOrder}},ca=class{constructor(A){this.styles=A}get display(){return this.styles.display}get position(){return this.styles.position}get float(){return this.styles.float}get zIndex(){return this.styles.zIndex}get marginTop(){return this.styles.marginTop}get marginRight(){return this.styles.marginRight}get marginBottom(){return this.styles.marginBottom}get marginLeft(){return this.styles.marginLeft}get paddingTop(){return this.styles.paddingTop}get paddingRight(){return this.styles.paddingRight}get paddingBottom(){return this.styles.paddingBottom}get paddingLeft(){return this.styles.paddingLeft}get overflowX(){return this.styles.overflowX}get overflowY(){return this.styles.overflowY}get opacity(){return this.styles.opacity}get visibility(){return this.styles.visibility}get transform(){return this.styles.transform}get transformOrigin(){return this.styles.transformOrigin}get rotate(){return this.styles.rotate}get zoom(){return this.styles.zoom}get clipPath(){return this.styles.clipPath}get mixBlendMode(){return this.styles.mixBlendMode}get filter(){return this.styles.filter}get imageRendering(){return this.styles.imageRendering}get objectFit(){return this.styles.objectFit}get objectPosition(){return this.styles.objectPosition}get boxDecorationBreak(){return this.styles.boxDecorationBreak}get listStyleImage(){return this.styles.listStyleImage}get listStylePosition(){return this.styles.listStylePosition}get listStyleType(){return this.styles.listStyleType}get animationDuration(){return this.styles.animationDuration}isVisible(){return this.styles.isVisible()}isTransparent(){return this.styles.isTransparent()}isTransformed(){return this.styles.isTransformed()}isPositioned(){return this.styles.isPositioned()}isPositionedWithZIndex(){return this.styles.isPositionedWithZIndex()}isFloating(){return this.styles.isFloating()}isInlineLevel(){return this.styles.isInlineLevel()}},da=class A{get border(){return this._border??(this._border=new oa(this))}get background(){return this._background??(this._background=new aa(this))}get font(){return this._font??(this._font=new la(this))}get layout(){return this._layout??(this._layout=new ca(this))}static{this.standardProps=[["animationDuration",Lo,"animationDuration"],["backgroundClip",Ci,"backgroundClip"],["backgroundColor",yi,"backgroundColor"],["backgroundImage",Yi,"backgroundImage"],["backgroundOrigin",Ji,"backgroundOrigin"],["backgroundPosition",zi,"backgroundPosition"],["backgroundRepeat",_i,"backgroundRepeat"],["backgroundSize",Zi,"backgroundSize"],["borderTopColor",en,"borderTopColor"],["borderRightColor",tn,"borderRightColor"],["borderBottomColor",sn,"borderBottomColor"],["borderLeftColor",rn,"borderLeftColor"],["borderTopLeftRadius",on,"borderTopLeftRadius"],["borderTopRightRadius",an,"borderTopRightRadius"],["borderBottomRightRadius",ln,"borderBottomRightRadius"],["borderBottomLeftRadius",cn,"borderBottomLeftRadius"],["borderTopStyle",pn,"borderTopStyle"],["borderRightStyle",hn,"borderRightStyle"],["borderBottomStyle",un,"borderBottomStyle"],["borderLeftStyle",gn,"borderLeftStyle"],["borderTopWidth",wn,"borderTopWidth"],["borderRightWidth",fn,"borderRightWidth"],["borderBottomWidth",mn,"borderBottomWidth"],["borderLeftWidth",bn,"borderLeftWidth"],["boxShadow",Ko,"boxShadow"],["clipPath",kn,"clipPath"],["color",Hn,"color"],["direction",In,"direction"],["display",Sn,"display"],["fontFamily",xo,"fontFamily"],["fontSize",Fo,"fontSize"],["fontStyle",Eo,"fontStyle"],["fontVariant",Uo,"fontVariant"],["fontWeight",vo,"fontWeight"],["letterSpacing",Dn,"letterSpacing"],["lineBreak",Kn,"lineBreak"],["lineHeight",Tn,"lineHeight"],["listStyleImage",Rn,"listStyleImage"],["listStylePosition",Pn,"listStylePosition"],["listStyleType",ri,"listStyleType"],["marginTop",Vn,"marginTop"],["marginRight",Gn,"marginRight"],["marginBottom",Xn,"marginBottom"],["marginLeft",$n,"marginLeft"],["opacity",fo,"opacity"],["overflowWrap",Yn,"overflowWrap"],["paddingTop",zn,"paddingTop"],["paddingRight",_n,"paddingRight"],["paddingBottom",jn,"paddingBottom"],["paddingLeft",Zn,"paddingLeft"],["paintOrder",To,"paintOrder"],["position",Ao,"position"],["textAlign",qn,"textAlign"],["textDecorationStyle",Co,"textDecorationStyle"],["textDecorationThickness",yo,"textDecorationThickness"],["textUnderlineOffset",Qo,"textUnderlineOffset"],["textShadow",eo,"textShadow"],["textTransform",to,"textTransform"],["textOverflow",Go,"textOverflow"],["transform",so,"transform"],["transformOrigin",oo,"transformOrigin"],["rotate",ao,"rotate"],["visibility",lo,"visibility"],["webkitTextStrokeColor",Oo,"webkitTextStrokeColor"],["webkitTextStrokeWidth",Ro,"webkitTextStrokeWidth"],["webkitLineClamp",Po,"webkitLineClamp"],["wordBreak",co,"wordBreak"],["whiteSpace",po,"whiteSpace"],["writingMode",go,"writingMode"],["zIndex",Bo,"zIndex"],["objectFit",No,"objectFit"],["imageRendering",Xo,"imageRendering"],["mixBlendMode",Yo,"mixBlendMode"],["filter",Jo,"filter"],["fontVariantLigatures",_o,"fontVariantLigatures"],["zoom",jo,"zoom"],["objectPosition",Zo,"objectPosition"],["backgroundBlendMode",Aa,"backgroundBlendMode"],["borderImageSource",ea,"borderImageSource"],["borderImageSlice",sa,"borderImageSlice"],["borderImageRepeat",ia,"borderImageRepeat"],["boxDecorationBreak",na,"boxDecorationBreak"]]}constructor(e,t){let s=A.standardProps;if("none"===t.display){this.display=0;for(let[A,t]of s)"display"!==A&&(this[A]=ga(e,t,void 0));this.float=ga(e,Mn,void 0),this.textDecorationColor=ga(e,mo,void 0),this.textDecorationLine=ga(e,bo,void 0);let A=ga(e,Wn,void 0);return this.overflowX=A[0],void(this.overflowY=A[A.length>1?1:0])}for(let[A,r,i]of s)this[A]=ga(e,r,t[i]);this.float=ga(e,Mn,t.cssFloat),this.textDecorationColor=ga(e,mo,t.textDecorationColor??t.color),this.textDecorationLine=ga(e,bo,t.textDecorationLine??t.textDecoration);let r=ga(e,Wn,t.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0]}isVisible(){return this.display>0&&this.opacity>0&&0===this.visibility}isTransparent(){return Ss(this.backgroundColor)}isTransformed(){return null!==this.transform||null!==this.rotate}isPositioned(){return 0!==this.position}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return 0!==this.float}isInlineLevel(){return ii(this.display,4)||ii(this.display,33554432)||ii(this.display,268435456)||ii(this.display,536870912)||ii(this.display,67108864)||ii(this.display,134217728)}},pa=class{constructor(A,e){this.content=ga(A,ko,e.content),this.quotes=ga(A,Mo,e.quotes)}},ha=class{constructor(A,e){this.counterIncrement=ga(A,Io,e.counterIncrement),this.counterReset=ga(A,So,e.counterReset)}},ua=new Map,ga=(A,e,t)=>{let s=null!==t&&typeof t<"u"?t.toString():e.initialValue;""===s.trim()&&(s=e.initialValue);let r=ua.get(e);if(r){let A=r.get(s);if(void 0!==A)return r.delete(s),r.set(s,A),A}let i=Jt.get();i.write(s);let n=new zt(i.read());Jt.release(i);let o=(()=>{switch(e.type){case 2:{let t=n.parseComponentValue();return e.parse(A,Zt(t)?t.value:e.initialValue)}case 0:return e.parse(A,n.parseComponentValue());case 1:return e.parse(A,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(e.format){case"angle":return Es.parse(A,n.parseComponentValue());case"color":return vr.parse(A,n.parseComponentValue());case"image":return $i.parse(A,n.parseComponentValue());case"length":{let A=n.parseComponentValue();return hs(A)?A:Cs}case"length-percentage":{let A=n.parseComponentValue();return us(A)?A:Cs}case"time":return wo.parse(A,n.parseComponentValue())}}})();if(r||(r=new Map,ua.set(e,r)),!(e.skipCache||3===e.type&&"image"===e.format)){if(r.size>=200){let A=r.keys().next().value;r.delete(A)}r.set(s,o)}return o},Ba=A=>{if("function"!=typeof A.getAttribute)return 0;switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},wa=(A,e)=>{let t=Ba(A);return 1===t||e===t},fa=class{constructor(A,e,t){this.cloneNodeFn=A,this.options=e,this.context=t}appendChildNode(A,e,t){this.safeAppendClonedChild(A,e,t)}cloneChildNodes(A,e,t){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,t),this.cloneLightDOMChildren(A,e,t)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,t):this.cloneLightDOMChildren(A,e,t)}shouldCloneChild(A){return!(Kr(A)&&(zr(A)||A.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(A)))}shouldCloneStyleElement(A){return!this.options.copyStyles||!Kr(A)||!Jr(A)}safeAppendClonedChild(A,e,t){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNodeFn(e,t))}cloneAssignedNodes(A,e,t){A.forEach(A=>{this.safeAppendClonedChild(e,A,t)})}cloneSlotFallbackContent(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,t)}cloneSlotElement(A,e,t){if(!Zr(A))return;let s=A;if("function"!=typeof s.assignedNodes)return this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),void this.cloneSlotFallbackContent(A,e,t);let r=s.assignedNodes();if(!r||!Array.isArray(r))return this.context.logger.warn("assignedNodes() did not return a valid array",A),void this.cloneSlotFallbackContent(A,e,t);r.length>0?this.cloneAssignedNodes(r,e,t):this.cloneSlotFallbackContent(A,e,t)}cloneShadowDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)Kr(s)&&Zr(s)?this.cloneSlotElement(s,e,t):this.safeAppendClonedChild(e,s,t)}cloneLightDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t)}cloneSlotElementAsLightDOM(A,e,t){if(!Zr(A))return;let s=A;if("function"!=typeof s.assignedNodes){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t);return}let r=s.assignedNodes();if(r&&Array.isArray(r)&&r.length>0)r.forEach(A=>this.appendChildNode(e,A,t));else for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t)}cloneShadowDOMAsLightDOM(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)Kr(s)&&Zr(s)?this.cloneSlotElementAsLightDOM(s,e,t):this.appendChildNode(e,s,t)}},ma=A=>{let e=A;for(;e;){if(e.parentNode&&e.parentNode.host)return e.parentNode;let A=e.getRootNode();if(A&&A!==e.ownerDocument&&A.host)return A;e=e.parentNode}return null},ba=class{constructor(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new ni,this.quoteDepth=0,this.slotCloner=new fa((A,e)=>this.cloneNode(A,e),{ignoreElements:t.ignoreElements,copyStyles:t.copyStyles??!0},A),!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){let A=ma(e);A&&(this.options.iframeContainer=A)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){let t=Ca(A,e,this.options.iframeContainer);if(!t.contentWindow)throw new Error("Unable to find iframe window");let s=A.defaultView.pageXOffset,r=A.defaultView.pageYOffset,i=t.contentWindow,n=i.document,o=xa(t).then(async()=>{this.scrolledElements.forEach(ka),i&&i.scrollTo(e.left,e.top);let A=this.options.onclone,s=this.clonedReferenceElement;if(typeof s>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return n.fonts&&n.fonts.ready&&await n.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await Qa(n),"function"==typeof A&&await Promise.resolve().then(()=>A(n,s)),i.scrollTo(e.left,e.top),/AppleWebKit/g.test(navigator.userAgent)&&(i.scrollY!==e.top||i.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-e.left,i.scrollY-e.top,0,0)),t}),a=A.baseURI;n.open();let l=Ua(document.doctype)+"<html></html>";try{let A=this.referenceElement.ownerDocument?.defaultView,e=A&&A.trustedTypes,t=e?.getPolicy?.("html2canvas-pro");!t&&e&&(t=e.createPolicy("html2canvas-pro",{createHTML:A=>A}));let s=t?t.createHTML(l):l;n.write(s)}catch{n.write(l)}Ea(this.referenceElement.ownerDocument,s,r),n.close();let c=n.adoptNode(this.documentElement);return Da(c,a),n.replaceChild(c,n.documentElement),o}createElementClone(A){if(wa(A,2),Xr(A))return this.createCanvasClone(A);if($r(A))return this.createVideoClone(A);if(Jr(A))return this.createStyleClone(A);let e=A.cloneNode(!1);return Wr(e)&&(Wr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),ei(e)&&!Or(e)?this.createCustomElementClone(A,e):e}createCustomElementClone(A,e){let t=document.createElement("div");t.className=e.className,va(e.style,t);let s=e.attributes;for(let A=0;A<s.length;A++){let e=s[A];"class"!==e.name&&"style"!==e.name&&t.setAttribute(e.name,e.value)}if(A.shadowRoot)try{t.attachShadow({mode:"open"})}catch(A){this.context.logger.error("Failed to attach shadow root to custom element clone:",A)}return t}createStyleClone(A){try{let e=A.sheet;if(e&&e.cssRules){let t=[].slice.call(e.cssRules,0).reduce((A,e)=>e&&"string"==typeof e.cssText?A+e.cssText:A,""),s=A.cloneNode(!1);return s.textContent=t,this.options.cspNonce&&(s.nonce=this.options.cspNonce),s}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}let e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){let e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}let e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;let t=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&t)s.putImageData(t.getImageData(0,0,A.width,A.height),0,0);else{let e=A.getContext("webgl2")??A.getContext("webgl");e&&!1===e.getContextAttributes()?.preserveDrawingBuffer&&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){let e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;let t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}let s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,t){this.slotCloner.appendChildNode(A,e,t)}cloneChildNodes(A,e,t){this.slotCloner.cloneChildNodes(A,e,t)}cloneNode(A,e){if(Tr(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);let t=A.ownerDocument.defaultView;if(t&&Kr(A)&&(Rr(A)||Or(A))){let s=this.createElementClone(A);s.style.transitionProperty="none";let r=t.getComputedStyle(A),i=si(A);this.referenceElement===A&&Rr(s)&&(this.clonedReferenceElement=s),Gr(s)&&La(s,this.options.cspNonce);let n=this.counters.parse(new ha(this.context,r));if(i){let e=t.getComputedStyle(A,":before"),r=this.resolvePseudoContent(A,s,e,0);r&&s.insertBefore(r,s.firstChild);let i=t.getComputedStyle(A,":after"),n=this.resolvePseudoContent(A,s,i,1);n&&s.appendChild(n)}return ei(A)&&(e=!0),$r(A)||this.cloneChildNodes(A,s,e),this.counters.pop(n),(r&&(this.options.copyStyles||Or(A))&&!Yr(A)||e)&&va(r,s),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(_r(A)||jr(A))&&(_r(s)||jr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,t,s){if(!t)return;let r=t.content,i=e.ownerDocument;if(!i||!r||"none"===r||"-moz-alt-content"===r||"none"===t.display)return;this.counters.parse(new ha(this.context,t));let n=new pa(this.context,t),o=i.createElement("html2canvaspseudoelement");va(t,o),n.content.forEach(e=>{if(0===e.type)o.appendChild(i.createTextNode(e.value));else if(22===e.type){let A=i.createElement("img");A.src=e.value,A.style.opacity="1",o.appendChild(A)}else if(18===e.type){if("attr"===e.name){let t=e.values.filter(Zt);t.length&&o.appendChild(i.createTextNode(A.getAttribute(t[0].value)||""))}else if("counter"===e.name){let[A,t]=e.values.filter(ts);if(A&&Zt(A)){let e=this.counters.getCounterValue(A.value),s=t&&Zt(t)?ri.parse(this.context,t.value):3;o.appendChild(i.createTextNode(bi(e,s,!1)))}}else if("counters"===e.name){let[A,t,s]=e.values.filter(ts);if(A&&Zt(A)){let e=this.counters.getCounterValues(A.value),r=s&&Zt(s)?ri.parse(this.context,s.value):3,n=t&&0===t.type?t.value:"",a=e.map(A=>bi(A,r,!1)).join(n);o.appendChild(i.createTextNode(a))}}}else if(20===e.type)switch(e.value){case"open-quote":o.appendChild(i.createTextNode(Do(n.quotes,this.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(Do(n.quotes,--this.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(e.value))}}),o.className=`${Ha} ${Ia}`;let a=0===s?` ${Ha}`:` ${Ia}`;return Or(e)?e.className.baseValue+=a:e.className+=a,o}static destroy(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)}},Ca=(A,e,t)=>{let s=A.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=e.width.toString(),s.height=e.height.toString(),s.scrolling="no",s.setAttribute("data-html2canvas-ignore","true"),(t||A.body).appendChild(s),s},ya=A=>new Promise(e=>{A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}),Qa=A=>Promise.all([].slice.call(A.images,0).map(ya)),xa=A=>new Promise((e,t)=>{let s=A.contentWindow;if(!s)return t("No window assigned for iframe");let r=s.document;s.onload=A.onload=()=>{s.onload=A.onload=null;let t=0,i=setInterval(()=>{t++,(r.body.childNodes.length>0&&"complete"===r.readyState||t>=600)&&(clearInterval(i),e(A))},50)}}),Fa=["all","d","content"],va=(A,e)=>{let t=[];for(let e=A.length-1;e>=0;e--){let s=A.item(e);if(-1===Fa.indexOf(s)&&!s.startsWith("--")){let e=A.getPropertyValue(s);if(e){let r=A.getPropertyPriority(s);t.push(r?`${s}:${e} !${r}`:`${s}:${e}`)}}}return t.length>0&&(e.style.cssText=t.join(";")+";"),e},Ua=A=>{let e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=" "+A.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),A.publicId?(e+=' PUBLIC "'+A.publicId.replace(/"/g,"&quot;")+'"',A.systemId&&(e+=' "'+A.systemId.replace(/"/g,"&quot;")+'"')):A.systemId&&(e+=' SYSTEM "'+A.systemId.replace(/"/g,"&quot;")+'"'),e+=">"),e},Ea=(A,e,t)=>{A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},ka=([A,e,t])=>{A.scrollLeft=e,A.scrollTop=t},Ha="___html2canvas___pseudoelement_before",Ia="___html2canvas___pseudoelement_after",Sa='{\n content: "" !important;\n display: none !important;\n}',La=(A,e)=>{Ma(A,`.${Ha}:before${Sa}\n .${Ia}:after${Sa}`,e)},Ma=(A,e,t)=>{let s=A.ownerDocument;if(s){let r=s.createElement("style");r.textContent=e,t&&(r.nonce=t),A.appendChild(r)}},Da=(A,e)=>{let t=A.ownerDocument.createElement("base");t.href=e;let s=A.getElementsByTagName("head").item(0);s?.insertBefore(t,s?.firstChild??null)},Ka=class{static normalizeElement(A,e){let t={};return Rr(A)&&(e.animationDuration.some(A=>A>0)&&(t.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),null!==e.transform&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"),null!==e.rotate&&(t.rotate=A.style.rotate,A.style.rotate="0deg",void 0===t.transform&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"))),t}static restoreElement(A,e){Rr(A)&&(void 0!==e.animationDuration&&(A.style.animationDuration=e.animationDuration),void 0!==e.transform&&(A.style.transform=e.transform),void 0!==e.rotate&&(A.style.rotate=e.rotate))}},Ta=class{constructor(A,e,t={}){if(this.context=A,this.textNodes=[],this.elements=[],this.createsStackingContext=!1,this.createsRealStackingContext=!1,this.isListOwner=!1,this.debugRender=!1,wa(e,3),this.styles=new da(A,A.config.window.getComputedStyle(e,null)),!1!==t.normalizeDom&&Rr(e)&&(this.originalStyles=Ka.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=oe(this.context,e),"FIELDSET"===e.tagName){let A=e.querySelector(":scope > legend");if(A){let e=oe(this.context,A);this.legendBounds=e;let t=e.top+e.height/2-this.styles.borderTopWidth/2;this.bounds=new ne(this.bounds.left,t,this.bounds.width,this.bounds.height-(t-this.bounds.top))}}wa(e,4)&&(this.debugRender=!0)}restore(){this.originalStyles&&this.originalElement&&(Ka.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(let A of this.elements)A.restoreTree()}},Oa=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ra=0;Ra<64;Ra++)Oa["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Ra)]=Ra;for(Pa=function(A){var e,t,s,r,i,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<o;e+=4)t=Oa[A.charCodeAt(e)],s=Oa[A.charCodeAt(e+1)],r=Oa[A.charCodeAt(e+2)],i=Oa[A.charCodeAt(e+3)],c[a++]=t<<2|s>>4,c[a++]=(15&s)<<4|r>>2,c[a++]=(3&r)<<6|63&i;return l},Na=function(A){for(var e=A.length,t=[],s=0;s<e;s+=2)t.push(A[s+1]<<8|A[s]);return t},Va=function(A){for(var e=A.length,t=[],s=0;s<e;s+=4)t.push(A[s+3]<<24|A[s+2]<<16|A[s+1]<<8|A[s]);return t},Ga=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Xa=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},$a=function(A,e){var t=Pa(A),s=Array.isArray(t)?Va(t):new Uint32Array(t),r=Array.isArray(t)?Na(t):new Uint16Array(t),i=Ga(r,12,s[4]/2),n=2===s[5]?Ga(r,(24+s[4])/2):Xa(s,Math.ceil((24+s[4])/4));return new Wa(s[0],s[1],s[2],s[3],i,n)},Wa=function(){function A(A,e,t,s,r,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=r,this.data=i}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ya=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ja=0;Ja<64;Ja++)Ya["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Ja)]=Ja;za=8,_a=9,ja=11,Za=12,qa=function(A){for(var e=[],t=0,s=A.length;t<s;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<s){var i=A.charCodeAt(t++);56320==(64512&i)?e.push(((1023&r)<<10)+(1023&i)+65536):(e.push(r),t--)}else e.push(r)}return e},Al=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var s=[],r=-1,i="";++r<t;){var n=A[r];n<=65535?s.push(n):(n-=65536,s.push(55296+(n>>10),n%1024+56320)),(r+1===t||s.length>16384)&&(i+=String.fromCharCode.apply(String,s),s.length=0)}return i},el=$a("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAI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AAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigW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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),tl="\xd7",sl=function(A){return el.get(A)},rl=function(A,e,t){var s=t-2,r=e[s],i=e[t-1],n=e[t];if(2===i&&3===n)return tl;if(2===i||3===i||4===i||2===n||3===n||4===n)return"\xf7";if(i===za&&-1!==[za,_a,ja,Za].indexOf(n)||(i===ja||i===_a)&&(n===_a||10===n)||(i===Za||10===i)&&10===n||13===n||5===n||7===n||1===i)return tl;if(13===i&&14===n){for(;5===r;)r=e[--s];if(14===r)return tl}if(15===i&&15===n){for(var o=0;15===r;)o++,r=e[--s];if(o%2==0)return tl}return"\xf7"},il=function(A){var e=qa(A),t=e.length,s=0,r=0,i=e.map(sl);return{next:function(){if(s>=t)return{done:!0,value:null};for(var A=tl;s<t&&(A=rl(0,i,++s))===tl;);if(A!==tl||s===t){var n=Al.apply(null,e.slice(r,s));return r=s,{value:n,done:!1}}return{done:!0,value:null}}}},nl=function(A){for(var e,t=il(A),s=[];!(e=t.next()).done;)e.value&&s.push(e.value.slice());return s},ol=A=>{if(A.createRange){let e=A.createRange();if(e.getBoundingClientRect){let t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);let s=e.getBoundingClientRect(),r=Math.round(s.height);if(A.body.removeChild(t),123===r)return!0}}return!1},al=A=>{let e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);let t=A.createRange();e.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";let s=e.firstChild,r=le(s.data).map(A=>ce(A)),i=0,n={},o=r.every((A,e)=>{t.setStart(s,i),t.setEnd(s,i+A.length);let r=t.getBoundingClientRect();i+=A.length;let o=r.x>n.x||r.y>n.y;return n=r,0===e||o});return A.body.removeChild(e),o},ll=()=>typeof(new Image).crossOrigin<"u",cl=()=>"string"==typeof(new XMLHttpRequest).responseType,dl=A=>{let e=new Image,t=A.createElement("canvas"),s=t.getContext("2d");if(!s)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{s.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},pl=A=>0===A[0]&&255===A[1]&&0===A[2]&&255===A[3],hl=A=>{let e=A.createElement("canvas"),t=100;e.width=t,e.height=t;let s=e.getContext("2d");if(!s)return Promise.reject(new Error("Failed to get 2D rendering context"));s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,t,t);let r=new Image,i=e.toDataURL();r.src=i;let n=ul(t,t,0,0,r);return s.fillStyle="red",s.fillRect(0,0,t,t),gl(n).then(e=>{s.drawImage(e,0,0);let r=s.getImageData(0,0,t,t).data;s.fillStyle="red",s.fillRect(0,0,t,t);let n=A.createElement("div");return n.style.backgroundImage=`url(${i})`,n.style.height="100px",pl(r)?gl(ul(t,t,0,0,n)):Promise.reject(new Error("ForeignObject rendering not supported"))}).then(A=>(s.drawImage(A,0,0),pl(s.getImageData(0,0,t,t).data))).catch(()=>!1)},ul=(A,e,t,s,r)=>{let i="http://www.w3.org/2000/svg",n=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return n.setAttributeNS(null,"width",A.toString()),n.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",s.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),n.appendChild(o),o.appendChild(r),n},gl=A=>new Promise((e,t)=>{let s=new Image;s.onload=()=>e(s),s.onerror=t,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent((new XMLSerializer).serializeToString(A))}`}),Bl={get SUPPORT_RANGE_BOUNDS(){let A=ol(document);return Object.defineProperty(Bl,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){let A=Bl.SUPPORT_RANGE_BOUNDS&&al(document);return Object.defineProperty(Bl,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){let A=dl(document);return Object.defineProperty(Bl,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){let A="function"==typeof Array.from&&"function"==typeof window.fetch?hl(document):Promise.resolve(!1);return Object.defineProperty(Bl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){let A=ll();return Object.defineProperty(Bl,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){let A=cl();return Object.defineProperty(Bl,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){let A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Bl,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){let A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Bl,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},wl=class{constructor(A,e){this.text=A,this.bounds=e}},fl=(A,e,t,s)=>{let r=Ql(e,t),i=[],n=0;return r.forEach(e=>{if(t.textDecorationLine.length||e.trim().length>0)if(Bl.SUPPORT_RANGE_BOUNDS){let t=bl(s,n,e.length).getClientRects();if(t.length>1){let t=Cl(e),r=0;t.forEach(e=>{i.push(new wl(e,ne.fromDOMRectList(A,bl(s,r+n,e.length).getClientRects()))),r+=e.length})}else i.push(new wl(e,ne.fromDOMRectList(A,t)))}else{let t=s.splitText(e.length);i.push(new wl(e,ml(A,s))),s=t}else Bl.SUPPORT_RANGE_BOUNDS||(s=s.splitText(e.length));n+=e.length}),i},ml=(A,e)=>{let t=e.ownerDocument;if(t){let s=t.createElement("html2canvaswrapper");s.appendChild(e.cloneNode(!0));let r=e.parentNode;if(r){r.replaceChild(s,e);let t=oe(A,s);return s.firstChild&&r.replaceChild(s.firstChild,s),t}}return ne.EMPTY},bl=(A,e,t)=>{let s=A.ownerDocument;if(!s)throw new Error("Node has no owner document");let r=s.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},Cl=A=>{if(Bl.SUPPORT_NATIVE_TEXT_SEGMENTATION){let e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(A=>A.segment)}return nl(A)},yl=(A,e)=>{if(Bl.SUPPORT_NATIVE_TEXT_SEGMENTATION){let e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(A)).map(A=>A.segment)}return Fl(A,e)},Ql=(A,e)=>ho(e.writingMode)||0!==e.letterSpacing?Cl(A):yl(A,e),xl=[32,160,4961,65792,65793,4153,4241],Fl=(A,e)=>{let t,s=dt(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[];for(;!(t=s.next()).done;)if(t.value){let A=le(t.value.slice()),e="";A.forEach(A=>{-1===xl.indexOf(A)?e+=ce(A):(e.length&&r.push(e),r.push(ce(A)),e="")}),e.length&&r.push(e)}return r},vl=class{constructor(A,e,t){this.text=Ul(e.data,t.textTransform),this.text.length!==e.data.length&&(e.data=this.text),this.textBounds=fl(A,this.text,t,e)}},Ul=(A,e)=>{switch(e){case 1:return A.toLowerCase();case 3:return A.replace(El,kl);case 2:return A.toUpperCase();default:return A}},El=/(^|\s|:|-|\(|\))([a-z])/g,kl=(A,e,t)=>A.length>0?e+t.toUpperCase():A,Hl=class extends Ta{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)}},Il=class extends Ta{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}},Sl=["position","inset","top","right","bottom","left","inset-inline","inset-inline-start","inset-inline-end","inset-block","inset-block-start","inset-block-end","margin","margin-top","margin-right","margin-bottom","margin-left","margin-inline","margin-inline-start","margin-inline-end","margin-block","margin-block-start","margin-block-end"],Ll=(A,e)=>{let t=e.getAttribute("style");Sl.forEach(A=>e.style.removeProperty(A));let s=A.serializeToString(e);return null===t?e.removeAttribute("style"):e.setAttribute("style",t),s},Ml=class extends Ta{constructor(A,e){super(A,e);let t=new XMLSerializer,s=oe(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(Ll(t,e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}},Dl=class extends Ta{constructor(A,e){super(A,e),this.value=e.value}},Kl=class extends Ta{constructor(A,e){super(A,e),this.start=e.start,this.reversed="boolean"==typeof e.reversed&&!0===e.reversed}},Tl=[{type:15,flags:0,unit:"px",number:3}],Ol=[{type:16,flags:0,number:50}],Rl=A=>A.width>A.height?new ne(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new ne(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A,Pl=A=>{let e="password"===A.type?new Array(A.value.length+1).join("\u2022"):A.value;return 0===e.length?A.placeholder||"":e},Nl=A=>0===A.value.length&&!!A.placeholder,Vl=707406591,Gl=class extends Ta{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=Pl(e),this.isPlaceholder=Nl(e),("checkbox"===this.type||"radio"===this.type)&&(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=Rl(this.bounds)),this.type){case"checkbox":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Tl;break;case"radio":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Ol}}},Xl=class extends Ta{constructor(A,e){super(A,e);let t=e.options[e.selectedIndex||0];this.value=t&&t.text||""}},$l=class extends Ta{constructor(A,e){super(A,e),this.value=e.value}},Wl=class extends Ta{constructor(A,e,t){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=t;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);let t=e.contentWindow.document.documentElement?Mr(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):Dr.TRANSPARENT,s=e.contentWindow.document.body?Mr(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):Dr.TRANSPARENT;this.backgroundColor=Ss(t)?Ss(s)?this.styles.backgroundColor:s:t}}catch{}}},Yl=["OL","UL","MENU"],Jl=(A,e,t,s)=>{for(let r,i=e.firstChild;i;i=r)r=i.nextSibling,zl(A,i,t,s)},zl=(A,e,t,s)=>{if(Tr(e)&&e.data.length>0)t.textNodes.push(new vl(A,e,t.styles));else if(Kr(e))if(Zr(e)&&e.assignedNodes)e.assignedNodes().forEach(e=>zl(A,e,t,s));else{let r=_l(A,e);r.styles.isVisible()&&(Zl(e,r,s)?r.createsRealStackingContext=!0:ql(r.styles)&&(r.createsStackingContext=!0),-1!==Yl.indexOf(e.tagName)&&(r.isListOwner=!0),t.elements.push(r),e.shadowRoot?Jl(A,e.shadowRoot,r,s):!_r(e)&&!Vr(e)&&!jr(e)&&Jl(A,e,r,s))}},_l=(A,e)=>Wr(e)?new Hl(A,e):Xr(e)?new Il(A,e):Vr(e)?new Ml(A,e):qr(e)?new Dl(A,e):Ai(e)?new Kl(A,e):Pr(e)?new Gl(A,e):jr(e)?new Xl(A,e):_r(e)?new $l(A,e):Yr(e)?new Wl(A,e,jl):new Ta(A,e),jl=(A,e)=>{let t=_l(A,e);return t.createsRealStackingContext=!0,Jl(A,e,t,t),t},Zl=(A,e,t)=>e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Gr(A)&&t.styles.isTransparent(),ql=A=>!(!A.isPositioned()&&!A.isFloating())||ii(A.display,268435456)||ii(A.display,33554432)||ii(A.display,536870912)||ii(A.display,134217728),Ac=(A,e)=>A.length===e.length&&A.some((A,t)=>A===e[t]),ec=(A,e,t,s,r)=>A.map((A,i)=>{switch(i){case 0:return A.add(e,t);case 1:return A.add(e+s,t);case 2:return A.add(e+s,t+r);case 3:return A.add(e,t+r)}return A}),tc=class A{constructor(A,e){this.type=0,this.x=A,this.y=e}add(e,t){return new A(this.x+e,this.y+t)}},sc=(A,e,t)=>new tc(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t),rc=class A{constructor(A,e,t,s){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=s}subdivide(e,t){let s=sc(this.start,this.startControl,e),r=sc(this.startControl,this.endControl,e),i=sc(this.endControl,this.end,e),n=sc(s,r,e),o=sc(r,i,e),a=sc(n,o,e);return t?new A(this.start,s,n,a):new A(a,o,i,this.end)}add(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))}reverse(){return new A(this.end,this.endControl,this.startControl,this.start)}},ic=A=>1===A.type,nc=class{constructor(A){let e=A.styles,t=A.bounds,[s,r]=xs(e.borderTopLeftRadius,t.width,t.height),[i,n]=xs(e.borderTopRightRadius,t.width,t.height),[o,a]=xs(e.borderBottomRightRadius,t.width,t.height),[l,c]=xs(e.borderBottomLeftRadius,t.width,t.height),d=[];d.push((s+i)/t.width),d.push((l+o)/t.width),d.push((r+c)/t.height),d.push((n+a)/t.height);let p=Math.max(...d);p>1&&(s/=p,r/=p,i/=p,n/=p,o/=p,a/=p,l/=p,c/=p);let h=t.width-i,u=t.height-a,g=t.width-o,B=t.height-c,w=e.borderTopWidth,f=e.borderRightWidth,m=e.borderBottomWidth,b=e.borderLeftWidth,C=Fs(e.paddingTop,A.bounds.width),y=Fs(e.paddingRight,A.bounds.width),Q=Fs(e.paddingBottom,A.bounds.width),x=Fs(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||r>0?oc(t.left+b/3,t.top+w/3,s-b/3,r-w/3,0):new tc(t.left+b/3,t.top+w/3),this.topRightBorderDoubleOuterBox=s>0||r>0?oc(t.left+h,t.top+w/3,i-f/3,n-w/3,1):new tc(t.left+t.width-f/3,t.top+w/3),this.bottomRightBorderDoubleOuterBox=o>0||a>0?oc(t.left+g,t.top+u,o-f/3,a-m/3,2):new tc(t.left+t.width-f/3,t.top+t.height-m/3),this.bottomLeftBorderDoubleOuterBox=l>0||c>0?oc(t.left+b/3,t.top+B,l-b/3,c-m/3,3):new tc(t.left+b/3,t.top+t.height-m/3),this.topLeftBorderDoubleInnerBox=s>0||r>0?oc(t.left+2*b/3,t.top+2*w/3,s-2*b/3,r-2*w/3,0):new tc(t.left+2*b/3,t.top+2*w/3),this.topRightBorderDoubleInnerBox=s>0||r>0?oc(t.left+h,t.top+2*w/3,i-2*f/3,n-2*w/3,1):new tc(t.left+t.width-2*f/3,t.top+2*w/3),this.bottomRightBorderDoubleInnerBox=o>0||a>0?oc(t.left+g,t.top+u,o-2*f/3,a-2*m/3,2):new tc(t.left+t.width-2*f/3,t.top+t.height-2*m/3),this.bottomLeftBorderDoubleInnerBox=l>0||c>0?oc(t.left+2*b/3,t.top+B,l-2*b/3,c-2*m/3,3):new tc(t.left+2*b/3,t.top+t.height-2*m/3),this.topLeftBorderStroke=s>0||r>0?oc(t.left+b/2,t.top+w/2,s-b/2,r-w/2,0):new tc(t.left+b/2,t.top+w/2),this.topRightBorderStroke=s>0||r>0?oc(t.left+h,t.top+w/2,i-f/2,n-w/2,1):new tc(t.left+t.width-f/2,t.top+w/2),this.bottomRightBorderStroke=o>0||a>0?oc(t.left+g,t.top+u,o-f/2,a-m/2,2):new tc(t.left+t.width-f/2,t.top+t.height-m/2),this.bottomLeftBorderStroke=l>0||c>0?oc(t.left+b/2,t.top+B,l-b/2,c-m/2,3):new tc(t.left+b/2,t.top+t.height-m/2),this.topLeftBorderBox=s>0||r>0?oc(t.left,t.top,s,r,0):new tc(t.left,t.top),this.topRightBorderBox=i>0||n>0?oc(t.left+h,t.top,i,n,1):new tc(t.left+t.width,t.top),this.bottomRightBorderBox=o>0||a>0?oc(t.left+g,t.top+u,o,a,2):new tc(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=l>0||c>0?oc(t.left,t.top+B,l,c,3):new tc(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||r>0?oc(t.left+b,t.top+w,Math.max(0,s-b),Math.max(0,r-w),0):new tc(t.left+b,t.top+w),this.topRightPaddingBox=i>0||n>0?oc(t.left+Math.min(h,t.width-f),t.top+w,h>t.width+f?0:Math.max(0,i-f),Math.max(0,n-w),1):new tc(t.left+t.width-f,t.top+w),this.bottomRightPaddingBox=o>0||a>0?oc(t.left+Math.min(g,t.width-b),t.top+Math.min(u,t.height-m),Math.max(0,o-f),Math.max(0,a-m),2):new tc(t.left+t.width-f,t.top+t.height-m),this.bottomLeftPaddingBox=l>0||c>0?oc(t.left+b,t.top+Math.min(B,t.height-m),Math.max(0,l-b),Math.max(0,c-m),3):new tc(t.left+b,t.top+t.height-m),this.topLeftContentBox=s>0||r>0?oc(t.left+b+x,t.top+w+C,Math.max(0,s-(b+x)),Math.max(0,r-(w+C)),0):new tc(t.left+b+x,t.top+w+C),this.topRightContentBox=i>0||n>0?oc(t.left+Math.min(h,t.width+b+x),t.top+w+C,h>t.width+b+x?0:i-b+x,n-(w+C),1):new tc(t.left+t.width-(f+y),t.top+w+C),this.bottomRightContentBox=o>0||a>0?oc(t.left+Math.min(g,t.width-(b+x)),t.top+Math.min(u,t.height+w+C),Math.max(0,o-(f+y)),a-(m+Q),2):new tc(t.left+t.width-(f+y),t.top+t.height-(m+Q)),this.bottomLeftContentBox=l>0||c>0?oc(t.left+b+x,t.top+B,Math.max(0,l-(b+x)),c-(m+Q),3):new tc(t.left+b+x,t.top+t.height-(m+Q))}},oc=(A,e,t,s,r)=>{let i=(Math.sqrt(2)-1)/3*4,n=t*i,o=s*i,a=A+t,l=e+s;switch(r){case 0:return new rc(new tc(A,l),new tc(A,l-o),new tc(a-n,e),new tc(a,e));case 1:return new rc(new tc(A,e),new tc(A+n,e),new tc(a,l-o),new tc(a,l));case 2:return new rc(new tc(a,e),new tc(a,e+o),new tc(A+n,l),new tc(A,l));default:return new rc(new tc(a,l),new tc(a-n,l),new tc(A,e+o),new tc(A,e))}},ac=A=>[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox],lc=A=>[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox],cc=A=>[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox],dc=class{constructor(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}},pc=class{constructor(A,e){this.path=A,this.target=e,this.type=1}},hc=class{constructor(A){this.opacity=A,this.type=2,this.target=6}},uc=class{constructor(A){this.applyClip=A,this.type=3,this.target=6}},gc={[$o.NORMAL]:"source-over",[$o.MULTIPLY]:"multiply",[$o.SCREEN]:"screen",[$o.OVERLAY]:"overlay",[$o.DARKEN]:"darken",[$o.LIGHTEN]:"lighten",[$o.COLOR_DODGE]:"color-dodge",[$o.COLOR_BURN]:"color-burn",[$o.HARD_LIGHT]:"hard-light",[$o.SOFT_LIGHT]:"soft-light",[$o.DIFFERENCE]:"difference",[$o.EXCLUSION]:"exclusion",[$o.HUE]:"hue",[$o.SATURATION]:"saturation",[$o.COLOR]:"color",[$o.LUMINOSITY]:"luminosity"},Bc=class{constructor(A){this.mixBlendMode=A,this.type=4,this.target=6,this.compositeOperation=gc[A]}},wc=class A{constructor(e){this.type=5,this.target=6;let t=A.parseDropShadow(e);this.shadow=t.shadow,this.safeFilterString=t.safeFilterString}static parseDropShadow(e){if(!e)return{safeFilterString:""};let t=A.findDropShadows(e);if(0===t.length)return{safeFilterString:e};let s=A.parseDropShadowBody(t[0].body),r="",i=0;for(let A of t)r+=e.slice(i,A.start),i=A.end;return r+=e.slice(i),{shadow:s,safeFilterString:r.replace(/\s+/g," ").trim()}}static findDropShadows(A){let e,t=[],s=/drop-shadow\(/gi;for(;null!==(e=s.exec(A));){let s=e.index+12-1,r=e.index,i=1,n=s+1;for(;n<A.length&&i>0;){let e=A[n];"("===e?i++:")"===e&&i--,n++}if(0!==i)break;let o=A.slice(s+1,n-1);t.push({body:o,start:r,end:n})}return t}static parseDropShadowBody(e){let t,s=A.tokenizeFilterArgs(e.trim()),r=[];for(let e of s)A.isCSSLength(e)?r.push(parseFloat(e)):e&&(t=e);if(!(r.length<2||r.length>3))return{offsetX:r[0],offsetY:r[1],blur:r[2]??0,color:t??"rgba(0,0,0,1)"}}static tokenizeFilterArgs(A){let e=[],t="",s=0;for(let r=0;r<A.length;r++){let i=A[r];"("===i?(s++,t+=i):")"===i?(s--,t+=i):/\s/.test(i)?s>0?t+=i:t&&(e.push(t),t=""):t+=i}return t&&e.push(t),e}static isCSSLength(A){return/^-?[\d.]+(px|em|rem|pt|cm|mm|in|pc|ex|ch|vw|vh|vmin|vmax|%)?$/i.test(A)}},fc=A=>0===A.type,mc=A=>1===A.type,bc=A=>2===A.type,Cc=A=>3===A.type,yc=A=>4===A.type,Qc=A=>5===A.type,xc=class{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}},Fc=class{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new nc(this.container),this.container.styles.opacity<1&&this.effects.push(new hc(this.container.styles.opacity)),null!==this.container.styles.rotate){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+Fs(A[0],this.container.bounds.width),t=this.container.bounds.top+Fs(A[1],this.container.bounds.height),s=this.container.styles.rotate*Math.PI/180,r=Math.cos(s),i=Math.sin(s),n=[r,i,-i,r,0,0];this.effects.push(new dc(e,t,n))}if(null!==this.container.styles.transform){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+Fs(A[0],this.container.bounds.width),t=this.container.bounds.top+Fs(A[1],this.container.bounds.height),s=this.container.styles.transform;this.effects.push(new dc(e,t,s))}if(vc(this.container.styles)){let A=ac(this.curves),e=cc(this.curves);Ac(A,e)?this.effects.push(new pc(A,6)):(this.effects.push(new pc(A,2)),this.effects.push(new pc(e,4)))}if(0!==this.container.styles.clipPath.type){let A=Ec(this.container.styles.clipPath,this.container.bounds);A&&this.effects.push(A)}if(this.container.styles.mixBlendMode!==$o.NORMAL&&this.effects.push(new Bc(this.container.styles.mixBlendMode)),null!==this.container.styles.filter&&this.effects.push(new wc(this.container.styles.filter)),1!==this.container.styles.zoom){let A=this.container.styles.transformOrigin,e=this.container.bounds.left+Fs(A[0],this.container.bounds.width),t=this.container.bounds.top+Fs(A[1],this.container.bounds.height),s=this.container.styles.zoom,r=[s,0,0,s,0,0];this.effects.push(new dc(e,t,r))}}getEffects(A){let e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,s=this.effects.slice(0);for(;t;){let A=t.effects.filter(A=>!mc(A));if(e||0!==t.container.styles.position||!t.parent){if(e=-1===[2,3].indexOf(t.container.styles.position),vc(t.container.styles)){let A=ac(t.curves),e=cc(t.curves);Ac(A,e)||s.unshift(new pc(e,6))}s.unshift(...A)}else s.unshift(...A);t=t.parent}return s.filter(e=>ii(e.target,A))}},vc=A=>0!==A.overflowX||0!==A.overflowY,Uc=(A,e,t,s,r)=>"closest-side"===A?Math.min(e-t,s-e):"farthest-side"===A?Math.max(e-t,s-e):Fs(A,r),Ec=(A,e)=>{let{left:t,top:s,width:r,height:i}=e;switch(A.type){case 1:{let e=Fs(A.left,r),n=Fs(A.top,i),o=t+e,a=s+n,l=Math.max(0,r-e-Fs(A.right,r)),c=Math.max(0,i-n-Fs(A.bottom,i));return new uc(A=>{A.beginPath(),A.rect(o,a,l,c),A.clip()})}case 2:{let e,n=t+Fs(A.cx,r),o=s+Fs(A.cy,i);return e="closest-side"===A.radius?Math.min(n-t,o-s,t+r-n,s+i-o):"farthest-side"===A.radius?Math.max(n-t,o-s,t+r-n,s+i-o):Fs(A.radius,Math.sqrt(r*r+i*i)/Math.SQRT2),new uc(A=>{A.beginPath(),A.arc(n,o,Math.max(0,e),0,2*Math.PI),A.clip()})}case 3:{let e=t+Fs(A.cx,r),n=s+Fs(A.cy,i),o=Uc(A.rx,e,t,t+r,r),a=Uc(A.ry,n,s,s+i,i);return new uc(A=>{A.beginPath(),A.ellipse(e,n,Math.max(0,o),Math.max(0,a),0,0,2*Math.PI),A.clip()})}case 4:{let e=A.points.map(([A,e])=>[t+Fs(A,r),s+Fs(e,i)]);return new uc(A=>{if(A.beginPath(),e.length>0){A.moveTo(e[0][0],e[0][1]);for(let t=1;t<e.length;t++)A.lineTo(e[t][0],e[t][1]);A.closePath()}A.clip()})}case 5:{let{d:e}=A,r=null;return new uc(A=>{try{r||(r=new Path2D(e));let i=A.getTransform();A.translate(t,s),A.clip(r),A.setTransform(i)}catch{}})}default:return null}},kc=(A,e,t,s)=>{A.container.elements.forEach(r=>{let i=r.createsRealStackingContext,n=r.createsStackingContext,o=new Fc(r,A);ii(r.styles.display,2048)&&s.push(o);let a=r.isListOwner?[]:s;if(i||n){let A=i||r.styles.isPositioned()?t:e,s=new xc(o);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){let e=r.styles.zIndex.order;if(e<0){let t=0;A.negativeZIndex.some((A,s)=>e>A.element.container.styles.zIndex.order?(t=s,!1):t>0),A.negativeZIndex.splice(t,0,s)}else if(e>0){let t=0;A.positiveZIndex.some((A,s)=>e>=A.element.container.styles.zIndex.order?(t=s+1,!1):t>0),A.positiveZIndex.splice(t,0,s)}else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(s)}else r.styles.isFloating()?A.nonPositionedFloats.push(s):A.nonPositionedInlineLevel.push(s);kc(o,s,i?s:t,a)}else r.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),kc(o,e,t,a);r.isListOwner&&Hc(r,a)})},Hc=(A,e)=>{let t=A instanceof Kl?A.start:1,s=A instanceof Kl&&A.reversed;for(let A=0;A<e.length;A++){let r=e[A];r.container instanceof Dl&&"number"==typeof r.container.value&&0!==r.container.value&&(t=r.container.value),r.listValue=bi(t,r.container.styles.listStyleType,!0),t+=s?-1:1}},Ic=A=>{let e=new Fc(A,null),t=new xc(e),s=[];return kc(e,t,t,s),Hc(e.container,s),t},Sc=A=>{let e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},Lc=A=>{let e=A.styles,t=A.bounds,s=Fs(e.paddingLeft,t.width),r=Fs(e.paddingRight,t.width),i=Fs(e.paddingTop,t.width),n=Fs(e.paddingBottom,t.width);return t.add(s+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+s+r),-(e.borderTopWidth+e.borderBottomWidth+i+n))},Mc=(A,e)=>0===A?e.bounds:2===A?Lc(e):Sc(e),Dc=(A,e)=>0===A?e.bounds:2===A?Lc(e):Sc(e),Kc=(A,e,t)=>{let s=Mc(Pc(A.styles.backgroundOrigin,e),A),r=Dc(Pc(A.styles.backgroundClip,e),A),i=Rc(Pc(A.styles.backgroundSize,e),t,s),[n,o]=i,a=xs(Pc(A.styles.backgroundPosition,e),s.width-n,s.height-o),l=Nc(Pc(A.styles.backgroundRepeat,e),a,i,s,r),c=Math.round(s.left+a[0]),d=Math.round(s.top+a[1]);return n=Math.max(1,n),o=Math.max(1,o),[l,c,d,n,o]},Tc=A=>Zt(A)&&"auto"===A.value,Oc=A=>"number"==typeof A,Rc=(A,[e,t,s],r)=>{let[i,n]=A;if(!i)return[0,0];if(us(i)&&n&&us(n))return[Fs(i,r.width),Fs(n,r.height)];let o=Oc(s);if(Zt(i)&&("contain"===i.value||"cover"===i.value))return Oc(s)?r.width/r.height<s!=("cover"===i.value)?[r.width,r.width/s]:[r.height*s,r.height]:[r.width,r.height];let a=Oc(e),l=Oc(t),c=a||l;if(Tc(i)&&(!n||Tc(n)))return a&&l?[e,t]:o||c?c&&o?[a?e:t*s,l?t:e/s]:[a?e:r.width,l?t:r.height]:[r.width,r.height];if(o){let A=0,e=0;return us(i)?A=Fs(i,r.width):us(n)&&(e=Fs(n,r.height)),Tc(i)?A=e*s:(!n||Tc(n))&&(e=A/s),[A,e]}let d=null,p=null;if(us(i)?d=Fs(i,r.width):n&&us(n)&&(p=Fs(n,r.height)),null!==d&&(!n||Tc(n))&&(p=a&&l?d/e*t:r.height),null!==p&&Tc(i)&&(d=a&&l?p/t*e:r.width),null!==d&&null!==p)return[d,p];throw new Error("Unable to calculate background-size for element")},Pc=(A,e)=>{let t=A[e];return typeof t>"u"?A[0]:t},Nc=(A,[e,t],[s,r],i,n)=>{switch(A){case 2:return[new tc(Math.round(i.left),Math.round(i.top+t)),new tc(Math.round(i.left+i.width),Math.round(i.top+t)),new tc(Math.round(i.left+i.width),Math.round(r+i.top+t)),new tc(Math.round(i.left),Math.round(r+i.top+t))];case 3:return[new tc(Math.round(i.left+e),Math.round(i.top)),new tc(Math.round(i.left+e+s),Math.round(i.top)),new tc(Math.round(i.left+e+s),Math.round(i.height+i.top)),new tc(Math.round(i.left+e),Math.round(i.height+i.top))];case 1:return[new tc(Math.round(i.left+e),Math.round(i.top+t)),new tc(Math.round(i.left+e+s),Math.round(i.top+t)),new tc(Math.round(i.left+e+s),Math.round(i.top+t+r)),new tc(Math.round(i.left+e),Math.round(i.top+t+r))];default:return[new tc(Math.round(n.left),Math.round(n.top)),new tc(Math.round(n.left+n.width),Math.round(n.top)),new tc(Math.round(n.left+n.width),Math.round(n.height+n.top)),new tc(Math.round(n.left),Math.round(n.height+n.top))]}},Vc=class{constructor(A){this.ctx=A}render(A,e){this.ctx.fillStyle=Ls(e.textDecorationColor||e.color);let t=1;"number"==typeof e.textDecorationThickness?t=e.textDecorationThickness:"from-font"===e.textDecorationThickness&&(t=Math.max(1,Math.floor(.05*e.fontSize.number)));let s=0;"number"==typeof e.textUnderlineOffset&&(s=e.textUnderlineOffset);let r=e.textDecorationStyle;e.textDecorationLine.forEach(e=>{let i=0;switch(e){case 1:i=A.top+A.height-t+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-t/2);break;default:return}this.draw(A.left,i,A.width,t,r)})}draw(A,e,t,s,r){switch(r){case 0:default:this.ctx.fillRect(A,e,t,s);break;case 1:{let r=Math.max(1,s);this.ctx.fillRect(A,e,t,s),this.ctx.fillRect(A,e+s+r,t,s);break}case 2:this.drawPattern(A,e,t,s,[s,2*s]);break;case 3:this.drawPattern(A,e,t,s,[3*s,2*s]);break;case 4:this.drawWavy(A,e,t,s)}}drawPattern(A,e,t,s,r){this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash(r),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+t,e+s/2),this.ctx.stroke(),this.ctx.restore()}drawWavy(A,e,t,s){this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;let r=2*s,i=4*s,n=A;for(this.ctx.moveTo(n,e+s/2);n<A+t;){let o=Math.min(n+i/2,A+t);if(this.ctx.quadraticCurveTo(n+i/4,e+s/2-r,o,e+s/2),n=o,n<A+t){let o=Math.min(n+i/2,A+t);this.ctx.quadraticCurveTo(n+i/4,e+s/2+r,o,e+s/2),n=o}}this.ctx.stroke(),this.ctx.restore()}},Gc=A=>void 0!==A&&!Number.isNaN(A),Xc=(A,e)=>{let t=A.measureText("Mg"),s=t;return{baseline:Gc(s.fontBoundingBoxAscent)?s.fontBoundingBoxAscent:Gc(t.actualBoundingBoxAscent)?t.actualBoundingBoxAscent:e,height:Gc(s.fontBoundingBoxAscent)&&Gc(s.fontBoundingBoxDescent)?s.fontBoundingBoxAscent+s.fontBoundingBoxDescent:Gc(t.actualBoundingBoxAscent)&&Gc(t.actualBoundingBoxDescent)?t.actualBoundingBoxAscent+t.actualBoundingBoxDescent:e}},$c=(A,e)=>Xc(A,e).baseline,Wc=["-apple-system","system-ui"],Yc=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Jc=A=>Yc.test(A),zc=()=>{if(typeof navigator>"u")return null;let A=navigator.userAgent,e=/iPhone|iPad|iPod/.test(A),t=/Macintosh/.test(A)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!e&&!t)return null;for(let e of[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/]){let t=A.match(e);if(t&&t[1])return parseInt(t[1],10)}return null},_c=A=>{let e=zc();return null!==e&&e>=15&&e<17?A.map(A=>-1!==Wc.indexOf(A)?'-apple-system, "Helvetica Neue", Arial, sans-serif':A):A},jc=()=>(typeof window<"u"?window:void 0)?.chrome?"miter":"round",Zc=class{constructor(A){this.glyphWidthCache=null,this.ctx=A.ctx,this.options=A.options,this.decorationRenderer=new Vc(A.ctx)}cachedMeasureText(A,e){let t=this.glyphWidthCache;t||(t=new Map,this.glyphWidthCache=t);let s=A+e,r=t.get(s);return void 0===r&&(r=this.ctx.measureText(A).width,t.set(s,r)),r}iterateLettersWithLetterSpacing(A,e,t,s,r){if(ho(s))return void this.iterateVerticalGlyphs(A,e,t,s,r);let i=Cl(A.text),n=A.bounds.top+t,o=this.ctx.font,a=A.bounds.left;for(let A of i){if(Jc(A)){let e=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",r(A,a,n),this.ctx.textBaseline=e}else r(A,a,n);a+=this.cachedMeasureText(A,o)+e}}iterateVerticalGlyphs(A,e,t,s,r){let i=Cl(A.text),n=this.ctx.font,o=4===s?-Math.PI/2:Math.PI/2,a=A.bounds.top;for(let l=0;l<i.length;){let c=i[l];if(!(uo(s)||!Jc(c)&&c.trim().length>0)){let s=this.ctx.textBaseline;Jc(c)&&(this.ctx.textBaseline="ideographic"),r(c,A.bounds.left,a+t),this.ctx.textBaseline=s,a+=this.cachedMeasureText(c,n)+e,l++;continue}let d=l;for(;l<i.length;){let A=i[l];if(!uo(s)&&!Jc(A)&&0===A.trim().length)break;if(!(uo(s)||!Jc(A)&&A.trim().length>0))break;l++}this.ctx.save(),this.ctx.translate(A.bounds.left+t,a),this.ctx.rotate(o);let p=0;for(let A=d;A<l;A++)r(i[A],0,p),p+=this.cachedMeasureText(i[A],n)+e;this.ctx.restore(),a+=p}}renderTextWithLetterSpacing(A,e,t,s=0){this.renderFillText(A,e,t,s)}canRenderWholeText(A,e){return 0===A&&!ho(e)}renderFillText(A,e,t,s){this.canRenderWholeText(e,s)?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):this.iterateLettersWithLetterSpacing(A,e,t,s,(A,e,t)=>{this.ctx.fillText(A,e,t)})}renderStrokeText(A,e,t,s){this.canRenderWholeText(e,s)?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+t):this.iterateLettersWithLetterSpacing(A,e,t,s,(A,e,t)=>{this.ctx.strokeText(A,e,t)})}renderTextStrokeWithStyle(A,e,t){!e.webkitTextStrokeWidth||!A.text.trim().length||(this.ctx.strokeStyle=Ls(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=jc(),this.renderStrokeText(A,e.letterSpacing,t,e.writingMode),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter")}renderTextFillWithShadows(A,e,t){this.ctx.fillStyle=Ls(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,t,e.writingMode);let s=e.textShadow;s.length&&A.text.trim().length&&(s.slice(0).reverse().forEach(s=>{this.ctx.shadowColor=Ls(s.color),this.ctx.shadowOffsetX=s.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=s.offsetY.number*this.options.scale,this.ctx.shadowBlur=s.blur.number,this.renderTextWithLetterSpacing(A,e.letterSpacing,t,e.writingMode)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0)}renderTextBoundWithPaintOrder(A,e,t,s){t.forEach(t=>{switch(t){case 0:this.ctx.fillStyle=Ls(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,s,e.writingMode);break;case 1:this.renderTextStrokeWithStyle(A,e,s)}})}renderTextDecoration(A,e){this.decorationRenderer.render(A,e)}truncateTextWithEllipsis(A,e,t){let s=this.ctx.measureText("\u2026").width,r=Cl(A);if(0===t){let A=A=>this.ctx.measureText(r.slice(0,A).join("")).width+s<=e,t=0,i=r.length;for(;t<i;){let e=t+i+1>>1;A(e)?t=e:i=e-1}return r.slice(0,t).join("")+"\u2026"}{let A=this.ctx.font,i=s,n=[];for(let s of r){let r=this.cachedMeasureText(s,A);if(i+r>e)break;n.push(s),i+=r+t}return n.join("")+"\u2026"}}createFontStyle(A){let e=A.fontVariant.filter(A=>"normal"===A||"small-caps"===A).join(""),t=_c(A.fontFamily).join(", "),s=_t(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,t].join(" "),t,s]}renderLineClampedText(A,e,t,s,r){let i=1.5*e.fontSize.number,n=[],o=[],a=A.textBounds[0].bounds.top;A.textBounds.forEach(A=>{Math.abs(A.bounds.top-a)>=.5*i?(o.length>0&&n.push(o),o=[A],a=A.bounds.top):o.push(A)}),o.length>0&&n.push(o);let l=e.webkitLineClamp;if(n.length<=l)return!1;for(let A=0;A<l-1;A++)n[A].forEach(A=>this.renderTextBoundWithPaintOrder(A,e,t,s));let c=n[l-1];if(c?.length&&r){let A=c.map(A=>A.text).join(""),i=c[0],n=r.width-(i.bounds.left-r.left),o=new wl(this.truncateTextWithEllipsis(A,n,e.letterSpacing),i.bounds);for(let A of t)0===A?(this.ctx.fillStyle=Ls(e.color),this.renderTextWithLetterSpacing(o,e.letterSpacing,s,e.writingMode)):1===A&&this.renderTextStrokeWithStyle(o,e,s)}return!0}renderEllipsisText(A,e,t,s,r){let i=1.5*e.fontSize.number,n=A.textBounds[0].bounds.top;if(!A.textBounds.every(A=>Math.abs(A.bounds.top-n)<.5*i))return!1;let o=A.textBounds.map(A=>A.text).join("").replace(/\s+/g," ").trim();if(this.ctx.measureText(o).width<=r.width+1)return!1;let a=new wl(this.truncateTextWithEllipsis(o,r.width,e.letterSpacing),A.textBounds[0].bounds);for(let A of t)0===A?this.renderTextFillWithShadows(a,e,s):1===A&&this.renderTextStrokeWithStyle(a,e,s);return!0}async renderTextNode(A,e,t){this.glyphWidthCache=null;let[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";let r=e.paintOrder,i=$c(this.ctx,e.fontSize.number);e.webkitLineClamp>0&&2&e.display&&1===e.overflowY&&A.textBounds.length>0&&this.renderLineClampedText(A,e,r,i,t)||1===e.textOverflow&&t&&1===e.overflowX&&A.textBounds.length>0&&this.renderEllipsisText(A,e,r,i,t)||A.textBounds.forEach(A=>{r.forEach(t=>{0===t?(this.renderTextFillWithShadows(A,e,i),e.textDecorationLine.length&&this.renderTextDecoration(A.bounds,e)):1===t&&this.renderTextStrokeWithStyle(A,e,i)})})}},qc=(A,e)=>{e.forEach((e,t)=>{let s=ic(e)?e.start:e;0===t?A.moveTo(s.x,s.y):A.lineTo(s.x,s.y),ic(e)&&A.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},Ad=(A,e)=>{A.beginPath(),qc(A,e),A.closePath()},ed=class{constructor(A){this.maxSize=A,this._map=new Map}get(A){if(!this._map.has(A))return;let e=this._map.get(A);return this._map.delete(A),this._map.set(A,e),e}set(A,e){if(this._map.has(A))this._map.delete(A);else if(this._map.size>=this.maxSize){let A=this._map.keys().next().value;void 0!==A&&this._map.delete(A)}this._map.set(A,e)}get size(){return this._map.size}clear(){this._map.clear()}},td=class{constructor(A){this.patternCache=new ed(50),this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1,t=A.styles.backgroundBlendMode,s=0;for(let r of A.styles.backgroundImage.slice(0).reverse()){if(s>0){let A=t[s]??t[0]??"normal";"normal"!==A&&(this.ctx.save(),this.ctx.globalCompositeOperation=A)}0===r.type?await this.renderBackgroundURLImage(A,r,e):Vi(r)?this.renderLinearGradient(A,r,e):Xi(r)?this.renderRepeatingLinearGradient(A,r,e):Gi(r)&&this.renderRadialGradient(A,r,e),s>0&&"normal"!==(t[s]??t[0]??"normal")&&this.ctx.restore(),e--,s++}}async renderBackgroundURLImage(A,e,t){let s,r=e.url;try{s=await this.context.cache.match(r)}catch(A){this.context.logger.error(`Error loading background-image ${r}`),this.context.onError?.(A instanceof Error?A:new Error(String(A)))}if(s){let e=isNaN(s.width)||0===s.width?1:s.width,i=isNaN(s.height)||0===s.height?1:s.height,[n,o,a,l,c]=Kc(A,t,[e,i,e/i]),d=Pc(A.styles.backgroundRepeat,t),p=1===d?"no-repeat":2===d?"repeat-x":3===d?"repeat-y":"repeat",h=`${r}|${Math.round(l)}x${Math.round(c)}|${A.styles.imageRendering}|${p}`,u=this.patternCache.get(h);if(!u){let e=this.resizeImage(s,l,c,A.styles.imageRendering);u=this.ctx.createPattern(e,p),this.patternCache.set(h,u)}this.renderRepeat(n,u,o,a)}}renderRepeatingLinearGradient(A,e,t){let[s,r,i,n,o]=Kc(A,t,[null,null,null]),[a,l,c,d,p]=vi(e.angle,n,o),h=xi(e.stops,a||1),u=h[h.length-1],g=h[0],B=u.stop-g.stop;if(B<=0)return void this.renderLinearGradient(A,e,t);let w=c-l,f=p-d,m=B/(Math.sqrt(w*w+f*f)||1),b=l,C=d,y=l+w*m,Q=d+f*m,x=this.canvas.ownerDocument??document,F=`rlg|${e.angle}|${Math.round(B)}|${JSON.stringify(e.stops)}`,v=this.patternCache.get(F);if(!v){let A=x.createElement("canvas"),e=Math.max(1,Math.ceil(B));A.width=e,A.height=e;let t=A.getContext("2d");if(!t)return;let s=t.createLinearGradient(b-r,C-i,y-r,Q-i);h.forEach(A=>{s.addColorStop((A.stop-g.stop)/B,Ls(A.color))}),t.fillStyle=s,t.fillRect(0,0,e,e),e>0&&(v=this.ctx.createPattern(A,"repeat"),this.patternCache.set(F,v))}v&&this.renderRepeat(s,v,r,i)}renderLinearGradient(A,e,t){let[s,r,i,n,o]=Kc(A,t,[null,null,null]),[a,l,c,d,p]=vi(e.angle,n,o),h=`lg|${e.angle}|${Math.round(n)}x${Math.round(o)}|${JSON.stringify(e.stops)}`,u=this.patternCache.get(h);if(!u){let A=(this.canvas.ownerDocument??document).createElement("canvas");A.width=n,A.height=o;let t=A.getContext("2d");if(!t)return;let s=t.createLinearGradient(l,d,c,p);xi(e.stops,a||1).forEach(A=>s.addColorStop(A.stop,Ls(A.color))),t.fillStyle=s,t.fillRect(0,0,n,o),n>0&&o>0&&(u=this.ctx.createPattern(A,"repeat"),this.patternCache.set(h,u))}u&&this.renderRepeat(s,u,r,i)}renderRadialGradient(A,e,t){let[s,r,i,n,o]=Kc(A,t,[null,null,null]),a=0===e.position.length?[ys]:e.position,l=Fs(a[0],n),c=Fs(a[a.length-1],o),[d,p]=ki(e,l,c,n,o);if((0===d||0===p)&&(d=Math.max(d,.01),p=Math.max(p,.01)),d>0&&p>0){let A=`rg|${Math.round(l)}x${Math.round(c)}|${Math.round(d)}x${Math.round(p)}|${JSON.stringify(e.stops)}`,t=xi(e.stops,2*d),n=t[t.length-1],o=this.patternCache.get(A);if(!o){let e=(this.canvas.ownerDocument??document).createElement("canvas");e.width=Math.ceil(2*d),e.height=Math.ceil(2*p);let s=e.getContext("2d");if(s){let r=s.createRadialGradient(d,d,0,d,d,d);t.forEach(A=>r.addColorStop(A.stop,Ls(A.color))),s.fillStyle=r,d!==p&&s.scale(1,p/d),s.fillRect(0,0,2*d,2*d),o=this.ctx.createPattern(e,"no-repeat"),this.patternCache.set(A,o)}}o&&(this.path(s),this.ctx.save(),this.ctx.clip(),n&&(this.ctx.fillStyle=Ls(n.color),this.ctx.fill()),this.ctx.translate(r+l-d,i+c-p),this.ctx.fillStyle=o,this.ctx.fillRect(0,0,2*d,2*p),this.ctx.restore())}}renderRepeat(A,e,t,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,s),this.ctx.fill(),this.ctx.translate(-t,-s)}resizeImage(A,e,t,s){let r=(this.canvas.ownerDocument??document).createElement("canvas");r.width=Math.max(1,e),r.height=Math.max(1,t);let i=r.getContext("2d");return i?(2===s||1===s?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):3===s?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,t),r):A}path(A){Ad(this.ctx,A)}},sd=(A,e)=>{switch(e){case 0:return ad(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return ad(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return ad(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return ad(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},rd=(A,e)=>{switch(e){case 0:return ad(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return ad(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return ad(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return ad(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},id=(A,e)=>{switch(e){case 0:return ad(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return ad(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return ad(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return ad(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},nd=(A,e)=>{switch(e){case 0:return od(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return od(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return od(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return od(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},od=(A,e)=>{let t=[];return ic(A)?t.push(A.subdivide(.5,!1)):t.push(A),ic(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},ad=(A,e,t,s)=>{let r=[];return ic(A)?r.push(A.subdivide(.5,!1)):r.push(A),ic(t)?r.push(t.subdivide(.5,!0)):r.push(t),ic(s)?r.push(s.subdivide(.5,!0).reverse()):r.push(s),ic(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},ld=class{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,t){this.pathCallbacks.path(sd(t,e)),this.ctx.fillStyle=Ls(A),this.ctx.fill()}async renderDoubleBorder(A,e,t,s){if(e<3)return void await this.renderSolidBorder(A,t,s);let r=rd(s,t);this.pathCallbacks.path(r),this.ctx.fillStyle=Ls(A),this.ctx.fill();let i=id(s,t);this.pathCallbacks.path(i),this.ctx.fill()}async renderDashedDottedBorder(A,e,t,s,r){this.ctx.save();let i,n,o,a,l,c=nd(s,t),d=sd(s,t);2===r&&(this.pathCallbacks.path(d),this.ctx.clip()),ic(d[0])?(i=d[0].start.x,n=d[0].start.y):(i=d[0].x,n=d[0].y),ic(d[1])?(o=d[1].end.x,a=d[1].end.y):(o=d[1].x,a=d[1].y),l=0===t||2===t?Math.abs(i-o):Math.abs(n-a),this.ctx.beginPath(),3===r?this.pathCallbacks.formatPath(c):this.pathCallbacks.formatPath(d.slice(0,2));let p=e<3?3*e:2*e,h=e<3?2*e:e;3===r&&(p=e,h=e);let u=!0;if(l<=2*p)u=!1;else if(l<=2*p+h){let A=l/(2*p+h);p*=A,h*=A}else{let A=Math.floor((l+h)/(p+h)),e=(l-A*p)/(A-1),t=(l-(A+1)*p)/A;h=t<=0||Math.abs(h-e)<Math.abs(h-t)?e:t}if(u&&(3===r?this.ctx.setLineDash([0,p+h]):this.ctx.setLineDash([p,h])),3===r?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=Ls(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===r){if(ic(d[0])){let A=d[3],e=d[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new tc(A.end.x,A.end.y),new tc(e.start.x,e.start.y)]),this.ctx.stroke()}if(ic(d[1])){let A=d[1],e=d[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new tc(A.end.x,A.end.y),new tc(e.start.x,e.start.y)]),this.ctx.stroke()}}this.ctx.restore()}},cd=class{constructor(A){this.ctx=A}renderBorderImage(A,e,t,s,r,i,n,o){let a=e.naturalWidth||e.width,l=e.naturalHeight||e.height;if(a<=0||l<=0)return;let c=Math.min("percent"===t.unit?t.top/100*l:Math.min(t.top,l),l),d=Math.min("percent"===t.unit?t.right/100*a:Math.min(t.right,a),a),p=Math.min("percent"===t.unit?t.bottom/100*l:Math.min(t.bottom,l),l),h=Math.min("percent"===t.unit?t.left/100*a:Math.min(t.left,a),a),{left:u,top:g,width:B,height:w}=A;if(B<=0||w<=0)return;let f=Math.min(r,w),m=Math.min(i,B),b=Math.min(n,w-f),C=Math.min(o,B-m);this.drawRegion(e,0,0,h,c,u,g,C,f),this.drawRegion(e,a-d,0,d,c,u+B-m,g,m,f),this.drawRegion(e,a-d,l-p,d,p,u+B-m,g+w-b,m,b),this.drawRegion(e,0,l-p,h,p,u,g+w-b,C,b);let y=[{sx:h,sy:0,sw:a-h-d,sh:c,dx:u+C,dy:g,dw:B-C-m,dh:f,repeat:s.horizontal},{sx:a-d,sy:c,sw:d,sh:l-c-p,dx:u+B-m,dy:g+f,dw:m,dh:w-f-b,repeat:s.vertical},{sx:h,sy:l-p,sw:a-h-d,sh:p,dx:u+C,dy:g+w-b,dw:B-C-m,dh:b,repeat:s.horizontal},{sx:0,sy:c,sw:h,sh:l-c-p,dx:u,dy:g+f,dw:C,dh:w-f-b,repeat:s.vertical}];for(let A of y){if(A.sw<=0||A.sh<=0||A.dw<=0||A.dh<=0)continue;let t=A.dw>=A.dh;0===A.repeat?this.ctx.drawImage(e,A.sx,A.sy,A.sw,A.sh,A.dx,A.dy,A.dw,A.dh):(1===A.repeat||2===A.repeat)&&this.drawRepeatedEdge(e,A,t,2===A.repeat)}if(t.fill){let A=h,t=c,s=a-h-d,r=l-c-p,i=u+C,n=g+f,o=B-C-m,y=w-f-b;this.drawRegion(e,A,t,s,r,i,n,o,y)}}drawRegion(A,e,t,s,r,i,n,o,a){s>0&&r>0&&o>0&&a>0&&this.ctx.drawImage(A,e,t,s,r,i,n,o,a)}drawRepeatedEdge(A,e,t,s){let r,i,n=t?e.sw:e.sh,o=t?e.dw:e.dh;if(!(n<=0||o<=0)){s?(i=Math.max(1,Math.round(o/n)),r=o/i):(r=n,i=Math.ceil(o/r)),this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(e.dx,e.dy,e.dw,e.dh),this.ctx.clip();for(let s=0;s<i;s++){let i=s*r,n=o-i,a=Math.min(r,n);if(a<=0)break;t?this.ctx.drawImage(A,e.sx,e.sy,e.sw,e.sh,e.dx+i,e.dy,a,e.dh):this.ctx.drawImage(A,e.sx,e.sy,e.sw,e.sh,e.dx,e.dy+i,e.dw,a)}this.ctx.restore()}}},dd=class{constructor(A,e){this.activeEffects=[],this.didSave=!1,this.saveAtDepth=-1,this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();this.didSave=!1,this.saveAtDepth=-1;let e=A=>fc(A)||mc(A)||Cc(A),t=A.reduceRight((A,t,s)=>-1!==A?A:e(t)?s:-1,-1);for(let s=0;s<A.length;s++){let r=A[s];e(r)&&(this.didSave||(this.ctx.save(),this.didSave=!0),s===t&&(this.saveAtDepth=this.activeEffects.length)),this.applyEffect(r)}}applyEffect(A){fc(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)):mc(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Cc(A)?A.applyClip(this.ctx):bc(A)?this.ctx.globalAlpha*=A.opacity:yc(A)?this.ctx.globalCompositeOperation=A.compositeOperation:Qc(A)&&(this.ctx.filter=A.safeFilterString||"none",A.shadow&&(this.ctx.shadowOffsetX=A.shadow.offsetX,this.ctx.shadowOffsetY=A.shadow.offsetY,this.ctx.shadowBlur=A.shadow.blur,this.ctx.shadowColor=A.shadow.color)),this.activeEffects.push(A)}popEffect(){0!==this.activeEffects.length&&(this.didSave&&this.activeEffects.length-1===this.saveAtDepth&&(this.ctx.restore(),this.didSave=!1,this.saveAtDepth=-1),this.activeEffects.pop(),!this.didSave&&0===this.activeEffects.length&&(this.ctx.globalAlpha=1,this.ctx.globalCompositeOperation="source-over",this.ctx.filter="none",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0,this.ctx.shadowColor="rgba(0, 0, 0, 0)"))}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}},pd=(A,e,t,s,r)=>{let i=0,n=0,o=A,a=e,l=t.left,c=t.top,d=t.width,p=t.height,h=d/p,u=o/a,g=r?Fs(r[0],1):.5,B=r?Fs(r[1],1):.5;return 2===s?u>h?(p=d/u,c+=(t.height-p)*B):(d=p*u,l+=(t.width-d)*g):4===s?u>h?(o=a*h,i+=(A-o)*g):(a=o/h,n+=(e-a)*B):8===s?(o>d?(i+=(o-d)*g,o=d):(l+=(d-o)*g,d=o),a>p?(n+=(a-p)*B,a=p):(c+=(p-a)*B,p=a)):16===s&&((u>h?d:p*u)<(o>d?o:d)?u>h?(p=d/u,c+=(t.height-p)*B):(d=p*u,l+=(t.width-d)*g):(o>d?(i+=(o-d)*g,o=d):(l+=(d-o)*g,d=o),a>p?(n+=(a-p)*B,a=p):(c+=(p-a)*B,p=a))),{sx:i,sy:n,sw:o,sh:a,dx:l,dy:c,dw:d,dh:p}},hd=(A,e,t)=>A.height<t?new ne(A.left,e.top,A.width,e.height):A,ud=(A,e,t,s)=>{let r=[],i=e.split("\n");for(let e of i){if(s){r.push(e);continue}let i=e.split(/(\s+)/),n="";for(let e of i){let s=n+e;A.measureText(s).width<=t||""===n?n=s:(r.push(n),n=e)}r.push(n)}return r},gd=A=>A instanceof $l||A instanceof Xl||A instanceof Gl&&"radio"!==A.type&&"checkbox"!==A.type,Bd=A=>{switch(A){case 1:return"center";case 2:return"right";default:return"left"}},wd=class A{constructor(A,e){this.context=A,this.options=e,this.canvas=e.canvas?e.canvas:document.createElement("canvas");let t=this.canvas.getContext("2d");if(!t)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=t,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.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",void 0!==e.imageSmoothing&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new td({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new ld({ctx:this.ctx},{path:A=>this.path(A),formatPath:A=>this.formatPath(A)}),this.borderImageRenderer=new cd(this.ctx),this.effectsRenderer=new dd({ctx:this.ctx},{path:A=>this.path(A)}),this.textRenderer=new Zc({ctx:this.ctx,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){A.container.debugRender,A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,t){let s=t.naturalWidth||A.intrinsicWidth,r=t.naturalHeight||A.intrinsicHeight;if(t&&s>0&&r>0){let i=Lc(A),n=cc(e);this.path(n),this.ctx.save(),this.ctx.clip();let{sx:o,sy:a,sw:l,sh:c,dx:d,dy:p,dw:h,dh:u}=pd(s,r,i,A.styles.objectFit,A.styles.objectPosition);this.ctx.drawImage(t,o,a,l,c,d,p,h,u),this.ctx.restore()}}async renderNodeContent(e){this.effectsRenderer.applyEffects(e.getEffects(4));let t=e.container,s=e.curves,r=t.styles,i=Lc(t);for(let A of t.textNodes)await this.textRenderer.renderTextNode(A,r,i);await async function(e,t,s,r,i,n,o,a){if(i instanceof Hl)try{let A=await t.cache.match(i.src),s=e.imageSmoothingEnabled;2===o.imageRendering||1===o.imageRendering?e.imageSmoothingEnabled=!1:3===o.imageRendering&&(e.imageSmoothingEnabled=!0),a(i,n,A),e.imageSmoothingEnabled=s}catch(A){t.logger.error(`Error loading image ${i.src}`),t.onError?.(A instanceof Error?A:new Error(String(A)))}if(i instanceof Il&&a(i,n,i.canvas),i instanceof Ml)try{a(i,n,await t.cache.match(i.svg))}catch(A){t.logger.error(`Error loading svg ${i.svg.substring(0,255)}`),t.onError?.(A instanceof Error?A:new Error(String(A)))}if(i instanceof Wl&&i.tree){let r=await((e,t)=>new A(e,t))(t,{scale:s.scale,backgroundColor:i.backgroundColor,x:0,y:0,width:i.width,height:i.height}).render(i.tree);i.width&&i.height&&e.drawImage(r,0,0,i.width,i.height,i.bounds.left,i.bounds.top,i.bounds.width,i.bounds.height)}}(this.ctx,this.context,{scale:this.options.scale,backgroundColor:this.options.backgroundColor,x:this.options.x,y:this.options.y,width:this.options.width,height:this.options.height},0,t,s,r,(A,e,t)=>this.renderReplacedElement(A,e,t)),function(A,e,t,s,r){if(s instanceof Gl){let e=Math.min(s.bounds.width,s.bounds.height);"checkbox"===s.type&&s.checked?(A.save(),t([new tc(s.bounds.left+.39363*e,s.bounds.top+.79*e),new tc(s.bounds.left+.16*e,s.bounds.top+.5549*e),new tc(s.bounds.left+.27347*e,s.bounds.top+.44071*e),new tc(s.bounds.left+.39694*e,s.bounds.top+.5649*e),new tc(s.bounds.left+.72983*e,s.bounds.top+.23*e),new tc(s.bounds.left+.84*e,s.bounds.top+.34085*e),new tc(s.bounds.left+.39363*e,s.bounds.top+.79*e)]),A.fillStyle=Ls(Vl),A.fill(),A.restore()):"radio"===s.type&&s.checked&&(A.save(),A.beginPath(),A.arc(s.bounds.left+e/2,s.bounds.top+e/2,e/4,0,2*Math.PI,!0),A.fillStyle=Ls(Vl),A.fill(),A.restore())}if(gd(s)&&s.value.length){let[i]=e.createFontStyle(r);A.font=i;let n=Fs(r.fontSize,0),{baseline:o,height:a}=Xc(A,n);A.fillStyle=s instanceof Gl&&s.isPlaceholder?Ls(1970632191):Ls(r.color),A.textBaseline="alphabetic",A.textAlign=Bd(s.styles.textAlign);let l=Lc(s),c=s instanceof Gl?hd(l,Sc(s),a):l,d=0;switch(s.styles.textAlign){case 1:d+=l.width/2;break;case 2:d+=l.width}let p=0;s instanceof Gl&&(p=(l.height-a)/2);let h=l.add(d,p,0,0);A.save(),t([new tc(c.left,c.top),new tc(c.left+c.width,c.top),new tc(c.left+c.width,c.top+c.height),new tc(c.left,c.top+c.height)]),A.clip();let u=ud(A,s.value,l.width,"pre"===r.whiteSpace||"nowrap"===r.whiteSpace),g=On(r.lineHeight,n);u.forEach((t,s)=>{let i=h.left,n=A.measureText(t).width;switch(r.textAlign){case 1:i+=(l.width-n)/2;break;case 2:i+=l.width-n}let a=new ne(i,h.top+s*g,0,0);e.renderTextWithLetterSpacing(new wl(t,a),r.letterSpacing,o,r.writingMode)}),A.restore(),A.textBaseline="alphabetic",A.textAlign="left"}}(this.ctx,this.textRenderer,this.path.bind(this),t,r),await async function(A,e,t,s,r,i){if(ii(r.styles.display,2048))if(null!==r.styles.listStyleImage){let t=r.styles.listStyleImage;if(0===t.type){let s=t.url;try{let t=await e.cache.match(s);A.drawImage(t,r.bounds.left-(t.width+10),r.bounds.top)}catch(A){e.logger.error(`Error loading list-style-image ${s}`),e.onError?.(A instanceof Error?A:new Error(String(A)))}}}else if(s.listValue&&-1!==r.styles.listStyleType){let[e]=t.createFontStyle(i);A.font=e,A.fillStyle=Ls(i.color),A.textBaseline="middle",A.textAlign="right";let n=new ne(r.bounds.left,r.bounds.top+Fs(r.styles.paddingTop,r.bounds.width),r.bounds.width,On(i.lineHeight,i.fontSize.number)/2+1);t.renderTextWithLetterSpacing(new wl(s.listValue,n),i.letterSpacing,On(i.lineHeight,i.fontSize.number)/2+2,i.writingMode),A.textBaseline="bottom",A.textAlign="left"}}(this.ctx,this.context,this.textRenderer,e,t,r)}async renderStackContent(A){A.element.container.debugRender;let e=this.options.signal;await this.renderNodeBackgroundAndBorders(A.element);for(let t of A.negativeZIndex){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderNodeContent(A.element);for(let e of A.nonInlineLevel)await this.renderNode(e);for(let t of A.nonPositionedFloats){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let t of A.nonPositionedInlineLevel){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let e of A.inlineLevel)await this.renderNode(e);for(let t of A.zeroOrAutoZIndexOrTransformedOrOpacity){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}for(let t of A.positiveZIndex){if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(t)}}mask(A){this.ctx.beginPath();let e=this.options.x,t=this.options.y;this.ctx.moveTo(e,t),this.ctx.lineTo(e+this.options.width,t),this.ctx.lineTo(e+this.options.width,t+this.options.height),this.ctx.lineTo(e,t+this.options.height),this.ctx.lineTo(e,t),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){Ad(this.ctx,A)}formatPath(A){qc(this.ctx,A)}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));let e=A.container.styles,t=!Ss(e.backgroundColor)||e.backgroundImage.length,s=md(e),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}],i=Pc(e.backgroundClip,0),n=fd(i,A.curves);if((t||e.boxShadow.length)&&(s&&A.container.textNodes.length>0?await this.renderTextClippedBackground(A):(this.ctx.save(),this.path(n),this.ctx.clip(),Ss(e.backgroundColor)||(this.ctx.fillStyle=Ls(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore()),e.boxShadow.slice(0).reverse().forEach(e=>{this.ctx.save();let t=ac(A.curves),s=e.inset?0:1e4,r=ec(t,-s+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(this.path(t),this.ctx.clip(),this.mask(r)):(this.mask(t),this.ctx.clip(),this.path(r)),this.ctx.shadowOffsetX=e.offsetX.number+s,this.ctx.shadowOffsetY=e.offsetY.number,this.ctx.shadowColor=Ls(e.color),this.ctx.shadowBlur=e.blur.number,this.ctx.fillStyle=e.inset?Ls(e.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()})),e.borderImageSource){let t=e.borderImageSource;if(0===t.type){let s=t.url;try{let t=await this.context.cache.match(s);if(t){let s=A.container.bounds;this.borderImageRenderer.renderBorderImage(s,t,e.borderImageSlice,e.borderImageRepeat,Math.max(0,e.borderTopWidth),Math.max(0,e.borderRightWidth),Math.max(0,e.borderBottomWidth),Math.max(0,e.borderLeftWidth))}}catch{this.context.logger.error(`Error loading border-image ${s}`)}}return}let o=0;for(let e of r){if(0!==e.style&&!Ss(e.color)&&e.width>0){let t=async()=>{2===e.style?await this.borderRenderer.renderDashedDottedBorder(e.color,e.width,o,A.curves,2):3===e.style?await this.borderRenderer.renderDashedDottedBorder(e.color,e.width,o,A.curves,3):4===e.style?await this.borderRenderer.renderDoubleBorder(e.color,e.width,o,A.curves):await this.borderRenderer.renderSolidBorder(e.color,o,A.curves)},s=A.container.legendBounds;if(0===o&&s){let e=A.container.bounds,r=s.left-e.left,i=s.left+s.width-e.left;r>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(e.left,e.top,r,e.height),this.ctx.clip(),await t(),this.ctx.restore());let n=e.left+i,o=e.width-i;o>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(n,e.top,o,e.height),this.ctx.clip(),await t(),this.ctx.restore())}else await t()}o++}}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=Ls(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));let e=Ic(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}async renderTextClippedBackground(A){let e=A.container,t=e.styles,s=e.bounds;if(s.width<=0||s.height<=0)return;let r=(this.canvas.ownerDocument??document).createElement("canvas"),i=Math.ceil(s.width),n=Math.ceil(s.height);r.width=i,r.height=n;let o=r.getContext("2d");if(!o)return;let[a]=this.textRenderer.createFontStyle(t);o.font=a,o.textBaseline="alphabetic",o.textAlign="left",o.direction=1===t.direction?"rtl":"ltr";let l=$c(o,t.fontSize.number),c=new td({ctx:o,context:this.context,canvas:r,options:{width:i,height:n,scale:1}});Ss(t.backgroundColor)||(o.fillStyle=Ls(t.backgroundColor),o.fillRect(0,0,i,n)),o.save(),o.translate(-s.left,-s.top),await c.renderBackgroundImage(e),o.restore(),o.globalCompositeOperation="destination-in",o.fillStyle="#000";let d=t.writingMode,p=t.letterSpacing;for(let A of e.textNodes)for(let e of A.textBounds){let A=e.bounds.left-s.left,t=e.bounds.top-s.top+l;p>0?this.renderTextMaskWithLetterSpacing(o,e,p,A,t,d):o.fillText(e.text,A,t)}this.ctx.drawImage(r,s.left,s.top)}renderTextMaskWithLetterSpacing(A,e,t,s,r,i){let n=Cl(e.text),o=s;for(let a of n){if(ho(i))return void A.fillText(e.text,s,r);A.fillText(a,o,r),o+=A.measureText(a).width+t}}},fd=(A,e)=>{switch(A){case 0:return ac(e);case 2:return lc(e);default:return cc(e)}},md=A=>A.backgroundClip.some(A=>3===A),bd=class{constructor(A,e){this.context=A,this.options=e,this.canvas=e.canvas?e.canvas:document.createElement("canvas");let t=this.canvas.getContext("2d");if(!t)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=t,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){if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");let e=await gl(ul(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A));return this.options.backgroundColor&&(this.ctx.fillStyle=Ls(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}},Cd=class{static{this.instances={}}constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug?(this.id,this.getTime()):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&"function"==typeof console.info&&(this.id,this.getTime())}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}},yd=class{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this._deferMode=!1,this._collectedUrls=new Set,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).`)}startDefer(){this._deferMode=!0}async preloadAll(A=10){this._deferMode=!1;let e=Array.from(this._collectedUrls);if(this._collectedUrls.clear(),0===e.length)return;let t=Math.max(1,Math.min(A,100));this.context.logger.debug(`Preloading ${e.length} image(s) with concurrency ${t}`);for(let A=0;A<e.length;A+=t){let s=e.slice(A,A+t).map(A=>this._addImageWithPending(A));await Promise.allSettled(s)}}addImage(A){if(this._deferMode)return!this.has(A)&&(kd(A)||vd(A))&&this._collectedUrls.add(A),Promise.resolve();let e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){let e=this._cache.get(A);return this._cache.delete(A),this._cache.set(A,e),Promise.resolve()}return kd(A)||vd(A)?this._addImageWithPending(A):Promise.resolve()}_addImageWithPending(A){let e=this._pendingOperations.get(A);if(e)return e;let t=this._addImageInternal(A);return this._pendingOperations.set(A,t),t.finally(()=>{this._pendingOperations.delete(A)}),t}async _addImageInternal(A){let e=this._options.imageTimeout??15e3,t=this.withTimeout(this.loadImage(A),e,`Timed out (${e}ms) loading image`);t.catch(e=>{this.context.logger.error(`Failed to load image ${A}: ${e instanceof Error?e.message:"Unknown error"}`)}),this.set(A,t)}withTimeout(A,e,t){if(e<=0)return A;let s,r=new Promise((A,r)=>{s=setTimeout(()=>r(new Error(t)),e)});return Promise.race([A,r]).finally(()=>{void 0!==s&&clearTimeout(s)})}match(A){let e=this._cache.get(A);if(e)return this._cache.delete(A),this._cache.set(A,e),e.value}set(A,e){if(this._cache.has(A))this._cache.delete(A);else if(this._cache.size>=this.maxSize){let A=this._cache.keys().next().value;void 0!==A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}this._cache.set(A,{value:e})}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){let e=this.context.originChecker,t=A=>e.isSameOrigin(A),s="function"==typeof this._options.customIsSameOrigin?await this._options.customIsSameOrigin(A,t):t(A),r=!s&&!1===this._options.allowTaint&&!Ud(A)&&!kd(A)&&"string"!=typeof this._options.proxy,i=!Ud(A)&&(!0===this._options.useCORS||r)&&Bl.SUPPORT_CORS_IMAGES&&!s,n=!Ud(A)&&!s&&!kd(A)&&"string"==typeof this._options.proxy&&Bl.SUPPORT_CORS_XHR&&!i;if(!(s||!1!==this._options.allowTaint||Ud(A)||kd(A)||n||i))return;let o=A;return n&&(o=await this.proxy(o)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((A,e)=>{let t=new Image;t.onload=()=>A(t),t.onerror=e,(Ed(o)||i)&&(t.crossOrigin="anonymous"),t.src=o,!0===t.complete&&setTimeout(()=>A(t),500)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Array.from(this._cache.keys()))}proxy(A){let e=this._options.proxy;if(!e)throw new Error("No proxy defined");let t=A.substring(0,256);return new Promise((s,r)=>{let i=Bl.SUPPORT_RESPONSE_TYPE?"blob":"text",n=new XMLHttpRequest;n.onload=()=>{if(200===n.status)if("text"===i)s(n.response);else{let A=new FileReader;A.addEventListener("load",()=>s(A.result),!1),A.addEventListener("error",A=>r(A),!1),A.readAsDataURL(n.response)}else r(`Failed to proxy resource ${t} with status code ${n.status}`)},n.onerror=r;let o=e.indexOf("?")>-1?"&":"?";if(n.open("GET",`${e}${o}url=${encodeURIComponent(A)}&responseType=${i}`),"text"!==i&&n instanceof XMLHttpRequest&&(n.responseType=i),this._options.imageTimeout){let A=this._options.imageTimeout;n.timeout=A,n.ontimeout=()=>r(`Timed out (${A}ms) proxying ${t}`)}n.send()})}},Qd=/^data:image\/svg\+xml/i,xd=/^data:image\/.*;base64,/i,Fd=/^data:image\/.*/i,vd=A=>Bl.SUPPORT_SVG_DRAWING||!Hd(A),Ud=A=>Fd.test(A),Ed=A=>xd.test(A),kd=A=>"blob"===A.substring(0,4),Hd=A=>"svg"===A.slice(-3).toLowerCase()||Qd.test(A),Id=class{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}},Sd=class A{static{this.instanceCount=1}constructor(e,t,s){this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.config=s,this.logger=new Cd({id:this.instanceName,enabled:e.logging}),this.originChecker=new Id(s.window),this.cache=e.cache??s.cache??new yd(this,e),this.onError=e.onError}},Ld=A=>{if(A?.aborted)throw new DOMException("The operation was aborted.","AbortError")},Md=A=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{let t=A[e];if(null!=t&&"number"!=typeof t){let s=Number(t);Number.isNaN(s)||(A[e]=s)}})},Dd=A=>({allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin,maxCacheSize:A.maxCacheSize}),Kd=(A,e,t)=>({logging:A.logging??!0,cache:A.cache??e.cache,...t}),Td=(A,e)=>{let t=e;return{windowWidth:A.windowWidth??t.innerWidth??800,windowHeight:A.windowHeight??t.innerHeight??600,scrollX:A.scrollX??t.pageXOffset??0,scrollY:A.scrollY??t.pageYOffset??0}},Od=(A,e,t)=>({allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:t,copyStyles:t,cspNonce:A.cspNonce??e.cspNonce}),Rd=(A,e,t,s,r,i,n)=>({canvas:A.canvas,backgroundColor:e,signal:A.signal,scale:A.scale??n??1,x:(A.x??0)+t,y:(A.y??0)+s,width:A.width??Math.ceil(r),height:A.height??Math.ceil(i),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality}),Pd=(A,e,t)=>{let s=e.ownerDocument,r=s.documentElement?Mr(A,getComputedStyle(s.documentElement).backgroundColor):Dr.TRANSPARENT,i=s.body?Mr(A,getComputedStyle(s.body).backgroundColor):Dr.TRANSPARENT,n="string"==typeof t?Mr(A,t):null===t?Dr.TRANSPARENT:4294967295;return e===s.documentElement?Ss(r)?Ss(i)?n:i:r:n},Nd=async(A,e,t)=>{if(Md(e),!e.skipValidation){let t=e.validator||ee(),s=t.validateElement(A);if(!s.valid)throw new Error(s.error);let r=t.validateOptions(e);if(!r.valid)throw new Error(`Invalid options: ${r.error}`)}if(!A||"object"!=typeof A)throw new Error("Invalid element provided as first argument");let s=A.ownerDocument;if(!s)throw new Error("Element is not attached to a Document");let r=s.defaultView;if(!r)throw new Error("Document is not attached to a Window");let i=Kd(e,t,Dd(e)),n=Td(e,r),o=new ne(n.scrollX,n.scrollY,n.windowWidth,n.windowHeight),a=new Sd(i,o,t),l=e.enablePerformanceMonitoring??e.logging??!1,c=new ie(a,l);c.start("total",{width:n.windowWidth,height:n.windowHeight});let d=e.signal;Ld(d);let p=e.foreignObjectRendering??!1,h=Od(e,t,p);a.logger.debug(`Starting document clone with size ${o.width}x${o.height} scrolled to ${-o.left},${-o.top}`),c.start("clone");let u=new ba(a,A,h),g=u.clonedReferenceElement;if(!g)throw new Error("Unable to find element in cloned iframe");let B=await u.toIFrame(s,o);c.end("clone"),d?.aborted&&((e.removeContainer??!0)&&ba.destroy(B),Ld(d));let w,f,{width:m,height:b,left:C,top:y}=Gr(g)||Nr(g)?ae(g.ownerDocument):oe(a,g),Q=Pd(a,g,e.backgroundColor),x=Rd(e,Q,C,y,m,b,r.devicePixelRatio??1);try{return p?(a.logger.debug("Document cloned, using foreign object rendering"),c.start("render-foreignobject"),w=await new bd(a,x).render(g),c.end("render-foreignobject")):(a.logger.debug(`Document cloned, element located at ${C},${y} with size ${m}x${b} using computed rendering`),a.logger.debug("Starting DOM parsing"),c.start("parse"),Ld(d),a.cache.startDefer(),f=jl(a,g),c.end("parse"),c.start("preload"),await a.cache.preloadAll(),c.end("preload"),Q===f.styles.backgroundColor&&(f.styles.backgroundColor=Dr.TRANSPARENT),a.logger.debug(`Starting renderer for element at ${x.x},${x.y} with size ${x.width}x${x.height}`),c.start("render"),Ld(d),w=await new wd(a,x).render(f),c.end("render")),c.start("cleanup"),(e.removeContainer??!0)&&(ba.destroy(B)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.end("cleanup"),c.end("total"),a.logger.debug("Finished rendering"),l&&c.logSummary(),w}finally{f&&f.restoreTree()}},Vd=(A,e={},t)=>Nd(A,e,t||se.fromElement(A,{cspNonce:e.cspNonce,cache:e.cache}))}),$d=t(()=>{Gd={"panel.title":"Feedbacks","panel.ariaLabel":"Siteping feedback panel","panel.feedbackList":"Feedback list","panel.loading":"Loading feedbacks","panel.close":"Close panel","panel.deleteAll":"Delete all","panel.deleteAllConfirmTitle":"Delete all","panel.deleteAllConfirmMessage":"Delete all feedbacks for this project? This action cannot be undone.","panel.search":"Search...","panel.searchAria":"Search feedbacks","panel.filterAll":"All","panel.loadError":"Failed to load","panel.retry":"Retry","panel.empty":"No feedback yet","panel.showMore":"Show more","panel.notOnPage":"Not visible on this page","panel.showLess":"Show less","panel.resolve":"Resolve","panel.reopen":"Reopen","panel.delete":"Delete","panel.cancel":"Cancel","panel.confirmDelete":"Delete","panel.loadMore":"Load more ({remaining} remaining)","panel.statusAll":"All","panel.statusOpen":"Open","panel.statusResolved":"Resolved","panel.statusInProgress":"In progress","panel.statusWontFix":"Won't fix","panel.statusClosed":"Closed","type.label":"Type","type.question":"Question","type.change":"Change","type.bug":"Bug","type.other":"Other","status.label":"Status","scope.label":"Scope","scope.thisPage":"This page","scope.thisType":"This type","scope.all":"All pages","panel.filterMine":"Mine","panel.filterMineHint":"Only the feedback sent from this browser","fab.aria":"Siteping \u2014 Feedback menu","fab.messages":"Show sidebar","fab.annotate":"Create new annotation","fab.annotations":"Show or hide markers","annotator.instruction":"Draw a rectangle on the area to comment \u2014 or press Enter to comment on the last focused element","annotator.instantInstruction":"Comment on the clicked spot","annotator.touchInstruction":"Tap an element or drag to select an area","annotator.cancel":"Cancel","popup.ariaLabel":"Feedback form","popup.placeholder":"Describe your feedback...","popup.textareaAria":"Feedback message","popup.submitHintMac":"\u2318+Enter to send","popup.submitHintOther":"Ctrl+Enter to send","popup.cancel":"Cancel","popup.submit":"Send","identity.title":"Identify yourself","identity.nameLabel":"Name","identity.namePlaceholder":"Your name","identity.emailLabel":"Email","identity.emailPlaceholder":"your@email.com","identity.cancel":"Cancel","identity.submit":"Continue","marker.approximate":"Approximate position (confidence: {confidence}%)","marker.aria":"Feedback #{number}: {type}, {status} \u2014 {message}","marker.count":"{count} feedback markers displayed","fab.badge":"{count} unresolved feedbacks","feedback.sent.confirmation":"Feedback sent successfully","feedback.error.message":"Failed to send feedback","feedback.queued":"Saved on this device. It will be sent on your next visit.","feedback.deleted.confirmation":"Feedback deleted","badge.count":"{count} unresolved feedbacks","bulk.aria":"Bulk actions","bulk.selectAll":"Select all","bulk.selectFeedback":"Select {label}","bulk.selected":"{count} selected","bulk.resolve":"Resolve","bulk.delete":"Delete","bulk.deselect":"Deselect","sort.newest":"Newest first","sort.oldest":"Oldest first","sort.byType":"By type","sort.openFirst":"Open first","sort.label":"Sort","group.byPage":"By page","group.feedbacks":"{count} feedbacks","stats.aria":"Feedback statistics","stats.open":"Open","stats.closed":"Closed","stats.bugs":"Bugs","stats.progress":"{percent}% closed","detail.back":"Back","detail.aria":"Feedback detail","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Message","detail.screenshot":"Screenshot","detail.screenshotAlt":"Screenshot of the annotated area","detail.metadata":"Details","detail.annotation":"Annotation","detail.page":"Page","detail.author":"Author","detail.date":"Created","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Resolved at","detail.closedAt":"Closed at","detail.goToAnnotation":"Go to annotation","detail.element":"Element","detail.selector":"Selector","detail.position":"Position","detail.resolve":"Resolve","detail.reopen":"Reopen","detail.delete":"Delete","detail.diagnostics":"Diagnostics","detail.diagnostics.console":"Console","detail.diagnostics.network":"Failed network","detail.diagnostics.expand":"Show diagnostics","detail.diagnostics.collapse":"Hide diagnostics","detail.diagnostics.noEntries":"No entries","comments.title":"Replies","comments.placeholder":"Reply to the team...","comments.error":"Not sent. Try again.","comments.full":"This thread is full.","comments.team":"Team","shortcuts.title":"Keyboard shortcuts","shortcuts.navigate":"Navigate feedbacks","shortcuts.resolve":"Resolve / Reopen","shortcuts.delete":"Delete","shortcuts.search":"Focus search","shortcuts.select":"Toggle selection","shortcuts.help":"Show shortcuts","shortcuts.close":"Close","shortcuts.hint":"Keyboard shortcuts","export.label":"Export","export.csv":"Export CSV","export.json":"Export JSON"}}),Wd={};s(Wd,{de:()=>Yd});var Yd,Jd=t(()=>{Yd={"panel.title":"Feedbacks","panel.ariaLabel":"Siteping-Feedback-Panel","panel.feedbackList":"Feedbackliste","panel.loading":"Feedbacks werden geladen","panel.close":"Panel schlie\xdfen","panel.deleteAll":"Alle l\xf6schen","panel.deleteAllConfirmTitle":"Alle l\xf6schen","panel.deleteAllConfirmMessage":"Alle Feedbacks f\xfcr dieses Projekt l\xf6schen? Diese Aktion kann nicht r\xfcckg\xe4ngig gemacht werden.","panel.search":"Suchen...","panel.searchAria":"Feedbacks suchen","panel.filterAll":"Alle","panel.loadError":"Laden fehlgeschlagen","panel.retry":"Erneut versuchen","panel.empty":"Noch kein Feedback","panel.showMore":"Mehr anzeigen","panel.notOnPage":"Auf dieser Seite nicht sichtbar","panel.showLess":"Weniger anzeigen","panel.resolve":"Erledigen","panel.reopen":"Wieder \xf6ffnen","panel.delete":"L\xf6schen","panel.cancel":"Abbrechen","panel.confirmDelete":"L\xf6schen","panel.loadMore":"Mehr laden ({remaining} verbleibend)","panel.statusAll":"Alle","panel.statusOpen":"Offen","panel.statusResolved":"Erledigt","panel.statusInProgress":"In Arbeit","panel.statusWontFix":"Wird nicht behoben","panel.statusClosed":"Geschlossen","type.label":"Typ","type.question":"Frage","type.change":"\xc4nderung","type.bug":"Fehler","type.other":"Sonstiges","status.label":"Status","scope.label":"Bereich","scope.thisPage":"Diese Seite","scope.thisType":"Dieser Typ","scope.all":"Alle Seiten","panel.filterMine":"Meine","panel.filterMineHint":"Nur das Feedback, das von diesem Browser gesendet wurde","fab.aria":"Siteping \u2014 Feedback-Men\xfc","fab.messages":"Seitenleiste anzeigen","fab.annotate":"Neue Anmerkung erstellen","fab.annotations":"Markierungen ein- oder ausblenden","annotator.instruction":"Zeichne ein Rechteck um den Bereich, den du kommentieren m\xf6chtest \u2014 oder dr\xfccke die Eingabetaste, um das zuletzt fokussierte Element zu kommentieren","annotator.instantInstruction":"Kommentar zur angeklickten Stelle","annotator.touchInstruction":"Tippe auf ein Element oder ziehe, um einen Bereich auszuw\xe4hlen","annotator.cancel":"Abbrechen","popup.ariaLabel":"Feedbackformular","popup.placeholder":"Beschreibe dein Feedback...","popup.textareaAria":"Feedbacknachricht","popup.submitHintMac":"\u2318+Enter zum Senden","popup.submitHintOther":"Strg+Enter zum Senden","popup.cancel":"Abbrechen","popup.submit":"Senden","identity.title":"Identifiziere dich","identity.nameLabel":"Name","identity.namePlaceholder":"Dein Name","identity.emailLabel":"E-Mail","identity.emailPlaceholder":"deine@email.de","identity.cancel":"Abbrechen","identity.submit":"Fortfahren","marker.approximate":"Ungef\xe4hre Position (Konfidenz: {confidence}%)","marker.aria":"Feedback #{number}: {type}, {status} \u2014 {message}","marker.count":"{count} Feedback-Markierungen angezeigt","fab.badge":"{count} unerledigte Feedbacks","feedback.sent.confirmation":"Feedback erfolgreich gesendet","feedback.error.message":"Feedback konnte nicht gesendet werden","feedback.queued":"Auf diesem Ger\xe4t gespeichert. Wird beim n\xe4chsten Besuch gesendet.","feedback.deleted.confirmation":"Feedback gel\xf6scht","badge.count":"{count} unerledigte Feedbacks","bulk.aria":"Sammelaktionen","bulk.selectAll":"Alle ausw\xe4hlen","bulk.selectFeedback":"Ausw\xe4hlen: {label}","bulk.selected":"{count} ausgew\xe4hlt","bulk.resolve":"Erledigen","bulk.delete":"L\xf6schen","bulk.deselect":"Abw\xe4hlen","sort.newest":"Neueste zuerst","sort.oldest":"\xc4lteste zuerst","sort.byType":"Nach Typ","sort.openFirst":"Offene zuerst","sort.label":"Sortieren","group.byPage":"Nach Seite","group.feedbacks":"{count} Feedbacks","stats.aria":"Feedbackstatistik","stats.open":"Offen","stats.closed":"Geschlossen","stats.bugs":"Fehler","stats.progress":"{percent}% geschlossen","detail.back":"Zur\xfcck","detail.aria":"Feedbackdetails","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Nachricht","detail.screenshot":"Screenshot","detail.screenshotAlt":"Screenshot des markierten Bereichs","detail.metadata":"Details","detail.annotation":"Anmerkung","detail.page":"Seite","detail.author":"Autor","detail.date":"Erstellt","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Erledigt am","detail.closedAt":"Geschlossen am","detail.goToAnnotation":"Zur Anmerkung","detail.element":"Element","detail.selector":"Selektor","detail.position":"Position","detail.resolve":"Erledigen","detail.reopen":"Wieder \xf6ffnen","detail.delete":"L\xf6schen","detail.diagnostics":"Diagnose","detail.diagnostics.console":"Konsole","detail.diagnostics.network":"Fehlgeschlagenes Netzwerk","detail.diagnostics.expand":"Diagnose anzeigen","detail.diagnostics.collapse":"Diagnose ausblenden","detail.diagnostics.noEntries":"Keine Eintr\xe4ge","comments.title":"Antworten","comments.placeholder":"Dem Team antworten...","comments.error":"Nicht gesendet. Versuch es noch einmal.","comments.full":"Dieser Verlauf ist voll.","comments.team":"Team","shortcuts.title":"Tastenk\xfcrzel","shortcuts.navigate":"Feedbacks navigieren","shortcuts.resolve":"Erledigen / Wieder \xf6ffnen","shortcuts.delete":"L\xf6schen","shortcuts.search":"Suche fokussieren","shortcuts.select":"Auswahl umschalten","shortcuts.help":"K\xfcrzel anzeigen","shortcuts.close":"Schlie\xdfen","shortcuts.hint":"Tastenk\xfcrzel","export.label":"Exportieren","export.csv":"CSV exportieren","export.json":"JSON exportieren"}}),zd={};s(zd,{es:()=>_d});var _d,jd=t(()=>{_d={"panel.title":"Comentarios","panel.ariaLabel":"Panel de comentarios de Siteping","panel.feedbackList":"Lista de comentarios","panel.loading":"Cargando comentarios","panel.close":"Cerrar panel","panel.deleteAll":"Eliminar todo","panel.deleteAllConfirmTitle":"Eliminar todo","panel.deleteAllConfirmMessage":"\xbfEliminar todos los comentarios de este proyecto? Esta acci\xf3n no se puede deshacer.","panel.search":"Buscar...","panel.searchAria":"Buscar comentarios","panel.filterAll":"Todos","panel.loadError":"No se pudo cargar","panel.retry":"Reintentar","panel.empty":"A\xfan no hay comentarios","panel.showMore":"Mostrar m\xe1s","panel.notOnPage":"No visible en esta p\xe1gina","panel.showLess":"Mostrar menos","panel.resolve":"Resolver","panel.reopen":"Reabrir","panel.delete":"Eliminar","panel.cancel":"Cancelar","panel.confirmDelete":"Eliminar","panel.loadMore":"Cargar m\xe1s ({remaining} restantes)","panel.statusAll":"Todos","panel.statusOpen":"Abierto","panel.statusResolved":"Resuelto","panel.statusInProgress":"En curso","panel.statusWontFix":"No se corregir\xe1","panel.statusClosed":"Cerrado","type.label":"Tipo","type.question":"Pregunta","type.change":"Cambio","type.bug":"Error","type.other":"Otro","status.label":"Estado","scope.label":"\xc1mbito","scope.thisPage":"Esta p\xe1gina","scope.thisType":"Este tipo","scope.all":"Todas las p\xe1ginas","panel.filterMine":"M\xedos","panel.filterMineHint":"Solo los comentarios enviados desde este navegador","fab.aria":"Siteping \u2014 Men\xfa de comentarios","fab.messages":"Mostrar barra lateral","fab.annotate":"Crear nueva anotaci\xf3n","fab.annotations":"Mostrar u ocultar marcadores","annotator.instruction":"Dibuja un rect\xe1ngulo sobre el \xe1rea que quieres comentar \u2014 o pulsa Intro para comentar el \xfaltimo elemento enfocado","annotator.instantInstruction":"Comentar el punto seleccionado","annotator.touchInstruction":"Toca un elemento o arrastra para seleccionar un \xe1rea","annotator.cancel":"Cancelar","popup.ariaLabel":"Formulario de comentarios","popup.placeholder":"Describe tu comentario...","popup.textareaAria":"Mensaje de comentario","popup.submitHintMac":"\u2318+Enter para enviar","popup.submitHintOther":"Ctrl+Enter para enviar","popup.cancel":"Cancelar","popup.submit":"Enviar","identity.title":"Identif\xedcate","identity.nameLabel":"Nombre","identity.namePlaceholder":"Tu nombre","identity.emailLabel":"Correo electr\xf3nico","identity.emailPlaceholder":"tu@email.com","identity.cancel":"Cancelar","identity.submit":"Continuar","marker.approximate":"Posici\xf3n aproximada (confianza: {confidence}%)","marker.aria":"Comentario #{number}: {type}, {status} \u2014 {message}","marker.count":"{count} marcadores de feedback mostrados","fab.badge":"{count} comentarios sin resolver","feedback.sent.confirmation":"Comentario enviado correctamente","feedback.error.message":"No se pudo enviar el comentario","feedback.queued":"Guardado en este dispositivo. Se enviar\xe1 en tu pr\xf3xima visita.","feedback.deleted.confirmation":"Comentario eliminado","badge.count":"{count} comentarios sin resolver","bulk.aria":"Acciones en lote","bulk.selectAll":"Seleccionar todo","bulk.selectFeedback":"Seleccionar {label}","bulk.selected":"{count} seleccionados","bulk.resolve":"Resolver","bulk.delete":"Eliminar","bulk.deselect":"Deseleccionar","sort.newest":"M\xe1s recientes","sort.oldest":"M\xe1s antiguos","sort.byType":"Por tipo","sort.openFirst":"Abiertos primero","sort.label":"Ordenar","group.byPage":"Por p\xe1gina","group.feedbacks":"{count} comentarios","stats.aria":"Estad\xedsticas de comentarios","stats.open":"Abiertos","stats.closed":"Cerrados","stats.bugs":"Errores","stats.progress":"{percent}% cerrados","detail.back":"Atr\xe1s","detail.aria":"Detalle del comentario","detail.title":"Comentario #{number}","detail.status":"Estado","detail.message":"Mensaje","detail.screenshot":"Captura","detail.screenshotAlt":"Captura del \xe1rea anotada","detail.metadata":"Detalles","detail.annotation":"Anotaci\xf3n","detail.page":"P\xe1gina","detail.author":"Autor","detail.date":"Creado","detail.viewport":"Viewport","detail.browser":"Navegador","detail.resolvedAt":"Resuelto el","detail.closedAt":"Cerrado el","detail.goToAnnotation":"Ir a la anotaci\xf3n","detail.element":"Elemento","detail.selector":"Selector","detail.position":"Posici\xf3n","detail.resolve":"Resolver","detail.reopen":"Reabrir","detail.delete":"Eliminar","detail.diagnostics":"Diagn\xf3stico","detail.diagnostics.console":"Consola","detail.diagnostics.network":"Red fallida","detail.diagnostics.expand":"Mostrar diagn\xf3stico","detail.diagnostics.collapse":"Ocultar diagn\xf3stico","detail.diagnostics.noEntries":"Sin entradas","comments.title":"Respuestas","comments.placeholder":"Responder al equipo...","comments.error":"No se envi\xf3. Int\xe9ntalo de nuevo.","comments.full":"Este hilo est\xe1 completo.","comments.team":"Equipo","shortcuts.title":"Atajos de teclado","shortcuts.navigate":"Navegar comentarios","shortcuts.resolve":"Resolver / Reabrir","shortcuts.delete":"Eliminar","shortcuts.search":"Buscar","shortcuts.select":"Alternar selecci\xf3n","shortcuts.help":"Mostrar atajos","shortcuts.close":"Cerrar","shortcuts.hint":"Atajos de teclado","export.label":"Exportar","export.csv":"Exportar CSV","export.json":"Exportar JSON"}}),Zd={};s(Zd,{fr:()=>qd});var qd,Ap=t(()=>{qd={"panel.title":"Feedbacks","panel.ariaLabel":"Panneau de feedback Siteping","panel.feedbackList":"Liste des feedbacks","panel.loading":"Chargement des feedbacks","panel.close":"Fermer le panneau","panel.deleteAll":"Tout supprimer","panel.deleteAllConfirmTitle":"Tout supprimer","panel.deleteAllConfirmMessage":"Supprimer tous les feedbacks de ce projet ? Cette action est irr\xe9versible.","panel.search":"Rechercher...","panel.searchAria":"Rechercher dans les feedbacks","panel.filterAll":"Tous","panel.loadError":"Erreur de chargement","panel.retry":"R\xe9essayer","panel.empty":"Aucun feedback pour le moment","panel.showMore":"Voir plus","panel.notOnPage":"Pas visible sur cette page","panel.showLess":"Voir moins","panel.resolve":"R\xe9soudre","panel.reopen":"Rouvrir","panel.delete":"Supprimer","panel.cancel":"Annuler","panel.confirmDelete":"Supprimer","panel.loadMore":"Voir plus ({remaining} restants)","panel.statusAll":"Tous","panel.statusOpen":"Ouvert","panel.statusResolved":"R\xe9solu","panel.statusInProgress":"En cours","panel.statusWontFix":"Sans suite","panel.statusClosed":"Cl\xf4tur\xe9","type.label":"Type","type.question":"Question","type.change":"Changement","type.bug":"Bug","type.other":"Autre","status.label":"Statut","scope.label":"Port\xe9e","scope.thisPage":"Cette page","scope.thisType":"Ce type","scope.all":"Toutes les pages","panel.filterMine":"Mes feedbacks","panel.filterMineHint":"Uniquement les feedbacks envoy\xe9s depuis ce navigateur","fab.aria":"Siteping \u2014 Menu feedback","fab.messages":"Afficher la barre lat\xe9rale","fab.annotate":"Cr\xe9er une nouvelle annotation","fab.annotations":"Afficher ou masquer les marqueurs","annotator.instruction":"Tracez un rectangle sur la zone \xe0 commenter \u2014 ou appuyez sur Entr\xe9e pour commenter le dernier \xe9l\xe9ment actif","annotator.instantInstruction":"Commenter l'endroit cliqu\xe9","annotator.touchInstruction":"Touchez un \xe9l\xe9ment ou faites glisser pour s\xe9lectionner une zone","annotator.cancel":"Annuler","popup.ariaLabel":"Formulaire de feedback","popup.placeholder":"D\xe9crivez votre retour...","popup.textareaAria":"Message de feedback","popup.submitHintMac":"\u2318+Entr\xe9e pour envoyer","popup.submitHintOther":"Ctrl+Entr\xe9e pour envoyer","popup.cancel":"Annuler","popup.submit":"Envoyer","identity.title":"Identifiez-vous","identity.nameLabel":"Nom","identity.namePlaceholder":"Votre nom","identity.emailLabel":"Email","identity.emailPlaceholder":"votre@email.com","identity.cancel":"Annuler","identity.submit":"Continuer","marker.approximate":"Position approximative (confiance : {confidence}%)","marker.aria":"Feedback n\xb0{number} : {type}, {status} \u2014 {message}","marker.count":"{count} marqueurs de feedback affich\xe9s","fab.badge":"{count} feedbacks non r\xe9solus","feedback.sent.confirmation":"Feedback envoy\xe9 avec succ\xe8s","feedback.error.message":"\xc9chec de l'envoi du feedback","feedback.queued":"Enregistr\xe9 sur cet appareil. Il sera envoy\xe9 \xe0 votre prochaine visite.","feedback.deleted.confirmation":"Feedback supprim\xe9","badge.count":"{count} feedbacks non r\xe9solus","bulk.aria":"Actions group\xe9es","bulk.selectAll":"Tout s\xe9lectionner","bulk.selectFeedback":"S\xe9lectionner {label}","bulk.selected":"{count} s\xe9lectionn\xe9(s)","bulk.resolve":"R\xe9soudre","bulk.delete":"Supprimer","bulk.deselect":"D\xe9s\xe9lectionner","sort.newest":"Plus r\xe9cents","sort.oldest":"Plus anciens","sort.byType":"Par type","sort.openFirst":"Ouverts d'abord","sort.label":"Trier","group.byPage":"Par page","group.feedbacks":"{count} feedbacks","stats.aria":"Statistiques des feedbacks","stats.open":"Ouverts","stats.closed":"Cl\xf4tur\xe9s","stats.bugs":"Bugs","stats.progress":"{percent}% cl\xf4tur\xe9s","detail.back":"Retour","detail.aria":"D\xe9tail du feedback","detail.title":"Feedback n\xb0{number}","detail.status":"Statut","detail.message":"Message","detail.screenshot":"Capture d'\xe9cran","detail.screenshotAlt":"Capture d'\xe9cran de la zone annot\xe9e","detail.metadata":"D\xe9tails","detail.annotation":"Annotation","detail.page":"Page","detail.author":"Auteur","detail.date":"Cr\xe9\xe9 le","detail.viewport":"Viewport","detail.browser":"Navigateur","detail.resolvedAt":"R\xe9solu le","detail.closedAt":"Cl\xf4tur\xe9 le","detail.goToAnnotation":"Aller \xe0 l'annotation","detail.element":"\xc9l\xe9ment","detail.selector":"S\xe9lecteur","detail.position":"Position","detail.resolve":"R\xe9soudre","detail.reopen":"Rouvrir","detail.delete":"Supprimer","detail.diagnostics":"Diagnostics","detail.diagnostics.console":"Console","detail.diagnostics.network":"R\xe9seau en \xe9chec","detail.diagnostics.expand":"Afficher les diagnostics","detail.diagnostics.collapse":"Masquer les diagnostics","detail.diagnostics.noEntries":"Aucune entr\xe9e","comments.title":"R\xe9ponses","comments.placeholder":"R\xe9pondre \xe0 l'\xe9quipe...","comments.error":"Non envoy\xe9. R\xe9essayez.","comments.full":"Ce fil est complet.","comments.team":"\xc9quipe","shortcuts.title":"Raccourcis clavier","shortcuts.navigate":"Naviguer les feedbacks","shortcuts.resolve":"R\xe9soudre / Rouvrir","shortcuts.delete":"Supprimer","shortcuts.search":"Rechercher","shortcuts.select":"S\xe9lectionner","shortcuts.help":"Raccourcis","shortcuts.close":"Fermer","shortcuts.hint":"Raccourcis clavier","export.label":"Exporter","export.csv":"Exporter CSV","export.json":"Exporter JSON"}}),ep={};s(ep,{it:()=>tp});var tp,sp=t(()=>{tp={"panel.title":"Feedback","panel.ariaLabel":"Pannello feedback di Siteping","panel.feedbackList":"Elenco feedback","panel.loading":"Caricamento feedback","panel.close":"Chiudi pannello","panel.deleteAll":"Elimina tutto","panel.deleteAllConfirmTitle":"Elimina tutto","panel.deleteAllConfirmMessage":"Eliminare tutti i feedback per questo progetto? Questa azione non pu\xf2 essere annullata.","panel.search":"Cerca...","panel.searchAria":"Cerca feedback","panel.filterAll":"Tutti","panel.loadError":"Caricamento non riuscito","panel.retry":"Riprova","panel.empty":"Nessun feedback ancora","panel.showMore":"Mostra di pi\xf9","panel.notOnPage":"Non visibile in questa pagina","panel.showLess":"Mostra meno","panel.resolve":"Risolvi","panel.reopen":"Riapri","panel.delete":"Elimina","panel.cancel":"Annulla","panel.confirmDelete":"Elimina","panel.loadMore":"Carica altro ({remaining} rimanenti)","panel.statusAll":"Tutti","panel.statusOpen":"Aperto","panel.statusResolved":"Risolto","panel.statusInProgress":"In corso","panel.statusWontFix":"Non verr\xe0 corretto","panel.statusClosed":"Chiuso","type.label":"Tipo","type.question":"Domanda","type.change":"Modifica","type.bug":"Bug","type.other":"Altro","status.label":"Stato","scope.label":"Ambito","scope.thisPage":"Questa pagina","scope.thisType":"Questo tipo","scope.all":"Tutte le pagine","panel.filterMine":"Miei","panel.filterMineHint":"Solo i feedback inviati da questo browser","fab.aria":"Siteping \u2014 Menu feedback","fab.messages":"Mostra barra laterale","fab.annotate":"Crea nuova annotazione","fab.annotations":"Mostra o nascondi i marcatori","annotator.instruction":"Disegna un rettangolo sull'area da commentare \u2014 oppure premi Invio per commentare l'ultimo elemento attivo","annotator.instantInstruction":"Commenta il punto selezionato","annotator.touchInstruction":"Tocca un elemento o trascina per selezionare un'area","annotator.cancel":"Annulla","popup.ariaLabel":"Modulo feedback","popup.placeholder":"Descrivi il tuo feedback...","popup.textareaAria":"Messaggio di feedback","popup.submitHintMac":"\u2318+Invio per inviare","popup.submitHintOther":"Ctrl+Invio per inviare","popup.cancel":"Annulla","popup.submit":"Invia","identity.title":"Identificati","identity.nameLabel":"Nome","identity.namePlaceholder":"Il tuo nome","identity.emailLabel":"Email","identity.emailPlaceholder":"tua@email.com","identity.cancel":"Annulla","identity.submit":"Continua","marker.approximate":"Posizione approssimativa (confidenza: {confidence}%)","marker.aria":"Feedback #{number}: {type}, {status} \u2014 {message}","marker.count":"{count} marcatori di feedback visualizzati","fab.badge":"{count} feedback non risolti","feedback.sent.confirmation":"Feedback inviato con successo","feedback.error.message":"Invio del feedback non riuscito","feedback.queued":"Salvato su questo dispositivo. Verr\xe0 inviato alla prossima visita.","feedback.deleted.confirmation":"Feedback eliminato","badge.count":"{count} feedback non risolti","bulk.aria":"Azioni di gruppo","bulk.selectAll":"Seleziona tutto","bulk.selectFeedback":"Seleziona {label}","bulk.selected":"{count} selezionati","bulk.resolve":"Risolvi","bulk.delete":"Elimina","bulk.deselect":"Deseleziona","sort.newest":"Pi\xf9 recenti","sort.oldest":"Pi\xf9 vecchi","sort.byType":"Per tipo","sort.openFirst":"Aperti prima","sort.label":"Ordina","group.byPage":"Per pagina","group.feedbacks":"{count} feedback","stats.aria":"Statistiche dei feedback","stats.open":"Aperti","stats.closed":"Chiusi","stats.bugs":"Bug","stats.progress":"{percent}% chiusi","detail.back":"Indietro","detail.aria":"Dettaglio del feedback","detail.title":"Feedback #{number}","detail.status":"Stato","detail.message":"Messaggio","detail.screenshot":"Schermata","detail.screenshotAlt":"Schermata dell'area annotata","detail.metadata":"Dettagli","detail.annotation":"Annotazione","detail.page":"Pagina","detail.author":"Autore","detail.date":"Creato","detail.viewport":"Viewport","detail.browser":"Browser","detail.resolvedAt":"Risolto il","detail.closedAt":"Chiuso il","detail.goToAnnotation":"Vai all'annotazione","detail.element":"Elemento","detail.selector":"Selettore","detail.position":"Posizione","detail.resolve":"Risolvi","detail.reopen":"Riapri","detail.delete":"Elimina","detail.diagnostics":"Diagnostica","detail.diagnostics.console":"Console","detail.diagnostics.network":"Rete fallita","detail.diagnostics.expand":"Mostra diagnostica","detail.diagnostics.collapse":"Nascondi diagnostica","detail.diagnostics.noEntries":"Nessuna voce","comments.title":"Risposte","comments.placeholder":"Rispondi al team...","comments.error":"Non inviata. Riprova.","comments.full":"Questa discussione \xe8 piena.","comments.team":"Team","shortcuts.title":"Scorciatoie da tastiera","shortcuts.navigate":"Naviga i feedback","shortcuts.resolve":"Risolvi / Riapri","shortcuts.delete":"Elimina","shortcuts.search":"Cerca","shortcuts.select":"Attiva selezione","shortcuts.help":"Mostra scorciatoie","shortcuts.close":"Chiudi","shortcuts.hint":"Scorciatoie da tastiera","export.label":"Esporta","export.csv":"Esporta CSV","export.json":"Esporta JSON"}}),rp={};s(rp,{ja:()=>ip});var ip,np=t(()=>{ip={"panel.title":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af","panel.ariaLabel":"Siteping \u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30d1\u30cd\u30eb","panel.feedbackList":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u4e00\u89a7","panel.loading":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u8aad\u307f\u8fbc\u307f\u4e2d","panel.close":"\u30d1\u30cd\u30eb\u3092\u9589\u3058\u308b","panel.deleteAll":"\u5168\u524a\u9664","panel.deleteAllConfirmTitle":"\u3059\u3079\u3066\u524a\u9664","panel.deleteAllConfirmMessage":"\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3059\u3079\u3066\u524a\u9664\u3057\u307e\u3059\u304b\uff1f\u3053\u306e\u64cd\u4f5c\u306f\u53d6\u308a\u6d88\u305b\u307e\u305b\u3093\u3002","panel.search":"\u691c\u7d22...","panel.searchAria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u691c\u7d22","panel.filterAll":"\u3059\u3079\u3066","panel.loadError":"\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557\u3057\u307e\u3057\u305f","panel.retry":"\u518d\u8a66\u884c","panel.empty":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306f\u307e\u3060\u3042\u308a\u307e\u305b\u3093","panel.showMore":"\u3082\u3063\u3068\u898b\u308b","panel.notOnPage":"\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u305b\u3093","panel.showLess":"\u6298\u308a\u305f\u305f\u3080","panel.resolve":"\u89e3\u6c7a","panel.reopen":"\u518d\u30aa\u30fc\u30d7\u30f3","panel.delete":"\u524a\u9664","panel.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","panel.confirmDelete":"\u524a\u9664","panel.loadMore":"\u3055\u3089\u306b\u8aad\u307f\u8fbc\u3080\uff08\u6b8b\u308a {remaining} \u4ef6\uff09","panel.statusAll":"\u3059\u3079\u3066","panel.statusOpen":"\u672a\u5bfe\u5fdc","panel.statusResolved":"\u89e3\u6c7a\u6e08\u307f","panel.statusInProgress":"\u5bfe\u5fdc\u4e2d","panel.statusWontFix":"\u5bfe\u5fdc\u3057\u306a\u3044","panel.statusClosed":"\u30af\u30ed\u30fc\u30ba\u6e08\u307f","type.label":"\u7a2e\u985e","type.question":"\u8cea\u554f","type.change":"\u5909\u66f4\u4f9d\u983c","type.bug":"\u4e0d\u5177\u5408","type.other":"\u305d\u306e\u4ed6","status.label":"\u30b9\u30c6\u30fc\u30bf\u30b9","scope.label":"\u7bc4\u56f2","scope.thisPage":"\u3053\u306e\u30da\u30fc\u30b8","scope.thisType":"\u3053\u306e\u30da\u30fc\u30b8\u7a2e\u5225","scope.all":"\u3059\u3079\u3066\u306e\u30da\u30fc\u30b8","panel.filterMine":"\u81ea\u5206\u306e\u6295\u7a3f","panel.filterMineHint":"\u3053\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u9001\u4fe1\u3057\u305f\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u307f","fab.aria":"Siteping \u2014 \u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30e1\u30cb\u30e5\u30fc","fab.messages":"\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u8868\u793a","fab.annotate":"\u65b0\u3057\u3044\u6ce8\u91c8\u3092\u4f5c\u6210","fab.annotations":"\u30de\u30fc\u30ab\u30fc\u306e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048","annotator.instruction":"\u30b3\u30e1\u30f3\u30c8\u3057\u305f\u3044\u7bc4\u56f2\u3092\u56db\u89d2\u3067\u56f2\u3093\u3067\u304f\u3060\u3055\u3044 \u2014 \u307e\u305f\u306f Enter \u30ad\u30fc\u3067\u6700\u5f8c\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3057\u305f\u8981\u7d20\u306b\u30b3\u30e1\u30f3\u30c8\u3067\u304d\u307e\u3059","annotator.instantInstruction":"\u30af\u30ea\u30c3\u30af\u3057\u305f\u7b87\u6240\u306b\u30b3\u30e1\u30f3\u30c8","annotator.touchInstruction":"\u8981\u7d20\u3092\u30bf\u30c3\u30d7\u3059\u308b\u304b\u3001\u30c9\u30e9\u30c3\u30b0\u3057\u3066\u7bc4\u56f2\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044","annotator.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","popup.ariaLabel":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30d5\u30a9\u30fc\u30e0","popup.placeholder":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044...","popup.textareaAria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u672c\u6587","popup.submitHintMac":"\u2318+Enter \u3067\u9001\u4fe1","popup.submitHintOther":"Ctrl+Enter \u3067\u9001\u4fe1","popup.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","popup.submit":"\u9001\u4fe1","identity.title":"\u304a\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b","identity.nameLabel":"\u540d\u524d","identity.namePlaceholder":"\u304a\u540d\u524d","identity.emailLabel":"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9","identity.emailPlaceholder":"your@email.com","identity.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","identity.submit":"\u7d9a\u3051\u308b","marker.approximate":"\u304a\u304a\u3088\u305d\u306e\u4f4d\u7f6e\uff08\u78ba\u5ea6: {confidence}%\uff09","marker.aria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af #{number}: {type}\u3001{status} \u2014 {message}","marker.count":"{count} \u4ef6\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30de\u30fc\u30ab\u30fc\u3092\u8868\u793a\u4e2d","fab.badge":"\u672a\u89e3\u6c7a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","feedback.sent.confirmation":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f","feedback.error.message":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u9001\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f","feedback.queued":"\u3053\u306e\u7aef\u672b\u306b\u4fdd\u5b58\u3057\u307e\u3057\u305f\u3002\u6b21\u56de\u306e\u30a2\u30af\u30bb\u30b9\u6642\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002","feedback.deleted.confirmation":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u524a\u9664\u3057\u307e\u3057\u305f","badge.count":"\u672a\u89e3\u6c7a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","bulk.aria":"\u4e00\u62ec\u64cd\u4f5c","bulk.selectAll":"\u3059\u3079\u3066\u9078\u629e","bulk.selectFeedback":"{label}\u3092\u9078\u629e","bulk.selected":"{count} \u4ef6\u9078\u629e\u4e2d","bulk.resolve":"\u89e3\u6c7a","bulk.delete":"\u524a\u9664","bulk.deselect":"\u9078\u629e\u3092\u89e3\u9664","sort.newest":"\u65b0\u3057\u3044\u9806","sort.oldest":"\u53e4\u3044\u9806","sort.byType":"\u7a2e\u985e\u5225","sort.openFirst":"\u672a\u5bfe\u5fdc\u3092\u5148\u982d\u306b","sort.label":"\u4e26\u3073\u66ff\u3048","group.byPage":"\u30da\u30fc\u30b8\u5225","group.feedbacks":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af {count} \u4ef6","stats.aria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u7d71\u8a08","stats.open":"\u672a\u5bfe\u5fdc","stats.closed":"\u30af\u30ed\u30fc\u30ba\u6e08\u307f","stats.bugs":"\u4e0d\u5177\u5408","stats.progress":"{percent}% \u30af\u30ed\u30fc\u30ba\u6e08\u307f","detail.back":"\u623b\u308b","detail.aria":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306e\u8a73\u7d30","detail.title":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af #{number}","detail.status":"\u30b9\u30c6\u30fc\u30bf\u30b9","detail.message":"\u30e1\u30c3\u30bb\u30fc\u30b8","detail.screenshot":"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8","detail.screenshotAlt":"\u6ce8\u91c8\u304c\u4ed8\u3044\u305f\u7bc4\u56f2\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8","detail.metadata":"\u8a73\u7d30","detail.annotation":"\u6ce8\u91c8","detail.page":"\u30da\u30fc\u30b8","detail.author":"\u6295\u7a3f\u8005","detail.date":"\u4f5c\u6210\u65e5\u6642","detail.viewport":"\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8","detail.browser":"\u30d6\u30e9\u30a6\u30b6","detail.resolvedAt":"\u89e3\u6c7a\u65e5\u6642","detail.closedAt":"\u30af\u30ed\u30fc\u30ba\u65e5\u6642","detail.goToAnnotation":"\u6ce8\u91c8\u3078\u79fb\u52d5","detail.element":"\u8981\u7d20","detail.selector":"\u30bb\u30ec\u30af\u30bf\u30fc","detail.position":"\u4f4d\u7f6e","detail.resolve":"\u89e3\u6c7a","detail.reopen":"\u518d\u30aa\u30fc\u30d7\u30f3","detail.delete":"\u524a\u9664","detail.diagnostics":"\u8a3a\u65ad\u60c5\u5831","detail.diagnostics.console":"\u30b3\u30f3\u30bd\u30fc\u30eb","detail.diagnostics.network":"\u5931\u6557\u3057\u305f\u901a\u4fe1","detail.diagnostics.expand":"\u8a3a\u65ad\u60c5\u5831\u3092\u8868\u793a","detail.diagnostics.collapse":"\u8a3a\u65ad\u60c5\u5831\u3092\u96a0\u3059","detail.diagnostics.noEntries":"\u9805\u76ee\u306f\u3042\u308a\u307e\u305b\u3093","comments.title":"\u8fd4\u4fe1","comments.placeholder":"\u30c1\u30fc\u30e0\u306b\u8fd4\u4fe1...","comments.error":"\u9001\u4fe1\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002","comments.full":"\u3053\u306e\u30b9\u30ec\u30c3\u30c9\u306f\u4e0a\u9650\u306b\u9054\u3057\u307e\u3057\u305f\u3002","comments.team":"\u30c1\u30fc\u30e0","shortcuts.title":"\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8","shortcuts.navigate":"\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u79fb\u52d5","shortcuts.resolve":"\u89e3\u6c7a / \u518d\u30aa\u30fc\u30d7\u30f3","shortcuts.delete":"\u524a\u9664","shortcuts.search":"\u691c\u7d22\u306b\u30d5\u30a9\u30fc\u30ab\u30b9","shortcuts.select":"\u9078\u629e\u3092\u5207\u308a\u66ff\u3048","shortcuts.help":"\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u8868\u793a","shortcuts.close":"\u9589\u3058\u308b","shortcuts.hint":"\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8","export.label":"\u51fa\u529b","export.csv":"CSV \u3067\u51fa\u529b","export.json":"JSON \u3067\u51fa\u529b"}}),op={};s(op,{ko:()=>ap});var ap,lp=t(()=>{ap={"panel.title":"\ud53c\ub4dc\ubc31","panel.ariaLabel":"Siteping \ud53c\ub4dc\ubc31 \ud328\ub110","panel.feedbackList":"\ud53c\ub4dc\ubc31 \ubaa9\ub85d","panel.loading":"\ud53c\ub4dc\ubc31\uc744 \ubd88\ub7ec\uc624\ub294 \uc911","panel.close":"\ud328\ub110 \ub2eb\uae30","panel.deleteAll":"\ubaa8\ub450 \uc0ad\uc81c","panel.deleteAllConfirmTitle":"\ubaa8\ub450 \uc0ad\uc81c","panel.deleteAllConfirmMessage":"\uc774 \ud504\ub85c\uc81d\ud2b8\uc758 \ud53c\ub4dc\ubc31\uc744 \ubaa8\ub450 \uc0ad\uc81c\ud560\uae4c\uc694? \uc774 \uc791\uc5c5\uc740 \ub418\ub3cc\ub9b4 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","panel.search":"\uac80\uc0c9...","panel.searchAria":"\ud53c\ub4dc\ubc31 \uac80\uc0c9","panel.filterAll":"\uc804\uccb4","panel.loadError":"\ubd88\ub7ec\uc624\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4","panel.retry":"\ub2e4\uc2dc \uc2dc\ub3c4","panel.empty":"\uc544\uc9c1 \ud53c\ub4dc\ubc31\uc774 \uc5c6\uc2b5\ub2c8\ub2e4","panel.showMore":"\ub354 \ubcf4\uae30","panel.notOnPage":"\uc774 \ud398\uc774\uc9c0\uc5d0\uc11c \ubcf4\uc774\uc9c0 \uc54a\uc74c","panel.showLess":"\uc811\uae30","panel.resolve":"\ud574\uacb0","panel.reopen":"\ub2e4\uc2dc \uc5f4\uae30","panel.delete":"\uc0ad\uc81c","panel.cancel":"\ucde8\uc18c","panel.confirmDelete":"\uc0ad\uc81c","panel.loadMore":"\ub354 \ubd88\ub7ec\uc624\uae30 ({remaining}\uac74 \ub0a8\uc74c)","panel.statusAll":"\uc804\uccb4","panel.statusOpen":"\uc5f4\ub9bc","panel.statusResolved":"\ud574\uacb0\ub428","panel.statusInProgress":"\uc9c4\ud589 \uc911","panel.statusWontFix":"\ucc98\ub9ac \uc548 \ud568","panel.statusClosed":"\uc885\ub8cc\ub428","type.label":"\uc720\ud615","type.question":"\uc9c8\ubb38","type.change":"\uc218\uc815 \uc694\uccad","type.bug":"\ubc84\uadf8","type.other":"\uae30\ud0c0","status.label":"\uc0c1\ud0dc","scope.label":"\ubc94\uc704","scope.thisPage":"\uc774 \ud398\uc774\uc9c0","scope.thisType":"\uac19\uc740 \uc720\ud615\uc758 \ud398\uc774\uc9c0","scope.all":"\ubaa8\ub4e0 \ud398\uc774\uc9c0","panel.filterMine":"\ub0b4 \ud53c\ub4dc\ubc31","panel.filterMineHint":"\uc774 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \ubcf4\ub0b8 \ud53c\ub4dc\ubc31\ub9cc \ubd05\ub2c8\ub2e4","fab.aria":"Siteping \u2014 \ud53c\ub4dc\ubc31 \uba54\ub274","fab.messages":"\uc0ac\uc774\ub4dc\ubc14 \ubcf4\uae30","fab.annotate":"\uc0c8 \uc8fc\uc11d \ub9cc\ub4e4\uae30","fab.annotations":"\ub9c8\ucee4 \ubcf4\uc774\uae30 \ub610\ub294 \uc228\uae30\uae30","annotator.instruction":"\ub313\uae00\uc744 \ub0a8\uae38 \uc601\uc5ed\uc5d0 \uc0ac\uac01\ud615\uc744 \uadf8\ub9ac\uc138\uc694. Enter \ud0a4\ub97c \ub204\ub974\uba74 \ub9c8\uc9c0\ub9c9\uc73c\ub85c \ud3ec\ucee4\uc2a4\ud55c \uc694\uc18c\uc5d0 \ub313\uae00\uc744 \ub0a8\uae41\ub2c8\ub2e4","annotator.instantInstruction":"\ud074\ub9ad\ud55c \uc704\uce58\uc5d0 \ub313\uae00\uc744 \ub0a8\uae41\ub2c8\ub2e4","annotator.touchInstruction":"\uc694\uc18c\ub97c \ud0ed\ud558\uac70\ub098 \ub4dc\ub798\uadf8\ud574\uc11c \uc601\uc5ed\uc744 \uc120\ud0dd\ud558\uc138\uc694","annotator.cancel":"\ucde8\uc18c","popup.ariaLabel":"\ud53c\ub4dc\ubc31 \uc791\uc131","popup.placeholder":"\ud53c\ub4dc\ubc31 \ub0b4\uc6a9\uc744 \uc785\ub825\ud558\uc138\uc694...","popup.textareaAria":"\ud53c\ub4dc\ubc31 \ub0b4\uc6a9","popup.submitHintMac":"\u2318+Enter\ub85c \ubcf4\ub0b4\uae30","popup.submitHintOther":"Ctrl+Enter\ub85c \ubcf4\ub0b4\uae30","popup.cancel":"\ucde8\uc18c","popup.submit":"\ubcf4\ub0b4\uae30","identity.title":"\uc791\uc131\uc790 \uc815\ubcf4","identity.nameLabel":"\uc774\ub984","identity.namePlaceholder":"\uc774\ub984","identity.emailLabel":"\uc774\uba54\uc77c","identity.emailPlaceholder":"you@example.com","identity.cancel":"\ucde8\uc18c","identity.submit":"\uacc4\uc18d","marker.approximate":"\ub300\ub7b5\uc801\uc778 \uc704\uce58 (\uc2e0\ub8b0\ub3c4: {confidence}%)","marker.aria":"\ud53c\ub4dc\ubc31 #{number}: {type}, {status} \u2014 {message}","marker.count":"\ud53c\ub4dc\ubc31 \ub9c8\ucee4 {count}\uac1c \ud45c\uc2dc \uc911","fab.badge":"\ud574\uacb0\ub418\uc9c0 \uc54a\uc740 \ud53c\ub4dc\ubc31 {count}\uac74","feedback.sent.confirmation":"\ud53c\ub4dc\ubc31\uc744 \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4","feedback.error.message":"\ud53c\ub4dc\ubc31\uc744 \ubcf4\ub0b4\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4","feedback.queued":"\uc774 \uae30\uae30\uc5d0 \uc800\uc7a5\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ubc29\ubb38 \uc2dc \uc804\uc1a1\ub429\ub2c8\ub2e4.","feedback.deleted.confirmation":"\ud53c\ub4dc\ubc31\uc744 \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4","badge.count":"\ud574\uacb0\ub418\uc9c0 \uc54a\uc740 \ud53c\ub4dc\ubc31 {count}\uac74","bulk.aria":"\uc77c\uad04 \uc791\uc5c5","bulk.selectAll":"\ubaa8\ub450 \uc120\ud0dd","bulk.selectFeedback":"{label} \uc120\ud0dd","bulk.selected":"{count}\uac74 \uc120\ud0dd\ub428","bulk.resolve":"\ud574\uacb0","bulk.delete":"\uc0ad\uc81c","bulk.deselect":"\uc120\ud0dd \ud574\uc81c","sort.newest":"\ucd5c\uc2e0\uc21c","sort.oldest":"\uc624\ub798\ub41c\uc21c","sort.byType":"\uc720\ud615\ubcc4","sort.openFirst":"\uc5f4\ub9b0 \ud56d\ubaa9 \uba3c\uc800","sort.label":"\uc815\ub82c","group.byPage":"\ud398\uc774\uc9c0\ubcc4","group.feedbacks":"\ud53c\ub4dc\ubc31 {count}\uac74","stats.aria":"\ud53c\ub4dc\ubc31 \ud1b5\uacc4","stats.open":"\uc5f4\ub9bc","stats.closed":"\uc885\ub8cc\ub428","stats.bugs":"\ubc84\uadf8","stats.progress":"{percent}% \uc885\ub8cc","detail.back":"\ub4a4\ub85c","detail.aria":"\ud53c\ub4dc\ubc31 \uc0c1\uc138","detail.title":"\ud53c\ub4dc\ubc31 #{number}","detail.status":"\uc0c1\ud0dc","detail.message":"\ub0b4\uc6a9","detail.screenshot":"\uc2a4\ud06c\ub9b0\uc0f7","detail.screenshotAlt":"\uc8fc\uc11d\uc744 \ub2e8 \uc601\uc5ed\uc758 \uc2a4\ud06c\ub9b0\uc0f7","detail.metadata":"\uc0c1\uc138 \uc815\ubcf4","detail.annotation":"\uc8fc\uc11d","detail.page":"\ud398\uc774\uc9c0","detail.author":"\uc791\uc131\uc790","detail.date":"\uc791\uc131\uc77c","detail.viewport":"\ubdf0\ud3ec\ud2b8","detail.browser":"\ube0c\ub77c\uc6b0\uc800","detail.resolvedAt":"\ud574\uacb0\uc77c","detail.closedAt":"\uc885\ub8cc\uc77c","detail.goToAnnotation":"\uc8fc\uc11d \uc704\uce58\ub85c \uc774\ub3d9","detail.element":"\uc694\uc18c","detail.selector":"\uc120\ud0dd\uc790","detail.position":"\uc704\uce58","detail.resolve":"\ud574\uacb0","detail.reopen":"\ub2e4\uc2dc \uc5f4\uae30","detail.delete":"\uc0ad\uc81c","detail.diagnostics":"\uc9c4\ub2e8 \uc815\ubcf4","detail.diagnostics.console":"\ucf58\uc194","detail.diagnostics.network":"\uc2e4\ud328\ud55c \ub124\ud2b8\uc6cc\ud06c \uc694\uccad","detail.diagnostics.expand":"\uc9c4\ub2e8 \uc815\ubcf4 \ubcf4\uae30","detail.diagnostics.collapse":"\uc9c4\ub2e8 \uc815\ubcf4 \uc228\uae30\uae30","detail.diagnostics.noEntries":"\uae30\ub85d\uc774 \uc5c6\uc2b5\ub2c8\ub2e4","comments.title":"\ub2f5\uae00","comments.placeholder":"\ud300\uc5d0 \ub2f5\uae00 \ub0a8\uae30\uae30...","comments.error":"\ubcf4\ub0b4\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud558\uc138\uc694.","comments.full":"\uc774 \uc2a4\ub808\ub4dc\uc5d0\ub294 \ub354 \uc774\uc0c1 \ub2f5\uae00\uc744 \ub2ec \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","comments.team":"\ud300","shortcuts.title":"\ud0a4\ubcf4\ub4dc \ub2e8\ucd95\ud0a4","shortcuts.navigate":"\ud53c\ub4dc\ubc31 \uac04 \uc774\ub3d9","shortcuts.resolve":"\ud574\uacb0 / \ub2e4\uc2dc \uc5f4\uae30","shortcuts.delete":"\uc0ad\uc81c","shortcuts.search":"\uac80\uc0c9\ucc3d\uc73c\ub85c \uc774\ub3d9","shortcuts.select":"\uc120\ud0dd \uc804\ud658","shortcuts.help":"\ub2e8\ucd95\ud0a4 \ubcf4\uae30","shortcuts.close":"\ub2eb\uae30","shortcuts.hint":"\ud0a4\ubcf4\ub4dc \ub2e8\ucd95\ud0a4","export.label":"\ub0b4\ubcf4\ub0b4\uae30","export.csv":"CSV \ub0b4\ubcf4\ub0b4\uae30","export.json":"JSON \ub0b4\ubcf4\ub0b4\uae30"}}),cp={};s(cp,{pt:()=>dp});var dp,pp=t(()=>{dp={"panel.title":"Feedbacks","panel.ariaLabel":"Painel de feedback do Siteping","panel.feedbackList":"Lista de feedbacks","panel.loading":"Carregando feedbacks","panel.close":"Fechar painel","panel.deleteAll":"Excluir tudo","panel.deleteAllConfirmTitle":"Excluir tudo","panel.deleteAllConfirmMessage":"Excluir todos os feedbacks deste projeto? Esta a\xe7\xe3o n\xe3o pode ser desfeita.","panel.search":"Pesquisar...","panel.searchAria":"Pesquisar feedbacks","panel.filterAll":"Todos","panel.loadError":"Falha ao carregar","panel.retry":"Tentar novamente","panel.empty":"Nenhum feedback ainda","panel.showMore":"Mostrar mais","panel.notOnPage":"N\xe3o vis\xedvel nesta p\xe1gina","panel.showLess":"Mostrar menos","panel.resolve":"Resolver","panel.reopen":"Reabrir","panel.delete":"Excluir","panel.cancel":"Cancelar","panel.confirmDelete":"Excluir","panel.loadMore":"Carregar mais ({remaining} restantes)","panel.statusAll":"Todos","panel.statusOpen":"Aberto","panel.statusResolved":"Resolvido","panel.statusInProgress":"Em andamento","panel.statusWontFix":"N\xe3o ser\xe1 corrigido","panel.statusClosed":"Fechado","type.label":"Tipo","type.question":"Pergunta","type.change":"Altera\xe7\xe3o","type.bug":"Bug","type.other":"Outro","status.label":"Status","scope.label":"Escopo","scope.thisPage":"Esta p\xe1gina","scope.thisType":"Este tipo","scope.all":"Todas as p\xe1ginas","panel.filterMine":"Meus","panel.filterMineHint":"Apenas os feedbacks enviados deste navegador","fab.aria":"Siteping \u2014 Menu de feedback","fab.messages":"Exibir barra lateral","fab.annotate":"Criar nova anota\xe7\xe3o","fab.annotations":"Exibir ou ocultar marcadores","annotator.instruction":"Desenhe um ret\xe2ngulo na \xe1rea que deseja comentar \u2014 ou pressione Enter para comentar o \xfaltimo elemento em foco","annotator.instantInstruction":"Comentar o ponto clicado","annotator.touchInstruction":"Toque em um elemento ou arraste para selecionar uma \xe1rea","annotator.cancel":"Cancelar","popup.ariaLabel":"Formul\xe1rio de feedback","popup.placeholder":"Descreva seu feedback...","popup.textareaAria":"Mensagem de feedback","popup.submitHintMac":"\u2318+Enter para enviar","popup.submitHintOther":"Ctrl+Enter para enviar","popup.cancel":"Cancelar","popup.submit":"Enviar","identity.title":"Identifique-se","identity.nameLabel":"Nome","identity.namePlaceholder":"Seu nome","identity.emailLabel":"E-mail","identity.emailPlaceholder":"seu@email.com","identity.cancel":"Cancelar","identity.submit":"Continuar","marker.approximate":"Posi\xe7\xe3o aproximada (confian\xe7a: {confidence}%)","marker.aria":"Feedback #{number}: {type}, {status} \u2014 {message}","marker.count":"{count} marcadores de feedback exibidos","fab.badge":"{count} feedbacks n\xe3o resolvidos","feedback.sent.confirmation":"Feedback enviado com sucesso","feedback.error.message":"Falha ao enviar feedback","feedback.queued":"Salvo neste dispositivo. Ser\xe1 enviado na sua pr\xf3xima visita.","feedback.deleted.confirmation":"Feedback exclu\xeddo","badge.count":"{count} feedbacks n\xe3o resolvidos","bulk.aria":"A\xe7\xf5es em massa","bulk.selectAll":"Selecionar tudo","bulk.selectFeedback":"Selecionar {label}","bulk.selected":"{count} selecionados","bulk.resolve":"Resolver","bulk.delete":"Excluir","bulk.deselect":"Desmarcar","sort.newest":"Mais recentes","sort.oldest":"Mais antigos","sort.byType":"Por tipo","sort.openFirst":"Abertos primeiro","sort.label":"Ordenar","group.byPage":"Por p\xe1gina","group.feedbacks":"{count} feedbacks","stats.aria":"Estat\xedsticas de feedbacks","stats.open":"Abertos","stats.closed":"Fechados","stats.bugs":"Bugs","stats.progress":"{percent}% fechados","detail.back":"Voltar","detail.aria":"Detalhes do feedback","detail.title":"Feedback #{number}","detail.status":"Status","detail.message":"Mensagem","detail.screenshot":"Captura","detail.screenshotAlt":"Captura da \xe1rea anotada","detail.metadata":"Detalhes","detail.annotation":"Anota\xe7\xe3o","detail.page":"P\xe1gina","detail.author":"Autor","detail.date":"Criado","detail.viewport":"Viewport","detail.browser":"Navegador","detail.resolvedAt":"Resolvido em","detail.closedAt":"Fechado em","detail.goToAnnotation":"Ir para anota\xe7\xe3o","detail.element":"Elemento","detail.selector":"Seletor","detail.position":"Posi\xe7\xe3o","detail.resolve":"Resolver","detail.reopen":"Reabrir","detail.delete":"Excluir","detail.diagnostics":"Diagn\xf3stico","detail.diagnostics.console":"Console","detail.diagnostics.network":"Rede com falha","detail.diagnostics.expand":"Mostrar diagn\xf3stico","detail.diagnostics.collapse":"Ocultar diagn\xf3stico","detail.diagnostics.noEntries":"Sem entradas","comments.title":"Respostas","comments.placeholder":"Responder \xe0 equipe...","comments.error":"N\xe3o enviada. Tente novamente.","comments.full":"Esta conversa est\xe1 cheia.","comments.team":"Equipe","shortcuts.title":"Atalhos de teclado","shortcuts.navigate":"Navegar feedbacks","shortcuts.resolve":"Resolver / Reabrir","shortcuts.delete":"Excluir","shortcuts.search":"Buscar","shortcuts.select":"Alternar sele\xe7\xe3o","shortcuts.help":"Mostrar atalhos","shortcuts.close":"Fechar","shortcuts.hint":"Atalhos de teclado","export.label":"Exportar","export.csv":"Exportar CSV","export.json":"Exportar JSON"}}),hp={};s(hp,{ru:()=>up});var up,gp,Bp=t(()=>{up={"panel.title":"\u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c","panel.ariaLabel":"\u041f\u0430\u043d\u0435\u043b\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 Siteping","panel.feedbackList":"\u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c","panel.deleteAll":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0451","panel.deleteAllConfirmTitle":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0451","panel.deleteAllConfirmMessage":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043e\u0442\u0437\u044b\u0432\u044b \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430? \u042d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043d\u0435\u043e\u0431\u0440\u0430\u0442\u0438\u043c\u043e.","panel.search":"\u041f\u043e\u0438\u0441\u043a...","panel.searchAria":"\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c","panel.filterAll":"\u0412\u0441\u0435","panel.loadError":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","panel.retry":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c","panel.empty":"\u041f\u043e\u043a\u0430 \u043d\u0435\u0442 \u043e\u0442\u0437\u044b\u0432\u043e\u0432","panel.showMore":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","panel.notOnPage":"\u041d\u0435 \u0432\u0438\u0434\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435","panel.showLess":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435","panel.resolve":"\u0420\u0435\u0448\u0435\u043d\u043e","panel.reopen":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e","panel.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","panel.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","panel.confirmDelete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","panel.loadMore":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0449\u0451 ({remaining} \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c)","panel.statusAll":"\u0412\u0441\u0435","panel.statusOpen":"\u041e\u0442\u043a\u0440\u044b\u0442","panel.statusResolved":"\u0420\u0435\u0448\u0451\u043d","panel.statusInProgress":"\u0412 \u0440\u0430\u0431\u043e\u0442\u0435","panel.statusWontFix":"\u041d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e","panel.statusClosed":"\u0417\u0430\u043a\u0440\u044b\u0442","type.label":"\u0422\u0438\u043f","type.question":"\u0412\u043e\u043f\u0440\u043e\u0441","type.change":"\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435","type.bug":"\u0411\u0430\u0433","type.other":"\u0414\u0440\u0443\u0433\u043e\u0435","status.label":"\u0421\u0442\u0430\u0442\u0443\u0441","scope.label":"\u041e\u0431\u043b\u0430\u0441\u0442\u044c","scope.thisPage":"\u042d\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","scope.thisType":"\u042d\u0442\u043e\u0442 \u0442\u0438\u043f","scope.all":"\u0412\u0441\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b","panel.filterMine":"\u041c\u043e\u0438","panel.filterMineHint":"\u0422\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0437\u044b\u0432\u044b, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430","fab.aria":"Siteping \u2014 \u041c\u0435\u043d\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438","fab.messages":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c","fab.annotate":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e","fab.annotations":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0442\u044c \u043c\u0435\u0442\u043a\u0438","annotator.instruction":"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u2014 \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Enter, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442","annotator.instantInstruction":"\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0435","annotator.touchInstruction":"\u041a\u043e\u0441\u043d\u0438\u0442\u0435\u0441\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u043b\u044c\u0446\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0431\u043b\u0430\u0441\u0442\u044c","annotator.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","popup.ariaLabel":"\u0424\u043e\u0440\u043c\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438","popup.placeholder":"\u041e\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435...","popup.textareaAria":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","popup.submitHintMac":"\u2318+Enter \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","popup.submitHintOther":"Ctrl+Enter \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","popup.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","popup.submit":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","identity.title":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435\u0441\u044c","identity.nameLabel":"\u0418\u043c\u044f","identity.namePlaceholder":"\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","identity.emailLabel":"Email","identity.emailPlaceholder":"\u0432\u0430\u0448@email.com","identity.cancel":"\u041e\u0442\u043c\u0435\u043d\u0430","identity.submit":"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c","marker.approximate":"\u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f (\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c: {confidence}%)","marker.aria":"\u041e\u0442\u0437\u044b\u0432 #{number}: {type}, {status} \u2014 {message}","marker.count":"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","fab.badge":"\u041d\u0435\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","feedback.sent.confirmation":"\u041e\u0442\u0437\u044b\u0432 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d","feedback.error.message":"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0437\u044b\u0432","feedback.queued":"\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435. \u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u0438\u0438.","feedback.deleted.confirmation":"\u041e\u0442\u0437\u044b\u0432 \u0443\u0434\u0430\u043b\u0451\u043d","badge.count":"\u041d\u0435\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0445 \u043e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","bulk.aria":"\u041c\u0430\u0441\u0441\u043e\u0432\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f","bulk.selectAll":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","bulk.selectFeedback":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c: {label}","bulk.selected":"\u0412\u044b\u0431\u0440\u0430\u043d\u043e: {count}","bulk.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c","bulk.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","bulk.deselect":"\u0421\u043d\u044f\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sort.newest":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u043e\u0432\u044b\u0435","sort.oldest":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0430\u0440\u044b\u0435","sort.byType":"\u041f\u043e \u0442\u0438\u043f\u0443","sort.openFirst":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435","sort.label":"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430","group.byPage":"\u041f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435","group.feedbacks":"\u041e\u0442\u0437\u044b\u0432\u043e\u0432: {count}","stats.aria":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043e\u0442\u0437\u044b\u0432\u043e\u0432","stats.open":"\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435","stats.closed":"\u0417\u0430\u043a\u0440\u044b\u0442\u044b\u0435","stats.bugs":"\u0411\u0430\u0433\u0438","stats.progress":"\u0417\u0430\u043a\u0440\u044b\u0442\u043e: {percent}%","detail.back":"\u041d\u0430\u0437\u0430\u0434","detail.aria":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u0437\u044b\u0432\u0430","detail.title":"\u041e\u0442\u0437\u044b\u0432 #{number}","detail.status":"\u0421\u0442\u0430\u0442\u0443\u0441","detail.message":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","detail.screenshot":"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442","detail.screenshotAlt":"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438","detail.metadata":"\u0414\u0435\u0442\u0430\u043b\u0438","detail.annotation":"\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f","detail.page":"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430","detail.author":"\u0410\u0432\u0442\u043e\u0440","detail.date":"\u0421\u043e\u0437\u0434\u0430\u043d","detail.viewport":"Viewport","detail.browser":"\u0411\u0440\u0430\u0443\u0437\u0435\u0440","detail.resolvedAt":"\u0420\u0435\u0448\u0451\u043d","detail.closedAt":"\u0417\u0430\u043a\u0440\u044b\u0442","detail.goToAnnotation":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438","detail.element":"\u042d\u043b\u0435\u043c\u0435\u043d\u0442","detail.selector":"\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440","detail.position":"\u041f\u043e\u0437\u0438\u0446\u0438\u044f","detail.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c","detail.reopen":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e","detail.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","detail.diagnostics":"\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430","detail.diagnostics.console":"\u041a\u043e\u043d\u0441\u043e\u043b\u044c","detail.diagnostics.network":"\u0421\u0435\u0442\u0435\u0432\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438","detail.diagnostics.expand":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443","detail.diagnostics.collapse":"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443","detail.diagnostics.noEntries":"\u041d\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0435\u0439","comments.title":"\u041e\u0442\u0432\u0435\u0442\u044b","comments.placeholder":"\u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0435...","comments.error":"\u041d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.","comments.full":"\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e.","comments.team":"\u041a\u043e\u043c\u0430\u043d\u0434\u0430","shortcuts.title":"\u0413\u043e\u0440\u044f\u0447\u0438\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438","shortcuts.navigate":"\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c","shortcuts.resolve":"\u0420\u0435\u0448\u0438\u0442\u044c / \u041f\u0435\u0440\u0435\u043e\u0442\u043a\u0440\u044b\u0442\u044c","shortcuts.delete":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","shortcuts.search":"\u041f\u043e\u0438\u0441\u043a","shortcuts.select":"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","shortcuts.help":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0438","shortcuts.close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","shortcuts.hint":"\u0413\u043e\u0440\u044f\u0447\u0438\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438","export.label":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442","export.csv":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 CSV","export.json":"\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 JSON"}});function wp(A,e){switch(A){case"question":return e("type.question");case"change":return e("type.change");case"bug":return e("type.bug");case"other":return e("type.other");default:return A}}function fp(A,e){switch(A){case"open":return e("panel.statusOpen");case"in_progress":return e("panel.statusInProgress");case"resolved":return e("panel.statusResolved");case"wont_fix":return e("panel.statusWontFix");default:return A}}A.registerLocale=void 0,A.loadLocale=void 0;var mp,bp,Cp=t(()=>{K(),$d(),gp=function(A,e){let t=Object.assign(Object.create(null),{en:A}),s=Object.create(null);function r(A){return Object.hasOwn(e,A)}return{registerLocale(A,e){let t=B(A);s[t]={...s[t],...e}},async loadLocale(A){let i=B(A);return r(i)&&(t[i]??=await e[i]()),s[i]?{...t[i],...s[i]}:t[i]??null},createT(e){let i=B(e);return!t[i]&&!s[i]&&!r(i)&&console.warn(`[siteping] Unknown locale "${e}", falling back to "en"`),e=>s[i]?.[e]??t[i]?.[e]??A[e]??e}}}(Gd,{de:()=>Promise.resolve().then(()=>(Jd(),Wd)).then(A=>A.de),es:()=>Promise.resolve().then(()=>(jd(),zd)).then(A=>A.es),fr:()=>Promise.resolve().then(()=>(Ap(),Zd)).then(A=>A.fr),it:()=>Promise.resolve().then(()=>(sp(),ep)).then(A=>A.it),ja:()=>Promise.resolve().then(()=>(np(),rp)).then(A=>A.ja),ko:()=>Promise.resolve().then(()=>(lp(),op)).then(A=>A.ko),pt:()=>Promise.resolve().then(()=>(pp(),cp)).then(A=>A.pt),ru:()=>Promise.resolve().then(()=>(Bp(),hp)).then(A=>A.ru)}),A.registerLocale=gp.registerLocale,A.loadLocale=gp.loadLocale,mp=gp.createT,bp=w});function yp(A,e,t){let s=new Blob([A],{type:t}),r=URL.createObjectURL(s),i=document.createElement("a");i.href=r,i.download=e,i.style.display="none",_(i),document.body.appendChild(i),i.click(),requestAnimationFrame(()=>{URL.revokeObjectURL(r),i.remove()})}var Qp,xp,Fp,vp,Up,Ep=t(()=>{J(),SA(),Qp=["id","type","status","message","url","authorName","authorEmail","createdAt","resolvedAt","viewport"],xp=class{constructor(A,e,t){this.getFeedbacks=e,this.element=R("div",{style:"position: relative; display: inline-flex;"});let s=document.createElement("button");s.className="sp-export-btn",s.setAttribute("aria-haspopup","true"),s.setAttribute("aria-expanded","false"),s.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>'));let r=document.createElement("span");P(r,t("export.label")),s.appendChild(r),s.addEventListener("click",A=>{A.stopPropagation(),this.toggle()}),this.menu=R("div",{class:"sp-export-menu"}),this.menu.setAttribute("role","menu");let i=this.createOption('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="3" y1="15" x2="21" y2="15"/><line x1="9" y1="3" x2="9" y2="21"/><line x1="15" y1="3" x2="15" y2="21"/></svg>',t("export.csv"),()=>{this.exportAs("csv")}),n=this.createOption('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 3H6a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2 2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h2"/><path d="M16 3h2a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2 2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2"/></svg>',t("export.json"),()=>{this.exportAs("json")});this.menu.appendChild(i),this.menu.appendChild(n),this.element.appendChild(s),this.element.appendChild(this.menu),this.element.addEventListener("keydown",A=>{"Escape"!==A.key||!this.isOpen||(A.stopPropagation(),this.close(),s.focus())})}getFeedbacks;element;menu;isOpen=!1;removeOutsideClick=null;createOption(A,e,t){let s=document.createElement("button");s.className="sp-export-option",s.setAttribute("role","menuitem");let r=R("span",{class:"sp-export-option-icon"});r.appendChild(O(A));let i=R("span",{class:"sp-export-option-label"});return P(i,e),s.appendChild(r),s.appendChild(i),s.addEventListener("click",A=>{A.stopPropagation(),t(),this.close()}),s}toggle(){this.isOpen?this.close():this.open()}open(){this.isOpen=!0,this.removeOutsideClick=N(this.element,()=>this.close()),this.menu.classList.add("sp-export-menu--open"),this.element.querySelector(".sp-export-btn")?.setAttribute("aria-expanded","true")}close(){this.isOpen=!1,this.removeOutsideClick?.(),this.removeOutsideClick=null,this.menu.classList.remove("sp-export-menu--open"),this.element.querySelector(".sp-export-btn")?.setAttribute("aria-expanded","false")}exportAs(A){let e=this.getFeedbacks();if(0===e.length)return;let t=e[0]?.projectName??"feedbacks",s=(new Date).toISOString().slice(0,10),r=t.replace(/[^a-zA-Z0-9_-]/g,"_");if("csv"===A){let A=`\ufeff${function(A){let e=Qp.join(","),t=A.map(A=>Qp.map(e=>{let t=A[e];return function(A){let e=/^[=+\-@\t\r]/.test(A)?`'${A}`:A;return e.includes('"')||e.includes(",")||e.includes("\n")||e.includes("\r")?`"${e.replace(/"/g,'""')}"`:e}(null==t?"":String(t))}).join(","));return[e,...t].join("\n")}(e)}`;yp(A,`feedbacks-${r}-${s}.csv`,"text/csv;charset=utf-8")}else yp((i=e,JSON.stringify(i,null,2)),`feedbacks-${r}-${s}.json`,"application/json;charset=utf-8");var i}destroy(){this.close(),this.element.remove()}}}),kp=t(()=>{J(),Cp(),Fp='<svg viewBox="0 0 18 18" fill="none" aria-hidden="true"><rect x="1" y="1" width="16" height="16" rx="4" stroke="currentColor" stroke-width="2"/></svg>',vp='<svg viewBox="0 0 18 18" fill="none" aria-hidden="true"><rect x="1" y="1" width="16" height="16" rx="4" fill="url(#sp-cb-grad)" stroke="none"/><polyline points="5 9 8 12 13 6" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><defs><linearGradient id="sp-cb-grad" x1="0" y1="0" x2="18" y2="18" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="var(--sp-accent)"/><stop offset="100%" stop-color="var(--sp-accent-dark)"/></linearGradient></defs></svg>',Up=class{constructor(A,e,t){this.callbacks=e,this.t=t,this.barElement=R("div",{class:"sp-bulk-bar"}),this.barElement.setAttribute("role","toolbar"),this.barElement.setAttribute("aria-label",t("bulk.aria")),G(this.barElement,!0),this.countLabel=R("span",{class:"sp-bulk-bar-count"}),P(this.countLabel,bp(this.t,"bulk.selected",{count:0}));let s=R("div",{class:"sp-bulk-bar-actions"});this.resolveBtn=document.createElement("button"),this.resolveBtn.className="sp-bulk-btn-resolve",this.resolveBtn.type="button",this.resolveBtn.addEventListener("click",()=>this.handleResolve()),this.deleteBtn=document.createElement("button"),this.deleteBtn.className="sp-bulk-btn-delete",this.deleteBtn.type="button",this.deleteBtn.addEventListener("click",()=>this.handleDelete());let r=document.createElement("button");r.className="sp-bulk-btn-deselect",r.type="button",r.setAttribute("aria-label",this.t("bulk.deselect")),r.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>')),r.addEventListener("click",()=>this.deselectAll()),s.appendChild(this.resolveBtn),s.appendChild(this.deleteBtn),s.appendChild(r),this.barElement.appendChild(this.countLabel),this.barElement.appendChild(s),this.updateButtonLabels()}callbacks;barElement;selected=new Set;checkboxMap=new Map;countLabel;resolveBtn;deleteBtn;selectAllCheckbox=null;listContainer=null;isProcessing=!1;t;createCheckbox(A,e){let t=R("div",{class:"sp-bulk-checkbox"});return t.setAttribute("role","checkbox"),t.setAttribute("tabindex","0"),t.setAttribute("aria-label",bp(this.t,"bulk.selectFeedback",{label:e})),t.addEventListener("click",e=>{e.stopPropagation(),this.toggle(A)}),t.addEventListener("keydown",e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),e.stopPropagation(),this.toggle(A))}),this.checkboxMap.set(A,t),this.updateCheckbox(A),t}isSelected(A){return this.selected.has(A)}createSelectAllBar(A,e){let t=R("div",{class:"sp-bulk-select-all"}),s=R("div",{class:"sp-bulk-checkbox"});s.setAttribute("role","checkbox"),s.setAttribute("tabindex","0"),s.setAttribute("aria-label",e),this.selectAllCheckbox=s,this.updateSelectAllCheckbox(A.length>0&&A.every(A=>this.selected.has(A)));let r=R("span");P(r,e),t.appendChild(s),t.appendChild(r);let i=()=>{this.selected.size===A.length&&A.length>0?this.deselectAll():this.selectAll(A)};return t.addEventListener("click",i),s.addEventListener("keydown",A=>{(" "===A.key||"Enter"===A.key)&&(A.preventDefault(),A.stopPropagation(),i())}),t}setListContainer(A){this.listContainer=A}toggle(A){this.isProcessing||(this.selected.has(A)?this.selected.delete(A):this.selected.add(A),this.updateCheckbox(A),this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass(),this.updateCardSelectedState(A))}selectAll(A){if(!this.isProcessing){for(let e of A)this.selected.add(e),this.updateCheckbox(e),this.updateCardSelectedState(e);this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass()}}deselectAll(){let A=[...this.selected];this.selected.clear();for(let e of A)this.updateCheckbox(e),this.updateCardSelectedState(e);this.updateBar(),this.updateSelectAllCheckbox(),this.updateListSelectionClass()}get selectedIds(){return[...this.selected]}get count(){return this.selected.size}get hasSelection(){return this.selected.size>0}reset(){this.selected.clear(),this.checkboxMap.clear(),this.selectAllCheckbox=null,this.isProcessing=!1,this.updateBar(),this.updateListSelectionClass()}destroy(){this.selected.clear(),this.checkboxMap.clear(),this.selectAllCheckbox=null,this.listContainer=null,this.barElement.remove()}updateBar(){let A=this.selected.size,e=A>0;!e&&X(this.barElement)&&this.selectAllCheckbox?.focus(),G(this.barElement,!e),this.barElement.classList.toggle("sp-bulk-bar--visible",e),P(this.countLabel,bp(this.t,"bulk.selected",{count:A}));let t=[...this.selected];V(this.resolveBtn,!1===this.callbacks.permits?.(t,"canChangeStatus")),V(this.deleteBtn,!1===this.callbacks.permits?.(t,"canDelete")),this.updateButtonLabels()}updateButtonLabels(){let A=this.selected.size,e=this.t("bulk.resolve"),t=this.t("bulk.delete");this.resolveBtn.replaceChildren();let s=document.createElement("span");P(s,A>0?`${e} ${A}`:e),this.resolveBtn.appendChild(s),this.deleteBtn.replaceChildren();let r=document.createElement("span");P(r,A>0?`${t} ${A}`:t),this.deleteBtn.appendChild(r)}updateCheckbox(A){let e=this.checkboxMap.get(A);if(!e)return;let t=this.selected.has(A);e.classList.toggle("sp-bulk-checkbox--checked",t),e.setAttribute("aria-checked",String(t)),e.replaceChildren(),e.appendChild(O(t?vp:Fp))}updateSelectAllCheckbox(A=this.selected.size>0&&this.selected.size===this.checkboxMap.size){this.selectAllCheckbox&&(this.selectAllCheckbox.classList.toggle("sp-bulk-checkbox--checked",A),this.selectAllCheckbox.setAttribute("aria-checked",String(A)),this.selectAllCheckbox.replaceChildren(),this.selectAllCheckbox.appendChild(O(A?vp:Fp)))}updateListSelectionClass(){this.listContainer&&this.listContainer.classList.toggle("sp-list--has-selection",this.selected.size>0)}updateCardSelectedState(A){if(!this.listContainer)return;let e=CSS.escape(A),t=this.listContainer.querySelector(`[data-feedback-id="${e}"]`);t&&t.classList.toggle("sp-card--selected",this.selected.has(A))}async handleResolve(){if(this.isProcessing||0===this.selected.size)return;this.isProcessing=!0;let A=[...this.selected];$(this.resolveBtn),this.deleteBtn.disabled=!0;try{await this.callbacks.onResolve(A)}catch{return}finally{this.endProcessing()}this.deselectAll()}async handleDelete(){if(this.isProcessing||0===this.selected.size)return;this.isProcessing=!0;let A=[...this.selected];$(this.deleteBtn),this.resolveBtn.disabled=!0;try{await this.callbacks.onDelete(A)}catch{return}finally{this.endProcessing()}this.deselectAll()}endProcessing(){this.isProcessing=!1,this.resolveBtn.disabled=!1,this.deleteBtn.disabled=!1,this.updateButtonLabels()}}});function Hp(A){for(let e of[...A.attributes])(!Mp.has(e.name.toLowerCase())||!Kp(e.value))&&A.removeAttribute(e.name);for(let e of[...A.children])Lp.has(e.localName.toLowerCase())?Hp(e):e.remove()}function Ip(A){let e=(new DOMParser).parseFromString(A,"text/html").body.firstElementChild;return"http://www.w3.org/2000/svg"!==e?.namespaceURI||"svg"!==e.localName?null:(Hp(e),e.setAttribute("aria-hidden","true"),document.importNode(e,!0))}function Sp(A){try{let e=new URL(A,document.baseURI);return/^(https?|mailto):$/.test(e.protocol)?e.href:null}catch{return null}}var Lp,Mp,Dp,Kp,Tp,Op,Rp=t(()=>{Lp=new Set(["svg","g","path","circle","ellipse","line","polyline","polygon","rect","defs","lineargradient","radialgradient","stop","clippath","mask"]),Mp=new Set("id viewbox preserveaspectratio width height x y x1 y1 x2 y2 cx cy r rx ry fx fy fr d points pathlength\n transform opacity color fill fill-opacity fill-rule stroke stroke-width stroke-linecap stroke-linejoin\n stroke-miterlimit stroke-dasharray stroke-dashoffset stroke-opacity clip-path clip-rule mask offset\n stop-color stop-opacity gradientunits gradienttransform spreadmethod clippathunits maskunits\n maskcontentunits".split(/\s+/)),Dp=/\b(?:(?:rgba?|hsla?|matrix|translate|scale|rotate|skewx|skewy)\([^()\\]*\)|url\(\s*(['"]?)#[\w-]+\1\s*\))/gi,Kp=A=>!A.includes("\\")&&!A.replace(Dp,"").includes("("),Tp=A=>"function"==typeof A.onAction&&void 0===A.href,Op=A=>("string"==typeof A.href||"function"==typeof A.href)&&void 0===A.onAction});function Pp(A,e){try{return new Date(A).toLocaleString(e,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{return A}}function Np(A,e){return A.length<=e?A:A.slice(0,e-1)+"\u2026"}function Vp(A){return!Number.isFinite(A)||A<0?"\u2014":A<1e3?`${Math.round(A)} ms`:`${(A/1e3).toFixed(1)} s`}function Gp({action:A,icon:e}){let t=document.createElement("span");return P(t,A.label),e?[e.cloneNode(!0),t]:[t]}var Xp,$p,Wp,Yp=t(()=>{K(),J(),Cp(),LA(),Rp(),YA(),Xp='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>',$p='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg>',Wp=class{constructor(A,e,t,s,r=[]){this.colors=A,this.callbacks=e,this.customActions=r,this.t=t,this.locale=s,this.element=R("div",{class:"sp-detail"}),this.element.setAttribute("role","dialog"),this.element.setAttribute("aria-label",t("detail.aria")),this.element.setAttribute("aria-hidden","true"),G(this.element,!0);let i=R("div",{class:"sp-detail-header"}),n=document.createElement("button");n.type="button",n.className="sp-detail-back",n.setAttribute("aria-label",this.t("detail.back")),n.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>')),n.addEventListener("click",()=>{this.hide(),this.callbacks.onBack()}),this.element.appendChild(i),i.appendChild(n),this.content=R("div",{class:"sp-detail-content"}),this.element.appendChild(this.content)}colors;callbacks;customActions;element;_isVisible=!1;opener=null;currentFeedback=null;content;t;locale;resolveBtn=null;deleteBtn=null;customBtns=[];pending=new Map;show(A,e){this.currentFeedback=A;let t=this.element.querySelector(".sp-detail-header");if(!t)return;let s=t.querySelector(".sp-detail-back");if(!s)return;t.replaceChildren(s);let r=R("span",{class:"sp-detail-title"});P(r,bp(this.t,"detail.title",{number:e})),t.appendChild(r);let i=R("span",{class:"sp-badge"});i.style.background=NA(A.type,this.colors),i.style.color=OA(A.type,this.colors),P(i,wp(A.type,this.t)),t.appendChild(i),this.content.replaceChildren();let n=0,o=this.buildSection(n++);this.buildStatusActions(o,A);let a=this.pending.get(A.id);a&&this.lock(a),this.content.appendChild(o);let l=this.buildSection(n++),c=R("div",{class:"sp-detail-section-title"});P(c,this.t("detail.message")),l.appendChild(c);let d=R("div",{class:"sp-detail-message"});d.style.borderLeftColor=OA(A.type,this.colors),P(d,A.message),l.appendChild(d);let p=this.callbacks.buildThread?.(A);if(p&&l.appendChild(p),this.content.appendChild(l),A.screenshotUrl&&(h=A.screenshotUrl,/^data:image\/(jpeg|png|webp);/i.test(h)||/^https:\/\//i.test(h)||function(A){try{let{protocol:e,hostname:t}=new URL(A);return"http:"===e&&("localhost"===t||t.endsWith(".localhost")||"127.0.0.1"===t||"[::1]"===t)}catch{return!1}}(h))){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});P(t,this.t("detail.screenshot")),e.appendChild(t);let s=document.createElement("img");s.className="sp-detail-screenshot",s.src=A.screenshotUrl,s.alt=this.t("detail.screenshotAlt"),s.loading="lazy",s.referrerPolicy="no-referrer",e.appendChild(s),this.content.appendChild(e)}var h;let u=this.buildSection(n++),g=R("div",{class:"sp-detail-section-title"});if(P(g,this.t("detail.metadata")),u.appendChild(g),this.buildMetadata(u,A),this.content.appendChild(u),A.annotations.length>0){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});t.appendChild(O(Xp));let s=R("span");P(s,this.t("detail.annotation")),t.appendChild(s),e.appendChild(t),this.buildAnnotation(e,A),this.content.appendChild(e)}if(function(A){if(!A)return!1;let e=Array.isArray(A.console)?A.console.length:0,t=Array.isArray(A.network)?A.network.length:0;return e>0||t>0}(A.diagnostics)){let e=this.buildSection(n++),t=R("div",{class:"sp-detail-section-title"});t.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>'));let s=R("span");P(s,this.t("detail.diagnostics")),t.appendChild(s),e.appendChild(t),this.buildDiagnostics(e,A),this.content.appendChild(e)}if(!this._isVisible){let A=this.element.getRootNode().activeElement;this.opener=A instanceof HTMLElement?A:null}this._isVisible=!0,this.element.setAttribute("aria-hidden","false"),G(this.element,!1),this.element.offsetHeight,this.element.classList.add("sp-detail--visible"),requestAnimationFrame(()=>{s.focus()})}hide(){if(!this._isVisible)return;this._isVisible=!1;let A=X(this.element),e=this.currentFeedback?.id;this.element.classList.remove("sp-detail--visible"),this.element.setAttribute("aria-hidden","true"),G(this.element,!0),A&&(!0===this.opener?.isConnected?this.opener:e?this.element.parentElement?.querySelector(`.sp-card[data-feedback-id="${CSS.escape(e)}"]`):null)?.focus(),this.opener=null,this.currentFeedback=null,this.resolveBtn=null,this.deleteBtn=null,this.customBtns=[]}get feedbackId(){return this.currentFeedback?.id??null}get isVisible(){return this._isVisible}destroy(){this.hide(),this.element.remove()}buildSection(A){let e=R("div",{class:"sp-detail-section"});return e.style.animationDelay=40*A+"ms",e}buildStatusActions(A,e){let t=m(e.status),s=R("div",{class:"sp-detail-section-title"});P(s,this.t("detail.status")),A.appendChild(s);let r=e.status.replace(/_/g,"-"),i={open:"#22c55e",in_progress:"#f59e0b",resolved:"#9ca3af",wont_fix:"#94a3b8"},n=R("div",{class:"sp-detail-status"}),o=R("span",{class:`sp-detail-status-pill sp-detail-status-pill--${r}`}),a=R("span",{class:"sp-detail-status-dot"});a.style.background=i[e.status]??i.open,o.appendChild(a);let l=R("span");P(l,fp(e.status,this.t)),o.appendChild(l),n.appendChild(o),A.appendChild(n);let c=R("div",{class:"sp-detail-actions"});this.resolveBtn=document.createElement("button"),this.resolveBtn.type="button",this.resolveBtn.className=t?"sp-detail-btn-reopen":"sp-detail-btn-resolve",this.restoreResolveBtn(e),this.resolveBtn.addEventListener("click",()=>this.handleResolve()),this.deleteBtn=document.createElement("button"),this.deleteBtn.type="button",this.deleteBtn.className="sp-detail-btn-delete",this.restoreDeleteBtn(),this.deleteBtn.addEventListener("click",()=>this.handleDelete()),!1!==this.callbacks.permits?.(e,"canChangeStatus")&&c.appendChild(this.resolveBtn),!1!==this.callbacks.permits?.(e,"canDelete")&&c.appendChild(this.deleteBtn),A.appendChild(c),this.buildCustomActions(A,e)}buildCustomActions(A,e){if(this.customBtns=[],0===this.customActions.length)return;let t=(r=e,JSON.parse(JSON.stringify(r),(A,e)=>"object"==typeof e&&null!==e?Object.freeze(e):e)),s=R("div",{class:"sp-detail-actions sp-detail-actions--custom"});var r;for(let A of this.customActions){let e,{action:r}=A;try{if(r.visible&&!r.visible(t))continue;if(void 0===r.href){let s=document.createElement("button");s.type="button",s.setAttribute("aria-label",r.label),s.addEventListener("click",()=>{this.run(A,()=>this.callbacks.onCustomAction(r,t))}),this.customBtns.push(s),e=s}else{let A=Sp("function"==typeof r.href?r.href(t):r.href);if(!A)throw new Error(`[siteping] Panel action "${r.id}": href must be an http(s) or mailto URL.`);let s=document.createElement("a");s.href=A,A.startsWith("mailto:")||(s.target="_blank"),s.rel="noopener noreferrer",e=s}}catch(A){this.callbacks.onCustomActionError(A);continue}e.className="sp-detail-btn-custom",e.setAttribute("data-action-id",r.id),e.title=r.label,e.append(...Gp(A)),s.appendChild(e)}s.childElementCount>0&&A.appendChild(s)}buildMetadata(A,e){let t=R("div",{class:"sp-detail-meta"});if(this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>',this.t("detail.page"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return P(A,Np(function(A){try{return new URL(A).pathname}catch{return A}}(e.url),60)),A.title=e.url,A}),this.addMetaRow(t,kA,this.t("detail.author"),()=>{let A=R("div",{class:"sp-detail-meta-value"}),t=e.authorName||"Anonymous",s=e.authorEmail;return P(A,s?`${t} (${s})`:t),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>',this.t("detail.date"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return P(A,Pp(e.createdAt,this.locale)),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>',this.t("detail.viewport"),()=>{let A=R("div",{class:"sp-detail-meta-value sp-detail-meta-value--mono"});return P(A,e.viewport||"Unknown"),A}),this.addMetaRow(t,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>',this.t("detail.browser"),()=>{let A=R("div",{class:"sp-detail-meta-value"});return P(A,function(A){if(/Edg\//i.test(A)){let e=A.match(/Edg\/([\d.]+)/);return e?`Edge ${e[1]}`:"Edge"}if(/OPR\//i.test(A)||/Opera/i.test(A)){let e=A.match(/OPR\/([\d.]+)/);return e?`Opera ${e[1]}`:"Opera"}if(/Firefox\//i.test(A)){let e=A.match(/Firefox\/([\d.]+)/);return e?`Firefox ${e[1]}`:"Firefox"}if(/Chrome\//i.test(A)&&!/Chromium/i.test(A)){let e=A.match(/Chrome\/([\d.]+)/);return e?`Chrome ${e[1]}`:"Chrome"}if(/Safari\//i.test(A)&&!/Chrome/i.test(A)){let e=A.match(/Version\/([\d.]+)/);return e?`Safari ${e[1]}`:"Safari"}return"Unknown"}(e.userAgent)),A}),e.resolvedAt){let A=e.resolvedAt,s="wont_fix"===e.status?this.t("detail.closedAt"):this.t("detail.resolvedAt");this.addMetaRow(t,$p,s,()=>{let e=R("div",{class:"sp-detail-meta-value sp-detail-meta-value--secondary"});return P(e,Pp(A,this.locale)),e})}A.appendChild(t)}addMetaRow(A,e,t,s){let r=R("div",{class:"sp-detail-meta-row"});r.appendChild(O(e));let i=R("div",{class:"sp-detail-meta-content"}),n=R("div",{class:"sp-detail-meta-label"});P(n,t),i.appendChild(n),i.appendChild(s()),r.appendChild(i),A.appendChild(r)}buildAnnotation(A,e){let t=e.annotations[0];if(!t)return;let s=R("div",{class:"sp-detail-annotation"}),r=R("div",{class:"sp-detail-annotation-info"});if(this.addAnnotationRow(r,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>',this.t("detail.element"),()=>{let A=R("span",{class:"sp-detail-annotation-value sp-detail-annotation-value--mono"});return P(A,t.elementId?`<${t.elementTag}#${t.elementId}>`:`<${t.elementTag}>`),A}),this.addAnnotationRow(r,'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="22" y1="12" x2="18" y2="12"/><line x1="6" y1="12" x2="2" y2="12"/><line x1="12" y1="6" x2="12" y2="2"/><line x1="12" y1="22" x2="12" y2="18"/></svg>',this.t("detail.selector"),()=>{let A=R("span",{class:"sp-detail-annotation-value sp-detail-annotation-value--mono"});return P(A,Np(t.cssSelector,60)),A.title=t.cssSelector,A}),this.addAnnotationRow(r,Xp,this.t("detail.position"),()=>{let A=R("span",{class:"sp-detail-annotation-value"}),e=A=>`${(100*A).toFixed(1)}%`;return P(A,`${e(t.xPct)}, ${e(t.yPct)}`+(t.wPct>0||t.hPct>0?` (${e(t.wPct)} \xd7 ${e(t.hPct)})`:"")),A}),s.appendChild(r),A.appendChild(s),!1===this.callbacks.canGoToAnnotation?.(e))return;let i=document.createElement("button");i.type="button",i.className="sp-detail-btn-goto",i.appendChild(O(Xp));let n=document.createElement("span");P(n,this.t("detail.goToAnnotation")),i.appendChild(n),i.addEventListener("click",()=>{this.currentFeedback&&this.callbacks.onGoToAnnotation(this.currentFeedback)}),s.appendChild(i);let o=this.callbacks.lostNote?.(e.id);o&&s.appendChild(o)}buildDiagnostics(A,e){let t=e.diagnostics;if(!t)return;let s=Array.isArray(t.console)?t.console:[],r=Array.isArray(t.network)?t.network:[],i=s.filter(A=>"error"===A.level).length,n=R("div",{class:"sp-detail-diag"}),o=document.createElement("button");o.type="button",o.className="sp-detail-diag-toggle",o.setAttribute("aria-expanded","false"),o.setAttribute("aria-label",this.t("detail.diagnostics.expand"));let a=document.createElement("span"),l=document.createElement("span");l.style.display="inline-flex",l.style.alignItems="center",l.style.gap="8px",l.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg>')),P(a,this.t("detail.diagnostics")),l.appendChild(a),o.appendChild(l);let c=R("span",{class:"sp-detail-diag-counts"}),d=R("span",{class:"sp-detail-diag-count"+(i>0?" sp-detail-diag-count--errors":"")});P(d,`${s.length} console`);let p=R("span",{class:"sp-detail-diag-count"+(r.length>0?" sp-detail-diag-count--errors":"")});P(p,`${r.length} net`),c.appendChild(d),c.appendChild(p),o.appendChild(c);let h=R("div",{class:"sp-detail-diag-body"});if(s.length>0){let A=document.createElement("div"),e=R("div",{class:"sp-detail-diag-group-title"});P(e,this.t("detail.diagnostics.console")),A.appendChild(e);let t=document.createElement("ul");t.className="sp-detail-diag-list";for(let A of s){let e=document.createElement("li"),s=R("span",{class:`sp-detail-diag-level sp-detail-diag-level--${A.level}`});P(s,A.level);let r=R("span",{class:"sp-detail-diag-message"});P(r,Np(A.message,240)),r.title=A.message,e.appendChild(s),e.appendChild(r),t.appendChild(e)}A.appendChild(t),h.appendChild(A)}if(r.length>0){let A=document.createElement("div"),e=R("div",{class:"sp-detail-diag-group-title"});P(e,this.t("detail.diagnostics.network")),A.appendChild(e);let t=document.createElement("ul");t.className="sp-detail-diag-list";for(let A of r){let e=document.createElement("li");e.classList.add("sp-detail-diag-net");let s=R("span",{class:"sp-detail-diag-net-status"});P(s,0===A.status?"ERR":String(A.status));let r=R("span",{class:"sp-detail-diag-net-method"});P(r,A.method);let i=R("span",{class:"sp-detail-diag-net-url"});P(i,Np(A.url,120)),i.title=`${A.url} \u2014 ${Vp(A.durationMs)}`,e.appendChild(s),e.appendChild(r),e.appendChild(i),t.appendChild(e)}A.appendChild(t),h.appendChild(A)}o.addEventListener("click",()=>{let A=!("true"===o.getAttribute("aria-expanded"));o.setAttribute("aria-expanded",String(A)),o.setAttribute("aria-label",A?this.t("detail.diagnostics.collapse"):this.t("detail.diagnostics.expand")),h.classList.toggle("sp-detail-diag-body--open",A)}),n.appendChild(o),n.appendChild(h),A.appendChild(n)}addAnnotationRow(A,e,t,s){let r=R("div",{class:"sp-detail-annotation-row"});r.appendChild(O(e));let i=R("div",{class:"sp-detail-meta-content"}),n=R("div",{class:"sp-detail-annotation-label"});P(n,t),i.appendChild(n),i.appendChild(s()),r.appendChild(i),A.appendChild(r)}handleResolve(){return this.run("resolve",A=>this.callbacks.onResolve(A))}handleDelete(){return this.run("delete",A=>this.callbacks.onDelete(A))}async run(A,e){let t=this.currentFeedback;if(t&&!this.pending.has(t.id)){this.pending.set(t.id,A),this.lock(A);try{await e(t)}catch{}finally{this.pending.delete(t.id),this.currentFeedback?.id===t.id&&this.unlock(A,this.currentFeedback)}}}lock(A){this.setActionsDisabled(!0);let e=this.buttonFor(A);e&&(this.setButtonLoading(e),e.setAttribute("aria-busy","true"))}unlock(A,e){let t=this.buttonFor(A);t?.removeAttribute("aria-busy"),"resolve"===A?this.restoreResolveBtn(e):"delete"===A?this.restoreDeleteBtn():t?.replaceChildren(...Gp(A)),this.setActionsDisabled(!1)}buttonFor(A){return"resolve"===A?this.resolveBtn:"delete"===A?this.deleteBtn:this.customBtns.find(e=>e.dataset.actionId===A.action.id)??null}setActionsDisabled(A){for(let e of[this.resolveBtn,this.deleteBtn,...this.customBtns])e&&(e.disabled=A)}setButtonLoading(A){A.disabled=!0,A.replaceChildren(R("div",{class:"sp-spinner sp-spinner--sm"}))}restoreResolveBtn(A){if(!this.resolveBtn)return;this.resolveBtn.disabled=!1,this.resolveBtn.replaceChildren();let e=m(A.status);this.resolveBtn.appendChild(O(e?'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>':$p));let t=document.createElement("span");P(t,e?this.t("detail.reopen"):this.t("detail.resolve")),this.resolveBtn.appendChild(t)}restoreDeleteBtn(){if(!this.deleteBtn)return;this.deleteBtn.disabled=!1,this.deleteBtn.replaceChildren(),this.deleteBtn.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg>'));let A=document.createElement("span");P(A,this.t("detail.delete")),this.deleteBtn.appendChild(A)}}});function Jp(A){try{return new URL(A).pathname}catch{return A}}function zp(A,e){let t=R("div",{class:"sp-group-header"});t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.setAttribute("aria-expanded","true"),t.style.borderBottomColor="var(--sp-border)";let s=R("span",{class:"sp-group-header-chevron"});s.appendChild(O(jp)),t.appendChild(s);let r=R("span",{class:"sp-group-header-icon"});r.appendChild(O(_p)),t.appendChild(r);let i=R("span",{class:"sp-group-header-path"}),n=function(A){if(A.length<=40)return A;let e=Math.floor(19.5);return A.slice(0,e)+"\u2026"+A.slice(-e)}(A);P(i,n),A.length>40&&(i.title=A),t.appendChild(i);let o=R("span",{class:"sp-group-header-count"});o.style.background="var(--sp-accent-light)",o.style.color="var(--sp-accent)",P(o,String(e)),t.appendChild(o);let a=()=>{let A="true"===t.getAttribute("aria-expanded");t.setAttribute("aria-expanded",String(!A)),t.classList.toggle("sp-group-header--collapsed",A);let e=t.nextElementSibling;e?.classList.contains("sp-group-content")&&e.classList.toggle("sp-group-content--collapsed",A)};return t.addEventListener("click",a),t.addEventListener("keydown",A=>{("Enter"===A.key||" "===A.key)&&(A.preventDefault(),a())}),t}var _p,jp,Zp,qp,Ah,eh,th,sh=t(()=>{K(),J(),_p='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>',jp='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg>',Zp={question:0,change:1,bug:2,other:3},qp=class{element;_sortMode="newest";_groupByPage=!1;menuEl=null;sortBtn;sortDropdown;groupToggle;t;onChange;removeOutsideClick=null;constructor(A,e){this.onChange=A,this.t=e,this.element=R("div",{class:"sp-sort-controls"}),this.sortBtn=document.createElement("button"),this.sortBtn.className="sp-sort-btn",this.sortBtn.setAttribute("aria-haspopup","listbox"),this.sortBtn.setAttribute("aria-expanded","false");let t=O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 5h10"/><path d="M11 9h7"/><path d="M11 13h4"/><path d="M3 17l3 3 3-3"/><path d="M6 18V4"/></svg>');this.sortBtn.appendChild(t),this.sortBtn.appendChild(R("span",{class:"sp-sort-btn-label"})),this.updateSortLabel(),this.sortBtn.addEventListener("click",A=>{A.stopPropagation(),this.toggleMenu()}),this.groupToggle=document.createElement("button"),this.groupToggle.className="sp-group-toggle",this.groupToggle.setAttribute("aria-pressed","false");let s=O(_p);this.groupToggle.appendChild(s);let r=R("span",{class:"sp-group-toggle-label"});P(r,this.t("group.byPage")),this.groupToggle.appendChild(r),this.groupToggle.addEventListener("click",()=>{this._groupByPage=!this._groupByPage,this.groupToggle.classList.toggle("sp-group-toggle--active",this._groupByPage),this.groupToggle.setAttribute("aria-pressed",String(this._groupByPage)),this.onChange()}),this.sortDropdown=R("div",{class:"sp-sort-dropdown"}),this.sortDropdown.appendChild(this.sortBtn),this.element.appendChild(this.sortDropdown),this.element.appendChild(this.groupToggle),this.element.addEventListener("keydown",A=>{"Escape"!==A.key||!this.menuEl||(A.stopPropagation(),this.closeMenu(),this.sortBtn.focus())})}get sortMode(){return this._sortMode}get groupByPage(){return this._groupByPage}toggleMenu(){this.menuEl?this.closeMenu():this.openMenu()}openMenu(){this.menuEl=R("div",{class:"sp-sort-menu"}),this.menuEl.setAttribute("role","listbox"),this.menuEl.setAttribute("aria-label",this.t("sort.label")),this.sortBtn.setAttribute("aria-expanded","true");let A=[{mode:"newest",label:this.t("sort.newest")},{mode:"oldest",label:this.t("sort.oldest")},{mode:"by-type",label:this.t("sort.byType")},{mode:"open-first",label:this.t("sort.openFirst")}];for(let e of A){let A=document.createElement("button");A.className="sp-sort-option"+(e.mode===this._sortMode?" sp-sort-option--active":""),A.setAttribute("role","option"),A.setAttribute("aria-selected",String(e.mode===this._sortMode)),e.mode===this._sortMode&&(A.style.background="var(--sp-accent-light)",A.style.color="var(--sp-accent-text)"),P(A,e.label),A.addEventListener("click",A=>{A.stopPropagation(),this._sortMode=e.mode,this.updateSortLabel(),this.closeMenu(),this.onChange()}),this.menuEl.appendChild(A)}this.sortDropdown.appendChild(this.menuEl),this.removeOutsideClick=N(this.sortDropdown,()=>this.closeMenu())}closeMenu(){this.menuEl&&(this.menuEl.remove(),this.menuEl=null),this.sortBtn.setAttribute("aria-expanded","false"),this.removeOutsideClick?.(),this.removeOutsideClick=null}updateSortLabel(){let A={newest:this.t("sort.newest"),oldest:this.t("sort.oldest"),"by-type":this.t("sort.byType"),"open-first":this.t("sort.openFirst")}[this._sortMode],e=this.sortBtn.querySelector(".sp-sort-btn-label");e&&P(e,A),this.sortBtn.setAttribute("aria-label",`${this.t("sort.label")}: ${A}`)}destroy(){this.closeMenu()}},Ah='.sp-sort-controls{display:flex;align-items:center;gap:6px;margin-top:4px;padding-top:8px;border-top:1px solid var(--sp-border);}.sp-sort-dropdown{display:contents;}.sp-sort-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all 0.2s ease;position:relative;}.sp-sort-btn svg{width:14px;height:14px;flex-shrink:0;}.sp-sort-btn:hover{border-color:var(--sp-accent);color:var(--sp-accent-text);background:var(--sp-accent-light);}.sp-sort-btn[aria-expanded="true"]{border-color:var(--sp-accent);color:var(--sp-accent-text);background:var(--sp-accent-light);}.sp-sort-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:170px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-md);z-index:10;animation:sp-sort-menu-in 0.15s ease-out both;}@keyframes sp-sort-menu-in{from{opacity:0;transform:translateY(-4px) scale(0.97);}to{opacity:1;transform:translateY(0) scale(1);}}.sp-sort-option{display:block;width:100%;padding:8px 12px;border:none;border-radius:8px;background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;text-align:left;transition:all 0.15s ease;}.sp-sort-option:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-sort-option--active{font-weight:600;}.sp-sort-option--active:hover{background:var(--sp-accent-light);color:var(--sp-accent-text);}.sp-group-toggle,.sp-mine-toggle{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all 0.2s ease;}.sp-group-toggle svg,.sp-mine-toggle svg{width:13px;height:13px;flex-shrink:0;}.sp-group-toggle:hover,.sp-mine-toggle:hover{border-color:var(--sp-accent);color:var(--sp-accent-text);background:var(--sp-accent-light);}.sp-group-toggle--active,.sp-mine-toggle--active{background:var(--sp-accent-gradient);border-color:transparent;color:#fff;box-shadow:0 2px 8px var(--sp-accent-glow);}.sp-group-toggle--active:hover,.sp-mine-toggle--active:hover{background:var(--sp-accent-gradient);border-color:transparent;color:#fff;}.sp-group-header{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--sp-accent-light);border-bottom:1px solid var(--sp-border);cursor:pointer;user-select:none;position:sticky;top:0;z-index:2;transition:background 0.2s ease;}.sp-group-header:hover{background:var(--sp-bg-hover);}.sp-group-header:focus-visible{outline:2px solid var(--sp-accent);outline-offset:-2px;}.sp-group-header-chevron{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;transition:transform 0.2s ease;transform:rotate(90deg);}.sp-group-header-chevron svg{width:12px;height:12px;color:var(--sp-text-tertiary);}.sp-group-header--collapsed .sp-group-header-chevron{transform:rotate(0deg);}.sp-group-header-icon{display:flex;align-items:center;flex-shrink:0;}.sp-group-header-icon svg{width:14px;height:14px;color:var(--sp-text-tertiary);}.sp-group-header-path{font-size:12px;font-weight:600;color:var(--sp-text-secondary);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-group-header-count{font-size:11px;font-weight:700;padding:1px 8px;border-radius:var(--sp-radius-full);flex-shrink:0;font-variant-numeric:tabular-nums;}.sp-group-content{overflow:hidden;transition:max-height 0.25s ease,opacity 0.2s ease;max-height:5000px;opacity:1;}.sp-group-content--collapsed{max-height:0;opacity:0;pointer-events:none;}@media (forced-colors: active){.sp-sort-btn,.sp-group-toggle,.sp-mine-toggle,.sp-sort-option,.sp-group-header{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-group-toggle--active,.sp-mine-toggle--active{background:Highlight !important;color:HighlightText !important;}.sp-sort-btn:focus-visible,.sp-group-toggle:focus-visible,.sp-mine-toggle:focus-visible,.sp-sort-option:focus-visible,.sp-group-header:focus-visible{outline:3px solid Highlight !important;}.sp-sort-menu{border:2px solid ButtonText !important;background:Canvas !important;}}@media (prefers-reduced-motion: reduce){.sp-sort-menu{animation:none;}.sp-group-header-chevron{transition:none;}.sp-group-content{transition:none;}}'}),rh=t(()=>{K(),J(),Cp(),eh='.sp-stats-bar{display:flex;flex-direction:column;gap:8px;padding:12px 24px;border-bottom:1px solid var(--sp-border);user-select:none;}.sp-stats-bar[hidden]{display:none;}.sp-stats-row{display:flex;align-items:center;gap:16px;}.sp-stats-item{display:flex;align-items:center;gap:6px;}.sp-stats-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}.sp-stats-value{font-size:16px;font-weight:600;line-height:1;color:var(--sp-text);font-variant-numeric:tabular-nums;font-feature-settings:"tnum";transition:opacity 0.3s ease;}.sp-stats-label{font-size:11px;line-height:1;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.04em;}.sp-stats-progress{display:flex;align-items:center;gap:8px;}.sp-stats-progress-track{flex:1;height:4px;border-radius:2px;background:var(--sp-border);overflow:hidden;}.sp-stats-progress-fill{height:100%;border-radius:2px;background:linear-gradient(90deg,var(--sp-accent),#22c55e);width:0%;transition:width 0.5s ease;}.sp-stats-progress-label{font-size:10px;line-height:1;color:var(--sp-text-tertiary);white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum";min-width:64px;text-align:right;}',th=class{element;valueOpen;valueClosed;valueBugs;progressFill;progressLabel;t;constructor(A){this.t=A,this.element=R("div",{class:"sp-stats-bar"}),this.element.setAttribute("aria-label",A("stats.aria")),this.element.hidden=!0;let e=R("div",{class:"sp-stats-row"}),t=R("div",{class:"sp-stats-item"}),s=R("span",{class:"sp-stats-dot"});s.style.background="#22c55e",this.valueOpen=R("span",{class:"sp-stats-value"}),P(this.valueOpen,"0");let r=R("span",{class:"sp-stats-label"});P(r,this.t("stats.open")),t.appendChild(s),t.appendChild(this.valueOpen),t.appendChild(r);let i=R("div",{class:"sp-stats-item"}),n=R("span",{class:"sp-stats-dot"});n.style.background="#9ca3af",this.valueClosed=R("span",{class:"sp-stats-value"}),P(this.valueClosed,"0");let o=R("span",{class:"sp-stats-label"});P(o,this.t("stats.closed")),i.appendChild(n),i.appendChild(this.valueClosed),i.appendChild(o);let a=R("div",{class:"sp-stats-item"}),l=R("span",{class:"sp-stats-dot"});l.style.background="var(--sp-type-bug)",this.valueBugs=R("span",{class:"sp-stats-value"}),P(this.valueBugs,"0");let c=R("span",{class:"sp-stats-label"});P(c,this.t("stats.bugs")),a.appendChild(l),a.appendChild(this.valueBugs),a.appendChild(c),e.appendChild(t),e.appendChild(i),e.appendChild(a);let d=R("div",{class:"sp-stats-progress"}),p=R("div",{class:"sp-stats-progress-track"});this.progressFill=R("div",{class:"sp-stats-progress-fill"}),p.appendChild(this.progressFill),this.progressLabel=R("span",{class:"sp-stats-progress-label"}),P(this.progressLabel,""),d.appendChild(p),d.appendChild(this.progressLabel),this.element.appendChild(e),this.element.appendChild(d)}update(A,e){if(0===e)return void(this.element.hidden=!0);this.element.hidden=!1;let t=0,s=0,r=0;for(let e of A)m(e.status)?s++:t++,"bug"===e.type&&r++;P(this.valueOpen,String(t)),P(this.valueClosed,String(s)),P(this.valueBugs,String(r));let i=A.length,n=i>0?Math.round(s/i*100):0;requestAnimationFrame(()=>{this.progressFill.style.width=`${n}%`});let o=bp(this.t,"stats.progress",{percent:n});P(this.progressLabel,o)}}});function ih(A){let e=Array.from(A.querySelectorAll(".sp-card")),t=A.getRootNode().activeElement?.closest(".sp-card"),s=t?e.indexOf(t):-1;return s>=0?s:e.findIndex(A=>A.classList.contains("sp-card--focused"))}var nh,oh,ah,lh=t(()=>{J(),nh=[{keys:["J","K"],label:"shortcuts.navigate"},{keys:["R"],label:"shortcuts.resolve"},{keys:["D"],label:"shortcuts.delete"},{keys:["F","/"],label:"shortcuts.search"},{keys:["X"],label:"shortcuts.select"},{keys:["?"],label:"shortcuts.help"},{keys:["Esc"],label:"shortcuts.close"}],oh=class{constructor(A,e,t){this.t=t,this.keyMap=new Map([["j",()=>e.onNavigate("down")],["k",()=>e.onNavigate("up")],["r",()=>e.onResolve()],["d",()=>e.onDelete()],["f",()=>e.onFocusSearch()],["/",()=>e.onFocusSearch()],["x",()=>e.onToggleSelect()],["?",()=>this.toggleHelp()]]),this.isSuspended=e.isSuspended??(()=>!1),this.helpOverlay=this.buildOverlay(),this.hintButton=this.buildHintButton(),this.boundHandler=A=>this.handleKeydown(A)}t;helpOverlay;hintButton;keyMap;isSuspended;boundHandler;shadowRoot=null;enabled=!1;helpVisible=!1;opener=null;destroyed=!1;enable(A){this.destroyed||this.enabled||(A&&(this.shadowRoot=A),(this.shadowRoot??document).addEventListener("keydown",this.boundHandler),this.enabled=!0)}disable(){this.enabled&&((this.shadowRoot??document).removeEventListener("keydown",this.boundHandler),this.enabled=!1,this.helpVisible&&this.hideHelp())}get isHelpVisible(){return this.helpVisible}toggleHelp(){this.helpVisible?this.hideHelp():this.showHelp()}destroy(){this.destroyed||(this.disable(),this.helpOverlay.remove(),this.hintButton.remove(),this.destroyed=!0)}handleKeydown(A){if("Escape"===A.key)return void(this.helpVisible&&(A.preventDefault(),A.stopPropagation(),this.hideHelp()));if(this.helpVisible||this.isSuspended())return;let e=A.composedPath();if(e.some(A=>A instanceof Element&&"true"===A.getAttribute("aria-modal")))return;let t=e[0];if(t){let A=t.tagName?.toLowerCase();if("input"===A||"textarea"===A||"select"===A||t.isContentEditable)return}if(A.ctrlKey||A.altKey||A.metaKey)return;let s=this.keyMap.get(A.key);s&&(A.preventDefault(),A.stopPropagation(),s())}showHelp(){let A=this.helpOverlay.getRootNode().activeElement;this.opener=A instanceof HTMLElement?A:null,this.helpVisible=!0,G(this.helpOverlay,!1),this.helpOverlay.classList.add("sp-shortcuts-overlay--visible"),this.helpOverlay.querySelector(".sp-shortcuts-close")?.focus()}hideHelp(){this.helpVisible=!1;let A=X(this.helpOverlay);G(this.helpOverlay,!0),this.helpOverlay.classList.remove("sp-shortcuts-overlay--visible"),A&&this.opener?.isConnected&&this.opener.focus(),this.opener=null}buildOverlay(){let A=R("div",{class:"sp-shortcuts-overlay"});A.setAttribute("role","dialog"),A.setAttribute("aria-modal","true"),A.setAttribute("aria-label",this.t("shortcuts.title")),G(A,!0),A.addEventListener("click",e=>{e.target===A&&this.hideHelp()});let e=R("div",{class:"sp-shortcuts-card"}),t=R("div",{class:"sp-shortcuts-title"});t.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M6 8h.01"/><path d="M10 8h.01"/><path d="M14 8h.01"/><path d="M18 8h.01"/><path d="M6 12h.01"/><path d="M18 12h.01"/><path d="M8 16h8"/></svg>'));let s=R("span");P(s,this.t("shortcuts.title")),t.appendChild(s),e.appendChild(t);let r=document.createElement("button");r.className="sp-shortcuts-close",r.setAttribute("aria-label",this.t("shortcuts.close")),r.appendChild(O('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>')),r.addEventListener("click",()=>this.hideHelp()),e.appendChild(r);let i=R("div",{class:"sp-shortcuts-grid"});for(let A of nh){let e=R("div",{class:"sp-shortcuts-row"}),t=R("div",{class:"sp-shortcuts-keys"});A.keys.forEach((A,e)=>{if(e>0){let A=R("span",{class:"sp-shortcuts-separator"});P(A,"/"),t.appendChild(A)}let s=R("span",{class:"sp-kbd"});P(s,A),t.appendChild(s)});let s=R("span",{class:"sp-shortcuts-desc"});P(s,this.t(A.label)),e.appendChild(t),e.appendChild(s),i.appendChild(e)}return e.appendChild(i),A.appendChild(e),A}buildHintButton(){let A=document.createElement("button");return A.className="sp-shortcuts-hint",A.setAttribute("aria-label",this.t("shortcuts.hint")),P(A,"?"),A.addEventListener("click",A=>{A.stopPropagation(),this.toggleHelp()}),A}}}),ch=t(()=>{J(),ah=class{element;current;opts;onChange;datasetKey;constructor(A){this.opts=A.options,this.current=A.value,this.onChange=A.onChange,this.datasetKey=A.datasetKey,this.element=R("div",{class:"sp-segmented"+(A.extraClass?` ${A.extraClass}`:""),role:"radiogroup"}),this.element.setAttribute("aria-label",A.ariaLabel);for(let e of this.opts){let t=document.createElement("button");t.type="button",t.className=void 0!==A.modifierPrefix?`sp-segmented__btn ${A.modifierPrefix}${e.value}`:"sp-segmented__btn",t.dataset[this.datasetKey]=e.value,t.setAttribute("role","radio");let s=this.current===e.value;if(t.setAttribute("aria-checked",String(s)),t.tabIndex=s?0:-1,s&&t.classList.add("sp-segmented__btn--active"),e.color&&t.style.setProperty("--sp-chip-color",e.color),e.bg&&t.style.setProperty("--sp-chip-bg",e.bg),e.icon){let A=R("span",{class:"sp-segmented__icon"});A.appendChild(O(e.icon)),t.appendChild(A)}let r=R("span",{class:"sp-segmented__label"});P(r,e.label),t.appendChild(r),t.addEventListener("click",()=>this.select(e.value)),t.addEventListener("keydown",A=>this.handleKey(A,e.value)),this.element.appendChild(t)}}select(A){this.current=A,this.syncSelection(),this.onChange(A)}syncSelection(){let A=this.element.querySelectorAll(".sp-segmented__btn");for(let e of A){let A=e.dataset[this.datasetKey]===this.current;e.classList.toggle("sp-segmented__btn--active",A),e.setAttribute("aria-checked",String(A)),e.tabIndex=A?0:-1}}setOptionVisible(A,e){let t=this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`);return!!t&&(t.style.display=e?"":"none",!0)}get value(){return this.current}focusOption(A){this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`)?.focus()}handleKey(A,e){let t,s=this.opts.map(A=>A.value).filter(A=>{let e=this.element.querySelector(`[data-${this.kebabKey()}="${A}"]`);return null!==e&&"none"!==e.style.display}),r=s.indexOf(e);if(r<0)return;switch(A.key){case"ArrowLeft":t=(r-1+s.length)%s.length;break;case"ArrowRight":t=(r+1)%s.length;break;case"Home":t=0;break;case"End":t=s.length-1;break;default:return}A.preventDefault();let i=s[t];void 0!==i&&(this.select(i),this.focusOption(i))}kebabKey(){return this.datasetKey.replace(/[A-Z]/g,A=>`-${A.toLowerCase()}`)}}});function dh({input:A,send:e},t){A.readOnly=t,e.setAttribute("aria-busy",String(t)),e.setAttribute("aria-disabled",String(t))}var ph,hh=t(()=>{K(),J(),qA(),ph=0}),uh={};function gh(A,e){let t=R("div",{class:A});return t.setAttribute("role","list"),t.setAttribute("aria-label",e),t}s(uh,{Panel:()=>wh});var Bh,wh,fh=t(()=>{K(),ch(),J(),Ep(),SA(),Cp(),LA(),Rp(),kp(),Yp(),sh(),rh(),hh(),lh(),YA(),qA(),Bh=Q.filter(A=>!m(A)),wh=class{constructor(A,e,t,s,r,i,n,o,a){this.colors=e,this.bus=t,this.client=s,this.projectName=r,this.markers=i,this.t=n,this.locale=o,this.shadowRoot=A,this.readOnly=!!a?.readOnly,this.resolveIdentity=a?.resolveIdentity??(async()=>null),this.getScope=a?.getScope??(()=>({url:window.location.pathname,urlPattern:null})),this.scopeAnnotationsByUrl=a?.scopeAnnotationsByUrl??!0,this.ownFeedback=a?.ownFeedback??{ids:()=>new Set,remove:()=>{}},this.scrim=R("div",{class:"sp-scrim"}),this.scrim.addEventListener("click",()=>this.close()),this.root=R("div",{class:"sp-panel"}),this.root.setAttribute("role","complementary"),this.root.setAttribute("aria-label",this.t("panel.ariaLabel")),this.root.setAttribute("aria-hidden","true"),G(this.root,!0);let l=R("div",{class:"sp-panel-header"}),c=R("span",{class:"sp-panel-title"});P(c,this.t("panel.title")),this.closeBtn=document.createElement("button"),this.closeBtn.className="sp-panel-close",this.closeBtn.setAttribute("aria-label",this.t("panel.close")),this.closeBtn.appendChild(O(BA)),this.closeBtn.addEventListener("click",()=>this.close()),this.deleteAllBtn=document.createElement("button"),this.deleteAllBtn.className="sp-btn-delete-all",this.deleteAllBtn.setAttribute("aria-label",this.t("panel.deleteAll")),this.deleteAllBtn.appendChild(O(EA));let d=document.createElement("span");P(d,` ${this.t("panel.deleteAll")}`),this.deleteAllBtn.appendChild(d),this.deleteAllBtn.addEventListener("click",()=>this.confirmDeleteAll()),V(this.deleteAllBtn,!0),this.exportBtn=new xp(e,()=>this.feedbacks,this.t);let p=R("div",{class:"sp-panel-header-right"});p.appendChild(this.exportBtn.element),p.appendChild(this.deleteAllBtn),p.appendChild(this.closeBtn),l.appendChild(c),l.appendChild(p),this.stats=new th(this.t);let h=R("div",{class:"sp-filters"}),u=R("div",{class:"sp-search-wrap"}),g=O(wA);g.setAttribute("class","sp-search-icon"),this.searchInput=document.createElement("input"),this.searchInput.type="text",this.searchInput.className="sp-search",this.searchInput.placeholder=this.t("panel.search"),this.searchInput.setAttribute("aria-label",this.t("panel.searchAria")),this.searchInput.addEventListener("input",()=>{this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>this.loadFeedbacks().catch(()=>{}),200)}),u.appendChild(g),u.appendChild(this.searchInput);let B=R("div",{class:"sp-filter-bar"});B.appendChild(this.buildTypeDropdown()),B.appendChild(this.buildStatusSegmented()),B.appendChild(this.buildScopeSegmented()),B.appendChild(this.buildMineToggle()),this.sortControls=new qp(()=>this.renderList(),this.t),h.appendChild(u),h.appendChild(B),h.appendChild(this.sortControls.element),this.listContainer=R("div",{class:"sp-list"}),this.bulk=new Up(e,{onResolve:A=>this.bulkResolve(A),onDelete:A=>this.bulkDelete(A),permits:(A,e)=>this.feedbacks.every(t=>!A.includes(t.id)||this.can(t,e))},this.t),this.bulk.setListContainer(this.listContainer),this.detail=new Wp(e,{onBack:()=>this.detail.hide(),onResolve:async A=>{try{let e=!m(A.status);await this.client.resolveFeedback(A.id,e),await this.loadFeedbacks(),this.hideDetailOf(A.id)}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}},onDelete:async A=>{try{await this.client.deleteFeedback(A.id),this.bus.emit("feedback:deleted",A.id),await this.loadFeedbacks(),this.hideDetailOf(A.id)}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}},canGoToAnnotation:A=>!this.scopeAnnotationsByUrl||A.url===this.getScope().url,lostNote:A=>this.lostNote(A),onGoToAnnotation:A=>{if(A.annotations.length>0){let e=A.annotations[0];if(!e)return;this.markers.revealPin(A.id)||(window.scrollTo({left:e.scrollX,top:e.scrollY,behavior:"smooth"}),this.markers.pinHighlight(A)),zA()&&this.close()}},onCustomAction:async(A,e)=>{try{await A.onAction(e,{refresh:()=>this.refreshDetail(e.id),close:()=>this.close()})}catch(A){this.reportActionError(A)}},onCustomActionError:A=>this.reportActionError(A),permits:(A,e)=>this.can(A,e),buildThread:A=>function(A,{t:e,locale:t,canPost:s,draft:r,post:i}){let n=A.comments??[];if(!s&&0===n.length)return null;let o=R("div"),a=R("ol",{class:"sp-thread-list",role:"list","aria-label":e("comments.title"),"aria-live":"polite"}),l=new Set,c=A=>{if(l.has(A.id))return;l.add(A.id);let s=R("li",{class:"sp-detail-message sp-comment","data-role":A.authorRole}),r=R("div",{class:"sp-comment-head"}),i=R("span");if(P(i,A.authorName),r.appendChild(i),"team"===A.authorRole){let A=R("span",{class:"sp-badge"});P(A,e("comments.team")),r.appendChild(A)}let n=R("time",{datetime:A.createdAt});P(n,Y(A.createdAt,t)),r.appendChild(n);let o=R("div");P(o,A.body),s.append(r,o),a.appendChild(s)};for(let A of n)c(A);if(o.appendChild(a),!s)return o;let d=document.createElement("textarea");d.className="sp-input sp-thread-input",d.rows=3,d.maxLength=F,d.placeholder=e("comments.placeholder"),d.setAttribute("aria-label",d.placeholder),d.value=r.text,d.addEventListener("input",()=>{r.text=d.value});let p=R("div",{class:"sp-thread-foot"}),h=R("span",{id:"sp-thread-hint-"+ ++ph});_A()||(P(h,e(W()?"popup.submitHintMac":"popup.submitHintOther")),d.setAttribute("aria-describedby",h.id),d.setAttribute("aria-keyshortcuts","Control+Enter Meta+Enter"));let u=document.createElement("button");u.type="button",u.className="sp-btn-primary",P(u,e("popup.submit")),p.append(h,u);let g=R("div",{class:"sp-thread-error",role:"alert"});o.append(d,p,g);let B={add:c,input:d,send:u,error:g};r.view=B,dh(B,!0===r.sending);let w=async()=>{r.text=d.value;let A=r.text.trim();if(r.sending||!A)return;r.sent?.body!==A&&(r.sent={body:A,clientId:H()});let{clientId:t}=r.sent;r.sending=!0,P(g,""),dh(B,!0);let s="",n=null;try{n=await i(A,t)}catch(A){s=e(function(A){return 409===L(A,"status")||"STORE_LIMIT"===L(A,"code")}(A)?"comments.full":"comments.error")}r.sending=!1;let o=r.view??B;dh(o,!1),P(o.error,s),n&&(o.add(n),o.input.value=r.text="",r.sent=void 0)};return u.addEventListener("click",()=>{w()}),d.addEventListener("keydown",A=>{"Enter"===A.key&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),w())}),o}(A,{t:this.t,locale:o,canPost:this.canComment&&!1!==A.permissions?.canComment,draft:this.draftOf(A.id),post:(e,t)=>this.postComment(A,e,t)})},this.t,o,function(A){let e=[];if(!Array.isArray(A))return e;let t=new Set;return A.forEach((A,s)=>{let r=`[siteping] panelActions[${s}]`,i=A?.id;if("string"==typeof i&&i&&"string"==typeof A?.label&&A.label)if(Tp(A)||Op(A))if("string"!=typeof A.href||Sp(A.href))if(t.has(i))console.warn(`${r} ignored: duplicate id "${i}".`);else{t.add(i);let s=void 0===A.icon?null:Ip(A.icon);void 0!==A.icon&&!s&&console.warn(`${r} ("${i}"): \`icon\` is not SVG markup \u2014 showing the label only.`),e.push({action:A,icon:s})}else console.warn(`${r} ("${i}") ignored: \`href\` must be an http(s) or mailto URL.`);else console.warn(`${r} ("${i}") ignored: it needs either an \`onAction\` function or an \`href\`, not both.`);else console.warn(`${r} ignored: it needs a non-empty string \`id\` and \`label\`.`)}),e}(a?.panelActions)),this.shortcuts=new oh(e,{onNavigate:A=>{let e=ih(this.listContainer);!function(A,e){let t=A.querySelectorAll(".sp-card");if(0===t.length)return;for(let A of t)A.classList.remove("sp-card--focused");let s=t[Math.max(0,Math.min(e,t.length-1))];s&&(s.classList.add("sp-card--focused"),s.scrollIntoView({block:"nearest",behavior:"smooth"}),s.focus({preventScroll:!0}))}(this.listContainer,"down"===A?e+1:e-1)},onResolve:()=>this.pressInFocusedCard('[data-action="resolve"]'),onDelete:()=>this.pressInFocusedCard('[data-action="delete"]'),onFocusSearch:()=>this.searchInput.focus(),onToggleSelect:()=>this.pressInFocusedCard(".sp-bulk-checkbox"),isSuspended:()=>this.detail.isVisible},this.t),this.root.appendChild(l),this.root.appendChild(this.stats.element),this.root.appendChild(h),this.root.appendChild(this.listContainer),this.root.appendChild(this.bulk.barElement),this.root.appendChild(this.detail.element),this.root.appendChild(this.shortcuts.helpOverlay),this.root.appendChild(this.shortcuts.hintButton),A.appendChild(this.scrim),A.appendChild(this.root),this.attachSheetDrag(),this.onListClick=A=>{let e=A.target;if(e.closest(".sp-bulk-checkbox"))return;let t=e.closest("[data-action]");if(t){A.stopPropagation();let e=t.closest(".sp-card");if(!e)return;let s=e.dataset.feedbackId,r=this.feedbacks.find(A=>A.id===s);if(!r)return;let i=t.dataset.action;if("expand"===i){let A=e.querySelector(".sp-card-message");if(!A)return;let s=A.classList.toggle("sp-card-message--expanded");P(t,s?this.t("panel.showLess"):this.t("panel.showMore")),t.setAttribute("aria-expanded",String(s))}else if("resolve"===i){if(this.pendingMutations.has(r.id))return;let A=t;this.toggleResolve(r,A).catch(()=>{})}else if("delete"===i){if(this.pendingMutations.has(r.id))return;let A=t;this.deleteFeedback(r,A).catch(()=>{})}return}let s=e.closest(".sp-card");if(s){let A=s.dataset.feedbackId,e=this.feedbacks.find(e=>e.id===A);e&&this.detail.show(e,Number(s.dataset.number))}},this.listContainer.addEventListener("click",this.onListClick),this.onListKeydown=A=>{let e=A;if("Enter"!==e.key&&" "!==e.key)return;let t=e.target,s=t.closest(".sp-card");if(!s||t!==s)return;e.preventDefault();let r=s.dataset.feedbackId,i=this.feedbacks.find(A=>A.id===r);i&&this.detail.show(i,Number(s.dataset.number))},this.listContainer.addEventListener("keydown",this.onListKeydown),this.onListMouseover=A=>{let e=A.target.closest(".sp-card");if(!e)return;let t=e.dataset.feedbackId;t&&this.markers.highlight(t)},this.listContainer.addEventListener("mouseover",this.onListMouseover),this.onListMouseout=A=>{let e=A.relatedTarget;e&&this.listContainer.contains(e)||this.markers.highlight("")},this.listContainer.addEventListener("mouseout",this.onListMouseout),this.bus.on("markers:placed",()=>this.syncLostNotes()),this.bus.on("panel:toggle",A=>{A?this.open():this.close()}),Z(A,()=>this.isOpen),q(A,e=>{if("Escape"===e.key&&this.isOpen){if(this.shortcuts.isHelpVisible)return;return this.detail.isVisible?void this.detail.hide():void this.close()}if("Tab"===e.key&&this.isOpen){let t=A=>{let e=A;for(;e&&e!==this.root;){if("none"===getComputedStyle(e).display)return!1;e=e.parentElement}return!0},s=this.shortcuts.isHelpVisible?this.shortcuts.helpOverlay:this.detail.isVisible?this.detail.element:this.root,r=Array.from(s.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(A=>t(A)&&!A.hasAttribute("disabled")&&!A.closest("[inert]"));if(0===r.length)return;let i=r[0],n=r[r.length-1];if(!i||!n)return;let o=A.activeElement;o&&s.contains(o)?e.shiftKey&&o===i?(e.preventDefault(),n.focus()):!e.shiftKey&&o===n&&(e.preventDefault(),i.focus()):(e.preventDefault(),(e.shiftKey?n:i).focus())}}),this.onMarkerClick=A=>{this.scrollToFeedback(A.detail.feedbackId)},document.addEventListener("sp-marker-click",this.onMarkerClick)}colors;bus;client;projectName;markers;t;locale;root;scrim;listContainer;searchInput;closeBtn;deleteAllBtn;activeFilters=new Set(["all"]);typeDropdownBtn;typeDropdownContainer;typeDropdownMenu=null;removeTypeDropdownOutsideClick=null;statusSegmented;typeOptions;feedbacks=[];currentPage=1;totalFeedbacks=0;isLoadingMore=!1;isOpen=!1;searchTimeout=null;loadController=null;isLoading=!1;pendingScrollId=null;pendingDetail=!1;pendingMutations=new Set;canComment=!1;threadDrafts=new Map;threadWriteCount=0;threadWrites=new Map;readOnly;resolveIdentity;stats;sortControls;bulk;exportBtn;shortcuts;detail;shadowRoot;getScope;scopeAnnotationsByUrl;scopeSegmented;initialScopeFilter="this";mineOnly=!1;ownFeedback;onMarkerClick;onListClick;onListKeydown;onListMouseover;onListMouseout;async open(){if(this.isOpen)return;this.isOpen=!0;let A=zA();this.root.setAttribute("role",A?"dialog":"complementary"),A?this.root.setAttribute("aria-modal","true"):this.root.removeAttribute("aria-modal"),this.root.classList.add("sp-panel--open"),this.scrim.classList.add("sp-scrim--open"),this.root.setAttribute("aria-hidden","false"),G(this.root,!1),this.bus.emit("open"),this.shortcuts.enable(this.shadowRoot),await this.loadFeedbacks(),requestAnimationFrame(()=>{(_A()?this.closeBtn:this.searchInput).focus()})}close(){this.isOpen&&(this.isOpen=!1,this.root.classList.remove("sp-panel--open"),this.scrim.classList.remove("sp-scrim--open"),this.root.setAttribute("aria-hidden","true"),G(this.root,!0),this.bus.emit("close"),this.shortcuts.disable(),this.detail.hide(),this.pendingScrollId=null,this.pendingDetail=!1,this.root.getRootNode().querySelector(".sp-fab")?.focus())}attachSheetDrag(){let A=0,e=0,t=0,s=!1;this.root.addEventListener("pointerdown",r=>{let i=r.target;"mouse"===r.pointerType||!zA()||i.closest("button")||!i.closest(".sp-panel-header, .sp-detail-header")||(s=!0,A=r.clientY,e=r.timeStamp,t=0,this.root.style.transition="none",this.root.setPointerCapture?.(r.pointerId))}),this.root.addEventListener("pointermove",e=>{s&&(t=Math.max(0,e.clientY-A),this.root.style.transform=`translateY(${t}px)`)});let r=A=>{s&&(s=!1,this.root.style.transition="",this.root.style.transform="",(t>40&&t/Math.max(1,A.timeStamp-e)>.5||t>this.root.offsetHeight/4)&&this.close())};this.root.addEventListener("pointerup",r),this.root.addEventListener("pointercancel",r)}showLoading(){this.listContainer.replaceChildren();let A=R("div",{class:"sp-loading"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite"),A.setAttribute("aria-label",this.t("panel.loading"));let e=R("div",{class:"sp-spinner"});A.appendChild(e),this.listContainer.appendChild(A)}showError(){this.listContainer.replaceChildren();let A=R("div",{class:"sp-empty"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite");let e=R("div",{class:"sp-empty-text"});P(e,this.t("panel.loadError"));let t=document.createElement("button");t.className="sp-btn-ghost",t.style.marginTop="8px",P(t,this.t("panel.retry")),t.addEventListener("click",()=>this.loadFeedbacks().catch(()=>{})),A.appendChild(e),A.appendChild(t),this.listContainer.appendChild(A)}statusBucket(A){if("all"!==A)return m(A)?x:Bh}async loadFeedbacks(A=1){this.loadController?.abort(),this.loadController=new AbortController;let{signal:e}=this.loadController;this.currentPage=1;let t=this.searchInput.value.trim()||void 0,s=this.activeFilters.has("all")?void 0:Array.from(this.activeFilters)[0],r=this.statusBucket(this.statusSegmented.value),i=this.getScope();this.syncScopeAvailability();let n=this.scopeSegmented.value,o={page:1,limit:20};s&&(o.type=s),r&&(o.statuses=r),t&&(o.search=t),"this"===n?o.url=i.url:"template"===n&&i.urlPattern&&(o.urlPattern=i.urlPattern);let a=this.feedbacks.length>0;a||this.showLoading();let l=!this.mineOnly&&this.isMarkerQuery(o,i),c=this.keepThreads();this.isLoading=!0;try{let t=this.mineOnly?this.fetchOwnFeedbacks(o,e):this.client.getFeedbacks(this.projectName,o);l||this.loadPageMarkers(i,e);let s=await t,{feedbacks:r,total:n}=s,a=1;for(;a<A&&r.length<n&&!e.aborted;){a++;let A=await this.client.getFeedbacks(this.projectName,{...o,page:a});r=[...r,...A.feedbacks],n=A.total}if(e.aborted)return;this.currentPage=a,this.feedbacks=r.map(c),this.totalFeedbacks=n,this.canComment=!0===s.capabilities?.comments,V(this.deleteAllBtn,this.readOnly||!1===s.permissions?.canDeleteAll),this.stats.update(r,n),this.bulk.reset(),this.renderList(),this.pendingScrollId&&this.flashCard(this.pendingScrollId,this.pendingDetail),l&&this.renderPageMarkers(r,i)}catch(A){if(e.aborted)return;a||this.showError(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{e.aborted||(this.isLoading=!1,this.pendingScrollId=null,this.pendingDetail=!1)}}async loadMoreFeedbacks(){if(this.isLoadingMore)return;this.isLoadingMore=!0;let A=this.loadController,e=this.currentPage+1,t=this.searchInput.value.trim()||void 0,s=this.activeFilters.has("all")?void 0:Array.from(this.activeFilters)[0],r=this.statusBucket(this.statusSegmented.value),i=this.getScope(),n=this.scopeSegmented.value,o={page:e,limit:20};s&&(o.type=s),r&&(o.statuses=r),t&&(o.search=t),"this"===n?o.url=i.url:"template"===n&&i.urlPattern&&(o.urlPattern=i.urlPattern);let a,l=this.listContainer.querySelector(".sp-btn-load-more");l&&(a=$(l));let c=this.keepThreads();try{let{feedbacks:t,total:s}=await this.client.getFeedbacks(this.projectName,o);if(A!==this.loadController)return;this.currentPage=e,this.totalFeedbacks=s,this.feedbacks=[...this.feedbacks,...t.map(c)],this.stats.update(this.feedbacks,s),this.renderList(),this.isMarkerQuery(o,i)&&this.renderPageMarkers(this.feedbacks,i)}catch(A){a&&a(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.isLoadingMore=!1}}isMarkerQuery(A,e){let t=this.scopeAnnotationsByUrl?e.url:void 0;return!(A.type||A.statuses||A.search||A.urlPattern||A.url!==t)}async fetchOwnFeedbacks(A,e){let t,s,r,i=this.ownFeedback.ids(),n=new Map,o=new Set,a=0,l=!0;for(let c=1;n.size<i.size&&!e.aborted;c++){let e=await this.client.getFeedbacks(this.projectName,{...A,page:c,limit:100}),{feedbacks:d,total:p}=e;s=e.capabilities,r=e.permissions,t??=p,l&&=p===t;for(let A of d)o.add(A.id),i.has(A.id)&&n.set(A.id,A);if(a+=d.length,0===d.length||a>=p)break}return Object.keys(A).every(A=>"page"===A||"limit"===A)&&l&&o.size===t&&this.ownFeedback.remove(...[...i].filter(A=>!n.has(A))),{feedbacks:[...n.values()],total:n.size,capabilities:s,permissions:r}}async loadPageMarkers(A,e){let t=this.scopeAnnotationsByUrl?{limit:20,url:A.url}:{limit:20};try{let{feedbacks:s}=await this.client.getFeedbacks(this.projectName,t);e.aborted||this.renderPageMarkers(s,A)}catch{}}renderPageMarkers(A,e){this.markers.render(this.scopeAnnotationsByUrl?A.filter(A=>A.url===e.url):A)}renderList(){if(this.listContainer.replaceChildren(),0===this.feedbacks.length){let A=R("div",{class:"sp-empty"});A.setAttribute("role","status"),A.setAttribute("aria-live","polite");let e=R("div",{class:"sp-empty-text"});return P(e,this.t("panel.empty")),A.appendChild(e),void this.listContainer.appendChild(A)}let A=function(A,e){let t=[...A];switch(e){case"newest":t.sort((A,e)=>new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime());break;case"oldest":t.sort((A,e)=>new Date(A.createdAt).getTime()-new Date(e.createdAt).getTime());break;case"by-type":t.sort((A,e)=>{let t=Zp[A.type]??99,s=Zp[e.type]??99;return t!==s?t-s:new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime()});break;case"open-first":t.sort((A,e)=>{let t=m(A.status)?1:0,s=m(e.status)?1:0;return t!==s?t-s:new Date(e.createdAt).getTime()-new Date(A.createdAt).getTime()})}return t}(this.feedbacks,this.sortControls.sortMode),e=A.filter(A=>this.selectable(A)).map(A=>A.id);if(e.length>0&&this.listContainer.appendChild(this.bulk.createSelectAllBar(e,this.t("bulk.selectAll"))),this.sortControls.groupByPage){let e=function(A){let e=new Map;for(let t of A){let A=Jp(t.url),s=e.get(A);s?s.push(t):e.set(A,[t])}return new Map([...e.entries()].sort((A,e)=>e[1].length-A[1].length))}(A),t=0;for(let[A,s]of e){let e=zp(A,s.length);this.listContainer.appendChild(e);let r=gh("sp-group-content",A);for(let A of s){let e=this.createCard(A,t+1);e.style.setProperty("--sp-card-i",String(t)),r.appendChild(e),t++}this.listContainer.appendChild(r)}}else{let e=gh("sp-cards",this.t("panel.feedbackList"));A.forEach((A,t)=>{let s=this.createCard(A,t+1);s.style.setProperty("--sp-card-i",String(t)),e.appendChild(s)}),this.listContainer.appendChild(e)}let t=this.totalFeedbacks-this.feedbacks.length;if(t>0){let A=R("div",{class:"sp-load-more-wrap"}),e=document.createElement("button");e.className="sp-btn-ghost sp-btn-load-more",P(e,bp(this.t,"panel.loadMore",{remaining:t})),e.addEventListener("click",()=>this.loadMoreFeedbacks().catch(()=>{})),A.appendChild(e),this.listContainer.appendChild(A)}}lostNote(A){let e=R("div",{class:"sp-lost"});return e.dataset.lostFor=A,P(e,this.t("panel.notOnPage")),e.hidden=!this.markers.isLost(A),e}syncLostNotes(){for(let A of this.root.querySelectorAll("[data-lost-for]"))A.hidden=!this.markers.isLost(A.dataset.lostFor??"")}createCard(A,e){let t=m(A.status),s=OA(A.type,this.colors),r=R("div",{class:"sp-card "+(t?"sp-card--resolved":"")});r.classList.toggle("sp-card--selected",this.bulk.isSelected(A.id)),r.setAttribute("role","listitem"),r.setAttribute("tabindex","0");let i=bp(this.t,"marker.aria",{number:e,type:wp(A.type,this.t),status:fp(A.status,this.t),message:A.message.slice(0,80)});r.setAttribute("aria-label",i),r.dataset.feedbackId=A.id,r.dataset.number=String(e);let n=R("div",{class:"sp-card-bar"});n.style.background=t?"#9ca3af":s;let o=R("div",{class:"sp-card-body"}),a=R("div",{class:"sp-card-header"});this.selectable(A)&&a.appendChild(this.bulk.createCheckbox(A.id,i));let l=R("span",{class:"sp-card-number"});P(l,`#${e}`);let c=R("span",{class:"sp-badge"}),d=NA(A.type,this.colors);c.style.background=d,c.style.color=s,P(c,wp(A.type,this.t));let p=R("span",{class:"sp-badge sp-badge--status"});p.dataset.status=A.status,p.style.background=PA(A.status,this.colors),p.style.color=RA(A.status,this.colors),P(p,fp(A.status,this.t));let h=R("span",{class:"sp-card-date"});P(h,Y(A.createdAt,this.locale)),a.appendChild(l),a.appendChild(c),a.appendChild(p),a.appendChild(h);let u=R("div",{class:"sp-card-message"});P(u,A.message);let g=document.createElement("button");g.className="sp-card-expand",g.dataset.action="expand",P(g,this.t("panel.showMore")),g.style.display="none",g.setAttribute("aria-expanded","false"),requestAnimationFrame(()=>{u.scrollHeight>u.clientHeight&&(g.style.display="block")});let B=R("div",{class:"sp-card-footer"}),w=document.createElement("button");w.className="sp-btn-resolve",w.dataset.action="resolve",w.appendChild(O(t?UA:fA));let f=document.createElement("span");P(f,` ${this.t(t?"panel.reopen":"panel.resolve")}`),w.appendChild(f);let b=document.createElement("button");b.className="sp-btn-delete",b.dataset.action="delete",b.appendChild(O(EA));let C=document.createElement("span");return P(C,` ${this.t("panel.delete")}`),b.appendChild(C),this.can(A,"canChangeStatus")&&B.appendChild(w),this.can(A,"canDelete")&&B.appendChild(b),o.appendChild(a),o.appendChild(u),o.appendChild(g),o.appendChild(this.lostNote(A.id)),B.hasChildNodes()&&o.appendChild(B),r.appendChild(n),r.appendChild(o),r}can(A,e){return!this.readOnly&&!1!==A.permissions?.[e]}selectable(A){return this.can(A,"canChangeStatus")||this.can(A,"canDelete")}async bulkResolve(A){let e=new Set(this.feedbacks.filter(A=>m(A.status)).map(A=>A.id)),t=A.filter(A=>!e.has(A)),s=await Promise.allSettled(t.map(A=>this.client.resolveFeedback(A,!0)));await this.settleBulk(t,s)}async bulkDelete(A){let e=await Promise.allSettled(A.map(A=>this.client.deleteFeedback(A)));A.forEach((A,t)=>{"fulfilled"===e[t]?.status&&this.bus.emit("feedback:deleted",A)}),await this.settleBulk(A,e)}async settleBulk(A,e){let t=A.filter((A,t)=>"rejected"===e[t]?.status);t.length<A.length&&await this.loadFeedbacks();let s=e.find(A=>"rejected"===A.status);if(!s)return;let r=new Set(this.feedbacks.map(A=>A.id));this.bulk.selectAll(t.filter(A=>r.has(A)));let i=s.reason instanceof Error?s.reason:new Error(String(s.reason));throw this.bus.emit("feedback:error",i),i}async confirmDeleteAll(){if(await this.showConfirmDialog(this.t("panel.deleteAllConfirmTitle"),this.t("panel.deleteAllConfirmMessage"))){this.deleteAllBtn.disabled=!0;try{await this.client.deleteAllFeedbacks(this.projectName),this.bus.emit("feedback:all-deleted"),await this.loadFeedbacks()}catch(A){this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),await this.loadFeedbacks().catch(()=>{})}finally{this.deleteAllBtn.disabled=!1}}}showConfirmDialog(A,e){return new Promise(t=>{let s=R("div",{class:"sp-confirm-backdrop"}),r=`sp-confirm-title-${Date.now()}`,i=`sp-confirm-msg-${Date.now()}`,n=R("div",{class:"sp-confirm-dialog"});n.setAttribute("role","alertdialog"),n.setAttribute("aria-modal","true"),n.setAttribute("aria-labelledby",r),n.setAttribute("aria-describedby",i);let o=R("div",{class:"sp-confirm-title"});o.id=r,P(o,A);let a=R("div",{class:"sp-confirm-message"});a.id=i,P(a,e);let l=R("div",{class:"sp-confirm-actions"}),c=document.createElement("button");c.type="button",c.className="sp-btn-ghost",P(c,this.t("panel.cancel"));let d=document.createElement("button");d.type="button",d.className="sp-btn-danger",P(d,this.t("panel.confirmDelete"));let p=!1,h=A=>{p||(p=!0,u(),s.style.opacity="0",n.style.transform="translateY(8px) scale(0.97)",setTimeout(()=>{s.remove(),t(A)},200))},u=q(s,A=>{if("Escape"===A.key)return A.stopPropagation(),void h(!1);"Tab"===A.key&&(A.preventDefault(),s.getRootNode().activeElement===c?d.focus():c.focus())});c.addEventListener("click",()=>h(!1)),d.addEventListener("click",()=>h(!0)),s.addEventListener("click",A=>{A.target===s&&h(!1)}),l.appendChild(c),l.appendChild(d),n.appendChild(o),n.appendChild(a),n.appendChild(l),s.appendChild(n),this.root.getRootNode()instanceof ShadowRoot?this.root.getRootNode().appendChild(s):this.root.appendChild(s),requestAnimationFrame(()=>{s.style.opacity="1",n.style.transform="translateY(0) scale(1)",c.focus()})})}async deleteFeedback(A,e){this.pendingMutations.add(A.id);let t=$(e);try{await this.client.deleteFeedback(A.id),this.bus.emit("feedback:deleted",A.id),await this.loadFeedbacks()}catch(A){t(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.pendingMutations.delete(A.id)}}async toggleResolve(A,e){this.pendingMutations.add(A.id);let t=$(e);try{let e=!m(A.status);await this.client.resolveFeedback(A.id,e),await this.loadFeedbacks()}catch(A){t(),this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A)))}finally{this.pendingMutations.delete(A.id)}}buildTypeDropdown(){return this.typeOptions=[{value:"all",label:this.t("panel.filterAll"),icon:xA,color:"var(--sp-accent-text)",bg:"var(--sp-accent-light)"},{value:"question",label:this.t("type.question"),icon:bA,color:"var(--sp-type-question)",bg:"var(--sp-type-question-bg)"},{value:"change",label:this.t("type.change"),icon:CA,color:"var(--sp-type-change)",bg:"var(--sp-type-change-bg)"},{value:"bug",label:this.t("type.bug"),icon:yA,color:"var(--sp-type-bug)",bg:"var(--sp-type-bug-bg)"},{value:"other",label:this.t("type.other"),icon:QA,color:"var(--sp-type-other)",bg:"var(--sp-type-other-bg)"}],this.typeDropdownContainer=R("div",{class:"sp-filter-dropdown"}),this.typeDropdownBtn=document.createElement("button"),this.typeDropdownBtn.type="button",this.typeDropdownBtn.className="sp-filter-dropdown-btn",this.typeDropdownBtn.setAttribute("aria-haspopup","listbox"),this.typeDropdownBtn.setAttribute("aria-expanded","false"),this.renderTypeDropdownTrigger(),this.typeDropdownBtn.addEventListener("click",A=>{A.stopPropagation(),this.typeDropdownMenu?this.closeTypeDropdown():this.openTypeDropdown()}),this.typeDropdownContainer.addEventListener("keydown",A=>{"Escape"!==A.key||!this.typeDropdownMenu||(A.stopPropagation(),this.closeTypeDropdown(),this.typeDropdownBtn.focus())}),this.typeDropdownContainer.appendChild(this.typeDropdownBtn),this.typeDropdownContainer}renderTypeDropdownTrigger(){let A=this.typeOptions.find(A=>this.activeFilters.has(A.value))??this.typeOptions[0];if(!A)return;this.typeDropdownBtn.replaceChildren(),this.typeDropdownBtn.style.setProperty("--sp-chip-color",A.color),this.typeDropdownBtn.style.setProperty("--sp-chip-bg",A.bg),this.typeDropdownBtn.dataset.filter=A.value,this.typeDropdownBtn.classList.toggle("sp-filter-dropdown-btn--filtered","all"!==A.value),this.typeDropdownBtn.setAttribute("aria-label",`${this.t("type.label")}: ${A.label}`);let e=R("span",{class:"sp-filter-dropdown-btn__icon"});e.appendChild(O(A.icon)),this.typeDropdownBtn.appendChild(e);let t=R("span",{class:"sp-filter-dropdown-btn__label"}),s=R("span",{class:"sp-filter-dropdown-btn__prefix"});P(s,this.t("type.label"));let r=R("span",{class:"sp-filter-dropdown-btn__value"});P(r,A.label),t.append(s," ",r),this.typeDropdownBtn.appendChild(t);let i=R("span",{class:"sp-filter-dropdown-btn__chevron"});i.appendChild(O(vA)),this.typeDropdownBtn.appendChild(i)}openTypeDropdown(){this.typeDropdownMenu=R("div",{class:"sp-filter-dropdown-menu"}),this.typeDropdownMenu.setAttribute("role","listbox"),this.typeDropdownMenu.setAttribute("aria-label",this.t("type.label")),this.typeDropdownBtn.setAttribute("aria-expanded","true");for(let A of this.typeOptions){let e=document.createElement("button");e.type="button";let t=this.activeFilters.has(A.value);e.className="sp-filter-dropdown-option"+(t?" sp-filter-dropdown-option--active":""),e.style.setProperty("--sp-chip-color",A.color),e.style.setProperty("--sp-chip-bg",A.bg),e.dataset.filter=A.value,e.setAttribute("role","option"),e.setAttribute("aria-selected",String(t));let s=R("span",{class:"sp-filter-dropdown-option__icon"});s.appendChild(O(A.icon)),e.appendChild(s);let r=R("span",{class:"sp-filter-dropdown-option__label"});if(P(r,A.label),e.appendChild(r),t){let A=R("span",{class:"sp-filter-dropdown-option__check"});A.appendChild(O(fA)),e.appendChild(A)}e.addEventListener("click",e=>{e.stopPropagation(),this.selectTypeFilter(A.value)}),this.typeDropdownMenu.appendChild(e)}this.typeDropdownContainer.appendChild(this.typeDropdownMenu),this.removeTypeDropdownOutsideClick=N(this.typeDropdownContainer,()=>this.closeTypeDropdown())}closeTypeDropdown(){this.typeDropdownMenu&&(this.typeDropdownMenu.remove(),this.typeDropdownMenu=null),this.typeDropdownBtn.setAttribute("aria-expanded","false"),this.removeTypeDropdownOutsideClick?.(),this.removeTypeDropdownOutsideClick=null}selectTypeFilter(A){this.activeFilters.clear(),this.activeFilters.add(A),this.renderTypeDropdownTrigger(),this.closeTypeDropdown(),this.loadFeedbacks().catch(()=>{})}buildStatusSegmented(){return this.statusSegmented=new ah({options:[{value:"all",label:this.t("panel.statusAll"),icon:xA,color:"var(--sp-accent-text)",bg:"var(--sp-accent-light)"},{value:"open",label:this.t("panel.statusOpen"),icon:FA,color:"var(--sp-status-open)",bg:"var(--sp-status-open-bg)"},{value:"resolved",label:this.t("panel.statusClosed"),icon:mA,color:"var(--sp-status-resolved)",bg:"var(--sp-status-resolved-bg)"}],value:"all",onChange:()=>{this.loadFeedbacks().catch(()=>{})},ariaLabel:this.t("status.label"),datasetKey:"statusFilter",modifierPrefix:"sp-segmented__btn--"}),this.statusSegmented.element}buildScopeSegmented(){return this.scopeSegmented=new ah({options:[{value:"this",label:this.t("scope.thisPage")},{value:"template",label:this.t("scope.thisType")},{value:"all",label:this.t("scope.all")}],value:this.initialScopeFilter,onChange:()=>{this.loadFeedbacks().catch(()=>{})},ariaLabel:this.t("scope.label"),datasetKey:"scopeFilter",modifierPrefix:"sp-segmented__btn--scope-",extraClass:"sp-segmented--scope"}),this.syncScopeAvailability(),this.scopeSegmented.element}syncScopeAvailability(){if(!this.scopeSegmented)return;let A=!!this.getScope().urlPattern;this.scopeSegmented.setOptionVisible("template",A),!A&&"template"===this.scopeSegmented.value&&this.scopeSegmented.select("this")}buildMineToggle(){let A=document.createElement("button");return A.type="button",A.className="sp-mine-toggle",A.title=this.t("panel.filterMineHint"),A.setAttribute("aria-pressed","false"),A.append(O(kA),this.t("panel.filterMine")),A.addEventListener("click",()=>{this.mineOnly=!this.mineOnly,A.classList.toggle("sp-mine-toggle--active",this.mineOnly),A.setAttribute("aria-pressed",String(this.mineOnly)),this.loadFeedbacks().catch(()=>{})}),A}pressInFocusedCard(A){this.listContainer.querySelectorAll(".sp-card")[ih(this.listContainer)]?.querySelector(A)?.click()}scrollToFeedback(A,e=!1){if(this.isLoading)return this.pendingScrollId=A,void(this.pendingDetail=e);this.flashCard(A,e)}showFeedback(A){this.scrollToFeedback(A,!0)}flashCard(A,e){let t=CSS.escape(A),s=this.listContainer.querySelector(`[data-feedback-id="${t}"]`);if(s){s.scrollIntoView({behavior:"smooth",block:"center"}),s.classList.add("sp-anim-flash"),s.addEventListener("animationend",()=>{s.classList.remove("sp-anim-flash")},{once:!0});let t=this.feedbacks.find(e=>e.id===A);t&&(e||zA())&&this.detail.show(t,Number(s.dataset.number))}}draftOf(A){let e=this.threadDrafts.get(A)??{text:""};return this.threadDrafts.set(A,e),e}async postComment(A,e,t){let s=await this.resolveIdentity();if(!s)return null;try{let r=await this.client.addComment(A.id,{body:e,clientId:t,authorName:s.name,authorEmail:s.email,authorRole:"client"});for(let e of new Set([A,this.feedbacks.find(e=>e.id===A.id)]))e&&!e.comments?.some(A=>A.id===r.id)&&(e.comments=[...e.comments??[],r]);let i=this.threadWrites.get(A.id)?.replies??[];return this.threadWrites.set(A.id,{seq:++this.threadWriteCount,replies:[...i,r]}),this.bus.emit("comment:added",r),r}catch(A){throw this.bus.emit("feedback:error",A instanceof Error?A:new Error(String(A))),A}}keepThreads(){let A=this.threadWriteCount;return e=>{let t=this.threadWrites.get(e.id);if(!t||t.seq<=A)return e;let s=new Set(e.comments?.map(A=>A.id)),r=t.replies.filter(A=>!s.has(A.id));if(0===r.length)return e;let i=[...e.comments??[],...r];return i.sort((A,e)=>A.createdAt<e.createdAt?-1:A.createdAt>e.createdAt?1:0),{...e,comments:i}}}reportActionError(A){this.bus.emit("panel:action-error",A instanceof Error?A:new Error(String(A)))}hideDetailOf(A){this.detail.feedbackId===A&&this.detail.hide()}async refreshDetail(A){if(this.isOpen&&await this.loadFeedbacks(this.currentPage),this.detail.feedbackId!==A)return;let e=this.feedbacks.findIndex(e=>e.id===A),t=this.feedbacks[e];t?this.detail.show(t,e+1):this.detail.hide()}async refresh(){this.isOpen&&await this.loadFeedbacks()}get isCurrentlyOpen(){return this.isOpen}destroy(){this.isOpen=!1,this.loadController?.abort(),this.searchTimeout&&clearTimeout(this.searchTimeout),this.listContainer.removeEventListener("click",this.onListClick),this.listContainer.removeEventListener("keydown",this.onListKeydown),this.listContainer.removeEventListener("mouseover",this.onListMouseover),this.listContainer.removeEventListener("mouseout",this.onListMouseout),document.removeEventListener("sp-marker-click",this.onMarkerClick),this.closeTypeDropdown(),this.sortControls.destroy(),this.bulk.destroy(),this.exportBtn.destroy(),this.shortcuts.destroy(),this.detail.destroy(),this.scrim.remove(),this.root.remove()}}});K(),K();var mh=new Set(["role","name","aria-label","rel","href"]);function bh(A,e){let t=mh.has(A);t||=A.startsWith("data-")&&Fh(A);let s=Fh(e)&&e.length<100;return s||=e.startsWith("#")&&Fh(e.slice(1)),t&&s}function Ch(A){return Fh(A)}function yh(A){return Fh(A)}function Qh(A){return!0}function xh(A,e){if(A.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===A.tagName.toLowerCase())return"html";let t,s={root:document.body,idName:Ch,className:yh,tagName:Qh,attr:bh,timeoutMs:1e3,seedMinLength:3,optimizedMinLength:2,maxNumberOfPathChecks:1/0},r=new Date,i={...s,...e},n=function(A,e){return A.nodeType===Node.DOCUMENT_NODE?A:A===e.root?A.ownerDocument:A}(i.root,s),o=0;for(let e of function*(A,e,t){let s=[],r=[],i=A,n=0;for(;i&&i!==t;){let A=vh(i,e);for(let e of A)e.level=n;if(s.push(A),i=i.parentElement,n++,r.push(...Mh(s)),n>=e.seedMinLength){r.sort(kh);for(let A of r)yield A;r=[]}}r.sort(kh);for(let A of r)yield A}(A,i,n)){if((new Date).getTime()-r.getTime()>i.timeoutMs||o>=i.maxNumberOfPathChecks){let e=Ih(A,n);if(!e)throw new Error(`Timeout: Can't find a unique selector after ${i.timeoutMs}ms`);return Uh(e)}if(o++,Dh(e,n)){t=e;break}}if(!t)throw new Error("Selector was not found.");let a=[...Kh(t,A,i,n,r)];return a.sort(kh),a.length>0?Uh(a[0]):Uh(t)}function Fh(A){if(/^[a-z\-]{3,}$/i.test(A)){let e=A.split(/-|[A-Z]/);for(let A of e)if(A.length<=2||/[^aeiou]{4,}/i.test(A))return!1;return!0}return!1}function vh(A,e){let t=[],s=A.getAttribute("id");s&&e.idName(s)&&t.push({name:"#"+CSS.escape(s),penalty:0});for(let s=0;s<A.classList.length;s++){let r=A.classList[s];e.className(r)&&t.push({name:"."+CSS.escape(r),penalty:1})}for(let s=0;s<A.attributes.length;s++){let r=A.attributes[s];e.attr(r.name,r.value)&&t.push({name:`[${CSS.escape(r.name)}="${CSS.escape(r.value)}"]`,penalty:2})}let r=A.tagName.toLowerCase();if(e.tagName(r)){t.push({name:r,penalty:5});let e=Hh(A,r);void 0!==e&&t.push({name:Lh(r,e),penalty:10})}let i=Hh(A);return void 0!==i&&t.push({name:Sh(r,i),penalty:50}),t}function Uh(A){let e=A[0],t=e.name;for(let s=1;s<A.length;s++){let r=A[s].level||0;t=e.level===r-1?`${A[s].name} > ${t}`:`${A[s].name} ${t}`,e=A[s]}return t}function Eh(A){return A.map(A=>A.penalty).reduce((A,e)=>A+e,0)}function kh(A,e){return Eh(A)-Eh(e)}function Hh(A,e){let t=A.parentNode;if(!t)return;let s=t.firstChild;if(!s)return;let r=0;for(;s&&(s.nodeType===Node.ELEMENT_NODE&&(void 0===e||s.tagName.toLowerCase()===e)&&r++,s!==A);)s=s.nextSibling;return r}function Ih(A,e){let t=0,s=A,r=[];for(;s&&s!==e;){let A=s.tagName.toLowerCase(),e=Hh(s,A);if(void 0===e)return;r.push({name:Lh(A,e),penalty:NaN,level:t}),s=s.parentElement,t++}if(Dh(r,e))return r}function Sh(A,e){return"html"===A?"html":`${A}:nth-child(${e})`}function Lh(A,e){return"html"===A?"html":`${A}:nth-of-type(${e})`}function*Mh(A,e=[]){if(A.length>0)for(let t of A[0])yield*Mh(A.slice(1,A.length),e.concat(t));else yield e}function Dh(A,e){let t=Uh(A);switch(e.querySelectorAll(t).length){case 0:throw new Error(`Can't select any node with this selector: ${t}`);case 1:return!0;default:return!1}}function*Kh(A,e,t,s,r){if(A.length>2&&A.length>t.optimizedMinLength)for(let i=1;i<A.length-1;i++){if((new Date).getTime()-r.getTime()>t.timeoutMs)return;let n=[...A];n.splice(i,1),Dh(n,s)&&s.querySelector(Uh(n))===e&&(yield n,yield*Kh(n,e,t,s,r))}}K();var Th=["role","aria-label","type","name","href","src","data-testid","data-id"];function Oh(A){let e=A.children.length,t=0,s=A.parentElement;if(s)for(let e of s.children){if(e===A)break;e.tagName===A.tagName&&t++}return`${e}:${t}:${Rh(A)}`}function Rh(A){let e=[];for(let t of Th){let s=A.getAttribute(t);s&&e.push(`${t}=${s}`)}return e.length>0?function(A){let e=5381;for(let t=0;t<A.length;t++)e=(e<<5)+e+A.charCodeAt(t)|0;return(e>>>0).toString(36)}(e.join(",")):"0"}function Ph(A){return"SITEPING-WIDGET"===A.tagName||null!==A.closest("siteping-widget")||null!==A.closest('[data-siteping-ignore="true"]')||null!==A.closest("#siteping-markers")||null!==A.closest("#sp-tooltip")}function Nh(A){let e=A,t=A.shadowRoot?.activeElement;for(;t instanceof HTMLElement;){let A=t.getBoundingClientRect();A.width>=4&&A.height>=4&&(e=t),t=t.shadowRoot?.activeElement}return e}var Vh=256;function Gh(A,e){let t=A;for(;t&&Ph(t);)t=t[e];return t}function Xh(A){return 1===A.nodeType&&"true"===A.getAttribute("data-siteping-ignore")}function $h(A){return 3===A.nodeType?NodeFilter.FILTER_ACCEPT:Xh(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_SKIP}function Wh(A,e){let t="before"===e?"previousElementSibling":"nextElementSibling",s=Gh(A[t],t),r=3;for(;s&&r>0;){let A="before"===e?zh(s,Vh,!0).trim():Jh(s,Vh,!0).trim();if(A)return"before"===e?A.slice(-32):A.slice(0,32);s=Gh(s[t],t),r--}return""}function Yh(A){let e=Gh(A.previousElementSibling,"previousElementSibling"),t=Gh(A.nextElementSibling,"nextElementSibling");return[e?Jh(e,Vh,!0).trim().slice(0,40):"",t?Jh(t,Vh,!0).trim().slice(0,40):""].filter(Boolean).join(" | ")}function Jh(A,e,t=!1){let s="";if(null===A.firstElementChild){for(let t of A.childNodes)if(3===t.nodeType&&(s+=t.data,s.length>=e))break;return s.length>e?s.slice(0,e):s}let r=t?A.ownerDocument.createTreeWalker(A,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,$h):A.ownerDocument.createTreeWalker(A,NodeFilter.SHOW_TEXT);for(;s.length<e;){let A=r.nextNode();if(!A)break;s+=A.data}return s.length>e?s.slice(0,e):s}function zh(A,e,t=!1){let s="",r=A=>{for(let i=A.lastChild;i;i=i.previousSibling)if(3===i.nodeType){if(s=i.data+s,s.length>=e)return!0}else if(1===i.nodeType&&(!t||!Xh(i))&&r(i))return!0;return!1};return r(A),s.length>e?s.slice(-e):s}function _h(A){return A.id&&A.id.length<=E?A.id:void 0}function jh(A){return A.includes("'")?`concat('${A.replace(/'/g,"',\"'\",'")}')`:`'${A}'`}K();var Zh="data-feedback-anchor",qh=" >>> ",Au={className:A=>!/^(css|sc|emotion|styled)-/.test(A)&&!/^[a-z]{1,3}[A-Za-z0-9]{4,8}$/.test(A),attr:A=>["data-testid","data-id","role","aria-label"].includes(A),idName:A=>!A.startsWith("radix-")&&!/^:r[0-9]+:$/.test(A),seedMinLength:3,optimizedMinLength:2};function eu(A,e){let t=A;for(;t;){let A=t.closest(e);if(A)return A;let s=t.getRootNode();t=s instanceof ShadowRoot?s.host:null}return null}function tu(A){if(A.parentElement)return A.parentElement;let e=A.getRootNode();return e instanceof ShadowRoot?e.host:null}function su(A){let e=[],t=A;for(;t;){let A=t.getRootNode();A instanceof ShadowRoot?(e.unshift(xh(t,{...Au,root:A})),t=A.host):(e.unshift(xh(t,Au)),t=null)}let s=e.join(qh),r=function(A){if(A.getRootNode()instanceof ShadowRoot)return function(A){let e="";for(let t=A;t;t=t.parentElement){let A=t.localName,s=_h(t);if(s){e=`/${A}[@id=${jh(s)}]${e}`;continue}let r=1;for(let e=t.previousElementSibling;e;e=e.previousElementSibling)e.localName===A&&r++;e=`/${A}[${r}]${e}`}return`.${e}`}(A);let e=_h(A);if(e)return`//${A.localName}[@id=${jh(e)}]`;let t=[],s=A;for(;s&&s!==document.body&&t.length<6;){let A=s.localName,e=s.parentElement,r=_h(s);if(r)return t.unshift(`/${A}[@id=${jh(r)}]`),"/"+t.join("");let i=1;if(e)for(let t of e.children){if(t===s)break;t.localName===A&&i++}t.unshift(`/${A}[${i}]`),s=e}return s!==document.body?"/"+t.join(""):"/html/body"+t.join("")}(A),i=null!==eu(A,'[data-siteping-ignore="true"]'),n=i?"":Jh(A,256,!0).trim().slice(0,120),o=i?"":Wh(A,"before"),a=i?"":Wh(A,"after"),l=Oh(A),c=i?"":Yh(A),d=eu(A,`[${Zh}]`)?.getAttribute(Zh)??null;return{cssSelector:s,xpath:r,textSnippet:n,textPrefix:o,textSuffix:a,fingerprint:l,neighborText:c,elementTag:A.tagName.slice(0,U),elementId:A.id&&A.id.length<=E?A.id:void 0,anchorKey:d}}function ru(A,e){let t=A.getBoundingClientRect();return t.left<=e.x&&t.top<=e.y&&t.right>=e.x+e.width&&t.bottom>=e.y+e.height}function iu(A,e){let t=document.elementFromPoint(A,e),s=t?.shadowRoot;for(;s&&"function"==typeof s.elementFromPoint;){let r=s.elementFromPoint(A,e);if(!r||r.getRootNode()!==s)break;t=r,s=r.shadowRoot}return t}J(),SA(),J(),SA(),LA();var nu={width:334,height:280},ou={top:0,bottom:0};YA(),qA();var au,lu={question:"type.question",change:"type.change",bug:"type.bug",other:"type.other"},cu="opacity 250ms cubic-bezier(0.16, 1, 0.3, 1),transform 250ms cubic-bezier(0.16, 1, 0.3, 1)",du=class{constructor(A,e){this.colors=A,this.t=e,this.root=R("div",{style:`position:fixed;z-index:2147483647;pointer-events:auto;width:300px;padding:16px;border-radius:16px;background:${this.colors.glassBg};backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid ${this.colors.glassBorder};box-shadow:0 8px 32px ${this.colors.shadow},0 2px 8px ${this.colors.shadow};font-family:"Inter",system-ui,-apple-system,sans-serif;opacity:0;transform:translateY(8px) scale(0.98);transition:${cu};display:none;-webkit-font-smoothing:antialiased;`}),this.root.setAttribute("role","dialog"),this.root.setAttribute("aria-modal","true"),this.root.setAttribute("data-siteping-ignore","true");let t=[{type:"question",icon:bA},{type:"change",icon:CA},{type:"bug",icon:yA},{type:"other",icon:QA}];this.typeRow=R("div",{style:"display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;"});for(let A of t){let e=document.createElement("button");e.style.cssText=`height:44px;border-radius:9999px;border:1px solid ${this.colors.border};background:${this.colors.glassBg};cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;color:${this.colors.textTertiary};transition:all 0.2s ease;padding:0 12px;`;let t=O(A.icon);t.style.cssText="width:13px;height:13px;flex-shrink:0;",e.appendChild(t),e.appendChild(document.createElement("span")),e.dataset.type=A.type,e.setAttribute("aria-pressed","false"),e.addEventListener("click",()=>{this.submittingState||this.selectType(A.type,this.typeRow)}),e.addEventListener("mouseenter",()=>{if(!this.submittingState&&e.dataset.type!==this.selectedType){let A=NA(e.dataset.type??"",this.colors);e.style.background=A,e.style.borderColor=OA(e.dataset.type??"",this.colors)+"40"}}),e.addEventListener("mouseleave",()=>{this.submittingState||e.dataset.type!==this.selectedType&&(e.style.background=this.colors.glassBg,e.style.borderColor=this.colors.border)}),this.typeRow.appendChild(e)}this.textarea=document.createElement("textarea"),this.textarea.style.cssText=`width:100%;min-height:72px;max-height:152px;padding:10px 12px;border-radius:12px;border:1px solid ${this.colors.border};background:${this.colors.glassBgHeavy};color:${this.colors.text};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.5;resize:vertical;outline:none;transition:all 0.2s ease;box-sizing:border-box;`,this.textarea.maxLength=5e3,this.hint=R("div",{style:`font-size:11px;color:${this.colors.textTertiary};text-align:right;margin-top:4px;font-family:"Inter",system-ui,-apple-system,sans-serif;letter-spacing:0.01em;`}),this.textarea.addEventListener("focus",()=>{this.submittingState||(this.textarea.style.borderColor=this.colors.accent,this.textarea.style.boxShadow=`0 0 0 3px ${this.colors.accent}14`,this.textarea.style.background=this.colors.bg)}),this.textarea.addEventListener("blur",()=>{this.submittingState||(this.textarea.style.borderColor=this.colors.border,this.textarea.style.boxShadow="none",this.textarea.style.background=this.colors.glassBgHeavy)}),this.textarea.addEventListener("input",()=>{this.updateSubmitState()}),this.textarea.addEventListener("keydown",A=>{this.submittingState||"Enter"===A.key&&(A.ctrlKey||A.metaKey)&&(A.preventDefault(),this.submit())});let s=R("div",{style:"display:flex;justify-content:flex-end;gap:8px;margin-top:12px;"});this.cancelBtn=document.createElement("button"),this.cancelBtn.style.cssText=`height:34px;padding:0 16px;border-radius:9999px;border:1px solid ${this.colors.border};background:${this.colors.glassBg};color:${this.colors.textTertiary};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all 0.2s ease;`,this.cancelBtn.addEventListener("click",()=>this.dismiss()),this.cancelBtn.addEventListener("mouseenter",()=>{this.submittingState||(this.cancelBtn.style.borderColor=this.colors.accent,this.cancelBtn.style.color=this.colors.accentText)}),this.cancelBtn.addEventListener("mouseleave",()=>{this.submittingState||(this.cancelBtn.style.borderColor=this.colors.border,this.cancelBtn.style.color=this.colors.textTertiary)}),this.submitBtn=document.createElement("button"),this.submitBtn.style.cssText=`height:34px;padding:0 18px;border-radius:9999px;border:none;background:${this.colors.accentGradient};color:#fff;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:600;cursor:pointer;opacity:0.35;pointer-events:none;transition:all 0.2s ease;box-shadow:0 2px 8px ${this.colors.accentGlow};display:inline-flex;align-items:center;justify-content:center;min-width:64px;`,this.submitLabel=document.createElement("span"),this.submitBtn.appendChild(this.submitLabel),this.submitBtn.addEventListener("click",()=>this.submit()),s.appendChild(this.cancelBtn),s.appendChild(this.submitBtn),this.root.appendChild(this.typeRow),this.root.appendChild(this.textarea),this.root.appendChild(this.hint),this.root.appendChild(s),_(this.root),document.body.appendChild(this.root),this.applyLabels()}colors;t;root;selectedType=null;textarea;submitBtn;cancelBtn;typeRow;submitLabel;hint;resolve=null;previouslyFocused=null;removeKeydownTrap=null;onSubmit=null;submittingState=!1;showFrame=null;hideTimeoutId=null;spinnerAnimation=null;sheet=!1;stopKeyboardTracking=null;get isOpen(){return null!==this.resolve}get sheetTop(){return this.sheet&&this.isOpen?window.innerHeight-this.root.offsetHeight:null}refreshLabels(){this.applyLabels()}applyLabels(){this.root.setAttribute("aria-label",this.t("popup.ariaLabel"));let A=this.root.querySelectorAll("button[data-type]");for(let e of A){let A=e.dataset.type;if(!A)continue;let t=lu[A];if(!t)continue;let s=e.querySelector("span");s&&P(s,this.t(t))}this.textarea.placeholder=this.t("popup.placeholder"),this.textarea.setAttribute("aria-label",this.t("popup.textareaAria")),P(this.hint,W()?this.t("popup.submitHintMac"):this.t("popup.submitHintOther")),P(this.cancelBtn,this.t("popup.cancel")),P(this.submitLabel,this.t("popup.submit"))}show(A,e,t=ou){return new Promise(s=>{this.cancelPendingTransition(),this.resolve=s,this.onSubmit=e??null,this.selectedType=null,this.textarea.value="",this.submittingState=!1,this.updateSubmitState(),this.resetTypeButtons(),this.previouslyFocused=document.activeElement;let r=_A();this.sheet=zA();let i=this.sheet?"48px":r?"44px":"34px";this.cancelBtn.style.height=i,this.submitBtn.style.height=i,this.cancelBtn.style.flex=this.sheet?"1":"",this.submitBtn.style.flex=this.sheet?"2":"",this.textarea.style.fontSize=r?"16px":"13px",this.textarea.style.minHeight=this.sheet?"96px":"72px",this.hint.style.display=r?"none":"",this.root.style.transform=this.hiddenTransform(),j(this.root,!1),this.root.style.display="block",this.layout(A,t),this.removeKeydownTrap?.(),this.removeKeydownTrap=q(this.root,A=>{if("Escape"===A.key&&this.dismiss(),"Tab"===A.key){let e=Array.from(this.root.querySelectorAll('button:not([disabled]), textarea:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])'));if(0===e.length)return;let t=e[0],s=e[e.length-1];if(!t||!s)return;A.shiftKey?(document.activeElement===t||!this.root.contains(document.activeElement))&&(A.preventDefault(),s.focus()):(document.activeElement===s||!this.root.contains(document.activeElement))&&(A.preventDefault(),t.focus())}}),this.root.style.transition=jA()?"none":cu,this.showFrame=requestAnimationFrame(()=>{this.showFrame=null,this.root.style.opacity="1",this.root.style.transform="translateY(0) scale(1)",(r?this.typeRow.querySelector("button"):this.textarea)?.focus()})})}layout(A,e){let t=this.root.style;if(t.width=this.sheet?"auto":"300px",t.borderRadius=this.sheet?"20px 20px 0 0":"16px",t.background=this.sheet?this.colors.bg:this.colors.glassBg,t.boxShadow=this.sheet?`0 -8px 32px ${this.colors.shadow}`:`0 8px 32px ${this.colors.shadow}, 0 2px 8px ${this.colors.shadow}`,t.overscrollBehavior=this.sheet?"contain":"",this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.sheet){t.top="auto",t.left="0",t.right="0",t.overflowY="auto";let A=(A,e=window.innerHeight)=>{t.bottom=`${A}px`,t.maxHeight=e-8+"px",t.padding="16px 16px "+(A>0?"16px":"calc(16px + env(safe-area-inset-bottom, 0px))")};return A(0),void(this.stopKeyboardTracking=ZA(A))}t.right="",t.bottom="",t.padding="16px",t.maxHeight="",t.overflowY="";let{top:s,left:r,maxHeight:i}=function(A,e,t,s=ou){let r,i=s.top+8,n=t.height-s.bottom-8,o=Math.max(0,n-i),a=A.bottom+8,l=A.top-8-e.height,c=A=>A>=i&&A+e.height<=n,d=null;c(a)?r=a:c(l)?r=l:e.height<=o?r=Math.min(Math.max(a,i),n-e.height):(r=i,d=o);let p=A.left;return p+e.width>t.width-8&&(p=A.right-e.width),p=Math.max(8,Math.min(p,t.width-8-e.width)),{top:r,left:p,maxHeight:d}}(A,this.measure(),{width:window.innerWidth,height:window.innerHeight},e);t.top=`${s}px`,t.left=`${r}px`,null!==i&&(t.maxHeight=`${Math.max(0,i-this.verticalChromeHeight())}px`,t.overflowY="auto",this.root.scrollTop=0)}hiddenTransform(){return this.sheet?"translateY(100%)":"translateY(8px) scale(0.98)"}measure(){let A=this.root.offsetWidth,e=this.root.offsetHeight;return A>0&&e>0?{width:A,height:e}:nu}verticalChromeHeight(){let A=window.getComputedStyle(this.root);return"border-box"===A.boxSizing?0:[A.paddingTop,A.paddingBottom,A.borderTopWidth,A.borderBottomWidth].reduce((A,e)=>A+(Number.parseFloat(e)||0),0)}selectType(A,e){this.selectedType=A;let t=e.querySelectorAll("button");for(let e of t){let t=e.dataset.type===A,s=OA(e.dataset.type??"",this.colors),r=NA(e.dataset.type??"",this.colors);e.style.background=t?r:this.colors.glassBg,e.style.borderColor=t?s+"60":this.colors.border,e.style.color=t?s:this.colors.textTertiary,e.style.fontWeight=t?"600":"500",e.setAttribute("aria-pressed",String(t))}this.updateSubmitState()}resetTypeButtons(){let A=this.root.querySelectorAll("button[data-type]");for(let e of A)e.setAttribute("aria-pressed","false"),e.disabled=!1,e.style.background=this.colors.glassBg,e.style.borderColor=this.colors.border,e.style.color=this.colors.textTertiary,e.style.fontWeight="500",e.style.cursor="pointer"}updateSubmitState(){if(this.submittingState)return;let A=this.textarea.value.trim().length>0;this.submitBtn.disabled=!A,this.submitBtn.style.opacity=A?"1":"0.35",this.submitBtn.style.pointerEvents=A?"auto":"none"}submit(){if(this.submittingState||!this.textarea.value.trim())return;let A={type:this.selectedType??"other",message:this.textarea.value.trim()};if(!this.onSubmit)return this.resolve?.(A),this.resolve=null,void this.hideElement();this.enterSubmittingState(),(0,this.onSubmit)(A).then(()=>{this.resolve?.(A),this.resolve=null,this.hideElement()}).catch(()=>{this.exitSubmittingState()})}dismiss(){this.submittingState||!this.isOpen||(this.resolve?.(null),this.resolve=null,this.hideElement())}enterSubmittingState(){this.submittingState=!0,this.submitLabel.style.display="none",this.submitBtn.disabled=!0,this.submitBtn.style.cursor="wait",this.submitBtn.style.opacity="0.85",this.submitBtn.setAttribute("aria-busy","true"),this.submitBtn.appendChild(this.buildSpinner()),this.cancelBtn.disabled=!0,this.cancelBtn.style.opacity="0.5",this.cancelBtn.style.cursor="not-allowed",this.cancelBtn.style.pointerEvents="none",this.textarea.disabled=!0,this.textarea.style.opacity="0.6";let A=this.typeRow.querySelectorAll("button");for(let e of A)e.disabled=!0,e.style.cursor="not-allowed",e.style.opacity="0.6"}exitSubmittingState(){this.submittingState=!1,this.spinnerAnimation?.cancel(),this.spinnerAnimation=null,this.submitBtn.querySelector('[data-role="sp-popup-spinner"]')?.remove(),this.submitLabel.style.display="",this.submitBtn.removeAttribute("aria-busy"),this.submitBtn.style.cursor="pointer",this.cancelBtn.disabled=!1,this.cancelBtn.style.opacity="1",this.cancelBtn.style.cursor="pointer",this.cancelBtn.style.pointerEvents="auto",this.textarea.disabled=!1,this.textarea.style.opacity="1";let A=this.typeRow.querySelectorAll("button");for(let e of A)e.disabled=!1,e.style.cursor="pointer",e.style.opacity="1";this.updateSubmitState()}buildSpinner(){let A=document.createElement("div");return A.dataset.role="sp-popup-spinner",A.style.cssText="width:14px;height:14px;border:2px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;box-sizing:border-box;",!jA()&&"function"==typeof A.animate&&(this.spinnerAnimation=A.animate([{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}],{duration:600,iterations:1/0,easing:"linear"})),A}hideElement(){this.cancelPendingTransition(),this.removeKeydownTrap?.(),this.removeKeydownTrap=null,this.submittingState&&this.exitSubmittingState(),this.onSubmit=null,this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.root.style.opacity="0",this.root.style.transform=this.hiddenTransform(),this.previouslyFocused?.focus(),this.previouslyFocused=null,j(this.root,!0),jA()?this.root.style.display="none":this.hideTimeoutId=setTimeout(()=>{this.hideTimeoutId=null,this.root.style.display="none"},250)}cancelPendingTransition(){null!==this.showFrame&&cancelAnimationFrame(this.showFrame),null!==this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.showFrame=null,this.hideTimeoutId=null}destroy(){this.submittingState&&this.exitSubmittingState(),this.cancelPendingTransition(),this.resolve?.(null),this.resolve=null,this.onSubmit=null,this.removeKeydownTrap?.(),this.removeKeydownTrap=null,this.stopKeyboardTracking?.(),this.stopKeyboardTracking=null,this.root.remove()}},pu=!1;function hu(A,e,t){return Math.min(t,Math.max(A,e))}function uu(A){return hu(0,Math.round(1e4*A)/1e4,1)}function gu(A){let e=Math.max(0,A.left),t=Math.max(0,A.top);return new DOMRect(e,t,Math.max(0,Math.min(A.right,window.innerWidth)-e),Math.max(0,Math.min(A.bottom,window.innerHeight)-t))}qA();var Bu=class{constructor(A,e,t,s=!1,r){this.colors=A,this.bus=e,this.t=t,this.enableScreenshot=s,this.getFallbackTarget=r,this.popup=new du(A,t),this.bus.on("annotation:start",()=>this.activate())}colors;bus;t;enableScreenshot;getFallbackTarget;overlay=null;toolbar=null;toolbarCancel=null;cancelFrozen=!1;drawingRect=null;startX=0;startY=0;isDrawing=!1;isActive=!1;instantMode=!1;popup;stalePopup=!1;savedOverflow="";preActiveFocusElement=null;keyboardTarget=null;rafId=null;pendingMoveEvent=null;rejectPendingSubmission=null;unregisterEscapeLayer=Z(document,()=>this.isActive);get isBusy(){return this.isActive}refreshLabels(){this.popup.refreshLabels()}restyle(){this.stalePopup=this.isActive||this.popup.isOpen,!this.stalePopup&&(this.popup.destroy(),this.popup=new du(this.colors,this.t))}async maybeCapture(A){return this.enableScreenshot?async function(A){let e=await async function(){if(void 0!==au)return au;try{let A=await Promise.resolve().then(()=>(Xd(),Ae));return au=A.default??A}catch(A){return au=null,pu||(pu=!0,console.warn("[siteping] html2canvas-pro import failed unexpectedly. Capture is disabled for this session \u2014 feedbacks are still submitted, just without screenshots. Underlying error:",A)),null}}();if(!e)return null;let t=1200,s=hu(48,.6*A.width,280),r=hu(48,.6*A.height,220),i=window.scrollX+A.x,n=window.scrollY+A.y,o=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),l=Math.max(0,i-s),c=Math.max(0,n-r),d=Math.min(o,i+A.width+s)-l,p=Math.min(a,n+A.height+r)-c;if(d<=0||p<=0)return null;let h={xPct:uu((i-l)/d),yPct:uu((n-c)/p),wPct:uu(A.width/d),hPct:uu(A.height/p)};try{let A=await e(document.body,{x:l,y:c,width:d,height:p,scale:window.devicePixelRatio,useCORS:!0,allowTaint:!0,logging:!1,ignoreElements:A=>"SITEPING-WIDGET"===A.tagName||null!==A.closest?.("siteping-widget")||"true"===A.getAttribute?.("data-siteping-ignore")});if(A.width<=t)return{dataUrl:A.toDataURL("image/jpeg",.85),region:h};let s=t/A.width,r=t,i=Math.round(A.height*s),n=document.createElement("canvas");n.width=r,n.height=i;let o=n.getContext("2d");return o?(o.drawImage(A,0,0,r,i),{dataUrl:n.toDataURL("image/jpeg",.85),region:h}):null}catch(A){return console.warn("[siteping] Screenshot capture failed:",A),null}}(A):null}activate(){if(this.isActive)return;this.isActive=!0;let A=!this.instantMode,e=zA(),t=_A(),s=this.t("annotator.instruction");this.preActiveFocusElement=document.activeElement;let r=document.activeElement;if(this.keyboardTarget=r instanceof HTMLElement&&r!==document.body&&r!==document.documentElement&&!Ph(r)?Nh(r):this.getFallbackTarget?.()??null,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden",this.overlay=R("div",{style:`position:fixed;inset:0;z-index:2147483646;pointer-events:auto;background:rgba(15,23,42,0.04);cursor:${A?"crosshair":"default"};touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;`}),this.overlay.setAttribute("role","application"),this.overlay.setAttribute("aria-label",A?s:this.t("annotator.instantInstruction")),this.overlay.setAttribute("data-siteping-ignore","true"),A){this.toolbar=R("div",{style:`position:fixed;top:0;left:0;right:0;z-index:2147483647;pointer-events:auto;min-height:52px;box-sizing:border-box;padding:calc(env(safe-area-inset-top,0px) + 8px) ${e?"12px 8px 16px":"16px 8px"};background:${e?this.colors.bg:this.colors.glassBg};backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid ${this.colors.glassBorder};display:flex;align-items:center;justify-content:center;gap:${e?12:16}px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.35;color:${this.colors.text};box-shadow:0 4px 16px ${this.colors.shadow};-webkit-font-smoothing:antialiased;`}),this.toolbar.setAttribute("data-siteping-ignore","true");let A=R("span",{style:`width:8px;height:8px;border-radius:50%;flex-shrink:0;background:${this.colors.accent};box-shadow:0 0 8px ${this.colors.accentGlow};`});!jA()&&"function"==typeof A.animate&&A.animate([{opacity:1},{opacity:.4},{opacity:1}],{duration:1500,easing:"ease-in-out",iterations:1/0});let r=R("span",{style:"font-weight:500;letter-spacing:-0.01em;min-width:0;"});P(r,t?this.t("annotator.touchInstruction"):s);let i=document.createElement("button");i.style.cssText=`height:${t?40:34}px;padding:0 18px;border-radius:9999px;flex-shrink:0;border:1px solid ${this.colors.border};background:${this.colors.glassBg};color:${this.colors.textTertiary};font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all 0.2s ease;`,P(i,this.t("annotator.cancel")),i.addEventListener("click",()=>this.cancelSession()),i.addEventListener("mouseenter",()=>{this.cancelFrozen||this.paintCancel(!0)}),i.addEventListener("mouseleave",()=>this.paintCancel(!1)),this.toolbarCancel=i,this.toolbar.appendChild(A),this.toolbar.appendChild(r),this.toolbar.appendChild(i)}A&&(this.overlay.addEventListener("mousedown",this.onMouseDown),this.overlay.addEventListener("mousemove",this.onMouseMove),this.overlay.addEventListener("mouseup",this.onMouseUp),this.overlay.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.overlay.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.overlay.addEventListener("touchend",this.onTouchEnd),this.overlay.addEventListener("keydown",this.onOverlayKeyDown)),this.overlay.setAttribute("tabindex","0"),document.addEventListener("keydown",this.onKeyDown),_(this.overlay),this.toolbar&&_(this.toolbar),document.body.appendChild(this.overlay),this.toolbar&&document.body.appendChild(this.toolbar),this.overlay.focus({preventScroll:!0})}toolbarInsets(){if(!this.toolbar)return ou;let A=this.toolbar.getBoundingClientRect();if(0===A.height)return ou;let e=window.innerHeight;return A.top+A.height/2<e/2?{top:Math.max(0,A.bottom),bottom:0}:{top:0,bottom:Math.max(0,e-A.top)}}cancelSession(){this.isActive&&(this.popup.dismiss(),!this.popup.isOpen&&this.deactivate())}paintCancel(A){let e=this.toolbarCancel;e&&(e.style.borderColor=A?this.colors.typeBug:this.colors.border,e.style.color=A?this.colors.typeBug:this.colors.textTertiary,e.style.background=A?this.colors.typeBugBg:this.colors.glassBg)}freezeCancel(A){this.cancelFrozen=A;let e=this.toolbarCancel;e&&(A&&this.paintCancel(!1),e.style.opacity=A?"0.5":"1",e.style.cursor=A?"not-allowed":"pointer",A?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"))}deactivate(){if(!this.isActive)return;this.isActive=!1,this.isDrawing=!1,this.instantMode=!1;let A=this.preActiveFocusElement;this.preActiveFocusElement=null,this.keyboardTarget=null,null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.pendingMoveEvent=null,document.body.style.overflow=this.savedOverflow,document.removeEventListener("keydown",this.onKeyDown),this.overlay?.remove(),this.toolbar?.remove(),this.drawingRect?.remove(),this.overlay=null,this.toolbar=null,this.toolbarCancel=null,this.cancelFrozen=!1,this.drawingRect=null,A instanceof HTMLElement&&A.isConnected&&A.focus({preventScroll:!0}),this.bus.emit("annotation:end"),this.stalePopup&&this.restyle()}onKeyDown=A=>{"Escape"===A.key&&this.cancelSession()};onOverlayKeyDown=async A=>{if("Enter"!==A.key||(A.preventDefault(),this.popup.isOpen)||this.isDrawing)return;let e=this.keyboardTarget;!e||!(e instanceof HTMLElement)||await this.annotateElement(e)};async annotateElement(A,e=!1){let t=A.getBoundingClientRect();if(t.width<=0||t.height<=0)return;let s=new DOMRect(t.x,t.y,t.width,t.height);this.drawingRect?.remove();let r=this.createDrawingRect();r.style.left=`${t.x}px`,r.style.top=`${t.y}px`,r.style.width=`${t.width}px`,r.style.height=`${t.height}px`,this.drawingRect=r,this.overlay?.appendChild(r);let i={anchor:su(A),rect:{xPct:0,yPct:0,wPct:1,hPct:1},scrollX:window.scrollX,scrollY:window.scrollY,viewportW:window.innerWidth,viewportH:window.innerHeight,devicePixelRatio:window.devicePixelRatio},n=await this.openForm(i,s,e?gu(s):s);this.drawingRect?.remove(),this.drawingRect=null,n&&this.deactivate()}onMouseDown=A=>{this.startDrawing(A.clientX,A.clientY)};onTouchStart=A=>{A.preventDefault();let e=A.touches[0];e&&this.startDrawing(e.clientX,e.clientY)};startDrawing(A,e){this.popup.isOpen||(this.isDrawing=!0,this.startX=A,this.startY=e,this.drawingRect?.remove(),this.drawingRect=this.createDrawingRect(),this.overlay?.appendChild(this.drawingRect))}createDrawingRect(){let A=R("div",{style:`position:fixed;border:2px solid ${this.colors.accent};background:${this.colors.accent}12;pointer-events:none;border-radius:8px;box-shadow:0 0 16px ${this.colors.accentGlow};transition:box-shadow 0.15s ease;`});return A.setAttribute("data-siteping-ignore","true"),A}onMouseMove=A=>{this.scheduleRectUpdate(A)};onTouchMove=A=>{A.preventDefault(),A.touches[0]&&this.scheduleRectUpdate(A.touches[0])};scheduleRectUpdate(A){!this.isDrawing||!this.drawingRect||(this.pendingMoveEvent=A,null===this.rafId&&(this.rafId=requestAnimationFrame(()=>{this.rafId=null;let A=this.pendingMoveEvent;if(!A||!this.drawingRect)return;let e=Math.min(A.clientX,this.startX),t=Math.min(A.clientY,this.startY),s=Math.abs(A.clientX-this.startX),r=Math.abs(A.clientY-this.startY);this.drawingRect.style.left=`${e}px`,this.drawingRect.style.top=`${t}px`,this.drawingRect.style.width=`${s}px`,this.drawingRect.style.height=`${r}px`})))}onTouchEnd=async A=>{let e=A.changedTouches[0];e&&await this.finishDrawing(e.clientX,e.clientY)};elementAt(A,e){this.overlay&&(this.overlay.style.pointerEvents="none");let t=iu(A,e);this.overlay&&(this.overlay.style.pointerEvents="auto");let s=t instanceof SVGElement?(t.ownerSVGElement??t).parentElement:t;return s instanceof HTMLElement&&s!==document.body&&s!==document.documentElement&&!Ph(s)?s:null}onMouseUp=async A=>{await this.finishDrawing(A.clientX,A.clientY)};finishDrawing=async(A,e)=>{if(!this.isDrawing||!this.drawingRect)return;this.isDrawing=!1;let t=Math.min(A,this.startX),s=Math.min(e,this.startY),r=Math.abs(A-this.startX),i=Math.abs(e-this.startY);if(r<10||i<10){this.drawingRect.remove(),this.drawingRect=null;let t=this.elementAt(A,e);return void(t&&await this.annotateElement(t,!0))}let n=new DOMRect(t,s,r,i),{annotation:o}=this.buildAnnotation(n),a=await this.openForm(o,n);this.drawingRect?.remove(),this.drawingRect=null,a&&this.deactivate()};async startInstantAnnotation(A,e){if(this.isActive)return;this.instantMode=!0,this.bus.emit("annotation:start");let t=Math.max(0,Math.min(A-10,window.innerWidth-20)),s=Math.max(0,Math.min(e-10,window.innerHeight-20)),r=new DOMRect(t,s,20,20),{annotation:i,anchorBounds:n}=this.buildAnnotation(r),o=gu(n);this.drawingRect?.remove(),this.drawingRect=R("div",{style:`position:fixed;left:${t}px;top:${s}px;width:20px;height:20px;border:2px solid ${this.colors.accent};background:${this.colors.accent}12;pointer-events:none;border-radius:8px;box-shadow:0 0 16px ${this.colors.accentGlow};`}),this.drawingRect.setAttribute("data-siteping-ignore","true"),this.overlay?.appendChild(this.drawingRect),await this.openForm(i,r,o),this.drawingRect?.remove(),this.drawingRect=null,this.deactivate()}openForm(A,e,t=e){let s={clientId:H()},r=this.popup.show(e,e=>(this.freezeCancel(!0),this.runSubmission(A,e,t,s).finally(()=>this.freezeCancel(!1))),this.toolbarInsets());return this.revealSelection(e),r}revealSelection(A){let e=this.popup.sheetTop;if(null===e||!this.drawingRect)return;let t=Math.min(A.bottom+16-e,A.top-72);if(t<=0)return;let s=window.scrollY;window.scrollBy({top:t,behavior:"instant"}),this.drawingRect.style.top=A.top-(window.scrollY-s)+"px"}async runSubmission(A,e,t,s){void 0===s.screenshot&&(s.screenshot=await this.maybeCapture(new DOMRect(t.x+A.scrollX-window.scrollX,t.y+A.scrollY-window.scrollY,t.width,t.height)));let r=s.screenshot;await new Promise((t,i)=>{let n=()=>{o(),a(),l(),c(),this.rejectPendingSubmission=null},o=this.bus.on("feedback:sent",()=>{n(),t()}),a=this.bus.on("feedback:queued",()=>{n(),t()}),l=this.bus.on("feedback:error",A=>{n(),i(A)}),c=this.bus.on("submission:cancelled",()=>{n(),i(new Error("Feedback submission cancelled"))});this.rejectPendingSubmission=A=>{n(),i(A)},this.bus.emit("annotation:complete",{annotation:A,type:e.type,message:e.message,clientId:s.clientId,screenshotDataUrl:r?.dataUrl??null,screenshotRegion:r?.region??null})})}buildAnnotation(A){this.overlay&&(this.overlay.style.pointerEvents="none");let e=function(A,e=document.documentElement){let t=iu(A.x+A.width/2,A.y+A.height/2);if(!t||t===e)return document.body;let s=t;for(;s&&s!==document.body;){if(s.hasAttribute(Zh)&&ru(s,A))return s;s=tu(s)}for(s=t;s&&s!==document.body;){if(ru(s,A))return s;s=tu(s)}return document.body}(A);this.overlay&&(this.overlay.style.pointerEvents="auto");let t=su(e),s=e.getBoundingClientRect(),r=function(A,e){return e.width<=0||e.height<=0?{xPct:0,yPct:0,wPct:1,hPct:1}:{xPct:(A.x-e.x)/e.width,yPct:(A.y-e.y)/e.height,wPct:A.width/e.width,hPct:A.height/e.height}}(A,s);return{annotation:{anchor:t,rect:r,scrollX:window.scrollX,scrollY:window.scrollY,viewportW:window.innerWidth,viewportH:window.innerHeight,devicePixelRatio:window.devicePixelRatio},anchorBounds:s}}destroy(){this.deactivate(),this.unregisterEscapeLayer(),this.rejectPendingSubmission?.(new Error("Annotator destroyed during submission")),this.popup.destroy()}};function wu(A,e){let t=`siteping_own_feedback:${JSON.stringify([A,e??null])}`,s=()=>{try{let A=JSON.parse(localStorage.getItem(t)??"[]");return new Set(Array.isArray(A)?A.filter(A=>"string"==typeof A):[])}catch{return new Set}},r=A=>{try{A.size>0?localStorage.setItem(t,JSON.stringify([...A].slice(-500))):localStorage.removeItem(t)}catch{}};return{ids:s,add(A){let e=s();e.delete(A),r(e.add(A))},remove(...A){let e=s(),t=e.size;for(let t of A)e.delete(t);e.size<t&&r(e)},clear:()=>r(new Set)}}K();var fu=1e4,mu="siteping_retry_queue";function bu(A,e,t){let s,r=new Promise((A,r)=>{s=setTimeout(()=>r(t()),e)});return Promise.race([A,r]).finally(()=>clearTimeout(s))}async function Cu(A,e){let t={};return e&&(t["Content-Type"]="application/json"),A.apiKey&&(t.Authorization=`Bearer ${A.apiKey}`),function(A,e){let t={...A};for(let[A,s]of Object.entries(e??{})){for(let e of Object.keys(t))e.toLowerCase()===A.toLowerCase()&&delete t[e];t[A]=s}return t}(t,"function"==typeof A.headers?await bu(Promise.resolve(A.headers()),fu,()=>new Error("headers factory did not settle within 10 s")):A.headers)}async function yu(A,e,t,s,{boundBody:r=!1,timeoutMs:i=fu,resendOnTimeout:n=!0}={}){for(let o=0;;o++){let a,l=new AbortController,c=setTimeout(()=>l.abort(),i);try{let i=await fetch(A,{...e,signal:l.signal}).catch(A=>{if(3===o||!n&&l.signal.aborted)throw S(A,t);return null});if(a=Qu(i,o),i&&(!xu(i.status)||3===o||a>1e4)){if(clearTimeout(c),r&&(c=setTimeout(()=>l.abort(),fu)),!i.ok)throw await I(i,t);return await s(i).catch(A=>{throw S(A,t)})}}finally{clearTimeout(c)}await new Promise(A=>setTimeout(A,a))}}function Qu(A,e){let t=A?.headers.get("Retry-After"),s=t?/^\d+$/.test(t)?1e3*Number(t):Date.parse(t)-Date.now():Number.NaN;return Number.isNaN(s)?1e3*2**e+1e3*Math.random()-500:Math.max(0,s)}function xu(A){return A>=500||408===A||429===A}async function Fu(A){return typeof navigator<"u"&&navigator.locks?navigator.locks.request("siteping_retry_queue",()=>A()):A()}function vu(A){if(!a(A,"endpoint")||"string"!=typeof A.endpoint||!a(A,"payload"))return!1;let{payload:e}=A;return a(e,"authorName")&&"string"==typeof e.authorName&&a(e,"authorEmail")&&"string"==typeof e.authorEmail}function Uu(){let A,e=localStorage.getItem(mu);if(!e)return[];try{A=JSON.parse(e)}catch{return localStorage.removeItem(mu),console.warn(`[siteping] discarded an unreadable retry queue from localStorage (${e.length} chars)`),[]}return Array.isArray(A)?A.filter(vu):[]}var Eu=new WeakMap;function ku(A){try{return localStorage.setItem(mu,JSON.stringify(A)),!0}catch{return!1}}function Hu(A){return null!=A.payload.screenshotDataUrl}function Iu(A){let{screenshotDataUrl:e,screenshotRegion:t,...s}=A.payload;return{endpoint:A.endpoint,payload:s}}function Su(A){return A.trim()}function Lu(A){return A.trim().toLowerCase()}function Mu(A,e){let t=Math.min(1,Math.max(0,A)),s=e-(t-A);return[t,Math.max(0,t+s<=1?s:1-t)]}function Du(A){let[e,t]=Mu(A.rect.xPct,A.rect.wPct),[s,r]=Mu(A.rect.yPct,A.rect.hPct);return{...A,rect:{xPct:e,yPct:s,wPct:t,hPct:r}}}async function Ku(A){return await A.json()}async function Tu(){}var Ou=class{constructor(A,e,t={}){this.endpoint=A,this.projectName=e,this.auth=t}endpoint;projectName;auth;listRefusalExplained=!1;async headers(A,e){try{return await Cu(this.auth,A)}catch(A){throw S(A,e)}}async sendFeedback(A){let e="Failed to send feedback",{screenshotRegion:t,...s}=A,r={...s,annotations:s.annotations.map(Du)},i=t?{...r,screenshotRegion:t}:r;try{let A=await yu(this.endpoint,{method:"POST",headers:await this.headers(!0,e),body:JSON.stringify(i)},e,Ku,{boundBody:!0});return n=i.clientId,Fu(()=>{try{let A=Uu(),e=A.filter(A=>A.payload.clientId!==n);if(e.length===A.length)return;e.length>0?localStorage.setItem(mu,JSON.stringify(e)):localStorage.removeItem(mu)}catch{}}),A}catch(A){throw function(A){return A instanceof c||A instanceof l&&"SERVER"===A.code}(A)&&Eu.set(A,await function(A,e){return Fu(()=>{try{let t=Uu().filter(A=>A.payload.clientId!==e.clientId);if(t.length>=20&&t.shift(),t.push({endpoint:A,payload:e}),ku(t))return!0;let s=t.slice(),r=0;for(let[A,e]of s.entries())if(Hu(e)&&(s[A]=Iu(e),r+=1,ku(s)))return console.warn(`[siteping] retry queue exceeded the localStorage quota \u2014 dropped the screenshot of ${r} of ${t.length} queued feedback(s)`),!0;for(;s.length>1;)if(s.shift(),ku(s)){let A=t.length-s.length,e=t.slice(A).filter(Hu).length;return console.warn(`[siteping] retry queue exceeded the localStorage quota \u2014 dropped the ${A} oldest of ${t.length} queued feedback(s)${e>0?`, and the screenshot of ${e} of the rest`:""}`),!0}console.warn("[siteping] feedback could not be queued for retry \u2014 localStorage is full or unavailable")}catch{}return!1}).catch(()=>!1)}(this.endpoint,i)),A}var n}async getFeedbacks(A,e){let t="Failed to fetch feedbacks",s=function(A){let e=new URLSearchParams({projectName:A.projectName});return A.page&&e.set("page",String(A.page)),A.limit&&e.set("limit",String(A.limit)),A.type&&e.set("type",A.type),A.status&&e.set("status",A.status),A.statuses?.length&&e.set("statuses",A.statuses.join(",")),A.search&&e.set("search",A.search),A.url&&e.set("url",A.url),A.urlPattern&&e.set("urlPattern",A.urlPattern),e}({projectName:A,...e}),r=await this.headers(!1,t);return yu(function(A,e){let t=e.toString();if(!t)return A;let s=A.includes("#")?A.indexOf("#"):A.length,r=A.slice(0,s),i=/[?&]$/.test(r)?"":r.includes("?")?"&":"?";return r+i+t+A.slice(s)}(this.endpoint,s),{method:"GET",cache:"no-store",...Object.keys(r).length>0?{headers:r}:{}},t,Ku).catch(A=>{throw A instanceof p&&!this.listRefusalExplained&&(this.listRefusalExplained=!0,console.warn(`[siteping] Feedback list refused (${A.status}): with an apiKey, GET needs it unless publicEndpoints includes "GET"; pins and panel stay empty. https://siteping.dev/docs/server#the-security-model-honestly`)),A})}async addComment(A,e){let t="Failed to post comment";return yu(this.endpoint,{method:"POST",headers:await this.headers(!0,t),body:JSON.stringify({...e,projectName:this.projectName,feedbackId:A})},t,Ku,{boundBody:!0})}async resolveFeedback(A,e){let t="Failed to update feedback";return yu(this.endpoint,{method:"PATCH",headers:await this.headers(!0,t),body:JSON.stringify({id:A,projectName:this.projectName,status:e?"resolved":"open"})},t,Ku)}async deleteFeedback(A){let e="Failed to delete feedback";await yu(this.endpoint,{method:"DELETE",headers:await this.headers(!0,e),body:JSON.stringify({id:A,projectName:this.projectName})},e,Tu)}async deleteAllFeedbacks(A){let e="Failed to delete all feedbacks";await yu(this.endpoint,{method:"DELETE",headers:await this.headers(!0,e),body:JSON.stringify({projectName:A,deleteAll:!0})},e,Tu,{timeoutMs:6e4,resendOnTimeout:!1})}};function Ru(A,e){if(A.length<=e)return A;let t=e-1,s=A.charCodeAt(t-1);return s>=55296&&s<=56319&&(t-=1),`${A.slice(0,t)}\u2026`}var Pu=["log","info","warn","error"];function Nu(A){if(null===A)return"null";if(void 0===A)return"undefined";if("string"==typeof A)return A;if("number"==typeof A||"boolean"==typeof A||"bigint"==typeof A)return String(A);if(A instanceof Error)return`${A.name}: ${A.message}${A.stack?`\n${A.stack}`:""}`;try{let e=[],t=500;return JSON.stringify(A,function(A,s){if(!(--t<0)){if("function"==typeof s)return"[Function]";if("symbol"==typeof s)return s.toString();if("object"!=typeof s||null===s)return s;for(;e.length>0&&e[e.length-1]!==this;)e.pop();return e.includes(s)?"[Circular]":(e.push(s),s)}})}catch{try{return String(A)}catch{return"[Unserializable]"}}}function Vu(A){let e="";for(let t=0;t<A.length&&(t>0&&(e+=" "),e+=Nu(A[t]),!(e.length>=500));t++);return Ru(e,500)}var Gu=class{maxEntries;entries=[];originals=new Map;wrappers=new Map;disposed=!1;constructor(A=50){if(this.maxEntries=Number.isFinite(A)&&A>=0?Math.min(Math.floor(A),50):50,!(typeof console>"u"))for(let A of Pu){let e=console[A];if("function"!=typeof e)continue;this.originals.set(A,e);let t=this,s=function(...s){try{t.push(A,s)}catch{}e.apply(this??console,s)};try{Object.defineProperty(s,"name",{value:A})}catch{}this.wrappers.set(A,s),console[A]=s}}push(A,e){0!==this.maxEntries&&(this.entries.length>=this.maxEntries&&this.entries.shift(),this.entries.push({level:A,timestamp:(new Date).toISOString(),message:Vu(e)}))}getEntries(){return this.entries.slice()}dispose(){if(this.disposed||(this.disposed=!0,typeof console>"u"))return;let A=console;for(let[e,t]of this.originals)if(A[e]===this.wrappers.get(e))try{A[e]=t}catch{}this.originals.clear(),this.wrappers.clear()}};function Xu(A){let e=function(A){try{let e=new URL(A,typeof location>"u"?void 0:location.href);return e.username||e.password?(e.username="",e.password="",e.href):A}catch{return A}}(function(A){if("string"==typeof A)return A;if(A instanceof URL)return A.href;if("object"==typeof A&&null!==A&&"url"in A){let e=A.url;if("string"==typeof e)return e}try{return String(A)}catch{return"(unknown)"}}(A)),t=e.search(/[?#]/);return Ru(-1===t?e:e.slice(0,t),2e3)}var $u=class{maxEntries;entries=[];originalFetch=null;originalXhrOpen=null;originalXhrSend=null;wrappedFetch=null;wrappedXhrOpen=null;wrappedXhrSend=null;disposed=!1;constructor(A=20){this.maxEntries=Number.isFinite(A)&&A>=0?Math.min(Math.floor(A),20):20,this.installFetch(),this.installXhr()}push(A){0!==this.maxEntries&&(this.entries.length>=this.maxEntries&&this.entries.shift(),this.entries.push({...A,method:A.method.slice(0,20),status:A.status<=599?A.status:0,durationMs:Math.min(Math.max(A.durationMs,0),6e5)}))}installFetch(){if("function"!=typeof globalThis.fetch)return;let A=globalThis.fetch;this.originalFetch=A;let e=async(e,t)=>{let s=new Date,r=typeof performance<"u"?performance.now():Date.now(),i=Xu(e),n=(t?.method??(e instanceof Request?e.method:"GET")).toUpperCase();try{let o=await A(e,t);if(!o.ok){let A=typeof performance<"u"?performance.now():Date.now();this.push({url:i,method:n,status:o.status,durationMs:Math.round(A-r),timestamp:s.toISOString()})}return o}catch(A){let e=typeof performance<"u"?performance.now():Date.now();throw this.push({url:i,method:n,status:0,durationMs:Math.round(e-r),timestamp:s.toISOString()}),A}};this.wrappedFetch=e,globalThis.fetch=e}installXhr(){if(typeof XMLHttpRequest>"u")return;let A=XMLHttpRequest.prototype,e=A.open,t=A.send;this.originalXhrOpen=e,this.originalXhrSend=t;let s=this,r=new WeakMap,i=function(A,t,...s){try{r.set(this,{method:A.toUpperCase(),url:Xu(t),startedAt:new Date,t0:typeof performance<"u"?performance.now():Date.now()})}catch{}return e.call(this,A,t,...s)},n=function(A){let e=r.get(this);if(e){let A=()=>{try{let A=typeof performance<"u"?performance.now():Date.now(),t=this.status;(0===t||t>=400)&&s.push({url:e.url,method:e.method,status:t,durationMs:Math.round(A-e.t0),timestamp:e.startedAt.toISOString()})}catch{}};try{this.addEventListener("loadend",A,{once:!0})}catch{try{this.addEventListener("loadend",A)}catch{}}}return t.call(this,A??null)};this.wrappedXhrOpen=i,this.wrappedXhrSend=n,A.open=i,A.send=n}getEntries(){return this.entries.slice()}dispose(){if(!this.disposed){if(this.disposed=!0,this.originalFetch&&globalThis.fetch===this.wrappedFetch)try{globalThis.fetch=this.originalFetch}catch{}if(typeof XMLHttpRequest<"u")try{let A=XMLHttpRequest.prototype;this.originalXhrOpen&&A.open===this.wrappedXhrOpen&&(A.open=this.originalXhrOpen),this.originalXhrSend&&A.send===this.wrappedXhrSend&&(A.send=this.originalXhrSend)}catch{}}}},Wu=class{listeners=new Map;on(A,e){let t=this.listeners.get(A);return t||(t=new Set,this.listeners.set(A,t)),t.add(e),()=>{t?.delete(e)}}off(A,e){this.listeners.get(A)?.delete(e)}emit(A,...e){let t=this.listeners.get(A);if(t)for(let s of t)try{s(...e)}catch(e){console.error(`[siteping] Error in event listener for "${String(A)}":`,e)}}removeAll(){this.listeners.clear()}};J(),SA(),Cp(),LA(),qA();var Yu={chat:"fab.messages",annotate:"fab.annotate","toggle-annotations":"fab.annotations"},Ju=class{constructor(A,e,t,s){this.bus=t,this.t=s;let r=e.position??"bottom-right";this.items=[{id:"chat",icon:HA},{id:"annotate",icon:IA}],!1!==e.showAnnotationsToggle&&this.items.push({id:"toggle-annotations",icon:uA,iconAlt:gA}),this.fab=document.createElement("button"),this.fab.className=`sp-fab sp-fab--${r} sp-anim-fab-in`,this.fab.style.position="fixed",this.fab.appendChild(O(hA)),this.fab.setAttribute("aria-expanded","false"),this.fab.addEventListener("click",()=>this.toggle()),this.radialContainer=document.createElement("div"),this.radialContainer.className=`sp-radial sp-radial--${r}`,this.radialContainer.setAttribute("role","menu"),G(this.radialContainer,!0);for(let A=0;A<this.items.length;A++){let e=this.items[A];if(!e)continue;let t=document.createElement("button");t.className="sp-radial-item",t.style.setProperty("--sp-i",String(A)),t.appendChild(O(e.icon)),t.setAttribute("role","menuitem"),t.dataset.itemId=e.id,t.addEventListener("click",A=>{A.stopPropagation(),this.handleItemClick(e.id)});let s=document.createElement("span");s.className="sp-radial-label",t.appendChild(s),this.radialContainer.appendChild(t)}this.scrim=document.createElement("div"),this.scrim.className="sp-scrim",this.scrim.addEventListener("click",()=>this.close()),this.root=document.createElement("div"),this.root.appendChild(this.scrim),this.root.appendChild(this.radialContainer),this.root.appendChild(this.fab),A.appendChild(this.root),this.applyLabels();let i=A.host;this.onDocumentClick=A=>{this.isOpen&&!A.composedPath().includes(i)&&this.close()},document.addEventListener("click",this.onDocumentClick,!0);let n=A=>{"Escape"===A.key&&this.isOpen&&(A.stopPropagation(),this.close())};this.fab.addEventListener("keydown",n),this.radialContainer.addEventListener("keydown",n),Z(this.root,()=>this.isOpen),this.radialContainer.addEventListener("keydown",e=>{let t=Array.from(this.radialContainer.querySelectorAll(".sp-radial-item"));if(0===t.length||!this.isOpen)return;let s=A.activeElement??document.activeElement,r=t.indexOf(s);switch(e.key){case"ArrowUp":{e.preventDefault();let A=r<=0?t.length-1:r-1;t[A]?.focus();break}case"ArrowDown":{e.preventDefault();let A=r>=t.length-1?0:r+1;t[A]?.focus();break}case"Home":e.preventDefault(),t[0]?.focus();break;case"End":e.preventDefault(),t[t.length-1]?.focus()}})}bus;t;root;scrim;fab;radialContainer;badgeEl=null;isOpen=!1;annotationsVisible=!0;items;onDocumentClick;refreshLabels(){this.applyLabels()}applyLabels(){this.applyFabLabel();let A=this.radialContainer.querySelectorAll(".sp-radial-item");for(let e of A){let A=e.dataset.itemId;if(!A)continue;let t=Yu[A];if(!t)continue;let s=this.t(t);e.setAttribute("aria-label",s);let r=e.querySelector(".sp-radial-label");r&&P(r,s)}}applyFabLabel(){let A=this.t("fab.aria"),e=this.badgeEl?.textContent;this.fab.setAttribute("aria-label",e?`${A}, ${bp(this.t,"fab.badge",{count:e})}`:A)}updateBadge(A){if(A<=0)return this.badgeEl?.remove(),this.badgeEl=null,void this.applyFabLabel();this.badgeEl||(this.badgeEl=document.createElement("span"),this.badgeEl.className="sp-fab-badge",this.badgeEl.setAttribute("role","status"),this.badgeEl.setAttribute("aria-live","polite"),this.fab.appendChild(this.badgeEl));let e=A>99?"99+":String(A);P(this.badgeEl,e),this.badgeEl.setAttribute("aria-label",bp(this.t,"fab.badge",{count:A})),this.applyFabLabel()}toggle(){this.isOpen?this.close():this.open()}open(){this.isOpen=!0,this.setFabIcon(BA),this.fab.setAttribute("aria-expanded","true"),this.scrim.classList.add("sp-scrim--open"),G(this.radialContainer,!1);let A=_A()?60:54;this.radialContainer.querySelectorAll(".sp-radial-item").forEach((e,t)=>{let s=-(16+A*(t+1));e.style.transform=`translate(0px, ${s}px) scale(1)`,e.classList.add("sp-radial-item--open")}),requestAnimationFrame(()=>{this.radialContainer.querySelector(".sp-radial-item")?.focus()})}close(){this.isOpen=!1,this.setFabIcon(hA),this.fab.setAttribute("aria-expanded","false"),this.scrim.classList.remove("sp-scrim--open"),G(this.radialContainer,!0),this.radialContainer.querySelectorAll(".sp-radial-item").forEach(A=>{A.style.transform="translate(0, 0) scale(0.8)",A.classList.remove("sp-radial-item--open")}),this.fab.focus()}setFabIcon(A){let e=this.badgeEl;this.fab.replaceChildren(O(A)),e&&this.fab.appendChild(e)}handleItemClick(A){switch(this.close(),A){case"chat":this.bus.emit("panel:toggle",!0);break;case"annotate":{let A=this.bus.on("annotation:end",()=>{A(),this.fab.focus()});this.bus.emit("annotation:start");break}case"toggle-annotations":{this.annotationsVisible=!this.annotationsVisible,this.bus.emit("annotations:toggle",this.annotationsVisible);let A=this.radialContainer.querySelector('[data-item-id="toggle-annotations"]')?.querySelector("svg");if(A){let e=O(this.annotationsVisible?uA:gA);A.replaceWith(e)}break}}}destroy(){document.removeEventListener("click",this.onDocumentClick,!0),this.root.remove()}};SA(),Cp(),K();var zu="siteping_identity";function _u(){try{let A=localStorage.getItem(zu);if(!A)return null;let e=JSON.parse(A);return function(A){if(!a(A,"name")||!a(A,"email"))return!1;let{name:e,email:t}=A;return"string"==typeof e&&"string"==typeof t&&e.length>0&&e.length<=y&&t.length<=y&&i(t)}(e)?e:null}catch{return null}}function ju(A){return A.normalize("NFC").replace(/\s+/g," ").trim()}function Zu(A){return A.replace(/\s+/g," ").trim()}function qu(A,e){if(A===e)return 1;let t=Math.max(A.length,e.length);return 0===t?1:1-function(A,e){if(A===e)return 0;if(0===A.length)return e.length;if(0===e.length)return A.length;if(A.length>e.length){let t=A;A=e,e=t}let t=A.length,s=e.length,r=new Array(t+1);for(let A=0;A<=t;A++)r[A]=A;let i=new Array(t+1);for(let n=1;n<=s;n++){i[0]=n;for(let s=1;s<=t;s++){let t=r[s-1];i[s]=A[s-1]===e[n-1]?t:1+Math.min(t,r[s],i[s-1])}let s=r;r=i,i=s}return r[t]}(A,e)/t}function Ag(A,e,t=.6){if(!e||!A)return 0;if(A.includes(e))return 1;let s=A.length>500?A.slice(0,500):A;if(e.length>s.length){let A=qu(s,e);return A>=t?A:0}if(e.length<8&&s.length>64)return 0;let r=1-function(A,e){let t=e.length,s=new Int32Array(t+1),r=new Int32Array(t+1);for(let A=0;A<=t;A++)s[A]=A;let i=t;for(let n=1;n<=A.length;n++){r[0]=0;let o=A.charCodeAt(n-1);for(let A=1;A<=t;A++){let t=s[A-1]+(e.charCodeAt(A-1)===o?0:1),i=s[A]+1,n=r[A-1]+1;r[A]=Math.min(t,i,n)}let a=r[t];a<i&&(i=a);let l=s;s=r,r=l}return i}(s,e)/e.length;return r>=t?r:0}function eg(A){let e=new Map;for(let t=0;t<A.length-1;t++){let s=A.charCodeAt(t)<<16|A.charCodeAt(t+1);e.set(s,(e.get(s)??0)+1)}return e}function tg(A,e,t){let s=t.length-1;if(e<=0||s<=0)return 0;let r=0,i=new Map;for(let e=0;e<t.length-1;e++){let s=t.charCodeAt(e)<<16|t.charCodeAt(e+1),n=A.get(s);if(void 0===n)continue;let o=i.get(s)??0;o<n&&(i.set(s,o+1),r++)}return 2*r/(e+s)}function sg(A,e,t){if(e<=0)return 0;let s=t.split(" "),r=s.length-1;if(r<=0)return 0;let i=0,n=new Map;for(let e=0;e<s.length-1;e++){let t=`${s[e]} ${s[e+1]}`,r=A.get(t);if(void 0===r)continue;let o=n.get(t)??0;o<r&&(n.set(t,o+1),i++)}return 2*i/(e+r)}K();var rg={checkOpacity:!0,opacityProperty:!0,checkVisibilityCSS:!0,visibilityProperty:!0};function ig(A){if(!A.isConnected)return"hidden";if("function"==typeof A.checkVisibility)return A.checkVisibility(rg)?"visible":A.checkVisibility()?"soft-hidden":"hidden";if(A.getClientRects().length>0)try{return"visible"===getComputedStyle(A).visibility?"visible":"soft-hidden"}catch{return"visible"}let e=A.firstElementChild;return e&&e.getClientRects().length>0?"visible":0===A.ownerDocument.documentElement.getClientRects().length?"unknown":"hidden"}var ng={anchorKey:1,id:1,css:.95,xpath:.9,scan:.85},og=500;function ag(A,e){return ju((A??"").slice(0,2e3)).slice(0,e)}function lg(A,e){let t=function(A){let e=ag(A.textSnippet,og),t=function(A){let e=new Map,t=A.split(" ");for(let A=0;A<t.length-1;A++){let s=`${t[A]} ${t[A+1]}`;e.set(s,(e.get(s)??0)+1)}return e}(e),s=0;for(let A of t.values())s+=A;return{snippet:e,snippetBigrams:eg(e),snippetBigramTotal:Math.max(0,e.length-1),snippetWordPairs:t,snippetWordPairTotal:s,prefix:ag(A.textPrefix,128),suffix:ag(A.textSuffix,128),neighbor:ag(A.neighborText,128),fingerprint:(A.fingerprint??"").slice(0,64),tag:"string"==typeof A.elementTag?A.elementTag:""}}(A),{pool:s,treeRoots:r}=function(A){let e=new Map,t=(t,s,r)=>{!t||e.has(t)||r&&t.tagName!==A.elementTag||e.set(t,s)},s="string"==typeof A.cssSelector?A.cssSelector.split(qh):[],r=s[s.length-1]??A.cssSelector,i=s.length>1?function(A){let e=[],t=[document];for(let s of A){let A;try{A=cg(t,s)}catch{return[]}let r=[];for(let e of A)e.shadowRoot&&r.push(e.shadowRoot);if(0===r.length)return[];e.push(r),t=r}return e}(s.slice(0,-1)):null,n=i?i[i.length-1]??[]:[document],o=i?[document,...i.flat()]:n;if(A.anchorKey){let e=A.anchorKey.replace(/\\/g,"\\\\").replace(/"/g,'\\"');try{for(let A of cg(o,`[${Zh}="${e}"]`))t(A,"anchorKey",!1)}catch{}}if(A.elementId){let e=A.elementId.replace(/\\/g,"\\\\").replace(/"/g,'\\"');try{for(let A of cg(n,`[id="${e}"]`))t(A,"id",!0)}catch{for(let e of n)t(e.getElementById(A.elementId),"id",!0)}}try{for(let A of cg(n,r))t(A,"css",!0)}catch{}if(i)return{pool:e,treeRoots:n};try{let e=document.evaluate(A.xpath,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),s=Math.min(e.snapshotLength,16);for(let A=0;A<s;A++){let s=e.snapshotItem(A);s instanceof Element&&t(s,"xpath",!0)}}catch{}return{pool:e,treeRoots:n}}(A),i=[];for(let[A,e]of s){let s=dg(A,e,t);s&&i.push(s)}let n=0,o=!1;for(let A of i)A.final>n&&(n=A.final),("id"===A.strategy||"anchorKey"===A.strategy)&&1===A.visibility&&(A.signals?.text??0)>=.8&&(void 0===A.signals?.fingerprint||A.signals.fingerprint>=.8)&&(o=!0);let a=!!(t.snippet||t.fingerprint||t.prefix||t.suffix||t.neighbor),l=e?.scanBudget;if(a&&r.length>0&&n<ng.scan&&!o)if(l&&l.remaining<=0)l.starved=!0;else{l&&l.remaining--;for(let A of function(A,e,t){let s=A.tag.toLowerCase();if(!s)return[];let r=[];try{for(let A of t){let e=A.querySelectorAll(s);for(let A=0;A<e.length&&r.length<1e4;A++){let t=e[A];t&&r.push(t)}if(1e4===r.length)break}}catch{return[]}let i=A.fingerprint.split(":"),n=3===i.length?Number(i[0]):Number.NaN,o=3===i.length?i[2]??"":"",a=[];for(let t of r){if(e.has(t))continue;let s=0;if(A.snippetBigramTotal>0){let e=Zu(Jh(t,og)),r=tg(A.snippetBigrams,A.snippetBigramTotal,e);A.snippetWordPairTotal>0?s+=.6*(.5*r+.5*(r>0?sg(A.snippetWordPairs,A.snippetWordPairTotal,e):0)):s+=.6*r}if(o&&Rh(t)===o&&(s+=.25),!Number.isNaN(n)){let A=Math.abs(t.children.length-n);0===A?s+=.15:A<=2&&(s+=.07)}a.push({element:t,cheap:s})}return a.sort((A,e)=>e.cheap-A.cheap),a.slice(0,24).map(A=>A.element)}(t,s,r)){let e=dg(A,"scan",t);e&&i.push(e)}}let c=i.filter(pg);if(0===c.length)return null;c.sort((A,e)=>e.final-A.final);let d=function(A){let e=A[0],t=A.filter(A=>e.final-A.final<=.05&&(A===e||e.element.contains(A.element))),s=e;for(let A of t)A!==s&&s.element.contains(A.element)&&(s=A);return s}(c);return{element:d.element,confidence:hg(d),strategy:d.strategy}}function cg(A,e){let t=[];for(let s of A){let A=s.querySelectorAll(e);for(let e=0;e<A.length&&t.length<16;e++){let s=A[e];s&&t.push(s)}if(16===t.length)break}return t}function dg(A,e,t){let s=function(A,e){let t=0,s=0,r={blend:0,strongest:0};if(e.snippet){s+=40;let i=Jh(A,og,!0);if(r.text=Ag(ju(i),e.snippet,.5),r.text<1){let t=Jh(A,og);t!==i&&(r.text=Math.max(r.text,Ag(ju(t),e.snippet,.5)))}t+=40*r.text}if(e.fingerprint&&(s+=20,r.fingerprint=function(A,e){let t=e.split(":");if(3!==t.length)return 0;let[s,r,i]=t,n=Number(s),o=Number(r);if(Number.isNaN(n)||Number.isNaN(o))return 0;let a=Oh(A),[l,c,d]=a.split(":"),p=0,h=Math.abs(Number(l)-n);0===h?p+=.2:h<=2?p+=.1:h<=5&&(p+=.03);let u=Math.abs(Number(c)-o);return 0===u?p+=.4:1===u?p+=.2:u<=3&&(p+=.08),d===i&&(p+=.4),p}(A,e.fingerprint),t+=20*r.fingerprint),e.prefix||e.suffix){s+=20;let i=0,n=0;if(e.prefix){let t=ju(Wh(A,"before"));i+=t?qu(t,e.prefix):0,n++}if(e.suffix){let t=ju(Wh(A,"after"));i+=t?qu(t,e.suffix):0,n++}n>0&&(r.context=i/n,t+=20*r.context)}if(e.neighbor){s+=20;let i=ju(Yh(A));r.neighbor=i?qu(i,e.neighbor):0,t+=20*r.neighbor}return 0===s?null:(r.blend=t/s,r.strongest=Math.max(r.text??0,r.fingerprint??0,r.context??0,r.neighbor??0),r)}(A,t),r=function(A){switch(A){case"hidden":return.3;case"soft-hidden":return.6;default:return 1}}(ig(A));return null===s?"scan"===e?null:{element:A,strategy:e,verification:.6,strongest:.6,visibility:r,final:.6*ng[e]*r,unverified:!0}:{element:A,strategy:e,verification:s.blend,strongest:s.strongest,signals:s,visibility:r,final:ng[e]*s.blend*r}}function pg(A){if("scan"===A.strategy)return A.verification>=.4;if(A.unverified||!A.signals)return!0;let e=A.signals;return void 0===e.text||e.text>=.5||(e.fingerprint??0)>=.6||(e.context??0)>=.6||(e.neighbor??0)>=.6}function hg(A){return"scan"===A.strategy?Math.min(A.verification,ng.scan):A.unverified?ng[A.strategy]:ng[A.strategy]*Math.min(1,A.strongest/.8)}function ug(A,e,t){let s=lg(A,t);if(!s)return null;let r=s.element.getBoundingClientRect(),i=new DOMRect(r.x+e.xPct*r.width,r.y+e.yPct*r.height,e.wPct*r.width,e.hPct*r.height);return{element:s.element,rect:i,confidence:s.confidence,strategy:s.strategy}}function gg(A){return{cssSelector:A.cssSelector,xpath:A.xpath,textSnippet:A.textSnippet,elementTag:A.elementTag,elementId:A.elementId??void 0,textPrefix:A.textPrefix,textSuffix:A.textSuffix,fingerprint:A.fingerprint,neighborText:A.neighborText,anchorKey:A.anchorKey??null}}function Bg(A){return{xPct:A.xPct,yPct:A.yPct,wPct:A.wPct,hPct:A.hPct}}J(),SA(),Cp(),YA(),qA();var wg={bg:"rgba(241,245,249,0.9)",ring:"#cbd5e1",color:"#94a3b8",shadow:"0 2px 8px rgba(0,0,0,0.06)",hoverShadow:"0 4px 16px rgba(0,0,0,0.1)"};function fg(A){return{top:A.top+window.scrollY-13,left:A.right+window.scrollX-13}}function mg(A,e){let t=A.entries[e],s=A.elementIndices[e];if(t&&void 0!==s)return t.elements[s]}function bg(A){let e=A.elementIndices[0];return void 0===e?void 0:A.entries[0]?.positions[e]}var Cg=A=>"none"!==A.style.display;function yg(A,e,t){!jA()&&"function"==typeof A.animate&&A.animate(e,t)}var Qg=class{constructor(A,e,t,s,r=null){this.colors=A,this.tooltip=e,this.bus=t,this.t=s,this.liveRegion=r,this.container=R("div",{style:"position:absolute;top:0;left:0;pointer-events:none;z-index:2147483646;"}),this.container.id="siteping-markers",_(this.container),document.body.appendChild(this.container),this.bus.on("annotations:toggle",A=>{this.container.style.display=A?"block":"none"}),this.resizeHandler=()=>this.scheduleReposition("resize"),window.addEventListener("resize",this.resizeHandler,{passive:!0}),this.scrollHandler=()=>this.scheduleReposition("scroll"),window.addEventListener("scroll",this.scrollHandler,{passive:!0,capture:!0}),this.mutationObserver=new MutationObserver(A=>{let e=!1;for(let t of A)if(!this.container.contains(t.target)&&!this.tooltip.contains(t.target)){e=!0;break}e&&this.scheduleReposition("mutation")}),this.mutationObserver.observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),this.onDocumentClickForClusters=A=>{this.container.contains(A.target)||this.collapseAllClusters()},document.addEventListener("click",this.onDocumentClickForClusters,!0)}colors;tooltip;bus;t;liveRegion;container;entries=[];highlightElements=[];pinnedFeedback=null;onDocumentClick=null;repositionTimer=null;mutationObserver=null;scrollHandler=null;resizeHandler=null;anchorCache=new Map;pendingLayoutChange=!1;pendingResize=!1;hiddenRecheckAt=new Map;clusters=[];onDocumentClickForClusters=null;lastOpenCount=-1;get count(){return this.entries.length}get openCount(){let A=0;for(let e of this.entries)m(e.feedback.status)||A++;return A}scheduleReposition(A="mutation"){"scroll"!==A&&(this.pendingLayoutChange=!0),"resize"===A&&(this.pendingResize=!0),!this.repositionTimer&&("requestIdleCallback"in window?this.repositionTimer=window.requestIdleCallback(()=>{this.repositionTimer=null,this.repositionAll()},{timeout:300}):this.repositionTimer=+setTimeout(()=>{this.repositionTimer=null,this.repositionAll()},200))}repositionAll(){let A=this.pendingLayoutChange,e=this.pendingResize;this.pendingLayoutChange=!1,this.pendingResize=!1,e&&this.hiddenRecheckAt.clear();let t=Date.now(),s={remaining:2,starved:!1},r=new Set,i=!1;for(let e of this.entries)for(let n=0;n<e.feedback.annotations.length;n++){let o=e.elements[n];if(!o)continue;let a=e.feedback.annotations[n];if(!a)continue;let l=`${e.feedback.id}:${n}`;r.add(l);let c,d=this.anchorCache.get(l),p=d?.ref.deref(),h=(this.hiddenRecheckAt.get(l)??0)>t,u=p?.isConnected&&(h||!(A&&"hidden"===ig(p)));if(d&&p&&u){let A=p.getBoundingClientRect(),e=Bg(a);c={element:p,rect:new DOMRect(A.left+e.xPct*A.width,A.top+e.yPct*A.height,e.wPct*A.width,e.hPct*A.height),confidence:d.confidence,strategy:d.strategy}}else if(h)c=null;else if(s.starved=!1,c=ug(gg(a),Bg(a),{scanBudget:s}),!s.starved){if(c?.element){let{confidence:A,strategy:e}=c;this.anchorCache.set(l,{ref:new WeakRef(c.element),confidence:A,strategy:e})}c&&"hidden"!==ig(c.element)?this.hiddenRecheckAt.delete(l):this.hiddenRecheckAt.set(l,t+3e3)}let g="none"!==o.style.display;c?(g||(i=!0),e.positions[n]=fg(c.rect),o.style.display="flex",this.applyConfidenceStyle(o,c.confidence,e.feedback)):(g&&(i=!0),o.style.display="none")}for(let A of this.anchorCache.keys())r.has(A)||this.anchorCache.delete(A);for(let A of this.hiddenRecheckAt.keys())r.has(A)||this.hiddenRecheckAt.delete(A);i&&(this.buildClusters(),this.bus.emit("markers:placed")),this.applyClusterPositions(),this.pinnedFeedback&&this.showHighlight(this.pinnedFeedback)}applyClusterPositions(){for(let A of this.clusters)A.expanded?this.applyFanPositions(A):this.applyStackPositions(A)}emitMarkersChanged(){let A=this.openCount;A!==this.lastOpenCount&&(this.lastOpenCount=A,this.bus.emit("markers:changed",A))}render(A){this.clear(),A.forEach((A,e)=>{let t=this.buildEntry(A,e+1);this.entries.push(t)}),this.buildClusters();let e=this.entries.filter(A=>A.elements.some(Cg)).length;this.liveRegion&&e>0&&(this.liveRegion.textContent=bp(this.t,"marker.count",{count:e})),this.emitMarkersChanged(),this.bus.emit("markers:placed")}addFeedback(A,e){let t=this.buildEntry(A,e);for(let A of t.elements)yg(A,[{scale:0,opacity:0},{scale:1.2,opacity:1,offset:.6},{scale:1}],{duration:350,easing:"cubic-bezier(0.34,1.56,0.64,1)"});this.entries.push(t),this.buildClusters(),this.emitMarkersChanged(),this.bus.emit("markers:placed")}buildEntry(A,e){let t={feedback:A,elements:[],positions:[]};for(let s of A.annotations){let r=ug(gg(s),Bg(s)),i=r?fg(r.rect):{top:0,left:0},n=this.createMarker(e,A,i);r?this.applyConfidenceStyle(n,r.confidence,A):n.style.display="none",this.container.appendChild(n),t.elements.push(n),t.positions.push(i)}return t}buildClusters(){for(let A of this.container.querySelectorAll(".sp-cluster-badge"))A.remove();let A=[];for(let e of this.entries)for(let t=0;t<e.elements.length;t++){let s=e.positions[t];!s||"none"===e.elements[t]?.style.display||A.push({entry:e,elIdx:t,pos:s})}let e=new Set;this.clusters=[];for(let t=0;t<A.length;t++){if(e.has(t))continue;let s=A[t];if(!s)continue;let r={entries:[s.entry],elementIndices:[s.elIdx],expanded:!1};e.add(t);for(let i=t+1;i<A.length;i++){if(e.has(i))continue;let t=s.pos,n=A[i];if(!n)continue;let o=n.pos;Math.sqrt((t.left-o.left)**2+(t.top-o.top)**2)<28&&(r.entries.push(n.entry),r.elementIndices.push(n.elIdx),e.add(i))}this.clusters.push(r)}for(let A of this.clusters)A.entries.length<=1||(this.applyStackPositions(A),this.addClusterBadge(A))}applyStackPositions(A){let e=bg(A);if(!e)return;let{top:t,left:s}=e,r=A.entries.length<=1;for(let e=0;e<A.entries.length;e++){let i=mg(A,e);i&&(i.style.top=`${t+(r?0:3*e)}px`,i.style.left=`${s+(r?0:3*e)}px`,i.style.zIndex=String(e+1))}}applyFanPositions(A){let e=bg(A);if(!e)return;let{top:t,left:s}=e,r=A.entries.length,i=s-32*(r-1)/2;for(let e=0;e<r;e++){let s=mg(A,e);s&&(s.style.top=`${t}px`,s.style.left=`${i+32*e}px`,s.style.zIndex=String(10+e))}}addClusterBadge(A){let e=mg(A,A.entries.length-1);if(!e)return;let t=R("div",{class:"sp-cluster-badge",style:`position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:9999px;background:${this.colors.accent};color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;border:1.5px solid #fff;pointer-events:none;font-family:"Inter",system-ui,-apple-system,sans-serif;line-height:1;`});P(t,String(A.entries.length)),e.appendChild(t)}setBadgesVisible(A,e){for(let t=0;t<A.entries.length;t++){let s=mg(A,t)?.querySelector(".sp-cluster-badge");s&&(s.style.display=e?"flex":"none")}}findCluster(A){for(let e of this.clusters)if(!(e.entries.length<=1))for(let t=0;t<e.entries.length;t++)if(mg(e,t)===A)return e;return null}handleClusterClick(A,e){let t=this.findCluster(A);return!!t&&!t.expanded&&(e.stopPropagation(),this.collapseAllClusters(),t.expanded=!0,this.applyFanPositions(t),this.setBadgesVisible(t,!1),!0)}collapseCluster(A){A.expanded&&(A.expanded=!1,this.applyStackPositions(A),this.setBadgesVisible(A,!0))}collapseAllClusters(){for(let A of this.clusters)this.collapseCluster(A)}applyConfidenceStyle(A,e,t){let s=m(t.status);e<.7&&!s?(A.style.borderStyle="dashed",A.style.opacity="0.7",A.title=bp(this.t,"marker.approximate",{confidence:Math.round(100*e)})):(A.style.borderStyle="solid",A.style.opacity="1",A.title="")}createMarker(A,e,t){let{status:s}=e,r=function(A,e){return m(A)?wg:{bg:"rgba(255,255,255,0.92)",ring:"in_progress"===A?`${e} ${e} ${e}40 ${e}40`:e,color:e,shadow:`0 2px 12px ${e}25, 0 2px 6px rgba(0,0,0,0.06)`,hoverShadow:`0 4px 20px ${e}35, 0 4px 12px rgba(0,0,0,0.08)`}}(s,OA(e.type,this.colors)),i=R("div",{style:`position:absolute;top:${t.top}px;left:${t.left}px;width:26px;height:26px;border-radius:50%;background:${r.bg};border:2px solid;border-color:${r.ring};display:flex;align-items:center;justify-content:center;font-family:"Inter",system-ui,-apple-system,sans-serif;font-size:11px;font-weight:700;color:${r.color};cursor:pointer;pointer-events:auto;box-shadow:${r.shadow};transition:top 0.25s cubic-bezier(0.34,1.56,0.64,1),left 0.25s cubic-bezier(0.34,1.56,0.64,1),transform 0.15s ease,box-shadow 0.15s ease;user-select:none;-webkit-font-smoothing:antialiased;`});i.dataset.feedbackId=e.id,i.setAttribute("tabindex","0"),i.setAttribute("role","button");let n=e.message.length>60?`${e.message.slice(0,60)}...`:e.message,o=bp(this.t,"marker.aria",{number:A,type:wp(e.type,this.t),status:fp(s,this.t),message:n});i.setAttribute("aria-label",o),i.setAttribute("aria-describedby",this.tooltip.tooltipId),"wont_fix"===s?i.appendChild(R("span",{style:"width:2px;height:16px;border-radius:1px;background:currentColor;transform:rotate(45deg);"})):P(i,"resolved"===s?"\u2713":String(A)),_A()&&i.appendChild(R("span",{style:"position:absolute;inset:-9px;border-radius:50%;"})),i.addEventListener("mouseenter",()=>{i.style.transform="scale(1.2)",i.style.boxShadow=r.hoverShadow,this.tooltip.show(e,i.getBoundingClientRect()),this.pinnedFeedback||this.showHighlight(e)}),i.addEventListener("mouseleave",()=>{i.style.transform="scale(1)",i.style.boxShadow=r.shadow,this.tooltip.scheduleHide(),this.pinnedFeedback||this.clearHighlight()}),i.addEventListener("focus",()=>{this.tooltip.show(e,i.getBoundingClientRect()),this.pinnedFeedback||this.showHighlight(e)}),i.addEventListener("blur",()=>{this.tooltip.scheduleHide(),this.pinnedFeedback||this.clearHighlight()});let a=A=>{A instanceof MouseEvent&&this.handleClusterClick(i,A)||(zA()&&this.tooltip.hide(),this.pinHighlight(e),this.bus.emit("panel:toggle",!0),i.dispatchEvent(new CustomEvent("sp-marker-click",{detail:{feedbackId:e.id},bubbles:!0})))};return i.addEventListener("click",A=>a(A)),i.addEventListener("keydown",A=>{("Enter"===A.key||" "===A.key)&&(A.preventDefault(),a(A))}),i}focusFeedback(A){let e=this.entries.find(e=>e.feedback.id===A),t=e?.elements.find(Cg);return!(!e||!t||(t.scrollIntoView({behavior:"smooth",block:"center"}),this.pinHighlight(e.feedback),this.highlight(A),0))}revealPin(A){return"none"!==this.container.style.display&&this.focusFeedback(A)}isLost(A){let e=this.entries.filter(e=>e.feedback.id===A);return e.length>0&&e.every(A=>A.elements.every(A=>"none"===A.style.display))}highlight(A){for(let e of this.entries)if(e.feedback.id===A)for(let A of e.elements)yg(A,[{boxShadow:`0 0 0 0 ${this.colors.accentGlow}`},{boxShadow:"0 0 0 8px transparent",offset:.7},{boxShadow:"0 0 0 0 transparent"}],{duration:700,easing:"ease-out"})}showHighlight(A){this.removeHighlightElements();for(let e of A.annotations){let t=ug(gg(e),Bg(e));if(!t)continue;let s=OA(A.type,this.colors),r=t.rect,i=R("div",{style:`position:absolute;top:${r.top+window.scrollY}px;left:${r.left+window.scrollX}px;width:${r.width}px;height:${r.height}px;border:2px solid ${s};background:${s}0c;border-radius:8px;pointer-events:none;z-index:-1;opacity:0;box-shadow:0 0 16px ${s}20;transition:opacity 300ms ease;`});this.container.appendChild(i),this.highlightElements.push(i),i.offsetHeight,i.style.opacity="1"}}pinHighlight(A){this.unpinHighlight(),this.showHighlight(A),this.pinnedFeedback=A,this.onDocumentClick=A=>{this.container.contains(A.target)||this.unpinHighlight()},document.addEventListener("click",this.onDocumentClick,{capture:!0})}unpinHighlight(){this.onDocumentClick&&(document.removeEventListener("click",this.onDocumentClick,{capture:!0}),this.onDocumentClick=null),this.pinnedFeedback=null,this.clearHighlight()}clearHighlight(){for(let A of this.highlightElements)A.style.opacity="0",setTimeout(()=>A.remove(),300);this.highlightElements=[]}removeHighlightElements(){for(let A of this.highlightElements)A.remove();this.highlightElements=[]}clear(){this.unpinHighlight(),this.container.replaceChildren(),this.entries=[],this.clusters=[],this.anchorCache.clear()}destroy(){this.unpinHighlight(),this.repositionTimer&&("cancelIdleCallback"in window&&window.cancelIdleCallback(this.repositionTimer),clearTimeout(this.repositionTimer)),this.resizeHandler&&window.removeEventListener("resize",this.resizeHandler),this.scrollHandler&&window.removeEventListener("scroll",this.scrollHandler,{capture:!0}),this.onDocumentClickForClusters&&document.removeEventListener("click",this.onDocumentClickForClusters,!0),this.mutationObserver?.disconnect(),this.container.remove()}};K();var xg=class{constructor(A,e){this.store=A,this.projectName=e}store;projectName;async sendFeedback(A){return vg(await Fg(this.write(A),"Failed to send feedback"))}async write(A){try{return await this.store.createFeedback({projectName:A.projectName,type:A.type,message:A.message,status:"open",url:A.url,urlPattern:A.urlPattern??null,viewport:A.viewport,userAgent:A.userAgent,authorName:A.authorName,authorEmail:A.authorEmail,clientId:A.clientId,annotations:A.annotations.map(C),screenshotDataUrl:A.screenshotDataUrl??null,screenshotRegion:A.screenshotRegion??null,diagnostics:A.diagnostics??null})}catch(t){if(!((e=t)instanceof v||b(e,"STORE_DUPLICATE")||b(e,"P2002")))throw t;let s=await this.store.findByClientId(A.clientId);if(!s||s.projectName!==A.projectName)throw t;return s}var e}async getFeedbacks(A,e){let{feedbacks:t,total:s}=await this.store.getFeedbacks({projectName:A,page:e?.page,limit:e?.limit,type:e?.type,status:e?.status,statuses:e?.statuses,search:e?.search,url:e?.url,urlPattern:e?.urlPattern});return{feedbacks:t.map(vg),total:s,capabilities:{comments:!!this.store.addComment}}}async resolveFeedback(A,e){let t=await this.store.updateFeedback(A,function(A,e=new Date){return m(A)?{status:A,resolvedAt:e}:{status:A,resolvedAt:null}}(e?"resolved":"open"));return vg(t)}async deleteFeedback(A){await this.store.deleteFeedback(A)}async deleteAllFeedbacks(A){await this.store.deleteAllFeedbacks(A)}async addComment(A,e){let t="Failed to post comment";if(!this.store.addComment)throw new l(`${t}: this store keeps no comments`,"SERVER",!1);return Ug(await Fg(this.store.addComment(A,e),t))}};function Fg(A,e){return bu(A,3e4,()=>new l(`${e}: the store did not answer within 30 s`,"TIMEOUT",!0))}function vg(A){return{id:A.id,projectName:A.projectName,type:A.type,message:A.message,status:A.status,url:A.url,urlPattern:A.urlPattern??null,viewport:A.viewport,userAgent:A.userAgent,authorName:A.authorName,authorEmail:A.authorEmail,resolvedAt:A.resolvedAt?.toISOString()??null,createdAt:A.createdAt.toISOString(),updatedAt:A.updatedAt.toISOString(),annotations:A.annotations.map(Eg),comments:A.comments?.map(Ug),screenshotUrl:A.screenshotUrl??null,screenshotRegion:A.screenshotRegion??null,diagnostics:A.diagnostics??null}}function Ug({clientId:A,createdAt:e,...t}){return{...t,createdAt:e.toISOString()}}function Eg(A){return{id:A.id,feedbackId:A.feedbackId,cssSelector:A.cssSelector,xpath:A.xpath,textSnippet:A.textSnippet,elementTag:A.elementTag,elementId:A.elementId,textPrefix:A.textPrefix,textSuffix:A.textSuffix,fingerprint:A.fingerprint,neighborText:A.neighborText,anchorKey:A.anchorKey??null,xPct:A.xPct,yPct:A.yPct,wPct:A.wPct,hPct:A.hPct,scrollX:A.scrollX,scrollY:A.scrollY,viewportW:A.viewportW,viewportH:A.viewportH,devicePixelRatio:A.devicePixelRatio,createdAt:A.createdAt.toISOString()}}Ep(),kp(),Yp(),sh(),rh(),lh();var kg="cubic-bezier(0.16, 1, 0.3, 1)",Hg="cubic-bezier(0.34, 1.56, 0.64, 1)",Ig=`@keyframes sp-fab-in{from{transform:scale(0) rotate(-180deg);opacity:0;}to{transform:scale(1) rotate(0deg);opacity:1;}}@keyframes sp-fab-glow{0%,100%{box-shadow:0 4px 20px var(--sp-accent-glow),0 2px 8px rgba(0,0,0,0.08);}50%{box-shadow:0 4px 28px var(--sp-accent-glow),0 2px 12px rgba(0,0,0,0.1);}}@keyframes sp-flash-bg{0%{background-color:var(--sp-accent-light);}100%{background-color:transparent;}}@keyframes sp-slide-up{from{transform:translateY(8px);opacity:0;}to{transform:translateY(0);opacity:1;}}@keyframes sp-fade-in{from{opacity:0;}to{opacity:1;}}@keyframes sp-shimmer{0%{background-position:-200% 0;}100%{background-position:200% 0;}}.sp-anim-fab-in{animation:sp-fab-in 0.5s linear(0, 0.006, 0.025, 0.06, 0.11, 0.17, 0.25, 0.34, 0.45, 0.56, 0.67, 0.78, 0.88, 0.95, 1.01, 1.04, 1.05, 1.04, 1.02, 1, 0.99, 1) both;}.sp-anim-flash{animation:sp-flash-bg 0.5s cubic-bezier(0.25, 1, 0.5, 1);}.sp-anim-slide-up{animation:sp-slide-up 0.3s ${kg} both;}.sp-anim-fade-in{animation:sp-fade-in 0.2s ease-out both;}.sp-panel{transform:translateX(110%);transition:transform 0.4s ${kg};}.sp-panel.sp-panel--open{transform:translateX(0);}.sp-radial-item{opacity:0;pointer-events:none;transform:translate(0,0) scale(0.8);transition:transform 0.35s ${Hg},opacity 0.2s ease,background 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease;}.sp-radial-item.sp-radial-item--open{opacity:1;pointer-events:auto;}.sp-radial-item{transition-delay:calc(var(--sp-i, 0) * 50ms);}@keyframes sp-card-in{from{transform:translateY(12px);opacity:0;}to{transform:translateY(0);opacity:1;}}.sp-card{animation:sp-card-in 0.35s ${kg} both;animation-delay:calc(var(--sp-card-i, 0) * 40ms);}@keyframes sp-spin{to{transform:rotate(360deg);}}.sp-spinner{width:20px;height:20px;border:2px solid var(--sp-border);border-top-color:var(--sp-accent);border-radius:50%;animation:sp-spin 0.6s linear infinite;}@keyframes sp-badge-in{0%{transform:scale(0);}60%{transform:scale(1.3);}100%{transform:scale(1);}}.sp-fab-badge{animation:sp-badge-in 0.4s ${Hg} both;}@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;animation-delay:0s !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;}}`;T();var Sg=`:host{-webkit-tap-highlight-color:transparent;}.sp-list,.sp-detail-content{overscroll-behavior:contain;}.sp-scrim{display:none;}@media (hover: none){.sp-fab:hover:not(:active),.sp-card:hover:not(:active),.sp-btn-primary:hover:not(:active),.sp-btn-danger:hover:not(:active){transform:none;}.sp-card:hover:not(:active){box-shadow:var(--sp-shadow-xs);}.sp-radial-item--open .sp-radial-label{opacity:1;transform:translate(0,-50%);}.sp-bulk-checkbox{opacity:1;}.sp-bulk-checkbox::after{content:"";position:absolute;inset:-12px;}.sp-bulk-select-all{display:none;}.sp-list--has-selection .sp-bulk-select-all{display:flex;}.sp-shortcuts-hint{display:none;}}@media (pointer: coarse){.sp-radial-item{width:48px;height:48px;left:2px;bottom:2px;}.sp-radial-item svg{width:20px;height:20px;}.sp-radial-label{font-size:13px;font-weight:600;padding:8px 12px;}.sp-search,.sp-input{font-size:16px;}.sp-filter-dropdown-btn{height:36px;}.sp-segmented__btn{height:32px;}.sp-sort-btn,.sp-group-toggle,.sp-mine-toggle{min-height:36px;}.sp-btn-resolve,.sp-btn-delete{min-height:40px;}.sp-detail-back{width:44px;height:44px;}.sp-detail-actions button,.sp-detail-actions a{height:44px;}}@media ${M}{.sp-fab--bottom-right,.sp-radial--bottom-right{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-fab--bottom-left,.sp-radial--bottom-left{left:calc(16px + env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-scrim{display:block;position:fixed;inset:0;background:var(--sp-scrim);opacity:0;pointer-events:none;touch-action:none;transition:opacity 0.3s ease;}.sp-scrim--open{opacity:1;pointer-events:auto;}.sp-panel{top:auto;left:0;right:0;bottom:0;width:auto;max-width:none;height:calc(100vh - 48px);height:calc(100dvh - 40px - env(safe-area-inset-top,0px));border-left:none;border-top:1px solid var(--sp-glass-border);border-radius:var(--sp-radius-xl) var(--sp-radius-xl) 0 0;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;transform:translateY(105%);}.sp-panel.sp-panel--open{transform:translateY(0);}.sp-panel-header,.sp-detail-header{position:relative;padding-top:22px;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;touch-action:none;}.sp-panel-header{padding:22px 12px 12px 20px;}.sp-panel-header::before,.sp-detail-header::before{content:"";position:absolute;top:8px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--sp-border);}.sp-export-btn,.sp-btn-delete-all{width:40px;height:40px;padding:0;justify-content:center;border-radius:var(--sp-radius);}.sp-export-btn svg,.sp-btn-delete-all svg{width:17px;height:17px;}.sp-export-btn span,.sp-btn-delete-all span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}.sp-stats-bar{padding:10px 20px;}.sp-filters{padding:12px 16px 10px;background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;}.sp-stats-bar,.sp-filters{touch-action:pan-x;}.sp-search{height:44px;}.sp-filter-bar{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px 8px;padding:0 16px 2px;scrollbar-width:none;}.sp-filter-bar::-webkit-scrollbar{display:none;}.sp-filter-dropdown{flex:0 0 auto;}.sp-filter-dropdown-btn{width:auto;}.sp-filter-dropdown-menu,.sp-sort-menu{position:fixed;top:auto;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-width:0;padding:6px;border-radius:var(--sp-radius-lg);background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:var(--sp-shadow-xl);z-index:30;}.sp-filter-dropdown-option,.sp-sort-option{min-height:44px;font-size:14px;}.sp-list{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));}.sp-bulk-bar{bottom:calc(16px + env(safe-area-inset-bottom,0px));}.sp-detail{background:var(--sp-bg);-webkit-backdrop-filter:none;backdrop-filter:none;}.sp-detail-section{padding:18px 20px;}.sp-detail-content{padding-bottom:env(safe-area-inset-bottom,0px);}.sp-identity-backdrop{align-items:flex-end;}.sp-identity-modal{width:100%;max-width:none;margin-bottom:var(--sp-kb, 0px);padding:24px 20px calc(20px + env(safe-area-inset-bottom,0px));border-radius:var(--sp-radius-xl) var(--sp-radius-xl) 0 0;background:var(--sp-bg);transform:translateY(100%);}.sp-identity-actions button{flex:1;height:48px;}.sp-identity-actions .sp-btn-primary{flex:2;}}`;function Lg(A){return`:host{all:initial;position:fixed;z-index:2147483647;font-family:var(--sp-font);font-size:14px;line-height:1.5;color:var(--sp-text);color-scheme:${"#ffffff"===A.bg?"light":"dark"};-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;${function(A){return`--sp-accent: ${A.accent};--sp-accent-light: ${A.accentLight};--sp-accent-dark: ${A.accentDark};--sp-accent-glow: ${A.accentGlow};--sp-accent-gradient: ${A.accentGradient};--sp-accent-text: ${A.accentText};--sp-bg: ${A.bg};--sp-bg-hover: ${A.bgHover};--sp-text: ${A.text};--sp-text-secondary: ${A.textSecondary};--sp-text-tertiary: ${A.textTertiary};--sp-border: ${A.border};--sp-shadow: ${A.shadow};--sp-glass-bg: ${A.glassBg};--sp-glass-bg-heavy: ${A.glassBgHeavy};--sp-glass-border: ${A.glassBorder};--sp-glass-border-subtle: ${A.glassBorderSubtle};--sp-type-question: ${A.typeQuestion};--sp-type-change: ${A.typeChange};--sp-type-bug: ${A.typeBug};--sp-type-other: ${A.typeOther};--sp-type-question-bg: ${A.typeQuestionBg};--sp-type-change-bg: ${A.typeChangeBg};--sp-type-bug-bg: ${A.typeBugBg};--sp-type-other-bg: ${A.typeOtherBg};--sp-status-open: ${A.statusOpen};--sp-status-open-bg: ${A.statusOpenBg};--sp-status-resolved: ${A.statusResolved};--sp-status-resolved-bg: ${A.statusResolvedBg};--sp-radius: 12px;--sp-radius-lg: 16px;--sp-radius-xl: 20px;--sp-radius-full: 9999px;--sp-blur: 20px;--sp-blur-heavy: 32px;--sp-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);--sp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);--sp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);--sp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);--sp-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);--sp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;`}(A)} --sp-identity-bg: ${A.glassBgHeavy};--sp-identity-overlay: ${"#ffffff"===A.bg?"rgba(15, 23, 42, 0.2)":"rgba(0, 0, 0, 0.4)"};--sp-scrim: ${"#ffffff"===A.bg?"rgba(15, 23, 42, 0.32)":"rgba(0, 0, 0, 0.5)"};}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}:focus-visible{outline:2px solid var(--sp-accent);outline-offset:2px;box-shadow:0 0 0 4px var(--sp-bg);}.sp-fab{position:fixed;width:52px;height:52px;border-radius:var(--sp-radius-full);background:var(--sp-accent-gradient);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px var(--sp-accent-glow),0 2px 8px rgba(0,0,0,0.08);transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.3s ease;outline:none;}.sp-fab:focus-visible{outline:2px solid #fff;outline-offset:3px;}.sp-fab:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 8px 28px var(--sp-accent-glow),0 4px 12px rgba(0,0,0,0.1);}.sp-fab:active{transform:translateY(0) scale(0.95);transition-duration:0.1s;}.sp-fab--bottom-right{bottom:24px;right:24px;}.sp-fab--bottom-left{bottom:24px;left:24px;}.sp-fab svg{width:22px;height:22px;fill:currentColor;transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);}.sp-fab-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:var(--sp-radius-full);background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff;pointer-events:none;font-family:var(--sp-font);line-height:1;}.sp-toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);max-width:min(360px,calc(100vw - 32px));padding:10px 14px;border-radius:var(--sp-radius-lg);background:var(--sp-text);color:var(--sp-bg);font:500 13px/1.4 var(--sp-font);box-shadow:var(--sp-shadow-lg);cursor:pointer;animation:sp-toast-in 0.2s ease-out;}.sp-toast[hidden]{display:none;}.sp-toast--error{border-left:4px solid var(--sp-type-bug);}@keyframes sp-toast-in{from{opacity:0;transform:translate(-50%,8px);}}@media (prefers-reduced-motion: reduce){.sp-toast{animation:none;}}.sp-radial{position:fixed;pointer-events:none;width:52px;height:52px;}.sp-radial--bottom-right{bottom:24px;right:24px;}.sp-radial--bottom-left{bottom:24px;left:24px;}.sp-radial-item{position:absolute;left:4px;bottom:4px;width:44px;height:44px;border-radius:var(--sp-radius-full);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));color:var(--sp-text);border:1px solid var(--sp-glass-border);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--sp-shadow-md);font-size:12px;font-weight:600;}.sp-radial-item:hover,.sp-radial-item:focus-visible{background:rgba(255,255,255,0.95);border-color:var(--sp-accent);color:var(--sp-accent-text);box-shadow:var(--sp-shadow-md),0 0 0 3px var(--sp-accent-light);outline:none;}.sp-radial-item svg{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;}.sp-radial-label{position:absolute;top:50%;white-space:nowrap;font-size:12px;font-weight:500;color:var(--sp-text);pointer-events:none;opacity:0;padding:4px 12px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-sm);transform:translate(4px,-50%);transition:opacity 0.2s ease,transform 0.2s ease;}.sp-radial--bottom-right .sp-radial-label{right:calc(100% + 12px);}.sp-radial--bottom-left .sp-radial-label{left:calc(100% + 12px);transform:translate(-4px,-50%);}.sp-radial-item:hover .sp-radial-label,.sp-radial-item:focus-visible .sp-radial-label{opacity:1;transform:translate(0,-50%);}.sp-panel{position:fixed;top:0;right:0;width:400px;max-width:100vw;height:100vh;height:100dvh;background:var(--sp-glass-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border-left:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);display:flex;flex-direction:column;overflow:hidden;}.sp-panel-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));position:relative;z-index:2;}.sp-panel-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;}.sp-panel-close{width:44px;height:44px;border-radius:var(--sp-radius);border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sp-text-tertiary);transition:all 0.2s ease;}.sp-panel-close:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-panel-close svg{width:16px;height:16px;}.sp-filters{padding:16px 24px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));position:sticky;top:0;z-index:1;}.sp-search-wrap{position:relative;margin-bottom:12px;}.sp-search{width:100%;height:40px;padding:0 12px 0 38px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:13px;outline:none;transition:all 0.2s ease;}.sp-search::placeholder{color:var(--sp-text-tertiary);}.sp-search:focus{border-color:var(--sp-accent);box-shadow:0 0 0 3px var(--sp-accent-light);background:var(--sp-bg);}.sp-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--sp-text-tertiary);width:16px;height:16px;transition:color 0.2s ease;}.sp-search:focus ~ .sp-search-icon,.sp-search-wrap:focus-within .sp-search-icon{color:var(--sp-accent-text);}.sp-filter-bar{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;}.sp-filter-dropdown{position:relative;flex:1 1 auto;min-width:0;}.sp-filter-dropdown-btn{--sp-chip-color: var(--sp-text-secondary);--sp-chip-bg: var(--sp-glass-bg-heavy);display:inline-flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px 0 10px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background 0.18s ease,border-color 0.18s ease,box-shadow 0.18s ease;}.sp-filter-dropdown-btn:hover{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);}.sp-filter-dropdown-btn[aria-expanded="true"]{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);box-shadow:0 0 0 3px color-mix(in srgb,var(--sp-chip-color) 14%,transparent);}.sp-filter-dropdown-btn--filtered{border-color:var(--sp-chip-color);background:var(--sp-chip-bg);}.sp-filter-dropdown-btn__icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:var(--sp-chip-color);}.sp-filter-dropdown-btn__icon svg{width:14px;height:14px;}.sp-filter-dropdown-btn__label{display:inline-flex;align-items:baseline;gap:6px;flex:1;min-width:0;overflow:hidden;}.sp-filter-dropdown-btn__prefix{color:var(--sp-text-tertiary);font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:0.06em;}.sp-filter-dropdown-btn__value{color:var(--sp-chip-color);font-weight:600;overflow:hidden;text-overflow:ellipsis;}.sp-filter-dropdown-btn__chevron{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;color:var(--sp-text-tertiary);transition:transform 0.18s ease,color 0.18s ease;}.sp-filter-dropdown-btn__chevron svg{width:12px;height:12px;}.sp-filter-dropdown-btn[aria-expanded="true"] .sp-filter-dropdown-btn__chevron{transform:rotate(180deg);color:var(--sp-chip-color);}.sp-filter-dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;min-width:180px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-md);z-index:10;animation:sp-filter-menu-in 0.15s ease-out both;}@keyframes sp-filter-menu-in{from{opacity:0;transform:translateY(-4px) scale(0.98);}to{opacity:1;transform:translateY(0) scale(1);}}.sp-filter-dropdown-option{--sp-chip-color: var(--sp-text-secondary);--sp-chip-bg: transparent;display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:transparent;color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;text-align:left;transition:background 0.12s ease,color 0.12s ease;}.sp-filter-dropdown-option__icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;border-radius:6px;background:var(--sp-chip-bg);color:var(--sp-chip-color);}.sp-filter-dropdown-option__icon svg{width:13px;height:13px;}.sp-filter-dropdown-option__label{flex:1;min-width:0;}.sp-filter-dropdown-option__check{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;color:var(--sp-chip-color);}.sp-filter-dropdown-option__check svg{width:13px;height:13px;}.sp-filter-dropdown-option:hover{background:var(--sp-bg-hover);}.sp-filter-dropdown-option--active{color:var(--sp-chip-color);font-weight:600;}.sp-filter-dropdown-option--active:hover{background:var(--sp-chip-bg);}.sp-segmented{display:inline-flex;align-items:stretch;padding:2px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);flex-shrink:0;}.sp-segmented__btn{--sp-chip-color: var(--sp-text-tertiary);--sp-chip-bg: transparent;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border:none;border-radius:var(--sp-radius-full);background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background 0.18s ease,color 0.18s ease,box-shadow 0.18s ease;}.sp-segmented__icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;flex-shrink:0;color:var(--sp-chip-color);transition:color 0.18s ease,transform 0.18s ease;}.sp-segmented__icon svg{width:13px;height:13px;}.sp-segmented__btn:hover{color:var(--sp-chip-color);}.sp-segmented__btn:hover .sp-segmented__icon{color:var(--sp-chip-color);}.sp-segmented__btn--active{background:var(--sp-chip-bg);color:var(--sp-chip-color);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sp-chip-color) 35%,transparent),0 1px 2px rgba(0,0,0,0.04);}.sp-segmented__btn--active .sp-segmented__icon{color:var(--sp-chip-color);}.sp-segmented__btn--open.sp-segmented__btn--active .sp-segmented__icon{animation:sp-segmented-pulse 2.4s ease-in-out infinite;}@keyframes sp-segmented-pulse{0%,100%{transform:scale(1);}50%{transform:scale(0.85);}}@media (prefers-reduced-motion: reduce){.sp-filter-dropdown-btn,.sp-filter-dropdown-btn__chevron,.sp-filter-dropdown-option,.sp-segmented__btn,.sp-segmented__icon{transition:none;}.sp-filter-dropdown-menu{animation:none;}.sp-segmented__btn--open.sp-segmented__btn--active .sp-segmented__icon{animation:none;}}.sp-list{flex:1;overflow-y:auto;padding:8px 12px;}.sp-list::-webkit-scrollbar{width:6px;}.sp-list::-webkit-scrollbar-track{background:transparent;}.sp-list::-webkit-scrollbar-thumb{background:var(--sp-border);border-radius:var(--sp-radius-full);}.sp-list::-webkit-scrollbar-thumb:hover{background:var(--sp-text-tertiary);}.sp-card{display:flex;padding:14px 16px;margin-bottom:6px;cursor:pointer;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xs);transition:all 0.2s cubic-bezier(0.34,1.56,0.64,1);}.sp-card:hover{background:var(--sp-bg);border-color:var(--sp-border);box-shadow:var(--sp-shadow-md);transform:translateY(-2px);}.sp-card:active{transform:translateY(0) scale(0.99);transition-duration:0.1s;}.sp-card-bar{width:3px;border-radius:var(--sp-radius-full);margin-right:14px;flex-shrink:0;}.sp-card-body{flex:1;min-width:0;}.sp-card-header{display:flex;align-items:center;gap:8px;margin-bottom:6px;}.sp-card-number{font-size:12px;font-weight:700;color:var(--sp-text-tertiary);font-variant-numeric:tabular-nums;}.sp-badge{padding:2px 10px;border-radius:var(--sp-radius-full);font-size:11px;font-weight:600;letter-spacing:0.02em;}.sp-card-date{font-size:11px;color:var(--sp-text-tertiary);margin-left:auto;}.sp-lost{font-size:11px;color:var(--sp-text-tertiary);margin-top:4px;}.sp-card-message{font-size:13px;line-height:1.5;color:var(--sp-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}.sp-card-message--expanded{-webkit-line-clamp:unset;}.sp-card-expand{font-size:12px;font-weight:500;color:var(--sp-accent-text);cursor:pointer;background:none;border:none;padding:4px 0;font-family:var(--sp-font);transition:opacity 0.15s ease;}.sp-card-expand:hover{opacity:0.8;}.sp-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:10px;}.sp-btn-resolve,.sp-btn-delete{padding:8px 14px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:12px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;}.sp-btn-resolve svg,.sp-btn-delete svg{width:14px;height:14px;}.sp-btn-resolve:hover{border-color:var(--sp-status-open);color:var(--sp-status-open);background:rgba(34,197,94,0.06);}.sp-btn-delete:hover{border-color:var(--sp-type-bug);color:var(--sp-type-bug);background:rgba(239,68,68,0.06);}.sp-btn-resolve:disabled,.sp-btn-delete:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-spinner--sm{width:14px;height:14px;}.sp-panel-header-right{display:flex;align-items:center;gap:8px;}.sp-btn-delete-all{padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);font-family:var(--sp-font);font-size:11px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;}.sp-btn-delete-all svg{width:13px;height:13px;}.sp-btn-delete-all:hover{border-color:#ef4444;color:#ef4444;background:rgba(239,68,68,0.06);}.sp-btn-delete-all:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-confirm-backdrop{position:fixed;inset:0;background:var(--sp-backdrop, rgba(15, 23, 42, 0.2));backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));display:flex;align-items:center;justify-content:center;z-index:2147483647;opacity:0;transition:opacity 0.2s ease;}.sp-confirm-dialog{width:min(340px,calc(100vw - 32px));padding:28px;border-radius:20px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);font-family:var(--sp-font);transform:translateY(8px) scale(0.97);transition:transform 0.25s cubic-bezier(0.16,1,0.3,1);}.sp-confirm-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;margin-bottom:8px;}.sp-confirm-message{font-size:14px;color:var(--sp-text-secondary);line-height:1.5;margin-bottom:20px;}.sp-confirm-actions{display:flex;gap:8px;justify-content:flex-end;}.sp-btn-danger{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:none;background:#ef4444;color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 8px rgba(239,68,68,0.25);}.sp-btn-danger:hover{background:#dc2626;box-shadow:0 4px 16px rgba(239,68,68,0.3);transform:translateY(-1px);}.sp-btn-danger:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-card--resolved{opacity:0.5;}.sp-card--resolved .sp-card-message{text-decoration:line-through;text-decoration-color:var(--sp-text-tertiary);}.sp-loading{display:flex;align-items:center;justify-content:center;padding:48px 24px;}.sp-identity-backdrop{position:fixed;inset:0;background:var(--sp-identity-overlay);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2147483647;opacity:0;transition:opacity 0.25s ease;}.sp-identity-modal{width:340px;max-width:calc(100vw - 32px);padding:28px;border-radius:var(--sp-radius-xl);background:var(--sp-identity-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:0 16px 48px var(--sp-shadow),0 8px 16px var(--sp-shadow);font-family:var(--sp-font);color:var(--sp-text);transform:translateY(12px) scale(0.97);transition:transform 0.3s cubic-bezier(0.16,1,0.3,1);}.sp-identity--open{opacity:1;}.sp-identity--open .sp-identity-modal{transform:none;}.sp-identity-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px;}.sp-identity-title{font-size:17px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;}.sp-input{width:100%;height:42px;padding:0 14px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:14px;outline:none;transition:all 0.2s ease;}.sp-input::placeholder{color:var(--sp-text-tertiary);}.sp-input:focus{border-color:var(--sp-accent);box-shadow:0 0 0 3px var(--sp-accent-light);background:var(--sp-bg);}.sp-input-label{font-size:13px;font-weight:500;color:var(--sp-text-secondary);margin-bottom:6px;display:block;}.sp-btn-primary{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:none;background:var(--sp-accent-gradient);color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 8px var(--sp-accent-glow);}.sp-btn-primary:hover{box-shadow:0 4px 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-btn-primary:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-btn-primary:disabled{opacity:0.4;cursor:not-allowed;transform:none;box-shadow:none;}.sp-btn-ghost{height:40px;padding:0 22px;border-radius:var(--sp-radius);border:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:14px;font-weight:500;cursor:pointer;transition:all 0.2s ease;}.sp-btn-ghost:hover{border-color:var(--sp-accent);color:var(--sp-accent-text);background:var(--sp-accent-light);}.sp-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 24px;color:var(--sp-text-tertiary);text-align:center;gap:8px;animation:sp-fade-in 0.3s ease-out both;}.sp-empty-text{font-size:14px;font-weight:500;}.sp-load-more-wrap{display:flex;justify-content:center;padding:12px 0 4px;}.sp-btn-load-more{width:100%;}@media (forced-colors: active){.sp-fab,.sp-radial-item,.sp-filter-dropdown-btn,.sp-segmented,.sp-segmented__btn,.sp-card,.sp-panel-close,.sp-search,.sp-btn-resolve,.sp-btn-delete,.sp-btn-delete-all,.sp-btn-primary,.sp-btn-ghost,.sp-btn-danger,.sp-card-expand,.sp-input,.sp-confirm-dialog{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-segmented__btn--active{background:Highlight !important;color:HighlightText !important;}.sp-filter-dropdown-menu{border:2px solid ButtonText !important;background:Canvas !important;}.sp-filter-dropdown-option--active{background:Highlight !important;color:HighlightText !important;}.sp-fab:focus-visible,.sp-radial-item:focus-visible,.sp-filter-dropdown-btn:focus-visible,.sp-segmented__btn:focus-visible,.sp-filter-dropdown-option:focus-visible,.sp-panel-close:focus-visible,.sp-btn-resolve:focus-visible,.sp-btn-delete:focus-visible,.sp-btn-delete-all:focus-visible,.sp-btn-primary:focus-visible,.sp-btn-ghost:focus-visible,.sp-btn-danger:focus-visible,.sp-card-expand:focus-visible,.sp-input:focus-visible,.sp-search:focus-visible{outline:3px solid Highlight !important;}.sp-panel{border:2px solid ButtonText !important;}.sp-fab-badge{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-card-bar{background:ButtonText !important;}}${Ig} ${eh} ${Ah} .sp-bulk-checkbox{position:relative;width:16px;height:16px;flex-shrink:0;cursor:pointer;border-radius:4px;color:var(--sp-border);opacity:0;transition:opacity 0.15s ease,color 0.15s ease,transform 0.15s ease;display:inline-flex;align-items:center;justify-content:center;}.sp-bulk-checkbox svg{width:16px;height:16px;display:block;}.sp-bulk-checkbox:hover{color:var(--sp-accent-text);transform:scale(1.1);}.sp-bulk-checkbox--checked{color:var(--sp-accent-text);opacity:1 !important;filter:drop-shadow(0 0 4px var(--sp-accent-glow));}.sp-card:hover .sp-bulk-checkbox{opacity:1;}.sp-list--has-selection .sp-bulk-checkbox{opacity:1;}.sp-card--selected{border-left:3px solid var(--sp-accent) !important;background:var(--sp-accent-light) !important;}.sp-card--selected:hover{background:var(--sp-accent-light) !important;}.sp-bulk-select-all{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:4px;border-radius:var(--sp-radius);background:transparent;cursor:pointer;opacity:0;transition:opacity 0.2s ease,background 0.2s ease;user-select:none;font-family:var(--sp-font);font-size:12px;font-weight:500;color:var(--sp-text-secondary);}.sp-bulk-select-all:hover{background:var(--sp-bg-hover);}.sp-list:hover .sp-bulk-select-all,.sp-list--has-selection .sp-bulk-select-all{opacity:1;}.sp-bulk-select-all .sp-bulk-checkbox{opacity:1;}@keyframes sp-bulk-bar-in{from{transform:translateY(100%) scale(0.95);opacity:0;}to{transform:translateY(0) scale(1);opacity:1;}}@keyframes sp-bulk-bar-out{from{transform:translateY(0) scale(1);opacity:1;}to{transform:translateY(100%) scale(0.95);opacity:0;}}.sp-bulk-bar{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:16px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);z-index:10;pointer-events:none;opacity:0;transform:translateY(100%) scale(0.95);transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),opacity 0.25s ease;font-family:var(--sp-font);}.sp-bulk-bar--visible{pointer-events:auto;opacity:1;transform:translateY(0) scale(1);}.sp-bulk-bar-count{font-size:13px;font-weight:600;color:var(--sp-text);white-space:nowrap;letter-spacing:-0.01em;}.sp-bulk-bar-actions{display:flex;align-items:center;gap:6px;}.sp-bulk-btn-resolve,.sp-bulk-btn-delete{padding:7px 14px;border-radius:var(--sp-radius-full);border:1.5px solid transparent;background:transparent;font-family:var(--sp-font);font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:5px;transition:all 0.2s ease;white-space:nowrap;}.sp-bulk-btn-resolve{color:#22c55e;border-color:#22c55e;}.sp-bulk-btn-resolve:hover{background:rgba(34,197,94,0.1);box-shadow:0 0 12px rgba(34,197,94,0.15);}.sp-bulk-btn-resolve:active{transform:scale(0.96);transition-duration:0.1s;}.sp-bulk-btn-delete{color:#ef4444;border-color:#ef4444;}.sp-bulk-btn-delete:hover{background:rgba(239,68,68,0.1);box-shadow:0 0 12px rgba(239,68,68,0.15);}.sp-bulk-btn-delete:active{transform:scale(0.96);transition-duration:0.1s;}.sp-bulk-btn-resolve:disabled,.sp-bulk-btn-delete:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-bulk-btn-deselect{width:28px;height:28px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;flex-shrink:0;padding:0;}.sp-bulk-btn-deselect:hover{background:var(--sp-bg-hover);color:var(--sp-text);border-color:var(--sp-text-tertiary);}.sp-bulk-btn-deselect:active{transform:scale(0.92);transition-duration:0.1s;}.sp-bulk-btn-deselect svg{width:12px;height:12px;}.sp-bulk-btn-resolve .sp-spinner,.sp-bulk-btn-delete .sp-spinner{width:14px;height:14px;}@media (forced-colors: active){.sp-bulk-checkbox,.sp-bulk-btn-resolve,.sp-bulk-btn-delete,.sp-bulk-btn-deselect,.sp-bulk-bar{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-bulk-checkbox--checked{background:Highlight !important;color:HighlightText !important;}.sp-card--selected{border-left:4px solid Highlight !important;}}@media (prefers-reduced-motion: reduce){.sp-bulk-bar{transition-duration:0.01ms !important;}.sp-bulk-checkbox{transition-duration:0.01ms !important;}} .sp-export-btn{padding:5px 12px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:transparent;color:var(--sp-text-tertiary);font-family:var(--sp-font);font-size:11px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;position:relative;}.sp-export-btn svg{width:13px;height:13px;}.sp-export-btn:hover{border-color:var(--sp-accent);color:var(--sp-accent-text);background:var(--sp-accent-light);}.sp-export-btn:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;}.sp-export-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;padding:4px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-lg);z-index:10;opacity:0;transform:translateY(-4px) scale(0.97);transition:opacity 0.15s ease,transform 0.15s ease;pointer-events:none;}.sp-export-menu--open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}.sp-export-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 16px;border:none;border-radius:8px;background:transparent;color:var(--sp-text-secondary);font-family:var(--sp-font);font-size:13px;font-weight:500;cursor:pointer;transition:all 0.15s ease;text-align:left;}.sp-export-option:hover,.sp-export-option:focus-visible{background:var(--sp-accent-light);color:var(--sp-accent-text);}.sp-export-option-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;}.sp-export-option-icon svg{width:16px;height:16px;}.sp-export-option-label{flex:1;}@media (forced-colors: active){.sp-export-btn,.sp-export-option,.sp-export-menu{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-export-btn:focus-visible,.sp-export-option:focus-visible{outline:3px solid Highlight !important;}} .sp-shortcuts-overlay{position:fixed;inset:0;background:var(--sp-backdrop, rgba(15, 23, 42, 0.2));backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));display:flex;align-items:center;justify-content:center;z-index:10;opacity:0;pointer-events:none;transition:opacity 0.2s ease;}.sp-shortcuts-overlay--visible{opacity:1;pointer-events:auto;}.sp-shortcuts-card{width:380px;max-width:calc(100vw - 32px);padding:24px 28px 20px;border-radius:20px;background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-xl);font-family:var(--sp-font);position:relative;transform:scale(0.92) translateY(8px);transition:transform 0.25s cubic-bezier(0.16,1,0.3,1);}.sp-shortcuts-overlay--visible .sp-shortcuts-card{transform:scale(1) translateY(0);}.sp-shortcuts-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:var(--sp-text);margin-bottom:18px;}.sp-shortcuts-title svg{width:18px;height:18px;color:var(--sp-text-secondary);flex-shrink:0;}.sp-shortcuts-close{position:absolute;top:16px;right:16px;width:28px;height:28px;border-radius:8px;border:none;background:transparent;color:var(--sp-text-tertiary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease;}.sp-shortcuts-close:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-shortcuts-close svg{width:14px;height:14px;}.sp-shortcuts-grid{display:flex;flex-direction:column;gap:10px;}.sp-shortcuts-row{display:flex;align-items:center;gap:12px;}.sp-shortcuts-keys{display:flex;align-items:center;gap:4px;min-width:80px;justify-content:flex-end;}.sp-shortcuts-separator{font-size:11px;color:var(--sp-text-tertiary);user-select:none;}.sp-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:26px;padding:0 7px;border-radius:6px;background:var(--sp-bg-hover);border:1px solid var(--sp-border);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.08),0 1px 2px rgba(0,0,0,0.04);font-family:ui-monospace,"SF Mono","Cascadia Code","Segoe UI Mono",Menlo,monospace;font-size:12px;font-weight:600;color:var(--sp-text);text-align:center;line-height:1;user-select:none;}.sp-shortcuts-desc{font-size:13px;color:var(--sp-text-secondary);line-height:1.3;}.sp-shortcuts-hint{width:24px;height:24px;border-radius:var(--sp-radius-full);border:1px solid var(--sp-border);background:var(--sp-bg-hover);color:var(--sp-text-tertiary);font-family:ui-monospace,"SF Mono","Cascadia Code","Segoe UI Mono",Menlo,monospace;font-size:12px;font-weight:700;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease,border-color 0.15s ease;position:absolute;bottom:12px;right:12px;}.sp-shortcuts-hint:hover{background:var(--sp-accent-light);color:var(--sp-accent-text);border-color:var(--sp-accent);}.sp-shortcuts-hint::after{content:attr(aria-label);position:absolute;bottom:calc(100% + 6px);right:0;padding:4px 8px;border-radius:6px;background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border);box-shadow:var(--sp-shadow-sm);font-family:var(--sp-font);font-size:11px;font-weight:500;color:var(--sp-text-secondary);white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity 0.15s ease,transform 0.15s ease;}.sp-shortcuts-hint:hover::after{opacity:1;transform:translateY(0);}.sp-card--focused{outline:2px solid var(--sp-accent);outline-offset:-2px;border-radius:inherit;}@media (prefers-reduced-motion: reduce){.sp-shortcuts-overlay,.sp-shortcuts-card,.sp-shortcuts-close,.sp-shortcuts-hint,.sp-shortcuts-hint::after{transition-duration:0.01ms !important;}} .sp-detail{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--sp-glass-bg);backdrop-filter:blur(var(--sp-blur-heavy));-webkit-backdrop-filter:blur(var(--sp-blur-heavy));z-index:20;transform:translateX(100%);transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);will-change:transform;overflow:hidden;}.sp-detail--visible{transform:translateX(0);}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.sp-detail{background:var(--sp-bg);}}@supports (-webkit-backdrop-filter: blur(1px)) and (not (backdrop-filter: blur(1px))){.sp-detail{background:var(--sp-bg);}}.sp-detail-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--sp-border);background:var(--sp-glass-bg-heavy);backdrop-filter:blur(var(--sp-blur));-webkit-backdrop-filter:blur(var(--sp-blur));flex-shrink:0;min-height:64px;}.sp-detail-back{width:40px;height:40px;border-radius:var(--sp-radius);border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sp-text-tertiary);transition:all 0.2s ease;flex-shrink:0;padding:0;}.sp-detail-back:hover{background:var(--sp-bg-hover);color:var(--sp-text);}.sp-detail-back:active{transform:scale(0.92);transition-duration:0.1s;}.sp-detail-back svg{width:18px;height:18px;}.sp-detail-title{font-size:16px;font-weight:700;color:var(--sp-text);letter-spacing:-0.02em;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-header .sp-badge{flex-shrink:0;}.sp-detail-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:0;}.sp-detail-content::-webkit-scrollbar{width:6px;}.sp-detail-content::-webkit-scrollbar-track{background:transparent;}.sp-detail-content::-webkit-scrollbar-thumb{background:var(--sp-border);border-radius:var(--sp-radius-full);}.sp-detail-content::-webkit-scrollbar-thumb:hover{background:var(--sp-text-tertiary);}.sp-detail-section{padding:20px 24px;border-bottom:1px solid var(--sp-border);opacity:0;transform:translateY(8px);animation:sp-detail-section-in 0.35s cubic-bezier(0.16,1,0.3,1) forwards;}@keyframes sp-detail-section-in{to{opacity:1;transform:translateY(0);}}.sp-detail-section:last-child{border-bottom:none;}.sp-detail-section-title{font-size:11px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:14px;display:flex;align-items:center;gap:6px;}.sp-detail-section-title svg{width:14px;height:14px;opacity:0.6;}.sp-detail-status{display:flex;align-items:center;gap:10px;margin-bottom:16px;}.sp-detail-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:var(--sp-radius-full);font-size:12px;font-weight:600;letter-spacing:0.02em;}.sp-detail-status-pill--open{background:rgba(34,197,94,0.1);color:#22c55e;border:1px solid rgba(34,197,94,0.2);}.sp-detail-status-pill--resolved{background:rgba(156,163,175,0.1);color:#9ca3af;border:1px solid rgba(156,163,175,0.2);}.sp-detail-status-pill--in-progress{background:rgba(245,158,11,0.1);color:#f59e0b;border:1px solid rgba(245,158,11,0.2);}.sp-detail-status-pill--wont-fix{background:rgba(148,163,184,0.1);color:#94a3b8;border:1px solid rgba(148,163,184,0.2);}.sp-detail-status-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}.sp-detail-actions{display:flex;gap:8px;}.sp-detail-actions button,.sp-detail-actions a{flex:1;height:40px;padding:0 16px;border-radius:var(--sp-radius);font-family:var(--sp-font);font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all 0.2s ease;}.sp-detail-actions button svg,.sp-detail-actions a svg{width:15px;height:15px;}.sp-detail-btn-resolve{border:1.5px solid #22c55e;background:rgba(34,197,94,0.06);color:#22c55e;}.sp-detail-btn-resolve:hover{background:rgba(34,197,94,0.14);box-shadow:0 0 16px rgba(34,197,94,0.12);transform:translateY(-1px);}.sp-detail-btn-resolve:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-reopen{border:1.5px solid var(--sp-accent);background:var(--sp-accent-light);color:var(--sp-accent-text);}.sp-detail-btn-reopen:hover{background:rgba(var(--sp-accent),0.14);box-shadow:0 0 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-detail-btn-reopen:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-delete{border:1.5px solid #ef4444;background:rgba(239,68,68,0.06);color:#ef4444;}.sp-detail-btn-delete:hover{background:rgba(239,68,68,0.14);box-shadow:0 0 16px rgba(239,68,68,0.12);transform:translateY(-1px);}.sp-detail-btn-delete:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-btn-custom{border:1.5px solid var(--sp-border);background:var(--sp-glass-bg-heavy);color:var(--sp-text);text-decoration:none;}.sp-detail-btn-custom:hover{background:var(--sp-bg-hover);border-color:var(--sp-accent);color:var(--sp-accent-text);box-shadow:0 0 16px var(--sp-accent-glow);transform:translateY(-1px);}.sp-detail-btn-custom:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}.sp-detail-actions--custom{flex-wrap:wrap;margin-top:8px;}.sp-detail-actions--custom > .sp-detail-btn-custom{flex:1 1 auto;min-width:0;}.sp-detail-btn-custom svg{flex-shrink:0;}.sp-detail-btn-custom span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-actions button:disabled{opacity:0.5;cursor:not-allowed;pointer-events:none;transform:none;box-shadow:none;}.sp-detail-message{font-size:14px;line-height:1.65;color:var(--sp-text);padding:14px 16px;border-left:3px solid var(--sp-accent);border-radius:0 var(--sp-radius) var(--sp-radius) 0;background:var(--sp-glass-bg-heavy);white-space:pre-wrap;word-break:break-word;}.sp-thread-list{list-style:none;}.sp-comment{margin-top:8px;border-left-color:var(--sp-border);}.sp-comment[data-role="team"]{border-left-color:var(--sp-accent);}.sp-comment-head,.sp-thread-foot{display:flex;align-items:center;gap:6px;font-size:12px;}.sp-comment-head{margin-bottom:4px;font-weight:600;}.sp-comment-head .sp-badge{background:var(--sp-accent-light);}.sp-comment-head time,.sp-thread-foot,.sp-thread-input::placeholder{font-weight:400;color:var(--sp-text-secondary);}.sp-comment-head time{margin-left:auto;}.sp-thread-input{height:auto;margin-top:10px;padding:10px 14px;}.sp-thread-foot{justify-content:space-between;margin-top:8px;}.sp-thread-foot [aria-busy="true"]::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border:2px solid;border-top-color:transparent;border-radius:50%;animation:sp-spin 0.6s linear infinite;}.sp-thread-error{margin-top:8px;padding:8px 12px;border-radius:var(--sp-radius);background:var(--sp-type-bug-bg);font-size:12px;}.sp-thread-error:empty{display:none;}.sp-detail-screenshot{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border);background:var(--sp-glass-bg-heavy);}.sp-detail-meta{display:flex;flex-direction:column;gap:14px;}.sp-detail-meta-row{display:flex;align-items:flex-start;gap:12px;}.sp-detail-meta-row svg{width:14px;height:14px;color:var(--sp-text-tertiary);flex-shrink:0;margin-top:1px;}.sp-detail-meta-content{flex:1;min-width:0;}.sp-detail-meta-label{font-size:10px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;line-height:1;margin-bottom:4px;}.sp-detail-meta-value{font-size:13px;line-height:1.4;color:var(--sp-text);word-break:break-all;}.sp-detail-meta-value--mono{font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:12px;background:var(--sp-glass-bg-heavy);padding:2px 6px;border-radius:4px;border:1px solid var(--sp-glass-border-subtle);}.sp-detail-meta-value--secondary{color:var(--sp-text-secondary);font-size:12px;}.sp-detail-annotation{display:flex;flex-direction:column;gap:12px;}.sp-detail-annotation-info{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:var(--sp-radius);background:var(--sp-glass-bg-heavy);border:1px solid var(--sp-glass-border-subtle);}.sp-detail-annotation-row{display:flex;align-items:flex-start;gap:10px;}.sp-detail-annotation-row svg{width:13px;height:13px;color:var(--sp-text-tertiary);flex-shrink:0;margin-top:2px;}.sp-detail-annotation-label{font-size:10px;font-weight:600;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;line-height:1;margin-bottom:3px;}.sp-detail-annotation-value{font-size:12px;line-height:1.4;color:var(--sp-text);word-break:break-all;}.sp-detail-annotation-value--mono{font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:11px;background:var(--sp-bg-hover);padding:2px 6px;border-radius:4px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sp-detail-btn-goto{width:100%;height:44px;padding:0 20px;border-radius:var(--sp-radius);border:none;background:var(--sp-accent-gradient);color:#fff;font-family:var(--sp-font);font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all 0.25s ease;box-shadow:0 2px 12px var(--sp-accent-glow);}.sp-detail-btn-goto svg{width:16px;height:16px;}.sp-detail-btn-goto:hover{box-shadow:0 4px 20px var(--sp-accent-glow);transform:translateY(-2px);}.sp-detail-btn-goto:active{transform:translateY(0) scale(0.98);transition-duration:0.1s;}@media (forced-colors: active){.sp-detail{border:2px solid ButtonText !important;background:Canvas !important;}.sp-detail-back,.sp-detail-btn-goto,.sp-detail-btn-resolve,.sp-detail-btn-reopen,.sp-detail-btn-delete,.sp-detail-btn-custom{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-detail-back:focus-visible,.sp-detail-btn-goto:focus-visible,.sp-detail-btn-resolve:focus-visible,.sp-detail-btn-reopen:focus-visible,.sp-detail-btn-delete:focus-visible,.sp-detail-btn-custom:focus-visible{outline:3px solid Highlight !important;}.sp-detail-status-pill{border:2px solid ButtonText !important;background:Canvas !important;color:ButtonText !important;}.sp-detail-message{border-left:3px solid ButtonText !important;}}.sp-detail-diag{display:flex;flex-direction:column;gap:12px;}.sp-detail-diag-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border-subtle);background:var(--sp-glass-bg-heavy);color:var(--sp-text);font-family:var(--sp-font);font-size:12px;font-weight:600;cursor:pointer;transition:background 0.15s ease;}.sp-detail-diag-toggle:hover{background:var(--sp-bg-hover);}.sp-detail-diag-toggle svg{width:12px;height:12px;transition:transform 0.2s ease;}.sp-detail-diag-toggle[aria-expanded="true"] svg{transform:rotate(90deg);}.sp-detail-diag-counts{display:inline-flex;gap:6px;font-weight:500;color:var(--sp-text-tertiary);}.sp-detail-diag-count{padding:1px 7px;border-radius:var(--sp-radius-full);background:var(--sp-bg-hover);font-variant-numeric:tabular-nums;}.sp-detail-diag-count--errors{background:rgba(239,68,68,0.14);color:#ef4444;}.sp-detail-diag-body{display:none;flex-direction:column;gap:14px;}.sp-detail-diag-body--open{display:flex;}.sp-detail-diag-group-title{font-size:10px;font-weight:700;color:var(--sp-text-tertiary);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:6px;}.sp-detail-diag-list{list-style:none;padding:0;margin:0;border-radius:var(--sp-radius);border:1px solid var(--sp-glass-border-subtle);background:var(--sp-glass-bg-heavy);max-height:240px;overflow-y:auto;}.sp-detail-diag-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-bottom:1px solid var(--sp-glass-border-subtle);font-family:"SF Mono","Cascadia Code","Fira Code","Consolas",monospace;font-size:11px;line-height:1.45;color:var(--sp-text);}.sp-detail-diag-list li:last-child{border-bottom:none;}.sp-detail-diag-level{flex-shrink:0;font-weight:700;width:44px;text-transform:uppercase;letter-spacing:0.04em;font-size:10px;}.sp-detail-diag-level--log{color:var(--sp-text-tertiary);}.sp-detail-diag-level--info{color:#3b82f6;}.sp-detail-diag-level--warn{color:#f59e0b;}.sp-detail-diag-level--error{color:#ef4444;}.sp-detail-diag-message{flex:1;min-width:0;word-break:break-word;white-space:pre-wrap;}.sp-detail-diag-net{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;}.sp-detail-diag-net-status{flex-shrink:0;font-weight:700;color:#ef4444;min-width:32px;text-align:right;font-variant-numeric:tabular-nums;}.sp-detail-diag-net-method{flex-shrink:0;font-weight:600;color:var(--sp-text-tertiary);min-width:44px;}.sp-detail-diag-net-url{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sp-text);}.sp-detail-diag-empty{padding:12px;font-style:italic;font-size:11px;color:var(--sp-text-tertiary);text-align:center;}@media (prefers-reduced-motion: reduce){.sp-detail{transition-duration:0.01ms !important;}.sp-detail-section{animation-duration:0.01ms !important;}} ${Sg}`}YA(),YA(),J(),SA(),Cp(),YA();var Mg="opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1)",Dg=class{constructor(A,e="en"){this.colors=A,this.locale=e,this.root=R("div",{style:`position:fixed;z-index:2147483647;max-width:280px;padding:12px 14px;border-radius:14px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-family:"Inter",system-ui,-apple-system,sans-serif;pointer-events:auto;opacity:0;transform:translateY(6px) scale(0.97);transition:${Mg};visibility:hidden;-webkit-font-smoothing:antialiased;`}),this.root.setAttribute("role","tooltip"),this.root.id=this.tooltipId,this.arrow=R("div",{style:"position:absolute;width:12px;height:12px;transform:rotate(45deg);pointer-events:none;"}),this.root.appendChild(this.arrow),this.restyle(),this.root.addEventListener("mouseenter",()=>this.cancelHide()),this.root.addEventListener("mouseleave",()=>this.scheduleHide()),_(this.root),document.body.appendChild(this.root)}colors;locale;root;arrow;showTimer=null;hideTimer=null;currentFeedbackId=null;tooltipId="sp-tooltip";restyle(){let{glassBgHeavy:A,glassBorder:e,shadow:t}=this.colors,{style:s}=this.root;s.background=A,s.border=`1px solid ${e}`,s.boxShadow=`0 8px 32px ${t}, 0 2px 8px ${t}`}show(A,e){this.cancelHide(),this.currentFeedbackId!==A.id&&(this.cancelShow(),this.showTimer=setTimeout(()=>{this.currentFeedbackId=A.id,this.render(A),this.position(e);let t=typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;this.root.style.transition=t?"none":Mg,this.root.style.visibility="visible",this.root.style.opacity="1",this.root.style.transform="translateY(0) scale(1)"},120))}scheduleHide(){this.cancelHide(),this.hideTimer=setTimeout(()=>this.hide(),80)}hide(){this.cancelShow(),this.currentFeedbackId=null,this.root.style.opacity="0",this.root.style.transform="translateY(6px) scale(0.97)",setTimeout(()=>{this.currentFeedbackId||(this.root.style.visibility="hidden")},200)}cancelShow(){this.showTimer&&(clearTimeout(this.showTimer),this.showTimer=null)}cancelHide(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)}render(A){let e=Array.from(this.root.children);for(let A of e)A!==this.arrow&&A.remove();let t=OA(A.type,this.colors),s=NA(A.type,this.colors),r=mp(this.locale),i=wp(A.type,r),n=R("div",{style:"display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:8px;"}),o=(A,e,t)=>{let s=R("span",{style:`padding:3px 10px;border-radius:9999px;font-size:11px;font-weight:600;white-space:nowrap;color:${e};background:${t};letter-spacing:0.02em;`});return P(s,A),s},a=R("span",{style:`font-size:11px;color:${this.colors.textSecondary};margin-left:auto;`});P(a,Y(A.createdAt,this.locale)),n.appendChild(o(i,t,s)),n.appendChild(o(fp(A.status,r),RA(A.status,this.colors),PA(A.status,this.colors))),n.appendChild(a);let l=R("div",{style:`font-size:13px;line-height:1.55;color:${this.colors.text};display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;`});P(l,A.message),this.root.insertBefore(n,this.arrow),this.root.insertBefore(l,this.arrow)}position(A){let e=this.root.getBoundingClientRect(),t=A.top-e.height-10,s=A.left+A.width/2-e.width/2,r=!0;t<8&&(t=A.bottom+10,r=!1),s=Math.max(8,Math.min(s,window.innerWidth-e.width-8)),this.root.style.top=`${t}px`,this.root.style.left=`${s}px`;let i=Math.max(16,Math.min(A.left+A.width/2-s-6,e.width-22));this.arrow.style.cssText=r?`position:absolute;width:12px;height:12px;background:${this.colors.glassBgHeavy};border-right:1px solid ${this.colors.glassBorder};border-bottom:1px solid ${this.colors.glassBorder};transform:rotate(45deg);pointer-events:none;bottom:-6px;left:${i}px;`:`position:absolute;width:12px;height:12px;background:${this.colors.glassBgHeavy};border-left:1px solid ${this.colors.glassBorder};border-top:1px solid ${this.colors.glassBorder};transform:rotate(45deg);pointer-events:none;top:-6px;left:${i}px;`}contains(A){return this.root.contains(A)}destroy(){this.cancelShow(),this.cancelHide(),this.root.remove()}};qA();var Kg=null;function Tg(){let A=()=>{};return{destroy:A,open:A,close:A,refresh:()=>Promise.resolve(),focusFeedback:()=>!1,on:()=>A,off:A}}function Og(){try{return process.env.NODE_ENV}catch{return}}function Rg(e){if(typeof window>"u"||typeof document>"u")return e.onSkip?.("ssr"),Tg();let t=e.debug?(...A)=>console.debug("[siteping]",...A):()=>{};if(Kg)return t("initSiteping() called more than once \u2014 returning existing instance"),Kg();let s=Og();if(!e.forceShow&&("production"===s||void 0===s&&!function(){let A=location.hostname;return""===A||"localhost"===A||A.endsWith(".localhost")||"127.0.0.1"===A||"[::1]"===A}()))return e.onSkip?.("production"),Tg();let r="number"==typeof e.minViewportWidth&&Number.isFinite(e.minViewportWidth)?e.minViewportWidth:0;if(!e.forceShow&&window.innerWidth<r){let A="mobile";return e.onSkip?.(A),Tg()}if(!(e.store||e.endpoint&&"string"==typeof e.endpoint))return console.error("[siteping] Missing 'endpoint' or 'store' in config. Provide an endpoint like '/api/siteping' or a SitepingStore instance."),Tg();if(!e.projectName||"string"!=typeof e.projectName)return console.error("[siteping] Missing or invalid 'projectName' in config. Expected a non-empty string."),Tg();let n=function(A){let e=function(A){try{return Intl.getCanonicalLocales(A.replace(/_/g,"-"))[0]}catch{return}}(A);return e||(console.warn(`[siteping] Invalid locale "${A}", falling back to "en"`),"en")}(e.locale??"en"),o="en"===n?Promise.resolve():A.loadLocale(n).catch(()=>{}),l=mp(n),c=e.scopeAnnotationsByUrl??!0,d=()=>{try{let A=e.getPageScope?.();if(A)return A}catch(A){t("getPageScope() threw, falling back to pathname:",A)}return{url:window.location.pathname,urlPattern:null}};t("Initializing widget",{projectName:e.projectName,theme:e.theme??"light",locale:n,scopeAnnotationsByUrl:c});let p=function(A){return void 0===A||!1===A?{console:!1,network:!1,maxConsoleEntries:50,maxNetworkEntries:20}:!0===A?{console:!0,network:!0,maxConsoleEntries:50,maxNetworkEntries:20}:{console:!1!==A.console,network:!1!==A.network,maxConsoleEntries:"number"==typeof A.maxConsoleEntries?A.maxConsoleEntries:50,maxNetworkEntries:"number"==typeof A.maxNetworkEntries?A.maxNetworkEntries:20}}(e.captureDiagnostics),h=p.console?new Gu(p.maxConsoleEntries):null,u=p.network?new $u(p.maxNetworkEntries):null,g=TA(e.accentColor,e.theme),B=new Wu,w=new Set,f=(A,...e)=>{for(let t of w)t.emit(A,...e)},m=(()=>{if(e.store)return new xg(e.store,e.projectName);let A=e.endpoint;if("string"!=typeof A||0===A.length)throw new Error("[siteping] internal invariant: endpoint must be a non-empty string in HTTP mode");return new Ou(A,e.projectName,{apiKey:e.apiKey,headers:e.headers})})();e.onOpen&&B.on("open",e.onOpen),e.onClose&&B.on("close",e.onClose),e.onFeedbackSent&&B.on("feedback:sent",e.onFeedbackSent),e.onCommentAdded&&B.on("comment:added",e.onCommentAdded),e.onError&&B.on("feedback:error",e.onError),e.onError&&B.on("panel:action-error",e.onError),B.on("panel:action-error",A=>console.error("[siteping] Panel action failed:",A)),e.onAnnotationStart&&B.on("annotation:start",e.onAnnotationStart),e.onAnnotationEnd&&B.on("annotation:end",e.onAnnotationEnd);let b=wu(e.projectName,e.endpoint);B.on("feedback:sent",A=>b.add(A.id)),B.on("feedback:deleted",A=>b.remove(A)),B.on("feedback:all-deleted",()=>b.clear());let C={"feedback:sent":()=>B.on("feedback:sent",A=>f("feedback:sent",A)),"feedback:deleted":()=>B.on("feedback:deleted",A=>f("feedback:deleted",A)),"comment:added":()=>B.on("comment:added",A=>f("comment:added",A)),"feedback:error":()=>B.on("feedback:error",A=>f("feedback:error",A)),"panel:open":()=>B.on("open",()=>f("panel:open")),"panel:close":()=>B.on("close",()=>f("panel:close")),"annotation:start":()=>B.on("annotation:start",()=>f("annotation:start")),"annotation:end":()=>B.on("annotation:end",()=>f("annotation:end"))};for(let A of Object.values(C))A();B.on("open",()=>t("Panel opened")),B.on("close",()=>t("Panel closed")),B.on("feedback:sent",A=>t("Feedback sent",A.id)),B.on("feedback:error",A=>t("Feedback failed",A.message)),B.on("annotation:start",()=>t("Annotation started")),B.on("annotation:end",()=>t("Annotation ended"));let Q=document.createElement("siteping-widget");Q.style.cssText="position:fixed;z-index:2147483647;pointer-events:auto;";let x,F="test"===Og()?"open":"closed",v=Q.attachShadow({mode:F});if("adoptedStyleSheets"in ShadowRoot.prototype){let A=new CSSStyleSheet;v.adoptedStyleSheets=[A],x=()=>A.replaceSync(Lg(g))}else{let A=document.createElement("style");v.appendChild(A),x=()=>{A.textContent=Lg(g)}}x(),_(Q,v);let U=function(){let A=A=>{cA(A.target)&&AA()&&A.stopImmediatePropagation()},e=[["pointerdown",A],["focusin",A],["focusout",A=>{(cA(A.target)||cA(A.relatedTarget))&&AA()&&A.stopImmediatePropagation()}],["keydown",A=>{if(("Tab"===A.key||"Escape"===A.key)&&cA(A.target)&&AA()){if("Escape"===A.key)return void(function(A){for(let e=eA(A);e;e=lA(e))for(let A of oA.get(e)??[])if(A())return!0;return!1}(A)&&A.preventDefault());for(let e=eA(A);e;e=lA(e))for(let t of[...aA.get(e)??[]])t(A);A.stopImmediatePropagation()}}]];for(let[A,t]of e)window.addEventListener(A,t,!0);return()=>{for(let[A,t]of e)window.removeEventListener(A,t,!0)}}();document.body.appendChild(Q);let E=function(A){let e=null,t=t=>{let s=t.target;s instanceof HTMLElement&&(s===document.body||s===document.documentElement||s===A||Ph(s)||(e=Nh(s)))};return document.addEventListener("focusin",t),{getLastPageFocus:()=>(e&&!e.isConnected&&(e=null),e),destroy(){document.removeEventListener("focusin",t),e=null}}}(Q),k=document.createElement("div");k.setAttribute("role","status"),k.setAttribute("aria-live","polite"),k.setAttribute("aria-atomic","true"),k.setAttribute("data-siteping-ignore","true"),k.style.cssText="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;",_(k),document.body.appendChild(k);let H=document.createElement("div");H.className="sp-toast",H.setAttribute("aria-hidden","true"),H.hidden=!0;let I,S=()=>{clearTimeout(I),H.hidden=!0};H.addEventListener("click",S),v.appendChild(H);let L=(A,e)=>{k.textContent=A,H.textContent=A,H.classList.toggle("sp-toast--error",e),H.hidden=!1,clearTimeout(I),I=setTimeout(S,e?8e3:4e3)},M=new Dg(g,n),D=new Qg(g,M,B,l,k),K=new Ju(v,e,B,l);B.on("markers:changed",A=>K.updateBadge(A));let T=null,O=null,R=!1,P=0;async function N(A=!1){let t=e.identity??_u();if(t)return t;let s=await function(A,e,t){return new Promise(s=>{let r=A.activeElement??document.activeElement,n=A.host;t&&n.parentNode&&n.parentNode.appendChild(n);let o=document.createElement("div");o.className="sp-identity-backdrop";let a=document.createElement("div");a.className="sp-identity-modal";let l=`sp-identity-title-${Date.now()}`;a.setAttribute("role","dialog"),a.setAttribute("aria-modal","true"),a.setAttribute("aria-labelledby",l);let c=document.createElement("div");c.className="sp-identity-title",c.id=l,c.textContent=e("identity.title"),c.style.marginBottom="20px";let d=`sp-identity-name-${Date.now()}`,p=`sp-identity-email-${Date.now()}`,h=document.createElement("label");h.className="sp-input-label",h.textContent=e("identity.nameLabel"),h.setAttribute("for",d);let u=document.createElement("input");u.className="sp-input",u.id=d,u.type="text",u.maxLength=y,u.placeholder=e("identity.namePlaceholder"),u.style.marginBottom="14px";let g=document.createElement("label");g.className="sp-input-label",g.textContent=e("identity.emailLabel"),g.setAttribute("for",p);let B=document.createElement("input");B.className="sp-input",B.id=p,B.type="email",B.maxLength=y,B.placeholder=e("identity.emailPlaceholder");let w=document.createElement("div");w.className="sp-identity-actions";let f=ZA(A=>a.style.setProperty("--sp-kb",`${A}px`)),m=A=>{x(),F(),f(),o.classList.remove("sp-identity--open"),setTimeout(()=>{o.remove(),r?.focus(),s(A)},250)},b=document.createElement("button");b.className="sp-btn-ghost",b.textContent=e("identity.cancel"),b.addEventListener("click",()=>m(null));let C=document.createElement("button");C.className="sp-btn-primary",C.textContent=e("identity.submit");let Q=(A,e)=>{A.style.borderColor=e?"var(--sp-type-bug, #ef4444)":"",e?A.setAttribute("aria-invalid","true"):A.removeAttribute("aria-invalid")};C.addEventListener("click",()=>{let A=u.value.trim(),e=B.value.trim();if(!A||!e)return;let t=A.length>y,s=e.length>y||!i(e);Q(u,t),Q(B,s),!t&&!s&&m({name:A,email:e})});let x=q(o,e=>{if("Escape"===e.key)return e.stopPropagation(),void m(null);if("Tab"===e.key){let t=Array.from(a.querySelectorAll('input, button, [tabindex]:not([tabindex="-1"])'));if(0===t.length)return;let s=t[0],r=t[t.length-1];if(!s||!r)return;let i=A.activeElement;e.shiftKey?(i===s||!a.contains(i))&&(e.preventDefault(),r.focus()):(i===r||!a.contains(i))&&(e.preventDefault(),s.focus())}}),F=Z(o,()=>!0);o.addEventListener("click",A=>{A.target===o&&m(null)}),w.appendChild(b),w.appendChild(C),a.appendChild(c),a.appendChild(h),a.appendChild(u),a.appendChild(g),a.appendChild(B),a.appendChild(w),o.appendChild(a),A.appendChild(o),requestAnimationFrame(()=>{o.classList.add("sp-identity--open"),u.focus()})})}(v,l,A);return s&&function(A){try{localStorage.setItem(zu,JSON.stringify(A))}catch{}}(s),s}async function V(){return R?null:T||(O||(O=Promise.resolve().then(()=>(fh(),uh)).then(A=>R?null:(T=new A.Panel(v,g,B,m,e.projectName,D,l,n,{getScope:d,scopeAnnotationsByUrl:c,panelActions:e.panelActions,ownFeedback:b,resolveIdentity:N,readOnly:e.readOnly}),T))),O)}if(typeof window<"u"){let A=()=>{R||V()},e=window.requestIdleCallback;"function"==typeof e?e(A):setTimeout(A,200)}let G=!1,X=B.on("panel:toggle",A=>{T||(A?(G=!0,V().then(A=>{A&&G&&A.open(),G=!1}).catch(A=>t("Failed to lazy-load panel:",A))):G=!1)}),$=new Bu(g,B,l,e.enableScreenshot??!1,()=>E.getLastPageFocus()),W=null;e.enableRightClickComment&&(W=A=>{if(A.defaultPrevented)return;let e=A.pointerType;""===e||void 0===e&&2!==A.button||A.shiftKey||A.ctrlKey||A.altKey||A.metaKey||A.composedPath().some(A=>A===Q||A instanceof Element&&(A.hasAttribute("data-siteping-ignore")||"siteping-markers"===A.id))||$.isBusy||(A.preventDefault(),$.startInstantAnnotation(A.clientX,A.clientY).catch(A=>t("right-click annotation failed",A)))},document.addEventListener("contextmenu",W)),"en"!==n&&o.then(()=>{R||(K.refreshLabels(),$.refreshLabels())});let Y=!1,J=B.on("annotation:complete",async A=>{if(Y)B.emit("submission:cancelled");else{Y=!0;try{let{annotation:t,type:s,message:r,clientId:i,screenshotDataUrl:n,screenshotRegion:o}=A,a=await N(!0);if(!a)return void B.emit("submission:cancelled");let p=d(),g=null;(h||u)&&(g={console:h?.getEntries()??[],network:u?.getEntries()??[]});let w={projectName:e.projectName,type:s,message:r,url:p.url,urlPattern:p.urlPattern,viewport:`${window.innerWidth}x${window.innerHeight}`,userAgent:navigator.userAgent,authorName:a.name,authorEmail:a.email,annotations:[t],clientId:i,screenshotDataUrl:n??null,screenshotRegion:o??null,diagnostics:g};try{let A=await m.sendFeedback(w);B.emit("feedback:sent",A),(!c||A.url===p.url)&&D.addFeedback(A,D.count+1),L(l("feedback.sent.confirmation"),!1),T&&await T.refresh()}catch(A){let e=function(A){return"object"==typeof A&&null!==A?Eu.get(A):void 0}(A);e&&B.emit("feedback:queued"),B.emit("feedback:error",A instanceof Error?A:new Error(String(A))),L(l(e?"feedback.queued":"feedback.error.message"),!e)}}finally{Y=!1}}}),z=d(),j=c?{limit:20,url:z.url}:{limit:20},tA=function(A){return void 0===A||!1===A?{enabled:!1,param:"siteping"}:!0===A?{enabled:!0,param:"siteping"}:{enabled:!0,param:A.param??"siteping"}}(e.deepLink),sA=++P;Promise.all([m.getFeedbacks(e.projectName,j),o]).then(([{feedbacks:A}])=>{if(R||P!==sA)return;let e=c?A.filter(A=>A.url===z.url):A;if(D.render(e),tA.enabled)try{let A=new URLSearchParams(window.location.search).get(tA.param);if(A){let e=D.focusFeedback(A);t(`deepLink ?${tA.param}=${A} ${e?"focused":"did not match a visible feedback"}`),e&&V().then(async e=>{!e||R||(await e.open(),e.showFeedback(A))}).catch(A=>t("deepLink could not open the feedback:",A))}}catch(A){t("deepLink parsing failed:",A)}}).catch(A=>{t("Failed to load initial markers:",A)}),e.endpoint&&async function(A,e,t={}){await Fu(async()=>{try{let s=Uu();if(0===s.length)return;let r=[],i=[],n=0;for(let t of s)t.endpoint===A?!e||Su(t.payload.authorName)===Su(e.name)&&Lu(t.payload.authorEmail)===Lu(e.email)?r.push(t):n+=1:i.push(t);if(0===r.length&&0===n)return;let o=[],l=0;if(r.length>0){let e=await Cu(t,!0);for(let t of r){let s=new AbortController,r=setTimeout(()=>s.abort(),fu);try{let r=await fetch(A,{method:"POST",headers:e,body:JSON.stringify(t.payload),signal:s.signal});if(r.ok){let e=await r.json().catch(()=>null);a(e,"id")&&"string"==typeof e.id&&wu(t.payload.projectName,A).add(e.id);continue}xu(r.status)?o.push(t):l+=1}catch{o.push(t)}finally{clearTimeout(r)}}}l>0&&console.warn(`[siteping] flushRetryQueue: dropped ${l} queued feedback(s) the server rejected (4xx) \u2014 they would fail identically on every replay`);let c=i.concat(o);c.length>0?localStorage.setItem(mu,JSON.stringify(c)):localStorage.removeItem(mu)}catch{}})}(e.endpoint,e.identity??_u(),{apiKey:e.apiKey,headers:e.headers}).then(()=>t("Retry queue flushed")).catch(()=>{});let rA=()=>{let A=++P;if(T?.isCurrentlyOpen)return T.refresh();let t=d(),s=c?{limit:20,url:t.url}:{limit:20};return m.getFeedbacks(e.projectName,s).then(({feedbacks:e})=>{if(R||A!==P||T?.isCurrentlyOpen)return;let s=c?e.filter(A=>A.url===t.url):e;D.render(s)})},iA="auto"===e.theme?function(A){if(typeof window>"u"||"function"!=typeof window.matchMedia)return()=>{};let e=window.matchMedia(WA);return e.addEventListener("change",A),()=>e.removeEventListener("change",A)}(()=>{Object.assign(g,TA(e.accentColor,"auto")),x(),M.restyle(),$.restyle(),rA().catch(()=>{})}):void 0,nA=null;if(!1!==e.watchNavigation&&typeof window<"u"&&typeof history<"u"){let A=A=>`${A.url}\n${A.urlPattern??""}`,e=A(z),s=()=>{if(R)return;let s=A(d());if(s===e)return;let r=e;e=s,t("SPA navigation detected \u2014 refreshing feedbacks for new scope"),rA().catch(()=>{e===s&&(e=r)})},r=history.pushState,i=history.replaceState,n=function(...A){r.apply(this,A),s()},o=function(...A){i.apply(this,A),s()};history.pushState=n,history.replaceState=o,window.addEventListener("popstate",s),window.addEventListener("hashchange",s),nA=()=>{window.removeEventListener("popstate",s),window.removeEventListener("hashchange",s),history.pushState===n&&(history.pushState=r),history.replaceState===o&&(history.replaceState=i)}}let dA=0,pA=()=>{let A=new Wu,e=!0;return dA++,w.add(A),{destroy:()=>{e&&(e=!1,w.delete(A),0===--dA&&(t("Destroying widget"),W&&document.removeEventListener("contextmenu",W),R=!0,G=!1,nA?.(),iA?.(),E.destroy(),J(),X(),K.destroy(),T?.destroy(),$.destroy(),D.destroy(),M.destroy(),h?.dispose(),u?.dispose(),B.removeAll(),clearTimeout(I),k.remove(),Q.remove(),U(),Kg=null))},open:()=>{e&&B.emit("panel:toggle",!0)},close:()=>{e&&(T?T.close():G=!1)},refresh:()=>e?rA().catch(()=>{}):Promise.resolve(),focusFeedback:A=>e&&(A=>D.focusFeedback(A))(A),on:(e,t)=>A.on(e,t),off:(e,t)=>{A.off(e,t)}}};return Kg=pA,pA()}return K(),Cp(),
2
2
  /*! Bundled license information:
3
3
 
4
4
  html2canvas-pro/dist/html2canvas-pro.esm.js:
@@ -8,5 +8,5 @@ html2canvas-pro/dist/html2canvas-pro.esm.js:
8
8
  * Released under MIT License
9
9
  *)
10
10
  */
11
- A.initSiteping=function(A){return fg(A)},A}({});
11
+ A.initSiteping=function(A){return Rg(A)},A.isSitepingError=function(A){return a(A,"code")&&a(A,"retryable")&&"boolean"==typeof A.retryable&&"string"==typeof A.code&&h.includes(A.code)},A}({});
12
12
  //# sourceMappingURL=index.global.js.map