{"ok":true,"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><script>(function(){if(window.google&&google.script&&google.script.run)return;var API=\"https://script.google.com/macros/s/AKfycbxSHfLkpZdiTHPruHbMX2-l_UFsL3oPKKR6SuWp35tFDVAizPRz0xgALW-hIm0pOtGQmg/exec\";function r(s,f){return new Proxy({},{get:function(_,k){if(k===\"withSuccessHandler\")return function(h){return r(h,f)};if(k===\"withFailureHandler\")return function(h){return r(s,h)};return function(){var a=Array.prototype.slice.call(arguments);fetch(API,{method:\"POST\",headers:{\"Content-Type\":\"text/plain;charset=utf-8\"},body:JSON.stringify({fn:k,args:a})}).then(function(x){return x.json()}).then(function(j){if(j&&j.ok){s&&s(j.result)}else{f&&f(new Error(j&&j.error||\"error\"))}}).catch(function(err){f&&f(err)})}}})}window.google={script:{run:r(null,null)}}})();</script>\n<meta charset=\"UTF-8\">\n<base target=\"_top\">\n<title>Carpet Elves | Book Your Cleaning</title>\n<style>\n  :root{\n    --orange:#F26B1D; --orange-dark:#D4570D; --orange-soft:#FFF1E8;\n    --black:#141414; --gray:#5F5F5F; --line:#E4E4E4; --bg:#FAFAFA; --white:#fff;\n    --ok:#1E8E3E; --err:#C62828;\n  }\n  *{box-sizing:border-box}\n  html,body{margin:0;padding:0}\n  body{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;color:var(--black);background:var(--bg);font-size:16px;line-height:1.45;padding-bottom:96px}\n  .wrap{max-width:760px;margin:0 auto;padding:0 16px}\n  header{background:var(--black);color:var(--white);padding:22px 0 18px;border-bottom:6px solid var(--orange)}\n  header h1{margin:0;font-size:28px;letter-spacing:1px;text-transform:uppercase;font-weight:900}\n  header h1 span{color:var(--orange)}\n  header h1 .hdelf{height:1.7em;width:auto;vertical-align:middle;margin:-.35em 10px -.25em 0}\n  .done .doneelf{height:120px;width:auto;display:block;margin:0 auto 10px}\n  header p{margin:6px 0 0;color:#ddd;font-size:15px}\n  .hours{margin-top:10px;font-size:13px;color:#bbb}\n  .card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:20px;margin:16px 0}\n  .card h2{margin:0 0 4px;font-size:18px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}\n  .card h2 .num{display:inline-block;background:var(--orange);color:#fff;border-radius:50%;width:26px;height:26px;text-align:center;line-height:26px;font-size:14px;margin-right:8px;vertical-align:2px}\n  .sub{color:var(--gray);font-size:14px;margin:0 0 14px}\n  label{display:block;font-weight:600;font-size:14px;margin:12px 0 6px}\n  input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{width:100%;padding:11px 12px;border:1.5px solid #CFCFCF;border-radius:8px;font-size:16px;font-family:inherit;background:#fff;color:var(--black)}\n  input:focus,select:focus,textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(242,107,29,.18)}\n  textarea{min-height:80px;resize:vertical}\n  .row{display:flex;gap:12px;flex-wrap:wrap}\n  .row>div{flex:1 1 200px}\n  .req{color:var(--orange)}\n  .services{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}\n  .svc{position:relative;border:2px solid var(--line);border-radius:10px;padding:14px 12px;cursor:pointer;background:#fff;font-weight:700;font-size:15px;user-select:none;transition:all .15s}\n  .svc small{display:block;font-weight:400;color:var(--gray);font-size:12px;margin-top:3px}\n  .svc input{position:absolute;opacity:0;pointer-events:none}\n  .svc.on{border-color:var(--orange);background:var(--orange-soft)}\n  .svc.on::after{content:\"\\2713\";position:absolute;top:8px;right:10px;color:var(--orange);font-weight:900}\n  .panel{display:none}\n  .panel.show{display:block}\n  .item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #F0F0F0}\n  .item:last-child{border-bottom:none}\n  .item .name{font-size:15px}\n  .item .name small{display:block;color:var(--gray);font-size:12px}\n  .stepper{display:flex;align-items:center;flex-shrink:0}\n  .stepper button{width:36px;height:36px;border:1.5px solid #CFCFCF;background:#fff;font-size:20px;line-height:1;cursor:pointer;color:var(--black)}\n  .stepper button:first-child{border-radius:8px 0 0 8px}\n  .stepper button:last-child{border-radius:0 8px 8px 0}\n  .stepper input{width:64px;height:36px;border:1.5px solid #CFCFCF;border-left:none;border-right:none;border-radius:0;text-align:center;padding:0 4px;font-size:15px}\n  .included{background:var(--orange-soft);border-radius:8px;padding:10px 12px;font-size:14px;margin-bottom:6px}\n  .note{font-size:13px;color:var(--gray);background:#F6F6F6;border-radius:8px;padding:10px 12px;margin-top:10px}\n  details.info{margin:8px 0}\n  details.info summary{cursor:pointer;color:var(--orange-dark);font-weight:600;font-size:14px}\n  details.info div{font-size:13px;color:var(--gray);padding:6px 0 0}\n  .yesno{display:flex;gap:8px;margin-top:4px}\n  .chip{border:1.5px solid #CFCFCF;border-radius:20px;padding:8px 16px;cursor:pointer;font-size:14px;font-weight:600;background:#fff}\n  .chip.on{border-color:var(--orange);background:var(--orange);color:#fff}\n  .check{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:14px;margin-top:12px;cursor:pointer}\n  .check input{width:20px;height:20px;accent-color:var(--orange);flex-shrink:0;margin-top:1px}\n  .file{margin-top:12px}\n  .file input{font-size:14px}\n  .thumbs{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}\n  .thumbs img{width:64px;height:64px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}\n  .vehicle{border:1.5px dashed #D8D8D8;border-radius:10px;padding:12px 14px;margin-top:12px}\n  .vehicle h3{margin:0 0 4px;font-size:15px;text-transform:uppercase}\n  .radio{display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:14px;cursor:pointer;font-weight:500;margin:0}\n  .radio input{accent-color:var(--orange);width:18px;height:18px;flex-shrink:0;margin-top:1px}\n  table.est{width:100%;border-collapse:collapse;font-size:14px}\n  table.est td{padding:7px 0;border-bottom:1px solid #F0F0F0;vertical-align:top}\n  table.est td:last-child{text-align:right;white-space:nowrap;padding-left:12px}\n  table.est tr.tot td{font-weight:800;font-size:18px;border-bottom:none;padding-top:12px}\n  table.est tr.dim td{color:var(--gray)}\n  .empty{color:var(--gray);font-size:14px;font-style:italic}\n  .code-row{display:flex;gap:8px;margin-top:14px}\n  .code-row input{flex:1}\n  .btn{background:var(--orange);color:#fff;border:none;border-radius:8px;padding:12px 18px;font-size:16px;font-weight:800;cursor:pointer;text-transform:uppercase;letter-spacing:.5px}\n  .btn:hover{background:var(--orange-dark)}\n  .btn.ghost{background:#fff;color:var(--black);border:1.5px solid #CFCFCF;text-transform:none;font-weight:700;font-size:15px}\n  .btn:disabled{opacity:.6;cursor:wait}\n  .msg{font-size:13px;margin-top:6px}\n  .msg.ok{color:var(--ok)} .msg.err{color:var(--err)}\n  .slots{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}\n  .slot{flex:1 1 160px;border:2px solid var(--line);border-radius:10px;padding:12px;text-align:center;cursor:pointer;font-weight:700;background:#fff}\n  .slot small{display:block;font-weight:400;color:var(--gray);font-size:12px}\n  .slot.on{border-color:var(--orange);background:var(--orange-soft)}\n  .slot.off{opacity:.4;cursor:not-allowed;text-decoration:line-through}\n  .final{font-size:13px;color:var(--gray)}\n  .submit-wrap{margin:20px 0 40px}\n  .submit-wrap .btn{width:100%;padding:16px;font-size:18px}\n  .errors{display:none;background:#FDECEA;border:1px solid #F5C2C0;color:var(--err);border-radius:8px;padding:12px 14px;font-size:14px;margin-bottom:12px}\n  .errors ul{margin:6px 0 0;padding-left:18px}\n  .invalid{border-color:var(--err)!important}\n  .bar{position:fixed;left:0;right:0;bottom:0;background:var(--black);color:#fff;z-index:50;border-top:4px solid var(--orange)}\n  .bar .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}\n  .bar .lbl{font-size:12px;color:#bbb;text-transform:uppercase;letter-spacing:.5px}\n  .bar .amt{font-size:24px;font-weight:900}\n  .bar .btn{padding:10px 16px;font-size:14px}.bar .barelf{flex:1;align-self:stretch;position:relative;min-width:0}.bar .barelf img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}\n  .done{text-align:center;padding:40px 20px}\n  .done h2{font-size:26px;margin:0 0 8px;text-transform:uppercase}\n  .done .big{font-size:48px;color:var(--orange);font-weight:900;line-height:1}\n  .warn{color:var(--err);font-size:13px;margin-top:6px;display:none}\n  @media (max-width:480px){header h1{font-size:23px}.card{padding:16px}.bar .amt{font-size:21px}}\n  .hint{font-size:13px;color:var(--gray);margin:4px 0 0}\n  .welcome{display:none;background:var(--orange-soft);border-left:5px solid var(--orange);border-radius:8px;padding:10px 12px;margin-top:10px;font-size:14px}\n  .welcome b{font-size:15px}\n  .welcome .wbtns{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}\n  .welcome .wbtns button{border:1.5px solid var(--orange);background:#fff;color:var(--black);border-radius:20px;padding:7px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit}\n  .welcome .wbtns button.pri{background:var(--orange);color:#fff}\n  .ownerbar{display:none;background:var(--black);color:#fff;border-radius:12px;padding:12px 14px;margin:16px 0 0}\n  .ownerbar .ot{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--orange);font-weight:900}\n  .ownerbar .oq{font-weight:700;margin:4px 0 8px}\n  .ownerbar .ochips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}\n  .ownerbar .ochips button{border:1.5px solid #555;background:transparent;color:#fff;border-radius:20px;padding:7px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit}\n  .ownerbar .ochips button.on{background:var(--orange);border-color:var(--orange)}\n  .ownerbar .ochips a{color:#bbb;font-size:13px;margin-left:auto}\n  .slot.over small{color:var(--err);font-weight:700}\n  .site{position:absolute;top:5px;right:14px;font-size:11px;color:#bbb;text-decoration:none;font-weight:600;letter-spacing:.3px}\n  .site:hover{color:#fff}\n  header{position:relative}\n  .ownerbar .ochips a.jobs{margin-left:0;color:#fff;font-weight:800;text-decoration:none;border:1.5px solid #F26B1D;border-radius:20px;padding:7px 14px;font-size:13px}\n  .plan{display:flex;gap:12px;align-items:flex-start;border:2px solid var(--line);border-radius:10px;padding:12px;margin-top:12px;cursor:pointer;font-weight:400}\n  .plan input{width:22px;height:22px;accent-color:var(--orange);flex-shrink:0;margin-top:2px}\n  .plan b{display:block;font-size:15px}.plan small{display:block;color:var(--gray);font-size:13px;margin-top:2px}\n  .plan.on{border-color:var(--orange);background:var(--orange-soft)}\n  .agentchk{border:2px solid var(--orange);background:var(--orange-soft);border-radius:10px;padding:12px;font-weight:700;font-size:15px}\n  .clientbox{border:1.5px dashed #F5B78F;background:#FFF8F2;border-radius:10px;padding:4px 14px 12px;margin-top:10px}\n  .clientbox .xh{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;color:var(--orange-dark);padding-top:10px}\n  .pick{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}\n  .daypick{display:grid;gap:8px;margin-top:6px}\n  .dprow{display:flex;align-items:center;gap:8px;border:2px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff}\n  .dprow.sel{border-color:var(--orange);background:var(--orange-soft)}\n  .dprow .dl{flex:1;font-weight:800;font-size:15px;line-height:1.2}\n  .dprow .dl small{display:block;font-weight:500;color:var(--gray);font-size:12px}\n  .dprow button{border:1.5px solid #CFCFCF;background:#fff;color:var(--black);border-radius:8px;padding:8px 6px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;width:96px;line-height:1.15;min-height:44px}\n  .dprow button small{display:block;font-weight:500;font-size:11px;color:var(--gray)}\n  .dprow button.on{background:var(--orange);border-color:var(--orange);color:#fff}\n  .dprow button.on small{color:#fff}\n  .dprow button.over small{color:var(--err);font-weight:700}\n  .dprow .ph{width:96px}\n  .dprow.chosen .dl{font-size:16px}\n  .dprow .chg{width:auto;min-width:88px;border-color:var(--orange);color:var(--orange-dark);font-weight:800}\n  .calbox{border:2px solid var(--line);border-radius:12px;padding:10px;background:#fff}\n  .calhd{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}\n  .calhd b{font-size:16px}\n  .cnav{width:44px;height:40px;border-radius:10px;border:1.5px solid #CFCFCF;background:#fff;font-size:22px;cursor:pointer;color:var(--black)}\n  .cnav:disabled{opacity:.3;cursor:default}\n  .cgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}\n  .cdow{text-align:center;font-size:11px;font-weight:800;color:var(--gray);padding:2px 0}\n  .cday{height:42px;border-radius:10px;border:2px solid var(--orange);background:#fff;font-weight:800;font-size:15px;cursor:pointer;color:var(--black);font-family:inherit;padding:0}\n  .cday.on{background:var(--orange);color:#fff}\n  .cday.had{background:var(--orange-soft)}\n  div.cday{border:none;background:#F3F3F3;color:#B5B5B5;display:flex;align-items:center;justify-content:center;cursor:default;font-weight:600}\n  .ckey{font-size:12px;color:var(--gray);margin-top:8px}\n  .calslots{margin-top:8px}\n  .morebtn{background:none;border:none;color:var(--orange-dark);font-weight:800;font-size:14px;padding:10px 0 0;cursor:pointer;font-family:inherit}\n  .ferr{color:var(--err);font-size:13px;margin-top:4px}\n  .promolink{display:inline-block;margin-top:12px;color:var(--orange-dark);font-weight:700;font-size:14px;text-decoration:none}\n  .lastsum{font-size:13px;color:var(--gray);margin-top:6px}\n  .bar .btn.ready{background:#1E8E3E}\n  .donebtns{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:14px 0 4px}\n  .donebtns a,.donebtns button{display:inline-block;border-radius:10px;padding:12px 16px;font-weight:800;font-size:15px;text-decoration:none;cursor:pointer;font-family:inherit;border:2px solid var(--orange);background:#fff;color:var(--black)}\n  .donebtns .pri{background:var(--orange);color:#fff}\n  .sharebox{background:var(--orange-soft);border-radius:12px;padding:14px;margin-top:16px}\n  .sharebox b{font-size:16px}\n</style>\n<style>\n  .extras{background:#FFF8F2;border:1.5px dashed #F5B78F;border-radius:10px;padding:6px 12px;margin-top:14px}\n  .extras .xh{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;color:var(--orange-dark);padding:8px 0 2px}\n  .extras .item{border-bottom-color:#F7E1D2}\n  .allbtn{display:inline-block;margin-top:5px;border:1.5px solid var(--orange);color:var(--orange-dark);background:#fff;border-radius:14px;padding:3px 10px;font-size:12px;font-weight:800;cursor:pointer}\n  .allbtn.on{background:var(--orange);color:#fff}\n  .pointsbox{background:#FFF1E8;border:2px solid var(--orange);border-radius:10px;padding:12px 14px;margin-top:12px}\n  .pointsbox .ph{font-weight:900;font-size:16px}\n  .pointsbox .pt{font-size:13px;color:var(--gray);margin-top:2px}\n  .pointsbox .prow{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}\n  .pointsbox .prow input{flex:1 1 120px;letter-spacing:3px;font-weight:800;text-align:center}\n  .pointsbox .chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}\n  .pointsbox .chip{font-size:13px;padding:7px 11px}\n  .privacy{font-size:12px;color:var(--gray);margin-top:6px}\n  .banner{background:var(--orange);color:#fff;font-weight:800;text-align:center;padding:12px 16px;font-size:15px}\n  .was{text-decoration:line-through;color:#999;margin-right:4px}\n  .owneronly{display:none} body.owner .owneronly{display:block} body.owner .item.owneronly{display:flex}\n  .oopts{border:2px solid #141414;border-radius:12px;padding:6px 14px 14px;margin-top:14px;background:#fff}\n  .oopts .xh{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;color:#141414;padding-top:10px}\n  .crow{display:flex;gap:8px;margin-top:8px}.crow input:first-child{flex:2}.crow input:nth-child(2){flex:1}\n  .crow button{border:1.5px solid #CFCFCF;background:#fff;border-radius:8px;width:44px;font-size:18px;cursor:pointer}\n  .saletag{background:var(--orange);color:#fff;font-size:10px;font-weight:800;border-radius:4px;padding:1px 5px;margin-left:4px;text-transform:uppercase;vertical-align:1px}\n</style>\n</head>\n<body>\n<script type=\"application/json\" id=\"cfg\">{\"items\":[{\"id\":\"carpet-first-area-minimum-service\",\"section\":\"Carpet\",\"name\":\"First area (minimum service)\",\"price\":89.99,\"regular\":89.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Includes scented deodorizer\",\"rule\":\"included\",\"ownerOnly\":false},{\"id\":\"carpet-additional-areas\",\"section\":\"Carpet\",\"name\":\"Additional areas\",\"price\":49.99,\"regular\":49.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Rooms, halls, foyers or lofts under 12ft x 12ft\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"carpet-stairs\",\"section\":\"Carpet\",\"name\":\"Stairs\",\"price\":3,\"regular\":3,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"step\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"carpet-large-walk-in-closets\",\"section\":\"Carpet\",\"name\":\"Large walk-in closets\",\"price\":24.99,\"regular\":24.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"upholstery-sofa\",\"section\":\"Upholstery\",\"name\":\"Sofa\",\"price\":179.99,\"regular\":179.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"upholstery-sectional-sofa\",\"section\":\"Upholstery\",\"name\":\"Sectional sofa\",\"price\":259.99,\"regular\":259.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"upholstery-loveseat\",\"section\":\"Upholstery\",\"name\":\"Loveseat\",\"price\":129.99,\"regular\":129.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"upholstery-recliner-chair\",\"section\":\"Upholstery\",\"name\":\"Recliner chair\",\"price\":89.99,\"regular\":89.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"upholstery-ottoman\",\"section\":\"Upholstery\",\"name\":\"Ottoman\",\"price\":29.99,\"regular\":29.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"Add-on only\",\"rule\":\"add-on\",\"ownerOnly\":false},{\"id\":\"upholstery-small-chair\",\"section\":\"Upholstery\",\"name\":\"Small chair\",\"price\":49.99,\"regular\":49.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"Add-on only\",\"rule\":\"add-on\",\"ownerOnly\":false},{\"id\":\"mattress-twin\",\"section\":\"Mattress\",\"name\":\"Twin\",\"price\":89.99,\"regular\":89.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"mattress-full\",\"section\":\"Mattress\",\"name\":\"Full\",\"price\":109.99,\"regular\":109.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"mattress-queen\",\"section\":\"Mattress\",\"name\":\"Queen\",\"price\":159.99,\"regular\":159.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"mattress-king\",\"section\":\"Mattress\",\"name\":\"King\",\"price\":179.99,\"regular\":179.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-house-siding\",\"section\":\"Pressure Washing\",\"name\":\"House siding\",\"price\":59.99,\"regular\":59.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"side\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-sidewalk\",\"section\":\"Pressure Washing\",\"name\":\"Sidewalk\",\"price\":0.3,\"regular\":0.3,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"sq ft\",\"desc\":\"Enter estimated square feet\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-deck-no-guard-rails\",\"section\":\"Pressure Washing\",\"name\":\"Deck, no guard rails\",\"price\":0.29,\"regular\":0.29,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"sq ft\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-deck-with-guard-rails\",\"section\":\"Pressure Washing\",\"name\":\"Deck with guard rails\",\"price\":0.35,\"regular\":0.35,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"sq ft\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-fence\",\"section\":\"Pressure Washing\",\"name\":\"Fence\",\"price\":2,\"regular\":2,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"linear ft\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-driveway\",\"section\":\"Pressure Washing\",\"name\":\"Driveway\",\"price\":0.5,\"regular\":0.5,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"sq ft\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-garage-floor-no-scrub\",\"section\":\"Pressure Washing\",\"name\":\"Garage floor (no scrub)\",\"price\":29.99,\"regular\":29.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-statues\",\"section\":\"Pressure Washing\",\"name\":\"Statues\",\"price\":9.99,\"regular\":9.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"pressure-washing-outdoor-furniture\",\"section\":\"Pressure Washing\",\"name\":\"Outdoor furniture\",\"price\":15.99,\"regular\":15.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"tile-and-grout-tile-floor-areas\",\"section\":\"Tile and Grout\",\"name\":\"Tile floor areas\",\"price\":59.99,\"regular\":59.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Up to 144 sq ft (12ft x 12ft) each\",\"rule\":\"\",\"ownerOnly\":false},{\"id\":\"tile-and-grout-trip-charge\",\"section\":\"Tile and Grout\",\"name\":\"Trip charge\",\"price\":30,\"regular\":30,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"Waived when carpet cleaning is booked\",\"rule\":\"included unless Carpet\",\"ownerOnly\":false},{\"id\":\"vehicle-interior-up-to-2-rows-of-seating\",\"section\":\"Vehicle Interior\",\"name\":\"Up to 2 rows of seating\",\"price\":84.99,\"regular\":84.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"vehicle\",\"desc\":\"\",\"rule\":\"vehicle\",\"ownerOnly\":false},{\"id\":\"vehicle-interior-3-or-more-rows-no-campers-or-buses\",\"section\":\"Vehicle Interior\",\"name\":\"3 or more rows (no campers or buses)\",\"price\":139.99,\"regular\":139.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"vehicle\",\"desc\":\"\",\"rule\":\"vehicle\",\"ownerOnly\":false},{\"id\":\"vehicle-interior-floors-only-or-seats-only\",\"section\":\"Vehicle Interior\",\"name\":\"Floors only or seats only\",\"price\":64.99,\"regular\":64.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"vehicle\",\"desc\":\"\",\"rule\":\"vehicle\",\"ownerOnly\":false},{\"id\":\"vehicle-interior-larger-vehicle-we-will-call-with-a-price\",\"section\":\"Vehicle Interior\",\"name\":\"Larger vehicle (we will call with a price)\",\"price\":0,\"regular\":0,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"vehicle\",\"desc\":\"\",\"rule\":\"vehicle\",\"ownerOnly\":false},{\"id\":\"carpet-vacuuming\",\"section\":\"Carpet\",\"name\":\"Vacuuming\",\"price\":10,\"regular\":10,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Best results start with a vacuumed carpet\",\"rule\":\"extra\",\"ownerOnly\":false},{\"id\":\"carpet-pet-odor-treatment\",\"section\":\"Carpet\",\"name\":\"Pet odor treatment\",\"price\":20,\"regular\":20,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Treats urine and pet odors at the source\",\"rule\":\"extra\",\"ownerOnly\":false},{\"id\":\"carpet-carpet-protector\",\"section\":\"Carpet\",\"name\":\"Carpet protector\",\"price\":20,\"regular\":20,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Helps future spills and dirt wipe up easier\",\"rule\":\"extra\",\"ownerOnly\":false},{\"id\":\"upholstery-fabric-protector\",\"section\":\"Upholstery\",\"name\":\"Fabric protector\",\"price\":20,\"regular\":20,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"Per piece. Helps future spills wipe up easier\",\"rule\":\"extra\",\"ownerOnly\":false},{\"id\":\"commercial-unit-cleaning-first-area\",\"section\":\"Commercial\",\"name\":\"Unit cleaning, first area\",\"price\":89.99,\"regular\":89.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"unit\",\"desc\":\"Vacant apartment unit, first area\",\"rule\":\"unit first area\",\"ownerOnly\":false},{\"id\":\"commercial-each-additional-area\",\"section\":\"Commercial\",\"name\":\"Each additional area\",\"price\":49.99,\"regular\":49.99,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"area\",\"desc\":\"Up to 6 areas per unit\",\"rule\":\"unit additional area\",\"ownerOnly\":false},{\"id\":\"commercial-staircase-12-steps\",\"section\":\"Commercial\",\"name\":\"Staircase (12 steps)\",\"price\":36,\"regular\":36,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"each\",\"desc\":\"\",\"rule\":\"unit staircase\",\"ownerOnly\":false},{\"id\":\"special-services-water-extraction\",\"section\":\"Special Services\",\"name\":\"Water extraction\",\"price\":200,\"regular\":200,\"onSale\":false,\"saleEnds\":\"\",\"unit\":\"hour\",\"desc\":\"Billed per hour, in half-hour steps\",\"rule\":\"\",\"ownerOnly\":true}],\"taxRate\":0.075,\"phone\":\"614-300-0106\",\"banner\":\"\",\"maxPoints\":50,\"pointsPer\":10,\"clientWelcome\":10,\"leadDays\":1,\"windowDays\":30,\"ownerDays\":365,\"availability\":{\"full\":[],\"closed\":[],\"counts\":{\"2026-12-03|AM\":1}},\"links\":{\"home\":\"https://book.carpetelves.com\",\"commercial\":\"https://book.carpetelves.com/?form=commercial\"},\"plan\":{\"pct\":10,\"months\":6},\"website\":\"https://www.carpetelves.com\",\"prefillCode\":\"\",\"prefillRef\":\"\",\"ownerToken\":\"\",\"jobsUrl\":\"\",\"prefillPhone\":\"\"}</script>\n\n<div class=\"banner\" id=\"banner\" style=\"display:none\"></div>\n<header>\n  <div class=\"wrap\">\n    <a class=\"site\" id=\"siteLink\" href=\"https://www.carpetelves.com\" target=\"_top\">carpetelves.com</a>\n    <h1><img class=\"hdelf\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAC0CAMAAABPPpnHAAABgFBMVEUcGRccFQ&#43;hZTejjl4pHRPYoWHQXjz72ZlkFw3q6umpXkb54WtVMh8jGhNeWwhiW1drammnV1TsrZU9QkVMKhprTCk6PkBWLBr/eXnDfWv9&#43;aOtYiP39HqOWDevhDz//wBvRy6ub0f/AACwckmvmY7Yjz17f4CKPiiUVzt9gIGqqlX/fwDGg1YAAFUAVQA6dXU/nz8A/wAA//9/f7J4hlBm//&#43;CMBugjlCqqqq61XXBd1bCf07/f///qlXJg1TQ5/8AAABYWFj3hVhmZmXoelDOlXUDAgLUdU6PaFBJSEizhWhONyrNaUZtRzLJiGyxZkmtd1c2NjUtKSb3t1dzWEYDAgIpGxR2dnQYFhSLWkXrplIzIxqqWTqWcliRVDeMSjFWQzWxemPtmFLYlE/anIH6xm9sOieYemRKKBpxUjrxlm4DAQEFBAPZoYOHh4b1uG/QiFDIyMdyY1UHBAOoqKfV1dW3t7bka0X////npIrinIP1p2/2yYpILSKWl5X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KCrAAhnV6tpJdFw4XZeG0GkByAxNybAvXlEYg639tn9VxIIlCxPV/NviQbp3YPGa0BMXgCtAuJ5kDR3ZCBt4PxsrLMiqMcnNI4T0r9tABUg&#43;6CZcHkQlDRdW4I0P686vr7uyNI0LivjNJ9/KW3FxRHXFKbPpuo48F0vb0vQCf9eVD0/f5k2zOS&#43;ggEkXQ/MjdKwVyaX8ZAczUeDMPJAonkadD&#43;njdeKwndOeWZTD7WZwI0xyHNycFgnwgfNG113fcnE5iTk/0T7hdHgxyAylMtNgBokUCKnuAn9CL4yYmxOgv6IbW1hw&#43;mGwtJtOj2pBmJyrEhXwCiWoHOuwKjKIixiIbSlJscGHuTEEXB84BExluke4ep6TVDORWZAwUlHZxoNuihDd1Ilue8N1KkPep&#43;qumM1xM0URIcApVnJQrGaGzao3KNzj30hH8Ao5akm8qzexMDY5YDEm9jJwtONTLLwf3kV/Wxcu99Eef0z2zgRDjdVJ4LE1itYBMP1038mxx0V8dxqKgdm1tsgRTBqwZB5&#43;L1dwoZ9Aq4cLNJHCSNBWvOuZxhMIxIEhXIOm5YLMPposiwjzvKixrOtkacG/pXB/A2ujQcDoZDyaHXvpORCN0Ue3R9NO5mYkH0YIshEUP3wwH6Rcex4P6Jf&#43;VCtH8DN30XZ/iM924AAAAASUVORK5CYII=\" alt=\"\"><span>Carpet Elves</span> Booking</h1>\n    <p>Pick your services, see your price as you go, and choose a time that works for you.</p>\n    <div class=\"hours\">Mon to Fri 10am to 6pm &nbsp;|&nbsp; Sat 10am to 2pm &nbsp;|&nbsp; Sun closed</div>\n  </div>\n</header>\n\n\n<div class=\"wrap\"><div class=\"ownerbar\" id=\"ownerBar\">\n  <div class=\"ot\">Owner mode</div>\n  <div class=\"oq\">Who are you booking for?</div>\n  <div class=\"ochips\"><button type=\"button\" class=\"on\" id=\"ownHome\">Home customer</button><button type=\"button\" id=\"ownCom\">Commercial account</button><a class=\"jobs\" id=\"ownJobs\" href=\"#\" target=\"_top\" style=\"display:none\">&lsaquo; Today's Jobs</a><a href=\"#\" id=\"ownExit\">Exit owner mode</a></div>\n</div></div>\n\n<main class=\"wrap\" id=\"app\">\n<div aria-hidden=\"true\" style=\"position:absolute;left:-5000px;top:0;height:1px;overflow:hidden\"><label>Website<input type=\"text\" id=\"hpWebsite\" tabindex=\"-1\" autocomplete=\"off\"></label></div>\n  <div class=\"welcome\" id=\"againNote\" style=\"display:block;margin-top:16px;display:none\"></div>\n  <section class=\"card\">\n    <h2><span class=\"num\">1</span>About you</h2>\n    <label for=\"phone\" id=\"phoneLbl\">Mobile number <span class=\"req\">*</span></label>\n    <input type=\"tel\" id=\"phone\" autocomplete=\"tel\" placeholder=\"614-555-1234\">\n    <p class=\"hint\" id=\"phoneHint\">Booked with us before? Enter your number and we will fill in the rest.</p>\n    <div class=\"welcome\" id=\"welcome\"></div>\n    <div class=\"row\">\n      <div><label for=\"firstName\" id=\"fnLbl\">First name <span class=\"req\">*</span></label><input type=\"text\" id=\"firstName\" autocomplete=\"given-name\"></div>\n      <div><label for=\"lastName\" id=\"lnLbl\">Last name <span class=\"req\">*</span></label><input type=\"text\" id=\"lastName\" autocomplete=\"family-name\"></div>\n    </div>\n    <div id=\"agentWrap\" style=\"display:none\">\n      <label class=\"check agentchk\"><input type=\"checkbox\" id=\"forClient\"> Are you booking on behalf of your client?</label>\n      <div class=\"clientbox\" id=\"clientWrap\" style=\"display:none\">\n        <div class=\"xh\">Your client</div>\n        <div class=\"row\">\n          <div><label for=\"cFirst\">Client first name <span class=\"req\">*</span></label><input type=\"text\" id=\"cFirst\" autocomplete=\"off\"></div>\n          <div><label for=\"cLast\">Client last name <span class=\"req\">*</span></label><input type=\"text\" id=\"cLast\" autocomplete=\"off\"></div>\n        </div>\n        <div class=\"row\">\n          <div><label for=\"cPhone\">Client mobile number <span class=\"req\">*</span></label><input type=\"tel\" id=\"cPhone\" autocomplete=\"off\" placeholder=\"614-555-1234\"></div>\n          <div><label for=\"cEmail\">Client email <span style=\"font-weight:400;color:#5F5F5F\">(optional)</span></label><input type=\"email\" id=\"cEmail\" autocomplete=\"off\"></div>\n        </div>\n        <p class=\"hint\">Their service address goes in step 4. With an email, your client gets their own confirmation and a reminder the day before. <span id=\"cwNote\">After the cleaning they get 10 points to use when they book with us again.</span></p>\n      </div>\n    </div>\n    <div id=\"heardWrap\">\n    <label for=\"heard\">How did you hear about us?</label>\n    <select id=\"heard\">\n      <option value=\"\">Choose one</option>\n      <option>Repeat Customer</option><option>Realtor</option><option>Facebook</option><option>Friend</option>\n      <option>Google</option><option>Referral</option><option>Flyer</option><option>Door hanger</option>\n      <option>Groupon</option><option>Other</option>\n    </select>\n    <div id=\"heardOtherWrap\" style=\"display:none\"><label for=\"heardOther\">Tell us where</label><input type=\"text\" id=\"heardOther\"></div>\n    <div class=\"clientbox\" id=\"sentWrap\" style=\"display:none\">\n      <div class=\"xh\" id=\"sentHead\">Who referred you?</div>\n      <div class=\"row\">\n        <div><label for=\"sentPhone\" id=\"sentPhoneLbl\">Their phone number</label><input type=\"tel\" id=\"sentPhone\" autocomplete=\"off\" placeholder=\"614-555-1234\"></div>\n        <div id=\"sentNameWrap\"><label for=\"sentName\" id=\"sentNameLbl\">Their name</label><input type=\"text\" id=\"sentName\" autocomplete=\"off\"></div>\n      </div>\n      <p class=\"hint\" id=\"sentMsg\">Optional, but it helps us thank them.</p>\n    </div>\n    </div>\n  </section>\n\n  <section class=\"card\">\n    <h2><span class=\"num\">2</span>What do you need cleaned?</h2>\n    <p class=\"sub\">Choose one or more. Your options and price show up below.</p>\n    <div class=\"services\" id=\"services\"></div>\n  </section>\n\n  <div id=\"panels\"></div>\n\n  <section class=\"card\" id=\"estimateCard\">\n    <h2><span class=\"num\">3</span>Your estimate</h2>\n    <table class=\"est\" id=\"estTable\"></table>\n    <a href=\"#\" class=\"promolink\" id=\"promoLink\">Have a promo code?</a>\n    <div id=\"promoWrap\" style=\"display:none\">\n    <div class=\"code-row\">\n      <input type=\"text\" id=\"discountCode\" placeholder=\"Promo code\" autocomplete=\"off\">\n      <button type=\"button\" class=\"btn ghost\" id=\"applyCode\">Apply</button>\n    </div>\n    <div class=\"msg\" id=\"codeMsg\"></div>\n    </div>\n    <p class=\"msg ok\" id=\"planNote\" style=\"display:none;margin-top:12px\"></p>\n    <div class=\"oopts owneronly\" id=\"ownerOpts\">\n      <div class=\"xh\">Owner options (only you see these)</div>\n      <label class=\"check\"><input type=\"checkbox\" id=\"oConfirm\" checked> Email the customer a confirmation</label>\n      <label for=\"oDiscType\">Your discount</label>\n      <div class=\"row\"><div style=\"flex:0 1 150px\"><select id=\"oDiscType\"><option value=\"\">None</option><option value=\"percent\">% off</option><option value=\"amount\">$ off</option></select></div>\n        <div style=\"flex:0 1 120px\"><input type=\"number\" id=\"oDiscVal\" inputmode=\"decimal\" min=\"0\" step=\"0.01\" placeholder=\"10\"></div>\n        <div><input type=\"text\" id=\"oDiscNote\" placeholder=\"Note, like Repeat client courtesy\" maxlength=\"60\"></div></div>\n      <p class=\"hint\">Replaces any promo code, plan or points discount.</p>\n      <label>Custom charges</label>\n      <div id=\"oCustom\"></div>\n      <button type=\"button\" class=\"morebtn\" id=\"oAddCustom\">+ Add a custom charge</button>\n    </div>\n    <p class=\"final\" style=\"margin-top:12px\" id=\"taxNote\"></p>\n    <p class=\"final\" style=\"margin-top:4px\" id=\"payNote\">Pay when we are done: card, cash (exact change, please) or check.</p>\n  </section>\n\n  <section class=\"card\">\n    <h2><span class=\"num\">4</span>Appointment details</h2>\n    <label for=\"address\" id=\"addrLbl\">Service address <span class=\"req\">*</span></label>\n    <input type=\"text\" id=\"address\" autocomplete=\"street-address\" placeholder=\"Street address, city\">\n    <div class=\"row\">\n      <div style=\"flex:0 1 180px\"><label for=\"zip\">ZIP code <span class=\"req\">*</span></label><input type=\"text\" id=\"zip\" inputmode=\"numeric\" maxlength=\"5\" autocomplete=\"postal-code\"></div>\n    </div>\n    <label>When works for you? <span class=\"req\">*</span></label>\n    <div class=\"daypick\" id=\"dayPick\"></div>\n    <button type=\"button\" class=\"morebtn\" id=\"moreDays\" style=\"display:none\">Show more days</button>\n    <select id=\"date\" style=\"display:none\" aria-hidden=\"true\"></select>\n    <div class=\"slots\" id=\"slots\" style=\"display:none\">\n      <div class=\"slot\" data-slot=\"AM\">10am to 2pm<small>Arrival window</small></div>\n      <div class=\"slot\" data-slot=\"PM\">2pm to 6pm<small>Arrival window</small></div>\n    </div>\n    <p class=\"final\">Arrival windows. We text you about 30 minutes before we arrive.</p>\n    <label for=\"email\" id=\"emailLbl\">Email for your confirmation <span class=\"req\">*</span></label><input type=\"email\" id=\"email\" autocomplete=\"email\">\n    <div class=\"pointsbox\" id=\"pointsBox\" style=\"display:none\"></div>\n    <p class=\"privacy\" id=\"privacyNote\">We save your details as you fill this in, so we can help if you get interrupted.</p>\n    <label for=\"notes\">Anything else we should know?</label>\n    <textarea id=\"notes\" placeholder=\"Gate code, pets, parking, hard to reach rooms...\"></textarea>\n    <div id=\"clientMore\" style=\"display:none\">\n      <label>Who is paying? <span class=\"req\">*</span></label>\n      <div class=\"pick\" id=\"billTo\"><span class=\"chip\" data-v=\"Realtor\">Bill me</span><span class=\"chip\" data-v=\"Client\">My client pays at the job</span></div>\n      <label>Will your client be there? <span class=\"req\">*</span></label>\n      <div class=\"pick\" id=\"present\"><span class=\"chip\" data-v=\"Yes\">Yes, they will be there</span><span class=\"chip\" data-v=\"No\">No, special access instructions</span></div>\n      <div id=\"accessWrap\" style=\"display:none\"><label for=\"access\">Access instructions <span class=\"req\">*</span></label>\n        <textarea id=\"access\" placeholder=\"Lockbox code and where it is, gate code, who lets us in, where to leave the key...\"></textarea></div>\n    </div>\n    <div id=\"listingWrap\" style=\"display:none\">\n      <div class=\"row\"><div><label for=\"lockbox\">Lockbox code</label><input type=\"text\" id=\"lockbox\" autocomplete=\"off\"></div>\n      <div><label>Is the home vacant?</label><div class=\"yesno\" id=\"vacant\"><span class=\"chip\" data-v=\"Yes\">Yes</span><span class=\"chip\" data-v=\"No\">No</span></div></div></div>\n    </div>\n  </section>\n\n  <div class=\"submit-wrap\">\n    <div class=\"errors\" id=\"errors\"></div>\n    <button type=\"button\" class=\"btn\" id=\"submitBtn\">Request my appointment</button>\n  </div>\n</main>\n\n<div class=\"bar\" id=\"bar\">\n  <div class=\"wrap\">\n    <div><div class=\"lbl\">Total with Tax</div><div class=\"amt\" id=\"barTotal\">$0.00</div></div><div class=\"barelf\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAC0CAMAAABPPpnHAAABgFBMVEUcGRccFQ&#43;hZTejjl4pHRPYoWHQXjz72ZlkFw3q6umpXkb54WtVMh8jGhNeWwhiW1drammnV1TsrZU9QkVMKhprTCk6PkBWLBr/eXnDfWv9&#43;aOtYiP39HqOWDevhDz//wBvRy6ub0f/AACwckmvmY7Yjz17f4CKPiiUVzt9gIGqqlX/fwDGg1YAAFUAVQA6dXU/nz8A/wAA//9/f7J4hlBm//&#43;CMBugjlCqqqq61XXBd1bCf07/f///qlXJg1TQ5/8AAABYWFj3hVhmZmXoelDOlXUDAgLUdU6PaFBJSEizhWhONyrNaUZtRzLJiGyxZkmtd1c2NjUtKSb3t1dzWEYDAgIpGxR2dnQYFhSLWkXrplIzIxqqWTqWcliRVDeMSjFWQzWxemPtmFLYlE/anIH6xm9sOieYemRKKBpxUjrxlm4DAQEFBAPZoYOHh4b1uG/QiFDIyMdyY1UHBAOoqKfV1dW3t7bka0X////npIrinIP1p2/2yYpILSKWl5X&#43;wlxql/UlAAAAgHRSTlPapfr8E/z&#43;/gr/&#43;v7maAb9BQb9/qHj/mEC/xIMBVf/AaZzAaT////3jv8DAqEDAw0IAQEKEwUlRgMlU7oCA20LAf7&#43;/v7&#43;/v7&#43;/v7&#43;/v7&#43;/v7&#43;/f7&#43;Kvv&#43;/f7&#43;/f7&#43;/v3&#43;/v7&#43;/v79/vv&#43;/U9v/v79/f7&#43;jv7&#43;/v4B/v/&#43;/v3&#43;/Xn/Q0AAAByPSURBVHjarZyJQ9vIsu5l2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gBokUCKnuAn9CL4yYmxOgv6IbW1hw&#43;mGwtJtOj2pBmJyrEhXwCiWoHOuwKjKIixiIbSlJscGHuTEEXB84BExluke4ep6TVDORWZAwUlHZxoNuihDd1Ilue8N1KkPep&#43;qumM1xM0URIcApVnJQrGaGzao3KNzj30hH8Ao5akm8qzexMDY5YDEm9jJwtONTLLwf3kV/Wxcu99Eef0z2zgRDjdVJ4LE1itYBMP1038mxx0V8dxqKgdm1tsgRTBqwZB5&#43;L1dwoZ9Aq4cLNJHCSNBWvOuZxhMIxIEhXIOm5YLMPposiwjzvKixrOtkacG/pXB/A2ujQcDoZDyaHXvpORCN0Ue3R9NO5mYkH0YIshEUP3wwH6Rcex4P6Jf&#43;VCtH8DN30XZ/iM924AAAAASUVORK5CYII=\" alt=\"\"></div>    <button type=\"button\" class=\"btn\" id=\"barBtn\">See breakdown</button>\n  </div>\n</div>\n\n<script>\nconst ELFSRC=(document.querySelector('header .hdelf')||{}).src||'';\n \nlet DATA;\ntry { DATA = JSON.parse(document.getElementById('cfg').textContent); } catch (e) { DATA = window.PREVIEW_DATA; }\nconst ITEMS = DATA.items, TAX = DATA.taxRate;\nconst LIVE = typeof google !== 'undefined' && google.script && google.script.run;\n\nconst SECTION_INFO = {\n  'Carpet': { key:'carpet', sub:'', stains:'carpet', photos:'Photos (optional). Put a dollar bill next to a stain so we can judge the size.',\n    info:['What counts as an area?','An area is a room, hall, large walk-in closet, foyer, loft or any other space under 12ft x 12ft. L-shaped rooms, combination rooms and great rooms count as 1.5 or 2 areas depending on size. Prices assume furniture is in the room. Completely empty rooms can take more time and may cost a bit more.'],\n    stainNote:'Stain treatment is not included in the cleaning price. Many spots lift during regular cleaning. Specialty treatment depends on the type and severity, and our technician will tell you on site whether it is a true stain or normal wear before any extra work.',\n    stainAsk:'Describe each stain (what it is, where, and roughly how big)' },\n  'Upholstery': { key:'upholstery', sub:'Sofas, chairs and more', stains:'upholstery', photos:'Photos of the pieces or stains (optional)',\n    stainNote:'Stain treatment may cost extra depending on the type and time needed. We will give you a price on site before any extra work.',\n    stainAsk:'Describe the stains and which piece they are on' },\n  'Mattress': { key:'mattress', sub:'Refreshing' },\n  'Pressure Washing': { key:'pressure', sub:'High temp', photos:'Photos (optional)',\n    info:['How our hot water washing works','Hot water pressure washing cleans better than cold and helps kill bacteria. We first apply a concentrated, plant safe solution to kill and loosen mold and mildew, then hot wash it away. On furniture and statues we may brush first for best results.'] },\n  'Tile and Grout': { key:'tile', sub:'', photos:'Photos (optional)' },\n  'Vehicle Interior': { key:'vehicle', sub:'', blurb:'Includes vacuuming plus steam cleaning of all fabric seats and floors.' },\n  'Special Services': { key:'special', sub:'Owner only', blurb:'Only shows in owner mode.' }\n};\nconst ORDER = Object.keys(SECTION_INFO);\n\nconst $ = s => document.querySelector(s);\nconst $$ = s => [...document.querySelectorAll(s)];\nconst money = n => '$' + (Math.round(n*100)/100).toFixed(2).replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\nconst esc = s => String(s).replace(/[&<>\"']/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c]));\nconst SETTERS = {};\nconst state = { services:[], qty:{}, yn:{carpet:'no',upholstery:'no'}, slot:'', promo:null, photos:{} };\n\n \nfunction priceBooking(items, sel, promo, taxRate) {\n  const r2 = n => Math.round(n * 100) / 100;\n  const services = sel.services || [];\n  const has = s => services.indexOf(s) > -1;\n  const lines = [];\n  services.forEach(sec => {\n    items.filter(i => i.section === sec).forEach(i => {\n      const rule = (i.rule || '').toLowerCase();\n      if (rule === 'included') lines.push({ label: sec + ': ' + i.name, amount: r2(i.price) });\n      else if (rule === 'included unless carpet') { if (!has('Carpet')) lines.push({ label: sec + ': ' + i.name, amount: r2(i.price) }); }\n      else if (rule === 'vehicle') { }\n      else {\n        const q = Number((sel.qty || {})[i.id] || 0);\n        if (q > 0) {\n          const half = sec === 'Upholstery' && sel.skipCushions;\n          const byMeasure = /ft|hour/.test(i.unit);\n          lines.push({ label: sec + ': ' + i.name + (byMeasure ? ', ' + q + ' ' + i.unit + (i.unit === 'hour' && q !== 1 ? 's' : '') : ' x ' + q) + (half ? ' (no cushions, 50% off)' : ''),\n                       amount: r2(q * i.price * (half ? 0.5 : 1)) });\n        }\n      }\n    });\n  });\n  if (has('Vehicle Interior')) {\n    (sel.vehicles || []).forEach(v => {\n      const it = items.filter(i => i.id === v.type)[0];\n      if (!it) return;\n      lines.push(it.price > 0 ? { label: 'Vehicle ' + v.n + ': ' + it.name, amount: r2(it.price) }\n                              : { label: 'Vehicle ' + v.n + ': ' + it.name, amount: 0, detail: 'Price by phone' });\n    });\n  }\n  (sel.custom || []).forEach(c => { const a = r2(Number(c.amount) || 0); if (c.desc && a > 0) lines.push({ label: String(c.desc), amount: a }); });\n  const subtotal = r2(lines.reduce((a, b) => a + b.amount, 0));\n  let discount = 0;\n  if (promo && subtotal > 0) discount = r2(promo.type === 'percent' ? subtotal * promo.value / 100 : Math.min(subtotal, promo.value));\n  const tax = r2((subtotal - discount) * taxRate);\n  return { lines: lines, subtotal: subtotal, discount: discount, discountCode: promo ? promo.code : '', tax: tax, total: r2(subtotal - discount + tax), taxRate: taxRate };\n}\n\n \nconst rule = i => (i.rule||'').toLowerCase();\nconst unitText = u => u==='each'||u==='vehicle' ? '' : (u==='area'?' per area':' per '+u);\nfunction priceHtml(i){\n  const base = i.onSale ? '<span class=\"was\">'+money(i.regular)+'</span>'+money(i.price)+'<span class=\"saletag\">Sale</span>' : money(i.price);\n  return base + unitText(i.unit) + (i.onSale && i.saleEnds ? ' until '+new Date(i.saleEnds+'T12:00:00').toLocaleDateString('en-US',{month:'short',day:'numeric'}) : '');\n}\nfunction stepperCfg(u){ return /ft/.test(u) ? {step:10,max:10000} : u==='hour' ? {step:0.5,max:24} : u==='step' ? {step:1,max:200} : u==='side' ? {step:1,max:8} : {step:1,max:50}; }\n\nfunction buildForm(){\n    if (DATA.banner) { $('#banner').textContent = DATA.banner; $('#banner').style.display='block'; }\n  $('#taxNote').textContent = 'Estimate includes '+(TAX*100).toFixed(1).replace(/\\.0$/,'')+'% sales tax. Stain treatment, if needed, is priced on site.';\n  const svcBox=$('#services'), panels=$('#panels');\n  ORDER.forEach(sec=>{\n    const items=ITEMS.filter(i=>i.section===sec); if(!items.length) return;\n    const info=SECTION_INFO[sec], k=info.key;\n    const inc=items.find(i=>rule(i)==='included');\n    const priced=items.filter(i=>i.price>0);\n    const trip0=items.find(i=>rule(i)==='included unless carpet'); const normal=priced.filter(i=>!rule(i)||rule(i)==='vehicle');\n    const from = inc ? inc.price : normal.length ? Math.min(...normal.map(i=>i.price)) + (trip0?trip0.price:0) : 0;\n    const anySale = items.some(i=>i.onSale);\n    const card=document.createElement('label'); card.className='svc'+(items.every(i=>i.ownerOnly)?' owneronly':''); card.dataset.svc=sec;\n    card.innerHTML='<input type=\"checkbox\">'+esc(sec)+'<small>'+(anySale?'Sale prices':(info.sub||(from?'From '+money(from):'')))+'</small>';\n    svcBox.appendChild(card);\n\n    const p=document.createElement('section'); p.className='card panel'; p.id='panel-'+k;\n    let h='<h2>'+esc(sec)+'</h2>';\n    if(info.blurb) h+='<p class=\"sub\">'+info.blurb+'</p>';\n    if(inc) h+='<div class=\"included\"><strong>'+esc(inc.name)+': '+priceHtml(Object.assign({},inc,{unit:'each'}))+'</strong>'+(inc.desc?'. '+esc(inc.desc)+'.':'')+' Included when you choose '+esc(sec.toLowerCase())+'.</div>';\n    const trip=items.find(i=>rule(i)==='included unless carpet');\n    if(trip) h+='<div class=\"included\" id=\"tripNote-'+k+'\" data-trip=\"'+esc(trip.name)+'|'+trip.price+'\"></div>';\n    if(info.info) h+='<details class=\"info\"><summary>'+info.info[0]+'</summary><div>'+info.info[1]+'</div></details>';\n    if(k==='vehicle'){\n      h+='<label for=\"vehCount\">How many vehicles? <span class=\"req\">*</span></label><select id=\"vehCount\"><option>1</option><option>2</option><option>3</option><option>4</option></select><div id=\"vehicles\"></div>';\n    } else {\n      items.filter(i=>!rule(i)).concat(items.filter(i=>rule(i)==='add-on')).forEach(i=>{\n        h+='<div class=\"item'+(i.ownerOnly?' owneronly':'')+'\"><div class=\"name\">'+esc(i.name)+'<small>'+priceHtml(i)+(i.desc?' &middot; '+esc(i.desc):'')+'</small></div><div class=\"stepper\" data-key=\"'+esc(i.id)+'\" data-unit=\"'+esc(i.unit)+'\"></div></div>';\n      });\n    }\n    const extras=items.filter(i=>rule(i)==='extra');\n    if(extras.length) h+='<div class=\"extras\"><div class=\"xh\">Optional extras</div>'+extras.map(i=>'<div class=\"item\"><div class=\"name\">'+esc(i.name)+'<small>'+priceHtml(i)+(i.desc?' &middot; '+esc(i.desc):'')+'</small>'+\n      '<button type=\"button\" class=\"allbtn\" data-all=\"'+esc(i.id)+'\" data-sec=\"'+esc(sec)+'\"></button></div><div class=\"stepper\" data-key=\"'+esc(i.id)+'\" data-unit=\"'+esc(i.unit)+'\"></div></div>').join('')+'</div>';\n    if(items.some(i=>rule(i)==='add-on')) h+='<div class=\"warn\" id=\"addonWarn\">Add-on items need at least one other service or item with them.</div>';\n    if(info.cushions) h+='<label class=\"check\"><input type=\"checkbox\" id=\"skipCushions\"> Skip the removable pillows and cushions (50% off the furniture above)</label>';\n    if(info.stains) h+='<label>'+(k==='carpet'?'Do you have stains that need special treatment?':'Any stains on these pieces?')+'</label>'+\n      '<div class=\"yesno\" data-yn=\"'+k+'\"><span class=\"chip\" data-v=\"yes\">Yes</span><span class=\"chip on\" data-v=\"no\">No</span></div>'+\n      '<div id=\"'+k+'StainsWrap\" style=\"display:none\"><p class=\"note\">'+info.stainNote+'</p><label for=\"'+k+'StainDesc\">'+info.stainAsk+'</label><textarea id=\"'+k+'StainDesc\"></textarea></div>';\n    if(info.photos) h+='<div class=\"file\"><label>'+info.photos+'</label><input type=\"file\" accept=\"image/*\" multiple data-photos=\"'+k+'\"><div class=\"thumbs\" id=\"thumbs-'+k+'\"></div></div>';\n    p.innerHTML=h; panels.appendChild(p);\n\n    card.querySelector('input').onchange=e=>{\n      const on=e.target.checked;\n      state.services = on ? state.services.concat(sec) : state.services.filter(s=>s!==sec);\n      state.services.sort((a,b)=>ORDER.indexOf(a)-ORDER.indexOf(b));\n      card.classList.toggle('on',on); p.classList.toggle('show',on); update();\n    };\n  });\n\n  $$('.stepper').forEach(el=>{\n    const key=el.dataset.key, c=stepperCfg(el.dataset.unit);\n    state.qty[key]=0;\n    el.innerHTML='<button type=\"button\" aria-label=\"Less\">&minus;</button><input type=\"number\" inputmode=\"numeric\" min=\"0\" max=\"'+c.max+'\" value=\"0\" aria-label=\"Quantity\"><button type=\"button\" aria-label=\"More\">+</button>';\n    const [minus,input,plus]=el.children;\n    const rnd=v=>c.step<1?Math.round((+v||0)/c.step)*c.step:Math.round(+v||0);\n    const set=v=>{v=Math.max(0,Math.min(c.max,rnd(v)));input.value=v;state.qty[key]=v;update();};\n    SETTERS[key]=set;\n    minus.onclick=()=>set(state.qty[key]-c.step); plus.onclick=()=>set(state.qty[key]+c.step);\n    input.onchange=()=>set(input.value);\n    if(c.step<1) input.step=c.step;\n    input.oninput=()=>{state.qty[key]=Math.max(0,Math.min(c.max,rnd(input.value)));update();};\n  });\n  $$('.yesno').forEach(g=>{\n    const key=g.dataset.yn;\n    g.querySelectorAll('.chip').forEach(ch=>ch.onclick=()=>{\n      g.querySelectorAll('.chip').forEach(x=>x.classList.remove('on')); ch.classList.add('on'); state.yn[key]=ch.dataset.v;\n      $('#'+key+'StainsWrap').style.display=ch.dataset.v==='yes'?'block':'none';\n    });\n  });\n  $$('.allbtn').forEach(b=>b.onclick=()=>{ const n=unitsFor(b.dataset.sec); SETTERS[b.dataset.all](state.qty[b.dataset.all]===n?0:n); });\n  if($('#skipCushions')) $('#skipCushions').onchange=update;\n  if($('#vehCount')){ $('#vehCount').onchange=renderVehicles; renderVehicles(); }\n  $$('input[data-photos]').forEach(wirePhotos);\n}\n\n \nfunction vehicleTypes(){ return ITEMS.filter(i=>i.section==='Vehicle Interior'&&rule(i)==='vehicle'); }\nfunction renderVehicles(){\n  const n=+$('#vehCount').value, box=$('#vehicles'), old={};\n  $$('#vehicles [data-f]').forEach(i=>{ if(i.type==='radio'){ if(i.checked) old[i.dataset.f]=i.value; } else old[i.dataset.f]=i.value; });\n  box.innerHTML='';\n  for(let i=1;i<=n;i++){\n    const d=document.createElement('div'); d.className='vehicle';\n    d.innerHTML='<h3>Vehicle '+i+'</h3>'+\n      vehicleTypes().map(t=>'<label class=\"radio\"><input type=\"radio\" name=\"vt'+i+'\" value=\"'+esc(t.id)+'\" data-f=\"type'+i+'\"> '+esc(t.name)+(t.price?' ('+priceHtml(t)+')':'')+'</label>').join('')+\n      '<div class=\"row\"><div><label>Year <span class=\"req\">*</span></label><input type=\"text\" inputmode=\"numeric\" maxlength=\"4\" data-f=\"year'+i+'\"></div>'+\n      '<div><label>Make <span class=\"req\">*</span></label><input type=\"text\" data-f=\"make'+i+'\"></div></div>'+\n      '<div class=\"row\"><div><label>Model <span class=\"req\">*</span></label><input type=\"text\" data-f=\"model'+i+'\"></div>'+\n      '<div><label>Color <span class=\"req\">*</span></label><input type=\"text\" data-f=\"color'+i+'\"></div></div>'+\n      '<label>Notes for this vehicle</label><input type=\"text\" data-f=\"notes'+i+'\" placeholder=\"Pet hair, spills, car seats...\">';\n    box.appendChild(d);\n  }\n  $$('#vehicles [data-f]').forEach(inp=>{\n    const k=inp.dataset.f;\n    if(inp.type==='radio'){ if(old[k]===inp.value) inp.checked=true; inp.onchange=update; } else if(old[k]) inp.value=old[k];\n  });\n  update();\n}\nfunction getVehicles(){\n  if(!state.services.includes('Vehicle Interior')||!$('#vehCount')) return [];\n  const out=[], n=+$('#vehCount').value;\n  for(let i=1;i<=n;i++){\n    const f=k=>{const el=document.querySelector('#vehicles [data-f=\"'+k+i+'\"]'+(k==='type'?':checked':''));return el?el.value.trim():'';};\n    out.push({n:i,type:f('type'),year:f('year'),make:f('make'),model:f('model'),color:f('color'),notes:f('notes')});\n  }\n  return out;\n}\n\n \nfunction selection(){ return { services:state.services, qty:state.qty, vehicles:getVehicles(), skipCushions:!!($('#skipCushions')&&$('#skipCushions').checked), custom:ownerCustom() }; }\n \nlet OC=[];\nfunction ownerCustom(){ return OWNER?OC.map(c=>({desc:String(c.desc||'').trim(),amount:Math.round((+c.amount||0)*100)/100})).filter(c=>c.desc&&c.amount>0):[]; }\nfunction ownerDisc(){ if(!OWNER) return null; const t=$('#oDiscType').value, v=Math.round((+$('#oDiscVal').value||0)*100)/100, n=$('#oDiscNote').value.trim();\n  if(!t||!(v>0)||(t==='percent'&&v>100)) return null; return {code:'Owner discount'+(n?': '+n:''),type:t,value:v,note:n,owner:true}; }\nfunction renderCustom(){\n  $('#oCustom').innerHTML=OC.map((c,i)=>'<div class=\"crow\"><input type=\"text\" data-cd=\"'+i+'\" placeholder=\"Description\" value=\"'+esc(c.desc)+'\" maxlength=\"80\"><input type=\"number\" data-ca=\"'+i+'\" inputmode=\"decimal\" min=\"0\" step=\"0.01\" placeholder=\"Amount\" value=\"'+(c.amount||'')+'\"><button type=\"button\" data-cx=\"'+i+'\" aria-label=\"Remove\">&times;</button></div>').join('');\n  $$('#oCustom [data-cd]').forEach(x=>x.oninput=()=>{ OC[+x.dataset.cd].desc=x.value; update(); });\n  $$('#oCustom [data-ca]').forEach(x=>x.oninput=()=>{ OC[+x.dataset.ca].amount=x.value; update(); });\n  $$('#oCustom [data-cx]').forEach(x=>x.onclick=()=>{ OC.splice(+x.dataset.cx,1); renderCustom(); update(); });\n  $('#oAddCustom').style.display=OC.length>=6?'none':'';\n}\n$('#oAddCustom').onclick=()=>{ OC.push({desc:'',amount:''}); renderCustom(); const l=$$('#oCustom [data-cd]').pop(); if(l) l.focus(); };\n['oDiscType','oDiscVal','oDiscNote'].forEach(id=>{ $('#'+id).addEventListener('input',()=>update()); $('#'+id).addEventListener('change',()=>update()); });\nfunction addonProblem(){\n  const addons=ITEMS.filter(i=>(rule(i)==='add-on'||rule(i)==='extra')&&state.qty[i.id]>0&&state.services.includes(i.section));\n  if(!addons.length) return false;\n  const others = ITEMS.some(i=>state.services.includes(i.section) && (rule(i)==='included' || (!rule(i)&&state.qty[i.id]>0))) || getVehicles().some(v=>v.type);\n  return !others;\n}\n \nfunction unitsFor(sec){\n  const its=ITEMS.filter(i=>i.section===sec);\n  if(sec==='Carpet') return (its.some(i=>rule(i)==='included')?1:0)+its.filter(i=>!rule(i)&&i.unit==='area').reduce((a,i)=>a+(state.qty[i.id]||0),0);\n  return its.filter(i=>!rule(i)||rule(i)==='add-on').reduce((a,i)=>a+(state.qty[i.id]||0),0);\n}\n \nfunction planPromo(){ return DATA.plan&&state.plan&&!state.client?{code:'Maintenance plan '+DATA.plan.pct+'%',type:'percent',value:DATA.plan.pct,plan:true}:null; }\nfunction effectivePromo(){\n  const od=ownerDisc(); if(od) return od;\n  const pp=planPromo(); if(!pp) return state.promo;\n  if(!state.promo) return pp;\n  const a=priceBooking(ITEMS, selection(), pp, TAX).discount, b=priceBooking(ITEMS, selection(), state.promo, TAX).discount;\n  return a>=b?pp:state.promo;\n}\nfunction update(){\n  const ep=effectivePromo(), t=priceBooking(ITEMS, selection(), ep, TAX), tb=$('#estTable');\n  $$('[data-trip]').forEach(el=>{\n    const [nm,pr]=el.dataset.trip.split('|');\n    el.innerHTML = state.services.includes('Carpet') ? '<strong>Carpet is in your booking, so the '+esc(nm.toLowerCase())+' is waived.</strong>' : '<strong>'+esc(nm)+': '+money(+pr)+'</strong>, waived when you also book carpet cleaning.';\n  });\n  setTimeout(updateBar,0);\n  if(!t.lines.length) tb.innerHTML='<tr><td class=\"empty\">Choose a service above to see your price.</td><td></td></tr>';\n  else tb.innerHTML = t.lines.map(l=>'<tr><td>'+esc(l.label)+(l.detail?'<br><small style=\"color:#5F5F5F\">'+esc(l.detail)+'</small>':'')+'</td><td>'+(l.detail&&!l.amount?'TBD':money(l.amount))+'</td></tr>').join('')\n    + '<tr class=\"dim\"><td>Subtotal</td><td>'+money(t.subtotal)+'</td></tr>'\n    + (t.discount?'<tr class=\"dim\"><td>Discount ('+esc(t.discountCode)+')</td><td>-'+money(t.discount)+'</td></tr>':'')\n    + '<tr class=\"dim\"><td>Sales tax</td><td>'+money(t.tax)+'</td></tr>'\n    + '<tr class=\"tot\"><td>Estimated total</td><td>'+money(t.total)+'</td></tr>';\n  $('#barTotal').textContent=money(t.total);\n  const pn=$('#planNote');\n  if(DATA.plan&&state.plan){ pn.style.display='block';\n    pn.textContent=(OWNER?'Maintenance plan member: ':'You are a maintenance plan member: ')+DATA.plan.pct+'% off is applied.'+(state.promo?(ep&&ep.plan?' The plan discount saves more than the code, so we used it.':' The code saves more than the plan discount, so we used it this time.'):''); }\n  else pn.style.display='none';\n  $$('.allbtn').forEach(b=>{ const n=unitsFor(b.dataset.sec), word=b.dataset.sec==='Carpet'?'area':'piece';\n    b.style.display=n>0?'inline-block':'none'; const on=n>0&&state.qty[b.dataset.all]===n; b.classList.toggle('on',on);\n    b.textContent=on?'Added for all '+n+' '+word+(n>1?'s':'')+' (tap to remove)':'Add for all '+n+' '+word+(n>1?'s':''); });\n  if($('#addonWarn')) $('#addonWarn').style.display=addonProblem()?'block':'none';\n  return t;\n}\n\n \n$('#applyCode').onclick=()=>{\n  const code=$('#discountCode').value.trim(), m=$('#codeMsg');\n  if(!code){ state.promo=null; m.textContent=''; update(); return; }\n  const done=r=>{\n    if(r&&r.ok){\n      const hadPoints=!!state.points; clearPoints(true);\n      state.promo={code:r.code,type:r.type,value:r.value}; m.className='msg ok';\n      m.textContent=(!r.value?'Code recorded. Thank you!':'Code applied: '+(r.type==='percent'?r.value+'% off':money(r.value)+' off')+' before tax.')+(hadPoints?' Your points were not used, since only one discount can be used per booking.':'');\n    }\n    else if(r&&r.referralPhone){ state.promo=null; $('#discountCode').value=''; m.className='msg';\n      if(setReferrer(r.referralPhone)) m.textContent='Phone numbers are not promo codes, so we added it under \"Who referred you?\" above. Thank you for telling us!';\n      else m.textContent='Phone numbers are not promo codes. If a friend sent you, thank you for letting us know!'; }\n    else { state.promo=null; m.className='msg err'; m.textContent=(r&&r.msg)||'That code was not found.'; }\n    update();\n  };\n  m.className='msg'; m.textContent='Checking...';\n  if(LIVE) google.script.run.withSuccessHandler(done).withFailureHandler(()=>done(null)).checkCode(code,$('#phone').value,$('#email').value);\n  else done(digitsOf(code).length===10&&/^[\\d\\s().+-]+$/.test(code)?{ok:false,referralPhone:digitsOf(code)}:(window.PREVIEW_CODES||{})[code]||{ok:false});\n};\n$('#discountCode').onkeydown=e=>{ if(e.key==='Enter') $('#applyCode').click(); };\n \nfunction heardChanged(){\n  const v=$('#heard').value, on=(v==='Referral'||v==='Realtor')&&!state.client&&!DATA.listing, r=v==='Realtor';\n  $('#heardOtherWrap').style.display=v==='Other'?'block':'none';\n  $('#sentWrap').style.display=on?'block':'none';\n  if(!on) return;\n  $('#sentHead').textContent=r?'Which realtor sent you?':'Who referred you?';\n  $('#sentPhoneLbl').textContent=r?'Realtor\\'s phone number':'Their phone number';\n  $('#sentNameLbl').textContent=r?'Realtor\\'s name':'Their name';\n}\n$('#heard').onchange=heardChanged;\nlet sentLooked='';\nfunction sentChanged(){\n  fmtPhoneInput($('#sentPhone'));\n  const d=digitsOf($('#sentPhone').value), m=$('#sentMsg');\n  if(d.length!==10){ sentLooked=''; $('#sentNameWrap').style.display=''; m.textContent='Optional, but it helps us thank them.'; return; }\n  if(d===sentLooked) return; sentLooked=d;\n  if(d===digitsOf($('#phone').value)){ $('#sentNameWrap').style.display=''; m.textContent='That is your own number. Please enter the number of the person who sent you.'; return; }\n  m.textContent='Checking...';\n  const done=r=>{\n    if(digitsOf($('#sentPhone').value)!==d) return;\n    if(r&&r.ok&&r.known){\n      $('#sentNameWrap').style.display='none'; m.textContent='Got it, '+r.name.replace(/\\.$/,'')+'. Thank you for letting us know!';\n    } else { $('#sentNameWrap').style.display=''; m.textContent='We do not have that number yet. Please add their name.'; }\n  };\n  if(LIVE) google.script.run.withSuccessHandler(done).withFailureHandler(()=>done(null)).lookupSender(d);\n  else done({ok:true,known:false});\n}\n$('#sentPhone').addEventListener('input',sentChanged);\n$('#sentPhone').setAttribute('maxlength','14'); $('#sentPhone').setAttribute('inputmode','numeric');\n \nfunction setReferrer(ph,realtor){\n  if($('#heardWrap').style.display==='none'||state.client||DATA.listing) return false;\n  if(realtor) $('#heard').value='Realtor'; else if(!/^(Referral|Realtor)$/.test($('#heard').value)) $('#heard').value='Referral';\n  heardChanged(); $('#sentPhone').value=ph; sentLooked=''; sentChanged(); return true;\n}\nfunction sentBy(){\n  if(DATA.listing&&DATA.listing.phone) return {phone:DATA.listing.phone,name:DATA.listing.name||''};\n  if($('#sentWrap').style.display==='none') return null;\n  const ph=digitsOf($('#sentPhone').value), nm=$('#sentName').value.trim();\n  return ph.length===10||nm ? {phone:ph.length===10?ph:'',name:nm} : null;\n}\n \nconst EMAIL_RE=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\nfunction nextStep(){\n  const v=id=>($('#'+id)||{value:''}).value.trim();\n  if(digitsOf(v('phone')).length!==10) return ['Add your number','#phone'];\n  if(!v('firstName')) return ['Add your name','#firstName'];\n  if(!v('lastName')) return ['Add your name','#lastName'];\n  if(state.client){ if(!v('cFirst')||!v('cLast')) return ['Add client name',v('cFirst')?'#cLast':'#cFirst']; if(digitsOf(v('cPhone')).length!==10) return ['Add client number','#cPhone']; }\n  if(!state.services.length&&!ownerCustom().length) return ['Pick a service','#services'];\n  for(const sec of state.services){\n    if(sec==='Vehicle Interior'){ if(getVehicles().some(x=>!x.type||!x.year||!x.make||!x.model||!x.color)) return ['Finish vehicles','#vehicles']; continue; }\n    if(!ITEMS.some(i=>i.section===sec&&(rule(i)==='included'||(!rule(i)||rule(i)==='add-on')&&state.qty[i.id]>0))) return ['Add '+sec.toLowerCase(),'#panel-'+SECTION_INFO[sec].key];\n  }\n  if(!v('address')) return ['Add the address','#address'];\n  if(!/^\\d{5}$/.test(v('zip'))) return ['Add the ZIP','#zip'];\n  if(!v('date')||!state.slot) return ['Pick a day','#dayPick'];\n  if(!EMAIL_RE.test(v('email'))) return ['Add your email','#email'];\n  if(state.client){ if(!CL.bill) return ['Who is paying?','#billTo']; if(!CL.present) return ['Client there?','#present']; if(CL.present==='No'&&!v('access')) return ['Add access info','#access']; }\n  return null;\n}\nfunction updateBar(){\n  const b=$('#barBtn'); if(!b) return; let n=null; try{ n=nextStep(); }catch(e){}\n  if(n){ b.textContent=n[0]; b.dataset.go=n[1]; b.classList.remove('ready'); } else { b.textContent='Book it'; b.dataset.go=''; b.classList.add('ready'); }\n}\n$('#barBtn').onclick=()=>{\n  const g=$('#barBtn').dataset.go; if(!g) return $('#submitBtn').click();\n  const el=$(g); if(!el) return; el.scrollIntoView({behavior:'smooth',block:'center'});\n  if(/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName)) setTimeout(()=>{ try{ el.focus({preventScroll:true}); }catch(e){} },400);\n};\n['input','change'].forEach(ev=>document.addEventListener(ev,updateBar)); document.addEventListener('click',()=>setTimeout(updateBar,0));\n\n \nconst FIELD_RULES={ phone:[v=>digitsOf(v).length===10,'Please enter a 10-digit mobile number.'], email:[v=>EMAIL_RE.test(v),'Please check this email address.'],\n  zip:[v=>/^\\d{5}$/.test(v),'Please enter a 5-digit ZIP code.'], cPhone:[v=>digitsOf(v).length===10,'Please enter their 10-digit mobile number.'], cEmail:[v=>EMAIL_RE.test(v),'Please check this email address.'] };\nfunction fieldErr(id,show,msg){\n  const el=$('#'+id); if(!el) return; let e=document.getElementById('fe-'+id);\n  if(show){ if(!e){ e=document.createElement('div'); e.id='fe-'+id; e.className='ferr'; el.insertAdjacentElement('afterend',e); } e.textContent=msg; el.classList.add('invalid'); }\n  else { if(e) e.remove(); el.classList.remove('invalid'); }\n}\nObject.keys(FIELD_RULES).forEach(id=>{ const el=$('#'+id); if(!el) return;\n  el.addEventListener('blur',()=>{ const v=el.value.trim(); if(id==='phone'&&(OWNER||(v.replace(/\\D/g,'').length<10&&v.replace(/\\D/g,'').length>=4))) return; fieldErr(id,!!v&&!FIELD_RULES[id][0](v),FIELD_RULES[id][1]); });\n  el.addEventListener('input',()=>{ const v=el.value.trim(); if(!v||FIELD_RULES[id][0](v)) fieldErr(id,false); });\n});\n['firstName','lastName','address','cFirst','cLast','access'].forEach(id=>{ const el=$('#'+id); if(el) el.addEventListener('input',()=>{ if(el.value.trim()) el.classList.remove('invalid'); }); });\n\n \nfunction showPromo(){ $('#promoWrap').style.display='block'; $('#promoLink').style.display='none'; }\n$('#promoLink').onclick=e=>{ e.preventDefault(); showPromo(); setTimeout(()=>$('#discountCode').focus(),50); };\n\n \nconst avail=DATA.availability||{full:[],closed:[]};\nfunction ymd(d){return d.getFullYear()+'-'+String(d.getMonth()+1).padStart(2,'0')+'-'+String(d.getDate()).padStart(2,'0');}\nfunction slotsFor(ds){\n  if(!ds) return [];\n  if(OWNER) return ['AM','PM'];\n  if(DATA.again&&DATA.again.open&&ds===DATA.again.date&&ds<ymd(new Date(Date.now()+DATA.leadDays*86400000))) return [DATA.again.slot].filter(x=>!avail.full.includes(ds+'|'+x));\n  const dow=new Date(ds+'T12:00:00').getDay();\n  return (dow===0?[]:dow===6?['AM']:['AM','PM']).filter(x=>!avail.full.includes(ds+'|'+x));\n}\nfunction buildDays(){\n  const sel=$('#date'), keep=sel.value, today=new Date();\n  sel.innerHTML='<option value=\"\">Choose a day</option>';\n  for(let i=OWNER?0:DATA.leadDays;i<=(OWNER?(DATA.ownerDays||365):DATA.windowDays);i++){\n    const d=new Date(today.getFullYear(),today.getMonth(),today.getDate()+i), key=ymd(d);\n    const closedDay=d.getDay()===0||avail.closed.includes(key);\n    if(!OWNER&&(closedDay||!slotsFor(key).length)) continue;\n    const o=document.createElement('option'); o.value=key; o.textContent=d.toLocaleDateString('en-US',{weekday:'long',month:'short',day:'numeric'})+(OWNER&&i===0?' (today)':'')+(OWNER&&closedDay?' (closed)':''); sel.appendChild(o);\n  }\n  const op=DATA.again&&DATA.again.open&&DATA.again.date;\n  if(op&&![...sel.options].some(o=>o.value===op)){ const o=document.createElement('option'); o.value=op; o.textContent=new Date(op+'T12:00:00').toLocaleDateString('en-US',{weekday:'long',month:'short',day:'numeric'})+' (opening)'; sel.insertBefore(o,sel.options[1]||null); }\n  if(keep&&[...sel.options].some(o=>o.value===keep)) sel.value=keep;\n  renderSlots();\n}\nfunction renderSlots(){\n  const open=slotsFor($('#date').value);\n  $$('.slot').forEach(el=>{\n    const ok=open.includes(el.dataset.slot);\n    el.classList.toggle('off',!ok);\n    if(!ok&&state.slot===el.dataset.slot) state.slot='';\n    el.classList.toggle('on',ok&&state.slot===el.dataset.slot);\n    const full=OWNER&&$('#date').value&&avail.full.includes($('#date').value+'|'+el.dataset.slot);\n    el.classList.toggle('over',!!full); el.querySelector('small').textContent=full?'Full, you can still book it':'Arrival window';\n  });\n  renderPicker();\n}\n\n\nlet pickMode='quick', calYM='', calDay='';\nconst SLOT_TXT={AM:['Morning','10am to 2pm'],PM:['Afternoon','2pm to 6pm']};\nfunction openKeys(){ return [...$('#date').options].map(o=>o.value).filter(k=>k&&slotsFor(k).length); }\nfunction slotBtns(k){\n  const d=new Date(k+'T12:00:00'), open=slotsFor(k), sel=$('#date').value;\n  return ['AM','PM'].map(w=>{\n    if(!open.includes(w)) return '<span class=\"ph\"></span>';\n    const full=OWNER&&avail.full.includes(k+'|'+w), on=sel===k&&state.slot===w;\n    return '<button type=\"button\" class=\"'+(on?'on':'')+(full?' over':'')+'\" data-d=\"'+k+'\" data-w=\"'+w+'\" aria-pressed=\"'+on+'\">'+SLOT_TXT[w][0]+'<small>'+(full?'Full':SLOT_TXT[w][1])+'</small></button>';\n  }).join('');\n}\nfunction relDay(k){ const t=new Date(), a=new Date(t.getFullYear(),t.getMonth(),t.getDate()), n=Math.round((new Date(k+'T12:00:00')-a)/86400000-0.5); return n===0?'Today':n===1?'Tomorrow':''; }\nfunction dayRow(k){ const d=new Date(k+'T12:00:00'), sel=$('#date').value===k&&state.slot;\n  return '<div class=\"dprow'+(sel?' sel':'')+'\"><div class=\"dl\">'+d.toLocaleDateString('en-US',{weekday:'long'})+'<small>'+d.toLocaleDateString('en-US',{month:'short',day:'numeric'})+(relDay(k)?' &middot; '+relDay(k):'')+'</small></div>'+slotBtns(k)+'</div>'; }\nfunction renderPicker(){\n  const box=$('#dayPick'); if(!box) return;\n  const keys=openKeys(), sel=$('#date').value, more=$('#moreDays');\n  if(sel&&state.slot&&pickMode!=='cal'&&pickMode!=='edit') pickMode='chosen';\n  if(pickMode==='chosen'&&!(sel&&state.slot)) pickMode='quick';\n  more.style.display='none';\n  if(pickMode==='chosen'){\n    const d=new Date(sel+'T12:00:00');\n    box.innerHTML='<div class=\"dprow sel chosen\"><div class=\"dl\">'+d.toLocaleDateString('en-US',{weekday:'long',month:'long',day:'numeric'})+'<small>'+SLOT_TXT[state.slot][0]+', arrival '+SLOT_TXT[state.slot][1]+'</small></div><button type=\"button\" class=\"chg\" id=\"pickChange\">Change</button></div>';\n    $('#pickChange').onclick=()=>{ pickMode='edit'; renderPicker(); };\n    return;\n  }\n  if(pickMode==='cal'){ renderCal(keys); return; }\n  if(!keys.length){ box.innerHTML='<div class=\"empty\">No open days right now. Please call or text '+esc(DATA.phone)+'.</div>'; return; }\n  box.innerHTML=keys.slice(0,3).map(dayRow).join('');\n  more.style.display='inline-block'; more.textContent='Show more days';\n  wirePick();\n}\nfunction wirePick(){ $$('#dayPick [data-d]').forEach(b=>b.onclick=()=>{ $('#date').value=b.dataset.d; state.slot=b.dataset.w; pickMode='chosen'; renderSlots(); updateBar(); }); }\nfunction renderCal(keys){\n  const box=$('#dayPick'), set=new Set(keys), sel=$('#date').value;\n  if(!keys.length){ pickMode='quick'; return renderPicker(); }\n  const first=keys[0].slice(0,7), last=keys[keys.length-1].slice(0,7);\n  if(!calYM||calYM<first||calYM>last) calYM=(calDay||sel||keys[0]).slice(0,7);\n  const [y,m]=calYM.split('-').map(Number), start=new Date(y,m-1,1).getDay(), days=new Date(y,m,0).getDate();\n  const shift=n=>{ const d=new Date(y,m-1+n,1); return d.getFullYear()+'-'+String(d.getMonth()+1).padStart(2,'0'); };\n  let g=['S','M','T','W','T','F','S'].map(x=>'<div class=\"cdow\">'+x+'</div>').join('');\n  for(let i=0;i<start;i++) g+='<div></div>';\n  for(let d=1;d<=days;d++){ const k=calYM+'-'+String(d).padStart(2,'0'), ok=set.has(k);\n    g+=ok?'<button type=\"button\" class=\"cday'+(k===calDay?' on':'')+(k===sel&&state.slot&&k!==calDay?' had':'')+'\" data-k=\"'+k+'\">'+d+'</button>':'<div class=\"cday off\">'+d+'</div>'; }\n  box.innerHTML='<div class=\"calbox\"><div class=\"calhd\"><button type=\"button\" class=\"cnav\" id=\"calPrev\"'+(calYM<=first?' disabled':'')+' aria-label=\"Previous month\">&lsaquo;</button><b>'+\n    new Date(y,m-1,1).toLocaleDateString('en-US',{month:'long',year:'numeric'})+'</b><button type=\"button\" class=\"cnav\" id=\"calNext\"'+(calYM>=last?' disabled':'')+' aria-label=\"Next month\">&rsaquo;</button></div>'+\n    '<div class=\"cgrid\">'+g+'</div><div class=\"ckey\">Tap an open day. Gray days are full or closed.</div></div>'+\n    (calDay?'<div class=\"calslots\">'+dayRow(calDay)+'</div>':'');\n  $('#calPrev').onclick=()=>{ calYM=shift(-1); renderPicker(); };\n  $('#calNext').onclick=()=>{ calYM=shift(1); renderPicker(); };\n  $$('#dayPick .cday[data-k]').forEach(b=>b.onclick=()=>{ calDay=b.dataset.k; renderPicker(); const r=$('.calslots'); if(r) r.scrollIntoView({behavior:'smooth',block:'nearest'}); });\n  wirePick();\n  const more=$('#moreDays'); more.style.display='inline-block'; more.textContent='Back to the soonest days';\n}\n$('#moreDays').onclick=()=>{ if(pickMode==='cal'){ pickMode='quick'; calDay=''; } else { pickMode='cal'; calDay=$('#date').value&&state.slot?$('#date').value:''; calYM=''; } renderPicker(); };\n$('#date').onchange=renderSlots;\n$$('.slot').forEach(el=>el.onclick=()=>{ if(el.classList.contains('off')) return; state.slot=el.dataset.slot; renderSlots(); });\n\n \nfunction wirePhotos(inp){\n  inp.onchange=async()=>{\n    const sec=inp.dataset.photos, files=[...inp.files].slice(0,5), th=$('#thumbs-'+sec);\n    state.photos[sec]=[]; th.innerHTML='';\n    for(const f of files){\n      try{ const data=await shrink(f,1600,0.8);\n        state.photos[sec].push({name:sec+'-'+(state.photos[sec].length+1)+'.jpg',type:'image/jpeg',data:data.split(',')[1]});\n        const img=document.createElement('img'); img.src=data; th.appendChild(img);\n      }catch(e){}\n    }\n    if(inp.files.length>5){ const p=document.createElement('div'); p.className='msg'; p.textContent='Only the first 5 photos will be sent.'; th.appendChild(p); }\n  };\n}\nfunction shrink(file,max,q){\n  return new Promise((res,rej)=>{\n    const img=new Image(), url=URL.createObjectURL(file);\n    img.onload=()=>{ let w=img.width,h=img.height; const s=Math.min(1,max/Math.max(w,h)); w=Math.round(w*s); h=Math.round(h*s);\n      const c=document.createElement('canvas'); c.width=w; c.height=h; c.getContext('2d').drawImage(img,0,0,w,h); URL.revokeObjectURL(url); res(c.toDataURL('image/jpeg',q)); };\n    img.onerror=rej; img.src=url;\n  });\n}\n\n \nfunction validate(){\n  const errs=[]; $$('.invalid').forEach(e=>e.classList.remove('invalid'));\n  const need=(sel,msg,test)=>{ const el=$(sel); const v=el.value.trim(); if(test?!test(v):!v){ errs.push(msg); el.classList.add('invalid'); } };\n  need('#firstName','First name'); need('#lastName','Last name');\n  if(!state.services.length&&!ownerCustom().length) errs.push('Choose at least one service');\n  state.services.forEach(sec=>{\n    if(sec==='Vehicle Interior') return;\n    const ok=ITEMS.some(i=>i.section===sec&&(rule(i)==='included'||(!rule(i)||rule(i)==='add-on')&&state.qty[i.id]>0));\n    if(!ok) errs.push('Add at least one '+sec.toLowerCase()+' item, or unselect '+sec);\n  });\n  if(addonProblem()) errs.push('Add-on items need another service or item with them');\n  getVehicles().forEach(v=>{\n    if(!v.type) errs.push('Vehicle '+v.n+': choose a vehicle type');\n    if(!v.year||!v.make||!v.model||!v.color) errs.push('Vehicle '+v.n+': fill in year, make, model and color');\n  });\n  need('#address','Service address'); need('#zip','5 digit ZIP code',v=>/^\\d{5}$/.test(v)); need('#date','Service day');\n  if(!state.slot) errs.push('Time window');\n  need('#phone','Mobile number (10 digits)',v=>v.replace(/\\D/g,'').replace(/^1/,'').length===10);\n  need('#email','Email address',v=>/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(v));\n  if(state.client){\n    need('#cFirst','Client first name'); need('#cLast','Client last name');\n    need('#cPhone','Client mobile number (10 digits)',v=>digitsOf(v).length===10&&digitsOf(v)!==digitsOf($('#phone').value));\n    need('#cEmail','Client email',v=>!v||/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(v));\n    if(!CL.bill) errs.push('Who is paying');\n    if(!CL.present) errs.push('Will your client be there');\n    if(CL.present==='No') need('#access','Access instructions');\n  }\n  return errs;\n}\n$('#submitBtn').onclick=()=>{\n  const errs=validate(), box=$('#errors');\n  if(errs.length){ box.innerHTML='<strong>Please finish these before booking:</strong><ul>'+errs.map(e=>'<li>'+esc(e)+'</li>').join('')+'</ul>'; box.style.display='block'; box.scrollIntoView({behavior:'smooth',block:'center'}); return; }\n  box.style.display='none';\n  const t=update(), btn=$('#submitBtn'), keys={carpet:'Carpet',upholstery:'Upholstery'};\n  const stain=k=>state.services.includes(keys[k])&&state.yn[k]==='yes'?($('#'+k+'StainDesc').value.trim()||'Yes, no description'):'';\n  const ph=$('#phone').value.replace(/\\D/g,'').replace(/^1/,'');\n  const sel=Object.assign(selection(),{\n    firstName:$('#firstName').value.trim(), lastName:$('#lastName').value.trim(),\n    heard:$('#heard').value==='Other'?'Other: '+$('#heardOther').value.trim():$('#heard').value, sentBy:sentBy(),\n    draftId:DRAFT_ID, code:state.promo&&!state.promo.points?state.promo.code:'', pointsToken:state.points?state.points.token:'', pointsRedeem:state.points?state.points.redeem:0, carpetStains:stain('carpet'), upholsteryStains:stain('upholstery'),\n    address:$('#address').value.trim(), zip:$('#zip').value.trim(), date:$('#date').value, dateLabel:$('#date').selectedOptions[0].textContent, slot:state.slot,\n    phone:ph.replace(/(\\d{3})(\\d{3})(\\d{4})/,'$1-$2-$3'), email:$('#email').value.trim(), notes:listingNotes()+$('#notes').value.trim(),\n    hp:$('#hpWebsite').value, elapsed:Date.now()-T0,\n    ownerToken:OWNER||'', sendConfirm:OWNER?$('#oConfirm').checked:true, ownerDiscount:ownerDisc(), openToken:(DATA.again&&DATA.again.open&&DATA.again.date===$('#date').value&&DATA.again.slot===state.slot)?DATA.again.open:'',\n    client:state.client?{firstName:$('#cFirst').value.trim(),lastName:$('#cLast').value.trim(),phone:$('#cPhone').value.trim(),email:$('#cEmail').value.trim(),\n      billTo:CL.bill,present:CL.present,access:CL.present==='No'?$('#access').value.trim():''}:null,\n    photos:Object.entries(state.photos).flatMap(([k,arr])=>arr.map(p=>({...p,section:k}))).filter(p=>state.services.some(s=>SECTION_INFO[s].key===p.section))\n  });\n  if(!LIVE){ showDone(sel,'PREVIEW',t.total); return; }\n  btn.disabled=true; btn.textContent='Sending...'; submitted=true; clearTimeout(draftTimer);\n  const fail=msg=>{ submitted=false; box.innerHTML=msg?'<strong>'+esc(msg)+'</strong>':'<strong>Something went wrong sending your request.</strong> Please try again, or call or text us at '+esc(DATA.phone)+'.'; box.style.display='block'; btn.disabled=false; btn.textContent='Request my appointment'; };\n  google.script.run.withFailureHandler(()=>fail()).withSuccessHandler(r=>{\n    if(r&&r.ok) return showDone(sel,r.id,r.total,r);\n    if(r&&r.error==='slot_full'){\n      avail.full.push(sel.date+'|'+sel.slot); buildDays(); btn.disabled=false; submitted=false; btn.textContent='Request my appointment';\n      box.innerHTML='<strong>That time window just filled up.</strong> Please pick another day or window.'; box.style.display='block';\n      $('#dayPick').scrollIntoView({behavior:'smooth',block:'center'}); return;\n    }\n    fail(r&&r.error);\n  }).submitBooking(sel);\n};\n \nfunction calLink(p){\n  const d=String(p.date).replace(/-/g,''), t=p.slot==='AM'?['100000','140000']:['140000','180000'];\n  return 'https://calendar.google.com/calendar/render?action=TEMPLATE&text='+encodeURIComponent('Carpet Elves cleaning')+'&dates='+d+'T'+t[0]+'/'+d+'T'+t[1]+'&ctz=America/New_York'+\n    '&details='+encodeURIComponent('Arrival window '+(p.slot==='AM'?'10am to 2pm':'2pm to 6pm')+'. We text you about 30 minutes before we arrive.')+'&location='+encodeURIComponent((p.address||'')+' '+(p.zip||''));\n}\n \nlet SHARE=null;\nfunction shareBox(p){\n  const me=digitsOf(p.phone), pct=DATA.refPct||10, pts=DATA.pointsPer||10;\n  if(!(phoneInfo&&phoneInfo.member)||me.length!==10) return '<div class=\"sharebox\"><b>Earn free cleanings</b><p class=\"final\" style=\"margin:4px 0 0\">After your cleaning, send friends our way. When they book their first cleaning and name you, you earn '+pts+' points (10 points = 10% off your own cleaning).</p></div>';\n  const url=(LINKS.home||location.href.split('?')[0])+((LINKS.home||'').indexOf('?')>-1?'&':'?')+'ref='+me, code=me.replace(/(\\d{3})(\\d{3})(\\d{4})/,'$1-$2-$3');\n  SHARE={ url:url, text:'I use Carpet Elves for my carpets and they do a great job. Book here and they will know I sent you: '+url };\n  const isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent);\n  return '<div class=\"sharebox\"><b>Send friends, earn points</b><p class=\"final\" style=\"margin:4px 0 0\">When a friend books their first cleaning with your link (or names you, '+code+'), you earn '+pts+' points. 10 points = 10% off your own cleaning.</p>'+\n    '<div class=\"donebtns\" style=\"margin-bottom:0\"><a class=\"pri\" id=\"shareGo\" href=\"sms:'+(isIOS?'&':'?')+'body='+encodeURIComponent(SHARE.text)+'\">Text it to a friend</a><button type=\"button\" id=\"shareCopy\">Copy my link</button></div></div>';\n}\nfunction wireShare(){\n  if(!SHARE) return;\n  const go=$('#shareGo'); if(go&&navigator.share) go.onclick=e=>{ e.preventDefault(); navigator.share({text:SHARE.text}).catch(()=>{ location.href=go.href; }); };\n  const cp=$('#shareCopy'); if(cp) cp.onclick=()=>{ const done=()=>{ cp.textContent='Copied!'; }; try{ navigator.clipboard.writeText(SHARE.url).then(done,()=>{ cp.textContent=SHARE.url; }); }catch(e){ cp.textContent=SHARE.url; } };\n}\n \nfunction planBox(r){\n  if(!DATA.plan||!r||!r.planJoin||p_client(r)) return '';\n  return '<div class=\"sharebox\" id=\"planJoinBox\" style=\"text-align:left\"><b>Did you know?</b><p class=\"final\" style=\"margin:4px 0 0\">With the Elves Maintenance Plan you get '+DATA.plan.pct+'% off every cleaning, starting with your next one. We book your next cleaning '+DATA.plan.months+' months after each visit and remind you before it. Change the day or leave anytime.</p>'+\n    '<div class=\"donebtns\" style=\"margin-bottom:0\"><button type=\"button\" class=\"pri\" id=\"planJoinBtn\">Join the plan</button></div></div>';\n}\nfunction p_client(r){ return !!state.client; }\nfunction wirePlan(r){\n  const b=$('#planJoinBtn'); if(!b) return;\n  b.onclick=()=>{ b.disabled=true; b.textContent='Joining...';\n    const ok=x=>{ const box=$('#planJoinBox'); if(x&&x.ok) box.innerHTML='<b>You are in!</b><p class=\"final\" style=\"margin:4px 0 0\">Welcome to the Elves Maintenance Plan. Your '+DATA.plan.pct+'% discount starts with your next cleaning, and we will book it for you about '+DATA.plan.months+' months after this one.</p>';\n      else { b.disabled=false; b.textContent='Join the plan'; box.insertAdjacentHTML('beforeend','<p class=\"msg err\">Something went wrong. Please try again, or call or text '+esc(DATA.phone)+'.</p>'); } };\n    if(!LIVE) return ok({ok:true});\n    google.script.run.withSuccessHandler(ok).withFailureHandler(()=>ok(null)).joinPlan(r.planJoin); };\n}\nfunction showDone(p,id,total,r){\n  $('#bar').style.display='none';\n  $('#app').innerHTML='<section class=\"card done\">'+(ELFSRC?'<img class=\"doneelf\" src=\"'+ELFSRC+'\" alt=\"\">':'<div class=\"big\">&#10003;</div>')+'<h2>'+(p.client?'Your client is booked!':'You are booked in!')+'</h2>'+\n    (p.client?'<p><strong>'+esc(p.client.firstName+' '+p.client.lastName)+'</strong></p>':'')+\n    '<p><strong>'+esc(p.dateLabel)+', '+(p.slot==='AM'?'10am to 2pm':'2pm to 6pm')+'</strong><br>'+esc(p.address)+'</p>'+\n    '<p>Estimated total: <strong>'+money(total)+'</strong></p>'+\n    '<p class=\"final\">'+(p.sendConfirm===false?'No confirmation email was sent (your choice).':'A confirmation is on its way to '+esc(p.email)+'. We will text you about 30 minutes before we arrive.')+'<br>Questions? Call or text '+esc(DATA.phone)+'.</p>'+\n    (id==='PREVIEW'?'<p class=\"msg err\">Preview mode: nothing was sent.</p>':'<p class=\"final\">Booking number: '+esc(id)+'</p>')+\n    '<div class=\"donebtns\"><a class=\"pri\" href=\"'+esc(calLink(p))+'\" target=\"_blank\" rel=\"noopener\">Add to my calendar</a></div>'+\n    planBox(r)+\n    (!OWNER&&!p.client?shareBox(p):'')+\n    (OWNER?'<p><a href=\"#\" id=\"bookAnother\" style=\"color:#D4570D;font-weight:700\">Book another customer</a>'+(JOBS_URL?' &nbsp;|&nbsp; <a href=\"'+esc(JOBS_URL)+'\" target=\"_top\" style=\"color:#D4570D;font-weight:700\">Back to Today\\'s Jobs</a>':'')+'</p>':'')+'</section>';\n  if(OWNER) $('#bookAnother').onclick=e=>{ e.preventDefault(); go(withParam(LINKS.home,'ot',OWNER)); };\n  wireShare(); wirePlan(r);\n  window.scrollTo({top:0,behavior:'smooth'});\n}\n\n \nstate.points=null; let phoneInfo=null, lookedUp='', pv=null;\nconst digitsOf=v=>{ let x=String(v||'').replace(/\\D/g,''); if(x.length===11&&x[0]==='1') x=x.slice(1); return x; };\nfunction clearPoints(quiet){ state.points=null; if(state.promo&&state.promo.points) state.promo=null; if(pv) renderPoints(); if(!quiet) update(); }\nfunction checkReferralRules(){}\nfunction renderPoints(){\n  const box=$('#pointsBox');\n  if(!phoneInfo||!phoneInfo.points||(state.client&&CL.bill!=='Realtor')){ box.style.display='none'; box.innerHTML='';\n    if(state.points){ state.points=null; if(state.promo&&state.promo.points) state.promo=null; update(); } return; }\n  box.style.display='block';\n  if(OWNER&&(!pv||!pv.verified)) pv={verified:true,token:'',available:phoneInfo.points,max:Math.min(DATA.maxPoints||50,Math.floor(phoneInfo.points/10)*10)};\n  const cap=state.client?10:(DATA.maxPoints||50);\n  let h='<div class=\"ph\">'+(OWNER?'They have ':'You have ')+phoneInfo.points+' referral points!</div>';\n  if(state.client) h+='<div class=\"pt\">Since you are paying, you can use up to 10 of your points (10% off). You still earn '+(DATA.pointsPer||10)+' points for bringing us a new client.</div>';\n  if(!pv||!pv.verified){\n    h+='<div class=\"pt\">Use them for up to '+Math.min(cap,Math.floor(phoneInfo.points/10)*10)+'% off this booking.</div>';\n    if(!phoneInfo.canVerify) h+='<div class=\"pt\">To use them, please call or text '+esc(DATA.phone)+'.</div>';\n    else if(!pv||!pv.sent) h+='<div class=\"prow\"><button type=\"button\" class=\"btn\" id=\"ptSend\">Email me a code</button></div><div class=\"pt\">We will send a 6-digit code to '+esc(phoneInfo.maskedEmail)+'.</div>';\n    else h+='<div class=\"pt\">Enter the code we sent to '+esc(phoneInfo.maskedEmail)+'.</div><div class=\"prow\"><input type=\"text\" id=\"ptCode\" inputmode=\"numeric\" maxlength=\"6\" placeholder=\"000000\"><button type=\"button\" class=\"btn\" id=\"ptVerify\">Verify</button></div><div class=\"pt\"><a href=\"#\" id=\"ptResend\" style=\"color:#D4570D\">Send a new code</a></div>';\n  } else {\n    const opts=[0]; for(let n=10;n<=Math.min(pv.max,cap);n+=10) opts.push(n);\n    h+='<div class=\"pt\">How many would you like to use? 10 points = 10% off.</div><div class=\"chips\">'+opts.map(n=>'<span class=\"chip'+((state.points?state.points.redeem:0)===n?' on':'')+'\" data-pts=\"'+n+'\">'+(n?n+' pts ('+n+'% off)':'None')+'</span>').join('')+'</div>';\n    if(state.points) h+='<div class=\"pt\">'+(pv.available-state.points.redeem)+' points will stay in your account. Promo codes cannot be combined with points.</div>';\n  }\n  h+='<div class=\"msg\" id=\"ptMsg\"></div>';\n  box.innerHTML=h;\n  const msg=t=>{ const el=$('#ptMsg'); el.className='msg err'; el.textContent=t; };\n  if($('#ptSend')) $('#ptSend').onclick=()=>sendCode(msg);\n  if($('#ptResend')) $('#ptResend').onclick=e=>{ e.preventDefault(); sendCode(msg); };\n  if($('#ptVerify')) $('#ptVerify').onclick=()=>{\n    const code=$('#ptCode').value.trim(); if(!/^\\d{6}$/.test(code)) return msg('Please enter the 6-digit code.');\n    const done=r=>{ if(r&&r.ok){ pv={verified:true,token:r.token,available:r.available,max:r.max}; renderPoints(); } else msg((r&&r.msg)||'Could not check the code.'); };\n    if(LIVE) google.script.run.withSuccessHandler(done).withFailureHandler(()=>done(null)).verifyPointsCode($('#phone').value,code);\n    else done(code==='123456'?{ok:true,token:'preview',available:phoneInfo.points,max:Math.min(50,Math.floor(phoneInfo.points/10)*10)}:{ok:false,msg:'That code is not right. Please check your email and try again.'});\n  };\n  $$('#pointsBox [data-pts]').forEach(c=>c.onclick=()=>{\n    const n=+c.dataset.pts;\n    if(!n){ clearPoints(); return; }\n    const hadCode=state.promo&&!state.promo.points;\n    state.points={token:pv.token,redeem:n}; state.promo={code:n+' referral points',type:'percent',value:n,points:true};\n    if(hadCode){ $('#discountCode').value=''; const m=$('#codeMsg'); m.className='msg'; m.textContent='Your promo code was removed, since only one discount can be used per booking.'; }\n    update(); renderPoints();\n  });\n}\nfunction sendCode(msg){\n  const done=r=>{ if(r&&r.ok){ pv={sent:true}; renderPoints(); } else msg((r&&r.msg)||'Could not send the code.'); };\n  if(LIVE) google.script.run.withSuccessHandler(done).withFailureHandler(()=>done(null)).sendPointsCode($('#phone').value);\n  else done({ok:true});\n}\nfunction phoneChanged(){\n  if(typeof fmtPhoneInput==='function') fmtPhoneInput($('#phone'));\n  const d=digitsOf($('#phone').value);\n  if(d.length!==10){ if(lookedUp){ lookedUp=''; phoneInfo=null; state.plan=false; pv=null; clearPoints(); setAgent(null); renderPoints(); showWelcome(null); } return; }\n  if(d===lookedUp) return;\n  lookedUp=d; window.PHONE_AT=Date.now(); phoneInfo=null; pv=null; clearPoints(true); renderPoints(); update();\n  const done=r=>{ if(digitsOf($('#phone').value)!==d) return; if(r&&r.owner&&!OWNER){ enterOwner(r.token,r.jobsUrl); return; } phoneInfo=r&&r.ok?r:null; state.plan=!!(phoneInfo&&phoneInfo.plan); setAgent(phoneInfo); renderPoints(); showWelcome(phoneInfo); update(); };\n  if(LIVE) google.script.run.withSuccessHandler(done).lookupPhone(d);\n  else done((window.PREVIEW_PHONES||{})[d]||{ok:true});\n}\n$('#phone').addEventListener('input',phoneChanged); $('#phone').addEventListener('change',phoneChanged);\n\n \nconst T0 = Date.now();\nconst DRAFT_ID = Array.from({length:24},()=>'abcdefghijklmnopqrstuvwxyz0123456789'[Math.floor(Math.random()*36)]).join('');\nlet draftTimer=null, draftSent='', submitted=false;\nfunction draftData(){\n  const name=($('#firstName').value+' '+$('#lastName').value).trim(), phone=$('#phone').value.trim(), email=$('#email').value.trim();\n  const okPhone=phone.replace(/\\D/g,'').length>=10, okEmail=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email);\n  if(!name||(!okPhone&&!okEmail)) return null;\n  const t=priceBooking(ITEMS, selection(), state.promo, TAX);\n  return { name:name, phone:okPhone?phone:'', email:okEmail?email:'', services:state.services.join(', '), total:t.total,\n    dateLabel:$('#date').value?$('#date').selectedOptions[0].textContent:'', window:state.slot==='AM'?'10am to 2pm':state.slot==='PM'?'2pm to 6pm':'',\n    address:$('#address').value.trim(), zip:$('#zip').value.trim(), code:state.promo?state.promo.code:'',\n    form:{ firstName:$('#firstName').value.trim(), lastName:$('#lastName').value.trim(), phone:phone, email:email, address:$('#address').value.trim(), zip:$('#zip').value.trim(),\n      services:state.services, qty:Object.fromEntries(Object.entries(state.qty).filter(e=>e[1]>0)), skipCushions:!!($('#skipCushions')&&$('#skipCushions').checked),\n      date:$('#date').value, slot:state.slot, notes:$('#notes').value.trim(), heard:$('#heard').value, sentPhone:$('#sentPhone').value.trim(), sentName:$('#sentName').value.trim(), code:state.promo&&!state.promo.points?state.promo.code:'' } };\n}\nfunction saveDraftNow(){\n  clearTimeout(draftTimer); if(submitted||!LIVE||OWNER) return;\n  const d=draftData(); if(!d) return;\n  const sig=JSON.stringify(d); if(sig===draftSent) return; draftSent=sig;\n  google.script.run.withFailureHandler(()=>{ draftSent=''; }).saveDraft(DRAFT_ID,d);\n}\nfunction draftSoon(){ clearTimeout(draftTimer); draftTimer=setTimeout(saveDraftNow,5000); }\ndocument.addEventListener('input',draftSoon); document.addEventListener('change',draftSoon); document.addEventListener('click',draftSoon);\ndocument.addEventListener('visibilitychange',()=>{ if(document.visibilityState==='hidden') saveDraftNow(); });\nwindow.addEventListener('pagehide',saveDraftNow);\n\n \nconst LINKS=DATA.links||{};\nfunction withParam(url,k,v){ return url+(url.indexOf('?')>-1?'&':'?')+k+'='+encodeURIComponent(v); }\nfunction go(url){ if(!url) return; const a=document.createElement('a'); a.href=url; a.target='_top'; document.body.appendChild(a); a.click(); }\nfunction comLink(phone){ let u=LINKS.commercial||''; if(!u) return ''; if(phone) u=withParam(u,'phone',phone); if(OWNER) u=withParam(u,'ot',OWNER); return u; }\n\n\nwindow.PHONE_AT=window.PHONE_AT||0;\nfunction fill(id,val){ const el=$('#'+id); if(!el) return; val=val||'';\n  const editedAfter=+el.dataset.editedAt>window.PHONE_AT && el.dataset.auto!==el.value;\n  if(editedAfter) return; el.value=val; el.dataset.auto=val; }\nfunction clearAuto(ids){ ids.forEach(id=>{ const el=$('#'+id); if(el&&el.dataset.auto&&el.dataset.auto===el.value){ el.value=''; el.dataset.auto=''; } }); }\n['firstName','lastName','email','address','zip'].forEach(id=>$('#'+id).addEventListener('input',e=>{ e.target.dataset.editedAt=Date.now(); }));\n \nfunction fmtPhoneInput(el){\n  let d=el.value.replace(/\\D/g,''); if(d.length===11&&d[0]==='1') d=d.slice(1); d=d.slice(0,10);\n  const v=d.length>6?d.slice(0,3)+'-'+d.slice(3,6)+'-'+d.slice(6):d.length>3?d.slice(0,3)+'-'+d.slice(3):d;\n  if(el.value!==v) el.value=v;\n}\n$('#phone').addEventListener('input',()=>fmtPhoneInput($('#phone')),true);\n$('#phone').setAttribute('maxlength','14'); $('#phone').setAttribute('inputmode','numeric');\n\nlet comTimer=null;\nfunction showWelcome(r){\n  const w=$('#welcome'); clearTimeout(comTimer);\n  if(r&&r.realtor&&!r.home&&!r.commercial){ const nm=r.realtor.name.split(/\\s+/); r=Object.assign({},r,{home:{firstName:nm[0]||'',lastName:nm.slice(1).join(' '),email:r.realtor.email,address:'',zip:''}}); }\n  if(!r||(!r.home&&!r.commercial)){ w.style.display='none'; w.innerHTML=''; clearAuto(['firstName','lastName','email','address','zip']); setHeard(false); update(); return; }\n  const d=digitsOf($('#phone').value), pts=r.points?'<div style=\"margin-top:4px\">You have <b>'+r.points+' referral points</b>. You can choose how many to use in step 4.</div>':'';\n  const fillHome=()=>{ const h=r.home; fill('firstName',h.firstName); fill('lastName',h.lastName); fill('email',h.email); fill('address',h.address); fill('zip',h.zip); setHeard(true); update(); };\n  const same=r.last&&!DATA.again?'<div class=\"wbtns\"><button type=\"button\" class=\"pri\" id=\"wSame\">Same as last time</button></div><div class=\"lastsum\">Last time'+(r.last.date?' ('+esc(new Date(r.last.date+'T12:00:00').toLocaleDateString('en-US',{month:'short',day:'numeric',year:'numeric'}))+')':'')+': '+esc(r.last.lines.join(', '))+(r.last.more?' and '+r.last.more+' more':'')+'</div>':'';\n  if(r.home&&!r.commercial){\n    fillHome();\n    if(DATA.again&&!OWNER){ w.style.display='none'; return; }\n    w.innerHTML='<b>'+(OWNER?'Found '+esc(r.home.firstName+' '+r.home.lastName)+'.':'Welcome back, '+esc(r.home.firstName)+'!')+'</b> We filled in '+(OWNER?'their':'your')+' details. Please check they are still right.'+pts+\n      (r.realtor?'<div style=\"margin-top:4px\">'+(OWNER?'They are a partner realtor. ':'')+'Booking for a client? Tick the box below.</div>':'')+same;\n    if($('#wSame')) $('#wSame').onclick=()=>{ resetSelection(); applySelection(r.last);\n      $('#wSame').parentNode.outerHTML='<div class=\"lastsum\" style=\"color:#1E8E3E;font-weight:700\">We filled in your last cleaning. Change anything you like, then pick a day.</div>';\n      setTimeout(()=>$('#estimateCard').scrollIntoView({behavior:'smooth',block:'start'}),100); };\n  } else if(r.commercial&&!r.home){\n    w.innerHTML='<b>'+esc(r.commercial.property)+'</b> is set up as a property account. Opening '+(OWNER?'its':'your')+' work order...<div class=\"wbtns\"><button type=\"button\" id=\"wStay\">Stay here, this is for a home</button></div>';\n    $('#wStay').onclick=()=>{ clearTimeout(comTimer); w.innerHTML='<b>No problem.</b> Fill in the home details below.'+pts; };\n    if(comLink(d)) comTimer=setTimeout(()=>go(comLink(d)),1800);\n  } else {\n    w.innerHTML='<b>Welcome back'+(OWNER?'':', '+esc(r.home.firstName))+'!</b> Who is this booking for?<div class=\"wbtns\"><button type=\"button\" class=\"pri\" id=\"wCom\">'+esc(r.commercial.property)+'</button><button type=\"button\" id=\"wHome\">'+(OWNER?'Their home':'My home')+'</button></div>';\n    $('#wCom').onclick=()=>go(comLink(d));\n    $('#wHome').onclick=()=>{ fillHome(); w.innerHTML='<b>Home booking.</b> We filled in '+(OWNER?'their':'your')+' details. Please check they are still right.'+pts; };\n  }\n  w.style.display='block';\n}\nlet JOBS_URL=DATA.jobsUrl||'';\nlet OWNER='';\nfunction enterOwner(token,jobs){\n  OWNER=token; document.body.classList.add('owner'); JOBS_URL=jobs||JOBS_URL; if(JOBS_URL){ $('#ownJobs').href=JOBS_URL; $('#ownJobs').style.display='inline-block'; } $('#ownerBar').style.display='block';\n  $('#phoneLbl').innerHTML='Customer\\'s mobile number <span class=\"req\">*</span>';\n  $('#phoneHint').textContent='Enter their number. If they have booked before, their details fill in.';\n  $('#phone').value=''; lookedUp=''; showWelcome(null); buildDays(); $('#privacyNote').style.display='none';\n}\n$('#ownCom').onclick=()=>{ const d=digitsOf($('#phone').value); go(comLink(d.length===10?d:'')); };\nif(DATA.website){ $('#siteLink').href=DATA.website; $('#siteLink').textContent=DATA.website.replace(/^https?:\\/\\/(www\\.)?/,'').replace(/\\/$/,''); }\n$('#ownExit').onclick=e=>{ e.preventDefault(); go(LINKS.home||location.href.split('?')[0]); };\n$('#phone').addEventListener('change',()=>{\n  const raw=$('#phone').value.replace(/\\D/g,''); if(OWNER||raw.length<4||raw.length>9) return;\n  const done=r=>{ if(r&&r.owner) enterOwner(r.token,r.jobsUrl); };\n  if(LIVE) google.script.run.withSuccessHandler(done).lookupPhone(raw); else done((window.PREVIEW_PHONES||{})[raw]);\n});\n\n \nlet AGENT=null; const CL={bill:'',present:''}; state.client=false;\nfunction setAgent(r){\n  AGENT=r&&r.realtor?r.realtor:null; $('#agentWrap').style.display=AGENT?'block':'none';\n  if(!AGENT&&state.client){ $('#forClient').checked=false; setClientMode(false); }\n}\nfunction setClientMode(on){\n  state.client=on;\n  $('#clientWrap').style.display=on?'block':'none'; $('#clientMore').style.display=on?'block':'none';\n  $('#fnLbl').innerHTML=(on?'Your first name':'First name')+' <span class=\"req\">*</span>';\n  $('#lnLbl').innerHTML=(on?'Your last name':'Last name')+' <span class=\"req\">*</span>';\n  $('#addrLbl').innerHTML=(on?'Client\\'s service address':'Service address')+' <span class=\"req\">*</span>';\n  $('#emailLbl').innerHTML=(on?'Your email for the confirmation':'Email for your confirmation')+' <span class=\"req\">*</span>';\n  state.plan=!on&&!!(phoneInfo&&phoneInfo.plan);\n  $('.code-row').style.display=on?'none':''; $('#codeMsg').style.display=on?'none':''; $('#promoLink').style.display=on||$('#promoWrap').style.display==='block'?'none':'';\n  if(on&&state.promo&&!state.promo.points){ state.promo=null; $('#discountCode').value=''; $('#codeMsg').textContent=''; }\n  if(on){ clearAuto(['address','zip']); $('#heard').value='Realtor'; $('#heardOtherWrap').style.display='none'; }\n  else if(phoneInfo&&phoneInfo.home){ fill('address',phoneInfo.home.address); fill('zip',phoneInfo.home.zip); }\n  heardChanged();\n  if(state.points&&state.points.redeem>(on?10:999)) clearPoints(true);\n  renderPoints(); update();\n}\nif(DATA.clientWelcome===0) $('#cwNote').textContent=''; else if(DATA.clientWelcome) $('#cwNote').textContent='After the cleaning they get '+DATA.clientWelcome+' points to use when they book with us again.';\n$('#forClient').onchange=()=>setClientMode($('#forClient').checked);\n$('#cPhone').addEventListener('input',()=>fmtPhoneInput($('#cPhone')));\n$('#cPhone').setAttribute('maxlength','14'); $('#cPhone').setAttribute('inputmode','numeric');\nconst pickGroup=(id,key,after)=>$$('#'+id+' .chip').forEach(c=>c.onclick=()=>{ $$('#'+id+' .chip').forEach(x=>x.classList.toggle('on',x===c)); CL[key]=c.dataset.v; if(after) after(); });\npickGroup('billTo','bill',()=>{ renderPoints(); update(); }); pickGroup('present','present',()=>{ $('#accessWrap').style.display=CL.present==='No'?'block':'none'; });\n\nbuildForm();\nif (DATA.ownerToken) enterOwner(DATA.ownerToken);\nbuildDays(); update(); updateBar();\nif (DATA.prefillCode) { showPromo(); $('#discountCode').value = DATA.prefillCode; $('#applyCode').click(); }\nif (DATA.prefillRef) setReferrer(DATA.prefillRef,DATA.prefillRefRealtor);\nif (DATA.prefillPhone) { $('#phone').value = DATA.prefillPhone.replace(/(\\d{3})(\\d{3})(\\d{4})/,'$1-$2-$3'); phoneChanged(); }\n\n \nfunction applySelection(sel){\n  if(!sel) return;\n  (sel.services||[]).forEach(sec=>{ const card=document.querySelector('.svc[data-svc=\"'+sec+'\"]'); if(card&&!card.classList.contains('on')){ const cb=card.querySelector('input'); cb.checked=true; cb.dispatchEvent(new Event('change')); } });\n  Object.entries(sel.qty||{}).forEach(([k,v])=>{ if(SETTERS[k]) SETTERS[k](v); });\n  if(sel.skipCushions&&$('#skipCushions')){ $('#skipCushions').checked=true; }\n  update();\n}\n \nfunction resetSelection(){\n  $$('.svc.on').forEach(card=>{ const cb=card.querySelector('input'); cb.checked=false; cb.dispatchEvent(new Event('change')); });\n  Object.keys(SETTERS).forEach(k=>{ if(state.qty[k]) SETTERS[k](0); });\n  if($('#skipCushions')) $('#skipCushions').checked=false;\n}\n \nfunction setHeard(known){\n  const h=$('#heard'), wrap=$('#heardWrap'); if(!h||!wrap) return;\n  if(known){ wrap.style.display='none'; if(!h.value||h.dataset.auto){ if(h.value!=='Realtor') h.value='Repeat Customer'; h.dataset.auto='1'; } }\n  else { wrap.style.display=''; if(h.dataset.auto){ h.value=''; h.dataset.auto=''; } }\n  heardChanged();\n}\nfunction showAgainNote(html){ const n=$('#againNote'); n.innerHTML=html; n.style.display='block'; }\n \nlet VACANT='';\nfunction listingNotes(){ if(!DATA.listing) return ''; const lb=$('#lockbox').value.trim(); return 'LISTING for '+DATA.listing.name+'. '+(lb?'Lockbox: '+lb+'. ':'')+(VACANT?'Vacant: '+VACANT+'. ':''); }\nif (DATA.listing) {\n  $('#listingWrap').style.display='block';\n  $$('#vacant .chip').forEach(c=>c.onclick=()=>{ $$('#vacant .chip').forEach(x=>x.classList.toggle('on',x===c)); VACANT=c.dataset.v; });\n  if($('#heard')) $('#heard').value='Realtor';\n  showAgainNote('<b>Listing cleaning for '+esc(DATA.listing.name)+'.</b> Enter the homeowner\\'s contact info (or yours) and the property address. Add the lockbox code below. We will note that you sent us.');\n}\nif (DATA.again) {\n  const a=DATA.again; applySelection(a);\n  if(a.phone){ $('#phone').value=a.phone.replace(/(\\d{3})(\\d{3})(\\d{4})/,'$1-$2-$3'); phoneChanged(); }\n  if(a.date&&[...$('#date').options].some(o=>o.value===a.date)){ $('#date').value=a.date; renderSlots(); if(a.slot&&slotsFor(a.date).includes(a.slot)){ state.slot=a.slot; renderSlots(); } }\n  showAgainNote('<b>Welcome back'+(a.first?', '+esc(a.first):'')+'!</b> '+(a.date?'The opening on '+esc(new Date(a.date+'T12:00:00').toLocaleDateString('en-US',{weekday:'long',month:'long',day:'numeric'}))+' is picked for you'+((a.date&&!$('#date').value)?' but it was just taken, so please pick another day':'')+'. ':'')+((a.services||[]).length?'We filled in what we cleaned last time. Change anything you like.':'Choose what you would like cleaned.'));\n}\nif (DATA.resume) {\n  const f=DATA.resume;\n  if(f.expired){ showAgainNote('<b>That booking was already finished or closed.</b> You can start a new one below.'); }\n  else {\n    ['firstName','lastName','email','address','zip','notes'].forEach(k=>{ if(f[k]&&$('#'+k)) $('#'+k).value=f[k]; });\n    if(f.heard&&$('#heard')) { $('#heard').value=f.heard; heardChanged(); }\n    if(f.sentName) $('#sentName').value=f.sentName;\n    if(f.sentPhone){ $('#sentPhone').value=f.sentPhone; sentChanged(); }\n    applySelection(f);\n    if(f.phone){ $('#phone').value=f.phone; fmtPhoneInput($('#phone')); }\n    if(f.date&&[...$('#date').options].some(o=>o.value===f.date)){ $('#date').value=f.date; renderSlots(); if(f.slot&&slotsFor(f.date).includes(f.slot)){ state.slot=f.slot; renderSlots(); } }\n    if(f.code){ showPromo(); $('#discountCode').value=f.code; $('#applyCode').click(); }\n    update();\n    showAgainNote('<b>Welcome back!</b> We saved your choices. Check the day and time, then tap Request my appointment.');\n  }\n}\n</script>\n</body>\n</html><style>#rtAsk{margin-top:10px}#rtForm{margin-top:10px}.rtwork{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:14px;font-weight:600;color:#D4570D}.rtspin{width:20px;height:20px;border:3px solid #f3d3bf;border-top-color:#F26B1D;border-radius:50%;animation:rtsp .9s linear infinite;flex-shrink:0}@keyframes rtsp{to{transform:rotate(360deg)}}</style><script>(function(){try{if(typeof setAgent!==\"function\"||!document.getElementById(\"agentWrap\")||DATA.listing)return;var ask=document.createElement(\"label\");ask.className=\"check\";ask.id=\"rtAsk\";ask.style.display=\"none\";ask.innerHTML='<input type=\"checkbox\" id=\"rtChk\"> I am a realtor booking for a client';var hint=document.getElementById(\"phoneHint\");(hint||document.getElementById(\"phone\")).insertAdjacentElement(\"afterend\",ask);var box=document.createElement(\"div\");box.className=\"clientbox\";box.id=\"rtForm\";box.style.display=\"none\";box.innerHTML='<div class=\"xh\">Realtor sign up</div><p class=\"hint\">Takes a few seconds. Then you can book for your client right here, and every time after with just your number.</p>'+'<div class=\"row\"><div><label for=\"rtBr\">Brokerage <span class=\"req\">*</span></label><input type=\"text\" id=\"rtBr\" autocomplete=\"organization\"></div>'+'<div><label for=\"rtEm\">Your email <span class=\"req\">*</span></label><input type=\"email\" id=\"rtEm\" autocomplete=\"email\"></div></div>'+'<div class=\"code-row\"><button type=\"button\" class=\"btn\" id=\"rtGo\">Sign me up</button></div><div class=\"msg\" id=\"rtMsg\"></div><div class=\"rtwork\" id=\"rtWork\" style=\"display:none\"><span class=\"rtspin\"></span><span id=\"rtWorkTxt\"></span></div>';document.getElementById(\"agentWrap\").insertAdjacentElement(\"afterend\",box);var busy=false;function open(on){$(\"#rtChk\").checked=on;box.style.display=on?\"block\":\"none\";if(on){if(!$(\"#rtEm\").value)$(\"#rtEm\").value=$(\"#email\").value.trim();setTimeout(function(){$(\"#rtBr\").focus()},50)}else{$(\"#rtMsg\").textContent=\"\"}}function show(){var d=digitsOf($(\"#phone\").value),ok=!OWNER&&d.length===10&&lookedUp===d&&phoneInfo&&!phoneInfo.realtor&&!(phoneInfo.commercial&&!phoneInfo.home);ask.style.display=ok?\"flex\":\"none\";if(!ok&&!busy)open(false)}var orig=setAgent;setAgent=function(r){orig(r);show()};$(\"#rtChk\").onchange=function(){if(busy){this.checked=true;return}open(this.checked)};$(\"#rtGo\").onclick=function(){var m=$(\"#rtMsg\"),go=this,fn=$(\"#firstName\").value.trim(),ln=$(\"#lastName\").value.trim(),em=$(\"#rtEm\").value.trim(),br=$(\"#rtBr\").value.trim(),d=digitsOf($(\"#phone\").value);m.className=\"msg err\";if(!fn||!ln){m.textContent=\"Please add your first and last name above.\";$(fn?\"#lastName\":\"#firstName\").focus();return}if(!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(em)){m.textContent=\"Please check your email address.\";return}if(!br){m.textContent=\"Please enter your brokerage.\";return}busy=true;go.disabled=true;go.textContent=\"Signing you up...\";m.textContent=\"\";var steps=[\"Setting you up as a partner realtor...\",\"Saving your brokerage...\",\"Almost done. Your client details come next.\"],k=0,w=$(\"#rtWork\");w.style.display=\"flex\";$(\"#rtWorkTxt\").textContent=steps[0];var tick=setInterval(function(){k=Math.min(k+1,steps.length-1);$(\"#rtWorkTxt\").textContent=steps[k]},3000);var done=function(r){clearInterval(tick);busy=false;w.style.display=\"none\";go.disabled=false;go.textContent=\"Sign me up\";if(digitsOf($(\"#phone\").value)!==d)return;if(!r||!r.ok){m.className=\"msg err\";m.textContent=(r&&r.msg)||\"Something went wrong. Please try again.\";return}box.style.display=\"none\";phoneInfo=Object.assign(phoneInfo||{ok:true},{realtor:r.realtor,member:true});setAgent(phoneInfo);if(!$(\"#email\").value.trim())$(\"#email\").value=em;$(\"#forClient\").checked=true;setClientMode(true);var n=document.createElement(\"p\");n.className=\"msg ok\";n.textContent=\"You are signed up as a partner realtor. Your partner page is on its way to \"+(r.maskedEmail||\"your email\")+\". Next time, just enter your number. Now add your client below.\";document.getElementById(\"agentWrap\").insertAdjacentElement(\"afterbegin\",n);setTimeout(function(){$(\"#cFirst\").focus()},50)};if(LIVE)google.script.run.withSuccessHandler(done).withFailureHandler(function(){done(null)}).realtorSignup({phone:d,firstName:fn,lastName:ln,email:em,brokerage:br,hp:$(\"#hpWebsite\").value});else setTimeout(function(){done({ok:true,realtor:{name:fn+\" \"+ln,email:em},maskedEmail:em})},1500)};}catch(err){}})();</script><style>#submitBtn{display:none}.nextopen{display:inline-block;margin-top:10px;background:rgba(242,107,29,.16);border:1px solid #F26B1D;color:#fff;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:700}.nextopen b{color:#F26B1D}</style><script>(function(){try{var sb=document.getElementById(\"submitBtn\"),bb=document.getElementById(\"barBtn\");if(sb&&bb){new MutationObserver(function(){if(sb.disabled){bb.textContent=\"Sending...\";bb.disabled=true}else{bb.disabled=false;try{updateBar()}catch(e){}}}).observe(sb,{attributes:true,childList:true,characterData:true,subtree:true});}function nx(){if(OWNER)return;var k=openKeys()[0];if(!k)return;var sl=slotsFor(k)[0],d=new Date(k+\"T12:00:00\"),r=relDay(k);var el=document.getElementById(\"nextOpen\");if(!el){el=document.createElement(\"div\");el.id=\"nextOpen\";el.className=\"nextopen\";var h=document.querySelector(\"header .hours\");h&&h.insertAdjacentElement(\"afterend\",el)}el.innerHTML=\"Next opening: <b>\"+(r?r+\", \":\"\")+d.toLocaleDateString(\"en-US\",{weekday:\"long\",month:\"short\",day:\"numeric\"})+\"</b>, \"+(sl===\"AM\"?\"morning\":\"afternoon\")}nx();var KEY=\"ce_ptdev_\";function lsGet(k){try{return localStorage.getItem(k)}catch(e){return null}}function lsSet(k,v){try{localStorage.setItem(k,v)}catch(e){}}var tried={},saved={},orig=renderPoints;renderPoints=function(){orig();try{var d=digitsOf($(\"#phone\").value);if(pv&&pv.verified&&pv.token&&pv.token!==\"preview\"&&!saved[pv.token]&&LIVE){saved[pv.token]=1;google.script.run.withSuccessHandler(function(x){if(x&&x.ok)lsSet(KEY+d,x.device)}).pointsDeviceFor(pv.token)}if(phoneInfo&&phoneInfo.points&&phoneInfo.canVerify&&(!pv||!pv.verified)&&!OWNER&&LIVE&&!tried[d]){var dev=lsGet(KEY+d);if(dev){tried[d]=1;google.script.run.withSuccessHandler(function(x){if(x&&x.ok&&digitsOf($(\"#phone\").value)===d){pv={verified:true,token:x.token,available:x.available,max:x.max};renderPoints()}}).verifyPointsDevice(d,dev)}}}catch(e){}};var os=shareBox;shareBox=function(p){return os(p).replace(\"you earn 10 points.\",\"you earn 10 points, and they get 10 points for their next cleaning.\")};if(DATA.again&&!DATA.again.date){setTimeout(function(){var e=document.getElementById(\"dayPick\");e&&e.scrollIntoView({behavior:\"smooth\",block:\"center\"})},900)}}catch(err){}})();</script>","cachedAt":1796329019218}