-
Notifications
You must be signed in to change notification settings - Fork 0
/
2478-es5.bac5982569a22f415f3e.js
1 lines (1 loc) · 31.8 KB
/
2478-es5.bac5982569a22f415f3e.js
1
!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var i,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,i,e){t[i]=e.value},s="function"==typeof Symbol?Symbol:{},a=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function d(t,i,e){return Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[i]}try{d({},"")}catch(i){d=function(t,i,e){return t[i]=e}}function p(t,i,e,n){var r=i&&i.prototype instanceof v?i:v,s=Object.create(r.prototype),a=new W(n||[]);return o(s,"_invoke",{value:E(t,e,a)}),s}function h(t,i,e){try{return{type:"normal",arg:t.call(i,e)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var u="suspendedStart",m="executing",f="completed",g={};function v(){}function b(){}function y(){}var w={};d(w,a,function(){return this});var x=Object.getPrototypeOf,k=x&&x(x(_([])));k&&k!==n&&r.call(k,a)&&(w=k);var O=y.prototype=v.prototype=Object.create(w);function S(t){["next","throw","return"].forEach(function(i){d(t,i,function(t){return this._invoke(i,t)})})}function L(t,i){function e(n,o,s,a){var l=h(t[n],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?i.resolve(d.__await).then(function(t){e("next",t,s,a)},function(t){e("throw",t,s,a)}):i.resolve(d).then(function(t){c.value=t,s(c)},function(t){return e("throw",t,s,a)})}a(l.arg)}var n;o(this,"_invoke",{value:function(t,r){function o(){return new i(function(i,n){e(t,r,i,n)})}return n=n?n.then(o,o):o()}})}function E(t,e,n){var r=u;return function(o,s){if(r===m)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw s;return{value:i,done:!0}}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=j(a,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=m;var c=h(t,e,n);if("normal"===c.type){if(r=n.done?f:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}function j(t,e){var n=e.method,r=t.iterator[n];if(r===i)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=i,j(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=h(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,g;var s=o.arg;return s?s.done?(e[t.resultName]=s.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=i),e.delegate=null,g):s:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function z(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.afterLoc=t[3]),this.tryEntries.push(i)}function A(t){var i=t.completion||{};i.type="normal",delete i.arg,t.completion=i}function W(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(z,this),this.reset(!0)}function _(t){if(t||""===t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=i,e.done=!0,e};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=d(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var i="function"==typeof t&&t.constructor;return!!i&&(i===b||"GeneratorFunction"===(i.displayName||i.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,d(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},S(L.prototype),d(L.prototype,l,function(){return this}),e.AsyncIterator=L,e.async=function(t,i,n,r,o){void 0===o&&(o=Promise);var s=new L(p(t,i,n,r),o);return e.isGeneratorFunction(i)?s:s.next().then(function(t){return t.done?t.value:s.next()})},S(O),d(O,c,"Generator"),d(O,a,function(){return this}),d(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var i=Object(t),e=[];for(var n in i)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in i)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,W.prototype={constructor:W,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=i)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=i),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.finallyLoc)}}}},abrupt:function(t,i){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=i&&i<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=i,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,i){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&&i&&(this.next=i),g},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),g}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;A(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=i),g}},e}function i(t,i,e,n,r,o,s){try{var a=t[o](s),l=a.value}catch(c){return void e(c)}a.done?i(l):Promise.resolve(l).then(n,r)}function e(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)})}}function n(t,i,e){return(i=a(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function r(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function s(t,i,e){return i&&o(t.prototype,i),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t){var i=function(t,i){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:String(i)}(self.webpackChunkv2x_frontend=self.webpackChunkv2x_frontend||[]).push([[2478],{3397:function(t,i,e){"use strict";e.d(i,{a:function(){return o},b:function(){return r},p:function(){return n}});var n=function(t){for(var i,e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return(i=console).warn.apply(i,["[Ionic Warning]: ".concat(t)].concat(n))},r=function(t){for(var i,e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return(i=console).error.apply(i,["[Ionic Error]: ".concat(t)].concat(n))},o=function(t){for(var i=arguments.length,e=new Array(i>1?i-1:0),n=1;n<i;n++)e[n-1]=arguments[n];return console.error("<".concat(t.tagName.toLowerCase(),"> must be used inside ").concat(e.join(" or "),"."))}},7438:function(i,o,a){"use strict";a.r(o),a.d(o,{ion_item_option:function(){return u},ion_item_options:function(){return f},ion_item_sliding:function(){return g}});var l=a(1429),c=a(8931),d=a(4881),p=a(1444),h=a(5667),u=function(){function t(i){r(this,t),(0,l.r)(this,i),this.disabled=!1,this.expandable=!1,this.type="button",this.onClick=function(t){t.target.closest("ion-item-option")&&t.preventDefault()}}return s(t,[{key:"render",value:function(){var t=this.disabled,i=this.expandable,e=void 0===this.href?"button":"a",r=(0,c.b)(this),o="button"===e?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,l.h)(l.H,{onClick:this.onClick,class:(0,d.c)(this.color,n(n(n(n({},r,!0),"item-option-disabled",t),"item-option-expandable",i),"ion-activatable",!0))},(0,l.h)(e,Object.assign({},o,{class:"button-native",part:"native",disabled:t}),(0,l.h)("span",{class:"button-inner"},(0,l.h)("slot",{name:"top"}),(0,l.h)("div",{class:"horizontal-wrapper"},(0,l.h)("slot",{name:"start"}),(0,l.h)("slot",{name:"icon-only"}),(0,l.h)("slot",null),(0,l.h)("slot",{name:"end"})),(0,l.h)("slot",{name:"bottom"})),"md"===r&&(0,l.h)("ion-ripple-effect",null)))}},{key:"el",get:function(){return(0,l.i)(this)}}]),t}();u.style={ios:":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(0.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(0.7em + var(--ion-safe-area-right));padding-inline-end:calc(0.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(0.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(0.7em + var(--ion-safe-area-left));padding-inline-start:calc(0.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)}",md:":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(0.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(0.7em + var(--ion-safe-area-right));padding-inline-end:calc(0.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(0.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(0.7em + var(--ion-safe-area-left));padding-inline-start:calc(0.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 m,f=function(){function i(t){r(this,i),(0,l.r)(this,t),this.ionSwipe=(0,l.e)(this,"ionSwipe",7),this.side="end"}var o;return s(i,[{key:"fireSwipeEvent",value:(o=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.ionSwipe.emit({side:this.side});case 1:case"end":return t.stop()}},i,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var t=(0,c.b)(this),i=(0,p.o)(this.side);return(0,l.h)(l.H,{class:n(n(n(n({},t,!0),"item-options-".concat(t),!0),"item-options-start",!i),"item-options-end",i)})}},{key:"el",get:function(){return(0,l.i)(this)}}]),i}();f.style={ios:"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}",md:"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 g=function(){function i(t){r(this,i),(0,l.r)(this,t),this.ionDrag=(0,l.e)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}var o,d,u,f,g;return s(i,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(g=e(t().mark(function i(){var e=this;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.item=this.el.querySelector("ion-item"),this.contentEl=(0,h.f)(this.el),t.next=4,this.updateOptions();case 4:return t.next=6,Promise.resolve().then(a.bind(a,1200));case 6:this.gesture=t.sent.createGesture({el:this.el,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:function(t){return e.canStart(t)},onStart:function(){return e.onStart()},onMove:function(t){return e.onMove(t)},onEnd:function(t){return e.onEnd(t)}}),this.disabledChanged();case 8:case"end":return t.stop()}},i,this)})),function(){return g.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0)}},{key:"getOpenAmount",value:function(){return Promise.resolve(this.openAmount)}},{key:"getSlidingRatio",value:function(){return Promise.resolve(this.getSlidingRatioSync())}},{key:"open",value:(f=e(t().mark(function i(e){var n,r,o=this;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(this.item=null!==(n=this.item)&&void 0!==n?n:this.el.querySelector("ion-item"))){t.next=2;break}return t.abrupt("return");case 2:(r=this.getOptions(e))&&(void 0===e&&(e=r===this.leftOptions?"start":"end"),e=(0,p.o)(e)?"end":"start",this.openAmount<0&&r===this.leftOptions||this.openAmount>0&&r===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame(function(){o.calculateOptsWidth(),m=o.el,o.setOpenAmount("end"===e?o.optsWidthRightSide:-o.optsWidthLeftSide,!1),o.state="end"===e?8:16})));case 4:case"end":return t.stop()}},i,this)})),function(t){return f.apply(this,arguments)})},{key:"close",value:(u=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.setOpenAmount(0,!0);case 1:case"end":return t.stop()}},i,this)})),function(){return u.apply(this,arguments)})},{key:"closeOpened",value:(d=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",void 0!==m&&(m.close(),m=void 0,!0));case 1:case"end":return t.stop()}},i)})),function(){return d.apply(this,arguments)})},{key:"getOptions",value:function(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}},{key:"updateOptions",value:(o=e(t().mark(function i(){var e,n,r,o,s;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=this.el.querySelectorAll("ion-item-options"),n=0,this.leftOptions=this.rightOptions=void 0,r=0;case 4:if(!(r<e.length)){t.next=18;break}if(void 0===(o=e.item(r)).componentOnReady){t.next=12;break}return t.next=9,o.componentOnReady();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=o;case 13:s=t.t0,"start"==((0,p.o)(s.side)?"end":"start")?(this.leftOptions=s,n|=1):(this.rightOptions=s,n|=2);case 15:r++,t.next=4;break;case 18:this.optsDirty=!0,this.sides=n;case 19:case"end":return t.stop()}},i,this)})),function(){return o.apply(this,arguments)})},{key:"canStart",value:function(t){return!(("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)||(m&&m!==this.el&&this.closeOpened(),!this.rightOptions&&!this.leftOptions))}},{key:"onStart",value:function(){this.item=this.el.querySelector("ion-item");var t=this.contentEl;t&&(this.initialContentScrollY=(0,h.d)(t)),m=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}},{key:"onMove",value:function(t){this.optsDirty&&this.calculateOptsWidth();var i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?e=(i=this.optsWidthRightSide)+.55*(e-i):e<-this.optsWidthLeftSide&&(e=(i=-this.optsWidthLeftSide)+.55*(e-i)),this.setOpenAmount(e,!1)}},{key:"onEnd",value:function(t){var i=this.contentEl,e=this.initialContentScrollY;i&&(0,h.r)(i,e);var n=t.velocityX,r=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide,o=this.openAmount>0==!(n<0),s=Math.abs(n)>.3,a=Math.abs(this.openAmount)<Math.abs(r/2);v(o,s,a)&&(r=0);var l=this.state;this.setOpenAmount(r,!0),0!=(32&l)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&l)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}},{key:"calculateOptsWidth",value:function(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}},{key:"setOpenAmount",value:function(t,i){var e=this;if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),this.item){var n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(function(){e.state=2,e.tmr=void 0,e.gesture&&e.gesture.enable(!e.disabled)},600),m=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform="translate3d(".concat(-t,"px,0,0)"),this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}}},{key:"getSlidingRatioSync",value:function(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}},{key:"render",value:function(){var t=(0,c.b)(this);return(0,l.h)(l.H,{class:n(n(n(n(n(n({},t,!0),"item-sliding-active-slide",2!==this.state),"item-sliding-active-options-end",0!=(8&this.state)),"item-sliding-active-options-start",0!=(16&this.state)),"item-sliding-active-swipe-end",0!=(32&this.state)),"item-sliding-active-swipe-start",0!=(64&this.state))})}},{key:"el",get:function(){return(0,l.i)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),i}(),v=function(t,i,e){return!i&&e||t&&i};g.style="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}"},4881:function(i,r,o){"use strict";o.d(r,{c:function(){return a},g:function(){return l},h:function(){return s},o:function(){return d}});var s=function(t,i){return null!==i.closest(t)},a=function(t,i){return"string"==typeof t&&t.length>0?Object.assign(n({"ion-color":!0},"ion-color-".concat(t),!0),i):i},l=function(t){var i={};return function(t){return void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(function(t){return null!=t}).map(function(t){return t.trim()}).filter(function(t){return""!==t}):[]}(t).forEach(function(t){return i[t]=!0}),i},c=/^[a-z][a-z0-9+\-.]*:/,d=function(){var i=e(t().mark(function i(e,n,r,o){var s;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null==e||"#"===e[0]||c.test(e)){t.next=4;break}if(!(s=document.querySelector("ion-router"))){t.next=4;break}return t.abrupt("return",(null!=n&&n.preventDefault(),s.push(e,r,o)));case 4:return t.abrupt("return",!1);case 5:case"end":return t.stop()}},i)}));return function(t,e,n,r){return i.apply(this,arguments)}}()}}])}();