-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5049-es5.f084afe4647655ddb568.js
1 lines (1 loc) · 23.1 KB
/
5049-es5.f084afe4647655ddb568.js
1
!function(){function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=n(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){s=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(s)throw a}}}}function n(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(t,e,n){return(e=l(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new C(r||[]);return o(a,"_invoke",{value:L(t,n,c)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p="suspendedStart",f="executing",g="completed",v={};function m(){}function y(){}function x(){}var b={};d(b,c,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(P([])));k&&k!==n&&r.call(k,c)&&(b=k);var A=x.prototype=m.prototype=Object.create(b);function E(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function n(o,i,a,c){var s=h(t[o],t,i);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(d).then(function(t){u.value=t,a(u)},function(t){return n("throw",t,a,c)})}c(s.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e(function(e,o){n(t,r,e,o)})}return i=i?i.then(o,o):o()}})}function L(e,n,r){var o=p;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=I(c,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=f;var u=h(e,n,r);if("normal"===u.type){if(o=r.done?g:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=g,r.method="throw",r.arg=u.arg)}}}function I(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=x,o(A,"constructor",{value:x,configurable:!0}),o(x,"constructor",{value:y,configurable:!0}),y.displayName=d(x,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,d(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},E(S.prototype),d(S.prototype,s,function(){return this}),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},E(A),d(A,u,"Generator"),d(A,c,function(){return this}),d(A,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function a(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(r,o)}function c(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function c(t){a(i,r,o,c,s,"next",t)}function s(t){a(i,r,o,c,s,"throw",t)}c(void 0)})}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function d(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(self.webpackChunkv2x_frontend=self.webpackChunkv2x_frontend||[]).push([[5049],{5049:function(n,r,a){"use strict";a.r(r),a.d(r,{ion_accordion:function(){return f},ion_accordion_group:function(){return v}});var u=a(1429),l=a(2343),h=a(8931),p=a(1444),f=function(){function t(e){var n=this;s(this,t),(0,u.r)(this,e),this.updateListener=function(){return n.updateState(!1)},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+g++,this.disabled=!1,this.readonly=!1,this.toggleIcon=l.l,this.toggleIconSlot="end",this.setItemDefaults=function(){var t=n.getSlottedHeaderIonItem();t&&(t.button=!0,t.detail=!1,void 0===t.lines&&(t.lines="full"))},this.getSlottedHeaderIonItem=function(){var t=n.headerEl;if(t){var e=t.querySelector("slot");return e&&void 0!==e.assignedElements?e.assignedElements().find(function(t){return"ION-ITEM"===t.tagName}):void 0}},this.setAria=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=n.getSlottedHeaderIonItem();if(e){var r=(0,p.g)(e).querySelector("button");r&&r.setAttribute("aria-expanded","".concat(t))}},this.slotToggleIcon=function(){var t=n.getSlottedHeaderIonItem();if(t){var e=n.toggleIconSlot,r=n.toggleIcon;if(!t.querySelector(".ion-accordion-toggle-icon")){var o=document.createElement("ion-icon");o.slot=e,o.lazy=!1,o.classList.add("ion-accordion-toggle-icon"),o.icon=r,o.setAttribute("aria-hidden","true"),t.appendChild(o)}}},this.expandAccordion=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=n.contentEl,r=n.contentElWrapper;t||void 0===e||void 0===r?n.state=4:4!==n.state&&(void 0!==n.currentRaf&&cancelAnimationFrame(n.currentRaf),n.shouldAnimate()?(0,p.r)(function(){n.state=8,n.currentRaf=(0,p.r)(c(i().mark(function t(){var o,a;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r.offsetHeight,a=(0,p.t)(e,2e3),e.style.setProperty("max-height","".concat(o,"px")),t.next=4,a;case 4:n.state=4,e.style.removeProperty("max-height");case 6:case"end":return t.stop()}},t)})))}):n.state=4)},this.collapseAccordion=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=n.contentEl;t||void 0===e?n.state=1:1!==n.state&&(void 0!==n.currentRaf&&cancelAnimationFrame(n.currentRaf),n.shouldAnimate()?n.currentRaf=(0,p.r)(c(i().mark(function t(){return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.style.setProperty("max-height","".concat(e.offsetHeight,"px")),(0,p.r)(c(i().mark(function t(){var r;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,p.t)(e,2e3),n.state=2,t.next=4,r;case 4:n.state=1,e.style.removeProperty("max-height");case 6:case"end":return t.stop()}},t)})));case 1:case"end":return t.stop()}},t)}))):n.state=1)},this.shouldAnimate=function(){return"undefined"!=typeof window&&!matchMedia("(prefers-reduced-motion: reduce)").matches&&!(!h.c.get("animated",!0)||n.accordionGroupEl&&!n.accordionGroupEl.animated)},this.updateState=c(i().mark(function t(){var e,r,o,a,c,s,u,d,l=arguments;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]&&l[0],r=n.accordionGroupEl,o=n.value,r){t.next=4;break}return t.abrupt("return");case 4:a=r.value,(Array.isArray(a)?a.includes(o):a===o)?(n.expandAccordion(e),n.isNext=n.isPrevious=!1):(n.collapseAccordion(e),c=n.getNextSibling(),void 0!==(s=null==c?void 0:c.value)&&(n.isPrevious=Array.isArray(a)?a.includes(s):a===s),u=n.getPreviousSibling(),void 0!==(d=null==u?void 0:u.value)&&(n.isNext=Array.isArray(a)?a.includes(d):a===d));case 6:case"end":return t.stop()}},t)})),this.getNextSibling=function(){if(n.el){var t=n.el.nextElementSibling;return"ION-ACCORDION"===(null==t?void 0:t.tagName)?t:void 0}},this.getPreviousSibling=function(){if(n.el){var t=n.el.previousElementSibling;return"ION-ACCORDION"===(null==t?void 0:t.tagName)?t:void 0}}}return d(t,[{key:"connectedCallback",value:function(){var t,e=this.accordionGroupEl=null===(t=this.el)||void 0===t?void 0:t.closest("ion-accordion-group");e&&(this.updateState(!0),(0,p.a)(e,"ionChange",this.updateListener))}},{key:"disconnectedCallback",value:function(){var t=this.accordionGroupEl;t&&(0,p.b)(t,"ionChange",this.updateListener)}},{key:"componentDidLoad",value:function(){var t=this;this.setItemDefaults(),this.slotToggleIcon(),(0,p.r)(function(){t.setAria(4===t.state||8===t.state)})}},{key:"toggleExpanded",value:function(){var t=this.accordionGroupEl,e=this.value,n=this.state;t&&t.requestAccordionToggle(e,1===n||2===n)}},{key:"render",value:function(){var t=this,e=this.disabled,n=this.readonly,r=(0,h.b)(this),i=4===this.state||8===this.state,a=i?"header expanded":"header",c=i?"content expanded":"content";return this.setAria(i),(0,u.h)(u.H,{class:o(o(o(o(o(o(o(o(o(o({},r,!0),"accordion-expanding",8===this.state),"accordion-expanded",4===this.state),"accordion-collapsing",2===this.state),"accordion-collapsed",1===this.state),"accordion-next",this.isNext),"accordion-previous",this.isPrevious),"accordion-disabled",e),"accordion-readonly",n),"accordion-animated",h.c.getBoolean("animated",!0))},(0,u.h)("div",{onClick:function(){return t.toggleExpanded()},id:"header",part:a,"aria-controls":"content",ref:function(e){return t.headerEl=e}},(0,u.h)("slot",{name:"header"})),(0,u.h)("div",{id:"content",part:c,role:"region","aria-labelledby":"header",ref:function(e){return t.contentEl=e}},(0,u.h)("div",{id:"content-wrapper",ref:function(e){return t.contentElWrapper=e}},(0,u.h)("slot",{name:"content"}))))}},{key:"el",get:function(){return(0,u.i)(this)}}],[{key:"delegatesFocus",get:function(){return!0}}]),t}(),g=0;f.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};var v=function(){function n(t){s(this,n),(0,u.r)(this,t),this.ionChange=(0,u.e)(this,"ionChange",7),this.animated=!0,this.disabled=!1,this.readonly=!1,this.expand="compact"}var r,a,l,p,f,g;return d(n,[{key:"valueChanged",value:function(){var t=this.value;!this.multiple&&Array.isArray(t)?this.value=t[0]:this.ionChange.emit({value:this.value})}},{key:"disabledChanged",value:(g=c(i().mark(function t(){var n,r,o,a;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.disabled,t.next=3,this.getAccordions();case 3:r=t.sent,o=e(r);try{for(o.s();!(a=o.n()).done;)a.value.disabled=n}catch(i){o.e(i)}finally{o.f()}case 6:case"end":return t.stop()}},t,this)})),function(){return g.apply(this,arguments)})},{key:"readonlyChanged",value:(f=c(i().mark(function t(){var n,r,o,a;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.readonly,t.next=3,this.getAccordions();case 3:r=t.sent,o=e(r);try{for(o.s();!(a=o.n()).done;)a.value.readonly=n}catch(i){o.e(i)}finally{o.f()}case 6:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"onKeydown",value:(p=c(i().mark(function t(e){var n,r,o,a,c;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=document.activeElement){t.next=3;break}return t.abrupt("return");case 3:if(n.closest('ion-accordion [slot="header"]')){t.next=5;break}return t.abrupt("return");case 5:if(r="ION-ACCORDION"===n.tagName?n:n.closest("ion-accordion")){t.next=8;break}return t.abrupt("return");case 8:if(r.closest("ion-accordion-group")===this.el){t.next=10;break}return t.abrupt("return");case 10:return t.next=12,this.getAccordions();case 12:if(o=t.sent,-1!==(a=o.findIndex(function(t){return t===r}))){t.next=16;break}return t.abrupt("return");case 16:"ArrowDown"===e.key?c=this.findNextAccordion(o,a):"ArrowUp"===e.key?c=this.findPreviousAccordion(o,a):"Home"===e.key?c=o[0]:"End"===e.key&&(c=o[o.length-1]),void 0!==c&&c!==n&&c.focus();case 17:case"end":return t.stop()}},t,this)})),function(t){return p.apply(this,arguments)})},{key:"componentDidLoad",value:(l=c(i().mark(function t(){return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged();case 1:case"end":return t.stop()}},t,this)})),function(){return l.apply(this,arguments)})},{key:"requestAccordionToggle",value:(a=c(i().mark(function e(n,r){var o,a,c,s,u,d,l,h;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:o=this.multiple,a=this.value,c=this.readonly,s=this.disabled,c||s||(r?o?(u=null!=a?a:[],void 0===(d=Array.isArray(u)?u:[u]).find(function(t){return t===n})&&void 0!==n&&(this.value=[].concat(t(d),[n]))):this.value=n:o?(l=null!=a?a:[],h=Array.isArray(l)?l:[l],this.value=h.filter(function(t){return t!==n})):this.value=void 0);case 2:case"end":return e.stop()}},e,this)})),function(t,e){return a.apply(this,arguments)})},{key:"findNextAccordion",value:function(t,e){var n=t[e+1];return void 0===n?t[0]:n}},{key:"findPreviousAccordion",value:function(t,e){var n=t[e-1];return void 0===n?t[t.length-1]:n}},{key:"getAccordions",value:(r=c(i().mark(function t(){return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Array.from(this.el.querySelectorAll(":scope > ion-accordion")));case 1:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"render",value:function(){var t=this.disabled,e=this.readonly,n=this.expand,r=(0,h.b)(this);return(0,u.h)(u.H,{class:o(o(o(o({},r,!0),"accordion-group-disabled",t),"accordion-group-readonly",e),"accordion-group-expand-".concat(n),!0),role:"presentation"},(0,u.h)("slot",null))}},{key:"el",get:function(){return(0,u.i)(this)}}],[{key:"watchers",get:function(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}}]),n}();v.style={ios:":host{display:block}:host(.accordion-group-expand-inset){margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.accordion-group-expand-inset){margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.accordion-group-expand-inset){margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}}])}();