1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([["node_modules_ionic_core_dist_esm_ion-img_entry_js"],{70654(u,o,e){e.r(o),e.d(o,{ion_img:()=>s});var i=e(28026),n=e(98169),r=e(48451);const s=class{constructor(t){(0,i.r)(this,t),this.ionImgWillLoad=(0,i.c)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,i.c)(this,"ionImgDidLoad",7),this.ionError=(0,i.c)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()}}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,n.b)(this.el,["draggable"])}componentDidLoad(){this.addIO()}disconnectedCallback(){this.loadTimeout&&clearTimeout(this.loadTimeout)}addIO(){this.loadTimeout&&(clearTimeout(this.loadTimeout),this.loadTimeout=void 0),void 0!==this.src&&(typeof window<"u"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):this.loadTimeout=setTimeout(()=>this.load(),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:h,onLoad:c,loadError:l,inheritedAttributes:m}=this,{draggable:g}=m;return(0,i.h)(i.d,{key:"9bfaa659b0680189fd29f3acb2fdce7f70be6060",class:(0,r.b)(this)},(0,i.h)("img",{key:"d484beae0d5cbe0406958bfad40cdd6c05625340",decoding:"async",src:t,alt:h,onLoad:c,onError:l,part:"image",draggable:a(g)}))}get el(){return(0,i.g)(this)}static get watchers(){return{src:[{srcChanged:0}]}}},a=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};s.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}]); 2//# sourceMappingURL=node_modules_ionic_core_dist_esm_ion-img_entry_js.42b3fe772283c700.js.map
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.