PageSourceSearch

https://salzburger-dom.at/9428.e806083715786f3b.js

js salzburger-dom.at collected 2026-10-02 10:51:47 UTC 15,789 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdomshop=self.webpackChunkdomshop||[]).push([[9428],{17524:(yt,H,g)=>{function W(o,e,r){if(r||2===arguments.length)for(var i,t=0,n=e.length;t<n;t++)(i||!(t in e))&&(i||(i=Array.prototype.slice.call(e,0,t)),i[t]=e[t]);return o.concat(i||Array.prototype.slice.call(e))}g.d(H,{o:()=>se}),"function"==typeof SuppressedError&&SuppressedError;var Ht=g(47272),N=new Map,gt=function(e){return e.cloneNode(!0)},_t=function(){return"file:"===window.location.protocol},wt=function(e,r,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&2===n.readyState){var i=n.getResponseHeader("Content-Type");if(!i)throw new Error("Content type not found");var s=(0,Ht.q)(i).type;if("image/svg+xml"!==s&&"text/plain"!==s)throw new Error("Invalid content type: ".concat(s))}if(4===n.readyState){if(404===n.status||null===n.responseXML)throw new Error(_t()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(!(200===n.status||_t()&&0===n.status))throw new Error("There was a problem injecting the SVG: "+n.status+" "+n.statusText);t(null,n)}}catch(c){if(n.abort(),!(c instanceof Error))throw c;t(c,n)}},n.open("GET",e),n.withCredentials=r,n.overrideMimeType&&n.overrideMimeType("text/xml"),n.send()},G={},bt=function(e,r){G[e]=G[e]||[],G[e].push(r)},Yt=function(e,r,t){if(N.has(e)){var n=N.get(e);if(void 0===n)return void bt(e,t);if(n instanceof SVGSVGElement)return void t(null,gt(n))}N.set(e,void 0),bt(e,t),wt(e,r,function(i,s){var c;i?N.set(e,i):(null===(c=s.responseXML)||void 0===c?void 0:c.documentElement)instanceof SVGSVGElement&&N.set(e,s.responseXML.documentElement),function(e){for(var r=function(s,c){setTimeout(function(){if(Array.isArray(G[e])){var l=N.get(e),u=G[e][s];l instanceof SVGSVGElement&&u(null,gt(l)),l instanceof Error&&u(l),s===G[e].length-1&&delete G[e]}},0)},t=0,n=G[e].length;t<n;t++)r(t)}(e)})},$t=function(e,r,t){wt(e,r,function(n,i){var s;n?t(n):(null===(s=i.responseXML)||void 0===s?void 0:s.documentElement)instanceof SVGSVGElement&&t(null,i.responseXML.documentElement)})},Ut=0,O=[],Et={},at="http://www.w3.org/1999/xlink",St=function(e,r,t,n,i,s,c){var l=e.getAttribute("data-src")||e.getAttribute("src");if(l){if(-1!==O.indexOf(e))return O.splice(O.indexOf(e),1),void(e=null);O.push(e),e.setAttribute("src",""),(n?Yt:$t)(l,i,function(d,f){if(!f)return O.splice(O.indexOf(e),1),e=null,void c(d);var E=e.getAttribute("id");E&&f.setAttribute("id",E);var h=e.getAttribute("title");h&&f.setAttribute("title",h);var p=e.getAttribute("width");p&&f.setAttribute("width",p);var m=e.getAttribute("height");m&&f.setAttribute("height",m);var _=Array.from(new Set(W(W(W([],(f.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();f.setAttribute("class",_);var w=e.getAttribute("style");w&&f.setAttribute("style",w),f.setAttribute("data-src",l);var S=[].filter.call(e.attributes,function(j){return/^data-\w[\w-]*$/.test(j.name)});if(Array.prototype.forEach.call(S,function(j){j.name&&j.value&&f.setAttribute(j.name,j.value)}),t){var C,L,Q,J,V={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(V).forEach(function(j){L=V[j];for(var le=function(ht,ye){var et;J=(Q=C[ht].id)+"-"+ ++Ut,Array.prototype.forEach.call(L,function(mt){for(var nt=0,ve=(et=f.querySelectorAll("["+mt+'*="'+Q+'"]')).length;nt<ve;nt++){var xt=et[nt].getAttribute(mt);xt&&!xt.match(new RegExp('url\\("?#'+Q+'"?\\)'))||et[nt].setAttribute(mt,"url(#"+J+")")}});for(var dt=f.querySelectorAll("[*|href]"),vt=[],rt=0,he=dt.length;rt<he;rt++){var jt=dt[rt].getAttributeNS(at,"href");jt&&jt.toString()==="#"+C[ht].id&&vt.push(dt[rt])}for(var pt=0,de=vt.length;pt<de;pt++)vt[pt].setAttributeNS(at,"href","#"+J);C[ht].id=J},ft=0,fe=(C=f.querySelectorAll(j+"[id]")).length;ft<fe;ft++)le(ft)})}f.removeAttribute("xmlns:a");for(var ut,Z,q=f.querySelectorAll("script"),tt=[],z=0,ae=q.length;z<ae;z++)(!(Z=q[z].getAttribute("type"))||"application/ecmascript"===Z||"application/javascript"===Z||"text/javascript"===Z)&&((ut=q[z].innerText||q[z].textContent)&&tt.push(ut),f.removeChild(q[z]));if(tt.length>0&&("always"===r||"once"===r&&!Et[l])){for(var lt=0,ce=tt.length;lt<ce;lt++)new Function(tt[lt])(window);Et[l]=!0}var ue=f.querySelectorAll("style");if(Array.prototype.forEach.call(ue,function(j){j.textContent+=""}),f.setAttribute("xmlns","http://www.w3.org/2000/svg"),f.setAttribute("xmlns:xlink",at),s(f),!e.parentNode)return O.splice(O.indexOf(e),1),e=null,void c(new Error("Parent node is null"));e.parentNode.replaceChild(f,e),O.splice(O.indexOf(e),1),e=null,c(null,f)})}else c(new Error("Invalid data-src or src attribute"))},At=g(68691),ct=g(35103),Wt=g(77927),a=g(4020),Kt=g(5779),Tt=g(12791),Qt=g(60177),Jt=g(81141),te=g(96034);const ee=["svgHost"];function re(o,e){if(1&o){const r=a.RV6();a.j41(0,"p-button",7),a.bIt("onClick",function(){a.eBV(r);const n=a.XpG();return a.Njj(n.zoomAuto())}),a.k0s()}}function ne(o,e){if(1&o){const r=a.RV6();a.j41(0,"p-button",8),a.bIt("onClick",function(){a.eBV(r);const n=a.XpG();return a.Njj(n.zoomOut())}),a.k0s()}}function oe(o,e){if(1&o&&a.nrm(0,"c365-actions-menu",11),2&o){const r=a.XpG(2);a.Y8G("actions",r.hoverActions)("extractWeightedButtons",!0)("text",!0)("outline",!0)}}function ie(o,e){if(1&o){const r=a.RV6();a.j41(0,"div",9),a.bIt("mouseenter",function(){a.eBV(r);const n=a.XpG();return a.Njj(n.hoverInside=!0)})("mouseleave",function(){a.eBV(r);const n=a.XpG();return a.Njj(n.hideHoverMenu())})("mousedown",function(n){a.eBV(r);const i=a.XpG();return a.Njj(i.togglePin(n))})("click",function(n){return a.eBV(r),a.Njj(n.stopPropagation())}),a.DNE(1,oe,1,4,"c365-actions-menu",10),a.k0s()}if(2&o){const r=a.XpG();a.xc7("left",r.hoverX,"px")("top",r.hoverY,"px"),a.R7$(),a.Y8G("ngIf",null==r.hoverActions?null:r.hoverActions.length)}}let se=(()=>{class o{constructor(r,t,n,i,s,c,l){this.navigationService=r,this.messageService=t,this.backendService=n,this.route=i,this.router=s,this.cdr=c,this.zone=l,this.svgSource="",this.nodeTexts=[],this.zoom=100,this.editMode=!1,this.enableZoom=!1,this.clearEmpty=!1,this.showControls=!0,this.outerStyle="",this.zoomBehaviour={},this.svg={},this.touchStartX=null,this.touchStartY=null,this.touchThreshold=10,this.hoverVisible=!1,this.hoverInside=!1,this.hoverPinned=!1,this.hoverX=0,this.hoverY=0,this.hoverActions=[],this.lastAnchorEl=null}ngOnInit(){this.router.url.indexOf("/edit")>
1-1&&(this.editMode=!0),this.route.snapshot.queryParamMap.get("full")&&(this.enableZoom=!0);const t=this.svgHost.nativeElement;if(!t)return;this.zone.runOutsideAngular(()=>{t.addEventListener("mousemove",f=>{if(this.hoverPinned)return;const E=f.target,h=this.findNearestElementId(E),p=this.getActionsForElementId(h),m=this.findAnchorSvgElement(E);p.length&&m?this.zone.run(()=>{this.hoverActions=p,this.hoverVisible=!0,this.lastAnchorEl=m,this.positionHoverAtElement(m)}):this.hoverInside||this.zone.run(()=>this.hideHoverMenu())},!0),t.addEventListener("mouseleave",()=>this.zone.run(()=>this.hideHoverMenu()),!0)}),this.zone.runOutsideAngular(()=>{});const n=this.nodeTexts,i=this.editMode,s=this.clearEmpty,c=this.showControls,l=u=>{if(!u||!this.svgSource)return;n?.forEach(function d(h){const m=h.txtL1,_=h.txtL2,w=document.getElementById(h.id);if(w){const S=w.getElementsByTagName("tspan");m&&S.length>0?S[0].innerHTML=m:h.empty&&i?(S[0].innerHTML=" --- Wert erfassen ---",S[0].setAttribute("style","border: 1px solid red")):s&&(S[0].innerHTML=""),_&&S.length>1&&(S[1].innerHTML=_)}w?.setAttribute("style","cursor: pointer")}),Wt(u,{center:!1,controlIconsEnabled:c});const f=document.querySelector('g[id="svg-pan-zoom-controls"]');u.getBoundingClientRect(),f&&f.setAttribute("transform","translate(15,15)")};if(this.svgSource)if(this.svgSource.trim().startsWith("<")){t.innerHTML=this.svgSource;const u=t.querySelector("svg");l(u)}else t.setAttribute("data-src",this.svgSource),function(e,r){var t=void 0===r?{}:r,n=t.afterAll,i=void 0===n?function(){}:n,s=t.afterEach,c=void 0===s?function(){}:s,l=t.beforeEach,u=void 0===l?function(){}:l,d=t.cacheRequests,f=void 0===d||d,E=t.evalScripts,h=void 0===E?"never":E,p=t.httpRequestWithCredentials,m=void 0!==p&&p,_=t.renumerateIRIElements,w=void 0===_||_;if(e&&"length"in e)for(var S=0,V=0,K=e.length;V<K;V++)St(e[V],h,w,f,m,u,function(C,L){c(C,L),e&&"length"in e&&e.length===++S&&i(S)});else e?St(e,h,w,f,m,u,function(C,L){c(C,L),i(1),e=null}):i(0)}(t,{afterAll:()=>{const u=t.querySelector("svg");l(u)}})}zoomAuto(){this.svg=ct.Ltv("svg"),this.svg&&(this.zoomBehaviour=ct.s_O().on("zoom",r=>{this.svg.attr("transform",r.transform)}),this.svg.call(this.zoomBehaviour))}zoomOut(){const r=document.getElementById("viewer");if(r){const t=Number(r.getAttribute("width")),n=Number(r.getAttribute("height"));this.svg.transition().duration(750).call(this.zoomBehaviour.transform,ct.GSI.translate(1.5*t*-1,1.5*n*-1).scale(.4))}}onClickElement(r){if(this.hoverPinned)return this.hoverPinned=!1,this.hoverVisible=!1,this.hoverActions=[],this.hoverInside=!1,void this.cdr.markForCheck();const t=[],n=r.target;n.id&&t.push(n.id);const i=n.getAttribute("data-element-id");i&&t.push(i);let c,s=n.parentElement;do{c="";const l=s?.getAttribute("data-element-id");l&&t.push(l),s?.id&&(c=s.id,"chart-container"!==c&&"svg"!==c&&"viewer"!==c&&t.push(c)),s&&(s=s.parentElement)}while(s&&"chart-container"!==c);
1this.nodeTexts&&this.nodeTexts.forEach(l=>{t.forEach(u=>{l.id===u&&(this.editMode?l.navigate&&this.messageService.add(l.navigate[0].formActions?{severity:"success",summary:"Form action",detail:JSON.stringify(l.navigate[0]?.formActions)}:{severity:"success",summary:"Navigation",detail:JSON.stringify(l.navigate[0])}):l.instance?l.formActions?this.backendService.handleActions(l.formActions):this.navigationService.navigateToObject({selfClass:l.instance.selfClass,cockpitId:l.instance.cockpitId}):l.navigate?.length>0&&(l.navigate[0].formActions?this.backendService.handleActions(l.navigate[0].formActions):this.navigationService.navigateFromMenu(l.navigate[0])))})}),this.editMode&&this.messageService.add({severity:"info",summary:"Felder",detail:t.toString()})}onTouchStart(r){const t=r.touches[0];this.touchStartX=t.clientX,this.touchStartY=t.clientY}onTouchEnd(r){if(null!==this.touchStartX&&null!==this.touchStartY){const t=r.changedTouches[0],n=Math.abs(t.clientX-this.touchStartX),i=Math.abs(t.clientY-this.touchStartY);n<this.touchThreshold&&i<this.touchThreshold&&this.onClickElement(r),this.touchStartX=null,this.touchStartY=null}}getActionsForElementId(r){return r&&Array.isArray(this.nodeTexts)?this.nodeTexts.filter(t=>t.id===r).flatMap(t=>{if(Array.isArray(t.formActions))return t.formActions;const n=t.navigate?.[0]?.formActions;return Array.isArray(n)?n:[]}):[]}findNearestElementId(r){if(!r)return null;const t=r.getAttribute("data-element-id");if(t)return t;if(r.id&&!["svg","viewer","chart-container"].includes(r.id))return r.id;let n=r.parentElement;for(;n;){const i=n.getAttribute?.("data-element-id");if(i)return i;if(n.id&&!["svg","viewer","chart-container"].includes(n.id))return n.id;n=n.parentElement}return null}togglePin(r){r.stopPropagation(),this.hoverPinned=!this.hoverPinned,!this.hoverPinned&&!this.hoverInside&&this.hideHoverMenu()}hideHoverMenu(){clearTimeout(this.hoverHideTimer),this.hoverHideTimer=setTimeout(()=>{this.hoverPinned||(this.hoverInside||(this.hoverVisible=!1,this.hoverActions=[],this.cdr.markForCheck()),this.hoverInside=!1)},120)}findAnchorSvgElement(r){let t=r;for(;t;){if("function"==typeof t.getBBox&&"function"==typeof t.getScreenCTM)return t;t=t.parentElement}return null}getTopRightScreenPoint(r){const t=r.getBBox(),n=r.getScreenCTM();if(!n)return{x:0,y:0};const s=r.ownerSVGElement.createSVGPoint();s.x=t.x+t.width,s.y=t.y;const c=s.matrixTransform(n);return{x:c.x,y:c.y}}positionHoverAtElement(r){const{x:t,y:n}=this.getTopRightScreenPoint(r);this.hoverX=t+-5,this.hoverY=n+-5,this.cdr.markForCheck()}static{this.\u0275fac=function(t){return new(t||o)(a.rXU(At.NavigationService),a.rXU(Kt.bg),a.rXU(At.C365BackendService),a.rXU(Tt.nX),a.rXU(Tt.Ix),a.rXU(a.gRc),a.rXU(a.SKi))}}static{this.\u0275cmp=a.VBU({type:o,selectors:[["c365-svgviewer"]],viewQuery:function(t,n){if(1&t&&a.GBs(ee,7),2&t){let i;a.mGM(i=a.lsd())&&(n.svgHost=i.first)}},inputs:{svgSource:"svgSource",nodeTexts:"nodeTexts",clearEmpty:"clearEmpty",showControls:"showControls",outerStyle:"outerStyle"},standalone:!1,decls:7,vars:6,consts:[["svgHost",""],["label","Zoomen aktivieren",3,"onClick",4,"ngIf"],["label","Zoomen",3,"onClick",4,"ngIf"],[3,"click","touchstart","touchend"],["id","viewer",1,"viewer",2,"width","100%"],[1,"w-full","h-full"],["class","fixed z-50 rounded-md shadow-lg bg-surface-0 dark:bg-surface-900 border border-surface-200 p-2","style","pointer-events:auto",3,"left","top","mouseenter","mouseleave","mousedown","click",4,"ngIf"],["label","Zoomen aktivieren",3,"onClick"],["label","Zoomen",3,"onClick"],[1,"fixed","z-50","rounded-md","shadow-lg","bg-surface-0","dark:bg-surface-900","border","border-surface-200","p-2",2,"pointer-events","auto",3,"mouseenter","mouseleave","mousedown","click"],[3,"actions","extractWeightedButtons","text","outline",4,"ngIf"],[3,"actions","extractWeightedButtons","text","outline"]],template:function(t,n){if(1&t){const i=a.RV6();a.DNE(0,re,1,0,"p-button",1)(1,ne,1,0,"p-button",2),a.j41(2,"div",3),a.bIt("click",function(c){return a.eBV(i),a.Njj(n.onClickElement(c))})("touchstart",function(c){return a.eBV(i),a.Njj(n.onTouchStart(c))})("touchend",function(c){return a.eBV(i),a.Njj(n.onTouchEnd(c))}),a.j41(3,"div",4),a.nrm(4,"p",5,0),a.k0s()(),a.DNE(6,ie,2,5,"div",6)}2&t&&(a.Y8G("ngIf",n.enableZoom),a.R7$(),a.Y8G("ngIf",n.enableZoom),a.R7$(),a.ZvI("",n.outerStyle," svgContainer"),a.R7$(4),a.Y8G("ngIf",n.hoverVisible))},dependencies:[Qt.bT,Jt.$n,te.m],styles:[".viewer[_ngcontent-%COMP%]{position:relative;min-height:400px;width:100%;height:calc(100vh - 200px)}"]})}}return o}
1)()},47272:(yt,H)=>{var P=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,Y=/\\([\u000b\u0020-\u00ff])/g,B=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function it(y){this.parameters=Object.create(null),this.type=y}H.q=function ot(y){if(!y)throw new TypeError("argument string is required");var v="object"==typeof y?function D(y){var v;if("function"==typeof y.getHeader?v=y.getHeader("content-type"):"object"==typeof y.headers&&(v=y.headers&&y.headers["content-type"]),"string"!=typeof v)throw new TypeError("content-type header is missing from object");return v}(y):y;if("string"!=typeof v)throw new TypeError("argument string is required to be a string");var b=v.indexOf(";"),X=-1!==b?v.slice(0,b).trim():v.trim();if(!B.test(X))throw new TypeError("invalid media type");var A=new it(X.toLowerCase());if(-1!==b){var R,T,x;for(P.lastIndex=b;T=P.exec(v);){if(T.index!==b)throw new TypeError("invalid parameter format");b+=T[0].length,R=T[1].toLowerCase(),34===(x=T[2]).charCodeAt(0)&&-1!==(x=x.slice(1,-1)).indexOf("\\")&&(x=x.replace(Y,"$1")),A.parameters[R]=x}if(b!==v.length)throw new TypeError("invalid parameter format")}return A}},57977:(yt,H,g)=>{g.d(H,{h:()=>B});var P=g(60177),F=g(89417),I=g(81141),Y=g(96034),k=g(4020);let B=(()=>{class M{static{this.\u0275fac=function($){return new($||M)}}static{this.\u0275mod=k.$C({type:M})}static{this.\u0275inj=k.G2t({imports:[P.MD,I.tm,F.YN,Y.m]})}}return M})()}}]);

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.