@maggioli-design-system/mds-accordion-timer 3.10.4 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/cjs/{index-dba9169e.js → index-0853bd56.js} +14 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-timer.cjs.entry.js +18 -14
  4. package/dist/cjs/mds-accordion-timer.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/aria.js +17 -1
  7. package/dist/collection/common/device.js +6 -0
  8. package/dist/collection/common/keyboard-manager.js +2 -2
  9. package/dist/collection/common/locale.js +17 -5
  10. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +0 -219
  11. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +16 -12
  12. package/dist/collection/dictionary/button.js +1 -0
  13. package/dist/collection/dictionary/file-extensions.js +114 -56
  14. package/dist/collection/dictionary/text.js +60 -1
  15. package/dist/collection/dictionary/variant.js +10 -1
  16. package/dist/collection/type/variant-file-format.js +0 -34
  17. package/dist/components/mds-accordion-timer.js +17 -13
  18. package/dist/documentation.json +3 -3
  19. package/dist/esm/{index-20fd282d.js → index-af411208.js} +14 -3
  20. package/dist/esm/loader.js +2 -2
  21. package/dist/esm/mds-accordion-timer.entry.js +18 -14
  22. package/dist/esm/mds-accordion-timer.js +3 -3
  23. package/dist/esm-es5/index-af411208.js +1 -0
  24. package/dist/esm-es5/loader.js +1 -1
  25. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  26. package/dist/esm-es5/mds-accordion-timer.js +1 -1
  27. package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
  28. package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
  29. package/dist/mds-accordion-timer/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
  30. package/dist/mds-accordion-timer/p-4eb3ec08.system.entry.js +1 -0
  31. package/dist/mds-accordion-timer/p-62c48ff3.system.js +2 -0
  32. package/dist/mds-accordion-timer/p-86e0d6b4.entry.js +1 -0
  33. package/dist/mds-accordion-timer/p-8dd37a13.js +2 -0
  34. package/dist/stats.json +35 -35
  35. package/dist/types/common/aria.d.ts +3 -1
  36. package/dist/types/common/date.d.ts +1 -1
  37. package/dist/types/common/device.d.ts +2 -0
  38. package/dist/types/common/file.d.ts +3 -4
  39. package/dist/types/common/locale.d.ts +3 -1
  40. package/dist/types/dictionary/file-extensions.d.ts +2 -1
  41. package/dist/types/dictionary/text.d.ts +3 -1
  42. package/dist/types/dictionary/variant.d.ts +2 -1
  43. package/dist/types/stencil-public-runtime.d.ts +6 -0
  44. package/dist/types/type/autocomplete.d.ts +1 -1
  45. package/dist/types/type/button.d.ts +1 -1
  46. package/dist/types/type/header-bar.d.ts +2 -0
  47. package/dist/types/type/input.d.ts +3 -0
  48. package/dist/types/type/text.d.ts +2 -0
  49. package/dist/types/type/variant-file-format.d.ts +4 -4
  50. package/dist/types/type/variant.d.ts +2 -1
  51. package/documentation.json +39 -34
  52. package/package.json +5 -5
  53. package/readme.md +12 -1
  54. package/src/common/aria.ts +22 -2
  55. package/src/common/device.ts +9 -0
  56. package/src/common/file.ts +2 -3
  57. package/src/common/keyboard-manager.ts +2 -2
  58. package/src/common/locale.ts +20 -6
  59. package/src/common/unit.ts +1 -1
  60. package/src/components/mds-accordion-timer/.gitlab-ci.yml +5 -10
  61. package/src/components/mds-accordion-timer/mds-accordion-timer.tsx +15 -11
  62. package/src/dictionary/button.ts +1 -0
  63. package/src/dictionary/file-extensions.ts +118 -57
  64. package/src/dictionary/text.ts +64 -0
  65. package/src/dictionary/variant.ts +11 -0
  66. package/src/fixtures/icons.json +15 -2
  67. package/src/fixtures/iconsauce.json +7 -0
  68. package/src/meta/file-format/locale.el.json +39 -0
  69. package/src/meta/file-format/locale.en.json +39 -0
  70. package/src/meta/file-format/locale.es.json +39 -0
  71. package/src/meta/file-format/locale.it.json +39 -0
  72. package/src/tailwind/components.css +1 -1
  73. package/src/type/autocomplete.ts +0 -1
  74. package/src/type/button.ts +1 -0
  75. package/src/type/header-bar.ts +11 -0
  76. package/src/type/input.ts +4 -0
  77. package/src/type/text.ts +59 -0
  78. package/src/type/variant-file-format.ts +20 -37
  79. package/src/type/variant.ts +9 -1
  80. package/www/build/mds-accordion-timer.esm.js +1 -1
  81. package/www/build/mds-accordion-timer.js +1 -1
  82. package/www/build/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
  83. package/www/build/p-4eb3ec08.system.entry.js +1 -0
  84. package/www/build/p-62c48ff3.system.js +2 -0
  85. package/www/build/p-86e0d6b4.entry.js +1 -0
  86. package/www/build/p-8dd37a13.js +2 -0
  87. package/dist/collection/type/language.js +0 -1
  88. package/dist/esm-es5/index-20fd282d.js +0 -1
  89. package/dist/mds-accordion-timer/p-6d230e24.js +0 -2
  90. package/dist/mds-accordion-timer/p-9d12b7bb.entry.js +0 -1
  91. package/dist/mds-accordion-timer/p-b63ea901.system.entry.js +0 -1
  92. package/dist/mds-accordion-timer/p-fe7bbbcf.system.js +0 -2
  93. package/dist/types/interface/input-value.d.ts +0 -4
  94. package/dist/types/type/language.d.ts +0 -2
  95. package/src/interface/input-value.ts +0 -5
  96. package/src/type/language.ts +0 -8
  97. package/www/build/p-6d230e24.js +0 -2
  98. package/www/build/p-9d12b7bb.entry.js +0 -1
  99. package/www/build/p-b63ea901.system.entry.js +0 -1
  100. package/www/build/p-fe7bbbcf.system.js +0 -2
  101. /package/dist/collection/{interface/input-value.js → type/header-bar.js} +0 -0
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?t(e.value):a(e.value).then(i,s)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(r){return u([e,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(t=0)),t)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++){if(o||!(n in r)){if(!o)o=Array.prototype.slice.call(r,0,n);o[n]=r[n]}}return e.concat(o||Array.prototype.slice.call(r))};var NAMESPACE="mds-accordion-timer";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:false,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:true,propString:false,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:false,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:false,vdomXlink:false,watchCallback:true};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,r){return hostRefs.set(r.t=e,r)};var registerHost=function(e,r){var t={o:0,$hostElement$:e,i:r,u:new Map};{t.l=new Promise((function(e){return t.v=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,t)};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.p.replace(/-/g,"_");var a=e.m;if(!a){return void 0}var o=cmpModules.get(a);if(o){return o[n]}if(!t||!BUILD.hotModuleReplacement){var i=function(e){cmpModules.set(a,e);return e[n]};switch(a){case"mds-accordion-timer":return import("./mds-accordion-timer.entry.js").then(i,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={o:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.o&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var o=null;var i=false;var s=false;var u=[];var l=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&s){u[u.length-1].S+=a}else{u.push(i?newVNode(null,a):a)}s=i}}};l(t);if(r){if(r.key){o=r.key}}var f=newVNode(e,null);f.C=r;if(u.length>0){f._=u}{f.T=o}return f};var newVNode=function(e,r){var t={o:0,k:e,S:r,A:null,_:null};{t.C=null}{t.T=null}return t};var Host={};var isHost=function(e){return e&&e.k===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var a=getScopeId(r);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(a)){{s=doc.createElement("style");s.innerHTML=o;var u=(n=plt.D)!=null?n:queryNonceMetaTagContent(doc);if(u!=null){s.setAttribute("nonce",u)}if(!(r.o&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var f=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,f)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(o);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=o+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.o&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(r.o&4){s.innerHTML+=SLOT_FB_CSS}if(i){i.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var r=e.i;var t=e.$hostElement$;var n=r.o;var a=createTime("attachStyles",r.p);var o=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10&&n&2){t["s-sc"]=o;t.classList.add(o+"-h")}a()};var getScopeId=function(e,r){return"sc-"+e.p};var setAccessor=function(e,r,t,n,a,o){if(t!==n){var i=isMemberInElement(e,r);r.toLowerCase();if(r==="key");else{var s=isComplexType(n);if((i||s&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var u=n==null?"":n;if(r==="list"){i=false}else if(t==null||e[r]!=u){if(typeof e.__lookupSetter__(r)==="function"){e[r]=u}else{e.setAttribute(r,u)}}}else{e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!i||o&4||a)&&!s){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var updateElement=function(e,r,t){var n=r.A.nodeType===11&&r.A.host?r.A.host:r.A;var a=e&&e.C||EMPTY_OBJ;var o=r.C||EMPTY_OBJ;{for(var i=0,s=sortedAttrNames(Object.keys(a));i<s.length;i++){var u=s[i];if(!(u in o)){setAccessor(n,u,a[u],void 0,t,r.o)}}}for(var l=0,f=sortedAttrNames(Object.keys(o));l<f.length;l++){var u=f[l];setAccessor(n,u,a[u],o[u],t,r.o)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var hostTagName;var useNativeShadowDom=false;var isSvgMode=false;var createElm=function(e,r,t,n){var a=r._[t];var o=0;var i;var s;{i=a.A=doc.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&a.o&2?"slot-fb":a.k);{updateElement(null,a,isSvgMode)}var u=i.getRootNode();var l=!u.querySelector("body");if(!l&&BUILD.scoped&&isDef(scopeId)&&i["s-si"]!==scopeId){i.classList.add(i["s-si"]=scopeId)}if(a._){for(o=0;o<a._.length;++o){s=createElm(e,a,o);if(s){i.appendChild(s)}}}}i["s-hn"]=hostTagName;return i};var addVnodes=function(e,r,t,n,a,o){var i=e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;a<=o;++a){if(n[a]){s=createElm(null,t,a);if(s){n[a].A=s;insertBefore(i,s,r)}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var o=a.A;if(o){o.remove()}}}};var updateChildren=function(e,r,t,n,a){if(a===void 0){a=false}var o=0;var i=0;var s=0;var u=0;var l=r.length-1;var f=r[0];var c=r[l];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(o<=l&&i<=v){if(f==null){f=r[++o]}else if(c==null){c=r[--l]}else if(d==null){d=n[++i]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=r[++o];d=n[++i]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=r[--l];p=n[--v]}else if(isSameVnode(f,p,a)){patch(f,p,a);insertBefore(e,f.A,c.A.nextSibling);f=r[++o];p=n[--v]}else if(isSameVnode(c,d,a)){patch(c,d,a);insertBefore(e,c.A,f.A);c=r[--l];d=n[++i]}else{s=-1;{for(u=o;u<=l;++u){if(r[u]&&r[u].T!==null&&r[u].T===d.T){s=u;break}}}if(s>=0){h=r[s];if(h.k!==d.k){m=createElm(r&&r[i],t,s)}else{patch(h,d,a);r[s]=void 0;m=h.A}d=n[++i]}else{m=createElm(r&&r[i],t,i);d=n[++i]}if(m){{insertBefore(f.A.parentNode,m,f.A)}}}}if(o>l){addVnodes(e,n[v+1]==null?null:n[v+1].A,t,n,i,v)}else if(i>v){removeVnodes(r,o,l)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.k===r.k){if(!t){return e.T===r.T}return true}return false};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.A=e.A;var a=e._;var o=r._;var i=r.k;{{if(i==="slot"&&!useNativeShadowDom);else{updateElement(e,r,isSvgMode)}}if(a!==null&&o!==null){updateChildren(n,a,r,o,t)}else if(o!==null){addVnodes(n,null,r,o,0,o.length-1)}else if(!t&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}}};var insertBefore=function(e,r,t){var n=e==null?void 0:e.insertBefore(r,t);return n};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var a=e.i;var o=e.L||newVNode(null,null);var i=isHost(r)?r:h(null,null,r);hostTagName=n.tagName;if(a.R){i.C=i.C||{};a.R.map((function(e){var r=e[0],t=e[1];return i.C[t]=n[r]}))}if(t&&i.C){for(var s=0,u=Object.keys(i.C);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){i.C[l]=n[l]}}}i.k=null;i.o|=4;e.L=i;i.A=o.A=n.shadowRoot||n;{scopeId=n["s-sc"]}useNativeShadowDom=(a.o&1)!==0;patch(o,i,t)};var attachToAncestor=function(e,r){if(r&&!e.M&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.M=r})))}};var scheduleUpdate=function(e,r){{e.o|=16}if(e.o&4){e.o|=512;return}attachToAncestor(e,e.H);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.i.p);var a=e.t;if(!a){throw new Error("Can't render component <".concat(t.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"))}var o;if(r){{e.o|=256;if(e.N){e.N.map((function(e){var r=e[0],t=e[1];return safeCall(a,r,t)}));e.N=void 0}}}n();return enqueue(o,(function(){return updateComponent(e,a,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,i,s,u,l;return __generator(this,(function(f){a=e.$hostElement$;o=createTime("update",e.i.p);i=a["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.i.p);{callRender(e,r,a,t)}if(i){i.map((function(e){return e()}));a["s-rc"]=void 0}s();o();{u=(n=a["s-p"])!=null?n:[];l=function(){return postUpdateComponent(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.o|=4;u.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render();{e.o&=~16}{e.o|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.i.p;var t=e.$hostElement$;var n=createTime("postUpdate",r);var a=e.t;var o=e.H;if(!(e.o&64)){e.o|=64;{addHydratedFlag(t)}{safeCall(a,"componentDidLoad")}n();{e.v(t);if(!o){appDidLoad()}}}else{n()}{if(e.M){e.M();e.M=void 0}if(e.o&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.o&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e)}}return void 0};var addHydratedFlag=function(e){var r;return e.setAttribute((r=BUILD.hydratedSelectorName)!=null?r:"hydrated","")};var getValue=function(e,r){return getHostRef(e).u.get(r)};var setValue=function(e,r,t,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.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/ionic-team/stencil/issues/5457).'))}var o=a.$hostElement$;var i=a.u.get(r);var s=a.o;var u=a.t;t=parsePropertyValue(t,n.$[r][0]);var l=Number.isNaN(i)&&Number.isNaN(t);var f=t!==i&&!l;if((!(s&8)||i===void 0)&&f){a.u.set(r,t);if(u){if(n.O&&s&128){var c=n.O[r];if(c){c.map((function(e){try{u[e](t,i,r)}catch(e){consoleError(e,o)}}))}}if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,r,t){var n,a;var o=e.prototype;if(r.$||(r.O||e.watchers)){if(e.watchers&&!r.O){r.O=e.watchers}var i=Object.entries((n=r.$)!=null?n:{});i.map((function(e){var n=e[0],a=e[1][0];if(a&31||t&2&&a&32){Object.defineProperty(o,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var s=new Map;o.attributeChangedCallback=function(e,t,n){var a=this;plt.jmp((function(){var i;var u=s.get(e);if(a.hasOwnProperty(u)){n=a[u];delete a[u]}else if(o.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==n){return}else if(u==null){var l=getHostRef(a);var f=l==null?void 0:l.o;if(f&&!(f&8)&&f&128&&n!==t){var c=l.t;var v=(i=r.O)==null?void 0:i[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}a[u]=n===null&&typeof a[u]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.O)!=null?a:{}),true),i.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a;var o=n[1]||t;s.set(o,t);if(n[0]&512){(a=r.R)==null?void 0:a.push([t,o])}return o})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,i,s,u,l,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.o&32)===0))return[3,6];r.o|=32;a=t.m;if(!a)return[3,4];o=loadModule(t);if(!(o&&"then"in o))return[3,2];i=uniqueTime();return[4,o];case 1:n=p.sent();i();return[3,3];case 2:n=o;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.p,"#").concat(r.P,'" was not found'))}if(!n.isProxied){{t.O=n.watchers}proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.p);{r.o|=8}try{new n(r)}catch(e){consoleError(e)}{r.o&=~8}{r.o|=128}s();return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return r.o|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.p);registerStyle(f,l,!!(t.o&1));c()}}p.label=6;case 6:v=r.H;d=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.o&1)===0){var r=getHostRef(e);var t=r.i;var n=createTime("connectedCallback",t.p);if(!(r.o&1)){r.o|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(r,r.H=a);break}}}if(t.$){Object.entries(t.$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{initializeComponent(e,r,t)}}else{addHostEventListeners(e,r,t.V);if(r==null?void 0:r.t);else if(r==null?void 0:r.l){r.l.then((function(){return fireConnectedCallback()}))}}n()}};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.o&1)===0){r=getHostRef(e);{if(r.I){r.I.map((function(e){return e()}));r.I=void 0}}if(r==null?void 0:r.t){disconnectInstance(r.t)}else if(r==null?void 0:r.l){r.l.then((function(){return disconnectInstance(r.t)}))}}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;var n=createTime();var a=[];var o=r.exclude||[];var i=win.customElements;var s=doc.head;var u=s.querySelector("meta[charset]");var l=doc.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt.h=new URL(r.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t;var n={o:r[0],p:r[1],$:r[2],V:r[3]};if(n.o&4){d=true}{n.$=r[2]}{n.V=r[3]}{n.R=[]}{n.O=(t=r[4])!=null?t:{}}var s=n.p;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,n);if(n.o&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.p,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;var r=getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,r,n.V)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};r.prototype.componentOnReady=function(){return getHostRef(this).l};return r}(HTMLElement);n.m=e[0];if(!o.includes(s)&&!i.get(s)){a.push(s);i.define(s,proxyComponent(u,n,1))}}))}));if(a.length>0){if(d){l.textContent+=SLOT_FB_CSS}{l.textContent+=a.sort()+HYDRATED_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(t=plt.D)!=null?t:queryNonceMetaTagContent(doc);if(p!=null){l.setAttribute("nonce",p)}s.insertBefore(l,u?u.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],a=t[1],o=t[2];var i=e;var s=hostListenerProxy(r,o);var u=hostListenerOpts(n);plt.ael(i,a,s,u);(r.I=r.I||[]).push((function(){return plt.rel(i,a,s,u)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.o&256){(n=e.t)==null?void 0:n[r](t)}else{(e.N=e.N||[]).push([r,t])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.D=e};export{Host as H,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function c(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(c,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-20fd282d.js";export{s as setNonce}from"./index-20fd282d.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))};export{defineCustomElements};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function c(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(c,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-af411208.js";export{s as setNonce}from"./index-af411208.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-20fd282d.js";var mdsAccordionTimerCss="@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n.static{\n\n position: static;\n}\n\n.fixed{\n\n position: fixed;\n}\n\n.absolute{\n\n position: absolute;\n}\n\n.border{\n\n border-width: 1px;\n}\n\n.bg-label-amaranth-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-aqua-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-blue-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-green-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-lime-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orange-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orchid-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-violet-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-yellow-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));\n}\n\n.bg-tone-neutral-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));\n}\n\n.fill-label-amaranth-04{\n\n fill: rgb(var(--label-amaranth-04));\n}\n\n.fill-label-aqua-04{\n\n fill: rgb(var(--label-aqua-04));\n}\n\n.fill-label-blue-04{\n\n fill: rgb(var(--label-blue-04));\n}\n\n.fill-label-green-04{\n\n fill: rgb(var(--label-green-04));\n}\n\n.fill-label-lime-04{\n\n fill: rgb(var(--label-lime-04));\n}\n\n.fill-label-orange-04{\n\n fill: rgb(var(--label-orange-04));\n}\n\n.fill-label-orchid-04{\n\n fill: rgb(var(--label-orchid-04));\n}\n\n.fill-label-violet-04{\n\n fill: rgb(var(--label-violet-04));\n}\n\n.fill-label-yellow-04{\n\n fill: rgb(var(--label-yellow-04));\n}\n\n.fill-tone-neutral-04{\n\n fill: rgb(var(--tone-neutral-04));\n}\n\n.text-label-amaranth-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));\n}\n\n.text-label-aqua-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));\n}\n\n.text-label-blue-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-blue-04) / var(--tw-text-opacity));\n}\n\n.text-label-green-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-green-04) / var(--tw-text-opacity));\n}\n\n.text-label-lime-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-lime-04) / var(--tw-text-opacity));\n}\n\n.text-label-orange-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orange-04) / var(--tw-text-opacity));\n}\n\n.text-label-orchid-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));\n}\n\n.text-label-violet-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-violet-04) / var(--tw-text-opacity));\n}\n\n.text-label-yellow-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));\n}\n\n.text-tone-neutral-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));\n}\n\n.shadow{\n\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";var MdsAccordionTimerStyle0=mdsAccordionTimerCss;var MdsAccordionTimer=function(){function n(n){var t=this;registerInstance(this,n);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.currentDuration=0;this.clearIntervals=function(){window.clearInterval(t.timeChecker);t.timeChecker=0};this.remainingTime=function(){var n=t.selectedItemRemainingTime-((new Date).getTime()-t.timeStarted);return n>=0?n:0};this.progress=function(){return Math.abs(t.remainingTime()/t.currentDuration-1)};this.addTimeListener=function(){t.timeChecker=window.setInterval((function(){var n=t.progress();if(t.selectedItem!==undefined){t.selectedItem.progress=n}if(n===1){t.selectedItem.progress=0;t.startNext()}}),100)};this.beginningTime=function(){t.timeStarted=(new Date).getTime();return t.timeStarted};this.setSelectedItem=function(n){t.children.forEach((function(e,r){if(r===n){e.selected=true;e.duration?t.currentDuration=e.duration:t.currentDuration=t.duration;t.selectedItem=e;t.changeEvent.emit({index:r})}else{e.selected=false}}))};this.startNext=function(){var n=t.selectedItem.uuid+1>t.children.length-1?0:t.selectedItem.uuid+1;t.setSelectedItem(n);t.startTimer()};this.startTimer=function(){t.clearIntervals();t.time=t.beginningTime();t.selectedItemRemainingTime=t.currentDuration;t.addTimeListener()};this.playTimer=function(){t.beginningTime();t.addTimeListener()};this.pauseTimer=function(){t.clearIntervals();t.selectedItemRemainingTime=t.remainingTime()};this.stopTimer=function(){t.clearIntervals()};this.time=0;this.duration=1e4;this.paused=undefined}n.prototype.componentDidLoad=function(){var n=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(t,e){t.uuid=e;if(t.selected){t.duration?n.currentDuration=t.duration:n.currentDuration=n.duration;n.selectedItem=t}}));if(this.selectedItem!==undefined){this.startTimer()}if(this.paused){this.pauseTimer()}};n.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};n.prototype.onClickSelect=function(n){this.clearIntervals();if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(n.detail.uuid);this.startTimer();this.pauseTimer()};n.prototype.onSelect=function(n){this.clearIntervals();this.paused=false;if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(n.detail.uuid);this.startTimer()};n.prototype.onMouseEnterSelect=function(){if(this.paused){return}this.pauseTimer()};n.prototype.onMouseLeaveSelect=function(){if(this.paused){return}if(this.timeChecker===0){this.playTimer()}};n.prototype.handlePaused=function(n){if(n){this.pauseTimer();return}this.playTimer()};n.prototype.render=function(){return h(Host,{key:"4b2e910a4c4099ecaaf7355c05c4d69a4e2e9d65"},h("slot",{key:"737db21aa1b2b8cbbcf760b715feea1eef8ad5ed"}))};Object.defineProperty(n.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{paused:["handlePaused"]}},enumerable:false,configurable:true});return n}();MdsAccordionTimer.style=MdsAccordionTimerStyle0;export{MdsAccordionTimer as mds_accordion_timer};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-af411208.js";var mdsAccordionTimerCss="@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";var MdsAccordionTimerStyle0=mdsAccordionTimerCss;var MdsAccordionTimer=function(){function t(t){var i=this;registerInstance(this,t);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.currentDuration=0;this.clearIntervals=function(){if(typeof window!=="undefined"){window.clearInterval(i.timeChecker)}i.timeChecker=0};this.remainingTime=function(){var t=i.selectedItemRemainingTime-((new Date).getTime()-i.timeStarted);return t>=0?t:0};this.progress=function(){return Math.abs(i.remainingTime()/i.currentDuration-1)};this.addTimeListener=function(){if(typeof window!=="undefined"){i.timeChecker=window.setInterval((function(){var t=i.progress();if(i.selectedItem!==undefined){i.selectedItem.progress=t}if(t===1){i.selectedItem.progress=0;i.startNext()}}),100)}};this.beginningTime=function(){i.timeStarted=(new Date).getTime();return i.timeStarted};this.setSelectedItem=function(t){i.children.forEach((function(n,e){if(e===t){n.selected=true;n.duration?i.currentDuration=n.duration:i.currentDuration=i.duration;i.selectedItem=n;i.changeEvent.emit({index:e})}else{n.selected=false}}))};this.startNext=function(){var t=i.selectedItem.uuid+1>i.children.length-1?0:i.selectedItem.uuid+1;i.setSelectedItem(t);i.startTimer()};this.startTimer=function(){i.clearIntervals();i.time=i.beginningTime();i.selectedItemRemainingTime=i.currentDuration;i.addTimeListener()};this.playTimer=function(){i.beginningTime();i.addTimeListener()};this.pauseTimer=function(){i.clearIntervals();i.selectedItemRemainingTime=i.remainingTime()};this.stopTimer=function(){i.clearIntervals()};this.time=0;this.duration=1e4;this.paused=undefined}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(i,n){i.uuid=n;if(i.selected){i.duration?t.currentDuration=i.duration:t.currentDuration=t.duration;t.selectedItem=i}}));if(this.selectedItem!==undefined){this.startTimer()}if(this.paused){this.pauseTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickSelect=function(t){this.clearIntervals();if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onSelect=function(t){this.clearIntervals();this.paused=false;if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer()};t.prototype.onMouseEnterSelect=function(){if(this.paused){return}this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.paused){return}if(this.timeChecker===0){this.playTimer()}};t.prototype.handlePaused=function(t){if(t){this.pauseTimer();return}this.playTimer()};t.prototype.render=function(){return h(Host,{key:"9816683b4c8bacb97302685b1f1b45ff8ab1a209"},h("slot",{key:"b411a4cdbb6f133f871979df4eccd70433567b56"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{paused:["handlePaused"]}},enumerable:false,configurable:true});return t}();MdsAccordionTimer.style=MdsAccordionTimerStyle0;export{MdsAccordionTimer as mds_accordion_timer};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function c(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):o(e.value).then(c,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(r=0)),r)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){r.label=a[1];break}if(a[0]===6&&r.label<i[1]){r.label=i[1];i=a;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(a);break}if(i[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-20fd282d.js";export{s as setNonce}from"./index-20fd282d.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e)]}}))}))}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function c(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):o(e.value).then(c,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(r=0)),r)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){r.label=a[1];break}if(a[0]===6&&r.label<i[1]){r.label=i[1];i=a;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(a);break}if(i[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-af411208.js";export{s as setNonce}from"./index-af411208.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e)]}}))}))}));
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-6d230e24.js";export{s as setNonce}from"./p-6d230e24.js";import{g as t}from"./p-e1255160.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-9d12b7bb",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e))));
1
+ import{p as e,b as o}from"./p-8dd37a13.js";export{s as setNonce}from"./p-8dd37a13.js";import{g as t}from"./p-e1255160.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-86e0d6b4",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e))));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-dd7ad5d9.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-25856ee2.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,c){function o(e){try{s(r.next(e))}catch(e){c(e)}}function u(e){try{s(r["throw"](e))}catch(e){c(e)}}function s(e){e.done?n(e.value):i(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,i,c,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(r=1,i&&(c=u[0]&2?i["return"]:u[0]?i["throw"]||((c=i["return"])&&c.call(i),0):i.next)&&!(c=c.call(i,u[1])).done)return c;if(i=0,c)u=[u[0]&2,c.value];switch(u[0]){case 0:case 1:c=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(c=n.trys,c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){n.label=u[1];break}if(u[0]===6&&n.label<c[1]){n.label=c[1];c=u;break}if(c&&n.label<c[2]){n.label=c[2];n.ops.push(u);break}if(c[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-fe7bbbcf.system.js","./p-56ba5cbf.system.js"],(function(e,t){"use strict";var n,r,i;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)},function(e){i=e.g}],execute:function(){var e=this;var c=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};c().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,i()];case 1:e.sent();return[2,r([["p-b63ea901.system",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,c){function o(e){try{s(r.next(e))}catch(e){c(e)}}function u(e){try{s(r["throw"](e))}catch(e){c(e)}}function s(e){e.done?n(e.value):i(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,i,c,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(r=1,i&&(c=u[0]&2?i["return"]:u[0]?i["throw"]||((c=i["return"])&&c.call(i),0):i.next)&&!(c=c.call(i,u[1])).done)return c;if(i=0,c)u=[u[0]&2,c.value];switch(u[0]){case 0:case 1:c=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(c=n.trys,c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){n.label=u[1];break}if(u[0]===6&&n.label<c[1]){n.label=c[1];c=u;break}if(c&&n.label<c[2]){n.label=c[2];n.ops.push(u);break}if(c[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-62c48ff3.system.js","./p-56ba5cbf.system.js"],(function(e,t){"use strict";var n,r,i;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)},function(e){i=e.g}],execute:function(){var e=this;var c=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};c().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,i()];case 1:e.sent();return[2,r([["p-4eb3ec08.system",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))}))}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-62c48ff3.system.js"],(function(t){"use strict";var n,i,e,r,o;return{setters:[function(t){n=t.r;i=t.c;e=t.h;r=t.H;o=t.g}],execute:function(){var s="@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";var c=s;var a=t("mds_accordion_timer",function(){function t(t){var e=this;n(this,t);this.changeEvent=i(this,"mdsAccordionTimerChange",7);this.currentDuration=0;this.clearIntervals=function(){if(typeof window!=="undefined"){window.clearInterval(e.timeChecker)}e.timeChecker=0};this.remainingTime=function(){var t=e.selectedItemRemainingTime-((new Date).getTime()-e.timeStarted);return t>=0?t:0};this.progress=function(){return Math.abs(e.remainingTime()/e.currentDuration-1)};this.addTimeListener=function(){if(typeof window!=="undefined"){e.timeChecker=window.setInterval((function(){var t=e.progress();if(e.selectedItem!==undefined){e.selectedItem.progress=t}if(t===1){e.selectedItem.progress=0;e.startNext()}}),100)}};this.beginningTime=function(){e.timeStarted=(new Date).getTime();return e.timeStarted};this.setSelectedItem=function(t){e.children.forEach((function(n,i){if(i===t){n.selected=true;n.duration?e.currentDuration=n.duration:e.currentDuration=e.duration;e.selectedItem=n;e.changeEvent.emit({index:i})}else{n.selected=false}}))};this.startNext=function(){var t=e.selectedItem.uuid+1>e.children.length-1?0:e.selectedItem.uuid+1;e.setSelectedItem(t);e.startTimer()};this.startTimer=function(){e.clearIntervals();e.time=e.beginningTime();e.selectedItemRemainingTime=e.currentDuration;e.addTimeListener()};this.playTimer=function(){e.beginningTime();e.addTimeListener()};this.pauseTimer=function(){e.clearIntervals();e.selectedItemRemainingTime=e.remainingTime()};this.stopTimer=function(){e.clearIntervals()};this.time=0;this.duration=1e4;this.paused=undefined}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(n,i){n.uuid=i;if(n.selected){n.duration?t.currentDuration=n.duration:t.currentDuration=t.duration;t.selectedItem=n}}));if(this.selectedItem!==undefined){this.startTimer()}if(this.paused){this.pauseTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickSelect=function(t){this.clearIntervals();if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onSelect=function(t){this.clearIntervals();this.paused=false;if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer()};t.prototype.onMouseEnterSelect=function(){if(this.paused){return}this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.paused){return}if(this.timeChecker===0){this.playTimer()}};t.prototype.handlePaused=function(t){if(t){this.pauseTimer();return}this.playTimer()};t.prototype.render=function(){return e(r,{key:"9816683b4c8bacb97302685b1f1b45ff8ab1a209"},e("slot",{key:"b411a4cdbb6f133f871979df4eccd70433567b56"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{paused:["handlePaused"]}},enumerable:false,configurable:true});return t}());a.style=c}}}));
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(u,f)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(e){return o([r,e])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(n=0)),n)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:n.label++;return{value:f[1],done:false};case 5:n.label++;i=f[1];f=[0];continue;case 7:f=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){n.label=f[1];break}if(f[0]===6&&n.label<a[1]){n.label=a[1];a=f;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(f);break}if(a[2])n.ops.pop();n.trys.pop();continue}f=e.call(r,n)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t="mds-accordion-timer";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:false,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:true,propString:false,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:false,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:false,vdomXlink:false,watchCallback:true};var a=Object.defineProperty;var u=function(r,e){for(var n in e)a(r,n,{get:e[n],enumerable:true})};var f=new WeakMap;var o=function(r){return f.get(r)};var l=r("r",(function(r,e){return f.set(e.t=r,e)}));var s=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}));r["s-p"]=[];r["s-rc"]=[]}return f.set(r,n)};var c=function(r,e){return e in r};var v=function(r,e){return(0,console.error)(r,e)};var d=new Map;var h=function(r,n,t){var i=r.h.replace(/-/g,"_");var a=r.p;if(!a){return void 0}var u=d.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{d.set(a,r)}return r[i]}),v)};var p=new Map;var m="{visibility:hidden}[hydrated]{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var b=w.document||{head:{}};var S={i:0,m:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var g=function(){var r=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var _=r("p",(function(r){return Promise.resolve(r)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var k=false;var A=[];var C=[];var x=function(r,e){return function(n){r.push(n);if(!k){k=true;if(e&&S.i&4){T(O)}else{S.raf(O)}}}};var j=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){v(r)}}r.length=0};var O=function(){j(A);{j(C);if(k=A.length>0){S.raf(O)}}};var T=function(r){return _().then(r)};var E=x(C,true);var D={};var L=function(r){return r!=null};var M=function(r){r=typeof r;return r==="object"||r==="function"};function F(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var P={};u(P,{err:function(){return N},map:function(){return U},ok:function(){return R},unwrap:function(){return W},unwrapErr:function(){return H}});var R=function(r){return{isOk:true,isErr:false,value:r}};var N=function(r){return{isOk:false,isErr:true,value:r}};function U(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return R(r)}))}else{return R(n)}}if(r.isErr){var t=r.value;return N(t)}throw"should never get here"}var W=function(r){if(r.isOk){return r.value}else{throw r.value}};var H=function(r){if(r.isErr){return r.value}else{throw r.value}};var z=function(r,e){if(e===void 0){e=""}{return function(){return}}};var B=function(r,e){{return function(){return}}};var G=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var u=false;var f=false;var o=[];var l=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!M(i)){i=String(i)}if(u&&f){o[o.length-1].S+=i}else{o.push(u?Q(null,i):i)}f=u}}};l(n);if(e){if(e.key){a=e.key}}var s=Q(r,null);s._=e;if(o.length>0){s.$=o}{s.k=a}return s}));var Q=function(r,e){var n={i:0,A:r,S:e,C:null,$:null};{n._=null}{n.k=null}return n};var q=r("H",{});var I=function(r){return r&&r.A===q};var K=function(r,e){if(r!=null&&!M(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}return r}return r};var V=r("g",(function(r){return o(r).$hostElement$}));var X=r("c",(function(r,e,n){var t=V(r);return{emit:function(r){return J(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var J=function(r,e,n){var t=S.ce(e,n);r.dispatchEvent(t);return t};var Y=new WeakMap;var Z=function(r,e,n){var t=p.get(r);if($&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}p.set(r,t)};var rr=function(r,e,n){var t;var i=nr(e);var a=p.get(i);r=r.nodeType===11?r:b;if(a){if(typeof a==="string"){r=r.head||r;var u=Y.get(r);var f=void 0;if(!u){Y.set(r,u=new Set)}if(!u.has(i)){{f=b.createElement("style");f.innerHTML=a;var o=(t=S.j)!=null?t:F(b);if(o!=null){f.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(f,s)}else if("host"in r){if($){var c=new CSSStyleSheet;c.replaceSync(a);r.adoptedStyleSheets=__spreadArray([c],r.adoptedStyleSheets,true)}else{var v=r.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{r.prepend(f)}}}else{r.append(f)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(f,null)}}if(e.i&4){f.innerHTML+=y}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var er=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=z("attachStyles",e.h);var a=rr(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var nr=function(r,e){return"sc-"+r.h};var tr=function(r,e,n,t,i,a){if(n!==t){var u=c(r,e);e.toLowerCase();if(e==="key");else{var f=M(t);if((u||f&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var o=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!=o){if(typeof r.__lookupSetter__(e)==="function"){r[e]=o}else{r.setAttribute(e,o)}}}else{r[e]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){{r.removeAttribute(e)}}}else if((!u||a&4||i)&&!f){t=t===true?"":t;{r.setAttribute(e,t)}}}}};var ir=function(r,e,n){var t=e.C.nodeType===11&&e.C.host?e.C.host:e.C;var i=r&&r._||D;var a=e._||D;{for(var u=0,f=ar(Object.keys(i));u<f.length;u++){var o=f[u];if(!(o in a)){tr(t,o,i[o],void 0,n,e.i)}}}for(var l=0,s=ar(Object.keys(a));l<s.length;l++){var o=s[l];tr(t,o,i[o],a[o],n,e.i)}};function ar(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var ur;var fr;var or=false;var lr=false;var sr=function(r,e,n,t){var a=e.$[n];var u=0;var f;var o;{f=a.C=b.createElement(!or&&i.slotRelocation&&a.i&2?"slot-fb":a.A);{ir(null,a,lr)}var l=f.getRootNode();var s=!l.querySelector("body");if(!s&&i.scoped&&L(ur)&&f["s-si"]!==ur){f.classList.add(f["s-si"]=ur)}if(a.$){for(u=0;u<a.$.length;++u){o=sr(r,a,u);if(o){f.appendChild(o)}}}}f["s-hn"]=fr;return f};var cr=function(r,e,n,t,i,a){var u=r;var f;if(u.shadowRoot&&u.tagName===fr){u=u.shadowRoot}for(;i<=a;++i){if(t[i]){f=sr(null,n,i);if(f){t[i].C=f;mr(u,f,e)}}}};var vr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.C;if(a){a.remove()}}}};var dr=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=0;var o=0;var l=e.length-1;var s=e[0];var c=e[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(a<=l&&u<=v){if(s==null){s=e[++a]}else if(c==null){c=e[--l]}else if(d==null){d=t[++u]}else if(h==null){h=t[--v]}else if(hr(s,d,i)){pr(s,d,i);s=e[++a];d=t[++u]}else if(hr(c,h,i)){pr(c,h,i);c=e[--l];h=t[--v]}else if(hr(s,h,i)){pr(s,h,i);mr(r,s.C,c.C.nextSibling);s=e[++a];h=t[--v]}else if(hr(c,d,i)){pr(c,d,i);mr(r,c.C,s.C);c=e[--l];d=t[++u]}else{f=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].k!==null&&e[o].k===d.k){f=o;break}}}if(f>=0){m=e[f];if(m.A!==d.A){p=sr(e&&e[u],n,f)}else{pr(m,d,i);e[f]=void 0;p=m.C}d=t[++u]}else{p=sr(e&&e[u],n,u);d=t[++u]}if(p){{mr(s.C.parentNode,p,s.C)}}}}if(a>l){cr(r,t[v+1]==null?null:t[v+1].C,n,t,u,v)}else if(u>v){vr(e,a,l)}};var hr=function(r,e,n){if(n===void 0){n=false}if(r.A===e.A){if(!n){return r.k===e.k}return true}return false};var pr=function(r,e,n){if(n===void 0){n=false}var t=e.C=r.C;var a=r.$;var u=e.$;var f=e.A;{{if(f==="slot"&&!or);else{ir(r,e,lr)}}if(a!==null&&u!==null){dr(t,a,e,u,n)}else if(u!==null){cr(t,null,e,u,0,u.length-1)}else if(!n&&i.updatable&&a!==null){vr(a,0,a.length-1)}}};var mr=function(r,e,n){var t=r==null?void 0:r.insertBefore(e,n);return t};var yr=function(r,e,n){if(n===void 0){n=false}var t=r.$hostElement$;var i=r.u;var a=r.O||Q(null,null);var u=I(e)?e:G(null,null,e);fr=t.tagName;if(i.T){u._=u._||{};i.T.map((function(r){var e=r[0],n=r[1];return u._[n]=t[e]}))}if(n&&u._){for(var f=0,o=Object.keys(u._);f<o.length;f++){var l=o[f];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){u._[l]=t[l]}}}u.A=null;u.i|=4;r.O=u;u.C=a.C=t.shadowRoot||t;{ur=t["s-sc"]}or=(i.i&1)!==0;pr(a,u,n)};var wr=function(r,e){if(e&&!r.D&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.D=e})))}};var br=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}wr(r,r.L);var n=function(){return Sr(r,e)};return E(n)};var Sr=function(r,e){var n=r.$hostElement$;var t=z("scheduleUpdate",r.u.h);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.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"))}var a;if(e){{r.i|=256;if(r.M){r.M.map((function(r){var e=r[0],n=r[1];return xr(i,e,n)}));r.M=void 0}}}t();return gr(a,(function(){return $r(r,i,e)}))};var gr=function(r,e){return _r(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var _r=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var $r=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l;return __generator(this,(function(s){i=r.$hostElement$;a=z("update",r.u.h);u=i["s-rc"];if(t){er(r)}f=z("render",r.u.h);{kr(r,e,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=void 0}f();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return Ar(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var kr=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{yr(r,e,t)}}}}catch(e){v(e,r.$hostElement$)}return null};var Ar=function(r){var e=r.u.h;var n=r.$hostElement$;var t=z("postUpdate",e);var i=r.t;var a=r.L;if(!(r.i&64)){r.i|=64;{jr(n)}{xr(i,"componentDidLoad")}t();{r.v(n);if(!a){Cr()}}}else{t()}{if(r.D){r.D();r.D=void 0}if(r.i&512){T((function(){return br(r,false)}))}r.i&=~(4|512)}};var Cr=function(r){{jr(b.documentElement)}T((function(){return J(w,"appload",{detail:{namespace:t}})}))};var xr=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){v(r)}}return void 0};var jr=function(r){var e;return r.setAttribute((e=i.hydratedSelectorName)!=null?e:"hydrated","")};var Or=function(r,e){return o(r).o.get(e)};var Tr=function(r,e,n,t){var i=o(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.h,'" 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/ionic-team/stencil/issues/5457).'))}var a=i.$hostElement$;var u=i.o.get(e);var f=i.i;var l=i.t;n=K(n,t.F[e][0]);var s=Number.isNaN(u)&&Number.isNaN(n);var c=n!==u&&!s;if((!(f&8)||u===void 0)&&c){i.o.set(e,n);if(l){if(t.P&&f&128){var d=t.P[e];if(d){d.map((function(r){try{l[r](n,u,e)}catch(r){v(r,a)}}))}}if((f&(2|16))===2){br(i,false)}}}};var Er=function(r,e,n){var t,i;var a=r.prototype;if(e.F||(e.P||r.watchers)){if(r.watchers&&!e.P){e.P=r.watchers}var u=Object.entries((t=e.F)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return Or(this,t)},set:function(r){Tr(this,t,r,e)},configurable:true,enumerable:true})}}));if(n&1){var f=new Map;a.attributeChangedCallback=function(r,n,t){var i=this;S.jmp((function(){var u;var l=f.get(r);if(i.hasOwnProperty(l)){t=i[l];delete i[l]}else if(a.hasOwnProperty(l)&&typeof i[l]==="number"&&i[l]==t){return}else if(l==null){var s=o(i);var c=s==null?void 0:s.i;if(c&&!(c&8)&&c&128&&t!==n){var v=s.t;var d=(u=e.P)==null?void 0:u[r];d==null?void 0:d.forEach((function(e){if(v[e]!=null){v[e].call(v,t,n,r)}}))}return}i[l]=t===null&&typeof i[l]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=e.P)!=null?i:{}),true),u.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.T)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var Dr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l,s,c,d,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.p;if(!i)return[3,4];a=h(t);if(!(a&&"then"in a))return[3,2];u=B();return[4,a];case 1:n=y.sent();u();return[3,3];case 2:n=a;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(e.R,'" was not found'))}if(!n.isProxied){{t.P=n.watchers}Er(n,t,2);n.isProxied=true}f=z("createInstance",t.h);{e.i|=8}try{new n(e)}catch(r){v(r)}{e.i&=~8}{e.i|=128}f();return[3,5];case 4:n=r.constructor;o=r.localName;customElements.whenDefined(o).then((function(){return e.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=nr(t);if(!p.has(s)){c=z("registerStyles",t.h);Z(s,l,!!(t.i&1));c()}}y.label=6;case 6:d=e.L;m=function(){return br(e,true)};if(d&&d["s-rc"]){d["s-rc"].push(m)}else{m()}return[2]}}))}))};var Lr=function(r){};var Mr=function(r){if((S.i&1)===0){var e=o(r);var n=e.u;var t=z("connectedCallback",n.h);if(!(e.i&1)){e.i|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){wr(e,e.L=i);break}}}if(n.F){Object.entries(n.F).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Dr(r,e,n)}}else{Nr(r,e,n.N);if(e==null?void 0:e.t);else if(e==null?void 0:e.l){e.l.then((function(){return Lr()}))}}t()}};var Fr=function(r){{xr(r,"disconnectedCallback")}};var Pr=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((S.i&1)===0){e=o(r);{if(e.U){e.U.map((function(r){return r()}));e.U=void 0}}if(e==null?void 0:e.t){Fr(e.t)}else if(e==null?void 0:e.l){e.l.then((function(){return Fr(e.t)}))}}return[2]}))}))};var Rr=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=z();var i=[];var a=e.exclude||[];var u=w.customElements;var f=b.head;var l=f.querySelector("meta[charset]");var c=b.createElement("style");var v=[];var d;var h=true;Object.assign(S,e);S.m=new URL(e.resourcesUrl||"./",b.baseURI).href;var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],h:e[1],F:e[2],N:e[3]};if(t.i&4){p=true}{t.F=e[2]}{t.N=e[3]}{t.T=[]}{t.P=(n=e[4])!=null?n:{}}var f=t.h;var l=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;s(e,t);if(t.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.h,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Nr(this,e,t.N)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{S.jmp((function(){return Mr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;S.jmp((function(){return Pr(r)}))};e.prototype.componentOnReady=function(){return o(this).l};return e}(HTMLElement);t.p=r[0];if(!a.includes(f)&&!u.get(f)){i.push(f);u.define(f,Er(l,t,1))}}))}));if(i.length>0){if(p){c.textContent+=y}{c.textContent+=i.sort()+m}if(c.innerHTML.length){c.setAttribute("data-styles","");var g=(n=S.j)!=null?n:F(b);if(g!=null){c.setAttribute("nonce",g)}f.insertBefore(c,l?l.nextSibling:f.firstChild)}}h=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{S.jmp((function(){return d=setTimeout(Cr,30)}))}}t()}));var Nr=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var u=r;var f=Ur(e,a);var o=Wr(t);S.ael(u,i,f,o);(e.U=e.U||[]).push((function(){return S.rel(u,i,f,o)}))}))}};var Ur=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.M=r.M||[]).push([e,n])}}}catch(r){v(r)}}};var Wr=function(r){return g?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Hr=r("s",(function(r){return S.j=r}))}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-8dd37a13.js";const n=class{constructor(s){t(this,s),this.changeEvent=i(this,"mdsAccordionTimerChange",7),this.currentDuration=0,this.clearIntervals=()=>{"undefined"!=typeof window&&window.clearInterval(this.timeChecker),this.timeChecker=0},this.remainingTime=()=>{const t=this.selectedItemRemainingTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.progress=()=>Math.abs(this.remainingTime()/this.currentDuration-1),this.addTimeListener=()=>{"undefined"!=typeof window&&(this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100))},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.setSelectedItem=t=>{this.children.forEach(((i,s)=>{s===t?(i.selected=!0,this.currentDuration=i.duration?i.duration:this.duration,this.selectedItem=i,this.changeEvent.emit({index:s})):i.selected=!1}))},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemRemainingTime=this.currentDuration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemRemainingTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()},this.time=0,this.duration=1e4,this.paused=void 0}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,i)=>{t.uuid=i,t.selected&&(this.currentDuration=t.duration?t.duration:this.duration,this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer(),this.paused&&this.pauseTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickSelect(t){this.clearIntervals(),this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onSelect(t){this.clearIntervals(),this.paused=!1,this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer()}onMouseEnterSelect(){this.paused||this.pauseTimer()}onMouseLeaveSelect(){this.paused||0===this.timeChecker&&this.playTimer()}handlePaused(t){t?this.pauseTimer():this.playTimer()}render(){return s(e,{key:"9816683b4c8bacb97302685b1f1b45ff8ab1a209"},s("slot",{key:"b411a4cdbb6f133f871979df4eccd70433567b56"}))}get element(){return o(this)}static get watchers(){return{paused:["handlePaused"]}}};n.style="@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";export{n as mds_accordion_timer}
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},a=c.document||{head:{}},u={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],p=[],y=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.l?w($):u.raf($))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{v(m),v(p),(d=m.length>0)&&u.raf($)},w=e=>f().then(e),b=y(p,!0),S={},g=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>O,ok:()=>j,unwrap:()=>M,unwrapErr:()=>P});var j=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>j(e))):j(n)}if(e.isErr)return E(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},x=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!g(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};c(n),t&&t.key&&(o=t.key);const a=A(e,null);return a.u=t,i.length>0&&(a.h=i),a.m=o,a},A=(e,t)=>({l:0,p:e,i:t,v:null,h:null,u:null,m:null}),H={},D=e=>n(e).$hostElement$,T=(e,t,n)=>{const l=D(e);return{emit:e=>F(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},F=(e,t,n)=>{const l=u.ce(t,n);return e.dispatchEvent(l),l},L=new WeakMap,N=e=>"sc-"+e.$,R=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"key"===t);else{const i=g(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}}},U=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of W(Object.keys(o)))e in s||R(l,e,o[e],void 0,n,t.l);for(const e of W(Object.keys(s)))R(l,e,o[e],s[e],n,t.l)};function W(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=!1,V=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(o=l.v=a.createElement(l.p),U(null,l,G),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=V(e,l,r),s&&o.appendChild(s);return o["s-hn"]=C,o},_=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=V(null,n,o),r&&(l[o].v=r,J(i,r,t)))},z=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&e.remove()}}},B=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),I=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h;("slot"!==t.p||q)&&U(e,t,G),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,a=0,u=0,f=t.length-1,h=t[0],d=t[f],m=l.length-1,p=l[0],y=l[m];for(;i<=f&&c<=m;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++c];else if(null==y)y=l[--m];else if(B(h,p,o))I(h,p,o),h=t[++i],p=l[++c];else if(B(d,y,o))I(d,y,o),d=t[--f],y=l[--m];else if(B(h,y,o))I(h,y,o),J(e,h.v,d.v.nextSibling),h=t[++i],y=l[--m];else if(B(d,p,o))I(d,p,o),J(e,d.v,h.v),d=t[--f],p=l[++c];else{for(a=-1,u=i;u<=f;++u)if(t[u]&&null!==t[u].m&&t[u].m===p.m){a=u;break}a>=0?(r=t[a],r.p!==p.p?s=V(t&&t[c],n,a):(I(r,p,o),t[a]=void 0,s=r.v),p=l[++c]):(s=V(t&&t[c],n,c),p=l[++c]),s&&J(h.v.parentNode,s,h.v)}i>f?_(e,null==l[m+1]?null:l[m+1].v,n,l,c,m):c>m&&z(t,i,f)})(l,o,t,s,n):null!==s?_(l,null,t,s,0,s.length-1):!n&&null!==o&&z(o,0,o.length-1)},J=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),K=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Q=(e,t)=>{if(e.l|=16,!(4&e.l))return K(e,e.k),b((()=>X(e,t)));e.l|=512},X=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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`);return t&&(e.l|=256,e.j&&(e.j.map((([e,t])=>oe(n,e,t))),e.j=void 0)),Y(void 0,(()=>ee(e,n,t)))},Y=(e,t)=>Z(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Z=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ee=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=N(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=L.get(e=e.head||e);if(r||L.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=u.C)?n:k(a);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(h){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);te(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},te=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.M||A(null,null),r=(e=>e&&e.p===H)(t)?t:x(null,null,t);if(C=l.tagName,o.P&&(r.u=r.u||{},o.P.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.p=null,r.l|=4,e.M=r,r.v=s.v=l.shadowRoot||l,q=!!(1&o.l),I(s,r,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.t,l=e.k;64&e.l||(e.l|=64,se(t),oe(n,"componentDidLoad"),e.A(t),l||le()),e.S&&(e.S(),e.S=void 0),512&e.l&&w((()=>Q(e,!1))),e.l&=-517},le=()=>{se(a.documentElement),w((()=>F(c,"appload",{detail:{namespace:"mds-accordion-timer"}})))},oe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e)}},se=e=>e.setAttribute("hydrated",""),re=(e,t,l)=>{var s,r;const i=e.prototype;if(t.H||t.D||e.watchers){e.watchers&&!t.D&&(t.D=e.watchers);const c=Object.entries(null!=(s=t.H)?s:{});if(c.map((([e,[s]])=>{(31&s||2&l&&32&s)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,s)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${s.$}" 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/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.T.get(t),a=r.l,u=r.t;if(l=((e,t)=>null==e||g(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):e)(l,s.H[t][0]),(!(8&a)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.T.set(t,l),u)){if(s.D&&128&a){const e=s.D[t];e&&e.map((e=>{try{u[e](l,c,t)}catch(e){o(e,i)}}))}2==(18&a)&&Q(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){u.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.D)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.D)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.P)||o.push([e,s])),s}))]))}}return e},ie=e=>{oe(e,"disconnectedCallback")},ce=(e,l={})=>{var f;const d=[],m=l.exclude||[],p=c.customElements,y=a.head,v=y.querySelector("meta[charset]"),$=a.createElement("style"),w=[];let b,S=!0;Object.assign(u,l),u.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{var i;const c={l:l[0],$:l[1],H:l[2],F:l[3]};4&c.l&&(g=!0),c.H=l[2],c.F=l[3],c.P=[],c.D=null!=(i=l[4])?i:{};const a=c.$,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,T:new Map};l.L=new Promise((e=>l.A=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ae(this,e,c.F)),b&&(clearTimeout(b),b=null),S?w.push(this):u.jmp((()=>(e=>{if(!(1&u.l)){const t=n(e),l=t.O,i=()=>{};if(1&t.l)ae(e,t,l.F),(null==t?void 0:t.t)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){K(t,t.k=n);break}}l.H&&Object.entries(l.H).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.N;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.R}" was not found`);l.isProxied||(n.D=l.watchers,re(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,t.l|=128,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.k,c=()=>Q(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){u.jmp((()=>(async()=>{if(!(1&u.l)){const e=n(this);e.U&&(e.U.map((e=>e())),e.U=void 0),(null==e?void 0:e.t)?ie(e.t):(null==e?void 0:e.L)&&e.L.then((()=>ie(e.t)))}})()))}componentOnReady(){return n(this).L}};c.N=e[0],m.includes(a)||p.get(a)||(d.push(a),p.define(a,re(f,c,1)))}))})),d.length>0&&(g&&($.textContent+=i),$.textContent+=d.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(f=u.C)?f:k(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,v?v.nextSibling:y.firstChild)}S=!1,w.length?w.map((e=>e.connectedCallback())):u.jmp((()=>b=setTimeout(le,30)))},ae=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,r=ue(t,o),i=fe(n);u.ael(s,l,r,i),(t.U=t.U||[]).push((()=>u.rel(s,l,r,i)))}))},ue=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.j=e.j||[]).push([t,n])}catch(e){o(e)}},fe=e=>({passive:!!(1&e),capture:!!(2&e)}),he=e=>u.C=e;export{H,ce as b,T as c,D as g,x as h,f as p,l as r,he as s}
package/dist/stats.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-10-23T14:58:04",
2
+ "timestamp": "2024-12-04T18:05:07",
3
3
  "compiler": {
4
4
  "name": "node",
5
- "version": "20.10.0"
5
+ "version": "22.11.0"
6
6
  },
