PageSourceSearch

https://assets.avochato.com/packs/js/2153-539f7a5e75057484.chunk.js

js avochato.com collected 2026-10-01 12:13:22 UTC 62,352 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunk=self.rspackChunk||[]).push([[2153],{66273:function(e,n,t){t.r(n),t.d(n,{Onboarding:function(){return tp}});var r,o,i,a,l,s,c,d,p,u,h,x,f,m,g,b,v,y,j,w,k,T,M,C,S,z,O,$,_,L,N,P,A,E,G,F,B,I,V,q,W,D,R,H,U,Y,K,J,Z,X,Q,ee,en,et,er,eo,ei,ea,el,es,ec,ed,ep,eu,eh,ex,ef,em,eg,eb,ev,ey,ej,ew,ek,eT,eM,eC,eS=t(74848),ez=t(96540),eO=t(50462),e$=t(8814),e_=t(46460),eL=t(18003),eN=t(79396),eP=t(20636),eA=t(94198),eE=t.p+"static/trial_welcome-5584c8640101fc09.svg",eG=t.p+"static/hey_there-3099f86b4f256417.svg",eF=t.p+"static/celebration-b03f7f8eff84b38a.svg",eB=t.p+"static/ai-banner-a30f0a7c3831a27f.svg",eI=t(77973),eV=t(93049),eq=t(48199),eW=t(87315),eD=t(31219),eR=t(84122),eH=t(25359),eU=t(79832),eY=t(14813),eK=t.p+"static/feature_integrations-d6bccbc2ab448fec.svg",eJ=t(28615),eZ=t(63770);function eX(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var eQ=e=>{var n,t=e.handleButtonClick,r=e.onAction,o=e.step,i=e.idx,a=e.primarySteps,l=e.subSteps,s=(0,ez.useRef)(null),c=(0,ez.useContext)(eY.P),d=c&&(null==c?void 0:c.plan),p=d&&d.includes("trial"),u=(0,eL.k)(e=>e<737,500),h=e=>{s.current&&(s.current.scrollLeft+=e)},x=l&&"features"===o.itemCategory||u,f="bold-600 number ".concat(o.complete?"complete":""),m="bold-900 ".concat(o.complete?"gray opacity-50":""),g="subtitle-text ".concat(o.complete?"gray opacity-50":""),b="button fit-content ".concat(o.complete?"tan-light":"light-sea-green"),v=(0,eS.jsx)("span",{className:b,children:o.buttonName}),y=(null==o?void 0:o.buttonName)&&(null==o?void 0:o.isReactRoute)?(0,eS.jsx)(eH.E,{path:o.buttonPath,children:v}):(0,eS.jsx)(eU.N,{path:o.buttonPath,children:v}),j=(null==o?void 0:o.buttonAction)?(0,eS.jsx)(e9,{type:"button","data-step-action":o.buttonAction,onClick:()=>null==r?void 0:r(o.buttonAction),children:v}):y,w=(0,eS.jsx)(e7,{onClick:()=>t(o.name),onKeyUp:()=>t(o.name),tabIndex:0,role:"button",href:o.buttonPath,target:"_blank",rel:"noopener noreferrer",children:v});return(0,eS.jsxs)("div",{className:"step-container-wrap",children:[(0,eS.jsxs)("div",{className:"step-container",children:[(0,eS.jsxs)(e1,{children:[(0,eS.jsxs)(e6,{children:[o.complete?(0,eS.jsx)("div",{className:"image-wrap",children:(0,eS.jsx)("img",{src:eJ,alt:"checkmark"})}):(0,eS.jsx)("p",{className:f,children:i+1}),(0,eS.jsxs)("div",{className:p?"":"inner-container",children:[o.isLockedFeature&&(0,eS.jsxs)("div",{className:"flex align-center mb-5",children:[(0,eS.jsx)(eW.A,{color:"#E64500",size:14})," ",(0,eS.jsx)("span",{className:"fsz-12 burnt-orange bold-800",children:"Upgrade to unlock this feature"})]}),(0,eS.jsx)("h4",{className:m,children:o.title}),(0,eS.jsx)("p",{className:g,children:o.subtitle}),(null==(n=o.title)?void 0:n.includes("Integrations"))&&p&&(0,eS.jsx)(e3,{src:eK,alt:"integrations"})]})]}),"string"==typeof o.itemCategory&&(0,eS.jsxs)(eA.aZ,{style:{marginLeft:x&&!u?"16px":0},children:[(0,eS.jsx)(e4,{$isScrollable:x,className:"left",role:"button",tabIndex:0,onKeyPress:()=>h(-s.current.clientWidth),onClick:()=>h(-s.current.clientWidth),children:(0,eS.jsx)(eD.A,{color:eZ.T.black,size:"24"})}),(0,eS.jsx)(e0,{ref:s,className:o.itemCategory,$isMobile:u,$isScrollable:x,children:l.length>0&&l.map((e,n)=>{var r=e.complete,i=(0,eS.jsx)("span",{onClick:()=>t(e.title),onKeyUp:()=>t(e.title),tabIndex:0,role:"button",className:"center button fsz-13 span-padding ".concat(r?"tan-light":"light-sea-green"),children:e.buttonName}),a=(0,eS.jsx)(e7,{href:e.buttonPath,target:"_blank",rel:"noopener noreferrer",children:i});return"string"==typeof o.itemCategory&&e.itemCategory===o.itemCategory&&(0,eS.jsxs)(e2,{children:[(0,eS.jsx)(eA.lB,{children:(0,eS.jsx)(e8,{$stepComplete:r,children:(0,eS.jsx)("img",{src:eJ,alt:"checkmark"})})}),(0,eS.jsxs)(e5,{children:[e.title,(0,eS.jsx)("p",{className:"subitem-title-text ".concat(r?"gray opacity-50":""),children:e.subt
1itle})]}),a]},e.title||n)})}),(0,eS.jsx)(e4,{$isScrollable:x,className:"right",role:"button",tabIndex:0,onKeyPress:()=>h(+s.current.clientWidth),onClick:()=>h(+s.current.clientWidth),children:(0,eS.jsx)(eR.A,{color:eZ.T.black,size:"24"})})]})]}),(0,eS.jsx)("div",{className:"button-link",children:"string"==typeof o.buttonName&&("Integrations"===o.name?w:j)})]}),i!==a.length-1&&(0,eS.jsx)("hr",{})]},"step-".concat(i+1))},e0=(0,e_.default)(eA.so)(i||(i=eX(["\n  overflow-x: auto;\n  border-radius: 20px;\n  margin-top: 10px;\n  margin-left: ",";\n  ","\n  scroll-behavior: smooth;\n"])),e=>e.$isScrollable?"0":"40px",e=>!e.$isMobile&&"min-width: 630px;"),e1=(0,e_.default)(eA.so)(a||(a=eX(["\n  flex-wrap: wrap;\n  margin-bottom: 10px;\n  width: 100%;\n"]))),e2=(0,e_.default)(eA.so)(l||(l=eX(["\n  padding: 10px 5px 20px 5px;\n  margin-right: 5px;\n  margin-left: 5px;\n  flex-direction: column;\n  justify-content: flex-start;\n  border: 1px solid ",";\n  border-radius: 20px;\n  background: ",";\n  height: auto;\n  max-height: 150px;\n  width: 200px;\n  min-width: 200px;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 300 !important;\n  line-height: normal;\n"])),eZ.T.sandDark,eZ.T.sand),e4=e_.default.div(s||(s=eX(["\n  backgroud: transparent;\n  min-width: 24px;\n  cursor: pointer;\n  display: ",";\n"])),e=>e.$isScrollable?"flex":"none"),e5=e_.default.p(c||(c=eX(["\n  padding-bottom: 0;\n  font-weight: 800 !important;\n"]))),e3=e_.default.img(d||(d=eX(["\n  width: fit-content !important;\n  height: 40px !important;\n  filter: none !important;\n  margin: 10px auto 0 auto;\n"]))),e6=(0,e_.default)(eA.so)(p||(p=eX(["\n  flex-wrap: nowrap;\n"]))),e8=(0,e_.default)(eA.Zl)(u||(u=eX(["\n  color: white;\n  height: 15px;\n  width: 15px;\n  background: ",";\n  border-radius: 50%;\n  margin-right: 10px !important;\n  opacity: ",";\n  img {\n    width: 10px !important;\n  }\n"])),eZ.T.orange,e=>e.$stepComplete?1:.1),e7=e_.default.a(h||(h=eX(["\n  margin: 0 auto !important;\n"]))),e9=e_.default.button(x||(x=eX(["\n  background: none;\n  border: none;\n  padding: 0;\n  cursor: pointer;\n"]))),ne=t(6419),nn=t(75214),nt=t(28242),nr=t(7106),no=t(67177),ni=t(99863),na=["size","children"];function nl(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function ns(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return nc(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nc(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function nd(){nd=function(){return n};var e,n={},t=Object.prototype,r=t.hasOwnProperty,o=Object.defineProperty||function(e,n,t){e[n]=t.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{c({},"")}catch(e){c=function(e,n,t){return e[n]=t}}function d(n,t,r,i){var a,l,s,c,d=Object.create((t&&t.prototype instanceof m?t:m).prototype);return o(d,"_invoke",{value:(a=n,l=r,s=new S(i||[]),c=u,function(n,t){if(c===h)throw Error("Generator is already running");if(c===x){if("throw"===n)throw t;return{value:e,done:!0}}for(s.method=n,s.arg=t;;){var r=s.delegate;if(r){var o=function n(t,r){var o=r.method,i=t.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&t.iterator.return&&
vendor: 4,546 bytes, line 1
1(r.method="return",r.arg=e,n(t,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),f;var a=p(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,f;var l=a.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,f):l:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,f)}(r,s);if(o){if(o===f)continue;return o}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(c===u)throw c=x,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);c=h;var i=p(a,l,s);if("normal"===i.type){if(c=s.done?x:"suspendedYield",i.arg===f)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(c=x,s.method="throw",s.arg=i.arg)}})}),d}function p(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var u="suspendedStart",h="executing",x="completed",f={};function m(){}function g(){}function b(){}var v={};c(v,a,function(){return this});var y=Object.getPrototypeOf,j=y&&y(y(z([])));j&&j!==t&&r.call(j,a)&&(v=j);var w=b.prototype=m.prototype=Object.create(v);function k(e){["next","throw","return"].forEach(function(n){c(e,n,function(e){return this._invoke(n,e)})})}function T(e,n){var t;o(this,"_invoke",{value:function(o,i){function a(){return new n(function(t,a){!function t(o,i,a,l){var s=p(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?n.resolve(d.__await).then(function(e){t("next",e,a,l)},function(e){t("throw",e,a,l)}):n.resolve(d).then(function(e){c.value=e,a(c)},function(e){return t("throw",e,a,l)})}l(s.arg)}(o,i,t,a)})}return t=t?t.then(a,a):a()}})}function M(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function C(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function z(n){if(n||""===n){var t=n[a];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var o=-1,i=function t(){for(;++o<n.length;)if(r.call(n,o))return t.value=n[o],t.done=!1,t;return t.value=e,t.done=!0,t};return i.next=i}}throw TypeError(typeof n+" is not iterable")}return g.prototype=b,o(w,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},k(T.prototype),c(T.prototype,l,function(){return this}),n.AsyncIterator=T,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new T(d(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(w),c(w,s,"Generator"),c(w,a,function(){return this}),c(w,"toString",function(){return"[object Generator]"}),n.keys=function(e){var n=Object(e),t=[];for(var r in n)t.push(r);return t.reverse(),function e(){for(;t.length;){var r=t.pop();if(r in n)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=z,S.prototype={constructor:S,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!n)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function o(r,o){return l.type="throw",l.arg=n,t.next=r,o&&(t.method="next",t.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];
1if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),f},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;C(t)}return o}}throw Error("illegal catch attempt")},delegateYield:function(n,t,r){return this.delegate={iterator:z(n),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=e),f}},n}function np(e,n,t,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){t(e);return}l.done?n(s):Promise.resolve(s).then(r,o)}function nu(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function nh(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?nu(Object(t),!0).forEach(function(n){var r,o,i;r=e,o=n,i=t[n],(o=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:String(n)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nu(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var nx=e=>{var n=e.size,t=void 0===n?22:n,r=e.children,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],!(n.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,na);return(0,eS.jsx)("svg",nh(nh({width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"},o),{},{children:r}))},nf=e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M12 21s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 11c0 5.5-7 10-7 10z"})})),nm=[{value:"reaching_out_to_leads",label:"Reaching out to prospects",helper:"people who signed up on your site",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("circle",{cx:"9",cy:"8",r:"4"}),(0,eS.jsx)("path",{d:"M2 21c0-3.9 3.1-7 7-7 1.9 0 3.6.7 4.9 2"}),(0,eS.jsx)("path",{d:"m16 17 2 2 4-4"})]}))},{value:"ai_agents_automations_integrations",label:"Setting up AI agents & automation",helper:"agents who act on your behalf",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"}),(0,eS.jsx)("circle",{cx:"12",cy:"12",r:"2"})]}))},{value:"talking_to_existing_customers",label:"Supporting customers",helper:"people you've done business with",icon:nf},{value:"sending_broadcasts",label:"Sending mass broadcasts",helper:"people on your list who opted in",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"m3 11 18-8-8 18-2-8-8-2z"})}))},{value:"coordinating_with_team",label:"Coordinating with team & staff",helper:"employees and field workers",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("circle",{cx:"9",cy:"8",r:"3.5"}),(0,eS.jsx)("path",{d:"M2 20c0-3.3 3-6 7-6s7 2.7 7 6"}),(0,eS.jsx)("circle",{cx:"17",cy:"7",r:"2.5"}),(0,eS.jsx)("path",{d:"M22 17c0-2.5-2-4.5-4.5-4.5"})]}))},{value:"confirming_appointments",label:"Confirming appointments",helper:"people who scheduled with you",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),(0,eS.jsx)("path",{d:"M3 10h18M8 3v4M16 3v4M9 14l2 2 4-4"})]}))}],ng=[{value:"sms",label:"SMS / MMS",helper:"text messages and image/media",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M21 12a8 8 0 0 1-12.4 6.7L4 20l1.3-4.6A8 8 0 1 1 21 12z"})}))},{value:"rcs",label:"RCS",helper:"next-generation interactive SMS",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M21 12a8 8 0 0 1-12.4 6.7L4 20l1.3-4.6A8 8 0 1 1 21 12z"}),(0,eS.jsx)("circle",{cx:"9",cy:"12",r:"0.6",fill:"currentColor"}),(0,eS.jsx)("circle",{cx:"12",cy:"12",r:"0.6",fill:"currentColor"}),(0,eS.jsx)("circle",{cx:"15",cy:"12",r:"0.6",fill:"currentColor"})]}))},{value:"voice",label:"Voice",helper:"inbound and outbound calls",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.7.6 2.5a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2-.5c.8.3 1.6.5 2.5.6a2 2 0 0 1 1.7 2z"})}))},{value:"live_chat",label:"Live Chat / Website Widgets",helper:"via embeddable website widget",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M4 4h16v12H7l-3 3z"})}))},{value:"whatsapp",label:"WhatsApp",helper:"requires application with Meta",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M3 21l1.5-5A8.5 8.5 0 1 1 8 19.5L3 21z"}),(0,eS.jsx)("path",{d:"M9 9.5c.4 1.4 1.6 2.6 3 3l1-1.2c.3-.4.8-.5 1.2-.3l1.7.8c.3.2.5.5.4.9-.4 1.6-2 2.6-3.6 2.4-2.5-.4-4.5-2.4-4.9-4.9-.2-1.6.8-3.2 2.4-3.6.4-.1.7.1.9.4l.8 1.7c.2.4.1.9-.3 1.2L9.4 11"})]}))},{value:"email",label:"Email",helper:"not yet available, join the waitlist",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,eS.jsx)("path",{d:"m3 7 9 6 9-6"})]}))}],nb=[{value:"healthcare",label:"Healthcare",icon:nf},{value:"construction",label:"Construction",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M3 18h18v-2a8 8 0 0 0-3-6.2V8a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v1.8A8 8 0 0 0 3 16v2zM3 21h18"}),(0,eS.jsx)("path",{d:"M10 9.5V6h4v3.5"})]}))},{value:"education",label:"Education",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"m2 9 10-4 10 4-10 4-10-4z"}),(0,eS.jsx)("path",{d:"M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5M21 10v6"})]}))}
1,{value:"hospitality",label:"Hospitality",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M4 8h14v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V8z"}),(0,eS.jsx)("path",{d:"M18 9h2a2.5 2.5 0 0 1 0 5h-2M7 2v3M11 2v3M15 2v3"})]}))},{value:"retail",label:"Retail / e-commerce",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M3 4h2l2.7 11.4A2 2 0 0 0 9.6 17H19a2 2 0 0 0 1.9-1.5L22 8H6"}),(0,eS.jsx)("circle",{cx:"10",cy:"20",r:"1.5"}),(0,eS.jsx)("circle",{cx:"18",cy:"20",r:"1.5"})]}))},{value:"human_resources",label:"Human Resources",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("circle",{cx:"9",cy:"8",r:"4"}),(0,eS.jsx)("path",{d:"M2 21c0-3.9 3.1-7 7-7s7 3.1 7 7M19 8v6M16 11h6"})]}))},{value:"technology",label:"Technology",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("rect",{x:"3",y:"4",width:"18",height:"13",rx:"2"}),(0,eS.jsx)("path",{d:"M8 21h8M12 17v4"})]}))},{value:"legal",label:"Legal",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M12 3v18M3 21h18M6 7l-3 7h6zM18 7l-3 7h6zM12 3l-6 4M12 3l6 4"})}))},{value:"property_management",label:"Property management",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("rect",{x:"4",y:"3",width:"16",height:"18",rx:"1"}),(0,eS.jsx)("path",{d:"M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2M10 21v-3h4v3"})]}))},{value:"real_estate",label:"Real estate",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"m3 11 9-7 9 7v9a2 2 0 0 1-2 2h-4v-6h-6v6H5a2 2 0 0 1-2-2v-9z"})}))},{value:"professional_services",label:"Professional services",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("rect",{x:"3",y:"7",width:"18",height:"13",rx:"2"}),(0,eS.jsx)("path",{d:"M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 13h18"})]}))},{value:"home_services",label:"Home Services",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M14 6a4 4 0 0 1 5.5 5.5l-12 12L4 20l12-12A4 4 0 0 1 14 6z"})}))},{value:"financial",label:"Financial",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M12 3v18M16 7H10a2.5 2.5 0 0 0 0 5h4a2.5 2.5 0 0 1 0 5H8"})}))},{value:"insurance",label:"Insurance",icon:e=>(0,eS.jsx)(nx,nh(nh({},e),{},{children:(0,eS.jsx)("path",{d:"M12 3 4 6v6c0 5 3.5 8.5 8 9 4.5-.5 8-4 8-9V6l-8-3z"})}))},{value:"ngo_non_profit",label:"NGO / Non-profit",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,eS.jsx)("path",{d:"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"})]}))},{value:"automotive",label:"Automotive",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M3 13h18l-2-6H5l-2 6zM3 13v5h2M21 13v5h-2"}),(0,eS.jsx)("circle",{cx:"7",cy:"17",r:"2"}),(0,eS.jsx)("circle",{cx:"17",cy:"17",r:"2"})]}))},{value:"transportation",label:"Transportation",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("path",{d:"M3 6h12v10H3zM15 9h4l2 3v4h-6"}),(0,eS.jsx)("circle",{cx:"7",cy:"18",r:"2"}),(0,eS.jsx)("circle",{cx:"17",cy:"18",r:"2"})]}))},{value:"other",label:"Other",icon:e=>(0,eS.jsxs)(nx,nh(nh({},e),{},{children:[(0,eS.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,eS.jsx)("path",{d:"M12 11v6M12 7.5v.5"})]}))}],nv=()=>{var e,n;return null!=(n=null==(e=document.querySelector('meta[name="csrf-token"]'))?void 0:e.content)?n:""},ny=(r=(nd()).mark(function e(n,t){return nd().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(n,{method:"PATCH",keepalive:!0,credentials:"same-origin",headers:{"Content-Type":"application/json",Accept:"application/json","X-CSRF-Token":nv()},body:JSON.stringify(t)});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}},e,null,[[0,5]])}),o=function(){var e=this,n=arguments;return new Promise(function(t,o){var i=r.apply(e,n);function a(e){np(i,t,o,a,l,"next",e)}function l(e){np(i,t,o,a,l,"throw",e)}a(void 0)})},function(e,n){return o.apply(this,arguments)}),nj=function(e){var n,t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{null==(t=null==(n=window.mixpanel)?void 0:n.track)||t.call(n,e,r)}catch(e){}},nw=()=>
1(0,eS.jsx)(nE,{"aria-hidden":!0,children:(0,eS.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,eS.jsx)("path",{d:"m5 12 5 5L20 7"})})}),nk=e=>{var n=e.show,t=e.onClose,r=e.onSubmitted,o=(0,ez.useContext)(eY.P).subdomain,i=(0,ez.useContext)(eI.tY).phoneValid,a=(0,e$.wA)(),l=(0,ez.useCallback)(()=>{o&&a((0,no.zU)({subdomain:o}))},[a,o]),s=ns((0,ez.useState)(i?2:1),2),c=s[0],d=s[1],p=ns((0,ez.useState)(!1),2),u=p[0],h=p[1],x=i||u,f=(0,ez.useRef)(null),m=ns((0,ez.useState)([]),2),g=m[0],b=m[1],v=ns((0,ez.useState)([]),2),y=v[0],j=v[1],w=ns((0,ez.useState)(null),2),k=w[0],T=w[1],M=ns((0,ez.useState)(null),2),C=M[0],S=M[1],z=(0,ni.zC)({subdomain:o,onVerified:e=>{(null==e?void 0:e.selfTicketUuid)&&(null==e?void 0:e.subdomain)&&(f.current={uuid:e.selfTicketUuid,subdomain:e.subdomain}),nj("trial_phone_verification_completed",{subdomain:o}),h(!0),d(2)}});(0,ez.useEffect)(()=>{n&&nj("trial_modal_opened",{subdomain:o})},[n,o]);var O=(0,ez.useRef)(null),$=(0,ez.useRef)(null);(0,ez.useEffect)(()=>{var e,n;null==(e=O.current)||e.scrollTo({top:0,behavior:"auto"}),null==(n=$.current)||n.scrollTo({top:0,behavior:"auto"})},[c]);var _=(0,ez.useCallback)(e=>{ny("/v1/trial_survey",nh({subdomain:o},e))},[o]),L=(e,n)=>e.includes(n)?e.filter(e=>e!==n):[...e,n],N=(0,ez.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(nh({use_cases:g,channels:y,industry:k,number_type:C},e))},[_,g,y,k,C]),P=e=>{N({skipped_at:e,completion:e}),d({q1:3,q2:4}[e])},A=(0,ez.useCallback)(()=>{var e=f.current;return!!e&&(window.location.href="/accounts/".concat(e.subdomain,"/tickets/").concat(e.uuid),!0)},[]),E=(0,ez.useCallback)(()=>{N(nh({closed_at:{1:"phone",2:"q1",3:"q2",4:"q3"}[c]},u?{completion:"q3_plus_payoff"}:{})),l(),r(),t(),A()},[c,u,N,l,r,t,A]);(0,ez.useEffect)(()=>{if(n){var e=e=>{"Escape"===e.key&&E()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}},[n,E]);var G=e=>{N(nh(nh({},e?{skipped_at:e}:{}),{},{completion:"q3_plus_payoff"})),l(),r(),A()||t()},F=e=>{null==e||e.preventDefault(),z.phoneComplete&&!z.submitting&&(nj("trial_phone_verification_started",{subdomain:o}),z.sendCode())},B=e=>{null==e||e.preventDefault(),z.confirmCode()};return(0,eS.jsx)(eS.Fragment,{children:(0,eS.jsx)(nt.w,{hide:!n,width:"min(920px, 96vw)",height:"min(840px, calc(100vh - 220px))",overflow:"hidden",mobileFullscreen:!0,children:(0,eS.jsxs)(nT,{ref:O,children:[(0,eS.jsx)(nM,{children:(0,eS.jsxs)(nC,{children:[(0,eS.jsx)(nS,{$active:c>=1}),(0,eS.jsx)(nS,{$active:c>=2}),(0,eS.jsx)(nS,{$active:c>=3}),(0,eS.jsx)(nS,{$active:c>=4})]})}),2===c&&(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(nz,{children:"What will you use Avochato for?"}),(0,eS.jsx)(nO,{children:"Select all that apply so that we can tailor your inbox."}),(0,eS.jsx)(n$,{$twoCol:!0,ref:$,children:nm.map(e=>{var n=g.includes(e.value),t=e.icon;return(0,eS.jsxs)(n_,{$selected:n,onClick:()=>{var n;return n=e.value,void b(e=>{var t=L(e,n);return _({use_cases:t}),t})},type:"button",children:[(0,eS.jsx)(nL,{$selected:n,children:(0,eS.jsx)(t,{})}),(0,eS.jsxs)(nN,{children:[(0,eS.jsx)(nP,{children:e.label}),e.helper&&(0,eS.jsx)(nA,{children:e.helper})]}),n?(0,eS.jsx)(nw,{}):(0,eS.jsx)(nG,{"aria-hidden":!0})]},e.value)})}),(0,eS.jsxs)(nU,{children:[(0,eS.jsx)(nY,{type:"button",onClick:()=>P("q1"),children:"Skip"}),(0,eS.jsx)(nr.$,{theme:"cancel",size:"medium",type:"button",onClick:()=>d(1),children:"Back"}),(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",disabled:0===g.length,onClick:()=>{N({completion:"q1"}),d(3)},children:"Next"})]})]}),3===c&&(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(nz,{children:"Which channels do you want to use?"}),(0,eS.jsx)(nO,{children:"Select all that apply. Carrier approvals are required for SMS / MMS, RCS, and WhatsApp."}),(y.includes("sms")||y.includes("voice"))&&(0,eS.jsxs)(nV,{children:[(0,eS.jsx)(nq,{children:"Which number type fits your business?"}),(0,eS.jsx)(nW,{children:[{value:"10dlc",label:"Local Number (10DLC)",helper:"local area-code number (ex. 510-555-2222)"},{value:"tfn",label:"Toll-Free Number (TFN)",helper:"800-style number (ex. 887-555-2222)"},{value:"unsure",label:"Not sure yet",helper:"we'll help you pick after you upgrade"}].map(e=>(0,eS.jsxs)(nD,{type:"button",$selected:C===e.value,onClick:()=>{var n;S(n=e.value),_({number_type:n})},children:[(0,eS.jsx)(nR,{children:e.label}),(0,eS.jsx)(nH,{children:e.helper})]},e.value))})]}),(0,eS.jsx)(n$,{$twoCol:!0,ref:$,children:ng.map(e=>{var n=y.includes(e.value),t=e.icon;return(0,eS.jsxs)(n_,{$selected:n,onClick:()=>{var n;return n=e.value,void j(e=>{var t=L(e,n);return _({channels:t}),t})},type:"button",children:[(0,eS.jsx)(nL,{$selected:n,children:(0,eS.jsx)(t,{})}),(0,eS.jsxs)(nN,{children:[(0,eS.jsx)(nP,{children:e.label}),e.helper&&(0,eS.jsx)(nA,{children:e.helper})]}),n?(0,eS.jsx)(nw,{}):(0,eS.jsx)(nG,{"aria-hidden":!0})]},e.value)})}),(0,eS.jsxs)(nU,{children:[(0,eS.jsx)(nY,{type:"button",onClick:()=>P("q2"),children:"Skip"}),(0,eS.jsx)(nr.$,{theme:"cancel",size:"medium",type:"button",onClick:()=>d(2),children:"Back"}),(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",onClick:()=>{N({completion:"q2"}),d(4)},children:"Next"})]})]}),4===c&&(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(nz,{children:"What kind of business is this for?"}),(0,eS.jsx)(nO,{children:"Choose the industry that best describes your business."}),(0,eS.jsx)(n$,{$columns:!0,ref:$,children:nb.map(e=>{var n=k===e.value,t=e.icon;return(0,eS.jsxs)(nF,{$selected:n,onClick:()=>{var n;T(n=e.value),_({industry:n,completion:"q3"})},type:"button",children:[(0,eS.jsx)(nB,{$selected:n,children:(0,eS.jsx)(t,{size:18})}),(0,eS.jsx)(nI,{children:e.label})]},e.value)})}),(0,eS.jsxs)(nU,{children:[(0,eS.jsx)(nY,{type:"button",onClick:()=>G("q3"),children:"Skip"}),(0,eS.jsx)(nr.$,{theme:"cancel",size:"medium",type:"button",onClick:()=>d(3),children:"Back"}),(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",disabled:!k,onClick:()=>G(),children:"Done"})]})]}),1===c&&(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(nz,{children:"Welcome to Avochato! Verify your phone to start texting."}),(0,eS.jsx)(nO,{children:"Enter your mobile number and we'll text you a code. Once verified, you can text yourself up to your $5.00 trial credit."}),(0,eS.jsxs)(nJ,{children:[(0,eS.jsxs)(nX,{children:[(0,eS.jsxs)(n0,{children:[(0,eS.jsx)(nQ,{
1children:"$5"}),(0,eS.jsx)(n2,{children:"free credit"}),(0,eS.jsx)(n4,{children:"Yours the moment you verify."})]}),(0,eS.jsx)(n1,{"aria-hidden":!0}),(0,eS.jsxs)(n0,{children:[(0,eS.jsx)(nQ,{children:"$50"}),(0,eS.jsx)(n2,{children:"carrier registration, on us"}),(0,eS.jsx)(n4,{children:"Carriers require it before you can text customers. We file it for you."})]})]}),(0,eS.jsx)(nZ,{children:x?(0,eS.jsx)(nK,{children:"Phone verified. You're ready to start texting yourself."}):"phone"===z.stage?(0,eS.jsx)(n5,{onSubmit:F,children:(0,eS.jsxs)(n3,{children:[(0,eS.jsx)(n6,{htmlFor:"trial-survey-phone",children:"Mobile number"}),(0,eS.jsxs)(n7,{$valid:z.phoneComplete,children:[(0,eS.jsxs)(n9,{children:[(0,eS.jsx)(te,{"aria-hidden":!0,children:"🇺🇸"}),(0,eS.jsx)("span",{children:"+1"})]}),(0,eS.jsx)(tn,{id:"trial-survey-phone",type:"tel",inputMode:"tel",autoComplete:"tel-national",placeholder:"(555) 555-1234",value:(0,ni.bV)(z.phoneDigits),onChange:e=>z.setPhoneDigits(e.target.value),autoFocus:!0})]}),(0,eS.jsx)(tr,{children:"US and Canada mobile numbers only."}),(0,eS.jsxs)(to,{children:["By continuing you agree to receive texts from Avochato. Msg & data rates may apply. Msg frequency varies. Reply STOP to opt out, HELP for help."," ",(0,eS.jsxs)(ti,{children:[(0,eS.jsx)("a",{href:"/privacy",target:"_blank",rel:"noopener noreferrer",children:"Privacy"}),(0,eS.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,eS.jsx)("a",{href:"/terms",target:"_blank",rel:"noopener noreferrer",children:"Terms"})]})]}),z.error&&(0,eS.jsx)(ta,{children:z.error})]})}):(0,eS.jsx)(n5,{onSubmit:B,children:(0,eS.jsxs)(n3,{children:[(0,eS.jsxs)(n6,{htmlFor:"trial-survey-code",children:["Enter the 6-digit code sent to:",(0,eS.jsx)("br",{}),(0,eS.jsx)(n8,{children:z.phoneFormatted})]}),(0,eS.jsx)(tt,{id:"trial-survey-code",type:"tel",inputMode:"numeric",pattern:"[0-9]{6}",maxLength:6,autoComplete:"one-time-code",placeholder:"••••••",value:z.code,onChange:e=>z.setCode(e.target.value),autoFocus:!0}),(0,eS.jsx)(tr,{children:"Code expires in 10 minutes."}),z.error&&(0,eS.jsx)(ta,{children:z.error})]})})})]}),(0,eS.jsxs)(nU,{children:[!x&&(0,eS.jsx)(nY,{type:"button",onClick:()=>{N({skipped_at:"phone"}),nj("trial_phone_verification_skipped",{subdomain:o}),d(2)},children:"Skip for now"}),x&&(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",onClick:()=>d(2),children:"Continue"}),!x&&"phone"===z.stage&&(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",disabled:!z.phoneComplete||z.submitting,onClick:()=>F(),children:z.submitting?"Sending…":"Send code"}),!x&&"code"===z.stage&&(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(nr.$,{theme:"cancel",size:"medium",type:"button",onClick:z.useDifferentNumber,children:"Use a different number"}),(0,eS.jsx)(nr.$,{theme:"primary",size:"medium",type:"button",disabled:6!==z.code.length||z.submitting,onClick:()=>B(),children:z.submitting?"Verifying…":"Verify"})]})]})]})]})})})},nT=e_.default.div(f||(f=nl(["\n  background: ",";\n  border-radius: 8px;\n  width: 100%;\n  height: 100%;\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  font-family: Montserrat, sans-serif;\n\n  /*\n    Mobile-only: let the whole modal body scroll vertically and reserve\
1n    bottom space so scrolling content doesn't get permanently hidden\n    behind the fixed Actions footer (see Actions media block below).\n    The InteractiveModal also runs in fullscreen mode on mobile\n    (mobileFullscreen prop), so this Container fills the entire phone\n    viewport below the app header. Desktop layout is untouched.\n  */\n  @media (max-width: 640px) {\n    overflow-y: auto;\n    -webkit-overflow-scrolling: touch;\n    /*\n      Reserve scroll-bottom for the fixed Actions row + iOS home-bar\n      safe area + extra breathing room. ~110px = ~70px footer height\n      (14px*2 padding + ~44px button) + ~40px gap so the last option\n      card's bottom border is clearly visible above the footer shadow\n      when the user scrolls to the end of the list. The env() adds\n      extra room on iPhones whose home indicator overlaps the bottom.\n    */\n    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));\n  }\n"])),eZ.T.white),nM=e_.default.div(m||(m=nl(["\n  display: flex;\n  align-items: center;\n  margin-top: 28px;\n  margin-bottom: 15px;\n"]))),nC=e_.default.div(g||(g=nl(["\n  display: flex;\n  gap: 6px;\n  flex: 1;\n"]))),nS=e_.default.div(b||(b=nl(["\n  flex: 1;\n  height: 4px;\n  border-radius: 2px;\n  background: ",";\n"])),e=>e.$active?eZ.T.green:eZ.T.greyer),nz=e_.default.h2(v||(v=nl(["\n  font-size: 24px;\n  font-weight: 700;\n  color: ",";\n  margin-top: 0;\n  margin-bottom: 0;\n  line-height: 1.3;\n"])),eZ.T.darkGreen),nO=e_.default.p(y||(y=nl(["\n  font-size: 14px;\n  color: ",";\n  padding-top: 5px;\n  padding-bottom: 15px;\n  line-height: 1.5;\n"])),eZ.T.gray),n$=e_.default.div(j||(j=nl(["\n  display: ",";\n  flex-direction: column;\n  gap: 10px;\n  flex: 1;\n  min-height: 0;\n  overflow-y: auto;\n  align-content: center;\n  ","\n  ","\n\n  /*\n    Intermediate breakpoint (640px < viewport ≤ 820px): collapse the\n    2-column / 3-column option grids to a single column, but keep the\n    desktop scroll model (flex:1 + inner overflow). This catches the\n    awkward middle zone — small laptops, narrow Chrome windows, devtools\n    docked right — where each grid column gets too narrow for the icon\n    + label + helper to read cleanly without ugly wrapping.\n\n    Math (for $twoCol): column_width ≈ (min(920, 0.96 * vw) - 82) / 2.\n    Below ~835vw, columns drop under ~360px and the helper text starts\n    wrapping awkwardly under the label. 820px gives us a safe buffer\n    above that threshold.\n  */\n  @media (max-width: 820px) {\n    grid-template-columns: 1fr;\n    grid-template-rows: auto;\n    grid-auto-flow: row;\n  }\n\n  @media (max-width: 640px) {\n    /*\n      Mobile fixes (desktop unchanged):\n        - align-content: start replaces the desktop 'center' alignment.\n          When option text + helper text grow past the modal'
1s height\n          on phones, 'center' positions the overflow ABOVE the visible\n          top edge of the scroll area, which looks like the first card\n          \"leaks\" into the title row. Anchoring at start keeps cards\n          flush so anything off-screen is below the fold (where the\n          parent Container can scroll to it).\n        - Drop flex:1 + inner overflow on mobile so the parent Container\n          handles vertical scrolling instead. One scroll surface beats\n          two on touch screens.\n        - grid-template-* are already 1fr from the 820px rule above; no\n          need to repeat.\n    */\n    align-content: start;\n    flex: 0 0 auto;\n    min-height: auto;\n    overflow-y: visible;\n  }\n"])),e=>{var n=e.$columns,t=e.$twoCol;return n||t?"grid":"flex"},e=>e.$columns&&"\n    grid-template-columns: 1fr 1fr 1fr;\n    grid-template-rows: repeat(6, auto);\n    grid-auto-flow: column;\n    column-gap: 10px;\n    row-gap: 8px;\n  ",e=>e.$twoCol&&"\n    grid-template-columns: 1fr 1fr;\n    column-gap: 12px;\n    row-gap: 10px;\n  "),n_=e_.default.button(w||(w=nl(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: 12px;\n  padding: 10px 16px;\n  min-height: 60px;\n  border: 1.5px solid ",";\n  background: ",";\n  border-radius: 10px;\n  cursor: pointer;\n  text-align: left;\n  font-family: Montserrat, sans-serif;\n  color: ",";\n  transition: border-color 0.12s ease, background-color 0.12s ease;\n\n  &:hover {\n    border-color: ",";\n  }\n"])),e=>e.$selected?eZ.T.darkGreen:eZ.T.greyer,e=>e.$selected?eZ.T.lightGreen:eZ.T.white,eZ.T.textBlack,e=>e.$selected?eZ.T.darkGreen:eZ.T.steel),nL=e_.default.div(k||(k=nl(["\n  flex: 0 0 auto;\n  width: 38px;\n  height: 38px;\n  border-radius: 10px;\n  background: ",";\n  color: ",";\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: background-color 0.12s ease, color 0.12s ease;\n"])),e=>e.$selected?eZ.T.green:eZ.T.lightGreen,e=>e.$selected?eZ.T.white:eZ.T.darkGreen),nN=e_.default.div(T||(T=nl(["\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  min-width: 0;\n"]))),nP=e_.default.span(M||(M=nl(["\n  font-size: 16px;\n  font-weight: 700;\n  color: ",";\n"])),eZ.T.textBlack),nA=e_.default.span(C||(C=nl(["\n  font-size: 13px;\n  font-style: italic;\n  color: ",";\n  padding-top: 7px;\n"])),eZ.T.gray),nE=e_.default.div(S||(S=nl(["\n  flex: 0 0 auto;\n  width: 24px;\n  height: 24px;\n  border-radius: 50%;\n  background: ",";\n  color: ",";\n  display: flex;\n  align-items: center;\n  justify-content: center;\n"])),eZ.T.green,eZ.T.white),nG=e_.default.div(z||(z=nl(["\n  flex: 0 0 auto;\n  width: 24px;\n  height: 24px;\n  border-radius: 50%;\n  border: 1.5px solid ",";\n  background: ",";\n"])),eZ.T.greyer,eZ.T.white),nF=e_.default.button(O||(O=nl(["\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  /* Tightened from 12/14 to 8/12 so all 6 rows fit without an inner\n     scrollbar on a typical laptop viewport (≤900px). With 6 rows the\n     content area needs ~270px; previous padding was pushing it to ~310px\n     which clipped the last row. */\n  padding: 8px 12px;\n  border: 1.5px solid ",";\n  background: ",";\n  border-radius: 8px;\n  cursor: pointer;\n  text-align: left;\n  font-family: Montserrat, sans-serif;\n  color: ",";\n  transition: border-color 0.12s ease, background-color 0.12s ease;\n\n  &:hover {\n    border-color: ",";\n  }\n"])),e=>e.$selected?eZ.T.darkGreen:eZ.T.greyer,e=>e.$selected?eZ.T.lightGreen:eZ.T.white,eZ.T.textBlack,e=>e.$selected?eZ.T.darkGreen:eZ.T.steel),nB=e_.default.div($||($=nl(["\n  flex: 0 0 auto;\n  width: 24px;\n  height: 24px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: ",";\n"])),e=>e.$selected?eZ.T.darkGreen:eZ.T.steel),nI=e_.default.span(_||(_=nl(["\n  font-size: 13px;\n  font-weight: 600;\n  color: ",";\n  line-height: 1.2;\n"])),eZ.T.textBlack),nV=e_.default.div(L||(L=nl(["\n  /*\n    Sits above the channel grid (Step 2). margin-top separates from the\n    Step Description; margin-bottom separates from the Options grid\n    immediately below. Both gaps match the page rhythm.\n  */\n  margin-top: 4px;\n  margin-bottom: 14px;\n  padding: 12px 14px;\n  background: ",";\n  border-radius: 10px;\n"])),eZ.T.lightestGray),nq=e_.default.div(N||(N=nl(["\n  font-size: 14px;\n  font-weight: 700;\n  color: ",";\n  margin-bottom: 8px;\n"])),eZ.T.textBlack),nW=e_.default.div(P||(P=nl(['\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 8px;\n  /*\n    Match the Options breakpoint: collapse 3-col → 1-col at ≤820px so\n    "Local Number (10DLC)" and "Toll-Free Number (TFN)" labels + their\n    helper text don\'t wrap awkwardly in narrow columns on small laptops\n    / devtools-docked windows.\n  */\n  @media (max-width: 820px) { grid-template-columns: 1fr; }
1\n']))),nD=e_.default.button(A||(A=nl(["\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  gap: 2px;\n  padding: 8px 12px;\n  border: 1.5px solid ",";\n  background: ",";\n  border-radius: 8px;\n  cursor: pointer;\n  text-align: left;\n  font-family: Montserrat, sans-serif;\n  &:hover { border-color: ","; }\n"])),e=>e.$selected?eZ.T.darkGreen:eZ.T.greyer,e=>e.$selected?eZ.T.lightGreen:eZ.T.white,e=>e.$selected?eZ.T.darkGreen:eZ.T.steel),nR=e_.default.span(E||(E=nl(["\n  font-size: 16px;\n  font-weight: 700;\n  color: ",";\n"])),eZ.T.textBlack),nH=e_.default.span(G||(G=nl(["\n  font-size: 11px;\n  font-style: italic;\n  color: ",";\n  line-height: 1.3;\n"])),eZ.T.gray),nU=e_.default.div(F||(F=nl(['\n  display: flex;\n  justify-content: flex-end;\n  align-items: center;\n  gap: 10px;\n  margin-top: 28px;\n\n  /*\n    Mobile-only: pin the action row to the viewport bottom with\n    position: fixed so Next / Send code / Verify is reliably at the\n    bottom of the screen no matter how tall the step content grows.\n    The previous position:sticky approach floated mid-screen on steps 1 and\n    2 because nested overflow contexts (InteractiveModalInnerContainer\n    overflow:hidden + Container overflow-y:auto) confused sticky\'s\n    "nearest scroll ancestor" resolution. Fixed positioning sidesteps\n    that whole problem.\n\n    bottom uses env(safe-area-inset-bottom) so the bar clears the iOS\n    home-indicator. The opaque white background hides content that\n    scrolls beneath; the top border + soft upward drop-shadow are the\n    intentional "more content is scrolling under here" cue.\n\n    Desktop (>640px) is untouched: Actions stays a flex sibling of\n    Options inside Container with its natural flow position.\n  */\n  @media (max-width: 640px) {\n    position: fixed;\n    left: 0;\n    right: 0;\n    bottom: 0;\n    margin: 0;\n    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));\n    background: ',";\n    border-top: 1px solid ",";\n    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);\n    z-index: 5;\n  }\n"])),eZ.T.white,eZ.T.greyer),nY=e_.default.button(B||(B=nl(["\n  background: transparent;\n  border: none;\n  color: ",";\n  font-size: 13px;\n  font-family: Montserrat, sans-serif;\n  cursor: pointer;\n  margin-right: auto;\n  text-decoration: underline;\n  padding: 4px 0;\n  &:hover { color: ","; }\n"])),eZ.T.steel,eZ.T.darkGreen),nK=e_.default.div(I||(I=nl(["\n  background: ",";\n  color: ",";\n  border: 1px solid ",";\n  border-radius: 6px;\n  padding: 12px 16px;\n  font-size: 13px;\n  margin-bottom: 4px;\n"])),eZ.T.lightGreen,eZ.T.darkGreen,eZ.T.darkGreen),nJ=e_.default.div(V||(V=nl(["\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 20px;\n  align-items: stretch;\n  margin: 8px 0 0 0;\n\n  /*\n    Match the Options + NumberTypeRow breakpoint: collapse 2-col → 1-col\n    at ≤820px so the $5 callout and the phone verify form stack vertically\n    on small laptops / devtools-docked windows. Below ~820px the callout\n    and form get cramped side-by-side; stacking reads better.\n  */\n  @media (max-width: 820px) {\n    grid-template-columns: 1fr;\n  }\n"]))),nZ=e_.default.div(q||(q=nl(["\n  display: flex;\n  flex-direction: column;\n  justify-content: center;
1\n"]))),nX=e_.default.div(W||(W=nl(["\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  gap: 6px;\n  background: ",";\n  border-radius: 16px;\n  padding: 36px 40px;\n  min-height: 100%;\n\n  /*\n    Tighter on mobile so the $5 callout doesn't dominate the viewport and\n    push the TCPA disclosure below the fold. Combined with the smaller\n    typography and nowrap headline row below, the callout shrinks by\n    ~50px vertically — that's the room the disclosure block needs to\n    render fully above the sticky footer.\n  */\n  @media (max-width: 640px) {\n    padding: 14px 16px;\n    gap: 4px;\n  }\n"])),eZ.T.lightGreen),nQ=e_.default.span(D||(D=nl(["\n  flex: 0 0 auto;\n  font-size: 56px;\n  font-weight: 800;\n  color: ",";\n  line-height: 1;\n  letter-spacing: -1.5px;\n\n  @media (max-width: 640px) {\n    font-size: 36px;\n    letter-spacing: -0.8px;\n  }\n"])),eZ.T.darkGreen),n0=e_.default.div(R||(R=nl(["\n  display: flex;\n  flex-direction: column;\n  gap: 4px;\n"]))),n1=e_.default.div(H||(H=nl(["\n  border-top: 1px solid rgba(30, 112, 90, 0.25);\n  margin: 18px 0;\n\n  @media (max-width: 640px) {\n    margin: 10px 0;\n  }\n"]))),n2=e_.default.span(U||(U=nl(["\n  font-size: 22px;\n  font-weight: 700;\n  color: ",";\n  line-height: 1.1;\n\n  @media (max-width: 640px) {\n    font-size: 16px;\n    /* Let the headline absorb the remaining width if it wraps to two\n       short lines (e.g. accessibility text-zoom), rather than pushing\n       past the callout right edge. */\n    flex: 1 1 auto;\n    min-width: 0;\n  }\n"])),eZ.T.darkGreen),n4=e_.default.span(Y||(Y=nl(["\n  font-size: 15px;\n  color: ",";\n  line-height: 1.45;\n  opacity: 0.85;\n  margin-top: 4px;\n\n  @media (max-width: 640px) {\n    font-size: 13px;\n    line-height: 1.35;\n    margin-top: 2px;\n  }\n"])),eZ.T.darkGreen),n5=e_.default.form(K||(K=nl(["\n  display: flex;\n  flex-direction: column;\n  margin-top: 4px;\n"]))),n3=e_.default.div(J||(J=nl(["\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  max-width: 360px;\n  gap: 10px;\n"]))),n6=e_.default.label(Z||(Z=nl(["\n  font-size: 16px;\n  font-weight: 700;\n  color: ",";\n  margin-top: 8px;\n  margin-bottom: 6px;\n"])),eZ.T.textBlack),n8=e_.default.span(X||(X=nl(["\n  display: inline-block;\n  color: ",";\n  font-weight: 800;\n  /* Phone sits on its own line in the code-entry prompt, so it gets a\n     bit more visual weight — slightly bigger + a small top margin so\n     it doesn't crowd the line above. */\n  font-size: 17px;\n  margin-top: 4px;\n  letter-spacing: 0.2px;\n"])),eZ.T.darkGreen),n7=e_.default.div(Q||(Q=nl(["\n  display: flex;\n  align-items: stretch;\n  border: 1px solid ",";\n  border-radius: 6px;\n  overflow: hidden;\n  background: ",";\n  transition: border-color 0.15s ease, box-shadow 0.15s ease;\n\n  &:focus-within {\n    border-color: ",";\n    box-shadow: 0 0 0 2px rgba(30, 112, 90, 0.18);\n  }\n"])),e=>e.$valid?eZ.T.darkGreen:eZ.T.greyer,eZ.T.white,eZ.T.darkGreen),n9=e_.default.div(ee||(ee=nl(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  padding: 0 14px;\n  background: ",";\n  border-right: 1px solid ",";\n  font-size: 15px;\n  font-weight: 600;\n  color: ",";\n  font-family: Montserrat, sans-serif;\n  user-select: none;\n"])),eZ.T.lightestGray,eZ.T.greyer,eZ.T.textBlack),te=e_.default.span(en||(en=nl(["\n  font-size: 20px;\n  line-height: 1;\n  display: inline-block;\n"]))),tn=e_.default.input(et||(et=nl(["\n  flex: 1;\n  border: none;\n  outline: none;\n  padding: 12px 14px;\n  font-size: 16px;\n  font-family: Montserrat, sans-serif;\n  color: ",";\n  background: ",";\n\n  &::placeholder { color: ","; }\n"])),eZ.T.textBlack,eZ.T.white,eZ.T.steel),tt=e_.default.input(er||(er=nl(["\n  padding: 12px 16px;\n  border: 1px solid ",";\n  border-radius: 6px;\n  font-size: 22px;\n  letter-spacing: 8px;\n  text-align: center;\n  font-family: Montserrat, sans-serif;\n  color: ",";\n  background: ",";\n\n  &:focus {\n    border-color: ",";\n    box-shadow: 0 0 0 2px rgba(30, 112, 90, 0.18);\n    outline: none;\n  }\n\n  &::placeholder {\n    color: ",";\n    letter-spacing: 8px;\n  }\n"])),eZ.T.greyer,eZ.T.textBlack,eZ.T.white,eZ.T.darkGreen,eZ.T.greyer),tr=e_.default.span(eo||(eo=nl(["\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  font-size: 13px;\n  color: ",";\n  margin-top: 6px;\n  line-height: 1.4;\n"])),eZ.T.steel),to=e_.default.div(ei||(ei=nl(["\n  font-size: 11px;\n  line-height: 1.45;\n  color: ",";\n  margin-top: 10px;\n"])),eZ.T.steel),ti=e_.default.span(ea||(ea=nl(["\n  display: inline-block;\n  margin-top: 4px;\n\n  a {\n    color: ",";\n    text-decoration: underline;\n    &:hover { color: ","; }\n  }\n\n  span {\n    margin: 0 4px;\n    color: ",";\n  }\n"])),eZ.T.steel,eZ.T.darkGreen,eZ.T.greyer),ta=e_.default.div(el||(el=nl(["\n  background: ",";\n  color: ",";\n  padding: 10px 14px;\n  border-radius: 4px;\n  font-size: 13px;\n  margin-top: 6px;\n"])),eZ.T.errorRed,eZ.T.red),tl=t(9862);function ts(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function tc(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}
1finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return td(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return td(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function td(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var tp=(0,eN.hM)(()=>({width:"100%"}))(()=>ez.useContext(eI.tY).onboarding.length?(0,eS.jsx)(tu,{}):(0,eS.jsx)(eq.Inbox.WrappedComponent,{}),{rootContainerFlex:!0}),tu=()=>{var e,n=(0,eL.k)(e=>e<737,500),t=(0,e$.wA)(),r=tc(ez.useState(!1),2),o=r[0],i=r[1],a=tc(ez.useState(!1),2),l=a[0],s=a[1],c=ez.useContext(eI.tY),d=c.userId,p=c.onboarding,u=c.phoneValid,h=(0,ez.useContext)(eY.P),x=h&&(null==h?void 0:h.plan),f=x&&x.includes("trial"),m=tc(ez.useState(!!f&&(null!=(e=null==h?void 0:h.trialSurveyCompletion)?e:"none")!=="q3_plus_payoff"),2),g=m[0],b=m[1];(0,eO.O)({pageName:"Trial Onboarding"});var v=(0,e$.d4)(tl.jJ),y="tfn"===(0,e$.d4)(tl.vB);ez.useEffect(()=>{(null==h?void 0:h.subdomain)&&!v&&t((0,no.zU)({subdomain:h.subdomain}))},[t,null==h?void 0:h.subdomain,v]);var j=e=>{var n=(null==e?void 0:e.subdomain)||(null==h?void 0:h.subdomain);if(n){window.location.href=(0,ni.UF)(n,y);return}window.location.reload()},w=()=>i(!0),k=()=>i(!1),T=e=>{e.preventDefault(),k(),t((0,eP.L8)(d))},M=p.filter(e=>!(null==e?void 0:e.isSubItem)),C=p.filter(e=>null==e?void 0:e.isSubItem),S=M.filter(e=>e.complete).length,z=S===M.length,O="".concat(S," of ").concat(M.length," Completed"),$=M.map((e,n)=>{var r,o;return(0,eS.jsx)(eQ,{handleButtonClick:e=>{t((0,ne.Bg)(d,{stepName:e}))},onAction:e=>{"verify_phone"===e&&s(!0)},step:e,idx:n,primarySteps:M,subSteps:C},null!=(o=null!=(r=e.name)?r:e.title)?o:n)}),_=z?(0,eS.jsxs)(eA.zl,{id:"celebration-section",children:[(0,eS.jsx)(tM,{src:eF,alt:"celebration"}),(0,eS.jsx)(tT,{children:"Congrats!"}),(0,eS.jsx)("p",{children:"You’ve completed your setup. Now you're set."}),(0,eS.jsx)("button",{type:"button",className:"button bright-green auto-margin md",onClick:T,children:"End Setup"})]}):(0,eS.jsx)(eS.Fragment,{children:f?(0,eS.jsxs)(tC,{$isMobile:n,id:"trial-welcome",children:[(0,eS.jsx)(tz,{src:eE,alt:"trial welcome"}),(0,eS.jsxs)("div",{children:[(0,eS.jsx)(tS,{children:"Welcome to Avochato!"}),(0,eS.jsx)("p",{children:"Three quick steps and you are ready to text. We'll submit your carrier application for you, and most are approved within 1-3 business days."}),(0,eS.jsx)("p",{className:"orange bold-600",children:O})]})]}):(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsx)(tM,{src:eG,alt:"welcome"}),(0,eS.jsx)(tT,{children:"Welcome to Avochato!"}),(0,eS.jsx)("p",{children:"Let’s get you set up. Follow the steps below to get up and running."})]})});return(0,eS.jsxs)("div",{id:"onboarding",className:"avo-ui-3",children:[(0,eS.jsx)(eV.R,{showModal:o,handleHideModal:k,handleConfirm:T,header:"End Setup",question:"Are you sure you want to end setup mode?",content:"You can always open this back up in the support page.",cancelText:"Nevermind",confirmText:"End Setup"}),f&&(0,eS.jsx)(nk,{show:g,onClose:()=>b(!1),onSubmitted:()=>b(!1)}),(0,eS.jsxs)("div",{className:"trial-container",children:[(0,eS.jsx)("div",{className:f?"onboard-header":"welcome-header",children:_}),f&&!u&&(0,eS.jsxs)(eA.I1,{className:"ai-banner",id:"verify-phone-banner",children:[(0,eS.jsx)(tO,{$isMobile:n,src:eB,alt:"verify phone banner"}),(0,eS.jsx)(t$,{$isMobile:n,children:"Get Started"}),(0,eS.jsx)(t_,{$isMobile:n,children:"Verify your phone"}),(0,eS.jsx)(tL,{$isMobile:n,children:"We text you a 6-digit code."}),(0,eS.jsx)(th,{isMobile:n,subdomain:null==h?void 0:h.subdomain,onVerified:j})]}),(0,eS.jsx)(nn.b,{show:l,onClose:()=>s(!1),onVerified:j}),(0,eS.jsxs)(tk,{$isMobile:n,children:[$,!f&&(0,eS.jsx)("div",{className:"step-container-wrap flex-start",children:(0,eS.jsx)("div",{id:"end-setup-button",style:{cursor:"pointer"},role:"button",tabIndex:0,onKeyPress:w,onClick:z?T:w,children:(0,eS.jsx)("p",{className:"red bold-600",children:"End Setup"})})})]})]})]})},th=e=>{var n=e.isMobile,t=e.subdomain,r=e.onVerified,o=(0,ni.zC)({subdomain:t,onVerified:r});return(0,eS.jsxs)(tx,{$isMobile:n,onSubmit:e=>{e.preventDefault(),"phone"===o.stage?o.sendCode():o.confirmCode()},"data-testid":"banner-phone-form",children:[(0,eS.jsxs)(tf,{children:["phone"===o.stage?(0,eS.jsxs)(tm,{children:[(0,eS.jsx)(tg,{children:"+1"}),(0,eS.jsx)(tb,{type:"tel",inputMode:"tel",autoComplete:"tel-national","aria-label":"Mobile phone number",placeholder:"(555) 555-1234",value:(0,ni.bV)(o.phoneDigits),onChange:e=>o.setPhoneDigits(e.target.value)})]}):(0,eS.jsx)(tm,{children:(0,eS.jsx)(tb,{type:"tel",inputMode:"numeric",autoComplete:"one-time-code","aria-label":"Verification code",placeholder:"6-digit code",maxLength:6,value:o.code,onChange:e=>o.setCode(e.target.value),autoFocus:!0})}),(0,eS.jsx)(tv,{type:"submit",disabled:o.submitting||("phone"===o.stage?!o.phoneComplete:6!==o.code.length),children:"phone"===o.stage?o.submitting?"Sending...":"Send code":o.submitting?"Verifying...":"
1Verify"})]}),"code"===o.stage&&(0,eS.jsxs)(ty,{children:["Sent to ",o.phoneFormatted,"."," ",(0,eS.jsx)(tj,{type:"button",onClick:o.useDifferentNumber,children:"Use a different number"})]}),"phone"===o.stage&&(0,eS.jsxs)(ty,{children:["By continuing you agree to receive texts from Avochato. Msg & data rates may apply. Msg frequency varies. Reply STOP to opt out, HELP for help."," ",(0,eS.jsx)("a",{href:"/privacy",target:"_blank",rel:"noopener noreferrer",children:"Privacy"})," · ",(0,eS.jsx)("a",{href:"/terms",target:"_blank",rel:"noopener noreferrer",children:"Terms"})]}),o.error&&(0,eS.jsx)(tw,{children:o.error})]})},tx=e_.default.form(es||(es=ts(["\n  position: relative;\n  left: 290px;\n  bottom: 220px;\n  width: 420px;\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  ","\n"])),e=>e.$isMobile&&"\n    width: 55%;\n    left: 37%;\n    bottom: 185px;\n  "),tf=e_.default.div(ec||(ec=ts(["\n  display: flex;\n  gap: 8px;\n"]))),tm=e_.default.div(ed||(ed=ts(["\n  display: flex;\n  flex: 1;\n  min-width: 0;\n  background: ",";\n  border-radius: 999px;\n  overflow: hidden;\n"])),eZ.T.white),tg=e_.default.span(ep||(ep=ts(["\n  display: flex;\n  align-items: center;\n  padding: 0 10px 0 16px;\n  font-weight: 700;\n  color: ",";\n  border-right: 1px solid ",";\n"])),eZ.T.black,eZ.T.darkGold),tb=e_.default.input(eu||(eu=ts(["\n  flex: 1;\n  min-width: 0;\n  border: none;\n  outline: none;\n  padding: 10px 14px;\n  font-size: 15px;\n  font-family: Montserrat, sans-serif;\n  color: ",";\n  &::placeholder { color: ","; opacity: 0.6; }\n"])),eZ.T.black,eZ.T.secondaryGray),tv=e_.default.button(eh||(eh=ts(["\n  padding: 0 20px;\n  border: none;\n  border-radius: 999px;\n  background: ",";\n  color: ",";\n  font-size: 14px;\n  font-weight: 800;\n  font-family: Montserrat, sans-serif;\n  cursor: pointer;\n  white-space: nowrap;\n  &:disabled { opacity: 0.6; cursor: not-allowed; }\n"])),eZ.T.gold,eZ.T.black),ty=e_.default.p(ex||(ex=ts(["\n  font-size: 11px !important;\n  line-height: 1.4 !important;\n  color: rgba(255, 255, 255, 0.8);\n  margin: 0 !important;\n  a { color: ","; text-decoration: underline; }\n"])),eZ.T.white),tj=e_.default.button(ef||(ef=ts(["\n  background: none;\n  border: none;\n  padding: 0;\n  color: ",";\n  text-decoration: underline;\n  font-size: 11px;\n  font-family: Montserrat, sans-serif;\n  cursor: pointer;\n"])),eZ.T.white),tw=e_.default.p(em||(em=ts(["\n  background: rgba(255, 255, 255, 0.92);\n  color: ",";\n  padding: 6px 12px;\n  border-radius: 8px;\n  font-size: 12px !important;\n  margin: 0 !important;\n  width: fit-content;\n"])),eZ.T.red),tk=(0,e_.default)(eA.so)(eg||(eg=ts(["\n  padding: 20px;\n  flex-direction: column;\n  border-radius: 20px;\n  background: ",";\n  height: fit-content;\n  flex-wrap: wrap;\n  margin: 30px auto;\n  width: 800px;\n  max-width: 95%;\n  align-items: center;\n  ","\n"])),eZ.T.white,e=>e.$isMobile&&"\n    margin-bottom: 0;\n    padding: 0 0 20px 0;\n    flex-direction: row;\n    border-radius: 0;\n  "),tT=e_.default.h1(eb||(eb=ts(["\n  text-align: center;\n  font-size: 24px;\n"]))),tM=e_.default.img(ev||(ev=ts(["\n  max-width: 200px;\n"]))),tC=(0,e_.default)(eA.so)(ey||(ey=ts(["\n  flex-direction: ",";\n"])),e=>e.$isMobile?"column":"row"),tS=e_.default.h1(ej||(ej=ts(["\n  text-align: left;\n  font-size: 42px !important;\n  padding: 0 15px;\n"]))),tz=e_.default.img(ew||(ew=ts(["\n  margin: auto;\n  max-width: 150px;\n"]))),tO=e_.default.img(ek||(ek=ts(["\n  display: flex;\n  height: 270px !important;\n  min-height: ",";\n"])),e=>e.$isMobile?"220px":"270px"),t$=e_.default.p(eT||(eT=ts(["\n  position: relative;\n  max-width: 300px;\n  left: 290px;\n  bottom: 220px;\n  color: ",";\n  letter-spacing: 3.96px !important;\n  text-transform: uppercase;\n  font-size: 18px !important;\n  font-weight: 800 !important;\n  ","\n"])),eZ.T.mildYellow,e=>e.$isMobile&&"\n    max-width: 55%;\n    left: 37%;\n    bottom: 165px;\n    font-size: 10px !important;\n  "),t_=e_.default.h2(eM||(eM=ts(["\n  position: relative;\n  max-width: 400px;\n  left: 290px;\n  bottom: 220px;\n  color: ",";\n  font-size: 34px !important;\n  line-height: 48px;\n  ","\n"])),eZ.T.white,e=>e.$isMobile&&"\n    max-width: 55%;\n    left: 37%;\n    bottom: 175px;\n    font-size: 16px !important;\n  "),tL=e_.default.p(eC||(eC=ts(["\n  position: relative;\n  left: 290px;\n  bottom: 220px;\n  width: 420px;\n  margin-bottom: 4px !important;\n  color: ",";\n  font-size: 14px !important;\n  font-weight: 500 !important;\n  line-height: 24px;\n  ","\n"])),eZ.T.white,e=>e.$isMobile&&"\n    width: 55%;\n    left: 37%;\n    bottom: 185px;\n    font-size: 10px !important;\n    line-height: 12px;\n  ")},93049:function(e,n,t){var r=t(74848),o=t(28242),i=e=>{var n=e.handleHideModal,t=e.showModal,i=e.singleButton,a=void 0!==i&&i,l=e.handleConfirm,s=e.header,c=e.question,d=e.content,p=e.cancelText,u=e.confirmText;
1return(0,r.jsxs)(o.w,{hide:!t,children:[(0,r.jsxs)(o.w.Content,{children:[(0,r.jsx)("h2",{children:s}),(0,r.jsx)("br",{}),(0,r.jsxs)("p",{children:[c,(0,r.jsx)("br",{}),d]})]}),(0,r.jsxs)(o.w.ButtonContainer,{$justifyCenter:a,children:[!a&&(0,r.jsx)(o.w.PaleGreenButton,{onClick:n,children:void 0===p?"":p}),(0,r.jsx)(o.w.GreenButton,{onClick:l,children:void 0===u?"Confirm":u})]})]})};t.d(n,{R:function(){return i}})},50462:function(e,n,t){var r=t(96540),o=t(98532),i=t(77973),a=t(79396),l=function(e){var n=e.pageName,t=e.path,l=void 0===t?null:t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=(0,r.useContext)(i.tY).userId,d=(0,r.useContext)(a.D0).subdomain;(0,r.useEffect)(()=>{o.j.track("Page View",{"User Id":c,"Page Name":n,Path:l,"Account Subdomain":d})},[n,l,d,c,...s])};t.d(n,{O:function(){return l}})},87315:function(e,n,t){var r=t(96540),o=t(5556),i=t.n(o);function a(){return(a=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var l=(0,r.forwardRef)(function(e,n){var t=e.color,o=e.size,i=void 0===o?24:o,l=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],!(n.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["color","size"]);return r.createElement("svg",a({ref:n,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:void 0===t?"currentColor":t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),r.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),r.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}))});l.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},l.displayName="Lock",n.A=l},28615:function(e,n,t){e.exports=t.p+"static/checkmark-4ae475b8ecf0f946.svg"}}]);
2//# sourceMappingURL=2153-539f7a5e75057484.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.