1import{I as te,o as f,c as v,e,d as V,r as o,f as P,L as z,i as se,w as m,z as oe,ab as ne,B as ae,u as t,n as y,a as d,x as b,F as re,k as ie,t as ce,j as le,l as de,E as ue,p as pe,b as he,_ as N,s as me}from"./DYZyBGoS.js";import{a as fe,g as M}from"./CgFRuyCg.js";import{u as ve}from"./DMshQfec.js";import{u as _e}from"./Cs_SAjc2.js";import{C as ge}from"./DHe-iOQP.js";import{C as ke}from"./DgYFIiHZ.js";import{g as we}from"./tszf7eEs.js";import{f as be,C as ye}from"./DLNOxcm_.js";import{d as Se}from"./BgH5wFaY.js";import Ce from"./D9iB4VMy.js";import xe from"./ktGd4cYf.js";import{g as L}from"./CMFigVup.js";import{S as Te}from"./6qCihK2t.js";import"./DFtrjs5p.js";import"./CAjPDQFZ.js";import"./Bjo_83Yj.js";import"./CDBJvHdR.js";function Ie(){const a=te();switch(String(a.query.vc||"").toUpperCase()){case"A":sessionStorage.setItem("ab_v","A");break;case"B":sessionStorage.setItem("ab_v","B");break;case"C":sessionStorage.setItem("ab_v","C");break}}const $e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},Le=e("rect",{width:"11.114",height:"11.114",x:"1.658",y:"1.755",stroke:"#fff","stroke-width":"1.4",rx:"5.557",transform:"rotate(4.666 1.658 1.755)"},null,-1),Ae=e("path",{stroke:"#fff","stroke-width":"1.4",d:"m11.088 11.433 3.839 3.37"},null,-1),Be=[Le,Ae];function Fe(a,r){return f(),v("svg",$e,[...Be])}const Re={render:Fe},Ee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},Ue=e("circle",{cx:"8",cy:"8",r:"7.3",stroke:"#F64949","stroke-width":"1.4"},null,-1),De=e("path",{stroke:"#F64949","stroke-width":"1.4",d:"M8 4v5.5"},null,-1),Me=e("path",{stroke:"#F64949","stroke-width":"1.4",d:"M8 10.5V12"},null,-1),Ve=[Ue,De,Me];function Pe(a,r){return f(),v("svg",Ee,[...Ve])}const ze={render:Pe},O=a=>(pe("data-v-b9940027"),a=a(),he(),a),Ne={class:"address-search-container"},Oe=["placeholder"],qe={class:"input-options_item no-location"},He=["onClick"],Ke={class:"address-search-tips"},We={class:"address-search-tips-title"},Ye=O(()=>e("span",null,"We can still deliver to you!",-1)),je=O(()=>e("div",{class:"address-search-tips-content"},[e("p",null," The instant address tool doesn't recognize this address yet, we can ABSOLUTELY still deliver a unit to your property! "),e("p",null," Our team is reaching out now to handle your permitting needs the slightly-less-instant (but equally effective) way. "),e("p",null,"Keep an eye on your inbox for next steps.")],-1)),Ge={class:"address-search-form"},Je=V({__name:"index",props:{placeholder:{type:String,default:"Can I build? Enter address here to check"}},emits:["enterChange","onFocus","onBlur"],setup(a,{emit:r}){const S=r,w=a,u=o(!1),_=o(!1),p=o(!1),h=o(!1),g=o([]),c=o("");function A(){u.value=!0}function B(){u.value=!1}function q(){A(),_.value=!0,S("onFocus")}function H(){setTimeout(()=>{_.value=!1,S("onBlur")},200)}function K(){B()}function T(){c.value="",g.value.length=0,h.value=!1}function W(s){c.value=s.address,B();const{apn:n="",county:i="",address:l=""}=s;location.href=fe(`${location.origin}/check-my-lot/?apn=${encodeURIComponent(n)}&county=${encodeURIComponent(i)}&address=${encodeURIComponent(l)}`)}function Y(){R()}function j(){F()}function F(){M({ll_button_name:"address_search_enter"}),R()}const R=Se(async()=>{A();try{g.value.length=0;const s=c.value;if(!s)return;h.value=!1,p.value=!0;const{data:n}=await we(s),i=(n==null?void 0:n.data)||[];g.value.push(...i),!i.length&&J()}catch(s){console.error("getPlacePredictions===>error:",s)}finally{p.value=!1,h.value=!0}},800),k=o(!1),C=o(!1),{lockScroll:G,unlockScroll:I}=_e(),J=()=>{var s;(s=x.value)==null||s.blur(),setTimeout(()=>{k.value=!0,G();const n=localStorage.getItem("check-tool-form-submit");n&&new Date().getTime()-+n<1e3*60*60*24*7&&(C.value=!0)},100)};function Q(s){s.target===s.currentTarget&&(k.value=!1,I())}const E=o(),X=()=>{var s;M({ll_button_name:"address_search_check_my_lot"}),(s=E.value)==null||s.onSubmit()};function Z(){localStorage.setItem("check-tool-form-submit",new Date().getTime().toString()),k.value=!1,I(),T(),setTimeout(()=>{ve({type:"success",msg:"Submission successful",closed:!1,black:!0}).show()},500)}function U(){k.value=!1,I(),T()}function ee(){U()}const x=o(),D=o(!1);function $(){if(!x.value)return;const s=x.value.getBoundingClientRect(),n=window.innerHeight,i=s.top+s.height/2;D.value=i>n*2/3}return P(()=>{$(),window.addEventListener("scroll",$)}),z(()=>{window.removeEventListener("scroll",$)}),(s,n)=>{const i=se("click-outside");return m((f(),v("div",{id:"liveLarge-address-search",class:"liveLarge-address-search",style:ue({"z-index":t(k)?"9999":"30"})},[e("div",Ne,[m(e("input",{ref_key:"searchInputRef",ref:x,"onUpdate:modelValue":n[0]||(n[0]=l=>oe(c)?c.value=l:null),class:"address-search-input",type:"text",placeholder:w.placeholder,onFocus:q,onBlur:H,onInput:Y,onKeyup:ne(j,["enter"])},null,40,Oe),[[ae,t(c)]]),e("div",{class:y(["address-search-close",{"show-close":t(c)}]),onClick:T},[d(t(ge))],2),e("div",{class:y(["address-search-icon",{"has-value":t(c)}]),onClick:F},[d(t(Re))],2),m(e("ul",{class:y(["input-options",{"in-position-top":t(D)}])},[m(e("li",qe," Loading... ",512),[[b,t(p)]]),(f(!0),v(re,null,ie(t(g),l=>(f(),v("li",{key:l.apn,class:"input-options_item",onClick:ot=>W(l)},ce(l.address),9,He))),128))],2),[[b,t(u)&&(t(p)||t(g).length)]])]),m(e("div",{class:y(["address-search-empty",{"had-submit-form":t(C)}]),onClick:Q},[e("div",Ke,[d(t(ke),{class:"tips-close",onClick:U}),e("p",We,[e("span",null,[d(t(ze)),le("Fear Not! ")]),Ye]),je,m(e("button",{class:"address-search-tips-button",onClick:ee}," I understand ",512),[[b,t(C)]]),m(e("div",Ge,[d(ye,{ref_key:"contactFormRef",ref:E,class:"address-search-contact-form","form-data":t(be),"success-loading":!1,"success-callback":Z},{submit:de(()=>[e("button",{class:"address-search-check-site",onClick:X}," Submit ")]),_:1},8,["form-data"])],512),[[b,!t(C)]])])],2),[[b,t(k)]])],4)),[[i,K]])}}}),Qe=N(Je,[["__scopeId","data-v-b9940027"]]),Xe={class:"liveLarge-banner-content"},Ze={class:"banner-item"},et={class:"banner-item"},tt={key:0,class:"liveLarge-banner-address-search"},st=V({__name:"index",setup(a){const r=o(!1),S=o(!1),w=o(),u=o();return P(()=>{Ie(),r.value=sessionStorage.getItem("ab_v")==="A",S.value=!0,L.registerPlugin(Te);const _=L.matchMedia(),p=()=>
1{if(u.value&&w.value){const h=u.value.querySelectorAll(".banner-item");if(h.length<2)return;L.timeline({scrollTrigger:{trigger:w.value,pin:!0,scrub:.5,start:"top top",end:"+=200%",anticipatePin:1}}).to(h[1],{top:0,ease:"none",duration:1}).fromTo(h[0],{opacity:1},{opacity:.5,ease:"none",duration:1},"<").to({},{duration:.2})}};_.add("(min-width: 769px)",p),z(()=>{_.revert()})}),(_,p)=>(f(),v("section",{class:y(["liveLarge-banner liveLarge-display-form",{"is-vc-a":t(r)}])},[e("div",{ref_key:"bannerRef",ref:w,class:"banner-pin-container"},[e("div",Xe,[e("div",{ref_key:"wrapperRef",ref:u,class:"livelarge-banner-wrapper"},[e("div",Ze,[d(xe,{"is-test-a":t(r)},null,8,["is-test-a"])]),e("div",et,[d(Ce,{"is-test-a":t(r)},null,8,["is-test-a"])])],512),t(r)?(f(),v("div",tt,[d(Qe)])):me("",!0)])],512)],2))}}),bt=N(st,[["__scopeId","data-v-a677605e"]]);export{bt 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.