@cooperco/cooper-component-library 0.1.91 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/cms/0079-update-accordion-item-color-to-color-picker.cjs +85 -0
  2. package/dist/cms/0080-fix-cta-action-widget.cjs +21 -0
  3. package/dist/cms/0081-fix-tile-collection-image-and-decoration.cjs +22 -0
  4. package/dist/cms/contentful/migrations/scripts/0079-update-accordion-item-color-to-color-picker.cjs +85 -0
  5. package/dist/cms/contentful/migrations/scripts/0080-fix-cta-action-widget.cjs +21 -0
  6. package/dist/cms/contentful/migrations/scripts/0081-fix-tile-collection-image-and-decoration.cjs +22 -0
  7. package/dist/cms/migrations/scripts/0079-update-accordion-item-color-to-color-picker.cjs +85 -0
  8. package/dist/cms/migrations/scripts/0080-fix-cta-action-widget.cjs +21 -0
  9. package/dist/cms/migrations/scripts/0081-fix-tile-collection-image-and-decoration.cjs +22 -0
  10. package/dist/cms/scripts/0079-update-accordion-item-color-to-color-picker.cjs +85 -0
  11. package/dist/cms/scripts/0080-fix-cta-action-widget.cjs +21 -0
  12. package/dist/cms/scripts/0081-fix-tile-collection-image-and-decoration.cjs +22 -0
  13. package/dist/lib/assets/dynamic core - desktop.svg +150 -0
  14. package/dist/lib/assets/dynamic core - mobile.svg +150 -0
  15. package/dist/lib/assets/dynamic core basic.svg +373 -0
  16. package/dist/lib/component-lib.js +1830 -1787
  17. package/dist/lib/component-lib.umd.cjs +14 -14
  18. package/dist/lib/style.css +1 -1
  19. package/dist/types/src/components/TileCollectionModule/TileCollectionModule.vue.d.ts +0 -1
  20. package/dist/types/src/components/TileContent/TileContent.d.ts +1 -0
  21. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- (function(v,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],r):(v=typeof globalThis<"u"?globalThis:v||self,r(v.ComponentLib={},v.Vue))})(this,function(v,r){"use strict";var pg=Object.defineProperty;var mg=(v,r,Te)=>r in v?pg(v,r,{enumerable:!0,configurable:!0,writable:!0,value:Te}):v[r]=Te;var N=(v,r,Te)=>(mg(v,typeof r!="symbol"?r+"":r,Te),Te);var Ke;const Te="-",Ma=n=>{const e=Aa(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:i}=n;return{getClassGroupId:a=>{const l=a.split(Te);return l[0]===""&&l.length!==1&&l.shift(),wo(l,e)||Ea(a)},getConflictingClassGroupIds:(a,l)=>{const c=t[a]||[];return l&&i[a]?[...c,...i[a]]:c}}},wo=(n,e)=>{var a;if(n.length===0)return e.classGroupId;const t=n[0],i=e.nextPart.get(t),o=i?wo(n.slice(1),i):void 0;if(o)return o;if(e.validators.length===0)return;const s=n.join(Te);return(a=e.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId},_o=/^\[(.+)\]$/,Ea=n=>{if(_o.test(n)){const e=_o.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},Aa=n=>{const{theme:e,prefix:t}=n,i={nextPart:new Map,validators:[]};return Ia(Object.entries(n.classGroups),t).forEach(([s,a])=>{ei(a,i,s,e)}),i},ei=(n,e,t,i)=>{n.forEach(o=>{if(typeof o=="string"){const s=o===""?e:vo(e,o);s.classGroupId=t;return}if(typeof o=="function"){if(La(o)){ei(o(i),e,t,i);return}e.validators.push({validator:o,classGroupId:t});return}Object.entries(o).forEach(([s,a])=>{ei(a,vo(e,s),t,i)})})},vo=(n,e)=>{let t=n;return e.split(Te).forEach(i=>{t.nextPart.has(i)||t.nextPart.set(i,{nextPart:new Map,validators:[]}),t=t.nextPart.get(i)}),t},La=n=>n.isThemeGetter,Ia=(n,e)=>e?n.map(([t,i])=>{const o=i.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[e+a,l])):s);return[t,o]}):n,Oa=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,i=new Map;const o=(s,a)=>{t.set(s,a),e++,e>n&&(e=0,i=t,t=new Map)};return{get(s){let a=t.get(s);if(a!==void 0)return a;if((a=i.get(s))!==void 0)return o(s,a),a},set(s,a){t.has(s)?t.set(s,a):o(s,a)}}},So="!",Da=n=>{const{separator:e,experimentalParseClassName:t}=n,i=e.length===1,o=e[0],s=e.length,a=l=>{const c=[];let d=0,u=0,h;for(let b=0;b<l.length;b++){let y=l[b];if(d===0){if(y===o&&(i||l.slice(b,b+s)===e)){c.push(l.slice(u,b)),u=b+s;continue}if(y==="/"){h=b;continue}}y==="["?d++:y==="]"&&d--}const f=c.length===0?l:l.substring(u),p=f.startsWith(So),m=p?f.substring(1):f,g=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:g}};return t?l=>t({className:l,parseClassName:a}):a},Va=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(i=>{i[0]==="["?(e.push(...t.sort(),i),t=[]):t.push(i)}),e.push(...t.sort()),e},Na=n=>({cache:Oa(n.cacheSize),parseClassName:Da(n),...Ma(n)}),za=/\s+/,Fa=(n,e)=>{const{parseClassName:t,getClassGroupId:i,getConflictingClassGroupIds:o}=e,s=[],a=n.trim().split(za);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{modifiers:u,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:p}=t(d);let m=!!p,g=i(m?f.substring(0,p):f);if(!g){if(!m){l=d+(l.length>0?" "+l:l);continue}if(g=i(f),!g){l=d+(l.length>0?" "+l:l);continue}m=!1}const b=Va(u).join(":"),y=h?b+So:b,C=y+g;if(s.includes(C))continue;s.push(C);const x=o(g,m);for(let _=0;_<x.length;++_){const w=x[_];s.push(y+w)}l=d+(l.length>0?" "+l:l)}return l};function Ra(){let n=0,e,t,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=To(e))&&(i&&(i+=" "),i+=t);return i}const To=n=>{if(typeof n=="string")return n;let e,t="";for(let i=0;i<n.length;i++)n[i]&&(e=To(n[i]))&&(t&&(t+=" "),t+=e);return t};function ja(n,...e){let t,i,o,s=a;function a(c){const d=e.reduce((u,h)=>h(u),n());return t=Na(d),i=t.cache.get,o=t.cache.set,s=l,l(c)}function l(c){const d=i(c);if(d)return d;const u=Fa(c,t);return o(c,u),u}return function(){return s(Ra.apply(null,arguments))}}const G=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},$o=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ha=/^\d+\/\d+$/,Wa=new Set(["px","full","screen"]),Ua=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ya=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ka=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=n=>lt(n)||Wa.has(n)||Ha.test(n),Ie=n=>ct(n,"length",il),lt=n=>!!n&&!Number.isNaN(Number(n)),ti=n=>ct(n,"number",lt),wt=n=>!!n&&Number.isInteger(Number(n)),Ga=n=>n.endsWith("%")&&lt(n.slice(0,-1)),F=n=>$o.test(n),Oe=n=>Ua.test(n),Za=new Set(["length","size","percentage"]),Qa=n=>ct(n,Za,Bo),Ja=n=>ct(n,"position",Bo),el=new Set(["image","url"]),tl=n=>ct(n,el,rl),nl=n=>ct(n,"",ol),_t=()=>!0,ct=(n,e,t)=>{const i=$o.exec(n);return i?i[1]?typeof e=="string"?i[1]===e:e.has(i[1]):t(i[2]):!1},il=n=>Ya.test(n)&&!Ka.test(n),Bo=()=>!1,ol=n=>qa.test(n),rl=n=>Xa.test(n),D=ja(()=>{const n=G("colors"),e=G("spacing"),t=G("blur"),i=G("brightness"),o=G("borderColor"),s=G("borderRadius"),a=G("borderSpacing"),l=G("borderWidth"),c=G("contrast"),d=G("grayscale"),u=G("hueRotate"),h=G("invert"),f=G("gap"),p=G("gradientColorStops"),m=G("gradientColorStopPositions"),g=G("inset"),b=G("margin"),y=G("opacity"),C=G("padding"),x=G("saturate"),_=G("scale"),w=G("sepia"),S=G("skew"),$=G("space"),B=G("translate"),E=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",F,e],T=()=>[F,e],k=()=>["",$e,Ie],P=()=>["auto",lt,F],M=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],I=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",F],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],de=()=>[lt,F];return{cacheSize:500,separator:":",theme:{colors:[_t],spacing:[$e,Ie],blur:["none","",Oe,F],brightness:de(),borderColor:[n],borderRadius:["none","","full",Oe,F],borderSpacing:T(),borderWidth:k(),contrast:de(),grayscale:H(),hueRotate:de(),invert:H(),gap:T(),gradientColorStops:[n],gradientColorStopPositions:[Ga,Ie],inset:L(),margin:L(),opacity:de(),padding:T(),saturate:de(),scale:de(),sepia:H(),skew:de(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Oe]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...M(),F]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wt,F]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",wt,F]}],"grid-cols":[{"grid-cols":[_t]}],"col-start-end":[{col:["auto",{span:["full",wt,F]},F]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[_t]}],"row-start-end":[{row:["auto",{span:[wt,F]},F]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,e]}],"min-w":[{"min-w":[F,e,"min","max","fit"]}],"max-w":[{"max-w":[F,e,"none","full","min","max","fit","prose",{screen:[Oe]},Oe]}],h:[{h:[F,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Oe,Ie]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ti]}],"font-family":[{font:[_t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",lt,ti]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$e,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$e,Ie]}],"underline-offset":[{"underline-offset":["auto",$e,F]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...M(),Ja]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qa]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tl]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...I(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:I()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...I()]}],"outline-offset":[{"outline-offset":[$e,F]}],"outline-w":[{outline:[$e,Ie]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[$e,Ie]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Oe,nl]}],"shadow-color":[{shadow:[_t]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[i]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Oe,F]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[x]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:de()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:de()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[wt,F]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[$e,Ie,ti]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}),ie={headline:"mb-8 md:mb-12 max-w-[30ch] mx-auto text-4xl md:text-5xl font-bold leading-tight text-center",subheadline:"mb-2",bodyCopy:"",start:"",center:"",end:"",container:"max-w-[1440px] mx-auto"},V=(n,e)=>{const t={};for(const i in n)t[i]=D(n[i]??"",e[i]??"");for(const i in e)t[i]=D(t[i]??"",e[i]??"");return t},ni={List:V(ie,{root:"py-[2rem] md:py-16",container:"flex flex-col"}),Tile:V(ie,{container:"flex flex-wrap gap-4 items-stretch relative",root:"py-[2rem] md:py-16 mb-0 relative transition-all duration-200 has-[.active]:mb-[550px]"})},ii=(n,e,t)=>{const i=V(ni[n],e);if(t){const o={...i};return o.container&&(o.container=D(o.container.replace(/max-w-\[1440px\]/g,"").trim(),"w-[95%]")),o.root&&(o.root=D(o.root,"py-0 md:py-0")),o.headline&&(o.headline=D(o.headline,"text-[24px] leading-[24px] md:text-[36px] md:leading-[36px]")),o}return i},vt={headline:"text-lg md:text-lg mb-0 *:text-left",image:"w-14 mr-4"},oi=V(vt,{root:"border-b border-black",headline:"text-xl md:text-xl py-6 pr-2 *:text-left font-bold md:mb-0",bodyCopy:"pb-6"}),ri=V(vt,{root:" w-full md:w-[23%]",headline:"transition-height mb-0 h-[90%] duration-200 py-16 md:text-3xl text-3xl text-center relative rounded-2xl h-[90%] group-[.active]:rounded-t-2lg group-[.active]:rounded-b-none group-[.active]:h-full flex items-center justify-center",button:"h-full w-fit text-center *:text-center justify-center md:*:[word-spacing:100px]",icon:"absolute top-4 right-6",bodyCopy:"group-[.first]:rounded-tl-none group-[.last]:rounded-tr-none transition-opacity duration-200 opacity-0 left-0 absolute w-full p-12 rounded-2xl group-[.active]:opacity-100"}),si={headline:ie.headline,root:"flex flex-col",bodyCopy:"flex flex-col overflow-auto",container:"flex justify-center",previousbutton:"flex justify-center items-center self-center overflow-hidden w-8 h-8 mx-2 rounded-full border-0 hover:bg-surface-50 dark:hover:bg-surface-800 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 transition duration-200 ease-in-out",nextbutton:"flex justify-center items-center self-center overflow-hidden w-8 h-8 mx-2 rounded-full border-0 hover:bg-surface-50 dark:hover:bg-surface-800 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 transition duration-200 ease-in-out",itemscontent:"overflow-hidden w-full",itemscontainer:"flex",item:"flex shrink-0 grow w-full sm:w-[50%] md:w-[33.333333333333336%]",indicators:"flex justify-center flex-wrap",indicator:"group mr-2 mb-2",indicatorbutton:"w-3 h-3 rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border border-secondary dark:bg-surface-700 dark:hover:bg-surface-600 group-[.p-highlight]:bg-secondary group-[.p-highlight]:border-none"},Po=V(ie,{}),ai=V(ie,{root:"px-8 md:px-0",bodyCopy:"max-w-[1440px]"}),li={Centered:V(ie,{root:"overflow-hidden",inner:"h-full mx-auto max-w-[1440px]",headline:"mb-0 md:mb-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",fullWidthContent:"max-w-full w-full"}),Hero:V({...ie,container:""},{root:"w-full",inner:"w-full md:flex md:items-center h-auto mb-0 max-w-[1440px] mx-auto",headline:"mb-0 md:mb-0 md:text-left mx-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px] text-center",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",bodyCopy:"w-full max-w-[1440px] mx-auto"}),Feature:V({...ie,container:""},{root:"overflow-hidden md:h-[492px]",inner:"w-full md:flex md:items-center h-full",headline:"mb-0 md:mb-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",bodyCopy:"w-full max-w-[1440px] mx-auto"})},ci=V({...ie,headline:""},{headline:"text-3xl md:text-4xl font-bold leading-tight",subheadline:"font-bold text-2xl md:text-3xl",bodyCopy:"",ctas:"mt-8",cta:""}),di={link:{logo:"p-2 rounded-full"},logo:{logo:"p-2 rounded-full"},fill:{},outline:{}},Mo=V(ie,{}),Eo=V(ie,{}),ui=V(ie,{}),hi=V(ie,{icon:"ps-2 text-xs"}),Ao=V(ie,{}),fi=V(ie,{root:"px-8 md:px-0",bodyCopy:"max-w-[1440px] flex justify-evenly gap-4 mx-auto flex-col md:flex-row"}),pi=V(ie,{quote:"text-lg font-bold",text:"space-y-4 w-full md:w-1/2",author:"text-lg",details:"text-lg",media:"md:w-1/2 w-full"}),mi=V(ie,{root:"px-5 md:px-8 py-[2rem] md:py-16",headingContainer:"max-w-[700px] mx-auto mb-[2em]",headline:"md:mb-[0.5em] mb-[0.5em] text-[2.25rem] md:text-[48px] font-bold leading-[53px] text-center",bodyCopy:"text-center text-[17px] leading-[24px] font-normal"}),Ge={root:"w-full relative rounded overflow-visible mx-auto shadow-none m-0",headline:"mb-4 text-xl md:text-3xl font-bold",cta:"text-xl *:font-bold mx-auto font-bold",ctas:"flex gap-2",container:"h-full",bodyCopy:"leading-normal text-lg",body:"h-full flex flex-col justify-between",footer:"font-bold space-y-2",footerContent:"font-bold text-center"},gi=V(Ge,{root:"rounded-2xl py-8 px-6",ctas:"text-center",media:"mb-6",numericLabel:"w-[10vmin] h-[8vmin] md:h-[40px] md:w-[50px] p-2 rounded-[50%] rounded-lg text-[4vmin] md:text-3xl flex items-center justify-center leading-none font-bold absolute left-[-4%] md:left-[-4%] top-8 md:top-8"}),bi=V(Ge,{root:"!w-full !mx-auto",inner:"justify-center",numericLabel:"rounded-full flex items-center justify-center font-bold absolute z-20 w-auto w-[8vmin] h-[8vmin] md:h-[70px] md:w-[70px] text-[4vmin] md:text-5xl rounded-full font-bold",media:"flex-[1_0_26%] md:flex-[1_0_20%]",headline:"mb-2 md:mb-4 font-bold text-left max-w-[400px]",subheadline:"text-[4.5vmin] md:text-3xl font-bold max-w-[400px] text-left",description:"text-lg md:text-lg max-w-[400px] leading-6"}),yi=V(Ge,{media:"relative mb-4 md:w-3/4",numericLabel:"w-[12vmin] h-[12vmin] text-[8vmin] md:text-3xl"}),ki=V(Ge,{root:"rounded-2xl px-6 py-8",ctas:"flex-col gap-4"}),Ci=V(Ge,{root:"p-8 rounded-xl",headline:"text-3xl md:text-3xl mb-2 font-bold",subheadline:"text-base md:text-base",media:"mb-4 mt-6"}),xi={Numeric:{root:"h-[15vmin] w-[15vmin] md:w-[60px] md:h-[60px] p-2 rounded-full text-[10vmin] md:text-4xl flex items-center justify-center leading-none font-bold absolute top-0"},Text:{root:"w-[120px] p-2 rounded-[50%] rounded-lg text-2xl flex items-center justify-center leading-none font-bold absolute top-8"}},Lo=V(ie,{}),wi=V(ie,{headline:"mb-8 md:mb-12 max-w-[20ch] mx-auto text-4xl md:text-5xl font-bold leading-tight text-center",chart:"",legend:"max-h-[350px] overflow-y-auto",legendItem:"w-full border rounded-full py-3 px-5 my-2",legendCircle:"w-4 h-4 rounded-full flex-shrink-0",tabs:"inline-flex border rounded-full overflow-hidden",tab:"px-6 py-3 font-bold",tabActive:"",footer:"text-lg",backButton:""}),_i={root:"bg-[#6b4de0] transition-[height] duration-300 ease-in-out h-auto overflow-hidden leading-none",container:"max-w-[1440px] mx-auto my-5 w-full h-full flex items-center pl-[27px] pr-[54px] relative",content:"flex items-center justify-center gap-4",mobileCollapsed:"mobileCollapsed font-bold text-lg text-white leading-[1.1] m-0",fullCopy:"fullCopy font-bold text-lg text-white leading-[1.1] m-0",cta:"bg-transparent font-bold text-lg text-white leading-[1.1] cursor-pointer whitespace-nowrap no-underline hover:underline",toggle:""},sl=Object.freeze(Object.defineProperty({__proto__:null,AccordionItemPt:vt,AccordionListItemPt:oi,AccordionPt:ni,AccordionTileItemPt:ri,CTAPt:di,CarouselModuleAltPt:Po,CarouselModulePt:si,ChartModulePt:wi,ContainerCollectionModulePt:ai,ContainerModulePt:li,ContentModulePt:ci,DEFAULT_PASSTHROUGH:ie,FooterNavigationPt:Mo,HelloBannerPt:_i,ImagePt:Eo,LogoCollectionModulePt:ui,NavigationElementPt:hi,PrimaryNavigationPt:Ao,SplitModulePt:fi,TestimonialModulePt:pi,TileCollectionModulePt:mi,TileContentIconTilePt:gi,TileContentImageStackedAnimatedTilePt:bi,TileContentImageTilePt:yi,TileContentPt:Ge,TileContentTextTilePt:ki,TileContentVideoTilePt:Ci,TileLabelPt:xi,VideoPt:Lo,combineAccordionPassthroughs:ii,combinePassthroughs:V},Symbol.toStringTag,{value:"Module"}));v.DEFAULT_COLOR="lily";const Io={lily:{headline:"wisteria",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"rosemary",cta:{fill:{bg:"rosemary",copy:"lily"},outline:{copy:"gentian",border:"gentian"},link:{copy:"gentian"},logo:{copy:"gentian"}},uiElement:{bg:"rosemary",copy:"lily",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}},interactive:{copy:"lily",bg:"wisteria"}},iris:{headline:"lily",subheadline:"lily",copy:"lily",copyAccent:"lavender",bullet:"rosemary",cta:{fill:{bg:"rosemary",copy:"lily"},outline:{border:"lily",copy:"lily"},link:{copy:"rosemary"},logo:{copy:"rosemary"}},uiElement:{bg:"rosemary",copy:"lily",border:"lily"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}},interactive:{bg:"wisteria",copy:"lily"}},wisteria:{headline:"lily",subheadline:"lily",copy:"lily",copyAccent:"lily",bullet:"lily",cta:{fill:{bg:"lily",copy:"iris"},outline:{copy:"lily",border:"lily"},link:{copy:"lily"},logo:{copy:"lily"}},uiElement:{bg:"iris",copy:"lily",border:"lily"},tile:{bg:"iris",copy:"lily",headline:"lily",label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"lily",copy:"iris"},Text:{bg:"iris",copy:"lily"}},interactive:{bg:"iris",copy:"lily"}},pebble:{headline:"wisteria",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"wisteria",copy:"lily"},outline:{copy:"gentian",border:"gentian"},link:{copy:"gentian"},logo:{copy:"gentian"}},uiElement:{bg:"iris",copy:"lily",border:"iris"},tile:{bg:"wisteria",headline:"white",copy:"lily",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}},interactive:{bg:"wisteria",copy:"white"}},lavender:{headline:"iris",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"white",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},rosemary:{headline:"lily",subheadline:"lily",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"lily",border:"lily"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},hydrangea:{headline:"iris",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"white",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}}};v.COLOR_PALETTES=Io;const J=n=>{const{backgroundColor:e}=n,t=e??v.DEFAULT_COLOR,i=v.COLOR_PALETTES[t]??v.COLOR_PALETTES[v.DEFAULT_COLOR];return{backgroundColor:t,palette:i}},al=(n,e)=>{v.COLOR_PALETTES=n,e?v.DEFAULT_COLOR=e:v.DEFAULT_COLOR=Object.keys(n)[0]};function vi(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Ti(n))||e){t&&(n=t);var i=0,o=function(){};return{s:o,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ (function(v,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],r):(v=typeof globalThis<"u"?globalThis:v||self,r(v.ComponentLib={},v.Vue))})(this,function(v,r){"use strict";var bg=Object.defineProperty;var yg=(v,r,Te)=>r in v?bg(v,r,{enumerable:!0,configurable:!0,writable:!0,value:Te}):v[r]=Te;var V=(v,r,Te)=>(yg(v,typeof r!="symbol"?r+"":r,Te),Te);var Ke;const Te="-",Ma=n=>{const e=Aa(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:i}=n;return{getClassGroupId:a=>{const l=a.split(Te);return l[0]===""&&l.length!==1&&l.shift(),wo(l,e)||Ea(a)},getConflictingClassGroupIds:(a,l)=>{const c=t[a]||[];return l&&i[a]?[...c,...i[a]]:c}}},wo=(n,e)=>{var a;if(n.length===0)return e.classGroupId;const t=n[0],i=e.nextPart.get(t),o=i?wo(n.slice(1),i):void 0;if(o)return o;if(e.validators.length===0)return;const s=n.join(Te);return(a=e.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId},_o=/^\[(.+)\]$/,Ea=n=>{if(_o.test(n)){const e=_o.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},Aa=n=>{const{theme:e,prefix:t}=n,i={nextPart:new Map,validators:[]};return Ia(Object.entries(n.classGroups),t).forEach(([s,a])=>{ei(a,i,s,e)}),i},ei=(n,e,t,i)=>{n.forEach(o=>{if(typeof o=="string"){const s=o===""?e:vo(e,o);s.classGroupId=t;return}if(typeof o=="function"){if(La(o)){ei(o(i),e,t,i);return}e.validators.push({validator:o,classGroupId:t});return}Object.entries(o).forEach(([s,a])=>{ei(a,vo(e,s),t,i)})})},vo=(n,e)=>{let t=n;return e.split(Te).forEach(i=>{t.nextPart.has(i)||t.nextPart.set(i,{nextPart:new Map,validators:[]}),t=t.nextPart.get(i)}),t},La=n=>n.isThemeGetter,Ia=(n,e)=>e?n.map(([t,i])=>{const o=i.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[e+a,l])):s);return[t,o]}):n,Oa=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,i=new Map;const o=(s,a)=>{t.set(s,a),e++,e>n&&(e=0,i=t,t=new Map)};return{get(s){let a=t.get(s);if(a!==void 0)return a;if((a=i.get(s))!==void 0)return o(s,a),a},set(s,a){t.has(s)?t.set(s,a):o(s,a)}}},So="!",Da=n=>{const{separator:e,experimentalParseClassName:t}=n,i=e.length===1,o=e[0],s=e.length,a=l=>{const c=[];let d=0,u=0,h;for(let b=0;b<l.length;b++){let y=l[b];if(d===0){if(y===o&&(i||l.slice(b,b+s)===e)){c.push(l.slice(u,b)),u=b+s;continue}if(y==="/"){h=b;continue}}y==="["?d++:y==="]"&&d--}const p=c.length===0?l:l.substring(u),f=p.startsWith(So),m=f?p.substring(1):p,g=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:g}};return t?l=>t({className:l,parseClassName:a}):a},Na=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(i=>{i[0]==="["?(e.push(...t.sort(),i),t=[]):t.push(i)}),e.push(...t.sort()),e},Va=n=>({cache:Oa(n.cacheSize),parseClassName:Da(n),...Ma(n)}),za=/\s+/,Fa=(n,e)=>{const{parseClassName:t,getClassGroupId:i,getConflictingClassGroupIds:o}=e,s=[],a=n.trim().split(za);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{modifiers:u,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:f}=t(d);let m=!!f,g=i(m?p.substring(0,f):p);if(!g){if(!m){l=d+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=d+(l.length>0?" "+l:l);continue}m=!1}const b=Na(u).join(":"),y=h?b+So:b,C=y+g;if(s.includes(C))continue;s.push(C);const w=o(g,m);for(let _=0;_<w.length;++_){const x=w[_];s.push(y+x)}l=d+(l.length>0?" "+l:l)}return l};function Ra(){let n=0,e,t,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=To(e))&&(i&&(i+=" "),i+=t);return i}const To=n=>{if(typeof n=="string")return n;let e,t="";for(let i=0;i<n.length;i++)n[i]&&(e=To(n[i]))&&(t&&(t+=" "),t+=e);return t};function ja(n,...e){let t,i,o,s=a;function a(c){const d=e.reduce((u,h)=>h(u),n());return t=Va(d),i=t.cache.get,o=t.cache.set,s=l,l(c)}function l(c){const d=i(c);if(d)return d;const u=Fa(c,t);return o(c,u),u}return function(){return s(Ra.apply(null,arguments))}}const G=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},$o=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ha=/^\d+\/\d+$/,Wa=new Set(["px","full","screen"]),Ua=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ya=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ka=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=n=>lt(n)||Wa.has(n)||Ha.test(n),Ie=n=>ct(n,"length",il),lt=n=>!!n&&!Number.isNaN(Number(n)),ti=n=>ct(n,"number",lt),wt=n=>!!n&&Number.isInteger(Number(n)),Ga=n=>n.endsWith("%")&&lt(n.slice(0,-1)),F=n=>$o.test(n),Oe=n=>Ua.test(n),Za=new Set(["length","size","percentage"]),Qa=n=>ct(n,Za,Bo),Ja=n=>ct(n,"position",Bo),el=new Set(["image","url"]),tl=n=>ct(n,el,rl),nl=n=>ct(n,"",ol),_t=()=>!0,ct=(n,e,t)=>{const i=$o.exec(n);return i?i[1]?typeof e=="string"?i[1]===e:e.has(i[1]):t(i[2]):!1},il=n=>Ya.test(n)&&!Ka.test(n),Bo=()=>!1,ol=n=>qa.test(n),rl=n=>Xa.test(n),D=ja(()=>{const n=G("colors"),e=G("spacing"),t=G("blur"),i=G("brightness"),o=G("borderColor"),s=G("borderRadius"),a=G("borderSpacing"),l=G("borderWidth"),c=G("contrast"),d=G("grayscale"),u=G("hueRotate"),h=G("invert"),p=G("gap"),f=G("gradientColorStops"),m=G("gradientColorStopPositions"),g=G("inset"),b=G("margin"),y=G("opacity"),C=G("padding"),w=G("saturate"),_=G("scale"),x=G("sepia"),T=G("skew"),$=G("space"),M=G("translate"),E=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",F,e],S=()=>[F,e],k=()=>["",$e,Ie],B=()=>["auto",lt,F],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],I=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",F],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ce=()=>[lt,F];return{cacheSize:500,separator:":",theme:{colors:[_t],spacing:[$e,Ie],blur:["none","",Oe,F],brightness:ce(),borderColor:[n],borderRadius:["none","","full",Oe,F],borderSpacing:S(),borderWidth:k(),contrast:ce(),grayscale:R(),hueRotate:ce(),invert:R(),gap:S(),gradientColorStops:[n],gradientColorStopPositions:[Ga,Ie],inset:A(),margin:A(),opacity:ce(),padding:S(),saturate:ce(),scale:ce(),sepia:R(),skew:ce(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Oe]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...P(),F]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wt,F]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",wt,F]}],"grid-cols":[{"grid-cols":[_t]}],"col-start-end":[{col:["auto",{span:["full",wt,F]},F]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[_t]}],"row-start-end":[{row:["auto",{span:[wt,F]},F]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,e]}],"min-w":[{"min-w":[F,e,"min","max","fit"]}],"max-w":[{"max-w":[F,e,"none","full","min","max","fit","prose",{screen:[Oe]},Oe]}],h:[{h:[F,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Oe,Ie]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ti]}],"font-family":[{font:[_t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",lt,ti]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$e,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$e,Ie]}],"underline-offset":[{"underline-offset":["auto",$e,F]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),Ja]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qa]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tl]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...I(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:I()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...I()]}],"outline-offset":[{"outline-offset":[$e,F]}],"outline-w":[{outline:[$e,Ie]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[$e,Ie]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Oe,nl]}],"shadow-color":[{shadow:[_t]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[i]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Oe,F]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:ce()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[wt,F]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[$e,Ie,ti]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}),ie={headline:"mb-8 md:mb-12 max-w-[30ch] mx-auto text-4xl md:text-5xl font-bold leading-tight text-center",subheadline:"mb-2",bodyCopy:"",start:"",center:"",end:"",container:"max-w-[1440px] mx-auto"},N=(n,e)=>{const t={};for(const i in n)t[i]=D(n[i]??"",e[i]??"");for(const i in e)t[i]=D(t[i]??"",e[i]??"");return t},ni={List:N(ie,{root:"py-[2rem] md:py-16",container:"flex flex-col"}),Tile:N(ie,{container:"flex flex-wrap gap-4 items-stretch relative",root:"py-[2rem] md:py-16 mb-0 relative transition-all duration-200 has-[.active]:mb-[550px]"})},ii=(n,e,t)=>{const i=N(ni[n],e);if(t){const o={...i};return o.container&&(o.container=D(o.container.replace(/max-w-\[1440px\]/g,"").trim(),"w-[95%]")),o.root&&(o.root=D(o.root,"py-0 md:py-0")),o.headline&&(o.headline=D(o.headline,"text-[24px] leading-[24px] md:text-[36px] md:leading-[36px]")),o}return i},vt={headline:"text-lg md:text-lg mb-0 *:text-left",image:"w-14 mr-4"},oi=N(vt,{root:"border-b border-black",headline:"text-xl md:text-xl py-6 pr-2 *:text-left font-bold md:mb-0",bodyCopy:"pb-6"}),ri=N(vt,{root:" w-full md:w-[23%]",headline:"transition-height mb-0 h-[90%] duration-200 py-16 md:text-3xl text-3xl text-center relative rounded-2xl h-[90%] group-[.active]:rounded-t-2lg group-[.active]:rounded-b-none group-[.active]:h-full flex items-center justify-center",button:"h-full w-fit text-center *:text-center justify-center md:*:[word-spacing:100px]",icon:"absolute top-4 right-6",bodyCopy:"group-[.first]:rounded-tl-none group-[.last]:rounded-tr-none transition-opacity duration-200 opacity-0 left-0 absolute w-full p-12 rounded-2xl group-[.active]:opacity-100"}),si={headline:ie.headline,root:"flex flex-col",bodyCopy:"flex flex-col overflow-auto",container:"flex justify-center",previousbutton:"flex justify-center items-center self-center overflow-hidden w-8 h-8 mx-2 rounded-full border-0 hover:bg-surface-50 dark:hover:bg-surface-800 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 transition duration-200 ease-in-out",nextbutton:"flex justify-center items-center self-center overflow-hidden w-8 h-8 mx-2 rounded-full border-0 hover:bg-surface-50 dark:hover:bg-surface-800 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 transition duration-200 ease-in-out",itemscontent:"overflow-hidden w-full",itemscontainer:"flex",item:"flex shrink-0 grow w-full sm:w-[50%] md:w-[33.333333333333336%]",indicators:"flex justify-center flex-wrap",indicator:"group mr-2 mb-2",indicatorbutton:"w-3 h-3 rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border border-secondary dark:bg-surface-700 dark:hover:bg-surface-600 group-[.p-highlight]:bg-secondary group-[.p-highlight]:border-none"},Po=N(ie,{}),ai=N(ie,{root:"px-8 md:px-0",bodyCopy:"max-w-[1440px]"}),li={Centered:N(ie,{root:"overflow-hidden",inner:"h-full mx-auto max-w-[1440px]",headline:"mb-0 md:mb-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",fullWidthContent:"max-w-full w-full"}),Hero:N({...ie,container:""},{root:"w-full",inner:"w-full md:flex md:items-center h-auto mb-0 max-w-[1440px] mx-auto",headline:"mb-0 md:mb-0 md:text-left mx-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px] text-center",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",bodyCopy:"w-full max-w-[1440px] mx-auto"}),Feature:N({...ie,container:""},{root:"overflow-hidden md:h-[492px]",inner:"w-full md:flex md:items-center h-full",headline:"mb-0 md:mb-0 text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]",subheadline:"mb-0 md:mb-0 text-[17px] md:text-[22px]",bodyCopy:"w-full max-w-[1440px] mx-auto"})},ci=N({...ie,headline:""},{headline:"text-3xl md:text-4xl font-bold leading-tight",subheadline:"font-bold text-2xl md:text-3xl",bodyCopy:"",ctas:"mt-8",cta:""}),di={link:{logo:"p-2 rounded-full"},logo:{logo:"p-2 rounded-full"},fill:{},outline:{}},Mo=N(ie,{}),Eo=N(ie,{}),ui=N(ie,{}),hi=N(ie,{icon:"ps-2 text-xs"}),Ao=N(ie,{}),fi=N(ie,{root:"px-8 md:px-0",bodyCopy:"max-w-[1440px] flex justify-evenly gap-4 mx-auto flex-col md:flex-row"}),pi=N(ie,{quote:"text-lg font-bold",text:"space-y-4 w-full md:w-1/2",author:"text-lg",details:"text-lg",media:"md:w-1/2 w-full"}),mi=N(ie,{root:"px-5 md:px-8 py-[2rem] md:py-16",headingContainer:"max-w-[700px] mx-auto mb-[2em]",headline:"md:mb-[0.5em] mb-[0.5em] text-[2.25rem] md:text-[48px] font-bold leading-[53px] text-center",bodyCopy:"text-center text-[17px] leading-[24px] font-normal"}),Ge={root:"w-full relative rounded overflow-visible mx-auto shadow-none m-0",headline:"mb-4 text-xl md:text-3xl font-bold",cta:"text-xl *:font-bold mx-auto font-bold",ctas:"flex gap-2",container:"h-full",bodyCopy:"leading-normal text-lg",body:"h-full flex flex-col justify-between",footer:"font-bold space-y-2",footerContent:"font-bold text-center"},gi=N(Ge,{root:"rounded-2xl py-8 px-6",ctas:"text-center",media:"mb-6",numericLabel:"w-[10vmin] h-[8vmin] md:h-[40px] md:w-[50px] p-2 rounded-[50%] rounded-lg text-[4vmin] md:text-3xl flex items-center justify-center leading-none font-bold absolute left-[-4%] md:left-[-4%] top-8 md:top-8"}),bi=N(Ge,{root:"!w-full !mx-auto",inner:"justify-center",numericLabel:"rounded-full flex items-center justify-center font-bold absolute z-20 w-auto w-[8vmin] h-[8vmin] md:h-[70px] md:w-[70px] text-[4vmin] md:text-5xl rounded-full font-bold",media:"flex-[1_0_26%] md:flex-[1_0_20%]",headline:"mb-2 md:mb-4 font-bold text-left max-w-[400px]",subheadline:"text-[4.5vmin] md:text-3xl font-bold max-w-[400px] text-left",description:"text-lg md:text-lg max-w-[400px] leading-6"}),yi=N(Ge,{media:"relative mb-4 md:w-3/4",numericLabel:"w-[12vmin] h-[12vmin] text-[8vmin] md:text-3xl"}),ki=N(Ge,{root:"rounded-2xl px-6 py-8",ctas:"flex-col gap-4"}),Ci=N(Ge,{root:"p-8 rounded-xl",headline:"text-3xl md:text-3xl mb-2 font-bold",subheadline:"text-base md:text-base",media:"mb-4 mt-6"}),xi={Numeric:{root:"h-[15vmin] w-[15vmin] md:w-[60px] md:h-[60px] p-2 rounded-full text-[10vmin] md:text-4xl flex items-center justify-center leading-none font-bold absolute top-0"},Text:{root:"w-[120px] p-2 rounded-[50%] rounded-lg text-2xl flex items-center justify-center leading-none font-bold absolute top-8"}},Lo=N(ie,{}),wi=N(ie,{headline:"mb-8 md:mb-12 max-w-[20ch] mx-auto text-4xl md:text-5xl font-bold leading-tight text-center",chart:"",legend:"max-h-[350px] overflow-y-auto",legendItem:"w-full border rounded-full py-3 px-5 my-2",legendCircle:"w-4 h-4 rounded-full flex-shrink-0",tabs:"inline-flex border rounded-full overflow-hidden",tab:"px-6 py-3 font-bold",tabActive:"",footer:"text-lg",backButton:""}),_i={root:"bg-[#6b4de0] transition-[height] duration-300 ease-in-out h-auto overflow-hidden leading-none",container:"max-w-[1440px] mx-auto my-5 w-full h-full flex items-center pl-[27px] pr-[54px] relative",content:"flex items-center justify-center gap-4",mobileCollapsed:"mobileCollapsed font-bold text-lg text-white leading-[1.1] m-0",fullCopy:"fullCopy font-bold text-lg text-white leading-[1.1] m-0",cta:"bg-transparent font-bold text-lg text-white leading-[1.1] cursor-pointer whitespace-nowrap no-underline hover:underline",toggle:""},sl=Object.freeze(Object.defineProperty({__proto__:null,AccordionItemPt:vt,AccordionListItemPt:oi,AccordionPt:ni,AccordionTileItemPt:ri,CTAPt:di,CarouselModuleAltPt:Po,CarouselModulePt:si,ChartModulePt:wi,ContainerCollectionModulePt:ai,ContainerModulePt:li,ContentModulePt:ci,DEFAULT_PASSTHROUGH:ie,FooterNavigationPt:Mo,HelloBannerPt:_i,ImagePt:Eo,LogoCollectionModulePt:ui,NavigationElementPt:hi,PrimaryNavigationPt:Ao,SplitModulePt:fi,TestimonialModulePt:pi,TileCollectionModulePt:mi,TileContentIconTilePt:gi,TileContentImageStackedAnimatedTilePt:bi,TileContentImageTilePt:yi,TileContentPt:Ge,TileContentTextTilePt:ki,TileContentVideoTilePt:Ci,TileLabelPt:xi,VideoPt:Lo,combineAccordionPassthroughs:ii,combinePassthroughs:N},Symbol.toStringTag,{value:"Module"}));v.DEFAULT_COLOR="lily";const Io={lily:{headline:"wisteria",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"rosemary",cta:{fill:{bg:"rosemary",copy:"lily"},outline:{copy:"gentian",border:"gentian"},link:{copy:"gentian"},logo:{copy:"gentian"}},uiElement:{bg:"rosemary",copy:"lily",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}},interactive:{copy:"lily",bg:"wisteria"}},iris:{headline:"lily",subheadline:"lily",copy:"lily",copyAccent:"lavender",bullet:"rosemary",cta:{fill:{bg:"rosemary",copy:"lily"},outline:{border:"lily",copy:"lily"},link:{copy:"rosemary"},logo:{copy:"rosemary"}},uiElement:{bg:"rosemary",copy:"lily",border:"lily"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"rosemary",copy:"lily"}},interactive:{bg:"wisteria",copy:"lily"}},wisteria:{headline:"lily",subheadline:"lily",copy:"lily",copyAccent:"lily",bullet:"lily",cta:{fill:{bg:"lily",copy:"iris"},outline:{copy:"lily",border:"lily"},link:{copy:"lily"},logo:{copy:"lily"}},uiElement:{bg:"iris",copy:"lily",border:"lily"},tile:{bg:"iris",copy:"lily",headline:"lily",label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"lily",copy:"iris"},Text:{bg:"iris",copy:"lily"}},interactive:{bg:"iris",copy:"lily"}},pebble:{headline:"wisteria",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"wisteria",copy:"lily"},outline:{copy:"gentian",border:"gentian"},link:{copy:"gentian"},logo:{copy:"gentian"}},uiElement:{bg:"iris",copy:"lily",border:"iris"},tile:{bg:"wisteria",headline:"white",copy:"lily",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}},interactive:{bg:"wisteria",copy:"white"}},lavender:{headline:"iris",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"white",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},rosemary:{headline:"lily",subheadline:"lily",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"lily",border:"lily"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},hydrangea:{headline:"iris",subheadline:"iris",copy:"soil",copyAccent:"iris",bullet:"iris",cta:{fill:{bg:"iris",copy:"lily"},outline:{copy:"iris",border:"iris"},link:{copy:"iris"},logo:{copy:"iris"}},uiElement:{bg:"iris",copy:"white",border:"soil"},tile:{bg:"lily",copy:"soil",headline:"iris",label:{Numeric:{bg:"wisteria",copy:"lily"},Text:{bg:"iris",copy:"lily"}}},label:{Numeric:{bg:"iris",copy:"lily"},Text:{bg:"iris",copy:"lily"}}}};v.COLOR_PALETTES=Io;const J=n=>{const{backgroundColor:e}=n,t=e??v.DEFAULT_COLOR,i=v.COLOR_PALETTES[t]??v.COLOR_PALETTES[v.DEFAULT_COLOR];return{backgroundColor:t,palette:i}},al=(n,e)=>{v.COLOR_PALETTES=n,e?v.DEFAULT_COLOR=e:v.DEFAULT_COLOR=Object.keys(n)[0]};function vi(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Ti(n))||e){t&&(n=t);var i=0,o=function(){};return{s:o,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return s=d.done,d},e:function(d){a=!0,l=d},f:function(){try{!s&&t.return!=null&&t.return()}finally{if(a)throw l}}}}function ll(n){return ul(n)||dl(n)||Ti(n)||cl()}function cl(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dl(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function ul(n){if(Array.isArray(n))return $i(n)}function St(n){"@babel/helpers - typeof";return St=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},St(n)}function Si(n,e){return pl(n)||fl(n,e)||Ti(n,e)||hl()}function hl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ti(n,e){if(n){if(typeof n=="string")return $i(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $i(n,e)}}function $i(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function fl(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function pl(n){if(Array.isArray(n))return n}var U={innerWidth:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}return 0},width:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}return 0},getWindowScrollTop:function(){var e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)},getWindowScrollLeft:function(){var e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)},getOuterWidth:function(e,t){if(e){var i=e.offsetWidth;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return i}return 0},getOuterHeight:function(e,t){if(e){var i=e.offsetHeight;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return i}return 0},getClientHeight:function(e,t){if(e){var i=e.clientHeight;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return i}return 0},getViewport:function(){var e=window,t=document,i=t.documentElement,o=t.getElementsByTagName("body")[0],s=e.innerWidth||i.clientWidth||o.clientWidth,a=e.innerHeight||i.clientHeight||o.clientHeight;return{width:s,height:a}},getOffset:function(e){if(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}},index:function(e){if(e)for(var t,i=(t=this.getParentNode(e))===null||t===void 0?void 0:t.childNodes,o=0,s=0;s<i.length;s++){if(i[s]===e)return o;i[s].nodeType===1&&o++}return-1},addMultipleClasses:function(e,t){var i=this;e&&t&&[t].flat().filter(Boolean).forEach(function(o){return o.split(" ").forEach(function(s){return i.addClass(e,s)})})},removeMultipleClasses:function(e,t){var i=this;e&&t&&[t].flat().filter(Boolean).forEach(function(o){return o.split(" ").forEach(function(s){return i.removeClass(e,s)})})},addClass:function(e,t){e&&t&&!this.hasClass(e,t)&&(e.classList?e.classList.add(t):e.className+=" "+t)},removeClass:function(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1},addStyles:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e&&Object.entries(t).forEach(function(i){var o=Si(i,2),s=o[0],a=o[1];return e.style[s]=a})},find:function(e,t){return this.isElement(e)?e.querySelectorAll(t):[]},findSingle:function(e,t){return this.isElement(e)?e.querySelector(t):null},createElement:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e){var i=document.createElement(e);this.setAttributes(i,t);for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];return i.append.apply(i,s),i}},setAttribute:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;this.isElement(e)&&i!==null&&i!==void 0&&e.setAttribute(t,i)},setAttributes:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isElement(e)){var o=function s(a,l){var c,d,u=e!=null&&(c=e.$attrs)!==null&&c!==void 0&&c[a]?[e==null||(d=e.$attrs)===null||d===void 0?void 0:d[a]]:[];return[l].flat().reduce(function(h,f){if(f!=null){var p=St(f);if(p==="string"||p==="number")h.push(f);else if(p==="object"){var m=Array.isArray(f)?s(a,f):Object.entries(f).map(function(g){var b=Si(g,2),y=b[0],C=b[1];return a==="style"&&(C||C===0)?"".concat(y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(C):C?y:void 0});h=m.length?h.concat(m.filter(function(g){return!!g})):h}}return h},u)};Object.entries(i).forEach(function(s){var a=Si(s,2),l=a[0],c=a[1];if(c!=null){var d=l.match(/^on(.+)/);d?e.addEventListener(d[1].toLowerCase(),c):l==="p-bind"?t.setAttributes(e,c):(c=l==="class"?ll(new Set(o("class",c))).join(" ").trim():l==="style"?o("style",c).join(";").trim():c,(e.$attrs=e.$attrs||{})&&(e.$attrs[l]=c),e.setAttribute(l,c))}})}},getAttribute:function(e,t){if(this.isElement(e)){var i=e.getAttribute(t);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}},isAttributeEquals:function(e,t,i){return this.isElement(e)?this.getAttribute(e,t)===i:!1},isAttributeNotEquals:function(e,t,i){return!this.isAttributeEquals(e,t,i)},getHeight:function(e){if(e){var t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}return 0},getWidth:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}return 0},absolutePosition:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e){var o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=o.height,a=o.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),f=this.getViewport(),p,m,g="top";d.top+l+s>f.height?(p=d.top+u-s,g="bottom",p<0&&(p=u)):p=l+d.top+u,d.left+a>f.width?m=Math.max(0,d.left+h+c-a):m=d.left+h,e.style.top=p+"px",e.style.left=m+"px",e.style.transformOrigin=g,i&&(e.style.marginTop=g==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}},relativePosition:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e){var o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=t.offsetHeight,a=t.getBoundingClientRect(),l=this.getViewport(),c,d,u="top";a.top+s+o.height>l.height?(c=-1*o.height,u="bottom",a.top+c<0&&(c=-1*a.top)):c=s,o.width>l.width?d=a.left*-1:a.left+o.width>l.width?d=(a.left+o.width-l.width)*-1:d=0,e.style.top=c+"px",e.style.left=d+"px",e.style.transformOrigin=u,i&&(e.style.marginTop=u==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}},nestedPosition:function(e,t){if(e){var i=e.parentElement,o=this.getOffset(i),s=this.getViewport(),a=e.offsetParent?e.offsetWidth:this.getHiddenElementOuterWidth(e),l=this.getOuterWidth(i.children[0]),c;parseInt(o.left,10)+l+a>s.width-this.calculateScrollbarWidth()?parseInt(o.left,10)<a?t%2===1?c=parseInt(o.left,10)?"-"+parseInt(o.left,10)+"px":"100%":t%2===0&&(c=s.width-a-this.calculateScrollbarWidth()+"px"):c="-100%":c="100%",e.style.top="0px",e.style.left=c}},getParentNode:function(e){var t=e==null?void 0:e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t},getParents:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=this.getParentNode(e);return i===null?t:this.getParents(i,t.concat([i]))},getScrollableParents:function(e){var t=[];if(e){var i=this.getParents(e),o=/(auto|scroll)/,s=function(b){try{var y=window.getComputedStyle(b,null);return o.test(y.getPropertyValue("overflow"))||o.test(y.getPropertyValue("overflowX"))||o.test(y.getPropertyValue("overflowY"))}catch{return!1}},a=vi(i),l;try{for(a.s();!(l=a.n()).done;){var c=l.value,d=c.nodeType===1&&c.dataset.scrollselectors;if(d){var u=d.split(","),h=vi(u),f;try{for(h.s();!(f=h.n()).done;){var p=f.value,m=this.findSingle(c,p);m&&s(m)&&t.push(m)}}catch(g){h.e(g)}finally{h.f()}}c.nodeType!==9&&s(c)&&t.push(c)}}catch(g){a.e(g)}finally{a.f()}}return t},getHiddenElementOuterHeight:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}return 0},getHiddenElementOuterWidth:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}return 0},getHiddenElementDimensions:function(e){if(e){var t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}return 0},fadeIn:function(e,t){if(e){e.style.opacity=0;var i=+new Date,o=0,s=function a(){o=+e.style.opacity+(new Date().getTime()-i)/t,e.style.opacity=o,i=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(a)||setTimeout(a,16))};s()}},fadeOut:function(e,t){if(e)var i=1,o=50,s=t,a=o/s,l=setInterval(function(){i-=a,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},o)},getUserAgent:function(){return navigator.userAgent},appendChild:function(e,t){if(this.isElement(t))t.appendChild(e);else if(t.el&&t.elElement)t.elElement.appendChild(e);else throw new Error("Cannot append "+t+" to "+e)},isElement:function(e){return(typeof HTMLElement>"u"?"undefined":St(HTMLElement))==="object"?e instanceof HTMLElement:e&&St(e)==="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"},scrollInView:function(e,t){var i=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=i?parseFloat(i):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),c=t.getBoundingClientRect(),d=c.top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-a,u=e.scrollTop,h=e.clientHeight,f=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+f>h&&(e.scrollTop=u+d-h+f)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var e=document.createElement("div");this.addStyles(e,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ ]([\w.]+)/.exec(e)||/(webkit)[ ]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},isVisible:function(e){return e&&e.offsetParent!=null},invokeElementMethod:function(e,t,i){e[t].apply(e,i)},isExist:function(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&this.getParentNode(e))},isClient:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},focus:function(e,t){e&&document.activeElement!==e&&e.focus(t)},isFocusableElement:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.isElement(e)?e.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(t,`,
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ti(n,e){if(n){if(typeof n=="string")return $i(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $i(n,e)}}function $i(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function fl(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function pl(n){if(Array.isArray(n))return n}var Y={innerWidth:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}return 0},width:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}return 0},getWindowScrollTop:function(){var e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)},getWindowScrollLeft:function(){var e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)},getOuterWidth:function(e,t){if(e){var i=e.offsetWidth;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return i}return 0},getOuterHeight:function(e,t){if(e){var i=e.offsetHeight;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return i}return 0},getClientHeight:function(e,t){if(e){var i=e.clientHeight;if(t){var o=getComputedStyle(e);i+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return i}return 0},getViewport:function(){var e=window,t=document,i=t.documentElement,o=t.getElementsByTagName("body")[0],s=e.innerWidth||i.clientWidth||o.clientWidth,a=e.innerHeight||i.clientHeight||o.clientHeight;return{width:s,height:a}},getOffset:function(e){if(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}},index:function(e){if(e)for(var t,i=(t=this.getParentNode(e))===null||t===void 0?void 0:t.childNodes,o=0,s=0;s<i.length;s++){if(i[s]===e)return o;i[s].nodeType===1&&o++}return-1},addMultipleClasses:function(e,t){var i=this;e&&t&&[t].flat().filter(Boolean).forEach(function(o){return o.split(" ").forEach(function(s){return i.addClass(e,s)})})},removeMultipleClasses:function(e,t){var i=this;e&&t&&[t].flat().filter(Boolean).forEach(function(o){return o.split(" ").forEach(function(s){return i.removeClass(e,s)})})},addClass:function(e,t){e&&t&&!this.hasClass(e,t)&&(e.classList?e.classList.add(t):e.className+=" "+t)},removeClass:function(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1},addStyles:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e&&Object.entries(t).forEach(function(i){var o=Si(i,2),s=o[0],a=o[1];return e.style[s]=a})},find:function(e,t){return this.isElement(e)?e.querySelectorAll(t):[]},findSingle:function(e,t){return this.isElement(e)?e.querySelector(t):null},createElement:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e){var i=document.createElement(e);this.setAttributes(i,t);for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];return i.append.apply(i,s),i}},setAttribute:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;this.isElement(e)&&i!==null&&i!==void 0&&e.setAttribute(t,i)},setAttributes:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isElement(e)){var o=function s(a,l){var c,d,u=e!=null&&(c=e.$attrs)!==null&&c!==void 0&&c[a]?[e==null||(d=e.$attrs)===null||d===void 0?void 0:d[a]]:[];return[l].flat().reduce(function(h,p){if(p!=null){var f=St(p);if(f==="string"||f==="number")h.push(p);else if(f==="object"){var m=Array.isArray(p)?s(a,p):Object.entries(p).map(function(g){var b=Si(g,2),y=b[0],C=b[1];return a==="style"&&(C||C===0)?"".concat(y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(C):C?y:void 0});h=m.length?h.concat(m.filter(function(g){return!!g})):h}}return h},u)};Object.entries(i).forEach(function(s){var a=Si(s,2),l=a[0],c=a[1];if(c!=null){var d=l.match(/^on(.+)/);d?e.addEventListener(d[1].toLowerCase(),c):l==="p-bind"?t.setAttributes(e,c):(c=l==="class"?ll(new Set(o("class",c))).join(" ").trim():l==="style"?o("style",c).join(";").trim():c,(e.$attrs=e.$attrs||{})&&(e.$attrs[l]=c),e.setAttribute(l,c))}})}},getAttribute:function(e,t){if(this.isElement(e)){var i=e.getAttribute(t);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}},isAttributeEquals:function(e,t,i){return this.isElement(e)?this.getAttribute(e,t)===i:!1},isAttributeNotEquals:function(e,t,i){return!this.isAttributeEquals(e,t,i)},getHeight:function(e){if(e){var t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}return 0},getWidth:function(e){if(e){var t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}return 0},absolutePosition:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e){var o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=o.height,a=o.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),p=this.getViewport(),f,m,g="top";d.top+l+s>p.height?(f=d.top+u-s,g="bottom",f<0&&(f=u)):f=l+d.top+u,d.left+a>p.width?m=Math.max(0,d.left+h+c-a):m=d.left+h,e.style.top=f+"px",e.style.left=m+"px",e.style.transformOrigin=g,i&&(e.style.marginTop=g==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}},relativePosition:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e){var o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=t.offsetHeight,a=t.getBoundingClientRect(),l=this.getViewport(),c,d,u="top";a.top+s+o.height>l.height?(c=-1*o.height,u="bottom",a.top+c<0&&(c=-1*a.top)):c=s,o.width>l.width?d=a.left*-1:a.left+o.width>l.width?d=(a.left+o.width-l.width)*-1:d=0,e.style.top=c+"px",e.style.left=d+"px",e.style.transformOrigin=u,i&&(e.style.marginTop=u==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}},nestedPosition:function(e,t){if(e){var i=e.parentElement,o=this.getOffset(i),s=this.getViewport(),a=e.offsetParent?e.offsetWidth:this.getHiddenElementOuterWidth(e),l=this.getOuterWidth(i.children[0]),c;parseInt(o.left,10)+l+a>s.width-this.calculateScrollbarWidth()?parseInt(o.left,10)<a?t%2===1?c=parseInt(o.left,10)?"-"+parseInt(o.left,10)+"px":"100%":t%2===0&&(c=s.width-a-this.calculateScrollbarWidth()+"px"):c="-100%":c="100%",e.style.top="0px",e.style.left=c}},getParentNode:function(e){var t=e==null?void 0:e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t},getParents:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=this.getParentNode(e);return i===null?t:this.getParents(i,t.concat([i]))},getScrollableParents:function(e){var t=[];if(e){var i=this.getParents(e),o=/(auto|scroll)/,s=function(b){try{var y=window.getComputedStyle(b,null);return o.test(y.getPropertyValue("overflow"))||o.test(y.getPropertyValue("overflowX"))||o.test(y.getPropertyValue("overflowY"))}catch{return!1}},a=vi(i),l;try{for(a.s();!(l=a.n()).done;){var c=l.value,d=c.nodeType===1&&c.dataset.scrollselectors;if(d){var u=d.split(","),h=vi(u),p;try{for(h.s();!(p=h.n()).done;){var f=p.value,m=this.findSingle(c,f);m&&s(m)&&t.push(m)}}catch(g){h.e(g)}finally{h.f()}}c.nodeType!==9&&s(c)&&t.push(c)}}catch(g){a.e(g)}finally{a.f()}}return t},getHiddenElementOuterHeight:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}return 0},getHiddenElementOuterWidth:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}return 0},getHiddenElementDimensions:function(e){if(e){var t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}return 0},fadeIn:function(e,t){if(e){e.style.opacity=0;var i=+new Date,o=0,s=function a(){o=+e.style.opacity+(new Date().getTime()-i)/t,e.style.opacity=o,i=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(a)||setTimeout(a,16))};s()}},fadeOut:function(e,t){if(e)var i=1,o=50,s=t,a=o/s,l=setInterval(function(){i-=a,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},o)},getUserAgent:function(){return navigator.userAgent},appendChild:function(e,t){if(this.isElement(t))t.appendChild(e);else if(t.el&&t.elElement)t.elElement.appendChild(e);else throw new Error("Cannot append "+t+" to "+e)},isElement:function(e){return(typeof HTMLElement>"u"?"undefined":St(HTMLElement))==="object"?e instanceof HTMLElement:e&&St(e)==="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"},scrollInView:function(e,t){var i=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=i?parseFloat(i):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),c=t.getBoundingClientRect(),d=c.top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-a,u=e.scrollTop,h=e.clientHeight,p=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+p>h&&(e.scrollTop=u+d-h+p)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var e=document.createElement("div");this.addStyles(e,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ ]([\w.]+)/.exec(e)||/(webkit)[ ]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},isVisible:function(e){return e&&e.offsetParent!=null},invokeElementMethod:function(e,t,i){e[t].apply(e,i)},isExist:function(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&this.getParentNode(e))},isClient:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},focus:function(e,t){e&&document.activeElement!==e&&e.focus(t)},isFocusableElement:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.isElement(e)?e.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(t,`,
5
5
  [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(t,`,
6
6
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(t,`,
7
7
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(t,`,
@@ -16,10 +16,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16
16
  [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(t)),o=[],s=vi(i),a;try{for(s.s();!(a=s.n()).done;){var l=a.value;getComputedStyle(l).display!="none"&&getComputedStyle(l).visibility!="hidden"&&o.push(l)}}catch(c){s.e(c)}finally{s.f()}return o},getFirstFocusableElement:function(e,t){var i=this.getFocusableElements(e,t);return i.length>0?i[0]:null},getLastFocusableElement:function(e,t){var i=this.getFocusableElements(e,t);return i.length>0?i[i.length-1]:null},getNextFocusableElement:function(e,t,i){var o=this.getFocusableElements(e,i),s=o.length>0?o.findIndex(function(l){return l===t}):-1,a=s>-1&&o.length>=s+1?s+1:-1;return a>-1?o[a]:null},getPreviousElementSibling:function(e,t){for(var i=e.previousElementSibling;i;){if(i.matches(t))return i;i=i.previousElementSibling}return null},getNextElementSibling:function(e,t){for(var i=e.nextElementSibling;i;){if(i.matches(t))return i;i=i.nextElementSibling}return null},isClickable:function(e){if(e){var t=e.nodeName,i=e.parentElement&&e.parentElement.nodeName;return t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||i==="INPUT"||i==="TEXTAREA"||i==="BUTTON"||i==="A"||!!e.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1},applyStyle:function(e,t){if(typeof t=="string")e.style.cssText=t;else for(var i in t)e.style[i]=t[i]},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},isAndroid:function(){return/(android)/i.test(navigator.userAgent)},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},hasCSSAnimation:function(e){if(e){var t=getComputedStyle(e),i=parseFloat(t.getPropertyValue("animation-duration")||"0");return i>0}return!1},hasCSSTransition:function(e){if(e){var t=getComputedStyle(e),i=parseFloat(t.getPropertyValue("transition-duration")||"0");return i>0}return!1},exportCSV:function(e,t){var i=new Blob([e],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(i,t+".csv");else{var o=document.createElement("a");o.download!==void 0?(o.setAttribute("href",URL.createObjectURL(i)),o.setAttribute("download",t+".csv"),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)):(e="data:text/csv;charset=utf-8,"+e,window.open(encodeURI(e)))}},blockBodyScroll:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,e)},unblockBodyScroll:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,e)}};function Oo(n,e){return bl(n)||gl(n,e)||Pi(n,e)||ml()}function ml(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17
17
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gl(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function bl(n){if(Array.isArray(n))return n}function Do(n){return Cl(n)||kl(n)||Pi(n)||yl()}function yl(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
18
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kl(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Cl(n){if(Array.isArray(n))return Mi(n)}function Bi(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Pi(n))||e){t&&(n=t);var i=0,o=function(){};return{s:o,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return s=d.done,d},e:function(d){a=!0,l=d},f:function(){try{!s&&t.return!=null&&t.return()}finally{if(a)throw l}}}}function Pi(n,e){if(n){if(typeof n=="string")return Mi(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Mi(n,e)}}function Mi(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function Tt(n){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(n)}var z={equals:function(e,t,i){return i?this.resolveFieldData(e,i)===this.resolveFieldData(t,i):this.deepEquals(e,t)},deepEquals:function(e,t){if(e===t)return!0;if(e&&t&&Tt(e)=="object"&&Tt(t)=="object"){var i=Array.isArray(e),o=Array.isArray(t),s,a,l;if(i&&o){if(a=e.length,a!=t.length)return!1;for(s=a;s--!==0;)if(!this.deepEquals(e[s],t[s]))return!1;return!0}if(i!=o)return!1;var c=e instanceof Date,d=t instanceof Date;if(c!=d)return!1;if(c&&d)return e.getTime()==t.getTime();var u=e instanceof RegExp,h=t instanceof RegExp;if(u!=h)return!1;if(u&&h)return e.toString()==t.toString();var f=Object.keys(e);if(a=f.length,a!==Object.keys(t).length)return!1;for(s=a;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[s]))return!1;for(s=a;s--!==0;)if(l=f[s],!this.deepEquals(e[l],t[l]))return!1;return!0}return e!==e&&t!==t},resolveFieldData:function(e,t){if(!e||!t)return null;try{var i=e[t];if(this.isNotEmpty(i))return i}catch{}if(Object.keys(e).length){if(this.isFunction(t))return t(e);if(t.indexOf(".")===-1)return e[t];for(var o=t.split("."),s=e,a=0,l=o.length;a<l;++a){if(s==null)return null;s=s[o[a]]}return s}return null},getItemValue:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return this.isFunction(e)?e.apply(void 0,i):e},filter:function(e,t,i){var o=[];if(e){var s=Bi(e),a;try{for(s.s();!(a=s.n()).done;){var l=a.value,c=Bi(t),d;try{for(c.s();!(d=c.n()).done;){var u=d.value;if(String(this.resolveFieldData(l,u)).toLowerCase().indexOf(i.toLowerCase())>-1){o.push(l);break}}}catch(h){c.e(h)}finally{c.f()}}}catch(h){s.e(h)}finally{s.f()}}return o},reorderArray:function(e,t,i){e&&t!==i&&(i>=e.length&&(i%=e.length,t%=e.length),e.splice(i,0,e.splice(t,1)[0]))},findIndexInList:function(e,t){var i=-1;if(t){for(var o=0;o<t.length;o++)if(t[o]===e){i=o;break}}return i},contains:function(e,t){if(e!=null&&t&&t.length){var i=Bi(t),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(this.equals(e,s))return!0}}catch(a){i.e(a)}finally{i.f()}}return!1},insertIntoOrderedArray:function(e,t,i,o){if(i.length>0){for(var s=!1,a=0;a<i.length;a++){var l=this.findIndexInList(i[a],o);if(l>t){i.splice(a,0,e),s=!0;break}}s||i.push(e)}else i.push(e)},removeAccents:function(e){return e&&e.search(/[\xC0-\xFF]/g)>-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e},getVNodeProp:function(e,t){if(e){var i=e.props;if(i){var o=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=Object.prototype.hasOwnProperty.call(i,o)?o:t;return e.type.extends.props[t].type===Boolean&&i[s]===""?!0:i[s]}}return null},toFlatCase:function(e){return this.isString(e)?e.replace(/(-|_)/g,"").toLowerCase():e},toKebabCase:function(e){return this.isString(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,function(t,i){return i===0?t:"-"+t.toLowerCase()}).toLowerCase():e},toCapitalCase:function(e){return this.isString(e,{empty:!1})?e[0].toUpperCase()+e.slice(1):e},isEmpty:function(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&Tt(e)==="object"&&Object.keys(e).length===0},isNotEmpty:function(e){return!this.isEmpty(e)},isFunction:function(e){return!!(e&&e.constructor&&e.call&&e.apply)},isObject:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)},isDate:function(e){return e instanceof Date&&e.constructor===Date},isArray:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Array.isArray(e)&&(t||e.length!==0)},isString:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return typeof e=="string"&&(t||e!=="")},isPrintableCharacter:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(e)&&e.length===1&&e.match(/\S| /)},findLast:function(e,t){var i;if(this.isNotEmpty(e))try{i=e.findLast(t)}catch{i=Do(e).reverse().find(t)}return i},findLastIndex:function(e,t){var i=-1;if(this.isNotEmpty(e))try{i=e.findLastIndex(t)}catch{i=e.lastIndexOf(Do(e).reverse().find(t))}return i},sort:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=this.compare(e,t,o,i),l=i;return(this.isEmpty(e)||this.isEmpty(t))&&(l=s===1?i:s),l*a},compare:function(e,t,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,s=-1,a=this.isEmpty(e),l=this.isEmpty(t);return a&&l?s=0:a?s=o:l?s=-o:typeof e=="string"&&typeof t=="string"?s=i(e,t):s=e<t?-1:e>t?1:0,s},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Object.entries(t).reduce(function(o,s){var a=Oo(s,2),l=a[0],c=a[1],d=i?"".concat(i,".").concat(l):l;return e.isObject(c)?o=o.concat(e.nestedKeys(c,d)):o.push(d),o},[])},stringify:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=" ".repeat(o),a=" ".repeat(o+i);return this.isArray(e)?"["+e.map(function(l){return t.stringify(l,i,o+i)}).join(", ")+"]":this.isDate(e)?e.toISOString():this.isFunction(e)?e.toString():this.isObject(e)?`{
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return s=d.done,d},e:function(d){a=!0,l=d},f:function(){try{!s&&t.return!=null&&t.return()}finally{if(a)throw l}}}}function Pi(n,e){if(n){if(typeof n=="string")return Mi(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Mi(n,e)}}function Mi(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function Tt(n){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(n)}var z={equals:function(e,t,i){return i?this.resolveFieldData(e,i)===this.resolveFieldData(t,i):this.deepEquals(e,t)},deepEquals:function(e,t){if(e===t)return!0;if(e&&t&&Tt(e)=="object"&&Tt(t)=="object"){var i=Array.isArray(e),o=Array.isArray(t),s,a,l;if(i&&o){if(a=e.length,a!=t.length)return!1;for(s=a;s--!==0;)if(!this.deepEquals(e[s],t[s]))return!1;return!0}if(i!=o)return!1;var c=e instanceof Date,d=t instanceof Date;if(c!=d)return!1;if(c&&d)return e.getTime()==t.getTime();var u=e instanceof RegExp,h=t instanceof RegExp;if(u!=h)return!1;if(u&&h)return e.toString()==t.toString();var p=Object.keys(e);if(a=p.length,a!==Object.keys(t).length)return!1;for(s=a;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,p[s]))return!1;for(s=a;s--!==0;)if(l=p[s],!this.deepEquals(e[l],t[l]))return!1;return!0}return e!==e&&t!==t},resolveFieldData:function(e,t){if(!e||!t)return null;try{var i=e[t];if(this.isNotEmpty(i))return i}catch{}if(Object.keys(e).length){if(this.isFunction(t))return t(e);if(t.indexOf(".")===-1)return e[t];for(var o=t.split("."),s=e,a=0,l=o.length;a<l;++a){if(s==null)return null;s=s[o[a]]}return s}return null},getItemValue:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return this.isFunction(e)?e.apply(void 0,i):e},filter:function(e,t,i){var o=[];if(e){var s=Bi(e),a;try{for(s.s();!(a=s.n()).done;){var l=a.value,c=Bi(t),d;try{for(c.s();!(d=c.n()).done;){var u=d.value;if(String(this.resolveFieldData(l,u)).toLowerCase().indexOf(i.toLowerCase())>-1){o.push(l);break}}}catch(h){c.e(h)}finally{c.f()}}}catch(h){s.e(h)}finally{s.f()}}return o},reorderArray:function(e,t,i){e&&t!==i&&(i>=e.length&&(i%=e.length,t%=e.length),e.splice(i,0,e.splice(t,1)[0]))},findIndexInList:function(e,t){var i=-1;if(t){for(var o=0;o<t.length;o++)if(t[o]===e){i=o;break}}return i},contains:function(e,t){if(e!=null&&t&&t.length){var i=Bi(t),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(this.equals(e,s))return!0}}catch(a){i.e(a)}finally{i.f()}}return!1},insertIntoOrderedArray:function(e,t,i,o){if(i.length>0){for(var s=!1,a=0;a<i.length;a++){var l=this.findIndexInList(i[a],o);if(l>t){i.splice(a,0,e),s=!0;break}}s||i.push(e)}else i.push(e)},removeAccents:function(e){return e&&e.search(/[\xC0-\xFF]/g)>-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e},getVNodeProp:function(e,t){if(e){var i=e.props;if(i){var o=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=Object.prototype.hasOwnProperty.call(i,o)?o:t;return e.type.extends.props[t].type===Boolean&&i[s]===""?!0:i[s]}}return null},toFlatCase:function(e){return this.isString(e)?e.replace(/(-|_)/g,"").toLowerCase():e},toKebabCase:function(e){return this.isString(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,function(t,i){return i===0?t:"-"+t.toLowerCase()}).toLowerCase():e},toCapitalCase:function(e){return this.isString(e,{empty:!1})?e[0].toUpperCase()+e.slice(1):e},isEmpty:function(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&Tt(e)==="object"&&Object.keys(e).length===0},isNotEmpty:function(e){return!this.isEmpty(e)},isFunction:function(e){return!!(e&&e.constructor&&e.call&&e.apply)},isObject:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)},isDate:function(e){return e instanceof Date&&e.constructor===Date},isArray:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Array.isArray(e)&&(t||e.length!==0)},isString:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return typeof e=="string"&&(t||e!=="")},isPrintableCharacter:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(e)&&e.length===1&&e.match(/\S| /)},findLast:function(e,t){var i;if(this.isNotEmpty(e))try{i=e.findLast(t)}catch{i=Do(e).reverse().find(t)}return i},findLastIndex:function(e,t){var i=-1;if(this.isNotEmpty(e))try{i=e.findLastIndex(t)}catch{i=e.lastIndexOf(Do(e).reverse().find(t))}return i},sort:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=this.compare(e,t,o,i),l=i;return(this.isEmpty(e)||this.isEmpty(t))&&(l=s===1?i:s),l*a},compare:function(e,t,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,s=-1,a=this.isEmpty(e),l=this.isEmpty(t);return a&&l?s=0:a?s=o:l?s=-o:typeof e=="string"&&typeof t=="string"?s=i(e,t):s=e<t?-1:e>t?1:0,s},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Object.entries(t).reduce(function(o,s){var a=Oo(s,2),l=a[0],c=a[1],d=i?"".concat(i,".").concat(l):l;return e.isObject(c)?o=o.concat(e.nestedKeys(c,d)):o.push(d),o},[])},stringify:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=" ".repeat(o),a=" ".repeat(o+i);return this.isArray(e)?"["+e.map(function(l){return t.stringify(l,i,o+i)}).join(", ")+"]":this.isDate(e)?e.toISOString():this.isFunction(e)?e.toString():this.isObject(e)?`{
20
20
  `+Object.entries(e).map(function(l){var c=Oo(l,2),d=c[0],u=c[1];return"".concat(a).concat(d,": ").concat(t.stringify(u,i,o+i))}).join(`,
21
21
  `)+`
22
- `.concat(s)+"}":JSON.stringify(e)}},Vo=0;function xl(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return Vo++,"".concat(n).concat(Vo)}function $t(n){"@babel/helpers - typeof";return $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$t(n)}function No(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function zo(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?No(Object(t),!0).forEach(function(i){wl(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):No(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function wl(n,e,t){return e=_l(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function _l(n){var e=vl(n,"string");return $t(e)=="symbol"?e:String(e)}function vl(n,e){if($t(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if($t(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Sl(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;r.getCurrentInstance()?r.onMounted(n):e?n():r.nextTick(n)}var Tl=0;function Fo(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.ref(!1),i=r.ref(n),o=r.ref(null),s=U.isClient()?window.document:void 0,a=e.document,l=a===void 0?s:a,c=e.immediate,d=c===void 0?!0:c,u=e.manual,h=u===void 0?!1:u,f=e.name,p=f===void 0?"style_".concat(++Tl):f,m=e.id,g=m===void 0?void 0:m,b=e.media,y=b===void 0?void 0:b,C=e.nonce,x=C===void 0?void 0:C,_=e.props,w=_===void 0?{}:_,S=function(){},$=function(A){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var T=zo(zo({},w),L),k=T.name||p,P=T.id||g,M=T.nonce||x;o.value=l.querySelector('style[data-primevue-style-id="'.concat(k,'"]'))||l.getElementById(P)||l.createElement("style"),o.value.isConnected||(i.value=A||n,U.setAttributes(o.value,{type:"text/css",id:P,media:y,nonce:M}),l.head.appendChild(o.value),U.setAttribute(o.value,"data-primevue-style-id",p),U.setAttributes(o.value,T)),!t.value&&(S=r.watch(i,function(I){o.value.textContent=I},{immediate:!0}),t.value=!0)}},B=function(){!l||!t.value||(S(),U.isExist(o.value)&&l.head.removeChild(o.value),t.value=!1)};return d&&!h&&Sl($),{id:g,name:p,css:i,unload:B,load:$,isLoaded:r.readonly(t)}}function Bt(n){"@babel/helpers - typeof";return Bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(n)}function $l(n,e){return El(n)||Ml(n,e)||Pl(n,e)||Bl()}function Bl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22
+ `.concat(s)+"}":JSON.stringify(e)}},No=0;function xl(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return No++,"".concat(n).concat(No)}function $t(n){"@babel/helpers - typeof";return $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$t(n)}function Vo(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function zo(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Vo(Object(t),!0).forEach(function(i){wl(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Vo(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function wl(n,e,t){return e=_l(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function _l(n){var e=vl(n,"string");return $t(e)=="symbol"?e:String(e)}function vl(n,e){if($t(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if($t(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Sl(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;r.getCurrentInstance()?r.onMounted(n):e?n():r.nextTick(n)}var Tl=0;function Fo(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.ref(!1),i=r.ref(n),o=r.ref(null),s=Y.isClient()?window.document:void 0,a=e.document,l=a===void 0?s:a,c=e.immediate,d=c===void 0?!0:c,u=e.manual,h=u===void 0?!1:u,p=e.name,f=p===void 0?"style_".concat(++Tl):p,m=e.id,g=m===void 0?void 0:m,b=e.media,y=b===void 0?void 0:b,C=e.nonce,w=C===void 0?void 0:C,_=e.props,x=_===void 0?{}:_,T=function(){},$=function(L){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var S=zo(zo({},x),A),k=S.name||f,B=S.id||g,P=S.nonce||w;o.value=l.querySelector('style[data-primevue-style-id="'.concat(k,'"]'))||l.getElementById(B)||l.createElement("style"),o.value.isConnected||(i.value=L||n,Y.setAttributes(o.value,{type:"text/css",id:B,media:y,nonce:P}),l.head.appendChild(o.value),Y.setAttribute(o.value,"data-primevue-style-id",f),Y.setAttributes(o.value,S)),!t.value&&(T=r.watch(i,function(I){o.value.textContent=I},{immediate:!0}),t.value=!0)}},M=function(){!l||!t.value||(T(),Y.isExist(o.value)&&l.head.removeChild(o.value),t.value=!1)};return d&&!h&&Sl($),{id:g,name:f,css:i,unload:M,load:$,isLoaded:r.readonly(t)}}function Bt(n){"@babel/helpers - typeof";return Bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(n)}function $l(n,e){return El(n)||Ml(n,e)||Pl(n,e)||Bl()}function Bl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
23
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pl(n,e){if(n){if(typeof n=="string")return Ro(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ro(n,e)}}function Ro(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function Ml(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function El(n){if(Array.isArray(n))return n}function jo(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Ei(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?jo(Object(t),!0).forEach(function(i){Al(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):jo(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Al(n,e,t){return e=Ll(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Ll(n){var e=Il(n,"string");return Bt(e)=="symbol"?e:String(e)}function Il(n,e){if(Bt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Bt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Ol=`
24
24
  .p-hidden-accessible {
25
25
  border: 0;
@@ -41,8 +41,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
41
41
  overflow: hidden;
42
42
  padding-right: var(--scrollbar-width);
43
43
  }
44
- `,Dl={},Vl={},xe={name:"base",css:Ol,classes:Dl,inlineStyles:Vl,loadStyle:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.css?Fo(this.css,Ei({name:this.name},e)):{}},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var i=Object.entries(t).reduce(function(o,s){var a=$l(s,2),l=a[0],c=a[1];return o.push("".concat(l,'="').concat(c,'"'))&&o},[]).join(" ");return'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(i,">").concat(this.css).concat(e,"</style>")}return""},extend:function(e){return Ei(Ei({},this),{},{css:void 0},e)}},Nl={root:function(e){var t=e.props,i=e.instance;return["p-badge p-component",{"p-badge-no-gutter":z.isNotEmpty(t.value)&&String(t.value).length===1,"p-badge-dot":z.isEmpty(t.value)&&!i.$slots.default,"p-badge-lg":t.size==="large","p-badge-xl":t.size==="xlarge","p-badge-info":t.severity==="info","p-badge-success":t.severity==="success","p-badge-warning":t.severity==="warning","p-badge-danger":t.severity==="danger","p-badge-secondary":t.severity==="secondary","p-badge-contrast":t.severity==="contrast"}]}},zl=xe.extend({name:"badge",classes:Nl});function Pt(n){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(n)}function Ho(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Fl(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ho(Object(t),!0).forEach(function(i){Rl(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ho(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Rl(n,e,t){return e=jl(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function jl(n){var e=Hl(n,"string");return Pt(e)=="symbol"?e:String(e)}function Hl(n,e){if(Pt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Pt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Ai=xe.extend({name:"common",loadGlobalStyle:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fo(e,Fl({name:"global"},t))}});function Mt(n){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(n)}function Wl(n){return Ko(n)||Ul(n)||Uo(n)||Wo()}function Ul(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function ln(n,e){return Ko(n)||Yl(n,e)||Uo(n,e)||Wo()}function Wo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
45
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uo(n,e){if(n){if(typeof n=="string")return Yo(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Yo(n,e)}}function Yo(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function Yl(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e===0){if(Object(t)!==t)return;c=!1}else for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function Ko(n){if(Array.isArray(n))return n}function qo(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Z(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?qo(Object(t),!0).forEach(function(i){cn(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):qo(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function cn(n,e,t){return e=Kl(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Kl(n){var e=ql(n,"string");return Mt(e)=="symbol"?e:String(e)}function ql(n,e){if(Mt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Mt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Et={name:"BaseComponent",props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(e){if(!e){var t,i;Ai.loadStyle({nonce:(t=this.$config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce}),this.$options.style&&this.$style.loadStyle({nonce:(i=this.$config)===null||i===void 0||(i=i.csp)===null||i===void 0?void 0:i.nonce})}}}},beforeCreate:function(){var e,t,i,o,s,a,l,c,d,u,h,f=(e=this.pt)===null||e===void 0?void 0:e._usept,p=f?(t=this.pt)===null||t===void 0||(t=t.originalValue)===null||t===void 0?void 0:t[this.$.type.name]:void 0,m=f?(i=this.pt)===null||i===void 0||(i=i.value)===null||i===void 0?void 0:i[this.$.type.name]:this.pt;(o=m||p)===null||o===void 0||(o=o.hooks)===null||o===void 0||(s=o.onBeforeCreate)===null||s===void 0||s.call(o);var g=(a=this.$config)===null||a===void 0||(a=a.pt)===null||a===void 0?void 0:a._usept,b=g?(l=this.$primevue)===null||l===void 0||(l=l.config)===null||l===void 0||(l=l.pt)===null||l===void 0?void 0:l.originalValue:void 0,y=g?(c=this.$primevue)===null||c===void 0||(c=c.config)===null||c===void 0||(c=c.pt)===null||c===void 0?void 0:c.value:(d=this.$primevue)===null||d===void 0||(d=d.config)===null||d===void 0?void 0:d.pt;(u=y||b)===null||u===void 0||(u=u[this.$.type.name])===null||u===void 0||(u=u.hooks)===null||u===void 0||(h=u.onBeforeCreate)===null||h===void 0||h.call(u)},created:function(){this._hook("onCreated")},beforeMount:function(){var e;xe.loadStyle({nonce:(e=this.$config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce}),this._loadGlobalStyles(),this._hook("onBeforeMount")},mounted:function(){this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._hook("onUnmounted")},methods:{_hook:function(e){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(e)),i=this._useDefaultPT(this._getOptionValue,"hooks.".concat(e));t==null||t(),i==null||i()}},_mergeProps:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return z.isFunction(e)?e.apply(void 0,i):r.mergeProps.apply(void 0,i)},_loadGlobalStyles:function(){var e,t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);z.isNotEmpty(t)&&Ai.loadGlobalStyle(t,{nonce:(e=this.$config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce})},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){var t;return this[e]||((t=this._getHostInstance(this))===null||t===void 0?void 0:t[e])},_getOptionValue:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=z.toFlatCase(t).split("."),s=o.shift();return s?z.isObject(e)?this._getOptionValue(z.getItemValue(e[Object.keys(e).find(function(a){return z.toFlatCase(a)===s})||""],i),o.join("."),i):void 0:z.getItemValue(e,i)},_getPTValue:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=/./g.test(i)&&!!o[i.split(".")[0]],l=this._getPropValue("ptOptions")||((e=this.$config)===null||e===void 0?void 0:e.ptOptions)||{},c=l.mergeSections,d=c===void 0?!0:c,u=l.mergeProps,h=u===void 0?!1:u,f=s?a?this._useGlobalPT(this._getPTClassValue,i,o):this._useDefaultPT(this._getPTClassValue,i,o):void 0,p=a?void 0:this._getPTSelf(t,this._getPTClassValue,i,Z(Z({},o),{},{global:f||{}})),m=this._getPTDatasets(i);return d||!d&&p?h?this._mergeProps(h,f,p,m):Z(Z(Z({},f),p),m):Z(Z({},p),m)},_getPTSelf:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return r.mergeProps(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(i)),this._usePT.apply(this,[this.$_attrsPT].concat(i)))},_getPTDatasets:function(){var e,t,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o="data-pc-",s=i==="root"&&z.isNotEmpty((e=this.pt)===null||e===void 0?void 0:e["data-pc-section"]);return i!=="transition"&&Z(Z({},i==="root"&&Z(cn({},"".concat(o,"name"),z.toFlatCase(s?(t=this.pt)===null||t===void 0?void 0:t["data-pc-section"]:this.$.type.name)),s&&cn({},"".concat(o,"extend"),z.toFlatCase(this.$.type.name)))),{},cn({},"".concat(o,"section"),z.toFlatCase(i)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return z.isString(e)||z.isArray(e)?{class:e}:e},_getPT:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=function(l){var c,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=o?o(l):l,h=z.toFlatCase(i),f=z.toFlatCase(t.$name);return(c=d?h!==f?u==null?void 0:u[h]:void 0:u==null?void 0:u[h])!==null&&c!==void 0?c:u};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)},_usePT:function(e,t,i,o){var s=function(g){return t(g,i,o)};if(e!=null&&e.hasOwnProperty("_usept")){var a,l=e._usept||((a=this.$config)===null||a===void 0?void 0:a.ptOptions)||{},c=l.mergeSections,d=c===void 0?!0:c,u=l.mergeProps,h=u===void 0?!1:u,f=s(e.originalValue),p=s(e.value);return f===void 0&&p===void 0?void 0:z.isString(p)?p:z.isString(f)?f:d||!d&&p?h?this._mergeProps(h,f,p):Z(Z({},f),p):p}return s(e)},_useGlobalPT:function(e,t,i){return this._usePT(this.globalPT,e,t,i)},_useDefaultPT:function(e,t,i){return this._usePT(this.defaultPT,e,t,i)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,Z(Z({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.mergeProps(this.$_attrsNoPT,this.ptm(e,t))},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,Z({instance:this},i),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,Z(Z({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var o=this._getOptionValue(this.$style.inlineStyles,e,Z(Z({},this.$params),i)),s=this._getOptionValue(Ai.inlineStyles,e,Z(Z({},this.$params),i));return[s,o]}}},computed:{globalPT:function(){var e,t=this;return this._getPT((e=this.$config)===null||e===void 0?void 0:e.pt,void 0,function(i){return z.getItemValue(i,{instance:t})})},defaultPT:function(){var e,t=this;return this._getPT((e=this.$config)===null||e===void 0?void 0:e.pt,void 0,function(i){return t._getOptionValue(i,t.$name,Z({},t.$params))||z.getItemValue(i,Z({},t.$params))})},isUnstyled:function(){var e;return this.unstyled!==void 0?this.unstyled:(e=this.$config)===null||e===void 0?void 0:e.unstyled},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e==null?void 0:e.$props,state:e==null?void 0:e.$data,attrs:e==null?void 0:e.$attrs},parentInstance:e}},$style:function(){return Z(Z({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$config:function(){var e;return(e=this.$primevue)===null||e===void 0?void 0:e.config},$name:function(){return this.$options.hostName||this.$.type.name},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=ln(e,1),i=t[0];return i==null?void 0:i.startsWith("pt:")}).reduce(function(e,t){var i=ln(t,2),o=i[0],s=i[1],a=o.split(":"),l=Wl(a),c=l.slice(1);return c==null||c.reduce(function(d,u,h,f){return!d[u]&&(d[u]=h===f.length-1?s:{}),d[u]},e),e},{})},$_attrsNoPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=ln(e,1),i=t[0];return!(i!=null&&i.startsWith("pt:"))}).reduce(function(e,t){var i=ln(t,2),o=i[0],s=i[1];return e[o]=s,e},{})}}},Xl={name:"BaseBadge",extends:Et,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:zl,provide:function(){return{$parentInstance:this}}},Xo={name:"Badge",extends:Xl,inheritAttrs:!1};function Gl(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("span",r.mergeProps({class:n.cx("root")},n.ptmi("root")),[r.renderSlot(n.$slots,"default",{},function(){return[r.createTextVNode(r.toDisplayString(n.value),1)]})],16)}Xo.render=Gl;var Zl=`
44
+ `,Dl={},Nl={},xe={name:"base",css:Ol,classes:Dl,inlineStyles:Nl,loadStyle:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.css?Fo(this.css,Ei({name:this.name},e)):{}},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var i=Object.entries(t).reduce(function(o,s){var a=$l(s,2),l=a[0],c=a[1];return o.push("".concat(l,'="').concat(c,'"'))&&o},[]).join(" ");return'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(i,">").concat(this.css).concat(e,"</style>")}return""},extend:function(e){return Ei(Ei({},this),{},{css:void 0},e)}},Vl={root:function(e){var t=e.props,i=e.instance;return["p-badge p-component",{"p-badge-no-gutter":z.isNotEmpty(t.value)&&String(t.value).length===1,"p-badge-dot":z.isEmpty(t.value)&&!i.$slots.default,"p-badge-lg":t.size==="large","p-badge-xl":t.size==="xlarge","p-badge-info":t.severity==="info","p-badge-success":t.severity==="success","p-badge-warning":t.severity==="warning","p-badge-danger":t.severity==="danger","p-badge-secondary":t.severity==="secondary","p-badge-contrast":t.severity==="contrast"}]}},zl=xe.extend({name:"badge",classes:Vl});function Pt(n){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(n)}function Ho(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Fl(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ho(Object(t),!0).forEach(function(i){Rl(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ho(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Rl(n,e,t){return e=jl(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function jl(n){var e=Hl(n,"string");return Pt(e)=="symbol"?e:String(e)}function Hl(n,e){if(Pt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Pt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Ai=xe.extend({name:"common",loadGlobalStyle:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fo(e,Fl({name:"global"},t))}});function Mt(n){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(n)}function Wl(n){return Ko(n)||Ul(n)||Uo(n)||Wo()}function Ul(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function ln(n,e){return Ko(n)||Yl(n,e)||Uo(n,e)||Wo()}function Wo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
45
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uo(n,e){if(n){if(typeof n=="string")return Yo(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Yo(n,e)}}function Yo(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function Yl(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e===0){if(Object(t)!==t)return;c=!1}else for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function Ko(n){if(Array.isArray(n))return n}function qo(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Z(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?qo(Object(t),!0).forEach(function(i){cn(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):qo(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function cn(n,e,t){return e=Kl(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Kl(n){var e=ql(n,"string");return Mt(e)=="symbol"?e:String(e)}function ql(n,e){if(Mt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Mt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Et={name:"BaseComponent",props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(e){if(!e){var t,i;Ai.loadStyle({nonce:(t=this.$config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce}),this.$options.style&&this.$style.loadStyle({nonce:(i=this.$config)===null||i===void 0||(i=i.csp)===null||i===void 0?void 0:i.nonce})}}}},beforeCreate:function(){var e,t,i,o,s,a,l,c,d,u,h,p=(e=this.pt)===null||e===void 0?void 0:e._usept,f=p?(t=this.pt)===null||t===void 0||(t=t.originalValue)===null||t===void 0?void 0:t[this.$.type.name]:void 0,m=p?(i=this.pt)===null||i===void 0||(i=i.value)===null||i===void 0?void 0:i[this.$.type.name]:this.pt;(o=m||f)===null||o===void 0||(o=o.hooks)===null||o===void 0||(s=o.onBeforeCreate)===null||s===void 0||s.call(o);var g=(a=this.$config)===null||a===void 0||(a=a.pt)===null||a===void 0?void 0:a._usept,b=g?(l=this.$primevue)===null||l===void 0||(l=l.config)===null||l===void 0||(l=l.pt)===null||l===void 0?void 0:l.originalValue:void 0,y=g?(c=this.$primevue)===null||c===void 0||(c=c.config)===null||c===void 0||(c=c.pt)===null||c===void 0?void 0:c.value:(d=this.$primevue)===null||d===void 0||(d=d.config)===null||d===void 0?void 0:d.pt;(u=y||b)===null||u===void 0||(u=u[this.$.type.name])===null||u===void 0||(u=u.hooks)===null||u===void 0||(h=u.onBeforeCreate)===null||h===void 0||h.call(u)},created:function(){this._hook("onCreated")},beforeMount:function(){var e;xe.loadStyle({nonce:(e=this.$config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce}),this._loadGlobalStyles(),this._hook("onBeforeMount")},mounted:function(){this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._hook("onUnmounted")},methods:{_hook:function(e){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(e)),i=this._useDefaultPT(this._getOptionValue,"hooks.".concat(e));t==null||t(),i==null||i()}},_mergeProps:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return z.isFunction(e)?e.apply(void 0,i):r.mergeProps.apply(void 0,i)},_loadGlobalStyles:function(){var e,t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);z.isNotEmpty(t)&&Ai.loadGlobalStyle(t,{nonce:(e=this.$config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce})},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){var t;return this[e]||((t=this._getHostInstance(this))===null||t===void 0?void 0:t[e])},_getOptionValue:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=z.toFlatCase(t).split("."),s=o.shift();return s?z.isObject(e)?this._getOptionValue(z.getItemValue(e[Object.keys(e).find(function(a){return z.toFlatCase(a)===s})||""],i),o.join("."),i):void 0:z.getItemValue(e,i)},_getPTValue:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=/./g.test(i)&&!!o[i.split(".")[0]],l=this._getPropValue("ptOptions")||((e=this.$config)===null||e===void 0?void 0:e.ptOptions)||{},c=l.mergeSections,d=c===void 0?!0:c,u=l.mergeProps,h=u===void 0?!1:u,p=s?a?this._useGlobalPT(this._getPTClassValue,i,o):this._useDefaultPT(this._getPTClassValue,i,o):void 0,f=a?void 0:this._getPTSelf(t,this._getPTClassValue,i,Z(Z({},o),{},{global:p||{}})),m=this._getPTDatasets(i);return d||!d&&f?h?this._mergeProps(h,p,f,m):Z(Z(Z({},p),f),m):Z(Z({},f),m)},_getPTSelf:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return r.mergeProps(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(i)),this._usePT.apply(this,[this.$_attrsPT].concat(i)))},_getPTDatasets:function(){var e,t,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o="data-pc-",s=i==="root"&&z.isNotEmpty((e=this.pt)===null||e===void 0?void 0:e["data-pc-section"]);return i!=="transition"&&Z(Z({},i==="root"&&Z(cn({},"".concat(o,"name"),z.toFlatCase(s?(t=this.pt)===null||t===void 0?void 0:t["data-pc-section"]:this.$.type.name)),s&&cn({},"".concat(o,"extend"),z.toFlatCase(this.$.type.name)))),{},cn({},"".concat(o,"section"),z.toFlatCase(i)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return z.isString(e)||z.isArray(e)?{class:e}:e},_getPT:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=function(l){var c,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=o?o(l):l,h=z.toFlatCase(i),p=z.toFlatCase(t.$name);return(c=d?h!==p?u==null?void 0:u[h]:void 0:u==null?void 0:u[h])!==null&&c!==void 0?c:u};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)},_usePT:function(e,t,i,o){var s=function(g){return t(g,i,o)};if(e!=null&&e.hasOwnProperty("_usept")){var a,l=e._usept||((a=this.$config)===null||a===void 0?void 0:a.ptOptions)||{},c=l.mergeSections,d=c===void 0?!0:c,u=l.mergeProps,h=u===void 0?!1:u,p=s(e.originalValue),f=s(e.value);return p===void 0&&f===void 0?void 0:z.isString(f)?f:z.isString(p)?p:d||!d&&f?h?this._mergeProps(h,p,f):Z(Z({},p),f):f}return s(e)},_useGlobalPT:function(e,t,i){return this._usePT(this.globalPT,e,t,i)},_useDefaultPT:function(e,t,i){return this._usePT(this.defaultPT,e,t,i)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,Z(Z({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.mergeProps(this.$_attrsNoPT,this.ptm(e,t))},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,Z({instance:this},i),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,Z(Z({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var o=this._getOptionValue(this.$style.inlineStyles,e,Z(Z({},this.$params),i)),s=this._getOptionValue(Ai.inlineStyles,e,Z(Z({},this.$params),i));return[s,o]}}},computed:{globalPT:function(){var e,t=this;return this._getPT((e=this.$config)===null||e===void 0?void 0:e.pt,void 0,function(i){return z.getItemValue(i,{instance:t})})},defaultPT:function(){var e,t=this;return this._getPT((e=this.$config)===null||e===void 0?void 0:e.pt,void 0,function(i){return t._getOptionValue(i,t.$name,Z({},t.$params))||z.getItemValue(i,Z({},t.$params))})},isUnstyled:function(){var e;return this.unstyled!==void 0?this.unstyled:(e=this.$config)===null||e===void 0?void 0:e.unstyled},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e==null?void 0:e.$props,state:e==null?void 0:e.$data,attrs:e==null?void 0:e.$attrs},parentInstance:e}},$style:function(){return Z(Z({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$config:function(){var e;return(e=this.$primevue)===null||e===void 0?void 0:e.config},$name:function(){return this.$options.hostName||this.$.type.name},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=ln(e,1),i=t[0];return i==null?void 0:i.startsWith("pt:")}).reduce(function(e,t){var i=ln(t,2),o=i[0],s=i[1],a=o.split(":"),l=Wl(a),c=l.slice(1);return c==null||c.reduce(function(d,u,h,p){return!d[u]&&(d[u]=h===p.length-1?s:{}),d[u]},e),e},{})},$_attrsNoPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=ln(e,1),i=t[0];return!(i!=null&&i.startsWith("pt:"))}).reduce(function(e,t){var i=ln(t,2),o=i[0],s=i[1];return e[o]=s,e},{})}}},Xl={name:"BaseBadge",extends:Et,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:zl,provide:function(){return{$parentInstance:this}}},Xo={name:"Badge",extends:Xl,inheritAttrs:!1};function Gl(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("span",r.mergeProps({class:n.cx("root")},n.ptmi("root")),[r.renderSlot(n.$slots,"default",{},function(){return[r.createTextVNode(r.toDisplayString(n.value),1)]})],16)}Xo.render=Gl;var Zl=`
46
46
  .p-icon {
47
47
  display: inline-block;
48
48
  }
@@ -74,9 +74,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
74
74
  }
75
75
  }
76
76
  `,Ql=xe.extend({name:"baseicon",css:Zl});function At(n){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},At(n)}function Go(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Zo(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Go(Object(t),!0).forEach(function(i){Jl(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Go(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Jl(n,e,t){return e=ec(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ec(n){var e=tc(n,"string");return At(e)=="symbol"?e:String(e)}function tc(n,e){if(At(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(At(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Lt={name:"BaseIcon",extends:Et,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:Ql,methods:{pti:function(){var e=z.isEmpty(this.label);return Zo(Zo({},!this.isUnstyled&&{class:["p-icon",{"p-icon-spin":this.spin}]}),{},{role:e?void 0:"img","aria-label":e?void 0:this.label,"aria-hidden":e})}}},Qo={name:"SpinnerIcon",extends:Lt},nc=r.createElementVNode("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1),ic=[nc];function oc(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),ic,16)}Qo.render=oc;function It(n){"@babel/helpers - typeof";return It=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},It(n)}function Jo(n,e){return lc(n)||ac(n,e)||sc(n,e)||rc()}function rc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
77
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sc(n,e){if(n){if(typeof n=="string")return er(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return er(n,e)}}function er(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function ac(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function lc(n){if(Array.isArray(n))return n}function tr(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tr(Object(t),!0).forEach(function(i){Li(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):tr(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Li(n,e,t){return e=cc(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function cc(n){var e=dc(n,"string");return It(e)=="symbol"?e:String(e)}function dc(n,e){if(It(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(It(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var R={_getMeta:function(){return[z.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],z.getItemValue(z.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(e,t){var i,o,s;return(i=(e==null||(o=e.instance)===null||o===void 0?void 0:o.$primevue)||(t==null||(s=t.ctx)===null||s===void 0||(s=s.appContext)===null||s===void 0||(s=s.config)===null||s===void 0||(s=s.globalProperties)===null||s===void 0?void 0:s.$primevue))===null||i===void 0?void 0:i.config},_getOptionValue:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=z.toFlatCase(t).split("."),s=o.shift();return s?z.isObject(e)?R._getOptionValue(z.getItemValue(e[Object.keys(e).find(function(a){return z.toFlatCase(a)===s})||""],i),o.join("."),i):void 0:z.getItemValue(e,i)},_getPTValue:function(){var e,t,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,c=function(){var C=R._getOptionValue.apply(R,arguments);return z.isString(C)||z.isArray(C)?{class:C}:C},d=((e=i.binding)===null||e===void 0||(e=e.value)===null||e===void 0?void 0:e.ptOptions)||((t=i.$config)===null||t===void 0?void 0:t.ptOptions)||{},u=d.mergeSections,h=u===void 0?!0:u,f=d.mergeProps,p=f===void 0?!1:f,m=l?R._useDefaultPT(i,i.defaultPT(),c,s,a):void 0,g=R._usePT(i,R._getPT(o,i.$name),c,s,ee(ee({},a),{},{global:m||{}})),b=R._getPTDatasets(i,s);return h||!h&&g?p?R._mergeProps(i,p,m,g,b):ee(ee(ee({},m),g),b):ee(ee({},g),b)},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i="data-pc-";return ee(ee({},t==="root"&&Li({},"".concat(i,"name"),z.toFlatCase(e.$name))),{},Li({},"".concat(i,"section"),z.toFlatCase(t)))},_getPT:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(a){var l,c=i?i(a):a,d=z.toFlatCase(t);return(l=c==null?void 0:c[d])!==null&&l!==void 0?l:c};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e)},_usePT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,a=function(b){return i(b,o,s)};if(t!=null&&t.hasOwnProperty("_usept")){var l,c=t._usept||((l=e.$config)===null||l===void 0?void 0:l.ptOptions)||{},d=c.mergeSections,u=d===void 0?!0:d,h=c.mergeProps,f=h===void 0?!1:h,p=a(t.originalValue),m=a(t.value);return p===void 0&&m===void 0?void 0:z.isString(m)?m:z.isString(p)?p:u||!u&&m?f?R._mergeProps(e,f,p,m):ee(ee({},p),m):m}return a(t)},_useDefaultPT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;return R._usePT(e,t,i,o,s)},_hook:function(e,t,i,o,s,a){var l,c,d="on".concat(z.toCapitalCase(t)),u=R._getConfig(o,s),h=i==null?void 0:i.$instance,f=R._usePT(h,R._getPT(o==null||(l=o.value)===null||l===void 0?void 0:l.pt,e),R._getOptionValue,"hooks.".concat(d)),p=R._useDefaultPT(h,u==null||(c=u.pt)===null||c===void 0||(c=c.directives)===null||c===void 0?void 0:c[e],R._getOptionValue,"hooks.".concat(d)),m={el:i,binding:o,vnode:s,prevVnode:a};f==null||f(h,m),p==null||p(h,m)},_mergeProps:function(){for(var e=arguments.length>1?arguments[1]:void 0,t=arguments.length,i=new Array(t>2?t-2:0),o=2;o<t;o++)i[o-2]=arguments[o];return z.isFunction(e)?e.apply(void 0,i):r.mergeProps.apply(void 0,i)},_extend:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=function(s,a,l,c,d){var u,h;a._$instances=a._$instances||{};var f=R._getConfig(l,c),p=a._$instances[e]||{},m=z.isEmpty(p)?ee(ee({},t),t==null?void 0:t.methods):{};a._$instances[e]=ee(ee({},p),{},{$name:e,$host:a,$binding:l,$modifiers:l==null?void 0:l.modifiers,$value:l==null?void 0:l.value,$el:p.$el||a||void 0,$style:ee({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},t==null?void 0:t.style),$config:f,defaultPT:function(){return R._getPT(f==null?void 0:f.pt,void 0,function(b){var y;return b==null||(y=b.directives)===null||y===void 0?void 0:y[e]})},isUnstyled:function(){var b,y;return((b=a.$instance)===null||b===void 0||(b=b.$binding)===null||b===void 0||(b=b.value)===null||b===void 0?void 0:b.unstyled)!==void 0?(y=a.$instance)===null||y===void 0||(y=y.$binding)===null||y===void 0||(y=y.value)===null||y===void 0?void 0:y.unstyled:f==null?void 0:f.unstyled},ptm:function(){var b,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return R._getPTValue(a.$instance,(b=a.$instance)===null||b===void 0||(b=b.$binding)===null||b===void 0||(b=b.value)===null||b===void 0?void 0:b.pt,y,ee({},C))},ptmo:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return R._getPTValue(a.$instance,b,y,C,!1)},cx:function(){var b,y,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(b=a.$instance)!==null&&b!==void 0&&b.isUnstyled()?void 0:R._getOptionValue((y=a.$instance)===null||y===void 0||(y=y.$style)===null||y===void 0?void 0:y.classes,C,ee({},x))},sx:function(){var b,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C?R._getOptionValue((b=a.$instance)===null||b===void 0||(b=b.$style)===null||b===void 0?void 0:b.inlineStyles,y,ee({},x)):void 0}},m),a.$instance=a._$instances[e],(u=(h=a.$instance)[s])===null||u===void 0||u.call(h,a,l,c,d),a["$".concat(e)]=a.$instance,R._hook(e,s,a,l,c,d)};return{created:function(s,a,l,c){i("created",s,a,l,c)},beforeMount:function(s,a,l,c){var d,u,h,f,p=R._getConfig(a,l);xe.loadStyle({nonce:p==null||(d=p.csp)===null||d===void 0?void 0:d.nonce}),!((u=s.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((h=s.$instance)===null||h===void 0||(h=h.$style)===null||h===void 0||h.loadStyle({nonce:p==null||(f=p.csp)===null||f===void 0?void 0:f.nonce})),i("beforeMount",s,a,l,c)},mounted:function(s,a,l,c){var d,u,h,f,p=R._getConfig(a,l);xe.loadStyle({nonce:p==null||(d=p.csp)===null||d===void 0?void 0:d.nonce}),!((u=s.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((h=s.$instance)===null||h===void 0||(h=h.$style)===null||h===void 0||h.loadStyle({nonce:p==null||(f=p.csp)===null||f===void 0?void 0:f.nonce})),i("mounted",s,a,l,c)},beforeUpdate:function(s,a,l,c){i("beforeUpdate",s,a,l,c)},updated:function(s,a,l,c){i("updated",s,a,l,c)},beforeUnmount:function(s,a,l,c){i("beforeUnmount",s,a,l,c)},unmounted:function(s,a,l,c){i("unmounted",s,a,l,c)}}},extend:function(){var e=R._getMeta.apply(R,arguments),t=Jo(e,2),i=t[0],o=t[1];return ee({extend:function(){var a=R._getMeta.apply(R,arguments),l=Jo(a,2),c=l[0],d=l[1];return R.extend(c,ee(ee(ee({},o),o==null?void 0:o.methods),d))}},R._extend(i,o))}},uc={root:"p-ink"},hc=xe.extend({name:"ripple",classes:uc}),fc=R.extend({style:hc});function pc(n){return yc(n)||bc(n)||gc(n)||mc()}function mc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gc(n,e){if(n){if(typeof n=="string")return Ii(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ii(n,e)}}function bc(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function yc(n){if(Array.isArray(n))return Ii(n)}function Ii(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}var nr=fc.extend("ripple",{mounted:function(e){var t,i=e==null||(t=e.$instance)===null||t===void 0?void 0:t.$config;i&&i.ripple&&(this.create(e),this.bindEvents(e),e.setAttribute("data-pd-ripple",!0))},unmounted:function(e){this.remove(e)},timeout:void 0,methods:{bindEvents:function(e){e.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(e){e.removeEventListener("mousedown",this.onMouseDown.bind(this))},create:function(e){var t=U.createElement("span",{role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this),"p-bind":this.ptm("root")});e.appendChild(t),this.$el=t},remove:function(e){var t=this.getInk(e);t&&(this.unbindEvents(e),t.removeEventListener("animationend",this.onAnimationEnd),t.remove())},onMouseDown:function(e){var t=this,i=e.currentTarget,o=this.getInk(i);if(!(!o||getComputedStyle(o,null).display==="none")){if(!this.isUnstyled()&&U.removeClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"),!U.getHeight(o)&&!U.getWidth(o)){var s=Math.max(U.getOuterWidth(i),U.getOuterHeight(i));o.style.height=s+"px",o.style.width=s+"px"}var a=U.getOffset(i),l=e.pageX-a.left+document.body.scrollTop-U.getWidth(o)/2,c=e.pageY-a.top+document.body.scrollLeft-U.getHeight(o)/2;o.style.top=c+"px",o.style.left=l+"px",!this.isUnstyled()&&U.addClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){o&&(!t.isUnstyled()&&U.removeClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(e){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&U.removeClass(e.currentTarget,"p-ink-active"),e.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(e){return e&&e.children?pc(e.children).find(function(t){return U.getAttribute(t,"data-pc-name")==="ripple"}):void 0}}});function Ot(n){"@babel/helpers - typeof";return Ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(n)}function De(n,e,t){return e=kc(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function kc(n){var e=Cc(n,"string");return Ot(e)=="symbol"?e:String(e)}function Cc(n,e){if(Ot(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Ot(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var xc={root:function(e){var t=e.instance,i=e.props;return["p-button p-component",De(De(De(De(De(De(De(De({"p-button-icon-only":t.hasIcon&&!i.label&&!i.badge,"p-button-vertical":(i.iconPos==="top"||i.iconPos==="bottom")&&i.label,"p-disabled":t.$attrs.disabled||t.$attrs.disabled===""||i.loading,"p-button-loading":i.loading,"p-button-loading-label-only":i.loading&&!t.hasIcon&&i.label,"p-button-link":i.link},"p-button-".concat(i.severity),i.severity),"p-button-raised",i.raised),"p-button-rounded",i.rounded),"p-button-text",i.text),"p-button-outlined",i.outlined),"p-button-sm",i.size==="small"),"p-button-lg",i.size==="large"),"p-button-plain",i.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(e){var t=e.props;return["p-button-icon",{"p-button-icon-left":t.iconPos==="left"&&t.label,"p-button-icon-right":t.iconPos==="right"&&t.label,"p-button-icon-top":t.iconPos==="top"&&t.label,"p-button-icon-bottom":t.iconPos==="bottom"&&t.label}]},label:"p-button-label"},wc=xe.extend({name:"button",classes:xc}),_c={name:"BaseButton",extends:Et,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:wc,provide:function(){return{$parentInstance:this}}},dn={name:"Button",extends:_c,inheritAttrs:!1,methods:{getPTOptions:function(e){var t=e==="root"?this.ptmi:this.ptm;return t(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:Qo,Badge:Xo},directives:{ripple:nr}},vc=["aria-label","disabled","data-p-severity"];function Sc(n,e,t,i,o,s){var a=r.resolveComponent("SpinnerIcon"),l=r.resolveComponent("Badge"),c=r.resolveDirective("ripple");return r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({class:n.cx("root"),type:"button","aria-label":s.defaultAriaLabel,disabled:s.disabled},s.getPTOptions("root"),{"data-p-severity":n.severity}),[r.renderSlot(n.$slots,"default",{},function(){return[n.loading?r.renderSlot(n.$slots,"loadingicon",{key:0,class:r.normalizeClass([n.cx("loadingIcon"),n.cx("icon")])},function(){return[n.loadingIcon?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,class:[n.cx("loadingIcon"),n.cx("icon"),n.loadingIcon]},n.ptm("loadingIcon")),null,16)):(r.openBlock(),r.createBlock(a,r.mergeProps({key:1,class:[n.cx("loadingIcon"),n.cx("icon")],spin:""},n.ptm("loadingIcon")),null,16,["class"]))]}):r.renderSlot(n.$slots,"icon",{key:1,class:r.normalizeClass([n.cx("icon")])},function(){return[n.icon?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,class:[n.cx("icon"),n.icon,n.iconClass]},n.ptm("icon")),null,16)):r.createCommentVNode("",!0)]}),r.createElementVNode("span",r.mergeProps({class:n.cx("label")},n.ptm("label")),r.toDisplayString(n.label||" "),17),n.badge?(r.openBlock(),r.createBlock(l,r.mergeProps({key:2,value:n.badge,class:n.badgeClass,severity:n.badgeSeverity,unstyled:n.unstyled},n.ptm("badge")),null,16,["value","class","severity","unstyled"])):r.createCommentVNode("",!0)]})],16,vc)),[[c]])}dn.render=Sc;const Tc=["innerHTML"],dt=r.defineComponent({__name:"Accordion",props:{__typename:{},modules:{},headline:{},isChild:{type:Boolean},isSubAccordion:{type:Boolean},type:{},backgroundColor:{},parentBackgroundColor:{},pt:{},imageIcon:{},loadMoreButtonTitle:{},startOpen:{type:Boolean,default:!0},class:{}},setup(n){const e=n,t=r.computed(()=>e.type==="List"?"pi-chevron-down":"pi-plus-circle"),i=r.computed(()=>e.type==="List"?"pi-times":"pi-times-circle"),o=r.computed(()=>ii(e.type,e.pt??{},e.isChild)),{backgroundColor:s,palette:a}=J({...e,backgroundColor:e.backgroundColor||e.parentBackgroundColor}),l=r.ref(e.startOpen?0:null),c=h=>{l.value=l.value===h?null:h},d=r.ref(e.modules.length-1<=4?e.modules.length-1:4),u=()=>{d.value=d.value+4};return(h,f)=>{var p;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(h.isChild?"div":"section"),{class:r.normalizeClass(`accordion-module ${((p=o.value)==null?void 0:p.root)??""} bg-${r.unref(s)} ${h.isChild?"":"p-16"} ${e.class??""}`)},{default:r.withCtx(()=>{var m,g;return[h.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`accordion-module-headline ${((m=o.value)==null?void 0:m.headline)??""} text-${r.unref(a).headline}`),innerHTML:h.headline},null,10,Tc)):r.createCommentVNode("",!0),h.modules?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`accordion-module-container flex ${((g=o.value)==null?void 0:g.container)??""} ${e.isSubAccordion?"[&>:last-child]:border-b-0":""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.modules,(b,y)=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:`${b.headline}-${y}`},[h.type==="Tile"||y<=d.value?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(`Accordion${h.type}Item`),r.mergeProps({key:0,ref_for:!0},b,{"item-number":y,"is-first":y===0,"is-last":y===d.value,"is-child":h.isChild,"icon-default":t.value,"icon-active":i.value,"total-items":h.modules.length,"open-accordion-index":l.value,"background-color":r.unref(s),onToggleAccordion:C=>c(y)}),null,16,["item-number","is-first","is-last","is-child","icon-default","icon-active","total-items","open-accordion-index","background-color","onToggleAccordion"])):r.createCommentVNode("",!0)],64))),128)),h.modules.length>5?(r.openBlock(),r.createBlock(r.unref(dn),{key:0,label:e.loadMoreButtonTitle??"Load More",class:"mt-10 text-lily rounded-[2rem] bg-rosemary py-2 px-10 whitespace-nowrap float-left max-w-[fit-content] text-xl",onClick:u},null,8,["label"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]}),_:1},8,["class"])}}}),$c=["id"],Bc=["aria-controls"],Pc=["id","aria-labelledby"],Mc=["id"],Ec=["aria-expanded","aria-controls"],Ac=["id","aria-labelledby"],ir=r.defineComponent({__name:"AccordionItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{default:4},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},emits:["toggleAccordion"],setup(n,{emit:e}){const t=n,i=r.computed(()=>V(vt,t.pt??{})),o=r.ref(!1),s=r.computed(()=>t.__typename==="Accordion"),a=r.computed(()=>!s.value||!t.modules||!t.type?null:{__typename:"Accordion",modules:t.modules,headline:"",type:t.type,isChild:!0,parentBackgroundColor:t.backgroundColor,backgroundColor:t.backgroundColor,pt:t.pt,class:t.class,loadMoreButtonTitle:t.loadMoreButtonTitle,startOpen:!1}),l=e,c=d=>{l("toggleAccordion",d)};return(d,u)=>{var h,f,p,m,g,b,y,C;return d.isListType?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass({[`accordion-item-${d.itemNumber}`]:!0,active:o.value,first:d.isFirst,last:d.isLast,"accordion-item":!0,group:!0,[`${t.class??""}`]:!0})},[r.createElementVNode("h3",{id:`accordion-collapse-headline-${d.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((h=i.value)==null?void 0:h.headline)??""}`)},[r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((f=i.value)==null?void 0:f.button)??""} justify-between`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":!0,"aria-controls":`accordion-collapse-body-${d.itemNumber}`,onClick:u[0]||(u[0]=r.withModifiers(x=>o.value=!o.value,["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(d.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((p=i.value)==null?void 0:p.icon)??""}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconDefault}`)},null,2),[[r.vShow,!o.value]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconActive}`)},null,2),[[r.vShow,o.value]])],2)],10,Bc)],10,$c),r.createElementVNode("div",{id:`accordion-collapse-body-${d.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${o.value?"show":"hidden"} ${((m=i.value)==null?void 0:m.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${d.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createTextVNode(r.toDisplayString(d.bodyCopy),1)],64))],10,Pc)],2)):(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass([{[`accordion-item-${d.itemNumber}`]:!0,active:d.openAccordionIndex===d.itemNumber,first:d.isFirst,last:d.isLast,[`accordion-item-width-${Math.floor(100/t.totalItems)}`]:!0},"accordion-item group"])},[r.createElementVNode("h3",{id:`accordion-collapse-headline-${d.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((g=i.value)==null?void 0:g.headline)??""}`)},[r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((b=i.value)==null?void 0:b.button)??""} ${t.isListType?"justify-between":"justify-center"}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":d.openAccordionIndex===d.itemNumber,"aria-controls":`accordion-collapse-body-${d.itemNumber}`,onClick:u[1]||(u[1]=r.withModifiers(x=>c(d.itemNumber),["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(d.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((y=i.value)==null?void 0:y.icon)??""}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconDefault}`)},null,2),[[r.vShow,d.openAccordionIndex!==d.itemNumber]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconActive}`)},null,2),[[r.vShow,d.openAccordionIndex===d.itemNumber]])],2)],10,Ec)],10,Mc),r.createElementVNode("div",{id:`accordion-collapse-body-${d.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${d.openAccordionIndex!==d.itemNumber?"hidden":"active"} ${((C=i.value)==null?void 0:C.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${d.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createTextVNode(r.toDisplayString(d.bodyCopy),1)],64))],10,Ac)],2))}}});function un(n){return r.getCurrentScope()?(r.onScopeDispose(n),!0):!1}function Ve(n){return typeof n=="function"?n():r.unref(n)}const Lc={mounted:"mounted",updated:"updated",unmounted:"unmounted"},Oi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const or=n=>n!=null,Ic=Object.prototype.toString,Oc=n=>Ic.call(n)==="[object Object]",Ne=()=>{},rr=Dc();function Dc(){var n,e;return Oi&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Vc(...n){if(n.length!==1)return r.toRef(...n);const e=n[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:Ne}))):r.ref(e)}const sr=Oi?window:void 0;function Di(n){var e;const t=Ve(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Nc(){const n=r.ref(!1),e=r.getCurrentInstance();return e&&r.onMounted(()=>{n.value=!0},e),n}function zc(n){const e=Nc();return r.computed(()=>(e.value,!!n()))}function Fc(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:a=sr,immediate:l=!0}=t,c=zc(()=>a&&"IntersectionObserver"in a),d=r.computed(()=>{const m=Ve(n);return(Array.isArray(m)?m:[m]).map(Di).filter(or)});let u=Ne;const h=r.ref(l),f=c.value?r.watch(()=>[d.value,Di(i),h.value],([m,g])=>{if(u(),!h.value||!m.length)return;const b=new IntersectionObserver(e,{root:Di(g),rootMargin:o,threshold:s});m.forEach(y=>y&&b.observe(y)),u=()=>{b.disconnect(),u=Ne}},{immediate:l,flush:"post"}):Ne,p=()=>{u(),f(),h.value=!1};return un(p),{isSupported:c,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:p}}function Vi(n,e={}){const{window:t=sr,scrollTarget:i,threshold:o=0}=e,s=r.ref(!1);return Fc(n,a=>{let l=s.value,c=0;for(const d of a)d.time>=c&&(c=d.time,l=d.isIntersecting);s.value=l},{root:i,window:t,threshold:o}),s}const Rc=r.defineComponent({__name:"AnimationWrapper",props:{__typename:{},isChild:{type:Boolean},component:{},class:{}},setup(n){const e=n,t=r.ref(null),i=Vi(t,{threshold:.1});return(o,s)=>{var a;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`w-full overflow-hidden ${e.class??""}`)},[r.createElementVNode("div",{ref_key:"content",ref:t,class:r.normalizeClass(`should-animate ${r.unref(i)?"animate":""}`)},[o.component&&((a=o.component)!=null&&a.__typename)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(o.component.__typename),r.mergeProps({key:0},o.component,{"is-child":!0}),null,16)):r.renderSlot(o.$slots,"default",{key:1},void 0,!0)],2)],2)}}}),Dt=(n,e)=>{const t=n.__vccOpts||n;for(const[i,o]of e)t[i]=o;return t},Ni=Dt(Rc,[["__scopeId","data-v-38a806d4"]]),jc=["src","alt"],Hc=["src","alt"],Wc=["src","alt"],le=r.defineComponent({inheritAttrs:!1,__name:"Image",props:{__typename:{},entryTitle:{},media:{},mobileMedia:{},altTag:{},isFullWidth:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},mobileBreakpoint:{default:"md"},class:{}},setup(n){const e=n,t=r.computed(()=>`hidden ${e.mobileBreakpoint}:flex`),i=r.computed(()=>`sm:flex ${e.mobileBreakpoint}:hidden`),o=r.computed(()=>{var c,d,u,h;return e.isFullWidth?"100%":(c=e.media)!=null&&c.width?typeof((d=e.media)==null?void 0:d.width)=="number"?`${(u=e.media)==null?void 0:u.width}px`:(h=e.media)==null?void 0:h.width:null}),s=r.computed(()=>{var c,d,u,h;return(c=e.media)!=null&&c.height?typeof((d=e.media)==null?void 0:d.height)=="number"?`${(u=e.media)==null?void 0:u.height}px`:(h=e.media)==null?void 0:h.height:null}),a=r.computed(()=>{var c,d,u,h;return e.isFullWidth?"100%":(c=e.mobileMedia)!=null&&c.width?typeof((d=e.mobileMedia)==null?void 0:d.width)=="number"?`${(u=e.mobileMedia)==null?void 0:u.width}px`:(h=e.mobileMedia)==null?void 0:h.width:null}),l=r.computed(()=>{var c,d,u,h;return(c=e.mobileMedia)!=null&&c.height?typeof((d=e.mobileMedia)==null?void 0:d.height)=="number"?`${(u=e.mobileMedia)==null?void 0:u.height}px`:(h=e.mobileMedia)==null?void 0:h.height:null});return(c,d)=>{var h,f;const u=Ni;return r.openBlock(),r.createElementBlock(r.Fragment,null,[c.animated?(r.openBlock(),r.createBlock(u,{key:0,class:r.normalizeClass(c.$props.class)},{default:r.withCtx(()=>{var p;return[r.createElementVNode("img",{class:r.normalizeClass(e.class),src:(p=c.media)==null?void 0:p.url,alt:c.altTag,style:r.normalizeStyle({desktopWidth:o.value,desktopHeight:s.value})},null,14,jc)]}),_:1},8,["class"])):(r.openBlock(),r.createElementBlock("img",{key:1,class:r.normalizeClass(`${e.class} ${t.value}`),src:(h=c.media)==null?void 0:h.url,alt:c.altTag,style:r.normalizeStyle({width:o.value,height:s.value})},null,14,Hc)),c.animated?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:2,class:r.normalizeClass(`${e.class} ${i.value}`),src:(f=c.mobileMedia)!=null&&f.url?c.mobileMedia.url:c.media.url,alt:c.altTag,style:r.normalizeStyle({width:a.value||o.value,height:l.value||s.value})},null,14,Wc))],64)}}}),Uc=["id"],Yc=["aria-controls"],Kc=["id","aria-labelledby"],qc=["innerHTML"],ar=r.defineComponent({__name:"AccordionListItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{type:Function},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>V(oi,e.pt??{})),{palette:i}=J(e),o=r.ref(e.openAccordionIndex===e.itemNumber),s=r.computed(()=>e.__typename==="Accordion"),a=r.computed(()=>!s.value||!e.modules||!e.type?null:{__typename:"Accordion",modules:e.modules,headline:"",type:e.type,isChild:!0,isSubAccordion:!0,parentBackgroundColor:e.backgroundColor,backgroundColor:e.backgroundColor,pt:e.pt,class:e.class,loadMoreButtonTitle:e.loadMoreButtonTitle,startOpen:!1});return(l,c)=>{var d,u,h,f,p,m;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({[`${((d=t.value)==null?void 0:d.root)??""}`]:!0,[`border-b border-${r.unref(i).copy}`]:!0,[`accordion-item-${l.itemNumber}`]:!0,active:o.value,first:l.isFirst,last:l.isLast,"accordion-item":!0,group:!0,[`${e.class??""}`]:!0})},[r.createElementVNode("div",{id:`accordion-collapse-headline-${l.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((u=t.value)==null?void 0:u.headline)??""}`)},[l.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:0},l.image,{class:`${((h=t.value)==null?void 0:h.image)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center justify-between w-full text-${r.unref(i).subheadline} ${((f=t.value)==null?void 0:f.button)??""}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":"true","aria-controls":`accordion-collapse-body-${l.itemNumber}`,onClick:c[0]||(c[0]=r.withModifiers(g=>o.value=!o.value,["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(l.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((p=t.value)==null?void 0:p.icon)??""} text-${r.unref(i).bullet}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${l.iconDefault}`)},null,2),[[r.vShow,!o.value]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${l.iconActive}`)},null,2),[[r.vShow,o.value]])],2)],10,Yc)],10,Uc),r.createElementVNode("div",{id:`accordion-collapse-body-${l.itemNumber}`,class:r.normalizeClass(`accordion-item-body text-${r.unref(i).copy} ${o.value?"active":"hidden"} ${((m=t.value)==null?void 0:m.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${l.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock("div",{key:1,innerHTML:l.bodyCopy},null,8,qc))],10,Kc)],2)}}}),Xc=["id"],Gc=["aria-controls"],Zc={class:r.normalizeClass("pi pi-plus-circle")},Qc={class:r.normalizeClass("pi pi-times-circle")},Jc=["id","aria-labelledby"],ed=["innerHTML"],lr=r.defineComponent({__name:"AccordionTileItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{type:Function},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},emits:["toggleAccordion"],setup(n,{emit:e}){const t=n,i=r.computed(()=>V(ri,t.pt??{})),{palette:o}=J(t),s=r.computed(()=>t.openAccordionIndex===t.itemNumber),a=r.computed(()=>t.__typename==="Accordion"),l=r.computed(()=>!a.value||!t.modules||!t.type?null:{__typename:"Accordion",modules:t.modules,headline:"",type:t.type,isChild:!0,parentBackgroundColor:t.backgroundColor,backgroundColor:t.backgroundColor,pt:t.pt,class:t.class,loadMoreButtonTitle:t.loadMoreButtonTitle,startOpen:!1}),c=e,d=u=>{c("toggleAccordion",u)};return(u,h)=>{var f,p,m,g,b,y,C,x,_,w;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({[`accordion-item-${u.itemNumber}`]:!0,[((f=i.value)==null?void 0:f.root)??""]:!0,active:s.value,first:u.isFirst,last:u.isLast,"accordion-item":!0,group:!0,[`${t.class??""}`]:!0})},[r.createElementVNode("div",{id:`accordion-collapse-headline-${u.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline text-2xl p-8 !mb-0 md:p-16 ${((p=i.value)==null?void 0:p.headline)??""} bg-${(m=r.unref(o).interactive)==null?void 0:m.bg}`)},[u.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:0},u.image,{class:`${((g=i.value)==null?void 0:g.image)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((b=i.value)==null?void 0:b.button)??""} text-${(y=r.unref(o).interactive)==null?void 0:y.copy}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":"true","aria-controls":`accordion-collapse-body-${u.itemNumber}`,onClick:h[0]||(h[0]=r.withModifiers(S=>d(u.itemNumber),["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(u.headline),1),r.createElementVNode("div",{class:r.normalizeClass((C=i.value)==null?void 0:C.icon)},[r.withDirectives(r.createElementVNode("i",Zc,null,512),[[r.vShow,u.openAccordionIndex!==u.itemNumber]]),r.withDirectives(r.createElementVNode("i",Qc,null,512),[[r.vShow,u.openAccordionIndex===u.itemNumber]])],2)],10,Gc)],10,Xc),r.createElementVNode("div",{id:`accordion-collapse-body-${u.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${s.value?"active":"hidden"} z-30 ${((x=i.value)==null?void 0:x.bodyCopy)??""} bg-${(_=r.unref(o).interactive)==null?void 0:_.bg} text-${(w=r.unref(o).interactive)==null?void 0:w.copy}`),"aria-labelledby":`accordion-collapse-heading-${u.itemNumber}`},[l.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},l.value)),null,16)):(r.openBlock(),r.createElementBlock("div",{key:1,innerHTML:u.bodyCopy},null,8,ed))],10,Jc)],2)}}});var cr={name:"ChevronDownIcon",extends:Lt},td=r.createElementVNode("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1),nd=[td];function id(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),nd,16)}cr.render=id;var dr={name:"ChevronLeftIcon",extends:Lt},od=r.createElementVNode("path",{d:"M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",fill:"currentColor"},null,-1),rd=[od];function sd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),rd,16)}dr.render=sd;var ur={name:"ChevronRightIcon",extends:Lt},ad=r.createElementVNode("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1),ld=[ad];function cd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),ld,16)}ur.render=cd;var hr={name:"ChevronUpIcon",extends:Lt},dd=r.createElementVNode("path",{d:"M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",fill:"currentColor"},null,-1),ud=[dd];function hd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),ud,16)}hr.render=hd;var fd={root:function(e){var t=e.instance;return["p-carousel p-component",{"p-carousel-vertical":t.isVertical(),"p-carousel-horizontal":!t.isVertical()}]},header:"p-carousel-header",content:"p-carousel-content",container:"p-carousel-container",previousButton:function(e){var t=e.instance;return["p-carousel-prev p-link",{"p-disabled":t.backwardIsDisabled}]},previousButtonIcon:"p-carousel-next-icon",itemsContent:"p-carousel-items-content",itemsContainer:"p-carousel-items-container",itemCloned:function(e){var t=e.index,i=e.value,o=e.totalShiftedItems,s=e.d_numVisible;return["p-carousel-item p-carousel-item-cloned",{"p-carousel-item-active":o*-1===i.length+s,"p-carousel-item-start":t===0,"p-carousel-item-end":i.slice(-1*s).length-1===t}]},item:function(e){var t=e.instance,i=e.index;return["p-carousel-item",{"p-carousel-item-active":t.firstIndex()<=i&&t.lastIndex()>=i,"p-carousel-item-start":t.firstIndex()===i,"p-carousel-item-end":t.lastIndex()===i}]},nextButton:function(e){var t=e.instance;return["p-carousel-next p-link",{"p-disabled":t.forwardIsDisabled}]},nextButtonIcon:"p-carousel-prev-icon",indicators:"p-carousel-indicators p-reset",indicator:function(e){var t=e.instance,i=e.index;return["p-carousel-indicator",{"p-highlight":t.d_page===i}]},indicatorButton:"p-link",footer:"p-carousel-footer"},pd=xe.extend({name:"carousel",classes:fd}),md={name:"BaseCarousel",extends:Et,props:{value:null,page:{type:Number,default:0},numVisible:{type:Number,default:1},numScroll:{type:Number,default:1},responsiveOptions:Array,orientation:{type:String,default:"horizontal"},verticalViewPortHeight:{type:String,default:"300px"},contentClass:String,containerClass:String,indicatorsContentClass:String,circular:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:0},showNavigators:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},style:pd,provide:function(){return{$parentInstance:this}}};function ut(n){return kd(n)||yd(n)||bd(n)||gd()}function gd(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
79
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bd(n,e){if(n){if(typeof n=="string")return zi(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zi(n,e)}}function yd(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function kd(n){if(Array.isArray(n))return zi(n)}function zi(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}var fr={name:"Carousel",extends:md,inheritAttrs:!1,emits:["update:page"],isRemainingItemsAdded:!1,data:function(){return{remainingItems:0,d_numVisible:this.numVisible,d_numScroll:this.numScroll,d_oldNumScroll:0,d_oldNumVisible:0,d_oldValue:null,d_page:this.page,totalShiftedItems:this.page*this.numScroll*-1,allowAutoplay:!!this.autoplayInterval,d_circular:this.circular||this.allowAutoplay,swipeThreshold:20}},watch:{page:function(e){e>this.d_page?this.navForward({},e):e<this.d_page&&this.navBackward({},e),this.d_page=e},circular:function(e){this.d_circular=e},numVisible:function(e,t){this.d_numVisible=e,this.d_oldNumVisible=t},numScroll:function(e,t){this.d_oldNumScroll=t,this.d_numScroll=e},value:function(e){this.d_oldValue=e}},mounted:function(){var e=!1;if(this.$el.setAttribute(this.attributeSelector,""),this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners(),this.isCircular()){var t=this.totalShiftedItems;this.d_page===0?t=-1*this.d_numVisible:t===0&&(t=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),t!==this.totalShiftedItems&&(this.totalShiftedItems=t,e=!0)}!e&&this.isAutoplay()&&this.startAutoplay()},updated:function(){if(!this.empty){var e=this.isCircular(),t=!1,i=this.totalShiftedItems;if(this.autoplayInterval&&this.stopAutoplay(),this.d_oldNumScroll!==this.d_numScroll||this.d_oldNumVisible!==this.d_numVisible||this.d_oldValue.length!==this.value.length){this.remainingItems=(this.value.length-this.d_numVisible)%this.d_numScroll;var o=this.d_page;this.totalIndicators!==0&&o>=this.totalIndicators&&(o=this.totalIndicators-1,this.$emit("update:page",o),this.d_page=o,t=!0),i=o*this.d_numScroll*-1,e&&(i-=this.d_numVisible),o===this.totalIndicators-1&&this.remainingItems>0?(i+=-1*this.remainingItems+this.d_numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,i!==this.totalShiftedItems&&(this.totalShiftedItems=i,t=!0),this.d_oldNumScroll=this.d_numScroll,this.d_oldNumVisible=this.d_numVisible,this.d_oldValue=this.value,this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(i*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(i*(100/this.d_numVisible),"%, 0, 0)")}e&&(this.d_page===0?i=-1*this.d_numVisible:i===0&&(i=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),i!==this.totalShiftedItems&&(this.totalShiftedItems=i,t=!0)),!t&&this.isAutoplay()&&this.startAutoplay()}},beforeUnmount:function(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()},methods:{getIndicatorPTOptions:function(e){return{context:{highlighted:e===this.d_page}}},step:function(e,t){var i=this.totalShiftedItems,o=this.isCircular();if(t!=null)i=this.d_numScroll*t*-1,o&&(i-=this.d_numVisible),this.isRemainingItemsAdded=!1;else{i+=this.d_numScroll*e,this.isRemainingItemsAdded&&(i+=this.remainingItems-this.d_numScroll*e,this.isRemainingItemsAdded=!1);var s=o?i+this.d_numVisible:i;t=Math.abs(Math.floor(s/this.d_numScroll))}o&&this.d_page===this.totalIndicators-1&&e===-1?(i=-1*(this.value.length+this.d_numVisible),t=0):o&&this.d_page===0&&e===1?(i=0,t=this.totalIndicators-1):t===this.totalIndicators-1&&this.remainingItems>0&&(i+=this.remainingItems*-1-this.d_numScroll*e,this.isRemainingItemsAdded=!0),this.$refs.itemsContainer&&(!this.isUnstyled&&U.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(i*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(i*(100/this.d_numVisible),"%, 0, 0)"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=i,this.$emit("update:page",t),this.d_page=t},calculatePosition:function(){if(this.$refs.itemsContainer&&this.responsiveOptions){for(var e=window.innerWidth,t={numVisible:this.numVisible,numScroll:this.numScroll},i=0;i<this.responsiveOptions.length;i++){var o=this.responsiveOptions[i];parseInt(o.breakpoint,10)>=e&&(t=o)}if(this.d_numScroll!==t.numScroll){var s=this.d_page;s=parseInt(s*this.d_numScroll/t.numScroll),this.totalShiftedItems=t.numScroll*s*-1,this.isCircular()&&(this.totalShiftedItems-=t.numVisible),this.d_numScroll=t.numScroll,this.$emit("update:page",s),this.d_page=s}this.d_numVisible!==t.numVisible&&(this.d_numVisible=t.numVisible)}},navBackward:function(e,t){(this.d_circular||this.d_page!==0)&&this.step(1,t),this.allowAutoplay=!1,e.cancelable&&e.preventDefault()},navForward:function(e,t){(this.d_circular||this.d_page<this.totalIndicators-1)&&this.step(-1,t),this.allowAutoplay=!1,e.cancelable&&e.preventDefault()},onIndicatorClick:function(e,t){var i=this.d_page;t>i?this.navForward(e,t):t<i&&this.navBackward(e,t)},onTransitionEnd:function(){this.$refs.itemsContainer&&(!this.isUnstyled&&U.addClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="",(this.d_page===0||this.d_page===this.totalIndicators-1)&&this.isCircular()&&(this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(this.totalShiftedItems*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(this.totalShiftedItems*(100/this.d_numVisible),"%, 0, 0)")))},onTouchStart:function(e){var t=e.changedTouches[0];this.startPos={x:t.pageX,y:t.pageY}},onTouchMove:function(e){var t=e.changedTouches[0],i=this.isVertical()?t.pageY-this.startPos.y:t.pageX-this.startPos.x;Math.abs(i)>this.swipeThreshold&&e.cancelable&&e.preventDefault()},onTouchEnd:function(e){var t=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,t.pageY-this.startPos.y):this.changePageOnTouch(e,t.pageX-this.startPos.x)},changePageOnTouch:function(e,t){Math.abs(t)>this.swipeThreshold&&(t<0?this.navForward(e):this.navBackward(e))},onIndicatorKeydown:function(e){switch(e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":e.preventDefault();break;case"Tab":this.onTabKey();break}},onRightKey:function(){var e=ut(U.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,t+1===e.length?e.length-1:t+1)},onLeftKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)},onHomeKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)},onEndKey:function(){var e=ut(U.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,e.length-1)},onTabKey:function(){var e=ut(U.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=e.findIndex(function(s){return U.getAttribute(s,"data-p-highlight")===!0}),i=U.findSingle(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]'),o=e.findIndex(function(s){return s===i.parentElement});e[o].children[0].tabIndex="-1",e[t].children[0].tabIndex="0"},findFocusedIndicatorIndex:function(){var e=ut(U.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=U.findSingle(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]');return e.findIndex(function(i){return i===t.parentElement})},changedFocusedIndicator:function(e,t){var i=ut(U.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]'));i[e].children[0].tabIndex="-1",i[t].children[0].tabIndex="0",i[t].children[0].focus()},bindDocumentListeners:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(t){e.calculatePosition(t)},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentListeners:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)},startAutoplay:function(){var e=this;this.interval=setInterval(function(){e.d_page===e.totalIndicators-1?e.step(-1,0):e.step(-1,e.d_page+1)},this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)},createStyle:function(){if(!this.carouselStyle){var e;this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",U.setAttribute(this.carouselStyle,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.body.appendChild(this.carouselStyle)}var t=`
77
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sc(n,e){if(n){if(typeof n=="string")return er(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return er(n,e)}}function er(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function ac(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,a,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(u){d=!0,o=u}finally{try{if(!c&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function lc(n){if(Array.isArray(n))return n}function tr(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tr(Object(t),!0).forEach(function(i){Li(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):tr(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Li(n,e,t){return e=cc(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function cc(n){var e=dc(n,"string");return It(e)=="symbol"?e:String(e)}function dc(n,e){if(It(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(It(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var H={_getMeta:function(){return[z.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],z.getItemValue(z.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(e,t){var i,o,s;return(i=(e==null||(o=e.instance)===null||o===void 0?void 0:o.$primevue)||(t==null||(s=t.ctx)===null||s===void 0||(s=s.appContext)===null||s===void 0||(s=s.config)===null||s===void 0||(s=s.globalProperties)===null||s===void 0?void 0:s.$primevue))===null||i===void 0?void 0:i.config},_getOptionValue:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=z.toFlatCase(t).split("."),s=o.shift();return s?z.isObject(e)?H._getOptionValue(z.getItemValue(e[Object.keys(e).find(function(a){return z.toFlatCase(a)===s})||""],i),o.join("."),i):void 0:z.getItemValue(e,i)},_getPTValue:function(){var e,t,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,c=function(){var C=H._getOptionValue.apply(H,arguments);return z.isString(C)||z.isArray(C)?{class:C}:C},d=((e=i.binding)===null||e===void 0||(e=e.value)===null||e===void 0?void 0:e.ptOptions)||((t=i.$config)===null||t===void 0?void 0:t.ptOptions)||{},u=d.mergeSections,h=u===void 0?!0:u,p=d.mergeProps,f=p===void 0?!1:p,m=l?H._useDefaultPT(i,i.defaultPT(),c,s,a):void 0,g=H._usePT(i,H._getPT(o,i.$name),c,s,ee(ee({},a),{},{global:m||{}})),b=H._getPTDatasets(i,s);return h||!h&&g?f?H._mergeProps(i,f,m,g,b):ee(ee(ee({},m),g),b):ee(ee({},g),b)},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i="data-pc-";return ee(ee({},t==="root"&&Li({},"".concat(i,"name"),z.toFlatCase(e.$name))),{},Li({},"".concat(i,"section"),z.toFlatCase(t)))},_getPT:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(a){var l,c=i?i(a):a,d=z.toFlatCase(t);return(l=c==null?void 0:c[d])!==null&&l!==void 0?l:c};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e)},_usePT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,a=function(b){return i(b,o,s)};if(t!=null&&t.hasOwnProperty("_usept")){var l,c=t._usept||((l=e.$config)===null||l===void 0?void 0:l.ptOptions)||{},d=c.mergeSections,u=d===void 0?!0:d,h=c.mergeProps,p=h===void 0?!1:h,f=a(t.originalValue),m=a(t.value);return f===void 0&&m===void 0?void 0:z.isString(m)?m:z.isString(f)?f:u||!u&&m?p?H._mergeProps(e,p,f,m):ee(ee({},f),m):m}return a(t)},_useDefaultPT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;return H._usePT(e,t,i,o,s)},_hook:function(e,t,i,o,s,a){var l,c,d="on".concat(z.toCapitalCase(t)),u=H._getConfig(o,s),h=i==null?void 0:i.$instance,p=H._usePT(h,H._getPT(o==null||(l=o.value)===null||l===void 0?void 0:l.pt,e),H._getOptionValue,"hooks.".concat(d)),f=H._useDefaultPT(h,u==null||(c=u.pt)===null||c===void 0||(c=c.directives)===null||c===void 0?void 0:c[e],H._getOptionValue,"hooks.".concat(d)),m={el:i,binding:o,vnode:s,prevVnode:a};p==null||p(h,m),f==null||f(h,m)},_mergeProps:function(){for(var e=arguments.length>1?arguments[1]:void 0,t=arguments.length,i=new Array(t>2?t-2:0),o=2;o<t;o++)i[o-2]=arguments[o];return z.isFunction(e)?e.apply(void 0,i):r.mergeProps.apply(void 0,i)},_extend:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=function(s,a,l,c,d){var u,h;a._$instances=a._$instances||{};var p=H._getConfig(l,c),f=a._$instances[e]||{},m=z.isEmpty(f)?ee(ee({},t),t==null?void 0:t.methods):{};a._$instances[e]=ee(ee({},f),{},{$name:e,$host:a,$binding:l,$modifiers:l==null?void 0:l.modifiers,$value:l==null?void 0:l.value,$el:f.$el||a||void 0,$style:ee({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},t==null?void 0:t.style),$config:p,defaultPT:function(){return H._getPT(p==null?void 0:p.pt,void 0,function(b){var y;return b==null||(y=b.directives)===null||y===void 0?void 0:y[e]})},isUnstyled:function(){var b,y;return((b=a.$instance)===null||b===void 0||(b=b.$binding)===null||b===void 0||(b=b.value)===null||b===void 0?void 0:b.unstyled)!==void 0?(y=a.$instance)===null||y===void 0||(y=y.$binding)===null||y===void 0||(y=y.value)===null||y===void 0?void 0:y.unstyled:p==null?void 0:p.unstyled},ptm:function(){var b,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return H._getPTValue(a.$instance,(b=a.$instance)===null||b===void 0||(b=b.$binding)===null||b===void 0||(b=b.value)===null||b===void 0?void 0:b.pt,y,ee({},C))},ptmo:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H._getPTValue(a.$instance,b,y,C,!1)},cx:function(){var b,y,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(b=a.$instance)!==null&&b!==void 0&&b.isUnstyled()?void 0:H._getOptionValue((y=a.$instance)===null||y===void 0||(y=y.$style)===null||y===void 0?void 0:y.classes,C,ee({},w))},sx:function(){var b,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C?H._getOptionValue((b=a.$instance)===null||b===void 0||(b=b.$style)===null||b===void 0?void 0:b.inlineStyles,y,ee({},w)):void 0}},m),a.$instance=a._$instances[e],(u=(h=a.$instance)[s])===null||u===void 0||u.call(h,a,l,c,d),a["$".concat(e)]=a.$instance,H._hook(e,s,a,l,c,d)};return{created:function(s,a,l,c){i("created",s,a,l,c)},beforeMount:function(s,a,l,c){var d,u,h,p,f=H._getConfig(a,l);xe.loadStyle({nonce:f==null||(d=f.csp)===null||d===void 0?void 0:d.nonce}),!((u=s.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((h=s.$instance)===null||h===void 0||(h=h.$style)===null||h===void 0||h.loadStyle({nonce:f==null||(p=f.csp)===null||p===void 0?void 0:p.nonce})),i("beforeMount",s,a,l,c)},mounted:function(s,a,l,c){var d,u,h,p,f=H._getConfig(a,l);xe.loadStyle({nonce:f==null||(d=f.csp)===null||d===void 0?void 0:d.nonce}),!((u=s.$instance)!==null&&u!==void 0&&u.isUnstyled())&&((h=s.$instance)===null||h===void 0||(h=h.$style)===null||h===void 0||h.loadStyle({nonce:f==null||(p=f.csp)===null||p===void 0?void 0:p.nonce})),i("mounted",s,a,l,c)},beforeUpdate:function(s,a,l,c){i("beforeUpdate",s,a,l,c)},updated:function(s,a,l,c){i("updated",s,a,l,c)},beforeUnmount:function(s,a,l,c){i("beforeUnmount",s,a,l,c)},unmounted:function(s,a,l,c){i("unmounted",s,a,l,c)}}},extend:function(){var e=H._getMeta.apply(H,arguments),t=Jo(e,2),i=t[0],o=t[1];return ee({extend:function(){var a=H._getMeta.apply(H,arguments),l=Jo(a,2),c=l[0],d=l[1];return H.extend(c,ee(ee(ee({},o),o==null?void 0:o.methods),d))}},H._extend(i,o))}},uc={root:"p-ink"},hc=xe.extend({name:"ripple",classes:uc}),fc=H.extend({style:hc});function pc(n){return yc(n)||bc(n)||gc(n)||mc()}function mc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gc(n,e){if(n){if(typeof n=="string")return Ii(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ii(n,e)}}function bc(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function yc(n){if(Array.isArray(n))return Ii(n)}function Ii(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}var nr=fc.extend("ripple",{mounted:function(e){var t,i=e==null||(t=e.$instance)===null||t===void 0?void 0:t.$config;i&&i.ripple&&(this.create(e),this.bindEvents(e),e.setAttribute("data-pd-ripple",!0))},unmounted:function(e){this.remove(e)},timeout:void 0,methods:{bindEvents:function(e){e.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(e){e.removeEventListener("mousedown",this.onMouseDown.bind(this))},create:function(e){var t=Y.createElement("span",{role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this),"p-bind":this.ptm("root")});e.appendChild(t),this.$el=t},remove:function(e){var t=this.getInk(e);t&&(this.unbindEvents(e),t.removeEventListener("animationend",this.onAnimationEnd),t.remove())},onMouseDown:function(e){var t=this,i=e.currentTarget,o=this.getInk(i);if(!(!o||getComputedStyle(o,null).display==="none")){if(!this.isUnstyled()&&Y.removeClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"),!Y.getHeight(o)&&!Y.getWidth(o)){var s=Math.max(Y.getOuterWidth(i),Y.getOuterHeight(i));o.style.height=s+"px",o.style.width=s+"px"}var a=Y.getOffset(i),l=e.pageX-a.left+document.body.scrollTop-Y.getWidth(o)/2,c=e.pageY-a.top+document.body.scrollLeft-Y.getHeight(o)/2;o.style.top=c+"px",o.style.left=l+"px",!this.isUnstyled()&&Y.addClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){o&&(!t.isUnstyled()&&Y.removeClass(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(e){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&Y.removeClass(e.currentTarget,"p-ink-active"),e.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(e){return e&&e.children?pc(e.children).find(function(t){return Y.getAttribute(t,"data-pc-name")==="ripple"}):void 0}}});function Ot(n){"@babel/helpers - typeof";return Ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(n)}function De(n,e,t){return e=kc(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function kc(n){var e=Cc(n,"string");return Ot(e)=="symbol"?e:String(e)}function Cc(n,e){if(Ot(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Ot(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var xc={root:function(e){var t=e.instance,i=e.props;return["p-button p-component",De(De(De(De(De(De(De(De({"p-button-icon-only":t.hasIcon&&!i.label&&!i.badge,"p-button-vertical":(i.iconPos==="top"||i.iconPos==="bottom")&&i.label,"p-disabled":t.$attrs.disabled||t.$attrs.disabled===""||i.loading,"p-button-loading":i.loading,"p-button-loading-label-only":i.loading&&!t.hasIcon&&i.label,"p-button-link":i.link},"p-button-".concat(i.severity),i.severity),"p-button-raised",i.raised),"p-button-rounded",i.rounded),"p-button-text",i.text),"p-button-outlined",i.outlined),"p-button-sm",i.size==="small"),"p-button-lg",i.size==="large"),"p-button-plain",i.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(e){var t=e.props;return["p-button-icon",{"p-button-icon-left":t.iconPos==="left"&&t.label,"p-button-icon-right":t.iconPos==="right"&&t.label,"p-button-icon-top":t.iconPos==="top"&&t.label,"p-button-icon-bottom":t.iconPos==="bottom"&&t.label}]},label:"p-button-label"},wc=xe.extend({name:"button",classes:xc}),_c={name:"BaseButton",extends:Et,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:wc,provide:function(){return{$parentInstance:this}}},dn={name:"Button",extends:_c,inheritAttrs:!1,methods:{getPTOptions:function(e){var t=e==="root"?this.ptmi:this.ptm;return t(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:Qo,Badge:Xo},directives:{ripple:nr}},vc=["aria-label","disabled","data-p-severity"];function Sc(n,e,t,i,o,s){var a=r.resolveComponent("SpinnerIcon"),l=r.resolveComponent("Badge"),c=r.resolveDirective("ripple");return r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({class:n.cx("root"),type:"button","aria-label":s.defaultAriaLabel,disabled:s.disabled},s.getPTOptions("root"),{"data-p-severity":n.severity}),[r.renderSlot(n.$slots,"default",{},function(){return[n.loading?r.renderSlot(n.$slots,"loadingicon",{key:0,class:r.normalizeClass([n.cx("loadingIcon"),n.cx("icon")])},function(){return[n.loadingIcon?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,class:[n.cx("loadingIcon"),n.cx("icon"),n.loadingIcon]},n.ptm("loadingIcon")),null,16)):(r.openBlock(),r.createBlock(a,r.mergeProps({key:1,class:[n.cx("loadingIcon"),n.cx("icon")],spin:""},n.ptm("loadingIcon")),null,16,["class"]))]}):r.renderSlot(n.$slots,"icon",{key:1,class:r.normalizeClass([n.cx("icon")])},function(){return[n.icon?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,class:[n.cx("icon"),n.icon,n.iconClass]},n.ptm("icon")),null,16)):r.createCommentVNode("",!0)]}),r.createElementVNode("span",r.mergeProps({class:n.cx("label")},n.ptm("label")),r.toDisplayString(n.label||" "),17),n.badge?(r.openBlock(),r.createBlock(l,r.mergeProps({key:2,value:n.badge,class:n.badgeClass,severity:n.badgeSeverity,unstyled:n.unstyled},n.ptm("badge")),null,16,["value","class","severity","unstyled"])):r.createCommentVNode("",!0)]})],16,vc)),[[c]])}dn.render=Sc;const Tc=["innerHTML"],dt=r.defineComponent({__name:"Accordion",props:{__typename:{},modules:{},headline:{},isChild:{type:Boolean},isSubAccordion:{type:Boolean},type:{},backgroundColor:{},parentBackgroundColor:{},pt:{},imageIcon:{},loadMoreButtonTitle:{},startOpen:{type:Boolean,default:!0},class:{}},setup(n){const e=n,t=r.computed(()=>e.type==="List"?"pi-chevron-down":"pi-plus-circle"),i=r.computed(()=>e.type==="List"?"pi-times":"pi-times-circle"),o=r.computed(()=>ii(e.type,e.pt??{},e.isChild)),{backgroundColor:s,palette:a}=J({...e,backgroundColor:e.backgroundColor||e.parentBackgroundColor}),l=r.ref(e.startOpen?0:null),c=h=>{l.value=l.value===h?null:h},d=r.ref(e.modules.length-1<=4?e.modules.length-1:4),u=()=>{d.value=d.value+4};return(h,p)=>{var f;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(h.isChild?"div":"section"),{class:r.normalizeClass(`accordion-module ${((f=o.value)==null?void 0:f.root)??""} bg-${r.unref(s)} ${h.isChild?"":"p-16"} ${e.class??""}`)},{default:r.withCtx(()=>{var m,g;return[h.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`accordion-module-headline ${((m=o.value)==null?void 0:m.headline)??""} text-${r.unref(a).headline}`),innerHTML:h.headline},null,10,Tc)):r.createCommentVNode("",!0),h.modules?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`accordion-module-container flex ${((g=o.value)==null?void 0:g.container)??""} ${e.isSubAccordion?"[&>:last-child]:border-b-0":""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.modules,(b,y)=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:`${b.headline}-${y}`},[h.type==="Tile"||y<=d.value?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(`Accordion${h.type}Item`),r.mergeProps({key:0,ref_for:!0},b,{"item-number":y,"is-first":y===0,"is-last":y===d.value,"is-child":h.isChild,"icon-default":t.value,"icon-active":i.value,"total-items":h.modules.length,"open-accordion-index":l.value,"background-color":r.unref(s),onToggleAccordion:C=>c(y)}),null,16,["item-number","is-first","is-last","is-child","icon-default","icon-active","total-items","open-accordion-index","background-color","onToggleAccordion"])):r.createCommentVNode("",!0)],64))),128)),h.modules.length>5?(r.openBlock(),r.createBlock(r.unref(dn),{key:0,label:e.loadMoreButtonTitle??"Load More",class:"mt-10 text-lily rounded-[2rem] bg-rosemary py-2 px-10 whitespace-nowrap float-left max-w-[fit-content] text-xl",onClick:u},null,8,["label"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]}),_:1},8,["class"])}}}),$c=["id"],Bc=["aria-controls"],Pc=["id","aria-labelledby"],Mc=["id"],Ec=["aria-expanded","aria-controls"],Ac=["id","aria-labelledby"],ir=r.defineComponent({__name:"AccordionItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{default:4},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},emits:["toggleAccordion"],setup(n,{emit:e}){const t=n,i=r.computed(()=>N(vt,t.pt??{})),o=r.ref(!1),s=r.computed(()=>t.__typename==="Accordion"),a=r.computed(()=>!s.value||!t.modules||!t.type?null:{__typename:"Accordion",modules:t.modules,headline:"",type:t.type,isChild:!0,parentBackgroundColor:t.backgroundColor,backgroundColor:t.backgroundColor,pt:t.pt,class:t.class,loadMoreButtonTitle:t.loadMoreButtonTitle,startOpen:!1}),l=e,c=d=>{l("toggleAccordion",d)};return(d,u)=>{var h,p,f,m,g,b,y,C;return d.isListType?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass({[`accordion-item-${d.itemNumber}`]:!0,active:o.value,first:d.isFirst,last:d.isLast,"accordion-item":!0,group:!0,[`${t.class??""}`]:!0})},[r.createElementVNode("h3",{id:`accordion-collapse-headline-${d.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((h=i.value)==null?void 0:h.headline)??""}`)},[r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((p=i.value)==null?void 0:p.button)??""} justify-between`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":!0,"aria-controls":`accordion-collapse-body-${d.itemNumber}`,onClick:u[0]||(u[0]=r.withModifiers(w=>o.value=!o.value,["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(d.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((f=i.value)==null?void 0:f.icon)??""}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconDefault}`)},null,2),[[r.vShow,!o.value]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconActive}`)},null,2),[[r.vShow,o.value]])],2)],10,Bc)],10,$c),r.createElementVNode("div",{id:`accordion-collapse-body-${d.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${o.value?"show":"hidden"} ${((m=i.value)==null?void 0:m.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${d.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createTextVNode(r.toDisplayString(d.bodyCopy),1)],64))],10,Pc)],2)):(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass([{[`accordion-item-${d.itemNumber}`]:!0,active:d.openAccordionIndex===d.itemNumber,first:d.isFirst,last:d.isLast,[`accordion-item-width-${Math.floor(100/t.totalItems)}`]:!0},"accordion-item group"])},[r.createElementVNode("h3",{id:`accordion-collapse-headline-${d.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((g=i.value)==null?void 0:g.headline)??""}`)},[r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((b=i.value)==null?void 0:b.button)??""} ${t.isListType?"justify-between":"justify-center"}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":d.openAccordionIndex===d.itemNumber,"aria-controls":`accordion-collapse-body-${d.itemNumber}`,onClick:u[1]||(u[1]=r.withModifiers(w=>c(d.itemNumber),["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(d.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((y=i.value)==null?void 0:y.icon)??""}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconDefault}`)},null,2),[[r.vShow,d.openAccordionIndex!==d.itemNumber]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${d.iconActive}`)},null,2),[[r.vShow,d.openAccordionIndex===d.itemNumber]])],2)],10,Ec)],10,Mc),r.createElementVNode("div",{id:`accordion-collapse-body-${d.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${d.openAccordionIndex!==d.itemNumber?"hidden":"active"} ${((C=i.value)==null?void 0:C.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${d.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createTextVNode(r.toDisplayString(d.bodyCopy),1)],64))],10,Ac)],2))}}});function un(n){return r.getCurrentScope()?(r.onScopeDispose(n),!0):!1}function Ne(n){return typeof n=="function"?n():r.unref(n)}const Lc={mounted:"mounted",updated:"updated",unmounted:"unmounted"},Oi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const or=n=>n!=null,Ic=Object.prototype.toString,Oc=n=>Ic.call(n)==="[object Object]",Ve=()=>{},rr=Dc();function Dc(){var n,e;return Oi&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Nc(...n){if(n.length!==1)return r.toRef(...n);const e=n[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:Ve}))):r.ref(e)}const sr=Oi?window:void 0;function Di(n){var e;const t=Ne(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Vc(){const n=r.ref(!1),e=r.getCurrentInstance();return e&&r.onMounted(()=>{n.value=!0},e),n}function zc(n){const e=Vc();return r.computed(()=>(e.value,!!n()))}function Fc(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:a=sr,immediate:l=!0}=t,c=zc(()=>a&&"IntersectionObserver"in a),d=r.computed(()=>{const m=Ne(n);return(Array.isArray(m)?m:[m]).map(Di).filter(or)});let u=Ve;const h=r.ref(l),p=c.value?r.watch(()=>[d.value,Di(i),h.value],([m,g])=>{if(u(),!h.value||!m.length)return;const b=new IntersectionObserver(e,{root:Di(g),rootMargin:o,threshold:s});m.forEach(y=>y&&b.observe(y)),u=()=>{b.disconnect(),u=Ve}},{immediate:l,flush:"post"}):Ve,f=()=>{u(),p(),h.value=!1};return un(f),{isSupported:c,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:f}}function Ni(n,e={}){const{window:t=sr,scrollTarget:i,threshold:o=0}=e,s=r.ref(!1);return Fc(n,a=>{let l=s.value,c=0;for(const d of a)d.time>=c&&(c=d.time,l=d.isIntersecting);s.value=l},{root:i,window:t,threshold:o}),s}const Rc=r.defineComponent({__name:"AnimationWrapper",props:{__typename:{},isChild:{type:Boolean},component:{},class:{}},setup(n){const e=n,t=r.ref(null),i=Ni(t,{threshold:.1});return(o,s)=>{var a;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`w-full overflow-hidden ${e.class??""}`)},[r.createElementVNode("div",{ref_key:"content",ref:t,class:r.normalizeClass(`should-animate ${r.unref(i)?"animate":""}`)},[o.component&&((a=o.component)!=null&&a.__typename)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(o.component.__typename),r.mergeProps({key:0},o.component,{"is-child":!0}),null,16)):r.renderSlot(o.$slots,"default",{key:1},void 0,!0)],2)],2)}}}),Dt=(n,e)=>{const t=n.__vccOpts||n;for(const[i,o]of e)t[i]=o;return t},Vi=Dt(Rc,[["__scopeId","data-v-38a806d4"]]),jc=["src","alt"],Hc=["src","alt"],Wc=["src","alt"],de=r.defineComponent({inheritAttrs:!1,__name:"Image",props:{__typename:{},entryTitle:{},media:{},mobileMedia:{},altTag:{},isFullWidth:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},mobileBreakpoint:{default:"md"},class:{}},setup(n){const e=n,t=r.computed(()=>`hidden ${e.mobileBreakpoint}:flex`),i=r.computed(()=>`sm:flex ${e.mobileBreakpoint}:hidden`),o=r.computed(()=>{var c,d,u,h;return e.isFullWidth?"100%":(c=e.media)!=null&&c.width?typeof((d=e.media)==null?void 0:d.width)=="number"?`${(u=e.media)==null?void 0:u.width}px`:(h=e.media)==null?void 0:h.width:null}),s=r.computed(()=>{var c,d,u,h;return(c=e.media)!=null&&c.height?typeof((d=e.media)==null?void 0:d.height)=="number"?`${(u=e.media)==null?void 0:u.height}px`:(h=e.media)==null?void 0:h.height:null}),a=r.computed(()=>{var c,d,u,h;return e.isFullWidth?"100%":(c=e.mobileMedia)!=null&&c.width?typeof((d=e.mobileMedia)==null?void 0:d.width)=="number"?`${(u=e.mobileMedia)==null?void 0:u.width}px`:(h=e.mobileMedia)==null?void 0:h.width:null}),l=r.computed(()=>{var c,d,u,h;return(c=e.mobileMedia)!=null&&c.height?typeof((d=e.mobileMedia)==null?void 0:d.height)=="number"?`${(u=e.mobileMedia)==null?void 0:u.height}px`:(h=e.mobileMedia)==null?void 0:h.height:null});return(c,d)=>{var h,p;const u=Vi;return r.openBlock(),r.createElementBlock(r.Fragment,null,[c.animated?(r.openBlock(),r.createBlock(u,{key:0,class:r.normalizeClass(c.$props.class)},{default:r.withCtx(()=>{var f;return[r.createElementVNode("img",{class:r.normalizeClass(e.class),src:(f=c.media)==null?void 0:f.url,alt:c.altTag,style:r.normalizeStyle({desktopWidth:o.value,desktopHeight:s.value})},null,14,jc)]}),_:1},8,["class"])):(r.openBlock(),r.createElementBlock("img",{key:1,class:r.normalizeClass(`${e.class} ${t.value}`),src:(h=c.media)==null?void 0:h.url,alt:c.altTag,style:r.normalizeStyle({width:o.value,height:s.value})},null,14,Hc)),c.animated?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:2,class:r.normalizeClass(`${e.class} ${i.value}`),src:(p=c.mobileMedia)!=null&&p.url?c.mobileMedia.url:c.media.url,alt:c.altTag,style:r.normalizeStyle({width:a.value||o.value,height:l.value||s.value})},null,14,Wc))],64)}}}),Uc=["id"],Yc=["aria-controls"],Kc=["id","aria-labelledby"],qc=["innerHTML"],ar=r.defineComponent({__name:"AccordionListItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{type:Function},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(oi,e.pt??{})),{palette:i}=J(e),o=r.ref(e.openAccordionIndex===e.itemNumber),s=r.computed(()=>e.__typename==="Accordion"),a=r.computed(()=>!s.value||!e.modules||!e.type?null:{__typename:"Accordion",modules:e.modules,headline:"",type:e.type,isChild:!0,isSubAccordion:!0,parentBackgroundColor:e.backgroundColor,backgroundColor:e.backgroundColor,pt:e.pt,class:e.class,loadMoreButtonTitle:e.loadMoreButtonTitle,startOpen:!1});return(l,c)=>{var d,u,h,p,f,m;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({[`${((d=t.value)==null?void 0:d.root)??""}`]:!0,[`border-b border-${r.unref(i).copy}`]:!0,[`accordion-item-${l.itemNumber}`]:!0,active:o.value,first:l.isFirst,last:l.isLast,"accordion-item":!0,group:!0,[`${e.class??""}`]:!0})},[r.createElementVNode("div",{id:`accordion-collapse-headline-${l.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline ${((u=t.value)==null?void 0:u.headline)??""}`)},[l.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:0},l.image,{class:`${((h=t.value)==null?void 0:h.image)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center justify-between w-full text-${r.unref(i).subheadline} ${((p=t.value)==null?void 0:p.button)??""}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":"true","aria-controls":`accordion-collapse-body-${l.itemNumber}`,onClick:c[0]||(c[0]=r.withModifiers(g=>o.value=!o.value,["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(l.headline),1),r.createElementVNode("div",{class:r.normalizeClass(`${((f=t.value)==null?void 0:f.icon)??""} text-${r.unref(i).bullet}`)},[r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${l.iconDefault}`)},null,2),[[r.vShow,!o.value]]),r.withDirectives(r.createElementVNode("i",{class:r.normalizeClass(`pi ${l.iconActive}`)},null,2),[[r.vShow,o.value]])],2)],10,Yc)],10,Uc),r.createElementVNode("div",{id:`accordion-collapse-body-${l.itemNumber}`,class:r.normalizeClass(`accordion-item-body text-${r.unref(i).copy} ${o.value?"active":"hidden"} ${((m=t.value)==null?void 0:m.bodyCopy)??""}`),"aria-labelledby":`accordion-collapse-heading-${l.itemNumber}`},[a.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},a.value)),null,16)):(r.openBlock(),r.createElementBlock("div",{key:1,innerHTML:l.bodyCopy},null,8,qc))],10,Kc)],2)}}}),Xc=["id"],Gc=["aria-controls"],Zc={class:r.normalizeClass("pi pi-plus-circle")},Qc={class:r.normalizeClass("pi pi-times-circle")},Jc=["id","aria-labelledby"],ed=["innerHTML"],lr=r.defineComponent({__name:"AccordionTileItem",props:{__typename:{},itemNumber:{},headline:{},bodyCopy:{},pt:{},isFirst:{type:Boolean},isLast:{type:Boolean},iconActive:{},iconDefault:{},totalItems:{},isListType:{type:Boolean},openAccordionIndex:{},toggleAccordion:{type:Function},image:{},backgroundColor:{},modules:{},type:{},isChild:{type:Boolean},parentBackgroundColor:{},loadMoreButtonTitle:{},startOpen:{type:Boolean},class:{}},emits:["toggleAccordion"],setup(n,{emit:e}){const t=n,i=r.computed(()=>N(ri,t.pt??{})),{palette:o}=J(t),s=r.computed(()=>t.openAccordionIndex===t.itemNumber),a=r.computed(()=>t.__typename==="Accordion"),l=r.computed(()=>!a.value||!t.modules||!t.type?null:{__typename:"Accordion",modules:t.modules,headline:"",type:t.type,isChild:!0,parentBackgroundColor:t.backgroundColor,backgroundColor:t.backgroundColor,pt:t.pt,class:t.class,loadMoreButtonTitle:t.loadMoreButtonTitle,startOpen:!1}),c=e,d=u=>{c("toggleAccordion",u)};return(u,h)=>{var p,f,m,g,b,y,C,w,_,x;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({[`accordion-item-${u.itemNumber}`]:!0,[((p=i.value)==null?void 0:p.root)??""]:!0,active:s.value,first:u.isFirst,last:u.isLast,"accordion-item":!0,group:!0,[`${t.class??""}`]:!0})},[r.createElementVNode("div",{id:`accordion-collapse-headline-${u.itemNumber}`,class:r.normalizeClass(`flex accordion-item-headline text-2xl p-8 !mb-0 md:p-16 ${((f=i.value)==null?void 0:f.headline)??""} bg-${(m=r.unref(o).interactive)==null?void 0:m.bg}`)},[u.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:0},u.image,{class:`${((g=i.value)==null?void 0:g.image)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:r.normalizeClass(`flex items-center w-full ${((b=i.value)==null?void 0:b.button)??""} text-${(y=r.unref(o).interactive)==null?void 0:y.copy}`),"data-accordion-target":"#accordion-collapse-body-1","aria-expanded":"true","aria-controls":`accordion-collapse-body-${u.itemNumber}`,onClick:h[0]||(h[0]=r.withModifiers(T=>d(u.itemNumber),["prevent"]))},[r.createElementVNode("span",null,r.toDisplayString(u.headline),1),r.createElementVNode("div",{class:r.normalizeClass((C=i.value)==null?void 0:C.icon)},[r.withDirectives(r.createElementVNode("i",Zc,null,512),[[r.vShow,u.openAccordionIndex!==u.itemNumber]]),r.withDirectives(r.createElementVNode("i",Qc,null,512),[[r.vShow,u.openAccordionIndex===u.itemNumber]])],2)],10,Gc)],10,Xc),r.createElementVNode("div",{id:`accordion-collapse-body-${u.itemNumber}`,class:r.normalizeClass(`accordion-item-body ${s.value?"active":"hidden"} z-30 ${((w=i.value)==null?void 0:w.bodyCopy)??""} bg-${(_=r.unref(o).interactive)==null?void 0:_.bg} text-${(x=r.unref(o).interactive)==null?void 0:x.copy}`),"aria-labelledby":`accordion-collapse-heading-${u.itemNumber}`},[l.value?(r.openBlock(),r.createBlock(dt,r.normalizeProps(r.mergeProps({key:0},l.value)),null,16)):(r.openBlock(),r.createElementBlock("div",{key:1,innerHTML:u.bodyCopy},null,8,ed))],10,Jc)],2)}}});var cr={name:"ChevronDownIcon",extends:Lt},td=r.createElementVNode("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1),nd=[td];function id(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),nd,16)}cr.render=id;var dr={name:"ChevronLeftIcon",extends:Lt},od=r.createElementVNode("path",{d:"M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",fill:"currentColor"},null,-1),rd=[od];function sd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),rd,16)}dr.render=sd;var ur={name:"ChevronRightIcon",extends:Lt},ad=r.createElementVNode("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1),ld=[ad];function cd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),ld,16)}ur.render=cd;var hr={name:"ChevronUpIcon",extends:Lt},dd=r.createElementVNode("path",{d:"M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",fill:"currentColor"},null,-1),ud=[dd];function hd(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),ud,16)}hr.render=hd;var fd={root:function(e){var t=e.instance;return["p-carousel p-component",{"p-carousel-vertical":t.isVertical(),"p-carousel-horizontal":!t.isVertical()}]},header:"p-carousel-header",content:"p-carousel-content",container:"p-carousel-container",previousButton:function(e){var t=e.instance;return["p-carousel-prev p-link",{"p-disabled":t.backwardIsDisabled}]},previousButtonIcon:"p-carousel-next-icon",itemsContent:"p-carousel-items-content",itemsContainer:"p-carousel-items-container",itemCloned:function(e){var t=e.index,i=e.value,o=e.totalShiftedItems,s=e.d_numVisible;return["p-carousel-item p-carousel-item-cloned",{"p-carousel-item-active":o*-1===i.length+s,"p-carousel-item-start":t===0,"p-carousel-item-end":i.slice(-1*s).length-1===t}]},item:function(e){var t=e.instance,i=e.index;return["p-carousel-item",{"p-carousel-item-active":t.firstIndex()<=i&&t.lastIndex()>=i,"p-carousel-item-start":t.firstIndex()===i,"p-carousel-item-end":t.lastIndex()===i}]},nextButton:function(e){var t=e.instance;return["p-carousel-next p-link",{"p-disabled":t.forwardIsDisabled}]},nextButtonIcon:"p-carousel-prev-icon",indicators:"p-carousel-indicators p-reset",indicator:function(e){var t=e.instance,i=e.index;return["p-carousel-indicator",{"p-highlight":t.d_page===i}]},indicatorButton:"p-link",footer:"p-carousel-footer"},pd=xe.extend({name:"carousel",classes:fd}),md={name:"BaseCarousel",extends:Et,props:{value:null,page:{type:Number,default:0},numVisible:{type:Number,default:1},numScroll:{type:Number,default:1},responsiveOptions:Array,orientation:{type:String,default:"horizontal"},verticalViewPortHeight:{type:String,default:"300px"},contentClass:String,containerClass:String,indicatorsContentClass:String,circular:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:0},showNavigators:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},style:pd,provide:function(){return{$parentInstance:this}}};function ut(n){return kd(n)||yd(n)||bd(n)||gd()}function gd(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
79
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bd(n,e){if(n){if(typeof n=="string")return zi(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zi(n,e)}}function yd(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function kd(n){if(Array.isArray(n))return zi(n)}function zi(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}var fr={name:"Carousel",extends:md,inheritAttrs:!1,emits:["update:page"],isRemainingItemsAdded:!1,data:function(){return{remainingItems:0,d_numVisible:this.numVisible,d_numScroll:this.numScroll,d_oldNumScroll:0,d_oldNumVisible:0,d_oldValue:null,d_page:this.page,totalShiftedItems:this.page*this.numScroll*-1,allowAutoplay:!!this.autoplayInterval,d_circular:this.circular||this.allowAutoplay,swipeThreshold:20}},watch:{page:function(e){e>this.d_page?this.navForward({},e):e<this.d_page&&this.navBackward({},e),this.d_page=e},circular:function(e){this.d_circular=e},numVisible:function(e,t){this.d_numVisible=e,this.d_oldNumVisible=t},numScroll:function(e,t){this.d_oldNumScroll=t,this.d_numScroll=e},value:function(e){this.d_oldValue=e}},mounted:function(){var e=!1;if(this.$el.setAttribute(this.attributeSelector,""),this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners(),this.isCircular()){var t=this.totalShiftedItems;this.d_page===0?t=-1*this.d_numVisible:t===0&&(t=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),t!==this.totalShiftedItems&&(this.totalShiftedItems=t,e=!0)}!e&&this.isAutoplay()&&this.startAutoplay()},updated:function(){if(!this.empty){var e=this.isCircular(),t=!1,i=this.totalShiftedItems;if(this.autoplayInterval&&this.stopAutoplay(),this.d_oldNumScroll!==this.d_numScroll||this.d_oldNumVisible!==this.d_numVisible||this.d_oldValue.length!==this.value.length){this.remainingItems=(this.value.length-this.d_numVisible)%this.d_numScroll;var o=this.d_page;this.totalIndicators!==0&&o>=this.totalIndicators&&(o=this.totalIndicators-1,this.$emit("update:page",o),this.d_page=o,t=!0),i=o*this.d_numScroll*-1,e&&(i-=this.d_numVisible),o===this.totalIndicators-1&&this.remainingItems>0?(i+=-1*this.remainingItems+this.d_numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,i!==this.totalShiftedItems&&(this.totalShiftedItems=i,t=!0),this.d_oldNumScroll=this.d_numScroll,this.d_oldNumVisible=this.d_numVisible,this.d_oldValue=this.value,this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(i*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(i*(100/this.d_numVisible),"%, 0, 0)")}e&&(this.d_page===0?i=-1*this.d_numVisible:i===0&&(i=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),i!==this.totalShiftedItems&&(this.totalShiftedItems=i,t=!0)),!t&&this.isAutoplay()&&this.startAutoplay()}},beforeUnmount:function(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()},methods:{getIndicatorPTOptions:function(e){return{context:{highlighted:e===this.d_page}}},step:function(e,t){var i=this.totalShiftedItems,o=this.isCircular();if(t!=null)i=this.d_numScroll*t*-1,o&&(i-=this.d_numVisible),this.isRemainingItemsAdded=!1;else{i+=this.d_numScroll*e,this.isRemainingItemsAdded&&(i+=this.remainingItems-this.d_numScroll*e,this.isRemainingItemsAdded=!1);var s=o?i+this.d_numVisible:i;t=Math.abs(Math.floor(s/this.d_numScroll))}o&&this.d_page===this.totalIndicators-1&&e===-1?(i=-1*(this.value.length+this.d_numVisible),t=0):o&&this.d_page===0&&e===1?(i=0,t=this.totalIndicators-1):t===this.totalIndicators-1&&this.remainingItems>0&&(i+=this.remainingItems*-1-this.d_numScroll*e,this.isRemainingItemsAdded=!0),this.$refs.itemsContainer&&(!this.isUnstyled&&Y.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(i*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(i*(100/this.d_numVisible),"%, 0, 0)"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=i,this.$emit("update:page",t),this.d_page=t},calculatePosition:function(){if(this.$refs.itemsContainer&&this.responsiveOptions){for(var e=window.innerWidth,t={numVisible:this.numVisible,numScroll:this.numScroll},i=0;i<this.responsiveOptions.length;i++){var o=this.responsiveOptions[i];parseInt(o.breakpoint,10)>=e&&(t=o)}if(this.d_numScroll!==t.numScroll){var s=this.d_page;s=parseInt(s*this.d_numScroll/t.numScroll),this.totalShiftedItems=t.numScroll*s*-1,this.isCircular()&&(this.totalShiftedItems-=t.numVisible),this.d_numScroll=t.numScroll,this.$emit("update:page",s),this.d_page=s}this.d_numVisible!==t.numVisible&&(this.d_numVisible=t.numVisible)}},navBackward:function(e,t){(this.d_circular||this.d_page!==0)&&this.step(1,t),this.allowAutoplay=!1,e.cancelable&&e.preventDefault()},navForward:function(e,t){(this.d_circular||this.d_page<this.totalIndicators-1)&&this.step(-1,t),this.allowAutoplay=!1,e.cancelable&&e.preventDefault()},onIndicatorClick:function(e,t){var i=this.d_page;t>i?this.navForward(e,t):t<i&&this.navBackward(e,t)},onTransitionEnd:function(){this.$refs.itemsContainer&&(!this.isUnstyled&&Y.addClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="",(this.d_page===0||this.d_page===this.totalIndicators-1)&&this.isCircular()&&(this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(this.totalShiftedItems*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(this.totalShiftedItems*(100/this.d_numVisible),"%, 0, 0)")))},onTouchStart:function(e){var t=e.changedTouches[0];this.startPos={x:t.pageX,y:t.pageY}},onTouchMove:function(e){var t=e.changedTouches[0],i=this.isVertical()?t.pageY-this.startPos.y:t.pageX-this.startPos.x;Math.abs(i)>this.swipeThreshold&&e.cancelable&&e.preventDefault()},onTouchEnd:function(e){var t=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,t.pageY-this.startPos.y):this.changePageOnTouch(e,t.pageX-this.startPos.x)},changePageOnTouch:function(e,t){Math.abs(t)>this.swipeThreshold&&(t<0?this.navForward(e):this.navBackward(e))},onIndicatorKeydown:function(e){switch(e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":e.preventDefault();break;case"Tab":this.onTabKey();break}},onRightKey:function(){var e=ut(Y.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,t+1===e.length?e.length-1:t+1)},onLeftKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)},onHomeKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)},onEndKey:function(){var e=ut(Y.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,e.length-1)},onTabKey:function(){var e=ut(Y.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=e.findIndex(function(s){return Y.getAttribute(s,"data-p-highlight")===!0}),i=Y.findSingle(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]'),o=e.findIndex(function(s){return s===i.parentElement});e[o].children[0].tabIndex="-1",e[t].children[0].tabIndex="0"},findFocusedIndicatorIndex:function(){var e=ut(Y.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=Y.findSingle(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]');return e.findIndex(function(i){return i===t.parentElement})},changedFocusedIndicator:function(e,t){var i=ut(Y.find(this.$refs.indicatorContent,'[data-pc-section="indicator"]'));i[e].children[0].tabIndex="-1",i[t].children[0].tabIndex="0",i[t].children[0].focus()},bindDocumentListeners:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(t){e.calculatePosition(t)},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentListeners:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)},startAutoplay:function(){var e=this;this.interval=setInterval(function(){e.d_page===e.totalIndicators-1?e.step(-1,0):e.step(-1,e.d_page+1)},this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)},createStyle:function(){if(!this.carouselStyle){var e;this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",Y.setAttribute(this.carouselStyle,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.body.appendChild(this.carouselStyle)}var t=`
80
80
  .p-carousel[`.concat(this.attributeSelector,`] .p-carousel-item {
81
81
  flex: 1 0 `).concat(100/this.d_numVisible,`%
82
82
  }
@@ -86,21 +86,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
86
86
  flex: 1 0 `).concat(100/a.numVisible,`%
87
87
  }
88
88
  }
89
- `)}}this.carouselStyle.innerHTML=t},isVertical:function(){return this.orientation==="vertical"},isCircular:function(){return this.value&&this.d_circular&&this.value.length>=this.d_numVisible},isAutoplay:function(){return this.autoplayInterval&&this.allowAutoplay},firstIndex:function(){return this.isCircular()?-1*(this.totalShiftedItems+this.d_numVisible):this.totalShiftedItems*-1},lastIndex:function(){return this.firstIndex()+this.d_numVisible-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{totalIndicators:function(){return this.value?Math.max(Math.ceil((this.value.length-this.d_numVisible)/this.d_numScroll)+1,0):0},backwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&this.d_page===0},forwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&(this.d_page===this.totalIndicators-1||this.totalIndicators===0)},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0},ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0},attributeSelector:function(){return xl()},empty:function(){return!this.value||this.value.length===0},emptyMessageText:function(){var e;return((e=this.$primevue.config)===null||e===void 0||(e=e.locale)===null||e===void 0?void 0:e.emptyMessage)||""}},components:{ChevronRightIcon:ur,ChevronDownIcon:cr,ChevronLeftIcon:dr,ChevronUpIcon:hr},directives:{ripple:nr}};function Vt(n){"@babel/helpers - typeof";return Vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(n)}function pr(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function hn(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pr(Object(t),!0).forEach(function(i){Cd(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Cd(n,e,t){return e=xd(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function xd(n){var e=wd(n,"string");return Vt(e)=="symbol"?e:String(e)}function wd(n,e){if(Vt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Vt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var _d=["aria-live"],vd=["disabled","aria-label"],Sd=["data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Td=["aria-hidden","aria-label","aria-roledescription","data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],$d=["disabled","aria-label"],Bd=["data-p-highlight"],Pd=["tabindex","aria-label","aria-current","onClick"];function Md(n,e,t,i,o,s){var a=r.resolveDirective("ripple");return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:n.cx("root"),role:"region"},n.ptmi("root")),[n.$slots.header?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[r.renderSlot(n.$slots,"header")],16)):r.createCommentVNode("",!0),s.empty?r.renderSlot(n.$slots,"empty",{key:2},function(){return[r.createTextVNode(r.toDisplayString(s.emptyMessageText),1)]}):(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:[n.cx("content"),n.contentClass]},n.ptm("content")),[r.createElementVNode("div",r.mergeProps({class:[n.cx("container"),n.containerClass],"aria-live":o.allowAutoplay?"polite":"off"},n.ptm("container")),[n.showNavigators?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:0,type:"button",class:n.cx("previousButton"),disabled:s.backwardIsDisabled,"aria-label":s.ariaPrevButtonLabel,onClick:e[0]||(e[0]=function(){return s.navBackward&&s.navBackward.apply(s,arguments)})},hn(hn({},n.prevButtonProps),n.ptm("previousButton")),{"data-pc-group-section":"navigator"}),[r.renderSlot(n.$slots,"previousicon",{},function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.isVertical()?"ChevronUpIcon":"ChevronLeftIcon"),r.mergeProps({class:n.cx("previousButtonIcon")},n.ptm("previousButtonIcon")),null,16,["class"]))]})],16,vd)),[[a]]):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("itemsContent"),style:[{height:s.isVertical()?n.verticalViewPortHeight:"auto"}],onTouchend:e[2]||(e[2]=function(){return s.onTouchEnd&&s.onTouchEnd.apply(s,arguments)}),onTouchstart:e[3]||(e[3]=function(){return s.onTouchStart&&s.onTouchStart.apply(s,arguments)}),onTouchmove:e[4]||(e[4]=function(){return s.onTouchMove&&s.onTouchMove.apply(s,arguments)})},n.ptm("itemsContent")),[r.createElementVNode("div",r.mergeProps({ref:"itemsContainer",class:n.cx("itemsContainer"),onTransitionend:e[1]||(e[1]=function(){return s.onTransitionEnd&&s.onTransitionEnd.apply(s,arguments)})},n.ptm("itemsContainer")),[s.isCircular()?(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:0},r.renderList(n.value.slice(-1*o.d_numVisible),function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c+"_scloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:o.totalShiftedItems,d_numVisible:o.d_numVisible})},n.ptm("itemCloned"),{"data-p-carousel-item-active":o.totalShiftedItems*-1===n.value.length+o.d_numVisible,"data-p-carousel-item-start":c===0,"data-p-carousel-item-end":n.value.slice(-1*o.d_numVisible).length-1===c}),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16,Sd)}),128)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.value,function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c,class:n.cx("item",{index:c}),role:"group","aria-hidden":s.firstIndex()>c||s.lastIndex()<c?!0:void 0,"aria-label":s.ariaSlideNumber(c),"aria-roledescription":s.ariaSlideLabel},n.ptm("item"),{"data-p-carousel-item-active":s.firstIndex()<=c&&s.lastIndex()>=c,"data-p-carousel-item-start":s.firstIndex()===c,"data-p-carousel-item-end":s.lastIndex()===c}),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16,Td)}),128)),s.isCircular()?(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:1},r.renderList(n.value.slice(0,o.d_numVisible),function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c+"_fcloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:o.totalShiftedItems,d_numVisible:o.d_numVisible})},n.ptm("itemCloned")),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16)}),128)):r.createCommentVNode("",!0)],16)],16),n.showNavigators?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:1,type:"button",class:n.cx("nextButton"),disabled:s.forwardIsDisabled,"aria-label":s.ariaNextButtonLabel,onClick:e[5]||(e[5]=function(){return s.navForward&&s.navForward.apply(s,arguments)})},hn(hn({},n.nextButtonProps),n.ptm("nextButton")),{"data-pc-group-section":"navigator"}),[r.renderSlot(n.$slots,"nexticon",{},function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.isVertical()?"ChevronDownIcon":"ChevronRightIcon"),r.mergeProps({class:n.cx("nextButtonIcon")},n.ptm("nextButtonIcon")),null,16,["class"]))]})],16,$d)),[[a]]):r.createCommentVNode("",!0)],16,_d),s.totalIndicators>=0&&n.showIndicators?(r.openBlock(),r.createElementBlock("ul",r.mergeProps({key:0,ref:"indicatorContent",class:[n.cx("indicators"),n.indicatorsContentClass],onKeydown:e[6]||(e[6]=function(){return s.onIndicatorKeydown&&s.onIndicatorKeydown.apply(s,arguments)})},n.ptm("indicators")),[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.totalIndicators,function(l,c){return r.openBlock(),r.createElementBlock("li",r.mergeProps({key:"p-carousel-indicator-"+c.toString(),class:n.cx("indicator",{index:c})},n.ptm("indicator",s.getIndicatorPTOptions(c)),{"data-p-highlight":o.d_page===c}),[r.createElementVNode("button",r.mergeProps({class:n.cx("indicatorButton"),type:"button",tabindex:o.d_page===c?"0":"-1","aria-label":s.ariaPageLabel(c+1),"aria-current":o.d_page===c?"page":void 0,onClick:function(u){return s.onIndicatorClick(u,c)}},n.ptm("indicatorButton",s.getIndicatorPTOptions(c))),null,16,Pd)],16,Bd)}),128))],16)):r.createCommentVNode("",!0)],16)),n.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:3,class:n.cx("footer")},n.ptm("footer")),[r.renderSlot(n.$slots,"footer")],16)):r.createCommentVNode("",!0)],16)}fr.render=Md;const Ed=["innerHTML"],Ad={class:"flex justify-center items-center gap-6 absolute z-50 bottom-6 left-0 right-0 w-fit me-auto ms-auto"},Ld=["onClick"],Id={class:"flex items-center gap-4"},Od=["onClick"],Dd=["onClick"],mr=r.defineComponent({__name:"CarouselModule",props:{__typename:{},headline:{},carouselItems:{},backgroundColor:{},pt:{},variant:{default:"Default"},class:{}},setup(n){const e=n,t=r.computed(()=>V(si,e.pt??{})),i=r.ref(0),o=r.computed(()=>i.value>0),s=r.computed(()=>i.value<e.carouselItems.length-1),{backgroundColor:a,palette:l}=J(e),c=r.computed(()=>`${D(e.variant!=="Hero"?"py-16 px-8":"",`bg-${a}`,e.class)} ${e.variant.toLowerCase()} carousel relative`);return(d,u)=>{var h;return r.openBlock(),r.createBlock(r.unref(fr),{value:d.carouselItems,"num-visible":1,"num-scroll":1,class:r.normalizeClass(c.value),pt:t.value,"show-navigators":!1,"show-indicators":!1,page:i.value,"pt:item:class":`carousel-item w-full ${((h=t.value)==null?void 0:h.item)??""}`},r.createSlots({item:r.withCtx(f=>[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(f.data.__typename),r.mergeProps(f.data,{"is-child":!0}),null,16))]),footer:r.withCtx(()=>[r.createElementVNode("div",Ad,[r.createElementVNode("button",{onClick:()=>o.value?i.value--:i.value=d.carouselItems.length-1},u[0]||(u[0]=[r.createElementVNode("img",{class:"w-[11px]",src:"https://images.ctfassets.net/qqblaiss500w/5Nhdf7R1DeedcyBCxbqEGZ/789698047434d57ca6337e3f210ee1f9/icon-left-arrow.svg?fm=webp"},null,-1)]),8,Ld),r.createElementVNode("div",Id,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.carouselItems,(f,p)=>(r.openBlock(),r.createElementBlock("button",{key:p,onClick:()=>i.value=p,class:r.normalizeClass(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value===p?"bg-secondary border-none":"border-gray-400"}`)},null,10,Od))),128))]),r.createElementVNode("button",{onClick:()=>s.value?i.value++:i.value=0},u[1]||(u[1]=[r.createElementVNode("img",{class:"w-[11px]",src:"https://images.ctfassets.net/qqblaiss500w/52baRb2rAQgjt4FV4eCjog/91068343d7082e65d18f4eb4030656d9/icon-right-arrow.svg?fm=webp"},null,-1)]),8,Dd)])]),_:2},[d.headline?{name:"header",fn:r.withCtx(()=>{var f;return[r.createElementVNode("h2",{class:r.normalizeClass(`carousel-headline ${((f=t.value)==null?void 0:f.headline)??""} text-${r.unref(l).headline}`),innerHTML:d.headline},null,10,Ed)]}),key:"0"}:void 0]),1032,["value","class","pt","page","pt:item:class"])}}});var ze=(n=>(n[n.IconTile=0]="IconTile",n[n.ImageTile=1]="ImageTile",n[n.VideoTile=2]="VideoTile",n[n.ImageStackedAnimatedTile=3]="ImageStackedAnimatedTile",n[n.VideoLeft=4]="VideoLeft",n[n.Hero=5]="Hero",n[n.Centered=6]="Centered",n[n.Feature=7]="Feature",n))(ze||{});const Vd={Centered:"Centered",Hero:"Hero",Feature:"Feature"},Nd={Accordion:"Accordion",Image:"Image",Testimonial:"Testimonial",TileLabel:"TileLabel",Video:"Video",TileCollectionModule:"TileCollectionModule",ContainerModule:"ContainerModule",TileContent:"TileContent",ContentModule:"ContentModule",FormModule:"FormModule",CarouselModule:"CarouselModule",TestimonialModule:"TestimonialModule",LogoCollectionModule:"LogoCollectionModule",ProductModule:"ProductModule",CardsModule:"CardsModule",ChartModule:"ChartModule"},zd={Icon:"IconTile",Image:"ImageTile",Video:"VideoTile",Text:"TextTile","Image Stacked Animated":"ImageStackedAnimatedTile",Multiple:"Multiple"},Fd={Icon:"TileContentIconTile",Image:"TileContentImageTile",Video:"TileContentVideoTile",Text:"TileContentTextTile","Image Stacked Animated":"TileContentImageStackedAnimatedTile",Multiple:"TileContentMultiple"},Rd={List:"List",Tile:"Tile"},jd={Fill:"fill",Outline:"outline",Link:"link",Logo:"logo"},Hd={Left:"left",Right:"right",Center:"center"},Wd={Top:"top",Center:"center",Bottom:"bottom"},Ud={Left:"left",Center:"center",Right:"right",Inline:"inline"},Yd={Top:"Top",Bottom:"Bottom"},Kd={Hero:"Hero",Default:"Default"};var gr=(n=>(n.Image="img",n.Video="iframe",n))(gr||{}),br=(n=>(n[n.fill=0]="fill",n[n.outline=1]="outline",n[n.link=2]="link",n[n.logo=3]="logo",n))(br||{});const qd=["innerHTML"],Xd={key:2,class:"container-module-testimonial-tile relative lg:absolute lg:right-0 lg:bottom-10 flex justify-center lg:justify-end mt-20 lg:mt-0"},Gd=["src"],Zd={key:1,class:"text-[base] text-left lg:text-[17px] leading-relaxed mb-4 font-normal pr-32 lg:pr-0"},yr=r.defineComponent({__name:"ContainerModule",props:{__typename:{},headline:{},subHeadline:{},fullWidthContent:{},start:{},end:{},textColor:{},backgroundColor:{},backgroundImage:{},backgroundImageClass:{},variant:{default:"Centered"},isChild:{type:Boolean,default:!1},pt:{},mobileImagePosition:{default:"Top"},testimonialTile:{},class:{}},setup(n){var $,B,E,A,L,T;const e=n,{backgroundColor:t,palette:i}=J(e),o=r.computed(()=>V(li[e.variant],e.pt??{})),s=r.computed(()=>ze[e.variant]===ze.Hero),a=r.computed(()=>ze[e.variant]===ze.Centered),l=r.computed(()=>ze[e.variant]===ze.Feature),c=r.computed(()=>{var k,P;return e.testimonialTile&&s.value?D(((k=o.value)==null?void 0:k.inner)??"","md:block lg:flex lg:items-center p-8 lg:p-0"):((P=o.value)==null?void 0:P.inner)??""}),d=r.computed(()=>{if(!s.value)return"";const k=[];return g==="ContentModule"&&b==="Image"&&k.push("lg:flex lg:items-center lg:z-10"),g!=="Image"&&(k.push("py-16 px-16 lg:py-0 lg:px-16"),e.testimonialTile&&k.push("pt-8 pb-0 lg:pt-0 lg:pb-0")),e.mobileImagePosition==="Bottom"&&k.push("pt-16 pb-0 lg:py-0"),D(...k)}),u=r.computed(()=>s.value&&b!=="Image"?"py-16 lg:pr-16 lg:pl-0 px-12":s.value&&b==="Image"?e.testimonialTile?"hidden lg:block lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero":"max-h-[500px] lg:max-h-none overflow-hidden lg:overflow-visible lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero":l.value&&b==="Image"?"md:absolute md:right-0 md:top-0 md:h-full md:w-1/2":""),h=r.computed(()=>{var k,P,M,I;return D(`container-module ${e.testimonialTile?"lg:flex":"md:flex"} ${e.backgroundImage?"":`bg-${t}`} relative ${s.value?"overflow-hidden":""} ${(k=o.value)==null?void 0:k.root} ${s.value?e.backgroundImage?`lg:h-[60vw] lg:max-h-[33.75rem] ${(P=o.value)==null?void 0:P.container}`:`${(M=o.value)==null?void 0:M.container}`:""} `,l.value?`${(I=o.value)==null?void 0:I.container}`:"",s.value&&g==="ContentModule"&&b==="Image"?"lg:h-[33.75rem] ":"",e.class??"",e.mobileImagePosition==="Top"&&s.value&&!e.testimonialTile?"clip-mobile-hero lg:no-clip":"")}),f=r.computed(()=>D(`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0', ${s.value?"object-bottom":""}`,e.backgroundImageClass??"")),p=r.computed(()=>{var P,M;let k=JSON.parse(JSON.stringify(e.backgroundImage));return k!=null&&k.media.width&&(k.media.width=void 0),k!=null&&k.media.height&&(k.media.height=void 0),(P=k==null?void 0:k.mobileMedia)!=null&&P.width&&(k.mobileMedia.width=void 0),(M=k==null?void 0:k.mobileMedia)!=null&&M.height&&(k.mobileMedia.height=void 0),k}),m=(($=e.fullWidthContent)==null?void 0:$.__typename)==="TileContent"?"TileContentTextTile":(B=e.fullWidthContent)==null?void 0:B.__typename,g=((E=e.start)==null?void 0:E.__typename)==="TileContent"?"TileContentTextTile":(A=e.start)==null?void 0:A.__typename,b=((L=e.end)==null?void 0:L.__typename)==="TileContent"?"TileContentTextTile":(T=e.end)==null?void 0:T.__typename,y=k=>{const P=k;return P==null?void 0:P.backgroundColor},C=m==="TileCollectionModule"||g==="TileCollectionModule"||b==="TileCollectionModule",x=r.computed(()=>{var k,P;return((k=e.end)==null?void 0:k.__typename)==="Image"||((P=e.end)==null?void 0:P.__typename)==="Video"}),_=r.computed(()=>{var O,q,H,ae;const k=((O=e.start)==null?void 0:O.__typename)==="Accordion",P=((q=e.end)==null?void 0:q.__typename)==="Accordion",M=((H=e.start)==null?void 0:H.__typename)==="TileCollectionModule",I=((ae=e.end)==null?void 0:ae.__typename)==="TileCollectionModule";return k&&P?"basis-2/3 md:pr-8":k?"basis-2/3 md:pr-16":P?"basis-1/3":I?"lg:basis-2/5":M?"lg:basis-3/5":"basis-1/2"}),w=r.computed(()=>{var O,q,H,ae;const k=((O=e.start)==null?void 0:O.__typename)==="Accordion",P=((q=e.end)==null?void 0:q.__typename)==="Accordion",M=((H=e.start)==null?void 0:H.__typename)==="TileCollectionModule",I=((ae=e.end)==null?void 0:ae.__typename)==="TileCollectionModule";return k&&P?"basis-2/3 md:pl-8":P?"basis-2/3 md:pl-16":k?"basis-1/3":M?"lg:basis-2/5":I?"lg:basis-3/5":"basis-1/2"}),S=r.computed(()=>l.value&&b==="Image"?"h-full w-full object-cover object-right":s.value&&b==="Image"?"max-h-[500px] lg:max-h-none lg:h-full w-full object-cover":"");return(k,P)=>{const M=le;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(k.isChild?"div":"section"),{class:r.normalizeClass(h.value)},{default:r.withCtx(()=>{var I,O,q,H,ae,de,Le,qe,Se,Xe;return[k.backgroundImage&&p.value?(r.openBlock(),r.createBlock(M,{key:0,media:p.value.media,"mobile-media":p.value.mobileMedia,class:r.normalizeClass(f.value)},null,8,["media","mobile-media","class"])):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-module-inner relative z-10 ${l.value?"":s.value?((I=k.start)==null?void 0:I.__typename)==="Image"?"container-hero-right":"container-hero":"container"} ${k.isChild||s.value||l.value?"":"py-[2rem] px-8 md:py-16 md:px-4"} ${c.value}`)},[k.headline||k.subHeadline?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-heading-group mb-8 md:mb-10 space-y-[10px] ${!k.isChild&&s.value?"py-16":""}`)},[k.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`container-module-headline ${a.value?"text-center":""} ${s.value?"mx-auto w-full":""} ${((O=o.value)==null?void 0:O.headline)??""} text-${r.unref(i).headline}`),innerHTML:k.headline},null,10,qd)):r.createCommentVNode("",!0),k.subHeadline?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(`container-module-subheadline ${a.value?"text-center":""} ${((q=o.value)==null?void 0:q.subheadline)??""} text-${r.unref(i).subheadline}`)},r.toDisplayString(k.subHeadline),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),k.fullWidthContent||k.start||k.end?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`container-module-content flex flex-col ${x.value&&e.mobileImagePosition!=="Bottom"?"flex-col-reverse":""} ${s.value||r.unref(C)?"lg:flex-row":"md:flex-row"} ${!s.value&&!l.value?`${r.unref(C)?"lg":"md"}:justify-between gap-5`:""} ${s.value?"lg:h-full":"h-full"} ${r.unref(C)?"rounded-2xl overflow-hidden":""} ${((H=o.value)==null?void 0:H.bodyCopy)??""}`)},[k.fullWidthContent?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-full-width-content ${((ae=o.value)==null?void 0:ae.fullWidthContent)??""} ${a.value?"mx-auto":""}`)},[r.unref(m)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(m)),r.mergeProps({key:0},k.fullWidthContent,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(m)==="ContentModule"&&s.value),"background-color":y(k.fullWidthContent),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage}),null,16,["use-child-headline","is-hero","background-color","parent-background-color","parent-has-background-image"])):r.createCommentVNode("",!0)],2)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[k.start?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-start ${l.value?"md:basis-1/2":_.value} ${((de=o.value)==null?void 0:de.start)??""} ${d.value} ${l.value&&r.unref(g)==="Image"?"":l.value?"p-8 md:p-12 lg:p-16 flex items-center":""}`)},[r.unref(g)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(g)),r.mergeProps({key:0},k.start,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(g)==="ContentModule"&&s.value&&!l.value),"is-feature":!!(r.unref(g)==="ContentModule"&&l.value),"background-color":y(k.start),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage,class:l.value&&r.unref(g)==="Image"?"h-full w-full object-cover":""}),null,16,["use-child-headline","is-hero","is-feature","background-color","parent-background-color","parent-has-background-image","class"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-module-end ${l.value?"md:basis-1/2":w.value} ${((Le=o.value)==null?void 0:Le.end)??""} ${u.value} ${l.value&&r.unref(b)==="Image"?"":l.value?"p-8 md:p-12 lg:p-16 flex items-center":""}`)},[r.unref(b)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(b)),r.mergeProps({key:0},k.end,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(b)==="ContentModule"&&s.value&&!l.value),"is-feature":!!(r.unref(b)==="ContentModule"&&l.value),"background-color":y(k.end),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage,class:S.value,"mobile-breakpoint":s.value&&r.unref(b)==="Image"?"lg":"md"}),null,16,["use-child-headline","is-hero","is-feature","background-color","parent-background-color","parent-has-background-image","class","mobile-breakpoint"])):r.createCommentVNode("",!0)],2)],64))],2)):r.createCommentVNode("",!0),k.testimonialTile?(r.openBlock(),r.createElementBlock("div",Xd,[r.createElementVNode("div",{class:r.normalizeClass(`bg-${(qe=r.unref(i).interactive)==null?void 0:qe.bg} rounded-xl lg:rounded-r-none px-6 py-6 lg:py-8 lg:px-10 text-${(Se=r.unref(i).interactive)==null?void 0:Se.copy} max-w-[80vw] lg:max-w-[25vw] w-full shadow-lg relative lg:top-0 lg:right-0 lg:bottom-0 lg:flex flex-col justify-center`)},[k.testimonialTile.media&&k.testimonialTile.media.__typename==="Image"?(r.openBlock(),r.createElementBlock("img",{key:0,src:k.testimonialTile.media.media.url,alt:"Testimonial image",class:"absolute lg:hidden -top-10 -right-2 w-32 h-32 rounded-full z-10"},null,8,Gd)):r.createCommentVNode("",!0),k.testimonialTile.quote?(r.openBlock(),r.createElementBlock("p",Zd,r.toDisplayString(k.testimonialTile.quote),1)):r.createCommentVNode("",!0),k.testimonialTile.author?(r.openBlock(),r.createElementBlock("p",{key:2,class:r.normalizeClass(`text-sm lg:text-[17px] text-${(Xe=r.unref(i).interactive)==null?void 0:Xe.copy} text-right font-normal`)}," - "+r.toDisplayString(k.testimonialTile.author),3)):r.createCommentVNode("",!0)],2)])):r.createCommentVNode("",!0)],2),r.renderSlot(k.$slots,"default")]}),_:3},8,["class"])}}});var Ce=(n=>(n.Left="left",n.Center="center",n.Right="right",n.Inline="inline",n))(Ce||{});const fn=(n,e)=>{var t;if(n==="Default")return(t=e==null?void 0:e.page)!=null&&t.slug?"_self":"_blank";if(n==="New Tab")return"_blank";if(n==="Same Tab")return"_self"},Qd={class:"flex items-center justify-center gap-2"},be=r.defineComponent({__name:"CTA",props:{__typename:{},title:{},link:{},color:{},textColor:{},backgroundColor:{},buttonType:{},logo:{},pt:{},ariaLabel:{},ariaDescription:{},anchor:{},target:{},size:{},ctaAction:{},inBanner:{type:Boolean},onClick:{type:Function},class:{}},emits:["trigger"],setup(n,{emit:e}){const t=n,i=e,o=r.computed(()=>V(di[t.buttonType],t.pt??{})),s=r.computed(()=>t.buttonType==="link"||t.buttonType==="logo"),{palette:a}=J(t),l=r.computed(()=>{var g;return((g=a==null?void 0:a.cta)==null?void 0:g[t.buttonType])||{copy:"soil",bg:"lily"}}),c=r.computed(()=>{var b;const g=["cta whitespace-nowrap",D(((b=o.value)==null?void 0:b.root)??"",t.class??"","flex items-center gap-2")];if((t.buttonType==="link"||t.buttonType==="logo")&&g.push("hover:underline"),g.push(`text-${t.textColor??l.value.copy}`),t.size)switch(t.size){case"sm":g.push("*:text-sm"),t.buttonType==="fill"&&g.push("py-0.5 px-4");break;case"lg":g.push("*:text-lg font-bold"),t.buttonType==="fill"&&g.push("py-1.5 px-8");break;case"xl":g.push("*:text-xl font-bold"),t.buttonType==="fill"&&g.push("py-2 px-12");break;case"xxl":g.push("*:text-3xl font-bold"),t.buttonType==="fill"&&g.push("py-2 px-16");break}return t.buttonType==="fill"&&(g.push("rounded-[2rem]"),(t.color||l.value.bg)&&g.push(`bg-${t.color||l.value.bg}`),t.size||g.push("py-1 px-4")),t.buttonType!=="outline"&&l.value.border&&g.push(`border-${t.color??l.value.border}`),g.join(" ")}),d=r.computed(()=>{var g,b,y,C,x,_;return(b=(g=t.link)==null?void 0:g.page)!=null&&b.slug?`${(C=(y=t.link)==null?void 0:y.page)==null?void 0:C.slug}`:(x=t.link)!=null&&x.externalUrl?(_=t.link)==null?void 0:_.externalUrl:""}),u=r.computed(()=>{var g;return!!((g=t.link)!=null&&g.externalUrl)}),h=r.computed(()=>{var g;return t.ariaLabel??((g=t.link)==null?void 0:g.ariaLabel)??t.title}),f=r.computed(()=>{var g,b;return(g=t.ctaAction)!=null&&g.ariaDescription?t.ctaAction.ariaDescription:t.ariaDescription??((b=t.link)==null?void 0:b.ariaDescription)??""}),p=r.computed(()=>{var g;return u.value?(g=t.link)==null?void 0:g.thirdPartyId:void 0}),m=()=>{var g;(g=t.ctaAction)!=null&&g.triggerMappingValue&&i("trigger",t.ctaAction.triggerMappingValue),t.onClick&&t.onClick()};return(g,b)=>{var C;const y=le;return r.openBlock(),r.createBlock(r.resolveDynamicComponent("a"),{id:p.value,"aria-label":h.value,"aria-description":f.value,href:d.value??void 0,target:r.unref(fn)(t.target||((C=t.link)==null?void 0:C.target),t.link),rel:u.value?"noopener":"",class:r.normalizeClass(t.class),onClick:m},{default:r.withCtx(()=>[r.createVNode(r.unref(dn),{class:r.normalizeClass(c.value),link:s.value,onClick:m},{default:r.withCtx(()=>{var x,_,w;return[r.createElementVNode("div",Qd,[g.logo?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`flex items-center ${g.buttonType==="logo"?(x=o.value)==null?void 0:x.logo:""} ${g.buttonType==="logo"?`bg-${t.textColor??l.value.copy}`:""}`)},[typeof g.logo=="object"?(r.openBlock(),r.createBlock(y,r.normalizeProps(r.mergeProps({key:0},g.logo)),null,16)):typeof g.logo=="string"?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(r.unref(D)(g.logo,(_=o.value)==null?void 0:_.logo))},null,2)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),r.createElementVNode("p",{class:r.normalizeClass(r.unref(D)("pointer-events-none whitespace-nowrap",((w=o.value)==null?void 0:w.headline)??""))},r.toDisplayString(g.title),3)])]}),_:1},8,["class","link"])]),_:1},8,["id","aria-label","aria-description","href","target","rel","class"])}}}),Jd={key:1},eu=["innerHTML"],tu=["innerHTML"],nu=["innerHTML"],iu=["innerHTML"],kr=r.defineComponent({__name:"ContentModule",props:{__typename:{},headline:{},subHeadline:{},bodyCopy:{},image:{},ctas:{},textColor:{},backgroundColor:{},pt:{},logo:{},isHero:{type:Boolean,default:!1},alignment:{default:Ce.Left},isChild:{type:Boolean},useChildHeadline:{type:Boolean},parentHasBackgroundImage:{type:Boolean,default:!1},parentBackgroundColor:{},isFeature:{type:Boolean,default:!1},class:{}},setup(n){const e=n,t=e.alignment?e.alignment.toLowerCase():"left",i=r.computed(()=>V(ci,e.pt??{})),o=r.computed(()=>t===Ce.Inline?"text-center md:text-left":`text-${t}`),s=r.computed(()=>{let m="";switch(t){case Ce.Right:m="justify-end";break;case Ce.Center:m="justify-center";break;default:m="justify-start"}return m}),a=r.computed(()=>{var m,g;return`${((m=i.value)==null?void 0:m.logo)??""} ${((g=e==null?void 0:e.logo)==null?void 0:g.class)??""} max-w-[50%]`}),{backgroundColor:l,palette:c}=J({...e,backgroundColor:e.backgroundColor||e.parentBackgroundColor}),d=r.computed(()=>{var g;const m=[`content-module-headline ${f?"":"max-w-[30ch]"} ${t===Ce.Center?"mx-auto":t===Ce.Right?"ml-auto":""}`,`text-${c.headline}`,D(((g=i==null?void 0:i.value)==null?void 0:g.headline)??"",o.value)];return e.isHero&&e.isChild?m.push("text-[27px] leading-[27px] md:text-[36px] md:leading-[36px] xl:text-[48px] xl:leading-[48px]"):e.isFeature&&e.isChild?m.push("text-[27px] leading-[27px] lg:text-[48px] lg:leading-[48px]"):e.useChildHeadline||e.logo?m.push("text-[24px] leading-[24px] md:text-[36px] md:leading-[36px]"):m.push("text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]"),m.join(" ")}),u=r.computed(()=>{var g;return[`content-module-subheadline text-[17px] md:text-[22px] ${t===Ce.Center?"mx-auto":t===Ce.Right?"ml-auto":""}`,`text-${c.subheadline}`,D(((g=i==null?void 0:i.value)==null?void 0:g.subheadline)??"",o.value)].join(" ")}),h=r.computed(()=>e.headline?e.headline.replace(/<[^>]*>/g,"").trim().length>0:!1),f=t===Ce.Inline,p=r.computed(()=>{const m=e.bodyCopy||e.ctas||e.image;return f?"space-y-[10px]":`space-y-[10px] ${m?"mb-6":""}`});return(m,g)=>{var b,y,C,x,_,w;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`content-module ${m.isChild?"":"p-8 md:p-16"} ${((b=i.value)==null?void 0:b.root)??""} ${e.class??""} ${!e.parentHasBackgroundImage&&(e.backgroundColor||!m.isChild)?`bg-${r.unref(l)}`:""}`)},[r.createElementVNode("div",{class:r.normalizeClass(`content-module-container mx-auto ${((y=i.value)==null?void 0:y.container)??""} ${r.unref(t)===r.unref(Ce).Inline?"flex flex-col md:flex-row justify-between items-center md:gap-4":""}`)},[m.logo?(r.openBlock(),r.createBlock(le,r.mergeProps({key:0},m.logo,{class:a.value}),null,16,["class"])):r.createCommentVNode("",!0),h.value||m.subHeadline?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(p.value)},[m.subHeadline&&!m.isHero?(r.openBlock(),r.createElementBlock("h6",{key:0,class:r.normalizeClass(u.value)},r.toDisplayString(m.subHeadline),3)):r.createCommentVNode("",!0),h.value?(r.openBlock(),r.createElementBlock("div",Jd,[m.isHero?(r.openBlock(),r.createElementBlock("h1",{key:0,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,eu)):m.useChildHeadline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,tu)):(r.openBlock(),r.createElementBlock("h2",{key:2,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,nu))])):r.createCommentVNode("",!0),m.subHeadline&&m.isHero?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(u.value)},r.toDisplayString(m.subHeadline),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),m.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`content-module-body-copy text-[17px] text-${r.unref(c).copy} ${m.isHero?"lg:max-w-[80%]":""} ${r.unref(D)(((C=i.value)==null?void 0:C.bodyCopy)??"",o.value)}`),style:r.normalizeStyle({"--copy-accent-color":`var(--${r.unref(c).copyAccent})`,"--bullet-color":`var(--${r.unref(c).bullet})`}),innerHTML:m.bodyCopy},null,14,iu)):r.createCommentVNode("",!0),m.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:3},m.image,{class:`content-module-image ${r.unref(D)(((x=i.value)==null?void 0:x.image)??"",o.value)} ${((_=m.image)==null?void 0:_.class)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),m.ctas?(r.openBlock(),r.createElementBlock("div",{key:4,class:r.normalizeClass(`content-module-ctas flex flex-wrap items-center gap-4 ${m.isHero?"justify-center lg:justify-start":s.value} ${r.unref(D)(((w=i.value)==null?void 0:w.ctas)??"",o.value,f?"md:mt-0":"")}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(m.ctas,(S,$)=>(r.openBlock(),r.createBlock(be,r.mergeProps({ref_for:!0},S,{key:`cta-${S.title}-${$}`,class:`content-module-cta ${m.isHero?"w-auto justify-center":""}`,"background-color":r.unref(l)}),null,16,["class","background-color"]))),128))],2)):r.createCommentVNode("",!0)],2)],2)}}}),ou=["innerHTML"],Cr=r.defineComponent({__name:"ContainerCollectionModule",props:{__typename:{},headline:{},modules:{},backgroundColor:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(ai,e.pt??{})),{backgroundColor:i,palette:o}=J(e);return(s,a)=>{var l,c;return r.openBlock(),r.createElementBlock("section",{class:r.normalizeClass(`container-collection ${e.class??""} bg-${r.unref(i)}`)},[s.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`container-collection-headline ${(l=t.value)==null?void 0:l.headline} text-${r.unref(o).headline}`),innerHTML:s.headline},null,10,ou)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-collection-content space-y-8 mx-auto container ${(c=t.value)==null?void 0:c.bodyCopy}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.modules,(d,u)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(d.__typename),r.mergeProps({ref_for:!0},d,{key:`${d==null?void 0:d.__typename}-${u}`,"is-child":!0}),null,16))),128))],2)],2)}}});var Fe=(n=>(n[n.header=0]="header",n[n.footer=1]="footer",n))(Fe||{});const ru={class:r.normalizeClass("pi pi-chevron-down")},su={class:r.normalizeClass("pi pi-chevron-up")},au=["innerHTML"],Be=r.defineComponent({__name:"NavigationElement",props:{__typename:{},elementType:{},title:{},link:{},htmlRef:{},subNavigation:{},dividerLine:{type:Boolean},backgroundColor:{},class:{},isChild:{type:Boolean},pt:{},inBanner:{type:Boolean},expandedMobile:{type:Boolean}},setup(n){const e=n,t=r.computed(()=>V(hi,e.pt??{})),{backgroundColor:i,palette:o}=J(e),s=r.computed(()=>{var f,p;return(f=e.link)!=null&&f.externalUrl?(p=e.link)==null?void 0:p.thirdPartyId:void 0}),a=r.computed(()=>{var f,p,m,g,b,y;return(p=(f=e.link)==null?void 0:f.page)!=null&&p.slug?`${(g=(m=e.link)==null?void 0:m.page)==null?void 0:g.slug}`:(b=e.link)!=null&&b.externalUrl?(y=e.link)==null?void 0:y.externalUrl:""}),l=r.computed(()=>{var f,p,m;return(p=(f=e.link)==null?void 0:f.page)!=null&&p.slug||(m=e.link)!=null&&m.externalUrl?"a":"button"}),c=r.computed(()=>Fe[e.elementType??"header"]),d=r.ref(!1),u=r.computed(()=>`relative py-2 md:py-0 ${e.class??""} ${e.isChild?"sub-":""}navigation-element`),h=()=>{d.value=!d.value};return(f,p)=>{const m=r.resolveComponent("NavigationElement",!0);return r.openBlock(),r.createBlock(r.resolveDynamicComponent(f.isChild?"li":"div"),{class:r.normalizeClass(u.value)},{default:r.withCtx(()=>{var g;return[c.value===r.unref(Fe).header||f.isChild&&(a.value||f.subNavigation)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.value),{key:0,id:s.value,href:a.value??"",target:e.link?r.unref(fn)((g=e.link)==null?void 0:g.target,e.link):"_self",class:r.normalizeClass(`flex leading-tight items-center hover:underline cursor-pointer text-${r.unref(o).copy} ${c.value===r.unref(Fe).header?"whitespace-nowrap":""}`),"aria-expanded":l.value==="button"?!0:void 0,"aria-haspopup":l.value==="button"?!0:void 0,onClick:h},{default:r.withCtx(()=>{var b;return[r.createTextVNode(r.toDisplayString(f.title)+" ",1),!f.isChild&&f.subNavigation&&!(a.value||f.isChild)?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass((b=t.value)==null?void 0:b.icon)},[r.withDirectives(r.createElementVNode("i",ru,null,512),[[r.vShow,!d.value]]),r.withDirectives(r.createElementVNode("i",su,null,512),[[r.vShow,d.value]])],2)):r.createCommentVNode("",!0)]}),_:1},8,["id","href","target","class","aria-expanded","aria-haspopup"])):c.value==r.unref(Fe).footer?(r.openBlock(),r.createElementBlock("h2",{key:1,class:r.normalizeClass(`mb-2 font-bold text-${r.unref(o).copy}`)},r.toDisplayString(f.title),3)):r.createCommentVNode("",!0),!f.isChild&&f.subNavigation?(r.openBlock(),r.createElementBlock("ul",{key:2,class:r.normalizeClass({hidden:!d.value&&c.value==r.unref(Fe).header,[`sm:absolute left-0 z-10 sm:mt-2 space-y-2 origin-top-right rounded-md bg-${r.unref(i)} ring-opacity-5 focus:outline-none sm:shadow-lg p-5`]:c.value==r.unref(Fe).header,"space-y-2 opacity-90":c.value==r.unref(Fe).footer}),role:"menu","aria-orientation":"vertical","aria-labelledby":"menu-button",tabindex:"-1"},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(f.subNavigation,(b,y)=>(r.openBlock(),r.createBlock(m,r.mergeProps({key:b.title,class:["ms-3 sm:ms-0",`sub-navigation-element-item-${y}`],role:"menuitem",tabindex:"-1",ref_for:!0},{...b,elementType:f.elementType,isChild:!0,backgroundColor:r.unref(i)}),null,16,["class"]))),128))],2)):r.createCommentVNode("",!0),f.htmlRef?(r.openBlock(),r.createElementBlock("div",{key:3,innerHTML:f.htmlRef},null,8,au)):r.createCommentVNode("",!0)]}),_:1},8,["class"])}}}),lu={key:0,id:"social-media",class:"flex flex-wrap footer-social gap-2 whitespace-normal"},cu=["id","href","target"],pn=r.defineComponent({__name:"SocialMediaRef",props:{socialMediaRef:{}},setup(n){return(e,t)=>{const i=le;return e.socialMediaRef?(r.openBlock(),r.createElementBlock("div",lu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.socialMediaRef,(o,s)=>{var a,l,c,d;return r.openBlock(),r.createElementBlock("a",{id:(a=o.link)==null?void 0:a.thirdPartyId,key:`footer-social-item-${o.icon.altTag}-${s}`,class:r.normalizeClass(`footer-social-item-${s}`),href:(l=o==null?void 0:o.link)==null?void 0:l.externalUrl,target:r.unref(fn)((c=o==null?void 0:o.link)==null?void 0:c.target,o==null?void 0:o.link)},[r.createVNode(i,{media:(d=o==null?void 0:o.icon)==null?void 0:d.media},null,8,["media"])],10,cu)}),128))])):r.createCommentVNode("",!0)}}}),du={id:"footer-copyright",class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-6 lg:gap-10 text-xs text-white"},uu={key:0,class:"footer-copyright-links basis-1/3"},hu={class:r.normalizeClass("flex flex-row flex-wrap items-center")},fu={class:"basis-1/3 footer-copyright-logos"},pu={class:"flex items-center justify-evenly space-x-2"},mn=r.defineComponent({__name:"FooterCopyright",props:{navigation:{},copyRight:{},logos:{},addTextMargin:{type:Boolean},isCenterAlign:{type:Boolean},backgroundColor:{}},setup(n){const e=n,{palette:t}=J(e);return(i,o)=>(r.openBlock(),r.createElementBlock("div",du,[r.createElementVNode("div",{class:r.normalizeClass(`text-${r.unref(t).copy} ${i.addTextMargin?"mt-8":""} w-[90%] md:w-auto basis-1/3`)},r.toDisplayString(i.copyRight),3),i.isCenterAlign?(r.openBlock(),r.createElementBlock("div",uu,[r.createElementVNode("div",hu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.navigation,(s,a)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${s.title}-${a}`,class:`footer-nav-item-${a} px-2.5 ${s.dividerLine?`border-r border-${r.unref(t).copy}`:""}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...s,isChild:!1,elementType:"header",backgroundColor:i.backgroundColor}),null,16,["class"]))),128))])])):r.createCommentVNode("",!0),r.createElementVNode("div",fu,[r.createElementVNode("div",pu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.logos,(s,a)=>(r.openBlock(),r.createBlock(le,{key:`footer-copy-right-logo-${a}`,class:"grow ml-auto",media:s.media},null,8,["media"]))),128))]),i.isCenterAlign?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`flex flex-row items-center justify-end ${i.navigation&&i.navigation.length?"mt-6":""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.navigation,(s,a)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${s.title}-${a}`,class:`footer-nav-item-${a} px-2.5 ${s.dividerLine?`border-r border-${r.unref(t).copy}`:""}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...s,isChild:!1,elementType:"header",backgroundColor:i.backgroundColor}),null,16,["class"]))),128))],2))])]))}}),mu={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-2"},gu={href:"/",class:"footer-navigation-logo text-center"},bu={key:0,class:"grid grid-cols-2 sm:grid-cols-3 gap-x-10 gap-y-8 flex-1"},yu={key:1,class:"grow"},ku=["innerHTML"],xr=r.defineComponent({__name:"FooterNavigation",props:{title:{},logo:{},legalText:{},backgroundColor:{},navigation:{},socialMediaRef:{},copyRight:{},copyRightLinks:{},copyRightLogos:{}},setup(n){const e=n,{backgroundColor:t,palette:i}=J(e),o=r.computed(()=>!!(e.navigation&&e.navigation.length>0));return(s,a)=>{var l,c;return r.openBlock(),r.createElementBlock("footer",{class:r.normalizeClass(`text-white text-sm leading-relaxed bg-${r.unref(t)}`)},[r.createElementVNode("div",mu,[r.createElementVNode("div",{class:r.normalizeClass(["flex flex-col lg:flex-row lg:items-start lg:justify-between gap-10",{"p-5 justify-between items-start":s.navigation&&s.navigation.length>0,"mb-4 md:items-start":!s.navigation||s.navigation.length===0}])},[r.createElementVNode("a",gu,[s.logo?(r.openBlock(),r.createBlock(le,{key:0,class:"min-h-[95px] min-w-[100px] h-[100px]",media:s.logo.media},null,8,["media"])):r.createCommentVNode("",!0),r.createTextVNode(" "+r.toDisplayString(s.title),1)]),s.navigation&&s.navigation.length>0?(r.openBlock(),r.createElementBlock("div",bu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.navigation,(d,u)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${d.title}-${u}`,class:`footer-nav-item-${u}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...d,isChild:!1,elementType:"footer",backgroundColor:r.unref(t)}),null,16,["class"]))),128))])):r.createCommentVNode("",!0),!s.navigation||s.navigation.length===0?(r.openBlock(),r.createElementBlock("div",yu,[s.socialMediaRef?(r.openBlock(),r.createBlock(pn,{key:0,"social-media-ref":s.socialMediaRef},null,8,["social-media-ref"])):r.createCommentVNode("",!0),r.createVNode(mn,{"is-center-align":o.value,"copy-right":s.copyRight,navigation:s.copyRightLinks,logos:s.copyRightLogos,"add-text-margin":!0,"background-color":r.unref(t)},null,8,["is-center-align","copy-right","navigation","logos","background-color"])])):(r.openBlock(),r.createElementBlock(r.Fragment,{key:2},[s.socialMediaRef?(r.openBlock(),r.createBlock(pn,{key:0,"social-media-ref":s.socialMediaRef},null,8,["social-media-ref"])):r.createCommentVNode("",!0)],64))],2),s.navigation&&s.navigation.length>0&&s.copyRight&&s.copyRightLinks&&((l=s.copyRightLinks)==null?void 0:l.length)>0&&s.copyRightLogos&&((c=s.copyRightLogos)==null?void 0:c.length)>0?(r.openBlock(),r.createBlock(mn,{key:0,"is-center-align":o.value,"copy-right":s.copyRight,navigation:s.copyRightLinks,logos:s.copyRightLogos,"background-color":r.unref(t)},null,8,["is-center-align","copy-right","navigation","logos","background-color"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:r.normalizeClass(`border-${r.unref(i).copy}`)},null,2),s.legalText?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`text-xs md:text-sm opacity-80 text-${r.unref(i).copy}`),innerHTML:s.legalText},null,10,ku)):r.createCommentVNode("",!0)])],2)}}}),Cu=["innerHTML"],wr=r.defineComponent({__name:"LogoCollectionModule",props:{__typename:{},headline:{},logos:{},backgroundColor:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(ui,e.pt??{})),i=r.computed(()=>({"background-color":e.backgroundColor??"transparent",color:"inherit"})),{backgroundColor:o,palette:s}=J(e);return(a,l)=>{var d,u,h;const c=le;return r.openBlock(),r.createElementBlock("section",{style:r.normalizeStyle(i.value),class:r.normalizeClass(`logo-module p-16 ${e.class??""} bg-${r.unref(o)}`)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto ${((d=t.value)==null?void 0:d.container)??""}`)},[a.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`logo-module-headline ${((u=t.value)==null?void 0:u.headline)??""} text-${r.unref(s).headline}`),innerHTML:a.headline},null,10,Cu)):r.createCommentVNode("",!0),a.logos?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`logo-module-content flex flex-wrap justify-evenly gap-2 ${((h=t.value)==null?void 0:h.bodyCopy)??""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(a.logos,(f,p)=>(r.openBlock(),r.createBlock(c,r.mergeProps({ref_for:!0},f,{key:`cta-${f.altTag}-${p}`}),null,16))),128))],2)):r.createCommentVNode("",!0)],2)],6)}}}),xu={class:r.normalizeClass("primary-navigation-header sticky top-0 z-50")},wu={class:"hidden md:flex bg-[#d9d9d9] w-full"},_u={key:0,class:"primary-navigation flex flex-[0_1_87%] justify-end items-center gap-4 py-4 pl-2 pr-0"},vu={class:"lg:max-w-[1440px] mx-auto py-0 px-7 md:pr-4 md:pl-8 md:py-6 xl:py-6 xl:pr-9 xl:pl-16 md:flex md:justify-between md:items-center gap-2"},Su={class:"flex items-center justify-between py-3 md:p-0"},Tu={key:0,href:"/",class:"primary-navigation-logo items-center h-10 md:h-12 lg:flex"},$u={class:"flex items-center gap-2 md:hidden"},Bu={key:0,class:"primary-navigation text-sm xl:text-base flex items-center gap-2"},Pu=["aria-label","aria-expanded"],Mu={key:0,"fill-rule":"evenodd",d:"M18.278 16.864a1 1 0 0 1-1.414 1.414l-4.829-4.828-4.828 4.828a1 1 0 0 1-1.414-1.414l4.828-4.829-4.828-4.828a1 1 0 0 1 1.414-1.414l4.829 4.828 4.828-4.828a1 1 0 1 1 1.414 1.414l-4.828 4.829 4.828 4.828z"},Eu={key:1,"fill-rule":"evenodd",d:"M4 5h16a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2z"},_r=r.defineComponent({__name:"PrimaryNavigation",props:{title:{},logo:{},backgroundColor:{},navigation:{},ctas:{},inBanner:{}},emits:["navigation-click","cta-click"],setup(n,{emit:e}){const t=n,i=r.ref(!1),{backgroundColor:o,palette:s}=J(t),a=e,l=r.computed(()=>t.navigation||[]),c=r.computed(()=>t.ctas||[]),d=r.computed(()=>{var f;return((f=t.inBanner)==null?void 0:f.filter(p=>p.__typename?p.__typename==="NavigationElement":!("buttonType"in p)))||[]}),u=r.computed(()=>{var f;return((f=t.inBanner)==null?void 0:f.filter(p=>p.__typename?p.__typename==="CTA":"buttonType"in p))||[]}),h=r.computed(()=>{const f=[];return l.value.forEach(p=>{p.expandedMobile&&p.subNavigation&&p.subNavigation.length>0?f.push(...p.subNavigation):f.push(p)}),f});return(f,p)=>(r.openBlock(),r.createElementBlock("header",xu,[r.createElementVNode("div",wu,[d.value.length>0||u.value.length>0?(r.openBlock(),r.createElementBlock("nav",_u,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4 h-full":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:m.title,class:["my-4 sm:my-0",m.buttonType==="fill"?"justify-center w-full":""],ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128))])):r.createCommentVNode("",!0)]),r.createElementVNode("div",{class:r.normalizeClass(`shadow-2xl bg-${r.unref(o)}`)},[r.createElementVNode("div",vu,[r.createElementVNode("div",Su,[f.logo?(r.openBlock(),r.createElementBlock("a",Tu,[r.createVNode(le,r.mergeProps(f.logo,{class:"h-full w-auto object-contain"}),null,16)])):r.createCommentVNode("",!0),r.createElementVNode("div",$u,[d.value.length>0?(r.openBlock(),r.createElementBlock("nav",Bu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128))])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:"block","aria-label":i.value?"Close menu":"Open menu","aria-expanded":i.value,onClick:p[0]||(p[0]=m=>i.value=!i.value)},[(r.openBlock(),r.createElementBlock("svg",{class:r.normalizeClass(`h-6 w-6 fill-${r.unref(s).copy}`),viewBox:"0 0 24 24"},[i.value?(r.openBlock(),r.createElementBlock("path",Mu)):r.createCommentVNode("",!0),i.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("path",Eu))],2))],8,Pu)])]),l.value.length>0||c.value.length>0?(r.openBlock(),r.createElementBlock("nav",{key:0,class:r.normalizeClass(["primary-navigation text-sm xl:text-base items-center px-2 pt-2 pb-4 md:flex gap-2 lg:gap-4 md:justify-evenly md:p-0",i.value?"block":"hidden"])},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`mobile-${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`md:hidden h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`desktop-${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`hidden md:block h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"sm:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:`filtered-${m.title}`,class:m.buttonType==="fill"?"justify-center w-full":"",ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:m.title,class:["flex md:hidden my-2 md:my-0",m.buttonType==="fill"?"justify-center w-full":""],ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128))],2)):r.createCommentVNode("",!0)])],2)]))}}),Au=["innerHTML"],vr=r.defineComponent({__name:"SplitModule",props:{__typename:{},entryTitle:{},headline:{},start:{},center:{},end:{},backgroundImage:{},backgroundColor:{},pt:{},isChild:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>V(fi,e.pt??{})),i=r.computed(()=>({"background-image":`url(${e.backgroundImage??""})`,"background-size":"cover"})),{backgroundColor:o,palette:s}=J(e),a=r.computed(()=>D(`split-module ${e.isChild?"":"py-0 px-8 md:px-8 md:py-16"} bg-${o}`,e.class??""));return(l,c)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.isChild?"div":"section"),{style:r.normalizeStyle(i.value),class:r.normalizeClass(a.value)},{default:r.withCtx(()=>{var d,u,h,f,p;return[l.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`headline ${((d=t.value)==null?void 0:d.headline)??""} text-${r.unref(s).headline}`),innerHTML:l.headline},null,10,Au)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`split-module-content ${r.unref(D)("flex justify-evenly gap-4 mx-auto items-center",((u=t.value)==null?void 0:u.bodyCopy)??"")}`)},[l.start?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.start.__typename),r.mergeProps({key:0},l.start,{class:`split-module-start ${((h=t.value)==null?void 0:h.start)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0),l.center?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.center.__typename),r.mergeProps({key:1},l.center,{class:`split-module-center ${((f=t.value)==null?void 0:f.center)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0),l.end?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.end.__typename),r.mergeProps({key:2},l.end,{class:`split-module-end ${((p=t.value)==null?void 0:p.end)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0)],2)]}),_:1},8,["style","class"]))}}),Lu=["innerHTML"],Sr=r.defineComponent({__name:"TestimonialModule",props:{__typename:{},headline:{},quote:{},author:{},details:{},media:{},textColor:{},backgroundColor:{},mediaPosition:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(pi,e.pt??{})),{palette:i}=J(e),o=r.computed(()=>({"background-color":e.backgroundColor??"transparent",color:e.textColor??"inherit"}));return(s,a)=>{var l,c,d,u,h,f,p,m;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`testimonial ${r.unref(D)("p-5",e.class??"")}`),style:r.normalizeStyle(o.value)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto flex flex-col gap-8 ${((l=t.value)==null?void 0:l.container)??""} ${((c=s.mediaPosition)==null?void 0:c.toLowerCase())==="right"?"lg:flex-row-reverse":"lg:flex-row"}`)},[s.media?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`testimonial-media ${((d=t.value)==null?void 0:d.media)??""}`)},[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.media.__typename),r.normalizeProps(r.guardReactiveProps(s.media)),null,16))],2)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`testimonial-text ${((u=t.value)==null?void 0:u.text)??""}`)},[s.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`testimonial-headline ${((h=t.value)==null?void 0:h.headline)??""} text-${r.unref(i).headline}`),innerHTML:s.headline},null,10,Lu)):r.createCommentVNode("",!0),s.quote?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(`testimonial-quote ${((f=t.value)==null?void 0:f.quote)??""} text-${r.unref(i).copyAccent}`)},r.toDisplayString(s.quote),3)):r.createCommentVNode("",!0),s.author?(r.openBlock(),r.createElementBlock("p",{key:2,class:r.normalizeClass(`testimonial-author ${((p=t.value)==null?void 0:p.author)??""} text-${r.unref(i).copy}`)},r.toDisplayString(s.author),3)):r.createCommentVNode("",!0),s.details?(r.openBlock(),r.createElementBlock("p",{key:3,class:r.normalizeClass(`testimonial-details ${((m=t.value)==null?void 0:m.details)??""} text-${r.unref(i).copy}`)},r.toDisplayString(s.details),3)):r.createCommentVNode("",!0)],2)],2)],6)}}}),Iu=["innerHTML"],Ou={key:2,class:"mx-auto mt-16 w-fit"},Du={key:0,class:"w-full overflow-hidden pt-8"},Tr=r.defineComponent({__name:"TileCollectionModule",props:{__typename:{},headline:{},bodyCopy:{},modules:{},textColor:{},backgroundColor:{},tileLabelType:{},ctas:{},includeDecoration:{type:Boolean,default:!1},columns:{default:3},variant:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(mi,e.pt??{})),{backgroundColor:i,palette:o}=J(e),s=r.computed(()=>e.variant==="ImageStackedAnimatedTile"),a=r.computed(()=>{const u=e.columns??3;return e.modules.length<u?e.modules.length:u}),l=r.computed(()=>{if(s.value)return"";switch(a.value){case 1:return"max-w-[352px]";case 2:return"max-w-[728px]";default:return"max-w-[728px] lg:max-w-[1104px]"}}),c=r.computed(()=>{if(s.value)return"";switch(a.value){case 1:return"w-full max-w-[352px]";case 2:return"w-full md:w-[calc(50%-12px)] max-w-[352px]";default:return"w-full md:w-[calc(50%-12px)] lg:w-[calc(33.333%-16px)] max-w-[352px]"}}),d=r.computed(()=>{switch(i){case"iris":return"https://images.ctfassets.net/qqblaiss500w/6M4qmV1iPDg67IPiCXreV7/859124c674bf3267e81bcf429ac142fd/stem-reasons-background.svg";case"wisteria":return"https://images.ctfassets.net/qqblaiss500w/6M4qmV1iPDg67IPiCXreV7/859124c674bf3267e81bcf429ac142fd/stem-reasons-background.svg";default:return"https://images.ctfassets.net/qqblaiss500w/5LopxqqvQC9Vzutf6cvGR3/6b20c6a67b637de8ba90bb817b3b521d/circles.png"}});return(u,h)=>{var m,g,b,y,C,x,_;const f=be,p=le;return r.openBlock(),r.createElementBlock("section",{class:r.normalizeClass(`tile-collection ${u.variant} ${r.unref(D)("overflow-hidden py-16",u.includeDecoration?"!pb-0":"",((m=t.value)==null?void 0:m.root)??"",e.class??"")} bg-${r.unref(i)}`)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto ${((g=t.value)==null?void 0:g.container)??""}`)},[u.headline||u.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-collection-heading-container ${((b=t.value)==null?void 0:b.headingContainer)??""}`)},[u.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`tile-collection-headline ${((y=t.value)==null?void 0:y.headline)??""} text-${r.unref(o).headline}`),innerHTML:u.headline},null,10,Iu)):r.createCommentVNode("",!0),u.bodyCopy?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-collection-body-copy ${((C=t.value)==null?void 0:C.bodyCopy)??""} text-${r.unref(o).copy}`)},r.toDisplayString(u.bodyCopy),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),u.modules?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`tile-collection-content ${r.unref(D)(s.value?"flex flex-col gap-12 md:gap-4 justify-center":`flex flex-wrap gap-12 md:gap-6 justify-center mx-auto ${l.value}`,((x=t.value)==null?void 0:x.bodyCopy)??"")}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.modules,(w,S)=>{var $;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(`TileContent${u.variant}`),r.mergeProps({key:`${w==null?void 0:w.headline}-${S}`,class:`tile-collection-content-item-${S} ${c.value} ${(($=t.value)==null?void 0:$.item)??""} ${w.class??""}`,ref_for:!0},w,{"parent-background-color":r.unref(i),index:S,"tile-label-type":u.tileLabelType}),null,16,["class","parent-background-color","index","tile-label-type"])}),128))],2)):r.createCommentVNode("",!0),(_=u.ctas)!=null&&_.length?(r.openBlock(),r.createElementBlock("div",Ou,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.ctas,w=>(r.openBlock(),r.createBlock(f,r.mergeProps({key:`${w.title}-cta`,ref_for:!0},w,{size:"xl","background-color":r.unref(i)}),null,16,["background-color"]))),128))])):r.createCommentVNode("",!0)],2),u.includeDecoration?(r.openBlock(),r.createElementBlock("div",Du,[r.createVNode(p,{animated:!0,media:{url:d.value},"alt-tag":"Stem cell background image, series of multicolor circles in a circular pattern.",class:"w-full md:w-3/4 h-[20vw] md:h-[200px] object-top object-cover mx-auto"},null,8,["media"])])):r.createCommentVNode("",!0)],2)}}}),Nt=r.defineComponent({__name:"TileLabel",props:{__typename:{},copy:{},type:{default:"Text"},backgroundColor:{},textColor:{},alignment:{default:"right"},pt:{},index:{}},setup(n){const e=n,t=r.useAttrs(),i=r.computed(()=>e.type==="Numeric"&&!e.copy?(e.index??0)+1:e.copy),o=r.computed(()=>V(xi[e.type],e.pt??{})),s=r.computed(()=>{var l;let a=e.type==="Numeric"?"right-2 md:right-4":"right-[-4%]";return e.alignment==="left"&&(a=e.type==="Numeric"?"left-2 md:left-4":"left-[-4%]"),`tile-label absolute ${D(typeof i.value=="number"?"w-[36px] h-[36px] md:h-[60px] md:w-[60px]":"w-[120px]",`text-${e.textColor}`,`bg-${e.backgroundColor}`,"top-2 md:top-4",((l=o==null?void 0:o.value)==null?void 0:l.root)??"",a,t.class)}`});return(a,l)=>i.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(s.value),style:r.normalizeStyle({backgroundColor:a.backgroundColor})},r.toDisplayString(i.value),7)):r.createCommentVNode("",!0)}}),gn=(n,e)=>n.buttonType==="fill"?n.color??v.COLOR_PALETTES[e].cta.fill.bg:null,bn=(n,e)=>n.textColor??v.COLOR_PALETTES[e].cta[n.buttonType].copy;var Vu={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},Nu=xe.extend({name:"card",classes:Vu}),zu={name:"BaseCard",extends:Et,style:Nu},Ze={name:"Card",extends:zu,inheritAttrs:!1};function Fu(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:n.cx("root")},n.ptmi("root")),[n.$slots.header?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[r.renderSlot(n.$slots,"header")],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("body")},n.ptm("body")),[n.$slots.title||n.$slots.subtitle?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("caption")},n.ptm("caption")),[n.$slots.title?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("title")},n.ptm("title")),[r.renderSlot(n.$slots,"title")],16)):r.createCommentVNode("",!0),n.$slots.subtitle?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:n.cx("subtitle")},n.ptm("subtitle")),[r.renderSlot(n.$slots,"subtitle")],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("content")},n.ptm("content")),[r.renderSlot(n.$slots,"content")],16),n.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:n.cx("footer")},n.ptm("footer")),[r.renderSlot(n.$slots,"footer")],16)):r.createCommentVNode("",!0)],16)],16)}Ze.render=Fu;const Ru=["src","height","width"],ju=["src"],zt=r.defineComponent({__name:"Video",props:{__typename:{},thumbnail:{},url:{},class:{}},setup(n){const e=n,t=r.ref(!1);function i(){t.value=!0}function o(){t.value=!1}const s=r.computed(()=>e.url?e.url.includes("youtube.com/watch")?`https://www.youtube.com/embed/${e.url.split("v=")[1]}?autoplay=1`:e.url:"");return(a,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",{class:r.normalizeClass(`${a.$props.class} relative cursor-pointer`),onClick:i},[l[1]||(l[1]=r.createElementVNode("svg",{class:"absolute bottom-0 left-0 right-0 top-0 m-auto block",xmlns:"http://www.w3.org/2000/svg",width:"97",height:"97",viewBox:"0 0 97 97",fill:"none"},[r.createElementVNode("path",{d:"M91.4217 48.2108C91.4217 72.0755 72.0755 91.4217 48.2108 91.4217C24.3462 91.4217 5 72.0755 5 48.2108C5 24.3462 24.3462 5 48.2108 5C72.0755 5 91.4217 24.3462 91.4217 48.2108Z",stroke:"white","stroke-width":"10"}),r.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39.9246 25.9149L69.7535 48.2109L39.9246 70.5069V25.9149Z",fill:"white"})],-1)),r.createElementVNode("img",{class:"w-full",src:a.thumbnail.media.url,height:a.thumbnail.media.height,width:a.thumbnail.media.width},null,8,Ru)],2),t.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/80 flex items-center justify-center z-[9999]",onClick:o},[r.createElementVNode("div",{class:"relative w-[90%] max-w-4xl",onClick:l[0]||(l[0]=r.withModifiers(()=>{},["stop"]))},[r.createElementVNode("button",{class:"absolute -top-12 right-0 text-white text-xl",onClick:o}," ✕ "),r.createElementVNode("iframe",{class:"w-full aspect-video",src:s.value,frameborder:"0",allow:"autoplay; encrypted-media",allowfullscreen:""},null,8,ju)])])):r.createCommentVNode("",!0)],64))}}),Hu=["innerHTML"],$r=Dt(r.defineComponent({__name:"TileContentIconTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(gi,e.pt??{})),i=e.backgroundColor||e.parentBackgroundColor,{palette:o}=J({backgroundColor:i}),s=e.backgroundColor?o:o.tile,a=typeof e.index=="number",l=e.backgroundColor||o.tile.bg,c=r.computed(()=>e.alignment==="center"?"items-center":e.alignment==="right"?"items-end":"items-start"),d=r.ref(null),u=Vi(d,{threshold:.1});return(h,f)=>{var g,b,y,C,x,_,w,S,$,B,E;const p=Nt,m=be;return r.openBlock(),r.createElementBlock("div",{ref_key:"content",ref:d,style:r.normalizeStyle({transitionDelay:`${(h.index??0)*.2}s`}),class:r.normalizeClass(`tile-content animate-slide-on-top ${r.unref(u)?"visible":""} ${r.unref(D)((g=t.value)==null?void 0:g.root,a?"":"w-full md:w-full lg:w-full")} ${e.class} bg-${r.unref(l)}`)},[h.tileLabel||h.tileLabelType?(r.openBlock(),r.createBlock(p,r.mergeProps({key:0},h.tileLabel,{type:h.tileLabelType??((b=h.tileLabel)==null?void 0:b.type),class:h.tileLabelType==="Numeric"||((y=h.tileLabel)==null?void 0:y.type)==="Numeric"?(C=t.value)==null?void 0:C.numericLabel:(x=t.value)==null?void 0:x.label,"background-color":r.unref(s).label[h.tileLabelType??((_=h.tileLabel)==null?void 0:_.type)??"Text"].bg,"text-color":r.unref(s).label[h.tileLabelType??((w=h.tileLabel)==null?void 0:w.type)??"Text"].copy,index:h.index,alignment:((S=h.tileLabel)==null?void 0:S.alignment)??"right"}),null,16,["type","class","background-color","text-color","index","alignment"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${(($=t.value)==null?void 0:$.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-footer ${((B=t.value)==null?void 0:B.footer)??""}`,"pt:body:class":((E=t.value)==null?void 0:E.body)??""},r.createSlots({_:2},[h.bodyCopy||h.listItems?{name:"content",fn:r.withCtx(()=>{var A,L,T,k,P,M,I;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((A=t.value)==null?void 0:A.bodyCopy)??""} ${c.value}`)},[h.image?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-content-media ${((L=t.value)==null?void 0:L.media)??""}`)},[f[0]||(f[0]=r.createElementVNode("div",{class:"tile-content-media-background"},null,-1)),h.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:0},h.image,{class:r.unref(D)((k=(T=h.image)==null?void 0:T.media)!=null&&k.width?"":"w-full",h.image.class)}),null,16,["class"])):r.createCommentVNode("",!0),h.video?(r.openBlock(),r.createBlock(zt,r.mergeProps({key:1},h.video,{class:"w-full"}),null,16)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),h.headline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-content-headline ${((P=t.value)==null?void 0:P.headline)??""} text-${r.unref(s).headline} text-${h.alignment}`)},r.toDisplayString(h.headline),3)):r.createCommentVNode("",!0),h.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(`tile-content-subheadline ${((M=t.value)==null?void 0:M.subheadline)??""} text-${r.unref(s).headline} text-${h.alignment}`)},r.toDisplayString(h.subheadline),3)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((I=t.value)==null?void 0:I.bodyCopy)??""} text-${r.unref(s).copy} text-${h.bodyCopyAlignment??h.alignment} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(o).bullet})`}),innerHTML:h.bodyCopy},null,14,Hu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,h.ctas||h.footer?{name:"footer",fn:r.withCtx(()=>{var A,L;return[h.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((A=t.value)==null?void 0:A.footerContent)??""} text-${r.unref(s).copy}`)},r.toDisplayString(h.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(((L=t.value)==null?void 0:L.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.ctas,(T,k)=>{var P;return r.openBlock(),r.createBlock(m,r.mergeProps({key:`cta-${T.title}-${k}`,class:`cta-${k} ${(P=t.value)==null?void 0:P.cta}`,color:r.unref(gn)(T,r.unref(l)),"text-color":r.unref(bn)(T,r.unref(l)),"background-color":r.unref(l),ref_for:!0},T),null,16,["class","color","text-color","background-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],6)}}}),[["__scopeId","data-v-1896996d"]]),Wu=["innerHTML"],Br=Dt(r.defineComponent({__name:"TileContentImageTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(yi,e.pt??{})),i=e.backgroundColor||e.parentBackgroundColor,{palette:o}=J({backgroundColor:i}),s=e.backgroundColor?o:o.tile,a=typeof e.index=="number",l=e.backgroundColor||o.tile.bg,c=r.computed(()=>e.alignment==="center"?"items-center":e.alignment==="right"?"items-end":"items-start"),d=r.ref(null),u=Vi(d,{threshold:.1});return(h,f)=>{var g,b,y,C;const p=Nt,m=be;return r.openBlock(),r.createElementBlock("div",{ref_key:"content",ref:d,style:r.normalizeStyle({transitionDelay:`${(h.index??0)*.2}s`}),class:r.normalizeClass(`tile-content animate-slide-in-right ${r.unref(u)?"visible":""} ${r.unref(D)(((g=t.value)==null?void 0:g.root)??"",a?"":"w-full md:w-full lg:w-full",`bg-${r.unref(l)}`,e.class??"")}`)},[r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((b=t.value)==null?void 0:b.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((y=t.value)==null?void 0:y.footer)??""}`,"pt:body:class":((C=t.value)==null?void 0:C.body)??""},r.createSlots({_:2},[h.image||h.bodyCopy||h.listItems?{name:"content",fn:r.withCtx(()=>{var x,_,w,S,$,B,E,A,L,T,k,P,M,I,O;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((x=t.value)==null?void 0:x.bodyCopy)??""} ${c.value}`)},[h.image?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-content-media w-4/5 ${((_=t.value)==null?void 0:_.media)??""}`)},[h.tileLabel||h.tileLabelType?(r.openBlock(),r.createBlock(p,{key:0,class:r.normalizeClass(h.tileLabelType==="Numeric"||((w=h.tileLabel)==null?void 0:w.type)==="Numeric"?(S=t.value)==null?void 0:S.numericLabel:($=t.value)==null?void 0:$.label),index:h.index,alignment:((B=h.tileLabel)==null?void 0:B.alignment)??"left",type:h.tileLabelType??((E=h.tileLabel)==null?void 0:E.type),"background-color":r.unref(s).label[h.tileLabelType??((A=h.tileLabel)==null?void 0:A.type)??"Text"].bg,"text-color":r.unref(s).label[h.tileLabelType??((L=h.tileLabel)==null?void 0:L.type)??"Text"].copy},null,8,["class","index","alignment","type","background-color","text-color"])):r.createCommentVNode("",!0),f[0]||(f[0]=r.createElementVNode("div",{class:"tile-content-media-background"},null,-1)),h.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:1},h.image,{class:r.unref(D)(!h.bodyCopy&&!h.headline&&!((T=h.listItems)!=null&&T.length)?"rounded-lg":"rounded-full",(P=(k=h.image)==null?void 0:k.media)!=null&&P.width?"":"w-full",h.image.class)}),null,16,["class"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),h.headline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-content-headline ${((M=t.value)==null?void 0:M.headline)??""} text-${r.unref(s).headline}`)},r.toDisplayString(h.headline),3)):r.createCommentVNode("",!0),h.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(`tile-content-subheadline ${((I=t.value)==null?void 0:I.subheadline)??""} text-${r.unref(s).copy}`)},r.toDisplayString(h.subheadline),3)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((O=t.value)==null?void 0:O.bodyCopy)??""} text-${r.unref(s).copy} text-${h.bodyCopyAlignment??h.alignment} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(o).bullet})`}),innerHTML:h.bodyCopy},null,14,Wu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,h.ctas||h.footer?{name:"footer",fn:r.withCtx(()=>{var x,_;return[h.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((x=t.value)==null?void 0:x.footerContent)??""} text-${r.unref(s).copy} text-${h.alignment}`)},r.toDisplayString(h.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(((_=t.value)==null?void 0:_.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.ctas,(w,S)=>{var $;return r.openBlock(),r.createBlock(m,r.mergeProps({key:`cta-${w.title}-${S}`,class:`cta-${S} ${($=t.value)==null?void 0:$.cta}`,color:r.unref(gn)(w,r.unref(l)),"text-color":r.unref(bn)(w,r.unref(l)),ref_for:!0},w),null,16,["class","color","text-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],6)}}}),[["__scopeId","data-v-799e6785"]]),Uu=["innerHTML"],Pr=r.defineComponent({__name:"TileContentTextTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(ki,e.pt??{})),i=typeof e.index=="number",o=e.backgroundColor||e.parentBackgroundColor,{palette:s}=J({backgroundColor:o}),a=e.backgroundColor?s:s.tile,l=e.backgroundColor||s.tile.bg;return(c,d)=>{var f,p,m,g,b,y,C,x,_,w;const u=Nt,h=be;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)((f=t.value)==null?void 0:f.root,i?"":"w-full md:w-full lg:w-full")} ${e.class} bg-${r.unref(l)}`)},[c.tileLabel||c.tileLabelType?(r.openBlock(),r.createBlock(u,r.mergeProps({key:0},c.tileLabel,{class:c.tileLabelType==="Numeric"||((p=c.tileLabel)==null?void 0:p.type)==="Numeric"?(m=t.value)==null?void 0:m.numericLabel:(g=t.value)==null?void 0:g.label,index:c.index,type:c.tileLabelType??((b=c.tileLabel)==null?void 0:b.type),"background-color":r.unref(a).label[c.tileLabelType??((y=c.tileLabel)==null?void 0:y.type)??"Text"].bg,"text-color":r.unref(a).label[c.tileLabelType??((C=c.tileLabel)==null?void 0:C.type)??"Text"].copy}),null,16,["class","index","type","background-color","text-color"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((x=t.value)==null?void 0:x.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((_=t.value)==null?void 0:_.footer)??""}`,"pt:body:class":((w=t.value)==null?void 0:w.body)??""},r.createSlots({_:2},[c.bodyCopy||c.subheadline||c.headline?{name:"content",fn:r.withCtx(()=>{var S,$,B,E;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((S=t.value)==null?void 0:S.bodyCopy)??""}`)},[c.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:0,class:r.normalizeClass(`tile-content-subheadline ${(($=t.value)==null?void 0:$.subheadline)??""} text-${r.unref(a).copy} text-${c.alignment}`)},r.toDisplayString(c.subheadline),3)):r.createCommentVNode("",!0),c.headline?(r.openBlock(),r.createElementBlock("h2",{key:1,class:r.normalizeClass(`tile-content-headline ${((B=t.value)==null?void 0:B.headline)??""} text-${r.unref(a).headline} text-${c.alignment}`)},r.toDisplayString(c.headline),3)):r.createCommentVNode("",!0),c.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`tile-content-body-copy ${((E=t.value)==null?void 0:E.bodyCopy)??""} text-${r.unref(a).copy} text-${c.bodyCopyAlignment??c.alignment} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(s).bullet})`}),innerHTML:c.bodyCopy},null,14,Uu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,c.ctas||c.footer?{name:"footer",fn:r.withCtx(()=>{var S,$;return[c.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((S=t.value)==null?void 0:S.footerContent)??""} text-${r.unref(a).copy} text-${c.alignment}`)},r.toDisplayString(c.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass((($=t.value)==null?void 0:$.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.ctas,(B,E)=>{var A;return r.openBlock(),r.createBlock(h,r.mergeProps({key:`cta-${B.title}-${E}`,class:`cta-${E} ${(A=t.value)==null?void 0:A.cta} w-full`,color:r.unref(gn)(B,r.unref(l)),"text-color":r.unref(bn)(B,r.unref(l)),size:B.size??"xxl","background-color":r.unref(l),ref_for:!0},B),null,16,["class","color","text-color","size","background-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),Yu=["innerHTML"],Mr=r.defineComponent({__name:"TileContentVideoTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},class:{}},setup(n){const e=n,t=r.computed(()=>V(Ci,e.pt??{})),i=typeof e.index=="number",o=e.backgroundColor||e.parentBackgroundColor,{palette:s}=J({backgroundColor:o}),a=e.backgroundColor?s:s.tile,l=e.backgroundColor||s.tile.bg,c=r.computed(()=>e.alignment==="center"?"items-center":e.alignment==="right"?"items-end":"items-start");return(d,u)=>{var p,m,g,b,y,C,x,_,w,S,$;const h=Nt,f=be;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none",`bg-${r.unref(l)}`,i?"":"w-full md:w-full lg:w-full",((p=t.value)==null?void 0:p.root)??"",e.class??"")} ${e.class}`)},[d.tileLabel||d.tileLabelType?(r.openBlock(),r.createBlock(h,{key:0,class:r.normalizeClass(d.tileLabelType==="Numeric"||((m=d.tileLabel)==null?void 0:m.type)==="Numeric"?(g=t.value)==null?void 0:g.numericLabel:(b=t.value)==null?void 0:b.label),index:d.index,alignment:((y=d.tileLabel)==null?void 0:y.alignment)??"right",type:d.tileLabelType??((C=d.tileLabel)==null?void 0:C.type),"background-color":r.unref(a).label[d.tileLabelType??((x=d.tileLabel)==null?void 0:x.type)??"Text"].bg,"text-color":r.unref(a).label[d.tileLabelType??((_=d.tileLabel)==null?void 0:_.type)??"Text"].copy},null,8,["class","index","alignment","type","background-color","text-color"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((w=t.value)==null?void 0:w.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((S=t.value)==null?void 0:S.ctas)??""}`,"pt:body:class":(($=t.value)==null?void 0:$.body)??""},r.createSlots({_:2},[d.bodyCopy||d.listItems?{name:"content",fn:r.withCtx(()=>{var B,E,A,L,T,k;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((B=t.value)==null?void 0:B.bodyCopy)??""} ${c.value}`)},[d.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`tile-content-headline ${((E=t.value)==null?void 0:E.headline)??""} text-${r.unref(a).headline} text-${d.alignment}`)},r.toDisplayString(d.headline),3)):r.createCommentVNode("",!0),d.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:1,class:r.normalizeClass(`tile-content-subheadline ${((A=t.value)==null?void 0:A.subheadline)??""} text-${r.unref(a).headline} text-${d.alignment}`)},r.toDisplayString(d.subheadline),3)):r.createCommentVNode("",!0),(L=d.video)!=null&&L.url?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`tile-content-media w-full ${((T=t.value)==null?void 0:T.media)??""}`)},[r.createVNode(zt,{url:d.video.url,thumbnail:d.video.thumbnail},null,8,["url","thumbnail"])],2)):r.createCommentVNode("",!0),d.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((k=t.value)==null?void 0:k.bodyCopy)??""} text-${r.unref(a).copy} text-${d.bodyCopyAlignment??d.alignment} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(s).bullet})`}),innerHTML:d.bodyCopy},null,14,Yu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,d.ctas||d.footer?{name:"footer",fn:r.withCtx(()=>{var B;return[d.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((B=t.value)==null?void 0:B.footer)??""} text-${r.unref(a).copy}`)},r.toDisplayString(d.footer),3)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.ctas,(E,A)=>{var L;return r.openBlock(),r.createBlock(f,r.mergeProps({key:`cta-${E.title}-${A}`,class:`cta-${A} ${(L=t.value)==null?void 0:L.cta}`,color:r.unref(gn)(E,r.unref(l)),"text-color":r.unref(bn)(E,r.unref(l)),ref_for:!0},E),null,16,["class","color","text-color"])}),128))]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),Fi=Oi?window:void 0;function yn(n){var e;const t=Ve(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Ku(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=Fi):[e,t,i,o]=n,!e)return Ne;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const s=[],a=()=>{s.forEach(u=>u()),s.length=0},l=(u,h,f,p)=>(u.addEventListener(h,f,p),()=>u.removeEventListener(h,f,p)),c=r.watch(()=>[yn(e),Ve(o)],([u,h])=>{if(a(),!u)return;const f=Oc(h)?{...h}:h;s.push(...t.flatMap(p=>i.map(m=>l(u,p,m,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return un(d),d}function qu(){const n=r.ref(!1),e=r.getCurrentInstance();return e&&r.onMounted(()=>{n.value=!0},e),n}function Xu(n){const e=qu();return r.computed(()=>(e.value,!!n()))}function Gu(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:a=Fi,immediate:l=!0}=t,c=Xu(()=>a&&"IntersectionObserver"in a),d=r.computed(()=>{const m=Ve(n);return(Array.isArray(m)?m:[m]).map(yn).filter(or)});let u=Ne;const h=r.ref(l),f=c.value?r.watch(()=>[d.value,yn(i),h.value],([m,g])=>{if(u(),!h.value||!m.length)return;const b=new IntersectionObserver(e,{root:yn(g),rootMargin:o,threshold:s});m.forEach(y=>y&&b.observe(y)),u=()=>{b.disconnect(),u=Ne}},{immediate:l,flush:"post"}):Ne,p=()=>{u(),f(),h.value=!1};return un(p),{isSupported:c,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:p}}function Er(n,e={}){const{window:t=Fi,scrollTarget:i,threshold:o=0}=e,s=r.ref(!1);return Gu(n,a=>{let l=s.value,c=0;for(const d of a)d.time>=c&&(c=d.time,l=d.isIntersecting);s.value=l},{root:i,window:t,threshold:o}),s}const Zu={[Lc.mounted](n,e){if(typeof e.value=="function"){const t=e.value,i=Er(n);r.watch(i,o=>t(o),{immediate:!0})}else{const[t,i]=e.value,o=Er(n,i);r.watch(o,s=>t(s),{immediate:!0})}}};function Ri(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function Ar(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth<n.scrollWidth||e.overflowY==="auto"&&n.clientHeight<n.scrollHeight)return!0;{const t=n.parentNode;return!t||t.tagName==="BODY"?!1:Ar(t)}}function Qu(n){const e=n||window.event,t=e.target;return Ar(t)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const ji=new WeakMap;function Ju(n,e=!1){const t=r.ref(e);let i=null,o="";r.watch(Vc(n),l=>{const c=Ri(Ve(l));if(c){const d=c;if(ji.get(d)||ji.set(d,d.style.overflow),d.style.overflow!=="hidden"&&(o=d.style.overflow),d.style.overflow==="hidden")return t.value=!0;if(t.value)return d.style.overflow="hidden"}},{immediate:!0});const s=()=>{const l=Ri(Ve(n));!l||t.value||(rr&&(i=Ku(l,"touchmove",c=>{Qu(c)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Ri(Ve(n));!l||!t.value||(rr&&(i==null||i()),l.style.overflow=o,ji.delete(l),t.value=!1)};return un(a),r.computed({get(){return t.value},set(l){l?s():a()}})}function eh(){let n=!1;const e=r.ref(!1);return(t,i)=>{if(e.value=i.value,n)return;n=!0;const o=Ju(t,i.value);r.watch(e,s=>o.value=s)}}eh();const th=["innerHTML"],nh=["innerHTML"],ih=["src"],Lr=Dt(r.defineComponent({__name:"TileContentImageStackedAnimatedTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},class:{}},setup(n){const e=r.ref(null),t=r.ref(!1),i=n,o=r.computed(()=>V(bi,i.pt??{})),s=r.computed(()=>!((i.index??0)%2)),a=r.computed(()=>i.index===0),l=i.backgroundColor||i.parentBackgroundColor,{palette:c}=J({backgroundColor:l}),d=r.computed(()=>{var h;return(h=i.tileLabel)!=null&&h.alignment?i.tileLabel.alignment:s.value?"right":"left"}),u=h=>{t.value=h};return(h,f)=>{var m,g,b,y;const p=Nt;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)(((m=o.value)==null?void 0:m.root)??"",i.class??"")} max-w-[1024px]`)},[r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((g=o.value)==null?void 0:g.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((b=o.value)==null?void 0:b.ctas)??""}`,"pt:body:class":((y=o.value)==null?void 0:y.body)??""},r.createSlots({content:r.withCtx(()=>{var C,x,_,w,S,$,B,E,A,L,T,k;return[r.createElementVNode("div",{class:r.normalizeClass(`flex gap-[5vmin] md:gap-12 relative ${s.value?"flex-row-reverse":""} tile-content-inner ${((C=o.value)==null?void 0:C.bodyCopy)??""}`)},[r.createElementVNode("div",{class:r.normalizeClass(`tile-content-text flex-auto relative z-20 flex flex-col justify-center ${((x=o.value)==null?void 0:x.text)??""} text-left ${s.value?"items-start":"items-end"}`)},[h.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`tile-content-headline w-full ${((_=o.value)==null?void 0:_.headline)??""} text-${r.unref(c).subheadline}`),innerHTML:h.headline},null,10,th)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`tile-content-body-copy ${((w=o.value)==null?void 0:w.description)??""} w-full text-${r.unref(c).copy} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(c).bullet})`}),innerHTML:h.bodyCopy},null,14,nh)):r.createCommentVNode("",!0)],2),h.video||h.image?r.withDirectives((r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"target",ref:e,class:r.normalizeClass(`tile-content-media relative ${((S=o.value)==null?void 0:S.media)??""} max-w-[350px]`)},[r.createElementVNode("img",{class:r.normalizeClass({"should-animate":!0,absolute:!0,animate:t.value,"w-full":!0,"z-0":!0,"top-[36%]":a.value,"left-[-16%]":a.value,"bg-left-top":s.value&&!a.value||!s.value,"animate-even":s.value&&!a.value&&t.value,"left-[-28%]":s.value&&!a.value,"top-[-10%]":s.value&&!a.value,"top-[-16%]":!s.value,"right-[-16%]":!s.value,"animate-odd":!s.value&&t.value}),src:(s.value,"https://images.ctfassets.net/qqblaiss500w/5Bp3ySaz0pqR5gLtdxOQoi/db01031466deed9b7b959c08c17e5681/circles1.f3eead2.svg")},null,10,ih),h.tileLabel||h.tileLabelType?(r.openBlock(),r.createBlock(p,r.mergeProps({key:0},h.tileLabel,{class:{[(($=o.value)==null?void 0:$.numericLabel)??""]:h.tileLabelType==="Numeric"||((B=h.tileLabel)==null?void 0:B.type)==="Numeric",[((E=o.value)==null?void 0:E.label)??""]:h.tileLabelType==="Text"||((A=h.tileLabel)==null?void 0:A.type)==="Text","top-1 md:top-8":!0,"left-1":!s.value,"right-1":s.value},index:h.index,type:h.tileLabelType??((L=h.tileLabel)==null?void 0:L.type),alignment:d.value,"background-color":r.unref(c).label[h.tileLabelType??((T=h.tileLabel)==null?void 0:T.type)??"Text"].bg,"text-color":r.unref(c).label[h.tileLabelType??((k=h.tileLabel)==null?void 0:k.type)??"Text"].copy}),null,16,["class","index","type","alignment","background-color","text-color"])):r.createCommentVNode("",!0),h.image?(r.openBlock(),r.createBlock(le,r.mergeProps({key:1},h.image,{class:r.unref(D)("w-full min-w-[150px] md:min-w-[350px] relative rounded-full z-10",h.image.class)}),null,16,["class"])):r.createCommentVNode("",!0),h.video?(r.openBlock(),r.createBlock(zt,r.normalizeProps(r.mergeProps({key:2},h.video)),null,16)):r.createCommentVNode("",!0)],2)),[[r.unref(Zu),u]]):r.createCommentVNode("",!0)],2)]}),_:2},[h.ctas||h.footer?{name:"footer",fn:r.withCtx(()=>{var C;return[h.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((C=o.value)==null?void 0:C.footer)??""} text-${r.unref(c).copy}`)},r.toDisplayString(h.footer),3)):r.createCommentVNode("",!0)]}),key:"0"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),[["__scopeId","data-v-e0d0c2b5"]]),oh={key:0},Ir=Dt(r.defineComponent({__name:"HelloBanner",props:{__typename:{},helloBannerData:{},pt:{},onSegmentCTAClick:{type:Function},class:{}},setup(n){const e=n,t=r.ref("minimized"),i=()=>{t.value=t.value==="maximized"?"minimized":"maximized"},o=r.computed(()=>V(_i,e.pt??{}));return(s,a)=>{var l,c;return e.helloBannerData&&e.helloBannerData.active?(r.openBlock(),r.createBlock(r.unref(Ze),{key:0,"pt:root:class":r.unref(D)((l=o.value)==null?void 0:l.root,e.class,"hello-banner shadow-none border-0 rounded-none",t.value==="maximized"?"hello-banner-max":"",t.value==="minimized"?"hello-banner-min":""),"pt:body:class":r.unref(D)((c=o.value)==null?void 0:c.container,"container-center"),"pt:content:class":"flex flex-col md:flex-row gap-8"},{content:r.withCtx(()=>{var d,u,h,f,p,m,g,b,y;return[r.createElementVNode("div",{class:r.normalizeClass((d=o.value)==null?void 0:d.mobileCollapsed)},[r.createElementVNode("p",null,r.toDisplayString((u=e.helloBannerData)==null?void 0:u.mobileCollapsed),1)],2),r.createElementVNode("div",{class:r.normalizeClass([(h=o.value)==null?void 0:h.content,"content"])},[r.createElementVNode("p",{class:r.normalizeClass([(f=o.value)==null?void 0:f.fullCopy,"fullCopy"])},r.toDisplayString((p=e.helloBannerData)==null?void 0:p.fullCopy),3)],2),(m=e.helloBannerData)!=null&&m.cta?(r.openBlock(),r.createElementBlock("section",oh,[r.createVNode(be,r.mergeProps(e.helloBannerData.cta,{class:r.unref(D)((g=o.value)==null?void 0:g.cta,"cta")}),null,16,["class"])])):r.createCommentVNode("",!0),r.createVNode(r.unref(dn),{class:r.normalizeClass([(b=o.value)==null?void 0:b.toggle,"toggle"]),"pt:root:class":(y=o.value)==null?void 0:y.toggle,tabindex:"0","aria-label":t.value==="minimized"?"Expand banner":"Minimize banner","aria-expanded":t.value==="maximized",link:!0,onClick:i},{default:r.withCtx(()=>[r.createElementVNode("i",{class:"pi pi-times-circle",style:r.normalizeStyle({fontSize:"16px",color:"#fff",transform:t.value==="minimized"?"rotate(45deg)":"rotate(0deg)",transition:"transform 0.3s ease"})},null,4)]),_:1},8,["class","pt:root:class","aria-label","aria-expanded"])]}),_:1},8,["pt:root:class","pt:body:class"])):r.createCommentVNode("",!0)}}}),[["__scopeId","data-v-7799ef64"]]);/*!
89
+ `)}}this.carouselStyle.innerHTML=t},isVertical:function(){return this.orientation==="vertical"},isCircular:function(){return this.value&&this.d_circular&&this.value.length>=this.d_numVisible},isAutoplay:function(){return this.autoplayInterval&&this.allowAutoplay},firstIndex:function(){return this.isCircular()?-1*(this.totalShiftedItems+this.d_numVisible):this.totalShiftedItems*-1},lastIndex:function(){return this.firstIndex()+this.d_numVisible-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{totalIndicators:function(){return this.value?Math.max(Math.ceil((this.value.length-this.d_numVisible)/this.d_numScroll)+1,0):0},backwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&this.d_page===0},forwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&(this.d_page===this.totalIndicators-1||this.totalIndicators===0)},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0},ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0},attributeSelector:function(){return xl()},empty:function(){return!this.value||this.value.length===0},emptyMessageText:function(){var e;return((e=this.$primevue.config)===null||e===void 0||(e=e.locale)===null||e===void 0?void 0:e.emptyMessage)||""}},components:{ChevronRightIcon:ur,ChevronDownIcon:cr,ChevronLeftIcon:dr,ChevronUpIcon:hr},directives:{ripple:nr}};function Nt(n){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nt(n)}function pr(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function hn(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pr(Object(t),!0).forEach(function(i){Cd(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Cd(n,e,t){return e=xd(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function xd(n){var e=wd(n,"string");return Nt(e)=="symbol"?e:String(e)}function wd(n,e){if(Nt(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Nt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var _d=["aria-live"],vd=["disabled","aria-label"],Sd=["data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Td=["aria-hidden","aria-label","aria-roledescription","data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],$d=["disabled","aria-label"],Bd=["data-p-highlight"],Pd=["tabindex","aria-label","aria-current","onClick"];function Md(n,e,t,i,o,s){var a=r.resolveDirective("ripple");return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:n.cx("root"),role:"region"},n.ptmi("root")),[n.$slots.header?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[r.renderSlot(n.$slots,"header")],16)):r.createCommentVNode("",!0),s.empty?r.renderSlot(n.$slots,"empty",{key:2},function(){return[r.createTextVNode(r.toDisplayString(s.emptyMessageText),1)]}):(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:[n.cx("content"),n.contentClass]},n.ptm("content")),[r.createElementVNode("div",r.mergeProps({class:[n.cx("container"),n.containerClass],"aria-live":o.allowAutoplay?"polite":"off"},n.ptm("container")),[n.showNavigators?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:0,type:"button",class:n.cx("previousButton"),disabled:s.backwardIsDisabled,"aria-label":s.ariaPrevButtonLabel,onClick:e[0]||(e[0]=function(){return s.navBackward&&s.navBackward.apply(s,arguments)})},hn(hn({},n.prevButtonProps),n.ptm("previousButton")),{"data-pc-group-section":"navigator"}),[r.renderSlot(n.$slots,"previousicon",{},function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.isVertical()?"ChevronUpIcon":"ChevronLeftIcon"),r.mergeProps({class:n.cx("previousButtonIcon")},n.ptm("previousButtonIcon")),null,16,["class"]))]})],16,vd)),[[a]]):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("itemsContent"),style:[{height:s.isVertical()?n.verticalViewPortHeight:"auto"}],onTouchend:e[2]||(e[2]=function(){return s.onTouchEnd&&s.onTouchEnd.apply(s,arguments)}),onTouchstart:e[3]||(e[3]=function(){return s.onTouchStart&&s.onTouchStart.apply(s,arguments)}),onTouchmove:e[4]||(e[4]=function(){return s.onTouchMove&&s.onTouchMove.apply(s,arguments)})},n.ptm("itemsContent")),[r.createElementVNode("div",r.mergeProps({ref:"itemsContainer",class:n.cx("itemsContainer"),onTransitionend:e[1]||(e[1]=function(){return s.onTransitionEnd&&s.onTransitionEnd.apply(s,arguments)})},n.ptm("itemsContainer")),[s.isCircular()?(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:0},r.renderList(n.value.slice(-1*o.d_numVisible),function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c+"_scloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:o.totalShiftedItems,d_numVisible:o.d_numVisible})},n.ptm("itemCloned"),{"data-p-carousel-item-active":o.totalShiftedItems*-1===n.value.length+o.d_numVisible,"data-p-carousel-item-start":c===0,"data-p-carousel-item-end":n.value.slice(-1*o.d_numVisible).length-1===c}),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16,Sd)}),128)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.value,function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c,class:n.cx("item",{index:c}),role:"group","aria-hidden":s.firstIndex()>c||s.lastIndex()<c?!0:void 0,"aria-label":s.ariaSlideNumber(c),"aria-roledescription":s.ariaSlideLabel},n.ptm("item"),{"data-p-carousel-item-active":s.firstIndex()<=c&&s.lastIndex()>=c,"data-p-carousel-item-start":s.firstIndex()===c,"data-p-carousel-item-end":s.lastIndex()===c}),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16,Td)}),128)),s.isCircular()?(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:1},r.renderList(n.value.slice(0,o.d_numVisible),function(l,c){return r.openBlock(),r.createElementBlock("div",r.mergeProps({key:c+"_fcloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:o.totalShiftedItems,d_numVisible:o.d_numVisible})},n.ptm("itemCloned")),[r.renderSlot(n.$slots,"item",{data:l,index:c})],16)}),128)):r.createCommentVNode("",!0)],16)],16),n.showNavigators?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:1,type:"button",class:n.cx("nextButton"),disabled:s.forwardIsDisabled,"aria-label":s.ariaNextButtonLabel,onClick:e[5]||(e[5]=function(){return s.navForward&&s.navForward.apply(s,arguments)})},hn(hn({},n.nextButtonProps),n.ptm("nextButton")),{"data-pc-group-section":"navigator"}),[r.renderSlot(n.$slots,"nexticon",{},function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.isVertical()?"ChevronDownIcon":"ChevronRightIcon"),r.mergeProps({class:n.cx("nextButtonIcon")},n.ptm("nextButtonIcon")),null,16,["class"]))]})],16,$d)),[[a]]):r.createCommentVNode("",!0)],16,_d),s.totalIndicators>=0&&n.showIndicators?(r.openBlock(),r.createElementBlock("ul",r.mergeProps({key:0,ref:"indicatorContent",class:[n.cx("indicators"),n.indicatorsContentClass],onKeydown:e[6]||(e[6]=function(){return s.onIndicatorKeydown&&s.onIndicatorKeydown.apply(s,arguments)})},n.ptm("indicators")),[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.totalIndicators,function(l,c){return r.openBlock(),r.createElementBlock("li",r.mergeProps({key:"p-carousel-indicator-"+c.toString(),class:n.cx("indicator",{index:c})},n.ptm("indicator",s.getIndicatorPTOptions(c)),{"data-p-highlight":o.d_page===c}),[r.createElementVNode("button",r.mergeProps({class:n.cx("indicatorButton"),type:"button",tabindex:o.d_page===c?"0":"-1","aria-label":s.ariaPageLabel(c+1),"aria-current":o.d_page===c?"page":void 0,onClick:function(u){return s.onIndicatorClick(u,c)}},n.ptm("indicatorButton",s.getIndicatorPTOptions(c))),null,16,Pd)],16,Bd)}),128))],16)):r.createCommentVNode("",!0)],16)),n.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:3,class:n.cx("footer")},n.ptm("footer")),[r.renderSlot(n.$slots,"footer")],16)):r.createCommentVNode("",!0)],16)}fr.render=Md;const Ed=["innerHTML"],Ad={class:"flex justify-center items-center gap-6 absolute z-50 bottom-6 left-0 right-0 w-fit me-auto ms-auto"},Ld=["onClick"],Id={class:"flex items-center gap-4"},Od=["onClick"],Dd=["onClick"],mr=r.defineComponent({__name:"CarouselModule",props:{__typename:{},headline:{},carouselItems:{},backgroundColor:{},pt:{},variant:{default:"Default"},class:{}},setup(n){const e=n,t=r.computed(()=>N(si,e.pt??{})),i=r.ref(0),o=r.computed(()=>i.value>0),s=r.computed(()=>i.value<e.carouselItems.length-1),{backgroundColor:a,palette:l}=J(e),c=r.computed(()=>`${D(e.variant!=="Hero"?"py-16 px-8":"",`bg-${a}`,e.class)} ${e.variant.toLowerCase()} carousel relative`);return(d,u)=>{var h;return r.openBlock(),r.createBlock(r.unref(fr),{value:d.carouselItems,"num-visible":1,"num-scroll":1,class:r.normalizeClass(c.value),pt:t.value,"show-navigators":!1,"show-indicators":!1,page:i.value,"pt:item:class":`carousel-item w-full ${((h=t.value)==null?void 0:h.item)??""}`},r.createSlots({item:r.withCtx(p=>[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(p.data.__typename),r.mergeProps(p.data,{"is-child":!0}),null,16))]),footer:r.withCtx(()=>[r.createElementVNode("div",Ad,[r.createElementVNode("button",{onClick:()=>o.value?i.value--:i.value=d.carouselItems.length-1},u[0]||(u[0]=[r.createElementVNode("img",{class:"w-[11px]",src:"https://images.ctfassets.net/qqblaiss500w/5Nhdf7R1DeedcyBCxbqEGZ/789698047434d57ca6337e3f210ee1f9/icon-left-arrow.svg?fm=webp"},null,-1)]),8,Ld),r.createElementVNode("div",Id,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.carouselItems,(p,f)=>(r.openBlock(),r.createElementBlock("button",{key:f,onClick:()=>i.value=f,class:r.normalizeClass(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value===f?"bg-secondary border-none":"border-gray-400"}`)},null,10,Od))),128))]),r.createElementVNode("button",{onClick:()=>s.value?i.value++:i.value=0},u[1]||(u[1]=[r.createElementVNode("img",{class:"w-[11px]",src:"https://images.ctfassets.net/qqblaiss500w/52baRb2rAQgjt4FV4eCjog/91068343d7082e65d18f4eb4030656d9/icon-right-arrow.svg?fm=webp"},null,-1)]),8,Dd)])]),_:2},[d.headline?{name:"header",fn:r.withCtx(()=>{var p;return[r.createElementVNode("h2",{class:r.normalizeClass(`carousel-headline ${((p=t.value)==null?void 0:p.headline)??""} text-${r.unref(l).headline}`),innerHTML:d.headline},null,10,Ed)]}),key:"0"}:void 0]),1032,["value","class","pt","page","pt:item:class"])}}});var ze=(n=>(n[n.IconTile=0]="IconTile",n[n.ImageTile=1]="ImageTile",n[n.VideoTile=2]="VideoTile",n[n.ImageStackedAnimatedTile=3]="ImageStackedAnimatedTile",n[n.VideoLeft=4]="VideoLeft",n[n.Hero=5]="Hero",n[n.Centered=6]="Centered",n[n.Feature=7]="Feature",n))(ze||{});const Nd={Centered:"Centered",Hero:"Hero",Feature:"Feature"},Vd={Accordion:"Accordion",Image:"Image",Testimonial:"Testimonial",TileLabel:"TileLabel",Video:"Video",TileCollectionModule:"TileCollectionModule",ContainerModule:"ContainerModule",TileContent:"TileContent",ContentModule:"ContentModule",FormModule:"FormModule",CarouselModule:"CarouselModule",TestimonialModule:"TestimonialModule",LogoCollectionModule:"LogoCollectionModule",ProductModule:"ProductModule",CardsModule:"CardsModule",ChartModule:"ChartModule"},zd={Icon:"IconTile",Image:"ImageTile",Video:"VideoTile",Text:"TextTile","Image Stacked Animated":"ImageStackedAnimatedTile",Multiple:"Multiple"},Fd={Icon:"TileContentIconTile",Image:"TileContentImageTile",Video:"TileContentVideoTile",Text:"TileContentTextTile","Image Stacked Animated":"TileContentImageStackedAnimatedTile",Multiple:"TileContentMultiple"},Rd={List:"List",Tile:"Tile"},jd={Fill:"fill",Outline:"outline",Link:"link",Logo:"logo"},Hd={Left:"left",Right:"right",Center:"center"},Wd={Top:"top",Center:"center",Bottom:"bottom"},Ud={Left:"left",Center:"center",Right:"right",Inline:"inline"},Yd={Top:"Top",Bottom:"Bottom"},Kd={Hero:"Hero",Default:"Default"};var gr=(n=>(n.Image="img",n.Video="iframe",n))(gr||{}),br=(n=>(n[n.fill=0]="fill",n[n.outline=1]="outline",n[n.link=2]="link",n[n.logo=3]="logo",n))(br||{});const qd=["innerHTML"],Xd={key:2,class:"container-module-testimonial-tile relative lg:absolute lg:right-0 lg:bottom-10 flex justify-center lg:justify-end mt-20 lg:mt-0"},Gd=["src"],Zd={key:1,class:"text-[base] text-left lg:text-[17px] leading-relaxed mb-4 font-normal pr-32 lg:pr-0"},yr=r.defineComponent({__name:"ContainerModule",props:{__typename:{},headline:{},subHeadline:{},fullWidthContent:{},start:{},end:{},textColor:{},backgroundColor:{},backgroundImage:{},backgroundImageClass:{},variant:{default:"Centered"},isChild:{type:Boolean,default:!1},pt:{},mobileImagePosition:{default:"Top"},testimonialTile:{},class:{}},setup(n){var $,M,E,L,A,S;const e=n,{backgroundColor:t,palette:i}=J(e),o=r.computed(()=>N(li[e.variant],e.pt??{})),s=r.computed(()=>ze[e.variant]===ze.Hero),a=r.computed(()=>ze[e.variant]===ze.Centered),l=r.computed(()=>ze[e.variant]===ze.Feature),c=r.computed(()=>{var k,B;return e.testimonialTile&&s.value?D(((k=o.value)==null?void 0:k.inner)??"","md:block lg:flex lg:items-center p-8 lg:p-0"):((B=o.value)==null?void 0:B.inner)??""}),d=r.computed(()=>{if(!s.value)return"";const k=[];return g==="ContentModule"&&b==="Image"&&k.push("lg:flex lg:items-center lg:z-10"),g!=="Image"&&(k.push("py-16 px-16 lg:py-0 lg:px-16"),e.testimonialTile&&k.push("pt-8 pb-0 lg:pt-0 lg:pb-0")),e.mobileImagePosition==="Bottom"&&k.push("pt-16 pb-0 lg:py-0"),D(...k)}),u=r.computed(()=>s.value&&b!=="Image"?"py-16 lg:pr-16 lg:pl-0 px-12":s.value&&b==="Image"?e.testimonialTile?"hidden lg:block lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero":"max-h-[500px] lg:max-h-none overflow-hidden lg:overflow-visible lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero":l.value&&b==="Image"?"md:absolute md:right-0 md:top-0 md:h-full md:w-1/2":""),h=r.computed(()=>{var k,B,P,I;return D(`container-module ${e.testimonialTile?"lg:flex":"md:flex"} ${e.backgroundImage?"":`bg-${t}`} relative ${s.value?"overflow-hidden":""} ${(k=o.value)==null?void 0:k.root} ${s.value?e.backgroundImage?`lg:h-[60vw] lg:max-h-[33.75rem] ${(B=o.value)==null?void 0:B.container}`:`${(P=o.value)==null?void 0:P.container}`:""} `,l.value?`${(I=o.value)==null?void 0:I.container}`:"",s.value&&g==="ContentModule"&&b==="Image"?"lg:h-[33.75rem] ":"",e.class??"",e.mobileImagePosition==="Top"&&s.value&&!e.testimonialTile?"clip-mobile-hero lg:no-clip":"")}),p=r.computed(()=>D(`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0', ${s.value?"object-bottom":""}`,e.backgroundImageClass??"")),f=r.computed(()=>{var B,P;let k=JSON.parse(JSON.stringify(e.backgroundImage));return k!=null&&k.media.width&&(k.media.width=void 0),k!=null&&k.media.height&&(k.media.height=void 0),(B=k==null?void 0:k.mobileMedia)!=null&&B.width&&(k.mobileMedia.width=void 0),(P=k==null?void 0:k.mobileMedia)!=null&&P.height&&(k.mobileMedia.height=void 0),k}),m=(($=e.fullWidthContent)==null?void 0:$.__typename)==="TileContent"?"TileContentTextTile":(M=e.fullWidthContent)==null?void 0:M.__typename,g=((E=e.start)==null?void 0:E.__typename)==="TileContent"?"TileContentTextTile":(L=e.start)==null?void 0:L.__typename,b=((A=e.end)==null?void 0:A.__typename)==="TileContent"?"TileContentTextTile":(S=e.end)==null?void 0:S.__typename,y=k=>{const B=k;return B==null?void 0:B.backgroundColor},C=m==="TileCollectionModule"||g==="TileCollectionModule"||b==="TileCollectionModule",w=r.computed(()=>{var k,B;return((k=e.end)==null?void 0:k.__typename)==="Image"||((B=e.end)==null?void 0:B.__typename)==="Video"}),_=r.computed(()=>{var O,j,R,ae;const k=((O=e.start)==null?void 0:O.__typename)==="Accordion",B=((j=e.end)==null?void 0:j.__typename)==="Accordion",P=((R=e.start)==null?void 0:R.__typename)==="TileCollectionModule",I=((ae=e.end)==null?void 0:ae.__typename)==="TileCollectionModule";return k&&B?"basis-2/3 md:pr-8":k?"basis-2/3 md:pr-16":B?"basis-1/3":I?"lg:basis-2/5":P?"lg:basis-3/5":"basis-1/2"}),x=r.computed(()=>{var O,j,R,ae;const k=((O=e.start)==null?void 0:O.__typename)==="Accordion",B=((j=e.end)==null?void 0:j.__typename)==="Accordion",P=((R=e.start)==null?void 0:R.__typename)==="TileCollectionModule",I=((ae=e.end)==null?void 0:ae.__typename)==="TileCollectionModule";return k&&B?"basis-2/3 md:pl-8":B?"basis-2/3 md:pl-16":k?"basis-1/3":P?"lg:basis-2/5":I?"lg:basis-3/5":"basis-1/2"}),T=r.computed(()=>l.value&&b==="Image"?"h-full w-full object-cover object-right":s.value&&b==="Image"?"max-h-[500px] lg:max-h-none lg:h-full w-full object-cover":"");return(k,B)=>{const P=de;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(k.isChild?"div":"section"),{class:r.normalizeClass(h.value)},{default:r.withCtx(()=>{var I,O,j,R,ae,ce,Le,qe,Se,Xe;return[k.backgroundImage&&f.value?(r.openBlock(),r.createBlock(P,{key:0,media:f.value.media,"mobile-media":f.value.mobileMedia,class:r.normalizeClass(p.value)},null,8,["media","mobile-media","class"])):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-module-inner relative z-10 ${l.value?"":s.value?((I=k.start)==null?void 0:I.__typename)==="Image"?"container-hero-right":"container-hero":"container"} ${k.isChild||s.value||l.value?"":"py-[2rem] px-8 md:py-16 md:px-4"} ${c.value}`)},[k.headline||k.subHeadline?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-heading-group mb-8 md:mb-10 space-y-[10px] ${!k.isChild&&s.value?"py-16":""}`)},[k.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`container-module-headline ${a.value?"text-center":""} ${s.value?"mx-auto w-full":""} ${((O=o.value)==null?void 0:O.headline)??""} text-${r.unref(i).headline}`),innerHTML:k.headline},null,10,qd)):r.createCommentVNode("",!0),k.subHeadline?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(`container-module-subheadline ${a.value?"text-center":""} ${((j=o.value)==null?void 0:j.subheadline)??""} text-${r.unref(i).subheadline}`)},r.toDisplayString(k.subHeadline),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),k.fullWidthContent||k.start||k.end?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`container-module-content flex flex-col ${w.value&&e.mobileImagePosition!=="Bottom"?"flex-col-reverse":""} ${s.value||r.unref(C)?"lg:flex-row":"md:flex-row"} ${!s.value&&!l.value?`${r.unref(C)?"lg":"md"}:justify-between gap-5`:""} ${s.value?"lg:h-full":"h-full"} ${r.unref(C)?"rounded-2xl overflow-hidden":""} ${((R=o.value)==null?void 0:R.bodyCopy)??""}`)},[k.fullWidthContent?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-full-width-content ${((ae=o.value)==null?void 0:ae.fullWidthContent)??""} ${a.value?"mx-auto":""}`)},[r.unref(m)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(m)),r.mergeProps({key:0},k.fullWidthContent,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(m)==="ContentModule"&&s.value),"background-color":y(k.fullWidthContent),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage}),null,16,["use-child-headline","is-hero","background-color","parent-background-color","parent-has-background-image"])):r.createCommentVNode("",!0)],2)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[k.start?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`container-module-start ${l.value?"md:basis-1/2":_.value} ${((ce=o.value)==null?void 0:ce.start)??""} ${d.value} ${l.value&&r.unref(g)==="Image"?"":l.value?"p-8 md:p-12 lg:p-16 flex items-center":""}`)},[r.unref(g)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(g)),r.mergeProps({key:0},k.start,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(g)==="ContentModule"&&s.value&&!l.value),"is-feature":!!(r.unref(g)==="ContentModule"&&l.value),"background-color":y(k.start),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage,class:l.value&&r.unref(g)==="Image"?"h-full w-full object-cover":""}),null,16,["use-child-headline","is-hero","is-feature","background-color","parent-background-color","parent-has-background-image","class"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-module-end ${l.value?"md:basis-1/2":x.value} ${((Le=o.value)==null?void 0:Le.end)??""} ${u.value} ${l.value&&r.unref(b)==="Image"?"":l.value?"p-8 md:p-12 lg:p-16 flex items-center":""}`)},[r.unref(b)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(b)),r.mergeProps({key:0},k.end,{"is-child":!0,"use-child-headline":!!k.headline,"is-hero":!!(r.unref(b)==="ContentModule"&&s.value&&!l.value),"is-feature":!!(r.unref(b)==="ContentModule"&&l.value),"background-color":y(k.end),"parent-background-color":r.unref(t),"parent-has-background-image":!!k.backgroundImage,class:T.value,"mobile-breakpoint":s.value&&r.unref(b)==="Image"?"lg":"md"}),null,16,["use-child-headline","is-hero","is-feature","background-color","parent-background-color","parent-has-background-image","class","mobile-breakpoint"])):r.createCommentVNode("",!0)],2)],64))],2)):r.createCommentVNode("",!0),k.testimonialTile?(r.openBlock(),r.createElementBlock("div",Xd,[r.createElementVNode("div",{class:r.normalizeClass(`bg-${(qe=r.unref(i).interactive)==null?void 0:qe.bg} rounded-xl lg:rounded-r-none px-6 py-6 lg:py-8 lg:px-10 text-${(Se=r.unref(i).interactive)==null?void 0:Se.copy} max-w-[80vw] lg:max-w-[25vw] w-full shadow-lg relative lg:top-0 lg:right-0 lg:bottom-0 lg:flex flex-col justify-center`)},[k.testimonialTile.media&&k.testimonialTile.media.__typename==="Image"?(r.openBlock(),r.createElementBlock("img",{key:0,src:k.testimonialTile.media.media.url,alt:"Testimonial image",class:"absolute lg:hidden -top-10 -right-2 w-32 h-32 rounded-full z-10"},null,8,Gd)):r.createCommentVNode("",!0),k.testimonialTile.quote?(r.openBlock(),r.createElementBlock("p",Zd,r.toDisplayString(k.testimonialTile.quote),1)):r.createCommentVNode("",!0),k.testimonialTile.author?(r.openBlock(),r.createElementBlock("p",{key:2,class:r.normalizeClass(`text-sm lg:text-[17px] text-${(Xe=r.unref(i).interactive)==null?void 0:Xe.copy} text-right font-normal`)}," - "+r.toDisplayString(k.testimonialTile.author),3)):r.createCommentVNode("",!0)],2)])):r.createCommentVNode("",!0)],2),r.renderSlot(k.$slots,"default")]}),_:3},8,["class"])}}});var Ce=(n=>(n.Left="left",n.Center="center",n.Right="right",n.Inline="inline",n))(Ce||{});const fn=(n,e)=>{var t;if(n==="Default")return(t=e==null?void 0:e.page)!=null&&t.slug?"_self":"_blank";if(n==="New Tab")return"_blank";if(n==="Same Tab")return"_self"},Qd={class:"flex items-center justify-center gap-2"},be=r.defineComponent({__name:"CTA",props:{__typename:{},title:{},link:{},color:{},textColor:{},backgroundColor:{},buttonType:{},logo:{},pt:{},ariaLabel:{},ariaDescription:{},anchor:{},target:{},size:{},ctaAction:{},inBanner:{type:Boolean},onClick:{type:Function},class:{}},emits:["trigger"],setup(n,{emit:e}){const t=n,i=e,o=r.computed(()=>N(di[t.buttonType],t.pt??{})),s=r.computed(()=>t.buttonType==="link"||t.buttonType==="logo"),{palette:a}=J(t),l=r.computed(()=>{var g;return((g=a==null?void 0:a.cta)==null?void 0:g[t.buttonType])||{copy:"soil",bg:"lily"}}),c=r.computed(()=>{var b;const g=["cta whitespace-nowrap",D(((b=o.value)==null?void 0:b.root)??"",t.class??"","flex items-center gap-2")];if((t.buttonType==="link"||t.buttonType==="logo")&&g.push("hover:underline"),g.push(`text-${t.textColor??l.value.copy}`),t.size)switch(t.size){case"sm":g.push("*:text-sm"),t.buttonType==="fill"&&g.push("py-0.5 px-4");break;case"lg":g.push("*:text-lg font-bold"),t.buttonType==="fill"&&g.push("py-1.5 px-8");break;case"xl":g.push("*:text-xl font-bold"),t.buttonType==="fill"&&g.push("py-2 px-12");break;case"xxl":g.push("*:text-3xl font-bold"),t.buttonType==="fill"&&g.push("py-2 px-16");break}return t.buttonType==="fill"&&(g.push("rounded-[2rem]"),(t.color||l.value.bg)&&g.push(`bg-${t.color||l.value.bg}`),t.size||g.push("py-1 px-4")),t.buttonType!=="outline"&&l.value.border&&g.push(`border-${t.color??l.value.border}`),g.join(" ")}),d=r.computed(()=>{var g,b,y,C,w,_;return(b=(g=t.link)==null?void 0:g.page)!=null&&b.slug?`${(C=(y=t.link)==null?void 0:y.page)==null?void 0:C.slug}`:(w=t.link)!=null&&w.externalUrl?(_=t.link)==null?void 0:_.externalUrl:""}),u=r.computed(()=>{var g;return!!((g=t.link)!=null&&g.externalUrl)}),h=r.computed(()=>{var g;return t.ariaLabel??((g=t.link)==null?void 0:g.ariaLabel)??t.title}),p=r.computed(()=>{var g,b;return(g=t.ctaAction)!=null&&g.ariaDescription?t.ctaAction.ariaDescription:t.ariaDescription??((b=t.link)==null?void 0:b.ariaDescription)??""}),f=r.computed(()=>{var g;return u.value?(g=t.link)==null?void 0:g.thirdPartyId:void 0}),m=()=>{var g;(g=t.ctaAction)!=null&&g.triggerMappingValue&&i("trigger",t.ctaAction.triggerMappingValue),t.onClick&&t.onClick()};return(g,b)=>{var C;const y=de;return r.openBlock(),r.createBlock(r.resolveDynamicComponent("a"),{id:f.value,"aria-label":h.value,"aria-description":p.value,href:d.value??void 0,target:r.unref(fn)(t.target||((C=t.link)==null?void 0:C.target),t.link),rel:u.value?"noopener":"",class:r.normalizeClass(t.class),onClick:m},{default:r.withCtx(()=>[r.createVNode(r.unref(dn),{class:r.normalizeClass(c.value),link:s.value,onClick:m},{default:r.withCtx(()=>{var w,_,x;return[r.createElementVNode("div",Qd,[g.logo?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`flex items-center ${g.buttonType==="logo"?(w=o.value)==null?void 0:w.logo:""} ${g.buttonType==="logo"?`bg-${t.textColor??l.value.copy}`:""}`)},[typeof g.logo=="object"?(r.openBlock(),r.createBlock(y,r.normalizeProps(r.mergeProps({key:0},g.logo)),null,16)):typeof g.logo=="string"?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(r.unref(D)(g.logo,(_=o.value)==null?void 0:_.logo))},null,2)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),r.createElementVNode("p",{class:r.normalizeClass(r.unref(D)("pointer-events-none whitespace-nowrap",((x=o.value)==null?void 0:x.headline)??""))},r.toDisplayString(g.title),3)])]}),_:1},8,["class","link"])]),_:1},8,["id","aria-label","aria-description","href","target","rel","class"])}}}),Jd={key:1},eu=["innerHTML"],tu=["innerHTML"],nu=["innerHTML"],iu=["innerHTML"],kr=r.defineComponent({__name:"ContentModule",props:{__typename:{},headline:{},subHeadline:{},bodyCopy:{},image:{},ctas:{},textColor:{},backgroundColor:{},pt:{},logo:{},isHero:{type:Boolean,default:!1},alignment:{default:Ce.Left},isChild:{type:Boolean},useChildHeadline:{type:Boolean},parentHasBackgroundImage:{type:Boolean,default:!1},parentBackgroundColor:{},isFeature:{type:Boolean,default:!1},class:{}},setup(n){const e=n,t=e.alignment?e.alignment.toLowerCase():"left",i=r.computed(()=>N(ci,e.pt??{})),o=r.computed(()=>t===Ce.Inline?"text-center md:text-left":`text-${t}`),s=r.computed(()=>{let m="";switch(t){case Ce.Right:m="justify-end";break;case Ce.Center:m="justify-center";break;default:m="justify-start"}return m}),a=r.computed(()=>{var m,g;return`${((m=i.value)==null?void 0:m.logo)??""} ${((g=e==null?void 0:e.logo)==null?void 0:g.class)??""} max-w-[50%]`}),{backgroundColor:l,palette:c}=J({...e,backgroundColor:e.backgroundColor||e.parentBackgroundColor}),d=r.computed(()=>{var g;const m=[`content-module-headline ${p?"":"max-w-[30ch]"} ${t===Ce.Center?"mx-auto":t===Ce.Right?"ml-auto":""}`,`text-${c.headline}`,D(((g=i==null?void 0:i.value)==null?void 0:g.headline)??"",o.value)];return e.isHero&&e.isChild?m.push("text-[27px] leading-[27px] md:text-[36px] md:leading-[36px] xl:text-[48px] xl:leading-[48px]"):e.isFeature&&e.isChild?m.push("text-[27px] leading-[27px] lg:text-[48px] lg:leading-[48px]"):e.useChildHeadline||e.logo?m.push("text-[24px] leading-[24px] md:text-[36px] md:leading-[36px]"):m.push("text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]"),m.join(" ")}),u=r.computed(()=>{var g;return[`content-module-subheadline text-[17px] md:text-[22px] ${t===Ce.Center?"mx-auto":t===Ce.Right?"ml-auto":""}`,`text-${c.subheadline}`,D(((g=i==null?void 0:i.value)==null?void 0:g.subheadline)??"",o.value)].join(" ")}),h=r.computed(()=>e.headline?e.headline.replace(/<[^>]*>/g,"").trim().length>0:!1),p=t===Ce.Inline,f=r.computed(()=>{const m=e.bodyCopy||e.ctas||e.image;return p?"space-y-[10px]":`space-y-[10px] ${m?"mb-6":""}`});return(m,g)=>{var b,y,C,w,_,x;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`content-module ${m.isChild?"":"p-8 md:p-16"} ${((b=i.value)==null?void 0:b.root)??""} ${e.class??""} ${!e.parentHasBackgroundImage&&(e.backgroundColor||!m.isChild)?`bg-${r.unref(l)}`:""}`)},[r.createElementVNode("div",{class:r.normalizeClass(`content-module-container mx-auto ${((y=i.value)==null?void 0:y.container)??""} ${r.unref(t)===r.unref(Ce).Inline?"flex flex-col md:flex-row justify-between items-center md:gap-4":""}`)},[m.logo?(r.openBlock(),r.createBlock(de,r.mergeProps({key:0},m.logo,{class:a.value}),null,16,["class"])):r.createCommentVNode("",!0),h.value||m.subHeadline?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(f.value)},[m.subHeadline&&!m.isHero?(r.openBlock(),r.createElementBlock("h6",{key:0,class:r.normalizeClass(u.value)},r.toDisplayString(m.subHeadline),3)):r.createCommentVNode("",!0),h.value?(r.openBlock(),r.createElementBlock("div",Jd,[m.isHero?(r.openBlock(),r.createElementBlock("h1",{key:0,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,eu)):m.useChildHeadline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,tu)):(r.openBlock(),r.createElementBlock("h2",{key:2,class:r.normalizeClass(d.value),innerHTML:m.headline},null,10,nu))])):r.createCommentVNode("",!0),m.subHeadline&&m.isHero?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(u.value)},r.toDisplayString(m.subHeadline),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),m.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`content-module-body-copy text-[17px] text-${r.unref(c).copy} ${m.isHero?"lg:max-w-[80%]":""} ${r.unref(D)(((C=i.value)==null?void 0:C.bodyCopy)??"",o.value)}`),style:r.normalizeStyle({"--copy-accent-color":`var(--${r.unref(c).copyAccent})`,"--bullet-color":`var(--${r.unref(c).bullet})`}),innerHTML:m.bodyCopy},null,14,iu)):r.createCommentVNode("",!0),m.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:3},m.image,{class:`content-module-image ${r.unref(D)(((w=i.value)==null?void 0:w.image)??"",o.value)} ${((_=m.image)==null?void 0:_.class)??""}`}),null,16,["class"])):r.createCommentVNode("",!0),m.ctas?(r.openBlock(),r.createElementBlock("div",{key:4,class:r.normalizeClass(`content-module-ctas flex flex-wrap items-center gap-4 ${m.isHero?"justify-center lg:justify-start":s.value} ${r.unref(D)(((x=i.value)==null?void 0:x.ctas)??"",o.value,p?"md:mt-0":"")}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(m.ctas,(T,$)=>(r.openBlock(),r.createBlock(be,r.mergeProps({ref_for:!0},T,{key:`cta-${T.title}-${$}`,class:`content-module-cta ${m.isHero?"w-auto justify-center":""}`,"background-color":r.unref(l)}),null,16,["class","background-color"]))),128))],2)):r.createCommentVNode("",!0)],2)],2)}}}),ou=["innerHTML"],Cr=r.defineComponent({__name:"ContainerCollectionModule",props:{__typename:{},headline:{},modules:{},backgroundColor:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>N(ai,e.pt??{})),{backgroundColor:i,palette:o}=J(e);return(s,a)=>{var l,c;return r.openBlock(),r.createElementBlock("section",{class:r.normalizeClass(`container-collection ${e.class??""} bg-${r.unref(i)}`)},[s.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`container-collection-headline ${(l=t.value)==null?void 0:l.headline} text-${r.unref(o).headline}`),innerHTML:s.headline},null,10,ou)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`container-collection-content space-y-8 mx-auto container ${(c=t.value)==null?void 0:c.bodyCopy}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.modules,(d,u)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(d.__typename),r.mergeProps({ref_for:!0},d,{key:`${d==null?void 0:d.__typename}-${u}`,"is-child":!0}),null,16))),128))],2)],2)}}});var Fe=(n=>(n[n.header=0]="header",n[n.footer=1]="footer",n))(Fe||{});const ru={class:r.normalizeClass("pi pi-chevron-down")},su={class:r.normalizeClass("pi pi-chevron-up")},au=["innerHTML"],Be=r.defineComponent({__name:"NavigationElement",props:{__typename:{},elementType:{},title:{},link:{},htmlRef:{},subNavigation:{},dividerLine:{type:Boolean},backgroundColor:{},class:{},isChild:{type:Boolean},pt:{},inBanner:{type:Boolean},expandedMobile:{type:Boolean}},setup(n){const e=n,t=r.computed(()=>N(hi,e.pt??{})),{backgroundColor:i,palette:o}=J(e),s=r.computed(()=>{var p,f;return(p=e.link)!=null&&p.externalUrl?(f=e.link)==null?void 0:f.thirdPartyId:void 0}),a=r.computed(()=>{var p,f,m,g,b,y;return(f=(p=e.link)==null?void 0:p.page)!=null&&f.slug?`${(g=(m=e.link)==null?void 0:m.page)==null?void 0:g.slug}`:(b=e.link)!=null&&b.externalUrl?(y=e.link)==null?void 0:y.externalUrl:""}),l=r.computed(()=>{var p,f,m;return(f=(p=e.link)==null?void 0:p.page)!=null&&f.slug||(m=e.link)!=null&&m.externalUrl?"a":"button"}),c=r.computed(()=>Fe[e.elementType??"header"]),d=r.ref(!1),u=r.computed(()=>`relative py-2 md:py-0 ${e.class??""} ${e.isChild?"sub-":""}navigation-element`),h=()=>{d.value=!d.value};return(p,f)=>{const m=r.resolveComponent("NavigationElement",!0);return r.openBlock(),r.createBlock(r.resolveDynamicComponent(p.isChild?"li":"div"),{class:r.normalizeClass(u.value)},{default:r.withCtx(()=>{var g;return[c.value===r.unref(Fe).header||p.isChild&&(a.value||p.subNavigation)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.value),{key:0,id:s.value,href:a.value??"",target:e.link?r.unref(fn)((g=e.link)==null?void 0:g.target,e.link):"_self",class:r.normalizeClass(`flex leading-tight items-center hover:underline cursor-pointer text-${r.unref(o).copy} ${c.value===r.unref(Fe).header?"whitespace-nowrap":""}`),"aria-expanded":l.value==="button"?!0:void 0,"aria-haspopup":l.value==="button"?!0:void 0,onClick:h},{default:r.withCtx(()=>{var b;return[r.createTextVNode(r.toDisplayString(p.title)+" ",1),!p.isChild&&p.subNavigation&&!(a.value||p.isChild)?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass((b=t.value)==null?void 0:b.icon)},[r.withDirectives(r.createElementVNode("i",ru,null,512),[[r.vShow,!d.value]]),r.withDirectives(r.createElementVNode("i",su,null,512),[[r.vShow,d.value]])],2)):r.createCommentVNode("",!0)]}),_:1},8,["id","href","target","class","aria-expanded","aria-haspopup"])):c.value==r.unref(Fe).footer?(r.openBlock(),r.createElementBlock("h2",{key:1,class:r.normalizeClass(`mb-2 font-bold text-${r.unref(o).copy}`)},r.toDisplayString(p.title),3)):r.createCommentVNode("",!0),!p.isChild&&p.subNavigation?(r.openBlock(),r.createElementBlock("ul",{key:2,class:r.normalizeClass({hidden:!d.value&&c.value==r.unref(Fe).header,[`sm:absolute left-0 z-10 sm:mt-2 space-y-2 origin-top-right rounded-md bg-${r.unref(i)} ring-opacity-5 focus:outline-none sm:shadow-lg p-5`]:c.value==r.unref(Fe).header,"space-y-2 opacity-90":c.value==r.unref(Fe).footer}),role:"menu","aria-orientation":"vertical","aria-labelledby":"menu-button",tabindex:"-1"},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(p.subNavigation,(b,y)=>(r.openBlock(),r.createBlock(m,r.mergeProps({key:b.title,class:["ms-3 sm:ms-0",`sub-navigation-element-item-${y}`],role:"menuitem",tabindex:"-1",ref_for:!0},{...b,elementType:p.elementType,isChild:!0,backgroundColor:r.unref(i)}),null,16,["class"]))),128))],2)):r.createCommentVNode("",!0),p.htmlRef?(r.openBlock(),r.createElementBlock("div",{key:3,innerHTML:p.htmlRef},null,8,au)):r.createCommentVNode("",!0)]}),_:1},8,["class"])}}}),lu={key:0,id:"social-media",class:"flex flex-wrap footer-social gap-2 whitespace-normal"},cu=["id","href","target"],pn=r.defineComponent({__name:"SocialMediaRef",props:{socialMediaRef:{}},setup(n){return(e,t)=>{const i=de;return e.socialMediaRef?(r.openBlock(),r.createElementBlock("div",lu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.socialMediaRef,(o,s)=>{var a,l,c,d;return r.openBlock(),r.createElementBlock("a",{id:(a=o.link)==null?void 0:a.thirdPartyId,key:`footer-social-item-${o.icon.altTag}-${s}`,class:r.normalizeClass(`footer-social-item-${s}`),href:(l=o==null?void 0:o.link)==null?void 0:l.externalUrl,target:r.unref(fn)((c=o==null?void 0:o.link)==null?void 0:c.target,o==null?void 0:o.link)},[r.createVNode(i,{media:(d=o==null?void 0:o.icon)==null?void 0:d.media},null,8,["media"])],10,cu)}),128))])):r.createCommentVNode("",!0)}}}),du={id:"footer-copyright",class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-6 lg:gap-10 text-xs text-white"},uu={key:0,class:"footer-copyright-links basis-1/3"},hu={class:r.normalizeClass("flex flex-row flex-wrap items-center")},fu={class:"basis-1/3 footer-copyright-logos"},pu={class:"flex items-center justify-evenly space-x-2"},mn=r.defineComponent({__name:"FooterCopyright",props:{navigation:{},copyRight:{},logos:{},addTextMargin:{type:Boolean},isCenterAlign:{type:Boolean},backgroundColor:{}},setup(n){const e=n,{palette:t}=J(e);return(i,o)=>(r.openBlock(),r.createElementBlock("div",du,[r.createElementVNode("div",{class:r.normalizeClass(`text-${r.unref(t).copy} ${i.addTextMargin?"mt-8":""} w-[90%] md:w-auto basis-1/3`)},r.toDisplayString(i.copyRight),3),i.isCenterAlign?(r.openBlock(),r.createElementBlock("div",uu,[r.createElementVNode("div",hu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.navigation,(s,a)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${s.title}-${a}`,class:`footer-nav-item-${a} px-2.5 ${s.dividerLine?`border-r border-${r.unref(t).copy}`:""}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...s,isChild:!1,elementType:"header",backgroundColor:i.backgroundColor}),null,16,["class"]))),128))])])):r.createCommentVNode("",!0),r.createElementVNode("div",fu,[r.createElementVNode("div",pu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.logos,(s,a)=>(r.openBlock(),r.createBlock(de,{key:`footer-copy-right-logo-${a}`,class:"grow ml-auto",media:s.media},null,8,["media"]))),128))]),i.isCenterAlign?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`flex flex-row items-center justify-end ${i.navigation&&i.navigation.length?"mt-6":""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.navigation,(s,a)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${s.title}-${a}`,class:`footer-nav-item-${a} px-2.5 ${s.dividerLine?`border-r border-${r.unref(t).copy}`:""}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...s,isChild:!1,elementType:"header",backgroundColor:i.backgroundColor}),null,16,["class"]))),128))],2))])]))}}),mu={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-2"},gu={href:"/",class:"footer-navigation-logo text-center"},bu={key:0,class:"grid grid-cols-2 sm:grid-cols-3 gap-x-10 gap-y-8 flex-1"},yu={key:1,class:"grow"},ku=["innerHTML"],xr=r.defineComponent({__name:"FooterNavigation",props:{title:{},logo:{},legalText:{},backgroundColor:{},navigation:{},socialMediaRef:{},copyRight:{},copyRightLinks:{},copyRightLogos:{}},setup(n){const e=n,{backgroundColor:t,palette:i}=J(e),o=r.computed(()=>!!(e.navigation&&e.navigation.length>0));return(s,a)=>{var l,c;return r.openBlock(),r.createElementBlock("footer",{class:r.normalizeClass(`text-white text-sm leading-relaxed bg-${r.unref(t)}`)},[r.createElementVNode("div",mu,[r.createElementVNode("div",{class:r.normalizeClass(["flex flex-col lg:flex-row lg:items-start lg:justify-between gap-10",{"p-5 justify-between items-start":s.navigation&&s.navigation.length>0,"mb-4 md:items-start":!s.navigation||s.navigation.length===0}])},[r.createElementVNode("a",gu,[s.logo?(r.openBlock(),r.createBlock(de,{key:0,class:"min-h-[95px] min-w-[100px] h-[100px]",media:s.logo.media},null,8,["media"])):r.createCommentVNode("",!0),r.createTextVNode(" "+r.toDisplayString(s.title),1)]),s.navigation&&s.navigation.length>0?(r.openBlock(),r.createElementBlock("div",bu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.navigation,(d,u)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`footer-nav-item-${d.title}-${u}`,class:`footer-nav-item-${u}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...d,isChild:!1,elementType:"footer",backgroundColor:r.unref(t)}),null,16,["class"]))),128))])):r.createCommentVNode("",!0),!s.navigation||s.navigation.length===0?(r.openBlock(),r.createElementBlock("div",yu,[s.socialMediaRef?(r.openBlock(),r.createBlock(pn,{key:0,"social-media-ref":s.socialMediaRef},null,8,["social-media-ref"])):r.createCommentVNode("",!0),r.createVNode(mn,{"is-center-align":o.value,"copy-right":s.copyRight,navigation:s.copyRightLinks,logos:s.copyRightLogos,"add-text-margin":!0,"background-color":r.unref(t)},null,8,["is-center-align","copy-right","navigation","logos","background-color"])])):(r.openBlock(),r.createElementBlock(r.Fragment,{key:2},[s.socialMediaRef?(r.openBlock(),r.createBlock(pn,{key:0,"social-media-ref":s.socialMediaRef},null,8,["social-media-ref"])):r.createCommentVNode("",!0)],64))],2),s.navigation&&s.navigation.length>0&&s.copyRight&&s.copyRightLinks&&((l=s.copyRightLinks)==null?void 0:l.length)>0&&s.copyRightLogos&&((c=s.copyRightLogos)==null?void 0:c.length)>0?(r.openBlock(),r.createBlock(mn,{key:0,"is-center-align":o.value,"copy-right":s.copyRight,navigation:s.copyRightLinks,logos:s.copyRightLogos,"background-color":r.unref(t)},null,8,["is-center-align","copy-right","navigation","logos","background-color"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:r.normalizeClass(`border-${r.unref(i).copy}`)},null,2),s.legalText?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`text-xs md:text-sm opacity-80 text-${r.unref(i).copy}`),innerHTML:s.legalText},null,10,ku)):r.createCommentVNode("",!0)])],2)}}}),Cu=["innerHTML"],wr=r.defineComponent({__name:"LogoCollectionModule",props:{__typename:{},headline:{},logos:{},backgroundColor:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>N(ui,e.pt??{})),i=r.computed(()=>({"background-color":e.backgroundColor??"transparent",color:"inherit"})),{backgroundColor:o,palette:s}=J(e);return(a,l)=>{var d,u,h;const c=de;return r.openBlock(),r.createElementBlock("section",{style:r.normalizeStyle(i.value),class:r.normalizeClass(`logo-module p-16 ${e.class??""} bg-${r.unref(o)}`)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto ${((d=t.value)==null?void 0:d.container)??""}`)},[a.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`logo-module-headline ${((u=t.value)==null?void 0:u.headline)??""} text-${r.unref(s).headline}`),innerHTML:a.headline},null,10,Cu)):r.createCommentVNode("",!0),a.logos?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`logo-module-content flex flex-wrap justify-evenly gap-2 ${((h=t.value)==null?void 0:h.bodyCopy)??""}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(a.logos,(p,f)=>(r.openBlock(),r.createBlock(c,r.mergeProps({ref_for:!0},p,{key:`cta-${p.altTag}-${f}`}),null,16))),128))],2)):r.createCommentVNode("",!0)],2)],6)}}}),xu={class:r.normalizeClass("primary-navigation-header sticky top-0 z-50")},wu={class:"hidden md:flex bg-[#d9d9d9] w-full"},_u={key:0,class:"primary-navigation flex flex-[0_1_87%] justify-end items-center gap-4 py-4 pl-2 pr-0"},vu={class:"lg:max-w-[1440px] mx-auto py-0 px-7 md:pr-4 md:pl-8 md:py-6 xl:py-6 xl:pr-9 xl:pl-16 md:flex md:justify-between md:items-center gap-2"},Su={class:"flex items-center justify-between py-3 md:p-0"},Tu={key:0,href:"/",class:"primary-navigation-logo items-center h-10 md:h-12 lg:flex"},$u={class:"flex items-center gap-2 md:hidden"},Bu={key:0,class:"primary-navigation text-sm xl:text-base flex items-center gap-2"},Pu=["aria-label","aria-expanded"],Mu={key:0,"fill-rule":"evenodd",d:"M18.278 16.864a1 1 0 0 1-1.414 1.414l-4.829-4.828-4.828 4.828a1 1 0 0 1-1.414-1.414l4.828-4.829-4.828-4.828a1 1 0 0 1 1.414-1.414l4.829 4.828 4.828-4.828a1 1 0 1 1 1.414 1.414l-4.828 4.829 4.828 4.828z"},Eu={key:1,"fill-rule":"evenodd",d:"M4 5h16a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2z"},_r=r.defineComponent({__name:"PrimaryNavigation",props:{title:{},logo:{},backgroundColor:{},navigation:{},ctas:{},inBanner:{}},emits:["navigation-click","cta-click"],setup(n,{emit:e}){const t=n,i=r.ref(!1),{backgroundColor:o,palette:s}=J(t),a=e,l=r.computed(()=>t.navigation||[]),c=r.computed(()=>t.ctas||[]),d=r.computed(()=>{var p;return((p=t.inBanner)==null?void 0:p.filter(f=>f.__typename?f.__typename==="NavigationElement":!("buttonType"in f)))||[]}),u=r.computed(()=>{var p;return((p=t.inBanner)==null?void 0:p.filter(f=>f.__typename?f.__typename==="CTA":"buttonType"in f))||[]}),h=r.computed(()=>{const p=[];return l.value.forEach(f=>{f.expandedMobile&&f.subNavigation&&f.subNavigation.length>0?p.push(...f.subNavigation):p.push(f)}),p});return(p,f)=>(r.openBlock(),r.createElementBlock("header",xu,[r.createElementVNode("div",wu,[d.value.length>0||u.value.length>0?(r.openBlock(),r.createElementBlock("nav",_u,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4 h-full":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:m.title,class:["my-4 sm:my-0",m.buttonType==="fill"?"justify-center w-full":""],ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128))])):r.createCommentVNode("",!0)]),r.createElementVNode("div",{class:r.normalizeClass(`shadow-2xl bg-${r.unref(o)}`)},[r.createElementVNode("div",vu,[r.createElementVNode("div",Su,[p.logo?(r.openBlock(),r.createElementBlock("a",Tu,[r.createVNode(de,r.mergeProps(p.logo,{class:"h-full w-auto object-contain"}),null,16)])):r.createCommentVNode("",!0),r.createElementVNode("div",$u,[d.value.length>0?(r.openBlock(),r.createElementBlock("nav",Bu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128))])):r.createCommentVNode("",!0),r.createElementVNode("button",{type:"button",class:"block","aria-label":i.value?"Close menu":"Open menu","aria-expanded":i.value,onClick:f[0]||(f[0]=m=>i.value=!i.value)},[(r.openBlock(),r.createElementBlock("svg",{class:r.normalizeClass(`h-6 w-6 fill-${r.unref(s).copy}`),viewBox:"0 0 24 24"},[i.value?(r.openBlock(),r.createElementBlock("path",Mu)):r.createCommentVNode("",!0),i.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("path",Eu))],2))],8,Pu)])]),l.value.length>0||c.value.length>0?(r.openBlock(),r.createElementBlock("nav",{key:0,class:r.normalizeClass(["primary-navigation text-sm xl:text-base items-center px-2 pt-2 pb-4 md:flex gap-2 lg:gap-4 md:justify-evenly md:p-0",i.value?"block":"hidden"])},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`mobile-${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`md:hidden h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"md:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,(m,g)=>(r.openBlock(),r.createBlock(Be,r.mergeProps({key:`desktop-${m.title}-${g}`,role:"menuitem",tabindex:"-1",ref_for:!0},{...m,class:`hidden md:block h-full primary-nav-item-${g} ${m.class||""} ${m.dividerLine?"sm:border-r pr-4":""}`,isChild:!1,elementType:"header"},{onClick:b=>a("navigation-click",m)}),null,16,["onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:`filtered-${m.title}`,class:m.buttonType==="fill"?"justify-center w-full":"",ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128)),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,m=>(r.openBlock(),r.createBlock(be,r.mergeProps({key:m.title,class:["flex md:hidden my-2 md:my-0",m.buttonType==="fill"?"justify-center w-full":""],ref_for:!0},m,{onClick:g=>a("cta-click",m)}),null,16,["class","onClick"]))),128))],2)):r.createCommentVNode("",!0)])],2)]))}}),Au=["innerHTML"],vr=r.defineComponent({__name:"SplitModule",props:{__typename:{},entryTitle:{},headline:{},start:{},center:{},end:{},backgroundImage:{},backgroundColor:{},pt:{},isChild:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(fi,e.pt??{})),i=r.computed(()=>({"background-image":`url(${e.backgroundImage??""})`,"background-size":"cover"})),{backgroundColor:o,palette:s}=J(e),a=r.computed(()=>D(`split-module ${e.isChild?"":"py-0 px-8 md:px-8 md:py-16"} bg-${o}`,e.class??""));return(l,c)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.isChild?"div":"section"),{style:r.normalizeStyle(i.value),class:r.normalizeClass(a.value)},{default:r.withCtx(()=>{var d,u,h,p,f;return[l.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`headline ${((d=t.value)==null?void 0:d.headline)??""} text-${r.unref(s).headline}`),innerHTML:l.headline},null,10,Au)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`split-module-content ${r.unref(D)("flex justify-evenly gap-4 mx-auto items-center",((u=t.value)==null?void 0:u.bodyCopy)??"")}`)},[l.start?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.start.__typename),r.mergeProps({key:0},l.start,{class:`split-module-start ${((h=t.value)==null?void 0:h.start)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0),l.center?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.center.__typename),r.mergeProps({key:1},l.center,{class:`split-module-center ${((p=t.value)==null?void 0:p.center)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0),l.end?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(l.end.__typename),r.mergeProps({key:2},l.end,{class:`split-module-end ${((f=t.value)==null?void 0:f.end)??""}`,"is-child":!0}),null,16,["class"])):r.createCommentVNode("",!0)],2)]}),_:1},8,["style","class"]))}}),Lu=["innerHTML"],Sr=r.defineComponent({__name:"TestimonialModule",props:{__typename:{},headline:{},quote:{},author:{},details:{},media:{},textColor:{},backgroundColor:{},mediaPosition:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>N(pi,e.pt??{})),{palette:i}=J(e),o=r.computed(()=>({"background-color":e.backgroundColor??"transparent",color:e.textColor??"inherit"}));return(s,a)=>{var l,c,d,u,h,p,f,m;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`testimonial ${r.unref(D)("p-5",e.class??"")}`),style:r.normalizeStyle(o.value)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto flex flex-col gap-8 ${((l=t.value)==null?void 0:l.container)??""} ${((c=s.mediaPosition)==null?void 0:c.toLowerCase())==="right"?"lg:flex-row-reverse":"lg:flex-row"}`)},[s.media?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`testimonial-media ${((d=t.value)==null?void 0:d.media)??""}`)},[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(s.media.__typename),r.normalizeProps(r.guardReactiveProps(s.media)),null,16))],2)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(`testimonial-text ${((u=t.value)==null?void 0:u.text)??""}`)},[s.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`testimonial-headline ${((h=t.value)==null?void 0:h.headline)??""} text-${r.unref(i).headline}`),innerHTML:s.headline},null,10,Lu)):r.createCommentVNode("",!0),s.quote?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(`testimonial-quote ${((p=t.value)==null?void 0:p.quote)??""} text-${r.unref(i).copyAccent}`)},r.toDisplayString(s.quote),3)):r.createCommentVNode("",!0),s.author?(r.openBlock(),r.createElementBlock("p",{key:2,class:r.normalizeClass(`testimonial-author ${((f=t.value)==null?void 0:f.author)??""} text-${r.unref(i).copy}`)},r.toDisplayString(s.author),3)):r.createCommentVNode("",!0),s.details?(r.openBlock(),r.createElementBlock("p",{key:3,class:r.normalizeClass(`testimonial-details ${((m=t.value)==null?void 0:m.details)??""} text-${r.unref(i).copy}`)},r.toDisplayString(s.details),3)):r.createCommentVNode("",!0)],2)],2)],6)}}}),Iu=["innerHTML"],Ou={key:2,class:"mx-auto mt-16 w-fit"},Du={key:0,class:"w-full pt-2"},Nu=["src"],Vu="/assets/dynamic%20core%20basic.svg",zu="/assets/dynamic%20core%20-%20desktop.svg",Tr=r.defineComponent({__name:"TileCollectionModule",props:{__typename:{},headline:{},bodyCopy:{},modules:{},textColor:{},backgroundColor:{},tileLabelType:{},ctas:{},includeDecoration:{type:Boolean},columns:{default:3},variant:{},pt:{},class:{}},setup(n){const e=n,t=r.computed(()=>N(mi,e.pt??{})),{backgroundColor:i,palette:o}=J(e),s=r.computed(()=>e.variant==="ImageStackedAnimatedTile"),a=r.computed(()=>{const h=e.columns??3;return e.modules.length<h?e.modules.length:h}),l=r.computed(()=>{if(s.value)return"";switch(a.value){case 1:return"max-w-[352px]";case 2:return"max-w-[728px]";default:return"max-w-[728px] lg:max-w-[1104px]"}}),c=r.computed(()=>{if(s.value)return"";switch(a.value){case 1:return"w-full max-w-[352px]";case 2:return"w-full md:w-[calc(50%-12px)] max-w-[352px]";default:return"w-full md:w-[calc(50%-12px)] lg:w-[calc(33.333%-16px)] max-w-[352px]"}}),d=new Set(["iris","wisteria"]),u=r.computed(()=>d.has(i)?Vu:zu);return(h,p)=>{var m,g,b,y,C,w,_;const f=be;return r.openBlock(),r.createElementBlock("section",{class:r.normalizeClass(`tile-collection ${h.variant} ${r.unref(D)("overflow-hidden py-16",h.includeDecoration&&!s.value?"!pb-0":"",((m=t.value)==null?void 0:m.root)??"",e.class??"")} bg-${r.unref(i)}`)},[r.createElementVNode("div",{class:r.normalizeClass(`container mx-auto ${((g=t.value)==null?void 0:g.container)??""}`)},[h.headline||h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-collection-heading-container ${((b=t.value)==null?void 0:b.headingContainer)??""}`)},[h.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(`tile-collection-headline ${((y=t.value)==null?void 0:y.headline)??""} text-${r.unref(o).headline}`),innerHTML:h.headline},null,10,Iu)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-collection-body-copy ${((C=t.value)==null?void 0:C.bodyCopy)??""} text-${r.unref(o).copy}`)},r.toDisplayString(h.bodyCopy),3)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),h.modules?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`tile-collection-content ${r.unref(D)(s.value?"flex flex-col gap-12 md:gap-4 justify-center":`flex flex-wrap gap-12 md:gap-6 justify-center mx-auto ${l.value}`,((w=t.value)==null?void 0:w.bodyCopy)??"")}`)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.modules,(x,T)=>{var $;return r.openBlock(),r.createBlock(r.resolveDynamicComponent(`TileContent${h.variant}`),r.mergeProps({key:`${x==null?void 0:x.headline}-${T}`,class:`tile-collection-content-item-${T} ${c.value} ${(($=t.value)==null?void 0:$.item)??""} ${x.class??""}`,ref_for:!0},x,{"parent-background-color":r.unref(i),index:T,"tile-label-type":h.tileLabelType,"include-decoration":h.includeDecoration}),null,16,["class","parent-background-color","index","tile-label-type","include-decoration"])}),128))],2)):r.createCommentVNode("",!0),(_=h.ctas)!=null&&_.length?(r.openBlock(),r.createElementBlock("div",Ou,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.ctas,x=>(r.openBlock(),r.createBlock(f,r.mergeProps({key:`${x.title}-cta`,ref_for:!0},x,{size:"xl","background-color":r.unref(i)}),null,16,["background-color"]))),128))])):r.createCommentVNode("",!0)],2),h.includeDecoration&&!s.value?(r.openBlock(),r.createElementBlock("div",Du,[r.createElementVNode("img",{src:u.value,class:"mx-auto w-full",alt:"Decorative background image",loading:"lazy"},null,8,Nu)])):r.createCommentVNode("",!0)],2)}}}),Vt=r.defineComponent({__name:"TileLabel",props:{__typename:{},copy:{},type:{default:"Text"},backgroundColor:{},textColor:{},alignment:{default:"right"},pt:{},index:{}},setup(n){const e=n,t=r.useAttrs(),i=r.computed(()=>e.type==="Numeric"&&!e.copy?(e.index??0)+1:e.copy),o=r.computed(()=>N(xi[e.type],e.pt??{})),s=r.computed(()=>{var l;return((l=e.alignment)==null?void 0:l.toLowerCase())??"right"}),a=r.computed(()=>{var c;let l=e.type==="Numeric"?"right-2 md:right-4":"right-[-4%]";return s.value==="left"&&(l=e.type==="Numeric"?"left-2 md:left-4":"left-[-4%]"),`tile-label absolute ${D(typeof i.value=="number"?"w-[36px] h-[36px] md:h-[60px] md:w-[60px]":"w-[120px]",`text-${e.textColor}`,`bg-${e.backgroundColor}`,"top-2 md:top-4",((c=o==null?void 0:o.value)==null?void 0:c.root)??"",l,t.class)}`});return(l,c)=>i.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(a.value),style:r.normalizeStyle({backgroundColor:l.backgroundColor})},r.toDisplayString(i.value),7)):r.createCommentVNode("",!0)}}),gn=(n,e)=>n.buttonType==="fill"?n.color??v.COLOR_PALETTES[e].cta.fill.bg:null,bn=(n,e)=>n.textColor??v.COLOR_PALETTES[e].cta[n.buttonType].copy;var Fu={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},Ru=xe.extend({name:"card",classes:Fu}),ju={name:"BaseCard",extends:Et,style:Ru},Ze={name:"Card",extends:ju,inheritAttrs:!1};function Hu(n,e,t,i,o,s){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:n.cx("root")},n.ptmi("root")),[n.$slots.header?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[r.renderSlot(n.$slots,"header")],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("body")},n.ptm("body")),[n.$slots.title||n.$slots.subtitle?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("caption")},n.ptm("caption")),[n.$slots.title?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:n.cx("title")},n.ptm("title")),[r.renderSlot(n.$slots,"title")],16)):r.createCommentVNode("",!0),n.$slots.subtitle?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:n.cx("subtitle")},n.ptm("subtitle")),[r.renderSlot(n.$slots,"subtitle")],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({class:n.cx("content")},n.ptm("content")),[r.renderSlot(n.$slots,"content")],16),n.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:n.cx("footer")},n.ptm("footer")),[r.renderSlot(n.$slots,"footer")],16)):r.createCommentVNode("",!0)],16)],16)}Ze.render=Hu;const Wu=["src","height","width"],Uu=["src"],zt=r.defineComponent({__name:"Video",props:{__typename:{},thumbnail:{},url:{},class:{}},setup(n){const e=n,t=r.ref(!1);function i(){t.value=!0}function o(){t.value=!1}const s=r.computed(()=>e.url?e.url.includes("youtube.com/watch")?`https://www.youtube.com/embed/${e.url.split("v=")[1]}?autoplay=1`:e.url:"");return(a,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",{class:r.normalizeClass(`${a.$props.class} relative cursor-pointer`),onClick:i},[l[1]||(l[1]=r.createElementVNode("svg",{class:"absolute bottom-0 left-0 right-0 top-0 m-auto block",xmlns:"http://www.w3.org/2000/svg",width:"97",height:"97",viewBox:"0 0 97 97",fill:"none"},[r.createElementVNode("path",{d:"M91.4217 48.2108C91.4217 72.0755 72.0755 91.4217 48.2108 91.4217C24.3462 91.4217 5 72.0755 5 48.2108C5 24.3462 24.3462 5 48.2108 5C72.0755 5 91.4217 24.3462 91.4217 48.2108Z",stroke:"white","stroke-width":"10"}),r.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39.9246 25.9149L69.7535 48.2109L39.9246 70.5069V25.9149Z",fill:"white"})],-1)),r.createElementVNode("img",{class:"w-full",src:a.thumbnail.media.url,height:a.thumbnail.media.height,width:a.thumbnail.media.width},null,8,Wu)],2),t.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/80 flex items-center justify-center z-[9999]",onClick:o},[r.createElementVNode("div",{class:"relative w-[90%] max-w-4xl",onClick:l[0]||(l[0]=r.withModifiers(()=>{},["stop"]))},[r.createElementVNode("button",{class:"absolute -top-12 right-0 text-white text-xl",onClick:o}," ✕ "),r.createElementVNode("iframe",{class:"w-full aspect-video",src:s.value,frameborder:"0",allow:"autoplay; encrypted-media",allowfullscreen:""},null,8,Uu)])])):r.createCommentVNode("",!0)],64))}}),Yu=["innerHTML"],$r=Dt(r.defineComponent({__name:"TileContentIconTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},includeDecoration:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(gi,e.pt??{})),i=e.backgroundColor||e.parentBackgroundColor,{palette:o}=J({backgroundColor:i}),s=e.backgroundColor?o:o.tile,a=typeof e.index=="number",l=e.backgroundColor||o.tile.bg,c=r.computed(()=>{var f;return((f=e.alignment)==null?void 0:f.toLowerCase())??"left"}),d=r.computed(()=>{var f;return((f=e.bodyCopyAlignment)==null?void 0:f.toLowerCase())??c.value}),u=r.computed(()=>c.value==="center"?"items-center":c.value==="right"?"items-end":"items-start"),h=r.ref(null),p=Ni(h,{threshold:.1});return(f,m)=>{var y,C,w,_,x,T,$,M,E,L,A;const g=Vt,b=be;return r.openBlock(),r.createElementBlock("div",{ref_key:"content",ref:h,style:r.normalizeStyle({transitionDelay:`${(f.index??0)*.2}s`}),class:r.normalizeClass(`tile-content animate-slide-on-top ${r.unref(p)?"visible":""} ${r.unref(D)((y=t.value)==null?void 0:y.root,a?"":"w-full md:w-full lg:w-full")} ${e.class} bg-${r.unref(l)}`)},[f.tileLabel||f.tileLabelType?(r.openBlock(),r.createBlock(g,r.mergeProps({key:0},f.tileLabel,{type:f.tileLabelType??((C=f.tileLabel)==null?void 0:C.type),class:f.tileLabelType==="Numeric"||((w=f.tileLabel)==null?void 0:w.type)==="Numeric"?(_=t.value)==null?void 0:_.numericLabel:(x=t.value)==null?void 0:x.label,"background-color":r.unref(s).label[f.tileLabelType??((T=f.tileLabel)==null?void 0:T.type)??"Text"].bg,"text-color":r.unref(s).label[f.tileLabelType??(($=f.tileLabel)==null?void 0:$.type)??"Text"].copy,index:f.index,alignment:((M=f.tileLabel)==null?void 0:M.alignment)??"right"}),null,16,["type","class","background-color","text-color","index","alignment"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((E=t.value)==null?void 0:E.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-footer ${((L=t.value)==null?void 0:L.footer)??""}`,"pt:body:class":((A=t.value)==null?void 0:A.body)??""},r.createSlots({_:2},[f.bodyCopy||f.listItems?{name:"content",fn:r.withCtx(()=>{var S,k,B,P,I,O,j;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((S=t.value)==null?void 0:S.bodyCopy)??""} ${u.value}`)},[f.image?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-content-media ${((k=t.value)==null?void 0:k.media)??""}`)},[m[0]||(m[0]=r.createElementVNode("div",{class:"tile-content-media-background"},null,-1)),f.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:0},f.image,{class:r.unref(D)((P=(B=f.image)==null?void 0:B.media)!=null&&P.width?"":"w-full",f.image.class)}),null,16,["class"])):r.createCommentVNode("",!0),f.video?(r.openBlock(),r.createBlock(zt,r.mergeProps({key:1},f.video,{class:"w-full"}),null,16)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),f.headline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-content-headline ${((I=t.value)==null?void 0:I.headline)??""} text-${r.unref(s).headline} text-${c.value}`)},r.toDisplayString(f.headline),3)):r.createCommentVNode("",!0),f.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(`tile-content-subheadline ${((O=t.value)==null?void 0:O.subheadline)??""} text-${r.unref(s).headline} text-${c.value}`)},r.toDisplayString(f.subheadline),3)):r.createCommentVNode("",!0),f.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((j=t.value)==null?void 0:j.bodyCopy)??""} text-${r.unref(s).copy} text-${d.value} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(o).bullet})`}),innerHTML:f.bodyCopy},null,14,Yu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,f.ctas||f.footer?{name:"footer",fn:r.withCtx(()=>{var S,k;return[f.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((S=t.value)==null?void 0:S.footerContent)??""} text-${r.unref(s).copy}`)},r.toDisplayString(f.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(((k=t.value)==null?void 0:k.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(f.ctas,(B,P)=>{var I;return r.openBlock(),r.createBlock(b,r.mergeProps({key:`cta-${B.title}-${P}`,class:`cta-${P} ${(I=t.value)==null?void 0:I.cta}`,color:r.unref(gn)(B,r.unref(l)),"text-color":r.unref(bn)(B,r.unref(l)),"background-color":r.unref(l),ref_for:!0},B),null,16,["class","color","text-color","background-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],6)}}}),[["__scopeId","data-v-a5fd4296"]]),Ku=["innerHTML"],Br=Dt(r.defineComponent({__name:"TileContentImageTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},includeDecoration:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(yi,e.pt??{})),i=e.backgroundColor||e.parentBackgroundColor,{palette:o}=J({backgroundColor:i}),s=e.backgroundColor?o:o.tile,a=typeof e.index=="number",l=e.backgroundColor||o.tile.bg,c=r.computed(()=>{var f;return((f=e.alignment)==null?void 0:f.toLowerCase())??"left"}),d=r.computed(()=>{var f;return((f=e.bodyCopyAlignment)==null?void 0:f.toLowerCase())??c.value}),u=r.computed(()=>c.value==="center"?"items-center":c.value==="right"?"items-end":"items-start"),h=r.ref(null),p=Ni(h,{threshold:.1});return(f,m)=>{var y,C,w,_;const g=Vt,b=be;return r.openBlock(),r.createElementBlock("div",{ref_key:"content",ref:h,style:r.normalizeStyle({transitionDelay:`${(f.index??0)*.2}s`}),class:r.normalizeClass(`tile-content animate-slide-in-right ${r.unref(p)?"visible":""} ${r.unref(D)(((y=t.value)==null?void 0:y.root)??"",a?"":"w-full md:w-full lg:w-full",`bg-${r.unref(l)}`,e.class??"")}`)},[r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((C=t.value)==null?void 0:C.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((w=t.value)==null?void 0:w.footer)??""}`,"pt:body:class":((_=t.value)==null?void 0:_.body)??""},r.createSlots({_:2},[f.image||f.bodyCopy||f.listItems?{name:"content",fn:r.withCtx(()=>{var x,T,$,M,E,L,A,S,k,B,P,I,O,j,R;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((x=t.value)==null?void 0:x.bodyCopy)??""} ${u.value}`)},[f.image?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(`tile-content-media w-4/5 ${((T=t.value)==null?void 0:T.media)??""}`)},[f.tileLabel||f.tileLabelType?(r.openBlock(),r.createBlock(g,{key:0,class:r.normalizeClass(f.tileLabelType==="Numeric"||(($=f.tileLabel)==null?void 0:$.type)==="Numeric"?(M=t.value)==null?void 0:M.numericLabel:(E=t.value)==null?void 0:E.label),index:f.index,alignment:((L=f.tileLabel)==null?void 0:L.alignment)??"left",type:f.tileLabelType??((A=f.tileLabel)==null?void 0:A.type),"background-color":r.unref(s).label[f.tileLabelType??((S=f.tileLabel)==null?void 0:S.type)??"Text"].bg,"text-color":r.unref(s).label[f.tileLabelType??((k=f.tileLabel)==null?void 0:k.type)??"Text"].copy},null,8,["class","index","alignment","type","background-color","text-color"])):r.createCommentVNode("",!0),m[0]||(m[0]=r.createElementVNode("div",{class:"tile-content-media-background"},null,-1)),f.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:1},f.image,{class:r.unref(D)(!f.bodyCopy&&!f.headline&&!((B=f.listItems)!=null&&B.length)?"rounded-lg":"rounded-full",(I=(P=f.image)==null?void 0:P.media)!=null&&I.width?"":"w-full",f.image.class)}),null,16,["class"])):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0),f.headline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(`tile-content-headline ${((O=t.value)==null?void 0:O.headline)??""} text-${r.unref(s).headline} text-${c.value}`)},r.toDisplayString(f.headline),3)):r.createCommentVNode("",!0),f.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:2,class:r.normalizeClass(`tile-content-subheadline ${((j=t.value)==null?void 0:j.subheadline)??""} text-${r.unref(s).copy} text-${c.value}`)},r.toDisplayString(f.subheadline),3)):r.createCommentVNode("",!0),f.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((R=t.value)==null?void 0:R.bodyCopy)??""} text-${r.unref(s).copy} text-${d.value} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(o).bullet})`}),innerHTML:f.bodyCopy},null,14,Ku)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,f.ctas||f.footer?{name:"footer",fn:r.withCtx(()=>{var x,T;return[f.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((x=t.value)==null?void 0:x.footerContent)??""} text-${r.unref(s).copy} text-${c.value}`)},r.toDisplayString(f.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(((T=t.value)==null?void 0:T.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(f.ctas,($,M)=>{var E;return r.openBlock(),r.createBlock(b,r.mergeProps({key:`cta-${$.title}-${M}`,class:`cta-${M} ${(E=t.value)==null?void 0:E.cta}`,color:r.unref(gn)($,r.unref(l)),"text-color":r.unref(bn)($,r.unref(l)),ref_for:!0},$),null,16,["class","color","text-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],6)}}}),[["__scopeId","data-v-5599558c"]]),qu=["innerHTML"],Pr=r.defineComponent({__name:"TileContentTextTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},includeDecoration:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(ki,e.pt??{})),i=typeof e.index=="number",o=e.backgroundColor||e.parentBackgroundColor,{palette:s}=J({backgroundColor:o}),a=e.backgroundColor?s:s.tile,l=e.backgroundColor||s.tile.bg,c=r.computed(()=>{var u;return((u=e.alignment)==null?void 0:u.toLowerCase())??"left"}),d=r.computed(()=>{var u;return((u=e.bodyCopyAlignment)==null?void 0:u.toLowerCase())??c.value});return(u,h)=>{var m,g,b,y,C,w,_,x,T,$;const p=Vt,f=be;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)((m=t.value)==null?void 0:m.root,i?"":"w-full md:w-full lg:w-full")} ${e.class} bg-${r.unref(l)}`)},[u.tileLabel||u.tileLabelType?(r.openBlock(),r.createBlock(p,r.mergeProps({key:0},u.tileLabel,{class:u.tileLabelType==="Numeric"||((g=u.tileLabel)==null?void 0:g.type)==="Numeric"?(b=t.value)==null?void 0:b.numericLabel:(y=t.value)==null?void 0:y.label,index:u.index,type:u.tileLabelType??((C=u.tileLabel)==null?void 0:C.type),"background-color":r.unref(a).label[u.tileLabelType??((w=u.tileLabel)==null?void 0:w.type)??"Text"].bg,"text-color":r.unref(a).label[u.tileLabelType??((_=u.tileLabel)==null?void 0:_.type)??"Text"].copy}),null,16,["class","index","type","background-color","text-color"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((x=t.value)==null?void 0:x.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((T=t.value)==null?void 0:T.footer)??""}`,"pt:body:class":(($=t.value)==null?void 0:$.body)??""},r.createSlots({_:2},[u.bodyCopy||u.subheadline||u.headline?{name:"content",fn:r.withCtx(()=>{var M,E,L,A;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((M=t.value)==null?void 0:M.bodyCopy)??""}`)},[u.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:0,class:r.normalizeClass(`tile-content-subheadline ${((E=t.value)==null?void 0:E.subheadline)??""} text-${r.unref(a).copy} text-${c.value}`)},r.toDisplayString(u.subheadline),3)):r.createCommentVNode("",!0),u.headline?(r.openBlock(),r.createElementBlock("h2",{key:1,class:r.normalizeClass(`tile-content-headline ${((L=t.value)==null?void 0:L.headline)??""} text-${r.unref(a).headline} text-${c.value}`)},r.toDisplayString(u.headline),3)):r.createCommentVNode("",!0),u.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`tile-content-body-copy ${((A=t.value)==null?void 0:A.bodyCopy)??""} text-${r.unref(a).copy} text-${d.value} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(s).bullet})`}),innerHTML:u.bodyCopy},null,14,qu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,u.ctas||u.footer?{name:"footer",fn:r.withCtx(()=>{var M,E;return[u.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((M=t.value)==null?void 0:M.footerContent)??""} text-${r.unref(a).copy} text-${c.value}`)},r.toDisplayString(u.footer),3)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(((E=t.value)==null?void 0:E.ctas)??"")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.ctas,(L,A)=>{var S;return r.openBlock(),r.createBlock(f,r.mergeProps({key:`cta-${L.title}-${A}`,class:`cta-${A} ${(S=t.value)==null?void 0:S.cta} w-full`,color:r.unref(gn)(L,r.unref(l)),"text-color":r.unref(bn)(L,r.unref(l)),size:L.size??"xxl","background-color":r.unref(l),ref_for:!0},L),null,16,["class","color","text-color","size","background-color"])}),128))],2)]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),Xu=["innerHTML"],Mr=r.defineComponent({__name:"TileContentVideoTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{default:"left"},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},includeDecoration:{type:Boolean},class:{}},setup(n){const e=n,t=r.computed(()=>N(Ci,e.pt??{})),i=typeof e.index=="number",o=e.backgroundColor||e.parentBackgroundColor,{palette:s}=J({backgroundColor:o}),a=e.backgroundColor?s:s.tile,l=e.backgroundColor||s.tile.bg,c=r.computed(()=>{var h;return((h=e.alignment)==null?void 0:h.toLowerCase())??"left"}),d=r.computed(()=>{var h;return((h=e.bodyCopyAlignment)==null?void 0:h.toLowerCase())??c.value}),u=r.computed(()=>c.value==="center"?"items-center":c.value==="right"?"items-end":"items-start");return(h,p)=>{var g,b,y,C,w,_,x,T,$,M,E;const f=Vt,m=be;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none",`bg-${r.unref(l)}`,i?"":"w-full md:w-full lg:w-full",((g=t.value)==null?void 0:g.root)??"",e.class??"")} ${e.class}`)},[h.tileLabel||h.tileLabelType?(r.openBlock(),r.createBlock(f,{key:0,class:r.normalizeClass(h.tileLabelType==="Numeric"||((b=h.tileLabel)==null?void 0:b.type)==="Numeric"?(y=t.value)==null?void 0:y.numericLabel:(C=t.value)==null?void 0:C.label),index:h.index,alignment:((w=h.tileLabel)==null?void 0:w.alignment)??"right",type:h.tileLabelType??((_=h.tileLabel)==null?void 0:_.type),"background-color":r.unref(a).label[h.tileLabelType??((x=h.tileLabel)==null?void 0:x.type)??"Text"].bg,"text-color":r.unref(a).label[h.tileLabelType??((T=h.tileLabel)==null?void 0:T.type)??"Text"].copy},null,8,["class","index","alignment","type","background-color","text-color"])):r.createCommentVNode("",!0),r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${(($=t.value)==null?void 0:$.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((M=t.value)==null?void 0:M.ctas)??""}`,"pt:body:class":((E=t.value)==null?void 0:E.body)??""},r.createSlots({_:2},[h.bodyCopy||h.listItems?{name:"content",fn:r.withCtx(()=>{var L,A,S,k,B,P;return[r.createElementVNode("div",{class:r.normalizeClass(`flex flex-col tile-content-inner ${((L=t.value)==null?void 0:L.bodyCopy)??""} ${u.value}`)},[h.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`tile-content-headline ${((A=t.value)==null?void 0:A.headline)??""} text-${r.unref(a).headline} text-${c.value}`)},r.toDisplayString(h.headline),3)):r.createCommentVNode("",!0),h.subheadline?(r.openBlock(),r.createElementBlock("h6",{key:1,class:r.normalizeClass(`tile-content-subheadline ${((S=t.value)==null?void 0:S.subheadline)??""} text-${r.unref(a).headline} text-${c.value}`)},r.toDisplayString(h.subheadline),3)):r.createCommentVNode("",!0),(k=h.video)!=null&&k.url?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(`tile-content-media w-full ${((B=t.value)==null?void 0:B.media)??""}`)},[r.createVNode(zt,{url:h.video.url,thumbnail:h.video.thumbnail},null,8,["url","thumbnail"])],2)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:3,class:r.normalizeClass(`tile-content-body-copy ${((P=t.value)==null?void 0:P.bodyCopy)??""} text-${r.unref(a).copy} text-${d.value} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(s).bullet})`}),innerHTML:h.bodyCopy},null,14,Xu)):r.createCommentVNode("",!0)],2)]}),key:"0"}:void 0,h.ctas||h.footer?{name:"footer",fn:r.withCtx(()=>{var L;return[h.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((L=t.value)==null?void 0:L.footer)??""} text-${r.unref(a).copy}`)},r.toDisplayString(h.footer),3)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.ctas,(A,S)=>{var k;return r.openBlock(),r.createBlock(m,r.mergeProps({key:`cta-${A.title}-${S}`,class:`cta-${S} ${(k=t.value)==null?void 0:k.cta}`,color:r.unref(gn)(A,r.unref(l)),"text-color":r.unref(bn)(A,r.unref(l)),ref_for:!0},A),null,16,["class","color","text-color"])}),128))]}),key:"1"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),Fi=Oi?window:void 0;function yn(n){var e;const t=Ne(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Gu(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=Fi):[e,t,i,o]=n,!e)return Ve;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const s=[],a=()=>{s.forEach(u=>u()),s.length=0},l=(u,h,p,f)=>(u.addEventListener(h,p,f),()=>u.removeEventListener(h,p,f)),c=r.watch(()=>[yn(e),Ne(o)],([u,h])=>{if(a(),!u)return;const p=Oc(h)?{...h}:h;s.push(...t.flatMap(f=>i.map(m=>l(u,f,m,p))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return un(d),d}function Zu(){const n=r.ref(!1),e=r.getCurrentInstance();return e&&r.onMounted(()=>{n.value=!0},e),n}function Qu(n){const e=Zu();return r.computed(()=>(e.value,!!n()))}function Ju(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:a=Fi,immediate:l=!0}=t,c=Qu(()=>a&&"IntersectionObserver"in a),d=r.computed(()=>{const m=Ne(n);return(Array.isArray(m)?m:[m]).map(yn).filter(or)});let u=Ve;const h=r.ref(l),p=c.value?r.watch(()=>[d.value,yn(i),h.value],([m,g])=>{if(u(),!h.value||!m.length)return;const b=new IntersectionObserver(e,{root:yn(g),rootMargin:o,threshold:s});m.forEach(y=>y&&b.observe(y)),u=()=>{b.disconnect(),u=Ve}},{immediate:l,flush:"post"}):Ve,f=()=>{u(),p(),h.value=!1};return un(f),{isSupported:c,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:f}}function Er(n,e={}){const{window:t=Fi,scrollTarget:i,threshold:o=0}=e,s=r.ref(!1);return Ju(n,a=>{let l=s.value,c=0;for(const d of a)d.time>=c&&(c=d.time,l=d.isIntersecting);s.value=l},{root:i,window:t,threshold:o}),s}const eh={[Lc.mounted](n,e){if(typeof e.value=="function"){const t=e.value,i=Er(n);r.watch(i,o=>t(o),{immediate:!0})}else{const[t,i]=e.value,o=Er(n,i);r.watch(o,s=>t(s),{immediate:!0})}}};function Ri(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function Ar(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth<n.scrollWidth||e.overflowY==="auto"&&n.clientHeight<n.scrollHeight)return!0;{const t=n.parentNode;return!t||t.tagName==="BODY"?!1:Ar(t)}}function th(n){const e=n||window.event,t=e.target;return Ar(t)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const ji=new WeakMap;function nh(n,e=!1){const t=r.ref(e);let i=null,o="";r.watch(Nc(n),l=>{const c=Ri(Ne(l));if(c){const d=c;if(ji.get(d)||ji.set(d,d.style.overflow),d.style.overflow!=="hidden"&&(o=d.style.overflow),d.style.overflow==="hidden")return t.value=!0;if(t.value)return d.style.overflow="hidden"}},{immediate:!0});const s=()=>{const l=Ri(Ne(n));!l||t.value||(rr&&(i=Gu(l,"touchmove",c=>{th(c)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Ri(Ne(n));!l||!t.value||(rr&&(i==null||i()),l.style.overflow=o,ji.delete(l),t.value=!1)};return un(a),r.computed({get(){return t.value},set(l){l?s():a()}})}function ih(){let n=!1;const e=r.ref(!1);return(t,i)=>{if(e.value=i.value,n)return;n=!0;const o=nh(t,i.value);r.watch(e,s=>o.value=s)}}ih();const oh=["innerHTML"],rh=["innerHTML"],sh=["src"],Lr=Dt(r.defineComponent({__name:"TileContentImageStackedAnimatedTile",props:{__typename:{},index:{},image:{},video:{},headline:{},subheadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},parentBackgroundColor:{},tileLabel:{},tileLabelType:{},alignment:{},bodyCopyAlignment:{},pt:{},listItems:{},footer:{},includeDecoration:{type:Boolean},class:{}},setup(n){const e=r.ref(null),t=r.ref(!1),i=n,o=r.computed(()=>N(bi,i.pt??{})),s=r.computed(()=>!((i.index??0)%2)),a=r.computed(()=>i.index===0),l=i.backgroundColor||i.parentBackgroundColor,{palette:c}=J({backgroundColor:l}),d=r.computed(()=>{var h;return(h=i.tileLabel)!=null&&h.alignment?i.tileLabel.alignment.toLowerCase():s.value?"right":"left"}),u=h=>{t.value=h};return(h,p)=>{var m,g,b,y;const f=Vt;return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(`tile-content ${r.unref(D)(((m=o.value)==null?void 0:m.root)??"",i.class??"")} max-w-[1024px]`)},[r.createVNode(r.unref(Ze),{class:r.normalizeClass(`${((g=o.value)==null?void 0:g.container)??""} tile-content-container shadow-none`),"pt:footer:class":`tile-content-ctas ${((b=o.value)==null?void 0:b.ctas)??""}`,"pt:body:class":((y=o.value)==null?void 0:y.body)??""},r.createSlots({content:r.withCtx(()=>{var C,w,_,x,T,$,M,E,L,A,S,k;return[r.createElementVNode("div",{class:r.normalizeClass(`flex gap-[5vmin] md:gap-12 relative ${s.value?"flex-row-reverse":""} tile-content-inner ${((C=o.value)==null?void 0:C.bodyCopy)??""}`)},[r.createElementVNode("div",{class:r.normalizeClass(`tile-content-text flex-auto relative z-20 flex flex-col justify-center ${((w=o.value)==null?void 0:w.text)??""} text-left ${s.value?"items-start":"items-end"}`)},[h.headline?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(`tile-content-headline w-full ${((_=o.value)==null?void 0:_.headline)??""} text-${r.unref(c).subheadline}`),innerHTML:h.headline},null,10,oh)):r.createCommentVNode("",!0),h.bodyCopy?(r.openBlock(),r.createElementBlock("div",{key:1,class:r.normalizeClass(`tile-content-body-copy ${((x=o.value)==null?void 0:x.description)??""} w-full text-${r.unref(c).copy} body-copy-with-lists`),style:r.normalizeStyle({"--bullet-color":`var(--${r.unref(c).bullet})`}),innerHTML:h.bodyCopy},null,14,rh)):r.createCommentVNode("",!0)],2),h.video||h.image?r.withDirectives((r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"target",ref:e,class:r.normalizeClass(`tile-content-media relative ${((T=o.value)==null?void 0:T.media)??""} max-w-[350px]`)},[h.includeDecoration?(r.openBlock(),r.createElementBlock("img",{key:0,class:r.normalizeClass({"should-animate":!0,absolute:!0,animate:t.value,"w-full":!0,"z-0":!0,"top-[36%]":a.value,"left-[-16%]":a.value,"bg-left-top":s.value&&!a.value||!s.value,"animate-even":s.value&&!a.value&&t.value,"left-[-28%]":s.value&&!a.value,"top-[-10%]":s.value&&!a.value,"top-[-16%]":!s.value,"right-[-16%]":!s.value,"animate-odd":!s.value&&t.value}),src:(s.value,"https://images.ctfassets.net/qqblaiss500w/5Bp3ySaz0pqR5gLtdxOQoi/db01031466deed9b7b959c08c17e5681/circles1.f3eead2.svg")},null,10,sh)):r.createCommentVNode("",!0),h.tileLabel||h.tileLabelType?(r.openBlock(),r.createBlock(f,r.mergeProps({key:1},h.tileLabel,{class:{[(($=o.value)==null?void 0:$.numericLabel)??""]:h.tileLabelType==="Numeric"||((M=h.tileLabel)==null?void 0:M.type)==="Numeric",[((E=o.value)==null?void 0:E.label)??""]:h.tileLabelType==="Text"||((L=h.tileLabel)==null?void 0:L.type)==="Text","top-1 md:top-8":!0,"left-1":!s.value,"right-1":s.value},index:h.index,type:h.tileLabelType??((A=h.tileLabel)==null?void 0:A.type),alignment:d.value,"background-color":r.unref(c).label[h.tileLabelType??((S=h.tileLabel)==null?void 0:S.type)??"Text"].bg,"text-color":r.unref(c).label[h.tileLabelType??((k=h.tileLabel)==null?void 0:k.type)??"Text"].copy}),null,16,["class","index","type","alignment","background-color","text-color"])):r.createCommentVNode("",!0),h.image?(r.openBlock(),r.createBlock(de,r.mergeProps({key:2},h.image,{class:r.unref(D)("w-full min-w-[150px] md:min-w-[350px] relative rounded-full z-10",h.image.class)}),null,16,["class"])):r.createCommentVNode("",!0),h.video?(r.openBlock(),r.createBlock(zt,r.normalizeProps(r.mergeProps({key:3},h.video)),null,16)):r.createCommentVNode("",!0)],2)),[[r.unref(eh),u]]):r.createCommentVNode("",!0)],2)]}),_:2},[h.ctas||h.footer?{name:"footer",fn:r.withCtx(()=>{var C;return[h.footer?(r.openBlock(),r.createElementBlock("p",{key:0,class:r.normalizeClass(`${((C=o.value)==null?void 0:C.footer)??""} text-${r.unref(c).copy}`)},r.toDisplayString(h.footer),3)):r.createCommentVNode("",!0)]}),key:"0"}:void 0]),1032,["class","pt:footer:class","pt:body:class"])],2)}}}),[["__scopeId","data-v-79b86cba"]]),ah={key:0},Ir=Dt(r.defineComponent({__name:"HelloBanner",props:{__typename:{},helloBannerData:{},pt:{},onSegmentCTAClick:{type:Function},class:{}},setup(n){const e=n,t=r.ref("minimized"),i=()=>{t.value=t.value==="maximized"?"minimized":"maximized"},o=r.computed(()=>N(_i,e.pt??{}));return(s,a)=>{var l,c;return e.helloBannerData&&e.helloBannerData.active?(r.openBlock(),r.createBlock(r.unref(Ze),{key:0,"pt:root:class":r.unref(D)((l=o.value)==null?void 0:l.root,e.class,"hello-banner shadow-none border-0 rounded-none",t.value==="maximized"?"hello-banner-max":"",t.value==="minimized"?"hello-banner-min":""),"pt:body:class":r.unref(D)((c=o.value)==null?void 0:c.container,"container-center"),"pt:content:class":"flex flex-col md:flex-row gap-8"},{content:r.withCtx(()=>{var d,u,h,p,f,m,g,b,y;return[r.createElementVNode("div",{class:r.normalizeClass((d=o.value)==null?void 0:d.mobileCollapsed)},[r.createElementVNode("p",null,r.toDisplayString((u=e.helloBannerData)==null?void 0:u.mobileCollapsed),1)],2),r.createElementVNode("div",{class:r.normalizeClass([(h=o.value)==null?void 0:h.content,"content"])},[r.createElementVNode("p",{class:r.normalizeClass([(p=o.value)==null?void 0:p.fullCopy,"fullCopy"])},r.toDisplayString((f=e.helloBannerData)==null?void 0:f.fullCopy),3)],2),(m=e.helloBannerData)!=null&&m.cta?(r.openBlock(),r.createElementBlock("section",ah,[r.createVNode(be,r.mergeProps(e.helloBannerData.cta,{class:r.unref(D)((g=o.value)==null?void 0:g.cta,"cta")}),null,16,["class"])])):r.createCommentVNode("",!0),r.createVNode(r.unref(dn),{class:r.normalizeClass([(b=o.value)==null?void 0:b.toggle,"toggle"]),"pt:root:class":(y=o.value)==null?void 0:y.toggle,tabindex:"0","aria-label":t.value==="minimized"?"Expand banner":"Minimize banner","aria-expanded":t.value==="maximized",link:!0,onClick:i},{default:r.withCtx(()=>[r.createElementVNode("i",{class:"pi pi-times-circle",style:r.normalizeStyle({fontSize:"16px",color:"#fff",transform:t.value==="minimized"?"rotate(45deg)":"rotate(0deg)",transition:"transform 0.3s ease"})},null,4)]),_:1},8,["class","pt:root:class","aria-label","aria-expanded"])]}),_:1},8,["pt:root:class","pt:body:class"])):r.createCommentVNode("",!0)}}}),[["__scopeId","data-v-7799ef64"]]);/*!
90
90
  * @kurkle/color v0.3.4
91
91
  * https://github.com/kurkle/color#readme
92
92
  * (c) 2024 Jukka Kurkela
93
93
  * Released under the MIT License
94
- */function Ft(n){return n+.5|0}const Re=(n,e,t)=>Math.max(Math.min(n,t),e);function Rt(n){return Re(Ft(n*2.55),0,255)}function je(n){return Re(Ft(n*255),0,255)}function Pe(n){return Re(Ft(n/2.55)/100,0,1)}function Or(n){return Re(Ft(n*100),0,100)}const ye={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Hi=[..."0123456789ABCDEF"],rh=n=>Hi[n&15],sh=n=>Hi[(n&240)>>4]+Hi[n&15],kn=n=>(n&240)>>4===(n&15),ah=n=>kn(n.r)&&kn(n.g)&&kn(n.b)&&kn(n.a);function lh(n){var e=n.length,t;return n[0]==="#"&&(e===4||e===5?t={r:255&ye[n[1]]*17,g:255&ye[n[2]]*17,b:255&ye[n[3]]*17,a:e===5?ye[n[4]]*17:255}:(e===7||e===9)&&(t={r:ye[n[1]]<<4|ye[n[2]],g:ye[n[3]]<<4|ye[n[4]],b:ye[n[5]]<<4|ye[n[6]],a:e===9?ye[n[7]]<<4|ye[n[8]]:255})),t}const ch=(n,e)=>n<255?e(n):"";function dh(n){var e=ah(n)?rh:sh;return n?"#"+e(n.r)+e(n.g)+e(n.b)+ch(n.a,e):void 0}const uh=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Dr(n,e,t){const i=e*Math.min(t,1-t),o=(s,a=(s+n/30)%12)=>t-i*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function hh(n,e,t){const i=(o,s=(o+n/60)%6)=>t-t*e*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function fh(n,e,t){const i=Dr(n,1,.5);let o;for(e+t>1&&(o=1/(e+t),e*=o,t*=o),o=0;o<3;o++)i[o]*=1-e-t,i[o]+=e;return i}function ph(n,e,t,i,o){return n===o?(e-t)/i+(e<t?6:0):e===o?(t-n)/i+2:(n-e)/i+4}function Wi(n){const t=n.r/255,i=n.g/255,o=n.b/255,s=Math.max(t,i,o),a=Math.min(t,i,o),l=(s+a)/2;let c,d,u;return s!==a&&(u=s-a,d=l>.5?u/(2-s-a):u/(s+a),c=ph(t,i,o,u,s),c=c*60+.5),[c|0,d||0,l]}function Ui(n,e,t,i){return(Array.isArray(e)?n(e[0],e[1],e[2]):n(e,t,i)).map(je)}function Yi(n,e,t){return Ui(Dr,n,e,t)}function mh(n,e,t){return Ui(fh,n,e,t)}function gh(n,e,t){return Ui(hh,n,e,t)}function Vr(n){return(n%360+360)%360}function bh(n){const e=uh.exec(n);let t=255,i;if(!e)return;e[5]!==i&&(t=e[6]?Rt(+e[5]):je(+e[5]));const o=Vr(+e[2]),s=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?i=mh(o,s,a):e[1]==="hsv"?i=gh(o,s,a):i=Yi(o,s,a),{r:i[0],g:i[1],b:i[2],a:t}}function yh(n,e){var t=Wi(n);t[0]=Vr(t[0]+e),t=Yi(t),n.r=t[0],n.g=t[1],n.b=t[2]}function kh(n){if(!n)return;const e=Wi(n),t=e[0],i=Or(e[1]),o=Or(e[2]);return n.a<255?`hsla(${t}, ${i}%, ${o}%, ${Pe(n.a)})`:`hsl(${t}, ${i}%, ${o}%)`}const Nr={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},zr={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Ch(){const n={},e=Object.keys(zr),t=Object.keys(Nr);let i,o,s,a,l;for(i=0;i<e.length;i++){for(a=l=e[i],o=0;o<t.length;o++)s=t[o],l=l.replace(s,Nr[s]);s=parseInt(zr[a],16),n[l]=[s>>16&255,s>>8&255,s&255]}return n}let Cn;function xh(n){Cn||(Cn=Ch(),Cn.transparent=[0,0,0,0]);const e=Cn[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const wh=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function _h(n){const e=wh.exec(n);let t=255,i,o,s;if(e){if(e[7]!==i){const a=+e[7];t=e[8]?Rt(a):Re(a*255,0,255)}return i=+e[1],o=+e[3],s=+e[5],i=255&(e[2]?Rt(i):Re(i,0,255)),o=255&(e[4]?Rt(o):Re(o,0,255)),s=255&(e[6]?Rt(s):Re(s,0,255)),{r:i,g:o,b:s,a:t}}}function vh(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${Pe(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}const Ki=n=>n<=.0031308?n*12.92:Math.pow(n,1/2.4)*1.055-.055,ht=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function Sh(n,e,t){const i=ht(Pe(n.r)),o=ht(Pe(n.g)),s=ht(Pe(n.b));return{r:je(Ki(i+t*(ht(Pe(e.r))-i))),g:je(Ki(o+t*(ht(Pe(e.g))-o))),b:je(Ki(s+t*(ht(Pe(e.b))-s))),a:n.a+t*(e.a-n.a)}}function xn(n,e,t){if(n){let i=Wi(n);i[e]=Math.max(0,Math.min(i[e]+i[e]*t,e===0?360:1)),i=Yi(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function Fr(n,e){return n&&Object.assign(e||{},n)}function Rr(n){var e={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(e={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(e.a=je(n[3]))):(e=Fr(n,{r:0,g:0,b:0,a:1}),e.a=je(e.a)),e}function Th(n){return n.charAt(0)==="r"?_h(n):bh(n)}class jt{constructor(e){if(e instanceof jt)return e;const t=typeof e;let i;t==="object"?i=Rr(e):t==="string"&&(i=lh(e)||xh(e)||Th(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=Fr(this._rgb);return e&&(e.a=Pe(e.a)),e}set rgb(e){this._rgb=Rr(e)}rgbString(){return this._valid?vh(this._rgb):void 0}hexString(){return this._valid?dh(this._rgb):void 0}hslString(){return this._valid?kh(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,o=e.rgb;let s;const a=t===s?.5:t,l=2*a-1,c=i.a-o.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;s=1-d,i.r=255&d*i.r+s*o.r+.5,i.g=255&d*i.g+s*o.g+.5,i.b=255&d*i.b+s*o.b+.5,i.a=a*i.a+(1-a)*o.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=Sh(this._rgb,e._rgb,t)),this}clone(){return new jt(this.rgb)}alpha(e){return this._rgb.a=je(e),this}clearer(e){const t=this._rgb;return t.a*=1-e,this}greyscale(){const e=this._rgb,t=Ft(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=t,this}opaquer(e){const t=this._rgb;return t.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return xn(this._rgb,2,e),this}darken(e){return xn(this._rgb,2,-e),this}saturate(e){return xn(this._rgb,1,e),this}desaturate(e){return xn(this._rgb,1,-e),this}rotate(e){return yh(this._rgb,e),this}}/*!
94
+ */function Ft(n){return n+.5|0}const Re=(n,e,t)=>Math.max(Math.min(n,t),e);function Rt(n){return Re(Ft(n*2.55),0,255)}function je(n){return Re(Ft(n*255),0,255)}function Pe(n){return Re(Ft(n/2.55)/100,0,1)}function Or(n){return Re(Ft(n*100),0,100)}const ye={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Hi=[..."0123456789ABCDEF"],lh=n=>Hi[n&15],ch=n=>Hi[(n&240)>>4]+Hi[n&15],kn=n=>(n&240)>>4===(n&15),dh=n=>kn(n.r)&&kn(n.g)&&kn(n.b)&&kn(n.a);function uh(n){var e=n.length,t;return n[0]==="#"&&(e===4||e===5?t={r:255&ye[n[1]]*17,g:255&ye[n[2]]*17,b:255&ye[n[3]]*17,a:e===5?ye[n[4]]*17:255}:(e===7||e===9)&&(t={r:ye[n[1]]<<4|ye[n[2]],g:ye[n[3]]<<4|ye[n[4]],b:ye[n[5]]<<4|ye[n[6]],a:e===9?ye[n[7]]<<4|ye[n[8]]:255})),t}const hh=(n,e)=>n<255?e(n):"";function fh(n){var e=dh(n)?lh:ch;return n?"#"+e(n.r)+e(n.g)+e(n.b)+hh(n.a,e):void 0}const ph=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Dr(n,e,t){const i=e*Math.min(t,1-t),o=(s,a=(s+n/30)%12)=>t-i*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function mh(n,e,t){const i=(o,s=(o+n/60)%6)=>t-t*e*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function gh(n,e,t){const i=Dr(n,1,.5);let o;for(e+t>1&&(o=1/(e+t),e*=o,t*=o),o=0;o<3;o++)i[o]*=1-e-t,i[o]+=e;return i}function bh(n,e,t,i,o){return n===o?(e-t)/i+(e<t?6:0):e===o?(t-n)/i+2:(n-e)/i+4}function Wi(n){const t=n.r/255,i=n.g/255,o=n.b/255,s=Math.max(t,i,o),a=Math.min(t,i,o),l=(s+a)/2;let c,d,u;return s!==a&&(u=s-a,d=l>.5?u/(2-s-a):u/(s+a),c=bh(t,i,o,u,s),c=c*60+.5),[c|0,d||0,l]}function Ui(n,e,t,i){return(Array.isArray(e)?n(e[0],e[1],e[2]):n(e,t,i)).map(je)}function Yi(n,e,t){return Ui(Dr,n,e,t)}function yh(n,e,t){return Ui(gh,n,e,t)}function kh(n,e,t){return Ui(mh,n,e,t)}function Nr(n){return(n%360+360)%360}function Ch(n){const e=ph.exec(n);let t=255,i;if(!e)return;e[5]!==i&&(t=e[6]?Rt(+e[5]):je(+e[5]));const o=Nr(+e[2]),s=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?i=yh(o,s,a):e[1]==="hsv"?i=kh(o,s,a):i=Yi(o,s,a),{r:i[0],g:i[1],b:i[2],a:t}}function xh(n,e){var t=Wi(n);t[0]=Nr(t[0]+e),t=Yi(t),n.r=t[0],n.g=t[1],n.b=t[2]}function wh(n){if(!n)return;const e=Wi(n),t=e[0],i=Or(e[1]),o=Or(e[2]);return n.a<255?`hsla(${t}, ${i}%, ${o}%, ${Pe(n.a)})`:`hsl(${t}, ${i}%, ${o}%)`}const Vr={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},zr={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function _h(){const n={},e=Object.keys(zr),t=Object.keys(Vr);let i,o,s,a,l;for(i=0;i<e.length;i++){for(a=l=e[i],o=0;o<t.length;o++)s=t[o],l=l.replace(s,Vr[s]);s=parseInt(zr[a],16),n[l]=[s>>16&255,s>>8&255,s&255]}return n}let Cn;function vh(n){Cn||(Cn=_h(),Cn.transparent=[0,0,0,0]);const e=Cn[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Sh=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Th(n){const e=Sh.exec(n);let t=255,i,o,s;if(e){if(e[7]!==i){const a=+e[7];t=e[8]?Rt(a):Re(a*255,0,255)}return i=+e[1],o=+e[3],s=+e[5],i=255&(e[2]?Rt(i):Re(i,0,255)),o=255&(e[4]?Rt(o):Re(o,0,255)),s=255&(e[6]?Rt(s):Re(s,0,255)),{r:i,g:o,b:s,a:t}}}function $h(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${Pe(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}const Ki=n=>n<=.0031308?n*12.92:Math.pow(n,1/2.4)*1.055-.055,ht=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function Bh(n,e,t){const i=ht(Pe(n.r)),o=ht(Pe(n.g)),s=ht(Pe(n.b));return{r:je(Ki(i+t*(ht(Pe(e.r))-i))),g:je(Ki(o+t*(ht(Pe(e.g))-o))),b:je(Ki(s+t*(ht(Pe(e.b))-s))),a:n.a+t*(e.a-n.a)}}function xn(n,e,t){if(n){let i=Wi(n);i[e]=Math.max(0,Math.min(i[e]+i[e]*t,e===0?360:1)),i=Yi(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function Fr(n,e){return n&&Object.assign(e||{},n)}function Rr(n){var e={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(e={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(e.a=je(n[3]))):(e=Fr(n,{r:0,g:0,b:0,a:1}),e.a=je(e.a)),e}function Ph(n){return n.charAt(0)==="r"?Th(n):Ch(n)}class jt{constructor(e){if(e instanceof jt)return e;const t=typeof e;let i;t==="object"?i=Rr(e):t==="string"&&(i=uh(e)||vh(e)||Ph(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=Fr(this._rgb);return e&&(e.a=Pe(e.a)),e}set rgb(e){this._rgb=Rr(e)}rgbString(){return this._valid?$h(this._rgb):void 0}hexString(){return this._valid?fh(this._rgb):void 0}hslString(){return this._valid?wh(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,o=e.rgb;let s;const a=t===s?.5:t,l=2*a-1,c=i.a-o.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;s=1-d,i.r=255&d*i.r+s*o.r+.5,i.g=255&d*i.g+s*o.g+.5,i.b=255&d*i.b+s*o.b+.5,i.a=a*i.a+(1-a)*o.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=Bh(this._rgb,e._rgb,t)),this}clone(){return new jt(this.rgb)}alpha(e){return this._rgb.a=je(e),this}clearer(e){const t=this._rgb;return t.a*=1-e,this}greyscale(){const e=this._rgb,t=Ft(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=t,this}opaquer(e){const t=this._rgb;return t.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return xn(this._rgb,2,e),this}darken(e){return xn(this._rgb,2,-e),this}saturate(e){return xn(this._rgb,1,e),this}desaturate(e){return xn(this._rgb,1,-e),this}rotate(e){return xh(this._rgb,e),this}}/*!
95
95
  * Chart.js v4.5.1
96
96
  * https://www.chartjs.org
97
97
  * (c) 2025 Chart.js Contributors
98
98
  * Released under the MIT License
99
- */function Me(){}const $h=(()=>{let n=0;return()=>n++})();function Q(n){return n==null}function oe(n){if(Array.isArray&&Array.isArray(n))return!0;const e=Object.prototype.toString.call(n);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function j(n){return n!==null&&Object.prototype.toString.call(n)==="[object Object]"}function se(n){return(typeof n=="number"||n instanceof Number)&&isFinite(+n)}function pe(n,e){return se(n)?n:e}function W(n,e){return typeof n>"u"?e:n}const Bh=(n,e)=>typeof n=="string"&&n.endsWith("%")?parseFloat(n)/100:+n/e,jr=(n,e)=>typeof n=="string"&&n.endsWith("%")?parseFloat(n)/100*e:+n;function X(n,e,t){if(n&&typeof n.call=="function")return n.apply(t,e)}function Y(n,e,t,i){let o,s,a;if(oe(n))for(s=n.length,o=0;o<s;o++)e.call(t,n[o],o);else if(j(n))for(a=Object.keys(n),s=a.length,o=0;o<s;o++)e.call(t,n[a[o]],a[o])}function wn(n,e){let t,i,o,s;if(!n||!e||n.length!==e.length)return!1;for(t=0,i=n.length;t<i;++t)if(o=n[t],s=e[t],o.datasetIndex!==s.datasetIndex||o.index!==s.index)return!1;return!0}function _n(n){if(oe(n))return n.map(_n);if(j(n)){const e=Object.create(null),t=Object.keys(n),i=t.length;let o=0;for(;o<i;++o)e[t[o]]=_n(n[t[o]]);return e}return n}function Hr(n){return["__proto__","prototype","constructor"].indexOf(n)===-1}function Ph(n,e,t,i){if(!Hr(n))return;const o=e[n],s=t[n];j(o)&&j(s)?Ht(o,s,i):e[n]=_n(s)}function Ht(n,e,t){const i=oe(e)?e:[e],o=i.length;if(!j(n))return n;t=t||{};const s=t.merger||Ph;let a;for(let l=0;l<o;++l){if(a=i[l],!j(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)s(c[d],n,a,t)}return n}function Wt(n,e){return Ht(n,e,{merger:Mh})}function Mh(n,e,t){if(!Hr(n))return;const i=e[n],o=t[n];j(i)&&j(o)?Wt(i,o):Object.prototype.hasOwnProperty.call(e,n)||(e[n]=_n(o))}const Wr={"":n=>n,x:n=>n.x,y:n=>n.y};function Eh(n){const e=n.split("."),t=[];let i="";for(const o of e)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(t.push(i),i="");return t}function Ah(n){const e=Eh(n);return t=>{for(const i of e){if(i==="")break;t=t&&t[i]}return t}}function Ut(n,e){return(Wr[e]||(Wr[e]=Ah(e)))(n)}function qi(n){return n.charAt(0).toUpperCase()+n.slice(1)}const vn=n=>typeof n<"u",He=n=>typeof n=="function",Ur=(n,e)=>{if(n.size!==e.size)return!1;for(const t of n)if(!e.has(t))return!1;return!0};function Lh(n){return n.type==="mouseup"||n.type==="click"||n.type==="contextmenu"}const K=Math.PI,te=2*K,Sn=Number.POSITIVE_INFINITY,Ih=K/180,re=K/2,Qe=K/4,Yr=K*2/3,We=Math.log10,Tn=Math.sign;function $n(n,e,t){return Math.abs(n-e)<t}function Kr(n){const e=Math.round(n);n=$n(n,e,n/1e3)?e:n;const t=Math.pow(10,Math.floor(We(n))),i=n/t;return(i<=1?1:i<=2?2:i<=5?5:10)*t}function Oh(n){const e=[],t=Math.sqrt(n);let i;for(i=1;i<t;i++)n%i===0&&(e.push(i),e.push(n/i));return t===(t|0)&&e.push(t),e.sort((o,s)=>o-s).pop(),e}function Dh(n){return typeof n=="symbol"||typeof n=="object"&&n!==null&&!(Symbol.toPrimitive in n||"toString"in n||"valueOf"in n)}function Bn(n){return!Dh(n)&&!isNaN(parseFloat(n))&&isFinite(n)}function Vh(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}function qr(n,e,t){let i,o,s;for(i=0,o=n.length;i<o;i++)s=n[i][t],isNaN(s)||(e.min=Math.min(e.min,s),e.max=Math.max(e.max,s))}function we(n){return n*(K/180)}function Xi(n){return n*(180/K)}function Xr(n){if(!se(n))return;let e=1,t=0;for(;Math.round(n*e)/e!==n;)e*=10,t++;return t}function Gr(n,e){const t=e.x-n.x,i=e.y-n.y,o=Math.sqrt(t*t+i*i);let s=Math.atan2(i,t);return s<-.5*K&&(s+=te),{angle:s,distance:o}}function Nh(n,e){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function me(n){return(n%te+te)%te}function Pn(n,e,t,i){const o=me(n),s=me(e),a=me(t),l=me(s-o),c=me(a-o),d=me(o-s),u=me(o-a);return o===s||o===a||i&&s===a||l>c&&d<u}function ke(n,e,t){return Math.max(e,Math.min(t,n))}function zh(n){return ke(n,-32768,32767)}function Yt(n,e,t,i=1e-6){return n>=Math.min(e,t)-i&&n<=Math.max(e,t)+i}function Gi(n,e,t){t=t||(a=>n[a]<e);let i=n.length-1,o=0,s;for(;i-o>1;)s=o+i>>1,t(s)?o=s:i=s;return{lo:o,hi:i}}const Zi=(n,e,t,i)=>Gi(n,t,i?o=>{const s=n[o][e];return s<t||s===t&&n[o+1][e]===t}:o=>n[o][e]<t),Fh=(n,e,t)=>Gi(n,t,i=>n[i][e]>=t);function Rh(n,e,t){let i=0,o=n.length;for(;i<o&&n[i]<e;)i++;for(;o>i&&n[o-1]>t;)o--;return i>0||o<n.length?n.slice(i,o):n}const Zr=["push","pop","shift","splice","unshift"];function jh(n,e){if(n._chartjs){n._chartjs.listeners.push(e);return}Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Zr.forEach(t=>{const i="_onData"+qi(t),o=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...s){const a=o.apply(this,s);return n._chartjs.listeners.forEach(l=>{typeof l[i]=="function"&&l[i](...s)}),a}})})}function Qr(n,e){const t=n._chartjs;if(!t)return;const i=t.listeners,o=i.indexOf(e);o!==-1&&i.splice(o,1),!(i.length>0)&&(Zr.forEach(s=>{delete n[s]}),delete n._chartjs)}function Hh(n){const e=new Set(n);return e.size===n.length?n:Array.from(e)}const Jr=function(){return typeof window>"u"?function(n){return n()}:window.requestAnimationFrame}();function es(n,e){let t=[],i=!1;return function(...o){t=o,i||(i=!0,Jr.call(window,()=>{i=!1,n.apply(e,t)}))}}function Wh(n,e){let t;return function(...i){return e?(clearTimeout(t),t=setTimeout(n,e,i)):n.apply(this,i),e}}const ts=n=>n==="start"?"left":n==="end"?"right":"center",ge=(n,e,t)=>n==="start"?e:n==="end"?t:(e+t)/2,Uh=(n,e,t,i)=>n===(i?"left":"right")?t:n==="center"?(e+t)/2:e,Mn=n=>n===0||n===1,ns=(n,e,t)=>-(Math.pow(2,10*(n-=1))*Math.sin((n-e)*te/t)),is=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*te/t)+1,Kt={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>-Math.cos(n*re)+1,easeOutSine:n=>Math.sin(n*re),easeInOutSine:n=>-.5*(Math.cos(K*n)-1),easeInExpo:n=>n===0?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>n===1?1:-Math.pow(2,-10*n)+1,easeInOutExpo:n=>Mn(n)?n:n<.5?.5*Math.pow(2,10*(n*2-1)):.5*(-Math.pow(2,-10*(n*2-1))+2),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>Mn(n)?n:ns(n,.075,.3),easeOutElastic:n=>Mn(n)?n:is(n,.075,.3),easeInOutElastic(n){return Mn(n)?n:n<.5?.5*ns(n*2,.1125,.45):.5+.5*is(n*2-1,.1125,.45)},easeInBack(n){return n*n*((1.70158+1)*n-1.70158)},easeOutBack(n){return(n-=1)*n*((1.70158+1)*n+1.70158)+1},easeInOutBack(n){let e=1.70158;return(n/=.5)<1?.5*(n*n*(((e*=1.525)+1)*n-e)):.5*((n-=2)*n*(((e*=1.525)+1)*n+e)+2)},easeInBounce:n=>1-Kt.easeOutBounce(1-n),easeOutBounce(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},easeInOutBounce:n=>n<.5?Kt.easeInBounce(n*2)*.5:Kt.easeOutBounce(n*2-1)*.5+.5};function os(n){if(n&&typeof n=="object"){const e=n.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function rs(n){return os(n)?n:new jt(n)}function Qi(n){return os(n)?n:new jt(n).saturate(.5).darken(.1).hexString()}const Yh=["x","y","borderWidth","radius","tension"],Kh=["color","borderColor","backgroundColor"];function qh(n){n.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),n.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),n.set("animations",{colors:{type:"color",properties:Kh},numbers:{type:"number",properties:Yh}}),n.describe("animations",{_fallback:"animation"}),n.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function Xh(n){n.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const ss=new Map;function Gh(n,e){e=e||{};const t=n+JSON.stringify(e);let i=ss.get(t);return i||(i=new Intl.NumberFormat(n,e),ss.set(t,i)),i}function En(n,e,t){return Gh(e,t).format(n)}const as={values(n){return oe(n)?n:""+n},numeric(n,e,t){if(n===0)return"0";const i=this.chart.options.locale;let o,s=n;if(t.length>1){const d=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),s=Zh(n,t)}const a=We(Math.abs(s)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),En(n,i,c)},logarithmic(n,e,t){if(n===0)return"0";const i=t[e].significand||n/Math.pow(10,Math.floor(We(n)));return[1,2,3,5,10,15].includes(i)||e>.8*t.length?as.numeric.call(this,n,e,t):""}};function Zh(n,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&n!==Math.floor(n)&&(t=n-Math.floor(n)),t}var An={formatters:as};function Qh(n){n.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:An.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),n.route("scale.ticks","color","","color"),n.route("scale.grid","color","","borderColor"),n.route("scale.border","color","","borderColor"),n.route("scale.title","color","","color"),n.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),n.describe("scales",{_fallback:"scale"}),n.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Je=Object.create(null),Ji=Object.create(null);function qt(n,e){if(!e)return n;const t=e.split(".");for(let i=0,o=t.length;i<o;++i){const s=t[i];n=n[s]||(n[s]=Object.create(null))}return n}function eo(n,e,t){return typeof e=="string"?Ht(qt(n,e),t):Ht(qt(n,""),e)}class Jh{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,o)=>Qi(o.backgroundColor),this.hoverBorderColor=(i,o)=>Qi(o.borderColor),this.hoverColor=(i,o)=>Qi(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return eo(this,e,t)}get(e){return qt(this,e)}describe(e,t){return eo(Ji,e,t)}override(e,t){return eo(Je,e,t)}route(e,t,i,o){const s=qt(this,e),a=qt(this,i),l="_"+t;Object.defineProperties(s,{[l]:{value:s[t],writable:!0},[t]:{enumerable:!0,get(){const c=this[l],d=a[o];return j(c)?Object.assign({},d,c):W(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(t=>t(this))}}var ne=new Jh({_scriptable:n=>!n.startsWith("on"),_indexable:n=>n!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[qh,Xh,Qh]);function ef(n){return!n||Q(n.size)||Q(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}function Ln(n,e,t,i,o){let s=e[o];return s||(s=e[o]=n.measureText(o).width,t.push(o)),s>i&&(i=s),i}function tf(n,e,t,i){i=i||{};let o=i.data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},s=i.garbageCollect=[],i.font=e),n.save(),n.font=e;let a=0;const l=t.length;let c,d,u,h,f;for(c=0;c<l;c++)if(h=t[c],h!=null&&!oe(h))a=Ln(n,o,s,a,h);else if(oe(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!oe(f)&&(a=Ln(n,o,s,a,f));n.restore();const p=s.length/2;if(p>t.length){for(c=0;c<p;c++)delete o[s[c]];s.splice(0,p)}return a}function et(n,e,t){const i=n.currentDevicePixelRatio,o=t!==0?Math.max(t/2,.5):0;return Math.round((e-o)*i)/i+o}function ls(n,e){!e&&!n||(e=e||n.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,n.width,n.height),e.restore())}function cs(n,e,t,i){ds(n,e,t,i,null)}function ds(n,e,t,i,o){let s,a,l,c,d,u,h,f;const p=e.pointStyle,m=e.rotation,g=e.radius;let b=(m||0)*Ih;if(p&&typeof p=="object"&&(s=p.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){n.save(),n.translate(t,i),n.rotate(b),n.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),n.restore();return}if(!(isNaN(g)||g<=0)){switch(n.beginPath(),p){default:o?n.ellipse(t,i,o/2,g,0,0,te):n.arc(t,i,g,0,te),n.closePath();break;case"triangle":u=o?o/2:g,n.moveTo(t+Math.sin(b)*u,i-Math.cos(b)*g),b+=Yr,n.lineTo(t+Math.sin(b)*u,i-Math.cos(b)*g),b+=Yr,n.lineTo(t+Math.sin(b)*u,i-Math.cos(b)*g),n.closePath();break;case"rectRounded":d=g*.516,c=g-d,a=Math.cos(b+Qe)*c,h=Math.cos(b+Qe)*(o?o/2-d:c),l=Math.sin(b+Qe)*c,f=Math.sin(b+Qe)*(o?o/2-d:c),n.arc(t-h,i-l,d,b-K,b-re),n.arc(t+f,i-a,d,b-re,b),n.arc(t+h,i+l,d,b,b+re),n.arc(t-f,i+a,d,b+re,b+K),n.closePath();break;case"rect":if(!m){c=Math.SQRT1_2*g,u=o?o/2:c,n.rect(t-u,i-c,2*u,2*c);break}b+=Qe;case"rectRot":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,f=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+f,i-a),n.lineTo(t+h,i+l),n.lineTo(t-f,i+a),n.closePath();break;case"crossRot":b+=Qe;case"cross":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,f=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+f,i-a),n.lineTo(t-f,i+a);break;case"star":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,f=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+f,i-a),n.lineTo(t-f,i+a),b+=Qe,h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,f=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+f,i-a),n.lineTo(t-f,i+a);break;case"line":a=o?o/2:Math.cos(b)*g,l=Math.sin(b)*g,n.moveTo(t-a,i-l),n.lineTo(t+a,i+l);break;case"dash":n.moveTo(t,i),n.lineTo(t+Math.cos(b)*(o?o/2:g),i+Math.sin(b)*g);break;case!1:n.closePath();break}n.fill(),e.borderWidth>0&&n.stroke()}}function ft(n,e,t){return t=t||.5,!e||n&&n.x>e.left-t&&n.x<e.right+t&&n.y>e.top-t&&n.y<e.bottom+t}function to(n,e){n.save(),n.beginPath(),n.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),n.clip()}function no(n){n.restore()}function nf(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),Q(e.rotation)||n.rotate(e.rotation),e.color&&(n.fillStyle=e.color),e.textAlign&&(n.textAlign=e.textAlign),e.textBaseline&&(n.textBaseline=e.textBaseline)}function of(n,e,t,i,o){if(o.strikethrough||o.underline){const s=n.measureText(i),a=e-s.actualBoundingBoxLeft,l=e+s.actualBoundingBoxRight,c=t-s.actualBoundingBoxAscent,d=t+s.actualBoundingBoxDescent,u=o.strikethrough?(c+d)/2:d;n.strokeStyle=n.fillStyle,n.beginPath(),n.lineWidth=o.decorationWidth||2,n.moveTo(a,u),n.lineTo(l,u),n.stroke()}}function rf(n,e){const t=n.fillStyle;n.fillStyle=e.color,n.fillRect(e.left,e.top,e.width,e.height),n.fillStyle=t}function pt(n,e,t,i,o,s={}){const a=oe(e)?e:[e],l=s.strokeWidth>0&&s.strokeColor!=="";let c,d;for(n.save(),n.font=o.string,nf(n,s),c=0;c<a.length;++c)d=a[c],s.backdrop&&rf(n,s.backdrop),l&&(s.strokeColor&&(n.strokeStyle=s.strokeColor),Q(s.strokeWidth)||(n.lineWidth=s.strokeWidth),n.strokeText(d,t,i,s.maxWidth)),n.fillText(d,t,i,s.maxWidth),of(n,t,i,d,s),i+=Number(o.lineHeight);n.restore()}function In(n,e){const{x:t,y:i,w:o,h:s,radius:a}=e;n.arc(t+a.topLeft,i+a.topLeft,a.topLeft,1.5*K,K,!0),n.lineTo(t,i+s-a.bottomLeft),n.arc(t+a.bottomLeft,i+s-a.bottomLeft,a.bottomLeft,K,re,!0),n.lineTo(t+o-a.bottomRight,i+s),n.arc(t+o-a.bottomRight,i+s-a.bottomRight,a.bottomRight,re,0,!0),n.lineTo(t+o,i+a.topRight),n.arc(t+o-a.topRight,i+a.topRight,a.topRight,0,-re,!0),n.lineTo(t+a.topLeft,i)}const sf=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,af=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function lf(n,e){const t=(""+n).match(sf);if(!t||t[1]==="normal")return e*1.2;switch(n=+t[2],t[3]){case"px":return n;case"%":n/=100;break}return e*n}const cf=n=>+n||0;function io(n,e){const t={},i=j(e),o=i?Object.keys(e):e,s=j(n)?i?a=>W(n[a],n[e[a]]):a=>n[a]:()=>n;for(const a of o)t[a]=cf(s(a));return t}function df(n){return io(n,{top:"y",right:"x",bottom:"y",left:"x"})}function mt(n){return io(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ue(n){const e=df(n);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ce(n,e){n=n||{},e=e||ne.font;let t=W(n.size,e.size);typeof t=="string"&&(t=parseInt(t,10));let i=W(n.style,e.style);i&&!(""+i).match(af)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:W(n.family,e.family),lineHeight:lf(W(n.lineHeight,e.lineHeight),t),size:t,style:i,weight:W(n.weight,e.weight),string:""};return o.string=ef(o),o}function On(n,e,t,i){let o,s,a;for(o=0,s=n.length;o<s;++o)if(a=n[o],a!==void 0&&a!==void 0)return a}function uf(n,e,t){const{min:i,max:o}=n,s=jr(e,(o-i)/2),a=(l,c)=>t&&l===0?0:l+c;return{min:a(i,-Math.abs(s)),max:a(o,s)}}function tt(n,e){return Object.assign(Object.create(n),e)}function oo(n,e=[""],t,i,o=()=>n[0]){const s=t||n;typeof i>"u"&&(i=ms("_fallback",n));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:s,_fallback:i,_getTarget:o,override:l=>oo([l,...n],e,s,i)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete n[0][c],!0},get(l,c){return hs(l,c,()=>kf(c,e,n,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(n[0])},has(l,c){return gs(l).includes(c)},ownKeys(l){return gs(l)},set(l,c,d){const u=l._storage||(l._storage=o());return l[c]=u[c]=d,delete l._keys,!0}})}function gt(n,e,t,i){const o={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:us(n,i),setContext:s=>gt(n,s,t,i),override:s=>gt(n.override(s),e,t,i)};return new Proxy(o,{deleteProperty(s,a){return delete s[a],delete n[a],!0},get(s,a,l){return hs(s,a,()=>ff(s,a,l))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(n,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,a)},getPrototypeOf(){return Reflect.getPrototypeOf(n)},has(s,a){return Reflect.has(n,a)},ownKeys(){return Reflect.ownKeys(n)},set(s,a,l){return n[a]=l,delete s[a],!0}})}function us(n,e={scriptable:!0,indexable:!0}){const{_scriptable:t=e.scriptable,_indexable:i=e.indexable,_allKeys:o=e.allKeys}=n;return{allKeys:o,scriptable:t,indexable:i,isScriptable:He(t)?t:()=>t,isIndexable:He(i)?i:()=>i}}const hf=(n,e)=>n?n+qi(e):e,ro=(n,e)=>j(e)&&n!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function hs(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e)||e==="constructor")return n[e];const i=t();return n[e]=i,i}function ff(n,e,t){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;let l=i[e];return He(l)&&a.isScriptable(e)&&(l=pf(e,l,n,t)),oe(l)&&l.length&&(l=mf(e,l,n,a.isIndexable)),ro(e,l)&&(l=gt(l,o,s&&s[e],a)),l}function pf(n,e,t,i){const{_proxy:o,_context:s,_subProxy:a,_stack:l}=t;if(l.has(n))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+n);l.add(n);let c=e(s,a||i);return l.delete(n),ro(n,c)&&(c=so(o._scopes,o,n,c)),c}function mf(n,e,t,i){const{_proxy:o,_context:s,_subProxy:a,_descriptors:l}=t;if(typeof s.index<"u"&&i(n))return e[s.index%e.length];if(j(e[0])){const c=e,d=o._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=so(d,o,n,u);e.push(gt(h,s,a&&a[n],l))}}return e}function fs(n,e,t){return He(n)?n(e,t):n}const gf=(n,e)=>n===!0?e:typeof n=="string"?Ut(e,n):void 0;function bf(n,e,t,i,o){for(const s of e){const a=gf(t,s);if(a){n.add(a);const l=fs(a._fallback,t,o);if(typeof l<"u"&&l!==t&&l!==i)return l}else if(a===!1&&typeof i<"u"&&t!==i)return null}return!1}function so(n,e,t,i){const o=e._rootScopes,s=fs(e._fallback,t,i),a=[...n,...o],l=new Set;l.add(i);let c=ps(l,a,t,s||t,i);return c===null||typeof s<"u"&&s!==t&&(c=ps(l,a,s,c,i),c===null)?!1:oo(Array.from(l),[""],o,s,()=>yf(e,t,i))}function ps(n,e,t,i,o){for(;t;)t=bf(n,e,t,i,o);return t}function yf(n,e,t){const i=n._getTarget();e in i||(i[e]={});const o=i[e];return oe(o)&&j(t)?t:o||{}}function kf(n,e,t,i){let o;for(const s of e)if(o=ms(hf(s,n),t),typeof o<"u")return ro(n,o)?so(t,i,n,o):o}function ms(n,e){for(const t of e){if(!t)continue;const i=t[n];if(typeof i<"u")return i}}function gs(n){let e=n._keys;return e||(e=n._keys=Cf(n._scopes)),e}function Cf(n){const e=new Set;for(const t of n)for(const i of Object.keys(t).filter(o=>!o.startsWith("_")))e.add(i);return Array.from(e)}function ao(){return typeof window<"u"&&typeof document<"u"}function lo(n){let e=n.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Dn(n,e,t){let i;return typeof n=="string"?(i=parseInt(n,10),n.indexOf("%")!==-1&&(i=i/100*e.parentNode[t])):i=n,i}const Vn=n=>n.ownerDocument.defaultView.getComputedStyle(n,null);function xf(n,e){return Vn(n).getPropertyValue(e)}const wf=["top","right","bottom","left"];function nt(n,e,t){const i={};t=t?"-"+t:"";for(let o=0;o<4;o++){const s=wf[o];i[s]=parseFloat(n[e+"-"+s+t])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const _f=(n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot);function vf(n,e){const t=n.touches,i=t&&t.length?t[0]:n,{offsetX:o,offsetY:s}=i;let a=!1,l,c;if(_f(o,s,n.target))l=o,c=s;else{const d=e.getBoundingClientRect();l=i.clientX-d.left,c=i.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function it(n,e){if("native"in n)return n;const{canvas:t,currentDevicePixelRatio:i}=e,o=Vn(t),s=o.boxSizing==="border-box",a=nt(o,"padding"),l=nt(o,"border","width"),{x:c,y:d,box:u}=vf(n,t),h=a.left+(u&&l.left),f=a.top+(u&&l.top);let{width:p,height:m}=e;return s&&(p-=a.width+l.width,m-=a.height+l.height),{x:Math.round((c-h)/p*t.width/i),y:Math.round((d-f)/m*t.height/i)}}function Sf(n,e,t){let i,o;if(e===void 0||t===void 0){const s=n&&lo(n);if(!s)e=n.clientWidth,t=n.clientHeight;else{const a=s.getBoundingClientRect(),l=Vn(s),c=nt(l,"border","width"),d=nt(l,"padding");e=a.width-d.width-c.width,t=a.height-d.height-c.height,i=Dn(l.maxWidth,s,"clientWidth"),o=Dn(l.maxHeight,s,"clientHeight")}}return{width:e,height:t,maxWidth:i||Sn,maxHeight:o||Sn}}const Ue=n=>Math.round(n*10)/10;function Tf(n,e,t,i){const o=Vn(n),s=nt(o,"margin"),a=Dn(o.maxWidth,n,"clientWidth")||Sn,l=Dn(o.maxHeight,n,"clientHeight")||Sn,c=Sf(n,e,t);let{width:d,height:u}=c;if(o.boxSizing==="content-box"){const f=nt(o,"border","width"),p=nt(o,"padding");d-=p.width+f.width,u-=p.height+f.height}return d=Math.max(0,d-s.width),u=Math.max(0,i?d/i:u-s.height),d=Ue(Math.min(d,a,c.maxWidth)),u=Ue(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Ue(d/2)),(e!==void 0||t!==void 0)&&i&&c.height&&u>c.height&&(u=c.height,d=Ue(Math.floor(u*i))),{width:d,height:u}}function bs(n,e,t){const i=e||1,o=Ue(n.height*i),s=Ue(n.width*i);n.height=Ue(n.height),n.width=Ue(n.width);const a=n.canvas;return a.style&&(t||!a.style.height&&!a.style.width)&&(a.style.height=`${n.height}px`,a.style.width=`${n.width}px`),n.currentDevicePixelRatio!==i||a.height!==o||a.width!==s?(n.currentDevicePixelRatio=i,a.height=o,a.width=s,n.ctx.setTransform(i,0,0,i,0,0),!0):!1}const $f=function(){let n=!1;try{const e={get passive(){return n=!0,!1}};ao()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return n}();function ys(n,e){const t=xf(n,e),i=t&&t.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}const Bf=function(n,e){return{x(t){return n+n+e-t},setWidth(t){e=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,i){return t-i},leftForLtr(t,i){return t-i}}},Pf=function(){return{x(n){return n},setWidth(n){},textAlign(n){return n},xPlus(n,e){return n+e},leftForLtr(n,e){return n}}};function bt(n,e,t){return n?Bf(e,t):Pf()}function ks(n,e){let t,i;(e==="ltr"||e==="rtl")&&(t=n.canvas.style,i=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),n.prevTextDirection=i)}function Cs(n,e){e!==void 0&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function Nn(n,e,t){return n.options.clip?n[t]:e[t]}function Mf(n,e){const{xScale:t,yScale:i}=n;return t&&i?{left:Nn(t,e,"left"),right:Nn(t,e,"right"),top:Nn(i,e,"top"),bottom:Nn(i,e,"bottom")}:e}function Ef(n,e){const t=e._clip;if(t.disabled)return!1;const i=Mf(e,n.chartArea);return{left:t.left===!1?0:i.left-(t.left===!0?0:t.left),right:t.right===!1?n.width:i.right+(t.right===!0?0:t.right),top:t.top===!1?0:i.top-(t.top===!0?0:t.top),bottom:t.bottom===!1?n.height:i.bottom+(t.bottom===!0?0:t.bottom)}}/*!
99
+ */function Me(){}const Mh=(()=>{let n=0;return()=>n++})();function Q(n){return n==null}function oe(n){if(Array.isArray&&Array.isArray(n))return!0;const e=Object.prototype.toString.call(n);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function W(n){return n!==null&&Object.prototype.toString.call(n)==="[object Object]"}function se(n){return(typeof n=="number"||n instanceof Number)&&isFinite(+n)}function pe(n,e){return se(n)?n:e}function U(n,e){return typeof n>"u"?e:n}const Eh=(n,e)=>typeof n=="string"&&n.endsWith("%")?parseFloat(n)/100:+n/e,jr=(n,e)=>typeof n=="string"&&n.endsWith("%")?parseFloat(n)/100*e:+n;function X(n,e,t){if(n&&typeof n.call=="function")return n.apply(t,e)}function K(n,e,t,i){let o,s,a;if(oe(n))for(s=n.length,o=0;o<s;o++)e.call(t,n[o],o);else if(W(n))for(a=Object.keys(n),s=a.length,o=0;o<s;o++)e.call(t,n[a[o]],a[o])}function wn(n,e){let t,i,o,s;if(!n||!e||n.length!==e.length)return!1;for(t=0,i=n.length;t<i;++t)if(o=n[t],s=e[t],o.datasetIndex!==s.datasetIndex||o.index!==s.index)return!1;return!0}function _n(n){if(oe(n))return n.map(_n);if(W(n)){const e=Object.create(null),t=Object.keys(n),i=t.length;let o=0;for(;o<i;++o)e[t[o]]=_n(n[t[o]]);return e}return n}function Hr(n){return["__proto__","prototype","constructor"].indexOf(n)===-1}function Ah(n,e,t,i){if(!Hr(n))return;const o=e[n],s=t[n];W(o)&&W(s)?Ht(o,s,i):e[n]=_n(s)}function Ht(n,e,t){const i=oe(e)?e:[e],o=i.length;if(!W(n))return n;t=t||{};const s=t.merger||Ah;let a;for(let l=0;l<o;++l){if(a=i[l],!W(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)s(c[d],n,a,t)}return n}function Wt(n,e){return Ht(n,e,{merger:Lh})}function Lh(n,e,t){if(!Hr(n))return;const i=e[n],o=t[n];W(i)&&W(o)?Wt(i,o):Object.prototype.hasOwnProperty.call(e,n)||(e[n]=_n(o))}const Wr={"":n=>n,x:n=>n.x,y:n=>n.y};function Ih(n){const e=n.split("."),t=[];let i="";for(const o of e)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(t.push(i),i="");return t}function Oh(n){const e=Ih(n);return t=>{for(const i of e){if(i==="")break;t=t&&t[i]}return t}}function Ut(n,e){return(Wr[e]||(Wr[e]=Oh(e)))(n)}function qi(n){return n.charAt(0).toUpperCase()+n.slice(1)}const vn=n=>typeof n<"u",He=n=>typeof n=="function",Ur=(n,e)=>{if(n.size!==e.size)return!1;for(const t of n)if(!e.has(t))return!1;return!0};function Dh(n){return n.type==="mouseup"||n.type==="click"||n.type==="contextmenu"}const q=Math.PI,te=2*q,Sn=Number.POSITIVE_INFINITY,Nh=q/180,re=q/2,Qe=q/4,Yr=q*2/3,We=Math.log10,Tn=Math.sign;function $n(n,e,t){return Math.abs(n-e)<t}function Kr(n){const e=Math.round(n);n=$n(n,e,n/1e3)?e:n;const t=Math.pow(10,Math.floor(We(n))),i=n/t;return(i<=1?1:i<=2?2:i<=5?5:10)*t}function Vh(n){const e=[],t=Math.sqrt(n);let i;for(i=1;i<t;i++)n%i===0&&(e.push(i),e.push(n/i));return t===(t|0)&&e.push(t),e.sort((o,s)=>o-s).pop(),e}function zh(n){return typeof n=="symbol"||typeof n=="object"&&n!==null&&!(Symbol.toPrimitive in n||"toString"in n||"valueOf"in n)}function Bn(n){return!zh(n)&&!isNaN(parseFloat(n))&&isFinite(n)}function Fh(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}function qr(n,e,t){let i,o,s;for(i=0,o=n.length;i<o;i++)s=n[i][t],isNaN(s)||(e.min=Math.min(e.min,s),e.max=Math.max(e.max,s))}function we(n){return n*(q/180)}function Xi(n){return n*(180/q)}function Xr(n){if(!se(n))return;let e=1,t=0;for(;Math.round(n*e)/e!==n;)e*=10,t++;return t}function Gr(n,e){const t=e.x-n.x,i=e.y-n.y,o=Math.sqrt(t*t+i*i);let s=Math.atan2(i,t);return s<-.5*q&&(s+=te),{angle:s,distance:o}}function Rh(n,e){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function me(n){return(n%te+te)%te}function Pn(n,e,t,i){const o=me(n),s=me(e),a=me(t),l=me(s-o),c=me(a-o),d=me(o-s),u=me(o-a);return o===s||o===a||i&&s===a||l>c&&d<u}function ke(n,e,t){return Math.max(e,Math.min(t,n))}function jh(n){return ke(n,-32768,32767)}function Yt(n,e,t,i=1e-6){return n>=Math.min(e,t)-i&&n<=Math.max(e,t)+i}function Gi(n,e,t){t=t||(a=>n[a]<e);let i=n.length-1,o=0,s;for(;i-o>1;)s=o+i>>1,t(s)?o=s:i=s;return{lo:o,hi:i}}const Zi=(n,e,t,i)=>Gi(n,t,i?o=>{const s=n[o][e];return s<t||s===t&&n[o+1][e]===t}:o=>n[o][e]<t),Hh=(n,e,t)=>Gi(n,t,i=>n[i][e]>=t);function Wh(n,e,t){let i=0,o=n.length;for(;i<o&&n[i]<e;)i++;for(;o>i&&n[o-1]>t;)o--;return i>0||o<n.length?n.slice(i,o):n}const Zr=["push","pop","shift","splice","unshift"];function Uh(n,e){if(n._chartjs){n._chartjs.listeners.push(e);return}Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Zr.forEach(t=>{const i="_onData"+qi(t),o=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...s){const a=o.apply(this,s);return n._chartjs.listeners.forEach(l=>{typeof l[i]=="function"&&l[i](...s)}),a}})})}function Qr(n,e){const t=n._chartjs;if(!t)return;const i=t.listeners,o=i.indexOf(e);o!==-1&&i.splice(o,1),!(i.length>0)&&(Zr.forEach(s=>{delete n[s]}),delete n._chartjs)}function Yh(n){const e=new Set(n);return e.size===n.length?n:Array.from(e)}const Jr=function(){return typeof window>"u"?function(n){return n()}:window.requestAnimationFrame}();function es(n,e){let t=[],i=!1;return function(...o){t=o,i||(i=!0,Jr.call(window,()=>{i=!1,n.apply(e,t)}))}}function Kh(n,e){let t;return function(...i){return e?(clearTimeout(t),t=setTimeout(n,e,i)):n.apply(this,i),e}}const ts=n=>n==="start"?"left":n==="end"?"right":"center",ge=(n,e,t)=>n==="start"?e:n==="end"?t:(e+t)/2,qh=(n,e,t,i)=>n===(i?"left":"right")?t:n==="center"?(e+t)/2:e,Mn=n=>n===0||n===1,ns=(n,e,t)=>-(Math.pow(2,10*(n-=1))*Math.sin((n-e)*te/t)),is=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*te/t)+1,Kt={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>-Math.cos(n*re)+1,easeOutSine:n=>Math.sin(n*re),easeInOutSine:n=>-.5*(Math.cos(q*n)-1),easeInExpo:n=>n===0?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>n===1?1:-Math.pow(2,-10*n)+1,easeInOutExpo:n=>Mn(n)?n:n<.5?.5*Math.pow(2,10*(n*2-1)):.5*(-Math.pow(2,-10*(n*2-1))+2),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>Mn(n)?n:ns(n,.075,.3),easeOutElastic:n=>Mn(n)?n:is(n,.075,.3),easeInOutElastic(n){return Mn(n)?n:n<.5?.5*ns(n*2,.1125,.45):.5+.5*is(n*2-1,.1125,.45)},easeInBack(n){return n*n*((1.70158+1)*n-1.70158)},easeOutBack(n){return(n-=1)*n*((1.70158+1)*n+1.70158)+1},easeInOutBack(n){let e=1.70158;return(n/=.5)<1?.5*(n*n*(((e*=1.525)+1)*n-e)):.5*((n-=2)*n*(((e*=1.525)+1)*n+e)+2)},easeInBounce:n=>1-Kt.easeOutBounce(1-n),easeOutBounce(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},easeInOutBounce:n=>n<.5?Kt.easeInBounce(n*2)*.5:Kt.easeOutBounce(n*2-1)*.5+.5};function os(n){if(n&&typeof n=="object"){const e=n.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function rs(n){return os(n)?n:new jt(n)}function Qi(n){return os(n)?n:new jt(n).saturate(.5).darken(.1).hexString()}const Xh=["x","y","borderWidth","radius","tension"],Gh=["color","borderColor","backgroundColor"];function Zh(n){n.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),n.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),n.set("animations",{colors:{type:"color",properties:Gh},numbers:{type:"number",properties:Xh}}),n.describe("animations",{_fallback:"animation"}),n.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function Qh(n){n.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const ss=new Map;function Jh(n,e){e=e||{};const t=n+JSON.stringify(e);let i=ss.get(t);return i||(i=new Intl.NumberFormat(n,e),ss.set(t,i)),i}function En(n,e,t){return Jh(e,t).format(n)}const as={values(n){return oe(n)?n:""+n},numeric(n,e,t){if(n===0)return"0";const i=this.chart.options.locale;let o,s=n;if(t.length>1){const d=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),s=ef(n,t)}const a=We(Math.abs(s)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),En(n,i,c)},logarithmic(n,e,t){if(n===0)return"0";const i=t[e].significand||n/Math.pow(10,Math.floor(We(n)));return[1,2,3,5,10,15].includes(i)||e>.8*t.length?as.numeric.call(this,n,e,t):""}};function ef(n,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&n!==Math.floor(n)&&(t=n-Math.floor(n)),t}var An={formatters:as};function tf(n){n.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:An.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),n.route("scale.ticks","color","","color"),n.route("scale.grid","color","","borderColor"),n.route("scale.border","color","","borderColor"),n.route("scale.title","color","","color"),n.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),n.describe("scales",{_fallback:"scale"}),n.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Je=Object.create(null),Ji=Object.create(null);function qt(n,e){if(!e)return n;const t=e.split(".");for(let i=0,o=t.length;i<o;++i){const s=t[i];n=n[s]||(n[s]=Object.create(null))}return n}function eo(n,e,t){return typeof e=="string"?Ht(qt(n,e),t):Ht(qt(n,""),e)}class nf{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,o)=>Qi(o.backgroundColor),this.hoverBorderColor=(i,o)=>Qi(o.borderColor),this.hoverColor=(i,o)=>Qi(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return eo(this,e,t)}get(e){return qt(this,e)}describe(e,t){return eo(Ji,e,t)}override(e,t){return eo(Je,e,t)}route(e,t,i,o){const s=qt(this,e),a=qt(this,i),l="_"+t;Object.defineProperties(s,{[l]:{value:s[t],writable:!0},[t]:{enumerable:!0,get(){const c=this[l],d=a[o];return W(c)?Object.assign({},d,c):U(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(t=>t(this))}}var ne=new nf({_scriptable:n=>!n.startsWith("on"),_indexable:n=>n!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Zh,Qh,tf]);function of(n){return!n||Q(n.size)||Q(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}function Ln(n,e,t,i,o){let s=e[o];return s||(s=e[o]=n.measureText(o).width,t.push(o)),s>i&&(i=s),i}function rf(n,e,t,i){i=i||{};let o=i.data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},s=i.garbageCollect=[],i.font=e),n.save(),n.font=e;let a=0;const l=t.length;let c,d,u,h,p;for(c=0;c<l;c++)if(h=t[c],h!=null&&!oe(h))a=Ln(n,o,s,a,h);else if(oe(h))for(d=0,u=h.length;d<u;d++)p=h[d],p!=null&&!oe(p)&&(a=Ln(n,o,s,a,p));n.restore();const f=s.length/2;if(f>t.length){for(c=0;c<f;c++)delete o[s[c]];s.splice(0,f)}return a}function et(n,e,t){const i=n.currentDevicePixelRatio,o=t!==0?Math.max(t/2,.5):0;return Math.round((e-o)*i)/i+o}function ls(n,e){!e&&!n||(e=e||n.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,n.width,n.height),e.restore())}function cs(n,e,t,i){ds(n,e,t,i,null)}function ds(n,e,t,i,o){let s,a,l,c,d,u,h,p;const f=e.pointStyle,m=e.rotation,g=e.radius;let b=(m||0)*Nh;if(f&&typeof f=="object"&&(s=f.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){n.save(),n.translate(t,i),n.rotate(b),n.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),n.restore();return}if(!(isNaN(g)||g<=0)){switch(n.beginPath(),f){default:o?n.ellipse(t,i,o/2,g,0,0,te):n.arc(t,i,g,0,te),n.closePath();break;case"triangle":u=o?o/2:g,n.moveTo(t+Math.sin(b)*u,i-Math.cos(b)*g),b+=Yr,n.lineTo(t+Math.sin(b)*u,i-Math.cos(b)*g),b+=Yr,n.lineTo(t+Math.sin(b)*u,i-Math.cos(b)*g),n.closePath();break;case"rectRounded":d=g*.516,c=g-d,a=Math.cos(b+Qe)*c,h=Math.cos(b+Qe)*(o?o/2-d:c),l=Math.sin(b+Qe)*c,p=Math.sin(b+Qe)*(o?o/2-d:c),n.arc(t-h,i-l,d,b-q,b-re),n.arc(t+p,i-a,d,b-re,b),n.arc(t+h,i+l,d,b,b+re),n.arc(t-p,i+a,d,b+re,b+q),n.closePath();break;case"rect":if(!m){c=Math.SQRT1_2*g,u=o?o/2:c,n.rect(t-u,i-c,2*u,2*c);break}b+=Qe;case"rectRot":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,p=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+p,i-a),n.lineTo(t+h,i+l),n.lineTo(t-p,i+a),n.closePath();break;case"crossRot":b+=Qe;case"cross":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,p=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+p,i-a),n.lineTo(t-p,i+a);break;case"star":h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,p=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+p,i-a),n.lineTo(t-p,i+a),b+=Qe,h=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,l=Math.sin(b)*g,p=Math.sin(b)*(o?o/2:g),n.moveTo(t-h,i-l),n.lineTo(t+h,i+l),n.moveTo(t+p,i-a),n.lineTo(t-p,i+a);break;case"line":a=o?o/2:Math.cos(b)*g,l=Math.sin(b)*g,n.moveTo(t-a,i-l),n.lineTo(t+a,i+l);break;case"dash":n.moveTo(t,i),n.lineTo(t+Math.cos(b)*(o?o/2:g),i+Math.sin(b)*g);break;case!1:n.closePath();break}n.fill(),e.borderWidth>0&&n.stroke()}}function ft(n,e,t){return t=t||.5,!e||n&&n.x>e.left-t&&n.x<e.right+t&&n.y>e.top-t&&n.y<e.bottom+t}function to(n,e){n.save(),n.beginPath(),n.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),n.clip()}function no(n){n.restore()}function sf(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),Q(e.rotation)||n.rotate(e.rotation),e.color&&(n.fillStyle=e.color),e.textAlign&&(n.textAlign=e.textAlign),e.textBaseline&&(n.textBaseline=e.textBaseline)}function af(n,e,t,i,o){if(o.strikethrough||o.underline){const s=n.measureText(i),a=e-s.actualBoundingBoxLeft,l=e+s.actualBoundingBoxRight,c=t-s.actualBoundingBoxAscent,d=t+s.actualBoundingBoxDescent,u=o.strikethrough?(c+d)/2:d;n.strokeStyle=n.fillStyle,n.beginPath(),n.lineWidth=o.decorationWidth||2,n.moveTo(a,u),n.lineTo(l,u),n.stroke()}}function lf(n,e){const t=n.fillStyle;n.fillStyle=e.color,n.fillRect(e.left,e.top,e.width,e.height),n.fillStyle=t}function pt(n,e,t,i,o,s={}){const a=oe(e)?e:[e],l=s.strokeWidth>0&&s.strokeColor!=="";let c,d;for(n.save(),n.font=o.string,sf(n,s),c=0;c<a.length;++c)d=a[c],s.backdrop&&lf(n,s.backdrop),l&&(s.strokeColor&&(n.strokeStyle=s.strokeColor),Q(s.strokeWidth)||(n.lineWidth=s.strokeWidth),n.strokeText(d,t,i,s.maxWidth)),n.fillText(d,t,i,s.maxWidth),af(n,t,i,d,s),i+=Number(o.lineHeight);n.restore()}function In(n,e){const{x:t,y:i,w:o,h:s,radius:a}=e;n.arc(t+a.topLeft,i+a.topLeft,a.topLeft,1.5*q,q,!0),n.lineTo(t,i+s-a.bottomLeft),n.arc(t+a.bottomLeft,i+s-a.bottomLeft,a.bottomLeft,q,re,!0),n.lineTo(t+o-a.bottomRight,i+s),n.arc(t+o-a.bottomRight,i+s-a.bottomRight,a.bottomRight,re,0,!0),n.lineTo(t+o,i+a.topRight),n.arc(t+o-a.topRight,i+a.topRight,a.topRight,0,-re,!0),n.lineTo(t+a.topLeft,i)}const cf=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,df=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function uf(n,e){const t=(""+n).match(cf);if(!t||t[1]==="normal")return e*1.2;switch(n=+t[2],t[3]){case"px":return n;case"%":n/=100;break}return e*n}const hf=n=>+n||0;function io(n,e){const t={},i=W(e),o=i?Object.keys(e):e,s=W(n)?i?a=>U(n[a],n[e[a]]):a=>n[a]:()=>n;for(const a of o)t[a]=hf(s(a));return t}function ff(n){return io(n,{top:"y",right:"x",bottom:"y",left:"x"})}function mt(n){return io(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ue(n){const e=ff(n);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function le(n,e){n=n||{},e=e||ne.font;let t=U(n.size,e.size);typeof t=="string"&&(t=parseInt(t,10));let i=U(n.style,e.style);i&&!(""+i).match(df)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:U(n.family,e.family),lineHeight:uf(U(n.lineHeight,e.lineHeight),t),size:t,style:i,weight:U(n.weight,e.weight),string:""};return o.string=of(o),o}function On(n,e,t,i){let o,s,a;for(o=0,s=n.length;o<s;++o)if(a=n[o],a!==void 0&&a!==void 0)return a}function pf(n,e,t){const{min:i,max:o}=n,s=jr(e,(o-i)/2),a=(l,c)=>t&&l===0?0:l+c;return{min:a(i,-Math.abs(s)),max:a(o,s)}}function tt(n,e){return Object.assign(Object.create(n),e)}function oo(n,e=[""],t,i,o=()=>n[0]){const s=t||n;typeof i>"u"&&(i=ms("_fallback",n));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:s,_fallback:i,_getTarget:o,override:l=>oo([l,...n],e,s,i)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete n[0][c],!0},get(l,c){return hs(l,c,()=>wf(c,e,n,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(n[0])},has(l,c){return gs(l).includes(c)},ownKeys(l){return gs(l)},set(l,c,d){const u=l._storage||(l._storage=o());return l[c]=u[c]=d,delete l._keys,!0}})}function gt(n,e,t,i){const o={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:us(n,i),setContext:s=>gt(n,s,t,i),override:s=>gt(n.override(s),e,t,i)};return new Proxy(o,{deleteProperty(s,a){return delete s[a],delete n[a],!0},get(s,a,l){return hs(s,a,()=>gf(s,a,l))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(n,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,a)},getPrototypeOf(){return Reflect.getPrototypeOf(n)},has(s,a){return Reflect.has(n,a)},ownKeys(){return Reflect.ownKeys(n)},set(s,a,l){return n[a]=l,delete s[a],!0}})}function us(n,e={scriptable:!0,indexable:!0}){const{_scriptable:t=e.scriptable,_indexable:i=e.indexable,_allKeys:o=e.allKeys}=n;return{allKeys:o,scriptable:t,indexable:i,isScriptable:He(t)?t:()=>t,isIndexable:He(i)?i:()=>i}}const mf=(n,e)=>n?n+qi(e):e,ro=(n,e)=>W(e)&&n!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function hs(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e)||e==="constructor")return n[e];const i=t();return n[e]=i,i}function gf(n,e,t){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;let l=i[e];return He(l)&&a.isScriptable(e)&&(l=bf(e,l,n,t)),oe(l)&&l.length&&(l=yf(e,l,n,a.isIndexable)),ro(e,l)&&(l=gt(l,o,s&&s[e],a)),l}function bf(n,e,t,i){const{_proxy:o,_context:s,_subProxy:a,_stack:l}=t;if(l.has(n))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+n);l.add(n);let c=e(s,a||i);return l.delete(n),ro(n,c)&&(c=so(o._scopes,o,n,c)),c}function yf(n,e,t,i){const{_proxy:o,_context:s,_subProxy:a,_descriptors:l}=t;if(typeof s.index<"u"&&i(n))return e[s.index%e.length];if(W(e[0])){const c=e,d=o._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=so(d,o,n,u);e.push(gt(h,s,a&&a[n],l))}}return e}function fs(n,e,t){return He(n)?n(e,t):n}const kf=(n,e)=>n===!0?e:typeof n=="string"?Ut(e,n):void 0;function Cf(n,e,t,i,o){for(const s of e){const a=kf(t,s);if(a){n.add(a);const l=fs(a._fallback,t,o);if(typeof l<"u"&&l!==t&&l!==i)return l}else if(a===!1&&typeof i<"u"&&t!==i)return null}return!1}function so(n,e,t,i){const o=e._rootScopes,s=fs(e._fallback,t,i),a=[...n,...o],l=new Set;l.add(i);let c=ps(l,a,t,s||t,i);return c===null||typeof s<"u"&&s!==t&&(c=ps(l,a,s,c,i),c===null)?!1:oo(Array.from(l),[""],o,s,()=>xf(e,t,i))}function ps(n,e,t,i,o){for(;t;)t=Cf(n,e,t,i,o);return t}function xf(n,e,t){const i=n._getTarget();e in i||(i[e]={});const o=i[e];return oe(o)&&W(t)?t:o||{}}function wf(n,e,t,i){let o;for(const s of e)if(o=ms(mf(s,n),t),typeof o<"u")return ro(n,o)?so(t,i,n,o):o}function ms(n,e){for(const t of e){if(!t)continue;const i=t[n];if(typeof i<"u")return i}}function gs(n){let e=n._keys;return e||(e=n._keys=_f(n._scopes)),e}function _f(n){const e=new Set;for(const t of n)for(const i of Object.keys(t).filter(o=>!o.startsWith("_")))e.add(i);return Array.from(e)}function ao(){return typeof window<"u"&&typeof document<"u"}function lo(n){let e=n.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Dn(n,e,t){let i;return typeof n=="string"?(i=parseInt(n,10),n.indexOf("%")!==-1&&(i=i/100*e.parentNode[t])):i=n,i}const Nn=n=>n.ownerDocument.defaultView.getComputedStyle(n,null);function vf(n,e){return Nn(n).getPropertyValue(e)}const Sf=["top","right","bottom","left"];function nt(n,e,t){const i={};t=t?"-"+t:"";for(let o=0;o<4;o++){const s=Sf[o];i[s]=parseFloat(n[e+"-"+s+t])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Tf=(n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot);function $f(n,e){const t=n.touches,i=t&&t.length?t[0]:n,{offsetX:o,offsetY:s}=i;let a=!1,l,c;if(Tf(o,s,n.target))l=o,c=s;else{const d=e.getBoundingClientRect();l=i.clientX-d.left,c=i.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function it(n,e){if("native"in n)return n;const{canvas:t,currentDevicePixelRatio:i}=e,o=Nn(t),s=o.boxSizing==="border-box",a=nt(o,"padding"),l=nt(o,"border","width"),{x:c,y:d,box:u}=$f(n,t),h=a.left+(u&&l.left),p=a.top+(u&&l.top);let{width:f,height:m}=e;return s&&(f-=a.width+l.width,m-=a.height+l.height),{x:Math.round((c-h)/f*t.width/i),y:Math.round((d-p)/m*t.height/i)}}function Bf(n,e,t){let i,o;if(e===void 0||t===void 0){const s=n&&lo(n);if(!s)e=n.clientWidth,t=n.clientHeight;else{const a=s.getBoundingClientRect(),l=Nn(s),c=nt(l,"border","width"),d=nt(l,"padding");e=a.width-d.width-c.width,t=a.height-d.height-c.height,i=Dn(l.maxWidth,s,"clientWidth"),o=Dn(l.maxHeight,s,"clientHeight")}}return{width:e,height:t,maxWidth:i||Sn,maxHeight:o||Sn}}const Ue=n=>Math.round(n*10)/10;function Pf(n,e,t,i){const o=Nn(n),s=nt(o,"margin"),a=Dn(o.maxWidth,n,"clientWidth")||Sn,l=Dn(o.maxHeight,n,"clientHeight")||Sn,c=Bf(n,e,t);let{width:d,height:u}=c;if(o.boxSizing==="content-box"){const p=nt(o,"border","width"),f=nt(o,"padding");d-=f.width+p.width,u-=f.height+p.height}return d=Math.max(0,d-s.width),u=Math.max(0,i?d/i:u-s.height),d=Ue(Math.min(d,a,c.maxWidth)),u=Ue(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Ue(d/2)),(e!==void 0||t!==void 0)&&i&&c.height&&u>c.height&&(u=c.height,d=Ue(Math.floor(u*i))),{width:d,height:u}}function bs(n,e,t){const i=e||1,o=Ue(n.height*i),s=Ue(n.width*i);n.height=Ue(n.height),n.width=Ue(n.width);const a=n.canvas;return a.style&&(t||!a.style.height&&!a.style.width)&&(a.style.height=`${n.height}px`,a.style.width=`${n.width}px`),n.currentDevicePixelRatio!==i||a.height!==o||a.width!==s?(n.currentDevicePixelRatio=i,a.height=o,a.width=s,n.ctx.setTransform(i,0,0,i,0,0),!0):!1}const Mf=function(){let n=!1;try{const e={get passive(){return n=!0,!1}};ao()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return n}();function ys(n,e){const t=vf(n,e),i=t&&t.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}const Ef=function(n,e){return{x(t){return n+n+e-t},setWidth(t){e=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,i){return t-i},leftForLtr(t,i){return t-i}}},Af=function(){return{x(n){return n},setWidth(n){},textAlign(n){return n},xPlus(n,e){return n+e},leftForLtr(n,e){return n}}};function bt(n,e,t){return n?Ef(e,t):Af()}function ks(n,e){let t,i;(e==="ltr"||e==="rtl")&&(t=n.canvas.style,i=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),n.prevTextDirection=i)}function Cs(n,e){e!==void 0&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function Vn(n,e,t){return n.options.clip?n[t]:e[t]}function Lf(n,e){const{xScale:t,yScale:i}=n;return t&&i?{left:Vn(t,e,"left"),right:Vn(t,e,"right"),top:Vn(i,e,"top"),bottom:Vn(i,e,"bottom")}:e}function If(n,e){const t=e._clip;if(t.disabled)return!1;const i=Lf(e,n.chartArea);return{left:t.left===!1?0:i.left-(t.left===!0?0:t.left),right:t.right===!1?n.width:i.right+(t.right===!0?0:t.right),top:t.top===!1?0:i.top-(t.top===!0?0:t.top),bottom:t.bottom===!1?n.height:i.bottom+(t.bottom===!0?0:t.bottom)}}/*!
100
100
  * Chart.js v4.5.1
101
101
  * https://www.chartjs.org
102
102
  * (c) 2025 Chart.js Contributors
103
103
  * Released under the MIT License
104
- */class Af{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,o){const s=t.listeners[o],a=t.duration;s.forEach(l=>l({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(i-t.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Jr.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((i,o)=>{if(!i.running||!i.items.length)return;const s=i.items;let a=s.length-1,l=!1,c;for(;a>=0;--a)c=s[a],c._active?(c._total>i.duration&&(i.duration=c._total),c.tick(e),l=!0):(s[a]=s[s.length-1],s.pop());l&&(o.draw(),this._notify(o,i,e,"progress")),s.length||(i.running=!1,this._notify(o,i,e,"complete"),i.initial=!1),t+=s.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((i,o)=>Math.max(i,o._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let o=i.length-1;for(;o>=0;--o)i[o].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Ee=new Af;const xs="transparent",Lf={boolean(n,e,t){return t>.5?e:n},color(n,e,t){const i=rs(n||xs),o=i.valid&&rs(e||xs);return o&&o.valid?o.mix(i,t).hexString():e},number(n,e,t){return n+(e-n)*t}};class If{constructor(e,t,i,o){const s=t[i];o=On([e.to,o,s,e.from]);const a=On([e.from,s,o]);this._active=!0,this._fn=e.fn||Lf[e.type||typeof a],this._easing=Kt[e.easing]||Kt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const o=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=s,this._loop=!!e.loop,this._to=On([e.to,t,o,e.from]),this._from=On([e.from,o,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,o=this._prop,s=this._from,a=this._loop,l=this._to;let c;if(this._active=s!==l&&(a||t<i),!this._active){this._target[o]=l,this._notify(!0);return}if(t<0){this._target[o]=s;return}c=t/i%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(s,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,i)=>{e.push({res:t,rej:i})})}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let o=0;o<i.length;o++)i[o][t]()}}class ws{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!j(e))return;const t=Object.keys(ne.animation),i=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const s=e[o];if(!j(s))return;const a={};for(const l of t)a[l]=s[l];(oe(s.properties)&&s.properties||[o]).forEach(l=>{(l===o||!i.has(l))&&i.set(l,a)})})}_animateOptions(e,t){const i=t.options,o=Df(e,i);if(!o)return[];const s=this._createAnimations(o,i);return i.$shared&&Of(e.options.$animations,i).then(()=>{e.options=i},()=>{}),s}_createAnimations(e,t){const i=this._properties,o=[],s=e.$animations||(e.$animations={}),a=Object.keys(t),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(e,t));continue}const u=t[d];let h=s[d];const f=i.get(d);if(h)if(f&&h.active()){h.update(f,u,l);continue}else h.cancel();if(!f||!f.duration){e[d]=u;continue}s[d]=h=new If(f,e,d,u),o.push(h)}return o}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}const i=this._createAnimations(e,t);if(i.length)return Ee.add(this._chart,i),!0}}function Of(n,e){const t=[],i=Object.keys(e);for(let o=0;o<i.length;o++){const s=n[i[o]];s&&s.active()&&t.push(s.wait())}return Promise.all(t)}function Df(n,e){if(!e)return;let t=n.options;if(!t){n.options=e;return}return t.$shared&&(n.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t}function _s(n,e){const t=n&&n.options||{},i=t.reverse,o=t.min===void 0?e:0,s=t.max===void 0?e:0;return{start:i?s:o,end:i?o:s}}function Vf(n,e,t){if(t===!1)return!1;const i=_s(n,t),o=_s(e,t);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function Nf(n){let e,t,i,o;return j(n)?(e=n.top,t=n.right,i=n.bottom,o=n.left):e=t=i=o=n,{top:e,right:t,bottom:i,left:o,disabled:n===!1}}function vs(n,e){const t=[],i=n._getSortedDatasetMetas(e);let o,s;for(o=0,s=i.length;o<s;++o)t.push(i[o].index);return t}function Ss(n,e,t,i={}){const o=n.keys,s=i.mode==="single";let a,l,c,d;if(e===null)return;let u=!1;for(a=0,l=o.length;a<l;++a){if(c=+o[a],c===t){if(u=!0,i.all)continue;break}d=n.values[c],se(d)&&(s||e===0||Tn(e)===Tn(d))&&(e+=d)}return!u&&!i.all?0:e}function zf(n,e){const{iScale:t,vScale:i}=e,o=t.axis==="x"?"x":"y",s=i.axis==="x"?"x":"y",a=Object.keys(n),l=new Array(a.length);let c,d,u;for(c=0,d=a.length;c<d;++c)u=a[c],l[c]={[o]:u,[s]:n[u]};return l}function co(n,e){const t=n&&n.options.stacked;return t||t===void 0&&e.stack!==void 0}function Ff(n,e,t){return`${n.id}.${e.id}.${t.stack||t.type}`}function Rf(n){const{min:e,max:t,minDefined:i,maxDefined:o}=n.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:o?t:Number.POSITIVE_INFINITY}}function jf(n,e,t){const i=n[e]||(n[e]={});return i[t]||(i[t]={})}function Ts(n,e,t,i){for(const o of e.getMatchingVisibleMetas(i).reverse()){const s=n[o.index];if(t&&s>0||!t&&s<0)return o.index}return null}function $s(n,e){const{chart:t,_cachedMeta:i}=n,o=t._stacks||(t._stacks={}),{iScale:s,vScale:a,index:l}=i,c=s.axis,d=a.axis,u=Ff(s,a,i),h=e.length;let f;for(let p=0;p<h;++p){const m=e[p],{[c]:g,[d]:b}=m,y=m._stacks||(m._stacks={});f=y[d]=jf(o,u,g),f[l]=b,f._top=Ts(f,a,!0,i.type),f._bottom=Ts(f,a,!1,i.type);const C=f._visualValues||(f._visualValues={});C[l]=b}}function uo(n,e){const t=n.scales;return Object.keys(t).filter(i=>t[i].axis===e).shift()}function Hf(n,e){return tt(n,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Wf(n,e,t){return tt(n,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:t,index:e,mode:"default",type:"data"})}function Xt(n,e){const t=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){e=e||n._parsed;for(const o of e){const s=o._stacks;if(!s||s[i]===void 0||s[i][t]===void 0)return;delete s[i][t],s[i]._visualValues!==void 0&&s[i]._visualValues[t]!==void 0&&delete s[i]._visualValues[t]}}}const ho=n=>n==="reset"||n==="none",Bs=(n,e)=>e?n:Object.assign({},n),Uf=(n,e,t)=>n&&!e.hidden&&e._stacked&&{keys:vs(t,!0),values:null};class Gt{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=co(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Xt(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),o=(h,f,p,m)=>h==="x"?f:h==="r"?m:p,s=t.xAxisID=W(i.xAxisID,uo(e,"x")),a=t.yAxisID=W(i.yAxisID,uo(e,"y")),l=t.rAxisID=W(i.rAxisID,uo(e,"r")),c=t.indexAxis,d=t.iAxisID=o(c,s,a,l),u=t.vAxisID=o(c,a,s,l);t.xScale=this.getScaleForId(s),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(l),t.iScale=this.getScaleForId(d),t.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Qr(this._data,this),e._stacked&&Xt(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(j(t)){const o=this._cachedMeta;this._data=zf(t,o)}else if(i!==t){if(i){Qr(i,this);const o=this._cachedMeta;Xt(o),o._parsed=[]}t&&Object.isExtensible(t)&&jh(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let o=!1;this._dataCheck();const s=t._stacked;t._stacked=co(t.vScale,t),t.stack!==i.stack&&(o=!0,Xt(t),t.stack=i.stack),this._resyncElements(e),(o||s!==t._stacked)&&($s(this,t._parsed),t._stacked=co(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:o}=this,{iScale:s,_stacked:a}=i,l=s.axis;let c=e===0&&t===o.length?!0:i._sorted,d=e>0&&i._parsed[e-1],u,h,f;if(this._parsing===!1)i._parsed=o,i._sorted=!0,f=o;else{oe(o[e])?f=this.parseArrayData(i,o,e,t):j(o[e])?f=this.parseObjectData(i,o,e,t):f=this.parsePrimitiveData(i,o,e,t);const p=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<t;++u)i._parsed[u+e]=h=f[u],c&&(p()&&(c=!1),d=h);i._sorted=c}a&&$s(this,f)}parsePrimitiveData(e,t,i,o){const{iScale:s,vScale:a}=e,l=s.axis,c=a.axis,d=s.getLabels(),u=s===a,h=new Array(o);let f,p,m;for(f=0,p=o;f<p;++f)m=f+i,h[f]={[l]:u||s.parse(d[m],m),[c]:a.parse(t[m],m)};return h}parseArrayData(e,t,i,o){const{xScale:s,yScale:a}=e,l=new Array(o);let c,d,u,h;for(c=0,d=o;c<d;++c)u=c+i,h=t[u],l[c]={x:s.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,t,i,o){const{xScale:s,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(o);let u,h,f,p;for(u=0,h=o;u<h;++u)f=u+i,p=t[f],d[u]={x:s.parse(Ut(p,l),f),y:a.parse(Ut(p,c),f)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const o=this.chart,s=this._cachedMeta,a=t[e.axis],l={keys:vs(o,!0),values:t._stacks[e.axis]._visualValues};return Ss(l,a,s.index,{mode:i})}updateRangeFromParsed(e,t,i,o){const s=i[t.axis];let a=s===null?NaN:s;const l=o&&i._stacks[t.axis];o&&l&&(o.values=l,a=Ss(o,s,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){const i=this._cachedMeta,o=i._parsed,s=i._sorted&&e===i.iScale,a=o.length,l=this._getOtherScale(e),c=Uf(t,i,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Rf(l);let f,p;function m(){p=o[f];const g=p[l.axis];return!se(p[e.axis])||u>g||h<g}for(f=0;f<a&&!(!m()&&(this.updateRangeFromParsed(d,e,p,c),s));++f);if(s){for(f=a-1;f>=0;--f)if(!m()){this.updateRangeFromParsed(d,e,p,c);break}}return d}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let o,s,a;for(o=0,s=t.length;o<s;++o)a=t[o][e.axis],se(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,o=t.vScale,s=this.getParsed(e);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:o?""+o.getLabelForValue(s[o.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=Nf(W(this.options.clip,Vf(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,o=i.data||[],s=t.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let u;for(i.dataset&&i.dataset.draw(e,s,l,c),u=l;u<l+c;++u){const h=o[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,s))}for(u=0;u<a.length;++u)a[u].draw(e,s)}getStyle(e,t){const i=t?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const o=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];s=a.$context||(a.$context=Wf(this.getContext(),e,a)),s.parsed=this.getParsed(e),s.raw=o.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=Hf(this.chart.getContext(),this.index)),s.dataset=o,s.index=s.datasetIndex=this.index;return s.active=!!t,s.mode=i,s}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const o=t==="active",s=this._cachedDataOpts,a=e+"-"+t,l=s[a],c=this.enableOptionSharing&&vn(i);if(l)return Bs(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=o?[`${e}Hover`,"hover",e,""]:[e,""],f=d.getOptionScopes(this.getDataset(),u),p=Object.keys(ne.elements[e]),m=()=>this.getContext(i,o,t),g=d.resolveNamedOptions(f,p,m,h);return g.$shared&&(g.$shared=c,s[a]=Object.freeze(Bs(g,c))),g}_resolveAnimations(e,t,i){const o=this.chart,s=this._cachedDataOpts,a=`animation-${t}`,l=s[a];if(l)return l;let c;if(o.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,t),f=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(f,this.getContext(e,i,t))}const d=new ws(o,c&&c.animations);return c&&c._cacheable&&(s[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||ho(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),o=this._sharedOptions,s=this.getSharedOptions(i),a=this.includeOptions(t,s)||s!==o;return this.updateSharedOptions(s,t,i),{sharedOptions:s,includeOptions:a}}updateElement(e,t,i,o){ho(o)?Object.assign(e,i):this._resolveAnimations(t,o).update(e,i)}updateSharedOptions(e,t,i){e&&!ho(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,o){e.active=o;const s=this.getStyle(t,o);this._resolveAnimations(t,i,o).update(e,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const o=i.length,s=t.length,a=Math.min(s,o);a&&this.parse(0,a),s>o?this._insertElements(o,s-o,e):s<o&&this._removeElements(s,o-s)}_insertElements(e,t,i=!0){const o=this._cachedMeta,s=o.data,a=e+t;let l;const c=d=>{for(d.length+=t,l=d.length-1;l>=a;l--)d[l]=d[l-t]};for(c(s),l=e;l<a;++l)s[l]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(e,t),i&&this.updateElements(s,e,t,"reset")}updateElements(e,t,i,o){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const o=i._parsed.splice(e,t);i._stacked&&Xt(i,o)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,o]=e;this[t](i,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}N(Gt,"defaults",{}),N(Gt,"datasetElementType",null),N(Gt,"dataElementType",null);function Yf(n,e,t){let i=1,o=1,s=0,a=0;if(e<te){const l=n,c=l+e,d=Math.cos(l),u=Math.sin(l),h=Math.cos(c),f=Math.sin(c),p=(x,_,w)=>Pn(x,l,c,!0)?1:Math.max(_,_*t,w,w*t),m=(x,_,w)=>Pn(x,l,c,!0)?-1:Math.min(_,_*t,w,w*t),g=p(0,d,h),b=p(re,u,f),y=m(K,d,h),C=m(K+re,u,f);i=(g-y)/2,o=(b-C)/2,s=-(g+y)/2,a=-(b+C)/2}return{ratioX:i,ratioY:o,offsetX:s,offsetY:a}}class yt extends Gt{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=i;else{let s=c=>+i[c];if(j(i[e])){const{key:c="value"}=this._parsing;s=d=>+Ut(i[d],c)}let a,l;for(a=e,l=e+t;a<l;++a)o._parsed[a]=s(a)}}_getRotation(){return we(this.options.rotation-90)}_getCircumference(){return we(this.options.circumference)}_getRotationExtents(){let e=te,t=-te;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const o=this.chart.getDatasetMeta(i).controller,s=o._getRotation(),a=o._getCircumference();e=Math.min(e,s),t=Math.max(t,s+a)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,o=this._cachedMeta,s=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,l=Math.max((Math.min(i.width,i.height)-a)/2,0),c=Math.min(Bh(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:m,offsetY:g}=Yf(h,u,c),b=(i.width-a)/f,y=(i.height-a)/p,C=Math.max(Math.min(b,y)/2,0),x=jr(this.options.radius,C),_=Math.max(x*c,0),w=(x-_)/this._getVisibleDatasetWeightTotal();this.offsetX=m*x,this.offsetY=g*x,o.total=this.calculateTotal(),this.outerRadius=x-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*d,0),this.updateElements(s,0,s.length,e)}_circumference(e,t){const i=this.options,o=this._cachedMeta,s=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*s/te)}updateElements(e,t,i,o){const s=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,u=(l.left+l.right)/2,h=(l.top+l.bottom)/2,f=s&&d.animateScale,p=f?0:this.innerRadius,m=f?0:this.outerRadius,{sharedOptions:g,includeOptions:b}=this._getSharedOptions(t,o);let y=this._getRotation(),C;for(C=0;C<t;++C)y+=this._circumference(C,s);for(C=t;C<t+i;++C){const x=this._circumference(C,s),_=e[C],w={x:u+this.offsetX,y:h+this.offsetY,startAngle:y,endAngle:y+x,circumference:x,outerRadius:m,innerRadius:p};b&&(w.options=g||this.resolveDataElementOptions(C,_.active?"active":o)),y+=x,this.updateElement(_,C,w,o)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i=0,o;for(o=0;o<t.length;o++){const s=e._parsed[o];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(o)&&!t[o].hidden&&(i+=Math.abs(s))}return i}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?te*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,o=i.data.labels||[],s=En(t._parsed[e],i.options.locale);return{label:o[e]||"",value:s}}getMaxBorderWidth(e){let t=0;const i=this.chart;let o,s,a,l,c;if(!e){for(o=0,s=i.data.datasets.length;o<s;++o)if(i.isDatasetVisible(o)){a=i.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,s=e.length;o<s;++o)c=l.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(t=Math.max(t,c.borderWidth||0,c.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,o=e.length;i<o;++i){const s=this.resolveDataElementOptions(i);t=Math.max(t,s.offset||0,s.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(W(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}N(yt,"id","doughnut"),N(yt,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),N(yt,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),N(yt,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data,{labels:{pointStyle:i,textAlign:o,color:s,useBorderRadius:a,borderRadius:l}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((c,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:c,fillStyle:h.backgroundColor,fontColor:s,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:o,pointStyle:i,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}}}});class fo extends yt{}N(fo,"id","pie"),N(fo,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function ot(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class po{constructor(e){N(this,"options");this.options=e||{}}static override(e){Object.assign(po.prototype,e)}init(){}formats(){return ot()}parse(){return ot()}format(){return ot()}add(){return ot()}diff(){return ot()}startOf(){return ot()}endOf(){return ot()}}var Kf={_date:po};function qf(n,e,t,i){const{controller:o,data:s,_sorted:a}=n,l=o._cachedMeta.iScale,c=n.dataset&&n.dataset.options?n.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&s.length){const d=l._reversePixels?Fh:Zi;if(i){if(o._sharedOptions){const u=s[0],h=typeof u.getRange=="function"&&u.getRange(e);if(h){const f=d(s,e,t-h),p=d(s,e,t+h);return{lo:f.lo,hi:p.hi}}}}else{const u=d(s,e,t);if(c){const{vScale:h}=o._cachedMeta,{_parsed:f}=n,p=f.slice(0,u.lo+1).reverse().findIndex(g=>!Q(g[h.axis]));u.lo-=Math.max(0,p);const m=f.slice(u.hi).findIndex(g=>!Q(g[h.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:s.length-1}}function Zt(n,e,t,i,o){const s=n.getSortedVisibleDatasetMetas(),a=t[e];for(let l=0,c=s.length;l<c;++l){const{index:d,data:u}=s[l],{lo:h,hi:f}=qf(s[l],e,a,o);for(let p=h;p<=f;++p){const m=u[p];m.skip||i(m,d,p)}}}function Xf(n){const e=n.indexOf("x")!==-1,t=n.indexOf("y")!==-1;return function(i,o){const s=e?Math.abs(i.x-o.x):0,a=t?Math.abs(i.y-o.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}function mo(n,e,t,i,o){const s=[];return!o&&!n.isPointInArea(e)||Zt(n,t,e,function(l,c,d){!o&&!ft(l,n.chartArea,0)||l.inRange(e.x,e.y,i)&&s.push({element:l,datasetIndex:c,index:d})},!0),s}function Gf(n,e,t,i){let o=[];function s(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],i),{angle:h}=Gr(a,{x:e.x,y:e.y});Pn(h,d,u)&&o.push({element:a,datasetIndex:l,index:c})}return Zt(n,t,e,s),o}function Zf(n,e,t,i,o,s){let a=[];const l=Xf(t);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const p=u.inRange(e.x,e.y,o);if(i&&!p)return;const m=u.getCenterPoint(o);if(!(!!s||n.isPointInArea(m))&&!p)return;const b=l(e,m);b<c?(a=[{element:u,datasetIndex:h,index:f}],c=b):b===c&&a.push({element:u,datasetIndex:h,index:f})}return Zt(n,t,e,d),a}function go(n,e,t,i,o,s){return!s&&!n.isPointInArea(e)?[]:t==="r"&&!i?Gf(n,e,t,o):Zf(n,e,t,i,o,s)}function Ps(n,e,t,i,o){const s=[],a=t==="x"?"inXRange":"inYRange";let l=!1;return Zt(n,t,e,(c,d,u)=>{c[a]&&c[a](e[t],o)&&(s.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,o))}),i&&!l?[]:s}var Qf={evaluateInteractionItems:Zt,modes:{index(n,e,t,i){const o=it(e,n),s=t.axis||"x",a=t.includeInvisible||!1,l=t.intersect?mo(n,o,s,i,a):go(n,o,s,!1,i,a),c=[];return l.length?(n.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;let l=t.intersect?mo(n,o,s,i,a):go(n,o,s,!1,i,a);if(l.length>0){const c=l[0].datasetIndex,d=n.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;return mo(n,o,s,i,a)},nearest(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;return go(n,o,s,t.intersect,i,a)},x(n,e,t,i){const o=it(e,n);return Ps(n,o,"x",t.intersect,i)},y(n,e,t,i){const o=it(e,n);return Ps(n,o,"y",t.intersect,i)}}};const Ms=["left","top","right","bottom"];function Qt(n,e){return n.filter(t=>t.pos===e)}function Es(n,e){return n.filter(t=>Ms.indexOf(t.pos)===-1&&t.box.axis===e)}function Jt(n,e){return n.sort((t,i)=>{const o=e?i:t,s=e?t:i;return o.weight===s.weight?o.index-s.index:o.weight-s.weight})}function Jf(n){const e=[];let t,i,o,s,a,l;for(t=0,i=(n||[]).length;t<i;++t)o=n[t],{position:s,options:{stack:a,stackWeight:l=1}}=o,e.push({index:t,box:o,pos:s,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&s+a,stackWeight:l});return e}function ep(n){const e={};for(const t of n){const{stack:i,pos:o,stackWeight:s}=t;if(!i||!Ms.includes(o))continue;const a=e[i]||(e[i]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return e}function tp(n,e){const t=ep(n),{vBoxMaxWidth:i,hBoxMaxHeight:o}=e;let s,a,l;for(s=0,a=n.length;s<a;++s){l=n[s];const{fullSize:c}=l.box,d=t[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*i:c&&e.availableWidth,l.height=o):(l.width=i,l.height=u?u*o:c&&e.availableHeight)}return t}function np(n){const e=Jf(n),t=Jt(e.filter(d=>d.box.fullSize),!0),i=Jt(Qt(e,"left"),!0),o=Jt(Qt(e,"right")),s=Jt(Qt(e,"top"),!0),a=Jt(Qt(e,"bottom")),l=Es(e,"x"),c=Es(e,"y");return{fullSize:t,leftAndTop:i.concat(s),rightAndBottom:o.concat(c).concat(a).concat(l),chartArea:Qt(e,"chartArea"),vertical:i.concat(o).concat(c),horizontal:s.concat(a).concat(l)}}function As(n,e,t,i){return Math.max(n[t],e[t])+Math.max(n[i],e[i])}function Ls(n,e){n.top=Math.max(n.top,e.top),n.left=Math.max(n.left,e.left),n.bottom=Math.max(n.bottom,e.bottom),n.right=Math.max(n.right,e.right)}function ip(n,e,t,i){const{pos:o,box:s}=t,a=n.maxPadding;if(!j(o)){t.size&&(n[o]-=t.size);const h=i[t.stack]||{size:0,count:1};h.size=Math.max(h.size,t.horizontal?s.height:s.width),t.size=h.size/h.count,n[o]+=t.size}s.getPadding&&Ls(a,s.getPadding());const l=Math.max(0,e.outerWidth-As(a,n,"left","right")),c=Math.max(0,e.outerHeight-As(a,n,"top","bottom")),d=l!==n.w,u=c!==n.h;return n.w=l,n.h=c,t.horizontal?{same:d,other:u}:{same:u,other:d}}function op(n){const e=n.maxPadding;function t(i){const o=Math.max(e[i]-n[i],0);return n[i]+=o,o}n.y+=t("top"),n.x+=t("left"),t("right"),t("bottom")}function rp(n,e){const t=e.maxPadding;function i(o){const s={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{s[a]=Math.max(e[a],t[a])}),s}return i(n?["left","right"]:["top","bottom"])}function en(n,e,t,i){const o=[];let s,a,l,c,d,u;for(s=0,a=n.length,d=0;s<a;++s){l=n[s],c=l.box,c.update(l.width||e.w,l.height||e.h,rp(l.horizontal,e));const{same:h,other:f}=ip(e,t,l,i);d|=h&&o.length,u=u||f,c.fullSize||o.push(l)}return d&&en(o,e,t,i)||u}function zn(n,e,t,i,o){n.top=t,n.left=e,n.right=e+i,n.bottom=t+o,n.width=i,n.height=o}function Is(n,e,t,i){const o=t.padding;let{x:s,y:a}=e;for(const l of n){const c=l.box,d=i[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;vn(d.start)&&(a=d.start),c.fullSize?zn(c,o.left,a,t.outerWidth-o.right-o.left,f):zn(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;vn(d.start)&&(s=d.start),c.fullSize?zn(c,s,o.top,f,t.outerHeight-o.bottom-o.top):zn(c,s,e.top+d.placed,f,h),d.start=s,d.placed+=h,s=c.right}}e.x=s,e.y=a}var Ye={addBox(n,e){n.boxes||(n.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},n.boxes.push(e)},removeBox(n,e){const t=n.boxes?n.boxes.indexOf(e):-1;t!==-1&&n.boxes.splice(t,1)},configure(n,e,t){e.fullSize=t.fullSize,e.position=t.position,e.weight=t.weight},update(n,e,t,i){if(!n)return;const o=ue(n.options.layout.padding),s=Math.max(e-o.width,0),a=Math.max(t-o.height,0),l=np(n.boxes),c=l.vertical,d=l.horizontal;Y(n.boxes,g=>{typeof g.beforeLayout=="function"&&g.beforeLayout()});const u=c.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:t,padding:o,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},o);Ls(f,ue(i));const p=Object.assign({maxPadding:f,w:s,h:a,x:o.left,y:o.top},o),m=tp(c.concat(d),h);en(l.fullSize,p,h,m),en(c,p,h,m),en(d,p,h,m)&&en(c,p,h,m),op(p),Is(l.leftAndTop,p,h,m),p.x+=p.w,p.y+=p.h,Is(l.rightAndBottom,p,h,m),n.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Y(l.chartArea,g=>{const b=g.box;Object.assign(b,n.chartArea),b.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class Os{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,o){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,o?Math.floor(t/o):i)}}isAttached(e){return!0}updateConfig(e){}}class sp extends Os{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Fn="$chartjs",ap={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ds=n=>n===null||n==="";function lp(n,e){const t=n.style,i=n.getAttribute("height"),o=n.getAttribute("width");if(n[Fn]={initial:{height:i,width:o,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",Ds(o)){const s=ys(n,"width");s!==void 0&&(n.width=s)}if(Ds(i))if(n.style.height==="")n.height=n.width/(e||2);else{const s=ys(n,"height");s!==void 0&&(n.height=s)}return n}const Vs=$f?{passive:!0}:!1;function cp(n,e,t){n&&n.addEventListener(e,t,Vs)}function dp(n,e,t){n&&n.canvas&&n.canvas.removeEventListener(e,t,Vs)}function up(n,e){const t=ap[n.type]||n.type,{x:i,y:o}=it(n,e);return{type:t,chart:e,native:n,x:i!==void 0?i:null,y:o!==void 0?o:null}}function Rn(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function hp(n,e,t){const i=n.canvas,o=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Rn(l.addedNodes,i),a=a&&!Rn(l.removedNodes,i);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}function fp(n,e,t){const i=n.canvas,o=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Rn(l.removedNodes,i),a=a&&!Rn(l.addedNodes,i);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}const tn=new Map;let Ns=0;function zs(){const n=window.devicePixelRatio;n!==Ns&&(Ns=n,tn.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function pp(n,e){tn.size||window.addEventListener("resize",zs),tn.set(n,e)}function mp(n){tn.delete(n),tn.size||window.removeEventListener("resize",zs)}function gp(n,e,t){const i=n.canvas,o=i&&lo(i);if(!o)return;const s=es((l,c)=>{const d=o.clientWidth;t(l,c),d<o.clientWidth&&t()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||s(d,u)});return a.observe(o),pp(n,s),a}function bo(n,e,t){t&&t.disconnect(),e==="resize"&&mp(n)}function bp(n,e,t){const i=n.canvas,o=es(s=>{n.ctx!==null&&t(up(s,n))},n);return cp(i,e,o),o}class yp extends Os{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(lp(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[Fn])return!1;const i=t[Fn].initial;["height","width"].forEach(s=>{const a=i[s];Q(a)?t.removeAttribute(s):t.setAttribute(s,a)});const o=i.style||{};return Object.keys(o).forEach(s=>{t.style[s]=o[s]}),t.width=t.width,delete t[Fn],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const o=e.$proxies||(e.$proxies={}),a={attach:hp,detach:fp,resize:gp}[t]||bp;o[t]=a(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),o=i[t];if(!o)return;({attach:bo,detach:bo,resize:bo}[t]||dp)(e,t,o),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,o){return Tf(e,t,i,o)}isAttached(e){const t=e&&lo(e);return!!(t&&t.isConnected)}}function kp(n){return!ao()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?sp:yp}class rt{constructor(){N(this,"x");N(this,"y");N(this,"active",!1);N(this,"options");N(this,"$animations")}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return Bn(this.x)&&Bn(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const o={};return e.forEach(s=>{o[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),o}}N(rt,"defaults",{}),N(rt,"defaultRoutes");function Cp(n,e){const t=n.options.ticks,i=xp(n),o=Math.min(t.maxTicksLimit||i,i),s=t.major.enabled?_p(e):[],a=s.length,l=s[0],c=s[a-1],d=[];if(a>o)return vp(e,d,s,a/o),d;const u=wp(s,e,o);if(a>0){let h,f;const p=a>1?Math.round((c-l)/(a-1)):null;for(jn(e,d,u,Q(p)?0:l-p,l),h=0,f=a-1;h<f;h++)jn(e,d,u,s[h],s[h+1]);return jn(e,d,u,c,Q(p)?e.length:c+p),d}return jn(e,d,u),d}function xp(n){const e=n.options.offset,t=n._tickSize(),i=n._length/t+(e?0:1),o=n._maxLength/t;return Math.floor(Math.min(i,o))}function wp(n,e,t){const i=Sp(n),o=e.length/t;if(!i)return Math.max(o,1);const s=Oh(i);for(let a=0,l=s.length-1;a<l;a++){const c=s[a];if(c>o)return c}return Math.max(o,1)}function _p(n){const e=[];let t,i;for(t=0,i=n.length;t<i;t++)n[t].major&&e.push(t);return e}function vp(n,e,t,i){let o=0,s=t[0],a;for(i=Math.ceil(i),a=0;a<n.length;a++)a===s&&(e.push(n[a]),o++,s=t[o*i])}function jn(n,e,t,i,o){const s=W(i,0),a=Math.min(W(o,n.length),n.length);let l=0,c,d,u;for(t=Math.ceil(t),o&&(c=o-i,t=c/Math.floor(c/t)),u=s;u<0;)l++,u=Math.round(s+l*t);for(d=Math.max(s,0);d<a;d++)d===u&&(e.push(n[d]),l++,u=Math.round(s+l*t))}function Sp(n){const e=n.length;let t,i;if(e<2)return!1;for(i=n[0],t=1;t<e;++t)if(n[t]-n[t-1]!==i)return!1;return i}const Tp=n=>n==="left"?"right":n==="right"?"left":n,Fs=(n,e,t)=>e==="top"||e==="left"?n[e]+t:n[e]-t,Rs=(n,e)=>Math.min(e||n,n);function js(n,e){const t=[],i=n.length/e,o=n.length;let s=0;for(;s<o;s+=i)t.push(n[Math.floor(s)]);return t}function $p(n,e,t){const i=n.ticks.length,o=Math.min(e,i-1),s=n._startPixel,a=n._endPixel,l=1e-6;let c=n.getPixelForTick(o),d;if(!(t&&(i===1?d=Math.max(c-s,a-c):e===0?d=(n.getPixelForTick(1)-c)/2:d=(c-n.getPixelForTick(o-1))/2,c+=o<e?d:-d,c<s-l||c>a+l)))return c}function Bp(n,e){Y(n,t=>{const i=t.gc,o=i.length/2;let s;if(o>e){for(s=0;s<o;++s)delete t.data[i[s]];i.splice(0,o)}})}function nn(n){return n.drawTicks?n.tickLength:0}function Hs(n,e){if(!n.display)return 0;const t=ce(n.font,e),i=ue(n.padding);return(oe(n.text)?n.text.length:1)*t.lineHeight+i.height}function Pp(n,e){return tt(n,{scale:e,type:"scale"})}function Mp(n,e,t){return tt(n,{tick:t,index:e,type:"tick"})}function Ep(n,e,t){let i=ts(n);return(t&&e!=="right"||!t&&e==="right")&&(i=Tp(i)),i}function Ap(n,e,t,i){const{top:o,left:s,bottom:a,right:l,chart:c}=n,{chartArea:d,scales:u}=c;let h=0,f,p,m;const g=a-o,b=l-s;if(n.isHorizontal()){if(p=ge(i,s,l),j(t)){const y=Object.keys(t)[0],C=t[y];m=u[y].getPixelForValue(C)+g-e}else t==="center"?m=(d.bottom+d.top)/2+g-e:m=Fs(n,t,e);f=l-s}else{if(j(t)){const y=Object.keys(t)[0],C=t[y];p=u[y].getPixelForValue(C)-b+e}else t==="center"?p=(d.left+d.right)/2-b+e:p=Fs(n,t,e);m=ge(i,a,o),h=t==="left"?-re:re}return{titleX:p,titleY:m,maxWidth:f,rotation:h}}class kt extends rt{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:o}=this;return e=pe(e,Number.POSITIVE_INFINITY),t=pe(t,Number.NEGATIVE_INFINITY),i=pe(i,Number.POSITIVE_INFINITY),o=pe(o,Number.NEGATIVE_INFINITY),{min:pe(e,i),max:pe(t,o),minDefined:se(e),maxDefined:se(t)}}getMinMax(e){let{min:t,max:i,minDefined:o,maxDefined:s}=this.getUserBounds(),a;if(o&&s)return{min:t,max:i};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),o||(t=Math.min(t,a.min)),s||(i=Math.max(i,a.max));return t=s&&t>i?i:t,i=o&&t>i?t:i,{min:pe(t,pe(i,t)),max:pe(i,pe(t,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){X(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:o,grace:s,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=uf(this,s,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?js(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=Cp(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,i;this.isHorizontal()?(t=this.left,i=this.right):(t=this.top,i=this.bottom,e=!e),this._startPixel=t,this._endPixel=i,this._reversePixels=e,this._length=i-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){X(this.options.afterUpdate,[this])}beforeSetDimensions(){X(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){X(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),X(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){X(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,o,s;for(i=0,o=e.length;i<o;i++)s=e[i],s.label=X(t.callback,[s.value,i,e],this)}afterTickToLabelConversion(){X(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){X(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=Rs(this.ticks.length,e.ticks.maxTicksLimit),o=t.minRotation||0,s=t.maxRotation;let a=o,l,c,d;if(!this._isVisible()||!t.display||o>=s||i<=1||!this.isHorizontal()){this.labelRotation=o;return}const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,p=ke(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/i:p/(i-1),h+6>l&&(l=p/(i-(e.offset?.5:1)),c=this.maxHeight-nn(e.grid)-t.padding-Hs(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=Xi(Math.min(Math.asin(ke((u.highest.height+6)/l,-1,1)),Math.asin(ke(c/d,-1,1))-Math.asin(ke(f/d,-1,1)))),a=Math.max(o,Math.min(s,a))),this.labelRotation=a}afterCalculateLabelRotation(){X(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){X(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:o,grid:s}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=Hs(o,t.options.font);if(l?(e.width=this.maxWidth,e.height=nn(s)+c):(e.height=this.maxHeight,e.width=nn(s)+c),i.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),p=i.padding*2,m=we(this.labelRotation),g=Math.cos(m),b=Math.sin(m);if(l){const y=i.mirror?0:b*h.width+g*f.height;e.height=Math.min(this.maxHeight,e.height+y+p)}else{const y=i.mirror?0:g*h.width+b*f.height;e.width=Math.min(this.maxWidth,e.width+y+p)}this._calculatePadding(d,u,b,g)}}this._handleMargins(),l?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,o){const{ticks:{align:s,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;c?d?(f=o*e.width,p=i*t.height):(f=i*e.height,p=o*t.width):s==="start"?p=t.width:s==="end"?f=e.width:s!=="inner"&&(f=e.width/2,p=t.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((p-h+a)*this.width/(this.width-h),0)}else{let u=t.height/2,h=e.height/2;s==="start"?(u=0,h=e.height):s==="end"&&(u=t.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){X(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return t==="top"||t==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,i;for(t=0,i=e.length;t<i;t++)Q(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=js(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,i){const{ctx:o,_longestTextCache:s}=this,a=[],l=[],c=Math.floor(t/Rs(t,i));let d=0,u=0,h,f,p,m,g,b,y,C,x,_,w;for(h=0;h<t;h+=c){if(m=e[h].label,g=this._resolveTickFontOptions(h),o.font=b=g.string,y=s[b]=s[b]||{data:{},gc:[]},C=g.lineHeight,x=_=0,!Q(m)&&!oe(m))x=Ln(o,y.data,y.gc,x,m),_=C;else if(oe(m))for(f=0,p=m.length;f<p;++f)w=m[f],!Q(w)&&!oe(w)&&(x=Ln(o,y.data,y.gc,x,w),_+=C);a.push(x),l.push(_),d=Math.max(x,d),u=Math.max(_,u)}Bp(s,t);const S=a.indexOf(d),$=l.indexOf(u),B=E=>({width:a[E]||0,height:l[E]||0});return{first:B(0),last:B(t-1),widest:B(S),highest:B($),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return zh(this._alignToPixels?et(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=Mp(this.getContext(),e,i))}return this.$context||(this.$context=Pp(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,t=we(this.labelRotation),i=Math.abs(Math.cos(t)),o=Math.abs(Math.sin(t)),s=this._getLabelSizes(),a=e.autoSkipPadding||0,l=s?s.widest.width+a:0,c=s?s.highest.height+a:0;return this.isHorizontal()?c*i>l*o?l/i:c/o:c*o<l*i?c/i:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,o=this.options,{grid:s,position:a,border:l}=o,c=s.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),f=nn(s),p=[],m=l.setContext(this.getContext()),g=m.display?m.width:0,b=g/2,y=function(I){return et(i,I,g)};let C,x,_,w,S,$,B,E,A,L,T,k;if(a==="top")C=y(this.bottom),$=this.bottom-f,E=C-b,L=y(e.top)+b,k=e.bottom;else if(a==="bottom")C=y(this.top),L=e.top,k=y(e.bottom)-b,$=C+b,E=this.top+f;else if(a==="left")C=y(this.right),S=this.right-f,B=C-b,A=y(e.left)+b,T=e.right;else if(a==="right")C=y(this.left),A=e.left,T=y(e.right)-b,S=C+b,B=this.left+f;else if(t==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(j(a)){const I=Object.keys(a)[0],O=a[I];C=y(this.chart.scales[I].getPixelForValue(O))}L=e.top,k=e.bottom,$=C+b,E=$+f}else if(t==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(j(a)){const I=Object.keys(a)[0],O=a[I];C=y(this.chart.scales[I].getPixelForValue(O))}S=C-b,B=S-f,A=e.left,T=e.right}const P=W(o.ticks.maxTicksLimit,h),M=Math.max(1,Math.ceil(h/P));for(x=0;x<h;x+=M){const I=this.getContext(x),O=s.setContext(I),q=l.setContext(I),H=O.lineWidth,ae=O.color,de=q.dash||[],Le=q.dashOffset,qe=O.tickWidth,Se=O.tickColor,Xe=O.tickBorderDash||[],at=O.tickBorderDashOffset;_=$p(this,x,c),_!==void 0&&(w=et(i,_,H),d?S=B=A=T=w:$=E=L=k=w,p.push({tx1:S,ty1:$,tx2:B,ty2:E,x1:A,y1:L,x2:T,y2:k,width:H,color:ae,borderDash:de,borderDashOffset:Le,tickWidth:qe,tickColor:Se,tickBorderDash:Xe,tickBorderDashOffset:at}))}return this._ticksLength=h,this._borderValue=C,p}_computeLabelItems(e){const t=this.axis,i=this.options,{position:o,ticks:s}=i,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=s,f=nn(i.grid),p=f+u,m=h?-u:p,g=-we(this.labelRotation),b=[];let y,C,x,_,w,S,$,B,E,A,L,T,k="middle";if(o==="top")S=this.bottom-m,$=this._getXAxisLabelAlignment();else if(o==="bottom")S=this.top+m,$=this._getXAxisLabelAlignment();else if(o==="left"){const M=this._getYAxisLabelAlignment(f);$=M.textAlign,w=M.x}else if(o==="right"){const M=this._getYAxisLabelAlignment(f);$=M.textAlign,w=M.x}else if(t==="x"){if(o==="center")S=(e.top+e.bottom)/2+p;else if(j(o)){const M=Object.keys(o)[0],I=o[M];S=this.chart.scales[M].getPixelForValue(I)+p}$=this._getXAxisLabelAlignment()}else if(t==="y"){if(o==="center")w=(e.left+e.right)/2-p;else if(j(o)){const M=Object.keys(o)[0],I=o[M];w=this.chart.scales[M].getPixelForValue(I)}$=this._getYAxisLabelAlignment(f).textAlign}t==="y"&&(c==="start"?k="top":c==="end"&&(k="bottom"));const P=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){x=l[y],_=x.label;const M=s.setContext(this.getContext(y));B=this.getPixelForTick(y)+s.labelOffset,E=this._resolveTickFontOptions(y),A=E.lineHeight,L=oe(_)?_.length:1;const I=L/2,O=M.color,q=M.textStrokeColor,H=M.textStrokeWidth;let ae=$;a?(w=B,$==="inner"&&(y===C-1?ae=this.options.reverse?"left":"right":y===0?ae=this.options.reverse?"right":"left":ae="center"),o==="top"?d==="near"||g!==0?T=-L*A+A/2:d==="center"?T=-P.highest.height/2-I*A+A:T=-P.highest.height+A/2:d==="near"||g!==0?T=A/2:d==="center"?T=P.highest.height/2-I*A:T=P.highest.height-L*A,h&&(T*=-1),g!==0&&!M.showLabelBackdrop&&(w+=A/2*Math.sin(g))):(S=B,T=(1-L)*A/2);let de;if(M.showLabelBackdrop){const Le=ue(M.backdropPadding),qe=P.heights[y],Se=P.widths[y];let Xe=T-Le.top,at=0-Le.left;switch(k){case"middle":Xe-=qe/2;break;case"bottom":Xe-=qe;break}switch($){case"center":at-=Se/2;break;case"right":at-=Se;break;case"inner":y===C-1?at-=Se:y>0&&(at-=Se/2);break}de={left:at,top:Xe,width:Se+Le.width,height:qe+Le.height,color:M.backdropColor}}b.push({label:_,font:E,textOffset:T,options:{rotation:g,color:O,strokeColor:q,strokeWidth:H,textAlign:ae,textBaseline:k,translation:[w,S],backdrop:de}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-we(this.labelRotation))return e==="top"?"left":"right";let o="center";return t.align==="start"?o="left":t.align==="end"?o="right":t.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:o,padding:s}}=this.options,a=this._getLabelSizes(),l=e+s,c=a.widest.width;let d,u;return t==="left"?o?(u=this.right+s,i==="near"?d="left":i==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,i==="near"?d="right":i==="center"?(d="center",u-=c/2):(d="left",u=this.left)):t==="right"?o?(u=this.left+s,i==="near"?d="right":i==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,i==="near"?d="left":i==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:o,width:s,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,o,s,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const o=this.ticks.findIndex(s=>s.value===e);return o>=0?t.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const t=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let s,a;const l=(c,d,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(c.x,c.y),i.lineTo(d.x,d.y),i.stroke(),i.restore())};if(t.display)for(s=0,a=o.length;s<a;++s){const c=o[s];t.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),t.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:i,grid:o}}=this,s=i.setContext(this.getContext()),a=i.display?s.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,f;this.isHorizontal()?(d=et(e,this.left,a)-a/2,u=et(e,this.right,l)+l/2,h=f=c):(h=et(e,this.top,a)-a/2,f=et(e,this.bottom,l)+l/2,d=u=c),t.save(),t.lineWidth=s.width,t.strokeStyle=s.color,t.beginPath(),t.moveTo(d,h),t.lineTo(u,f),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const i=this.ctx,o=this._computeLabelArea();o&&to(i,o);const s=this.getLabelItems(e);for(const a of s){const l=a.options,c=a.font,d=a.label,u=a.textOffset;pt(i,d,0,u,c,l)}o&&no(i)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:o}}=this;if(!i.display)return;const s=ce(i.font),a=ue(i.padding),l=i.align;let c=s.lineHeight/2;t==="bottom"||t==="center"||j(t)?(c+=a.bottom,oe(i.text)&&(c+=s.lineHeight*(i.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=Ap(this,c,t,l);pt(e,i.text,0,0,s,{color:i.color,maxWidth:h,rotation:f,textAlign:Ep(l,t,o),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=W(e.grid&&e.grid.z,-1),o=W(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==kt.prototype.draw?[{z:t,draw:s=>{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:t,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",o=[];let s,a;for(s=0,a=t.length;s<a;++s){const l=t[s];l[i]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const t=this.options.ticks.setContext(this.getContext(e));return ce(t.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Hn{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;Op(t)&&(i=this.register(t));const o=this.items,s=e.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+e);return s in o||(o[s]=e,Lp(e,a,i),this.override&&ne.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,o=this.scope;i in t&&delete t[i],o&&i in ne[o]&&(delete ne[o][i],this.override&&delete Je[i])}}function Lp(n,e,t){const i=Ht(Object.create(null),[t?ne.get(t):{},ne.get(e),n.defaults]);ne.set(e,i),n.defaultRoutes&&Ip(e,n.defaultRoutes),n.descriptors&&ne.describe(e,n.descriptors)}function Ip(n,e){Object.keys(e).forEach(t=>{const i=t.split("."),o=i.pop(),s=[n].concat(i).join("."),a=e[t].split("."),l=a.pop(),c=a.join(".");ne.route(s,o,c,l)})}function Op(n){return"id"in n&&"defaults"in n}class Dp{constructor(){this.controllers=new Hn(Gt,"datasets",!0),this.elements=new Hn(rt,"elements"),this.plugins=new Hn(Object,"plugins"),this.scales=new Hn(kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach(o=>{const s=i||this._getRegistryForType(o);i||s.isForType(o)||s===this.plugins&&o.id?this._exec(e,s,o):Y(o,a=>{const l=i||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,t,i){const o=qi(e);X(i["before"+o],[],i),t[e](i),X(i["after"+o],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const o=t.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+i+".");return o}}var _e=new Dp;class Vp{constructor(){this._init=void 0}notify(e,t,i,o){if(t==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const s=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(s,e,t,i);return t==="afterDestroy"&&(this._notify(s,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,t,i,o){o=o||{};for(const s of e){const a=s.plugin,l=a[i],c=[t,o,s.options];if(X(l,c,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Q(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,o=W(i.options&&i.options.plugins,{}),s=Np(i);return o===!1&&!t?[]:Fp(e,s,o,t)}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,o=(s,a)=>s.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(o(t,i),e,"stop"),this._notify(o(i,t),e,"start")}}function Np(n){const e={},t=[],i=Object.keys(_e.plugins.items);for(let s=0;s<i.length;s++)t.push(_e.getPlugin(i[s]));const o=n.plugins||[];for(let s=0;s<o.length;s++){const a=o[s];t.indexOf(a)===-1&&(t.push(a),e[a.id]=!0)}return{plugins:t,localIds:e}}function zp(n,e){return!e&&n===!1?null:n===!0?{}:n}function Fp(n,{plugins:e,localIds:t},i,o){const s=[],a=n.getContext();for(const l of e){const c=l.id,d=zp(i[c],o);d!==null&&s.push({plugin:l,options:Rp(n.config,{plugin:l,local:t[c]},d,a)})}return s}function Rp(n,{plugin:e,local:t},i,o){const s=n.pluginScopeKeys(e),a=n.getOptionScopes(i,s);return t&&e.defaults&&a.push(e.defaults),n.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function yo(n,e){const t=ne.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function jp(n,e){let t=n;return n==="_index_"?t=e:n==="_value_"&&(t=e==="x"?"y":"x"),t}function Hp(n,e){return n===e?"_index_":"_value_"}function Ws(n){if(n==="x"||n==="y"||n==="r")return n}function Wp(n){if(n==="top"||n==="bottom")return"x";if(n==="left"||n==="right")return"y"}function ko(n,...e){if(Ws(n))return n;for(const t of e){const i=t.axis||Wp(t.position)||n.length>1&&Ws(n[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${n}' axis. Please provide 'axis' or 'position' option.`)}function Us(n,e,t){if(t[e+"AxisID"]===n)return{axis:e}}function Up(n,e){if(e.data&&e.data.datasets){const t=e.data.datasets.filter(i=>i.xAxisID===n||i.yAxisID===n);if(t.length)return Us(n,"x",t[0])||Us(n,"y",t[0])}return{}}function Yp(n,e){const t=Je[n.type]||{scales:{}},i=e.scales||{},o=yo(n.type,e),s=Object.create(null);return Object.keys(i).forEach(a=>{const l=i[a];if(!j(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=ko(a,l,Up(a,n),ne.scales[l.type]),d=Hp(c,o),u=t.scales||{};s[a]=Wt(Object.create(null),[{axis:c},l,u[c],u[d]])}),n.data.datasets.forEach(a=>{const l=a.type||n.type,c=a.indexAxis||yo(l,e),u=(Je[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=jp(h,c),p=a[f+"AxisID"]||f;s[p]=s[p]||Object.create(null),Wt(s[p],[{axis:f},i[p],u[h]])})}),Object.keys(s).forEach(a=>{const l=s[a];Wt(l,[ne.scales[l.type],ne.scale])}),s}function Ys(n){const e=n.options||(n.options={});e.plugins=W(e.plugins,{}),e.scales=Yp(n,e)}function Ks(n){return n=n||{},n.datasets=n.datasets||[],n.labels=n.labels||[],n}function Kp(n){return n=n||{},n.data=Ks(n.data),Ys(n),n}const qs=new Map,Xs=new Set;function Wn(n,e){let t=qs.get(n);return t||(t=e(),qs.set(n,t),Xs.add(t)),t}const on=(n,e,t)=>{const i=Ut(e,t);i!==void 0&&n.add(i)};class qp{constructor(e){this._config=Kp(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ks(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Ys(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Wn(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return Wn(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return Wn(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id,i=this.type;return Wn(`${i}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const i=this._scopeCache;let o=i.get(e);return(!o||t)&&(o=new Map,i.set(e,o)),o}getOptionScopes(e,t,i){const{options:o,type:s}=this,a=this._cachedScopes(e,i),l=a.get(t);if(l)return l;const c=new Set;t.forEach(u=>{e&&(c.add(e),u.forEach(h=>on(c,e,h))),u.forEach(h=>on(c,o,h)),u.forEach(h=>on(c,Je[s]||{},h)),u.forEach(h=>on(c,ne,h)),u.forEach(h=>on(c,Ji,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),Xs.has(t)&&a.set(t,d),d}chartOptionScopes(){const{options:e,type:t}=this;return[e,Je[t]||{},ne.datasets[t]||{},{type:t},ne,Ji]}resolveNamedOptions(e,t,i,o=[""]){const s={$shared:!0},{resolver:a,subPrefixes:l}=Gs(this._resolverCache,e,o);let c=a;if(Gp(a,t)){s.$shared=!1,i=He(i)?i():i;const d=this.createResolver(e,i,l);c=gt(a,i,d)}for(const d of t)s[d]=c[d];return s}createResolver(e,t,i=[""],o){const{resolver:s}=Gs(this._resolverCache,e,i);return j(t)?gt(s,t,void 0,o):s}}function Gs(n,e,t){let i=n.get(e);i||(i=new Map,n.set(e,i));const o=t.join();let s=i.get(o);return s||(s={resolver:oo(e,t),subPrefixes:t.filter(l=>!l.toLowerCase().includes("hover"))},i.set(o,s)),s}const Xp=n=>j(n)&&Object.getOwnPropertyNames(n).some(e=>He(n[e]));function Gp(n,e){const{isScriptable:t,isIndexable:i}=us(n);for(const o of e){const s=t(o),a=i(o),l=(a||s)&&n[o];if(s&&(He(l)||Xp(l))||a&&oe(l))return!0}return!1}var Zp="4.5.1";const Qp=["top","bottom","left","right","chartArea"];function Zs(n,e){return n==="top"||n==="bottom"||Qp.indexOf(n)===-1&&e==="x"}function Qs(n,e){return function(t,i){return t[n]===i[n]?t[e]-i[e]:t[n]-i[n]}}function Js(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),X(t&&t.onComplete,[n],e)}function Jp(n){const e=n.chart,t=e.options.animation;X(t&&t.onProgress,[n],e)}function ea(n){return ao()&&typeof n=="string"?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const Un={},ta=n=>{const e=ea(n);return Object.values(Un).filter(t=>t.canvas===e).pop()};function em(n,e,t){const i=Object.keys(n);for(const o of i){const s=+o;if(s>=e){const a=n[o];delete n[o],(t>0||s>e)&&(n[s+t]=a)}}}function tm(n,e,t,i){return!t||n.type==="mouseout"?null:i?e:n}let Yn=(Ke=class{static register(...e){_e.add(...e),na()}static unregister(...e){_e.remove(...e),na()}constructor(e,t){const i=this.config=new qp(t),o=ea(e),s=ta(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||kp(o)),this.platform.updateConfig(i);const l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=$h(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Vp,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Wh(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],Un[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Ee.listen(this,"complete",Js),Ee.listen(this,"progress",Jp),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:o,_aspectRatio:s}=this;return Q(e)?t&&s?s:o?i/o:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return _e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():bs(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ls(this.canvas,this.ctx),this}stop(){return Ee.stop(this),this}resize(e,t){Ee.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,o=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,t,s),l=i.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,bs(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),X(i.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};Y(t,(i,o)=>{i.id=o})}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,o=Object.keys(i).reduce((a,l)=>(a[l]=!1,a),{});let s=[];t&&(s=s.concat(Object.keys(t).map(a=>{const l=t[a],c=ko(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Y(s,a=>{const l=a.options,c=l.id,d=ko(c,l),u=W(l.type,a.dtype);(l.position===void 0||Zs(l.position,d)!==Zs(a.dposition))&&(l.position=a.dposition),o[c]=!0;let h=null;if(c in i&&i[c].type===u)h=i[c];else{const f=_e.getScale(u);h=new f({id:c,type:u,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(l,e)}),Y(o,(a,l)=>{a||delete i[l]}),Y(i,a=>{Ye.configure(this,a,a.options),Ye.addBox(this,a)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort((o,s)=>o.index-s.index),i>t){for(let o=t;o<i;++o)this._destroyDatasetMeta(o);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(Qs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((i,o)=>{t.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,o;for(this._removeUnreferencedMetasets(),i=0,o=t.length;i<o;i++){const s=t[i];let a=this.getDatasetMeta(i);const l=s.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=l,a.indexAxis=s.indexAxis||yo(l,this.options),a.order=s.order||0,a.index=i,a.label=""+s.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const c=_e.getController(l),{datasetElementType:d,dataElementType:u}=ne.datasets[l];Object.assign(c,{dataElementType:_e.getElement(u),datasetElementType:d&&_e.getElement(d)}),a.controller=new c(this,i),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Y(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),f=!o&&s.indexOf(h)===-1;h.buildOrUpdateElements(f),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),o||Y(s,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Qs("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Y(this.scales,e=>{Ye.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!Ur(t,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:o,count:s}of t){const a=i==="_removeElements"?-s:s;em(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=s=>new Set(e.filter(a=>a[0]===s).map((a,l)=>l+","+a.splice(1).join(","))),o=i(0);for(let s=1;s<t;s++)if(!Ur(o,i(s)))return;return Array.from(o).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ye.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Y(this.boxes,o=>{i&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,s)=>{o._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let t=0,i=this.data.datasets.length;t<i;++t)this.getDatasetMeta(t).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,He(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),o={meta:i,index:e,mode:t,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(i.controller._update(t),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Ee.has(this)?this.attached&&!Ee.running(this)&&Ee.start(this):(this.draw(),Js({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:i,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let o,s;for(o=0,s=t.length;o<s;++o){const a=t[o];(!e||a.visible)&&i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i={meta:e,index:e.index,cancelable:!0},o=Ef(this,e);this.notifyPlugins("beforeDatasetDraw",i)!==!1&&(o&&to(t,o),e.controller.draw(),o&&no(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return ft(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,o){const s=Qf.modes[t];return typeof s=="function"?s(this,e,i,o):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let o=i.filter(s=>s&&s._dataset===t).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(o)),o}getContext(){return this.$context||(this.$context=tt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!t.hidden}setDatasetVisibility(e,t){const i=this.getDatasetMeta(e);i.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const o=i?"show":"hide",s=this.getDatasetMeta(e),a=s.controller._resolveAnimations(void 0,o);vn(t)?(s.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),a.update(s,{visible:i}),this.update(l=>l.datasetIndex===e?o:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Ee.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ls(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Un[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(s,a)=>{t.addEventListener(this,s,a),e[s]=a},o=(s,a,l)=>{s.offsetX=a,s.offsetY=l,this._eventHandler(s)};Y(this.options.events,s=>i(s,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(c,d)=>{t.addEventListener(this,c,d),e[c]=d},o=(c,d)=>{e[c]&&(t.removeEventListener(this,c,d),delete e[c])},s=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),i("resize",s),i("detach",a)};a=()=>{this.attached=!1,o("resize",s),this._stop(),this._resize(0,0),i("attach",l)},t.isAttached(this.canvas)?l():a()}unbindEvents(){Y(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Y(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const o=i?"set":"remove";let s,a,l,c;for(t==="dataset"&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map(({datasetIndex:s,index:a})=>{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[a],index:a}});!wn(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,i){const o=this.options.hover,s=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=s(t,e),l=i?e:s(e,t);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,o)===!1)return;const s=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,o),(s||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:o=[],options:s}=this,a=t,l=this._getActiveElements(e,o,i,a),c=Lh(e),d=tm(e,this._lastEvent,i,c);i&&(this._lastEvent=null,X(s.onHover,[e,l,this],this),c&&X(s.onClick,[e,l,this],this));const u=!wn(l,o);return(u||t)&&(this._active=l,this._updateHoverStyles(l,o,t)),this._lastEvent=d,u}_getActiveElements(e,t,i,o){if(e.type==="mouseout")return[];if(!i)return t;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,o)}},N(Ke,"defaults",ne),N(Ke,"instances",Un),N(Ke,"overrides",Je),N(Ke,"registry",_e),N(Ke,"version",Zp),N(Ke,"getChart",ta),Ke);function na(){return Y(Yn.instances,n=>n._plugins.invalidate())}function nm(n,e,t){const{startAngle:i,x:o,y:s,outerRadius:a,innerRadius:l,options:c}=e,{borderWidth:d,borderJoinStyle:u}=c,h=Math.min(d/a,me(i-t));if(n.beginPath(),n.arc(o,s,a-d/2,i+h/2,t-h/2),l>0){const f=Math.min(d/l,me(i-t));n.arc(o,s,l+d/2,t-f/2,i+f/2,!0)}else{const f=Math.min(d/2,a*me(i-t));if(u==="round")n.arc(o,s,f,t-K/2,i+K/2,!0);else if(u==="bevel"){const p=2*f*f,m=-p*Math.cos(t+K/2)+o,g=-p*Math.sin(t+K/2)+s,b=p*Math.cos(i+K/2)+o,y=p*Math.sin(i+K/2)+s;n.lineTo(m,g),n.lineTo(b,y)}}n.closePath(),n.moveTo(0,0),n.rect(0,0,n.canvas.width,n.canvas.height),n.clip("evenodd")}function im(n,e,t){const{startAngle:i,pixelMargin:o,x:s,y:a,outerRadius:l,innerRadius:c}=e;let d=o/l;n.beginPath(),n.arc(s,a,l,i-d,t+d),c>o?(d=o/c,n.arc(s,a,c,t+d,i-d,!0)):n.arc(s,a,o,t+re,i-re),n.closePath(),n.clip()}function om(n){return io(n,["outerStart","outerEnd","innerStart","innerEnd"])}function rm(n,e,t,i){const o=om(n.options.borderRadius),s=(t-e)/2,a=Math.min(s,i*e/2),l=c=>{const d=(t-Math.min(s,c))*i/2;return ke(c,0,Math.min(s,d))};return{outerStart:l(o.outerStart),outerEnd:l(o.outerEnd),innerStart:ke(o.innerStart,0,a),innerEnd:ke(o.innerEnd,0,a)}}function Ct(n,e,t,i){return{x:t+n*Math.cos(e),y:i+n*Math.sin(e)}}function Kn(n,e,t,i,o,s){const{x:a,y:l,startAngle:c,pixelMargin:d,innerRadius:u}=e,h=Math.max(e.outerRadius+i+t-d,0),f=u>0?u+i+t+d:0;let p=0;const m=o-c;if(i){const M=u>0?u-i:0,I=h>0?h-i:0,O=(M+I)/2,q=O!==0?m*O/(O+i):m;p=(m-q)/2}const g=Math.max(.001,m*h-t/K)/h,b=(m-g)/2,y=c+b+p,C=o-b-p,{outerStart:x,outerEnd:_,innerStart:w,innerEnd:S}=rm(e,f,h,C-y),$=h-x,B=h-_,E=y+x/$,A=C-_/B,L=f+w,T=f+S,k=y+w/L,P=C-S/T;if(n.beginPath(),s){const M=(E+A)/2;if(n.arc(a,l,h,E,M),n.arc(a,l,h,M,A),_>0){const H=Ct(B,A,a,l);n.arc(H.x,H.y,_,A,C+re)}const I=Ct(T,C,a,l);if(n.lineTo(I.x,I.y),S>0){const H=Ct(T,P,a,l);n.arc(H.x,H.y,S,C+re,P+Math.PI)}const O=(C-S/f+(y+w/f))/2;if(n.arc(a,l,f,C-S/f,O,!0),n.arc(a,l,f,O,y+w/f,!0),w>0){const H=Ct(L,k,a,l);n.arc(H.x,H.y,w,k+Math.PI,y-re)}const q=Ct($,y,a,l);if(n.lineTo(q.x,q.y),x>0){const H=Ct($,E,a,l);n.arc(H.x,H.y,x,y-re,E)}}else{n.moveTo(a,l);const M=Math.cos(E)*h+a,I=Math.sin(E)*h+l;n.lineTo(M,I);const O=Math.cos(A)*h+a,q=Math.sin(A)*h+l;n.lineTo(O,q)}n.closePath()}function sm(n,e,t,i,o){const{fullCircles:s,startAngle:a,circumference:l}=e;let c=e.endAngle;if(s){Kn(n,e,t,i,c,o);for(let d=0;d<s;++d)n.fill();isNaN(l)||(c=a+(l%te||te))}return Kn(n,e,t,i,c,o),n.fill(),c}function am(n,e,t,i,o){const{fullCircles:s,startAngle:a,circumference:l,options:c}=e,{borderWidth:d,borderJoinStyle:u,borderDash:h,borderDashOffset:f,borderRadius:p}=c,m=c.borderAlign==="inner";if(!d)return;n.setLineDash(h||[]),n.lineDashOffset=f,m?(n.lineWidth=d*2,n.lineJoin=u||"round"):(n.lineWidth=d,n.lineJoin=u||"bevel");let g=e.endAngle;if(s){Kn(n,e,t,i,g,o);for(let b=0;b<s;++b)n.stroke();isNaN(l)||(g=a+(l%te||te))}m&&im(n,e,g),c.selfJoin&&g-a>=K&&p===0&&u!=="miter"&&nm(n,e,g),s||(Kn(n,e,t,i,g,o),n.stroke())}class rn extends rt{constructor(t){super();N(this,"circumference");N(this,"endAngle");N(this,"fullCircles");N(this,"innerRadius");N(this,"outerRadius");N(this,"pixelMargin");N(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,i,o){const s=this.getProps(["x","y"],o),{angle:a,distance:l}=Gr(s,{x:t,y:i}),{startAngle:c,endAngle:d,innerRadius:u,outerRadius:h,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),p=(this.options.spacing+this.options.borderWidth)/2,m=W(f,d-c),g=Pn(a,c,d)&&c!==d,b=m>=te||g,y=Yt(l,u+p,h+p);return b&&y}getCenterPoint(t){const{x:i,y:o,startAngle:s,endAngle:a,innerRadius:l,outerRadius:c}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:d,spacing:u}=this.options,h=(s+a)/2,f=(l+c+u+d)/2;return{x:i+Math.cos(h)*f,y:o+Math.sin(h)*f}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:i,circumference:o}=this,s=(i.offset||0)/4,a=(i.spacing||0)/2,l=i.circular;if(this.pixelMargin=i.borderAlign==="inner"?.33:0,this.fullCircles=o>te?Math.floor(o/te):0,o===0||this.innerRadius<0||this.outerRadius<0)return;t.save();const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*s,Math.sin(c)*s);const d=1-Math.sin(Math.min(K,o||0)),u=s*d;t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,sm(t,this,u,a,l),am(t,this,u,a,l),t.restore()}}N(rn,"id","arc"),N(rn,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),N(rn,"defaultRoutes",{backgroundColor:"backgroundColor"}),N(rn,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"});const ia=(n,e)=>{let{boxHeight:t=e,boxWidth:i=e}=n;return n.usePointStyle&&(t=Math.min(t,e),i=n.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:t,itemHeight:Math.max(e,t)}},lm=(n,e)=>n!==null&&e!==null&&n.datasetIndex===e.datasetIndex&&n.index===e.index;class oa extends rt{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=X(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(i=>e.filter(i,this.chart.data))),e.sort&&(t=t.sort((i,o)=>e.sort(i,o,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,o=ce(i.font),s=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:c}=ia(i,s);let d,u;t.font=o.string,this.isHorizontal()?(d=this.maxWidth,u=this._fitRows(a,s,l,c)+10):(u=this.maxHeight,d=this._fitCols(a,o,l,c)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,o){const{ctx:s,maxWidth:a,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.lineWidths=[0],u=o+l;let h=e;s.textAlign="left",s.textBaseline="middle";let f=-1,p=-u;return this.legendItems.forEach((m,g)=>{const b=i+t/2+s.measureText(m.text).width;(g===0||d[d.length-1]+b+2*l>a)&&(h+=u,d[d.length-(g>0?0:1)]=0,p+=u,f++),c[g]={left:0,top:p,row:f,width:b,height:o},d[d.length-1]+=b+l}),h}_fitCols(e,t,i,o){const{ctx:s,maxHeight:a,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.columnSizes=[],u=a-e;let h=l,f=0,p=0,m=0,g=0;return this.legendItems.forEach((b,y)=>{const{itemWidth:C,itemHeight:x}=cm(i,t,s,b,o);y>0&&p+x+2*l>u&&(h+=f+l,d.push({width:f,height:p}),m+=f+l,g++,f=p=0),c[y]={left:m,top:p,col:g,width:C,height:x},f=Math.max(f,C),p+=x+l}),h+=f,d.push({width:f,height:p}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:o},rtl:s}}=this,a=bt(s,this.left,this.width);if(this.isHorizontal()){let l=0,c=ge(i,this.left+o,this.right-this.lineWidths[l]);for(const d of t)l!==d.row&&(l=d.row,c=ge(i,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(c),d.width),c+=d.width+o}else{let l=0,c=ge(i,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of t)d.col!==l&&(l=d.col,c=ge(i,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=c,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),c+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;to(e,this),this._draw(),no(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:o}=this,{align:s,labels:a}=e,l=ne.color,c=bt(e.rtl,this.left,this.width),d=ce(a.font),{padding:u}=a,h=d.size,f=h/2;let p;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:m,boxHeight:g,itemHeight:b}=ia(a,h),y=function(S,$,B){if(isNaN(m)||m<=0||isNaN(g)||g<0)return;o.save();const E=W(B.lineWidth,1);if(o.fillStyle=W(B.fillStyle,l),o.lineCap=W(B.lineCap,"butt"),o.lineDashOffset=W(B.lineDashOffset,0),o.lineJoin=W(B.lineJoin,"miter"),o.lineWidth=E,o.strokeStyle=W(B.strokeStyle,l),o.setLineDash(W(B.lineDash,[])),a.usePointStyle){const A={radius:g*Math.SQRT2/2,pointStyle:B.pointStyle,rotation:B.rotation,borderWidth:E},L=c.xPlus(S,m/2),T=$+f;ds(o,A,L,T,a.pointStyleWidth&&m)}else{const A=$+Math.max((h-g)/2,0),L=c.leftForLtr(S,m),T=mt(B.borderRadius);o.beginPath(),Object.values(T).some(k=>k!==0)?In(o,{x:L,y:A,w:m,h:g,radius:T}):o.rect(L,A,m,g),o.fill(),E!==0&&o.stroke()}o.restore()},C=function(S,$,B){pt(o,B.text,S,$+b/2,d,{strikethrough:B.hidden,textAlign:c.textAlign(B.textAlign)})},x=this.isHorizontal(),_=this._computeTitleHeight();x?p={x:ge(s,this.left+u,this.right-i[0]),y:this.top+u+_,line:0}:p={x:this.left+u,y:ge(s,this.top+_+u,this.bottom-t[0].height),line:0},ks(this.ctx,e.textDirection);const w=b+u;this.legendItems.forEach((S,$)=>{o.strokeStyle=S.fontColor,o.fillStyle=S.fontColor;const B=o.measureText(S.text).width,E=c.textAlign(S.textAlign||(S.textAlign=a.textAlign)),A=m+f+B;let L=p.x,T=p.y;c.setWidth(this.width),x?$>0&&L+A+u>this.right&&(T=p.y+=w,p.line++,L=p.x=ge(s,this.left+u,this.right-i[p.line])):$>0&&T+w>this.bottom&&(L=p.x=L+t[p.line].width+u,p.line++,T=p.y=ge(s,this.top+_+u,this.bottom-t[p.line].height));const k=c.x(L);if(y(k,T,S),L=Uh(E,L+m+f,x?L+A:this.right,e.rtl),C(c.x(L),T,S),x)p.x+=A+u;else if(typeof S.text!="string"){const P=d.lineHeight;p.y+=ra(S,P)+u}else p.y+=w}),Cs(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=ce(t.font),o=ue(t.padding);if(!t.display)return;const s=bt(e.rtl,this.left,this.width),a=this.ctx,l=t.position,c=i.size/2,d=o.top+c;let u,h=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+d,h=ge(e.align,h,this.right-f);else{const m=this.columnSizes.reduce((g,b)=>Math.max(g,b.height),0);u=d+ge(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const p=ge(l,h,h+f);a.textAlign=s.textAlign(ts(l)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=i.string,pt(a,t.text,p,u,i)}_computeTitleHeight(){const e=this.options.title,t=ce(e.font),i=ue(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,o,s;if(Yt(e,this.left,this.right)&&Yt(t,this.top,this.bottom)){for(s=this.legendHitBoxes,i=0;i<s.length;++i)if(o=s[i],Yt(e,o.left,o.left+o.width)&&Yt(t,o.top,o.top+o.height))return this.legendItems[i]}return null}handleEvent(e){const t=this.options;if(!hm(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,s=lm(o,i);o&&!s&&X(t.onLeave,[e,o,this],this),this._hoveredItem=i,i&&!s&&X(t.onHover,[e,i,this],this)}else i&&X(t.onClick,[e,i,this],this)}}function cm(n,e,t,i,o){const s=dm(i,n,e,t),a=um(o,i,e.lineHeight);return{itemWidth:s,itemHeight:a}}function dm(n,e,t,i){let o=n.text;return o&&typeof o!="string"&&(o=o.reduce((s,a)=>s.length>a.length?s:a)),e+t.size/2+i.measureText(o).width}function um(n,e,t){let i=n;return typeof e.text!="string"&&(i=ra(e,t)),i}function ra(n,e){const t=n.text?n.text.length:0;return e*t}function hm(n,e){return!!((n==="mousemove"||n==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(n==="click"||n==="mouseup"))}var fm={id:"legend",_element:oa,start(n,e,t){const i=n.legend=new oa({ctx:n.ctx,options:t,chart:n});Ye.configure(n,i,t),Ye.addBox(n,i)},stop(n){Ye.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,e,t){const i=n.legend;Ye.configure(n,i,t),i.options=t},afterUpdate(n){const e=n.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(n,e){e.replay||n.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,e,t){const i=e.datasetIndex,o=t.chart;o.isDatasetVisible(i)?(o.hide(i),e.hidden=!0):(o.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const e=n.data.datasets,{labels:{usePointStyle:t,pointStyle:i,textAlign:o,color:s,useBorderRadius:a,borderRadius:l}}=n.legend.options;return n._getSortedDatasetMetas().map(c=>{const d=c.controller.getStyle(t?0:void 0),u=ue(d.borderWidth);return{text:e[c.index].label,fillStyle:d.backgroundColor,fontColor:s,hidden:!c.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:d.borderColor,pointStyle:i||d.pointStyle,rotation:d.rotation,textAlign:o||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:c.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};const sn={average(n){if(!n.length)return!1;let e,t,i=new Set,o=0,s=0;for(e=0,t=n.length;e<t;++e){const l=n[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();i.add(c.x),o+=c.y,++s}}return s===0||i.size===0?!1:{x:[...i].reduce((l,c)=>l+c)/i.size,y:o/s}},nearest(n,e){if(!n.length)return!1;let t=e.x,i=e.y,o=Number.POSITIVE_INFINITY,s,a,l;for(s=0,a=n.length;s<a;++s){const c=n[s].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Nh(e,d);u<o&&(o=u,l=c)}}if(l){const c=l.tooltipPosition();t=c.x,i=c.y}return{x:t,y:i}}};function ve(n,e){return e&&(oe(e)?Array.prototype.push.apply(n,e):n.push(e)),n}function Ae(n){return(typeof n=="string"||n instanceof String)&&n.indexOf(`
104
+ */class Of{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,o){const s=t.listeners[o],a=t.duration;s.forEach(l=>l({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(i-t.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Jr.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((i,o)=>{if(!i.running||!i.items.length)return;const s=i.items;let a=s.length-1,l=!1,c;for(;a>=0;--a)c=s[a],c._active?(c._total>i.duration&&(i.duration=c._total),c.tick(e),l=!0):(s[a]=s[s.length-1],s.pop());l&&(o.draw(),this._notify(o,i,e,"progress")),s.length||(i.running=!1,this._notify(o,i,e,"complete"),i.initial=!1),t+=s.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((i,o)=>Math.max(i,o._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let o=i.length-1;for(;o>=0;--o)i[o].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Ee=new Of;const xs="transparent",Df={boolean(n,e,t){return t>.5?e:n},color(n,e,t){const i=rs(n||xs),o=i.valid&&rs(e||xs);return o&&o.valid?o.mix(i,t).hexString():e},number(n,e,t){return n+(e-n)*t}};class Nf{constructor(e,t,i,o){const s=t[i];o=On([e.to,o,s,e.from]);const a=On([e.from,s,o]);this._active=!0,this._fn=e.fn||Df[e.type||typeof a],this._easing=Kt[e.easing]||Kt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const o=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=s,this._loop=!!e.loop,this._to=On([e.to,t,o,e.from]),this._from=On([e.from,o,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,o=this._prop,s=this._from,a=this._loop,l=this._to;let c;if(this._active=s!==l&&(a||t<i),!this._active){this._target[o]=l,this._notify(!0);return}if(t<0){this._target[o]=s;return}c=t/i%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(s,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,i)=>{e.push({res:t,rej:i})})}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let o=0;o<i.length;o++)i[o][t]()}}class ws{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!W(e))return;const t=Object.keys(ne.animation),i=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const s=e[o];if(!W(s))return;const a={};for(const l of t)a[l]=s[l];(oe(s.properties)&&s.properties||[o]).forEach(l=>{(l===o||!i.has(l))&&i.set(l,a)})})}_animateOptions(e,t){const i=t.options,o=zf(e,i);if(!o)return[];const s=this._createAnimations(o,i);return i.$shared&&Vf(e.options.$animations,i).then(()=>{e.options=i},()=>{}),s}_createAnimations(e,t){const i=this._properties,o=[],s=e.$animations||(e.$animations={}),a=Object.keys(t),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(e,t));continue}const u=t[d];let h=s[d];const p=i.get(d);if(h)if(p&&h.active()){h.update(p,u,l);continue}else h.cancel();if(!p||!p.duration){e[d]=u;continue}s[d]=h=new Nf(p,e,d,u),o.push(h)}return o}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}const i=this._createAnimations(e,t);if(i.length)return Ee.add(this._chart,i),!0}}function Vf(n,e){const t=[],i=Object.keys(e);for(let o=0;o<i.length;o++){const s=n[i[o]];s&&s.active()&&t.push(s.wait())}return Promise.all(t)}function zf(n,e){if(!e)return;let t=n.options;if(!t){n.options=e;return}return t.$shared&&(n.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t}function _s(n,e){const t=n&&n.options||{},i=t.reverse,o=t.min===void 0?e:0,s=t.max===void 0?e:0;return{start:i?s:o,end:i?o:s}}function Ff(n,e,t){if(t===!1)return!1;const i=_s(n,t),o=_s(e,t);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function Rf(n){let e,t,i,o;return W(n)?(e=n.top,t=n.right,i=n.bottom,o=n.left):e=t=i=o=n,{top:e,right:t,bottom:i,left:o,disabled:n===!1}}function vs(n,e){const t=[],i=n._getSortedDatasetMetas(e);let o,s;for(o=0,s=i.length;o<s;++o)t.push(i[o].index);return t}function Ss(n,e,t,i={}){const o=n.keys,s=i.mode==="single";let a,l,c,d;if(e===null)return;let u=!1;for(a=0,l=o.length;a<l;++a){if(c=+o[a],c===t){if(u=!0,i.all)continue;break}d=n.values[c],se(d)&&(s||e===0||Tn(e)===Tn(d))&&(e+=d)}return!u&&!i.all?0:e}function jf(n,e){const{iScale:t,vScale:i}=e,o=t.axis==="x"?"x":"y",s=i.axis==="x"?"x":"y",a=Object.keys(n),l=new Array(a.length);let c,d,u;for(c=0,d=a.length;c<d;++c)u=a[c],l[c]={[o]:u,[s]:n[u]};return l}function co(n,e){const t=n&&n.options.stacked;return t||t===void 0&&e.stack!==void 0}function Hf(n,e,t){return`${n.id}.${e.id}.${t.stack||t.type}`}function Wf(n){const{min:e,max:t,minDefined:i,maxDefined:o}=n.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:o?t:Number.POSITIVE_INFINITY}}function Uf(n,e,t){const i=n[e]||(n[e]={});return i[t]||(i[t]={})}function Ts(n,e,t,i){for(const o of e.getMatchingVisibleMetas(i).reverse()){const s=n[o.index];if(t&&s>0||!t&&s<0)return o.index}return null}function $s(n,e){const{chart:t,_cachedMeta:i}=n,o=t._stacks||(t._stacks={}),{iScale:s,vScale:a,index:l}=i,c=s.axis,d=a.axis,u=Hf(s,a,i),h=e.length;let p;for(let f=0;f<h;++f){const m=e[f],{[c]:g,[d]:b}=m,y=m._stacks||(m._stacks={});p=y[d]=Uf(o,u,g),p[l]=b,p._top=Ts(p,a,!0,i.type),p._bottom=Ts(p,a,!1,i.type);const C=p._visualValues||(p._visualValues={});C[l]=b}}function uo(n,e){const t=n.scales;return Object.keys(t).filter(i=>t[i].axis===e).shift()}function Yf(n,e){return tt(n,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Kf(n,e,t){return tt(n,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:t,index:e,mode:"default",type:"data"})}function Xt(n,e){const t=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){e=e||n._parsed;for(const o of e){const s=o._stacks;if(!s||s[i]===void 0||s[i][t]===void 0)return;delete s[i][t],s[i]._visualValues!==void 0&&s[i]._visualValues[t]!==void 0&&delete s[i]._visualValues[t]}}}const ho=n=>n==="reset"||n==="none",Bs=(n,e)=>e?n:Object.assign({},n),qf=(n,e,t)=>n&&!e.hidden&&e._stacked&&{keys:vs(t,!0),values:null};class Gt{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=co(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Xt(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),o=(h,p,f,m)=>h==="x"?p:h==="r"?m:f,s=t.xAxisID=U(i.xAxisID,uo(e,"x")),a=t.yAxisID=U(i.yAxisID,uo(e,"y")),l=t.rAxisID=U(i.rAxisID,uo(e,"r")),c=t.indexAxis,d=t.iAxisID=o(c,s,a,l),u=t.vAxisID=o(c,a,s,l);t.xScale=this.getScaleForId(s),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(l),t.iScale=this.getScaleForId(d),t.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Qr(this._data,this),e._stacked&&Xt(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(W(t)){const o=this._cachedMeta;this._data=jf(t,o)}else if(i!==t){if(i){Qr(i,this);const o=this._cachedMeta;Xt(o),o._parsed=[]}t&&Object.isExtensible(t)&&Uh(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let o=!1;this._dataCheck();const s=t._stacked;t._stacked=co(t.vScale,t),t.stack!==i.stack&&(o=!0,Xt(t),t.stack=i.stack),this._resyncElements(e),(o||s!==t._stacked)&&($s(this,t._parsed),t._stacked=co(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:o}=this,{iScale:s,_stacked:a}=i,l=s.axis;let c=e===0&&t===o.length?!0:i._sorted,d=e>0&&i._parsed[e-1],u,h,p;if(this._parsing===!1)i._parsed=o,i._sorted=!0,p=o;else{oe(o[e])?p=this.parseArrayData(i,o,e,t):W(o[e])?p=this.parseObjectData(i,o,e,t):p=this.parsePrimitiveData(i,o,e,t);const f=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<t;++u)i._parsed[u+e]=h=p[u],c&&(f()&&(c=!1),d=h);i._sorted=c}a&&$s(this,p)}parsePrimitiveData(e,t,i,o){const{iScale:s,vScale:a}=e,l=s.axis,c=a.axis,d=s.getLabels(),u=s===a,h=new Array(o);let p,f,m;for(p=0,f=o;p<f;++p)m=p+i,h[p]={[l]:u||s.parse(d[m],m),[c]:a.parse(t[m],m)};return h}parseArrayData(e,t,i,o){const{xScale:s,yScale:a}=e,l=new Array(o);let c,d,u,h;for(c=0,d=o;c<d;++c)u=c+i,h=t[u],l[c]={x:s.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,t,i,o){const{xScale:s,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(o);let u,h,p,f;for(u=0,h=o;u<h;++u)p=u+i,f=t[p],d[u]={x:s.parse(Ut(f,l),p),y:a.parse(Ut(f,c),p)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const o=this.chart,s=this._cachedMeta,a=t[e.axis],l={keys:vs(o,!0),values:t._stacks[e.axis]._visualValues};return Ss(l,a,s.index,{mode:i})}updateRangeFromParsed(e,t,i,o){const s=i[t.axis];let a=s===null?NaN:s;const l=o&&i._stacks[t.axis];o&&l&&(o.values=l,a=Ss(o,s,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){const i=this._cachedMeta,o=i._parsed,s=i._sorted&&e===i.iScale,a=o.length,l=this._getOtherScale(e),c=qf(t,i,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Wf(l);let p,f;function m(){f=o[p];const g=f[l.axis];return!se(f[e.axis])||u>g||h<g}for(p=0;p<a&&!(!m()&&(this.updateRangeFromParsed(d,e,f,c),s));++p);if(s){for(p=a-1;p>=0;--p)if(!m()){this.updateRangeFromParsed(d,e,f,c);break}}return d}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let o,s,a;for(o=0,s=t.length;o<s;++o)a=t[o][e.axis],se(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,o=t.vScale,s=this.getParsed(e);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:o?""+o.getLabelForValue(s[o.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=Rf(U(this.options.clip,Ff(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,o=i.data||[],s=t.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let u;for(i.dataset&&i.dataset.draw(e,s,l,c),u=l;u<l+c;++u){const h=o[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,s))}for(u=0;u<a.length;++u)a[u].draw(e,s)}getStyle(e,t){const i=t?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const o=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];s=a.$context||(a.$context=Kf(this.getContext(),e,a)),s.parsed=this.getParsed(e),s.raw=o.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=Yf(this.chart.getContext(),this.index)),s.dataset=o,s.index=s.datasetIndex=this.index;return s.active=!!t,s.mode=i,s}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const o=t==="active",s=this._cachedDataOpts,a=e+"-"+t,l=s[a],c=this.enableOptionSharing&&vn(i);if(l)return Bs(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=o?[`${e}Hover`,"hover",e,""]:[e,""],p=d.getOptionScopes(this.getDataset(),u),f=Object.keys(ne.elements[e]),m=()=>this.getContext(i,o,t),g=d.resolveNamedOptions(p,f,m,h);return g.$shared&&(g.$shared=c,s[a]=Object.freeze(Bs(g,c))),g}_resolveAnimations(e,t,i){const o=this.chart,s=this._cachedDataOpts,a=`animation-${t}`,l=s[a];if(l)return l;let c;if(o.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,t),p=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(p,this.getContext(e,i,t))}const d=new ws(o,c&&c.animations);return c&&c._cacheable&&(s[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||ho(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),o=this._sharedOptions,s=this.getSharedOptions(i),a=this.includeOptions(t,s)||s!==o;return this.updateSharedOptions(s,t,i),{sharedOptions:s,includeOptions:a}}updateElement(e,t,i,o){ho(o)?Object.assign(e,i):this._resolveAnimations(t,o).update(e,i)}updateSharedOptions(e,t,i){e&&!ho(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,o){e.active=o;const s=this.getStyle(t,o);this._resolveAnimations(t,i,o).update(e,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const o=i.length,s=t.length,a=Math.min(s,o);a&&this.parse(0,a),s>o?this._insertElements(o,s-o,e):s<o&&this._removeElements(s,o-s)}_insertElements(e,t,i=!0){const o=this._cachedMeta,s=o.data,a=e+t;let l;const c=d=>{for(d.length+=t,l=d.length-1;l>=a;l--)d[l]=d[l-t]};for(c(s),l=e;l<a;++l)s[l]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(e,t),i&&this.updateElements(s,e,t,"reset")}updateElements(e,t,i,o){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const o=i._parsed.splice(e,t);i._stacked&&Xt(i,o)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,o]=e;this[t](i,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}V(Gt,"defaults",{}),V(Gt,"datasetElementType",null),V(Gt,"dataElementType",null);function Xf(n,e,t){let i=1,o=1,s=0,a=0;if(e<te){const l=n,c=l+e,d=Math.cos(l),u=Math.sin(l),h=Math.cos(c),p=Math.sin(c),f=(w,_,x)=>Pn(w,l,c,!0)?1:Math.max(_,_*t,x,x*t),m=(w,_,x)=>Pn(w,l,c,!0)?-1:Math.min(_,_*t,x,x*t),g=f(0,d,h),b=f(re,u,p),y=m(q,d,h),C=m(q+re,u,p);i=(g-y)/2,o=(b-C)/2,s=-(g+y)/2,a=-(b+C)/2}return{ratioX:i,ratioY:o,offsetX:s,offsetY:a}}class yt extends Gt{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=i;else{let s=c=>+i[c];if(W(i[e])){const{key:c="value"}=this._parsing;s=d=>+Ut(i[d],c)}let a,l;for(a=e,l=e+t;a<l;++a)o._parsed[a]=s(a)}}_getRotation(){return we(this.options.rotation-90)}_getCircumference(){return we(this.options.circumference)}_getRotationExtents(){let e=te,t=-te;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const o=this.chart.getDatasetMeta(i).controller,s=o._getRotation(),a=o._getCircumference();e=Math.min(e,s),t=Math.max(t,s+a)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,o=this._cachedMeta,s=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,l=Math.max((Math.min(i.width,i.height)-a)/2,0),c=Math.min(Eh(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:p,ratioY:f,offsetX:m,offsetY:g}=Xf(h,u,c),b=(i.width-a)/p,y=(i.height-a)/f,C=Math.max(Math.min(b,y)/2,0),w=jr(this.options.radius,C),_=Math.max(w*c,0),x=(w-_)/this._getVisibleDatasetWeightTotal();this.offsetX=m*w,this.offsetY=g*w,o.total=this.calculateTotal(),this.outerRadius=w-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*d,0),this.updateElements(s,0,s.length,e)}_circumference(e,t){const i=this.options,o=this._cachedMeta,s=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*s/te)}updateElements(e,t,i,o){const s=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,u=(l.left+l.right)/2,h=(l.top+l.bottom)/2,p=s&&d.animateScale,f=p?0:this.innerRadius,m=p?0:this.outerRadius,{sharedOptions:g,includeOptions:b}=this._getSharedOptions(t,o);let y=this._getRotation(),C;for(C=0;C<t;++C)y+=this._circumference(C,s);for(C=t;C<t+i;++C){const w=this._circumference(C,s),_=e[C],x={x:u+this.offsetX,y:h+this.offsetY,startAngle:y,endAngle:y+w,circumference:w,outerRadius:m,innerRadius:f};b&&(x.options=g||this.resolveDataElementOptions(C,_.active?"active":o)),y+=w,this.updateElement(_,C,x,o)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i=0,o;for(o=0;o<t.length;o++){const s=e._parsed[o];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(o)&&!t[o].hidden&&(i+=Math.abs(s))}return i}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?te*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,o=i.data.labels||[],s=En(t._parsed[e],i.options.locale);return{label:o[e]||"",value:s}}getMaxBorderWidth(e){let t=0;const i=this.chart;let o,s,a,l,c;if(!e){for(o=0,s=i.data.datasets.length;o<s;++o)if(i.isDatasetVisible(o)){a=i.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,s=e.length;o<s;++o)c=l.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(t=Math.max(t,c.borderWidth||0,c.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,o=e.length;i<o;++i){const s=this.resolveDataElementOptions(i);t=Math.max(t,s.offset||0,s.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(U(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}V(yt,"id","doughnut"),V(yt,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),V(yt,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),V(yt,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data,{labels:{pointStyle:i,textAlign:o,color:s,useBorderRadius:a,borderRadius:l}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((c,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:c,fillStyle:h.backgroundColor,fontColor:s,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:o,pointStyle:i,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}}}});class fo extends yt{}V(fo,"id","pie"),V(fo,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function ot(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class po{constructor(e){V(this,"options");this.options=e||{}}static override(e){Object.assign(po.prototype,e)}init(){}formats(){return ot()}parse(){return ot()}format(){return ot()}add(){return ot()}diff(){return ot()}startOf(){return ot()}endOf(){return ot()}}var Gf={_date:po};function Zf(n,e,t,i){const{controller:o,data:s,_sorted:a}=n,l=o._cachedMeta.iScale,c=n.dataset&&n.dataset.options?n.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&s.length){const d=l._reversePixels?Hh:Zi;if(i){if(o._sharedOptions){const u=s[0],h=typeof u.getRange=="function"&&u.getRange(e);if(h){const p=d(s,e,t-h),f=d(s,e,t+h);return{lo:p.lo,hi:f.hi}}}}else{const u=d(s,e,t);if(c){const{vScale:h}=o._cachedMeta,{_parsed:p}=n,f=p.slice(0,u.lo+1).reverse().findIndex(g=>!Q(g[h.axis]));u.lo-=Math.max(0,f);const m=p.slice(u.hi).findIndex(g=>!Q(g[h.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:s.length-1}}function Zt(n,e,t,i,o){const s=n.getSortedVisibleDatasetMetas(),a=t[e];for(let l=0,c=s.length;l<c;++l){const{index:d,data:u}=s[l],{lo:h,hi:p}=Zf(s[l],e,a,o);for(let f=h;f<=p;++f){const m=u[f];m.skip||i(m,d,f)}}}function Qf(n){const e=n.indexOf("x")!==-1,t=n.indexOf("y")!==-1;return function(i,o){const s=e?Math.abs(i.x-o.x):0,a=t?Math.abs(i.y-o.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}function mo(n,e,t,i,o){const s=[];return!o&&!n.isPointInArea(e)||Zt(n,t,e,function(l,c,d){!o&&!ft(l,n.chartArea,0)||l.inRange(e.x,e.y,i)&&s.push({element:l,datasetIndex:c,index:d})},!0),s}function Jf(n,e,t,i){let o=[];function s(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],i),{angle:h}=Gr(a,{x:e.x,y:e.y});Pn(h,d,u)&&o.push({element:a,datasetIndex:l,index:c})}return Zt(n,t,e,s),o}function ep(n,e,t,i,o,s){let a=[];const l=Qf(t);let c=Number.POSITIVE_INFINITY;function d(u,h,p){const f=u.inRange(e.x,e.y,o);if(i&&!f)return;const m=u.getCenterPoint(o);if(!(!!s||n.isPointInArea(m))&&!f)return;const b=l(e,m);b<c?(a=[{element:u,datasetIndex:h,index:p}],c=b):b===c&&a.push({element:u,datasetIndex:h,index:p})}return Zt(n,t,e,d),a}function go(n,e,t,i,o,s){return!s&&!n.isPointInArea(e)?[]:t==="r"&&!i?Jf(n,e,t,o):ep(n,e,t,i,o,s)}function Ps(n,e,t,i,o){const s=[],a=t==="x"?"inXRange":"inYRange";let l=!1;return Zt(n,t,e,(c,d,u)=>{c[a]&&c[a](e[t],o)&&(s.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,o))}),i&&!l?[]:s}var tp={evaluateInteractionItems:Zt,modes:{index(n,e,t,i){const o=it(e,n),s=t.axis||"x",a=t.includeInvisible||!1,l=t.intersect?mo(n,o,s,i,a):go(n,o,s,!1,i,a),c=[];return l.length?(n.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;let l=t.intersect?mo(n,o,s,i,a):go(n,o,s,!1,i,a);if(l.length>0){const c=l[0].datasetIndex,d=n.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;return mo(n,o,s,i,a)},nearest(n,e,t,i){const o=it(e,n),s=t.axis||"xy",a=t.includeInvisible||!1;return go(n,o,s,t.intersect,i,a)},x(n,e,t,i){const o=it(e,n);return Ps(n,o,"x",t.intersect,i)},y(n,e,t,i){const o=it(e,n);return Ps(n,o,"y",t.intersect,i)}}};const Ms=["left","top","right","bottom"];function Qt(n,e){return n.filter(t=>t.pos===e)}function Es(n,e){return n.filter(t=>Ms.indexOf(t.pos)===-1&&t.box.axis===e)}function Jt(n,e){return n.sort((t,i)=>{const o=e?i:t,s=e?t:i;return o.weight===s.weight?o.index-s.index:o.weight-s.weight})}function np(n){const e=[];let t,i,o,s,a,l;for(t=0,i=(n||[]).length;t<i;++t)o=n[t],{position:s,options:{stack:a,stackWeight:l=1}}=o,e.push({index:t,box:o,pos:s,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&s+a,stackWeight:l});return e}function ip(n){const e={};for(const t of n){const{stack:i,pos:o,stackWeight:s}=t;if(!i||!Ms.includes(o))continue;const a=e[i]||(e[i]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return e}function op(n,e){const t=ip(n),{vBoxMaxWidth:i,hBoxMaxHeight:o}=e;let s,a,l;for(s=0,a=n.length;s<a;++s){l=n[s];const{fullSize:c}=l.box,d=t[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*i:c&&e.availableWidth,l.height=o):(l.width=i,l.height=u?u*o:c&&e.availableHeight)}return t}function rp(n){const e=np(n),t=Jt(e.filter(d=>d.box.fullSize),!0),i=Jt(Qt(e,"left"),!0),o=Jt(Qt(e,"right")),s=Jt(Qt(e,"top"),!0),a=Jt(Qt(e,"bottom")),l=Es(e,"x"),c=Es(e,"y");return{fullSize:t,leftAndTop:i.concat(s),rightAndBottom:o.concat(c).concat(a).concat(l),chartArea:Qt(e,"chartArea"),vertical:i.concat(o).concat(c),horizontal:s.concat(a).concat(l)}}function As(n,e,t,i){return Math.max(n[t],e[t])+Math.max(n[i],e[i])}function Ls(n,e){n.top=Math.max(n.top,e.top),n.left=Math.max(n.left,e.left),n.bottom=Math.max(n.bottom,e.bottom),n.right=Math.max(n.right,e.right)}function sp(n,e,t,i){const{pos:o,box:s}=t,a=n.maxPadding;if(!W(o)){t.size&&(n[o]-=t.size);const h=i[t.stack]||{size:0,count:1};h.size=Math.max(h.size,t.horizontal?s.height:s.width),t.size=h.size/h.count,n[o]+=t.size}s.getPadding&&Ls(a,s.getPadding());const l=Math.max(0,e.outerWidth-As(a,n,"left","right")),c=Math.max(0,e.outerHeight-As(a,n,"top","bottom")),d=l!==n.w,u=c!==n.h;return n.w=l,n.h=c,t.horizontal?{same:d,other:u}:{same:u,other:d}}function ap(n){const e=n.maxPadding;function t(i){const o=Math.max(e[i]-n[i],0);return n[i]+=o,o}n.y+=t("top"),n.x+=t("left"),t("right"),t("bottom")}function lp(n,e){const t=e.maxPadding;function i(o){const s={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{s[a]=Math.max(e[a],t[a])}),s}return i(n?["left","right"]:["top","bottom"])}function en(n,e,t,i){const o=[];let s,a,l,c,d,u;for(s=0,a=n.length,d=0;s<a;++s){l=n[s],c=l.box,c.update(l.width||e.w,l.height||e.h,lp(l.horizontal,e));const{same:h,other:p}=sp(e,t,l,i);d|=h&&o.length,u=u||p,c.fullSize||o.push(l)}return d&&en(o,e,t,i)||u}function zn(n,e,t,i,o){n.top=t,n.left=e,n.right=e+i,n.bottom=t+o,n.width=i,n.height=o}function Is(n,e,t,i){const o=t.padding;let{x:s,y:a}=e;for(const l of n){const c=l.box,d=i[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,p=d.size||c.height;vn(d.start)&&(a=d.start),c.fullSize?zn(c,o.left,a,t.outerWidth-o.right-o.left,p):zn(c,e.left+d.placed,a,h,p),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,p=d.size||c.width;vn(d.start)&&(s=d.start),c.fullSize?zn(c,s,o.top,p,t.outerHeight-o.bottom-o.top):zn(c,s,e.top+d.placed,p,h),d.start=s,d.placed+=h,s=c.right}}e.x=s,e.y=a}var Ye={addBox(n,e){n.boxes||(n.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},n.boxes.push(e)},removeBox(n,e){const t=n.boxes?n.boxes.indexOf(e):-1;t!==-1&&n.boxes.splice(t,1)},configure(n,e,t){e.fullSize=t.fullSize,e.position=t.position,e.weight=t.weight},update(n,e,t,i){if(!n)return;const o=ue(n.options.layout.padding),s=Math.max(e-o.width,0),a=Math.max(t-o.height,0),l=rp(n.boxes),c=l.vertical,d=l.horizontal;K(n.boxes,g=>{typeof g.beforeLayout=="function"&&g.beforeLayout()});const u=c.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:t,padding:o,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/u,hBoxMaxHeight:a/2}),p=Object.assign({},o);Ls(p,ue(i));const f=Object.assign({maxPadding:p,w:s,h:a,x:o.left,y:o.top},o),m=op(c.concat(d),h);en(l.fullSize,f,h,m),en(c,f,h,m),en(d,f,h,m)&&en(c,f,h,m),ap(f),Is(l.leftAndTop,f,h,m),f.x+=f.w,f.y+=f.h,Is(l.rightAndBottom,f,h,m),n.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},K(l.chartArea,g=>{const b=g.box;Object.assign(b,n.chartArea),b.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class Os{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,o){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,o?Math.floor(t/o):i)}}isAttached(e){return!0}updateConfig(e){}}class cp extends Os{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Fn="$chartjs",dp={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ds=n=>n===null||n==="";function up(n,e){const t=n.style,i=n.getAttribute("height"),o=n.getAttribute("width");if(n[Fn]={initial:{height:i,width:o,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",Ds(o)){const s=ys(n,"width");s!==void 0&&(n.width=s)}if(Ds(i))if(n.style.height==="")n.height=n.width/(e||2);else{const s=ys(n,"height");s!==void 0&&(n.height=s)}return n}const Ns=Mf?{passive:!0}:!1;function hp(n,e,t){n&&n.addEventListener(e,t,Ns)}function fp(n,e,t){n&&n.canvas&&n.canvas.removeEventListener(e,t,Ns)}function pp(n,e){const t=dp[n.type]||n.type,{x:i,y:o}=it(n,e);return{type:t,chart:e,native:n,x:i!==void 0?i:null,y:o!==void 0?o:null}}function Rn(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function mp(n,e,t){const i=n.canvas,o=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Rn(l.addedNodes,i),a=a&&!Rn(l.removedNodes,i);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}function gp(n,e,t){const i=n.canvas,o=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Rn(l.removedNodes,i),a=a&&!Rn(l.addedNodes,i);a&&t()});return o.observe(document,{childList:!0,subtree:!0}),o}const tn=new Map;let Vs=0;function zs(){const n=window.devicePixelRatio;n!==Vs&&(Vs=n,tn.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function bp(n,e){tn.size||window.addEventListener("resize",zs),tn.set(n,e)}function yp(n){tn.delete(n),tn.size||window.removeEventListener("resize",zs)}function kp(n,e,t){const i=n.canvas,o=i&&lo(i);if(!o)return;const s=es((l,c)=>{const d=o.clientWidth;t(l,c),d<o.clientWidth&&t()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||s(d,u)});return a.observe(o),bp(n,s),a}function bo(n,e,t){t&&t.disconnect(),e==="resize"&&yp(n)}function Cp(n,e,t){const i=n.canvas,o=es(s=>{n.ctx!==null&&t(pp(s,n))},n);return hp(i,e,o),o}class xp extends Os{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(up(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[Fn])return!1;const i=t[Fn].initial;["height","width"].forEach(s=>{const a=i[s];Q(a)?t.removeAttribute(s):t.setAttribute(s,a)});const o=i.style||{};return Object.keys(o).forEach(s=>{t.style[s]=o[s]}),t.width=t.width,delete t[Fn],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const o=e.$proxies||(e.$proxies={}),a={attach:mp,detach:gp,resize:kp}[t]||Cp;o[t]=a(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),o=i[t];if(!o)return;({attach:bo,detach:bo,resize:bo}[t]||fp)(e,t,o),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,o){return Pf(e,t,i,o)}isAttached(e){const t=e&&lo(e);return!!(t&&t.isConnected)}}function wp(n){return!ao()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?cp:xp}class rt{constructor(){V(this,"x");V(this,"y");V(this,"active",!1);V(this,"options");V(this,"$animations")}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return Bn(this.x)&&Bn(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const o={};return e.forEach(s=>{o[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),o}}V(rt,"defaults",{}),V(rt,"defaultRoutes");function _p(n,e){const t=n.options.ticks,i=vp(n),o=Math.min(t.maxTicksLimit||i,i),s=t.major.enabled?Tp(e):[],a=s.length,l=s[0],c=s[a-1],d=[];if(a>o)return $p(e,d,s,a/o),d;const u=Sp(s,e,o);if(a>0){let h,p;const f=a>1?Math.round((c-l)/(a-1)):null;for(jn(e,d,u,Q(f)?0:l-f,l),h=0,p=a-1;h<p;h++)jn(e,d,u,s[h],s[h+1]);return jn(e,d,u,c,Q(f)?e.length:c+f),d}return jn(e,d,u),d}function vp(n){const e=n.options.offset,t=n._tickSize(),i=n._length/t+(e?0:1),o=n._maxLength/t;return Math.floor(Math.min(i,o))}function Sp(n,e,t){const i=Bp(n),o=e.length/t;if(!i)return Math.max(o,1);const s=Vh(i);for(let a=0,l=s.length-1;a<l;a++){const c=s[a];if(c>o)return c}return Math.max(o,1)}function Tp(n){const e=[];let t,i;for(t=0,i=n.length;t<i;t++)n[t].major&&e.push(t);return e}function $p(n,e,t,i){let o=0,s=t[0],a;for(i=Math.ceil(i),a=0;a<n.length;a++)a===s&&(e.push(n[a]),o++,s=t[o*i])}function jn(n,e,t,i,o){const s=U(i,0),a=Math.min(U(o,n.length),n.length);let l=0,c,d,u;for(t=Math.ceil(t),o&&(c=o-i,t=c/Math.floor(c/t)),u=s;u<0;)l++,u=Math.round(s+l*t);for(d=Math.max(s,0);d<a;d++)d===u&&(e.push(n[d]),l++,u=Math.round(s+l*t))}function Bp(n){const e=n.length;let t,i;if(e<2)return!1;for(i=n[0],t=1;t<e;++t)if(n[t]-n[t-1]!==i)return!1;return i}const Pp=n=>n==="left"?"right":n==="right"?"left":n,Fs=(n,e,t)=>e==="top"||e==="left"?n[e]+t:n[e]-t,Rs=(n,e)=>Math.min(e||n,n);function js(n,e){const t=[],i=n.length/e,o=n.length;let s=0;for(;s<o;s+=i)t.push(n[Math.floor(s)]);return t}function Mp(n,e,t){const i=n.ticks.length,o=Math.min(e,i-1),s=n._startPixel,a=n._endPixel,l=1e-6;let c=n.getPixelForTick(o),d;if(!(t&&(i===1?d=Math.max(c-s,a-c):e===0?d=(n.getPixelForTick(1)-c)/2:d=(c-n.getPixelForTick(o-1))/2,c+=o<e?d:-d,c<s-l||c>a+l)))return c}function Ep(n,e){K(n,t=>{const i=t.gc,o=i.length/2;let s;if(o>e){for(s=0;s<o;++s)delete t.data[i[s]];i.splice(0,o)}})}function nn(n){return n.drawTicks?n.tickLength:0}function Hs(n,e){if(!n.display)return 0;const t=le(n.font,e),i=ue(n.padding);return(oe(n.text)?n.text.length:1)*t.lineHeight+i.height}function Ap(n,e){return tt(n,{scale:e,type:"scale"})}function Lp(n,e,t){return tt(n,{tick:t,index:e,type:"tick"})}function Ip(n,e,t){let i=ts(n);return(t&&e!=="right"||!t&&e==="right")&&(i=Pp(i)),i}function Op(n,e,t,i){const{top:o,left:s,bottom:a,right:l,chart:c}=n,{chartArea:d,scales:u}=c;let h=0,p,f,m;const g=a-o,b=l-s;if(n.isHorizontal()){if(f=ge(i,s,l),W(t)){const y=Object.keys(t)[0],C=t[y];m=u[y].getPixelForValue(C)+g-e}else t==="center"?m=(d.bottom+d.top)/2+g-e:m=Fs(n,t,e);p=l-s}else{if(W(t)){const y=Object.keys(t)[0],C=t[y];f=u[y].getPixelForValue(C)-b+e}else t==="center"?f=(d.left+d.right)/2-b+e:f=Fs(n,t,e);m=ge(i,a,o),h=t==="left"?-re:re}return{titleX:f,titleY:m,maxWidth:p,rotation:h}}class kt extends rt{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:o}=this;return e=pe(e,Number.POSITIVE_INFINITY),t=pe(t,Number.NEGATIVE_INFINITY),i=pe(i,Number.POSITIVE_INFINITY),o=pe(o,Number.NEGATIVE_INFINITY),{min:pe(e,i),max:pe(t,o),minDefined:se(e),maxDefined:se(t)}}getMinMax(e){let{min:t,max:i,minDefined:o,maxDefined:s}=this.getUserBounds(),a;if(o&&s)return{min:t,max:i};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),o||(t=Math.min(t,a.min)),s||(i=Math.max(i,a.max));return t=s&&t>i?i:t,i=o&&t>i?t:i,{min:pe(t,pe(i,t)),max:pe(i,pe(t,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){X(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:o,grace:s,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=pf(this,s,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?js(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=_p(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,i;this.isHorizontal()?(t=this.left,i=this.right):(t=this.top,i=this.bottom,e=!e),this._startPixel=t,this._endPixel=i,this._reversePixels=e,this._length=i-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){X(this.options.afterUpdate,[this])}beforeSetDimensions(){X(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){X(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),X(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){X(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,o,s;for(i=0,o=e.length;i<o;i++)s=e[i],s.label=X(t.callback,[s.value,i,e],this)}afterTickToLabelConversion(){X(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){X(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=Rs(this.ticks.length,e.ticks.maxTicksLimit),o=t.minRotation||0,s=t.maxRotation;let a=o,l,c,d;if(!this._isVisible()||!t.display||o>=s||i<=1||!this.isHorizontal()){this.labelRotation=o;return}const u=this._getLabelSizes(),h=u.widest.width,p=u.highest.height,f=ke(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/i:f/(i-1),h+6>l&&(l=f/(i-(e.offset?.5:1)),c=this.maxHeight-nn(e.grid)-t.padding-Hs(e.title,this.chart.options.font),d=Math.sqrt(h*h+p*p),a=Xi(Math.min(Math.asin(ke((u.highest.height+6)/l,-1,1)),Math.asin(ke(c/d,-1,1))-Math.asin(ke(p/d,-1,1)))),a=Math.max(o,Math.min(s,a))),this.labelRotation=a}afterCalculateLabelRotation(){X(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){X(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:o,grid:s}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=Hs(o,t.options.font);if(l?(e.width=this.maxWidth,e.height=nn(s)+c):(e.height=this.maxHeight,e.width=nn(s)+c),i.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:p}=this._getLabelSizes(),f=i.padding*2,m=we(this.labelRotation),g=Math.cos(m),b=Math.sin(m);if(l){const y=i.mirror?0:b*h.width+g*p.height;e.height=Math.min(this.maxHeight,e.height+y+f)}else{const y=i.mirror?0:g*h.width+b*p.height;e.width=Math.min(this.maxWidth,e.width+y+f)}this._calculatePadding(d,u,b,g)}}this._handleMargins(),l?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,o){const{ticks:{align:s,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,f=0;c?d?(p=o*e.width,f=i*t.height):(p=i*e.height,f=o*t.width):s==="start"?f=t.width:s==="end"?p=e.width:s!=="inner"&&(p=e.width/2,f=t.width/2),this.paddingLeft=Math.max((p-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-h+a)*this.width/(this.width-h),0)}else{let u=t.height/2,h=e.height/2;s==="start"?(u=0,h=e.height):s==="end"&&(u=t.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){X(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return t==="top"||t==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,i;for(t=0,i=e.length;t<i;t++)Q(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=js(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,i){const{ctx:o,_longestTextCache:s}=this,a=[],l=[],c=Math.floor(t/Rs(t,i));let d=0,u=0,h,p,f,m,g,b,y,C,w,_,x;for(h=0;h<t;h+=c){if(m=e[h].label,g=this._resolveTickFontOptions(h),o.font=b=g.string,y=s[b]=s[b]||{data:{},gc:[]},C=g.lineHeight,w=_=0,!Q(m)&&!oe(m))w=Ln(o,y.data,y.gc,w,m),_=C;else if(oe(m))for(p=0,f=m.length;p<f;++p)x=m[p],!Q(x)&&!oe(x)&&(w=Ln(o,y.data,y.gc,w,x),_+=C);a.push(w),l.push(_),d=Math.max(w,d),u=Math.max(_,u)}Ep(s,t);const T=a.indexOf(d),$=l.indexOf(u),M=E=>({width:a[E]||0,height:l[E]||0});return{first:M(0),last:M(t-1),widest:M(T),highest:M($),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return jh(this._alignToPixels?et(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=Lp(this.getContext(),e,i))}return this.$context||(this.$context=Ap(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,t=we(this.labelRotation),i=Math.abs(Math.cos(t)),o=Math.abs(Math.sin(t)),s=this._getLabelSizes(),a=e.autoSkipPadding||0,l=s?s.widest.width+a:0,c=s?s.highest.height+a:0;return this.isHorizontal()?c*i>l*o?l/i:c/o:c*o<l*i?c/i:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,o=this.options,{grid:s,position:a,border:l}=o,c=s.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),p=nn(s),f=[],m=l.setContext(this.getContext()),g=m.display?m.width:0,b=g/2,y=function(I){return et(i,I,g)};let C,w,_,x,T,$,M,E,L,A,S,k;if(a==="top")C=y(this.bottom),$=this.bottom-p,E=C-b,A=y(e.top)+b,k=e.bottom;else if(a==="bottom")C=y(this.top),A=e.top,k=y(e.bottom)-b,$=C+b,E=this.top+p;else if(a==="left")C=y(this.right),T=this.right-p,M=C-b,L=y(e.left)+b,S=e.right;else if(a==="right")C=y(this.left),L=e.left,S=y(e.right)-b,T=C+b,M=this.left+p;else if(t==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(W(a)){const I=Object.keys(a)[0],O=a[I];C=y(this.chart.scales[I].getPixelForValue(O))}A=e.top,k=e.bottom,$=C+b,E=$+p}else if(t==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(W(a)){const I=Object.keys(a)[0],O=a[I];C=y(this.chart.scales[I].getPixelForValue(O))}T=C-b,M=T-p,L=e.left,S=e.right}const B=U(o.ticks.maxTicksLimit,h),P=Math.max(1,Math.ceil(h/B));for(w=0;w<h;w+=P){const I=this.getContext(w),O=s.setContext(I),j=l.setContext(I),R=O.lineWidth,ae=O.color,ce=j.dash||[],Le=j.dashOffset,qe=O.tickWidth,Se=O.tickColor,Xe=O.tickBorderDash||[],at=O.tickBorderDashOffset;_=Mp(this,w,c),_!==void 0&&(x=et(i,_,R),d?T=M=L=S=x:$=E=A=k=x,f.push({tx1:T,ty1:$,tx2:M,ty2:E,x1:L,y1:A,x2:S,y2:k,width:R,color:ae,borderDash:ce,borderDashOffset:Le,tickWidth:qe,tickColor:Se,tickBorderDash:Xe,tickBorderDashOffset:at}))}return this._ticksLength=h,this._borderValue=C,f}_computeLabelItems(e){const t=this.axis,i=this.options,{position:o,ticks:s}=i,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=s,p=nn(i.grid),f=p+u,m=h?-u:f,g=-we(this.labelRotation),b=[];let y,C,w,_,x,T,$,M,E,L,A,S,k="middle";if(o==="top")T=this.bottom-m,$=this._getXAxisLabelAlignment();else if(o==="bottom")T=this.top+m,$=this._getXAxisLabelAlignment();else if(o==="left"){const P=this._getYAxisLabelAlignment(p);$=P.textAlign,x=P.x}else if(o==="right"){const P=this._getYAxisLabelAlignment(p);$=P.textAlign,x=P.x}else if(t==="x"){if(o==="center")T=(e.top+e.bottom)/2+f;else if(W(o)){const P=Object.keys(o)[0],I=o[P];T=this.chart.scales[P].getPixelForValue(I)+f}$=this._getXAxisLabelAlignment()}else if(t==="y"){if(o==="center")x=(e.left+e.right)/2-f;else if(W(o)){const P=Object.keys(o)[0],I=o[P];x=this.chart.scales[P].getPixelForValue(I)}$=this._getYAxisLabelAlignment(p).textAlign}t==="y"&&(c==="start"?k="top":c==="end"&&(k="bottom"));const B=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){w=l[y],_=w.label;const P=s.setContext(this.getContext(y));M=this.getPixelForTick(y)+s.labelOffset,E=this._resolveTickFontOptions(y),L=E.lineHeight,A=oe(_)?_.length:1;const I=A/2,O=P.color,j=P.textStrokeColor,R=P.textStrokeWidth;let ae=$;a?(x=M,$==="inner"&&(y===C-1?ae=this.options.reverse?"left":"right":y===0?ae=this.options.reverse?"right":"left":ae="center"),o==="top"?d==="near"||g!==0?S=-A*L+L/2:d==="center"?S=-B.highest.height/2-I*L+L:S=-B.highest.height+L/2:d==="near"||g!==0?S=L/2:d==="center"?S=B.highest.height/2-I*L:S=B.highest.height-A*L,h&&(S*=-1),g!==0&&!P.showLabelBackdrop&&(x+=L/2*Math.sin(g))):(T=M,S=(1-A)*L/2);let ce;if(P.showLabelBackdrop){const Le=ue(P.backdropPadding),qe=B.heights[y],Se=B.widths[y];let Xe=S-Le.top,at=0-Le.left;switch(k){case"middle":Xe-=qe/2;break;case"bottom":Xe-=qe;break}switch($){case"center":at-=Se/2;break;case"right":at-=Se;break;case"inner":y===C-1?at-=Se:y>0&&(at-=Se/2);break}ce={left:at,top:Xe,width:Se+Le.width,height:qe+Le.height,color:P.backdropColor}}b.push({label:_,font:E,textOffset:S,options:{rotation:g,color:O,strokeColor:j,strokeWidth:R,textAlign:ae,textBaseline:k,translation:[x,T],backdrop:ce}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-we(this.labelRotation))return e==="top"?"left":"right";let o="center";return t.align==="start"?o="left":t.align==="end"?o="right":t.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:o,padding:s}}=this.options,a=this._getLabelSizes(),l=e+s,c=a.widest.width;let d,u;return t==="left"?o?(u=this.right+s,i==="near"?d="left":i==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,i==="near"?d="right":i==="center"?(d="center",u-=c/2):(d="left",u=this.left)):t==="right"?o?(u=this.left+s,i==="near"?d="right":i==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,i==="near"?d="left":i==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:o,width:s,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,o,s,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const o=this.ticks.findIndex(s=>s.value===e);return o>=0?t.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const t=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let s,a;const l=(c,d,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(c.x,c.y),i.lineTo(d.x,d.y),i.stroke(),i.restore())};if(t.display)for(s=0,a=o.length;s<a;++s){const c=o[s];t.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),t.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:i,grid:o}}=this,s=i.setContext(this.getContext()),a=i.display?s.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,p;this.isHorizontal()?(d=et(e,this.left,a)-a/2,u=et(e,this.right,l)+l/2,h=p=c):(h=et(e,this.top,a)-a/2,p=et(e,this.bottom,l)+l/2,d=u=c),t.save(),t.lineWidth=s.width,t.strokeStyle=s.color,t.beginPath(),t.moveTo(d,h),t.lineTo(u,p),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const i=this.ctx,o=this._computeLabelArea();o&&to(i,o);const s=this.getLabelItems(e);for(const a of s){const l=a.options,c=a.font,d=a.label,u=a.textOffset;pt(i,d,0,u,c,l)}o&&no(i)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:o}}=this;if(!i.display)return;const s=le(i.font),a=ue(i.padding),l=i.align;let c=s.lineHeight/2;t==="bottom"||t==="center"||W(t)?(c+=a.bottom,oe(i.text)&&(c+=s.lineHeight*(i.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:p}=Op(this,c,t,l);pt(e,i.text,0,0,s,{color:i.color,maxWidth:h,rotation:p,textAlign:Ip(l,t,o),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=U(e.grid&&e.grid.z,-1),o=U(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==kt.prototype.draw?[{z:t,draw:s=>{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:t,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",o=[];let s,a;for(s=0,a=t.length;s<a;++s){const l=t[s];l[i]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const t=this.options.ticks.setContext(this.getContext(e));return le(t.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Hn{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;Vp(t)&&(i=this.register(t));const o=this.items,s=e.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+e);return s in o||(o[s]=e,Dp(e,a,i),this.override&&ne.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,o=this.scope;i in t&&delete t[i],o&&i in ne[o]&&(delete ne[o][i],this.override&&delete Je[i])}}function Dp(n,e,t){const i=Ht(Object.create(null),[t?ne.get(t):{},ne.get(e),n.defaults]);ne.set(e,i),n.defaultRoutes&&Np(e,n.defaultRoutes),n.descriptors&&ne.describe(e,n.descriptors)}function Np(n,e){Object.keys(e).forEach(t=>{const i=t.split("."),o=i.pop(),s=[n].concat(i).join("."),a=e[t].split("."),l=a.pop(),c=a.join(".");ne.route(s,o,c,l)})}function Vp(n){return"id"in n&&"defaults"in n}class zp{constructor(){this.controllers=new Hn(Gt,"datasets",!0),this.elements=new Hn(rt,"elements"),this.plugins=new Hn(Object,"plugins"),this.scales=new Hn(kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach(o=>{const s=i||this._getRegistryForType(o);i||s.isForType(o)||s===this.plugins&&o.id?this._exec(e,s,o):K(o,a=>{const l=i||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,t,i){const o=qi(e);X(i["before"+o],[],i),t[e](i),X(i["after"+o],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const o=t.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+i+".");return o}}var _e=new zp;class Fp{constructor(){this._init=void 0}notify(e,t,i,o){if(t==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const s=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(s,e,t,i);return t==="afterDestroy"&&(this._notify(s,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,t,i,o){o=o||{};for(const s of e){const a=s.plugin,l=a[i],c=[t,o,s.options];if(X(l,c,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Q(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,o=U(i.options&&i.options.plugins,{}),s=Rp(i);return o===!1&&!t?[]:Hp(e,s,o,t)}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,o=(s,a)=>s.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(o(t,i),e,"stop"),this._notify(o(i,t),e,"start")}}function Rp(n){const e={},t=[],i=Object.keys(_e.plugins.items);for(let s=0;s<i.length;s++)t.push(_e.getPlugin(i[s]));const o=n.plugins||[];for(let s=0;s<o.length;s++){const a=o[s];t.indexOf(a)===-1&&(t.push(a),e[a.id]=!0)}return{plugins:t,localIds:e}}function jp(n,e){return!e&&n===!1?null:n===!0?{}:n}function Hp(n,{plugins:e,localIds:t},i,o){const s=[],a=n.getContext();for(const l of e){const c=l.id,d=jp(i[c],o);d!==null&&s.push({plugin:l,options:Wp(n.config,{plugin:l,local:t[c]},d,a)})}return s}function Wp(n,{plugin:e,local:t},i,o){const s=n.pluginScopeKeys(e),a=n.getOptionScopes(i,s);return t&&e.defaults&&a.push(e.defaults),n.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function yo(n,e){const t=ne.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function Up(n,e){let t=n;return n==="_index_"?t=e:n==="_value_"&&(t=e==="x"?"y":"x"),t}function Yp(n,e){return n===e?"_index_":"_value_"}function Ws(n){if(n==="x"||n==="y"||n==="r")return n}function Kp(n){if(n==="top"||n==="bottom")return"x";if(n==="left"||n==="right")return"y"}function ko(n,...e){if(Ws(n))return n;for(const t of e){const i=t.axis||Kp(t.position)||n.length>1&&Ws(n[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${n}' axis. Please provide 'axis' or 'position' option.`)}function Us(n,e,t){if(t[e+"AxisID"]===n)return{axis:e}}function qp(n,e){if(e.data&&e.data.datasets){const t=e.data.datasets.filter(i=>i.xAxisID===n||i.yAxisID===n);if(t.length)return Us(n,"x",t[0])||Us(n,"y",t[0])}return{}}function Xp(n,e){const t=Je[n.type]||{scales:{}},i=e.scales||{},o=yo(n.type,e),s=Object.create(null);return Object.keys(i).forEach(a=>{const l=i[a];if(!W(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=ko(a,l,qp(a,n),ne.scales[l.type]),d=Yp(c,o),u=t.scales||{};s[a]=Wt(Object.create(null),[{axis:c},l,u[c],u[d]])}),n.data.datasets.forEach(a=>{const l=a.type||n.type,c=a.indexAxis||yo(l,e),u=(Je[l]||{}).scales||{};Object.keys(u).forEach(h=>{const p=Up(h,c),f=a[p+"AxisID"]||p;s[f]=s[f]||Object.create(null),Wt(s[f],[{axis:p},i[f],u[h]])})}),Object.keys(s).forEach(a=>{const l=s[a];Wt(l,[ne.scales[l.type],ne.scale])}),s}function Ys(n){const e=n.options||(n.options={});e.plugins=U(e.plugins,{}),e.scales=Xp(n,e)}function Ks(n){return n=n||{},n.datasets=n.datasets||[],n.labels=n.labels||[],n}function Gp(n){return n=n||{},n.data=Ks(n.data),Ys(n),n}const qs=new Map,Xs=new Set;function Wn(n,e){let t=qs.get(n);return t||(t=e(),qs.set(n,t),Xs.add(t)),t}const on=(n,e,t)=>{const i=Ut(e,t);i!==void 0&&n.add(i)};class Zp{constructor(e){this._config=Gp(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ks(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Ys(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Wn(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return Wn(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return Wn(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id,i=this.type;return Wn(`${i}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const i=this._scopeCache;let o=i.get(e);return(!o||t)&&(o=new Map,i.set(e,o)),o}getOptionScopes(e,t,i){const{options:o,type:s}=this,a=this._cachedScopes(e,i),l=a.get(t);if(l)return l;const c=new Set;t.forEach(u=>{e&&(c.add(e),u.forEach(h=>on(c,e,h))),u.forEach(h=>on(c,o,h)),u.forEach(h=>on(c,Je[s]||{},h)),u.forEach(h=>on(c,ne,h)),u.forEach(h=>on(c,Ji,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),Xs.has(t)&&a.set(t,d),d}chartOptionScopes(){const{options:e,type:t}=this;return[e,Je[t]||{},ne.datasets[t]||{},{type:t},ne,Ji]}resolveNamedOptions(e,t,i,o=[""]){const s={$shared:!0},{resolver:a,subPrefixes:l}=Gs(this._resolverCache,e,o);let c=a;if(Jp(a,t)){s.$shared=!1,i=He(i)?i():i;const d=this.createResolver(e,i,l);c=gt(a,i,d)}for(const d of t)s[d]=c[d];return s}createResolver(e,t,i=[""],o){const{resolver:s}=Gs(this._resolverCache,e,i);return W(t)?gt(s,t,void 0,o):s}}function Gs(n,e,t){let i=n.get(e);i||(i=new Map,n.set(e,i));const o=t.join();let s=i.get(o);return s||(s={resolver:oo(e,t),subPrefixes:t.filter(l=>!l.toLowerCase().includes("hover"))},i.set(o,s)),s}const Qp=n=>W(n)&&Object.getOwnPropertyNames(n).some(e=>He(n[e]));function Jp(n,e){const{isScriptable:t,isIndexable:i}=us(n);for(const o of e){const s=t(o),a=i(o),l=(a||s)&&n[o];if(s&&(He(l)||Qp(l))||a&&oe(l))return!0}return!1}var em="4.5.1";const tm=["top","bottom","left","right","chartArea"];function Zs(n,e){return n==="top"||n==="bottom"||tm.indexOf(n)===-1&&e==="x"}function Qs(n,e){return function(t,i){return t[n]===i[n]?t[e]-i[e]:t[n]-i[n]}}function Js(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),X(t&&t.onComplete,[n],e)}function nm(n){const e=n.chart,t=e.options.animation;X(t&&t.onProgress,[n],e)}function ea(n){return ao()&&typeof n=="string"?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const Un={},ta=n=>{const e=ea(n);return Object.values(Un).filter(t=>t.canvas===e).pop()};function im(n,e,t){const i=Object.keys(n);for(const o of i){const s=+o;if(s>=e){const a=n[o];delete n[o],(t>0||s>e)&&(n[s+t]=a)}}}function om(n,e,t,i){return!t||n.type==="mouseout"?null:i?e:n}let Yn=(Ke=class{static register(...e){_e.add(...e),na()}static unregister(...e){_e.remove(...e),na()}constructor(e,t){const i=this.config=new Zp(t),o=ea(e),s=ta(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||wp(o)),this.platform.updateConfig(i);const l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=Mh(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Fp,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Kh(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],Un[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Ee.listen(this,"complete",Js),Ee.listen(this,"progress",nm),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:o,_aspectRatio:s}=this;return Q(e)?t&&s?s:o?i/o:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return _e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():bs(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ls(this.canvas,this.ctx),this}stop(){return Ee.stop(this),this}resize(e,t){Ee.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,o=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,t,s),l=i.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,bs(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),X(i.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};K(t,(i,o)=>{i.id=o})}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,o=Object.keys(i).reduce((a,l)=>(a[l]=!1,a),{});let s=[];t&&(s=s.concat(Object.keys(t).map(a=>{const l=t[a],c=ko(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),K(s,a=>{const l=a.options,c=l.id,d=ko(c,l),u=U(l.type,a.dtype);(l.position===void 0||Zs(l.position,d)!==Zs(a.dposition))&&(l.position=a.dposition),o[c]=!0;let h=null;if(c in i&&i[c].type===u)h=i[c];else{const p=_e.getScale(u);h=new p({id:c,type:u,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(l,e)}),K(o,(a,l)=>{a||delete i[l]}),K(i,a=>{Ye.configure(this,a,a.options),Ye.addBox(this,a)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort((o,s)=>o.index-s.index),i>t){for(let o=t;o<i;++o)this._destroyDatasetMeta(o);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(Qs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((i,o)=>{t.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,o;for(this._removeUnreferencedMetasets(),i=0,o=t.length;i<o;i++){const s=t[i];let a=this.getDatasetMeta(i);const l=s.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=l,a.indexAxis=s.indexAxis||yo(l,this.options),a.order=s.order||0,a.index=i,a.label=""+s.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const c=_e.getController(l),{datasetElementType:d,dataElementType:u}=ne.datasets[l];Object.assign(c,{dataElementType:_e.getElement(u),datasetElementType:d&&_e.getElement(d)}),a.controller=new c(this,i),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){K(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),p=!o&&s.indexOf(h)===-1;h.buildOrUpdateElements(p),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),o||K(s,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Qs("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){K(this.scales,e=>{Ye.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!Ur(t,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:o,count:s}of t){const a=i==="_removeElements"?-s:s;im(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=s=>new Set(e.filter(a=>a[0]===s).map((a,l)=>l+","+a.splice(1).join(","))),o=i(0);for(let s=1;s<t;s++)if(!Ur(o,i(s)))return;return Array.from(o).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ye.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],K(this.boxes,o=>{i&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,s)=>{o._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let t=0,i=this.data.datasets.length;t<i;++t)this.getDatasetMeta(t).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,He(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),o={meta:i,index:e,mode:t,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(i.controller._update(t),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Ee.has(this)?this.attached&&!Ee.running(this)&&Ee.start(this):(this.draw(),Js({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:i,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let o,s;for(o=0,s=t.length;o<s;++o){const a=t[o];(!e||a.visible)&&i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i={meta:e,index:e.index,cancelable:!0},o=If(this,e);this.notifyPlugins("beforeDatasetDraw",i)!==!1&&(o&&to(t,o),e.controller.draw(),o&&no(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return ft(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,o){const s=tp.modes[t];return typeof s=="function"?s(this,e,i,o):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let o=i.filter(s=>s&&s._dataset===t).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(o)),o}getContext(){return this.$context||(this.$context=tt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!t.hidden}setDatasetVisibility(e,t){const i=this.getDatasetMeta(e);i.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const o=i?"show":"hide",s=this.getDatasetMeta(e),a=s.controller._resolveAnimations(void 0,o);vn(t)?(s.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),a.update(s,{visible:i}),this.update(l=>l.datasetIndex===e?o:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Ee.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ls(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Un[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(s,a)=>{t.addEventListener(this,s,a),e[s]=a},o=(s,a,l)=>{s.offsetX=a,s.offsetY=l,this._eventHandler(s)};K(this.options.events,s=>i(s,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(c,d)=>{t.addEventListener(this,c,d),e[c]=d},o=(c,d)=>{e[c]&&(t.removeEventListener(this,c,d),delete e[c])},s=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),i("resize",s),i("detach",a)};a=()=>{this.attached=!1,o("resize",s),this._stop(),this._resize(0,0),i("attach",l)},t.isAttached(this.canvas)?l():a()}unbindEvents(){K(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},K(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const o=i?"set":"remove";let s,a,l,c;for(t==="dataset"&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map(({datasetIndex:s,index:a})=>{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[a],index:a}});!wn(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,i){const o=this.options.hover,s=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=s(t,e),l=i?e:s(e,t);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,o)===!1)return;const s=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,o),(s||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:o=[],options:s}=this,a=t,l=this._getActiveElements(e,o,i,a),c=Dh(e),d=om(e,this._lastEvent,i,c);i&&(this._lastEvent=null,X(s.onHover,[e,l,this],this),c&&X(s.onClick,[e,l,this],this));const u=!wn(l,o);return(u||t)&&(this._active=l,this._updateHoverStyles(l,o,t)),this._lastEvent=d,u}_getActiveElements(e,t,i,o){if(e.type==="mouseout")return[];if(!i)return t;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,o)}},V(Ke,"defaults",ne),V(Ke,"instances",Un),V(Ke,"overrides",Je),V(Ke,"registry",_e),V(Ke,"version",em),V(Ke,"getChart",ta),Ke);function na(){return K(Yn.instances,n=>n._plugins.invalidate())}function rm(n,e,t){const{startAngle:i,x:o,y:s,outerRadius:a,innerRadius:l,options:c}=e,{borderWidth:d,borderJoinStyle:u}=c,h=Math.min(d/a,me(i-t));if(n.beginPath(),n.arc(o,s,a-d/2,i+h/2,t-h/2),l>0){const p=Math.min(d/l,me(i-t));n.arc(o,s,l+d/2,t-p/2,i+p/2,!0)}else{const p=Math.min(d/2,a*me(i-t));if(u==="round")n.arc(o,s,p,t-q/2,i+q/2,!0);else if(u==="bevel"){const f=2*p*p,m=-f*Math.cos(t+q/2)+o,g=-f*Math.sin(t+q/2)+s,b=f*Math.cos(i+q/2)+o,y=f*Math.sin(i+q/2)+s;n.lineTo(m,g),n.lineTo(b,y)}}n.closePath(),n.moveTo(0,0),n.rect(0,0,n.canvas.width,n.canvas.height),n.clip("evenodd")}function sm(n,e,t){const{startAngle:i,pixelMargin:o,x:s,y:a,outerRadius:l,innerRadius:c}=e;let d=o/l;n.beginPath(),n.arc(s,a,l,i-d,t+d),c>o?(d=o/c,n.arc(s,a,c,t+d,i-d,!0)):n.arc(s,a,o,t+re,i-re),n.closePath(),n.clip()}function am(n){return io(n,["outerStart","outerEnd","innerStart","innerEnd"])}function lm(n,e,t,i){const o=am(n.options.borderRadius),s=(t-e)/2,a=Math.min(s,i*e/2),l=c=>{const d=(t-Math.min(s,c))*i/2;return ke(c,0,Math.min(s,d))};return{outerStart:l(o.outerStart),outerEnd:l(o.outerEnd),innerStart:ke(o.innerStart,0,a),innerEnd:ke(o.innerEnd,0,a)}}function Ct(n,e,t,i){return{x:t+n*Math.cos(e),y:i+n*Math.sin(e)}}function Kn(n,e,t,i,o,s){const{x:a,y:l,startAngle:c,pixelMargin:d,innerRadius:u}=e,h=Math.max(e.outerRadius+i+t-d,0),p=u>0?u+i+t+d:0;let f=0;const m=o-c;if(i){const P=u>0?u-i:0,I=h>0?h-i:0,O=(P+I)/2,j=O!==0?m*O/(O+i):m;f=(m-j)/2}const g=Math.max(.001,m*h-t/q)/h,b=(m-g)/2,y=c+b+f,C=o-b-f,{outerStart:w,outerEnd:_,innerStart:x,innerEnd:T}=lm(e,p,h,C-y),$=h-w,M=h-_,E=y+w/$,L=C-_/M,A=p+x,S=p+T,k=y+x/A,B=C-T/S;if(n.beginPath(),s){const P=(E+L)/2;if(n.arc(a,l,h,E,P),n.arc(a,l,h,P,L),_>0){const R=Ct(M,L,a,l);n.arc(R.x,R.y,_,L,C+re)}const I=Ct(S,C,a,l);if(n.lineTo(I.x,I.y),T>0){const R=Ct(S,B,a,l);n.arc(R.x,R.y,T,C+re,B+Math.PI)}const O=(C-T/p+(y+x/p))/2;if(n.arc(a,l,p,C-T/p,O,!0),n.arc(a,l,p,O,y+x/p,!0),x>0){const R=Ct(A,k,a,l);n.arc(R.x,R.y,x,k+Math.PI,y-re)}const j=Ct($,y,a,l);if(n.lineTo(j.x,j.y),w>0){const R=Ct($,E,a,l);n.arc(R.x,R.y,w,y-re,E)}}else{n.moveTo(a,l);const P=Math.cos(E)*h+a,I=Math.sin(E)*h+l;n.lineTo(P,I);const O=Math.cos(L)*h+a,j=Math.sin(L)*h+l;n.lineTo(O,j)}n.closePath()}function cm(n,e,t,i,o){const{fullCircles:s,startAngle:a,circumference:l}=e;let c=e.endAngle;if(s){Kn(n,e,t,i,c,o);for(let d=0;d<s;++d)n.fill();isNaN(l)||(c=a+(l%te||te))}return Kn(n,e,t,i,c,o),n.fill(),c}function dm(n,e,t,i,o){const{fullCircles:s,startAngle:a,circumference:l,options:c}=e,{borderWidth:d,borderJoinStyle:u,borderDash:h,borderDashOffset:p,borderRadius:f}=c,m=c.borderAlign==="inner";if(!d)return;n.setLineDash(h||[]),n.lineDashOffset=p,m?(n.lineWidth=d*2,n.lineJoin=u||"round"):(n.lineWidth=d,n.lineJoin=u||"bevel");let g=e.endAngle;if(s){Kn(n,e,t,i,g,o);for(let b=0;b<s;++b)n.stroke();isNaN(l)||(g=a+(l%te||te))}m&&sm(n,e,g),c.selfJoin&&g-a>=q&&f===0&&u!=="miter"&&rm(n,e,g),s||(Kn(n,e,t,i,g,o),n.stroke())}class rn extends rt{constructor(t){super();V(this,"circumference");V(this,"endAngle");V(this,"fullCircles");V(this,"innerRadius");V(this,"outerRadius");V(this,"pixelMargin");V(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,i,o){const s=this.getProps(["x","y"],o),{angle:a,distance:l}=Gr(s,{x:t,y:i}),{startAngle:c,endAngle:d,innerRadius:u,outerRadius:h,circumference:p}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),f=(this.options.spacing+this.options.borderWidth)/2,m=U(p,d-c),g=Pn(a,c,d)&&c!==d,b=m>=te||g,y=Yt(l,u+f,h+f);return b&&y}getCenterPoint(t){const{x:i,y:o,startAngle:s,endAngle:a,innerRadius:l,outerRadius:c}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:d,spacing:u}=this.options,h=(s+a)/2,p=(l+c+u+d)/2;return{x:i+Math.cos(h)*p,y:o+Math.sin(h)*p}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:i,circumference:o}=this,s=(i.offset||0)/4,a=(i.spacing||0)/2,l=i.circular;if(this.pixelMargin=i.borderAlign==="inner"?.33:0,this.fullCircles=o>te?Math.floor(o/te):0,o===0||this.innerRadius<0||this.outerRadius<0)return;t.save();const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*s,Math.sin(c)*s);const d=1-Math.sin(Math.min(q,o||0)),u=s*d;t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,cm(t,this,u,a,l),dm(t,this,u,a,l),t.restore()}}V(rn,"id","arc"),V(rn,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),V(rn,"defaultRoutes",{backgroundColor:"backgroundColor"}),V(rn,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"});const ia=(n,e)=>{let{boxHeight:t=e,boxWidth:i=e}=n;return n.usePointStyle&&(t=Math.min(t,e),i=n.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:t,itemHeight:Math.max(e,t)}},um=(n,e)=>n!==null&&e!==null&&n.datasetIndex===e.datasetIndex&&n.index===e.index;class oa extends rt{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=X(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(i=>e.filter(i,this.chart.data))),e.sort&&(t=t.sort((i,o)=>e.sort(i,o,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,o=le(i.font),s=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:c}=ia(i,s);let d,u;t.font=o.string,this.isHorizontal()?(d=this.maxWidth,u=this._fitRows(a,s,l,c)+10):(u=this.maxHeight,d=this._fitCols(a,o,l,c)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,o){const{ctx:s,maxWidth:a,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.lineWidths=[0],u=o+l;let h=e;s.textAlign="left",s.textBaseline="middle";let p=-1,f=-u;return this.legendItems.forEach((m,g)=>{const b=i+t/2+s.measureText(m.text).width;(g===0||d[d.length-1]+b+2*l>a)&&(h+=u,d[d.length-(g>0?0:1)]=0,f+=u,p++),c[g]={left:0,top:f,row:p,width:b,height:o},d[d.length-1]+=b+l}),h}_fitCols(e,t,i,o){const{ctx:s,maxHeight:a,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.columnSizes=[],u=a-e;let h=l,p=0,f=0,m=0,g=0;return this.legendItems.forEach((b,y)=>{const{itemWidth:C,itemHeight:w}=hm(i,t,s,b,o);y>0&&f+w+2*l>u&&(h+=p+l,d.push({width:p,height:f}),m+=p+l,g++,p=f=0),c[y]={left:m,top:f,col:g,width:C,height:w},p=Math.max(p,C),f+=w+l}),h+=p,d.push({width:p,height:f}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:o},rtl:s}}=this,a=bt(s,this.left,this.width);if(this.isHorizontal()){let l=0,c=ge(i,this.left+o,this.right-this.lineWidths[l]);for(const d of t)l!==d.row&&(l=d.row,c=ge(i,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(c),d.width),c+=d.width+o}else{let l=0,c=ge(i,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of t)d.col!==l&&(l=d.col,c=ge(i,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=c,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),c+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;to(e,this),this._draw(),no(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:o}=this,{align:s,labels:a}=e,l=ne.color,c=bt(e.rtl,this.left,this.width),d=le(a.font),{padding:u}=a,h=d.size,p=h/2;let f;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:m,boxHeight:g,itemHeight:b}=ia(a,h),y=function(T,$,M){if(isNaN(m)||m<=0||isNaN(g)||g<0)return;o.save();const E=U(M.lineWidth,1);if(o.fillStyle=U(M.fillStyle,l),o.lineCap=U(M.lineCap,"butt"),o.lineDashOffset=U(M.lineDashOffset,0),o.lineJoin=U(M.lineJoin,"miter"),o.lineWidth=E,o.strokeStyle=U(M.strokeStyle,l),o.setLineDash(U(M.lineDash,[])),a.usePointStyle){const L={radius:g*Math.SQRT2/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:E},A=c.xPlus(T,m/2),S=$+p;ds(o,L,A,S,a.pointStyleWidth&&m)}else{const L=$+Math.max((h-g)/2,0),A=c.leftForLtr(T,m),S=mt(M.borderRadius);o.beginPath(),Object.values(S).some(k=>k!==0)?In(o,{x:A,y:L,w:m,h:g,radius:S}):o.rect(A,L,m,g),o.fill(),E!==0&&o.stroke()}o.restore()},C=function(T,$,M){pt(o,M.text,T,$+b/2,d,{strikethrough:M.hidden,textAlign:c.textAlign(M.textAlign)})},w=this.isHorizontal(),_=this._computeTitleHeight();w?f={x:ge(s,this.left+u,this.right-i[0]),y:this.top+u+_,line:0}:f={x:this.left+u,y:ge(s,this.top+_+u,this.bottom-t[0].height),line:0},ks(this.ctx,e.textDirection);const x=b+u;this.legendItems.forEach((T,$)=>{o.strokeStyle=T.fontColor,o.fillStyle=T.fontColor;const M=o.measureText(T.text).width,E=c.textAlign(T.textAlign||(T.textAlign=a.textAlign)),L=m+p+M;let A=f.x,S=f.y;c.setWidth(this.width),w?$>0&&A+L+u>this.right&&(S=f.y+=x,f.line++,A=f.x=ge(s,this.left+u,this.right-i[f.line])):$>0&&S+x>this.bottom&&(A=f.x=A+t[f.line].width+u,f.line++,S=f.y=ge(s,this.top+_+u,this.bottom-t[f.line].height));const k=c.x(A);if(y(k,S,T),A=qh(E,A+m+p,w?A+L:this.right,e.rtl),C(c.x(A),S,T),w)f.x+=L+u;else if(typeof T.text!="string"){const B=d.lineHeight;f.y+=ra(T,B)+u}else f.y+=x}),Cs(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=le(t.font),o=ue(t.padding);if(!t.display)return;const s=bt(e.rtl,this.left,this.width),a=this.ctx,l=t.position,c=i.size/2,d=o.top+c;let u,h=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),u=this.top+d,h=ge(e.align,h,this.right-p);else{const m=this.columnSizes.reduce((g,b)=>Math.max(g,b.height),0);u=d+ge(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const f=ge(l,h,h+p);a.textAlign=s.textAlign(ts(l)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=i.string,pt(a,t.text,f,u,i)}_computeTitleHeight(){const e=this.options.title,t=le(e.font),i=ue(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,o,s;if(Yt(e,this.left,this.right)&&Yt(t,this.top,this.bottom)){for(s=this.legendHitBoxes,i=0;i<s.length;++i)if(o=s[i],Yt(e,o.left,o.left+o.width)&&Yt(t,o.top,o.top+o.height))return this.legendItems[i]}return null}handleEvent(e){const t=this.options;if(!mm(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,s=um(o,i);o&&!s&&X(t.onLeave,[e,o,this],this),this._hoveredItem=i,i&&!s&&X(t.onHover,[e,i,this],this)}else i&&X(t.onClick,[e,i,this],this)}}function hm(n,e,t,i,o){const s=fm(i,n,e,t),a=pm(o,i,e.lineHeight);return{itemWidth:s,itemHeight:a}}function fm(n,e,t,i){let o=n.text;return o&&typeof o!="string"&&(o=o.reduce((s,a)=>s.length>a.length?s:a)),e+t.size/2+i.measureText(o).width}function pm(n,e,t){let i=n;return typeof e.text!="string"&&(i=ra(e,t)),i}function ra(n,e){const t=n.text?n.text.length:0;return e*t}function mm(n,e){return!!((n==="mousemove"||n==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(n==="click"||n==="mouseup"))}var gm={id:"legend",_element:oa,start(n,e,t){const i=n.legend=new oa({ctx:n.ctx,options:t,chart:n});Ye.configure(n,i,t),Ye.addBox(n,i)},stop(n){Ye.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,e,t){const i=n.legend;Ye.configure(n,i,t),i.options=t},afterUpdate(n){const e=n.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(n,e){e.replay||n.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,e,t){const i=e.datasetIndex,o=t.chart;o.isDatasetVisible(i)?(o.hide(i),e.hidden=!0):(o.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const e=n.data.datasets,{labels:{usePointStyle:t,pointStyle:i,textAlign:o,color:s,useBorderRadius:a,borderRadius:l}}=n.legend.options;return n._getSortedDatasetMetas().map(c=>{const d=c.controller.getStyle(t?0:void 0),u=ue(d.borderWidth);return{text:e[c.index].label,fillStyle:d.backgroundColor,fontColor:s,hidden:!c.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:d.borderColor,pointStyle:i||d.pointStyle,rotation:d.rotation,textAlign:o||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:c.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};const sn={average(n){if(!n.length)return!1;let e,t,i=new Set,o=0,s=0;for(e=0,t=n.length;e<t;++e){const l=n[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();i.add(c.x),o+=c.y,++s}}return s===0||i.size===0?!1:{x:[...i].reduce((l,c)=>l+c)/i.size,y:o/s}},nearest(n,e){if(!n.length)return!1;let t=e.x,i=e.y,o=Number.POSITIVE_INFINITY,s,a,l;for(s=0,a=n.length;s<a;++s){const c=n[s].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Rh(e,d);u<o&&(o=u,l=c)}}if(l){const c=l.tooltipPosition();t=c.x,i=c.y}return{x:t,y:i}}};function ve(n,e){return e&&(oe(e)?Array.prototype.push.apply(n,e):n.push(e)),n}function Ae(n){return(typeof n=="string"||n instanceof String)&&n.indexOf(`
105
105
  `)>-1?n.split(`
106
- `):n}function pm(n,e){const{element:t,datasetIndex:i,index:o}=e,s=n.getDatasetMeta(i).controller,{label:a,value:l}=s.getLabelAndValue(o);return{chart:n,label:a,parsed:s.getParsed(o),raw:n.data.datasets[i].data[o],formattedValue:l,dataset:s.getDataset(),dataIndex:o,datasetIndex:i,element:t}}function sa(n,e){const t=n.chart.ctx,{body:i,footer:o,title:s}=n,{boxWidth:a,boxHeight:l}=e,c=ce(e.bodyFont),d=ce(e.titleFont),u=ce(e.footerFont),h=s.length,f=o.length,p=i.length,m=ue(e.padding);let g=m.height,b=0,y=i.reduce((_,w)=>_+w.before.length+w.lines.length+w.after.length,0);if(y+=n.beforeBody.length+n.afterBody.length,h&&(g+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const _=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;g+=p*_+(y-p)*c.lineHeight+(y-1)*e.bodySpacing}f&&(g+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const x=function(_){b=Math.max(b,t.measureText(_).width+C)};return t.save(),t.font=d.string,Y(n.title,x),t.font=c.string,Y(n.beforeBody.concat(n.afterBody),x),C=e.displayColors?a+2+e.boxPadding:0,Y(i,_=>{Y(_.before,x),Y(_.lines,x),Y(_.after,x)}),C=0,t.font=u.string,Y(n.footer,x),t.restore(),b+=m.width,{width:b,height:g}}function mm(n,e){const{y:t,height:i}=e;return t<i/2?"top":t>n.height-i/2?"bottom":"center"}function gm(n,e,t,i){const{x:o,width:s}=i,a=t.caretSize+t.caretPadding;if(n==="left"&&o+s+a>e.width||n==="right"&&o-s-a<0)return!0}function bm(n,e,t,i){const{x:o,width:s}=t,{width:a,chartArea:{left:l,right:c}}=n;let d="center";return i==="center"?d=o<=(l+c)/2?"left":"right":o<=s/2?d="left":o>=a-s/2&&(d="right"),gm(d,n,e,t)&&(d="center"),d}function aa(n,e,t){const i=t.yAlign||e.yAlign||mm(n,t);return{xAlign:t.xAlign||e.xAlign||bm(n,e,t,i),yAlign:i}}function ym(n,e){let{x:t,width:i}=n;return e==="right"?t-=i:e==="center"&&(t-=i/2),t}function km(n,e,t){let{y:i,height:o}=n;return e==="top"?i+=t:e==="bottom"?i-=o+t:i-=o/2,i}function la(n,e,t,i){const{caretSize:o,caretPadding:s,cornerRadius:a}=n,{xAlign:l,yAlign:c}=t,d=o+s,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:p}=mt(a);let m=ym(e,l);const g=km(e,c,d);return c==="center"?l==="left"?m+=d:l==="right"&&(m-=d):l==="left"?m-=Math.max(u,f)+o:l==="right"&&(m+=Math.max(h,p)+o),{x:ke(m,0,i.width-e.width),y:ke(g,0,i.height-e.height)}}function qn(n,e,t){const i=ue(t.padding);return e==="center"?n.x+n.width/2:e==="right"?n.x+n.width-i.right:n.x+i.left}function ca(n){return ve([],Ae(n))}function Cm(n,e,t){return tt(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}function da(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}const ua={beforeTitle:Me,title(n){if(n.length>0){const e=n[0],t=e.chart.data.labels,i=t?t.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return t[e.dataIndex]}return""},afterTitle:Me,beforeBody:Me,beforeLabel:Me,label(n){if(this&&this.options&&this.options.mode==="dataset")return n.label+": "+n.formattedValue||n.formattedValue;let e=n.dataset.label||"";e&&(e+=": ");const t=n.formattedValue;return Q(t)||(e+=t),e},labelColor(n){const t=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const t=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:Me,afterBody:Me,beforeFooter:Me,footer:Me,afterFooter:Me};function he(n,e,t,i){const o=n[e].call(t,i);return typeof o>"u"?ua[e].call(t,i):o}class Co extends rt{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),o=i.enabled&&t.options.animation&&i.animations,s=new ws(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=Cm(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:i}=t,o=he(i,"beforeTitle",this,e),s=he(i,"title",this,e),a=he(i,"afterTitle",this,e);let l=[];return l=ve(l,Ae(o)),l=ve(l,Ae(s)),l=ve(l,Ae(a)),l}getBeforeBody(e,t){return ca(he(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:i}=t,o=[];return Y(e,s=>{const a={before:[],lines:[],after:[]},l=da(i,s);ve(a.before,Ae(he(l,"beforeLabel",this,s))),ve(a.lines,he(l,"label",this,s)),ve(a.after,Ae(he(l,"afterLabel",this,s))),o.push(a)}),o}getAfterBody(e,t){return ca(he(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:i}=t,o=he(i,"beforeFooter",this,e),s=he(i,"footer",this,e),a=he(i,"afterFooter",this,e);let l=[];return l=ve(l,Ae(o)),l=ve(l,Ae(s)),l=ve(l,Ae(a)),l}_createItems(e){const t=this._active,i=this.chart.data,o=[],s=[],a=[];let l=[],c,d;for(c=0,d=t.length;c<d;++c)l.push(pm(this.chart,t[c]));return e.filter&&(l=l.filter((u,h,f)=>e.filter(u,h,f,i))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,i))),Y(l,u=>{const h=da(e.callbacks,u);o.push(he(h,"labelColor",this,u)),s.push(he(h,"labelPointStyle",this,u)),a.push(he(h,"labelTextColor",this,u))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,t){const i=this.options.setContext(this.getContext()),o=this._active;let s,a=[];if(!o.length)this.opacity!==0&&(s={opacity:0});else{const l=sn[i.position].call(this,o,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const c=this._size=sa(this,i),d=Object.assign({},l,c),u=aa(this.chart,i,d),h=la(i,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,o){const s=this.getCaretPosition(e,i,o);t.lineTo(s.x1,s.y1),t.lineTo(s.x2,s.y2),t.lineTo(s.x3,s.y3)}getCaretPosition(e,t,i){const{xAlign:o,yAlign:s}=this,{caretSize:a,cornerRadius:l}=i,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=mt(l),{x:f,y:p}=e,{width:m,height:g}=t;let b,y,C,x,_,w;return s==="center"?(_=p+g/2,o==="left"?(b=f,y=b-a,x=_+a,w=_-a):(b=f+m,y=b+a,x=_-a,w=_+a),C=b):(o==="left"?y=f+Math.max(c,u)+a:o==="right"?y=f+m-Math.max(d,h)-a:y=this.caretX,s==="top"?(x=p,_=x-a,b=y-a,C=y+a):(x=p+g,_=x+a,b=y+a,C=y-a),w=x),{x1:b,x2:y,x3:C,y1:x,y2:_,y3:w}}drawTitle(e,t,i){const o=this.title,s=o.length;let a,l,c;if(s){const d=bt(i.rtl,this.x,this.width);for(e.x=qn(this,i.titleAlign,i),t.textAlign=d.textAlign(i.titleAlign),t.textBaseline="middle",a=ce(i.titleFont),l=i.titleSpacing,t.fillStyle=i.titleColor,t.font=a.string,c=0;c<s;++c)t.fillText(o[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===s&&(e.y+=i.titleMarginBottom-l)}}_drawColorBox(e,t,i,o,s){const a=this.labelColors[i],l=this.labelPointStyles[i],{boxHeight:c,boxWidth:d}=s,u=ce(s.bodyFont),h=qn(this,"left",s),f=o.x(h),p=c<u.lineHeight?(u.lineHeight-c)/2:0,m=t.y+p;if(s.usePointStyle){const g={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},b=o.leftForLtr(f,d)+d/2,y=m+c/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,cs(e,g,b,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,cs(e,g,b,y)}else{e.lineWidth=j(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const g=o.leftForLtr(f,d),b=o.leftForLtr(o.xPlus(f,1),d-2),y=mt(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,In(e,{x:g,y:m,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),In(e,{x:b,y:m+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(g,m,d,c),e.strokeRect(g,m,d,c),e.fillStyle=a.backgroundColor,e.fillRect(b,m+1,d-2,c-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:o}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=i,h=ce(i.bodyFont);let f=h.lineHeight,p=0;const m=bt(i.rtl,this.x,this.width),g=function(B){t.fillText(B,m.x(e.x+p),e.y+f/2),e.y+=f+s},b=m.textAlign(a);let y,C,x,_,w,S,$;for(t.textAlign=a,t.textBaseline="middle",t.font=h.string,e.x=qn(this,b,i),t.fillStyle=i.bodyColor,Y(this.beforeBody,g),p=l&&b!=="right"?a==="center"?d/2+u:d+2+u:0,_=0,S=o.length;_<S;++_){for(y=o[_],C=this.labelTextColors[_],t.fillStyle=C,Y(y.before,g),x=y.lines,l&&x.length&&(this._drawColorBox(t,e,_,m,i),f=Math.max(h.lineHeight,c)),w=0,$=x.length;w<$;++w)g(x[w]),f=h.lineHeight;Y(y.after,g)}p=0,f=h.lineHeight,Y(this.afterBody,g),e.y-=s}drawFooter(e,t,i){const o=this.footer,s=o.length;let a,l;if(s){const c=bt(i.rtl,this.x,this.width);for(e.x=qn(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=c.textAlign(i.footerAlign),t.textBaseline="middle",a=ce(i.footerFont),t.fillStyle=i.footerColor,t.font=a.string,l=0;l<s;++l)t.fillText(o[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+i.footerSpacing}}drawBackground(e,t,i,o){const{xAlign:s,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=i,{topLeft:h,topRight:f,bottomLeft:p,bottomRight:m}=mt(o.cornerRadius);t.fillStyle=o.backgroundColor,t.strokeStyle=o.borderColor,t.lineWidth=o.borderWidth,t.beginPath(),t.moveTo(l+h,c),a==="top"&&this.drawCaret(e,t,i,o),t.lineTo(l+d-f,c),t.quadraticCurveTo(l+d,c,l+d,c+f),a==="center"&&s==="right"&&this.drawCaret(e,t,i,o),t.lineTo(l+d,c+u-m),t.quadraticCurveTo(l+d,c+u,l+d-m,c+u),a==="bottom"&&this.drawCaret(e,t,i,o),t.lineTo(l+p,c+u),t.quadraticCurveTo(l,c+u,l,c+u-p),a==="center"&&s==="left"&&this.drawCaret(e,t,i,o),t.lineTo(l,c+h),t.quadraticCurveTo(l,c,l+h,c),t.closePath(),t.fill(),o.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,o=i&&i.x,s=i&&i.y;if(o||s){const a=sn[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=sa(this,e),c=Object.assign({},a,this._size),d=aa(t,e,c),u=la(e,c,d,t);(o._to!==u.x||s._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=ue(t.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&l&&(e.save(),e.globalAlpha=i,this.drawBackground(s,e,o,t),ks(e,t.textDirection),s.y+=a.top,this.drawTitle(s,e,t),this.drawBody(s,e,t),this.drawFooter(s,e,t),Cs(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,o=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),s=!wn(i,o),a=this._positionChanged(o,t);(s||a)&&(this._active=o,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],a=this._getActiveElements(e,s,t,i),l=this._positionChanged(a,e),c=t||!wn(a,s)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),c}_getActiveElements(e,t,i,o){const s=this.options;if(e.type==="mouseout")return[];if(!o)return t.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,s.mode,s,i);return s.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:i,caretY:o,options:s}=this,a=sn[s.position].call(this,e,t);return a!==!1&&(i!==a.x||o!==a.y)}}N(Co,"positioners",sn);var xm={id:"tooltip",_element:Co,positioners:sn,afterInit(n,e,t){t&&(n.tooltip=new Co({chart:n,options:t}))},beforeUpdate(n,e,t){n.tooltip&&n.tooltip.initialize(t)},reset(n,e,t){n.tooltip&&n.tooltip.initialize(t)},afterDraw(n){const e=n.tooltip;if(e&&e._willRender()){const t={tooltip:e};if(n.notifyPlugins("beforeTooltipDraw",{...t,cancelable:!0})===!1)return;e.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",t)}},afterEvent(n,e){if(n.tooltip){const t=e.replay;n.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,e)=>e.bodyFont.size,boxWidth:(n,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:ua},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>n!=="filter"&&n!=="itemSort"&&n!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function wm(n,e){const t=[],{bounds:o,step:s,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=n,p=s||1,m=u-1,{min:g,max:b}=e,y=!Q(a),C=!Q(l),x=!Q(d),_=(b-g)/(h+1);let w=Kr((b-g)/m/p)*p,S,$,B,E;if(w<1e-14&&!y&&!C)return[{value:g},{value:b}];E=Math.ceil(b/w)-Math.floor(g/w),E>m&&(w=Kr(E*w/m/p)*p),Q(c)||(S=Math.pow(10,c),w=Math.ceil(w*S)/S),o==="ticks"?($=Math.floor(g/w)*w,B=Math.ceil(b/w)*w):($=g,B=b),y&&C&&s&&Vh((l-a)/s,w/1e3)?(E=Math.round(Math.min((l-a)/w,u)),w=(l-a)/E,$=a,B=l):x?($=y?a:$,B=C?l:B,E=d-1,w=(B-$)/E):(E=(B-$)/w,$n(E,Math.round(E),w/1e3)?E=Math.round(E):E=Math.ceil(E));const A=Math.max(Xr(w),Xr($));S=Math.pow(10,Q(c)?A:c),$=Math.round($*S)/S,B=Math.round(B*S)/S;let L=0;for(y&&(f&&$!==a?(t.push({value:a}),$<a&&L++,$n(Math.round(($+L*w)*S)/S,a,ha(a,_,n))&&L++):$<a&&L++);L<E;++L){const T=Math.round(($+L*w)*S)/S;if(C&&T>l)break;t.push({value:T})}return C&&f&&B!==l?t.length&&$n(t[t.length-1].value,l,ha(l,_,n))?t[t.length-1].value=l:t.push({value:l}):(!C||B===l)&&t.push({value:B}),t}function ha(n,e,{horizontal:t,minRotation:i}){const o=we(i),s=(t?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+n).length;return Math.min(e/s,a)}class Xn extends kt{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Q(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:o,max:s}=this;const a=c=>o=t?o:c,l=c=>s=i?s:c;if(e){const c=Tn(o),d=Tn(s);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(o===s){let c=s===0?1:Math.abs(s*.05);l(s+c),e||a(o-c)}this.min=o,this.max=s}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:t,stepSize:i}=e,o;return i?(o=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),t=t||11),t&&(o=Math.min(t,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const o={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},s=this._range||this,a=wm(o,s);return e.bounds==="ticks"&&qr(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const o=(i-t)/Math.max(e.length-1,1)/2;t-=o,i+=o}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return En(e,this.chart.options.locale,this.options.ticks.format)}}class fa extends Xn{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=se(e)?e:0,this.max=se(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=we(this.options.ticks.minRotation),o=(e?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,s.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}N(fa,"id","linear"),N(fa,"defaults",{ticks:{callback:An.formatters.numeric}});const an=n=>Math.floor(We(n)),st=(n,e)=>Math.pow(10,an(n)+e);function pa(n){return n/Math.pow(10,an(n))===1}function ma(n,e,t){const i=Math.pow(10,t),o=Math.floor(n/i);return Math.ceil(e/i)-o}function _m(n,e){const t=e-n;let i=an(t);for(;ma(n,e,i)>10;)i++;for(;ma(n,e,i)<10;)i--;return Math.min(i,an(n))}function vm(n,{min:e,max:t}){e=pe(n.min,e);const i=[],o=an(e);let s=_m(e,t),a=s<0?Math.pow(10,Math.abs(s)):1;const l=Math.pow(10,s),c=o>s?Math.pow(10,o):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,s)),f=pe(n.min,Math.round((c+u+h*Math.pow(10,s))*a)/a);for(;f<t;)i.push({value:f,major:pa(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(s++,h=2,a=s>=0?1:a),f=Math.round((c+u+h*Math.pow(10,s))*a)/a;const p=pe(n.max,f);return i.push({value:p,major:pa(p),significand:h}),i}class ga extends kt{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=Xn.prototype.parse.apply(this,[e,t]);if(i===0){this._zero=!0;return}return se(i)&&i>0?i:null}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=se(e)?Math.max(0,e):null,this.max=se(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!se(this._userMin)&&(this.min=e===st(this.min,0)?st(this.min,-1):st(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,o=this.max;const s=l=>i=e?i:l,a=l=>o=t?o:l;i===o&&(i<=0?(s(1),a(10)):(s(st(i,-1)),a(st(o,1)))),i<=0&&s(st(o,-1)),o<=0&&a(st(i,1)),this.min=i,this.max=o}buildTicks(){const e=this.options,t={min:this._userMin,max:this._userMax},i=vm(t,this);return e.bounds==="ticks"&&qr(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":En(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=We(e),this._valueRange=We(this.max)-We(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(We(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}N(ga,"id","logarithmic"),N(ga,"defaults",{ticks:{callback:An.formatters.logarithmic,major:{enabled:!0}}});function xo(n){const e=n.ticks;if(e.display&&n.display){const t=ue(e.backdropPadding);return W(e.font&&e.font.size,ne.font.size)+t.height}return 0}function Sm(n,e,t){return t=oe(t)?t:[t],{w:tf(n,e.string,t),h:t.length*e.lineHeight}}function ba(n,e,t,i,o){return n===i||n===o?{start:e-t/2,end:e+t/2}:n<i||n>o?{start:e-t,end:e}:{start:e,end:e+t}}function Tm(n){const e={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},t=Object.assign({},e),i=[],o=[],s=n._pointLabels.length,a=n.options.pointLabels,l=a.centerPointLabels?K/s:0;for(let c=0;c<s;c++){const d=a.setContext(n.getPointLabelContext(c));o[c]=d.padding;const u=n.getPointPosition(c,n.drawingArea+o[c],l),h=ce(d.font),f=Sm(n.ctx,h,n._pointLabels[c]);i[c]=f;const p=me(n.getIndexAngle(c)+l),m=Math.round(Xi(p)),g=ba(m,u.x,f.w,0,180),b=ba(m,u.y,f.h,90,270);$m(t,e,p,g,b)}n.setCenterPoint(e.l-t.l,t.r-e.r,e.t-t.t,t.b-e.b),n._pointLabelItems=Mm(n,i,o)}function $m(n,e,t,i,o){const s=Math.abs(Math.sin(t)),a=Math.abs(Math.cos(t));let l=0,c=0;i.start<e.l?(l=(e.l-i.start)/s,n.l=Math.min(n.l,e.l-l)):i.end>e.r&&(l=(i.end-e.r)/s,n.r=Math.max(n.r,e.r+l)),o.start<e.t?(c=(e.t-o.start)/a,n.t=Math.min(n.t,e.t-c)):o.end>e.b&&(c=(o.end-e.b)/a,n.b=Math.max(n.b,e.b+c))}function Bm(n,e,t){const i=n.drawingArea,{extra:o,additionalAngle:s,padding:a,size:l}=t,c=n.getPointPosition(e,i+o+a,s),d=Math.round(Xi(me(c.angle+re))),u=Lm(c.y,l.h,d),h=Em(d),f=Am(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+l.w,bottom:u+l.h}}function Pm(n,e){if(!e)return!0;const{left:t,top:i,right:o,bottom:s}=n;return!(ft({x:t,y:i},e)||ft({x:t,y:s},e)||ft({x:o,y:i},e)||ft({x:o,y:s},e))}function Mm(n,e,t){const i=[],o=n._pointLabels.length,s=n.options,{centerPointLabels:a,display:l}=s.pointLabels,c={extra:xo(s)/2,additionalAngle:a?K/o:0};let d;for(let u=0;u<o;u++){c.padding=t[u],c.size=e[u];const h=Bm(n,u,c);i.push(h),l==="auto"&&(h.visible=Pm(h,d),h.visible&&(d=h))}return i}function Em(n){return n===0||n===180?"center":n<180?"left":"right"}function Am(n,e,t){return t==="right"?n-=e:t==="center"&&(n-=e/2),n}function Lm(n,e,t){return t===90||t===270?n-=e/2:(t>270||t<90)&&(n-=e),n}function Im(n,e,t){const{left:i,top:o,right:s,bottom:a}=t,{backdropColor:l}=e;if(!Q(l)){const c=mt(e.borderRadius),d=ue(e.backdropPadding);n.fillStyle=l;const u=i-d.left,h=o-d.top,f=s-i+d.width,p=a-o+d.height;Object.values(c).some(m=>m!==0)?(n.beginPath(),In(n,{x:u,y:h,w:f,h:p,radius:c}),n.fill()):n.fillRect(u,h,f,p)}}function Om(n,e){const{ctx:t,options:{pointLabels:i}}=n;for(let o=e-1;o>=0;o--){const s=n._pointLabelItems[o];if(!s.visible)continue;const a=i.setContext(n.getPointLabelContext(o));Im(t,a,s);const l=ce(a.font),{x:c,y:d,textAlign:u}=s;pt(t,n._pointLabels[o],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function ya(n,e,t,i){const{ctx:o}=n;if(t)o.arc(n.xCenter,n.yCenter,e,0,te);else{let s=n.getPointPosition(0,e);o.moveTo(s.x,s.y);for(let a=1;a<i;a++)s=n.getPointPosition(a,e),o.lineTo(s.x,s.y)}}function Dm(n,e,t,i,o){const s=n.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!i||!l||!c||t<0||(s.save(),s.strokeStyle=l,s.lineWidth=c,s.setLineDash(o.dash||[]),s.lineDashOffset=o.dashOffset,s.beginPath(),ya(n,t,a,i),s.closePath(),s.stroke(),s.restore())}function Vm(n,e,t){return tt(n,{label:t,index:e,type:"pointLabel"})}class Gn extends Xn{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=ue(xo(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=se(e)&&!isNaN(e)?e:0,this.max=se(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/xo(this.options))}generateTickLabels(e){Xn.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((t,i)=>{const o=X(this.options.pointLabels.callback,[t,i],this);return o||o===0?o:""}).filter((t,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?Tm(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,o){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,o))}getIndexAngle(e){const t=te/(this._pointLabels.length||1),i=this.options.startAngle||0;return me(e*t+we(i))}getDistanceFromCenterForValue(e){if(Q(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Q(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return Vm(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const o=this.getIndexAngle(e)-re+i;return{x:Math.cos(o)*t+this.xCenter,y:Math.sin(o)*t+this.yCenter,angle:o}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:o,bottom:s}=this._pointLabelItems[e];return{left:t,top:i,right:o,bottom:s}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),ya(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:o,border:s}=t,a=this._pointLabels.length;let l,c,d;if(t.pointLabels.display&&Om(this,a),o.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),p=o.setContext(f),m=s.setContext(f);Dm(this,p,c,a,m)}}),i.display){for(e.save(),l=a-1;l>=0;l--){const u=i.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const o=this.getIndexAngle(0);let s,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!t.reverse)return;const d=i.setContext(this.getContext(c)),u=ce(d.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=ue(d.backdropPadding);e.fillRect(-a/2-h.left,-s-u.size/2-h.top,a+h.width,u.size+h.height)}pt(e,l.label,0,-s,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}N(Gn,"id","radialLinear"),N(Gn,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:An.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),N(Gn,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),N(Gn,"descriptors",{angleLines:{_fallback:"grid"}});const Zn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fe=Object.keys(Zn);function ka(n,e){return n-e}function Ca(n,e){if(Q(e))return null;const t=n._adapter,{parser:i,round:o,isoWeekday:s}=n._parseOpts;let a=e;return typeof i=="function"&&(a=i(a)),se(a)||(a=typeof i=="string"?t.parse(a,i):t.parse(a)),a===null?null:(o&&(a=o==="week"&&(Bn(s)||s===!0)?t.startOf(a,"isoWeek",s):t.startOf(a,o)),+a)}function xa(n,e,t,i){const o=fe.length;for(let s=fe.indexOf(n);s<o-1;++s){const a=Zn[fe[s]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((t-e)/(l*a.size))<=i)return fe[s]}return fe[o-1]}function Nm(n,e,t,i,o){for(let s=fe.length-1;s>=fe.indexOf(t);s--){const a=fe[s];if(Zn[a].common&&n._adapter.diff(o,i,a)>=e-1)return a}return fe[t?fe.indexOf(t):0]}function zm(n){for(let e=fe.indexOf(n)+1,t=fe.length;e<t;++e)if(Zn[fe[e]].common)return fe[e]}function wa(n,e,t){if(!t)n[e]=!0;else if(t.length){const{lo:i,hi:o}=Gi(t,e),s=t[i]>=e?t[i]:t[o];n[s]=!0}}function Fm(n,e,t,i){const o=n._adapter,s=+o.startOf(e[0].value,i),a=e[e.length-1].value;let l,c;for(l=s;l<=a;l=+o.add(l,1,i))c=t[l],c>=0&&(e[c].major=!0);return e}function _a(n,e,t){const i=[],o={},s=e.length;let a,l;for(a=0;a<s;++a)l=e[a],o[l]=a,i.push({value:l,major:!1});return s===0||!t?i:Fm(n,i,o,t)}class Qn extends kt{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const i=e.time||(e.time={}),o=this._adapter=new Kf._date(e.adapters.date);o.init(t),Wt(i.displayFormats,o.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:Ca(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!l&&!isNaN(d.max)&&(s=Math.max(s,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=se(o)&&!isNaN(o)?o:+t.startOf(Date.now(),i),s=se(s)&&!isNaN(s)?s:+t.endOf(Date.now(),i)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,o=i.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,a=this.max,l=Rh(o,s,a);return this._unit=t.unit||(i.autoSkip?xa(t.minUnit,this.min,this.max,this._getLabelCapacity(s)):Nm(this,l.length,t.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:zm(this._unit),this.initOffsets(o),e.reverse&&l.reverse(),_a(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,i=0,o,s;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),e.length===1?t=1-o:t=(this.getDecimalForValue(e[1])-o)/2,s=this.getDecimalForValue(e[e.length-1]),e.length===1?i=s:i=(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;t=ke(t,0,a),i=ke(i,0,a),this._offsets={start:t,end:i,factor:1/(t+1+i)}}_generate(){const e=this._adapter,t=this.min,i=this.max,o=this.options,s=o.time,a=s.unit||xa(s.minUnit,t,i,this._getLabelCapacity(t)),l=W(o.ticks.stepSize,1),c=a==="week"?s.isoWeekday:!1,d=Bn(c)||c===!0,u={};let h=t,f,p;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(i,t,a)>1e5*l)throw new Error(t+" and "+i+" are too far apart with stepSize of "+l+" "+a);const m=o.ticks.source==="data"&&this.getDataTimestamps();for(f=h,p=0;f<i;f=+e.add(f,l,a),p++)wa(u,f,m);return(f===i||o.bounds==="ticks"||p===1)&&wa(u,f,m),Object.keys(u).sort(ka).map(g=>+g)}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}format(e,t){const o=this.options.time.displayFormats,s=this._unit,a=t||o[s];return this._adapter.format(e,a)}_tickFormatFunction(e,t,i,o){const s=this.options,a=s.ticks.callback;if(a)return X(a,[e,t,i],this);const l=s.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],f=i[t],p=d&&h&&f&&f.major;return this._adapter.format(e,o||(p?h:u))}generateTickLabels(e){let t,i,o;for(t=0,i=e.length;t<i;++t)o=e[t],o.label=this._tickFormatFunction(o.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,o=we(this.isHorizontal()?t.maxRotation:t.minRotation),s=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:i*s+l*a,h:i*a+l*s}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,o=i[t.unit]||i.millisecond,s=this._tickFormatFunction(e,0,_a(this,[e],this._majorUnit),o),a=this._getLabelSize(s),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],t,i;if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(t=0,i=o.length;t<i;++t)e=e.concat(o[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const o=this.getLabels();for(t=0,i=o.length;t<i;++t)e.push(Ca(this,o[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Hh(e.sort(ka))}}N(Qn,"id","time"),N(Qn,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Jn(n,e,t){let i=0,o=n.length-1,s,a,l,c;t?(e>=n[i].pos&&e<=n[o].pos&&({lo:i,hi:o}=Zi(n,"pos",e)),{pos:s,time:l}=n[i],{pos:a,time:c}=n[o]):(e>=n[i].time&&e<=n[o].time&&({lo:i,hi:o}=Zi(n,"time",e)),{time:s,pos:l}=n[i],{time:a,pos:c}=n[o]);const d=a-s;return d?l+(c-l)*(e-s)/d:l}class va extends Qn{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Jn(t,this.min),this._tableRange=Jn(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,o=[],s=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=t&&d<=i&&o.push(d);if(o.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(a=0,l=o.length;a<l;++a)u=o[a+1],c=o[a-1],d=o[a],Math.round((u+c)/2)!==d&&s.push({time:d,pos:a/(l-1)});return s}_generate(){const e=this.min,t=this.max;let i=super.getDataTimestamps();return(!i.includes(e)||!i.length)&&i.splice(0,0,e),(!i.includes(t)||i.length===1)&&i.push(t),i.sort((o,s)=>o-s)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return t.length&&i.length?e=this.normalize(t.concat(i)):e=t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Jn(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Jn(this._table,i*this._tableRange+this._minPos,!0)}}N(va,"id","timeseries"),N(va,"defaults",Qn.defaults);const Sa={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},Rm={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Sa,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},jm=r.version[0]==="2"?(n,e)=>Object.assign(n,{attrs:e}):(n,e)=>Object.assign(n,e);function xt(n){return r.isProxy(n)?r.toRaw(n):n}function Hm(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n;return r.isProxy(e)?new Proxy(n,{}):n}function Wm(n,e){const t=n.options;t&&e&&Object.assign(t,e)}function Ta(n,e){n.labels=e}function $a(n,e,t){const i=[];n.datasets=e.map(o=>{const s=n.datasets.find(a=>a[t]===o[t]);return!s||!o.data||i.includes(s)?{...o}:(i.push(s),Object.assign(s,o),s)})}function Um(n,e){const t={labels:[],datasets:[]};return Ta(t,n.labels),$a(t,n.datasets,e),t}const Ym=r.defineComponent({props:Rm,setup(n,e){let{expose:t,slots:i}=e;const o=r.ref(null),s=r.shallowRef(null);t({chart:s});const a=()=>{if(!o.value)return;const{type:d,data:u,options:h,plugins:f,datasetIdKey:p}=n,m=Um(u,p),g=Hm(m,u);s.value=new Yn(o.value,{type:d,data:g,options:{...h},plugins:f})},l=()=>{const d=r.toRaw(s.value);d&&(n.destroyDelay>0?setTimeout(()=>{d.destroy(),s.value=null},n.destroyDelay):(d.destroy(),s.value=null))},c=d=>{d.update(n.updateMode)};return r.onMounted(a),r.onUnmounted(l),r.watch([()=>n.options,()=>n.data],(d,u)=>{let[h,f]=d,[p,m]=u;const g=r.toRaw(s.value);if(!g)return;let b=!1;if(h){const y=xt(h),C=xt(p);y&&y!==C&&(Wm(g,y),b=!0)}if(f){const y=xt(f.labels),C=xt(m.labels),x=xt(f.datasets),_=xt(m.datasets);y!==C&&(Ta(g.config.data,y),b=!0),x&&x!==_&&($a(g.config.data,x,n.datasetIdKey),b=!0)}b&&r.nextTick(()=>{c(g)})},{deep:!0}),()=>r.h("canvas",{role:"img","aria-label":n.ariaLabel,"aria-describedby":n.ariaDescribedby,ref:o},[r.h("p",{},[i.default?i.default():""])])}});function Ba(n,e){return Yn.register(e),r.defineComponent({props:Sa,setup(t,i){let{expose:o}=i;const s=r.shallowRef(null),a=l=>{s.value=l==null?void 0:l.chart};return o({chart:s}),()=>r.h(Ym,jm({ref:a},{type:n,...t}))}})}const Km=Ba("doughnut",yt),qm=Ba("pie",fo),Xm=["innerHTML"],Gm=["innerHTML"],Zm={key:1,class:"flex justify-center mb-8"},Qm=["onClick"],Jm={key:0,class:"flex items-center gap-3 px-8 pt-8 md:px-12 md:pt-10"},eg=["innerHTML"],tg={class:"flex flex-col md:flex-row"},ng={class:"w-full md:w-1/2 px-8 py-6 md:px-12 md:py-8"},ig=["innerHTML"],og=["innerHTML"],rg=["disabled","onMouseenter","onClick"],sg={class:"flex-1 font-bold text-sm md:text-base text-iris"},ag={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"flex-shrink-0 text-stone"},lg={class:"w-full md:w-1/2 flex items-center justify-center"},cg={class:"w-[300px] md:w-[400px]"},dg=["innerHTML"],Pa=r.defineComponent({__name:"ChartModule",props:{__typename:{},variant:{default:"Single"},headline:{},subHeadline:{},bodyCopy:{},chartHeadline:{},chartBodyCopy:{},footer:{},chartType:{default:"doughnut"},chartData:{},tabs:{},backgroundColor:{},parentBackgroundColor:{},pt:{},isChild:{type:Boolean,default:!1},class:{}},setup(n){Yn.register(rn,xm,fm);const e={lily:"#ffffff",iris:"rgb(61, 15, 83)",wisteria:"rgb(137, 89, 227)",hydrangea:"rgb(204, 176, 250)",lavender:"rgb(168, 143, 237)",petunia:"rgb(189, 166, 224)",lilac:"rgb(120, 99, 166)",rosemary:"rgb(24, 165, 137)",mint:"rgb(66, 232, 191)",gentian:"rgb(107, 77, 224)",sage:"rgb(145, 217, 201)",moss:"rgb(191, 245, 229)",periwinkle:"rgb(178, 168, 255)",soil:"rgb(36, 31, 33)",pebble:"rgb(242, 242, 242)",stone:"rgb(69, 69, 69)",verberna:"rgb(136, 78, 153)",aster:"rgb(110, 59, 155)",monstera:"rgb(27, 79, 69)",peony:"rgb(217, 99, 124)",lobelia:"rgb(103, 131, 166)"},t=n,{backgroundColor:i,palette:o}=J({...t,backgroundColor:t.backgroundColor||t.parentBackgroundColor}),s=r.computed(()=>V(wi,t.pt??{})),a=r.ref(0),l=r.ref([]),c=r.ref(-1),d=r.ref(null),u=r.computed(()=>l.value.length>0),h=r.computed(()=>u.value?l.value[l.value.length-1]:null),f=r.computed(()=>{var k,P,M,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((P=O.tabs[a.value])==null?void 0:P.chartData)??[]:O.chartData}return t.variant==="Multi"&&((M=t.tabs)!=null&&M.length)?((I=t.tabs[a.value])==null?void 0:I.chartData)??[]:t.chartData??[]}),p=r.computed(()=>{var k,P,M,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((P=O.tabs[a.value])==null?void 0:P.chartType)??O.chartType??"doughnut":O.chartType??"doughnut"}return t.variant==="Multi"&&((M=t.tabs)!=null&&M.length)?((I=t.tabs[a.value])==null?void 0:I.chartType)??t.chartType??"doughnut":t.chartType??"doughnut"}),m=r.computed(()=>{var k;return u.value&&((k=h.value)==null?void 0:k.variant)==="Multi"?h.value.tabs??[]:t.tabs??[]}),g=r.computed(()=>{var k,P,M,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((P=O.tabs[a.value])==null?void 0:P.headline)??O.headline:O.headline}return t.variant==="Multi"&&((M=t.tabs)!=null&&M.length)?((I=t.tabs[a.value])==null?void 0:I.headline)??t.chartHeadline??t.headline:t.variant==="Section"?t.chartHeadline??t.headline:t.headline}),b=r.computed(()=>{var k,P,M,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((P=O.tabs[a.value])==null?void 0:P.subHeadline)??O.subHeadline:O.subHeadline}if(t.variant==="Multi"&&((M=t.tabs)!=null&&M.length))return((I=t.tabs[a.value])==null?void 0:I.subHeadline)??t.subHeadline;if(t.variant!=="Section")return t.subHeadline}),y=r.computed(()=>u.value&&h.value?h.value.bodyCopy:t.variant==="Section"?t.chartBodyCopy??t.bodyCopy:t.bodyCopy),C=k=>e[k]??k,x=r.computed(()=>({labels:f.value.map(k=>k.label),datasets:[{data:f.value.map(k=>k.value),backgroundColor:f.value.map(k=>C(k.color)),hoverBackgroundColor:f.value.map(k=>C(k.color)),borderColor:"#ffffff",borderWidth:2,hoverOffset:15}]})),_={responsive:!0,maintainAspectRatio:!0,layout:{padding:20},animation:{duration:200},plugins:{legend:{display:!1},tooltip:{callbacks:{label:k=>{const P=k.label??"",M=k.parsed??0;return`${P}: ${M}%`}}}}},w=k=>{var P;c.value=k,(P=d.value)!=null&&P.chart&&(d.value.chart.setActiveElements([{datasetIndex:0,index:k}]),d.value.chart.update())},S=()=>{var k;c.value=-1,(k=d.value)!=null&&k.chart&&(d.value.chart.setActiveElements([]),d.value.chart.update())},$=k=>{k.drillDown&&(a.value=0,l.value.push(k.drillDown))},B=()=>{l.value.pop(),a.value=0},E=k=>{a.value=k},A=r.computed(()=>D(`bg-${i}`,s.value.root??"",t.class??"")),L=r.computed(()=>{var k,P;return u.value&&((k=h.value)==null?void 0:k.variant)==="Multi"?!0:t.variant==="Multi"&&(((P=t.tabs)==null?void 0:P.length)??0)>1}),T=r.computed(()=>t.variant==="Section");return(k,P)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(k.isChild?"div":"section"),{class:r.normalizeClass(A.value)},{default:r.withCtx(()=>[r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("max-w-[1440px] mx-auto px-8 py-12 md:py-16",s.value.container??""))},[T.value&&!u.value?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[k.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).headline} text-center text-4xl md:text-5xl font-bold leading-tight mb-4`,s.value.headline??"")),innerHTML:k.headline},null,10,Xm)):r.createCommentVNode("",!0),k.subHeadline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).subheadline} text-center text-lg md:text-xl mb-8 max-w-[800px] mx-auto`,s.value.subheadline??"")),innerHTML:k.subHeadline},null,10,Gm)):r.createCommentVNode("",!0)],64)):r.createCommentVNode("",!0),L.value&&m.value.length>1?(r.openBlock(),r.createElementBlock("div",Zm,[r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("inline-flex border border-soil rounded-full overflow-hidden",s.value.tabs??""))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(m.value,(M,I)=>{var O,q;return r.openBlock(),r.createElementBlock("button",{key:M.label,class:r.normalizeClass(r.unref(D)("px-6 py-3 font-bold transition-colors text-sm md:text-base",s.value.tab??"",I===a.value?r.unref(D)(`bg-${((O=r.unref(o).interactive)==null?void 0:O.bg)??"wisteria"} text-${((q=r.unref(o).interactive)==null?void 0:q.copy)??"lily"}`,s.value.tabActive??""):`text-${r.unref(o).copy} hover:opacity-80`)),onClick:H=>E(I)},r.toDisplayString(M.label),11,Qm)}),128))],2)])):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("bg-white rounded-3xl overflow-visible",T.value?"border border-stone/20":"",s.value.chart??""))},[g.value?(r.openBlock(),r.createElementBlock("div",Jm,[u.value?(r.openBlock(),r.createElementBlock("button",{key:0,class:r.normalizeClass(r.unref(D)("text-rosemary hover:opacity-80 transition-opacity flex-shrink-0",s.value.backButton??"")),"aria-label":"Go back",onClick:B},P[0]||(P[0]=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},[r.createElementVNode("path",{d:"M15 18l-6-6 6-6"})],-1)]),2)):r.createCommentVNode("",!0),r.createElementVNode("h2",{class:"text-iris text-3xl md:text-4xl font-bold leading-tight",innerHTML:g.value},null,8,eg)])):r.createCommentVNode("",!0),r.createElementVNode("div",tg,[r.createElementVNode("div",ng,[b.value?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(r.unref(D)("text-iris text-lg md:text-xl font-bold mb-1",s.value.subheadline??"")),innerHTML:b.value},null,10,ig)):r.createCommentVNode("",!0),y.value?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).copy} text-base mb-4`,s.value.bodyCopy??"")),innerHTML:y.value},null,10,og)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("max-h-[300px] overflow-y-auto",s.value.legend??""))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(f.value,(M,I)=>(r.openBlock(),r.createElementBlock("button",{key:M.label,class:r.normalizeClass(r.unref(D)("w-full flex items-center gap-3 border rounded-full py-3 px-5 my-2 text-left transition-all duration-200",c.value===I?"border-2 border-soil":"border border-stone/30",M.drillDown?"cursor-pointer":"cursor-default",s.value.legendItem??"")),disabled:!M.drillDown,onMouseenter:O=>w(I),onMouseleave:S,onClick:O=>$(M)},[r.createElementVNode("span",{class:r.normalizeClass(r.unref(D)("w-4 h-4 rounded-full flex-shrink-0",s.value.legendCircle??"")),style:r.normalizeStyle({backgroundColor:C(M.color)})},null,6),r.createElementVNode("span",sg,r.toDisplayString(M.label)+"  - "+r.toDisplayString(M.value)+"% ",1),M.drillDown?(r.openBlock(),r.createElementBlock("svg",ag,P[1]||(P[1]=[r.createElementVNode("path",{d:"M9 18l6-6-6-6"},null,-1)]))):r.createCommentVNode("",!0)],42,rg))),128))],2)]),r.createElementVNode("div",lg,[r.createElementVNode("div",cg,[p.value==="doughnut"?(r.openBlock(),r.createBlock(r.unref(Km),{key:0,ref_key:"chartRef",ref:d,data:x.value,options:_},null,8,["data"])):(r.openBlock(),r.createBlock(r.unref(qm),{key:1,ref_key:"chartRef",ref:d,data:x.value,options:_},null,8,["data","options"]))])])])],2),k.footer?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).copy} text-lg mt-8`,s.value.footer??"")),innerHTML:k.footer},null,10,dg)):r.createCommentVNode("",!0)],2)]),_:1},8,["class"]))}}),ug=Object.freeze(Object.defineProperty({__proto__:null,Accordion:dt,AccordionItem:ir,AccordionListItem:ar,AccordionTileItem:lr,AnimationWrapper:Ni,CTA:be,CarouselModule:mr,ChartModule:Pa,ContainerCollectionModule:Cr,ContainerModule:yr,ContentModule:kr,FooterCopyright:mn,FooterNavigation:xr,HelloBanner:Ir,Image:le,LogoCollectionModule:wr,NavigationElement:Be,PrimaryNavigation:_r,SocialMediaRef:pn,SplitModule:vr,TestimonialModule:Sr,TileCollectionModule:Tr,TileContentIconTile:$r,TileContentImageStackedAnimatedTile:Lr,TileContentImageTile:Br,TileContentTextTile:Pr,TileContentVideoTile:Mr,Video:zt},Symbol.toStringTag,{value:"Module"})),hg=n=>{Object.entries(ug).forEach(([e,t])=>{n.component(e,t)})},fg=(n,e)=>{const t=(o,s)=>{for(const a of Object.keys(s))typeof s[a]=="object"?t(o[a],s[a]):o[a]=s[a]},i=sl[`${n}Pt`];i&&t(i,e)};v.Accordion=dt,v.AccordionItem=ir,v.AccordionItemPt=vt,v.AccordionListItem=ar,v.AccordionListItemPt=oi,v.AccordionPt=ni,v.AccordionStyle=Rd,v.AccordionTileItem=lr,v.AccordionTileItemPt=ri,v.AnimationWrapper=Ni,v.CTA=be,v.CTAOptions=br,v.CTAPt=di,v.CarouselModule=mr,v.CarouselModuleAltPt=Po,v.CarouselModulePt=si,v.CarouselVariant=Kd,v.ChartModule=Pa,v.ChartModulePt=wi,v.ContainerCollectionModule=Cr,v.ContainerCollectionModulePt=ai,v.ContainerModule=yr,v.ContainerModuleMobileImagePosition=Yd,v.ContainerModulePt=li,v.ContainerVariant=Vd,v.ContentModule=kr,v.ContentModuleAlignment=Ud,v.ContentModulePt=ci,v.CtaType=jd,v.DEFAULT_PALETTES=Io,v.DEFAULT_PASSTHROUGH=ie,v.FooterCopyright=mn,v.FooterNavigation=xr,v.FooterNavigationPt=Mo,v.HelloBanner=Ir,v.HelloBannerPt=_i,v.Image=le,v.ImagePt=Eo,v.LogoCollectionModule=wr,v.LogoCollectionModulePt=ui,v.MediaOptions=gr,v.ModuleTypeName=Nd,v.NavigationElement=Be,v.NavigationElementPt=hi,v.PrimaryNavigation=_r,v.PrimaryNavigationPt=Ao,v.SocialMediaRef=pn,v.SplitModule=vr,v.SplitModulePt=fi,v.TestimonialModule=Sr,v.TestimonialModulePt=pi,v.TileCollectionModule=Tr,v.TileCollectionModulePt=mi,v.TileCollectionVariant=zd,v.TileContentAlignment=Hd,v.TileContentIconTile=$r,v.TileContentIconTilePt=gi,v.TileContentImageStackedAnimatedTile=Lr,v.TileContentImageStackedAnimatedTilePt=bi,v.TileContentImageTile=Br,v.TileContentImageTilePt=yi,v.TileContentPt=Ge,v.TileContentTextPosition=Wd,v.TileContentTextTile=Pr,v.TileContentTextTilePt=ki,v.TileContentVariant=Fd,v.TileContentVideoTile=Mr,v.TileContentVideoTilePt=Ci,v.TileLabelPt=xi,v.VariantOptions=ze,v.Video=zt,v.VideoPt=Lo,v.combineAccordionPassthroughs=ii,v.combinePassthroughs=V,v.getTarget=fn,v.initGlobalComponents=hg,v.overridePalette=al,v.overridePassthrough=fg,v.withColorPalette=J,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
106
+ `):n}function bm(n,e){const{element:t,datasetIndex:i,index:o}=e,s=n.getDatasetMeta(i).controller,{label:a,value:l}=s.getLabelAndValue(o);return{chart:n,label:a,parsed:s.getParsed(o),raw:n.data.datasets[i].data[o],formattedValue:l,dataset:s.getDataset(),dataIndex:o,datasetIndex:i,element:t}}function sa(n,e){const t=n.chart.ctx,{body:i,footer:o,title:s}=n,{boxWidth:a,boxHeight:l}=e,c=le(e.bodyFont),d=le(e.titleFont),u=le(e.footerFont),h=s.length,p=o.length,f=i.length,m=ue(e.padding);let g=m.height,b=0,y=i.reduce((_,x)=>_+x.before.length+x.lines.length+x.after.length,0);if(y+=n.beforeBody.length+n.afterBody.length,h&&(g+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const _=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;g+=f*_+(y-f)*c.lineHeight+(y-1)*e.bodySpacing}p&&(g+=e.footerMarginTop+p*u.lineHeight+(p-1)*e.footerSpacing);let C=0;const w=function(_){b=Math.max(b,t.measureText(_).width+C)};return t.save(),t.font=d.string,K(n.title,w),t.font=c.string,K(n.beforeBody.concat(n.afterBody),w),C=e.displayColors?a+2+e.boxPadding:0,K(i,_=>{K(_.before,w),K(_.lines,w),K(_.after,w)}),C=0,t.font=u.string,K(n.footer,w),t.restore(),b+=m.width,{width:b,height:g}}function ym(n,e){const{y:t,height:i}=e;return t<i/2?"top":t>n.height-i/2?"bottom":"center"}function km(n,e,t,i){const{x:o,width:s}=i,a=t.caretSize+t.caretPadding;if(n==="left"&&o+s+a>e.width||n==="right"&&o-s-a<0)return!0}function Cm(n,e,t,i){const{x:o,width:s}=t,{width:a,chartArea:{left:l,right:c}}=n;let d="center";return i==="center"?d=o<=(l+c)/2?"left":"right":o<=s/2?d="left":o>=a-s/2&&(d="right"),km(d,n,e,t)&&(d="center"),d}function aa(n,e,t){const i=t.yAlign||e.yAlign||ym(n,t);return{xAlign:t.xAlign||e.xAlign||Cm(n,e,t,i),yAlign:i}}function xm(n,e){let{x:t,width:i}=n;return e==="right"?t-=i:e==="center"&&(t-=i/2),t}function wm(n,e,t){let{y:i,height:o}=n;return e==="top"?i+=t:e==="bottom"?i-=o+t:i-=o/2,i}function la(n,e,t,i){const{caretSize:o,caretPadding:s,cornerRadius:a}=n,{xAlign:l,yAlign:c}=t,d=o+s,{topLeft:u,topRight:h,bottomLeft:p,bottomRight:f}=mt(a);let m=xm(e,l);const g=wm(e,c,d);return c==="center"?l==="left"?m+=d:l==="right"&&(m-=d):l==="left"?m-=Math.max(u,p)+o:l==="right"&&(m+=Math.max(h,f)+o),{x:ke(m,0,i.width-e.width),y:ke(g,0,i.height-e.height)}}function qn(n,e,t){const i=ue(t.padding);return e==="center"?n.x+n.width/2:e==="right"?n.x+n.width-i.right:n.x+i.left}function ca(n){return ve([],Ae(n))}function _m(n,e,t){return tt(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}function da(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}const ua={beforeTitle:Me,title(n){if(n.length>0){const e=n[0],t=e.chart.data.labels,i=t?t.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return t[e.dataIndex]}return""},afterTitle:Me,beforeBody:Me,beforeLabel:Me,label(n){if(this&&this.options&&this.options.mode==="dataset")return n.label+": "+n.formattedValue||n.formattedValue;let e=n.dataset.label||"";e&&(e+=": ");const t=n.formattedValue;return Q(t)||(e+=t),e},labelColor(n){const t=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const t=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:Me,afterBody:Me,beforeFooter:Me,footer:Me,afterFooter:Me};function he(n,e,t,i){const o=n[e].call(t,i);return typeof o>"u"?ua[e].call(t,i):o}class Co extends rt{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),o=i.enabled&&t.options.animation&&i.animations,s=new ws(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=_m(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:i}=t,o=he(i,"beforeTitle",this,e),s=he(i,"title",this,e),a=he(i,"afterTitle",this,e);let l=[];return l=ve(l,Ae(o)),l=ve(l,Ae(s)),l=ve(l,Ae(a)),l}getBeforeBody(e,t){return ca(he(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:i}=t,o=[];return K(e,s=>{const a={before:[],lines:[],after:[]},l=da(i,s);ve(a.before,Ae(he(l,"beforeLabel",this,s))),ve(a.lines,he(l,"label",this,s)),ve(a.after,Ae(he(l,"afterLabel",this,s))),o.push(a)}),o}getAfterBody(e,t){return ca(he(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:i}=t,o=he(i,"beforeFooter",this,e),s=he(i,"footer",this,e),a=he(i,"afterFooter",this,e);let l=[];return l=ve(l,Ae(o)),l=ve(l,Ae(s)),l=ve(l,Ae(a)),l}_createItems(e){const t=this._active,i=this.chart.data,o=[],s=[],a=[];let l=[],c,d;for(c=0,d=t.length;c<d;++c)l.push(bm(this.chart,t[c]));return e.filter&&(l=l.filter((u,h,p)=>e.filter(u,h,p,i))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,i))),K(l,u=>{const h=da(e.callbacks,u);o.push(he(h,"labelColor",this,u)),s.push(he(h,"labelPointStyle",this,u)),a.push(he(h,"labelTextColor",this,u))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,t){const i=this.options.setContext(this.getContext()),o=this._active;let s,a=[];if(!o.length)this.opacity!==0&&(s={opacity:0});else{const l=sn[i.position].call(this,o,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const c=this._size=sa(this,i),d=Object.assign({},l,c),u=aa(this.chart,i,d),h=la(i,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,o){const s=this.getCaretPosition(e,i,o);t.lineTo(s.x1,s.y1),t.lineTo(s.x2,s.y2),t.lineTo(s.x3,s.y3)}getCaretPosition(e,t,i){const{xAlign:o,yAlign:s}=this,{caretSize:a,cornerRadius:l}=i,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=mt(l),{x:p,y:f}=e,{width:m,height:g}=t;let b,y,C,w,_,x;return s==="center"?(_=f+g/2,o==="left"?(b=p,y=b-a,w=_+a,x=_-a):(b=p+m,y=b+a,w=_-a,x=_+a),C=b):(o==="left"?y=p+Math.max(c,u)+a:o==="right"?y=p+m-Math.max(d,h)-a:y=this.caretX,s==="top"?(w=f,_=w-a,b=y-a,C=y+a):(w=f+g,_=w+a,b=y+a,C=y-a),x=w),{x1:b,x2:y,x3:C,y1:w,y2:_,y3:x}}drawTitle(e,t,i){const o=this.title,s=o.length;let a,l,c;if(s){const d=bt(i.rtl,this.x,this.width);for(e.x=qn(this,i.titleAlign,i),t.textAlign=d.textAlign(i.titleAlign),t.textBaseline="middle",a=le(i.titleFont),l=i.titleSpacing,t.fillStyle=i.titleColor,t.font=a.string,c=0;c<s;++c)t.fillText(o[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===s&&(e.y+=i.titleMarginBottom-l)}}_drawColorBox(e,t,i,o,s){const a=this.labelColors[i],l=this.labelPointStyles[i],{boxHeight:c,boxWidth:d}=s,u=le(s.bodyFont),h=qn(this,"left",s),p=o.x(h),f=c<u.lineHeight?(u.lineHeight-c)/2:0,m=t.y+f;if(s.usePointStyle){const g={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},b=o.leftForLtr(p,d)+d/2,y=m+c/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,cs(e,g,b,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,cs(e,g,b,y)}else{e.lineWidth=W(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const g=o.leftForLtr(p,d),b=o.leftForLtr(o.xPlus(p,1),d-2),y=mt(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,In(e,{x:g,y:m,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),In(e,{x:b,y:m+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(g,m,d,c),e.strokeRect(g,m,d,c),e.fillStyle=a.backgroundColor,e.fillRect(b,m+1,d-2,c-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:o}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=i,h=le(i.bodyFont);let p=h.lineHeight,f=0;const m=bt(i.rtl,this.x,this.width),g=function(M){t.fillText(M,m.x(e.x+f),e.y+p/2),e.y+=p+s},b=m.textAlign(a);let y,C,w,_,x,T,$;for(t.textAlign=a,t.textBaseline="middle",t.font=h.string,e.x=qn(this,b,i),t.fillStyle=i.bodyColor,K(this.beforeBody,g),f=l&&b!=="right"?a==="center"?d/2+u:d+2+u:0,_=0,T=o.length;_<T;++_){for(y=o[_],C=this.labelTextColors[_],t.fillStyle=C,K(y.before,g),w=y.lines,l&&w.length&&(this._drawColorBox(t,e,_,m,i),p=Math.max(h.lineHeight,c)),x=0,$=w.length;x<$;++x)g(w[x]),p=h.lineHeight;K(y.after,g)}f=0,p=h.lineHeight,K(this.afterBody,g),e.y-=s}drawFooter(e,t,i){const o=this.footer,s=o.length;let a,l;if(s){const c=bt(i.rtl,this.x,this.width);for(e.x=qn(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=c.textAlign(i.footerAlign),t.textBaseline="middle",a=le(i.footerFont),t.fillStyle=i.footerColor,t.font=a.string,l=0;l<s;++l)t.fillText(o[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+i.footerSpacing}}drawBackground(e,t,i,o){const{xAlign:s,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=i,{topLeft:h,topRight:p,bottomLeft:f,bottomRight:m}=mt(o.cornerRadius);t.fillStyle=o.backgroundColor,t.strokeStyle=o.borderColor,t.lineWidth=o.borderWidth,t.beginPath(),t.moveTo(l+h,c),a==="top"&&this.drawCaret(e,t,i,o),t.lineTo(l+d-p,c),t.quadraticCurveTo(l+d,c,l+d,c+p),a==="center"&&s==="right"&&this.drawCaret(e,t,i,o),t.lineTo(l+d,c+u-m),t.quadraticCurveTo(l+d,c+u,l+d-m,c+u),a==="bottom"&&this.drawCaret(e,t,i,o),t.lineTo(l+f,c+u),t.quadraticCurveTo(l,c+u,l,c+u-f),a==="center"&&s==="left"&&this.drawCaret(e,t,i,o),t.lineTo(l,c+h),t.quadraticCurveTo(l,c,l+h,c),t.closePath(),t.fill(),o.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,o=i&&i.x,s=i&&i.y;if(o||s){const a=sn[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=sa(this,e),c=Object.assign({},a,this._size),d=aa(t,e,c),u=la(e,c,d,t);(o._to!==u.x||s._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=ue(t.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&l&&(e.save(),e.globalAlpha=i,this.drawBackground(s,e,o,t),ks(e,t.textDirection),s.y+=a.top,this.drawTitle(s,e,t),this.drawBody(s,e,t),this.drawFooter(s,e,t),Cs(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,o=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),s=!wn(i,o),a=this._positionChanged(o,t);(s||a)&&(this._active=o,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],a=this._getActiveElements(e,s,t,i),l=this._positionChanged(a,e),c=t||!wn(a,s)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),c}_getActiveElements(e,t,i,o){const s=this.options;if(e.type==="mouseout")return[];if(!o)return t.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,s.mode,s,i);return s.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:i,caretY:o,options:s}=this,a=sn[s.position].call(this,e,t);return a!==!1&&(i!==a.x||o!==a.y)}}V(Co,"positioners",sn);var vm={id:"tooltip",_element:Co,positioners:sn,afterInit(n,e,t){t&&(n.tooltip=new Co({chart:n,options:t}))},beforeUpdate(n,e,t){n.tooltip&&n.tooltip.initialize(t)},reset(n,e,t){n.tooltip&&n.tooltip.initialize(t)},afterDraw(n){const e=n.tooltip;if(e&&e._willRender()){const t={tooltip:e};if(n.notifyPlugins("beforeTooltipDraw",{...t,cancelable:!0})===!1)return;e.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",t)}},afterEvent(n,e){if(n.tooltip){const t=e.replay;n.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,e)=>e.bodyFont.size,boxWidth:(n,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:ua},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>n!=="filter"&&n!=="itemSort"&&n!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Sm(n,e){const t=[],{bounds:o,step:s,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:p}=n,f=s||1,m=u-1,{min:g,max:b}=e,y=!Q(a),C=!Q(l),w=!Q(d),_=(b-g)/(h+1);let x=Kr((b-g)/m/f)*f,T,$,M,E;if(x<1e-14&&!y&&!C)return[{value:g},{value:b}];E=Math.ceil(b/x)-Math.floor(g/x),E>m&&(x=Kr(E*x/m/f)*f),Q(c)||(T=Math.pow(10,c),x=Math.ceil(x*T)/T),o==="ticks"?($=Math.floor(g/x)*x,M=Math.ceil(b/x)*x):($=g,M=b),y&&C&&s&&Fh((l-a)/s,x/1e3)?(E=Math.round(Math.min((l-a)/x,u)),x=(l-a)/E,$=a,M=l):w?($=y?a:$,M=C?l:M,E=d-1,x=(M-$)/E):(E=(M-$)/x,$n(E,Math.round(E),x/1e3)?E=Math.round(E):E=Math.ceil(E));const L=Math.max(Xr(x),Xr($));T=Math.pow(10,Q(c)?L:c),$=Math.round($*T)/T,M=Math.round(M*T)/T;let A=0;for(y&&(p&&$!==a?(t.push({value:a}),$<a&&A++,$n(Math.round(($+A*x)*T)/T,a,ha(a,_,n))&&A++):$<a&&A++);A<E;++A){const S=Math.round(($+A*x)*T)/T;if(C&&S>l)break;t.push({value:S})}return C&&p&&M!==l?t.length&&$n(t[t.length-1].value,l,ha(l,_,n))?t[t.length-1].value=l:t.push({value:l}):(!C||M===l)&&t.push({value:M}),t}function ha(n,e,{horizontal:t,minRotation:i}){const o=we(i),s=(t?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+n).length;return Math.min(e/s,a)}class Xn extends kt{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Q(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:o,max:s}=this;const a=c=>o=t?o:c,l=c=>s=i?s:c;if(e){const c=Tn(o),d=Tn(s);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(o===s){let c=s===0?1:Math.abs(s*.05);l(s+c),e||a(o-c)}this.min=o,this.max=s}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:t,stepSize:i}=e,o;return i?(o=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),t=t||11),t&&(o=Math.min(t,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const o={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},s=this._range||this,a=Sm(o,s);return e.bounds==="ticks"&&qr(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const o=(i-t)/Math.max(e.length-1,1)/2;t-=o,i+=o}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return En(e,this.chart.options.locale,this.options.ticks.format)}}class fa extends Xn{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=se(e)?e:0,this.max=se(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=we(this.options.ticks.minRotation),o=(e?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,s.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}V(fa,"id","linear"),V(fa,"defaults",{ticks:{callback:An.formatters.numeric}});const an=n=>Math.floor(We(n)),st=(n,e)=>Math.pow(10,an(n)+e);function pa(n){return n/Math.pow(10,an(n))===1}function ma(n,e,t){const i=Math.pow(10,t),o=Math.floor(n/i);return Math.ceil(e/i)-o}function Tm(n,e){const t=e-n;let i=an(t);for(;ma(n,e,i)>10;)i++;for(;ma(n,e,i)<10;)i--;return Math.min(i,an(n))}function $m(n,{min:e,max:t}){e=pe(n.min,e);const i=[],o=an(e);let s=Tm(e,t),a=s<0?Math.pow(10,Math.abs(s)):1;const l=Math.pow(10,s),c=o>s?Math.pow(10,o):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,s)),p=pe(n.min,Math.round((c+u+h*Math.pow(10,s))*a)/a);for(;p<t;)i.push({value:p,major:pa(p),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(s++,h=2,a=s>=0?1:a),p=Math.round((c+u+h*Math.pow(10,s))*a)/a;const f=pe(n.max,p);return i.push({value:f,major:pa(f),significand:h}),i}class ga extends kt{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=Xn.prototype.parse.apply(this,[e,t]);if(i===0){this._zero=!0;return}return se(i)&&i>0?i:null}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=se(e)?Math.max(0,e):null,this.max=se(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!se(this._userMin)&&(this.min=e===st(this.min,0)?st(this.min,-1):st(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,o=this.max;const s=l=>i=e?i:l,a=l=>o=t?o:l;i===o&&(i<=0?(s(1),a(10)):(s(st(i,-1)),a(st(o,1)))),i<=0&&s(st(o,-1)),o<=0&&a(st(i,1)),this.min=i,this.max=o}buildTicks(){const e=this.options,t={min:this._userMin,max:this._userMax},i=$m(t,this);return e.bounds==="ticks"&&qr(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":En(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=We(e),this._valueRange=We(this.max)-We(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(We(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}V(ga,"id","logarithmic"),V(ga,"defaults",{ticks:{callback:An.formatters.logarithmic,major:{enabled:!0}}});function xo(n){const e=n.ticks;if(e.display&&n.display){const t=ue(e.backdropPadding);return U(e.font&&e.font.size,ne.font.size)+t.height}return 0}function Bm(n,e,t){return t=oe(t)?t:[t],{w:rf(n,e.string,t),h:t.length*e.lineHeight}}function ba(n,e,t,i,o){return n===i||n===o?{start:e-t/2,end:e+t/2}:n<i||n>o?{start:e-t,end:e}:{start:e,end:e+t}}function Pm(n){const e={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},t=Object.assign({},e),i=[],o=[],s=n._pointLabels.length,a=n.options.pointLabels,l=a.centerPointLabels?q/s:0;for(let c=0;c<s;c++){const d=a.setContext(n.getPointLabelContext(c));o[c]=d.padding;const u=n.getPointPosition(c,n.drawingArea+o[c],l),h=le(d.font),p=Bm(n.ctx,h,n._pointLabels[c]);i[c]=p;const f=me(n.getIndexAngle(c)+l),m=Math.round(Xi(f)),g=ba(m,u.x,p.w,0,180),b=ba(m,u.y,p.h,90,270);Mm(t,e,f,g,b)}n.setCenterPoint(e.l-t.l,t.r-e.r,e.t-t.t,t.b-e.b),n._pointLabelItems=Lm(n,i,o)}function Mm(n,e,t,i,o){const s=Math.abs(Math.sin(t)),a=Math.abs(Math.cos(t));let l=0,c=0;i.start<e.l?(l=(e.l-i.start)/s,n.l=Math.min(n.l,e.l-l)):i.end>e.r&&(l=(i.end-e.r)/s,n.r=Math.max(n.r,e.r+l)),o.start<e.t?(c=(e.t-o.start)/a,n.t=Math.min(n.t,e.t-c)):o.end>e.b&&(c=(o.end-e.b)/a,n.b=Math.max(n.b,e.b+c))}function Em(n,e,t){const i=n.drawingArea,{extra:o,additionalAngle:s,padding:a,size:l}=t,c=n.getPointPosition(e,i+o+a,s),d=Math.round(Xi(me(c.angle+re))),u=Dm(c.y,l.h,d),h=Im(d),p=Om(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:p,top:u,right:p+l.w,bottom:u+l.h}}function Am(n,e){if(!e)return!0;const{left:t,top:i,right:o,bottom:s}=n;return!(ft({x:t,y:i},e)||ft({x:t,y:s},e)||ft({x:o,y:i},e)||ft({x:o,y:s},e))}function Lm(n,e,t){const i=[],o=n._pointLabels.length,s=n.options,{centerPointLabels:a,display:l}=s.pointLabels,c={extra:xo(s)/2,additionalAngle:a?q/o:0};let d;for(let u=0;u<o;u++){c.padding=t[u],c.size=e[u];const h=Em(n,u,c);i.push(h),l==="auto"&&(h.visible=Am(h,d),h.visible&&(d=h))}return i}function Im(n){return n===0||n===180?"center":n<180?"left":"right"}function Om(n,e,t){return t==="right"?n-=e:t==="center"&&(n-=e/2),n}function Dm(n,e,t){return t===90||t===270?n-=e/2:(t>270||t<90)&&(n-=e),n}function Nm(n,e,t){const{left:i,top:o,right:s,bottom:a}=t,{backdropColor:l}=e;if(!Q(l)){const c=mt(e.borderRadius),d=ue(e.backdropPadding);n.fillStyle=l;const u=i-d.left,h=o-d.top,p=s-i+d.width,f=a-o+d.height;Object.values(c).some(m=>m!==0)?(n.beginPath(),In(n,{x:u,y:h,w:p,h:f,radius:c}),n.fill()):n.fillRect(u,h,p,f)}}function Vm(n,e){const{ctx:t,options:{pointLabels:i}}=n;for(let o=e-1;o>=0;o--){const s=n._pointLabelItems[o];if(!s.visible)continue;const a=i.setContext(n.getPointLabelContext(o));Nm(t,a,s);const l=le(a.font),{x:c,y:d,textAlign:u}=s;pt(t,n._pointLabels[o],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function ya(n,e,t,i){const{ctx:o}=n;if(t)o.arc(n.xCenter,n.yCenter,e,0,te);else{let s=n.getPointPosition(0,e);o.moveTo(s.x,s.y);for(let a=1;a<i;a++)s=n.getPointPosition(a,e),o.lineTo(s.x,s.y)}}function zm(n,e,t,i,o){const s=n.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!i||!l||!c||t<0||(s.save(),s.strokeStyle=l,s.lineWidth=c,s.setLineDash(o.dash||[]),s.lineDashOffset=o.dashOffset,s.beginPath(),ya(n,t,a,i),s.closePath(),s.stroke(),s.restore())}function Fm(n,e,t){return tt(n,{label:t,index:e,type:"pointLabel"})}class Gn extends Xn{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=ue(xo(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=se(e)&&!isNaN(e)?e:0,this.max=se(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/xo(this.options))}generateTickLabels(e){Xn.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((t,i)=>{const o=X(this.options.pointLabels.callback,[t,i],this);return o||o===0?o:""}).filter((t,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?Pm(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,o){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,o))}getIndexAngle(e){const t=te/(this._pointLabels.length||1),i=this.options.startAngle||0;return me(e*t+we(i))}getDistanceFromCenterForValue(e){if(Q(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Q(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return Fm(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const o=this.getIndexAngle(e)-re+i;return{x:Math.cos(o)*t+this.xCenter,y:Math.sin(o)*t+this.yCenter,angle:o}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:o,bottom:s}=this._pointLabelItems[e];return{left:t,top:i,right:o,bottom:s}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),ya(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:o,border:s}=t,a=this._pointLabels.length;let l,c,d;if(t.pointLabels.display&&Vm(this,a),o.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const p=this.getContext(h),f=o.setContext(p),m=s.setContext(p);zm(this,f,c,a,m)}}),i.display){for(e.save(),l=a-1;l>=0;l--){const u=i.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:p}=u;!p||!h||(e.lineWidth=p,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const o=this.getIndexAngle(0);let s,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!t.reverse)return;const d=i.setContext(this.getContext(c)),u=le(d.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=ue(d.backdropPadding);e.fillRect(-a/2-h.left,-s-u.size/2-h.top,a+h.width,u.size+h.height)}pt(e,l.label,0,-s,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}V(Gn,"id","radialLinear"),V(Gn,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:An.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),V(Gn,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),V(Gn,"descriptors",{angleLines:{_fallback:"grid"}});const Zn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fe=Object.keys(Zn);function ka(n,e){return n-e}function Ca(n,e){if(Q(e))return null;const t=n._adapter,{parser:i,round:o,isoWeekday:s}=n._parseOpts;let a=e;return typeof i=="function"&&(a=i(a)),se(a)||(a=typeof i=="string"?t.parse(a,i):t.parse(a)),a===null?null:(o&&(a=o==="week"&&(Bn(s)||s===!0)?t.startOf(a,"isoWeek",s):t.startOf(a,o)),+a)}function xa(n,e,t,i){const o=fe.length;for(let s=fe.indexOf(n);s<o-1;++s){const a=Zn[fe[s]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((t-e)/(l*a.size))<=i)return fe[s]}return fe[o-1]}function Rm(n,e,t,i,o){for(let s=fe.length-1;s>=fe.indexOf(t);s--){const a=fe[s];if(Zn[a].common&&n._adapter.diff(o,i,a)>=e-1)return a}return fe[t?fe.indexOf(t):0]}function jm(n){for(let e=fe.indexOf(n)+1,t=fe.length;e<t;++e)if(Zn[fe[e]].common)return fe[e]}function wa(n,e,t){if(!t)n[e]=!0;else if(t.length){const{lo:i,hi:o}=Gi(t,e),s=t[i]>=e?t[i]:t[o];n[s]=!0}}function Hm(n,e,t,i){const o=n._adapter,s=+o.startOf(e[0].value,i),a=e[e.length-1].value;let l,c;for(l=s;l<=a;l=+o.add(l,1,i))c=t[l],c>=0&&(e[c].major=!0);return e}function _a(n,e,t){const i=[],o={},s=e.length;let a,l;for(a=0;a<s;++a)l=e[a],o[l]=a,i.push({value:l,major:!1});return s===0||!t?i:Hm(n,i,o,t)}class Qn extends kt{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const i=e.time||(e.time={}),o=this._adapter=new Gf._date(e.adapters.date);o.init(t),Wt(i.displayFormats,o.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:Ca(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!l&&!isNaN(d.max)&&(s=Math.max(s,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=se(o)&&!isNaN(o)?o:+t.startOf(Date.now(),i),s=se(s)&&!isNaN(s)?s:+t.endOf(Date.now(),i)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,o=i.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,a=this.max,l=Wh(o,s,a);return this._unit=t.unit||(i.autoSkip?xa(t.minUnit,this.min,this.max,this._getLabelCapacity(s)):Rm(this,l.length,t.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:jm(this._unit),this.initOffsets(o),e.reverse&&l.reverse(),_a(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,i=0,o,s;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),e.length===1?t=1-o:t=(this.getDecimalForValue(e[1])-o)/2,s=this.getDecimalForValue(e[e.length-1]),e.length===1?i=s:i=(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;t=ke(t,0,a),i=ke(i,0,a),this._offsets={start:t,end:i,factor:1/(t+1+i)}}_generate(){const e=this._adapter,t=this.min,i=this.max,o=this.options,s=o.time,a=s.unit||xa(s.minUnit,t,i,this._getLabelCapacity(t)),l=U(o.ticks.stepSize,1),c=a==="week"?s.isoWeekday:!1,d=Bn(c)||c===!0,u={};let h=t,p,f;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(i,t,a)>1e5*l)throw new Error(t+" and "+i+" are too far apart with stepSize of "+l+" "+a);const m=o.ticks.source==="data"&&this.getDataTimestamps();for(p=h,f=0;p<i;p=+e.add(p,l,a),f++)wa(u,p,m);return(p===i||o.bounds==="ticks"||f===1)&&wa(u,p,m),Object.keys(u).sort(ka).map(g=>+g)}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}format(e,t){const o=this.options.time.displayFormats,s=this._unit,a=t||o[s];return this._adapter.format(e,a)}_tickFormatFunction(e,t,i,o){const s=this.options,a=s.ticks.callback;if(a)return X(a,[e,t,i],this);const l=s.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],p=i[t],f=d&&h&&p&&p.major;return this._adapter.format(e,o||(f?h:u))}generateTickLabels(e){let t,i,o;for(t=0,i=e.length;t<i;++t)o=e[t],o.label=this._tickFormatFunction(o.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,o=we(this.isHorizontal()?t.maxRotation:t.minRotation),s=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:i*s+l*a,h:i*a+l*s}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,o=i[t.unit]||i.millisecond,s=this._tickFormatFunction(e,0,_a(this,[e],this._majorUnit),o),a=this._getLabelSize(s),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],t,i;if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(t=0,i=o.length;t<i;++t)e=e.concat(o[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const o=this.getLabels();for(t=0,i=o.length;t<i;++t)e.push(Ca(this,o[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Yh(e.sort(ka))}}V(Qn,"id","time"),V(Qn,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Jn(n,e,t){let i=0,o=n.length-1,s,a,l,c;t?(e>=n[i].pos&&e<=n[o].pos&&({lo:i,hi:o}=Zi(n,"pos",e)),{pos:s,time:l}=n[i],{pos:a,time:c}=n[o]):(e>=n[i].time&&e<=n[o].time&&({lo:i,hi:o}=Zi(n,"time",e)),{time:s,pos:l}=n[i],{time:a,pos:c}=n[o]);const d=a-s;return d?l+(c-l)*(e-s)/d:l}class va extends Qn{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Jn(t,this.min),this._tableRange=Jn(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,o=[],s=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=t&&d<=i&&o.push(d);if(o.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(a=0,l=o.length;a<l;++a)u=o[a+1],c=o[a-1],d=o[a],Math.round((u+c)/2)!==d&&s.push({time:d,pos:a/(l-1)});return s}_generate(){const e=this.min,t=this.max;let i=super.getDataTimestamps();return(!i.includes(e)||!i.length)&&i.splice(0,0,e),(!i.includes(t)||i.length===1)&&i.push(t),i.sort((o,s)=>o-s)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return t.length&&i.length?e=this.normalize(t.concat(i)):e=t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Jn(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Jn(this._table,i*this._tableRange+this._minPos,!0)}}V(va,"id","timeseries"),V(va,"defaults",Qn.defaults);const Sa={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},Wm={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Sa,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},Um=r.version[0]==="2"?(n,e)=>Object.assign(n,{attrs:e}):(n,e)=>Object.assign(n,e);function xt(n){return r.isProxy(n)?r.toRaw(n):n}function Ym(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n;return r.isProxy(e)?new Proxy(n,{}):n}function Km(n,e){const t=n.options;t&&e&&Object.assign(t,e)}function Ta(n,e){n.labels=e}function $a(n,e,t){const i=[];n.datasets=e.map(o=>{const s=n.datasets.find(a=>a[t]===o[t]);return!s||!o.data||i.includes(s)?{...o}:(i.push(s),Object.assign(s,o),s)})}function qm(n,e){const t={labels:[],datasets:[]};return Ta(t,n.labels),$a(t,n.datasets,e),t}const Xm=r.defineComponent({props:Wm,setup(n,e){let{expose:t,slots:i}=e;const o=r.ref(null),s=r.shallowRef(null);t({chart:s});const a=()=>{if(!o.value)return;const{type:d,data:u,options:h,plugins:p,datasetIdKey:f}=n,m=qm(u,f),g=Ym(m,u);s.value=new Yn(o.value,{type:d,data:g,options:{...h},plugins:p})},l=()=>{const d=r.toRaw(s.value);d&&(n.destroyDelay>0?setTimeout(()=>{d.destroy(),s.value=null},n.destroyDelay):(d.destroy(),s.value=null))},c=d=>{d.update(n.updateMode)};return r.onMounted(a),r.onUnmounted(l),r.watch([()=>n.options,()=>n.data],(d,u)=>{let[h,p]=d,[f,m]=u;const g=r.toRaw(s.value);if(!g)return;let b=!1;if(h){const y=xt(h),C=xt(f);y&&y!==C&&(Km(g,y),b=!0)}if(p){const y=xt(p.labels),C=xt(m.labels),w=xt(p.datasets),_=xt(m.datasets);y!==C&&(Ta(g.config.data,y),b=!0),w&&w!==_&&($a(g.config.data,w,n.datasetIdKey),b=!0)}b&&r.nextTick(()=>{c(g)})},{deep:!0}),()=>r.h("canvas",{role:"img","aria-label":n.ariaLabel,"aria-describedby":n.ariaDescribedby,ref:o},[r.h("p",{},[i.default?i.default():""])])}});function Ba(n,e){return Yn.register(e),r.defineComponent({props:Sa,setup(t,i){let{expose:o}=i;const s=r.shallowRef(null),a=l=>{s.value=l==null?void 0:l.chart};return o({chart:s}),()=>r.h(Xm,Um({ref:a},{type:n,...t}))}})}const Gm=Ba("doughnut",yt),Zm=Ba("pie",fo),Qm=["innerHTML"],Jm=["innerHTML"],eg={key:1,class:"flex justify-center mb-8"},tg=["onClick"],ng={key:0,class:"flex items-center gap-3 px-8 pt-8 md:px-12 md:pt-10"},ig=["innerHTML"],og={class:"flex flex-col md:flex-row"},rg={class:"w-full md:w-1/2 px-8 py-6 md:px-12 md:py-8"},sg=["innerHTML"],ag=["innerHTML"],lg=["disabled","onMouseenter","onClick"],cg={class:"flex-1 font-bold text-sm md:text-base text-iris"},dg={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"flex-shrink-0 text-stone"},ug={class:"w-full md:w-1/2 flex items-center justify-center"},hg={class:"w-[300px] md:w-[400px]"},fg=["innerHTML"],Pa=r.defineComponent({__name:"ChartModule",props:{__typename:{},variant:{default:"Single"},headline:{},subHeadline:{},bodyCopy:{},chartHeadline:{},chartBodyCopy:{},footer:{},chartType:{default:"doughnut"},chartData:{},tabs:{},backgroundColor:{},parentBackgroundColor:{},pt:{},isChild:{type:Boolean,default:!1},class:{}},setup(n){Yn.register(rn,vm,gm);const e={lily:"#ffffff",iris:"rgb(61, 15, 83)",wisteria:"rgb(137, 89, 227)",hydrangea:"rgb(204, 176, 250)",lavender:"rgb(168, 143, 237)",petunia:"rgb(189, 166, 224)",lilac:"rgb(120, 99, 166)",rosemary:"rgb(24, 165, 137)",mint:"rgb(66, 232, 191)",gentian:"rgb(107, 77, 224)",sage:"rgb(145, 217, 201)",moss:"rgb(191, 245, 229)",periwinkle:"rgb(178, 168, 255)",soil:"rgb(36, 31, 33)",pebble:"rgb(242, 242, 242)",stone:"rgb(69, 69, 69)",verberna:"rgb(136, 78, 153)",aster:"rgb(110, 59, 155)",monstera:"rgb(27, 79, 69)",peony:"rgb(217, 99, 124)",lobelia:"rgb(103, 131, 166)"},t=n,{backgroundColor:i,palette:o}=J({...t,backgroundColor:t.backgroundColor||t.parentBackgroundColor}),s=r.computed(()=>N(wi,t.pt??{})),a=r.ref(0),l=r.ref([]),c=r.ref(-1),d=r.ref(null),u=r.computed(()=>l.value.length>0),h=r.computed(()=>u.value?l.value[l.value.length-1]:null),p=r.computed(()=>{var k,B,P,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((B=O.tabs[a.value])==null?void 0:B.chartData)??[]:O.chartData}return t.variant==="Multi"&&((P=t.tabs)!=null&&P.length)?((I=t.tabs[a.value])==null?void 0:I.chartData)??[]:t.chartData??[]}),f=r.computed(()=>{var k,B,P,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((B=O.tabs[a.value])==null?void 0:B.chartType)??O.chartType??"doughnut":O.chartType??"doughnut"}return t.variant==="Multi"&&((P=t.tabs)!=null&&P.length)?((I=t.tabs[a.value])==null?void 0:I.chartType)??t.chartType??"doughnut":t.chartType??"doughnut"}),m=r.computed(()=>{var k;return u.value&&((k=h.value)==null?void 0:k.variant)==="Multi"?h.value.tabs??[]:t.tabs??[]}),g=r.computed(()=>{var k,B,P,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((B=O.tabs[a.value])==null?void 0:B.headline)??O.headline:O.headline}return t.variant==="Multi"&&((P=t.tabs)!=null&&P.length)?((I=t.tabs[a.value])==null?void 0:I.headline)??t.chartHeadline??t.headline:t.variant==="Section"?t.chartHeadline??t.headline:t.headline}),b=r.computed(()=>{var k,B,P,I;if(u.value&&h.value){const O=h.value;return O.variant==="Multi"&&((k=O.tabs)!=null&&k.length)?((B=O.tabs[a.value])==null?void 0:B.subHeadline)??O.subHeadline:O.subHeadline}if(t.variant==="Multi"&&((P=t.tabs)!=null&&P.length))return((I=t.tabs[a.value])==null?void 0:I.subHeadline)??t.subHeadline;if(t.variant!=="Section")return t.subHeadline}),y=r.computed(()=>u.value&&h.value?h.value.bodyCopy:t.variant==="Section"?t.chartBodyCopy??t.bodyCopy:t.bodyCopy),C=k=>e[k]??k,w=r.computed(()=>({labels:p.value.map(k=>k.label),datasets:[{data:p.value.map(k=>k.value),backgroundColor:p.value.map(k=>C(k.color)),hoverBackgroundColor:p.value.map(k=>C(k.color)),borderColor:"#ffffff",borderWidth:2,hoverOffset:15}]})),_={responsive:!0,maintainAspectRatio:!0,layout:{padding:20},animation:{duration:200},plugins:{legend:{display:!1},tooltip:{callbacks:{label:k=>{const B=k.label??"",P=k.parsed??0;return`${B}: ${P}%`}}}}},x=k=>{var B;c.value=k,(B=d.value)!=null&&B.chart&&(d.value.chart.setActiveElements([{datasetIndex:0,index:k}]),d.value.chart.update())},T=()=>{var k;c.value=-1,(k=d.value)!=null&&k.chart&&(d.value.chart.setActiveElements([]),d.value.chart.update())},$=k=>{k.drillDown&&(a.value=0,l.value.push(k.drillDown))},M=()=>{l.value.pop(),a.value=0},E=k=>{a.value=k},L=r.computed(()=>D(`bg-${i}`,s.value.root??"",t.class??"")),A=r.computed(()=>{var k,B;return u.value&&((k=h.value)==null?void 0:k.variant)==="Multi"?!0:t.variant==="Multi"&&(((B=t.tabs)==null?void 0:B.length)??0)>1}),S=r.computed(()=>t.variant==="Section");return(k,B)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(k.isChild?"div":"section"),{class:r.normalizeClass(L.value)},{default:r.withCtx(()=>[r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("max-w-[1440px] mx-auto px-8 py-12 md:py-16",s.value.container??""))},[S.value&&!u.value?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[k.headline?(r.openBlock(),r.createElementBlock("h2",{key:0,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).headline} text-center text-4xl md:text-5xl font-bold leading-tight mb-4`,s.value.headline??"")),innerHTML:k.headline},null,10,Qm)):r.createCommentVNode("",!0),k.subHeadline?(r.openBlock(),r.createElementBlock("h3",{key:1,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).subheadline} text-center text-lg md:text-xl mb-8 max-w-[800px] mx-auto`,s.value.subheadline??"")),innerHTML:k.subHeadline},null,10,Jm)):r.createCommentVNode("",!0)],64)):r.createCommentVNode("",!0),A.value&&m.value.length>1?(r.openBlock(),r.createElementBlock("div",eg,[r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("inline-flex border border-soil rounded-full overflow-hidden",s.value.tabs??""))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(m.value,(P,I)=>{var O,j;return r.openBlock(),r.createElementBlock("button",{key:P.label,class:r.normalizeClass(r.unref(D)("px-6 py-3 font-bold transition-colors text-sm md:text-base",s.value.tab??"",I===a.value?r.unref(D)(`bg-${((O=r.unref(o).interactive)==null?void 0:O.bg)??"wisteria"} text-${((j=r.unref(o).interactive)==null?void 0:j.copy)??"lily"}`,s.value.tabActive??""):`text-${r.unref(o).copy} hover:opacity-80`)),onClick:R=>E(I)},r.toDisplayString(P.label),11,tg)}),128))],2)])):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("bg-white rounded-3xl overflow-visible",S.value?"border border-stone/20":"",s.value.chart??""))},[g.value?(r.openBlock(),r.createElementBlock("div",ng,[u.value?(r.openBlock(),r.createElementBlock("button",{key:0,class:r.normalizeClass(r.unref(D)("text-rosemary hover:opacity-80 transition-opacity flex-shrink-0",s.value.backButton??"")),"aria-label":"Go back",onClick:M},B[0]||(B[0]=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},[r.createElementVNode("path",{d:"M15 18l-6-6 6-6"})],-1)]),2)):r.createCommentVNode("",!0),r.createElementVNode("h2",{class:"text-iris text-3xl md:text-4xl font-bold leading-tight",innerHTML:g.value},null,8,ig)])):r.createCommentVNode("",!0),r.createElementVNode("div",og,[r.createElementVNode("div",rg,[b.value?(r.openBlock(),r.createElementBlock("h3",{key:0,class:r.normalizeClass(r.unref(D)("text-iris text-lg md:text-xl font-bold mb-1",s.value.subheadline??"")),innerHTML:b.value},null,10,sg)):r.createCommentVNode("",!0),y.value?(r.openBlock(),r.createElementBlock("p",{key:1,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).copy} text-base mb-4`,s.value.bodyCopy??"")),innerHTML:y.value},null,10,ag)):r.createCommentVNode("",!0),r.createElementVNode("div",{class:r.normalizeClass(r.unref(D)("max-h-[300px] overflow-y-auto",s.value.legend??""))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(p.value,(P,I)=>(r.openBlock(),r.createElementBlock("button",{key:P.label,class:r.normalizeClass(r.unref(D)("w-full flex items-center gap-3 border rounded-full py-3 px-5 my-2 text-left transition-all duration-200",c.value===I?"border-2 border-soil":"border border-stone/30",P.drillDown?"cursor-pointer":"cursor-default",s.value.legendItem??"")),disabled:!P.drillDown,onMouseenter:O=>x(I),onMouseleave:T,onClick:O=>$(P)},[r.createElementVNode("span",{class:r.normalizeClass(r.unref(D)("w-4 h-4 rounded-full flex-shrink-0",s.value.legendCircle??"")),style:r.normalizeStyle({backgroundColor:C(P.color)})},null,6),r.createElementVNode("span",cg,r.toDisplayString(P.label)+"  - "+r.toDisplayString(P.value)+"% ",1),P.drillDown?(r.openBlock(),r.createElementBlock("svg",dg,B[1]||(B[1]=[r.createElementVNode("path",{d:"M9 18l6-6-6-6"},null,-1)]))):r.createCommentVNode("",!0)],42,lg))),128))],2)]),r.createElementVNode("div",ug,[r.createElementVNode("div",hg,[f.value==="doughnut"?(r.openBlock(),r.createBlock(r.unref(Gm),{key:0,ref_key:"chartRef",ref:d,data:w.value,options:_},null,8,["data"])):(r.openBlock(),r.createBlock(r.unref(Zm),{key:1,ref_key:"chartRef",ref:d,data:w.value,options:_},null,8,["data","options"]))])])])],2),k.footer?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(r.unref(D)(`text-${r.unref(o).copy} text-lg mt-8`,s.value.footer??"")),innerHTML:k.footer},null,10,fg)):r.createCommentVNode("",!0)],2)]),_:1},8,["class"]))}}),pg=Object.freeze(Object.defineProperty({__proto__:null,Accordion:dt,AccordionItem:ir,AccordionListItem:ar,AccordionTileItem:lr,AnimationWrapper:Vi,CTA:be,CarouselModule:mr,ChartModule:Pa,ContainerCollectionModule:Cr,ContainerModule:yr,ContentModule:kr,FooterCopyright:mn,FooterNavigation:xr,HelloBanner:Ir,Image:de,LogoCollectionModule:wr,NavigationElement:Be,PrimaryNavigation:_r,SocialMediaRef:pn,SplitModule:vr,TestimonialModule:Sr,TileCollectionModule:Tr,TileContentIconTile:$r,TileContentImageStackedAnimatedTile:Lr,TileContentImageTile:Br,TileContentTextTile:Pr,TileContentVideoTile:Mr,Video:zt},Symbol.toStringTag,{value:"Module"})),mg=n=>{Object.entries(pg).forEach(([e,t])=>{n.component(e,t)})},gg=(n,e)=>{const t=(o,s)=>{for(const a of Object.keys(s))typeof s[a]=="object"?t(o[a],s[a]):o[a]=s[a]},i=sl[`${n}Pt`];i&&t(i,e)};v.Accordion=dt,v.AccordionItem=ir,v.AccordionItemPt=vt,v.AccordionListItem=ar,v.AccordionListItemPt=oi,v.AccordionPt=ni,v.AccordionStyle=Rd,v.AccordionTileItem=lr,v.AccordionTileItemPt=ri,v.AnimationWrapper=Vi,v.CTA=be,v.CTAOptions=br,v.CTAPt=di,v.CarouselModule=mr,v.CarouselModuleAltPt=Po,v.CarouselModulePt=si,v.CarouselVariant=Kd,v.ChartModule=Pa,v.ChartModulePt=wi,v.ContainerCollectionModule=Cr,v.ContainerCollectionModulePt=ai,v.ContainerModule=yr,v.ContainerModuleMobileImagePosition=Yd,v.ContainerModulePt=li,v.ContainerVariant=Nd,v.ContentModule=kr,v.ContentModuleAlignment=Ud,v.ContentModulePt=ci,v.CtaType=jd,v.DEFAULT_PALETTES=Io,v.DEFAULT_PASSTHROUGH=ie,v.FooterCopyright=mn,v.FooterNavigation=xr,v.FooterNavigationPt=Mo,v.HelloBanner=Ir,v.HelloBannerPt=_i,v.Image=de,v.ImagePt=Eo,v.LogoCollectionModule=wr,v.LogoCollectionModulePt=ui,v.MediaOptions=gr,v.ModuleTypeName=Vd,v.NavigationElement=Be,v.NavigationElementPt=hi,v.PrimaryNavigation=_r,v.PrimaryNavigationPt=Ao,v.SocialMediaRef=pn,v.SplitModule=vr,v.SplitModulePt=fi,v.TestimonialModule=Sr,v.TestimonialModulePt=pi,v.TileCollectionModule=Tr,v.TileCollectionModulePt=mi,v.TileCollectionVariant=zd,v.TileContentAlignment=Hd,v.TileContentIconTile=$r,v.TileContentIconTilePt=gi,v.TileContentImageStackedAnimatedTile=Lr,v.TileContentImageStackedAnimatedTilePt=bi,v.TileContentImageTile=Br,v.TileContentImageTilePt=yi,v.TileContentPt=Ge,v.TileContentTextPosition=Wd,v.TileContentTextTile=Pr,v.TileContentTextTilePt=ki,v.TileContentVariant=Fd,v.TileContentVideoTile=Mr,v.TileContentVideoTilePt=Ci,v.TileLabelPt=xi,v.VariantOptions=ze,v.Video=zt,v.VideoPt=Lo,v.combineAccordionPassthroughs=ii,v.combinePassthroughs=N,v.getTarget=fn,v.initGlobalComponents=mg,v.overridePalette=al,v.overridePassthrough=gg,v.withColorPalette=J,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});