PageSourceSearch

https://www.fietz-medien.de/webhostingprodukte/theme/5f9574f6ff7e3…/storefront.index.mjs.66022.069506.js

js fietz-medien.de collected 2026-10-02 17:33:02 UTC 7,702 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[43641,66022],{3641:(e,t,r)=>{r.r(t),r.d(t,{QuickView:()=>u,QuickViewDefaultSettings:()=>p});var s=r(2474),i=r(9451),n=Object.defineProperty,a=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>a(e,"symbol"!=typeof t?t+"":t,r);class l extends i.BRH{constructor(e){super(e),this.type=i.ix0}parse(e){let t,r,s;let n=function(e,t){switch(e){case 1:throw Error("THREE.RGBELoader: Read Error: "+(t||""));case 2:throw Error("THREE.RGBELoader: Write Error: "+(t||""));case 3:throw Error("THREE.RGBELoader: Bad File Format: "+(t||""));default:throw Error("THREE.RGBELoader: Memory Error: "+(t||""))}},a=`
2`,o=function(e,t,r){t=t||1024;let s=e.pos,i=-1,n=0,o="",l=String.fromCharCode.apply(null,new Uint16Array(e.subarray(s,s+128)));for(;0>(i=l.indexOf(a))&&n<t&&s<e.byteLength;)o+=l,n+=l.length,s+=128,l+=String.fromCharCode.apply(null,new Uint16Array(e.subarray(s,s+128)));return -1<i&&(e.pos+=n+i+1,o+l.slice(0,i))},l=new Uint8Array(e);l.pos=0;let h=function(e){let t,r;let s=/^\s*GAMMA\s*=\s*(\d+(\.\d+)?)\s*$/,i=/^\s*EXPOSURE\s*=\s*(\d+(\.\d+)?)\s*$/,a=/^\s*FORMAT=(\S+)\s*$/,l=/^\s*\-Y\s+(\d+)\s+\+X\s+(\d+)\s*$/,h={valid:0,string:"",comments:"",programtype:"RGBE",format:"",gamma:1,exposure:1,width:0,height:0};for(!(e.pos>=e.byteLength)&&(t=o(e))||n(1,"no header found"),(r=t.match(/^#\?(\S+)/))||n(3,"bad initial token"),h.valid|=1,h.programtype=r[1],h.string+=t+`
3`;!1!==(t=o(e));){if(h.string+=t+`
4`,"#"===t.charAt(0)){h.comments+=t+`
5`;continue}if((r=t.match(s))&&(h.gamma=parseFloat(r[1])),(r=t.match(i))&&(h.exposure=parseFloat(r[1])),(r=t.match(a))&&(h.valid|=2,h.format=r[1]),(r=t.match(l))&&(h.valid|=4,h.height=parseInt(r[1],10),h.width=parseInt(r[2],10)),2&h.valid&&4&h.valid)break}return 2&h.valid||n(3,"missing format specifier"),4&h.valid||n(3,"missing image size specifier"),h}(l),p=h.width,u=h.height,c=function(e,t,r){if(t<8||t>32767||2!==e[0]||2!==e[1]||128&e[2])return new Uint8Array(e);t!==(e[2]<<8|e[3])&&n(3,"wrong scanline width");let s=new Uint8Array(4*t*r);s.length||n(4,"unable to allocate buffer space");let i=0,a=0,o=4*t,l=new Uint8Array(4),h=new Uint8Array(o),p=r;for(;p>0&&a<e.byteLength;){a+4>e.byteLength&&n(1),l[0]=e[a++],l[1]=e[a++],l[2]=e[a++],l[3]=e[a++],(2!=l[0]||2!=l[1]||(l[2]<<8|l[3])!=t)&&n(3,"bad rgbe scanline format");let r=0,u;for(;r<o&&a<e.byteLength;){let t=(u=e[a++])>128;if(t&&(u-=128),(0===u||r+u>o)&&n(3,"bad scanline data"),t){let t=e[a++];for(let e=0;e<u;e++)h[r++]=t}else h.set(e.subarray(a,a+u),r),r+=u,a+=u}for(let e=0;e<t;e++){let r=0;s[i]=h[e+r],r+=t,s[i+1]=h[e+r],r+=t,s[i+2]=h[e+r],r+=t,s[i+3]=h[e+r],i+=4}p--}return s}(l.subarray(l.pos),p,u);switch(this.type){case i.RQf:let d=new Float32Array(4*(s=c.length/4));for(let e=0;e<s;e++)!function(e,t,r,s){let i=Math.pow(2,e[t+3]-128)/255;r[s+0]=e[t+0]*i,r[s+1]=e[t+1]*i,r[s+2]=e[t+2]*i,r[s+3]=1}(c,4*e,d,4*e);t=d,r=i.RQf;break;case i.ix0:let g=new Uint16Array(4*(s=c.length/4));for(let e=0;e<s;e++)!function(e,t,r,s){let n=Math.pow(2,e[t+3]-128)/255;r[s+0]=i.GxU.toHalfFloat(Math.min(e[t+0]*n,65504)),r[s+1]=i.GxU.toHalfFloat(Math.min(e[t+1]*n,65504)),r[s+2]=i.GxU.toHalfFloat(Math.min(e[t+2]*n,65504)),r[s+3]=i.GxU.toHalfFloat(1)}(c,4*e,g,4*e);t=g,r=i.ix0;break;default:throw Error("THREE.RGBELoader: Unsupported type: "+this.type)}return{width:p,height:u,data:t,header:h.string,gamma:h.gamma,exposure:h.exposure,type:r}}setDataType(e){return this.type=e,this}load(e,t,r,s){return super.load(e,function(e,r){switch(e.type){case i.RQf:case i.ix0:e.colorSpace=i.Zr2,e.minFilter=i.k6q,e.magFilter=i.k6q,e.generateMipmaps=!1,e.flipY=!0}t&&t(e,r)},r,s)}}class h{constructor(e,t,r={}){o(this,"renderer"),o(this,"scene"),o(this,"pmrem"),o(this,"currentEnvRT",null),o(this,"currentBackgroundCube",null),o(this,"sourceImage",null),o(this,"originalLights",[]),o(this,"options"),this.renderer=e,this.scene=t,this.pmrem=new i.BdL(e),this.options=r,this.options.imageUrl&&(this.sourceImage=new l().loadAsync(this.options.imageUrl)),this.options.enabled&&this.enable()}async enable(e){if(this.options={...this.options,enabled:!0,...e},!this.options.imageUrl)return;
5this.renderer.outputColorSpace=i.er$,this.renderer.toneMapping=i.FV,null!=this.options.exposure&&(this.renderer.toneMappingExposure=this.options.exposure),this.sourceImage||(this.sourceImage=new l().loadAsync(this.options.imageUrl));let t=await this.sourceImage;if(t.mapping=i.wfO,this.options.useAsBackground&&(this.scene.background=t),this.options.rotateY)await this.applyRotationAndSetEnvironment(this.options.rotateY);else{let e=this.pmrem.fromEquirectangular(t);this.cleanupEnv(),this.currentEnvRT=e,this.scene.environment=e.texture}this.applyEnvIntensity(this.scene,this.options.globalEnvIntensity??1),this.options.replaceLights&&this.disableExistingLights()}async setImageUrl(e){this.options.imageUrl=e,this.sourceImage=null,this.options.enabled&&await this.enable()}async setRotationY(e){this.options.rotateY=e,this.sourceImage&&await this.applyRotationAndSetEnvironment(e)}setExposure(e){this.options.exposure=e,this.renderer.toneMappingExposure=e}setGlobalEnvIntensity(e){this.options.globalEnvIntensity=e,this.applyEnvIntensity(this.scene,e)}disable(){this.options.enabled=!1,this.scene.environment=null,this.restoreLights(),this.cleanupEnv()}async dispose(){this.disable(),this.pmrem.dispose(),this.sourceImage&&((await this.sourceImage).dispose(),this.sourceImage=null)}async applyRotationAndSetEnvironment(e){if(!this.sourceImage)return;let t=await this.sourceImage,r=new i.Z58,s=new i.Gu$(10,60,40);t.mapping=i.wfO;let n=new i.V9B({map:t,side:i.hsX}),a=new i.eaF(s,n);a.scale.set(1,1,-1),a.rotation.y=e,r.add(a);let o=this.renderer.toneMapping,l=this.renderer.outputColorSpace;this.renderer.toneMapping=i.y_p,this.renderer.outputColorSpace=i.Zr2;let h=new i.o6l(1024,{type:i.ix0});new i.F1T(.1,1e3,h).update(this.renderer,r),this.renderer.toneMapping=o,this.renderer.outputColorSpace=l;let p=this.pmrem.fromCubemap(h.texture);this.cleanupEnv(),this.currentEnvRT=p,this.scene.environment=p.texture,this.options.useAsBackground&&(this.scene.background=h.texture,this.currentBackgroundCube&&(this.currentBackgroundCube.texture.dispose(),this.currentBackgroundCube.dispose()),this.currentBackgroundCube=h),this.applyEnvIntensity(this.scene,this.options.globalEnvIntensity??1),this.options.useAsBackground||(h.texture.dispose(),h.dispose())}applyEnvIntensity(e,t){e.traverse(e=>{let r=e.material;if(r)for(let e of Array.isArray(r)?r:[r])e&&"envMapIntensity"in e&&(e.envMapIntensity=t,e.needsUpdate=!0),e&&e.map&&"colorSpace"in e.map&&(e.map.colorSpace
5=i.er$)})}disableExistingLights(){let e=[];this.scene.traverse(t=>{t.isLight&&(t.visible=!1,e.push(t))}),this.originalLights=e}restoreLights(){for(let e of this.originalLights)e.visible=!0;this.originalLights=[]}cleanupEnv(){this.currentEnvRT&&(this.currentEnvRT.texture.dispose(),this.currentEnvRT.dispose(),this.currentEnvRT=null),this.currentBackgroundCube&&(this.currentBackgroundCube.texture.dispose(),this.currentBackgroundCube.dispose(),this.currentBackgroundCube=null)}}let p={...s.D,lightIntensity:1,hdr:{enabled:!0,imageUrl:void 0,useAsBackground:!0,globalEnvIntensity:1,exposure:1,rotateY:0,replaceLights:!0}},u=async(e,t)=>{let r=new s.b(t);r.mainView.camera.position.set(0,1,2);let i=new s.c;i.setIntensity((null==t?void 0:t.lightIntensity)??1),r.scene.root.add(i);let n=await new s.d().setFromURL(e);r.scene.root.add(n),n.placeOnFloor();let a=new s.a(r.mainView.camera,r.mainView.canvas);a.focusObject(n),r.clock.addTicker(a);let o=new h(r.mainView.renderer.webglrenderer,r.scene,(null==t?void 0:t.hdr)??p.hdr);return Object.assign(r,{orbitController:a,hdr:o})}}}]);

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.