PageSourceSearch

https://capezio.uk/cdn/shop/t/11/assets/cap-chunk-index-267119fc.js

js capezio.uk collected 2026-10-09 01:29:10 UTC 7,467 bytes, 1 lines download raw bytes

vendor: 3,667 bytes, line 1
1function A(s,e,t,i){function o(r){return r instanceof t?r:new t(function(n){n(r)})}return new(t||(t=Promise))(function(r,n){function a(l){try{c(i.next(l))}catch(f){n(f)}}function h(l){try{c(i.throw(l))}catch(f){n(f)}}function c(l){l.done?r(l.value):o(l.value).then(a,h)}c((i=i.apply(s,e||[])).next())})}function P(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var I,k;function R(){return k||(k=1,I=function s(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var i,o,r;if(Array.isArray(e)){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!s(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(r=Object.keys(e),i=r.length,i!==Object.keys(t).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;for(o=i;o--!==0;){var n=r[o];if(!s(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}),I}var _=R(),j=P(_);const S="__googleMapsScriptId";var u;(function(s){s[s.INITIALIZED=0]="INITIALIZED",s[s.LOADING=1]="LOADING",s[s.SUCCESS=2]="SUCCESS",s[s.FAILURE=3]="FAILURE"})(u||(u={}));class p{constructor({apiKey:e,authReferrerPolicy:t,channel:i,client:o,id:r=S,language:n,libraries:a=[],mapIds:h,nonce:c,region:l,retries:f=3,url:g="https://maps.googleapis.com/maps/api/js",version:y}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=i,this.client=o,this.id=r||S,this.language=n,this.libraries=a,this.mapIds=h,this.nonce=c,this.region=l,this.retries=f,this.url=g,this.version=y,p.instance){if(!j(this.options,p.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(p.instance.options)}`);return p.instance}p.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?u.FAILURE:this.done?u.SUCCESS:this.loading?u.LOADING:u.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(i=>{i?t(i.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id)){this.callback();return}const i={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
1Object.keys(i).forEach(r=>!i[r]&&delete i[r]),!((t=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||t===void 0)&&t.importLibrary||(r=>{let n,a,h,c="The Google Maps JavaScript API",l="google",f="importLibrary",g="__ib__",y=document,d=window;d=d[l]||(d[l]={});const m=d.maps||(d.maps={}),T=new Set,v=new URLSearchParams,O=()=>n||(n=new Promise((w,b)=>A(this,void 0,void 0,function*(){var E;yield a=y.createElement("script"),a.id=this.id,v.set("libraries",[...T]+"");for(h in r)v.set(h.replace(/[A-Z]/g,$=>"_"+$[0].toLowerCase()),r[h]);v.set("callback",l+".maps."+g),a.src=this.url+"?"+v,m[g]=w,a.onerror=()=>n=b(Error(c+" could not load.")),a.nonce=this.nonce||((E=y.querySelector("script[nonce]"))===null||E===void 0?void 0:E.nonce)||"",y.head.append(a)})));m[f]?console.warn(c+" only loads once. Ignoring:",r):m[f]=(w,...b)=>T.add(w)&&O().then(()=>m[f](w,...b))})(i);const o=this.libraries.map(r=>this.importLibrary(r));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),r=>{const n=new ErrorEvent("error",{error:r});this.loadErrorCallback(n)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}const C=[{featureType:"water",elementType:"geometry",stylers:[{color:"#e9e9e9"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#ffffff"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:21}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#dedede"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#f2f2f2"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#fefefe"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#fefefe"},{lightness:17},{weight:1.2}]}],D=C,L=s=>{s.data("map",(e,t,i,o,r)=>({async init(){const n=new p({apiKey:e,version:"weekly",libraries:["maps"]});try{const{Map:a}=await n.importLibrary("maps"),{Marker:h}=await n.importLibrary("marker"),c={lat:t,lng:i},l=new a(this.$refs.map,{zoom:13,center:c,styles:D});new h({position:c,title:o,map:l,icon:{url:r}})}catch(a){this.$dispatch("notice",{type:"error",text:`An error occurred: ${a}`})}}}))};export{L as default};

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.