cdn.robinpro.gallery Open in urlscan Pro
2606:4700:20::681a:5  Public Scan

URL: https://cdn.robinpro.gallery/js/client.js?shop=safe-and-sound-hq.myshopify.com
Submission: On April 17 via manual from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function(){"use strict";const i=r=>{const e=".robin-pro",t=document.querySelectorAll(e);for(let n=0;n<t.length;n++){const c=t[n];r(c)}};class l{constructor(){this.galleryClassName=".robin-pro",this.sectionTypeName="robin-pro-image-gallery-app",this.checkGalleriesPresence=()=>document.querySelector(this.galleryClassName)!==null,this.renderSpinners=()=>{i(e=>{if(e.hasChildNodes())return;e.style.width="100%";const t=document.createElement("div");t.style.textAlign="center",t.style.margin="100px";const n=document.createElement("img");n.style.border="none",n.style.display="inline",n.src="https://cdn.robinpro.gallery/spinner.svg",t.appendChild(n),e.appendChild(t)})},this.appendAppScript=()=>{let e=document.createElement("script");e.type="text/javascript",e.src="https://cdn.robinpro.gallery/js/app.js",document.head.appendChild(e)},this.setupSectionListener=()=>{document.addEventListener("shopify:section:load",e=>{const t=e.target.dataset.shopifyEditorSection;JSON.parse(t).type===this.sectionTypeName&&(this.renderSpinners(),typeof RobinPro<"u"?RobinPro.renderGalleries():this.appendAppScript())})}}}const s=new l;s.checkGalleriesPresence()&&(s.renderSpinners(),s.appendAppScript()),s.setupSectionListener()})();
//# sourceMappingURL=client-a3ccf598.js.map