1import{u as I}from"./index.3eaba8f3.js";import{Q as b}from"./qrcode.vue.esm.4be65f4b.js";import{_ as E,r as L,j as V,d as a,e as t,u as f,F as _,I as h,c as r,t as i,J as x,m as y,f as C,p as B,g as M}from"./_plugin-vue_export-helper.f09dc1ee.js";import"./index.c4324cc7.js";const P="/assets/ProvSelfWalk.2aebf3a4.png";const g=u=>(B("data-v-c33e74a8"),u=u(),M(),u),T={class:"container"},N={style:{display:"flex","justify-content":"center","align-items":"center"}},U=["src"],j=g(()=>t("h1",null,"Marketing Links",-1)),q={class:"columns"},F={class:"column"},H=g(()=>t("h2",null,"SitePro Locations:",-1)),Q=["onClick"],W={style:{"align-self":"flex-start"}},A=["href"],D=["onClick"],J={class:"codes"},O={class:"qrcontain"},z=["href"],G=["src"],K={class:"column"},R=g(()=>t("h2",null,"SitePro Basic Locations:",-1)),X=["onClick"],Y={style:{"align-self":"flex-start"}},Z=["href"],ee=["onClick"],se={class:"codes"},te={class:"qrcontain"},oe=["href"],ne=["src"],ce={__name:"MarketingView",setup(u){const m=I(),l=L([]),v=s=>{if(l.value.includes(s)){const o=l.value.indexOf(s);l.value.splice(o,1)}else l.value.push(s)},k=V(()=>{const s={};m.spaceInfo.forEach(o=>{s[o.categoryIcon]||(s[o.categoryIcon]=[]),s[o.categoryIcon].push(o)});for(const o in s)s[o].sort((c,n)=>c.name.localeCompare(n.name));return s}),d=s=>(console.log("locatoin",s),console.log("location.space",s.space),console.log("location.spacestart",s.spaceStart),`${window.location.origin}?m=${s.space}${s.spaceStart}&hp=false`),w=(s,o,c)=>{const n=`<iframe src="${d(s)}" width='${o}' height='${c}' frameborder='0' allowfullscreen allow='xr-spatial-tracking'></iframe>`,e=document.createElement("input");e.value=n,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),m.showToast("Embed code copied to clipboard!","#07d025")},$=(s,o,c)=>{const n=`<iframe src="${p(s)}" width='${o}' height='${c}' frameborder='0' allowfullscreen allow='xr-spatial-tracking'></iframe>`,e=document.createElement("input");e.value=n,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),m.showToast("Embed code copied to clipboard!","#07d025")},p=s=>(console.log("locatoin",s),console.log("location.space",s.space),console.log("location.spacestart",s.spaceStart),`${window.location.origin}/locations?m=${s.space}${s.spaceStart}&hp=false`);return(s,o)=>(r(),a("div",T,[t("div",N,[t("img",{style:{height:"35px"},src:f(P),alt:"SitePro Logo"},null,8,U),j]),t("div",q,[t("div",F,[H,(r(!0),a(_,null,h(f(k),(c,n)=>(r(),a("div",{key:n},[t("h4",{class:"category-header",onClick:e=>v(n)},i(n),9,Q),l.value.includes(n)?(r(!0),a(_,{key:0},h(c,e=>(r(),a("section",{class:"links",key:e.name},[t("h4",W,[x(i(e.name)+" - ",1),t("a",{href:d(e),target:"_blank"},i(d(e)),9,A)]),t("span",{class:"copy-embed",onClick:S=>w(e,853,400)},i("</>")+" Copy Embed",8,D),t("div",J,[t("div",O,[y(b,{value:d(e),options:{width:128,errorCorrectionLevel:"H"}},null,8,["value"])]),t("a",{href:d(e),target:"_blank"},[t("img",{style:{"align-self":"flex-end",margin:"10px",width:"320px",height:"180px",cursor:"pointer","border-radius":"10px"},src:e.thumb},null,8,G)],8,z)])]))),128)):C("",!0)]))),128))]),t("div",K,[R,(r(!0),a(_,null,h(f(k),(c,n)=>(r(),a("div",{key:n},[t("h4",{class:"category-header",onClick:e=>v(n)},i(n),9,X),l.value.includes(n)?(r(!0),a(_,{key:0},h(c,e=>(r(),a("section",{class:"links",key:e.name},[t("h4",Y,[x(i(e.name)+" - ",1),t("a",{href:p(e),target:"_blank"},i(p(e)),9,Z)]),t("span",{class:"copy-embed",onClick:S=>$(e,853,400)},i("</>")+" Copy Embed",8,ee),t("div",se,[t("div",te,[y(b,{value:p(e),options:{width:128,errorCorrectionLevel:"H"}},null,8,["value"])]),t("a",{href:p(e),target:"_blank"},[t("img",{style:{"align-self":"flex-end",margin:"10px",width:"320px",height:"180px",cursor:"pointer","border-radius":"10px"},src:e.thumb},null,8,ne)],8,oe)])]))),128)):C("",!0)]))),128))])])]))}},de=E(ce,[["__scopeId","data-v-c33e74a8"]]);export{de 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.