1const nativeElementQuerySelector=Element.prototype.querySelector,nativeDocumentQuerySelector=Document.prototype.querySelector;function ytCustomQuerySelector(selector){const foundElement=this===document?nativeDocumentQuerySelector.call(this,selector):nativeElementQuerySelector.call(this,selector);if(foundElement)return foundElement.hasAttribute("data-selectorname")||foundElement.setAttribute("data-selectorname",selector),foundElement;const allElements=document.querySelectorAll("[data-selectorname]");for(let i=0;i<allElements.length;i++)if(allElements[i].getAttribute("data-selectorname")===selector)return allElements[i];return null}Document.prototype.querySelector=ytCustomQuerySelector,Element.prototype.querySelector=ytCustomQuerySelector;const nativeElementInsertBefore=Element.prototype.insertBefore;function ytCustomInsertBefore(newNode,referenceNode){const defaultParentNode=this;if(!referenceNode)return nativeElementInsertBefore.call(defaultParentNode,newNode,null);if(referenceNode.parentNode===defaultParentNode)return nativeElementInsertBefore.call(defaultParentNode,newNode,referenceNode);const referenceParentValue=referenceNode.getAttribute("data-ytparentvalue");if(referenceParentValue){const actualParentNode=document.querySelector('[data-ytextravalue="'+referenceParentValue+'"]');if(actualParentNode){const originalIndex=referenceNode.getAttribute("data-ytoriginindex");if(originalIndex!==null&&!isNaN(originalIndex)){const children=Array.from(actualParentNode.children);for(let i=0;i<children.length;i++){const child=children[i],childOriginalIndex=child.getAttribute("data-ytoriginindex");if(childOriginalIndex!==null&&!isNaN(childOriginalIndex)&&parseInt(childOriginalIndex)>parseInt(originalIndex))return nativeElementInsertBefore.call(actualParentNode,newNode,child)}return nativeElementInsertBefore.call(actualParentNode,newNode,null)}return nativeElementInsertBefore.call(actualParentNode,newNode,null)}}return nativeElementInsertBefore.call(defaultParentNode,newNode,null)}Element.prototype.insertBefore=ytCustomInsertBefore;function addUniqueStyle(cssText,id="custom-style"){const targetDom=document.getElementById(id);if(targetDom&&targetDom.tagName==="STYLE")return;const style=document.createElement("style");style.id=id,style.innerHTML=cssText,document.head.appendChild(style)}addUniqueStyle('.yt-a-defalut-link[custom-a="true"]::before, .yt-a-defalut-link[custom-a="true"]::after {content: none};.yt-a-defalut-link[custom-a="true"] > * { margin:0;flex:1; }');const ytCustomProperties=["textContent","innerText"];ytCustomProperties.forEach(prop=>{let descriptor=Object.getOwnPropertyDescriptor(Element.prototype,prop)||Object.getOwnPropertyDescriptor(Node.prototype,prop);if(descriptor&&descriptor.set&&descriptor.get){const originalGet=descriptor.get,originalSet=descriptor.set;Object.defineProperty(Element.prototype,prop,{get:function(){return originalGet.call(this)},set:function(value){const finalValue=this.dataset.yteditvalue??value;originalSet.call(this,finalValue)},configurable:!0})}});function ytCustomLinkNavigation(){const parseWithURLSearchParams=queryString=>{const params=queryString.split("&"),result={};return params.forEach(param=>{const key=param.split("=")[0],value=param.split("=")[1];result[key]=value}),result},topWin=window.top,originParams=parseWithURLSearchParams(topWin.document.location.href.split("?")[1]),href=window.event.currentTarget.getAttribute("custom-href");if(href)if(topWin.location.hash.startsWith("#/edit?")){const{uuid}=parseWithURLSearchParams(href),event=new CustomEvent("changePage",{detail:{uuid},bubbles:!0,cancelable:!0});topWin.dispatchEvent(event)}else{const newParams=parseWithURLSearchParams(href),event=new CustomEvent("previewPageVersion",{detail:{appuuid:newParams?.appuuid,pageUuid:newParams?.uuid,callback:version=>{const params=Object.keys(originParams).reduce((acc,key)=>(acc!=="?"&&(acc+="&"),key==="version"?acc+=key+"="+version:acc+=key+"="+newParams[key],acc),"?");topWin.location.href=topWin.document.location.href.split("?")[0]+params}},bubbles:!0,cancelable:!0});topWin.dispatchEvent(event)}}function ytCustomClickRouter(element,event){event&&event.stopPropagation(),document.querySelectorAll(".active-menu").forEach(item=>{item.classList.remove("active-menu")}),element.classList.add("active-menu"),window.top.postMessage(element.getAttribute("data-uuid"),"*")}function ytGetIframeResize(iframe){window.addEventListener("message",function(e){e.data&&e.data.type==="iframe-resize"&&(iframe.style.height=e.data.height+"px",(window.getComputedStyle(iframe.parentElement).overflow==="hidden"||iframe.parentElement.nodeName!=="MAIN")&&(iframe.parentElement.style.overflow="auto"))})}function ytSendPageSize(){function hasHorizontalScrollbar(){const html=document.documentElement;if(html.scrollWidth>html.clientWidth)return!0;const body=document.body;return body.scrollWidth>body.clientWidth}function sendHeightToParent(e){ytSendPageSizeBefor();let height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);
1hasHorizontalScrollbar()&&(height+=20),window.parent.postMessage({type:"iframe-resize",height},"*")}function loadPage(e){window.scrollTo(0,800),setTimeout(()=>{sendHeightToParent(e),new MutationObserver(sendHeightToParent).observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})},300)}window.addEventListener("load",loadPage)}function ytSendPageSizeBefor(){const vh=window.innerHeight/100,allElements=document.body.querySelectorAll("*");allElements.forEach(el=>{if(el.style.height&&el.style.height.includes("vh")){const value=parseFloat(el.style.height);el.style.height=`${value*vh}px`}const computedHeight=getComputedStyle(el).height;computedHeight.endsWith("vh")&&(el.style.height=`${parseFloat(computedHeight)*vh}px`)});const vhClassRegex=/^(sm:|md:|lg:|xl:|2xl:)?h-\[(\d+)vh\]$/;allElements.forEach(el=>{const classList=Array.from(el.classList);let modified=!1;classList.forEach(className=>{const match=className.match(vhClassRegex);if(match){const breakpoint=match[1]||"",pxValue=parseInt(match[2])*vh,newClassName=`${breakpoint}h-[${pxValue}px]`;el.classList.remove(className),el.classList.add(newClassName),modified=!0,console.log(`Converted ${className} to ${newClassName} on`,el)}}),modified&&(el.style.display="none",el.offsetHeight,el.style.display="")})} 2//# sourceMappingURL=/cdn/shop/t/41/assets/my-reload.js.map?v=132250133992586882901775890709
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.