7
7
  "app": {
8
8
  "namespace": "MdsAccordionTimer",
@@ -17,6 +17,7 @@
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
19
  "./dist/collection/common/date.js",
20
+ "./dist/collection/common/device.js",
20
21
  "./dist/collection/common/file.js",
21
22
  "./dist/collection/common/icon.js",
22
23
  "./dist/collection/common/keyboard-manager.js",
@@ -45,15 +46,14 @@
45
46
  "./dist/collection/dictionary/variant.js",
46
47
  "./dist/collection/fixtures/cities.js",
47
48
  "./dist/collection/fixtures/filenames.js",
48
- "./dist/collection/interface/input-value.js",
49
49
  "./dist/collection/type/autocomplete.js",
50
50
  "./dist/collection/type/button.js",
51
51
  "./dist/collection/type/date.js",
52
52
  "./dist/collection/type/file-types.js",
53
53
  "./dist/collection/type/floating-ui.js",
54
54
  "./dist/collection/type/form-rel.js",
55
+ "./dist/collection/type/header-bar.js",
55
56
  "./dist/collection/type/input.js",
56
- "./dist/collection/type/language.js",
57
57
  "./dist/collection/type/loading.js",
58
58
  "./dist/collection/type/preference.js",
59
59
  "./dist/collection/type/text.js",
@@ -77,19 +77,19 @@
77
77
  "files": 42,
78
78
  "generatedFiles": [
79
79
  "./dist/cjs/app-globals-3a1e7e63.js",
80
- "./dist/cjs/index-dba9169e.js",
80
+ "./dist/cjs/index-0853bd56.js",
81
81
  "./dist/cjs/index.cjs.js",
82
82
  "./dist/cjs/loader.cjs.js",
83
83
  "./dist/cjs/mds-accordion-timer.cjs.entry.js",
84
84
  "./dist/cjs/mds-accordion-timer.cjs.js",
85
85
  "./dist/esm-es5/app-globals-0f993ce5.js",
86
- "./dist/esm-es5/index-20fd282d.js",
86
+ "./dist/esm-es5/index-af411208.js",
87
87
  "./dist/esm-es5/index.js",
88
88
  "./dist/esm-es5/loader.js",
89
89
  "./dist/esm-es5/mds-accordion-timer.entry.js",
90
90
  "./dist/esm-es5/mds-accordion-timer.js",
91
91
  "./dist/esm/app-globals-0f993ce5.js",
92
- "./dist/esm/index-20fd282d.js",
92
+ "./dist/esm/index-af411208.js",
93
93
  "./dist/esm/index.js",
94
94
  "./dist/esm/loader.js",
95
95
  "./dist/esm/mds-accordion-timer.entry.js",
@@ -99,25 +99,25 @@
99
99
  "./dist/mds-accordion-timer/index.esm.js",
100
100
  "./dist/mds-accordion-timer/mds-accordion-timer.esm.js",
101
101
  "./dist/mds-accordion-timer/mds-accordion-timer.js",
102
+ "./dist/mds-accordion-timer/p-25856ee2.system.js",
103
+ "./dist/mds-accordion-timer/p-4eb3ec08.system.entry.js",
102
104
  "./dist/mds-accordion-timer/p-50ea2036.system.js",
103
105
  "./dist/mds-accordion-timer/p-56ba5cbf.system.js",
104
- "./dist/mds-accordion-timer/p-6d230e24.js",
105
- "./dist/mds-accordion-timer/p-9d12b7bb.entry.js",
106
- "./dist/mds-accordion-timer/p-b63ea901.system.entry.js",
107
- "./dist/mds-accordion-timer/p-dd7ad5d9.system.js",
106
+ "./dist/mds-accordion-timer/p-62c48ff3.system.js",
107
+ "./dist/mds-accordion-timer/p-86e0d6b4.entry.js",
108
+ "./dist/mds-accordion-timer/p-8dd37a13.js",
108
109
  "./dist/mds-accordion-timer/p-e1255160.js",
109
- "./dist/mds-accordion-timer/p-fe7bbbcf.system.js",
110
110
  "./www/build/index.esm.js",
111
111
  "./www/build/mds-accordion-timer.esm.js",
112
112
  "./www/build/mds-accordion-timer.js",
113
+ "./www/build/p-25856ee2.system.js",
114
+ "./www/build/p-4eb3ec08.system.entry.js",
113
115
  "./www/build/p-50ea2036.system.js",
114
116
  "./www/build/p-56ba5cbf.system.js",
115
- "./www/build/p-6d230e24.js",
116
- "./www/build/p-9d12b7bb.entry.js",
117
- "./www/build/p-b63ea901.system.entry.js",
118
- "./www/build/p-dd7ad5d9.system.js",
119
- "./www/build/p-e1255160.js",
120
- "./www/build/p-fe7bbbcf.system.js"
117
+ "./www/build/p-62c48ff3.system.js",
118
+ "./www/build/p-86e0d6b4.entry.js",
119
+ "./www/build/p-8dd37a13.js",
120
+ "./www/build/p-e1255160.js"
121
121
  ]
122
122
  },
