{"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/ion-item-option_3.entry.js","webpack:///./node_modules/@ionic/core/dist/esm-es5/theme-ff3fc52f.js"],"names":["itemOptionIosCss","itemOptionMdCss","ItemOption","t","this","disabled","expandable","type","onClick","i","target","closest","preventDefault","prototype","render","e","n","o","href","r","undefined","s","a","download","class","color","Object","assign","part","name","defineProperty","get","enumerable","configurable","style","ios","md","itemOptionsIosCss","itemOptionsMdCss","ItemOptions","ionSwipe","side","fireSwipeEvent","emit","openSlidingItem","itemSlidingCss","SWIPE_MARGIN","ELASTIC_FACTOR","ItemSliding","ionDrag","item","openAmount","initialOpenAmount","optsWidthRightSide","optsWidthLeftSide","sides","optsDirty","state","disabledChanged","gesture","enable","connectedCallback","label","el","querySelector","updateOptions","sent","createGesture","gestureName","gesturePriority","threshold","canStart","onStart","onMove","onEnd","disconnectedCallback","destroy","leftOptions","rightOptions","getOpenAmount","Promise","resolve","getSlidingRatio","getSlidingRatioSync","open","getOptions","closeOpened","requestAnimationFrame","calculateOptsWidth","setOpenAmount","close","querySelectorAll","length","componentOnReady","document","dir","window","innerWidth","startX","tmr","clearTimeout","transition","deltaX","Math","max","min","console","warn","velocityX","abs","swipeShouldReset","display","offsetWidth","setTimeout","transform","amount","ratio","hostContext","createColorClasses","getClassList","Array","isArray","split","filter","map","trim","getClassMap","forEach","SCHEME","openURL","test","push"],"mappings":"kHAAA,yNAAoTA,EAAiB,i/HAAq/HC,EAAgB,+4HAAm5HC,EAAW,WAAW,SAASC,EAAEA,GAAG,eAAiBC,KAAKD,GAAGC,KAAKC,UAAS,EAAMD,KAAKE,YAAW,EAAMF,KAAKG,KAAK,SAASH,KAAKI,QAAQ,SAASL,GAAG,IAAIM,EAAEN,EAAEO,OAAOC,QAAQ,mBAAsBF,GAAGN,EAAES,kBAA02B,OAAv1BT,EAAEU,UAAUC,OAAO,WAAW,IAAIX,EAAMM,EAAEL,KAAKW,EAAEN,EAAEJ,SAASW,EAAEP,EAA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EJ,EAAEC,KAAW,CAAC,GAAE","file":"js/chunk-5ff96a24.fc3acc22.js","sourcesContent":["import{__awaiter,__generator}from\"tslib\";import{r as registerInstance,h,H as Host,i as getElement,e as createEvent}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{c as createColorClasses}from\"./theme-ff3fc52f.js\";import{m as isEndSide}from\"./helpers-dd7e4b7b.js\";var itemOptionIosCss=\":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:16px}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}\";var itemOptionMdCss=\":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:14px;font-weight:500;text-transform:uppercase}\";var ItemOption=function(){function t(t){registerInstance(this,t);this.disabled=false;this.expandable=false;this.type=\"button\";this.onClick=function(t){var i=t.target.closest(\"ion-item-option\");if(i){t.preventDefault()}}}t.prototype.render=function(){var t;var i=this,e=i.disabled,n=i.expandable,o=i.href;var r=o===undefined?\"button\":\"a\";var s=getIonMode(this);var a=r===\"button\"?{type:this.type}:{download:this.download,href:this.href,target:this.target};return h(Host,{onClick:this.onClick,class:createColorClasses(this.color,(t={},t[s]=true,t[\"item-option-disabled\"]=e,t[\"item-option-expandable\"]=n,t[\"ion-activatable\"]=true,t))},h(r,Object.assign({},a,{class:\"button-native\",part:\"native\",disabled:e}),h(\"span\",{class:\"button-inner\"},h(\"slot\",{name:\"top\"}),h(\"div\",{class:\"horizontal-wrapper\"},h(\"slot\",{name:\"start\"}),h(\"slot\",{name:\"icon-only\"}),h(\"slot\",null),h(\"slot\",{name:\"end\"})),h(\"slot\",{name:\"bottom\"})),s===\"md\"&&h(\"ion-ripple-effect\",null)))};Object.defineProperty(t.prototype,\"el\",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ItemOption.style={ios:itemOptionIosCss,md:itemOptionMdCss};var itemOptionsIosCss=\"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}\";var itemOptionsMdCss=\"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}\";var ItemOptions=function(){function t(t){registerInstance(this,t);this.ionSwipe=createEvent(this,\"ionSwipe\",7);this.side=\"end\"}t.prototype.fireSwipeEvent=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.ionSwipe.emit({side:this.side});return[2]}))}))};t.prototype.render=function(){var t;var i=getIonMode(this);var e=isEndSide(this.side);return h(Host,{class:(t={},t[i]=true,t[\"item-options-\"+i]=true,t[\"item-options-start\"]=!e,t[\"item-options-end\"]=e,t)})};Object.defineProperty(t.prototype,\"el\",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ItemOptions.style={ios:itemOptionsIosCss,md:itemOptionsMdCss};var itemSlidingCss=\"ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}\";var SWIPE_MARGIN=30;var ELASTIC_FACTOR=.55;var openSlidingItem;var ItemSliding=function(){function t(t){registerInstance(this,t);this.ionDrag=createEvent(this,\"ionDrag\",7);this.item=null;this.openAmount=0;this.initialOpenAmount=0;this.optsWidthRightSide=0;this.optsWidthLeftSide=0;this.sides=0;this.optsDirty=true;this.state=2;this.disabled=false}t.prototype.disabledChanged=function(){if(this.gesture){this.gesture.enable(!this.disabled)}};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(e){switch(e.label){case 0:this.item=this.el.querySelector(\"ion-item\");return[4,this.updateOptions()];case 1:e.sent();t=this;return[4,import(\"./index-f49d994d.js\")];case 2:t.gesture=e.sent().createGesture({el:this.el,gestureName:\"item-swipe\",gesturePriority:100,threshold:5,canStart:function(t){return i.canStart(t)},onStart:function(){return i.onStart()},onMove:function(t){return i.onMove(t)},onEnd:function(t){return i.onEnd(t)}});this.disabledChanged();return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.item=null;this.leftOptions=this.rightOptions=undefined;if(openSlidingItem===this.el){openSlidingItem=undefined}};t.prototype.getOpenAmount=function(){return Promise.resolve(this.openAmount)};t.prototype.getSlidingRatio=function(){return Promise.resolve(this.getSlidingRatioSync())};t.prototype.open=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n;var o=this;return __generator(this,(function(r){if(this.item===null){return[2]}i=this.getOptions(t);if(!i){return[2]}if(t===undefined){t=i===this.leftOptions?\"start\":\"end\"}t=isEndSide(t)?\"end\":\"start\";e=this.openAmount<0;n=this.openAmount>0;if(e&&i===this.leftOptions){return[2]}if(n&&i===this.rightOptions){return[2]}this.closeOpened();this.state=4;requestAnimationFrame((function(){o.calculateOptsWidth();var i=t===\"end\"?o.optsWidthRightSide:-o.optsWidthLeftSide;openSlidingItem=o.el;o.setOpenAmount(i,false);o.state=t===\"end\"?8:16}));return[2]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.setOpenAmount(0,true);return[2]}))}))};t.prototype.closeOpened=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(openSlidingItem!==undefined){openSlidingItem.close();openSlidingItem=undefined;return[2,true]}return[2,false]}))}))};t.prototype.getOptions=function(t){if(t===undefined){return this.leftOptions||this.rightOptions}else if(t===\"start\"){return this.leftOptions}else{return this.rightOptions}};t.prototype.updateOptions=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,n,o,r,s;return __generator(this,(function(a){switch(a.label){case 0:t=this.el.querySelectorAll(\"ion-item-options\");i=0;this.leftOptions=this.rightOptions=undefined;e=0;a.label=1;case 1:if(!(ethis.optsWidthRightSide){e=this.optsWidthRightSide;i=e+(i-e)*ELASTIC_FACTOR}else if(i<-this.optsWidthLeftSide){e=-this.optsWidthLeftSide;i=e+(i-e)*ELASTIC_FACTOR}this.setOpenAmount(i,false)};t.prototype.onEnd=function(t){var i=t.velocityX;var e=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;var n=this.openAmount>0===!(i<0);var o=Math.abs(i)>.3;var r=Math.abs(this.openAmount)0){this.state=t>=this.optsWidthRightSide+SWIPE_MARGIN?8|32:8}else if(t<0){this.state=t<=-this.optsWidthLeftSide-SWIPE_MARGIN?16|64:16}else{this.tmr=setTimeout((function(){e.state=2;e.tmr=undefined}),600);openSlidingItem=undefined;n.transform=\"\";return}n.transform=\"translate3d(\"+-t+\"px,0,0)\";this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})};t.prototype.getSlidingRatioSync=function(){if(this.openAmount>0){return this.openAmount/this.optsWidthRightSide}else if(this.openAmount<0){return this.openAmount/this.optsWidthLeftSide}else{return 0}};t.prototype.render=function(){var t;var i=getIonMode(this);return h(Host,{class:(t={},t[i]=true,t[\"item-sliding-active-slide\"]=this.state!==2,t[\"item-sliding-active-options-end\"]=(this.state&8)!==0,t[\"item-sliding-active-options-start\"]=(this.state&16)!==0,t[\"item-sliding-active-swipe-end\"]=(this.state&32)!==0,t[\"item-sliding-active-swipe-start\"]=(this.state&64)!==0,t)})};Object.defineProperty(t.prototype,\"el\",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,\"watchers\",{get:function(){return{disabled:[\"disabledChanged\"]}},enumerable:false,configurable:true});return t}();var swipeShouldReset=function(t,i,e){return!i&&e||t&&i};ItemSliding.style=itemSlidingCss;export{ItemOption as ion_item_option,ItemOptions as ion_item_options,ItemSliding as ion_item_sliding};","import{__awaiter,__generator}from\"tslib\";var hostContext=function(r,t){return t.closest(r)!==null};var createColorClasses=function(r,t){var e;return typeof r===\"string\"&&r.length>0?Object.assign((e={\"ion-color\":true},e[\"ion-color-\"+r]=true,e),t):t};var getClassList=function(r){if(r!==undefined){var t=Array.isArray(r)?r:r.split(\" \");return t.filter((function(r){return r!=null})).map((function(r){return r.trim()})).filter((function(r){return r!==\"\"}))}return[]};var getClassMap=function(r){var t={};getClassList(r).forEach((function(r){return t[r]=true}));return t};var SCHEME=/^[a-z][a-z0-9+\\-.]*:/;var openURL=function(r,t,e,n){return __awaiter(void 0,void 0,void 0,(function(){var o;return __generator(this,(function(a){if(r!=null&&r[0]!==\"#\"&&!SCHEME.test(r)){o=document.querySelector(\"ion-router\");if(o){if(t!=null){t.preventDefault()}return[2,o.push(r,e,n)]}}return[2,false]}))}))};export{createColorClasses as c,getClassMap as g,hostContext as h,openURL as o};"],"sourceRoot":""}