PageSourceSearch

https://kulturgut-ost.de/projekt/application.js

js kulturgut-ost.de collected 2026-10-08 07:25:31 UTC 21,412 bytes, 1 lines download raw bytes

1(()=>{"use strict";class t{static getNavigatorLanguage(){let t,e=navigator.language;return t=e.indexOf("-")>0?e.split("-")[0].toLowerCase():e.toLowerCase(),t}}class e extends EventTarget{#t;#e;#i;#n;#a=void 0;#s=!1;#o=!1;#r=!1;#l=null;#d=300;#h=!1;#u=!1;#p=!1;#c=void 0;constructor(){super(),void 0===window.AXIAL&&(Object.freeze(this),window.AXIAL=this),this.#c=t.getNavigatorLanguage(),this.#h=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,this.#u=navigator.userAgent.toLowerCase().indexOf("android")>=0,0==this.#h&&0==this.#u&&(this.#p=!0),this.#t=this.#w.bind(this),this.#e=this.#m.bind(this),this.#i=this.#g.bind(this),this.#n=this.#b.bind(this),window.addEventListener("DOMContentLoaded",this.#t),window.addEventListener("load",this.#e)}get language(){return this.#c}set language(t){if("string"!=typeof t)throw new TypeError("String value required");if(this.#c==t)return;this.#c=t,this._onApplicationLanguageChanged();const e=new CustomEvent("languageChanged");this.dispatchEvent(e)}_onApplicationLanguageChanged(){}get isIOS(){return this.#h}get isAndroid(){return this.#u}get isDesktop(){return this.#p}get data(){return this.#a}set data(t){if(this.#a==t)return;this.#a=t,this._onApplicationDataChanged();const e=new CustomEvent("applicationDataChanged",{detail:this.#a});this.dispatchEvent(e)}_onApplicationDataChanged(){}get applicationDomLoaded(){return this.#s}#w(t){this.#s=!0,this._onApplicationDomLoaded&&this._onApplicationDomLoaded(t)}_onApplicationDomLoaded(t){}get applicationPageLoaded(){return this.#o}#m(t){this.#o=!0,this._onApplicationPageLoaded&&this._onApplicationPageLoaded(t)}_onApplicationPageLoaded(t){}get useApplicationResize(){return this.useApplicationResize}set useApplicationResize(t){if("boolean"!=typeof t)throw new TypeError("Boolean value required");this.#r!=t&&(this.#r=t,0==this.#r?window.removeEventListener("resize",this.#n):window.addEventListener("resize",this.#n))}#b(t){null!==this.#l&&clearTimeout(this.#l),this.#i(),this.#l=setTimeout(this.#i,this.#d)}#g(t){this.#l=null,this._onApplicationResize&&this._onApplicationResize()}_onApplicationResize(){}}class i extends HTMLElement{static#v=Object.freeze(new Set(["none","swipe"]));#f;#E;#y;#H;#L;#M;#A;#C;#x;#S;#a=void 0;#D=!1;#I=new Set(["init"]);#P=!1;#R="";#V="init";#_;#O="";#k=!1;#z=!1;#T=void 0;#j=new Array;#B=0;#F=0;#N=0;#X=0;#U=0;#q=0;constructor(){super(),this.#f=this.#W.bind(this),window.addEventListener("DOMContentLoaded",this.#f),this.#E=this.#Y.bind(this),this.#y=this.#G.bind(this),this.#H=this.#$.bind(this),this.#L=this.#J.bind(this),this.#M=this.#K.bind(this),this.#A=this.#Q.bind(this),this.#C=this.#Z.bind(this),this.#x=this.#tt.bind(this),this.#S=this.#et.bind(this),this.classList.add("axial_component_base")}static get observedAttributes(){return new Array}get template(){return this.#O}set template(t){if("string"!=typeof t)throw new TypeError("String value required");this.#O!=t&&(this.#O=t,this.#it())}get shadow(){return this.#_}#it(){this.#_=this.attachShadow({mode:"open"});const t=document.getElementById(this.#O);if(t){const e=t.content;this.#_.appendChild(e.cloneNode(!0))}}#W(t){window.removeEventListener("DOMContentLoaded",this.#f),this._finalizeComponent()}_finalizeComponent(){}connectedCallback(){}disconnectedCallback(){}adoptedCallback(){}attributeChangedCallback(t,e,i){0!=this.isConnected&&(console.log("AxialComponentBase.attributeChangedCallback()"),console.log(t))}get data(){return this.#a}set data(t){if(this.#a==t)return;this.#a=t,this._onDataChanged();const e=new CustomEvent("dataChanged",{detail:this.#a});this.dispatchEvent(e)}_onDataChanged(){console.log("AxialComponentBase._onDataChanged()")}get isResizable(){return this.#D}set isResizable(t){if("boolean"!=typeof t)throw new TypeError("Boolean value required");this.#D!=t&&(this.#D=t,0==this.#D?window.removeEventListener("resize",this.#E):window.addEventListener("resize",this.#E))}#Y(t){this._resize()}_resize(){}get states(){return Array.from(this.#I)}get useStates(){return this.#P}set useStates(t){if("boolean"!=typeof t)throw new TypeError("Boolean value required");this.#P!=t&&(this.#P=t)}get previousState(){return this.#R}get currentState(){return this.#V}_onStateChanged(){console.log("AxialComponentBase._onStateChanged()")}addState(t){if("string"!=typeof t)throw new TypeError("String value required");this.#I.add(t)}deleteState(t){if("string"!=typeof t)throw new TypeError("String value required");if(0==this.#I.has(t))throw new Error(`The state "${t}" is not registered`);this.#I.delete(t)}switchToState(t){if("string"!=typeof t)throw new TypeError("String value required");if(0==this.#I.has(t))throw new Error(`The state "${t}" is not registered`);if(this.#V!=t){this.#R=this.#V,this.#V=t,this._onStateChanged();const e={newState:this.#V,oldState:this.#R},i=new CustomEvent("stateChanged",{detail:e});this.dispatchEvent(i)}}get manipulationEnable(){return this.#k}set manipulationEnable(t){if("boolean"!=typeof t)throw new TypeError("Boolean value required");1!=this.#z&&this.#k!=t&&(this.#k=t,0==this.#k?this.#nt():this.#at())}get isManipulating(){return this.#z}#st(t){if(0==t instanceof PointerEvent)throw new TypeError("PointerEvent value required");const e=this.#j.length;if(0==e)return;let i=-1;const n=t.pointerId;for(let t=0;t<e;t++)if(n==this.#j[t].pointerId){i=t;break}return i}#ot(){this.#T=void 0,this.#j=new Array,this.#z=!1,this.#B=0,this.#F=0,this.#N=0,this.#X=0,this.#U=0,this.#q=0}#rt(){return{duration:this.#B,deltaX:this.#F,deltaY:this.#N,distance:this.#X,scale:this.#U,angle:this.#q}}#lt(t){if(t.stopPropagation(),"touch"!=t.pointerType)return;const e=t.type;if("pointerover"==e||"pointerenter"==e||"pointerout"==e||"pointerleave"==e)return;if(console.log(e),"pointercancel"==e){const t=this.#rt(),e=new CustomEvent("mani
1pulationCancelled",{detail:t});return this.dispatchEvent(e),void this.#ot()}const i=this.#j.length;if("pointerdown"==e){if(0==i){this.#T=t,this.#j.push(t),this.#z=!0;const e=this.#rt(),i=new CustomEvent("manipulationStarted",{detail:e});this.dispatchEvent(i)}else if(1==i){this.#j.push(t),this.#B=t.timeStamp-this.#T.timeStamp;const e=this.#rt(),i=new CustomEvent("manipulationChanged",{detail:e});this.dispatchEvent(i)}return}const n=this.#st(t);if(-1!=n){if(this.#B=t.timeStamp-this.#T.timeStamp,"pointermove"==e&&1==i){const e=this.#j[n];this.#F=t.pageX-e.pageX,this.#N=t.pageY-e.pageY,this.#X=0,this.#U=0,this.#q=0;const i=this.#rt(),a=new CustomEvent("manipulationChanged",{detail:i});this.dispatchEvent(a),this.#j[n]=t}if("pointerup"!=e);else{if(2==this.#j.length);else if(1==this.#j.length){const e=this.#j[n];this.#F=t.pageX-e.pageX,this.#N=t.pageY-e.pageY,this.#X=0,this.#U=0,this.#q=0;const i=this.#rt(),a=new CustomEvent("manipulationFinished",{detail:i});this.dispatchEvent(a)}this.#j.splice(n,1)}}}#at(){this.addEventListener("pointerenter",this.#y),this.addEventListener("pointerdown",this.#H),this.addEventListener("pointerover",this.#L),this.addEventListener("pointermove",this.#M),this.addEventListener("pointerout",this.#A),this.addEventListener("pointerup",this.#C),this.addEventListener("pointerleave",this.#x),this.addEventListener("pointercancel",this.#S)}#nt(){this.removeEventListener("pointerover",this.#L),this.removeEventListener("pointerenter",this.#y),this.removeEventListener("pointerdown",this.#H),this.removeEventListener("pointermove",this.#M),this.removeEventListener("pointerup",this.#C),this.removeEventListener("pointerout",this.#A),this.removeEventListener("pointerleave",this.#x),this.removeEventListener("pointercancel",this.#S)}#J(t){this.#lt(t)}#G(t){this.#lt(t)}#$(t){this.#lt(t)}#K(t){this.#lt(t)}#Z(t){this.#lt(t)}#Q(t){this.#lt(t)}#tt(t){this.#lt(t)}#et(t){this.#lt(t)}}window.customElements.define("axial-component-base",i);class n extends i{constructor(){super(),this.classList.add("axial_button_base")}}window.customElements.define("axial-button-base",n),window.customElements.define("kode-close-button",class extends n{#dt;#ht;#ut;#pt;#ct="rotate(180deg)";#wt="rotate(0deg)";#mt="#ffbfc5";#gt="#fff";constructor(){super(),this.classList.add("kode_close_button"),this.template="kode-close-button-template",this.#dt=this.#bt.bind(this),this.#ht=this.#vt.bind(this)}connectedCallback(){this.#ut=this.getElementsByTagName("circle")[0],this.#pt=this.getElementsByTagName("polygon")[0],this.#ut=this.shadow.getElementById("circle"),this.#pt=this.shadow.getElementById("polygon"),this.addEventListener("pointerenter",this.#dt),this.addEventListener("pointerleave",this.#ht)}#bt(t){this.#ut.style.fill=this.#gt,this.#pt.style.fill=this.#mt,this.style.transform=this.#ct}#vt(t){this.#ut.style.fill=this.#mt,this.#pt.style.fill=this.#gt,this.style.transform=this.#wt}});class a{static get MAGIC_NUMBER(){return 1.70158}static backIn(t){return t*t*((a.MAGIC_NUMBER+1)*t-a.MAGIC_NUMBER)}static backOut(t){return(t-=1)*t*((a.MAGIC_NUMBER+1)*t+a.MAGIC_NUMBER)+1}static bounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}static circularIn(t){return-(Math.sqrt(1-t*t)-1)}static circularOut(t){return Math.sqrt(1-Math.pow(t-1,2))}static circularInOut(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}static elastic(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1}static linear(t){return t}static linearIn(t){return Math.pow(t,4)}static linearOut(t){return Math.pow(t,.25)}static linearInOut(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)}static expoIn(t){return 0===t?0:Math.pow(2,10*(t-1))}static expoOut(t){return 1===t?1:1-Math.pow(2,-10*t)}static expoInOut(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))}static sineIn(t){return 1-Math.cos(t*(Math.PI/2))}static sineOut(t){return Math.sin(t*(Math.PI/2))}static sineInOut(t){return-.5*(Math.cos(Math.PI*t)-1)}static quadIn(t){return Math.pow(t,2)}static quadOut(t){return-(Math.pow(t-1,2)-1)}static quadInOut(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)}static cubicIn(t){return t*t*t}static cubicOut(t){const e=t-1;return e*e*e+1}static cubicInOut(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}}
1class s extends EventTarget{#ft;#Et;#yt=2;#Ht=600;#Lt=new Array;#Mt=0;#At=200;#Ct=Date.now();#xt=!1;#St=!0;#Dt;constructor(t){super(),this.#Dt=this.#It.bind(this),this.#ft=t,this.#Et=this.#ft.getElementsByTagName("path")}get svg(){return this.#ft}get isOpened(){return this.#xt}play(){this.#St=!0;for(let t=0;t<this.#yt;t++)this.#Lt[t]=0;this.#xt=!this.#xt,this.#Ct=Date.now(),this.#Dt()}#Pt(t){const e=new Array;for(let i=0;i<this.#yt;i++){const n=this.#xt?1==i?a.cubicOut:a.cubicInOut:1==i?a.cubicInOut:a.cubicOut;e[i]=100*n(Math.min(Math.max(t-this.#Lt[i],0)/this.#Ht,1))}let i="";i=1==this.#xt?"M 0 0 V "+e[0]+" ":"M 0 "+e[0]+" ";for(let t=0;t<this.#yt-1;t++){const n=(t+1)/(this.#yt-1)*100,a=n-1/(this.#yt-1)*100/2;i=i+"C "+a+" "+e[t]+" "+a+" "+e[t+1]+" "+n+" "+e[t+1]}return 1==this.#xt?i+="V 0 H 0":i+="V 100 H 0",i}#Rt(){if(1==this.#xt)for(let t=0;t<this.#Et.length;t++)this.#Et[t].setAttribute("d",this.#Pt(Date.now()-(this.#Ct+this.#At*t)));else for(let t=0;t<this.#Et.length;t++)this.#Et[t].setAttribute("d",this.#Pt(Date.now()-(this.#Ct+this.#At*(this.#Et.length-t-1))))}#It(){if(this.#Rt(),Date.now()-this.#Ct<this.#Ht+this.#At*(this.#Et.length-1)+this.#Mt)requestAnimationFrame(this.#Dt);else{this.#St=!1;const t=new Event("shapeOverlaysFinished");this.dispatchEvent(t)}}}window.customElements.define("kode-background-lines",class extends i{#Vt=14;constructor(){super(),this.classList.add("kode_background_lines")}connectedCallback(){const t=2*window.innerWidth,e=2*window.innerHeight,i=t>e?t:e,n=Math.ceil(i/this.#Vt);for(let t=0;t<n;t++){let e=document.createElement("div");e.style.width=i+"px",e.style.height=this.#Vt+"px",t%2==0&&(e.style.backgroundColor="rgba(255, 190, 65, 0.14)"),this.appendChild(e)}}});class o extends e{#_t;#Ot;#kt="../data/data.json";#zt="/data/data.json";constructor(){super(),new URL(window.location.href),this.#_t=this.#Tt.bind(this)}#Tt(t){document.getElementById("axialMainLayer").style.visibility="visible"}_onApplicationPageLoaded(t){this.#jt(),this.#Ot=new s(document.getElementsByClassName("shape-overlays")[0]),this.#Ot.addEventListener("shapeOverlaysFinished",this.#_t),this.#Ot.play()}async#jt(){try{const t=await fetch(this.#kt,{method:"GET"}),e=await t.json();this.data=e}catch(t){console.log(t)}}_onApplicationDataChanged(){super._onApplicationDataChanged()}}class r extends i{#Bt;#Ft;#Nt=void 0;#dt;#ht;#Xt="grayscale(0%)";#Ut="grayscale(100%)";#qt=void 0;get imageUrl(){return this.#Nt}get index(){return this.#qt}set index(t){this.#qt=t,this.#Ft&&(this.#Ft.innerHTML=String(this.#qt+1))}constructor(){super(),this.classList.add("kode_project_item"),this.template="kode-project-item-template",this.#dt=this.#bt.bind(this),this.#ht=this.#vt.bind(this)}connectedCallback(){this.#Bt=this.shadow.getElementById("image"),this.#Ft=this.shadow.getElementById("number"),this.#qt&&(this.#Ft.innerHTML=String(this.#qt+1)),this.addEventListener("pointerenter",this.#dt),this.addEventListener("pointerleave",this.#ht)}_onDataChanged(){this.#Nt="."+this.data.url,this.#Bt.src=this.#Nt}#bt(t){this.#Bt.style.filter=this.#Xt}#vt(t){this.#Bt.style.filter=this.#Ut}}window.customElements.define("kode-project-item",r);class l extends i{constructor(){super(),this.classList.add("axial_view_base")}_onViewLeaving(){}_onViewLeft(){}_onViewEntering(){}_onViewEntered(){}}window.customElements.define("axial-view-base",l);class d extends l{constructor(){super(),this.classList.add("kode_project_view")}_onDataChanged(){this.style.backgroundImage="url('."+this.data.url+"')"}}window.customElements.define("kode-project-view",d);class h extends i{#Wt;#Yt;#Gt;#$t;#Jt=new Array;#Kt=void 0;#Qt=void 0;#qt=-1;#Zt;#Ht=0;#te=0;#ee=0;#ie="none";#ne;#ae;#se;#oe=1e3;#re=0;#le=0;static#de=Object.freeze(new Set(["none","fade","slide"]));static get TRANSITIONS(){return h.#de}constructor(){super(),this.#Wt=this.#he.bind(this),this.#Yt=this.#ue.bind(this),this.#Gt=this.#pe.bind(this),this.#$t=this.#ce.bind(this),this.#ne=this.#we.bind(this),this.addEventListener("manipulationStarted",this.#Wt),this.addEventListener("manipulationChanged",this.#Yt),this.addEventListener("manipulationFinished",this.#Gt),this.addEventListener("manipulationCancelled",this.#$t),this.classList.add("axial_viewer_base"),this.template="axial-viewer-base-template",this.isResizable=!0}_finalizeComponent(){const t=this.shadowRoot.children;if(2!=t.length)throw new Error("AxialViewerBase seems to not have the correct template");const e=t[1];1==e.classList.contains("axial_viewer_base-holder")&&(this.#Zt=e);const i=this.#Zt.children[0];if(null==i||null==i)throw new Error("AxialViewerBase seems to not have the correct template");const n=i.assignedElements(),a=n.length;if(a>0){this.#qt=0;for(let t=0;t<a;t++){const e=n[t];if(e instanceof l!=1)throw new Error("Elements in a viewer must be or extends AxialViewBase");this.#Jt.push(e)}this.#me()}}_resize(){super._resize(),this.#me()}get currentView(){return this.#Jt[this.#qt]}get currentViewIndex(){return this.#qt}get maxViews(){return this.#Jt.length}get allViews(){return this.#Jt}addView(t){if(t instanceof l==0)throw new Error("Elements in a viewer must be or extends AxialViewBase");this.#Jt.push(t),this.#Zt.appendChild(t),-1==this.#qt&&(this.#qt=0),this.#me()}gotoViewByIndex(t=0,e="none"){const i=this.#Jt.length;if(0==i)return;if(1==isNaN(t))throw new TypeError("index arg must be a number");if(t<0)throw new Error("index value can't be negative");if(t>this.#Jt.length)throw new Error("index value can't excess the maximum of views in the viewer");if(t==this.#qt)return;if("string"!=typeof e)throw new TypeError("String value expected for transition");if(0==h.#de.has(e))throw new Error(" 'none', 'fade' or 'slide' value expected ");this.#Kt=this.#Jt[this.#qt],this.#Qt=this.#Jt[t],this.#Kt._onViewLeaving(),this.#Qt._onViewEntering();const n=new CustomEvent("viewLeaving");this.dispatchEvent(n);const a=new CustomEvent("viewEntering");if(this.dispatchEvent(a),this.#ee=t>this.#qt?-1:1,this.#qt=t,this.#ie=e,"none"==e){for(let t=0;t<i;t++){const e=this.#Jt[t];e.style.left="0px",t==this.#qt?e.style.display="block":e.style.display="none"}this.#Kt._onViewLeft(),this.#Qt._onViewEntered();const t=new CustomEvent("viewLeft");this.dispatchEvent(t);const e=new CustomEvent("viewEntered");this.dispatchEvent(e)}else this.#le=0,this.#re=2,this.#ge()}#ge(){switch(this.#ie){case"fade":this.#be();break;case"slide":this.#ve()}}#be(){this.#Qt.style.display="block",this.#ae=this.#Kt.animate([{display:"block",opacity:1},{display:"block",opacity:0}
1],{iterations:1,duration:this.#oe,fill:"both"}),this.#ae.addEventListener("finish",this.#ne),this.#se=this.#Qt.animate([{display:"block",opacity:0},{display:"block",opacity:1}],{iterations:1,duration:this.#oe,fill:"both"}),this.#se.addEventListener("finish",this.#ne)}#ve(){this.#Qt.style.display="block";const t=this.offsetWidth,e=String(this.#ee*t)+"px",i=String(this.#ee*-t)+"px";this.#ae=this.#Kt.animate([{left:"0px"},{left:e}],{iterations:1,duration:this.#oe}),this.#ae.addEventListener("finish",this.#ne),this.#se=this.#Qt.animate([{left:i},{left:"0px"}],{iterations:1,duration:this.#oe}),this.#se.addEventListener("finish",this.#ne)}#we(t){if(this.#le+=1,this.#re==this.#le){this.#ae.removeEventListener("finish",this.#ne),this.#se.removeEventListener("finish",this.#ne),this.#Kt._onViewLeft(),this.#Qt._onViewEntered();const t=new CustomEvent("viewLeft");this.dispatchEvent(t);const e=new CustomEvent("viewEntered");this.dispatchEvent(e),this.#me()}}#me(){const t=this.#Jt.length;if(0!=t){this.#te=0,this.#Ht=0;for(let e=0;e<t;e++){const t=this.#Jt[e];t.style.left="0px",e==this.#qt?t.style.display="block":t.style.display="none"}}}#he(t){if(console.log(t.detail),0==this.#Jt.length)return;const e=this.#Zt.offsetWidth;this.#te=0,this.#Ht=0;const i=this.#qt-1,n=this.#Jt[i];n&&(n.style.display="block",n.style.left=String(-e)+"px");const a=this.#qt+1,s=this.#Jt[a];s&&(s.style.display="block",s.style.left=String(e)+"px")}#ue(t){if(console.log(t.detail),0==this.#Jt.length)return;const e=this.#Zt.offsetWidth;this.#te+=t.detail.deltaX;const i=this.#Jt[this.#qt],n=this.#te;i.style.left=String(n)+"px";const a=this.#qt-1,s=this.#Jt[a];s&&(s.style.display="initial",s.style.left=String(-e+this.#te)+"px");const o=this.#qt+1,r=this.#Jt[o];r&&(r.style.display="initial",r.style.left=String(e+this.#te)+"px")}#pe(t){console.log(t.detail),console.log("MANIPULATION FINISHED !!!!")}#ce(t){console.log(t.detail),console.log("MANIPULATION CANCELLED !!!!")}}window.customElements.define("axial-viewer-base",h),new class extends o{#fe;#Ee;#ye;#He;#Le;#Me;#Ae;#Ce;#xe;#Se;#De;#Ie=842;#Pe=595;#Re=10;constructor(){super(),this.useApplicationResize=!0,this.#Ae=this.#Ve.bind(this),this.#Ce=this.#_e.bind(this),this.#xe=this.#Oe.bind(this),this.#Se=this.#ke.bind(this)}_onApplicationPageLoaded(t){super._onApplicationPageLoaded(t),this.#ye=document.getElementById("kodeGrid"),this.#He=document.getElementById("projectViewerHolder"),this.#Le=document.getElementById("projectViewer"),this.#Me=document.getElementById("projectViewerCloser"),this.#fe=document.getElementById("arrowLeft"),this.#Ee=document.getElementById("arrowRight"),this.#Me.addEventListener("click",this.#Ce),this.#fe.addEventListener("click",this.#xe),this.#Ee.addEventListener("click",this.#Se)}_onApplicationDataChanged(){super._onApplicationDataChanged(),this.#ze()}#ze(){this.#De=window.AXIAL.data.project.images;const t=this.#De.length;for(let e=0;e<t;e++){const t=this.#De[e];let i=new r;this.#ye.appendChild(i),i.data=t,i.index=e,i.addEventListener("click",this.#Ae);const n=new d;n.data=t,this.#Le.addView(n)}}_onApplicationResize(){if(super._onApplicationResize(),0==this.applicationPageLoaded)return;const t=this.#Le.offsetWidth,e=this.#Le.offsetHeight,i=this.#Le.offsetLeft,n=this.#Le.offsetTop,a=t/e,s=this.#Ie/this.#Pe,o=this.#Me.offsetWidth,r=(this.#Me.offsetHeight,this.#fe.offsetWidth);let l=0,d=0;if(a<=s){const a=(e-t/s)/2;this.#Me.style.top=n+a+this.#Re+"px",this.#Me.style.left=i+t-o-this.#Re+"px",l=i+this.#Re,d=i+t-this.#Re-r}else{const a=(t-e*s)/2;this.#Me.style.top=n+this.#Re+"px",this.#Me.style.left=i+t-a-o-this.#Re+"px",l=i-this.#Re+a-r,d=i+t-a+this.#Re}l<this.#Re&&(l=this.#Re),d>t-r&&(d=t-this.#Re-r),this.#fe.style.left=l+"px",this.#Ee.style.left=d+"px"}#Ve(t){this.#He.style.visibility="visible";const e=t.target.index;0==e?(this.#fe.style.visibility="hidden",this.#Ee.style.visibility="visible"):e==this.#De.length-1?(this.#fe.style.visibility="visible",this.#Ee.style.visibility="hidden"):(this.#fe.style.visibility="visible",this.#Ee.style.visibility="visible"),this.#Le.gotoViewByIndex(e),this._onApplicationResize()}#Oe(t){let e=this.#Le.currentViewIndex-1;e<=0&&(e=0,this.#fe.style.visibility="hidden"),this.#Ee.style.visibility="visible",this._onApplicationResize(),this.#Le.gotoViewByIndex(e,"slide")}#ke(t){let e=this.#Le.currentViewIndex+1;e>=this.#De.length-1&&(e=this.#De.length-1,this.#Ee.style.visibility="hidden"),this.#fe.style.visibility="visible",this._onApplicationResize(),this.#Le.gotoViewByIndex(e,"slide")}
1#_e(t){this.#He.style.visibility="hidden",this.#Ee.style.visibility="hidden",this.#fe.style.visibility="hidden"}}})();

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.