qc-trousse-sdg 1.3.2 → 1.4.0-develop.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/js/qc-sdg.min.js +1 -1
- package/package.json +3 -3
- package/public/index.html +375 -296
- package/public/js/qc-doc-sdg.js +5043 -1580
- package/public/js/qc-sdg.js +8111 -3685
- package/rollup.config.js +1 -0
- package/src/doc/components/Code.svelte +10 -15
- package/src/doc/components/Exemple.svelte +18 -15
- package/src/doc/components/Switch.svelte +7 -6
- package/src/doc/components/TopNav.svelte +6 -3
- package/src/doc/components/color-doc.svelte +2 -2
- package/src/doc/qc-doc-sdg.js +4 -1
- package/src/sdg/_components.js +10 -9
- package/src/sdg/components/Alert/Alert.svelte +69 -0
- package/src/sdg/components/Alert/AlertWC.svelte +24 -0
- package/src/sdg/components/ExternalLink/ExternalLink.svelte +96 -0
- package/src/sdg/components/ExternalLink/ExternalLinkWC.svelte +15 -0
- package/src/sdg/components/Icon/Icon.svelte +26 -0
- package/src/sdg/components/Icon/IconWC.svelte +20 -0
- package/src/sdg/components/IconButton/IconButton.svelte +30 -0
- package/src/sdg/components/IconButton/IconButtonWC.svelte +19 -0
- package/src/sdg/components/Notice/Notice.svelte +83 -0
- package/src/sdg/components/Notice/NoticeWC.svelte +25 -0
- package/src/sdg/components/PivFooter/PivFooter.svelte +51 -0
- package/src/sdg/components/PivFooter/PivFooterWC.svelte +52 -0
- package/src/sdg/components/PivFooter/_defaultCopyright.svelte +11 -0
- package/src/sdg/components/PivHeader/PivHeader.svelte +144 -0
- package/src/sdg/components/PivHeader/PivHeaderWC.svelte +68 -0
- package/src/sdg/components/PivHeader/_defaultLinks.svelte +24 -0
- package/src/sdg/components/SearchBar/SearchBar.svelte +67 -0
- package/src/sdg/components/SearchBar/SearchBarWC.svelte +17 -0
- package/src/sdg/components/SearchInput/SearchInput.svelte +17 -26
- package/src/sdg/components/SearchInput/SearchInputWC.svelte +16 -0
- package/src/sdg/components/{toTop.svelte → ToTop/ToTop.svelte} +31 -38
- package/src/sdg/components/ToTop/ToTopWC.svelte +16 -0
- package/src/sdg/components/utils.js +1 -1
- package/src/sdg/components/Button/IconButton.svelte +0 -29
- package/src/sdg/components/Icon.svelte +0 -39
- package/src/sdg/components/PivHeader/pivHeader.svelte +0 -158
- package/src/sdg/components/SearchBar/searchBar.svelte +0 -87
- package/src/sdg/components/alert.svelte +0 -88
- package/src/sdg/components/componentWrapper.js +0 -24
- package/src/sdg/components/externalLink.svelte +0 -92
- package/src/sdg/components/notice.svelte +0 -83
- package/src/sdg/components/pivFooter.svelte +0 -65
package/README.md
CHANGED
|
@@ -300,7 +300,11 @@ Dans la version 1.3.0, il suffit d'importer `qc-sdg-lib.scss` pour bénéficier
|
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
## Historique
|
|
303
|
-
|
|
303
|
+
- develop:
|
|
304
|
+
- Passage à svelte 5 ;
|
|
305
|
+
- Organisation des composants par dossier ;
|
|
306
|
+
- Séparation des composants en deux : un composant svelte et un composant web (suffixé WC). De cette façon, quand la trousse est utilisée comme dépendance dans un projet svelte, il est possible d'importer des composants svelte de la trousse sans que cela redéclare un custom element ;
|
|
307
|
+
- correction d'un bug dans le composant lien externe lorsqu'il contient un retour à la ligne ;
|
|
304
308
|
- 1.3.2 :
|
|
305
309
|
- modification de la couleur de focus des liens du bandeau PIV ;
|
|
306
310
|
- 1.3.1 :
|
package/dist/js/qc-sdg.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function i(){return Object.create(null)}function o(t){t.forEach(n)}function r(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s;function c(t,e){return t===e||(s||(s=document.createElement("a")),s.href=e,t===s.href)}function a(t,e,n,i){if(t){const o=u(t,e,n,i);return t[0](o)}}function u(t,n,i,o){return t[1]&&o?e(i.ctx.slice(),t[1](o(n))):i.ctx}function h(t,e,n,i){if(t[2]&&i){const o=t[2](i(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let i=0;i<n;i+=1)t[i]=e.dirty[i]|o[i];return t}return e.dirty|o}return e.dirty}function $(t,e,n,i,o,r){if(o){const l=u(e,n,i,r);t.p(l,o)}}function d(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}function g(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function f(t,e){const n={};e=new Set(e);for(const i in t)e.has(i)||"$"===i[0]||(n[i]=t[i]);return n}const p="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function m(t,e){t.appendChild(e)}function b(t,e,n){t.insertBefore(e,n||null)}function x(t){t.parentNode&&t.parentNode.removeChild(t)}function y(t){return document.createElement(t)}function v(t){return document.createTextNode(t)}function T(){return v(" ")}function w(){return v("")}function S(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function L(t){return function(e){return e.preventDefault(),t.call(this,e)}}function k(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const A=["width","height"];function E(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)null==e[i]?t.removeAttribute(i):"style"===i?t.style.cssText=e[i]:"__value"===i?t.value=t[i]=e[i]:n[i]&&n[i].set&&-1===A.indexOf(i)?t[i]=e[i]:k(t,i,e[i])}function C(t,e){e=""+e,t.data!==e&&(t.data=e)}function U(t,e){t.value=null==e?"":e}function _(t,e,n,i){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function q(t,e,n){t.classList.toggle(e,!!n)}class z{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(t=!1){this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){var i;this.e||(this.is_svg?this.e=(i=e.nodeName,document.createElementNS("http://www.w3.org/2000/svg",i)):this.e=y(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)b(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(x)}}let P;function N(t){P=t}function j(t){(function(){if(!P)throw new Error("Function called outside component initialization");return P})().$$.on_mount.push(t)}function W(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t.call(this,e)))}const I=[],B=[];let O=[];const H=[],R=Promise.resolve();let F=!1;function M(t){O.push(t)}const D=new Set;let Q=0;function J(){if(0!==Q)return;const t=P;do{try{for(;Q<I.length;){const t=I[Q];Q++,N(t),Y(t.$$)}}catch(t){throw I.length=0,Q=0,t}for(N(null),I.length=0,Q=0;B.length;)B.pop()();for(let t=0;t<O.length;t+=1){const e=O[t];D.has(e)||(D.add(e),e())}O.length=0}while(I.length);for(;H.length;)H.pop()();F=!1,D.clear(),N(t)}function Y(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(M)}}const G=new Set;let K,V;function X(){K={r:0,c:[],p:K}}function Z(){K.r||o(K.c),K=K.p}function tt(t,e){t&&t.i&&(G.delete(t),t.i(e))}function et(t,e,n,i){if(t&&t.o){if(G.has(t))return;G.add(t),K.c.push((()=>{G.delete(t),i&&(n&&t.d(1),i())})),t.o(e)}else i&&i()}function nt(t){return void 0!==t?.length?t:Array.from(t)}function it(t,e){const n={},i={},o={$$scope:1};let r=t.length;for(;r--;){const l=t[r],s=e[r];if(s){for(const t in l)t in s||(i[t]=1);for(const t in s)o[t]||(n[t]=s[t],o[t]=1);t[r]=s}else for(const t in l)o[t]=1}for(const t in i)t in n||(n[t]=void 0);return n}function ot(t){return"object"==typeof t&&null!==t?t:{}}function rt(t){t&&t.c()}function lt(t,e,i){const{fragment:l,after_update:s}=t.$$;l&&l.m(e,i),M((()=>{const e=t.$$.on_mount.map(n).filter(r);t.$$.on_destroy?t.$$.on_destroy.push(...e):o(e),t.$$.on_mount=[]})),s.forEach(M)}function st(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];O.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),O=e}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ct(t,e){-1===t.$$.dirty[0]&&(I.push(t),F||(F=!0,R.then(J)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function at(e,n,r,l,s,c,a=null,u=[-1]){const h=P;N(e);const $=e.$$={fragment:null,ctx:[],props:c,update:t,not_equal:s,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:i(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};a&&a($.root);let d=!1;if($.ctx=r?r(e,n.props||{},((t,n,...i)=>{const o=i.length?i[0]:n;return $.ctx&&s($.ctx[t],$.ctx[t]=o)&&(!$.skip_bound&&$.bound[t]&&$.bound[t](o),d&&ct(e,t)),n})):[],$.update(),d=!0,o($.before_update),$.fragment=!!l&&l($.ctx),n.target){if(n.hydrate){const t=function(t){return Array.from(t.childNodes)}(n.target);$.fragment&&$.fragment.l(t),t.forEach(x)}else $.fragment&&$.fragment.c();n.intro&&tt(e.$$.fragment),lt(e,n.target,n.anchor),J()}N(h)}function ut(t,e,n,i){const o=n[t]?.type;if(e="Boolean"===o&&"boolean"!=typeof e?null!=e:e,!i||!n[t])return e;if("toAttribute"===i)switch(o){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function ht(t,e,n,i,o,r){let l=class extends V{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(l.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(n){n=ut(t,n,e),this.$$d[t]=n,this.$$c?.$set({[t]:n})}})})),i.forEach((t=>{Object.defineProperty(l.prototype,t,{get(){return this.$$c?.[t]}})})),t.element=l,l}"function"==typeof HTMLElement&&(V=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=y("slot"),"default"!==t&&k(e,"name",t)},m:function(t,n){b(t,e,n)},d:function(t){t&&x(e)}}}}const e={},n=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const o of this.$$s)o in n&&(e[o]=[t(o)]);for(const r of this.attributes){const l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=ut(l,r.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)s in this.$$d||void 0===this[s]||(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const i=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=ut(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const c in this.$$l)for(const a of this.$$l[c]){const u=this.$$c.$on(c,a);this.$$l_u.set(a,u)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ut(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class $t{$$=void 0;$$set=void 0;$destroy(){st(this,1),this.$destroy=t}$on(e,n){if(!r(n))return t;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class dt{static assetsBasePath=document.currentScript.getAttribute("sdg-assets-base-path")||new URL(document.currentScript.src).pathname.split("/").slice(0,-2).join("/")||".";static cssRelativePath=`${this.assetsBasePath}/css/`.replace("//","/");static imagesRelativePath=`${this.assetsBasePath}/img/`.replace("//","/");static cssFileName=document.currentScript.getAttribute("sdg-css-filename")||"qc-sdg.min.css";static cssPath=document.currentScript.getAttribute("sdg-css-path")||this.cssRelativePath+this.cssFileName;static sharedTexts={openInNewTab:{fr:"Ce lien s’ouvrira dans un nouvel onglet.",en:"This link will open in a new tab."}};static getPageLanguage(){return document.getElementsByTagName("html")[0].getAttribute("lang")||"fr"}static isTruthy(t){return"boolean"==typeof t?t:"string"==typeof t?"true"===t.toLowerCase()||!!parseInt(t):"number"==typeof t&&!!t}}function gt(n){let i,o,r=[{role:"img"},{class:"qc-icon"},{"aria-label":n[1]},{style:o="--img-color:var(--qc-color-"+n[2]+"); --img-width:"+n[3]+"; --img-height:"+n[4]+";"},{"data-img-type":n[0]},n[5],n[6]],l={};for(let t=0;t<r.length;t+=1)l=e(l,r[t]);return{c(){i=y("div"),E(i,l)},m(t,e){b(t,i,e)},p(t,[e]){E(i,l=it(r,[{role:"img"},{class:"qc-icon"},2&e&&{"aria-label":t[1]},28&e&&o!==(o="--img-color:var(--qc-color-"+t[2]+"); --img-width:"+t[3]+"; --img-height:"+t[4]+";")&&{style:o},1&e&&{"data-img-type":t[0]},32&e&&t[5],64&e&&t[6]]))},i:t,o:t,d(t){t&&x(i)}}}function ft(t,n,i){let o;const r=["type","label","size","color","width","height"];let l=f(n,r),{type:s,label:c,size:a="md",color:u="text-primary",width:h="auto",height:$="auto"}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(6,l=f(n,r)),"type"in t&&i(0,s=t.type),"label"in t&&i(1,c=t.label),"size"in t&&i(7,a=t.size),"color"in t&&i(2,u=t.color),"width"in t&&i(3,h=t.width),"height"in t&&i(4,$=t.height)},t.$$.update=()=>{136&t.$$.dirty&&i(5,o="auto"===h?{"data-img-size":a}:{})},[s,c,u,h,$,o,l,a]}class pt extends $t{constructor(t){super(),at(this,t,ft,gt,l,{type:0,label:1,size:7,color:2,width:3,height:4})}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),J()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),J()}get size(){return this.$$.ctx[7]}set size(t){this.$$set({size:t}),J()}get color(){return this.$$.ctx[2]}set color(t){this.$$set({color:t}),J()}get width(){return this.$$.ctx[3]}set width(t){this.$$set({width:t}),J()}get height(){return this.$$.ctx[4]}set height(t){this.$$set({height:t}),J()}}function mt(t){let e,n=t[0],i=t[0]&&bt(t);return{c(){i&&i.c(),e=w()},m(t,n){i&&i.m(t,n),b(t,e,n)},p(t,o){t[0]?n?l(n,t[0])?(i.d(1),i=bt(t),n=t[0],i.c(),i.m(e.parentNode,e)):i.p(t,o):(i=bt(t),n=t[0],i.c(),i.m(e.parentNode,e)):n&&(i.d(1),i=null,n=t[0])},d(t){t&&x(e),i&&i.d(t)}}}function bt(t){let e;return{c(){e=y(t[0])},m(n,i){b(n,e,i),e.innerHTML=t[1]},p(t,n){2&n&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function xt(t){let e,n,i,o,r,l,s,c,u,g,f,p,v,w;o=new pt({props:{type:t[6],label:t[5],size:"nm"}});let S=t[1]&&mt(t);const L=t[12].default,A=a(L,t,t[11],null);return{c(){e=y("div"),n=y("div"),i=y("div"),rt(o.$$.fragment),r=T(),l=y("div"),s=y("div"),S&&S.c(),c=T(),u=new z(!1),g=T(),A&&A.c(),p=T(),v=y("link"),k(i,"class","qc-icon"),k(n,"class","icon-container"),u.a=g,k(s,"class","content"),k(s,"role",t[4]),k(l,"class","content-container"),k(e,"class",f="qc-component qc-notice qc-"+t[7]),k(e,"tabindex","0"),k(v,"rel","stylesheet"),k(v,"href",dt.cssPath)},m(a,h){b(a,e,h),m(e,n),m(n,i),lt(o,i,null),m(e,r),m(e,l),m(l,s),S&&S.m(s,null),m(s,c),u.m(t[2],s),m(s,g),A&&A.m(s,null),t[13](s),b(a,p,h),b(a,v,h),w=!0},p(t,[n]){const i={};64&n&&(i.type=t[6]),32&n&&(i.label=t[5]),o.$set(i),t[1]?S?S.p(t,n):(S=mt(t),S.c(),S.m(s,c)):S&&(S.d(1),S=null),(!w||4&n)&&u.p(t[2]),A&&A.p&&(!w||2048&n)&&$(A,L,t,t[11],w?h(L,t[11],n,null):d(t[11]),null),(!w||16&n)&&k(s,"role",t[4]),(!w||128&n&&f!==(f="qc-component qc-notice qc-"+t[7]))&&k(e,"class",f)},i(t){w||(tt(o.$$.fragment,t),tt(A,t),w=!0)},o(t){et(o.$$.fragment,t),et(A,t),w=!1},d(n){n&&(x(e),x(p),x(v)),st(o),S&&S.d(),A&&A.d(n),t[13](null)}}}function yt(t,e,n){let i,o,r,l,s,{$$slots:c={},$$scope:a}=e;const u="fr"==dt.getPageLanguage(),h="h2",$="information",d={advice:u?"Avis conseil":"Advisory notice",note:u?"Avis explicatif":"Explanatory notice",information:u?"Avis général":"General notice",warning:u?"Avis d’avertissement":"Warning notice",success:u?"Avis de réussite":"Success notice",error:u?"Avis d’erreur":"Error notice"},g=Object.keys(d);let f,{title:p="",type:m=$,content:b="",header:x=h,icon:y}=e;return t.$$set=t=>{"title"in t&&n(1,p=t.title),"type"in t&&n(8,m=t.type),"content"in t&&n(2,b=t.content),"header"in t&&n(0,x=t.header),"icon"in t&&n(9,y=t.icon),"$$scope"in t&&n(11,a=t.$$scope)},t.$$.update=()=>{if(1&t.$$.dirty&&n(0,x=x.match(/h[1-6]/)?x:h),256&t.$$.dirty&&n(8,m=g.includes(m)?m:$),256&t.$$.dirty&&n(4,i="success"===m?"status":"error"===m?"alert":null),24&t.$$.dirty&&i&&f){const t=Array.from(f.childNodes);n(3,f.innerHTML="",f),t.forEach((t=>f.appendChild(t)))}256&t.$$.dirty&&n(10,o="advice"===m||"note"===m),1280&t.$$.dirty&&n(7,r=o?"neutral":m),1792&t.$$.dirty&&n(6,l=o?y??"note":m),256&t.$$.dirty&&n(5,s=d[m]??d.information)},[x,p,b,f,i,s,l,r,m,y,o,a,c,function(t){B[t?"unshift":"push"]((()=>{f=t,n(3,f),n(4,i),n(8,m)}))}]}customElements.define("qc-icon",ht(pt,{type:{attribute:"icon"},label:{attribute:"label"},size:{attribute:"size"},color:{attribute:"color"},width:{attribute:"width"},height:{attribute:"height"}},[],[],!1));customElements.define("qc-notice",ht(class extends $t{constructor(t){super(),at(this,t,yt,xt,l,{title:1,type:8,content:2,header:0,icon:9})}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),J()}get type(){return this.$$.ctx[8]}set type(t){this.$$set({type:t}),J()}get content(){return this.$$.ctx[2]}set content(t){this.$$set({content:t}),J()}get header(){return this.$$.ctx[0]}set header(t){this.$$set({header:t}),J()}get icon(){return this.$$.ctx[9]}set icon(t){this.$$set({icon:t}),J()}},{title:{},type:{},content:{},header:{},icon:{}},["default"],[],!0));const vt=t=>({}),Tt=t=>({}),wt=t=>({}),St=t=>({});function Lt(t){let e,n,i;return{c(){e=y("div"),n=y("a"),i=v(t[13]),k(n,"href",t[12]),k(e,"class","go-to-content")},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){8192&e&&C(i,t[13]),4096&e&&k(n,"href",t[12])},d(t){t&&x(e)}}}function kt(t){let e,n,i;return{c(){e=y("div"),n=y("a"),i=v(t[5]),k(n,"href",t[4]),k(n,"class","title"),k(e,"class","title")},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){32&e&&C(i,t[5]),16&e&&k(n,"href",t[4])},d(t){t&&x(e)}}}function At(t){let e,n,i,r,l,s=(t[18]?t[15]:t[14])+"";return{c(){e=y("a"),n=y("span"),i=v(s),k(e,"class","qc-search"),k(e,"href","/"),k(e,"role","button")},m(o,s){b(o,e,s),m(e,n),m(n,i),r||(l=[S(e,"click",L(t[23])),S(e,"click",t[16])],r=!0)},p(t,e){311296&e&&s!==(s=(t[18]?t[15]:t[14])+"")&&C(i,s)},d(t){t&&x(e),r=!1,o(l)}}}function Et(t){let e,n,i,o=t[8]&&Ct(t),r=t[10]&&Ut(t);return{c(){e=y("nav"),n=y("ul"),o&&o.c(),i=T(),r&&r.c(),k(e,"aria-label",t[6])},m(t,l){b(t,e,l),m(e,n),o&&o.m(n,null),m(n,i),r&&r.m(n,null)},p(t,l){t[8]?o?o.p(t,l):(o=Ct(t),o.c(),o.m(n,i)):o&&(o.d(1),o=null),t[10]?r?r.p(t,l):(r=Ut(t),r.c(),r.m(n,null)):r&&(r.d(1),r=null),64&l&&k(e,"aria-label",t[6])},d(t){t&&x(e),o&&o.d(),r&&r.d()}}}function Ct(t){let e,n,i;return{c(){e=y("li"),n=y("a"),i=v(t[7]),k(n,"href",t[8])},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){128&e&&C(i,t[7]),256&e&&k(n,"href",t[8])},d(t){t&&x(e)}}}function Ut(t){let e,n,i;return{c(){e=y("li"),n=y("a"),i=v(t[9]),k(n,"href",t[10])},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){512&e&&C(i,t[9]),1024&e&&k(n,"href",t[10])},d(t){t&&x(e)}}}function _t(t){let e,n;const i=t[22]["search-zone"],o=a(i,t,t[21],Tt);return{c(){e=y("div"),o&&o.c(),k(e,"class","search-zone")},m(t,i){b(t,e,i),o&&o.m(e,null),n=!0},p(t,e){o&&o.p&&(!n||2097152&e)&&$(o,i,t,t[21],n?h(i,t[21],e,vt):d(t[21]),Tt)},i(t){n||(tt(o,t),n=!0)},o(t){et(o,t),n=!1},d(t){t&&x(e),o&&o.d(t)}}}function qt(t){let e,n,i,o,r,l,s,c,u,g,f,p,v,S,L,A,E,C="true"==t[11]&&Lt(t),U=t[5]&&kt(t),q="true"==t[0]&&At(t);const z=t[22].links,P=a(z,t,t[21],St),N=P||function(t){let e,n=(t[10]||t[8])&&Et(t);return{c(){n&&n.c(),e=w()},m(t,i){n&&n.m(t,i),b(t,e,i)},p(t,i){t[10]||t[8]?n?n.p(t,i):(n=Et(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){t&&x(e),n&&n.d(t)}}}(t);let j=t[18]&&_t(t);return{c(){e=y("div"),n=y("div"),C&&C.c(),i=T(),o=y("div"),r=y("div"),l=y("a"),s=y("div"),c=T(),U&&U.c(),u=T(),g=y("div"),q&&q.c(),f=T(),p=y("div"),N&&N.c(),v=T(),S=y("div"),j&&j.c(),L=T(),A=y("link"),k(s,"role","img"),k(s,"aria-label",t[3]),k(l,"href",t[1]),k(l,"class","logo"),k(l,"rel","noreferrer"),k(r,"class","signature-group"),k(p,"class","links"),k(g,"class","right-section"),k(o,"class","piv-top"),k(S,"class","piv-bottom"),k(n,"class",t[17]),k(e,"role","banner"),k(e,"class","qc-piv-header qc-component"),_(e,"--logo-src","url("+t[2]+")"),k(A,"rel","stylesheet"),k(A,"href",dt.cssPath)},m(t,a){b(t,e,a),m(e,n),C&&C.m(n,null),m(n,i),m(n,o),m(o,r),m(r,l),m(l,s),m(r,c),U&&U.m(r,null),m(o,u),m(o,g),q&&q.m(g,null),m(g,f),m(g,p),N&&N.m(p,null),m(n,v),m(n,S),j&&j.m(S,null),b(t,L,a),b(t,A,a),E=!0},p(t,[o]){"true"==t[11]?C?C.p(t,o):(C=Lt(t),C.c(),C.m(n,i)):C&&(C.d(1),C=null),(!E||8&o)&&k(s,"aria-label",t[3]),(!E||2&o)&&k(l,"href",t[1]),t[5]?U?U.p(t,o):(U=kt(t),U.c(),U.m(r,null)):U&&(U.d(1),U=null),"true"==t[0]?q?q.p(t,o):(q=At(t),q.c(),q.m(g,f)):q&&(q.d(1),q=null),P?P.p&&(!E||2097152&o)&&$(P,z,t,t[21],E?h(z,t[21],o,wt):d(t[21]),St):N&&N.p&&(!E||1984&o)&&N.p(t,E?o:-1),t[18]?j?(j.p(t,o),262144&o&&tt(j,1)):(j=_t(t),j.c(),tt(j,1),j.m(S,null)):j&&(X(),et(j,1,1,(()=>{j=null})),Z()),(!E||131072&o)&&k(n,"class",t[17]),(!E||4&o)&&_(e,"--logo-src","url("+t[2]+")")},i(t){E||(tt(N,t),tt(j),E=!0)},o(t){et(N,t),et(j),E=!1},d(t){t&&(x(e),x(L),x(A)),C&&C.d(),U&&U.d(),q&&q.d(),N&&N.d(t),j&&j.d()}}}function zt(t,e,n){let{$$slots:i={},$$scope:o}=e;const r=dt.getPageLanguage();let{logoUrl:l="/",fullWidth:s="false",logoSrc:c=dt.imagesRelativePath+"QUEBEC_blanc.svg",logoAlt:a=("fr"===r?"Logo du gouvernement du Québec":"Logo of government of Québec"),titleUrl:u="/",titleText:h="",linksLabel:$=("fr"===r?"Navigation PIV":"PIV navigation"),altLanguageText:d=("fr"===r?"English":"Français"),altLanguageUrl:g="",joinUsText:f=("fr"===r?"Nous joindre":"Contact us"),joinUsUrl:p="",goToContent:m="true",goToContentAnchor:b="#main",goToContentText:x=("fr"===r?"Passer au contenu":"Skip to content"),displaySearchText:y=("fr"===r?"Cliquer pour faire une recherche":"Click to search"),hideSearchText:v=("fr"===r?"Masquer la barre de recherche":"Hide search bar"),enableSearch:T="false",showSearch:w="false"}=e;let S="qc-container",L=!1;j((()=>{n(17,S+="true"===s?"-fluid":""),"true"===w&&(n(0,T="true"),n(18,L=!0))}));return t.$$set=t=>{"logoUrl"in t&&n(1,l=t.logoUrl),"fullWidth"in t&&n(19,s=t.fullWidth),"logoSrc"in t&&n(2,c=t.logoSrc),"logoAlt"in t&&n(3,a=t.logoAlt),"titleUrl"in t&&n(4,u=t.titleUrl),"titleText"in t&&n(5,h=t.titleText),"linksLabel"in t&&n(6,$=t.linksLabel),"altLanguageText"in t&&n(7,d=t.altLanguageText),"altLanguageUrl"in t&&n(8,g=t.altLanguageUrl),"joinUsText"in t&&n(9,f=t.joinUsText),"joinUsUrl"in t&&n(10,p=t.joinUsUrl),"goToContent"in t&&n(11,m=t.goToContent),"goToContentAnchor"in t&&n(12,b=t.goToContentAnchor),"goToContentText"in t&&n(13,x=t.goToContentText),"displaySearchText"in t&&n(14,y=t.displaySearchText),"hideSearchText"in t&&n(15,v=t.hideSearchText),"enableSearch"in t&&n(0,T=t.enableSearch),"showSearch"in t&&n(20,w=t.showSearch),"$$scope"in t&&n(21,o=t.$$scope)},[T,l,c,a,u,h,$,d,g,f,p,m,b,x,y,v,function(){L&&document.querySelector('[slot="search-zone"] input')?.focus()},S,L,s,w,o,i,()=>n(18,L=!L)]}customElements.define("qc-piv-header",ht(class extends $t{constructor(t){super(),at(this,t,zt,qt,l,{logoUrl:1,fullWidth:19,logoSrc:2,logoAlt:3,titleUrl:4,titleText:5,linksLabel:6,altLanguageText:7,altLanguageUrl:8,joinUsText:9,joinUsUrl:10,goToContent:11,goToContentAnchor:12,goToContentText:13,displaySearchText:14,hideSearchText:15,enableSearch:0,showSearch:20,focusOnSearchInput:16})}get logoUrl(){return this.$$.ctx[1]}set logoUrl(t){this.$$set({logoUrl:t}),J()}get fullWidth(){return this.$$.ctx[19]}set fullWidth(t){this.$$set({fullWidth:t}),J()}get logoSrc(){return this.$$.ctx[2]}set logoSrc(t){this.$$set({logoSrc:t}),J()}get logoAlt(){return this.$$.ctx[3]}set logoAlt(t){this.$$set({logoAlt:t}),J()}get titleUrl(){return this.$$.ctx[4]}set titleUrl(t){this.$$set({titleUrl:t}),J()}get titleText(){return this.$$.ctx[5]}set titleText(t){this.$$set({titleText:t}),J()}get linksLabel(){return this.$$.ctx[6]}set linksLabel(t){this.$$set({linksLabel:t}),J()}get altLanguageText(){return this.$$.ctx[7]}set altLanguageText(t){this.$$set({altLanguageText:t}),J()}get altLanguageUrl(){return this.$$.ctx[8]}set altLanguageUrl(t){this.$$set({altLanguageUrl:t}),J()}get joinUsText(){return this.$$.ctx[9]}set joinUsText(t){this.$$set({joinUsText:t}),J()}get joinUsUrl(){return this.$$.ctx[10]}set joinUsUrl(t){this.$$set({joinUsUrl:t}),J()}get goToContent(){return this.$$.ctx[11]}set goToContent(t){this.$$set({goToContent:t}),J()}get goToContentAnchor(){return this.$$.ctx[12]}set goToContentAnchor(t){this.$$set({goToContentAnchor:t}),J()}get goToContentText(){return this.$$.ctx[13]}set goToContentText(t){this.$$set({goToContentText:t}),J()}get displaySearchText(){return this.$$.ctx[14]}set displaySearchText(t){this.$$set({displaySearchText:t}),J()}get hideSearchText(){return this.$$.ctx[15]}set hideSearchText(t){this.$$set({hideSearchText:t}),J()}get enableSearch(){return this.$$.ctx[0]}set enableSearch(t){this.$$set({enableSearch:t}),J()}get showSearch(){return this.$$.ctx[20]}set showSearch(t){this.$$set({showSearch:t}),J()}get focusOnSearchInput(){return this.$$.ctx[16]}},{logoUrl:{attribute:"logo-url"},fullWidth:{attribute:"full-width"},logoSrc:{attribute:"logo-src"},logoAlt:{attribute:"logo-alt"},titleUrl:{attribute:"title-url"},titleText:{attribute:"title-text"},linksLabel:{attribute:"links-label"},altLanguageText:{attribute:"alt-language-text"},altLanguageUrl:{attribute:"alt-language-url"},joinUsText:{attribute:"join-us-text"},joinUsUrl:{attribute:"join-us-url"},goToContent:{attribute:"go-to-content"},goToContentAnchor:{attribute:"go-to-content-anchor"},goToContentText:{attribute:"go-to-content-text"},displaySearchText:{attribute:"display-search-text"},hideSearchText:{attribute:"hide-search-text"},enableSearch:{attribute:"enable-search"},showSearch:{attribute:"show-search"}},["links","search-zone"],["focusOnSearchInput"],!0));const Pt=t=>({}),Nt=t=>({});function jt(t,e,n){const i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function Wt(t){let e,n,i;return{c(){e=y("img"),c(e.src,n=t[12])||k(e,"src",n),k(e,"alt",t[3]),k(e,"class",i="qc-"+t[11]+"-theme-show")},m(t,n){b(t,e,n)},p(t,o){6&o&&!c(e.src,n=t[12])&&k(e,"src",n),8&o&&k(e,"alt",t[3]),6&o&&i!==(i="qc-"+t[11]+"-theme-show")&&k(e,"class",i)},d(t){t&&x(e)}}}function It(t){let e,n,i,o,r,l,s,c;const u=t[9].default,g=a(u,t,t[8],null);let f=nt([["light",t[1]],["dark",t[2]]]),p=[];for(let e=0;e<2;e+=1)p[e]=Wt(jt(t,f,e));const w=t[9].copyright,S=a(w,t,t[8],Nt),L=S||function(t){let e,n;return{c(){e=y("a"),n=v(t[4]),k(e,"href",t[7])},m(t,i){b(t,e,i),m(e,n)},p(t,i){16&i&&C(n,t[4]),128&i&&k(e,"href",t[7])},d(t){t&&x(e)}}}(t);return{c(){e=y("div"),g&&g.c(),n=T(),i=y("a");for(let t=0;t<2;t+=1)p[t].c();o=T(),r=y("span"),L&&L.c(),l=T(),s=y("link"),k(i,"href",t[0]),k(i,"class","logo"),_(i,"--logo-width",t[5]),_(i,"--logo-height",t[6]),k(r,"class","copyright"),k(e,"class","qc-piv-footer qc-container-fluid"),k(s,"rel","stylesheet"),k(s,"href",dt.cssPath)},m(t,a){b(t,e,a),g&&g.m(e,null),m(e,n),m(e,i);for(let t=0;t<2;t+=1)p[t]&&p[t].m(i,null);m(e,o),m(e,r),L&&L.m(r,null),b(t,l,a),b(t,s,a),c=!0},p(t,[e]){if(g&&g.p&&(!c||256&e)&&$(g,u,t,t[8],c?h(u,t[8],e,null):d(t[8]),null),14&e){let n;for(f=nt([["light",t[1]],["dark",t[2]]]),n=0;n<2;n+=1){const o=jt(t,f,n);p[n]?p[n].p(o,e):(p[n]=Wt(o),p[n].c(),p[n].m(i,null))}for(;n<2;n+=1)p[n].d(1)}(!c||1&e)&&k(i,"href",t[0]),32&e&&_(i,"--logo-width",t[5]),64&e&&_(i,"--logo-height",t[6]),S?S.p&&(!c||256&e)&&$(S,w,t,t[8],c?h(w,t[8],e,Pt):d(t[8]),Nt):L&&L.p&&(!c||144&e)&&L.p(t,c?e:-1)},i(t){c||(tt(g,t),tt(L,t),c=!0)},o(t){et(g,t),et(L,t),c=!1},d(t){t&&(x(e),x(l),x(s)),g&&g.d(t),function(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(p,t),L&&L.d(t)}}}function Bt(t,e,n){let{$$slots:i={},$$scope:o}=e;const r=dt.getPageLanguage();let{logoUrl:l="/",logoSrc:s=dt.imagesRelativePath+"/QUEBEC_couleur.svg",logoSrcDarkTheme:c=dt.imagesRelativePath+"/QUEBEC_blanc.svg",logoAlt:a=("fr"===r?"Logo du gouvernement du Québec":"Logo of the Quebec government"),copyrightText:u="© Gouvernement du Québec, "+(new Date).getFullYear(),logoWidth:h=139,logoHeight:$=50,copyrightUrl:d=("fr"===r?"https://www.quebec.ca/droit-auteur":"https://www.quebec.ca/en/copyright")}=e;return t.$$set=t=>{"logoUrl"in t&&n(0,l=t.logoUrl),"logoSrc"in t&&n(1,s=t.logoSrc),"logoSrcDarkTheme"in t&&n(2,c=t.logoSrcDarkTheme),"logoAlt"in t&&n(3,a=t.logoAlt),"copyrightText"in t&&n(4,u=t.copyrightText),"logoWidth"in t&&n(5,h=t.logoWidth),"logoHeight"in t&&n(6,$=t.logoHeight),"copyrightUrl"in t&&n(7,d=t.copyrightUrl),"$$scope"in t&&n(8,o=t.$$scope)},[l,s,c,a,u,h,$,d,o,i]}function Ot(t){let e,n;return e=new pt({props:{type:t[2],size:t[3],color:t[4],"aria-hidden":"true",label:t[1]}}),{c(){rt(e.$$.fragment)},m(t,i){lt(e,t,i),n=!0},p(t,n){const i={};4&n&&(i.type=t[2]),8&n&&(i.size=t[3]),16&n&&(i.color=t[4]),2&n&&(i.label=t[1]),e.$set(i)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){st(e,t)}}}function Ht(t){let n,i,o,r,l,s=t[2]&&Ot(t),c=[{"data-button-size":t[0]},t[5],{class:i="qc-icon-button "+(t[5].class??"")}],a={};for(let t=0;t<c.length;t+=1)a=e(a,c[t]);return{c(){n=y("button"),s&&s.c(),E(n,a)},m(e,i){b(e,n,i),s&&s.m(n,null),n.autofocus&&n.focus(),o=!0,r||(l=S(n,"click",t[6]),r=!0)},p(t,[e]){t[2]?s?(s.p(t,e),4&e&&tt(s,1)):(s=Ot(t),s.c(),tt(s,1),s.m(n,null)):s&&(X(),et(s,1,1,(()=>{s=null})),Z()),E(n,a=it(c,[(!o||1&e)&&{"data-button-size":t[0]},32&e&&t[5],(!o||32&e&&i!==(i="qc-icon-button "+(t[5].class??"")))&&{class:i}]))},i(t){o||(tt(s),o=!0)},o(t){et(s),o=!1},d(t){t&&x(n),s&&s.d(),r=!1,l()}}}function Rt(t,n,i){const o=["size","label","icon","iconSize","iconColor"];let r=f(n,o),{size:l="xl",label:s,icon:c,iconSize:a,iconColor:u}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(5,r=f(n,o)),"size"in t&&i(0,l=t.size),"label"in t&&i(1,s=t.label),"icon"in t&&i(2,c=t.icon),"iconSize"in t&&i(3,a=t.iconSize),"iconColor"in t&&i(4,u=t.iconColor)},[l,s,c,a,u,r,function(e){W.call(this,t,e)}]}customElements.define("qc-piv-footer",ht(class extends $t{constructor(t){super(),at(this,t,Bt,It,l,{logoUrl:0,logoSrc:1,logoSrcDarkTheme:2,logoAlt:3,copyrightText:4,logoWidth:5,logoHeight:6,copyrightUrl:7})}get logoUrl(){return this.$$.ctx[0]}set logoUrl(t){this.$$set({logoUrl:t}),J()}get logoSrc(){return this.$$.ctx[1]}set logoSrc(t){this.$$set({logoSrc:t}),J()}get logoSrcDarkTheme(){return this.$$.ctx[2]}set logoSrcDarkTheme(t){this.$$set({logoSrcDarkTheme:t}),J()}get logoAlt(){return this.$$.ctx[3]}set logoAlt(t){this.$$set({logoAlt:t}),J()}get copyrightText(){return this.$$.ctx[4]}set copyrightText(t){this.$$set({copyrightText:t}),J()}get logoWidth(){return this.$$.ctx[5]}set logoWidth(t){this.$$set({logoWidth:t}),J()}get logoHeight(){return this.$$.ctx[6]}set logoHeight(t){this.$$set({logoHeight:t}),J()}get copyrightUrl(){return this.$$.ctx[7]}set copyrightUrl(t){this.$$set({copyrightUrl:t}),J()}},{logoUrl:{attribute:"logo-url"},logoSrc:{attribute:"logo-src"},logoSrcDarkTheme:{attribute:"logo-src-dark-theme"},logoAlt:{attribute:"logo-alt"},copyrightText:{attribute:"copyright-text"},logoWidth:{attribute:"logo-width"},logoHeight:{attribute:"logo-height"},copyrightUrl:{attribute:"copyright-url"}},["default","copyright"],[],!0));class Ft extends $t{constructor(t){super(),at(this,t,Rt,Ht,l,{size:0,label:1,icon:2,iconSize:3,iconColor:4})}get size(){return this.$$.ctx[0]}set size(t){this.$$set({size:t}),J()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),J()}get icon(){return this.$$.ctx[2]}set icon(t){this.$$set({icon:t}),J()}get iconSize(){return this.$$.ctx[3]}set iconSize(t){this.$$set({iconSize:t}),J()}get iconColor(){return this.$$.ctx[4]}set iconColor(t){this.$$set({iconColor:t}),J()}}function Mt(t){let e,n,i,o,r,l,s,c,u,g;o=new pt({props:{type:"warning"==t[0]?"warning":"information",color:"general"==t[0]?"blue-piv":"yellow-dark",size:"nm",label:t[8]}});const f=t[13].default,p=a(f,t,t[12],null);let v="true"===t[1]&&Dt(t);return{c(){e=y("div"),n=y("div"),i=y("div"),rt(o.$$.fragment),r=T(),l=y("div"),s=new z(!1),c=T(),p&&p.c(),u=T(),v&&v.c(),s.a=c,k(l,"class","qc-alert-content"),k(i,"class","qc-general-alert-elements"),k(n,"class",t[5]),k(e,"class","qc-general-alert "+t[6]),k(e,"role","alert")},m(a,h){b(a,e,h),m(e,n),m(n,i),lt(o,i,null),m(i,r),m(i,l),s.m(t[2],l),m(l,c),p&&p.m(l,null),m(i,u),v&&v.m(i,null),t[14](e),g=!0},p(t,e){const r={};1&e&&(r.type="warning"==t[0]?"warning":"information"),1&e&&(r.color="general"==t[0]?"blue-piv":"yellow-dark"),o.$set(r),(!g||4&e)&&s.p(t[2]),p&&p.p&&(!g||4096&e)&&$(p,f,t,t[12],g?h(f,t[12],e,null):d(t[12]),null),"true"===t[1]?v?(v.p(t,e),2&e&&tt(v,1)):(v=Dt(t),v.c(),tt(v,1),v.m(i,null)):v&&(X(),et(v,1,1,(()=>{v=null})),Z()),(!g||32&e)&&k(n,"class",t[5])},i(t){g||(tt(o.$$.fragment,t),tt(p,t),tt(v),g=!0)},o(t){et(o.$$.fragment,t),et(p,t),et(v),g=!1},d(n){n&&x(e),st(o),p&&p.d(n),v&&v.d(),t[14](null)}}}function Dt(e){let n,i;return n=new Ft({props:{"aria-label":e[7],size:"nm",icon:"clear-input",iconSize:"sm",iconColor:"text-primary"}}),n.$on("click",e[9]),{c(){rt(n.$$.fragment)},m(t,e){lt(n,t,e),i=!0},p:t,i(t){i||(tt(n.$$.fragment,t),i=!0)},o(t){et(n.$$.fragment,t),i=!1},d(t){st(n,t)}}}function Qt(t){let e,n,i,o=!t[4]&&Mt(t);return{c(){o&&o.c(),e=T(),n=y("link"),k(n,"rel","stylesheet"),k(n,"href",dt.cssPath)},m(t,r){o&&o.m(t,r),b(t,e,r),b(t,n,r),i=!0},p(t,[n]){t[4]?o&&(X(),et(o,1,1,(()=>{o=null})),Z()):o?(o.p(t,n),16&n&&tt(o,1)):(o=Mt(t),o.c(),tt(o,1),o.m(e.parentNode,e))},i(t){i||(tt(o),i=!0)},o(t){et(o),i=!1},d(t){t&&(x(e),x(n)),o&&o.d(t)}}}function Jt(t,e,n){let i,o,r,{$$slots:l={},$$scope:s}=e,{type:c="general",maskable:a="",content:u="",hide:h="false",fullWidth:$="false"}=e,d=""!==c?c:"general",g="fr"===dt.getPageLanguage()?"Fermer l’alerte":"Close l’alerte",f="fr"===dt.getPageLanguage()?"Information d'importance élevée":"Information of high importance",p="fr"===dt.getPageLanguage()?"Information importante":"Important information",m="general"===c?p:f;return t.$$set=t=>{"type"in t&&n(0,c=t.type),"maskable"in t&&n(1,a=t.maskable),"content"in t&&n(2,u=t.content),"hide"in t&&n(10,h=t.hide),"fullWidth"in t&&n(11,$=t.fullWidth),"$$scope"in t&&n(12,s=t.$$scope)},t.$$.update=()=>{1024&t.$$.dirty&&n(4,o="true"===h),2048&t.$$.dirty&&n(5,r="qc-container"+("true"===$?"-fluid":""))},[c,a,u,i,o,r,d,g,m,function(){n(10,h="true"),i.dispatchEvent(new CustomEvent("qc.alert.hide",{bubbles:!0,composed:!0}))},h,$,s,l,function(t){B[t?"unshift":"push"]((()=>{i=t,n(3,i)}))}]}ht(Ft,{size:{},label:{},icon:{},iconSize:{},iconColor:{}},[],[],!0);customElements.define("qc-alert",ht(class extends $t{constructor(t){super(),at(this,t,Jt,Qt,l,{type:0,maskable:1,content:2,hide:10,fullWidth:11})}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),J()}get maskable(){return this.$$.ctx[1]}set maskable(t){this.$$set({maskable:t}),J()}get content(){return this.$$.ctx[2]}set content(t){this.$$set({content:t}),J()}get hide(){return this.$$.ctx[10]}set hide(t){this.$$set({hide:t}),J()}get fullWidth(){return this.$$.ctx[11]}set fullWidth(t){this.$$set({fullWidth:t}),J()}},{type:{attribute:"type"},maskable:{attribute:"maskable"},content:{attribute:"content"},hide:{attribute:"hide"},fullWidth:{attribute:"full-width"}},["default"],[],!0));const{window:Yt}=p;function Gt(t){let e,n,i,r,l,s,c,a,u;return n=new pt({props:{type:"arrow-up-white",color:"background"}}),{c(){e=y("a"),rt(n.$$.fragment),i=T(),r=y("span"),l=v(t[0]),k(e,"href","javascript:;"),k(e,"class","qc-to-top"),k(e,"tabindex",s=t[2]?0:-1),k(e,"demo",t[1]),q(e,"visible",t[2])},m(o,s){b(o,e,s),lt(n,e,null),m(e,i),m(e,r),m(r,l),t[5](e),c=!0,a||(u=[S(Yt,"scroll",t[4]),S(e,"click",L(Kt)),S(e,"keydown",Vt)],a=!0)},p(t,[n]){(!c||1&n)&&C(l,t[0]),(!c||4&n&&s!==(s=t[2]?0:-1))&&k(e,"tabindex",s),(!c||2&n)&&k(e,"demo",t[1]),(!c||4&n)&&q(e,"visible",t[2])},i(t){c||(tt(n.$$.fragment,t),c=!0)},o(t){et(n.$$.fragment,t),c=!1},d(i){i&&x(e),st(n),t[5](null),a=!1,o(u)}}}function Kt(){window.scrollTo({top:0,behavior:"smooth"})}function Vt(t){switch(t.code){case"Enter":case"Space":t.preventDefault(),Kt()}}function Xt(t,e,n){const i=dt.getPageLanguage();let o,{text:r=("fr"===i?"Retour en haut":"Back to top"),demo:l="false"}=e,s=0,c="true"===l,a=c;return t.$$set=t=>{"text"in t&&n(0,r=t.text),"demo"in t&&n(1,l=t.demo)},[r,l,c,o,function(){if("true"===l)return;let t=window.innerHeight+window.scrollY>=document.body.offsetHeight-1;n(2,c=s>window.scrollY&&(document.body.scrollTop>0||document.documentElement.scrollTop>0)&&!t),!c&&a&&o.blur(),a=c,s=window.scrollY},function(t){B[t?"unshift":"push"]((()=>{o=t,n(3,o)}))}]}function Zt(e){let n;return{c(){n=y("span"),k(n,"role","img"),k(n,"class","qc-ext-link-img"),k(n,"aria-label",e[0])},m(t,i){b(t,n,i),e[2](n)},p(t,[e]){1&e&&k(n,"aria-label",t[0])},i:t,o:t,d(t){t&&x(n),e[2](null)}}}function te(t,e,n){let i,{externalIconAlt:o=("fr"==dt.getPageLanguage()?"Ce lien dirige vers un autre site.":"This link directs to another site.")}=e;return j((()=>{i.parentElement.querySelectorAll("a").forEach((t=>{const e=document.createTreeWalker(t,NodeFilter.SHOW_ALL,{acceptNode:t=>{if(t instanceof Element){if(t.hasAttribute("hidden"))return NodeFilter.FILTER_REJECT;const e=window.getComputedStyle(t);if("none"===e.display||"hidden"===e.visibility||"absolute"===e.position)return NodeFilter.FILTER_REJECT}return!t instanceof Text?NodeFilter.FILTER_SKIP:/\S/.test(t.textContent)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let n=null;for(;e.nextNode();)n=e.currentNode;if(!n)return;const o=n.textContent.match(/^(.*\s)?(\S+)\s*$/m);if(!o)return;const r=o[1]||"",l=o[2],s=document.createElement("span");s.classList.add("img-wrap"),s.innerHTML=`${l}`,s.appendChild(i),r?(n.textContent=r,n.parentNode.insertBefore(s,n.nextSibling)):n.parentNode.replaceChild(s,n)}))})),t.$$set=t=>{"externalIconAlt"in t&&n(0,o=t.externalIconAlt)},[o,i,function(t){B[t?"unshift":"push"]((()=>{i=t,n(1,i)}))}]}customElements.define("qc-to-top",ht(class extends $t{constructor(t){super(),at(this,t,Xt,Gt,l,{text:0,demo:1})}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),J()}get demo(){return this.$$.ctx[1]}set demo(t){this.$$set({demo:t}),J()}},{text:{attribute:"text",type:"String"},demo:{}},[],[],!1));function ee(t){let e,n;return e=new Ft({props:{type:"button",icon:"clear-input",iconColor:"blue-piv",iconSize:"sm","aria-label":t[2]}}),e.$on("click",t[7]),{c(){rt(e.$$.fragment)},m(t,i){lt(e,t,i),n=!0},p(t,n){const i={};4&n&&(i["aria-label"]=t[2]),e.$set(i)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){st(e,t)}}}function ne(t){let n,i,o,r,l,s,c=[{type:"search"},{autocomplete:"off"},t[1]?{"aria-label":t[1]}:{},t[4]],a={};for(let t=0;t<c.length;t+=1)a=e(a,c[t]);let u=t[0]&&ee(t);return{c(){n=y("div"),i=y("input"),o=T(),u&&u.c(),E(i,a),k(n,"class","qc-search-input")},m(e,c){b(e,n,c),m(n,i),i.autofocus&&i.focus(),t[5](i),U(i,t[0]),m(n,o),u&&u.m(n,null),r=!0,l||(s=S(i,"input",t[6]),l=!0)},p(t,[e]){E(i,a=it(c,[{type:"search"},{autocomplete:"off"},2&e&&(t[1]?{"aria-label":t[1]}:{}),16&e&&t[4]])),1&e&&i.value!==t[0]&&U(i,t[0]),t[0]?u?(u.p(t,e),1&e&&tt(u,1)):(u=ee(t),u.c(),tt(u,1),u.m(n,null)):u&&(X(),et(u,1,1,(()=>{u=null})),Z())},i(t){r||(tt(u),r=!0)},o(t){et(u),r=!1},d(e){e&&x(n),t[5](null),u&&u.d(),l=!1,s()}}}function ie(t,n,i){const o=["value","ariaLabel","clearAriaLabel"];let r=f(n,o);const l=dt.getPageLanguage();let s,{value:c,ariaLabel:a=("fr"===l?"Rechercher…":"Search_"),clearAriaLabel:u=("fr"===l?"Effacer le texte":"Clear text")}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(4,r=f(n,o)),"value"in t&&i(0,c=t.value),"ariaLabel"in t&&i(1,a=t.ariaLabel),"clearAriaLabel"in t&&i(2,u=t.clearAriaLabel)},[c,a,u,s,r,function(t){B[t?"unshift":"push"]((()=>{s=t,i(3,s)}))},function(){c=this.value,i(0,c)},t=>{t.preventDefault(),i(0,c=""),s.focus()}]}customElements.define("qc-external-link",ht(class extends $t{constructor(t){super(),at(this,t,te,Zt,l,{externalIconAlt:0})}get externalIconAlt(){return this.$$.ctx[0]}set externalIconAlt(t){this.$$set({externalIconAlt:t}),J()}},{externalIconAlt:{attribute:"img-alt"}},[],[],!1));class oe extends $t{constructor(t){super(),at(this,t,ie,ne,l,{value:0,ariaLabel:1,clearAriaLabel:2})}get value(){return this.$$.ctx[0]}set value(t){this.$$set({value:t}),J()}get ariaLabel(){return this.$$.ctx[1]}set ariaLabel(t){this.$$set({ariaLabel:t}),J()}get clearAriaLabel(){return this.$$.ctx[2]}set clearAriaLabel(t){this.$$set({clearAriaLabel:t}),J()}}function re(t){let n,i,o,r;const l=[t[1]];let s={};for(let t=0;t<l.length;t+=1)s=e(s,l[t]);i=new oe({props:s});let c=function(t){let n,i;const o=[{type:"submit"},{iconColor:t[0]?"blue-piv":"background"},{icon:"loupe-piv-fine"},{iconSize:"md"},t[2]];let r={};for(let t=0;t<o.length;t+=1)r=e(r,o[t]);return n=new Ft({props:r}),{c(){rt(n.$$.fragment)},m(t,e){lt(n,t,e),i=!0},p(t,e){const i=5&e?it(o,[o[0],1&e&&{iconColor:t[0]?"blue-piv":"background"},o[2],o[3],4&e&&ot(t[2])]):{};n.$set(i)},i(t){i||(tt(n.$$.fragment,t),i=!0)},o(t){et(n.$$.fragment,t),i=!1},d(t){st(n,t)}}}(t);return{c(){n=y("div"),rt(i.$$.fragment),o=T(),c&&c.c(),k(n,"class","qc-search-bar"),q(n,"piv-background",t[0])},m(t,e){b(t,n,e),lt(i,n,null),m(n,o),c&&c.m(n,null),r=!0},p(t,[e]){const o=2&e?it(l,[ot(t[1])]):{};i.$set(o),c.p(t,e),(!r||1&e)&&q(n,"piv-background",t[0])},i(t){r||(tt(i.$$.fragment,t),tt(c),r=!0)},o(t){et(i.$$.fragment,t),et(c),r=!1},d(t){t&&x(n),st(i),c&&c.d()}}}function le(t,n,i){const o=["value","name","pivBackground"];let r=f(n,o);const l=dt.getPageLanguage(),s="fr"===l?"Rechercher…":"Search",c="fr"===l?"Lancer la recherche":"Submit search";let{value:a="",name:u="q",pivBackground:h=!1}=n,$={input:{placeholder:s,"aria-label":s},submit:{"aria-label":c}},d={},p={};return t.$$set=t=>{n=e(e({},n),g(t)),i(10,r=f(n,o)),"value"in t&&i(3,a=t.value),"name"in t&&i(4,u=t.name),"pivBackground"in t&&i(0,h=t.pivBackground)},t.$$.update=()=>{var e;i(1,[d,p]=(e=r,["input","submit"].map((t=>{const n=`${t}-`;return{...$[t],...Object.fromEntries(Object.entries(e).map((([t,e])=>t.startsWith(n)?[t.replace(n,""),e]:null)).filter((t=>t)))}}))),d,(i(2,p),i(10,r))),26&t.$$.dirty&&i(1,d={value:a,name:u,...d})},[h,d,p,a,u]}customElements.define("qc-search-input",ht(oe,{value:{},ariaLabel:{attribute:"aria-label"},clearAriaLabel:{attribute:"clear-aria-label"}},[],[],!1));customElements.define("qc-search-bar",ht(class extends $t{constructor(t){super(),at(this,t,le,re,l,{value:3,name:4,pivBackground:0})}get value(){return this.$$.ctx[3]}set value(t){this.$$set({value:t}),J()}get name(){return this.$$.ctx[4]}set name(t){this.$$set({name:t}),J()}get pivBackground(){return this.$$.ctx[0]}set pivBackground(t){this.$$set({pivBackground:t}),J()}},{value:{attribute:"input-value",type:"String"},name:{attribute:"input-name",type:"String"},pivBackground:{attribute:"piv-background",type:"Boolean"}},[],[],!1));window.matchMedia("(prefers-color-scheme: dark)").matches&&document.documentElement.classList.add("qc-dark-theme")}();
|
|
1
|
+
!function(){"use strict";"undefined"!=typeof window&&((window.__svelte??={}).v??=new Set).add("5");const e="[!",t={},n=Symbol();var r=!1;function l(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}var o=Array.isArray,i=Array.prototype.indexOf,a=Array.from,s=Object.keys,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyDescriptors,v=Object.prototype,g=Array.prototype,d=Object.getPrototypeOf,h=Object.isExtensible;function p(e){return"function"==typeof e}const $=()=>{};function b(e){for(var t=0;t<e.length;t++)e[t]()}const m=32,y=64,w=128,x=256,_=512,T=1024,S=2048,L=4096,k=8192,U=16384,C=65536,E=1<<20,A=1<<21,P=Symbol("$state"),q=Symbol("legacy props"),j=Symbol("");function N(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let O,R=!1;function z(e){R=e}function I(e){if(null===e)throw N(),t;return O=e}function B(){return I(X(O))}function W(e){if(R){if(null!==X(O))throw N(),t;O=e}}function M(){for(var t=0,n=O;;){if(8===n.nodeType){var r=n.data;if("]"===r){if(0===t)return n;t-=1}else"["!==r&&r!==e||(t+=1)}var l=X(n);n.remove(),n=l}}function F(e){if("object"!=typeof e||null===e||P in e)return e;const t=d(e);if(t!==v&&t!==g)return e;var r=new Map,l=o(e),i=xt(0),a=Me,s=e=>{var t=Me;De(a);var n=e();return De(t),n};return l&&r.set("length",xt(e.length)),new Proxy(e,{defineProperty(e,t,n){"value"in n&&!1!==n.configurable&&!1!==n.enumerable&&!1!==n.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var l=r.get(t);return void 0===l?(l=s((()=>xt(n.value))),r.set(t,l)):Tt(l,s((()=>F(n.value)))),!0},deleteProperty(e,t){var o=r.get(t);if(void 0===o)t in e&&(r.set(t,s((()=>xt(n)))),D(i));else{if(l&&"string"==typeof t){var a=r.get("length"),u=Number(t);Number.isInteger(u)&&u<a.v&&Tt(a,u)}Tt(o,n),D(i)}return!0},get(t,l,o){if(l===P)return e;var i=r.get(l),a=l in t;if(void 0!==i||a&&!c(t,l)?.writable||(i=s((()=>xt(F(a?t[l]:n)))),r.set(l,i)),void 0!==i){var u=pt(i);return u===n?void 0:u}return Reflect.get(t,l,o)},getOwnPropertyDescriptor(e,t){var l=Reflect.getOwnPropertyDescriptor(e,t);if(l&&"value"in l){var o=r.get(t);o&&(l.value=pt(o))}else if(void 0===l){var i=r.get(t),a=i?.v;if(void 0!==i&&a!==n)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return l},has(e,t){if(t===P)return!0;var l=r.get(t),o=void 0!==l&&l.v!==n||Reflect.has(e,t);if((void 0!==l||null!==He&&(!o||c(e,t)?.writable))&&(void 0===l&&(l=s((()=>xt(o?F(e[t]):n))),r.set(t,l)),pt(l)===n))return!1;return o},set(e,t,o,a){var u=r.get(t),f=t in e;if(l&&"length"===t)for(var v=o;v<u.v;v+=1){var g=r.get(v+"");void 0!==g?Tt(g,n):v in e&&(g=s((()=>xt(n))),r.set(v+"",g))}void 0===u?f&&!c(e,t)?.writable||(Tt(u=s((()=>xt(void 0))),s((()=>F(o)))),r.set(t,u)):(f=u.v!==n,Tt(u,s((()=>F(o)))));var d=Reflect.getOwnPropertyDescriptor(e,t);if(d?.set&&d.set.call(a,o),!f){if(l&&"string"==typeof t){var h=r.get("length"),p=Number(t);Number.isInteger(p)&&p>=h.v&&Tt(h,p+1)}D(i)}return!0},ownKeys(e){pt(i);var t=Reflect.ownKeys(e).filter((e=>{var t=r.get(e);return void 0===t||t.v!==n}));for(var[l,o]of r)o.v===n||l in e||t.push(l);return t},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function D(e,t=1){Tt(e,e.v+t)}var H,Q,V,K;function Y(){if(void 0===H){H=window,Q=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;V=c(t,"firstChild").get,K=c(t,"nextSibling").get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function J(e=""){return document.createTextNode(e)}function G(e){return V.call(e)}function X(e){return K.call(e)}function Z(e,t){if(!R)return G(e);var n=G(O);if(null===n)n=O.appendChild(J());else if(t&&3!==n.nodeType){var r=J();return n?.before(r),I(r),r}return I(n),n}function ee(e,t){if(!R){var n=G(e);return n instanceof Comment&&""===n.data?X(n):n}return O}function te(e,t=1,n=!1){let r=R?O:e;for(var l;t--;)l=r,r=X(r);if(!R)return r;var o=r?.nodeType;if(n&&3!==o){var i=J();return null===r?l?.after(i):r.before(i),I(i),i}return I(r),r}function ne(e){e.textContent=""}function re(e){return e===this.v}function le(e){return t=e,n=this.v,!(t!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function oe(e){var t=2050,n=null!==Me&&2&Me.f?Me:null;null===He||null!==n&&0!==(n.f&x)?t|=x:He.f|=E;return{ctx:kt,deps:null,effects:null,equals:re,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:n??He}}function ie(e){const t=oe(e);return Ke(t),t}function ae(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)we(t[n])}}function se(e){var t,n=He;Qe(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return t;t=t.parent}return null}(e));try{ae(e),t=it(e)}finally{Qe(n)}return t}function ue(e){var t=se(e);mt(e,!et&&0===(e.f&x)||null===e.deps?T:L),e.equals(t)||(e.v=t,e.wv=tt())}function ce(e){null===He&&null===Me&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),null!==Me&&0!==(Me.f&x)&&null===He&&function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}(),Ie&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function fe(e,t,n,r=!0){var l=He,o={ctx:kt,deps:null,nodes_start:null,nodes_end:null,f:e|S,first:null,fn:t,last:null,next:null,parent:l,prev:null,teardown:null,transitions:null,wv:0};if(n)try{ut(o),o.f|=32768}catch(e){throw we(o),e}else null!==t&>(o);if(!(n&&null===o.deps&&null===o.first&&null===o.nodes_start&&null===o.teardown&&!(1048704&o.f))&&r&&(null!==l&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(o,l),null!==Me&&2&Me.f)){var i=Me;(i.effects??=[]).push(o)}return o}function ve(e){const t=fe(8,null,!1);return mt(t,T),t.teardown=e,t}function ge(e){if(ce(),!(null!==He&&0!==(He.f&m)&&null!==kt&&!kt.m))return de(e);var t=kt;(t.e??=[]).push({fn:e,effect:He,reaction:Me})}function de(e){return fe(4,e,!1)}function he(e){return fe(8,e,!0)}function pe(e,t=[],n=oe){const r=t.map(n);return $e((()=>e(...r.map(pt))))}function $e(e,t=0){return fe(24|t,e,!0)}function be(e,t=!0){return fe(40,e,!0,t)}function me(e){var t=e.teardown;if(null!==t){const e=Ie,n=Me;Be(!0),De(null);try{t.call(null)}finally{Be(e),De(n)}}}function ye(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){var r=n.next;0!==(n.f&y)?n.parent=null:we(n,t),n=r}}function we(e,t=!0){var n=!1;(t||524288&e.f)&&null!==e.nodes_start&&(xe(e.nodes_start,e.nodes_end),n=!0),ye(e,t&&!n),st(e,0),mt(e,U);var r=e.transitions;if(null!==r)for(const e of r)e.stop();me(e);var l=e.parent;null!==l&&null!==l.first&&_e(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function xe(e,t){for(;null!==e;){var n=e===t?null:X(e);e.remove(),e=n}}function _e(e){var t=e.parent,n=e.prev,r=e.next;null!==n&&(n.next=r),null!==r&&(r.prev=n),null!==t&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Te(e,t){var n=[];Le(e,n,!0),Se(n,(()=>{we(e),t&&t()}))}function Se(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var l of e)l.out(r)}else t()}function Le(e,t,n){if(0===(e.f&k)){if(e.f^=k,null!==e.transitions)for(const r of e.transitions)(r.is_global||n)&&t.push(r);for(var r=e.first;null!==r;){var l=r.next;Le(r,t,!!(0!==(r.f&C)||0!==(r.f&m))&&n),r=l}}}function ke(e){Ue(e,!0)}function Ue(e,t){if(0!==(e.f&k)){e.f^=k,0===(e.f&T)&&(e.f^=T),nt(e)&&(mt(e,S),gt(e));for(var n=e.first;null!==n;){var r=n.next;Ue(n,!!(0!==(n.f&C)||0!==(n.f&m))&&t),n=r}if(null!==e.transitions)for(const n of e.transitions)(n.is_global||t)&&n.in()}}const Ce="undefined"==typeof requestIdleCallback?e=>setTimeout(e,1):requestIdleCallback;let Ee=[],Ae=[];function Pe(){var e=Ee;Ee=[],b(e)}function qe(){var e=Ae;Ae=[],b(e)}function je(e){0===Ee.length&&queueMicrotask(Pe),Ee.push(e)}let Ne=!1,Oe=!1,Re=null,ze=!1,Ie=!1;function Be(e){Ie=e}let We=[],Me=null,Fe=!1;function De(e){Me=e}let He=null;function Qe(e){He=e}let Ve=null;function Ke(e){null!==Me&&Me.f&A&&(null===Ve?Ve=[e]:Ve.push(e))}let Ye=null,Je=0,Ge=null;let Xe=1,Ze=0,et=!1;function tt(){return++Xe}function nt(e){var t=e.f;if(0!==(t&S))return!0;if(0!==(t&L)){var n=e.deps,r=0!==(t&x);if(null!==n){var l,o,i=0!==(t&_),a=r&&null!==He&&!et,s=n.length;if(i||a){var u=e,c=u.parent;for(l=0;l<s;l++)o=n[l],!i&&o?.reactions?.includes(u)||(o.reactions??=[]).push(u);i&&(u.f^=_),a&&null!==c&&0===(c.f&x)&&(u.f^=x)}for(l=0;l<s;l++)if(nt(o=n[l])&&ue(o),o.wv>e.wv)return!0}r&&(null===He||et)||mt(e,T)}return!1}function rt(e){return 0===(e.f&U)&&(null===e.parent||0===(e.parent.f&w))}function lt(e,t,n,r){if(Ne){if(null===n&&(Ne=!1),rt(t))throw e}else if(null!==n&&(Ne=!0),function(e,t){for(var n=t;null!==n;){if(0!==(n.f&w))try{return void n.fn(e)}catch{n.f^=w}n=n.parent}throw Ne=!1,e}(e,t),rt(t))throw e}function ot(e,t,n=!0){var r=e.reactions;if(null!==r)for(var l=0;l<r.length;l++){var o=r[l];Ve?.includes(e)||(2&o.f?ot(o,t,!1):t===o&&(n?mt(o,S):0!==(o.f&T)&&mt(o,L),gt(o)))}}function it(e){var t=Ye,n=Je,r=Ge,l=Me,o=et,i=Ve,a=kt,s=Fe,u=e.f;Ye=null,Je=0,Ge=null,et=0!==(u&x)&&(Fe||!ze||null===Me),Me=96&u?null:e,Ve=null,Ut(e.ctx),Fe=!1,Ze++,e.f|=A;try{var c=(0,e.fn)(),f=e.deps;if(null!==Ye){var v;if(st(e,Je),null!==f&&Je>0)for(f.length=Je+Ye.length,v=0;v<Ye.length;v++)f[Je+v]=Ye[v];else e.deps=f=Ye;if(!et)for(v=Je;v<f.length;v++)(f[v].reactions??=[]).push(e)}else null!==f&&Je<f.length&&(st(e,Je),f.length=Je);if(!(null===Ge||Fe||null===f||6146&e.f))for(v=0;v<Ge.length;v++)ot(Ge[v],e);return null!==l&&l!==e&&(Ze++,null!==Ge&&(null===r?r=Ge:r.push(...Ge))),c}finally{Ye=t,Je=n,Ge=r,Me=l,et=o,Ve=i,Ut(a),Fe=s,e.f^=A}}function at(e,t){let n=t.reactions;if(null!==n){var r=i.call(n,e);if(-1!==r){var l=n.length-1;0===l?n=t.reactions=null:(n[r]=n[l],n.pop())}}null===n&&2&t.f&&(null===Ye||!Ye.includes(t))&&(mt(t,L),768&t.f||(t.f^=_),ae(t),st(t,0))}function st(e,t){var n=e.deps;if(null!==n)for(var r=t;r<n.length;r++)at(e,n[r])}function ut(e){var t=e.f;if(0===(t&U)){mt(e,T);var n=He,l=kt,o=ze;He=e,ze=!0;try{16&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&m)&&we(t),t=n}}(e):ye(e),me(e);var i=it(e);e.teardown="function"==typeof i?i:null,e.wv=Xe;e.deps;r}catch(t){lt(t,e,n,l||e.ctx)}finally{ze=o,He=n}}}function ct(){try{!function(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(e){if(null===Re)throw e;lt(e,Re,null)}}function ft(){var e=ze;try{var t=0;for(ze=!0;We.length>0;){t++>1e3&&ct();var n=We,r=n.length;We=[];for(var l=0;l<r;l++){vt(dt(n[l]))}yt.clear()}}finally{Oe=!1,ze=e,Re=null}}function vt(e){var t=e.length;if(0!==t)for(var n=0;n<t;n++){var r=e[n];if(!(24576&r.f))try{nt(r)&&(ut(r),null===r.deps&&null===r.first&&null===r.nodes_start&&(null===r.teardown?_e(r):r.fn=null))}catch(e){lt(e,r,null,r.ctx)}}}function gt(e){Oe||(Oe=!0,queueMicrotask(ft));for(var t=Re=e;null!==t.parent;){var n=(t=t.parent).f;if(96&n){if(0===(n&T))return;t.f^=T}}We.push(t)}function dt(e){for(var t=[],n=e;null!==n;){var r=n.f,l=!!(96&r);if(!(l&&0!==(r&T))&&0===(r&k)){if(4&r)t.push(n);else if(l)n.f^=T;else try{nt(n)&&ut(n)}catch(e){lt(e,n,null,n.ctx)}var o=n.first;if(null!==o){n=o;continue}}var i=n.parent;for(n=n.next;null===n&&null!==i;)n=i.next,i=i.parent}return t}function ht(e){for(;;){if(Ee.length>0&&Pe(),Ae.length>0&&qe(),0===We.length)return;Oe=!0,ft()}}function pt(e){var t=!!(2&e.f);if(null===Me||Fe){if(t&&null===e.deps&&null===e.effects){var n=e,r=n.parent;null!==r&&0===(r.f&x)&&(n.f^=x)}}else if(!Ve?.includes(e)){var l=Me.deps;e.rv<Ze&&(e.rv=Ze,null===Ye&&null!==l&&l[Je]===e?Je++:null===Ye?Ye=[e]:et&&Ye.includes(e)||Ye.push(e))}return t&&nt(n=e)&&ue(n),Ie&&yt.has(e)?yt.get(e):e.v}function $t(e){var t=Fe;try{return Fe=!0,e()}finally{Fe=t}}const bt=-7169;function mt(e,t){e.f=e.f&bt|t}const yt=new Map;function wt(e,t){return{f:0,v:e,reactions:null,equals:re,rv:0,wv:0}}function xt(e,t){const n=wt(e);return Ke(n),n}function _t(e,t=!1){const n=wt(e);return t||(n.equals=le),n}function Tt(e,t,n=!1){return null!==Me&&!Fe&&18&Me.f&&!Ve?.includes(e)&&function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),St(e,n?F(t):t)}function St(e,t){if(!e.equals(t)){var n=e.v;Ie?yt.set(e,t):yt.set(e,n),e.v=t,2&e.f&&(0!==(e.f&S)&&se(e),mt(e,0===(e.f&x)?T:L)),e.wv=tt(),Lt(e,S),null===He||0===(He.f&T)||96&He.f||(null===Ge?function(e){Ge=e}([e]):Ge.push(e))}return t}function Lt(e,t){var n=e.reactions;if(null!==n)for(var r=n.length,l=0;l<r;l++){var o=n[l],i=o.f;0===(i&S)&&(mt(o,t),1280&i&&(2&i?Lt(o,L):gt(o)))}}let kt=null;function Ut(e){kt=e}function Ct(e,t){return function(){null===kt&&l();return kt.c??=new Map(function(e){let t=e.p;for(;null!==t;){const e=t.c;if(null!==e)return e;t=t.p}return null}(kt)||void 0)}().set(e,t),t}function Et(e,t=!1,n){var r=kt={p:kt,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};ve((()=>{r.d=!0}))}function At(e){const t=kt;if(null!==t){void 0!==e&&(t.x=e);const i=t.e;if(null!==i){var n=He,r=Me;t.e=null;try{for(var l=0;l<i.length;l++){var o=i[l];Qe(o.effect),De(o.reaction),de(o.fn)}}finally{Qe(n),De(r)}}kt=t.p,t.m=!0}return e||{}}function Pt(e){return e.endsWith("capture")&&"gotpointercapture"!==e&&"lostpointercapture"!==e}const qt=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function jt(e){return qt.includes(e)}const Nt={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Ot(e){return e=e.toLowerCase(),Nt[e]??e}const Rt=["touchstart","touchmove"];const zt=["textarea","script","style","title"];function It(e,t){if(t){const t=document.body;e.autofocus=!0,je((()=>{document.activeElement===t&&e.focus()}))}}let Bt=!1;function Wt(){Bt||(Bt=!0,document.addEventListener("reset",(e=>{Promise.resolve().then((()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()}))}),{capture:!0}))}function Mt(e){var t=Me,n=He;De(null),Qe(null);try{return e()}finally{De(t),Qe(n)}}const Ft=new Set,Dt=new Set;function Ht(e,t,n,r={}){function l(e){if(r.capture||Vt.call(t,e),!e.cancelBubble)return Mt((()=>n?.call(this,e)))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?je((()=>{t.addEventListener(e,l,r)})):t.addEventListener(e,l,r),l}function Qt(e){for(var t=0;t<e.length;t++)Ft.add(e[t]);for(var n of Dt)n(e)}function Vt(e){var t=this,n=t.ownerDocument,r=e.type,l=e.composedPath?.()||[],i=l[0]||e.target,a=0,s=e.__root;if(s){var c=l.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e.__root=t);var f=l.indexOf(t);if(-1===f)return;c<=f&&(a=c)}if((i=l[a]||e.target)!==t){u(e,"currentTarget",{configurable:!0,get:()=>i||n});var v=Me,g=He;De(null),Qe(null);try{for(var d,h=[];null!==i;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var $=i["__"+r];if(null!=$&&(!i.disabled||e.target===i))if(o($)){var[b,...m]=$;b.apply(i,[e,...m])}else $.call(i,e)}catch(e){d?h.push(e):d=e}if(e.cancelBubble||p===t||null===p)break;i=p}if(d){for(let e of h)queueMicrotask((()=>{throw e}));throw d}}finally{e.__root=t,delete e.currentTarget,De(v),Qe(g)}}}function Kt(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Yt(e,t){var n=He;null===n.nodes_start&&(n.nodes_start=e,n.nodes_end=t)}function Jt(e,t){var n,r=!!(1&t),l=!!(2&t),o=!e.startsWith("<!>");return()=>{if(R)return Yt(O,null),O;void 0===n&&(n=Kt(o?e:"<!>"+e),r||(n=G(n)));var t=l||Q?document.importNode(n,!0):n.cloneNode(!0);r?Yt(G(t),t.lastChild):Yt(t,t);return t}}function Gt(){if(R)return Yt(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(""),n=J();return e.append(t,n),Yt(t,n),e}function Xt(e,t){if(R)return He.nodes_end=O,void B();null!==e&&e.before(t)}function Zt(e,t){var n=null==t?"":"object"==typeof t?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function en(e,t){return rn(e,t)}function tn(e,n){Y(),n.intro=n.intro??!1;const r=n.target,l=R,o=O;try{for(var i=G(r);i&&(8!==i.nodeType||"["!==i.data);)i=X(i);if(!i)throw t;z(!0),I(i),B();const l=rn(e,{...n,anchor:i});if(null===O||8!==O.nodeType||"]"!==O.data)throw N(),t;return z(!1),l}catch(l){if(l===t)return!1===n.recover&&function(){throw new Error("https://svelte.dev/e/hydration_failed")}(),Y(),ne(r),z(!1),en(e,n);throw l}finally{z(l),I(o)}}const nn=new Map;function rn(e,{target:t,anchor:n,props:r={},events:l,context:o,intro:i=!0}){Y();var s=new Set,u=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!s.has(r)){s.add(r);var l=(i=r,Rt.includes(i));t.addEventListener(r,Vt,{passive:l});var o=nn.get(r);void 0===o?(document.addEventListener(r,Vt,{passive:l}),nn.set(r,1)):nn.set(r,o+1)}}var i};u(a(Ft)),Dt.add(u);var c=void 0,f=function(e){const t=fe(y,e,!0);return(e={})=>new Promise((n=>{e.outro?Te(t,(()=>{we(t),n(void 0)})):(we(t),n(void 0))}))}((()=>{var i=n??t.appendChild(J());return be((()=>{o&&(Et({}),kt.c=o);l&&(r.$$events=l),R&&Yt(i,null),c=e(i,r)||{},R&&(He.nodes_end=O),o&&At()})),()=>{for(var e of s){t.removeEventListener(e,Vt);var r=nn.get(e);0===--r?(document.removeEventListener(e,Vt),nn.delete(e)):nn.set(e,r)}Dt.delete(u),i!==n&&i.parentNode?.removeChild(i)}}));return ln.set(c,f),c}let ln=new WeakMap;function on(t,r,[l,o]=[0,0]){R&&0===l&&B();var i=t,a=null,s=null,u=n,c=!1;const f=(e,t=!0)=>{c=!0,v(t,e)},v=(t,n)=>{if(u===(u=t))return;let r=!1;if(R&&-1!==o){if(0===l){const t=i.data;"["===t?o=0:t===e?o=1/0:(o=parseInt(t.substring(1)))!=o&&(o=u?1/0:-1)}!!u===o>l&&(I(i=M()),z(!1),r=!0,o=-1)}u?(a?ke(a):n&&(a=be((()=>n(i)))),s&&Te(s,(()=>{s=null}))):(s?ke(s):n&&(s=be((()=>n(i,[l+1,o])))),a&&Te(a,(()=>{a=null}))),r&&z(!0)};$e((()=>{c=!1,r(f),c||v(null,null)}),l>0?C:0),R&&(i=O)}function an(e,t){return t}function sn(t,n,r,l,i,s=null){var u=t,c={flags:n,items:new Map,first:null},f=t;u=R?I(G(f)):f.appendChild(J()),R&&B();var v=null,g=!1,d=function(e){const t=oe(e);return t.equals=le,t}((()=>{var e=r();return o(e)?e:null==e?[]:a(e)}));$e((()=>{var t=pt(d),o=t.length;if(g&&0===o)return;g=0===o;let f=!1;R&&(u.data===e!==(0===o)&&(I(u=M()),z(!1),f=!0));if(R){for(var h,p=null,$=0;$<o;$++){if(8===O.nodeType&&"]"===O.data){u=O,f=!0,z(!1);break}var b=t[$],m=l(b,$);h=cn(O,c,p,null,b,m,$,i,n,r),c.items.set(m,h),p=h}o>0&&I(M())}R||function(e,t,n,r,l,o,i){var s,u,c,f,v,g=e.length,d=t.items,h=t.first,p=h,$=null,b=[],m=[];for(v=0;v<g;v+=1)if(c=o(u=e[v],v),void 0!==(f=d.get(c))){if(un(f,u,v),0!==(f.e.f&k)&&ke(f.e),f!==p){if(void 0!==s&&s.has(f)){if(b.length<m.length){var y,w=m[0];$=w.prev;var x=b[0],_=b[b.length-1];for(y=0;y<b.length;y+=1)fn(b[y],w,n);for(y=0;y<m.length;y+=1)s.delete(m[y]);vn(t,x.prev,_.next),vn(t,$,x),vn(t,_,w),p=w,$=_,v-=1,b=[],m=[]}else s.delete(f),fn(f,p,n),vn(t,f.prev,f.next),vn(t,f,null===$?t.first:$.next),vn(t,$,f),$=f;continue}for(b=[],m=[];null!==p&&p.k!==c;)0===(p.e.f&k)&&(s??=new Set).add(p),m.push(p),p=p.next;if(null===p)continue;f=p}b.push(f),$=f,p=f.next}else{$=cn(p?p.e.nodes_start:n,t,$,null===$?t.first:$.next,u,c,v,r,l,i),d.set(c,$),b=[],m=[],p=$.next}if(null!==p||void 0!==s){for(var T=void 0===s?[]:a(s);null!==p;)0===(p.e.f&k)&&T.push(p),p=p.next;if(T.length>0)!function(e,t,n,r){for(var l=[],o=t.length,i=0;i<o;i++)Le(t[i].e,l,!0);var a=o>0&&0===l.length&&null!==n;if(a){var s=n.parentNode;ne(s),s.append(n),r.clear(),vn(e,t[0].prev,t[o-1].next)}Se(l,(()=>{for(var n=0;n<o;n++){var l=t[n];a||(r.delete(l.k),vn(e,l.prev,l.next)),we(l.e,!a)}}))}(t,T,0===g?n:null,d)}He.first=t.first&&t.first.e,He.last=$&&$.e}(t,c,u,i,n,l,r),null!==s&&(0===o?v?ke(v):v=be((()=>s(u))):null!==v&&Te(v,(()=>{v=null}))),f&&z(!0),pt(d)})),R&&(u=O)}function un(e,t,n,r){St(e.v,t),e.i=n}function cn(e,t,n,r,l,o,i,a,s,u){var c=!!(1&s)?!(16&s)?_t(l):wt(l):l,f=2&s?wt(i):i,v={i:f,v:c,k:o,a:null,e:null,prev:n,next:r};try{return v.e=be((()=>a(e,c,f,u)),R),v.e.prev=n&&n.e,v.e.next=r&&r.e,null===n?t.first=v:(n.next=v,n.e.next=v.e),null!==r&&(r.prev=v,r.e.prev=v.e),v}finally{}}function fn(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,l=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==r;){var i=X(o);l.before(o),o=i}}function vn(e,t,n){null===t?e.first=n:(t.next=n,t.e.next=n&&n.e),null!==n&&(n.prev=t,n.e.prev=t&&t.e)}function gn(e,n,r=!1,l=!1,o=!1){var i=e,a="";pe((()=>{var e=He;if(a!==(a=n()??"")){if(null!==e.nodes_start&&(xe(e.nodes_start,e.nodes_end),e.nodes_start=e.nodes_end=null),""!==a){if(R){O.data;for(var o=B(),s=o;null!==o&&(8!==o.nodeType||""!==o.data);)s=o,o=X(o);if(null===o)throw N(),t;return Yt(O,s),void(i=I(o))}var u=a+"";r?u=`<svg>${u}</svg>`:l&&(u=`<math>${u}</math>`);var c=Kt(u);if((r||l)&&(c=G(c)),Yt(G(c),c.lastChild),r||l)for(;G(c);)i.before(G(c));else i.before(c)}}else R&&B()}))}function dn(e,t,n,r,l){R&&B();var o=t.$$slots?.[n],i=!1;!0===o&&(o=t["default"===n?"children":n],i=!0),void 0===o?null!==l&&l(e):o(e,i?()=>r:r)}function hn(e,t,...n){var r,l=e,o=$;$e((()=>{o!==(o=t())&&(r&&(we(r),r=null),r=be((()=>o(l,...n))))}),C),R&&(l=O)}function pn(e,t,n,r,l,o){let i=R;var a,s;R&&B();var u=null;R&&1===O.nodeType&&(u=O,B());var c,f=R?O:e;$e((()=>{const e=t()||null;var n="svg"===e?"http://www.w3.org/2000/svg":null;e!==a&&(c&&(null===e?Te(c,(()=>{c=null,s=null})):e===s?ke(c):we(c)),e&&e!==s&&(c=be((()=>{if(Yt(u=R?u:n?document.createElementNS(n,e):document.createElement(e),u),r){R&&(l=e,zt.includes(l))&&u.append(document.createComment(""));var t=R?G(u):u.appendChild(J());R&&(null===t?z(!1):I(t)),r(u,t)}var l;He.nodes_end=u,f.before(u)}))),(a=e)&&(s=a))}),C),i&&(z(!0),I(f))}function $n(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=$n(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function bn(e){return"object"==typeof e?function(){for(var e,t,n=0,r="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=$n(e))&&(r&&(r+=" "),r+=t);return r}(e):e??""}const mn=[..." \t\n\r\f \v\ufeff"];function yn(e,t=!1){var n=t?" !important;":";",r="";for(var l in e){var o=e[l];null!=o&&""!==o&&(r+=" "+l+": "+o+n)}return r}function wn(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function xn(e,t,n,r,l,o){var i=e.__className;if(R||i!==n||void 0===i){var a=function(e,t,n){var r=null==e?"":""+e;if(t&&(r=r?r+" "+t:t),n)for(var l in n)if(n[l])r=r?r+" "+l:l;else if(r.length)for(var o=l.length,i=0;(i=r.indexOf(l,i))>=0;){var a=i+o;0!==i&&!mn.includes(r[i-1])||a!==r.length&&!mn.includes(r[a])?i=a:r=(0===i?"":r.substring(0,i))+r.substring(a+1)}return""===r?null:r}(n,r,o);R&&a===e.getAttribute("class")||(null==a?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e.__className=n}else if(o&&l!==o)for(var s in o){var u=!!o[s];null!=l&&u===!!l[s]||e.classList.toggle(s,u)}return o}function _n(e,t={},n,r){for(var l in n){var o=n[l];t[l]!==o&&(null==n[l]?e.style.removeProperty(l):e.style.setProperty(l,o,r))}}function Tn(e,t,n,r){var l=e.__style;if(R||l!==t){var o=function(e,t){if(t){var n,r,l="";if(Array.isArray(t)?(n=t[0],r=t[1]):n=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,i=0,a=!1,s=[];n&&s.push(...Object.keys(n).map(wn)),r&&s.push(...Object.keys(r).map(wn));var u=0,c=-1;const t=e.length;for(var f=0;f<t;f++){var v=e[f];if(a?"/"===v&&"*"===e[f-1]&&(a=!1):o?o===v&&(o=!1):"/"===v&&"*"===e[f+1]?a=!0:'"'===v||"'"===v?o=v:"("===v?i++:")"===v&&i--,!a&&!1===o&&0===i)if(":"===v&&-1===c)c=f;else if(";"===v||f===t-1){if(-1!==c){var g=wn(e.substring(u,c).trim());s.includes(g)||(";"!==v&&f++,l+=" "+e.substring(u,f).trim()+";")}u=f+1,c=-1}}}return n&&(l+=yn(n)),r&&(l+=yn(r,!0)),""===(l=l.trim())?null:l}return null==e?null:String(e)}(t,r);R&&o===e.getAttribute("style")||(null==o?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else r&&(Array.isArray(r)?(_n(e,n?.[0],r[0]),_n(e,n?.[1],r[1],"important")):_n(e,n,r));return r}const Sn=Symbol("class"),Ln=Symbol("style"),kn=Symbol("is custom element"),Un=Symbol("is html");function Cn(e){if(R){var t,n=!1,r=()=>{if(!n){if(n=!0,e.hasAttribute("value")){var t=e.value;An(e,"value",null),e.value=t}if(e.hasAttribute("checked")){var r=e.checked;An(e,"checked",null),e.checked=r}}};e.__on_r=r,t=r,0===Ae.length&&Ce(qe),Ae.push(t),Wt()}}function En(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function An(e,t,n,r){var l=qn(e);R&&(l[t]=e.getAttribute(t),"src"===t||"srcset"===t||"href"===t&&"LINK"===e.nodeName)||l[t]!==(l[t]=n)&&("loading"===t&&(e[j]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&Nn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Pn(e,t,n,r,l=!1){var o=qn(e),i=o[kn],a=!o[Un];let s=R&&i;s&&z(!1);var u=t||{},c="OPTION"===e.tagName;for(var f in t)f in n||(n[f]=null);n.class?n.class=bn(n.class):n[Sn]&&(n.class=null),n[Ln]&&(n.style??=null);var v=Nn(e);for(const b in n){let m=n[b];if(c&&"value"===b&&null==m)e.value=e.__value="",u[b]=m;else if("class"!==b)if("style"!==b){var g=u[b];if(m!==g){u[b]=m;var d=b[0]+b[1];if("$$"!==d)if("on"===d){const y={},w="$$"+b;let x=b.slice(2);var h=jt(x);if(Pt(x)&&(x=x.slice(0,-7),y.capture=!0),!h&&g){if(null!=m)continue;e.removeEventListener(x,u[w],y),u[w]=null}if(null!=m)if(h)e[`__${x}`]=m,Qt([x]);else{function _(e){u[b].call(this,e)}u[w]=Ht(x,e,_,y)}else h&&(e[`__${x}`]=void 0)}else if("style"===b)An(e,b,m);else if("autofocus"===b)It(e,Boolean(m));else if(i||"__value"!==b&&("value"!==b||null==m))if("selected"===b&&c)En(e,m);else{var p=b;a||(p=Ot(p));var $="defaultValue"===p||"defaultChecked"===p;if(null!=m||i||$)$||v.includes(p)&&(i||"string"!=typeof m)?e[p]=m:"function"!=typeof m&&An(e,p,m);else if(o[b]=null,"value"===p||"checked"===p){let T=e;const S=void 0===t;if("value"===p){let L=T.defaultValue;T.removeAttribute(p),T.defaultValue=L,T.value=T.__value=S?L:null}else{let k=T.defaultChecked;T.removeAttribute(p),T.defaultChecked=k,T.checked=!!S&&k}}else e.removeAttribute(b)}else e.value=e.__value=m}}else Tn(e,m,t?.[Ln],n[Ln]),u[b]=m,u[Ln]=n[Ln];else xn(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,m,r,t?.[Sn],n[Sn]),u[b]=m,u[Sn]=n[Sn]}return s&&z(!0),u}function qn(e){return e.__attributes??={[kn]:e.nodeName.includes("-"),[Un]:"http://www.w3.org/1999/xhtml"===e.namespaceURI}}var jn=new Map;function Nn(e){var t,n=jn.get(e.nodeName);if(n)return n;jn.set(e.nodeName,n=[]);for(var r=e,l=Element.prototype;l!==r;){for(var o in t=f(r))t[o].set&&n.push(o);r=d(r)}return n}function On(e,t,n=t){!function(e,t,n,r=n){e.addEventListener(t,(()=>Mt(n)));const l=e.__on_r;e.__on_r=l?()=>{l(),r(!0)}:()=>r(!0),Wt()}(e,"input",(r=>{var l=r?e.defaultValue:e.value;if(l=Rn(e)?zn(l):l,n(l),l!==(l=t())){var o=e.selectionStart,i=e.selectionEnd;e.value=l??"",null!==i&&(e.selectionStart=o,e.selectionEnd=Math.min(i,e.value.length))}})),(R&&e.defaultValue!==e.value||null==$t(t)&&e.value)&&n(Rn(e)?zn(e.value):e.value),he((()=>{var n=t();Rn(e)&&n===zn(e.value)||("date"!==e.type||n||e.value)&&n!==e.value&&(e.value=n??"")}))}function Rn(e){var t=e.type;return"number"===t||"range"===t}function zn(e){return""===e?null:+e}function In(e,t){return e===t||e?.[P]===t}function Bn(e={},t,n,r){return de((()=>{var r,l;return he((()=>{r=l,l=[],$t((()=>{e!==n(...l)&&(t(e,...l),r&&In(n(...r),e)&&t(null,...r))}))})),()=>{je((()=>{l&&In(n(...l),e)&&t(null,...l)}))}})),e}function Wn(e){null===kt&&l(),ge((()=>{const t=$t(e);if("function"==typeof t)return t}))}let Mn=!1;const Fn={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set:(e,t)=>!1,getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t))return t in e.props?{enumerable:!0,configurable:!0,value:e.props[t]}:void 0},has:(e,t)=>!e.exclude.includes(t)&&t in e.props,ownKeys:e=>Reflect.ownKeys(e.props).filter((t=>!e.exclude.includes(t)))};function Dn(e,t,n){return new Proxy({props:e,exclude:t},Fn)}const Hn={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),"object"==typeof r&&null!==r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let l=e.props[r];p(l)&&(l=l());const o=c(l,t);if(o&&o.set)return o.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),"object"==typeof r&&null!==r&&t in r){const e=c(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===P||t===q)return!1;for(let n of e.props)if(p(n)&&(n=n()),null!=n&&t in n)return!0;return!1},ownKeys(e){const t=[];for(let n of e.props){p(n)&&(n=n());for(const e in n)t.includes(e)||t.push(e)}return t}};function Qn(...e){return new Proxy({props:e},Hn)}function Vn(e){return e.ctx?.d??!1}function Kn(e,t,n,r){var l,o=!!(1&n),i=!!(8&n),a=!!(16&n),s=!1;i?[l,s]=function(e){var t=Mn;try{return Mn=!1,[e(),Mn]}finally{Mn=t}}((()=>e[t])):l=e[t];var u,f=P in e||q in e,v=i&&(c(e,t)?.set??(f&&t in e&&(n=>e[t]=n)))||void 0,g=r,d=!0,h=!1,p=()=>(h=!0,d&&(d=!1,g=a?$t(r):r),g);if(void 0===l&&void 0!==r&&(v&&function(){throw new Error("https://svelte.dev/e/props_invalid_value")}(),l=p(),v&&v(l)),u=()=>{var n=e[t];return void 0===n?p():(d=!0,h=!1,n)},!(4&n))return u;if(v){var $=e.$$legacy;return function(e,t){return arguments.length>0?((!t||$||s)&&v(t?u():e),e):u()}}var b=!1,m=_t(l),y=oe((()=>{var e=u(),t=pt(m);return b?(b=!1,t):m.v=e}));return i&&pt(y),o||(y.equals=le),function(e,t){if(arguments.length>0){const n=t?pt(y):i?F(e):e;if(!y.equals(n)){if(b=!0,Tt(m,n),h&&void 0!==g&&(g=n),Vn(y))return e;$t((()=>pt(y)))}return e}return Vn(y)?y.v:pt(y)}}class Yn{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=_t(n);return t.set(e,r),r};const r=new Proxy({...e.props||{},$$events:{}},{get:(e,r)=>pt(t.get(r)??n(r,Reflect.get(e,r))),has:(e,r)=>r===q||(pt(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r)),set:(e,r,l)=>(Tt(t.get(r)??n(r,l),l),Reflect.set(e,r,l))});this.#t=(e.hydrate?tn:en)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover}),e?.props?.$$host&&!1!==e.sync||ht(),this.#e=r.$$events;for(const e of Object.keys(this.#t))"$set"!==e&&"$destroy"!==e&&"$on"!==e&&u(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{!function(e,t){const n=ln.get(e);n?(ln.delete(e),n(t)):Promise.resolve()}(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];const n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter((e=>e!==n))}}$destroy(){this.#t.$destroy()}}let Jn;function Gn(e,t,n,r){const l=n[e]?.type;if(t="Boolean"===l&&"boolean"!=typeof t?null!=t:t,!r||!n[e])return t;if("toAttribute"===r)switch(l){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return null==t?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function Xn(e,t,n,r,l,o){let i=class extends Jn{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return s(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return s(t).forEach((e=>{u(i.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Gn(e,n,t),this.$$d[e]=n;var r=this.$$c;if(r){var l=c(r,e)?.get;l?r[e]=n:r.$set({[e]:n})}}})})),r.forEach((e=>{u(i.prototype,e,{get(){return this.$$c?.[e]}})})),o&&(i=o(i)),e.element=i,i}"function"==typeof HTMLElement&&(Jn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(e){return t=>{const n=document.createElement("slot");"default"!==e&&(n.name=e),Xt(t,n)}}const n={},r=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const l of this.$$s)l in r&&("default"!==l||this.$$d.children?n[l]=t(l):(this.$$d.children=t(l),n.default=!0));for(const o of this.attributes){const i=this.$$g_p(o.name);i in this.$$d||(this.$$d[i]=Gn(i,o.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)a in this.$$d||void 0===this[a]||(this.$$d[a]=this[a],delete this[a]);this.$$c=(e={component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$host:this}},new Yn(e)),this.$$me=function(e){const t=fe(y,e,!0);return()=>{we(t)}}((()=>{he((()=>{this.$$r=!0;for(const e of s(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];const t=Gn(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1}))}));for(const u in this.$$l)for(const c of this.$$l[u]){const f=this.$$c.$on(u,c);this.$$l_u.set(c,f)}this.$$l={}}var e}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Gn(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)}))}$$g_p(e){return s(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class Zn{static assetsBasePath=document.currentScript.getAttribute("sdg-assets-base-path")||new URL(document.currentScript.src).pathname.split("/").slice(0,-2).join("/")||"/";static cssRelativePath=`${this.assetsBasePath}/css/`.replace("//","/");static imagesRelativePath=`${this.assetsBasePath}/img/`.replace("//","/");static cssFileName=document.currentScript.getAttribute("sdg-css-filename")||"qc-sdg.min.css";static cssPath=document.currentScript.getAttribute("sdg-css-path")||this.cssRelativePath+this.cssFileName;static sharedTexts={openInNewTab:{fr:"Ce lien s’ouvrira dans un nouvel onglet.",en:"This link will open in a new tab."}};static getPageLanguage(){return document.getElementsByTagName("html")[0].getAttribute("lang")||"fr"}static isTruthy(e){return"boolean"==typeof e?e:"string"==typeof e?"true"===e.toLowerCase()||!!parseInt(e):"number"==typeof e&&!!e}}var er=Jt("<div></div>");function tr(e,t){Et(t,!0);let n=Kn(t,"type",7),r=Kn(t,"label",7),l=Kn(t,"size",7,"md"),o=Kn(t,"color",7,"text-primary"),i=Kn(t,"width",7,"auto"),a=Kn(t,"height",7,"auto"),s=Dn(t,["$$slots","$$events","$$legacy","$$host","type","label","size","color","width","height"]),u=ie((()=>"auto"===i()?{"data-img-size":l()}:{}));var c=er();let f;return pe((()=>f=Pn(c,f,{role:"img",class:"qc-icon","aria-label":r(),style:`--img-color:var(--qc-color-${o()??""});\n --img-width:${i()??""};\n --img-height:${a()??""};\n `,"data-img-type":n(),...pt(u),...s}))),Xt(e,c),At({get type(){return n()},set type(e){n(e),ht()},get label(){return r()},set label(e){r(e),ht()},get size(){return l()},set size(e="md"){l(e),ht()},get color(){return o()},set color(e="text-primary"){o(e),ht()},get width(){return i()},set width(e="auto"){i(e),ht()},get height(){return a()},set height(e="auto"){a(e),ht()}})}Xn(tr,{type:{},label:{},size:{},color:{},width:{},height:{}},[],[],!0);var nr=Jt('<div tabindex="0"><div class="icon-container"><div class="qc-icon"><!></div></div> <div class="content-container"><div class="content"><!> <!> <!></div></div></div> <link rel="stylesheet">',1);function rr(e,t){Et(t,!0);const n="fr"===Zn.getPageLanguage(),r="h2",l="information",o={advice:n?"Avis conseil":"Advisory notice",note:n?"Avis explicatif":"Explanatory notice",information:n?"Avis général":"General notice",warning:n?"Avis d’avertissement":"Warning notice",success:n?"Avis de réussite":"Success notice",error:n?"Avis d’erreur":"Error notice"};let i=Kn(t,"title",7,""),a=Kn(t,"type",7,l),s=Kn(t,"content",7,""),u=Kn(t,"header",7,r),c=Kn(t,"icon",7),f=Kn(t,"slotContent",7);const v=Object.keys(o).includes(a())?a():l,g=u().match(/h[1-6]/)?u():r,d="success"===v?"status":"error"===v?"alert":null;let h=xt(null);ge((()=>{if(d&&pt(h)){const e=Array.from(pt(h).childNodes);pt(h).innerHTML="",e.forEach((e=>pt(h).appendChild(e)))}}));const p="advice"===v||"note"===v,b=p?"neutral":v,m=p?c()??"note":v,y=o[a()]??o.information;var w=nr(),x=ee(w);xn(x,1,`qc-component qc-notice qc-${b??""}`);var _=Z(x),T=Z(_);tr(Z(T),{type:m,label:y,size:"nm"}),W(T),W(_);var S=te(_,2),L=Z(S);An(L,"role",d);var k=Z(L),U=e=>{var t=Gt();pn(ee(t),(()=>g),0,((e,t)=>{var n=Gt();gn(ee(n),i),Xt(t,n)})),Xt(e,t)};on(k,(e=>{i()&&""!==i()&&e(U)}));var C=te(k,2);gn(C,s),hn(te(C,2),(()=>f()??$)),W(L),Bn(L,(e=>Tt(h,e)),(()=>pt(h))),W(S),W(x);var E=te(x,2);return pe((()=>An(E,"href",Zn.cssPath))),Xt(e,w),At({get title(){return i()},set title(e=""){i(e),ht()},get type(){return a()},set type(e=l){a(e),ht()},get content(){return s()},set content(e=""){s(e),ht()},get header(){return u()},set header(e=r){u(e),ht()},get icon(){return c()},set icon(e){c(e),ht()},get slotContent(){return f()},set slotContent(e){f(e),ht()}})}Xn(rr,{title:{},type:{},content:{},header:{},icon:{},slotContent:{}},[],[],!0),customElements.define("qc-notice",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);{const r=e=>{var n=Gt();dn(ee(n),t,"default",{},null),Xt(e,n)};rr(e,Qn((()=>n),{slotContent:r,$$slots:{slotContent:!0}}))}}),{title:{attribute:"title",type:"String"},type:{attribute:"type",type:"String"},content:{attribute:"content",type:"String"},header:{attribute:"header",type:"String"},icon:{attribute:"icon",type:"String"}},["default"],[],!0));var lr=Jt("<li><a> </a></li>"),or=Jt("<li><a> </a></li>"),ir=Jt("<nav><ul><!> <!></ul></nav>");function ar(e,t){Et(t,!0);const n=Zn.getPageLanguage(),r=Kn(t,"joinUsText",7,"fr"===n?"Nous joindre":"Contact us"),l=Kn(t,"joinUsUrl",7,""),o=Kn(t,"altLanguageText",7,"fr"===n?"English":"Français"),i=Kn(t,"altLanguageUrl",7,""),a=Kn(t,"linksLabel",7,"fr"===n?"Navigation PIV":"PIV navigation");var s=Gt(),u=ee(s),c=e=>{var t=ir(),n=Z(t),s=Z(n),u=e=>{var t=lr(),n=Z(t),r=Z(n,!0);W(n),W(t),pe((()=>{An(n,"href",i()),Zt(r,o())})),Xt(e,t)};on(s,(e=>{i()&&e(u)}));var c=te(s,2),f=e=>{var t=or(),n=Z(t),o=Z(n,!0);W(n),W(t),pe((()=>{An(n,"href",l()),Zt(o,r())})),Xt(e,t)};on(c,(e=>{l()&&e(f)})),W(n),W(t),pe((()=>An(t,"aria-label",a()))),Xt(e,t)};return on(u,(e=>{(l()||i())&&e(c)})),Xt(e,s),At({get joinUsText(){return r()},set joinUsText(e=("fr"===n?"Nous joindre":"Contact us")){r(e),ht()},get joinUsUrl(){return l()},set joinUsUrl(e=""){l(e),ht()},get altLanguageText(){return o()},set altLanguageText(e=("fr"===n?"English":"Français")){o(e),ht()},get altLanguageUrl(){return i()},set altLanguageUrl(e=""){i(e),ht()},get linksLabel(){return a()},set linksLabel(e=("fr"===n?"Navigation PIV":"PIV navigation")){a(e),ht()}})}Xn(ar,{joinUsText:{},joinUsUrl:{},altLanguageText:{},altLanguageUrl:{},linksLabel:{}},[],[],!0);var sr=Jt('<div class="go-to-content"><a> </a></div>'),ur=Jt('<div class="title"><a class="title"> </a></div>'),cr=(e,t,n)=>{e.preventDefault(),Tt(t,!pt(t)),async function(){await Promise.resolve(),ht()}().then((()=>{n()}))},fr=Jt('<a class="qc-search" href="/" role="button"><span> </span></a>'),vr=Jt('<div class="search-zone"><!></div>'),gr=Jt('<div role="banner" class="qc-piv-header qc-component"><div><!> <div class="piv-top"><div class="signature-group"><a class="logo" rel="noreferrer"><div role="img"></div></a> <!></div> <div class="right-section"><!> <div class="links"><!></div></div></div> <div class="piv-bottom"><!></div></div></div> <link rel="stylesheet">',1);function dr(e,t){Et(t,!0);const n=Zn.getPageLanguage();let r=Kn(t,"self",7),l=Kn(t,"logoUrl",7,"/"),o=Kn(t,"fullWidth",7,"false"),i=Kn(t,"logoSrc",23,(()=>Zn.imagesRelativePath+"QUEBEC_blanc.svg")),a=Kn(t,"logoAlt",7,"fr"===n?"Logo du gouvernement du Québec":"Logo of government of Québec"),s=Kn(t,"titleUrl",7,"/"),u=Kn(t,"titleText",7,""),c=Kn(t,"linksLabel",7),f=Kn(t,"altLanguageText",7),v=Kn(t,"altLanguageUrl",7),g=Kn(t,"joinUsText",7),d=Kn(t,"joinUsUrl",7),h=Kn(t,"goToContent",7,"true"),p=Kn(t,"goToContentAnchor",7,"#main"),b=Kn(t,"goToContentText",7,"fr"===n?"Passer au contenu":"Skip to content"),m=Kn(t,"displaySearchText",7,"fr"===n?"Cliquer pour faire une recherche":"Click to search"),y=Kn(t,"hideSearchText",7,"fr"===n?"Masquer la barre de recherche":"Hide search bar"),w=Kn(t,"enableSearch",7,"false"),x=Kn(t,"showSearch",7,"false"),_=Kn(t,"links",7),T=Kn(t,"search",7);console.log("PivHeader self",r());let S=xt("qc-container"),L=xt(null),k=xt(!1);function U(){if(pt(k)){let e=r()?r().querySelector('[slot="search-zone"] input'):pt(L).querySelector("input");console.log("focusOnSearchInput",r(),pt(L),e),e?.focus()}}Wn((()=>{Tt(S,pt(S)+("true"===o()?"-fluid":"")),"true"===x()&&(w("true"),Tt(k,!0))}));var C=gr(),E=ee(C),A=Z(E),P=Z(A),q=e=>{var t=sr(),n=Z(t),r=Z(n,!0);W(n),W(t),pe((()=>{An(n,"href",p()),Zt(r,b())})),Xt(e,t)};on(P,(e=>{"true"===h()&&e(q)}));var j=te(P,2),N=Z(j),O=Z(N),R=te(O,2),z=e=>{var t=ur(),n=Z(t),r=Z(n,!0);W(n),W(t),pe((()=>{An(n,"href",s()),Zt(r,u())})),Xt(e,t)};on(R,(e=>{u()&&e(z)})),W(N);var I=te(N,2),B=Z(I),M=e=>{var t=fr();t.__click=[cr,k,U];var n=Z(t),r=Z(n,!0);W(n),W(t),pe((()=>Zt(r,pt(k)?y():m()))),Xt(e,t)};on(B,(e=>{Zn.isTruthy(w())&&e(M)}));var F=te(B,2),D=Z(F),H=e=>{var t=Gt();hn(ee(t),_),Xt(e,t)},Q=e=>{ar(e,{get joinUsUrl(){return d()},get joinUsText(){return g()},get altLanguageUrl(){return v()},get altLanguageText(){return f()},get linksLabel(){return c()}})};on(D,(e=>{_()?e(H):e(Q,!1)})),W(F),W(I),W(j);var V=te(j,2),K=Z(V),Y=e=>{var t=vr();hn(Z(t),(()=>T()??$)),W(t),Bn(t,(e=>Tt(L,e)),(()=>pt(L))),Xt(e,t)};on(K,(e=>{pt(k)&&e(Y)})),W(V),W(A),W(E);var J=te(E,2);return pe((()=>{Tn(E,`--logo-src:url(${i()??""})`),xn(A,1,pt(S)),An(O,"href",l()),An(O,"aria-label",a()),An(J,"href",Zn.cssPath)})),Xt(e,C),At({get self(){return r()},set self(e){r(e),ht()},get logoUrl(){return l()},set logoUrl(e="/"){l(e),ht()},get fullWidth(){return o()},set fullWidth(e="false"){o(e),ht()},get logoSrc(){return i()},set logoSrc(e=Zn.imagesRelativePath+"QUEBEC_blanc.svg"){i(e),ht()},get logoAlt(){return a()},set logoAlt(e=("fr"===n?"Logo du gouvernement du Québec":"Logo of government of Québec")){a(e),ht()},get titleUrl(){return s()},set titleUrl(e="/"){s(e),ht()},get titleText(){return u()},set titleText(e=""){u(e),ht()},get linksLabel(){return c()},set linksLabel(e){c(e),ht()},get altLanguageText(){return f()},set altLanguageText(e){f(e),ht()},get altLanguageUrl(){return v()},set altLanguageUrl(e){v(e),ht()},get joinUsText(){return g()},set joinUsText(e){g(e),ht()},get joinUsUrl(){return d()},set joinUsUrl(e){d(e),ht()},get goToContent(){return h()},set goToContent(e="true"){h(e),ht()},get goToContentAnchor(){return p()},set goToContentAnchor(e="#main"){p(e),ht()},get goToContentText(){return b()},set goToContentText(e=("fr"===n?"Passer au contenu":"Skip to content")){b(e),ht()},get displaySearchText(){return m()},set displaySearchText(e=("fr"===n?"Cliquer pour faire une recherche":"Click to search")){m(e),ht()},get hideSearchText(){return y()},set hideSearchText(e=("fr"===n?"Masquer la barre de recherche":"Hide search bar")){y(e),ht()},get enableSearch(){return w()},set enableSearch(e="false"){w(e),ht()},get showSearch(){return x()},set showSearch(e="false"){x(e),ht()},get links(){return _()},set links(e){_(e),ht()},get search(){return T()},set search(e){T(e),ht()}})}Qt(["click"]),Xn(dr,{self:{},logoUrl:{},fullWidth:{},logoSrc:{},logoAlt:{},titleUrl:{},titleText:{},linksLabel:{},altLanguageText:{},altLanguageUrl:{},joinUsText:{},joinUsUrl:{},goToContent:{},goToContentAnchor:{},goToContentText:{},displaySearchText:{},hideSearchText:{},enableSearch:{},showSearch:{},links:{},search:{}},[],[],!0),customElements.define("qc-piv-header",Xn((function(e,t){Et(t,!0),Zn.getPageLanguage();let n=Kn(t,"self",7),r=Kn(t,"joinUsText",7),l=Kn(t,"joinUsUrl",7),o=Kn(t,"altLanguageText",7),i=Kn(t,"altLanguageUrl",7),a=Kn(t,"linksLabel",7),s=Dn(t,["$$slots","$$events","$$legacy","$$host","self","joinUsText","joinUsUrl","altLanguageText","altLanguageUrl","linksLabel"]);{const u=e=>{var n=Gt();dn(ee(n),t,"links",{},(e=>{ar(e,{get joinUsUrl(){return l()},get joinUsText(){return r()},get altLanguageUrl(){return i()},get altLanguageText(){return o()},get linksLabel(){return a()}})})),Xt(e,n)},c=e=>{var n=Gt();dn(ee(n),t,"search-zone",{},null),Xt(e,n)};dr(e,Qn({get self(){return n()}},(()=>s),{links:u,search:c,$$slots:{links:!0,search:!0}}))}return At({get self(){return n()},set self(e){n(e),ht()},get joinUsText(){return r()},set joinUsText(e){r(e),ht()},get joinUsUrl(){return l()},set joinUsUrl(e){l(e),ht()},get altLanguageText(){return o()},set altLanguageText(e){o(e),ht()},get altLanguageUrl(){return i()},set altLanguageUrl(e){i(e),ht()},get linksLabel(){return a()},set linksLabel(e){a(e),ht()}})}),{logoUrl:{attribute:"logo-url"},fullWidth:{attribute:"full-width"},logoSrc:{attribute:"logo-src"},logoAlt:{attribute:"logo-alt"},titleUrl:{attribute:"title-url"},titleText:{attribute:"title-text"},linksLabel:{attribute:"links-label"},altLanguageText:{attribute:"alt-language-text"},altLanguageUrl:{attribute:"alt-language-url"},joinUsText:{attribute:"join-us-text"},joinUsUrl:{attribute:"join-us-url"},goToContent:{attribute:"go-to-content"},goToContentAnchor:{attribute:"go-to-content-anchor"},goToContentText:{attribute:"go-to-content-text"},displaySearchText:{attribute:"display-search-text"},hideSearchText:{attribute:"hide-search-text"},enableSearch:{attribute:"enable-search"},showSearch:{attribute:"show-search"},self:{}},["links","search-zone"],[],!0,(e=>class extends e{static self;constructor(){super(),this.self=this}})));var hr=Jt("<a> </a>");function pr(e,t){Et(t,!0);const n=Zn.getPageLanguage(),r=Kn(t,"copyrightUrl",7,"fr"===n?"https://www.quebec.ca/droit-auteur":"https://www.quebec.ca/en/copyright"),l=Kn(t,"copyrightText",23,(()=>"© Gouvernement du Québec, "+(new Date).getFullYear()));var o=hr(),i=Z(o,!0);return W(o),pe((()=>{An(o,"href",r()),Zt(i,l())})),Xt(e,o),At({get copyrightUrl(){return r()},set copyrightUrl(e=("fr"===n?"https://www.quebec.ca/droit-auteur":"https://www.quebec.ca/en/copyright")){r(e),ht()},get copyrightText(){return l()},set copyrightText(e="© Gouvernement du Québec, "+(new Date).getFullYear()){l(e),ht()}})}Xn(pr,{copyrightUrl:{},copyrightText:{}},[],[],!0);var $r=Jt("<img>"),br=Jt('<div class="qc-piv-footer qc-container-fluid"><!> <a class="logo"></a> <span class="copyright"><!></span></div> <link rel="stylesheet">',1);function mr(e,t){Et(t,!0);const n=Zn.getPageLanguage();let r=Kn(t,"logoUrl",7,"/"),l=Kn(t,"logoSrc",23,(()=>Zn.imagesRelativePath+"/QUEBEC_couleur.svg")),o=Kn(t,"logoSrcDarkTheme",23,(()=>Zn.imagesRelativePath+"/QUEBEC_blanc.svg")),i=Kn(t,"logoAlt",7,"fr"===n?"Logo du gouvernement du Québec":"Logo of the Quebec government"),a=Kn(t,"copyrightText",7),s=Kn(t,"logoWidth",7,139),u=Kn(t,"logoHeight",7,50),c=Kn(t,"copyrightUrl",7),f=Kn(t,"mainSlot",7),v=Kn(t,"copyrightSlot",7);var g=br(),d=ee(g),h=Z(d),p=e=>{var t=Gt();hn(ee(t),f),Xt(e,t)};on(h,(e=>{f()&&e(p)}));var $=te(h,2);let b;sn($,21,(()=>[["light",l()],["dark",o()]]),an,((e,t)=>{var n=$r();pe((()=>{An(n,"src",pt(t)[1]),An(n,"alt",i()),xn(n,1,`qc-${pt(t)[0]??""}-theme-show`)})),Xt(e,n)})),W($);var m=te($,2),y=Z(m),w=e=>{var t=Gt();hn(ee(t),v),Xt(e,t)},x=e=>{pr(e,{get copyrightText(){return a()},get copyrightUrl(){return c()}})};on(y,(e=>{v()?e(w):e(x,!1)})),W(m),W(d);var _=te(d,2);return pe((()=>{An($,"href",r()),b=Tn($,"",b,{"--logo-width":s(),"--logo-height":u()}),An(_,"href",Zn.cssPath)})),Xt(e,g),At({get logoUrl(){return r()},set logoUrl(e="/"){r(e),ht()},get logoSrc(){return l()},set logoSrc(e=Zn.imagesRelativePath+"/QUEBEC_couleur.svg"){l(e),ht()},get logoSrcDarkTheme(){return o()},set logoSrcDarkTheme(e=Zn.imagesRelativePath+"/QUEBEC_blanc.svg"){o(e),ht()},get logoAlt(){return i()},set logoAlt(e=("fr"===n?"Logo du gouvernement du Québec":"Logo of the Quebec government")){i(e),ht()},get copyrightText(){return a()},set copyrightText(e){a(e),ht()},get logoWidth(){return s()},set logoWidth(e=139){s(e),ht()},get logoHeight(){return u()},set logoHeight(e=50){u(e),ht()},get copyrightUrl(){return c()},set copyrightUrl(e){c(e),ht()},get mainSlot(){return f()},set mainSlot(e){f(e),ht()},get copyrightSlot(){return v()},set copyrightSlot(e){v(e),ht()}})}Xn(mr,{logoUrl:{},logoSrc:{},logoSrcDarkTheme:{},logoAlt:{},copyrightText:{},logoWidth:{},logoHeight:{},copyrightUrl:{},mainSlot:{},copyrightSlot:{}},[],[],!0),customElements.define("qc-piv-footer",Xn((function(e,t){Et(t,!0),Zn.getPageLanguage();let n=Kn(t,"copyrightText",7),r=Kn(t,"copyrightUrl",7),l=Kn(t,"self",7),o=Kn(t,"slots",7),i=Kn(t,"defaultSlot",7),a=Dn(t,["$$slots","$$events","$$legacy","$$host","copyrightText","copyrightUrl","self","slots","defaultSlot"]);{const l=e=>{var n=Gt();dn(ee(n),t,"default",{},null),Xt(e,n)},o=e=>{var l=Gt();dn(ee(l),t,"copyright",{},(e=>{pr(e,{get copyrightText(){return n()},get copyrightUrl(){return r()}})})),Xt(e,l)};mr(e,Qn((()=>a),{mainSlot:l,copyrightSlot:o,$$slots:{mainSlot:!0,copyrightSlot:!0}}))}return At({get copyrightText(){return n()},set copyrightText(e){n(e),ht()},get copyrightUrl(){return r()},set copyrightUrl(e){r(e),ht()},get self(){return l()},set self(e){l(e),ht()},get slots(){return o()},set slots(e){o(e),ht()},get defaultSlot(){return i()},set defaultSlot(e){i(e),ht()}})}),{logoUrl:{attribute:"logo-url"},logoSrc:{attribute:"logo-src"},logoSrcDarkTheme:{attribute:"logo-src-dark-theme"},logoAlt:{attribute:"logo-alt"},logoWidth:{attribute:"logo-width"},logoHeight:{attribute:"logo-height"},copyrightText:{attribute:"copyright-text"},copyrightUrl:{attribute:"copyright-url"},self:{},slots:{},defaultSlot:{}},["default","copyright"],[],!0,(e=>class extends e{static self;constructor(){super(),this.self=this}})));var yr=Jt("<button><!></button>");function wr(e,t){Et(t,!0);const n=Kn(t,"size",7,"xl"),r=Kn(t,"label",7),l=Kn(t,"icon",7),o=Kn(t,"iconSize",7),i=Kn(t,"iconColor",7),a=Kn(t,"class",7,""),s=Dn(t,["$$slots","$$events","$$legacy","$$host","size","label","icon","iconSize","iconColor","class"]);var u=yr();let c;var f=Z(u),v=e=>{tr(e,{get type(){return l()},get size(){return o()},get color(){return i()},"aria-hidden":"true",get label(){return r()}})};return on(f,(e=>{l()&&e(v)})),W(u),pe((()=>c=Pn(u,c,{"data-button-size":n(),class:`qc-icon-button ${a()}`,...s}))),Xt(e,u),At({get size(){return n()},set size(e="xl"){n(e),ht()},get label(){return r()},set label(e){r(e),ht()},get icon(){return l()},set icon(e){l(e),ht()},get iconSize(){return o()},set iconSize(e){o(e),ht()},get iconColor(){return i()},set iconColor(e){i(e),ht()},get class(){return a()},set class(e=""){a(e),ht()}})}Xn(wr,{size:{},label:{},icon:{},iconSize:{},iconColor:{},class:{}},[],[],!0);var xr=Jt('<div role="alert"><div><div class="qc-general-alert-elements"><!> <div class="qc-alert-content"><!> <!></div> <!></div></div></div>'),_r=Jt('<!> <link rel="stylesheet">',1);function Tr(e,t){Et(t,!0);let n=Kn(t,"type",7,"general"),r=Kn(t,"maskable",7,""),l=Kn(t,"content",7,""),o=Kn(t,"hide",7,"false"),i=Kn(t,"fullWidth",7,"false"),a=Kn(t,"slotContent",7);const s=Zn.getPageLanguage(),u=""!==n()?n():"general",c="fr"===s?"Fermer l’alerte":"Close l’alerte",f="fr"===s?"Information d'importance élevée":"Information of high importance",v="fr"===s?"Information importante":"Important information",g="general"===n()?v:f;let d=xt(null),h="qc-container"+("true"===i()?"-fluid":"");function p(){o("true"),pt(d).dispatchEvent(new CustomEvent("qc.alert.hide",{bubbles:!0,composed:!0}))}var $=_r(),b=ee($),m=e=>{var t=xr();xn(t,1,`qc-general-alert ${u??""}`);var o=Z(t);xn(o,1,bn(h));var i=Z(o),s=Z(i);const f=ie((()=>"warning"===n()?"warning":"information")),v=ie((()=>"general"===n()?"blue-piv":"yellow-dark"));tr(s,{get type(){return pt(f)},get color(){return pt(v)},size:"nm",label:g});var $=te(s,2),b=Z($);gn(b,l),gn(te(b,2),a),W($);var m=te($,2),y=e=>{wr(e,{"aria-label":c,onclick:p,size:"nm",icon:"clear-input",iconSize:"sm",iconColor:"text-primary"})};on(m,(e=>{Zn.isTruthy(r())&&e(y)})),W(i),W(o),W(t),Bn(t,(e=>Tt(d,e)),(()=>pt(d))),Xt(e,t)};on(b,(e=>{Zn.isTruthy(o())||e(m)}));var y=te(b,2);return pe((()=>An(y,"href",Zn.cssPath))),Xt(e,$),At({get type(){return n()},set type(e="general"){n(e),ht()},get maskable(){return r()},set maskable(e=""){r(e),ht()},get content(){return l()},set content(e=""){l(e),ht()},get hide(){return o()},set hide(e="false"){o(e),ht()},get fullWidth(){return i()},set fullWidth(e="false"){i(e),ht()},get slotContent(){return a()},set slotContent(e){a(e),ht()}})}function Sr(e,t){switch(e.code){case"Enter":case"Space":e.preventDefault(),t()}}Xn(Tr,{type:{},maskable:{},content:{},hide:{},fullWidth:{},slotContent:{}},[],[],!0),customElements.define("qc-alert",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);Tr(e,Qn((()=>n),{slotContent:"<slot />"}))}),{type:{attribute:"type"},maskable:{attribute:"maskable"},fullWidth:{attribute:"full-width"},content:{attribute:"content"},hide:{attribute:"hide"}},[],[],!0));var Lr=(e,t)=>t(e),kr=Jt('<a href="#top"><!> <span> </span></a>');function Ur(e,t){Et(t,!0);const n=Zn.getPageLanguage(),r=Kn(t,"text",7,"fr"===n?"Retour en haut":"Back to top"),l=Kn(t,"demo",7,"false");let o,i=xt("true"===l()),a=Ct("visible",(()=>pt(i))),s=0;function u(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}ge((()=>{s=window.scrollY}));var c,f,v,g,d,h,p=kr();let $;h=Ht(c="scroll",f=H,(function(){if(Zn.isTruthy(l()))return;const e=window.innerHeight+window.scrollY>=document.body.offsetHeight-1;Tt(i,s>window.scrollY&&(document.body.scrollTop>0||document.documentElement.scrollTop>0)&&!e,!0),!pt(i)&&a&&o.blur(),a=pt(i),s=window.scrollY}),d={capture:v,passive:g}),f!==document.body&&f!==window&&f!==document||ve((()=>{f.removeEventListener(c,h,d)})),p.__click=[Lr,u],p.__keydown=[Sr,u];var b=Z(p);tr(b,{type:"arrow-up-white",color:"background"});var m=te(b,2),y=Z(m,!0);return W(m),W(p),Bn(p,(e=>o=e),(()=>o)),pe((e=>{$=xn(p,1,"qc-to-top",null,$,e),An(p,"tabindex",pt(i)?0:-1),An(p,"demo",l()),Zt(y,r())}),[()=>({visible:pt(i)})]),Xt(e,p),At({get text(){return r()},set text(e=("fr"===n?"Retour en haut":"Back to top")){r(e),ht()},get demo(){return l()},set demo(e="false"){l(e),ht()}})}Qt(["click","keydown"]),Xn(Ur,{text:{},demo:{}},[],[],!0),customElements.define("qc-to-top",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);Ur(e,Qn((()=>n)))}),{text:{attribute:"text",type:"String"},demo:{attribute:"demo",type:"String"}},[],[],!1));var Cr=Jt('<span role="img" class="qc-ext-link-img"></span>');function Er(e,t){Et(t,!0);const n=Kn(t,"externalIconAlt",23,(()=>"fr"===Zn.getPageLanguage()?"Ce lien dirige vers un autre site.":"This link directs to another site."));let r=xt(void 0);Wn((()=>{pt(r).parentElement.querySelectorAll("a").forEach((e=>{const t=document.createTreeWalker(pt(r).parentElement,NodeFilter.SHOW_ALL,{acceptNode:e=>{if(e instanceof Element){if(e.hasAttribute("hidden"))return NodeFilter.FILTER_REJECT;const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility||"absolute"===t.position)return NodeFilter.FILTER_REJECT}return!e instanceof Text?NodeFilter.FILTER_SKIP:/\S/.test(e.textContent)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let n=null;for(;t.nextNode();)n=t.currentNode;if(!n)return;const l=n.textContent.match(/^([\s\S]*\s)?(\S+)\s*$/m);if(!l)return;const o=l[1]||"",i=l[2],a=document.createElement("span");a.classList.add("img-wrap"),a.innerHTML=`${i}`,a.appendChild(pt(r)),o?(n.textContent=o,n.parentNode.insertBefore(a,n.nextSibling)):n.parentNode.replaceChild(a,n)}))}));var l=Cr();return Bn(l,(e=>Tt(r,e)),(()=>pt(r))),pe((()=>An(l,"aria-label",n()))),Xt(e,l),At({get externalIconAlt(){return n()},set externalIconAlt(e=("fr"===Zn.getPageLanguage()?"Ce lien dirige vers un autre site.":"This link directs to another site.")){n(e),ht()}})}Xn(Er,{externalIconAlt:{}},[],[],!0),customElements.define("qc-external-link",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);Er(e,Qn((()=>n)))}),{externalIconAlt:{attribute:"img-alt"}},[],[],!1));var Ar=Jt('<div class="qc-search-input"><input> <!></div>');function Pr(e,t){Et(t,!0);const n=Zn.getPageLanguage();let r,l=Kn(t,"value",15,""),o=Kn(t,"ariaLabel",7,"fr"===n?"Rechercher…":"Search_"),i=Kn(t,"clearAriaLabel",7,"fr"===n?"Effacer le texte":"Clear text"),a=Dn(t,["$$slots","$$events","$$legacy","$$host","value","ariaLabel","clearAriaLabel"]);var s=Ar(),u=Z(s);let c;Cn(u),Bn(u,(e=>r=e),(()=>r));var f=te(u,2),v=e=>{wr(e,{type:"button",icon:"clear-input",iconColor:"blue-piv",iconSize:"sm",get"aria-label"(){return i()},onclick:e=>{e.preventDefault(),l(""),r?.focus()}})};return on(f,(e=>{l()&&e(v)})),W(s),pe((()=>c=Pn(u,c,{type:"search",autocomplete:"off","aria-label":o(),...a}))),On(u,l),Xt(e,s),At({get value(){return l()},set value(e=""){l(e),ht()},get ariaLabel(){return o()},set ariaLabel(e=("fr"===n?"Rechercher…":"Search_")){o(e),ht()},get clearAriaLabel(){return i()},set clearAriaLabel(e=("fr"===n?"Effacer le texte":"Clear text")){i(e),ht()}})}Xn(Pr,{value:{},ariaLabel:{},clearAriaLabel:{}},[],[],!0);var qr=Jt("<div><!> <!></div>");function jr(e,t){Et(t,!0);const n=Zn.getPageLanguage();let r=Kn(t,"value",15,""),l=Kn(t,"name",7,"q"),o=Kn(t,"pivBackground",7,!1),i=Dn(t,["$$slots","$$events","$$legacy","$$host","value","name","pivBackground"]),a={input:{placeholder:"fr"===n?"Rechercher…":"Search","aria-label":"fr"===n?"Rechercher…":"Search"},submit:{"aria-label":"fr"===n?"Lancer la recherche":"Submit search"}},s=xt(F({})),u=xt(F({}));ge((()=>{const[e,t]=(n=i,["input","submit"].map((e=>{const t=`${e}-`;return{...a[e],...Object.fromEntries(Object.entries(n).map((([e,n])=>e.startsWith(t)?[e.replace(t,""),n]:null)).filter(Boolean))}})));var n;Tt(s,{...e,name:l()},!0),Tt(u,t,!0)}));var c=qr();let f;var v=Z(c);Pr(v,Qn((()=>pt(s)),{get value(){return r()},set value(e){r(e)}}));var g=te(v,2);const d=ie((()=>o()?"blue-piv":"background"));return wr(g,Qn({type:"submit",get iconColor(){return pt(d)},icon:"loupe-piv-fine",iconSize:"md"},(()=>pt(u)))),W(c),pe((e=>f=xn(c,1,"qc-search-bar",null,f,e)),[()=>({"piv-background":o()})]),Xt(e,c),At({get value(){return r()},set value(e=""){r(e),ht()},get name(){return l()},set name(e="q"){l(e),ht()},get pivBackground(){return o()},set pivBackground(e=!1){o(e),ht()}})}Xn(jr,{value:{},name:{},pivBackground:{}},[],[],!0),customElements.define("qc-search-bar",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);jr(e,Qn((()=>n)))}),{value:{attribute:"input-value",type:"String"},name:{attribute:"input-name",type:"String"},pivBackground:{attribute:"piv-background",type:"Boolean"}},[],[],!1)),customElements.define("qc-search-input",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);Pr(e,Qn((()=>n)))}),{ariaLabel:{attribute:"aria-label"},clearAriaLabel:{attribute:"clear-aria-label"}},[],[],!1)),customElements.define("qc-icon",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);tr(e,Qn((()=>n)))}),{type:{attribute:"icon"},label:{attribute:"label"},color:{attribute:"color"},size:{attribute:"size"},width:{attribute:"width"},height:{attribute:"height"}},[],[],!1)),customElements.define("qc-icon-button",Xn((function(e,t){const n=Dn(t,["$$slots","$$events","$$legacy","$$host"]);wr(e,Qn((()=>n)))}),{size:{attribute:"size"},label:{attribute:"label"},icon:{attribute:"icon"},iconSize:{attribute:"icon-size"},iconColor:{attribute:"icon-color"}},[],[],!1));window.matchMedia("(prefers-color-scheme: dark)").matches&&document.documentElement.classList.add("qc-dark-theme")}();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qc-trousse-sdg",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-develop.0",
|
|
4
4
|
"description": "Trousse de développement du Système de design gouvernemental du Québec",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"rollup": "^4.34.4",
|
|
32
32
|
"rollup-plugin-copy": "^3.4.0",
|
|
33
33
|
"rollup-plugin-css-only": "^4.5.2",
|
|
34
|
-
"rollup-plugin-delete": "^
|
|
34
|
+
"rollup-plugin-delete": "^3.0.1",
|
|
35
35
|
"rollup-plugin-livereload": "^2.0.5",
|
|
36
36
|
"rollup-plugin-svelte": "^7.2.2",
|
|
37
37
|
"sass": "^1.84.0",
|
|
38
38
|
"sirv-cli": "^3.0.0",
|
|
39
|
-
"svelte": "^
|
|
39
|
+
"svelte": "^5.28.6"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"postcss-import": "^16.1.0",
|