1(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=(new a.Error).stack;u&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[u]="9397708f-0261-43b3-9f21-76b4e78d8ed7",a._sentryDebugIdIdentifier="sentry-dbid-9397708f-0261-43b3-9f21-76b4e78d8ed7")}catch{}})(),(self.webpackChunktooningIonicAdmin=self.webpackChunktooningIonicAdmin||[]).push([[7216],{7216:(a,u,l)=>{l.r(u),l.d(u,{startTapClick:()=>M});var i=l(42788),p=l(58390);const M=o=>{if(void 0===i.d)return;let t,v,d,s=10*-T,r=0;const O=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),h=new WeakMap,b=e=>{s=(0,p.u)(e),L(e)},A=()=>{d&&clearTimeout(d),d=void 0,t&&(R(!1),t=void 0)},g=e=>{t||w(S(e),e)},L=e=>{w(void 0,e)},w=(e,n)=>{if(e&&e===t)return;d&&clearTimeout(d),d=void 0;const{x:f,y:c}=(0,p.v)(n);if(t){if(h.has(t))throw new Error("internal error");t.classList.contains(E)||I(t,f,c),R(!0)}if(e){const _=h.get(e);_&&(clearTimeout(_),h.delete(e)),e.classList.remove(E);const C=()=>{I(e,f,c),d=void 0};m(e)?C():d=setTimeout(C,P)}t=e},I=(e,n,f)=>{if(r=Date.now(),e.classList.add(E),!O)return;const c=k(e);null!==c&&(y(),v=c.addRipple(n,f))},y=()=>{void 0!==v&&(v.then(e=>e()),v=void 0)},R=e=>{y();const n=t;if(!n)return;const f=D-Date.now()+r;if(e&&f>0&&!m(n)){const c=setTimeout(()=>{n.classList.remove(E),h.delete(n)},D);h.set(n,c)}else n.classList.remove(E)};i.d.addEventListener("ionGestureCaptured",A),i.d.addEventListener("touchstart",e=>{s=(0,p.u)(e),g(e)},!0),i.d.addEventListener("touchcancel",b,!0),i.d.addEventListener("touchend",b,!0),i.d.addEventListener("pointercancel",A,!0),i.d.addEventListener("mousedown",e=>{if(2===e.button)return;const n=(0,p.u)(e)-T;s<n&&g(e)},!0),i.d.addEventListener("mouseup",e=>{const n=(0,p.u)(e)-T;s<n&&L(e)},!0)},S=o=>{if(void 0===o.composedPath)return o.target.closest(".ion-activatable");{const s=o.composedPath();for(let r=0;r<s.length-2;r++){const t=s[r];if(!(t instanceof ShadowRoot)&&t.classList.contains("ion-activatable"))return t}}},m=o=>o.classList.contains("ion-activatable-instant"),k=o=>{if(o.shadowRoot){const s=o.shadowRoot.querySelector("ion-ripple-effect");if(s)return s}return o.querySelector("ion-ripple-effect")},E="ion-activated",P=100,D=150,T=2500}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.