1(function(){"use strict";const Je=()=>{const e=document.currentScript;let t="https://tockify.com";if(e){const o=e.src.split("/",3),n=o[2];(n==="localhost"||n.endsWith("tockify.net"))&&(t=o.join("/"))}return window._tkf?.rootPath??t};let U;const Qe=()=>(U||(U=Je()),U),H="tkf-client-window",R={rootPath:Qe,prefix:""},re=window.JSON?.parse,Y=window.JSON?.stringify,ze=re&&Y?{parse:re,stringify:Y}:void 0,Ke=()=>window.JSON?.stringify===Y?window.JSON:ze??window.JSON,Ze=()=>{const e=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()};let et=0;const ae=()=>H+"-fullscreen-"+ ++et,I=e=>new RegExp("^"+H+"-"+e+"-"),ce=I("wrap"),le=I("embed"),de=I("fullscreen"),fe=I("overlay"),tt=e=>(e||(e=ae()),e.replace(ce,"").replace(le,"").replace(de,"").replace(fe,"")),P=(e,t)=>[H,t,tt(e)].join("-"),r={makeGuid:Ze,makeName:ae,toWrapName:e=>P(e,"wrap"),toEmbedName:e=>P(e,"embed"),toFullScreenName:e=>P(e,"fullscreen"),toOverlayName:e=>P(e,"overlay"),isWrapName:e=>!!(e&&ce.test(e)),isEmbedName:e=>!!(e&&le.test(e)),isFullScreenName:e=>!!(e&&de.test(e)),isOverlayName:e=>!!(e&&fe.test(e)),frameToName:e=>e.getAttribute("name"),nameToFrame:e=>document.querySelector("iframe[name="+e+"]"),isWeeblyEditor:()=>!!(window._W||window.Weebly||{}).EDITOR,getCoords:e=>{const t=e.getBoundingClientRect();return{top:Math.round(t.top+window.scrollY),left:Math.round(t.left+window.scrollX)}},getJSON:Ke},$={};let g=[],C=[];const T={},ot=e=>{C=C.filter(t=>e!==t),delete T[e],g=g.filter(t=>e!==t.guid)},nt=(e,t)=>{C.indexOf(e)!==-1?t():(T[e]=T[e]||[],T[e].push(t))},it=e=>{const t=T[e]||[];for(let o=0;o<t.length;o++)t[o]()},ue=(e,t)=>
1{if(!e)return;const o="*",n=e.contentWindow;n&&(t.tkf=!0,n.postMessage(t,o))},st=e=>{g.forEach(t=>{if(t.guid===e){const o=r.nameToFrame(e);ue(o,t.msg)}}),g=g.filter(t=>t.guid!==e)},rt=(e,t)=>{if(e===null)return;let o,n;if(typeof e=="string"?(o=e,n=r.nameToFrame(o)):(n=e,o=n.getAttribute("name")),!!o){if(t.guid=o,C.indexOf(o)===-1){g.push({msg:t,guid:o});return}ue(n,t)}},me=(e,t)=>{$[e]=t},at=e=>delete $[e];let pe=!1;const c={initXDM:()=>{pe||(pe=!0,window.addEventListener("message",e=>{let t;if(typeof e.data=="string"&&e.data.indexOf("{")===0)t=r.getJSON().parse(e.data);else if(typeof e.data=="object")t=e.data;else return;if(!t.tkf)return;t.type=t.type||"missing";const o=$[t.type];o&&o(t,e)},!1),me("client-listening",e=>{const t=e.guid;C.push(t),st(t),it(t)}))},disposeClient:ot,addClientListeningHandler:nt,postMessage:rt,addHandler:me,removeHandler:at},he=navigator.userAgent,we=/iPhone|iPod|iPad/i.test(he),ct=/Android/i.test(he),lt=navigator.userAgentData?.platform||navigator.platform||"",dt=/Win/i.test(lt),E={isMobile:{any:we||ct,apple:{device:we}},isWindows:dt},F=768,ft=800,ye=240,ut={width:"1px",height:"1px"},ve={normal:{"font-size":"28px",position:"absolute",right:"18px",top:"11px",color:"#333",cursor:"pointer",display:"none"},active:{color:"#999"}},mt={position:"fixed",top:0,left:0,bottom:0,right:0,"background-color":"rgba(0,0,0,0.6)",width:"100%",height:"100%","max-width":"100%","max-height":"100%",zoom:1,"z-index":2147483647,margin:0,padding:0,border:0,opacity:0,transition:"opacity 0.25s ease-in-out"},pt={opacity:1},ht={opacity:1,"background-color":"transparent"},be={position:"relative",margin:0,padding:0,height:"100%","overflow-x":"hidden"},k=e=>document.querySelector(e),ge=e=>typeof e=="number"?e+"px":/^-?(\d+(\.\d+)?|\.\d+)$/.test(e.trim())?e.trim()+"px":e.trim(),wt=(e,t)=>{t||(t=ye);const o={"min-height":ge(t)};return e&&(o.position="relative"),o},yt=e=>{e||(e=ye);const t={"min-height":ge(e),width:"100%",border:"none",display:"block",visibility:"inherit",opacity:1,float:"none"};return E.isMobile.apple.device&&(t.width="1px",t["min-width"]="100%"),t},vt={border:"none",width:"100%","min-height":"100vh",position:"absolute",overflow:"hidden",left:0,top:0,bottom:0,display:"inline",margin:0,padding:0},J=()=>k('[tkf-embed="true"]'),Ee=()=>{const e=k('[tkf-embed="true"]');e&&document.head.removeChild(e);const t=k('[tkf-defensive-style-tag="true"]');t&&document.head.removeChild(t);const o=document.createElement("style");o.setAttribute("tkf-embed","true"),o.setAttribute("data-noprefix",""),o.appendChild(document.createTextNode("")),document.head.appendChild(o);const n=document.createElement("style");return n.setAttribute("tkf-defensive-style-tag","true"),document.head.appendChild(n),o.sheet},bt=e=>"{"+Object.entries(e).map(([t,o])=>`${t}:${o}`).join(";")+"}",d=(e,t,o)=>(typeof o!="number"&&(o=0),window.sheet.insertRule(e+" "+bt(t),o)),O="@media only screen and ";let ke=!1;const Se=()=>{if(!J()||!ke){J()||(window.sheet=Ee());const e=window.sheet;d(".tkf-overlay-ng",mt),d(".tkf-overlay-ng.tkf-fade",pt),d(".tkf-overlay-ng.tkf-clear",ht),d(".tkf-overlay-ng .tkf-close-icon",ve.normal),d(".tkf-overlay-ng .tkf-close-icon:hover, .tkf-overlay-ng .tkf-close-icon:active",ve.active),d(".tkf-wrap",be,0),e.insertRule&&(e.insertRule(O+"(min-width : "+(F+1)+"px) and (max-width: "+ft+"px) { .tkf-wrap {margin:0 0px;} }",1),e.insertRule(O+"(max-width: "+F+"px) { .tkf-wrap {margin:50px 0 0 0;} }",2),e.insertRule(O+"(max-width: "+F+"px) { .tkf-overlay-ng.tkf-fade {background:white} }",5),e.insertRule(O+"(max-width: "+F+"px) { .tkf-overlay-ng .tkf-close-icon {display:block} }",5)),d("iframe.tkf-fullpage",vt),d("[data-tockify-component]",ut),d(".tkf-nowrap",be,0),ke=!0}},gt=()=>{const e=document.createElement("div");e.style.cssText="width:100px;height:100px;overflow:scroll !important;position:absolute;top:-99999px",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t};let N=-1;const Et=()=>{if(!E.isWindows&>()===0)return;const e="WebkitAppearance"in document.documentElement.style;if(N===-1&&e)try{N=d("body::-webkit-scrollbar",{width:0})}catch{}},kt=()=>{N!==-1&&(window.sheet.deleteRule(N),N=-1)};let Q=!1;const w={newSheet:Ee,hasSheet:J,hideScrollBar:Et,showScrollBar:kt,applyStyles:(e,t,o)=>{Se();const n=k(e);if(!n)return;const s=window.getComputedStyle(n).getPropertyValue("position")==="static",a=wt(s,t),f=yt(t),p=window.getComputedStyle(document.body).overflowY==="scroll";o&&!p&&!E.isMobile.any&&!r.isWeeblyEditor()&&d("html",{"overflow-y":"scroll"}),d(e,a),d(e+" iframe",f)},initStyles:Se,addViewportIfMissing:()=>{k('meta[name="viewport"]')||(document.head.insertAdjacentHTML("beforeend",'<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">'),Q=!0)},removeViewportIfAdded:()=>
1{if(Q){const e=k('meta[name="viewport"]');e&&document.head.removeChild(e),Q=!1}}},xe={logicalWidth:()=>E.isMobile.any?document.documentElement?.clientWidth:window.screen.width,sendInfo:(e,t,o)=>{const{clientHeight:n,clientWidth:i}=document.documentElement,s={type:"host-info",height:n,width:i,inIFrame:window!==window.top,isWeeblyEditor:r.isWeeblyEditor(),parentDomain:window.location.hostname,args:t,settings:o};c.postMessage(e,s)}},St=[32,33,34,35,36,37,38,39,40],Ce=["mousewheel","wheel","DOMMouseScroll","touchmove"],_={x:0,y:0},Te=window,D=document;let Ne=!1;const z=(e,t,o)=>D.addEventListener(e,t,o),K=(e,t,o)=>D.removeEventListener(e,t,o),xt=()=>{Ne=!0,w.hideScrollBar();const e=D.documentElement,t=D.body;_.y=Te.pageYOffset||e.scrollTop||t.scrollTop,_.x=Te.pageXOffset||e.scrollLeft||t.scrollLeft,Ce.forEach(o=>z(o,Le,!1)),z("scroll",We,!1),z("keydown",Me,!1)},Ct=()=>{Ne&&(w.showScrollBar(),Ce.forEach(e=>K(e,Le)),K("scroll",We),K("keydown",Me))},Le=e=>(e.stopImmediatePropagation(),e.preventDefault(),!1),Me=e=>{St.indexOf(e.keyCode)!==-1&&e.preventDefault()},We=()=>{window.scroll(_.x,_.y)},Ae={disableScroll:xt,enableScroll:Ct},Tt="pinboard",He="agenda",Nt="monthly",Lt="month",Mt="both",V="upcoming",Re="calendar",Wt=[Tt,He,Nt],At=[He,Lt,Mt],Ht={},Rt=e=>{const t={};if(e.hasAttributes()){const o=e.attributes;for(let n=o.length-1;n>=0;n--){const i=o[n].name;if(i.indexOf("data-tockify-")===0){const s=i.replace("data-tockify-","");t[s]=o[n].value}}}return t},It=()=>{const e={};if(window.URLSearchParams){const t=new URLSearchParams(window.location.search);for(const[o,n]of t)o.indexOf("tkf.")===0&&o.length>4&&(e[o.substring(4)]=(n||"").trim())}return e},Pt=e=>Ft({...It(),...Rt(e)}),v=e=>e?e.trim().toLowerCase():void 0,Ft=e=>{e.calendar=v(e.calendar),e.component=v(e.component)||Re,e.component==="mini"&&(e.component=V),e.demo=v(e.demo),e.scrollfix=v(e.scrollfix);const t=v(e.shownavbar);t==="true"?e.showNavBar=!0:t==="false"&&(e.showNavBar=!1);const o=v(e.hideExternal);o==="true"?e.hideExternal=!0:o==="false"&&(e.hideExternal=!1),delete e.shownavbar,e.view=v(e.view),e.component===Re&&Wt.indexOf(e.view)===-1&&delete e.view,e.component===V&&At.indexOf(e.view)===-1&&delete e.view,e.component===V&&(e.upcomingView=e.view,e.view=V),e.maxeventsperquery=e.maxeventsperquery||e.maxevents,e.maxeventsperquery=+e.maxeventsperquery,isNaN(e.maxeventsperquery)||(e.maxEventsPerQuery=e.maxeventsperquery),delete e.maxeventsperquery;const n=["narrowwidth","pinboardcolumns"];for(let i=0;i<n.length;i++){const s=n[i];isNaN(+e[s])&&delete e[s]}return e},L={embedNameToArgs:Ht,readArgs:Pt},Ot=!!(window.history&&window.history.pushState);let Ie;const _t=e=>{const t=window.location.href;t!==Ie&&(Ie=t,e()),window.dispatchEvent(new Event("tkf.urlChanged"))},Dt=e=>{const t=()=>_t(e);Ot&&(history.pushState=(o=>function(...i){return t(),o.apply(this,i)})(history.pushState),history.replaceState=(o=>function(...i){return t(),o.apply(this,i)})(history.replaceState),window.addEventListener("popstate",t)),window.addEventListener("hashchange",t)},Vt=e=>{let t=[100,100,100,100,100,100,200,200,200,500,500,1e3,1e3,1e3,1e3,1e3,1e3,1e3,5e3,5e3,5e3];const o=()=>{if(t.length>0){const n=t.shift();setTimeout(()=>{e(),o()},n)}};return{start:()=>o(),stop:()=>{t=[]}}};let q;const Pe={watchBrowserURL:Dt,repeat:e=>{q&&q.stop(),q=Vt(e),q.start()}},Fe={},Z=()=>window.scrollY||document.documentElement.scrollTop||document.body.scrollTop,Oe=()=>window.scrollX||document.documentElement.scrollLeft||document.body.scrollLeft,b=e=>document.querySelector(e),_e=e=>document.querySelectorAll(e),qt=()=>b("[tkf-wrap-guid]"),De=()=>b(".tkf-overlay-ng"),Bt=()=>{if(r.isWeeblyEditor()){const e=qt();if(!e)return;e.previousElementSibling?.classList.contains("platform-element-overlay")||e.insertAdjacentHTML("beforebegin",'<div class="platform-element-overlay"> </div>')}},ee=e=>{if(typeof e!="string")return!1;const t=e.trim().toLowerCase();return["auto","inherit","initial","unset","fit-content","max-content","min-content"].includes(t)?!0:/^(\d+(\.\d+)?|\.\d+)(px|em|rem|vh|vw|vmin|vmax|ch|ex|%|)$/.test(t)},jt=e=>document.createTextNode(e),M=(e,t)=>{e.style.width="auto",e.style.height="auto",e.style.color="#721c24",e.style.backgroundColor="#f8d7da",e.style.border="1px solid #f5c6cb",e.style.padding="10px",e.style.borderRadius="4px",e.style.fontSize="14px",e.appendChild(jt(t))},Xt=(e,t)=>
1{if(t){if(typeof t!="object"){M(e,"Misconfigured call to loadCalendar. The argument should be an object");return}}else{M(e,"Misconfigured call to loadCalendar. No arguments were passed");return}const o=t.component==="single";if(!t.calendar&&!t.path&&!o){M(e,"Misconfigured Tockify Embed Code. Either the 'data-tockify-calendar' or the 'data-tockify-path' attribute must be present");return}if(!t.component){M(e,"Misconfigured Tockify Embed Code. The 'data-tockify-component' attribute is missing");return}let n;t.minheight?n=t.minheight:t.component==="upcoming"&&(n=20),t.height&&ee(t.height)&&(n=t.height);let i;const s=[],a=(l,u,Ye,$e)=>{const se=(u?t[u]:void 0)||(Ye?t[Ye]:void 0)||t[l];if(se){const ro=$e?$e(se):se;s.push(l+"="+encodeURIComponent(ro))}};t.path?i=t.path:o?i="/"+t.calendar+"/detailquery":t.view?i="/"+t.calendar+"/"+t.view:i="/"+t.calendar,a("tags",null,null,l=>(l||"").trim().replace(/\s*&&\s*/g,";").replace(/\s*\|\|\s*/g,",")),a("search"),a("startms"),a("start"),a("end"),a("dur"),a("passcode"),a("maxEventsPerQuery","maxEvents"),a("demo"),a("upcomingView"),t.view&&t.view!=="upcoming"&&s.push("viewOverride="+encodeURIComponent(t.view)),s.length>0&&(i=i+"?"+s.join("&"));const m=[];ee(t.height)&&m.push("height:"+t.height+";overflow-y:scroll"),ee(t.width)&&m.push("width:"+t.width),m.push("align-self:stretch");const p=r.toEmbedName(t.guid),j=r.toWrapName(p);L.embedNameToArgs[p]=t;const h=t.prefix||R.prefix,X=t.canonicalhost||R.rootPath(),y=e.parentElement,x=y?window.getComputedStyle(y):null,G=t.title||"calendar",no=()=>{const l=document.createElement("div");l.setAttribute("tkf-wrap-guid",j),m.length>0&&l.setAttribute("style",m.join(";"));const u=document.createElement("iframe");u.setAttribute("allowfullscreen",""),u.setAttribute("allow","clipboard-write"),E.isMobile.apple.device&&u.setAttribute("scrolling","no"),u.title=G,u.name=p,u.src=X+h+i,l.appendChild(u),e.parentNode?.insertBefore(l,e.nextSibling),e.parentNode?.removeChild(e)},io=x?.getPropertyValue("display")==="flex",Ge=()=>io||window.Shopify||t.forcevisible?!0:!(e.offsetWidth<=0&&e.offsetHeight<=0),so=t.scrollfix==="true",Ue=()=>{no(),w.applyStyles('div[tkf-wrap-guid="'+j+'"]',n,so)};if(Ge())Ue();else{let l=5;const u=setInterval(()=>{l-=1,(Ge()||l===0)&&(clearInterval(u),Ue())},100)}c.addClientListeningHandler(p,()=>{const l=r.nameToFrame(p);xe.sendInfo(l,t),setTimeout(()=>Bt(),200)})},te=e=>{typeof e=="string"&&(e={name:e}),e.guid||(e.guid=r.makeName()),w.initStyles();let t;if(e.path)t=e.path;else{const h=e.view?"/"+e.view:"";t="/"+e.name+h}const o=r.toEmbedName(e.guid),n=e.overlay?r.toOverlayName(e.guid):r.toFullScreenName(e.guid);c.disposeClient(n);const i=L.embedNameToArgs[o]||{},s=e.canonicalhost||i.canonicalhost||R.rootPath();if(i.passcode){const h=t.indexOf("?")===-1?"?":"&";t+=h+"passcode="+i.passcode}const a=!e.nowrap,f=!e.nowrap,m=s+(i.prefix||R.prefix)+t;w.addViewportIfMissing();const p=document.body,j='<div class="tkf-overlay-ng">'+(a?'<span class="tkf-close-icon">✕</span>':"")+(f?'<div class="tkf-wrap">':'<div class="tkf-nowrap">')+`<iframe name="${n}" class="tkf-fullpage" allow="clipboard-write" 2 src="${m}"></iframe> 3 </div></div></div>`;p.insertAdjacentHTML("afterbegin",j);try{Ae.disableScroll();const h=De(),X=()=>W();h&&(h.addEventListener("click",X),c.addClientListeningHandler(n,()=>{const y=r.toEmbedName(n),x=r.nameToFrame(y),G=r.nameToFrame(n);c.postMessage(x,{type:"fullscreen-ready"}),G&&G.focus()}),c.addClientListeningHandler(n,()=>{const y=()=>c.postMessage(n,{type:"fullscreen-close"});h.removeEventListener("click",X),h.addEventListener("click",()=>y())})),c.addClientListeningHandler(n,()=>{const y=r.nameToFrame(n),x=r.toEmbedName(n);xe.sendInfo(y,L.embedNameToArgs[x],Fe[x])})}catch{W(!0)}},Gt=e=>{te({path:e.eventPath,guid:e.guid})},Ut=250,W=(e=!1)=>{Ae.enableScroll();const t=De();if(t){if(e){document.body.removeChild(t),w.removeViewportIfAdded();return}t.style.pointerEvents="none",t.classList.remove("tkf-fade"),t.classList.remove("tkf-clear"),setTimeout(()=>{t.parentNode&&(t.parentNode.removeChild(t),w.removeViewportIfAdded())},Ut)}},Yt=(e,t,o)=>{if(!e)return;const n=r.frameToName(e);
3if(!n)return;Fe[n]=t;const i={guid:n,type:"update-settings",settings:t,filter:o};c.postMessage(e,i)},Ve=e=>{B=!0;const t=L.readArgs(e);Xt(e,t)};let B=!1;const oe=e=>{typeof e>"u"&&(e=50),!B&&e>0&&(B=!!b("[data-tockify-component]"),B?(A(),setTimeout(()=>A(),100)):setTimeout(()=>oe(e-1),100))},A=()=>{_e("[data-tockify-component]").forEach(e=>{e.getAttribute("data-tockify-manual")||Ve(e)}),_e("[data-tockify-calendar]:not([data-tockify-component])").forEach(e=>{const t=e;t.getAttribute("data-tockify-error-shown")||(t.setAttribute("data-tockify-error-shown","true"),M(t,"Misconfigured Tockify Embed Code. The 'data-tockify-component' attribute is missing"))}),Pe.watchBrowserURL(()=>Pe.repeat(A))},$t=(e,t)=>{const o=typeof e=="string"?r.nameToFrame(e):e,n={type:"update-state",stateParams:t};c.postMessage(o,n)},Jt=(e,t)=>{const o=typeof e=="string"?r.nameToFrame(e):e,n={type:"update-view",...t};c.postMessage(o,n)},qe={},Qt=(e,t)=>{qe[e]=t},Be={},zt=e=>Be[e]?!1:(Be[e]=!0,!0),ne=(e,t)=>{const o=r.toWrapName(e),n=ie(o);return n===null?!1:typeof t=="number"?(window.scroll(Oe(),n+t),Z()===n+t):Z()-n};c.addHandler("get-embed-scrolltop",e=>{const t=e.guid,o=ne(t);c.postMessage(t,{type:"embed-scrolltop-changed",scrollTop:o})});const S={},je=e=>{const t=S[e];if(!t)return;clearTimeout(t.fallbackTimeout);const o=b("[name="+e+"]");o&&o.style.removeProperty("min-height"),delete S[e]},Kt=(e,t)=>{const o=S[e];o&&t>=o.areaHeight&&(ne(e,o.targetTop),je(e))};c.addHandler("embed-scrolltop",e=>{const t=e.scrollTop,o=e.areaHeight,n=e.guid;if(typeof o=="number"&&o>0){const s=b("[name="+n+"]");s&&(S[n]&&clearTimeout(S[n].fallbackTimeout),s.style.minHeight=o+"px",S[n]={areaHeight:o,targetTop:t,fallbackTimeout:window.setTimeout(()=>je(n),1e4)})}const i=s=>{s>0&&!ne(n,t)&&setTimeout(()=>i(s-1),50)};i(40)});const ie=e=>{const t=b('[tkf-wrap-guid="'+e+'"]');return t?r.getCoords(t).top:null},Zt=e=>{const t=r.toWrapName(e),o=ie(t);if(o!==null){const n=Z(),i=document.documentElement.clientHeight,s=n+i,a=o;return a>=n&&a<=s}else return!1};c.addHandler("state-change",e=>{if(e.stateChange.toState.name==="viewers.inter")return;const t=!r.isFullScreenName(e.guid),o=r.toEmbedName(e.guid),s=+(((L.embedNameToArgs[o]||{}).topoffset||"")+"").replace("px","")||80;if(t&&!zt(e.guid)&&!Zt(e.guid)){const f=r.toWrapName(e.guid),m=ie(f);if(m!==null){const p=Math.max(m-s,0);window.scroll(Oe(),p)}}const a=qe[e.guid];a&&a(e.stateChange)}),c.addHandler("open-popup",e=>{W(!0);let t="";e.args&&e.args.locale&&(t+="?locale="+e.args.locale),te({path:"/over"+t,guid:e.guid,overlay:!0,nowrap:!0});const o=b(".tkf-overlay-ng");o&&o.classList.add("tkf-clear");const n=r.toOverlayName(e.guid);c.postMessage(n,e)}),c.addHandler("fullscreen",e=>{e.open?(W(!0),Gt(e)):W()});const Xe={updateState:$t,updateView:Jt,onCalendarStateChange:Qt,loadDeclaredCalendars:A,loadOneDeclaredCalendar:Ve,updateSettings:Yt,openFullScreen:te,waitForDynamicDeclarations:oe},eo="data-tockify-",to=()=>{const e=window.customElements;if(!e||e.get("tockify-element"))return;class t extends HTMLElement{connectedCallback(){this.style.display="block";const n=[];if(this.hasAttributes()){const s=this.attributes;for(let a=s.length-1;a>=0;a--){let f=s[a].name;f.indexOf("data-")!==0&&(f=eo+f),f.indexOf("data-tockify-")===0&&n.push(`${f}="${s[a].value}"`)}}const i=n.join(" ");this.innerHTML=`<div ${i}></div>`}}window.customElements.define("tockify-element",t)};window._tkf=window._tkf||{},window._tkf.embedScriptLoaded||(window.sheet=w.newSheet());const oo=w.hasSheet();if(window._tkf.embedScriptLoaded&&!oo){const e=window._tkf.rootPath;window._tkf={},e&&(window._tkf.rootPath=e),delete window._tkfReady}if(!window._tkf.embedScriptLoaded&&window.name.indexOf(H)!==0){window._tkf.embedScriptLoaded=!0,to(),Object.keys(Xe).forEach(i=>window._tkf[i]=Xe[i]);const e=i=>document.querySelector(i),t=()=>e(".tkf-overlay-ng"),o=()=>e(".tkf-wrap");c.addHandler("embed-dimensions",i=>{if(r.isEmbedName(i.guid)){const s=e("[name="+i.guid+"]");s&&(s.style.height=i.height+"px"),Kt(i.guid,i.height),window.gadgets?.window?.adjustHeight?.(i.height)}else if(E.isMobile.any){const s=t(),a=o();s&&(s.style.overflowY="scroll"),a&&(a.style.overflowY="scroll")}}),c.addHandler("show-full-screen",()=>{const i=t();i&&i.classList.add("tkf-fade")}),c.addHandler("go-back",()=>window.history.back()),c.initXDM();const n=()=>{window._tkfReady||(window._tkfReady=!0,c.initXDM(),A(),oe(50))};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",n):n()}})();
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.