123
123
  {
@@ -150,12 +150,12 @@
150
150
  "components": [
151
151
  "mds-accordion-timer"
152
152
  ],
153
- "bundleId": "p-9d12b7bb",
154
- "fileName": "p-9d12b7bb.entry.js",
153
+ "bundleId": "p-86e0d6b4",
154
+ "fileName": "p-86e0d6b4.entry.js",
155
155
  "imports": [
156
- "p-6d230e24.js"
156
+ "p-8dd37a13.js"
157
157
  ],
158
- "originalByteSize": 9954
158
+ "originalByteSize": 6394
159
159
  }
160
160
  ],
161
161
  "esm": [
@@ -167,9 +167,9 @@
167
167
  "bundleId": "mds-accordion-timer",
168
168
  "fileName": "mds-accordion-timer.entry.js",
169
169
  "imports": [
170
- "index-20fd282d.js"
170
+ "index-af411208.js"
171
171
  ],
172
- "originalByteSize": 9958
172
+ "originalByteSize": 6398
173
173
  }
174
174
  ],
175
175
  "es5": [
@@ -181,9 +181,9 @@
181
181
  "bundleId": "mds-accordion-timer",
182
182
  "fileName": "mds-accordion-timer.entry.js",
183
183
  "imports": [
184
- "index-20fd282d.js"
184
+ "index-af411208.js"
185
185
  ],
186
- "originalByteSize": 9958
186
+ "originalByteSize": 6398
187
187
  }
