[
  'apps' => [
    'leadGen' =>   [
      'enabled' => 1,
      'label' => 'CLICK TO SCHEDULE A FREE DESIGN CONSULTATION',
    ],
    'payments' =>   [
      'enabled' => 0,
    ],
    'productDelivery' =>   [
      'enabled' => 0,
      'useProductManagement' => 0,
    ],
    'rides' =>   [
      'enabled' => 0,
    ],
    'vehicleRegistrations' =>   [
      'enabled' => 0,
    ],
    'vehicleInsurance' =>   [
      'enabled' => 0,
    ],
    'vehicleTransport' =>   [
      'enabled' => 0,
    ],
  ],
  'apis' => [
    'builderPrime' =>   [
      'enabled' => 1,
      'key' => '8z3XkGI.33XrnGC8CJpNg8OVQP1P',
      'path' => 'discountbath',
    ],
  ],
  'address' => '9844 Titan Ct',
  'address1' => '#6',
  'assignments' => [
    'materials' =>   [
      'email' => '',
      'phone' => '',
    ],
    'registrations' =>   [
      'email' => '',
      'phone' => '',
    ],
    'rides' =>   [
      'email' => '',
      'phone' => '',
    ],
    'transports' =>   [
      'email' => '',
      'phone' => '',
    ],
  ],
  'city' => 'Littleton',
  'companyCode' => '4dcielceIVu0wVbCQdwQsrn9Y',
  'coName' => 'Discount Bath',
  'email' => 'chris@discountbath.com',
  'fullName' => 'Discount Bath, LLC',
  'geo' => [
    'lat' => '',
    'lon' => '',
  ],
  'hasPic' => 0,
  'notifications' => [
    'invoices' =>   [
      'email' => '',
      'phone' => '',
    ],
    'leadGen' =>   [
      'email' => 'hello@discountbath.com',
      'phone' => '3038984291',
    ],
    'materials' =>   [
      'email' => '',
      'phone' => '',
    ],
    'registrations' =>   [
      'email' => '',
      'phone' => '',
    ],
    'rides' =>   [
      'email' => '',
      'phone' => '',
    ],
    'transports' =>   [
      'email' => '',
      'phone' => '',
    ],
    'websiteRequests' =>   [
      'email' => '',
      'phone' => '',
    ],
  ],
  'pic' => 'TBD',
  'phone' => '7209792322',
  'phoneformated' => '(720] 979-2322',
  'primaryContact' => NULL,
  'primaryUserCode' => '',
  'result' => 1,
  'statecode' => 'CO',
  'stateid' => '6',
  't' => 1761153787,
  'zip' => '80125',
]
const _lead={createLeadBtn:true,button:null,mask:null,iframeWrapper:null,hideIframe:()=>{_lead.mask&&(_lead.createLeadBtn&&(_lead.button.innerHTML="Continue..."),document.body.style.overflow="",_lead.mask.style.display="none",_lead.iframeWrapper&&(_lead.iframeWrapper.style.display="none",_lead.iframeWrapper.style.transform="translate(-50%,-50%) scale(0)",_lead.iframeWrapper.style.opacity="0"))},init:()=>{if(_lead.createLeadBtn){const e=document.createElement("div");e.style.cssText="position:fixed;bottom:0;right:0;padding:0.5rem;z-index:1000000;",_lead.button=document.createElement("button"),_lead.button.style.cssText="cursor:pointer;opacity:0.75;color:white;background-color:rgb(255, 68, 51);font-size:1.125rem;padding:0.5rem 0.5rem;line-height:1.5rem;border-radius:0.5rem;border:none;box-shadow:0.3125rem 0.3125rem 0.3125rem rgba(0,0,0,0.5);max-width:200px;",_lead.button.type="button",_lead.button.innerHTML="CLICK TO SCHEDULE A FREE DESIGN CONSULTATION",_lead.button.addEventListener("click",()=>{_lead.load()}),_lead.button.addEventListener("mouseenter",()=>{_lead.button.style.opacity="1"}),_lead.button.addEventListener("mouseleave",()=>{_lead.button.style.opacity="0.5"}),e.appendChild(_lead.button),document.body.appendChild(e)}},load:()=>{if(document.body.style.overflow="hidden",_lead.mask)_lead.mask.style.display="block",_lead.iframeWrapper&&(_lead.iframeWrapper.style.display="block");else{_lead.mask=document.createElement("div"),_lead.mask.style.cssText="background-color:rgba(0,0,0,0.7);position:fixed;top:0;left:0;bottom:0;right:0;z-index:1000001;",document.body.appendChild(_lead.mask),_lead.iframeWrapper=document.createElement("div"),_lead.iframeWrapper.style.cssText="opacity:0;background-color:#fff;position:fixed;top:50%;left:50%;width:1200px;height:700px;max-width:100%;max-height:100%;z-index:1000002;transform:translate(-50%,-50%) scale(0);transition:all .3s;";const e=document.createElement("div");e.style.cssText="position:relative;height:100%;width:100%;";const t=document.createElement("iframe");t.style.cssText="height:100%;width:100%;border:none;",s="1"==_lead.qs("s"),t.src="https://lead.giantgeneral.com/secure/?k=2nfm367oHA4W84GQcSs5"+(s?"&s=1":""),e.appendChild(t);const a=document.createElement("button");a.style.cssText="cursor:pointer;opacity:0.5;position:absolute;top:0;right:0;margin:0.3125rem;width:2.5rem;height:2.5rem;background-color:#fff;border:none;padding:0.3125rem;",a.type="button",a.innerHTML='\n \n \n \n ',a.addEventListener("click",()=>{_lead.hideIframe()}),a.addEventListener("mouseenter",()=>{a.style.opacity="1"}),a.addEventListener("mouseleave",()=>{a.style.opacity="0.5"}),e.appendChild(a),_lead.iframeWrapper.appendChild(e),document.body.appendChild(_lead.iframeWrapper)}setTimeout(()=>{_lead.iframeWrapper.style.opacity="1",_lead.iframeWrapper.style.transform="translate(-50%,-50%) scale(100%)"},100),window.addEventListener("resize",e=>{window.innerWidth<1200?_lead.iframeWrapper.style.height="100%":_lead.iframeWrapper.style.height="700px"})},qs:e=>{const t=new RegExp("(?:\\?|&)"+e+"=(.*?)(?=&|$)","gi"),a=t.exec(document.location.search),n=a?a[1]:null;return n},v:"1.1.0"};window.addEventListener("load",()=>{_lead.init()});