{"version":3,"sources":["../node_modules/@ionic/core/dist/esm-es5/ion-backdrop.entry.js"],"names":["Backdrop","o","registerInstance","this","ionBackdropTap","createEvent","blocker","GESTURE_CONTROLLER","createBlocker","disableScroll","visible","tappable","stopPropagation","prototype","connectedCallback","block","disconnectedCallback","unblock","onMouseDown","emitTap","preventDefault","emit","render","t","getIonMode","h","Host","tabindex","class","style","ios","md"],"mappings":"6GAAA,gFAA68BA,EAAS,WAAW,SAASC,EAAEA,GAAGC,YAAiBC,KAAKF,GAAGE,KAAKC,eAAeC,YAAYF,KAAK,iBAAiB,GAAGA,KAAKG,QAAQC,IAAmBC,cAAc,CAACC,eAAc,IAAON,KAAKO,SAAQ,EAAKP,KAAKQ,UAAS,EAAKR,KAAKS,iBAAgB,EAAyjB,OAApjBX,EAAEY,UAAUC,kBAAkB,WAAcX,KAAKS,iBAAiBT,KAAKG,QAAQS,SAAUd,EAAEY,UAAUG,qBAAqB,WAAWb,KAAKG,QAAQW,WAAWhB,EAAEY,UAAUK,YAAY,SAASjB,GAAGE,KAAKgB,QAAQlB,IAAIA,EAAEY,UAAUM,QAAQ,SAASlB,GAAME,KAAKS,kBAAiBX,EAAEmB,iBAAiBnB,EAAEW,mBAAqBT,KAAKQ,UAAUR,KAAKC,eAAeiB,QAASpB,EAAEY,UAAUS,OAAO,WAAW,IAAIrB,EAAMsB,EAAEC,YAAWrB,MAAM,OAAOsB,YAAEC,IAAK,CAACC,SAAS,KAAK,cAAc,OAAOC,OAAO3B,EAAE,GAAGA,EAAEsB,IAAG,EAAKtB,EAAE,kBAAkBE,KAAKO,QAAQT,EAAE,yBAAyBE,KAAKQ,SAASV,MAAaA,EAAzyB,GAA8yBD,EAAS6B,MAAM,CAACC,IAA/iD,yWAAkkDC,GAAvsC","file":"static/js/43.38c2a69e.chunk.js","sourcesContent":["import{r as registerInstance,e as createEvent,h,H as Host}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{G as GESTURE_CONTROLLER}from\"./gesture-controller-31cb6bb9.js\";var backdropIosCss=\":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";var backdropMdCss=\":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";var Backdrop=function(){function o(o){registerInstance(this,o);this.ionBackdropTap=createEvent(this,\"ionBackdropTap\",7);this.blocker=GESTURE_CONTROLLER.createBlocker({disableScroll:true});this.visible=true;this.tappable=true;this.stopPropagation=true}o.prototype.connectedCallback=function(){if(this.stopPropagation){this.blocker.block()}};o.prototype.disconnectedCallback=function(){this.blocker.unblock()};o.prototype.onMouseDown=function(o){this.emitTap(o)};o.prototype.emitTap=function(o){if(this.stopPropagation){o.preventDefault();o.stopPropagation()}if(this.tappable){this.ionBackdropTap.emit()}};o.prototype.render=function(){var o;var t=getIonMode(this);return h(Host,{tabindex:\"-1\",\"aria-hidden\":\"true\",class:(o={},o[t]=true,o[\"backdrop-hide\"]=!this.visible,o[\"backdrop-no-tappable\"]=!this.tappable,o)})};return o}();Backdrop.style={ios:backdropIosCss,md:backdropMdCss};export{Backdrop as ion_backdrop};"],"sourceRoot":""}