qc-trousse-sdg 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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";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 s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let l;function c(t,e){return t===e||(l||(l=document.createElement("a")),l.href=e,t===l.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 s=u(e,n,i,r);t.p(s,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=[],O=[];let B=[];const H=[],R=Promise.resolve();let F=!1;function M(t){B.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;O.length;)O.pop()();for(let t=0;t<B.length;t+=1){const e=B[t];D.has(e)||(D.add(e),e())}B.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 s=t[r],l=e[r];if(l){for(const t in s)t in l||(i[t]=1);for(const t in l)o[t]||(n[t]=l[t],o[t]=1);t[r]=l}else for(const t in s)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 st(t,e,i){const{fragment:s,after_update:l}=t.$$;s&&s.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=[]})),l.forEach(M)}function lt(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];B.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),B=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,s,l,c,a=null,u=[-1]){const h=P;N(e);const $=e.$$={fragment:null,ctx:[],props:c,update:t,not_equal:l,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&&l($.ctx[t],$.ctx[t]=o)&&(!$.skip_bound&&$.bound[t]&&$.bound[t](o),d&&ct(e,t)),n})):[],$.update(),d=!0,o($.before_update),$.fragment=!!s&&s($.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),st(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 s=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(s.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(s.prototype,t,{get(){return this.$$c?.[t]}})})),t.element=s,s}"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))}if(this.$$l[t]){const n=this.$$l[t].indexOf(e);n>=0&&this.$$l[t].splice(n,1)}}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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=ut(s,r.value,this.$$p_d,"toProp"))}for(const l in this.$$p_d)l in this.$$d||void 0===this[l]||(this.$$d[l]=this[l],delete this[l]);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(){lt(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]],s={};for(let t=0;t<r.length;t+=1)s=e(s,r[t]);return{c(){i=y("div"),E(i,s)},m(t,e){b(t,i,e)},p(t,[e]){E(i,s=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 s=f(n,r),{type:l,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,s=f(n,r)),"type"in t&&i(0,l=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}:{})},[l,c,u,h,$,o,s,a]}class pt extends $t{constructor(t){super(),at(this,t,ft,gt,s,{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?s(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,s,l,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(),s=y("div"),l=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(l,"class","content"),k(l,"role",t[4]),k(s,"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),st(o,i,null),m(e,r),m(e,s),m(s,l),S&&S.m(l,null),m(l,c),u.m(t[2],l),m(l,g),A&&A.m(l,null),t[13](l),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(l,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(l,"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)),lt(o),S&&S.d(),A&&A.d(n),t[13](null)}}}function yt(t,e,n){let i,o,r,s,l,{$$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,s=o?y??"note":m),256&t.$$.dirty&&n(5,l=d[m]??d.information)},[x,p,b,f,i,l,s,r,m,y,o,a,c,function(t){O[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,s,{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,s,l=(t[18]?t[15]:t[14])+"";return{c(){e=y("a"),n=y("span"),i=v(l),k(e,"class","qc-search"),k(e,"href","/"),k(e,"role","button")},m(o,l){b(o,e,l),m(e,n),m(n,i),r||(s=[S(e,"click",L(t[23])),S(e,"click",t[16])],r=!0)},p(t,e){311296&e&&l!==(l=(t[18]?t[15]:t[14])+"")&&C(i,l)},d(t){t&&x(e),r=!1,o(s)}}}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,s){b(t,e,s),m(e,n),o&&o.m(n,null),m(n,i),r&&r.m(n,null)},p(t,s){t[8]?o?o.p(t,s):(o=Ct(t),o.c(),o.m(n,i)):o&&(o.d(1),o=null),t[10]?r?r.p(t,s):(r=Ut(t),r.c(),r.m(n,null)):r&&(r.d(1),r=null),64&s&&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,s,l,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"),s=y("a"),l=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(l,"role","img"),k(l,"aria-label",t[3]),k(s,"href",t[1]),k(s,"class","logo"),k(s,"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,s),m(s,l),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(l,"aria-label",t[3]),(!E||2&o)&&k(s,"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:s="/",fullWidth:l="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"===l?"-fluid":""),"true"===w&&(n(0,T="true"),n(18,L=!0))}));return t.$$set=t=>{"logoUrl"in t&&n(1,s=t.logoUrl),"fullWidth"in t&&n(19,l=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,s,c,a,u,h,$,d,g,f,p,m,b,x,y,v,function(){L&&document.querySelector('[slot="search-zone"] input')?.focus()},S,L,l,w,o,i,()=>n(18,L=!L)]}customElements.define("qc-piv-header",ht(class extends $t{constructor(t){super(),at(this,t,zt,qt,s,{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,s,l,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(),s=T(),l=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(l,"rel","stylesheet"),k(l,"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,s,a),b(t,l,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(s),x(l)),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 Ot(t,e,n){let{$$slots:i={},$$scope:o}=e;const r=dt.getPageLanguage();let{logoUrl:s="/",logoSrc:l=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,s=t.logoUrl),"logoSrc"in t&&n(1,l=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)},[s,l,c,a,u,h,$,d,o,i]}function Bt(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){st(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){lt(e,t)}}}function Ht(t){let n,i,o,r,s,l=t[2]&&Bt(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"),l&&l.c(),E(n,a)},m(e,i){b(e,n,i),l&&l.m(n,null),n.autofocus&&n.focus(),o=!0,r||(s=S(n,"click",t[6]),r=!0)},p(t,[e]){t[2]?l?(l.p(t,e),4&e&&tt(l,1)):(l=Bt(t),l.c(),tt(l,1),l.m(n,null)):l&&(X(),et(l,1,1,(()=>{l=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(l),o=!0)},o(t){et(l),o=!1},d(t){t&&x(n),l&&l.d(),r=!1,s()}}}function Rt(t,n,i){const o=["size","label","icon","iconSize","iconColor"];let r=f(n,o),{size:s="xl",label:l,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,s=t.size),"label"in t&&i(1,l=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)},[s,l,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,Ot,It,s,{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,s,{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,s,l,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(),s=y("div"),l=new z(!1),c=T(),p&&p.c(),u=T(),v&&v.c(),l.a=c,k(s,"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),st(o,i,null),m(i,r),m(i,s),l.m(t[2],s),m(s,c),p&&p.m(s,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)&&l.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),lt(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){st(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){lt(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:s={},$$scope:l}=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,l=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,$,l,s,function(t){O[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,s,{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,s,l,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"),s=v(t[0]),k(e,"href","javascript:;"),k(e,"class","qc-to-top"),k(e,"tabindex",l=t[2]?0:-1),k(e,"demo",t[1]),q(e,"visible",t[2])},m(o,l){b(o,e,l),st(n,e,null),m(e,i),m(e,r),m(r,s),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(s,t[0]),(!c||4&n&&l!==(l=t[2]?0:-1))&&k(e,"tabindex",l),(!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),lt(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:s="false"}=e,l=0,c="true"===s,a=c;return t.$$set=t=>{"text"in t&&n(0,r=t.text),"demo"in t&&n(1,s=t.demo)},[r,s,c,o,function(){if("true"===s)return;let t=window.innerHeight+window.scrollY>=document.body.offsetHeight-1;n(2,c=l>window.scrollY&&(document.body.scrollTop>0||document.documentElement.scrollTop>0)&&!t),!c&&a&&o.blur(),a=c,l=window.scrollY},function(t){O[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]||"",s=o[2],l=document.createElement("span");l.classList.add("img-wrap"),l.innerHTML=`${s}`,l.appendChild(i),r?(n.textContent=r,n.parentNode.insertBefore(l,n.nextSibling)):n.parentNode.replaceChild(l,n)}))})),t.$$set=t=>{"externalIconAlt"in t&&n(0,o=t.externalIconAlt)},[o,i,function(t){O[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,s,{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){st(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){lt(e,t)}}}function ne(t){let n,i,o,r,s,l,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,s||(l=S(i,"input",t[6]),s=!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(),s=!1,l()}}}function ie(t,n,i){const o=["value","ariaLabel","clearAriaLabel"];let r=f(n,o);const s=dt.getPageLanguage();let l,{value:c,ariaLabel:a=("fr"===s?"Rechercher…":"Search_"),clearAriaLabel:u=("fr"===s?"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,l,r,function(t){O[t?"unshift":"push"]((()=>{l=t,i(3,l)}))},function(){c=this.value,i(0,c)},t=>{t.preventDefault(),i(0,c=""),l.focus()}]}customElements.define("qc-external-link",ht(class extends $t{constructor(t){super(),at(this,t,te,Zt,s,{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,s,{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 s=[t[1]];let l={};for(let t=0;t<s.length;t+=1)l=e(l,s[t]);i=new oe({props:l});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){st(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){lt(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),st(i,n,null),m(n,o),c&&c.m(n,null),r=!0},p(t,[e]){const o=2&e?it(s,[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),lt(i),c&&c.d()}}}function se(t,n,i){const o=["value","name","pivBackground"];let r=f(n,o);const s=dt.getPageLanguage(),l="fr"===s?"Rechercher…":"Search",c="fr"===s?"Lancer la recherche":"Submit search";let{value:a="",name:u="q",pivBackground:h=!1}=n,$={input:{placeholder:l,"aria-label":l},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,se,re,s,{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")}();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qc-trousse-sdg",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Trousse de développement du Système de design gouvernemental du Québec",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -858,6 +858,12 @@
858
858
  this.$$l_u.delete(listener);
859
859
  }
860
860
  }
861
+ if (this.$$l[type]) {
862
+ const idx = this.$$l[type].indexOf(listener);
863
+ if (idx >= 0) {
864
+ this.$$l[type].splice(idx, 1);
865
+ }
866
+ }
861
867
  }
862
868
 
863
869
  async connectedCallback() {
@@ -64540,6 +64546,10 @@
64540
64546
  if (!this._disabled.handlebars) {
64541
64547
  items.push(this.__patterns.handlebars._starting_pattern.source);
64542
64548
  }
64549
+ if (!this._disabled.angular) {
64550
+ // Handlebars ('{{' and '}}') are also special tokens in Angular)
64551
+ items.push(this.__patterns.handlebars._starting_pattern.source);
64552
+ }
64543
64553
  if (!this._disabled.erb) {
64544
64554
  items.push(this.__patterns.erb._starting_pattern.source);
64545
64555
  }
@@ -67443,6 +67453,7 @@
67443
67453
  token = token || this._read_open_handlebars(c, open_token);
67444
67454
  token = token || this._read_attribute(c, previous_token, open_token);
67445
67455
  token = token || this._read_close(c, open_token);
67456
+ token = token || this._read_script_and_style(c, previous_token);
67446
67457
  token = token || this._read_control_flows(c, open_token);
67447
67458
  token = token || this._read_raw_content(c, previous_token, open_token);
67448
67459
  token = token || this._read_content_word(c, open_token);
@@ -67528,8 +67539,8 @@
67528
67539
  var resulting_string = null;
67529
67540
  var token = null;
67530
67541
  if (!open_token || open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
67531
- if (this._options.indent_handlebars && c === '{' && this._input.peek(1) === '{') {
67532
- if (this._input.peek(2) === '!') {
67542
+ if ((this._options.templating.includes('angular') || this._options.indent_handlebars) && c === '{' && this._input.peek(1) === '{') {
67543
+ if (this._options.indent_handlebars && this._input.peek(2) === '!') {
67533
67544
  resulting_string = this.__patterns.handlebars_comment.read();
67534
67545
  resulting_string = resulting_string || this.__patterns.handlebars.read();
67535
67546
  token = this._create_token(TOKEN.COMMENT, resulting_string);
@@ -67545,8 +67556,8 @@
67545
67556
  Tokenizer.prototype._read_control_flows = function(c, open_token) {
67546
67557
  var resulting_string = '';
67547
67558
  var token = null;
67548
- // Only check for control flows if angular templating is set AND indenting is set
67549
- if (!this._options.templating.includes('angular') || !this._options.indent_handlebars) {
67559
+ // Only check for control flows if angular templating is set
67560
+ if (!this._options.templating.includes('angular')) {
67550
67561
  return token;
67551
67562
  }
67552
67563
 
@@ -67639,7 +67650,6 @@
67639
67650
  this._options.unformatted.indexOf(tag_name) !== -1);
67640
67651
  };
67641
67652
 
67642
-
67643
67653
  Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token) { // jshint unused:false
67644
67654
  var resulting_string = '';
67645
67655
  if (open_token && open_token.text[0] === '{') {
@@ -67647,6 +67657,22 @@
67647
67657
  } else if (previous_token.type === TOKEN.TAG_CLOSE &&
67648
67658
  previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
67649
67659
  // ^^ empty tag has no content
67660
+ var tag_name = previous_token.opened.text.substr(1).toLowerCase();
67661
+ if (this._is_content_unformatted(tag_name)) {
67662
+
67663
+ resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
67664
+ }
67665
+ }
67666
+
67667
+ if (resulting_string) {
67668
+ return this._create_token(TOKEN.TEXT, resulting_string);
67669
+ }
67670
+
67671
+ return null;
67672
+ };
67673
+
67674
+ Tokenizer.prototype._read_script_and_style = function(c, previous_token) { // jshint unused:false
67675
+ if (previous_token.type === TOKEN.TAG_CLOSE && previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
67650
67676
  var tag_name = previous_token.opened.text.substr(1).toLowerCase();
67651
67677
  if (tag_name === 'script' || tag_name === 'style') {
67652
67678
  // Script and style tags are allowed to have comments wrapping their content
@@ -67656,17 +67682,12 @@
67656
67682
  token.type = TOKEN.TEXT;
67657
67683
  return token;
67658
67684
  }
67659
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
67660
- } else if (this._is_content_unformatted(tag_name)) {
67661
-
67662
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
67685
+ var resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
67686
+ if (resulting_string) {
67687
+ return this._create_token(TOKEN.TEXT, resulting_string);
67688
+ }
67663
67689
  }
67664
67690
  }
67665
-
67666
- if (resulting_string) {
67667
- return this._create_token(TOKEN.TEXT, resulting_string);
67668
- }
67669
-
67670
67691
  return null;
67671
67692
  };
67672
67693
 
@@ -67684,6 +67705,7 @@
67684
67705
  if (resulting_string) {
67685
67706
  return this._create_token(TOKEN.TEXT, resulting_string);
67686
67707
  }
67708
+ return null;
67687
67709
  };
67688
67710
 
67689
67711
  tokenizer.Tokenizer = Tokenizer;
@@ -67962,7 +67984,7 @@
67962
67984
  type: ''
67963
67985
  };
67964
67986
 
67965
- var last_tag_token = new TagOpenParserToken();
67987
+ var last_tag_token = new TagOpenParserToken(this._options);
67966
67988
 
67967
67989
  var printer = new Printer(this._options, baseIndentString);
67968
67990
  var tokens = new Tokenizer(source_text, this._options).tokenize();
@@ -68285,7 +68307,7 @@
68285
68307
  return parser_token;
68286
68308
  };
68287
68309
 
68288
- var TagOpenParserToken = function(parent, raw_token) {
68310
+ var TagOpenParserToken = function(options, parent, raw_token) {
68289
68311
  this.parent = parent || null;
68290
68312
  this.text = '';
68291
68313
  this.type = 'TK_TAG_OPEN';
@@ -68352,13 +68374,14 @@
68352
68374
  }
68353
68375
 
68354
68376
  // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.
68377
+ // if they start with # or ^, they are still considered single tags if indenting of handlebars is set to false
68355
68378
  this.is_end_tag = this.is_end_tag ||
68356
- (this.tag_start_char === '{' && (this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
68379
+ (this.tag_start_char === '{' && (!options.indent_handlebars || this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
68357
68380
  }
68358
68381
  };
68359
68382
 
68360
68383
  Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to get a full tag and parse its type
68361
- var parser_token = new TagOpenParserToken(this._tag_stack.get_parser_token(), raw_token);
68384
+ var parser_token = new TagOpenParserToken(this._options, this._tag_stack.get_parser_token(), raw_token);
68362
68385
 
68363
68386
  parser_token.alignment_size = this._options.wrap_attributes_indent_size;
68364
68387
 
@@ -69123,7 +69146,7 @@
69123
69146
 
69124
69147
  }
69125
69148
 
69126
- /* src/doc/components/Code.svelte generated by Svelte v4.2.19 */
69149
+ /* src/doc/components/Code.svelte generated by Svelte v4.2.20 */
69127
69150
 
69128
69151
  function add_css$4(target) {
69129
69152
  append_styles(target, "qc-hash-1fxiy4n", "pre.qc-hash-1fxiy4n{max-inline-size:var(--qc-max-content-width)}");
@@ -69282,7 +69305,7 @@
69282
69305
 
69283
69306
  customElements.define("qc-code", create_custom_element(Code, {"targetId":{"attribute":"target-id"},"rawCode":{"attribute":"raw-code"},"language":{},"outerHTML":{"attribute":"outer-html","type":"Boolean"}}, [], [], false));
69284
69307
 
69285
- /* src/doc/components/color-doc.svelte generated by Svelte v4.2.19 */
69308
+ /* src/doc/components/color-doc.svelte generated by Svelte v4.2.20 */
69286
69309
 
69287
69310
  function add_css$3(target) {
69288
69311
  append_styles(target, "qc-hash-1v55k4q", ".qc-bg-color-white.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-white)}.qc-bg-color-blue-extra-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-extra-pale)}.qc-bg-color-blue-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-pale)}.qc-bg-color-blue-light.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-light)}.qc-bg-color-blue-regular_light.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-regular_light)}.qc-bg-color-blue-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-regular)}.qc-bg-color-blue-piv.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-piv)}.qc-bg-color-blue-medium.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-medium)}.qc-bg-color-blue-dark.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-blue-dark)}.qc-bg-color-purple.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-purple)}.qc-bg-color-grey-extra-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-extra-pale)}.qc-bg-color-grey-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-pale)}.qc-bg-color-grey-light.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-light)}.qc-bg-color-grey-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-regular)}.qc-bg-color-grey-medium.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-medium)}.qc-bg-color-grey-dark.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-grey-dark)}.qc-bg-color-pink-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-pink-pale)}.qc-bg-color-pink-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-pink-regular)}.qc-bg-color-red-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-red-pale)}.qc-bg-color-red-light.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-red-light)}.qc-bg-color-red-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-red-regular)}.qc-bg-color-red-dark.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-red-dark)}.qc-bg-color-green-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-green-pale)}.qc-bg-color-green-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-green-regular)}.qc-bg-color-green-dark.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-green-dark)}.qc-bg-color-yellow-pale.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-yellow-pale)}.qc-bg-color-yellow-regular.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-yellow-regular)}.qc-bg-color-yellow-dark.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-yellow-dark)}.qc-bg-color-background.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-background)}.qc-bg-color-text-primary.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-text-primary)}.qc-bg-color-accent.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-accent)}.qc-bg-color-success.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-success)}.qc-bg-color-error.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-error)}.qc-bg-color-danger.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-danger)}.qc-bg-color-link-text.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-link-text)}.qc-bg-color-link-hover.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-link-hover)}.qc-bg-color-link-visited.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-link-visited)}.qc-bg-color-link-active.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-link-active)}.qc-bg-color-link-focus-outline.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-link-focus-outline)}.qc-bg-color-formfield-border.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-formfield-border)}.qc-bg-color-formfield-focus-border.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-formfield-focus-border)}.qc-bg-color-formfield-focus-outline.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-formfield-focus-outline)}.qc-bg-color-searchinput-icon.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-searchinput-icon)}.qc-bg-color-box_shadow.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{background-color:var(--qc-color-box_shadow)}.color-details.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{display:flex;justify-content:flex-start;align-items:center}.color-details.qc-hash-1v55k4q>div.qc-hash-1v55k4q+div.qc-hash-1v55k4q{margin-left:var(--qc-spacer-md)}.color-sample.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{width:4.8rem;height:4.8rem;border-radius:50%;flex-shrink:0}.border.qc-hash-1v55k4q.qc-hash-1v55k4q.qc-hash-1v55k4q{border:1px solid var(--qc-color-grey-light)}");
@@ -69403,7 +69426,7 @@
69403
69426
 
69404
69427
  customElements.define("qc-color-doc", create_custom_element(Color_doc, {"title":{},"token":{},"border":{}}, [], [], true));
69405
69428
 
69406
- /* src/doc/components/Switch.svelte generated by Svelte v4.2.19 */
69429
+ /* src/doc/components/Switch.svelte generated by Svelte v4.2.20 */
69407
69430
 
69408
69431
  function add_css$2(target) {
69409
69432
  append_styles(target, "qc-hash-qsg5d6", ".switch.qc-hash-qsg5d6.qc-hash-qsg5d6{position:relative;display:inline-block;width:5.6rem;height:3.2rem}input.qc-hash-qsg5d6.qc-hash-qsg5d6{z-index:10;opacity:0;position:absolute;cursor:pointer;margin:0;padding:0;inset:0;height:auto;width:auto}.slider.qc-hash-qsg5d6.qc-hash-qsg5d6{z-index:5;position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--unchecked-bg-color);-webkit-transition:0.4s;transition:0.4s}.slider.qc-hash-qsg5d6.qc-hash-qsg5d6::before{position:absolute;content:\"\";height:2.8rem;width:2.8rem;left:0.2rem;bottom:0.2rem;background-color:var(--slider-color);-webkit-transition:0.4s;transition:0.4s}input.qc-hash-qsg5d6:checked+.slider.qc-hash-qsg5d6{background-color:var(--checked-bg-color)}input.qc-hash-qsg5d6:focus+.slider.qc-hash-qsg5d6{box-shadow:0 0 1px var(--qc-bok-shadow-color)}input.qc-hash-qsg5d6:checked+.slider.qc-hash-qsg5d6::before{transform:translateX(2.4rem)}.slider.round.qc-hash-qsg5d6.qc-hash-qsg5d6,input.qc-hash-qsg5d6.qc-hash-qsg5d6{border-radius:3.2rem}.slider.round.qc-hash-qsg5d6.qc-hash-qsg5d6::before{border-radius:50%}");
@@ -69560,7 +69583,7 @@
69560
69583
 
69561
69584
  customElements.define("qc-switch", create_custom_element(Switch, {"value":{"type":"Boolean"},"name":{},"color":{}}, [], [], false));
69562
69585
 
69563
- /* src/doc/components/TopNav.svelte generated by Svelte v4.2.19 */
69586
+ /* src/doc/components/TopNav.svelte generated by Svelte v4.2.20 */
69564
69587
 
69565
69588
  function add_css$1(target) {
69566
69589
  append_styles(target, "qc-hash-1qt294a", "[role=complementary].qc-hash-1qt294a.qc-hash-1qt294a{position:sticky;z-index:100;top:0;background-color:var(--qc-color-blue-medium);color:var(--qc-color-grey-pale);min-height:7.2rem;height:7.2rem}.top-nav.qc-hash-1qt294a.qc-hash-1qt294a{position:absolute;inset:0;display:flex;align-items:end;padding-bottom:var(--qc-spacer-sm)}.top-nav.qc-hash-1qt294a .switch-control.qc-hash-1qt294a{margin-left:auto;margin-right:0;display:flex;align-items:center}.top-nav.qc-hash-1qt294a .switch-control label.qc-hash-1qt294a:first-child{margin-right:1.6rem}");
@@ -69582,7 +69605,7 @@
69582
69605
 
69583
69606
  let switch_1_props = { id: "switch" };
69584
69607
 
69585
- if (/*value*/ ctx[0] !== undefined) {
69608
+ if (/*value*/ ctx[0] !== void 0) {
69586
69609
  switch_1_props.value = /*value*/ ctx[0];
69587
69610
  }
69588
69611
 
@@ -69674,7 +69697,7 @@
69674
69697
 
69675
69698
  customElements.define("qc-doc-top-nav", create_custom_element(TopNav, {}, [], [], false));
69676
69699
 
69677
- /* src/doc/components/Exemple.svelte generated by Svelte v4.2.19 */
69700
+ /* src/doc/components/Exemple.svelte generated by Svelte v4.2.20 */
69678
69701
 
69679
69702
  function add_css(target) {
69680
69703
  append_styles(target, "qc-hash-1u5h5rs", "figure.qc-hash-1u5h5rs.qc-hash-1u5h5rs{max-width:var(--qc-max-content-width);width:100%;border:1px solid var(--qc-box_shadow-0-color);margin-bottom:var(--qc-spacer-content-block-mb)}figure.qc-hash-1u5h5rs .exemple.qc-hash-1u5h5rs{padding:var(--qc-spacer-sm) var(--qc-spacer-sm) 0 var(--qc-spacer-sm);margin-bottom:var(--qc-spacer-sm)}");
@@ -69953,7 +69976,7 @@
69953
69976
  customElements.define("qc-doc-exemple", create_custom_element(Exemple, {"caption":{"attribute":"caption"},"codeTargetId":{"attribute":"code-target-id"},"hideCode":{"attribute":"hide-code","type":"Boolean"},"rawCode":{"attribute":"raw-code"}}, [], [], false));
69954
69977
 
69955
69978
  if (document.getElementById("version")) {
69956
- document.getElementById("version").textContent = `v1.3.2`;
69979
+ document.getElementById("version").textContent = `v1.3.3`;
69957
69980
  }
69958
69981
 
69959
69982
  // Show maskable "general alert" component
@@ -947,6 +947,12 @@
947
947
  this.$$l_u.delete(listener);
948
948
  }
949
949
  }
950
+ if (this.$$l[type]) {
951
+ const idx = this.$$l[type].indexOf(listener);
952
+ if (idx >= 0) {
953
+ this.$$l[type].splice(idx, 1);
954
+ }
955
+ }
950
956
  }
951
957
 
952
958
  async connectedCallback() {
@@ -1307,7 +1313,7 @@
1307
1313
 
1308
1314
  }
1309
1315
 
1310
- /* src/sdg/components/Icon.svelte generated by Svelte v4.2.19 */
1316
+ /* src/sdg/components/Icon.svelte generated by Svelte v4.2.20 */
1311
1317
 
1312
1318
  function create_fragment$9(ctx) {
1313
1319
  let div;
@@ -1457,7 +1463,7 @@
1457
1463
 
1458
1464
  customElements.define("qc-icon", create_custom_element(Icon, {"type":{"attribute":"icon"},"label":{"attribute":"label"},"size":{"attribute":"size"},"color":{"attribute":"color"},"width":{"attribute":"width"},"height":{"attribute":"height"}}, [], [], false));
1459
1465
 
1460
- /* src/sdg/components/notice.svelte generated by Svelte v4.2.19 */
1466
+ /* src/sdg/components/notice.svelte generated by Svelte v4.2.20 */
1461
1467
 
1462
1468
  function create_if_block$5(ctx) {
1463
1469
  let previous_tag = /*header*/ ctx[0];
@@ -1840,7 +1846,7 @@
1840
1846
 
1841
1847
  customElements.define("qc-notice", create_custom_element(Notice, {"title":{},"type":{},"content":{},"header":{},"icon":{}}, ["default"], [], true));
1842
1848
 
1843
- /* src/sdg/components/PivHeader/pivHeader.svelte generated by Svelte v4.2.19 */
1849
+ /* src/sdg/components/PivHeader/pivHeader.svelte generated by Svelte v4.2.20 */
1844
1850
  const get_search_zone_slot_changes = dirty => ({});
1845
1851
  const get_search_zone_slot_context = ctx => ({});
1846
1852
  const get_links_slot_changes = dirty => ({});
@@ -2690,7 +2696,7 @@
2690
2696
 
2691
2697
  customElements.define("qc-piv-header", create_custom_element(PivHeader, {"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"], true));
2692
2698
 
2693
- /* src/sdg/components/pivFooter.svelte generated by Svelte v4.2.19 */
2699
+ /* src/sdg/components/pivFooter.svelte generated by Svelte v4.2.20 */
2694
2700
  const get_copyright_slot_changes = dirty => ({});
2695
2701
  const get_copyright_slot_context = ctx => ({});
2696
2702
 
@@ -3062,7 +3068,7 @@
3062
3068
 
3063
3069
  customElements.define("qc-piv-footer", create_custom_element(PivFooter, {"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"], [], true));
3064
3070
 
3065
- /* src/sdg/components/Button/IconButton.svelte generated by Svelte v4.2.19 */
3071
+ /* src/sdg/components/Button/IconButton.svelte generated by Svelte v4.2.20 */
3066
3072
 
3067
3073
  function create_if_block$3(ctx) {
3068
3074
  let icon_1;
@@ -3282,7 +3288,7 @@
3282
3288
 
3283
3289
  create_custom_element(IconButton, {"size":{},"label":{},"icon":{},"iconSize":{},"iconColor":{}}, [], [], true);
3284
3290
 
3285
- /* src/sdg/components/alert.svelte generated by Svelte v4.2.19 */
3291
+ /* src/sdg/components/alert.svelte generated by Svelte v4.2.20 */
3286
3292
 
3287
3293
  function create_if_block$2(ctx) {
3288
3294
  let div3;
@@ -3664,7 +3670,7 @@
3664
3670
 
3665
3671
  customElements.define("qc-alert", create_custom_element(Alert, {"type":{"attribute":"type"},"maskable":{"attribute":"maskable"},"content":{"attribute":"content"},"hide":{"attribute":"hide"},"fullWidth":{"attribute":"full-width"}}, ["default"], [], true));
3666
3672
 
3667
- /* src/sdg/components/toTop.svelte generated by Svelte v4.2.19 */
3673
+ /* src/sdg/components/toTop.svelte generated by Svelte v4.2.20 */
3668
3674
 
3669
3675
  const { window: window_1 } = globals;
3670
3676
 
@@ -3837,7 +3843,7 @@
3837
3843
 
3838
3844
  customElements.define("qc-to-top", create_custom_element(ToTop, {"text":{"attribute":"text","type":"String"},"demo":{}}, [], [], false));
3839
3845
 
3840
- /* src/sdg/components/externalLink.svelte generated by Svelte v4.2.19 */
3846
+ /* src/sdg/components/externalLink.svelte generated by Svelte v4.2.20 */
3841
3847
 
3842
3848
  function create_fragment$2(ctx) {
3843
3849
  let span;
@@ -3976,7 +3982,7 @@
3976
3982
 
3977
3983
  customElements.define("qc-external-link", create_custom_element(ExternalLink, {"externalIconAlt":{"attribute":"img-alt"}}, [], [], false));
3978
3984
 
3979
- /* src/sdg/components/SearchInput/SearchInput.svelte generated by Svelte v4.2.19 */
3985
+ /* src/sdg/components/SearchInput/SearchInput.svelte generated by Svelte v4.2.20 */
3980
3986
 
3981
3987
  function create_if_block$1(ctx) {
3982
3988
  let iconbutton;
@@ -4216,7 +4222,7 @@
4216
4222
 
4217
4223
  customElements.define("qc-search-input", create_custom_element(SearchInput, {"value":{},"ariaLabel":{"attribute":"aria-label"},"clearAriaLabel":{"attribute":"clear-aria-label"}}, [], [], false));
4218
4224
 
4219
- /* src/sdg/components/SearchBar/searchBar.svelte generated by Svelte v4.2.19 */
4225
+ /* src/sdg/components/SearchBar/searchBar.svelte generated by Svelte v4.2.20 */
4220
4226
 
4221
4227
  function create_if_block(ctx) {
4222
4228
  let iconbutton;