placer-toolkit 1.0.0-alpha.2 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.63PFEC3G.js → chunk.2P2SQGIO.js} +1 -1
- package/cdn/chunks/{chunk.POW4JBEN.js → chunk.2RFUFV3Y.js} +1 -1
- package/cdn/chunks/{chunk.4GFJDCKO.js → chunk.2U2XCELL.js} +1 -1
- package/cdn/chunks/{chunk.YDM7FW42.js → chunk.2VK2UNEQ.js} +1 -1
- package/cdn/chunks/{chunk.UDGTTCHU.js → chunk.3XA4JGJ5.js} +1 -1
- package/cdn/chunks/{chunk.LCCA4ADE.js → chunk.3Z4OHR74.js} +1 -1
- package/cdn/chunks/{chunk.5YXXLUP2.js → chunk.4EP7ZBSO.js} +1 -1
- package/cdn/chunks/{chunk.SUPXW5XU.js → chunk.5BEN2BOQ.js} +1 -1
- package/cdn/chunks/chunk.5LGTKAEH.js +1 -0
- package/cdn/chunks/{chunk.6T73D5OE.js → chunk.6742DB6S.js} +1 -1
- package/cdn/chunks/{chunk.RYPVSVQS.js → chunk.A3VT7PRV.js} +1 -1
- package/cdn/chunks/{chunk.IUL3BHES.js → chunk.A6ONELGL.js} +1 -1
- package/cdn/chunks/{chunk.C2RXDH23.js → chunk.BGPEAUGS.js} +1 -1
- package/cdn/chunks/{chunk.3EUMG6CL.js → chunk.BGVJGNK6.js} +1 -1
- package/cdn/chunks/{chunk.ZRRFT6U7.js → chunk.C2O5YUUX.js} +1 -1
- package/cdn/chunks/{chunk.YVZPSF4R.js → chunk.E6NMJF5G.js} +1 -1
- package/cdn/chunks/{chunk.J35PXB2V.js → chunk.ECJF6Z7E.js} +1 -1
- package/cdn/chunks/{chunk.5OTOOMMJ.js → chunk.ES47SAMT.js} +1 -1
- package/cdn/chunks/{chunk.VVTMOSN2.js → chunk.HRYXB4XS.js} +1 -1
- package/cdn/chunks/{chunk.TRVVBQVV.js → chunk.HWMGGAZX.js} +1 -1
- package/cdn/chunks/{chunk.XSSNRCMY.js → chunk.HYHJFQIK.js} +1 -1
- package/cdn/chunks/{chunk.STH7HATQ.js → chunk.IDEOYEH5.js} +1 -1
- package/cdn/chunks/{chunk.NTFNGAOW.js → chunk.IKCSY3XB.js} +1 -1
- package/cdn/chunks/{chunk.OI4TZZJC.js → chunk.IMGO3QPH.js} +1 -1
- package/cdn/chunks/{chunk.YUNTZWZZ.js → chunk.JMVPFP5H.js} +1 -1
- package/cdn/chunks/{chunk.ITURS4YZ.js → chunk.JWREYUSA.js} +1 -1
- package/cdn/chunks/{chunk.QCISI32Q.js → chunk.LHATWPOI.js} +1 -1
- package/cdn/chunks/{chunk.XGNJKW3A.js → chunk.LNO6JIJZ.js} +1 -1
- package/cdn/chunks/{chunk.KDTLVKSZ.js → chunk.LVULGXIL.js} +1 -1
- package/cdn/chunks/{chunk.OQDGIWGZ.js → chunk.LXPQCMG2.js} +1 -1
- package/cdn/chunks/{chunk.QPQZP354.js → chunk.PGJ7OAQD.js} +1 -1
- package/cdn/chunks/{chunk.AMJDSJZ5.js → chunk.QCMKS7IC.js} +1 -1
- package/cdn/chunks/{chunk.SPURF5RT.js → chunk.R2GNM632.js} +1 -1
- package/cdn/chunks/{chunk.V4LKFSOV.js → chunk.RHN4JZ57.js} +1 -1
- package/cdn/chunks/{chunk.U3P5JBYR.js → chunk.RZ7KQST2.js} +1 -1
- package/cdn/chunks/{chunk.4ZFWIEG2.js → chunk.SFKBJWBF.js} +1 -1
- package/cdn/chunks/{chunk.75Y77XUI.js → chunk.TCUNSFUM.js} +1 -1
- package/cdn/chunks/{chunk.L4UUK6G4.js → chunk.TJCFHB4A.js} +1 -1
- package/cdn/chunks/{chunk.5WAFFOC5.js → chunk.TX6DBCID.js} +1 -1
- package/cdn/chunks/{chunk.BHNAOKFP.js → chunk.UWTWJOLP.js} +1 -1
- package/cdn/chunks/{chunk.RWQ2HCYN.js → chunk.WTHYUTK2.js} +1 -1
- package/cdn/chunks/{chunk.7SJBQWSL.js → chunk.WWILACMK.js} +1 -1
- package/cdn/chunks/{chunk.QY5QOZRE.js → chunk.WWYVN7H6.js} +1 -1
- package/cdn/chunks/{chunk.GRSW4YMQ.js → chunk.XLCQOQ4X.js} +1 -1
- package/cdn/chunks/{chunk.63YZ2OGJ.js → chunk.XOO5JJXI.js} +1 -1
- package/cdn/chunks/chunk.ZPHZCJBG.js +1 -0
- package/cdn/chunks/{chunk.NYIRGEA7.js → chunk.ZSA2RXCN.js} +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/color-picker/color-picker.js +1 -1
- package/cdn/components/comparer/comparer.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/details/details.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/dropdown-item/dropdown-item.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +1 -1
- package/cdn/components/format-date/format-date.js +1 -1
- package/cdn/components/format-number/format-number.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/qr-code/qr-code.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/rating/rating.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/scroller/scroller.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +245 -245
- package/cdn/placer.js +1 -1
- package/cdn/styles/palette/base.css +35 -35
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/bg.js +1 -1
- package/cdn/translations/bn.js +1 -1
- package/cdn/translations/bs.js +1 -1
- package/cdn/translations/ca.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/cy.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-at.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/el.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es-es.js +1 -1
- package/cdn/translations/es.js +1 -1
- package/cdn/translations/et.js +1 -1
- package/cdn/translations/eu.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fil.js +1 -1
- package/cdn/translations/fo.js +1 -1
- package/cdn/translations/fr-ca.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/ga.js +1 -1
- package/cdn/translations/gu.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hi.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/index.js +1 -1
- package/cdn/translations/is.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/ko.js +1 -1
- package/cdn/translations/lb.js +1 -1
- package/cdn/translations/lo.js +1 -1
- package/cdn/translations/lt.js +1 -1
- package/cdn/translations/lv.js +1 -1
- package/cdn/translations/mr.js +1 -1
- package/cdn/translations/ms.js +1 -1
- package/cdn/translations/mt.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl-be.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pa-guru.js +1 -1
- package/cdn/translations/pa.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/ps.js +1 -1
- package/cdn/translations/pt-br.js +1 -1
- package/cdn/translations/pt-pt.js +1 -1
- package/cdn/translations/pt.js +1 -1
- package/cdn/translations/ro.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sk.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sq.js +1 -1
- package/cdn/translations/sr.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/sw.js +1 -1
- package/cdn/translations/te.js +1 -1
- package/cdn/translations/th.js +1 -1
- package/cdn/translations/tl.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/ur.js +1 -1
- package/cdn/translations/vi.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-hk.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/dist/components/color-picker/color-picker.js +2 -2
- package/dist/components/comparer/comparer.js +2 -2
- package/dist/components/copy-button/copy-button.js +2 -2
- package/dist/components/details/details.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/dropdown-item/dropdown-item.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/rating/rating.js +2 -2
- package/dist/components/scroller/scroller.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +957 -957
- package/dist/placer.js +2 -2
- package/dist/styles/palette/base.css +35 -35
- package/dist/translations/ar.js +6 -571
- package/dist/translations/bg.js +6 -571
- package/dist/translations/bn.js +6 -571
- package/dist/translations/bs.js +6 -571
- package/dist/translations/ca.js +6 -571
- package/dist/translations/cs.js +6 -571
- package/dist/translations/cy.js +6 -571
- package/dist/translations/da.js +6 -571
- package/dist/translations/de-at.js +6 -571
- package/dist/translations/de-ch.js +6 -571
- package/dist/translations/de.js +6 -571
- package/dist/translations/el.js +6 -571
- package/dist/translations/en-gb.js +6 -571
- package/dist/translations/en.js +6 -571
- package/dist/translations/es-es.js +6 -571
- package/dist/translations/es.js +6 -571
- package/dist/translations/et.js +6 -571
- package/dist/translations/eu.js +6 -571
- package/dist/translations/fa.js +6 -571
- package/dist/translations/fi.js +6 -571
- package/dist/translations/fil.js +6 -571
- package/dist/translations/fo.js +6 -571
- package/dist/translations/fr-ca.js +6 -571
- package/dist/translations/fr.js +6 -571
- package/dist/translations/ga.js +6 -571
- package/dist/translations/gu.js +6 -571
- package/dist/translations/he.js +6 -571
- package/dist/translations/hi.js +6 -571
- package/dist/translations/hr.js +6 -571
- package/dist/translations/hu.js +6 -571
- package/dist/translations/id.js +6 -571
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.js +7 -572
- package/dist/translations/is.js +6 -571
- package/dist/translations/it.js +6 -571
- package/dist/translations/ja.js +6 -571
- package/dist/translations/ko.js +6 -571
- package/dist/translations/lb.js +6 -571
- package/dist/translations/lo.js +6 -571
- package/dist/translations/lt.js +6 -571
- package/dist/translations/lv.js +6 -571
- package/dist/translations/mr.js +6 -571
- package/dist/translations/ms.js +6 -571
- package/dist/translations/mt.js +6 -571
- package/dist/translations/nb.js +6 -571
- package/dist/translations/nl-be.js +6 -571
- package/dist/translations/nl.js +6 -571
- package/dist/translations/nn.js +6 -571
- package/dist/translations/pa-guru.js +6 -571
- package/dist/translations/pa.js +6 -571
- package/dist/translations/pl.js +6 -571
- package/dist/translations/ps.js +6 -571
- package/dist/translations/pt-br.js +6 -571
- package/dist/translations/pt-pt.js +6 -571
- package/dist/translations/pt.js +6 -571
- package/dist/translations/ro.js +6 -571
- package/dist/translations/ru.js +6 -571
- package/dist/translations/sk.js +6 -571
- package/dist/translations/sl.js +6 -571
- package/dist/translations/sq.js +6 -571
- package/dist/translations/sr.js +6 -571
- package/dist/translations/sv.js +6 -571
- package/dist/translations/sw.js +6 -571
- package/dist/translations/te.js +6 -571
- package/dist/translations/th.js +6 -571
- package/dist/translations/tl.js +6 -571
- package/dist/translations/tr.js +6 -571
- package/dist/translations/uk.js +6 -571
- package/dist/translations/ur.js +6 -571
- package/dist/translations/vi.js +6 -571
- package/dist/translations/zh-cn.js +6 -571
- package/dist/translations/zh-hk.js +6 -571
- package/dist/translations/zh-tw.js +6 -571
- package/dist/utilities/localize.js +7 -572
- package/package.json +12 -5
- package/cdn/chunks/chunk.E4QLFQIH.js +0 -1
- package/cdn/chunks/chunk.ZY64ASSW.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g,b as s,c as b,g as v}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as g,b as s,c as b,g as v}from"./chunk.NYYTSWQF.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{a as m}from"./chunk.U2DNK7H4.js";import{a as d}from"./chunk.H2EOXVSZ.js";import{a as R,b as S,c}from"./chunk.G3WMDHXU.js";import{b as r}from"./chunk.E6MOE4FE.js";var w=`:host {
|
|
2
2
|
--fa-primary-color: currentColor;
|
|
3
3
|
--fa-secondary-color: currentColor;
|
|
4
4
|
--fa-primary-opacity: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as w}from"./chunk.
|
|
1
|
+
import{f as w}from"./chunk.4EP7ZBSO.js";import{a as y}from"./chunk.KKVT4LHX.js";import{a as p,b as h,d}from"./chunk.RZZMGXAZ.js";import{a as f,b as o,e as a,g}from"./chunk.NYYTSWQF.js";import{d as m}from"./chunk.2N5ZK4F4.js";import{a as u}from"./chunk.OOQOIJSK.js";import{a as s}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{a as l,c}from"./chunk.N5AZOOIZ.js";import{a as v}from"./chunk.5LGTKAEH.js";import{b as e}from"./chunk.E6MOE4FE.js";var b=`:host {
|
|
2
2
|
--max-width: 30ch;
|
|
3
3
|
--hide-delay: 0s;
|
|
4
4
|
--show-delay: 0.15s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk.
|
|
1
|
+
import{a as r}from"./chunk.WWYVN7H6.js";import{a as o}from"./chunk.ZPHZCJBG.js";var a={...r,$code:"pt-BR",$name:"Portugu\xEAs do Brasil",copied:"Copiado!",pickAColorFromTheScreen:"Escolher uma cor da tela",scrollToEnd:"Rolar at\xE9 o final",scrollToStart:"Rolar at\xE9 o in\xEDcio"};o(a);var l=a;export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk.BSQP4EKW.js";import{a as l}from"./chunk.KKVT4LHX.js";import{a as e,b as d,g as t}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as c}from"./chunk.BSQP4EKW.js";import{a as l}from"./chunk.KKVT4LHX.js";import{a as e,b as d,g as t}from"./chunk.NYYTSWQF.js";import{d as o}from"./chunk.2N5ZK4F4.js";import{a as s}from"./chunk.D5CFOPIE.js";import{b as a}from"./chunk.E6MOE4FE.js";var n=`:host {
|
|
2
2
|
--spacing: var(--pc-spacing-l);
|
|
3
3
|
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as it}from"./chunk.7UYSBZLK.js";import{a as nt}from"./chunk.RYPVSVQS.js";import{a as Q}from"./chunk.63PFEC3G.js";import{a as k}from"./chunk.KWVZRE3E.js";import{f as ot}from"./chunk.5YXXLUP2.js";import{a as et}from"./chunk.RWQ2HCYN.js";import{a as st}from"./chunk.W5PM7F34.js";import{a as D}from"./chunk.XESREUP5.js";import{a as tt}from"./chunk.BSQP4EKW.js";import{a as S}from"./chunk.KKVT4LHX.js";import{a as rt}from"./chunk.7YEJIK24.js";import{a as B}from"./chunk.RZZMGXAZ.js";import{a as W,b as f,c as x,d as Z,e as E,g as J}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.ZS4GILCB.js";import{a as z}from"./chunk.OOQOIJSK.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as F}from"./chunk.PSDD6Q4W.js";import{a as T}from"./chunk.H2EOXVSZ.js";import{a as P}from"./chunk.D5CFOPIE.js";import{a as K,c as N}from"./chunk.N5AZOOIZ.js";import{a as at}from"./chunk.E4QLFQIH.js";import{d as w}from"./chunk.2N5ZK4F4.js";import{b as _}from"./chunk.IIHX5LOR.js";import{b as h}from"./chunk.E6MOE4FE.js";function d(i,e){vt(i)&&(i="100%");let t=yt(i);return i=e===360?i:Math.min(e,Math.max(0,parseFloat(i))),t&&(i=parseInt(String(i*e),10)/100),Math.abs(i-e)<1e-6?1:(e===360?i=(i<0?i%e+e:i%e)/parseFloat(String(e)):i=i%e/parseFloat(String(e)),i)}function C(i){return Math.min(1,Math.max(0,i))}function vt(i){return typeof i=="string"&&i.indexOf(".")!==-1&&parseFloat(i)===1}function yt(i){return typeof i=="string"&&i.indexOf("%")!==-1}function L(i){return i=parseFloat(i),(isNaN(i)||i<0||i>1)&&(i=1),i}function A(i){return Number(i)<=1?`${Number(i)*100}%`:i}function $(i){return i.length===1?"0"+i:String(i)}function lt(i,e,t){return{r:d(i,255)*255,g:d(e,255)*255,b:d(t,255)*255}}function Y(i,e,t){i=d(i,255),e=d(e,255),t=d(t,255);let r=Math.max(i,e,t),s=Math.min(i,e,t),a=0,n=0,o=(r+s)/2;if(r===s)n=0,a=0;else{let p=r-s;switch(n=o>.5?p/(2-r-s):p/(r+s),r){case i:a=(e-t)/p+(e<t?6:0);break;case e:a=(t-i)/p+2;break;case t:a=(i-e)/p+4;break;default:break}a/=6}return{h:a,s:n,l:o}}function q(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*(6*t):t<1/2?e:t<2/3?i+(e-i)*(2/3-t)*6:i}function ht(i,e,t){let r,s,a;if(i=d(i,360),e=d(e,100),t=d(t,100),e===0)s=t,a=t,r=t;else{let n=t<.5?t*(1+e):t+e-t*e,o=2*t-n;r=q(o,n,i+1/3),s=q(o,n,i),a=q(o,n,i-1/3)}return{r:r*255,g:s*255,b:a*255}}function j(i,e,t){i=d(i,255),e=d(e,255),t=d(t,255);let r=Math.max(i,e,t),s=Math.min(i,e,t),a=0,n=r,o=r-s,p=r===0?0:o/r;if(r===s)a=0;else{switch(r){case i:a=(e-t)/o+(e<t?6:0);break;case e:a=(t-i)/o+2;break;case t:a=(i-e)/o+4;break;default:break}a/=6}return{h:a,s:p,v:n}}function ut(i,e,t){i=d(i,360)*6,e=d(e,100),t=d(t,100);let r=Math.floor(i),s=i-r,a=t*(1-e),n=t*(1-s*e),o=t*(1-(1-s)*e),p=r%6,b=[t,n,a,a,o,t][p],u=[o,t,t,n,a,a][p],H=[a,a,o,t,t,n][p];return{r:b*255,g:u*255,b:H*255}}function O(i,e,t,r){let s=[$(Math.round(i).toString(16)),$(Math.round(e).toString(16)),$(Math.round(t).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function ct(i,e,t,r,s){let a=[$(Math.round(i).toString(16)),$(Math.round(e).toString(16)),$(Math.round(t).toString(16)),$(wt(r))];return s&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function pt(i,e,t,r){let s=i/100,a=e/100,n=t/100,o=r/100,p=255*(1-s)*(1-o),b=255*(1-a)*(1-o),u=255*(1-n)*(1-o);return{r:p,g:b,b:u}}function G(i,e,t){let r=1-i/255,s=1-e/255,a=1-t/255,n=Math.min(r,s,a);return n===1?(r=0,s=0,a=0):(r=(r-n)/(1-n)*100,s=(s-n)/(1-n)*100,a=(a-n)/(1-n)*100),n*=100,{c:Math.round(r),m:Math.round(s),y:Math.round(a),k:Math.round(n)}}function wt(i){return Math.round(parseFloat(i)*255).toString(16)}function U(i){return g(i)/255}function g(i){return parseInt(i,16)}function dt(i){return{r:i>>16,g:(i&65280)>>8,b:i&255}}var V={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ft(i){let e={r:0,g:0,b:0},t=1,r=null,s=null,a=null,n=!1,o=!1;return typeof i=="string"&&(i=$t(i)),typeof i=="object"&&(v(i.r)&&v(i.g)&&v(i.b)?(e=lt(i.r,i.g,i.b),n=!0,o=String(i.r).substr(-1)==="%"?"prgb":"rgb"):v(i.h)&&v(i.s)&&v(i.v)?(r=A(i.s),s=A(i.v),e=ut(i.h,r,s),n=!0,o="hsv"):v(i.h)&&v(i.s)&&v(i.l)?(r=A(i.s),a=A(i.l),e=ht(i.h,r,a),n=!0,o="hsl"):v(i.c)&&v(i.m)&&v(i.y)&&v(i.k)&&(e=pt(i.c,i.m,i.y,i.k),n=!0,o="cmyk"),Object.prototype.hasOwnProperty.call(i,"a")&&(t=i.a)),t=L(t),{ok:n,format:i.format||o,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}var xt="[-\\+]?\\d+%?",kt="[-\\+]?\\d*\\.\\d+%?",M="(?:"+kt+")|(?:"+xt+")",X="[\\s|\\(]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")\\s*\\)?",I="[\\s|\\(]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")\\s*\\)?",y={CSS_UNIT:new RegExp(M),rgb:new RegExp("rgb"+X),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+X),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+X),hsva:new RegExp("hsva"+I),cmyk:new RegExp("cmyk"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function $t(i){if(i=i.trim().toLowerCase(),i.length===0)return!1;let e=!1;if(V[i])i=V[i],e=!0;else if(i==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=y.rgb.exec(i);return t?{r:t[1],g:t[2],b:t[3]}:(t=y.rgba.exec(i),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=y.hsl.exec(i),t?{h:t[1],s:t[2],l:t[3]}:(t=y.hsla.exec(i),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=y.hsv.exec(i),t?{h:t[1],s:t[2],v:t[3]}:(t=y.hsva.exec(i),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=y.cmyk.exec(i),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=y.hex8.exec(i),t?{r:g(t[1]),g:g(t[2]),b:g(t[3]),a:U(t[4]),format:e?"name":"hex8"}:(t=y.hex6.exec(i),t?{r:g(t[1]),g:g(t[2]),b:g(t[3]),format:e?"name":"hex"}:(t=y.hex4.exec(i),t?{r:g(t[1]+t[1]),g:g(t[2]+t[2]),b:g(t[3]+t[3]),a:U(t[4]+t[4]),format:e?"name":"hex8"}:(t=y.hex3.exec(i),t?{r:g(t[1]+t[1]),g:g(t[2]+t[2]),b:g(t[3]+t[3]),format:e?"name":"hex"}:!1))))))))))}function v(i){return typeof i=="number"?!Number.isNaN(i):y.CSS_UNIT.test(i)}var R=class i{constructor(e="",t={}){if(e instanceof i)return e;typeof e=="number"&&(e=dt(e)),this.originalInput=e;let r=ft(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??r.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){let e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3}getLuminance(){let e=this.toRgb(),t,r,s,a=e.r/255,n=e.g/255,o=e.b/255;return a<=.03928?t=a/12.92:t=Math.pow((a+.055)/1.055,2.4),n<=.03928?r=n/12.92:r=Math.pow((n+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*t+.7152*r+.0722*s}getAlpha(){return this.a}setAlpha(e){return this.a=L(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){let{s:e}=this.toHsl();return e===0}toHsv(){let e=j(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}}toHsvString(){let e=j(this.r,this.g,this.b),t=Math.round(e.h*360),r=Math.round(e.s*100),s=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${r}%, ${s}%)`:`hsva(${t}, ${r}%, ${s}%, ${this.roundA})`}toHsl(){let e=Y(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}}toHslString(){let e=Y(this.r,this.g,this.b),t=Math.round(e.h*360),r=Math.round(e.s*100),s=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${r}%, ${s}%)`:`hsla(${t}, ${r}%, ${s}%, ${this.roundA})`}toHex(e=!1){return O(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return ct(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return this.a===1?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){let e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${r})`:`rgba(${e}, ${t}, ${r}, ${this.roundA})`}toPercentageRgb(){let e=t=>`${Math.round(d(t,255)*100)}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){let e=t=>Math.round(d(t,255)*100);return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...G(this.r,this.g,this.b)}}toCmykString(){let{c:e,m:t,y:r,k:s}=G(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${r}, ${s})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;let e="#"+O(this.r,this.g,this.b,!1);for(let[t,r]of Object.entries(V))if(e===r)return t;return!1}toString(e){let t=!!e;e=e??this.format;let r=!1,s=this.a<1&&this.a>=0;return!t&&s&&(e.startsWith("hex")||e==="name")?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(r=this.toRgbString()),e==="prgb"&&(r=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(r=this.toHexString()),e==="hex3"&&(r=this.toHexString(!0)),e==="hex4"&&(r=this.toHex8String(!0)),e==="hex8"&&(r=this.toHex8String()),e==="name"&&(r=this.toName()),e==="hsl"&&(r=this.toHslString()),e==="hsv"&&(r=this.toHsvString()),e==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new i(this.toString())}lighten(e=10){let t=this.toHsl();return t.l+=e/100,t.l=C(t.l),new i(t)}brighten(e=10){let t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new i(t)}darken(e=10){let t=this.toHsl();return t.l-=e/100,t.l=C(t.l),new i(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){let t=this.toHsl();return t.s-=e/100,t.s=C(t.s),new i(t)}saturate(e=10){let t=this.toHsl();return t.s+=e/100,t.s=C(t.s),new i(t)}greyscale(){return this.desaturate(100)}spin(e){let t=this.toHsl(),r=(t.h+e)%360;return t.h=r<0?360+r:r,new i(t)}mix(e,t=50){let r=this.toRgb(),s=new i(e).toRgb(),a=t/100,n={r:(s.r-r.r)*a+r.r,g:(s.g-r.g)*a+r.g,b:(s.b-r.b)*a+r.b,a:(s.a-r.a)*a+r.a};return new i(n)}analogous(e=6,t=30){let r=this.toHsl(),s=360/t,a=[this];for(r.h=(r.h-(s*e>>1)+720)%360;--e;)r.h=(r.h+s)%360,a.push(new i(r));return a}complement(){let e=this.toHsl();return e.h=(e.h+180)%360,new i(e)}monochromatic(e=6){let t=this.toHsv(),{h:r}=t,{s}=t,{v:a}=t,n=[],o=1/e;for(;e--;)n.push(new i({h:r,s,v:a})),a=(a+o)%1;return n}splitcomplement(){let e=this.toHsl(),{h:t}=e;return[this,new i({h:(t+72)%360,s:e.s,l:e.l}),new i({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){let t=this.toRgb(),r=new i(e).toRgb(),s=t.a+r.a*(1-t.a);return new i({r:(t.r*t.a+r.r*r.a*(1-t.a))/s,g:(t.g*t.a+r.g*r.a*(1-t.a))/s,b:(t.b*t.a+r.b*r.a*(1-t.a))/s,a:s})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){let t=this.toHsl(),{h:r}=t,s=[this],a=360/e;for(let n=1;n<e;n++)s.push(new i({h:(r+n*a)%360,s:t.s,l:t.l}));return s}equals(e){let t=new i(e);return this.format==="cmyk"||t.format==="cmyk"?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}};var gt=`:host {
|
|
1
|
+
import{a as it}from"./chunk.7UYSBZLK.js";import{a as nt}from"./chunk.A3VT7PRV.js";import{a as Q}from"./chunk.2P2SQGIO.js";import{a as k}from"./chunk.KWVZRE3E.js";import{f as ot}from"./chunk.4EP7ZBSO.js";import{a as et}from"./chunk.WTHYUTK2.js";import{a as st}from"./chunk.W5PM7F34.js";import{a as D}from"./chunk.XESREUP5.js";import{a as tt}from"./chunk.BSQP4EKW.js";import{a as S}from"./chunk.KKVT4LHX.js";import{a as rt}from"./chunk.7YEJIK24.js";import{a as B}from"./chunk.RZZMGXAZ.js";import{a as W,b as f,c as x,d as Z,e as E,g as J}from"./chunk.NYYTSWQF.js";import{d as w}from"./chunk.2N5ZK4F4.js";import{a as m}from"./chunk.ZS4GILCB.js";import{a as z}from"./chunk.OOQOIJSK.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as F}from"./chunk.PSDD6Q4W.js";import{a as T}from"./chunk.H2EOXVSZ.js";import{a as P}from"./chunk.D5CFOPIE.js";import{a as K,c as N}from"./chunk.N5AZOOIZ.js";import{a as at}from"./chunk.5LGTKAEH.js";import{b as _}from"./chunk.IIHX5LOR.js";import{b as h}from"./chunk.E6MOE4FE.js";function d(i,e){vt(i)&&(i="100%");let t=yt(i);return i=e===360?i:Math.min(e,Math.max(0,parseFloat(i))),t&&(i=parseInt(String(i*e),10)/100),Math.abs(i-e)<1e-6?1:(e===360?i=(i<0?i%e+e:i%e)/parseFloat(String(e)):i=i%e/parseFloat(String(e)),i)}function C(i){return Math.min(1,Math.max(0,i))}function vt(i){return typeof i=="string"&&i.indexOf(".")!==-1&&parseFloat(i)===1}function yt(i){return typeof i=="string"&&i.indexOf("%")!==-1}function L(i){return i=parseFloat(i),(isNaN(i)||i<0||i>1)&&(i=1),i}function A(i){return Number(i)<=1?`${Number(i)*100}%`:i}function $(i){return i.length===1?"0"+i:String(i)}function lt(i,e,t){return{r:d(i,255)*255,g:d(e,255)*255,b:d(t,255)*255}}function Y(i,e,t){i=d(i,255),e=d(e,255),t=d(t,255);let r=Math.max(i,e,t),s=Math.min(i,e,t),a=0,n=0,o=(r+s)/2;if(r===s)n=0,a=0;else{let p=r-s;switch(n=o>.5?p/(2-r-s):p/(r+s),r){case i:a=(e-t)/p+(e<t?6:0);break;case e:a=(t-i)/p+2;break;case t:a=(i-e)/p+4;break;default:break}a/=6}return{h:a,s:n,l:o}}function q(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*(6*t):t<1/2?e:t<2/3?i+(e-i)*(2/3-t)*6:i}function ht(i,e,t){let r,s,a;if(i=d(i,360),e=d(e,100),t=d(t,100),e===0)s=t,a=t,r=t;else{let n=t<.5?t*(1+e):t+e-t*e,o=2*t-n;r=q(o,n,i+1/3),s=q(o,n,i),a=q(o,n,i-1/3)}return{r:r*255,g:s*255,b:a*255}}function j(i,e,t){i=d(i,255),e=d(e,255),t=d(t,255);let r=Math.max(i,e,t),s=Math.min(i,e,t),a=0,n=r,o=r-s,p=r===0?0:o/r;if(r===s)a=0;else{switch(r){case i:a=(e-t)/o+(e<t?6:0);break;case e:a=(t-i)/o+2;break;case t:a=(i-e)/o+4;break;default:break}a/=6}return{h:a,s:p,v:n}}function ut(i,e,t){i=d(i,360)*6,e=d(e,100),t=d(t,100);let r=Math.floor(i),s=i-r,a=t*(1-e),n=t*(1-s*e),o=t*(1-(1-s)*e),p=r%6,b=[t,n,a,a,o,t][p],u=[o,t,t,n,a,a][p],H=[a,a,o,t,t,n][p];return{r:b*255,g:u*255,b:H*255}}function O(i,e,t,r){let s=[$(Math.round(i).toString(16)),$(Math.round(e).toString(16)),$(Math.round(t).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function ct(i,e,t,r,s){let a=[$(Math.round(i).toString(16)),$(Math.round(e).toString(16)),$(Math.round(t).toString(16)),$(wt(r))];return s&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function pt(i,e,t,r){let s=i/100,a=e/100,n=t/100,o=r/100,p=255*(1-s)*(1-o),b=255*(1-a)*(1-o),u=255*(1-n)*(1-o);return{r:p,g:b,b:u}}function G(i,e,t){let r=1-i/255,s=1-e/255,a=1-t/255,n=Math.min(r,s,a);return n===1?(r=0,s=0,a=0):(r=(r-n)/(1-n)*100,s=(s-n)/(1-n)*100,a=(a-n)/(1-n)*100),n*=100,{c:Math.round(r),m:Math.round(s),y:Math.round(a),k:Math.round(n)}}function wt(i){return Math.round(parseFloat(i)*255).toString(16)}function U(i){return g(i)/255}function g(i){return parseInt(i,16)}function dt(i){return{r:i>>16,g:(i&65280)>>8,b:i&255}}var V={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ft(i){let e={r:0,g:0,b:0},t=1,r=null,s=null,a=null,n=!1,o=!1;return typeof i=="string"&&(i=$t(i)),typeof i=="object"&&(v(i.r)&&v(i.g)&&v(i.b)?(e=lt(i.r,i.g,i.b),n=!0,o=String(i.r).substr(-1)==="%"?"prgb":"rgb"):v(i.h)&&v(i.s)&&v(i.v)?(r=A(i.s),s=A(i.v),e=ut(i.h,r,s),n=!0,o="hsv"):v(i.h)&&v(i.s)&&v(i.l)?(r=A(i.s),a=A(i.l),e=ht(i.h,r,a),n=!0,o="hsl"):v(i.c)&&v(i.m)&&v(i.y)&&v(i.k)&&(e=pt(i.c,i.m,i.y,i.k),n=!0,o="cmyk"),Object.prototype.hasOwnProperty.call(i,"a")&&(t=i.a)),t=L(t),{ok:n,format:i.format||o,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}var xt="[-\\+]?\\d+%?",kt="[-\\+]?\\d*\\.\\d+%?",M="(?:"+kt+")|(?:"+xt+")",X="[\\s|\\(]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")\\s*\\)?",I="[\\s|\\(]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")[,|\\s]+("+M+")\\s*\\)?",y={CSS_UNIT:new RegExp(M),rgb:new RegExp("rgb"+X),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+X),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+X),hsva:new RegExp("hsva"+I),cmyk:new RegExp("cmyk"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function $t(i){if(i=i.trim().toLowerCase(),i.length===0)return!1;let e=!1;if(V[i])i=V[i],e=!0;else if(i==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=y.rgb.exec(i);return t?{r:t[1],g:t[2],b:t[3]}:(t=y.rgba.exec(i),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=y.hsl.exec(i),t?{h:t[1],s:t[2],l:t[3]}:(t=y.hsla.exec(i),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=y.hsv.exec(i),t?{h:t[1],s:t[2],v:t[3]}:(t=y.hsva.exec(i),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=y.cmyk.exec(i),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=y.hex8.exec(i),t?{r:g(t[1]),g:g(t[2]),b:g(t[3]),a:U(t[4]),format:e?"name":"hex8"}:(t=y.hex6.exec(i),t?{r:g(t[1]),g:g(t[2]),b:g(t[3]),format:e?"name":"hex"}:(t=y.hex4.exec(i),t?{r:g(t[1]+t[1]),g:g(t[2]+t[2]),b:g(t[3]+t[3]),a:U(t[4]+t[4]),format:e?"name":"hex8"}:(t=y.hex3.exec(i),t?{r:g(t[1]+t[1]),g:g(t[2]+t[2]),b:g(t[3]+t[3]),format:e?"name":"hex"}:!1))))))))))}function v(i){return typeof i=="number"?!Number.isNaN(i):y.CSS_UNIT.test(i)}var R=class i{constructor(e="",t={}){if(e instanceof i)return e;typeof e=="number"&&(e=dt(e)),this.originalInput=e;let r=ft(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??r.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){let e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3}getLuminance(){let e=this.toRgb(),t,r,s,a=e.r/255,n=e.g/255,o=e.b/255;return a<=.03928?t=a/12.92:t=Math.pow((a+.055)/1.055,2.4),n<=.03928?r=n/12.92:r=Math.pow((n+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*t+.7152*r+.0722*s}getAlpha(){return this.a}setAlpha(e){return this.a=L(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){let{s:e}=this.toHsl();return e===0}toHsv(){let e=j(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}}toHsvString(){let e=j(this.r,this.g,this.b),t=Math.round(e.h*360),r=Math.round(e.s*100),s=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${r}%, ${s}%)`:`hsva(${t}, ${r}%, ${s}%, ${this.roundA})`}toHsl(){let e=Y(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}}toHslString(){let e=Y(this.r,this.g,this.b),t=Math.round(e.h*360),r=Math.round(e.s*100),s=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${r}%, ${s}%)`:`hsla(${t}, ${r}%, ${s}%, ${this.roundA})`}toHex(e=!1){return O(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return ct(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return this.a===1?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){let e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${r})`:`rgba(${e}, ${t}, ${r}, ${this.roundA})`}toPercentageRgb(){let e=t=>`${Math.round(d(t,255)*100)}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){let e=t=>Math.round(d(t,255)*100);return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...G(this.r,this.g,this.b)}}toCmykString(){let{c:e,m:t,y:r,k:s}=G(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${r}, ${s})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;let e="#"+O(this.r,this.g,this.b,!1);for(let[t,r]of Object.entries(V))if(e===r)return t;return!1}toString(e){let t=!!e;e=e??this.format;let r=!1,s=this.a<1&&this.a>=0;return!t&&s&&(e.startsWith("hex")||e==="name")?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(r=this.toRgbString()),e==="prgb"&&(r=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(r=this.toHexString()),e==="hex3"&&(r=this.toHexString(!0)),e==="hex4"&&(r=this.toHex8String(!0)),e==="hex8"&&(r=this.toHex8String()),e==="name"&&(r=this.toName()),e==="hsl"&&(r=this.toHslString()),e==="hsv"&&(r=this.toHsvString()),e==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new i(this.toString())}lighten(e=10){let t=this.toHsl();return t.l+=e/100,t.l=C(t.l),new i(t)}brighten(e=10){let t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new i(t)}darken(e=10){let t=this.toHsl();return t.l-=e/100,t.l=C(t.l),new i(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){let t=this.toHsl();return t.s-=e/100,t.s=C(t.s),new i(t)}saturate(e=10){let t=this.toHsl();return t.s+=e/100,t.s=C(t.s),new i(t)}greyscale(){return this.desaturate(100)}spin(e){let t=this.toHsl(),r=(t.h+e)%360;return t.h=r<0?360+r:r,new i(t)}mix(e,t=50){let r=this.toRgb(),s=new i(e).toRgb(),a=t/100,n={r:(s.r-r.r)*a+r.r,g:(s.g-r.g)*a+r.g,b:(s.b-r.b)*a+r.b,a:(s.a-r.a)*a+r.a};return new i(n)}analogous(e=6,t=30){let r=this.toHsl(),s=360/t,a=[this];for(r.h=(r.h-(s*e>>1)+720)%360;--e;)r.h=(r.h+s)%360,a.push(new i(r));return a}complement(){let e=this.toHsl();return e.h=(e.h+180)%360,new i(e)}monochromatic(e=6){let t=this.toHsv(),{h:r}=t,{s}=t,{v:a}=t,n=[],o=1/e;for(;e--;)n.push(new i({h:r,s,v:a})),a=(a+o)%1;return n}splitcomplement(){let e=this.toHsl(),{h:t}=e;return[this,new i({h:(t+72)%360,s:e.s,l:e.l}),new i({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){let t=this.toRgb(),r=new i(e).toRgb(),s=t.a+r.a*(1-t.a);return new i({r:(t.r*t.a+r.r*r.a*(1-t.a))/s,g:(t.g*t.a+r.g*r.a*(1-t.a))/s,b:(t.b*t.a+r.b*r.a*(1-t.a))/s,a:s})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){let t=this.toHsl(),{h:r}=t,s=[this],a=360/e;for(let n=1;n<e;n++)s.push(new i({h:(r+n*a)%360,s:t.s,l:t.l}));return s}equals(e){let t=new i(e);return this.format==="cmyk"||t.format==="cmyk"?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}};var gt=`:host {
|
|
2
2
|
--grid-width: 17em;
|
|
3
3
|
--grid-height: 12em;
|
|
4
4
|
--grid-handle-size: 1.25em;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./chunk.W5PM7F34.js";import{a as d}from"./chunk.BSQP4EKW.js";import{a as n}from"./chunk.KKVT4LHX.js";import{a,b as e,c as t,g as s}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as h}from"./chunk.W5PM7F34.js";import{a as d}from"./chunk.BSQP4EKW.js";import{a as n}from"./chunk.KKVT4LHX.js";import{a,b as e,c as t,g as s}from"./chunk.NYYTSWQF.js";import{d as l}from"./chunk.2N5ZK4F4.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as i}from"./chunk.H2EOXVSZ.js";import{b as r}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Rt}from"./chunk.KKVT4LHX.js";import{a as Pt,b as A,e as Et,g as kt}from"./chunk.NYYTSWQF.js";import{a as Bt}from"./chunk.U2DNK7H4.js";import{a as Dt}from"./chunk.E4QLFQIH.js";import{d as At}from"./chunk.2N5ZK4F4.js";import{b as x}from"./chunk.E6MOE4FE.js";var V=Math.min,C=Math.max,lt=Math.round,at=Math.floor,$=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},we={start:"end",end:"start"};function ht(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}var be=new Set(["top","bottom"]);function W(t){return be.has(X(t))?"y":"x"}function pt(t){return St(W(t))}function Nt(t,e,n){n===void 0&&(n=!1);let o=Q(t),i=pt(t),r=mt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Ft(t){let e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>we[e])}var $t=["left","right"],Mt=["right","left"],ve=["top","bottom"],xe=["bottom","top"];function Ae(t,e,n){switch(t){case"top":case"bottom":return n?e?Mt:$t:e?$t:Mt;case"left":case"right":return e?ve:xe;default:return[]}}function Ht(t,e,n,o){let i=Q(t),r=Ae(X(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ot(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function Z(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Vt(t,e,n){let{reference:o,floating:i}=t,r=W(e),s=pt(e),l=mt(s),c=X(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2,d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}var Wt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Vt(a,o,c),h=o,d={},m=0;for(let g=0;g<l.length;g++){let{name:y,fn:p}=l[g],{x:w,y:v,data:R,reset:E}=await p({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=v??u,d={...d,[y]:{...d[y],...R}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:u}=Vt(a,h,c)),g=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function gt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=J(e,t),m=Ot(d),y=l[h?u==="floating"?"reference":"floating":u],p=Z(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(y)))==null||n?y:y.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Z(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:v,strategy:c}):w);return{top:(p.top-E.top+m.top)/R.y,bottom:(E.bottom-p.bottom+m.bottom)/R.y,left:(p.left-E.left+m.left)/R.x,right:(E.right-p.right+m.right)/R.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=J(t,e)||{};if(a==null)return{};let u=Ot(f),h={x:n,y:o},d=pt(i),m=mt(d),g=await s.getDimensions(a),y=d==="y",p=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[d]-h[d]-r.floating[m],E=h[d]-r.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),S=k?k[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(k)))&&(S=l.floating[v]||r.floating[m]);let _=R/2-E/2,F=S/2-g[m]/2-1,L=V(u[p],F),q=V(u[w],F),H=L,U=S-g[m]-q,O=S/2-g[m]/2+_,G=ht(H,O,U),j=!c.arrow&&Q(i)!=null&&O!==G&&r.reference[m]/2-(O<H?L:q)-g[m]/2<0,B=j?O<H?O-H:O-U:0;return{[d]:h[d]+B,data:{[d]:G,centerOffset:O-G-B,...j&&{alignmentOffset:B}},reset:j}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(i),w=W(l),v=X(l)===l,R=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=h||(v||!g?[st(l)]:Ft(l)),k=m!=="none";!h&&k&&E.push(...Ht(l,g,m,R));let S=[l,...E],_=await gt(e,y),F=[],L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&F.push(_[p]),u){let O=Nt(i,s,R);F.push(_[O[0]],_[O[1]])}if(L=[...L,{placement:i,overflows:F}],!F.every(O=>O<=0)){var q,H;let O=(((q=r.flip)==null?void 0:q.index)||0)+1,G=S[O];if(G&&(!(u==="alignment"?w!==W(G):!1)||L.every(D=>W(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:G}};let j=(H=L.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(d){case"bestFit":{var U;let B=(U=L.filter(D=>{if(k){let K=W(D.placement);return K===w||K==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(K=>K>0).reduce((K,ge)=>K+ge,0)]).sort((D,K)=>D[1]-K[1])[0])==null?void 0:U[0];B&&(j=B);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};var Re=new Set(["left","top"]);async function Se(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=X(n),l=Q(n),c=W(n)==="y",a=Re.has(s)?-1:1,f=r&&c?-1:1,u=J(e,t),{mainAxis:h,crossAxis:d,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}var Xt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:l}=e,c=await Se(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:p,y:w}=y;return{x:p,y:w}}},...c}=J(t,e),a={x:n,y:o},f=await gt(e,c),u=W(X(i)),h=St(u),d=a[h],m=a[u];if(r){let y=h==="y"?"top":"left",p=h==="y"?"bottom":"right",w=d+f[y],v=d-f[p];d=ht(w,d,v)}if(s){let y=u==="y"?"top":"left",p=u==="y"?"bottom":"right",w=m+f[y],v=m-f[p];m=ht(w,m,v)}let g=l.fn({...e,[h]:d,[u]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:r,[u]:s}}}}}};var It=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:r,platform:s,elements:l}=e,{apply:c=()=>{},...a}=J(t,e),f=await gt(e,a),u=X(i),h=Q(i),d=W(i)==="y",{width:m,height:g}=r.floating,y,p;u==="top"||u==="bottom"?(y=u,p=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=u,y=h==="end"?"top":"bottom");let w=g-f.top-f.bottom,v=m-f.left-f.right,R=V(g-f[y],w),E=V(m-f[p],v),k=!e.middlewareData.shift,S=R,_=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(S=w),k&&!h){let L=C(f.left,0),q=C(f.right,0),H=C(f.top,0),U=C(f.bottom,0);d?_=m-2*(L!==0||q!==0?L+q:C(f.left,f.right)):S=g-2*(H!==0||U!==0?H+U:C(f.top,f.bottom))}await c({...e,availableWidth:_,availableHeight:S});let F=await s.getDimensions(l.floating);return m!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window<"u"}function tt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function M(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function ot(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Oe.has(i)}var Ce=new Set(["table","td","th"]);function Kt(t){return Ce.has(tt(t))}var Te=[":popover-open",":modal"];function ct(t){return Te.some(e=>{try{return t.matches(e)}catch{return!1}})}var Le=["transform","translate","scale","rotate","perspective"],ze=["transform","translate","scale","rotate","perspective","filter"],Pe=["paint","layout","strict","content"];function it(t){let e=wt(),n=z(t)?P(t):t;return Le.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ze.some(o=>(n.willChange||"").includes(o))||Pe.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=Y(t);for(;N(e)&&!et(e);){if(it(e))return e;if(ct(e))return null;e=Y(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var ke=new Set(["html","body","#document"]);function et(t){return ke.has(tt(t))}function P(t){return T(t).getComputedStyle(t)}function ft(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||M(t);return qt(e)?e.host:e}function Jt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ot(e)?e:Jt(e)}function I(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=T(i);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ot(i)?i:[],l&&n?I(l):[])}return e.concat(i,I(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=P(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=lt(n)!==r||lt(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function Tt(t){return z(t)?t:t.contextElement}function rt(t){let e=Tt(t);if(!N(e))return $(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=ee(e),s=(r?lt(n.width):n.width)/o,l=(r?lt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Be=$(0);function ne(t){let e=T(t);return!wt()||!e.visualViewport?Be:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function De(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=Tt(t),s=$(1);e&&(o?z(o)&&(s=rt(o)):s=rt(t));let l=De(r,n,o)?ne(r):$(0),c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){let h=T(r),d=o&&z(o)?T(o):o,m=h,g=bt(m);for(;g&&o&&d!==m;){let y=rt(g),p=g.getBoundingClientRect(),w=P(g),v=p.left+(g.clientLeft+parseFloat(w.paddingLeft))*y.x,R=p.top+(g.clientTop+parseFloat(w.paddingTop))*y.y;c*=y.x,a*=y.y,f*=y.x,u*=y.y,c+=v,a+=R,m=T(g),g=bt(m)}}return Z({width:f,height:u,x:c,y:a})}function vt(t,e){let n=ft(t).scrollLeft;return e?e.left+n:nt(M(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-vt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function $e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=M(o),l=e?ct(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),u=N(o);if((u||!u&&!r)&&((tt(o)!=="body"||ot(s))&&(c=ft(o)),N(o))){let d=nt(o);a=rt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}let h=s&&!u&&!r?oe(s,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function Me(t){return Array.from(t.getClientRects())}function Ne(t){let e=M(t),n=ft(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+vt(t),l=-n.scrollTop;return P(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}var Qt=25;function Fe(t,e){let n=T(t),o=M(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;let f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}let a=vt(o);if(a<=0){let f=o.ownerDocument,u=f.body,h=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-u.clientWidth-d);m<=Qt&&(r-=m)}else a<=Qt&&(r+=a);return{width:r,height:s,x:l,y:c}}var He=new Set(["absolute","fixed"]);function Ve(t,e){let n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?rt(t):$(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function Zt(t,e,n){let o;if(e==="viewport")o=Fe(t,n);else if(e==="document")o=Ne(M(t));else if(z(e))o=Ve(e,n);else{let i=ne(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Z(o)}function ie(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:P(n).position==="fixed"||ie(n,e)}function We(t,e){let n=e.get(t);if(n)return n;let o=I(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),i=null,r=P(t).position==="fixed",s=r?Y(t):t;for(;z(s)&&!et(s);){let l=P(s),c=it(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&He.has(i.position)||ot(s)&&!c&&ie(t,s))?o=o.filter(f=>f!==s):i=l,s=Y(s)}return e.set(t,o),o}function _e(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?ct(e)?[]:We(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,f)=>{let u=Zt(e,f,i);return a.top=C(u.top,a.top),a.right=V(u.right,a.right),a.bottom=V(u.bottom,a.bottom),a.left=C(u.left,a.left),a},Zt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Xe(t,e,n){let o=N(e),i=M(e),r=n==="fixed",s=nt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=vt(i)}if(o||!o&&!r)if((tt(e)!=="body"||ot(i))&&(l=ft(e)),o){let d=nt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();let f=i&&!o&&!r?oe(i,l):$(0),u=s.left+l.scrollLeft-c.x-f.x,h=s.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function Ct(t){return P(t).position==="static"}function te(t,e){if(!N(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ct(t))return n;if(!N(t)){let i=Y(t);for(;i&&!et(i);){if(z(i)&&!Ct(i))return i;i=Y(i)}return n}let o=te(t,e);for(;o&&Kt(o)&&Ct(o);)o=te(o,e);return o&&et(o)&&Ct(o)&&!it(o)?n:o||Gt(t)||n}var Ye=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,o=await n(t.floating);return{reference:Xe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ie(t){return P(t).direction==="rtl"}var ut={convertOffsetParentRelativeRectToViewportRelativeRect:$e,getDocumentElement:M,getClippingRect:_e,getOffsetParent:re,getElementRects:Ye,getClientRects:Me,getDimensions:je,getScale:rt,isElement:z,isRTL:Ie};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qe(t,e){let n=null,o,i=M(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();let a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;let m=at(u),g=at(i.clientWidth-(f+h)),y=at(i.clientHeight-(u+d)),p=at(f),v={rootMargin:-m+"px "+-g+"px "+-y+"px "+-p+"px",threshold:C(0,V(1,c))||1},R=!0;function E(k){let S=k[0].intersectionRatio;if(S!==c){if(!R)return s();S?s(!1,S):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=Tt(t),f=i||r?[...a?I(a):[],...I(e)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u=a&&l?qe(a,n):null,h=-1,d=null;s&&(d=new ResizeObserver(p=>{let[w]=p;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let m,g=c?nt(t):null;c&&y();function y(){let p=nt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(y)}return n(),()=>{var p;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(p=d)==null||p.disconnect(),d=null,c&&cancelAnimationFrame(m)}}var ae=Xt;var ce=Yt,fe=jt,Lt=It;var ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:ut,...n},r={...i.platform,_c:o};return Wt(t,e,{...i,platform:r})};function he(t){return Ue(t)}function zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ue(t){for(let e=t;e;e=zt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zt(t);e;e=zt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||it(n)||e.tagName==="BODY"))return e}return null}var me=`/*! Popup is a low\u2010level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML. */
|
|
1
|
+
import{a as Rt}from"./chunk.KKVT4LHX.js";import{a as Pt,b as A,e as Et,g as kt}from"./chunk.NYYTSWQF.js";import{d as At}from"./chunk.2N5ZK4F4.js";import{a as Bt}from"./chunk.U2DNK7H4.js";import{a as Dt}from"./chunk.5LGTKAEH.js";import{b as x}from"./chunk.E6MOE4FE.js";var V=Math.min,C=Math.max,lt=Math.round,at=Math.floor,$=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},we={start:"end",end:"start"};function ht(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}var be=new Set(["top","bottom"]);function W(t){return be.has(X(t))?"y":"x"}function pt(t){return St(W(t))}function Nt(t,e,n){n===void 0&&(n=!1);let o=Q(t),i=pt(t),r=mt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Ft(t){let e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>we[e])}var $t=["left","right"],Mt=["right","left"],ve=["top","bottom"],xe=["bottom","top"];function Ae(t,e,n){switch(t){case"top":case"bottom":return n?e?Mt:$t:e?$t:Mt;case"left":case"right":return e?ve:xe;default:return[]}}function Ht(t,e,n,o){let i=Q(t),r=Ae(X(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ot(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function Z(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Vt(t,e,n){let{reference:o,floating:i}=t,r=W(e),s=pt(e),l=mt(s),c=X(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2,d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}var Wt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Vt(a,o,c),h=o,d={},m=0;for(let g=0;g<l.length;g++){let{name:y,fn:p}=l[g],{x:w,y:v,data:R,reset:E}=await p({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=v??u,d={...d,[y]:{...d[y],...R}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:u}=Vt(a,h,c)),g=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function gt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=J(e,t),m=Ot(d),y=l[h?u==="floating"?"reference":"floating":u],p=Z(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(y)))==null||n?y:y.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Z(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:v,strategy:c}):w);return{top:(p.top-E.top+m.top)/R.y,bottom:(E.bottom-p.bottom+m.bottom)/R.y,left:(p.left-E.left+m.left)/R.x,right:(E.right-p.right+m.right)/R.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=J(t,e)||{};if(a==null)return{};let u=Ot(f),h={x:n,y:o},d=pt(i),m=mt(d),g=await s.getDimensions(a),y=d==="y",p=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[d]-h[d]-r.floating[m],E=h[d]-r.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),S=k?k[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(k)))&&(S=l.floating[v]||r.floating[m]);let _=R/2-E/2,F=S/2-g[m]/2-1,L=V(u[p],F),q=V(u[w],F),H=L,U=S-g[m]-q,O=S/2-g[m]/2+_,G=ht(H,O,U),j=!c.arrow&&Q(i)!=null&&O!==G&&r.reference[m]/2-(O<H?L:q)-g[m]/2<0,B=j?O<H?O-H:O-U:0;return{[d]:h[d]+B,data:{[d]:G,centerOffset:O-G-B,...j&&{alignmentOffset:B}},reset:j}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(i),w=W(l),v=X(l)===l,R=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=h||(v||!g?[st(l)]:Ft(l)),k=m!=="none";!h&&k&&E.push(...Ht(l,g,m,R));let S=[l,...E],_=await gt(e,y),F=[],L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&F.push(_[p]),u){let O=Nt(i,s,R);F.push(_[O[0]],_[O[1]])}if(L=[...L,{placement:i,overflows:F}],!F.every(O=>O<=0)){var q,H;let O=(((q=r.flip)==null?void 0:q.index)||0)+1,G=S[O];if(G&&(!(u==="alignment"?w!==W(G):!1)||L.every(D=>W(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:G}};let j=(H=L.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(d){case"bestFit":{var U;let B=(U=L.filter(D=>{if(k){let K=W(D.placement);return K===w||K==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(K=>K>0).reduce((K,ge)=>K+ge,0)]).sort((D,K)=>D[1]-K[1])[0])==null?void 0:U[0];B&&(j=B);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};var Re=new Set(["left","top"]);async function Se(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=X(n),l=Q(n),c=W(n)==="y",a=Re.has(s)?-1:1,f=r&&c?-1:1,u=J(e,t),{mainAxis:h,crossAxis:d,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}var Xt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:l}=e,c=await Se(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:p,y:w}=y;return{x:p,y:w}}},...c}=J(t,e),a={x:n,y:o},f=await gt(e,c),u=W(X(i)),h=St(u),d=a[h],m=a[u];if(r){let y=h==="y"?"top":"left",p=h==="y"?"bottom":"right",w=d+f[y],v=d-f[p];d=ht(w,d,v)}if(s){let y=u==="y"?"top":"left",p=u==="y"?"bottom":"right",w=m+f[y],v=m-f[p];m=ht(w,m,v)}let g=l.fn({...e,[h]:d,[u]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:r,[u]:s}}}}}};var It=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:r,platform:s,elements:l}=e,{apply:c=()=>{},...a}=J(t,e),f=await gt(e,a),u=X(i),h=Q(i),d=W(i)==="y",{width:m,height:g}=r.floating,y,p;u==="top"||u==="bottom"?(y=u,p=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=u,y=h==="end"?"top":"bottom");let w=g-f.top-f.bottom,v=m-f.left-f.right,R=V(g-f[y],w),E=V(m-f[p],v),k=!e.middlewareData.shift,S=R,_=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(S=w),k&&!h){let L=C(f.left,0),q=C(f.right,0),H=C(f.top,0),U=C(f.bottom,0);d?_=m-2*(L!==0||q!==0?L+q:C(f.left,f.right)):S=g-2*(H!==0||U!==0?H+U:C(f.top,f.bottom))}await c({...e,availableWidth:_,availableHeight:S});let F=await s.getDimensions(l.floating);return m!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window<"u"}function tt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function M(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function ot(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Oe.has(i)}var Ce=new Set(["table","td","th"]);function Kt(t){return Ce.has(tt(t))}var Te=[":popover-open",":modal"];function ct(t){return Te.some(e=>{try{return t.matches(e)}catch{return!1}})}var Le=["transform","translate","scale","rotate","perspective"],ze=["transform","translate","scale","rotate","perspective","filter"],Pe=["paint","layout","strict","content"];function it(t){let e=wt(),n=z(t)?P(t):t;return Le.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ze.some(o=>(n.willChange||"").includes(o))||Pe.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=Y(t);for(;N(e)&&!et(e);){if(it(e))return e;if(ct(e))return null;e=Y(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var ke=new Set(["html","body","#document"]);function et(t){return ke.has(tt(t))}function P(t){return T(t).getComputedStyle(t)}function ft(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||M(t);return qt(e)?e.host:e}function Jt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ot(e)?e:Jt(e)}function I(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=T(i);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ot(i)?i:[],l&&n?I(l):[])}return e.concat(i,I(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=P(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=lt(n)!==r||lt(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function Tt(t){return z(t)?t:t.contextElement}function rt(t){let e=Tt(t);if(!N(e))return $(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=ee(e),s=(r?lt(n.width):n.width)/o,l=(r?lt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Be=$(0);function ne(t){let e=T(t);return!wt()||!e.visualViewport?Be:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function De(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=Tt(t),s=$(1);e&&(o?z(o)&&(s=rt(o)):s=rt(t));let l=De(r,n,o)?ne(r):$(0),c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){let h=T(r),d=o&&z(o)?T(o):o,m=h,g=bt(m);for(;g&&o&&d!==m;){let y=rt(g),p=g.getBoundingClientRect(),w=P(g),v=p.left+(g.clientLeft+parseFloat(w.paddingLeft))*y.x,R=p.top+(g.clientTop+parseFloat(w.paddingTop))*y.y;c*=y.x,a*=y.y,f*=y.x,u*=y.y,c+=v,a+=R,m=T(g),g=bt(m)}}return Z({width:f,height:u,x:c,y:a})}function vt(t,e){let n=ft(t).scrollLeft;return e?e.left+n:nt(M(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-vt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function $e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=M(o),l=e?ct(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),u=N(o);if((u||!u&&!r)&&((tt(o)!=="body"||ot(s))&&(c=ft(o)),N(o))){let d=nt(o);a=rt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}let h=s&&!u&&!r?oe(s,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function Me(t){return Array.from(t.getClientRects())}function Ne(t){let e=M(t),n=ft(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+vt(t),l=-n.scrollTop;return P(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}var Qt=25;function Fe(t,e){let n=T(t),o=M(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;let f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}let a=vt(o);if(a<=0){let f=o.ownerDocument,u=f.body,h=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-u.clientWidth-d);m<=Qt&&(r-=m)}else a<=Qt&&(r+=a);return{width:r,height:s,x:l,y:c}}var He=new Set(["absolute","fixed"]);function Ve(t,e){let n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?rt(t):$(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function Zt(t,e,n){let o;if(e==="viewport")o=Fe(t,n);else if(e==="document")o=Ne(M(t));else if(z(e))o=Ve(e,n);else{let i=ne(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Z(o)}function ie(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:P(n).position==="fixed"||ie(n,e)}function We(t,e){let n=e.get(t);if(n)return n;let o=I(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),i=null,r=P(t).position==="fixed",s=r?Y(t):t;for(;z(s)&&!et(s);){let l=P(s),c=it(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&He.has(i.position)||ot(s)&&!c&&ie(t,s))?o=o.filter(f=>f!==s):i=l,s=Y(s)}return e.set(t,o),o}function _e(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?ct(e)?[]:We(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,f)=>{let u=Zt(e,f,i);return a.top=C(u.top,a.top),a.right=V(u.right,a.right),a.bottom=V(u.bottom,a.bottom),a.left=C(u.left,a.left),a},Zt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Xe(t,e,n){let o=N(e),i=M(e),r=n==="fixed",s=nt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=vt(i)}if(o||!o&&!r)if((tt(e)!=="body"||ot(i))&&(l=ft(e)),o){let d=nt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();let f=i&&!o&&!r?oe(i,l):$(0),u=s.left+l.scrollLeft-c.x-f.x,h=s.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function Ct(t){return P(t).position==="static"}function te(t,e){if(!N(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ct(t))return n;if(!N(t)){let i=Y(t);for(;i&&!et(i);){if(z(i)&&!Ct(i))return i;i=Y(i)}return n}let o=te(t,e);for(;o&&Kt(o)&&Ct(o);)o=te(o,e);return o&&et(o)&&Ct(o)&&!it(o)?n:o||Gt(t)||n}var Ye=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,o=await n(t.floating);return{reference:Xe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ie(t){return P(t).direction==="rtl"}var ut={convertOffsetParentRelativeRectToViewportRelativeRect:$e,getDocumentElement:M,getClippingRect:_e,getOffsetParent:re,getElementRects:Ye,getClientRects:Me,getDimensions:je,getScale:rt,isElement:z,isRTL:Ie};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qe(t,e){let n=null,o,i=M(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();let a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;let m=at(u),g=at(i.clientWidth-(f+h)),y=at(i.clientHeight-(u+d)),p=at(f),v={rootMargin:-m+"px "+-g+"px "+-y+"px "+-p+"px",threshold:C(0,V(1,c))||1},R=!0;function E(k){let S=k[0].intersectionRatio;if(S!==c){if(!R)return s();S?s(!1,S):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=Tt(t),f=i||r?[...a?I(a):[],...I(e)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u=a&&l?qe(a,n):null,h=-1,d=null;s&&(d=new ResizeObserver(p=>{let[w]=p;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let m,g=c?nt(t):null;c&&y();function y(){let p=nt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(y)}return n(),()=>{var p;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(p=d)==null||p.disconnect(),d=null,c&&cancelAnimationFrame(m)}}var ae=Xt;var ce=Yt,fe=jt,Lt=It;var ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:ut,...n},r={...i.platform,_c:o};return Wt(t,e,{...i,platform:r})};function he(t){return Ue(t)}function zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ue(t){for(let e=t;e;e=zt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zt(t);e;e=zt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||it(n)||e.tagName==="BODY"))return e}return null}var me=`/*! Popup is a low\u2010level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML. */
|
|
2
2
|
|
|
3
3
|
:host {
|
|
4
4
|
--arrow-color: var(--pc-color-neutral-fill-normal);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk.
|
|
1
|
+
import{a as r}from"./chunk.ZPHZCJBG.js";var o={$code:"de",$name:"Deutsch",$dir:"ltr",carousel:"Karussell",clearEntry:"Eingabe l\xF6schen",close:"Schlie\xDFen",copied:"Kopiert!",copy:"Kopieren",currentValue:"Aktueller Wert",error:"Fehler",goToSlide:(e,l)=>`Gehe zu Folie ${e} von ${l}`,hidePassword:"Passwort verbergen",hue:"Farbton",loading:"Wird geladen\u202F\u2026",nextSlide:"N\xE4chste Folie",numOptionsSelected:e=>e===0?"Keine Optionen ausgew\xE4hlt":e===1?"Eine Option ausgew\xE4hlt":`${e} Optionen ausgew\xE4hlt`,opacity:"Deckkraft",pickAColorFromTheScreen:"Farbe vom Bildschirm ausw\xE4hlen",previousSlide:"Vorherige Folie",progress:"Fortschritt",remove:"Entfernen",resize:"Gr\xF6\xDFe \xE4ndern",scrollableRegion:"Scrollbarer Bereich",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",showPassword:"Passwort anzeigen",slideNum:e=>`Folie ${e}`,toggleColorFormat:"Farbformat wechseln"};r(o);var t=o;export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk.RHN4JZ57.js";import{a as r,c as t}from"./chunk.ZPHZCJBG.js";var s=class extends t{};r(n);export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as m}from"./chunk.
|
|
1
|
+
import{a as m}from"./chunk.2P2SQGIO.js";import{a as d}from"./chunk.KKVT4LHX.js";import{a as s,b as a,c as o,g as l}from"./chunk.NYYTSWQF.js";import{d as r}from"./chunk.2N5ZK4F4.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{b as i}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
--size: 3rem;
|
|
3
3
|
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g}from"./chunk.
|
|
1
|
+
import{a as g}from"./chunk.2P2SQGIO.js";import{a as k}from"./chunk.ZZIEMICG.js";import{a as $}from"./chunk.W5PM7F34.js";import{a as r}from"./chunk.XESREUP5.js";import{a as x}from"./chunk.BSQP4EKW.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as C}from"./chunk.7YEJIK24.js";import{a as d,b as o,c as m,e as f,g as b}from"./chunk.NYYTSWQF.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{a as l}from"./chunk.U2DNK7H4.js";import{a as c}from"./chunk.H2EOXVSZ.js";import{a as w}from"./chunk.D5CFOPIE.js";import{a as _}from"./chunk.5LGTKAEH.js";import{b as y}from"./chunk.IIHX5LOR.js";import{b as t}from"./chunk.E6MOE4FE.js";var V=`:host {
|
|
2
2
|
border-width: 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o}from"./chunk.KKVT4LHX.js";import{a as r,b as a,g as s}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as o}from"./chunk.KKVT4LHX.js";import{a as r,b as a,g as s}from"./chunk.NYYTSWQF.js";import{d as i}from"./chunk.2N5ZK4F4.js";import{a as l}from"./chunk.H2EOXVSZ.js";import{b as e}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
display: none;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as K}from"./chunk.KWVZRE3E.js";import{a as J,b as S,e as O,g as U}from"./chunk.NYYTSWQF.js";import{a as I}from"./chunk.H2EOXVSZ.js";import{d as $}from"./chunk.2N5ZK4F4.js";import{b as w}from"./chunk.E6MOE4FE.js";var W=null,V=class{};V.render=function(d,H){W(d,H)};self.QrCreator=V;(function(d){function H(M,o,n,s){var r={},t=d(n,o);t.u(M),t.J(),s=s||0;var u=t.h(),i=t.h()+2*s;return r.text=M,r.level=o,r.version=n,r.O=i,r.a=function(f,p){return f-=s,p-=s,0>f||f>=u||0>p||p>=u?!1:t.a(f,p)},r}function R(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a,c,z,A){l?(M.lineTo(h+z,e+A),M.arcTo(h,e,a,c,t)):M.lineTo(h,e)}u?M.moveTo(o+t,n):M.moveTo(o,n),x(i,s,n,s,r,-t,0),x(f,s,r,o,r,0,-t),x(p,o,r,o,n,t,0),x(u,o,n,s,n,0,t)}function C(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a){M.moveTo(l+e,h),M.lineTo(l,h),M.lineTo(l,h+a),M.arcTo(l,h,l+e,h,t)}u&&x(o,n,t,t),i&&x(s,n,-t,t),f&&x(s,r,-t,-t),p&&x(o,r,t,-t)}function N(M,o){var n=o.fill;if(typeof n=="string")M.fillStyle=n;else{var s=n.type,r=n.colorStops;if(n=n.position.map(u=>Math.round(u*o.size)),s==="linear-gradient")var t=M.createLinearGradient.apply(M,n);else if(s==="radial-gradient")t=M.createRadialGradient.apply(M,n);else throw Error("Unsupported fill");r.forEach(([u,i])=>{t.addColorStop(u,i)}),M.fillStyle=t}}function m(M,o){r:{var n=o.text,s=o.v,r=o.N,t=o.K,u=o.P;for(r=Math.max(1,r||1),t=Math.min(40,t||40);r<=t;r+=1)try{var i=H(n,s,r,u);break r}catch{}i=void 0}if(!i)return null;for(n=M.getContext("2d"),o.background&&(n.fillStyle=o.background,n.fillRect(o.left,o.top,o.size,o.size)),s=i.O,t=o.size/s,n.beginPath(),u=0;u<s;u+=1)for(r=0;r<s;r+=1){var f=n,p=o.left+r*t,x=o.top+u*t,l=u,h=r,e=i.a,a=p+t,c=x+t,z=l-1,A=l+1,y=h-1,v=h+1,L=Math.floor(Math.min(.5,Math.max(0,o.R))*t),E=e(l,h),G=e(z,y),j=e(z,h);z=e(z,v);var B=e(l,v);v=e(A,v),h=e(A,h),A=e(A,y),l=e(l,y),p=Math.round(p),x=Math.round(x),a=Math.round(a),c=Math.round(c),E?R(f,p,x,a,c,L,!j&&!l,!j&&!B,!h&&!B,!h&&!l):C(f,p,x,a,c,L,j&&l&&G,j&&B&&z,h&&B&&v,h&&l&&A)}return N(n,o),n.fill(),M}var T={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};W=function(M,o){var n={};Object.assign(n,T,M),n.N=n.minVersion,n.K=n.maxVersion,n.v=n.ecLevel,n.left=n.left,n.top=n.top,n.size=n.size,n.fill=n.fill,n.background=n.background,n.text=n.text,n.R=n.radius,n.P=n.quiet,o instanceof HTMLCanvasElement?((o.width!==n.size||o.height!==n.size)&&(o.width=n.size,o.height=n.size),o.getContext("2d").clearRect(0,0,o.width,o.height),m(o,n)):(M=document.createElement("canvas"),M.width=n.size,M.height=n.size,n=m(M,n),o.appendChild(n))}})((function(){function d(o){var n=R.s(o);return{S:function(){return 4},b:function(){return n.length},write:function(s){for(var r=0;r<n.length;r+=1)s.put(n[r],8)}}}function H(){var o=[],n=0,s={B:function(){return o},c:function(r){return(o[Math.floor(r/8)]>>>7-r%8&1)==1},put:function(r,t){for(var u=0;u<t;u+=1)s.m((r>>>t-u-1&1)==1)},f:function(){return n},m:function(r){var t=Math.floor(n/8);o.length<=t&&o.push(0),r&&(o[t]|=128>>>n%8),n+=1}};return s}function R(o,n){function s(l,h){for(var e=-1;7>=e;e+=1)if(!(-1>=l+e||i<=l+e))for(var a=-1;7>=a;a+=1)-1>=h+a||i<=h+a||(u[l+e][h+a]=0<=e&&6>=e&&(a==0||a==6)||0<=a&&6>=a&&(e==0||e==6)||2<=e&&4>=e&&2<=a&&4>=a)}function r(l,h){for(var e=i=4*o+17,a=Array(e),c=0;c<e;c+=1){a[c]=Array(e);for(var z=0;z<e;z+=1)a[c][z]=null}for(u=a,s(0,0),s(i-7,0),s(0,i-7),e=m.G(o),a=0;a<e.length;a+=1)for(c=0;c<e.length;c+=1){z=e[a];var A=e[c];if(u[z][A]==null)for(var y=-2;2>=y;y+=1)for(var v=-2;2>=v;v+=1)u[z+y][A+v]=y==-2||y==2||v==-2||v==2||y==0&&v==0}for(e=8;e<i-8;e+=1)u[e][6]==null&&(u[e][6]=e%2==0);for(e=8;e<i-8;e+=1)u[6][e]==null&&(u[6][e]=e%2==0);for(e=m.w(t<<3|h),a=0;15>a;a+=1)c=!l&&(e>>a&1)==1,u[6>a?a:8>a?a+1:i-15+a][8]=c,u[8][8>a?i-a-1:9>a?15-a:14-a]=c;if(u[i-8][8]=!l,7<=o){for(e=m.A(o),a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[Math.floor(a/3)][a%3+i-8-3]=c;for(a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[a%3+i-8-3][Math.floor(a/3)]=c}if(f==null){for(l=M.I(o,t),e=H(),a=0;a<p.length;a+=1)c=p[a],e.put(4,4),e.put(c.b(),m.f(4,o)),c.write(e);for(a=c=0;a<l.length;a+=1)c+=l[a].j;if(e.f()>8*c)throw Error("code length overflow. ("+e.f()+">"+8*c+")");for(e.f()+4<=8*c&&e.put(0,4);e.f()%8!=0;)e.m(!1);for(;!(e.f()>=8*c)&&(e.put(236,8),!(e.f()>=8*c));)e.put(17,8);var L=0;for(c=a=0,z=Array(l.length),A=Array(l.length),y=0;y<l.length;y+=1){var E=l[y].j,G=l[y].o-E;for(a=Math.max(a,E),c=Math.max(c,G),z[y]=Array(E),v=0;v<z[y].length;v+=1)z[y][v]=255&e.B()[v+L];for(L+=E,v=m.C(G),E=C(z[y],v.b()-1).l(v),A[y]=Array(v.b()-1),v=0;v<A[y].length;v+=1)G=v+E.b()-A[y].length,A[y][v]=0<=G?E.c(G):0}for(v=e=0;v<l.length;v+=1)e+=l[v].o;for(e=Array(e),v=L=0;v<a;v+=1)for(y=0;y<l.length;y+=1)v<z[y].length&&(e[L]=z[y][v],L+=1);for(v=0;v<c;v+=1)for(y=0;y<l.length;y+=1)v<A[y].length&&(e[L]=A[y][v],L+=1);f=e}for(l=f,e=-1,a=i-1,c=7,z=0,h=m.F(h),A=i-1;0<A;A-=2)for(A==6&&--A;;){for(y=0;2>y;y+=1)u[a][A-y]==null&&(v=!1,z<l.length&&(v=(l[z]>>>c&1)==1),h(a,A-y)&&(v=!v),u[a][A-y]=v,--c,c==-1&&(z+=1,c=7));if(a+=e,0>a||i<=a){a-=e,e=-e;break}}}var t=N[n],u=null,i=0,f=null,p=[],x={u:function(l){l=d(l),p.push(l),f=null},a:function(l,h){if(0>l||i<=l||0>h||i<=h)throw Error(l+","+h);return u[l][h]},h:function(){return i},J:function(){for(var l=0,h=0,e=0;8>e;e+=1){r(!0,e);var a=m.D(x);(e==0||l>a)&&(l=a,h=e)}r(!1,h)}};return x}function C(o,n){if(typeof o.length>"u")throw Error(o.length+"/"+n);var s=(function(){for(var t=0;t<o.length&&o[t]==0;)t+=1;for(var u=Array(o.length-t+n),i=0;i<o.length-t;i+=1)u[i]=o[i+t];return u})(),r={c:function(t){return s[t]},b:function(){return s.length},multiply:function(t){for(var u=Array(r.b()+t.b()-1),i=0;i<r.b();i+=1)for(var f=0;f<t.b();f+=1)u[i+f]^=T.i(T.g(r.c(i))+T.g(t.c(f)));return C(u,0)},l:function(t){if(0>r.b()-t.b())return r;for(var u=T.g(r.c(0))-T.g(t.c(0)),i=Array(r.b()),f=0;f<r.b();f+=1)i[f]=r.c(f);for(f=0;f<t.b();f+=1)i[f]^=T.i(T.g(t.c(f))+u);return C(i,0).l(t)}};return r}R.s=function(o){for(var n=[],s=0;s<o.length;s++){var r=o.charCodeAt(s);128>r?n.push(r):2048>r?n.push(192|r>>6,128|r&63):55296>r||57344<=r?n.push(224|r>>12,128|r>>6&63,128|r&63):(s++,r=65536+((r&1023)<<10|o.charCodeAt(s)&1023),n.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|r&63))}return n};var N={L:1,M:0,Q:3,H:2},m=(function(){function o(r){for(var t=0;r!=0;)t+=1,r>>>=1;return t}var n=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s={w:function(r){for(var t=r<<10;0<=o(t)-o(1335);)t^=1335<<o(t)-o(1335);return(r<<10|t)^21522},A:function(r){for(var t=r<<12;0<=o(t)-o(7973);)t^=7973<<o(t)-o(7973);return r<<12|t},G:function(r){return n[r-1]},F:function(r){switch(r){case 0:return function(t,u){return(t+u)%2==0};case 1:return function(t){return t%2==0};case 2:return function(t,u){return u%3==0};case 3:return function(t,u){return(t+u)%3==0};case 4:return function(t,u){return(Math.floor(t/2)+Math.floor(u/3))%2==0};case 5:return function(t,u){return t*u%2+t*u%3==0};case 6:return function(t,u){return(t*u%2+t*u%3)%2==0};case 7:return function(t,u){return(t*u%3+(t+u)%2)%2==0};default:throw Error("bad maskPattern:"+r)}},C:function(r){for(var t=C([1],0),u=0;u<r;u+=1)t=t.multiply(C([1,T.i(u)],0));return t},f:function(r,t){if(r!=4||1>t||40<t)throw Error("mode: "+r+"; type: "+t);return 10>t?8:16},D:function(r){for(var t=r.h(),u=0,i=0;i<t;i+=1)for(var f=0;f<t;f+=1){for(var p=0,x=r.a(i,f),l=-1;1>=l;l+=1)if(!(0>i+l||t<=i+l))for(var h=-1;1>=h;h+=1)0>f+h||t<=f+h||(l!=0||h!=0)&&x==r.a(i+l,f+h)&&(p+=1);5<p&&(u+=3+p-5)}for(i=0;i<t-1;i+=1)for(f=0;f<t-1;f+=1)p=0,r.a(i,f)&&(p+=1),r.a(i+1,f)&&(p+=1),r.a(i,f+1)&&(p+=1),r.a(i+1,f+1)&&(p+=1),(p==0||p==4)&&(u+=3);for(i=0;i<t;i+=1)for(f=0;f<t-6;f+=1)r.a(i,f)&&!r.a(i,f+1)&&r.a(i,f+2)&&r.a(i,f+3)&&r.a(i,f+4)&&!r.a(i,f+5)&&r.a(i,f+6)&&(u+=40);for(f=0;f<t;f+=1)for(i=0;i<t-6;i+=1)r.a(i,f)&&!r.a(i+1,f)&&r.a(i+2,f)&&r.a(i+3,f)&&r.a(i+4,f)&&!r.a(i+5,f)&&r.a(i+6,f)&&(u+=40);for(f=p=0;f<t;f+=1)for(i=0;i<t;i+=1)r.a(i,f)&&(p+=1);return u+=Math.abs(100*p/t/t-50)/5*10}};return s})(),T=(function(){for(var o=Array(256),n=Array(256),s=0;8>s;s+=1)o[s]=1<<s;for(s=8;256>s;s+=1)o[s]=o[s-4]^o[s-5]^o[s-6]^o[s-8];for(s=0;255>s;s+=1)n[o[s]]=s;return{g:function(r){if(1>r)throw Error("glog("+r+")");return n[r]},i:function(r){for(;0>r;)r+=255;for(;256<=r;)r-=255;return o[r]}}})(),M=(function(){function o(r,t){switch(t){case N.L:return n[4*(r-1)];case N.M:return n[4*(r-1)+1];case N.Q:return n[4*(r-1)+2];case N.H:return n[4*(r-1)+3]}}var n=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],s={I:function(r,t){var u=o(r,t);if(typeof u>"u")throw Error("bad rs block @ typeNumber:"+r+"/errorCorrectLevel:"+t);r=u.length/3,t=[];for(var i=0;i<r;i+=1)for(var f=u[3*i],p=u[3*i+1],x=u[3*i+2],l=0;l<f;l+=1){var h=x,e={};e.o=p,e.j=h,t.push(e)}return t}};return s})();return R})());var X=QrCreator;var Y=`:host {
|
|
1
|
+
import{a as K}from"./chunk.KWVZRE3E.js";import{a as J,b as S,e as O,g as U}from"./chunk.NYYTSWQF.js";import{d as $}from"./chunk.2N5ZK4F4.js";import{a as I}from"./chunk.H2EOXVSZ.js";import{b as w}from"./chunk.E6MOE4FE.js";var W=null,V=class{};V.render=function(d,H){W(d,H)};self.QrCreator=V;(function(d){function H(M,o,n,s){var r={},t=d(n,o);t.u(M),t.J(),s=s||0;var u=t.h(),i=t.h()+2*s;return r.text=M,r.level=o,r.version=n,r.O=i,r.a=function(f,p){return f-=s,p-=s,0>f||f>=u||0>p||p>=u?!1:t.a(f,p)},r}function R(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a,c,z,A){l?(M.lineTo(h+z,e+A),M.arcTo(h,e,a,c,t)):M.lineTo(h,e)}u?M.moveTo(o+t,n):M.moveTo(o,n),x(i,s,n,s,r,-t,0),x(f,s,r,o,r,0,-t),x(p,o,r,o,n,t,0),x(u,o,n,s,n,0,t)}function C(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a){M.moveTo(l+e,h),M.lineTo(l,h),M.lineTo(l,h+a),M.arcTo(l,h,l+e,h,t)}u&&x(o,n,t,t),i&&x(s,n,-t,t),f&&x(s,r,-t,-t),p&&x(o,r,t,-t)}function N(M,o){var n=o.fill;if(typeof n=="string")M.fillStyle=n;else{var s=n.type,r=n.colorStops;if(n=n.position.map(u=>Math.round(u*o.size)),s==="linear-gradient")var t=M.createLinearGradient.apply(M,n);else if(s==="radial-gradient")t=M.createRadialGradient.apply(M,n);else throw Error("Unsupported fill");r.forEach(([u,i])=>{t.addColorStop(u,i)}),M.fillStyle=t}}function m(M,o){r:{var n=o.text,s=o.v,r=o.N,t=o.K,u=o.P;for(r=Math.max(1,r||1),t=Math.min(40,t||40);r<=t;r+=1)try{var i=H(n,s,r,u);break r}catch{}i=void 0}if(!i)return null;for(n=M.getContext("2d"),o.background&&(n.fillStyle=o.background,n.fillRect(o.left,o.top,o.size,o.size)),s=i.O,t=o.size/s,n.beginPath(),u=0;u<s;u+=1)for(r=0;r<s;r+=1){var f=n,p=o.left+r*t,x=o.top+u*t,l=u,h=r,e=i.a,a=p+t,c=x+t,z=l-1,A=l+1,y=h-1,v=h+1,L=Math.floor(Math.min(.5,Math.max(0,o.R))*t),E=e(l,h),G=e(z,y),j=e(z,h);z=e(z,v);var B=e(l,v);v=e(A,v),h=e(A,h),A=e(A,y),l=e(l,y),p=Math.round(p),x=Math.round(x),a=Math.round(a),c=Math.round(c),E?R(f,p,x,a,c,L,!j&&!l,!j&&!B,!h&&!B,!h&&!l):C(f,p,x,a,c,L,j&&l&&G,j&&B&&z,h&&B&&v,h&&l&&A)}return N(n,o),n.fill(),M}var T={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};W=function(M,o){var n={};Object.assign(n,T,M),n.N=n.minVersion,n.K=n.maxVersion,n.v=n.ecLevel,n.left=n.left,n.top=n.top,n.size=n.size,n.fill=n.fill,n.background=n.background,n.text=n.text,n.R=n.radius,n.P=n.quiet,o instanceof HTMLCanvasElement?((o.width!==n.size||o.height!==n.size)&&(o.width=n.size,o.height=n.size),o.getContext("2d").clearRect(0,0,o.width,o.height),m(o,n)):(M=document.createElement("canvas"),M.width=n.size,M.height=n.size,n=m(M,n),o.appendChild(n))}})((function(){function d(o){var n=R.s(o);return{S:function(){return 4},b:function(){return n.length},write:function(s){for(var r=0;r<n.length;r+=1)s.put(n[r],8)}}}function H(){var o=[],n=0,s={B:function(){return o},c:function(r){return(o[Math.floor(r/8)]>>>7-r%8&1)==1},put:function(r,t){for(var u=0;u<t;u+=1)s.m((r>>>t-u-1&1)==1)},f:function(){return n},m:function(r){var t=Math.floor(n/8);o.length<=t&&o.push(0),r&&(o[t]|=128>>>n%8),n+=1}};return s}function R(o,n){function s(l,h){for(var e=-1;7>=e;e+=1)if(!(-1>=l+e||i<=l+e))for(var a=-1;7>=a;a+=1)-1>=h+a||i<=h+a||(u[l+e][h+a]=0<=e&&6>=e&&(a==0||a==6)||0<=a&&6>=a&&(e==0||e==6)||2<=e&&4>=e&&2<=a&&4>=a)}function r(l,h){for(var e=i=4*o+17,a=Array(e),c=0;c<e;c+=1){a[c]=Array(e);for(var z=0;z<e;z+=1)a[c][z]=null}for(u=a,s(0,0),s(i-7,0),s(0,i-7),e=m.G(o),a=0;a<e.length;a+=1)for(c=0;c<e.length;c+=1){z=e[a];var A=e[c];if(u[z][A]==null)for(var y=-2;2>=y;y+=1)for(var v=-2;2>=v;v+=1)u[z+y][A+v]=y==-2||y==2||v==-2||v==2||y==0&&v==0}for(e=8;e<i-8;e+=1)u[e][6]==null&&(u[e][6]=e%2==0);for(e=8;e<i-8;e+=1)u[6][e]==null&&(u[6][e]=e%2==0);for(e=m.w(t<<3|h),a=0;15>a;a+=1)c=!l&&(e>>a&1)==1,u[6>a?a:8>a?a+1:i-15+a][8]=c,u[8][8>a?i-a-1:9>a?15-a:14-a]=c;if(u[i-8][8]=!l,7<=o){for(e=m.A(o),a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[Math.floor(a/3)][a%3+i-8-3]=c;for(a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[a%3+i-8-3][Math.floor(a/3)]=c}if(f==null){for(l=M.I(o,t),e=H(),a=0;a<p.length;a+=1)c=p[a],e.put(4,4),e.put(c.b(),m.f(4,o)),c.write(e);for(a=c=0;a<l.length;a+=1)c+=l[a].j;if(e.f()>8*c)throw Error("code length overflow. ("+e.f()+">"+8*c+")");for(e.f()+4<=8*c&&e.put(0,4);e.f()%8!=0;)e.m(!1);for(;!(e.f()>=8*c)&&(e.put(236,8),!(e.f()>=8*c));)e.put(17,8);var L=0;for(c=a=0,z=Array(l.length),A=Array(l.length),y=0;y<l.length;y+=1){var E=l[y].j,G=l[y].o-E;for(a=Math.max(a,E),c=Math.max(c,G),z[y]=Array(E),v=0;v<z[y].length;v+=1)z[y][v]=255&e.B()[v+L];for(L+=E,v=m.C(G),E=C(z[y],v.b()-1).l(v),A[y]=Array(v.b()-1),v=0;v<A[y].length;v+=1)G=v+E.b()-A[y].length,A[y][v]=0<=G?E.c(G):0}for(v=e=0;v<l.length;v+=1)e+=l[v].o;for(e=Array(e),v=L=0;v<a;v+=1)for(y=0;y<l.length;y+=1)v<z[y].length&&(e[L]=z[y][v],L+=1);for(v=0;v<c;v+=1)for(y=0;y<l.length;y+=1)v<A[y].length&&(e[L]=A[y][v],L+=1);f=e}for(l=f,e=-1,a=i-1,c=7,z=0,h=m.F(h),A=i-1;0<A;A-=2)for(A==6&&--A;;){for(y=0;2>y;y+=1)u[a][A-y]==null&&(v=!1,z<l.length&&(v=(l[z]>>>c&1)==1),h(a,A-y)&&(v=!v),u[a][A-y]=v,--c,c==-1&&(z+=1,c=7));if(a+=e,0>a||i<=a){a-=e,e=-e;break}}}var t=N[n],u=null,i=0,f=null,p=[],x={u:function(l){l=d(l),p.push(l),f=null},a:function(l,h){if(0>l||i<=l||0>h||i<=h)throw Error(l+","+h);return u[l][h]},h:function(){return i},J:function(){for(var l=0,h=0,e=0;8>e;e+=1){r(!0,e);var a=m.D(x);(e==0||l>a)&&(l=a,h=e)}r(!1,h)}};return x}function C(o,n){if(typeof o.length>"u")throw Error(o.length+"/"+n);var s=(function(){for(var t=0;t<o.length&&o[t]==0;)t+=1;for(var u=Array(o.length-t+n),i=0;i<o.length-t;i+=1)u[i]=o[i+t];return u})(),r={c:function(t){return s[t]},b:function(){return s.length},multiply:function(t){for(var u=Array(r.b()+t.b()-1),i=0;i<r.b();i+=1)for(var f=0;f<t.b();f+=1)u[i+f]^=T.i(T.g(r.c(i))+T.g(t.c(f)));return C(u,0)},l:function(t){if(0>r.b()-t.b())return r;for(var u=T.g(r.c(0))-T.g(t.c(0)),i=Array(r.b()),f=0;f<r.b();f+=1)i[f]=r.c(f);for(f=0;f<t.b();f+=1)i[f]^=T.i(T.g(t.c(f))+u);return C(i,0).l(t)}};return r}R.s=function(o){for(var n=[],s=0;s<o.length;s++){var r=o.charCodeAt(s);128>r?n.push(r):2048>r?n.push(192|r>>6,128|r&63):55296>r||57344<=r?n.push(224|r>>12,128|r>>6&63,128|r&63):(s++,r=65536+((r&1023)<<10|o.charCodeAt(s)&1023),n.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|r&63))}return n};var N={L:1,M:0,Q:3,H:2},m=(function(){function o(r){for(var t=0;r!=0;)t+=1,r>>>=1;return t}var n=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s={w:function(r){for(var t=r<<10;0<=o(t)-o(1335);)t^=1335<<o(t)-o(1335);return(r<<10|t)^21522},A:function(r){for(var t=r<<12;0<=o(t)-o(7973);)t^=7973<<o(t)-o(7973);return r<<12|t},G:function(r){return n[r-1]},F:function(r){switch(r){case 0:return function(t,u){return(t+u)%2==0};case 1:return function(t){return t%2==0};case 2:return function(t,u){return u%3==0};case 3:return function(t,u){return(t+u)%3==0};case 4:return function(t,u){return(Math.floor(t/2)+Math.floor(u/3))%2==0};case 5:return function(t,u){return t*u%2+t*u%3==0};case 6:return function(t,u){return(t*u%2+t*u%3)%2==0};case 7:return function(t,u){return(t*u%3+(t+u)%2)%2==0};default:throw Error("bad maskPattern:"+r)}},C:function(r){for(var t=C([1],0),u=0;u<r;u+=1)t=t.multiply(C([1,T.i(u)],0));return t},f:function(r,t){if(r!=4||1>t||40<t)throw Error("mode: "+r+"; type: "+t);return 10>t?8:16},D:function(r){for(var t=r.h(),u=0,i=0;i<t;i+=1)for(var f=0;f<t;f+=1){for(var p=0,x=r.a(i,f),l=-1;1>=l;l+=1)if(!(0>i+l||t<=i+l))for(var h=-1;1>=h;h+=1)0>f+h||t<=f+h||(l!=0||h!=0)&&x==r.a(i+l,f+h)&&(p+=1);5<p&&(u+=3+p-5)}for(i=0;i<t-1;i+=1)for(f=0;f<t-1;f+=1)p=0,r.a(i,f)&&(p+=1),r.a(i+1,f)&&(p+=1),r.a(i,f+1)&&(p+=1),r.a(i+1,f+1)&&(p+=1),(p==0||p==4)&&(u+=3);for(i=0;i<t;i+=1)for(f=0;f<t-6;f+=1)r.a(i,f)&&!r.a(i,f+1)&&r.a(i,f+2)&&r.a(i,f+3)&&r.a(i,f+4)&&!r.a(i,f+5)&&r.a(i,f+6)&&(u+=40);for(f=0;f<t;f+=1)for(i=0;i<t-6;i+=1)r.a(i,f)&&!r.a(i+1,f)&&r.a(i+2,f)&&r.a(i+3,f)&&r.a(i+4,f)&&!r.a(i+5,f)&&r.a(i+6,f)&&(u+=40);for(f=p=0;f<t;f+=1)for(i=0;i<t;i+=1)r.a(i,f)&&(p+=1);return u+=Math.abs(100*p/t/t-50)/5*10}};return s})(),T=(function(){for(var o=Array(256),n=Array(256),s=0;8>s;s+=1)o[s]=1<<s;for(s=8;256>s;s+=1)o[s]=o[s-4]^o[s-5]^o[s-6]^o[s-8];for(s=0;255>s;s+=1)n[o[s]]=s;return{g:function(r){if(1>r)throw Error("glog("+r+")");return n[r]},i:function(r){for(;0>r;)r+=255;for(;256<=r;)r-=255;return o[r]}}})(),M=(function(){function o(r,t){switch(t){case N.L:return n[4*(r-1)];case N.M:return n[4*(r-1)+1];case N.Q:return n[4*(r-1)+2];case N.H:return n[4*(r-1)+3]}}var n=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],s={I:function(r,t){var u=o(r,t);if(typeof u>"u")throw Error("bad rs block @ typeNumber:"+r+"/errorCorrectLevel:"+t);r=u.length/3,t=[];for(var i=0;i<r;i+=1)for(var f=u[3*i],p=u[3*i+1],x=u[3*i+2],l=0;l<f;l+=1){var h=x,e={};e.o=p,e.j=h,t.push(e)}return t}};return s})();return R})());var X=QrCreator;var Y=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
`;var g=class extends U{constructor(){super(...arguments);this.value="";this.label="";this.size=128;this.fill="black";this.background="white";this.radius=0;this.errorCorrection="M"}firstUpdated(){this.generate()}generate(){this.hasUpdated&&X.render({background:this.background,ecLevel:this.errorCorrection,fill:this.fill,radius:this.radius,size:this.size*2,text:this.value},this.canvas)}render(){return $`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u}from"./chunk.
|
|
1
|
+
import{a as u}from"./chunk.2P2SQGIO.js";import{a as c,b as r,c as o,e as d,g as h}from"./chunk.NYYTSWQF.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{a}from"./chunk.H2EOXVSZ.js";import{b as s}from"./chunk.E6MOE4FE.js";var f=`:host {
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk.
|
|
1
|
+
import{a as r}from"./chunk.ZPHZCJBG.js";var l={$code:"nb",$name:"Norsk bokm\xE5l",$dir:"ltr",carousel:"Karusell",clearEntry:"T\xF8m felt",close:"Lukk",copied:"Kopiert!",copy:"Kopier",currentValue:"N\xE5v\xE6rende verdi",error:"Feil",goToSlide:(e,t)=>`G\xE5 til lysbilde ${e} av ${t}`,hidePassword:"Skjul passord",hue:"Fargetone",loading:"Laster\u2026",nextSlide:"Neste lysbilde",numOptionsSelected:e=>e===0?"Ingen alternativer valgt":e===1?"Ett alternativ valgt":`${e} alternativer valgt`,opacity:"Gjennomsiktighet",pickAColorFromTheScreen:"Velg en farge fra skjermen",previousSlide:"Forrige lysbilde",progress:"Fremdrift",remove:"Fjern",resize:"Endre st\xF8rrelse",scrollableRegion:"Rullbart omr\xE5de",scrollToEnd:"Rull til slutten",scrollToStart:"Rull til starten",showPassword:"Vis passord",slideNum:e=>`Lysbilde ${e}`,toggleColorFormat:"Bytt fargeformat"};r(l);var i=l;export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u,b as e,g as a}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.
|
|
1
|
+
import{a as u,b as e,g as a}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.5LGTKAEH.js";import{b as t}from"./chunk.E6MOE4FE.js";var i=class extends a{constructor(){super(...arguments);this.localize=new c(this);this.value=0;this.type="decimal";this.withoutGrouping=!1;this.currency="USD";this.currencyDisplay="symbol";this.useSI=!1}static get styles(){return[]}formatSINumber(n){let r=this.localize.number(n,{style:"decimal",useGrouping:!1,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits}).split("."),l=r[0],m=r[1],s=l.replace(/\B(?=(\d{3})+(?!\d))/g,"\u202F");return m?`${s},${m}`:s}render(){if(isNaN(this.value))return"";if(this.useSI)switch(this.type){case"decimal":return this.formatSINumber(this.value);case"percent":let n=this.value*100;return`${this.formatSINumber(n)}\u202F%`;case"currency":return this.localize.number(this.value,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.withoutGrouping});default:return""}return this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.withoutGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};t([e({type:Number})],i.prototype,"value",2),t([e()],i.prototype,"type",2),t([e({attribute:"without-grouping",type:Boolean})],i.prototype,"withoutGrouping",2),t([e()],i.prototype,"currency",2),t([e({attribute:"currency-display"})],i.prototype,"currencyDisplay",2),t([e({attribute:"minimum-integer-digits",type:Number})],i.prototype,"minimumIntegerDigits",2),t([e({attribute:"minimum-fraction-digits",type:Number})],i.prototype,"minimumFractionDigits",2),t([e({attribute:"maximum-fraction-digits",type:Number})],i.prototype,"maximumFractionDigits",2),t([e({attribute:"minimum-significant-digits",type:Number})],i.prototype,"minimumSignificantDigits",2),t([e({attribute:"maximum-significant-digits",type:Number})],i.prototype,"maximumSignificantDigits",2),t([e({attribute:"use-si",type:Boolean})],i.prototype,"useSI",2),i=t([u("pc-format-number")],i);export{i as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./chunk.ZZIEMICG.js";import{a as C}from"./chunk.W5PM7F34.js";import{a as o}from"./chunk.XESREUP5.js";import{a as g}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a as z}from"./chunk.7YEJIK24.js";import{a as d,b as i,c as p,e as u,g as m}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as y}from"./chunk.ZZIEMICG.js";import{a as C}from"./chunk.W5PM7F34.js";import{a as o}from"./chunk.XESREUP5.js";import{a as g}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a as z}from"./chunk.7YEJIK24.js";import{a as d,b as i,c as p,e as u,g as m}from"./chunk.NYYTSWQF.js";import{d as c}from"./chunk.2N5ZK4F4.js";import{a}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{a as v}from"./chunk.D5CFOPIE.js";import{b}from"./chunk.IIHX5LOR.js";import{b as t}from"./chunk.E6MOE4FE.js";var k=`:host {
|
|
2
2
|
border-width: 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk.
|
|
1
|
+
import{a as L}from"./chunk.WTHYUTK2.js";import{a as z}from"./chunk.KKVT4LHX.js";import{a as l}from"./chunk.RZZMGXAZ.js";import{a as g,b as s,e as v,g as k}from"./chunk.NYYTSWQF.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{a as T}from"./chunk.RQ34LIU5.js";import{a as m}from"./chunk.OOQOIJSK.js";import{a as h}from"./chunk.U2DNK7H4.js";import{a as x}from"./chunk.H2EOXVSZ.js";import{a as w}from"./chunk.P7X6ERDI.js";import{a as E}from"./chunk.D5CFOPIE.js";import{a as f,b as u}from"./chunk.R2GXUKDX.js";import{a as r,c}from"./chunk.N5AZOOIZ.js";import{a as C}from"./chunk.5LGTKAEH.js";import{b as o}from"./chunk.E6MOE4FE.js";var S=`:host {
|
|
2
2
|
--size: 25rem;
|
|
3
3
|
--header-spacing: var(--pc-spacing-xl);
|
|
4
4
|
--body-spacing: var(--pc-spacing-s) var(--pc-spacing-xl);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as w}from"./chunk.
|
|
1
|
+
import{a as w}from"./chunk.2P2SQGIO.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as l,d,e as c}from"./chunk.RZZMGXAZ.js";import{a as f,b as r,e as s,g as b}from"./chunk.NYYTSWQF.js";import{d as m}from"./chunk.2N5ZK4F4.js";import{a as u}from"./chunk.OOQOIJSK.js";import{a}from"./chunk.U2DNK7H4.js";import{a as y}from"./chunk.H2EOXVSZ.js";import{a as p,c as h}from"./chunk.N5AZOOIZ.js";import{a as g}from"./chunk.5LGTKAEH.js";import{b as i}from"./chunk.E6MOE4FE.js";var k=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk.JE6IZBGI.js";import{a as O}from"./chunk.
|
|
1
|
+
import{a as L}from"./chunk.JE6IZBGI.js";import{a as O}from"./chunk.2P2SQGIO.js";import{f as T}from"./chunk.4EP7ZBSO.js";import{a as H}from"./chunk.JMVPFP5H.js";import{a as z}from"./chunk.W5PM7F34.js";import{a as $}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a as b,d as v}from"./chunk.RZZMGXAZ.js";import{a as w,b as l,c as d,e as u,g as C}from"./chunk.NYYTSWQF.js";import{d as h}from"./chunk.2N5ZK4F4.js";import{a as x}from"./chunk.OOQOIJSK.js";import{a as r}from"./chunk.U2DNK7H4.js";import{a as m}from"./chunk.H2EOXVSZ.js";import{a as E}from"./chunk.D5CFOPIE.js";import{c as I}from"./chunk.R2GXUKDX.js";import{a as g,c as y}from"./chunk.N5AZOOIZ.js";import{a as D}from"./chunk.5LGTKAEH.js";import{b as k}from"./chunk.IIHX5LOR.js";import{b as a}from"./chunk.E6MOE4FE.js";var A=`:host {
|
|
2
2
|
--tag-max-size: 10ch;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk.
|
|
1
|
+
import{a as r}from"./chunk.ZPHZCJBG.js";var o={$code:"nl",$name:"Nederlands",$dir:"ltr",carousel:"Carrousel",clearEntry:"Invoer wissen",close:"Sluiten",copied:"Gekopieerd!",copy:"Kopi\xEBren",currentValue:"Huidige waarde",error:"Fout",goToSlide:(e,i)=>`Ga naar dia ${e} van ${i}`,hidePassword:"Wachtwoord verbergen",hue:"Kleurtint",loading:"Laden\u2026",nextSlide:"Volgende dia",numOptionsSelected:e=>e===0?"Geen opties geselecteerd":e===1?"E\xE9n optie geselecteerd":`${e} opties geselecteerd`,opacity:"Dekking",pickAColorFromTheScreen:"Selecteer een kleur van het scherm",previousSlide:"Vorige dia",progress:"Voortgang",remove:"Verwijderen",resize:"Formaat wijzigen",scrollableRegion:"Scrollbaar gebied",scrollToEnd:"Scrol naar het einde",scrollToStart:"Scrol naar het begin",showPassword:"Wachtwoord tonen",slideNum:e=>`Dia ${e}`,toggleColorFormat:"Kleurnotatie wisselen"};r(o);var l=o;export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b}from"./chunk.
|
|
1
|
+
import{a as b}from"./chunk.2P2SQGIO.js";import{a}from"./chunk.KWVZRE3E.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as p,b as m,e as n,g as f}from"./chunk.NYYTSWQF.js";import{d}from"./chunk.2N5ZK4F4.js";import{a as l}from"./chunk.ZS4GILCB.js";import{a as u}from"./chunk.U2DNK7H4.js";import{a as z}from"./chunk.PSDD6Q4W.js";import{a as h}from"./chunk.H2EOXVSZ.js";import{a as y}from"./chunk.5LGTKAEH.js";import{b as o}from"./chunk.E6MOE4FE.js";var k=`:host {
|
|
2
2
|
--divider-width: 0.125rem;
|
|
3
3
|
--handle-size: 2.5rem;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as M,b as C,c as L,d as D,e as z,f as Y}from"./chunk.
|
|
1
|
+
import{a as M,b as C,c as L,d as D,e as z,f as Y}from"./chunk.4EP7ZBSO.js";import{a as T}from"./chunk.BSQP4EKW.js";import{a as S,d as y}from"./chunk.RZZMGXAZ.js";import{a as O}from"./chunk.U4YNKCI4.js";import{a as I,b as f,e as g,g as x}from"./chunk.NYYTSWQF.js";import{d as k}from"./chunk.2N5ZK4F4.js";import{b as A}from"./chunk.ZS4GILCB.js";import{a as b}from"./chunk.U2DNK7H4.js";import{a as v,c as w}from"./chunk.N5AZOOIZ.js";import{a as P}from"./chunk.5LGTKAEH.js";import{b as c}from"./chunk.E6MOE4FE.js";var R=`:host {
|
|
2
2
|
display: contents;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk.
|
|
1
|
+
import{a as f}from"./chunk.2P2SQGIO.js";import{a as r,d as l}from"./chunk.RZZMGXAZ.js";import{a as m,b as a,c as d,e as h,g as p}from"./chunk.NYYTSWQF.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{a as b}from"./chunk.U2DNK7H4.js";import{a as v}from"./chunk.D5CFOPIE.js";import{a as u,c}from"./chunk.N5AZOOIZ.js";import{a as g}from"./chunk.5LGTKAEH.js";import{b as i}from"./chunk.E6MOE4FE.js";var x=`:host {
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as s}from"./chunk.
|
|
1
|
+
import{a as s}from"./chunk.WTHYUTK2.js";import{a as i}from"./chunk.IX4OV3X6.js";import{a as n}from"./chunk.BSQP4EKW.js";import{a as l,b as o,g as a}from"./chunk.NYYTSWQF.js";import{d as t}from"./chunk.2N5ZK4F4.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as p}from"./chunk.5LGTKAEH.js";import{b as e}from"./chunk.E6MOE4FE.js";var d=`:host {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 0.5em;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,g as i}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as o,g as i}from"./chunk.NYYTSWQF.js";import{d as a}from"./chunk.2N5ZK4F4.js";import{a as t}from"./chunk.5LGTKAEH.js";import{b as e}from"./chunk.E6MOE4FE.js";var l=`:host {
|
|
2
2
|
--track-width: 0.125rem;
|
|
3
3
|
--track-color: var(--pc-color-neutral-fill-normal);
|
|
4
4
|
--indicator-color: var(--pc-color-primary-fill-loud);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as m,b as a,f as d,g as c}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as m,b as a,f as d,g as c}from"./chunk.NYYTSWQF.js";import{d as o}from"./chunk.2N5ZK4F4.js";import{a as i}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{a as r}from"./chunk.DQ2EFEM7.js";import{b as e}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
display: contents;
|
|
3
3
|
}
|
|
4
4
|
`;var t=class extends c{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="ease-in-out";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1;this.handleAnimationFinish=()=>{this.play=!1,this.hasStarted=!1,i(this,"pc-finish")};this.handleAnimationCancel=()=>{this.play=!1,this.hasStarted=!1,i(this,"pc-cancel")}}get currentTime(){return this.animation?.currentTime??0}set currentTime(s){this.animation&&(this.animation.currentTime=s)}connectedCallback(){super.connectedCallback(),this.createAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){let s=r.easings[this.easing]??this.easing,l=this.keyframes??r[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!l?!1:(this.destroyAnimation(),this.animation=h.animate(l,{delay:this.delay,direction:this.direction,duration:this.duration,easing:s,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,i(this,"pc-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,i(this,"pc-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){this.animation?.cancel()}finish(){this.animation?.finish()}render(){return o`<slot @slotchange=${this.handleSlotChange}></slot>`}};t.css=p,e([d("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([n(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([n("play")],t.prototype,"handlePlayChange",1),e([n("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([m("pc-animation")],t);export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as E}from"./chunk.W5PM7F34.js";import{a as M}from"./chunk.BSQP4EKW.js";import{a as p}from"./chunk.KKVT4LHX.js";import{a as v,b as r,c,e as u,g as y}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as E}from"./chunk.W5PM7F34.js";import{a as M}from"./chunk.BSQP4EKW.js";import{a as p}from"./chunk.KKVT4LHX.js";import{a as v,b as r,c,e as u,g as y}from"./chunk.NYYTSWQF.js";import{d as f}from"./chunk.2N5ZK4F4.js";import{a as h}from"./chunk.U2DNK7H4.js";import{a as m}from"./chunk.H2EOXVSZ.js";import{a as V}from"./chunk.D5CFOPIE.js";import{b as g,c as b,d as C,e as k}from"./chunk.IIHX5LOR.js";import{b as a}from"./chunk.E6MOE4FE.js";var w=`@layer pc-utilities {
|
|
2
2
|
.pc-visually-hidden:not(:focus-within),
|
|
3
3
|
.pc-visually-hidden-force {
|
|
4
4
|
position: absolute !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g}from"./chunk.
|
|
1
|
+
import{a as g}from"./chunk.2P2SQGIO.js";import{a as k}from"./chunk.2RFUFV3Y.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as f,b as r,c as u,e as a,g as y}from"./chunk.NYYTSWQF.js";import{d as b}from"./chunk.2N5ZK4F4.js";import{a as l}from"./chunk.U2DNK7H4.js";import{a as d,c as h}from"./chunk.N5AZOOIZ.js";import{a as w}from"./chunk.5LGTKAEH.js";import{b as t}from"./chunk.E6MOE4FE.js";var L=`:host {
|
|
2
2
|
--error-color: var(--pc-color-danger-on-quiet);
|
|
3
3
|
--success-color: var(--pc-color-success-on-quiet);
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk.
|
|
1
|
+
import{a as L}from"./chunk.WTHYUTK2.js";import{a as k}from"./chunk.KKVT4LHX.js";import{a as l}from"./chunk.RZZMGXAZ.js";import{a as v,b as n,e as b,g as x}from"./chunk.NYYTSWQF.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{a as z}from"./chunk.RQ34LIU5.js";import{a as g}from"./chunk.OOQOIJSK.js";import{a as h}from"./chunk.U2DNK7H4.js";import{a as w}from"./chunk.H2EOXVSZ.js";import{a as E}from"./chunk.D5CFOPIE.js";import{a as f,b as m}from"./chunk.R2GXUKDX.js";import{a as d,c as r}from"./chunk.N5AZOOIZ.js";import{a as C}from"./chunk.5LGTKAEH.js";import{b as a}from"./chunk.E6MOE4FE.js";var T=`:host {
|
|
2
2
|
--width: 31rem;
|
|
3
3
|
--header-spacing: var(--pc-spacing-xl);
|
|
4
4
|
--body-spacing: var(--pc-spacing-s) var(--pc-spacing-xl);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b}from"./chunk.ZZIEMICG.js";import{a as g}from"./chunk.W5PM7F34.js";import{a as p}from"./chunk.XESREUP5.js";import{a as v}from"./chunk.BSQP4EKW.js";import{a as c}from"./chunk.KKVT4LHX.js";import{a as k}from"./chunk.7YEJIK24.js";import{a as s,b as t,c as d,e as h,g as u}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as b}from"./chunk.ZZIEMICG.js";import{a as g}from"./chunk.W5PM7F34.js";import{a as p}from"./chunk.XESREUP5.js";import{a as v}from"./chunk.BSQP4EKW.js";import{a as c}from"./chunk.KKVT4LHX.js";import{a as k}from"./chunk.7YEJIK24.js";import{a as s,b as t,c as d,e as h,g as u}from"./chunk.NYYTSWQF.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{a as i}from"./chunk.U2DNK7H4.js";import{a}from"./chunk.H2EOXVSZ.js";import{a as f}from"./chunk.D5CFOPIE.js";import{b as m}from"./chunk.IIHX5LOR.js";import{b as o}from"./chunk.E6MOE4FE.js";var y=`:host {
|
|
2
2
|
--width: calc(var(--height) * 1.75);
|
|
3
3
|
--height: var(--pc-form-control-toggle-size);
|
|
4
4
|
--thumb-size: 0.75em;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk.
|
|
1
|
+
import{a as d}from"./chunk.WTHYUTK2.js";import{a as c}from"./chunk.KKVT4LHX.js";import{a as r,b as i,e as l,g as s}from"./chunk.NYYTSWQF.js";import{d as a}from"./chunk.2N5ZK4F4.js";import{a as n}from"./chunk.U2DNK7H4.js";import{a as o}from"./chunk.H2EOXVSZ.js";import{a as p}from"./chunk.5LGTKAEH.js";import{b as t}from"./chunk.E6MOE4FE.js";var b=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,b as a,g as h}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as l,b as a,g as h}from"./chunk.NYYTSWQF.js";import{d as s}from"./chunk.2N5ZK4F4.js";import{a as o}from"./chunk.U2DNK7H4.js";import{a as i}from"./chunk.H2EOXVSZ.js";import{b as e}from"./chunk.E6MOE4FE.js";var c=`:host {
|
|
2
2
|
display: contents;
|
|
3
3
|
}
|
|
4
4
|
`;var t=class extends h{constructor(){super(...arguments);this.attributeOldValue=!1;this.characterData=!1;this.characterDataOldValue=!1;this.childList=!1;this.disabled=!1;this.handleMutation=r=>{o(this,"pc-mutation",{detail:{mutationList:r}})}}connectedCallback(){super.connectedCallback(),this.mutationObserver=new MutationObserver(this.handleMutation),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}startObserver(){let r=typeof this.attribute=="string"&&this.attribute.length>0,d=r&&this.attribute!=="*"?this.attribute?.split(" "):void 0;try{this.mutationObserver.observe(this,{subtree:!0,childList:this.childList,attributes:r,attributeFilter:d,attributeOldValue:this.attributeOldValue,characterData:this.characterData,characterDataOldValue:this.characterDataOldValue})}catch{}}stopObserver(){this.mutationObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}handleChange(){this.stopObserver(),this.startObserver()}render(){return s`<slot></slot>`}};t.css=c,e([a({reflect:!0})],t.prototype,"attribute",2),e([a({attribute:"attribute-old-value",type:Boolean,reflect:!0})],t.prototype,"attributeOldValue",2),e([a({attribute:"character-data",type:Boolean,reflect:!0})],t.prototype,"characterData",2),e([a({attribute:"character-data-old-value",type:Boolean,reflect:!0})],t.prototype,"characterDataOldValue",2),e([a({attribute:"child-list",type:Boolean,reflect:!0})],t.prototype,"childList",2),e([a({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i("disabled")],t.prototype,"handleDisabledChange",1),e([i(["attribute","attribute-old-value","character-data","character-data-old-value","child-list"],{waitUntilFirstUpdate:!0})],t.prototype,"handleChange",1),t=e([l("pc-mutation-observer")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk.
|
|
1
|
+
import{a as o}from"./chunk.ZPHZCJBG.js";var r={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied!",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(e,l)=>`Go to slide ${e} of ${l}`,hidePassword:"Hide password",hue:"Hue",loading:"Loading\u2026",nextSlide:"Next slide",numOptionsSelected:e=>e===0?"No options selected":e===1?"One option selected":`${e} options selected`,opacity:"Opacity",pickAColorFromTheScreen:"Pick a color from the screen",previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollableRegion:"Scrollable region",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",showPassword:"Show password",slideNum:e=>`Slide ${e}`,toggleColorFormat:"Toggle color format"};o(r);var t=r;export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk.
|
|
1
|
+
import{a as f}from"./chunk.2P2SQGIO.js";import{a as d}from"./chunk.ZZIEMICG.js";import{a as x}from"./chunk.W5PM7F34.js";import{a as v}from"./chunk.XESREUP5.js";import{a as y}from"./chunk.BSQP4EKW.js";import{a}from"./chunk.KKVT4LHX.js";import{a as g}from"./chunk.7YEJIK24.js";import{a as p,b as i,c,e as m,g as u}from"./chunk.NYYTSWQF.js";import{d as l,f as h}from"./chunk.2N5ZK4F4.js";import{a as n}from"./chunk.U2DNK7H4.js";import{a as s}from"./chunk.H2EOXVSZ.js";import{a as k}from"./chunk.D5CFOPIE.js";import{b}from"./chunk.IIHX5LOR.js";import{b as e}from"./chunk.E6MOE4FE.js";var F=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,b as i,g as s}from"./chunk.NYYTSWQF.js";import{
|
|
1
|
+
import{a as o,b as i,g as s}from"./chunk.NYYTSWQF.js";import{d as r}from"./chunk.2N5ZK4F4.js";import{a as m}from"./chunk.5LGTKAEH.js";import{b as t}from"./chunk.E6MOE4FE.js";var e=class extends s{constructor(){super(...arguments);this.localize=new m(this);this.date=new Date;this.hourFormat="auto"}static get styles(){return[]}render(){let n=new Date(this.date),d=this.hourFormat==="auto"?void 0:this.hourFormat==="12";if(isNaN(n.getMilliseconds()))return;let h=this.localize.date(n,{weekday:this.weekday,era:this.era,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:d});return r`<time datetime=${n.toISOString()}>${h}</time>`}};t([i()],e.prototype,"date",2),t([i()],e.prototype,"weekday",2),t([i()],e.prototype,"era",2),t([i()],e.prototype,"year",2),t([i()],e.prototype,"month",2),t([i()],e.prototype,"day",2),t([i()],e.prototype,"hour",2),t([i()],e.prototype,"minute",2),t([i()],e.prototype,"second",2),t([i({attribute:"time-zone-name"})],e.prototype,"timeZoneName",2),t([i({attribute:"time-zone"})],e.prototype,"timeZone",2),t([i({attribute:"hour-format"})],e.prototype,"hourFormat",2),e=t([o("pc-format-date")],e);export{e as a};
|