@telesign/boreal-web-components 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/components-build/bds-banner.d.ts +11 -0
- package/components-build/bds-banner.js +1 -0
- package/components-build/bds-typography.d.ts +11 -0
- package/components-build/bds-typography.js +1 -0
- package/components-build/index.d.ts +35 -0
- package/components-build/index.js +1 -0
- package/components-build/my-component.d.ts +11 -0
- package/components-build/my-component.js +1 -0
- package/components-build/p-B9wshZ_4.js +1 -0
- package/components-build/p-noyWJ11s.js +1 -0
- package/custom-elements.json +764 -0
- package/dist/boreal-web-components/boreal-web-components.css +1 -0
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -0
- package/dist/boreal-web-components/boreal-web-components.js +127 -0
- package/dist/boreal-web-components/css/boreal.css +1594 -0
- package/dist/boreal-web-components/css/global.css +682 -0
- package/dist/boreal-web-components/css/theme-connect.css +227 -0
- package/dist/boreal-web-components/css/theme-engage.css +227 -0
- package/dist/boreal-web-components/css/theme-protect.css +227 -0
- package/dist/boreal-web-components/css/theme-proximus.css +227 -0
- package/dist/boreal-web-components/index.esm.js +0 -0
- package/dist/boreal-web-components/p-412d037b.system.entry.js +1 -0
- package/dist/boreal-web-components/p-527a761b.entry.js +1 -0
- package/dist/boreal-web-components/p-5666a22a.system.entry.js +1 -0
- package/dist/boreal-web-components/p-B-PpI2Xv.system.js +1 -0
- package/dist/boreal-web-components/p-B9wshZ_4.js +1 -0
- package/dist/boreal-web-components/p-BQdH0ijK.system.js +2 -0
- package/dist/boreal-web-components/p-BbPAtVJG.system.js +1 -0
- package/dist/boreal-web-components/p-CMd-Mv-5.system.js +1 -0
- package/dist/boreal-web-components/p-CaVEtaG3.system.js +1 -0
- package/dist/boreal-web-components/p-DQuL1Twl.js +1 -0
- package/dist/boreal-web-components/p-DgFiTd6X.js +2 -0
- package/dist/boreal-web-components/p-YWpyar7R.system.js +1 -0
- package/dist/boreal-web-components/p-b818618b.entry.js +1 -0
- package/dist/boreal-web-components/p-d596406b.entry.js +1 -0
- package/dist/boreal-web-components/p-e37e7dba.system.entry.js +1 -0
- package/dist/boreal-web-components/p-noyWJ11s.js +1 -0
- package/dist/boreal-web-components/scss/global/_fonts.scss +1 -0
- package/dist/boreal-web-components/scss/global/_index.scss +3 -0
- package/dist/boreal-web-components/scss/global/_reset.scss +50 -0
- package/dist/boreal-web-components/scss/global/_typography.scss +156 -0
- package/dist/boreal-web-components/scss/maps/_primitives.scss +461 -0
- package/dist/boreal-web-components/scss/maps/_theme-connect.scss +227 -0
- package/dist/boreal-web-components/scss/maps/_theme-engage.scss +227 -0
- package/dist/boreal-web-components/scss/maps/_theme-protect.scss +227 -0
- package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +227 -0
- package/dist/boreal-web-components/scss/variables/_primitives.scss +459 -0
- package/dist/boreal-web-components/scss/variables/_theme-connect.scss +225 -0
- package/dist/boreal-web-components/scss/variables/_theme-engage.scss +225 -0
- package/dist/boreal-web-components/scss/variables/_theme-protect.scss +225 -0
- package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +225 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/attributes-RPVEtBdj.js +90 -0
- package/dist/cjs/bds-banner.cjs.entry.js +130 -0
- package/dist/cjs/bds-typography.cjs.entry.js +167 -0
- package/dist/cjs/boreal-web-components.cjs.js +46 -0
- package/dist/cjs/index-CD9v53WJ.js +133 -0
- package/dist/cjs/index-Cdb66Tqj.js +2342 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/my-component.cjs.entry.js +29 -0
- package/dist/collection/collection-manifest.json +14 -0
- package/dist/collection/components/feedback/bds-banner/bds-banner.css +101 -0
- package/dist/collection/components/feedback/bds-banner/bds-banner.js +266 -0
- package/dist/collection/components/feedback/bds-banner/types/IBanner.js +1 -0
- package/dist/collection/components/my-component/my-component.css +3 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.css +183 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +577 -0
- package/dist/collection/components/titles-text/bds-typography/types/ITypography.js +1 -0
- package/dist/collection/components/titles-text/bds-typography/types/enum.js +23 -0
- package/dist/collection/components/titles-text/bds-typography/types/types.js +1 -0
- package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +41 -0
- package/dist/collection/css/boreal.css +1594 -0
- package/dist/collection/css/global.css +682 -0
- package/dist/collection/css/theme-connect.css +227 -0
- package/dist/collection/css/theme-engage.css +227 -0
- package/dist/collection/css/theme-protect.css +227 -0
- package/dist/collection/css/theme-proximus.css +227 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/mixins/anchored.mixin.js +272 -0
- package/dist/collection/mixins/floating.mixin.js +181 -0
- package/dist/collection/mixins/form-associated.mixin.js +95 -0
- package/dist/collection/mixins/index.js +3 -0
- package/dist/collection/scss/global/_fonts.scss +1 -0
- package/dist/collection/scss/global/_index.scss +3 -0
- package/dist/collection/scss/global/_reset.scss +50 -0
- package/dist/collection/scss/global/_typography.scss +156 -0
- package/dist/collection/scss/maps/_primitives.scss +461 -0
- package/dist/collection/scss/maps/_theme-connect.scss +227 -0
- package/dist/collection/scss/maps/_theme-engage.scss +227 -0
- package/dist/collection/scss/maps/_theme-protect.scss +227 -0
- package/dist/collection/scss/maps/_theme-proximus.scss +227 -0
- package/dist/collection/scss/variables/_primitives.scss +459 -0
- package/dist/collection/scss/variables/_theme-connect.scss +225 -0
- package/dist/collection/scss/variables/_theme-engage.scss +225 -0
- package/dist/collection/scss/variables/_theme-protect.scss +225 -0
- package/dist/collection/scss/variables/_theme-proximus.scss +225 -0
- package/dist/collection/services/floating/interfaces/Floating.js +1 -0
- package/dist/collection/services/floating/interfaces/Positioning.js +1 -0
- package/dist/collection/services/floating/interfaces/Props.js +1 -0
- package/dist/collection/services/floating/positioning.service.js +71 -0
- package/dist/collection/services/floating/types/Arrow.js +1 -0
- package/dist/collection/services/logger/Logger.js +47 -0
- package/dist/collection/types/alignment.js +6 -0
- package/dist/collection/types/form.js +1 -0
- package/dist/collection/types/index.js +5 -0
- package/dist/collection/types/position.js +11 -0
- package/dist/collection/types/size.js +7 -0
- package/dist/collection/types/states.js +22 -0
- package/dist/collection/types/stylesMap.js +1 -0
- package/dist/collection/utils/a11y/attributes.js +80 -0
- package/dist/collection/utils/a11y/index.js +1 -0
- package/dist/collection/utils/constants/common/Events.js +10 -0
- package/dist/collection/utils/constants/common/Keys.js +16 -0
- package/dist/collection/utils/dom/elements.js +22 -0
- package/dist/collection/utils/dom/index.js +1 -0
- package/dist/collection/utils/form/index.js +1 -0
- package/dist/collection/utils/form/internals.js +79 -0
- package/dist/collection/utils/helpers/common/BaseAttributes.js +17 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/css/boreal.css +1594 -0
- package/dist/css/global.css +682 -0
- package/dist/css/theme-connect.css +227 -0
- package/dist/css/theme-engage.css +227 -0
- package/dist/css/theme-protect.css +227 -0
- package/dist/css/theme-proximus.css +227 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/attributes-B9wshZ_4.js +86 -0
- package/dist/esm/bds-banner.entry.js +128 -0
- package/dist/esm/bds-typography.entry.js +165 -0
- package/dist/esm/boreal-web-components.js +42 -0
- package/dist/esm/index-DgFiTd6X.js +2332 -0
- package/dist/esm/index-noyWJ11s.js +131 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/my-component.entry.js +27 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm-es5/app-globals-DQuL1Twl.js +1 -0
- package/dist/esm-es5/attributes-B9wshZ_4.js +1 -0
- package/dist/esm-es5/bds-banner.entry.js +1 -0
- package/dist/esm-es5/bds-typography.entry.js +1 -0
- package/dist/esm-es5/boreal-web-components.js +1 -0
- package/dist/esm-es5/index-DgFiTd6X.js +2 -0
- package/dist/esm-es5/index-noyWJ11s.js +1 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/my-component.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/scss/global/_fonts.scss +1 -0
- package/dist/scss/global/_index.scss +3 -0
- package/dist/scss/global/_reset.scss +50 -0
- package/dist/scss/global/_typography.scss +156 -0
- package/dist/scss/maps/_primitives.scss +461 -0
- package/dist/scss/maps/_theme-connect.scss +227 -0
- package/dist/scss/maps/_theme-engage.scss +227 -0
- package/dist/scss/maps/_theme-protect.scss +227 -0
- package/dist/scss/maps/_theme-proximus.scss +227 -0
- package/dist/scss/variables/_primitives.scss +459 -0
- package/dist/scss/variables/_theme-connect.scss +225 -0
- package/dist/scss/variables/_theme-engage.scss +225 -0
- package/dist/scss/variables/_theme-protect.scss +225 -0
- package/dist/scss/variables/_theme-proximus.scss +225 -0
- package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +71 -0
- package/dist/types/components/feedback/bds-banner/types/IBanner.d.ts +10 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +99 -0
- package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +22 -0
- package/dist/types/components/titles-text/bds-typography/types/enum.d.ts +24 -0
- package/dist/types/components/titles-text/bds-typography/types/types.d.ts +4 -0
- package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +15 -0
- package/dist/types/components.d.ts +565 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/mixins/anchored.mixin.d.ts +228 -0
- package/dist/types/mixins/floating.mixin.d.ts +158 -0
- package/dist/types/mixins/form-associated.mixin.d.ts +127 -0
- package/dist/types/mixins/index.d.ts +4 -0
- package/dist/types/services/floating/interfaces/Floating.d.ts +38 -0
- package/dist/types/services/floating/interfaces/Positioning.d.ts +22 -0
- package/dist/types/services/floating/interfaces/Props.d.ts +35 -0
- package/dist/types/services/floating/positioning.service.d.ts +45 -0
- package/dist/types/services/floating/types/Arrow.d.ts +7 -0
- package/dist/types/services/logger/Logger.d.ts +50 -0
- package/dist/types/stencil-public-runtime.d.ts +1858 -0
- package/dist/types/types/alignment.d.ts +8 -0
- package/dist/types/types/form.d.ts +7 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/position.d.ts +13 -0
- package/dist/types/types/size.d.ts +9 -0
- package/dist/types/types/states.d.ts +26 -0
- package/dist/types/types/stylesMap.d.ts +2 -0
- package/dist/types/utils/a11y/attributes.d.ts +13 -0
- package/dist/types/utils/a11y/index.d.ts +2 -0
- package/dist/types/utils/constants/common/Events.d.ts +14 -0
- package/dist/types/utils/constants/common/Keys.d.ts +18 -0
- package/dist/types/utils/dom/elements.d.ts +12 -0
- package/dist/types/utils/dom/index.d.ts +2 -0
- package/dist/types/utils/form/index.d.ts +2 -0
- package/dist/types/utils/form/internals.d.ts +66 -0
- package/dist/types/utils/helpers/common/BaseAttributes.d.ts +16 -0
- package/dist/types/utils/index.d.ts +4 -0
- package/loader/cdn.js +2 -0
- package/loader/index.cjs.js +2 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +2 -0
- package/loader/index.js +3 -0
- package/package.json +96 -0
- package/readme.md +111 -0
- package/scripts/copy-styles.js +18 -0
- package/scripts/postbuild.js +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):i(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BQdH0ijK.system.js","./p-BbPAtVJG.system.js"],(function(t,e){"use strict";var n,r,i,o;return{setters:[function(e){n=e.p;r=e.H;i=e.b;t("setNonce",e.s)},function(t){o=t.g}],execute:function(){var t=this;var a=function(){{s(r.prototype)}var t=e.meta.url;var i={};if(t!==""){i.resourcesUrl=new URL(".",t).href}return n(i)};var s=function(t){var e=t.cloneNode;t.cloneNode=function(t){if(this.nodeName==="TEMPLATE"){return e.call(this,t)}var n=e.call(this,false);var r=this.childNodes;if(t){for(var i=0;i<r.length;i++){if(r[i].nodeType!==2){n.appendChild(r[i].cloneNode(true))}}}return n}};a().then((function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,o()];case 1:t.sent();return[2,i([["p-e37e7dba.system",[[260,"bds-banner",{idComponent:[1,"id-component"],variant:[1],enableClose:[4,"enable-close"],isClosing:[32],isOpen:[32],closeBanner:[64]}]]],["p-5666a22a.system",[[260,"bds-typography",{variant:[513],size:[513],state:[513],customClass:[1,"custom-class"],element:[1],align:[1],ellipsis:[4],maxLines:[2,"max-lines"],tooltipText:[1,"tooltip-text"],isRequired:[516,"is-required"],htmlFor:[1,"html-for"],href:[1],target:[1],isDownloadable:[4,"is-downloadable"],filename:[1],sanitizedHref:[32]},null,{href:[{updateSanitizedHref:0}]}]]],["p-412d037b.system",[[0,"my-component",{first:[1],middle:[1],last:[1]}]]]],e)]}}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],(function(a){"use strict";return{execute:function(){var r=a("a",{DEFAULT:"default",ERROR:"error",DISABLED:"disabled"});var i=a("S",{INFO:"info"});var e=function(a,r){if(r===void 0){r=[]}var i={};r.forEach((function(r){if(a.hasAttribute(r)){var e=a.getAttribute(r);if(e!==null){i[r]=e}a.removeAttribute(r)}}));return i};var l=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var t=a("i",(function(a,r){var i=l;return e(a,i)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.i.has(e)?n.i.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.l=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,l=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},f=u.HTMLElement||class{},a={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=t=>Promise.resolve(t),h=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!h&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),v=!1,b=[],m=[],y=(t,n)=>e=>{t.push(e),v||(v=!0,n&&4&a.u?w($):a.raf($))},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{g(b),g(m),(v=b.length>0)&&a.raf($)},w=t=>d().then(t),j=y(m,!0),O=t=>{const n=G(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!C(t,x(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&G(t,"childNodes").length&&O(t)}},S=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function N(t,n,e){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||x(o)===e)&&(i.push(o),void 0!==e))return i;i=[...i,...N(o.childNodes,n,e)]}return i}var C=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)x(s)!==n||!e&&s["s-sr"]||o.push(s);return o},k=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,E=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;G(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},x=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function M(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function T(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=x(t)||"";return{slotNode:N(G(n,"childNodes"),n.tagName,o)[0],slotName:o}}var R=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=n.call(this,!1);if(t){let t,n,o=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=s.every((t=>!i[o][t])),t&&(e.__appendChild?e.__appendChild(t.cloneNode(!0)):e.appendChild(t.cloneNode(!0))),n&&e.appendChild(i[o].cloneNode(!0))}return e}},A=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=T(t,this);if(e){E(t,e);const o=C(e,n),s=o[o.length-1],i=G(s,"parentNode"),l=G(i,"insertBefore")(t,s.nextSibling);return M(e),O(this),l}return this.__appendChild(t)})},L=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&N(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void O(this)):this.__removeChild(t)})},_=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=x(n))||"",o=N(G(this,"childNodes"),this.tagName,e)[0];if(o){E(n,o,!0);const t=C(o,e)[0],s=G(t,"parentNode"),i=G(s,"insertBefore")(n,G(t,"nextSibling"));return M(o),i}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},F=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},P=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},B=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},D=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=T(t,this),s=this.__childNodes?this.childNodes:S(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(i=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){E(t,o);const e=G(n,"parentNode");G(e,"insertBefore")(t,n),M(o)}}})),i)return t}const i=null==n?void 0:n.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,n)})},U=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},W=t=>{Y("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:S(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:S(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},z=t=>{class n extends Array{item(t){return this[t]}}Y("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Y("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Y("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Y("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...S(this.__childNodes)),t}})},H=t=>{t&&!t.__parentNode&&(Y("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},V=["children","nextElementSibling","previousElementSibling"],q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Y(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;V.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):q.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function G(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function I(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var Z,J,K=new WeakMap,Q=t=>"sc-"+t.p,X=t=>"object"==(t=typeof t)||"function"===t,tt=(t,n,...e)=>{let o=null,s=null,i=null,l=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!X(o))&&(o+=""),l&&r?c[c.length-1].v+=o:c.push(l?nt(null,o):o),r=l)};if(u(e),n){n.key&&(s=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,ot);const f=nt(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=s,f.O=i,f},nt=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),et={},ot={forEach:(t,n)=>t.map(st).forEach(n),map:(t,n)=>t.map(st).map(n).map(it)},st=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),it=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),tt(t.vtag,n,...t.vchildren||[])}const n=nt(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},lt=(t,n)=>null==t||X(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,rt=t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$},ct=(t,n)=>{const e=rt(t);return{emit:t=>ut(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},ft=(t,e,s,i,l,r)=>{if(s===i)return;let f=o(t,e),d=e.toLowerCase();if("class"===e){const n=t.classList,e=dt(s);let o=dt(i);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("style"===e){for(const n in s)i&&null!=i[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in i)s&&i[n]===s[n]||(n.includes("-")?t.style.setProperty(n,i[n]):t.style[n]=i[n])}else if("key"===e);else if("ref"===e)i&&Lt(i,t);else if(f||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let s;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(s=t[1])}}return s||(s=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const n=X(i);if(f||n&&null!==i)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const n=null==i?"":i;"list"===e?f=!1:null!=s&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let o=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(e=d,o=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(o?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!f||4&r||l)&&!n&&1===t.nodeType&&(i=!0===i?"":i,o?t.setAttributeNS(c,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):o(u,d)?d.slice(2):d[2]+e.slice(3),s||i){const n=e.endsWith(ht);e=e.replace(pt,""),s&&a.rel(t,e,s,n),i&&a.ael(t,e,i,n)}},at=/\s/,dt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(at):[]),ht="Capture",pt=RegExp(ht+"$"),vt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},i=n.m||{};for(const t of bt(Object.keys(s)))t in i||ft(o,t,s[t],void 0,e,n.u);for(const t of bt(Object.keys(i)))ft(o,t,s[t],i[t],e,n.u)};function bt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var mt=!1,yt=!1,gt=!1,$t=!1,wt=[],jt=[],Ot=(t,n,e)=>{var o;const s=n.$[e];let i,l,r,c=0;if(mt||(gt=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)i=s.N=u.document.createTextNode(s.v);else if(1&s.u)i=s.N=u.document.createTextNode(""),vt(null,s,$t);else{if(!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.N=u.document.createElement(!mt&&2&s.u?"slot-fb":s.S),vt(null,s,$t),s.$){const n="template"===s.S?i.content:i;for(c=0;c<s.$.length;++c)l=Ot(t,s,c),l&&n.appendChild(l)}}return i["s-hn"]=J,3&s.u&&(i["s-sr"]=!0,i["s-cr"]=Z,i["s-sn"]=s.O||"",i["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:S(s.childNodes)).forEach((t=>{o===x(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(i),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&St(t.N)),i},St=t=>{a.u|=1;const n=t.closest(J.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(_t(n,t,null!=e?e:null),t["s-sh"]=void 0,gt=!0)}a.u&=-2},Nt=(t,n)=>{a.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===J&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==J&&o["s-ol"]&&(_t(xt(o).parentNode,o,xt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,gt=!0),n&&Nt(o,n)}a.u&=-2},Ct=(t,n,e,o,s,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);s<=i;++s)o[s]&&(l=Ot(null,e,s),l&&(o[s].N=l,_t(r,l,xt(n))))},kt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;At(n),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},Et=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),xt=t=>t&&t["s-ol"]||t,Mt=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,i=n.$,l=n.v;let r;null==l?("slot"!==n.S||mt||t.O!==n.O&&(n.N["s-sn"]=n.O||"",St(n.N.parentElement)),vt(t,n,$t),null!==s&&null!==i?((t,n,e,o,s=!1)=>{let i,l,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Et(d,v,s))Mt(d,v,s),d=n[++r],v=o[++c];else if(Et(h,b,s))Mt(h,b,s),h=n[--a],b=o[--p];else if(Et(d,b,s))"slot"!==d.S&&"slot"!==b.S||Nt(d.N.parentNode,!1),Mt(d,b,s),_t(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Et(h,v,s))"slot"!==d.S&&"slot"!==b.S||Nt(h.N.parentNode,!1),Mt(h,v,s),_t(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(l=n[u],l.S!==v.S?i=Ot(n&&n[c],e,u):(Mt(l,v,s),n[u]=void 0,i=l.N),v=o[++c]):(i=Ot(n&&n[c],e,c),v=o[++c]),i&&_t(xt(d.N).parentNode,i,xt(d.N))}r>a?Ct(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&kt(n,r,a)})(o,s,n,i,e):null!==i?(null!==t.v&&(o.textContent=""),Ct(o,null,n,i,0,i.length-1)):!e&&null!==s&&kt(s,0,s.length-1)):(r=o["s-cr"])?r.parentNode.textContent=l:t.v!==l&&(o.data=l)},Tt=[],Rt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(k(n,s)){let e=Tt.find((t=>t.C===n));yt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.C["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],Tt.push({k:t,C:n})),n["s-sr"]&&Tt.map((t=>{k(t.C,n["s-sn"])&&(e=Tt.find((t=>t.C===n)),e&&!t.k&&(t.k=e.k))}))}else Tt.some((t=>t.C===n))||Tt.push({C:n})}1===t.nodeType&&Rt(t)}},At=t=>{t.m&&t.m.ref&&wt.push((()=>t.m.ref(null))),t.$&&t.$.map(At)},Lt=(t,n)=>{jt.push((()=>t(n)))},_t=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&H(n),t.insertBefore(n,e);const{slotNode:s}=T(n);return s&&!o&&M(s),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Ft=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},Pt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Ft(t,t.T);const e=()=>Bt(t,n);if(!n)return j(e);queueMicrotask((()=>{e()}))},Bt=(t,n)=>{const e=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return n?(t.R&&(t.R=!1,qt(o,"connectedCallback",void 0,e)),t.A.length&&t.A.forEach((t=>t(e))),s=qt(o,"componentWillLoad",void 0,e)):s=qt(o,"componentWillUpdate",void 0,e),s=Dt(s,(()=>qt(o,"componentWillRender",void 0,e))),Dt(s,(()=>Wt(t,o,n)))},Dt=(t,n)=>Ut(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,n,e)=>{var o;const s=t.$hostElement$,i=s["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,s;const i=Q(n),c=l.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,c)if("string"==typeof c){let s,l=K.get(t=t.head||t);if(l||K.set(t,l=new Set),!l.has(i)){s=u.document.createElement("style"),s.textContent=c;const f=null!=(e=a.L)?e:I(u.document);if(null!=f&&s.setAttribute("nonce",f),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(h){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(c),p?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=c+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=r),l&&l.add(i)}}else{let n=K.get(t);if(n||K.set(t,n=new Set),!n.has(i)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(c.constructor===e.CSSStyleSheet)o=c;else{o=new e.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i)}}})(t.$hostElement$.getRootNode(),n)})(t);zt(t,n,s,e),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>Ht(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},zt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,i,l,r;const c=t.$hostElement$,f=t.o,d=t._||nt(null,null),h=(t=>t&&t.S===et)(n)?n:tt(null,null,n);if(J=c.tagName,f.F&&(h.m=h.m||{},f.F.forEach((([t,n])=>{h.m[n]=c[t]}))),e&&h.m)for(const t of Object.keys(h.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.m[t]=c[t]);if(h.S=null,h.u|=4,t._=h,h.N=d.N=c,mt=!1,Z=c["s-cr"],yt=!1,Mt(d,h,e),a.u|=1,gt){Rt(h.N);for(const t of Tt){const n=t.C;if(!n["s-ol"]&&u.document){const t=u.document.createTextNode("");t["s-nr"]=n,_t(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Tt){const n=t.C,r=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(i=e["s-nr"])?i:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(_t(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=u.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(yt&&O(h.N),a.u&=-2,Tt.length=0,!mt&&!(1&f.u)&&c["s-cr"]){const t=h.N.__childNodes||h.N.childNodes;for(const n of t)if(n["s-hn"]!==J&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=u.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}Z=void 0,wt.forEach((t=>t())),wt.length=0,jt.forEach((t=>t())),jt.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Ht=t=>{const n=t.$hostElement$,e=t.l,o=t.T;qt(e,"componentDidRender",void 0,n),64&t.u?qt(e,"componentDidUpdate",void 0,n):(t.u|=64,Yt(n),qt(e,"componentDidLoad",void 0,n),t.P(n),o||Vt()),t.B(n),t.M&&(t.M(),t.M=void 0),512&t.u&&w((()=>Pt(t,!1))),t.u&=-517},Vt=()=>{w((()=>ut(u,"appload",{detail:{namespace:"boreal-web-components"}})))},qt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Yt=t=>t.classList.add("hydrated"),Gt=(t,e,o,i)=>{const l=n(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${i.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=l.$hostElement$,c=l.i.get(e),u=l.u,f=l.l;if(o=lt(o,i.t[e][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(l.i.set(e,o),i.D){const t=i.D[e];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&u||1&s)&&(f?f[n](o,c,e):l.A.push((()=>{l.l[n](o,c,e)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e)&&!(16&u))return;16&u||Pt(l,!1)}}},It=(t,e,o)=>{var s,i;const l=t.prototype;{t.watchers&&!e.D&&(e.D=t.watchers),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e.W&&(e.W=t.serializers);const r=Object.entries(null!=(s=e.t)?s:{});if(r.map((([t,[s]])=>{if(31&s||2&o&&32&s){const{get:i,set:r}=Object.getOwnPropertyDescriptor(l,t)||{};i&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!i)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).i.get(e))(0,t);const o=n(this),s=o?o.l:l;if(!s)return;return s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(i){const l=n(this);if(l){if(r)return void 0===(32&s?this[t]:l.$hostElement$[t])&&l.i.get(t)&&(i=l.i.get(t)),r.call(this,lt(i,s)),void Gt(this,t,i=32&s?this[t]:l.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return Gt(this,t,i,e),void(1&o&&!l.l&&l.A.push((()=>{4096&e.t[t][0]&&l.l[t]!==l.i.get(t)&&(l.l[t]=i)})));const n=()=>{const n=l.l[t];!l.i.get(t)&&n&&l.i.set(t,n),l.l[t]=lt(i,s),Gt(this,t,l.l[t],e)};l.l?n():l.A.push((()=>{n()}))}}}})}else 1&o&&64&s&&Object.defineProperty(l,t,{value(...e){var o;const s=n(this);return null==(o=null==s?void 0:s.H)?void 0:o.then((()=>{var n;return null==(n=s.l)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;l.attributeChangedCallback=function(t,s,i){a.jmp((()=>{var c;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),l.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&i!==s){const o=f.l,l=null==(c=e.D)?void 0:c[t];null==l||l.forEach((e=>{const[[l,r]]=Object.entries(e);null!=o[l]&&(128&n||1&r)&&o[l].call(o,i,s,t)}))}return}const a=r.find((([t])=>t===u));a&&4&a[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(l,u);i==this[u]||d.get&&!d.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.D)?i:{}),...r.filter((([t,n])=>31&n[0])).map((([t,n])=>{var s;const i=n[1]||t;return o.set(i,t),512&n[0]&&(null==(s=e.F)||s.push([t,i])),i}))]))}}return t},Zt=(t,n)=>{qt(t,"connectedCallback",void 0,n)},Jt=(t,n)=>{qt(t,"disconnectedCallback",void 0,n||t)},Kt=(t,e={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],f=e.exclude||[],d=u.customElements,p=u.document.head,v=p.querySelector("meta[charset]"),b=u.document.createElement("style"),m=[];let y,g=!0;Object.assign(a,e),a.h=new URL(e.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((e=>{var o,r,p;const v={u:e[0],p:e[1],t:e[2],V:e[3]};4&v.u&&($=!0),v.t=e[2],v.F=[],v.D=null!=(o=e[4])?o:{},v.W=null!=(r=e[5])?r:{},v.U=null!=(p=e[6])?p:{};const b=v.p,w=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,i:new Map,q:new Map};e.H=new Promise((t=>e.B=t)),e.Y=new Promise((t=>e.P=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,v)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),g?m.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.l)?Zt(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Zt(e.l,t)));else{e.u|=1,12&o.u&&(t=>{if(!u.document)return;const n=t["s-cr"]=u.document.createComment("");n["s-cn"]=!0,_t(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ft(e,e.T=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.G){const l=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.G;if(!o)return;const l=i.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.p}#${n.I}" was not found`);o.isProxied||(e.D=o.watchers,e.W=o.serializers,e.U=o.deserializers,It(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.R=!0:Zt(n.l,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=Q(e);if(!l.has(n)){const o=()=>{};((t,n,e)=>{let o=l.get(t);h&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,l.set(t,o)})(n,t,!!(1&e.u)),o()}}}const r=n.T,c=()=>Pt(n,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),n.P&&n.P(t)}})(t,e,o)}r()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=n(t);(null==e?void 0:e.l)?Jt(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Jt(e.l,t)))}K.has(t)&&K.delete(t),t.shadowRoot&&K.has(t.shadowRoot)&&K.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this);if(!e)return;const o=m.findIndex((t=>t===this));o>-1&&m.splice(o,1),(null==(t=null==e?void 0:e._)?void 0:t.N)instanceof Node&&!e._.N.isConnected&&delete e._.N}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.Y}};!(1&v.u)&&256&v.u?(t=>{R(t),A(t),F(t),_(t),U(t),P(t),B(t),D(t),W(t),z(t),L(t)})(w.prototype):R(w.prototype),v.G=t[0],f.includes(b)||d.get(b)||(c.push(b),d.define(b,It(w,v,1)))}))})),c.length>0&&($&&(b.textContent+=r),b.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=a.L)?o:I(u.document);null!=t&&b.setAttribute("nonce",t),p.insertBefore(b,v?v.nextSibling:p.firstChild)}g=!1,m.length?m.map((t=>t.connectedCallback())):a.jmp((()=>y=setTimeout(Vt,30)))},Qt=t=>a.L=t;export{f as H,et as a,Kt as b,ct as c,rt as g,tt as h,d as p,e as r,Qt as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],(function(){"use strict";return{execute:function(){}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t}from"./p-DgFiTd6X.js";const r=class{constructor(t){o(this,t),this.first="",this.middle="",this.last=""}render(){return t("div",{key:"2f3775c7b3d8475826a01101110bd2876a57f2cb"}," Hello, World! I'm Stencil 'Don't call me a framework' JS")}};r.style=":host{display:block}";export{r as my_component}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as a,h as e,a as s,g as n}from"./p-DgFiTd6X.js";import{S as o,i}from"./p-B9wshZ_4.js";const t=class{constructor(e){r(this,e),this.close=a(this,"close"),this.inheritedAttributes={},this.isClosing=!1,this.isOpen=!0,this.idComponent="",this.variant=o.INFO,this.enableClose=!1,this.handleAnimationEnd=()=>{this.isClosing&&requestAnimationFrame((()=>{this.isClosing=!1,this.isOpen=!1}))}}componentWillLoad(){var r;this.inheritedAttributes={...i(this.el),...(r=this,function(r){r.idComponent||(r.idComponent=`bds-${Math.random().toString(36).substr(2,9)}`)}(r),{id:r.idComponent})}}async closeBanner(){this.handleCloseBanner()}handleCloseBanner(r){void 0!==r&&r.preventDefault(),this.isClosing=!0,this.close.emit()}handleEscapeKeyClose(r){this.enableClose&&"Escape"===r.key&&this.handleCloseBanner()}getIconName(){const r={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};return void 0===r[this.variant]?r.info:r[this.variant]}getAttributes(){return{...this.inheritedAttributes,role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":`${!this.isOpen}`,tabIndex:this.isOpen?0:-1}}getStyles(){return{"bds-banner":!0,[`bds-banner--${this.variant}`]:!0,"bds-banner--closing":this.isClosing}}renderCloseIcon(){return e("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":"Alert close button",onClick:r=>this.handleCloseBanner(r)},e("em",{class:"bds-icon-close"}))}render(){if(!this.isOpen)return;const r=this.renderCloseIcon(),a=this.getStyles(),n=this.getIconName();return e(s,{class:a,...this.getAttributes(),onTransitionEnd:this.handleAnimationEnd,onKeyDown:r=>this.handleEscapeKeyClose(r)},e("div",{class:"bds-banner__vertical-line"}),e("div",{class:"bds-banner__container"},e("div",{class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":`status ${this.variant}`},e("em",{"aria-hidden":"true",class:n})),e("div",{class:"bds-banner__content"},e("div",{class:"bds-banner__title"},e("slot",{name:"title"})),e("div",{class:"bds-banner__body"},e("slot",null)),e("div",{class:"bds-banner__actions"},e("slot",{name:"actions"}))),this.enableClose&&r))}get el(){return n(this)}};t.style=".bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0;height:0}";export{t as bds_banner}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var r,e=1,a=arguments.length;e<a;e++){r=arguments[e];for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))n[t]=r[t]}return n};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(n,r,e,a){function t(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,i){function s(n){try{b(a.next(n))}catch(n){i(n)}}function o(n){try{b(a["throw"](n))}catch(n){i(n)}}function b(n){n.done?e(n.value):t(n.value).then(s,o)}b((a=a.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,t,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(n){return function(r){return b([n,r])}}function b(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(a=1,t&&(i=o[0]&2?t["return"]:o[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,o[1])).done)return i;if(t=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;t=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=r.call(n,e)}catch(n){o=[6,n];t=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-BQdH0ijK.system.js","./p-CaVEtaG3.system.js"],(function(n){"use strict";var r,e,a,t,i,s,o;return{setters:[function(n){r=n.r;e=n.c;a=n.h;t=n.a;i=n.g},function(n){s=n.S;o=n.i}],execute:function(){function b(n){if(!n.idComponent)n.idComponent="bds-".concat(Math.random().toString(36).substr(2,9))}function l(n){b(n);return{id:n.idComponent}}var c=function(){return".bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0;height:0}"};var u=n("bds_banner",function(){function n(n){var a=this;r(this,n);this.close=e(this,"close");this.inheritedAttributes={};this.isClosing=false;this.isOpen=true;this.idComponent="";this.variant=s.INFO;this.enableClose=false;this.handleAnimationEnd=function(){if(a.isClosing)requestAnimationFrame((function(){a.isClosing=false;a.isOpen=false}))}}n.prototype.componentWillLoad=function(){this.inheritedAttributes=__assign(__assign({},o(this.el)),l(this))};n.prototype.closeBanner=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.handleCloseBanner();return[2]}))}))};n.prototype.handleCloseBanner=function(n){if(n!==undefined)n.preventDefault();this.isClosing=true;this.close.emit()};n.prototype.handleEscapeKeyClose=function(n){if(!this.enableClose)return;if(n.key==="Escape")this.handleCloseBanner()};n.prototype.getIconName=function(){var n={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};if(n[this.variant]===undefined)return n["info"];return n[this.variant]};n.prototype.getAttributes=function(){return __assign(__assign({},this.inheritedAttributes),{role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":"".concat(!this.isOpen),tabIndex:this.isOpen?0:-1})};n.prototype.getStyles=function(){var n;return n={"bds-banner":true},n["bds-banner--".concat(this.variant)]=true,n["bds-banner--closing"]=this.isClosing,n};n.prototype.renderCloseIcon=function(){var n=this;return a("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":"Alert close button",onClick:function(r){return n.handleCloseBanner(r)}},a("em",{class:"bds-icon-close"}))};n.prototype.render=function(){var n=this;if(!this.isOpen)return;var r=this.renderCloseIcon();var e=this.getStyles();var i=this.getIconName();return a(t,__assign(__assign({class:e},this.getAttributes()),{onTransitionEnd:this.handleAnimationEnd,onKeyDown:function(r){return n.handleEscapeKeyClose(r)}}),a("div",{class:"bds-banner__vertical-line"}),a("div",{class:"bds-banner__container"},a("div",{class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant)},a("em",{"aria-hidden":"true",class:i})),a("div",{class:"bds-banner__content"},a("div",{class:"bds-banner__title"},a("slot",{name:"title"})),a("div",{class:"bds-banner__body"},a("slot",null)),a("div",{class:"bds-banner__actions"},a("slot",{name:"actions"}))),this.enableClose&&r))};Object.defineProperty(n.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return n}());u.style=c()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(r,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in r)){var e=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,e.get?e:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(r)}var t,n,e={},u={},i=r({__proto__:null},[function(){if(n)return e;n=1,Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=function(t){if(!t)return r.BLANK_URL;var n,e,u,o=i(t.trim());do{n=(o=i(o=(e=o,u=void 0,u=e.replace(r.ctrlCharactersRegex,""),u.replace(r.htmlEntitiesRegex,(function(r,t){return String.fromCharCode(t)}))).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").replace(r.whitespaceEscapeCharsRegex,"").trim())).match(r.ctrlCharactersRegex)||o.match(r.htmlEntitiesRegex)||o.match(r.htmlCtrlEntityRegex)||o.match(r.whitespaceEscapeCharsRegex)}while(n&&n.length>0);var a=o;if(!a)return r.BLANK_URL;if(function(t){return r.relativeFirstCharacters.indexOf(t[0])>-1}(a))return a;var c=a.trimStart(),f=c.match(r.urlSchemeRegex);if(!f)return a;var v=f[0].toLowerCase().trim();if(r.invalidProtocolRegex.test(v))return r.BLANK_URL;var l=c.replace(/\\/g,"/");if("mailto:"===v||v.includes("://"))return l;if("http:"===v||"https:"===v){if(!function(r){return URL.canParse(r)}(l))return r.BLANK_URL;var b=new URL(l);return b.protocol=b.protocol.toLowerCase(),b.hostname=b.hostname.toLowerCase(),b.toString()}return l};var r=(t||(t=1,Object.defineProperty(u,"__esModule",{value:!0}),u.BLANK_URL=u.relativeFirstCharacters=u.whitespaceEscapeCharsRegex=u.urlSchemeRegex=u.ctrlCharactersRegex=u.htmlCtrlEntityRegex=u.htmlEntitiesRegex=u.invalidProtocolRegex=void 0,u.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,u.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,u.htmlCtrlEntityRegex=/&(newline|tab);/gi,u.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,u.urlSchemeRegex=/^.+(:|:)/gim,u.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,u.relativeFirstCharacters=[".","/"],u.BLANK_URL="about:blank"),u);function i(r){try{return decodeURIComponent(r)}catch(t){return r}}return e}()]);export{i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boreal Design System - CSS Reset
|
|
3
|
+
* Minimal reset for consistent cross-browser rendering
|
|
4
|
+
*/
|
|
5
|
+
*,
|
|
6
|
+
*::before,
|
|
7
|
+
*::after {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
* {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
html {
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
body {
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
-webkit-text-size-adjust: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
img,
|
|
27
|
+
picture,
|
|
28
|
+
video,
|
|
29
|
+
canvas,
|
|
30
|
+
svg {
|
|
31
|
+
display: block;
|
|
32
|
+
max-width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
input,
|
|
36
|
+
button,
|
|
37
|
+
textarea,
|
|
38
|
+
select {
|
|
39
|
+
font: inherit;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
p,
|
|
43
|
+
h1,
|
|
44
|
+
h2,
|
|
45
|
+
h3,
|
|
46
|
+
h4,
|
|
47
|
+
h5,
|
|
48
|
+
h6 {
|
|
49
|
+
overflow-wrap: break-word;
|
|
50
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
@use "../../../dist/stencil/index" as *;
|
|
2
|
+
|
|
3
|
+
.heading-4xl {
|
|
4
|
+
font-weight: $boreal-typography-font-weight-light;
|
|
5
|
+
font-size: $boreal-typography-font-size-4xl;
|
|
6
|
+
line-height: $boreal-typography-line-height-4xl;
|
|
7
|
+
}
|
|
8
|
+
.heading-3xl {
|
|
9
|
+
font-weight: $boreal-typography-font-weight-light;
|
|
10
|
+
font-size: $boreal-typography-font-size-3xl;
|
|
11
|
+
line-height: $boreal-typography-line-height-3xl;
|
|
12
|
+
}
|
|
13
|
+
.heading-2xl {
|
|
14
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
15
|
+
font-size: $boreal-typography-font-size-2xl;
|
|
16
|
+
line-height: $boreal-typography-line-height-2xl;
|
|
17
|
+
}
|
|
18
|
+
.heading-xl {
|
|
19
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
20
|
+
font-size: $boreal-typography-font-size-xl;
|
|
21
|
+
line-height: $boreal-typography-line-height-xl;
|
|
22
|
+
}
|
|
23
|
+
.heading-lg {
|
|
24
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
25
|
+
font-size: $boreal-typography-font-size-lg;
|
|
26
|
+
line-height: $boreal-typography-line-height-lg;
|
|
27
|
+
}
|
|
28
|
+
.heading-md {
|
|
29
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
30
|
+
font-size: $boreal-typography-font-size-md;
|
|
31
|
+
line-height: $boreal-typography-line-height-md;
|
|
32
|
+
}
|
|
33
|
+
.heading-sm {
|
|
34
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
35
|
+
font-size: $boreal-typography-font-size-sm;
|
|
36
|
+
line-height: $boreal-typography-line-height-sm;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.display-sm {
|
|
40
|
+
font-size: $boreal-typography-font-size-xl;
|
|
41
|
+
line-height: $boreal-typography-line-height-xl;
|
|
42
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
43
|
+
}
|
|
44
|
+
.display-md {
|
|
45
|
+
font-size: $boreal-typography-font-size-2xl;
|
|
46
|
+
line-height: $boreal-typography-line-height-2xl;
|
|
47
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
48
|
+
}
|
|
49
|
+
.display-lg {
|
|
50
|
+
font-size: $boreal-typography-font-size-3xl;
|
|
51
|
+
line-height: $boreal-typography-line-height-3xl;
|
|
52
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
53
|
+
}
|
|
54
|
+
.display-xl {
|
|
55
|
+
font-size: $boreal-typography-font-size-4xl;
|
|
56
|
+
line-height: $boreal-typography-line-height-4xl;
|
|
57
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
58
|
+
}
|
|
59
|
+
.display-xs {
|
|
60
|
+
font-size: $boreal-typography-font-size-xs;
|
|
61
|
+
line-height: $boreal-typography-line-height-xs;
|
|
62
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.label-lg {
|
|
66
|
+
font-size: $boreal-typography-font-size-lg;
|
|
67
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
68
|
+
line-height: $boreal-typography-line-height-md;
|
|
69
|
+
color: $boreal-text-default-darker;
|
|
70
|
+
}
|
|
71
|
+
.label-md {
|
|
72
|
+
font-size: $boreal-typography-font-size-md;
|
|
73
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
74
|
+
line-height: $boreal-typography-line-height-md;
|
|
75
|
+
color: $boreal-text-default-darker;
|
|
76
|
+
}
|
|
77
|
+
.label-sm {
|
|
78
|
+
font-size: $boreal-typography-font-size-sm;
|
|
79
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
80
|
+
line-height: $boreal-typography-line-height-sm;
|
|
81
|
+
color: $boreal-text-default-darker;
|
|
82
|
+
}
|
|
83
|
+
.label-xs {
|
|
84
|
+
font-size: $boreal-typography-font-size-xs;
|
|
85
|
+
font-weight: $boreal-typography-font-weight-semibold;
|
|
86
|
+
line-height: $boreal-typography-line-height-xs;
|
|
87
|
+
color: $boreal-text-default-darker;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.support-text {
|
|
91
|
+
font-size: $boreal-typography-font-size-sm;
|
|
92
|
+
line-height: $boreal-typography-line-height-xs;
|
|
93
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
94
|
+
}
|
|
95
|
+
.code {
|
|
96
|
+
font-family: $boreal-typography-font-family-secondary;
|
|
97
|
+
font-size: $boreal-typography-font-size-xs;
|
|
98
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
99
|
+
color: $boreal-text-default;
|
|
100
|
+
line-height: $boreal-typography-line-height-md;
|
|
101
|
+
overflow-wrap: break-word;
|
|
102
|
+
|
|
103
|
+
background-color: $boreal-ui-base-light;
|
|
104
|
+
padding: $boreal-spacing-3xs $boreal-spacing-xs;
|
|
105
|
+
border-radius: $boreal-radius-xs;
|
|
106
|
+
|
|
107
|
+
display: inline;
|
|
108
|
+
box-decoration-break: clone;
|
|
109
|
+
-webkit-box-decoration-break: clone;
|
|
110
|
+
}
|
|
111
|
+
.caption {
|
|
112
|
+
font-size: $boreal-typography-font-size-xs;
|
|
113
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
114
|
+
line-height: $boreal-typography-line-height-md;
|
|
115
|
+
color: $boreal-text-default-light;
|
|
116
|
+
}
|
|
117
|
+
.helper-text {
|
|
118
|
+
font-size: $boreal-typography-font-size-xs;
|
|
119
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
120
|
+
line-height: $boreal-typography-line-height-sm;
|
|
121
|
+
color: $boreal-text-default-light;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.link {
|
|
125
|
+
font-size: $boreal-typography-font-size-sm;
|
|
126
|
+
font-weight: $boreal-typography-font-weight-regular;
|
|
127
|
+
line-height: $boreal-typography-line-height-md;
|
|
128
|
+
color: $boreal-text-primary-base;
|
|
129
|
+
text-decoration: none;
|
|
130
|
+
|
|
131
|
+
&:hover {
|
|
132
|
+
text-decoration: underline;
|
|
133
|
+
}
|
|
134
|
+
&:visited {
|
|
135
|
+
color: $boreal-text-primary-base;
|
|
136
|
+
}
|
|
137
|
+
&:active {
|
|
138
|
+
color: $boreal-text-primary-dark;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&-md {
|
|
142
|
+
@extend .link;
|
|
143
|
+
font-size: $boreal-typography-font-size-md;
|
|
144
|
+
line-height: $boreal-typography-line-height-md;
|
|
145
|
+
}
|
|
146
|
+
&-sm {
|
|
147
|
+
@extend .link;
|
|
148
|
+
font-size: $boreal-typography-font-size-sm;
|
|
149
|
+
line-height: $boreal-typography-line-height-sm;
|
|
150
|
+
}
|
|
151
|
+
&-xs {
|
|
152
|
+
@extend .link;
|
|
153
|
+
font-size: $boreal-typography-font-size-xs;
|
|
154
|
+
line-height: $boreal-typography-line-height-xs;
|
|
155
|
+
}
|
|
156
|
+
}
|