188
188
  ],
189
189
  "system": [
@@ -192,12 +192,12 @@
192
192
  "components": [
193
193
  "mds-accordion-timer"
194
194
  ],
195
- "bundleId": "p-b63ea901.system",
196
- "fileName": "p-b63ea901.system.entry.js",
195
+ "bundleId": "p-4eb3ec08.system",
196
+ "fileName": "p-4eb3ec08.system.entry.js",
197
197
  "imports": [
198
- "p-fe7bbbcf.system.js"
198
+ "p-62c48ff3.system.js"
199
199
  ],
200
- "originalByteSize": 11044
200
+ "originalByteSize": 7508
201
201
  }
202
202
  ],
203
203
  "commonjs": [
@@ -209,9 +209,9 @@
209
209
  "bundleId": "mds-accordion-timer.cjs",
210
210
  "fileName": "mds-accordion-timer.cjs.entry.js",
211
211
  "imports": [
212
- "index-dba9169e.js"
212
+ "index-0853bd56.js"
213
213
  ],
214
- "originalByteSize": 10005
214
+ "originalByteSize": 6445
215
215
  }
216
216
  ]
217
217
  },
@@ -586,12 +586,13 @@
586
586
  ],
587
587
  "componentGraph": {
588
588
  "sc-mds-accordion-timer": [
589
- "p-6d230e24.js"
589
+ "p-8dd37a13.js"
590
590
  ]
591
591
  },
592
592
  "sourceGraph": {
593
593
  "./src/common/aria.ts": [],
594
594
  "./src/common/date.ts": [],
595
+ "./src/common/device.ts": [],
595
596
  "./src/common/file.ts": [],
596
597
  "./src/common/icon.ts": [],
597
598
  "./src/common/keyboard-manager.ts": [],
@@ -632,15 +633,14 @@
632
633
  "./src/dictionary/variant.ts": [],
633
634
  "./src/fixtures/cities.ts": [],
634
635
  "./src/fixtures/filenames.ts": [],
635
- "./src/interface/input-value.ts": [],
636
636
  "./src/type/autocomplete.ts": [],
637
637
  "./src/type/button.ts": [],
638
638
  "./src/type/date.ts": [],
639
639
  "./src/type/file-types.ts": [],
640
640
  "./src/type/floating-ui.ts": [],
641
641
  "./src/type/form-rel.ts": [],
642
+ "./src/type/header-bar.ts": [],
642
643
  "./src/type/input.ts": [],
643
- "./src/type/language.ts": [],
644
644
  "./src/type/loading.ts": [],
645
645
  "./src/type/preference.ts": [],
646
646
  "./src/type/text.ts": [],
@@ -1,5 +1,7 @@
1
1
  declare const unslugName: (name: string) => string;
2
2
  declare const setAttributeIfEmpty: (element: HTMLElement, attribute: string, value: string) => string;
3
+ declare const removeAttributesIf: (element: HTMLElement, attribute: string, valueCheck: string | undefined, cleanAttributes: string | string[]) => boolean;
4
+ declare const ifAttribute: (element: HTMLElement, attribute: string, valueCheck?: string) => boolean;
3
5
  declare const hashValue: (value: string) => string;
4
6
  declare const hashRandomValue: (value?: string) => string;
5
- export { unslugName, setAttributeIfEmpty, hashRandomValue, hashValue, };
7
+ export { hashRandomValue, hashValue, removeAttributesIf, setAttributeIfEmpty, ifAttribute, unslugName, };
@@ -1,4 +1,4 @@
1
- import { ISO8601Date } from '@type/date';
1
+ import { ISO8601Date } from "../type/date";
2
2
  declare const isISO8601Date: (dateString: string) => boolean;
3
3
  declare const sanitizeISO8601Date: (dateString: string) => ISO8601Date;
4
4
  export { sanitizeISO8601Date, isISO8601Date, };
@@ -0,0 +1,2 @@
1
+ declare const isMobileDevice: () => boolean;
2
+ export { isMobileDevice, };
@@ -1,9 +1,8 @@
1
- import { ExtensionInfo } from '@dictionary/file-extensions';
1
+ import { ExtensionInfo } from "../dictionary/file-extensions";
2
+ import { ThemeFullVariantType } from "../type/variant";
2
3
  interface FileFormatsVariants {
3
- color: string;
4
4
  icon: string;
5
- iconBackground: string;
6
- variant: string;
5
+ variant: ThemeFullVariantType;
7
6
  }
8
7
  declare const getName: (rawFilename: string) => string;
9
8
  declare const getSuffix: (rawFilename: string, suffixOverride?: string) => string;
@@ -9,9 +9,11 @@ export declare class Locale {
9
9
  language: string;
10
10
  config: LocaleConfig;
11
11
  closestElement: HTMLElement;
12
+ element: HTMLElement;
12
13
  constructor(configData?: LocaleConfig);
13
14
  set: (configData: LocaleConfig) => void;
14
- lang: (element: HTMLElement) => string;
15
+ lang: (el: HTMLElement) => string;
16
+ update: (doc?: Document | ShadowRoot) => void;
15
17
  private pluralize;
16
18
  get: (tag: string | string[], context?: Record<string, string | number>) => string;
17
19
  }
@@ -1,9 +1,10 @@
1
+ import { FileFormat } from "../type/variant-file-format";
1
2
  interface FileExtenstion {
2
3
  [key: string]: ExtensionInfo;
3
4
  }
4
5
  interface ExtensionInfo {
5
6
  preview?: boolean;
6
- format: string;
7
+ format: FileFormat;
7
8
  description: string;
8
9
  }
9
10
  declare const fileExtensionsDictionary: FileExtenstion;
@@ -1,2 +1,4 @@
1
+ declare const typographyTagDictionary: string[];
2
+ declare const typographyHeadingTagDictionary: string[];
1
3
  declare const truncateDictionary: string[];
2
- export { truncateDictionary, };
4
+ export { truncateDictionary, typographyHeadingTagDictionary, typographyTagDictionary, };
@@ -5,8 +5,9 @@ declare const themeFullVariantDictionary: string[];
5
5
  declare const themeFullVariantAvatarDictionary: string[];
6
6
  declare const themeLabelVariantDictionary: string[];
7
7
  declare const toneVariantDictionary: string[];
8
+ declare const themeVariantChipDictionary: string[];
8
9
  declare const toneActionVariantDictionary: string[];
9
10
  declare const toneSimpleVariantDictionary: string[];
10
11
  declare const toneSmartVariantDictionary: string[];
11
12
  declare const toneMinimalVariantDictionary: string[];
12
- export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
13
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1018
1020
  crossOrigin?: string;
1019
1021
  crossorigin?: string;
1020
1022
  loop?: boolean;
@@ -1564,6 +1566,10 @@ export declare namespace JSXBase {
1564
1566
  onSubmitCapture?: (event: Event) => void;
1565
1567
  onInvalid?: (event: Event) => void;
1566
1568
  onInvalidCapture?: (event: Event) => void;
1569
+ onBeforeToggle?: (event: Event) => void;
1570
+ onBeforeToggleCapture?: (event: Event) => void;
1571
+ onToggle?: (event: Event) => void;
1572
+ onToggleCapture?: (event: Event) => void;
1567
1573
  onLoad?: (event: Event) => void;
1568
1574
  onLoadCapture?: (event: Event) => void;
1569
1575
  onError?: (event: Event) => void;
@@ -1,2 +1,2 @@
1
- export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
1
+ export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
2
  export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -2,4 +2,4 @@ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
2
  export type ButtonTargetType = 'self' | 'blank';
3
3
  export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type ButtonIconPositionType = 'left' | 'right';
5
- export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
5
+ export type ButtonVariantType = 'primary' | 'secondary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
@@ -0,0 +1,2 @@
1
+ export type HeaderBarMenuType = 'all' | 'desktop' | 'mobile' | 'none';
2
+ export type HeaderBarNavType = 'all' | 'desktop' | 'mobile' | 'none';
@@ -2,3 +2,6 @@ export type InputControlsLayoutType = 'horizontal' | 'vertical';
2
2
  export type InputControlsIconType = 'arrow' | 'arithmetic';
3
3
  export type InputValueType = null | number | string | undefined;
4
4
  export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
5
+ export interface MdsInputEventDetail {
6
+ value?: File | string | FormData | null;
7
+ }