PageSourceSearch

https://www.tabacariatrevo.com.br/_next/static/chunks/164-d0a34a4f1c1ba3d0.js

js tabacariatrevo.com.br collected 2026-09-29 01:32:04 UTC 16,469 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{95224:function(e,n,t){"use strict";var r,o=t(67294);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(null,arguments)}n.Z=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:12,height:11},e),r||(r=o.createElement("path",{"data-name":"Caminho 1651",d:"M12 5.5a.768.768 0 01-.75.786H2.562l3.22 3.372a.813.813 0 010 1.112.727.727 0 01-1.062 0L.22 6.057a.812.812 0 010-1.112L4.72.232a.727.727 0 011.062 0 .813.813 0 010 1.112l-3.22 3.372h8.689A.768.768 0 0112 5.5z",fill:"currentColor",fillRule:"evenodd"})))}},44650:function(e,n,t){"use strict";var r,o=t(67294);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(null,arguments)}n.Z=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:6.674,height:11.673},e),r||(r=o.createElement("path",{d:"M4.663 5.834L.245 1.421a.831.831 0 010-1.178.841.841 0 011.182 0l5 5a.833.833 0 01.024 1.15l-5.025 5.036a.834.834 0 01-1.182-1.178z",fill:"#4e4d4d"})))}},61830:function(e,n,t){"use strict";var r,o=t(67294);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(null,arguments)}n.Z=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:17.816,height:11.878},e),r||(r=o.createElement("path",{"data-name":"Icon awesome-eye",d:"M17.709 5.487A9.921 9.921 0 008.908 0a9.922 9.922 0 00-8.8 5.488 1 1 0 000 .9 9.921 9.921 0 008.8 5.487 9.922 9.922 0 008.8-5.488 1 1 0 00.001-.9zm-8.8 4.906a4.454 4.454 0 114.454-4.454 4.454 4.454 0 01-4.455 4.454zm0-7.424a2.948 2.948 0 00-.783.117 1.48 1.48 0 01-2.07 2.07 2.963 2.963 0 102.852-2.187z"})))}},17338:function(e,n,t){"use strict";var r,o=t(67294);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(null,arguments)}n.Z=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:18.816,height:15.053},e),r||(r=o.createElement("path",{"data-name":"Icon awesome-eye-slash",d:"M9.408 11.76a4.218 4.218 0 01-4.2-3.913L2.123 5.463A9.8 9.8 0 001.043 7.1a.951.951 0 000 .858 9.43 9.43 0 008.365 5.216 9.132 9.132 0 002.29-.308l-1.526-1.18a4.237 4.237 0 01-.764.077zm9.226 1.708l-3.25-2.512a9.739 9.739 0 002.389-3 .951.951 0 000-.858 9.43 9.43 0 00-8.365-5.217A9.06 9.06 0 005.077 2.99L1.337.1a.47.47 0 00-.66.083L.1.925a.47.47 0 00.083.66l17.3 13.369a.47.47 0 00.66-.083l.577-.743a.47.47 0 00-.083-.66zm-5.4-4.175L12.078 8.4a2.786 2.786 0 00-3.414-3.585 1.4 1.4 0 01.274.829 1.371 1.371 0 01-.045.294L6.728 4.266a4.184 4.184 0 012.68-.973 4.231 4.231 0 014.234 4.234 4.133 4.133 0 01-.409 1.767z",fill:"rgba(0,0,0,0.5)"})))}},44631:function(e,n,t){"use strict";var r,o,l=t(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(null,arguments)}n.Z=function(e){return l.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:14.157,height:13.535},e),r||(r=l.createElement("defs",null,l.createElement("style",null,".feather-edit_svg__a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.4px}"))),o||(o=l.createElement("path",{className:"feather-edit_svg__a",d:"M7.079 12.835h6.379M10.268 1.14a1.503 1.503 0 012.126 2.126l-8.859 8.86-2.835.709L1.409 10z"})))}},76552:function(e,n,t){"use strict";var r,o,l=t(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(null,arguments)}n.Z=function(e){return l.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:39,height:39},e),r||(r=l.createElement("g",{strokeWidth:2,fill:"#fff",stroke:"currentColor"},l.createElement("rect",{width:39,height:39,rx:19.5,stroke:"none"}),l.createElement("rect",{x:1,y:1,width:37,height:37,rx:18.5,fill:"none"}))),o||(o=l.createElement("path",{d:"M11.723 19.384l5.463 5.463 9.97-9.97",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",strokeWidth:2})))}},68819:function(e,n,t){"use strict";t.d(n,{k:function(){return v}});var r=t(26042),o=t(99534),l=t(85893),a=t(93967),i=t.n(a),c=t(57398),u=t.n(c),s=t(97087),d=function(e){return(0,l.jsxs)("div",{className:u().checkbox,children:[(0,l.jsx)("input",{checked:e.checked,onChange:function(n){return e.onChange(n.target.checked)},type:"checkbox"}),(0,l.jsx)("span",{className:u().checkbox__checkmark,children:(0,l.jsx)(s.Z,{})})]})},f=t(68897),h=t.n(f),v=function(e){var n=e.label,t=e.className,a=(0,o.Z)(e,["label","className"]);return(0,l.jsx)("div",{className:i()(h()["checkbox-label"],t),children:(0,l.jsxs)("label",{className:h()["checkbox-label__label"],children:[(0,l.jsx)(d,(0,r.Z)({},a)),(0,l.jsx)("span",{children:n})]})})}},68349:function(e,n,t){"use strict";t.d(n,{e:function(){return d}});
1var r=t(26042),o=t(69396),l=t(85893),a=t(44458),i=t(70299),c=t(32545),u=t(67294),s=t(44737),d=function(e){var n=(0,a.useSiteContext)().site.configs.store.allowedCustomerGender,t=(0,u.useMemo)((function(){var e=[{value:c.VX.MALE,label:c.dn.MALE},{value:c.VX.FEMALE,label:c.dn.FEMALE}];return n===i.N.ALL?e.concat([{value:c.VX.OTHER,label:c.dn.OTHER},{value:c.VX.NOT_INFORM,label:c.dn.NOT_INFORM}]):e}),[n]);return n===i.N.NOT_DISPLAY?null:(0,l.jsx)(s.P,(0,o.Z)((0,r.Z)({},e),{id:"gender",placeholder:"G\xeanero",options:t,value:t.find((function(n){var t;return n.value===(e.value||(null===(t=e.controller)||void 0===t?void 0:t.field.value))})),onChange:function(n){var t,r;null===(t=e.onChange)||void 0===t||t.call(e,null===n||void 0===n?void 0:n.value),null===(r=e.controller)||void 0===r||r.field.onChange(null===n||void 0===n?void 0:n.value)},controller:e.controller}))}},44737:function(e,n,t){"use strict";t.d(n,{P:function(){return v}});var r=t(26042),o=t(69396),l=t(85893),a=t(67294),i=t(45350),c=t(19154),u=t(76905),s=t(48091),d=t(2053),f=t(43383),h=t.n(f),v=function(e){var n,t,f,v,p,g,b,m,x,_=(0,s.c)().showErrorMessage,k=(0,d.t)().formActions;(0,a.useEffect)((function(){return function(){e.id&&k.resetFieldError(e.id)}}),[]);var w=(0,a.useMemo)((function(){var n,t;return e.showValid&&(null===(n=e.controller)||void 0===n?void 0:n.fieldState.isDirty)&&!(null===(t=e.controller)||void 0===t?void 0:t.fieldState.invalid)}),[e.showValid,null===(n=e.controller)||void 0===n?void 0:n.fieldState]),C=(0,a.useMemo)((function(){var n,t;return w?"#4eb65a":e.id&&(_(e.id)||(null===(t=null===(n=e.controller)||void 0===n?void 0:n.fieldState.error)||void 0===t?void 0:t.message))?"#e60014":e.value?"#8A8A8A":e.borderColor||"#d5d5d5"}),[w,e.id,e.controller,e.borderColor]),E=(0,a.useCallback)((function(n){return(0,l.jsxs)(l.Fragment,{children:[!!n.selectProps.value&&(0,l.jsx)("label",{className:h().select__title,children:e.placeholder}),(0,l.jsx)(i.c.Control,(0,r.Z)({},n))]})}),[e]);return(0,l.jsxs)("div",{className:h().select,children:[(0,l.jsx)(c.ZP,(0,o.Z)((0,r.Z)({},e),{instanceId:e.id,styles:{control:function(n,t){var l,a;return(0,o.Z)((0,r.Z)({},n),{height:"47px",paddingLeft:"10px",fontSize:"14px",borderColor:C,outline:"unset !important",outlineColor:"#F00",boxShadow:"unset","&:hover":e.id&&(_(e.id)||(null===(a=null===(l=e.controller)||void 0===l?void 0:l.fieldState.error)||void 0===a?void 0:a.message)||e.customError)?"#e60014":e.borderColor||"#d5d5d5"})},dropdownIndicator:function(e,n){return(0,o.Z)((0,r.Z)({},e),{color:"#3C3C3C",right:0,top:"10%"})},valueContainer:function(e,n){return(0,o.Z)((0,r.Z)({},e),{paddingTop:n.selectProps.value?"15px":"initial"})},placeholder:function(n,t){return(0,o.Z)((0,r.Z)({},n),{color:e.id&&_(e.id)?"#e6001450":"#3c3c3c50"})}},classNamePrefix:"Select",options:e.options,value:e.value||(null===(t=e.controller)||void 0===t?void 0:t.field.value)||null,onChange:e.onChange||(null===(f=e.controller)||void 0===f?void 0:f.field.onChange),placeholder:"".concat(e.placeholder).concat(e.isRequired?" *":""),components:{IndicatorSeparator:null,Control:E}})),w&&(0,l.jsx)("div",{className:h()["select__valid-icon"],children:(0,l.jsx)(u.Z,{color:"#26A534"})}),!e.isDisabled&&(e.id&&_(e.id)||(null===(p=null===(v=e.controller)||void 0===v?void 0:v.fieldState.error)||void 0===p?void 0:p.message)||(null===(g=e.customError)||void 0===g?void 0:g.message))&&(0,l.jsx)("span",{className:h()["select__error-message"],children:e.id&&_(e.id)||(null===(m=null===(b=e.controller)||void 0===b?void 0:b.fieldState.error)||void 0===m?void 0:m.message)||(null===(x=e.customError)||void 0===x?void 0:x.message)})]})}},64440:function(e,n,t){"use strict";var r=t(67294),o=t(42443);n.Z=function(){var e=window.innerWidth,n=(0,r.useMemo)((function(){return e<=767?o.o.MOBILE:e<=1024?o.o.TABLET:o.o.DESKTOP}),[e]),t=(0,r.useMemo)((function(){return[o.o.MOBILE,o.o.TABLET].includes(n)}),[n,o.o]);return{deviceType:n,isMobileOrTablet:t}}},64196:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(47568),o=t(34051),l=t.n(o),a=t(85893),i=t(67294),c=t(87536),u=t(16829),s=t(29815),d=u.Z.div({display:"flex",gap:"10px",justifyContent:"center",width:"100%"}),f=u.Z.div((function(e){var n=e.$error;e.$disabled;return{textAlign:"center",borderRadius:"6px",border:"1px solid ".concat(n?"#f44336":"#DFDFDF"),height:"47px",width:"38px",backgroundColor:"#FFFFFF",display:"flex",alignItems:"center",justifyContent:"center"}})),h=u.Z.input({border:"none",outline:"none",width:"100%",textAlign:"center",fontSize:"14px",backgroundColor:"transparent",caretColor:"black"}),v=(0,i.forwardRef)((function(e,n){var t=e.onKeyDown,r=e.onChange,o=e.disabled,l=e.error,c=(0,i.useState)(Array(6).fill("")),u=c[0],v=c[1],p=(0,i.useRef)(null),g=(0,i.useCallback)((function(e){var n,t,r=null===(t=null===(n=p.current)||void 0===n?void 0:n.querySelectorAll("input"))||void 0===t?void 0:t[e];null===r||void 0===r||r.focus(),null===r||void 0===r||r.setSelectionRange(r.value.length,r.value.length)}),[]),b=(0,i.useCallback)((function(e,n){for(var t=arguments.length,o=new Array(t>2?t-2:0),l=2;l<t;l++)o[l-2]=arguments[l];var a,i=(0,s.Z)(u);(a=i).splice.apply(a,[n,o.length].concat((0,s.Z)(o))),null===r||void 0===r||r(e,i),v(i)}),[u,r]),m=(0,i.useCallback)((function(e){return g(e+1)}),[g]),x=(0,i.useCallback)((function(e){return g(e-1)}),[g]);return(0,i.useEffect)((function(){u.length>6&&v((function(e){return e.slice(0,6)}))}),[u]),(0,i.useImperativeHandle)(n,(function(){return{focus:function(){g(0)},getValue:function(){return u.join("")}}}),[g,u]),(0,a.jsx)(d,{ref:p,children:u.map((function(e,n){return(0,a.jsx)(f,{onClick:function(e){if(!o){var n=e.currentTarget.querySelector("input");null===n||void 0===n||n.focus()}},$error:l,$disabled:o,children:(0,a.jsx)(h,{type:"text",disabled:o,value:e,placeholder:"_",inputMode:"numeric",pattern:"[0-9]*","aria-label":"D\xedgito ".concat(n+1),onKeyDown:t,onKeyUp:function(t){switch(t.key){case"Home":g(0);break;case"End":g(5);break;case"ArrowRight":m(n);break;case"ArrowLeft":x(n);break;case"Backspace":e?b(t,n,""):(b(t,n-1,""),x(n));break;case"Delete":b(t,n,""),m(n)}},onChange:function(t){var r=t.currentTarget.value,o=r.replace(/\D/g,"").slice(Number(!!e));r&&!/^\d+$/g.test(r)||(1!==o.length&&o?(o=o.slice(0,u.length-n),b.apply(void 0,[t,n].concat((0,s.Z)(o.split("")))),g(n+o.length)):(b(t,n,o),o&&m(n)))}})},n)}))})})),p=u.Z.div({display:"flex",flexDirection:"column",alignItems:"center",gap:"20px",width:"100%"}),g=u.Z.button({width:"278px",height:"41px",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"#fff",border:"1px solid #000000",color:"#000000",borderRadius:"3px",cursor:"pointer",transition:"0.2s",fontSize:"13px","&:disabled":{cursor:"not-allowed",opacity:.6,border:"1.5px solid #DFDFDF",color:"#8A8A8A"}}),b=u.Z.p({color:"#FF3358",margin:0,fontSize:"12px"});function m(e){var n=e.onSubmit,t=e.resendCode,o=(0,c.cI)({defaultValues:{code:Array(6).fill("")}}),u=o.control,s=o.handleSubmit,d=o.reset,f=o.setError,h=(0,i.useRef)(null),m=(0,i.useState)(60),x=m[0],_=m[1],k=(0,i.useState)(!1),w=k[0],C=k[1];(0,i.useEffect)((function(){if(!(x<=0)){var e=setInterval((function(){_((function(e){return e-1}))}),1e3);return function(){return clearInterval(e)}}}),[x]);var E=function(){var e=(0,r.Z)(l().mark((function e(t){var r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(6===(r=t.code.join("")).length&&!w){e.next=3;break}return e.abrupt("return");case 3:return C(!0),e.prev=4,e.next=7,n({code:r});case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(4),f("code",{type:"manual",message:"C\xf3digo inv\xe1lido. Tente novamente."});case 12:return e.prev=12,C(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[4,9,12,15]])})));return function(n){return e.apply(this,arguments)}}();return(0,a.jsxs)(p,{children:[(0,a.jsx)(c.Qr,{name:"code",control:u,rules:{validate:function(e){return 6===e.join("").length||"C\xf3digo incompleto"}},render:function(e){var n=e.field,t=n.onChange,r=(n.value,e.fieldState.error);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{ref:h,onChange:function(e,n){t(n),6===n.join("").length&&s(E)()},error:!!r}),r&&(0,a.jsx)(b,{children:r.message})]})}}),(0,a.jsx)(g,{type:"button",disabled:x>0,onClick:function(){var e;_(60),d(),C(!1),t(),null===(e=h.current)||void 0===e||e.focus()},children:x>0?"REENVIAR C\xd3DIGO ".concat(x.toString().padStart(2,"0")):"REENVIAR C\xd3DIGO"})]})}},99221:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(26042),o=t(85893);function l(e){return(0,o.jsx)("div",(0,r.Z)({},e))}},62515:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(26042),o=t(85893),l=(0,t(16829).Z)("div",{label:"CardRoot"})({width:"100%",background:"#fff",display:"flex",flexDirection:"column",borderRadius:"3px"});function a(e){return(0,o.jsx)(l,(0,r.Z)({},e))}},42443:function(e,n,t){"use strict";var r;t.d(n,{o:function(){return r}}),function(e){e.MOBILE="MOBILE",e.TABLET="TABLET",e.DESKTOP="DESKTOP"}(r||(r={}))},42681:function(e,n,t){"use strict";t.d(n,{V:function(){return r}});var r=function(e){switch(e){case"cep":return{transform:function(e){return e.replace(/\D+/g,"").replace(/^(\d{5})(\d{1,3})/,"$1-$2")},validate:function(e){return!!e.match(/^\d{5}-?\d{3}$/g)}};case"cpf":return{transform:function(e){return e.replace(/\D+/g,"").replace(/^(\d{3})(\d{1,3})(\d{0,3})(\d{0,2})/,(function(e,n,t,r,o){return n+"."+t+(r&&"."+r||"")+(o&&"-"+o||"")}))},validate:function(e){return!!e.match(/^\d{3}\.?\d{3}\.?\d{3}-?\d{2}$/g)}};case"cnpj":return{transform:function(e){return e.replace(/\D+/g,"").replace(/^(\d{2})(\d{1,3})(\d{0,3})(\d{0,4})(\d{0,2})/,(function(e,n,t,r,o,l){return n+"."+t+(r&&"."+r||"")+(o&&"/"+o||"")+(l&&"-"+l||"")}))},validate:function(e){return!!e.match(/^\d{2}.?\d{3}.?\d{3}\/?\d{4}-?\d{2}$/g)}};case"phone":return{transform:function(e){return 11===e.length?e.replace(/^(\d\d)(\d{5})(\d{4}).*/,"($1) $2-$3"):e.replace(/^(\d\d)(\d{4})(\d{4}).*/,"($1) $2-$3")},validate:function(e){return!!e.match(/^(\d{2}|\(\d{2}\))\s*(\d{9}|(\d{4}|\d{5})-?\d{4})$/g)}};case"email":return{validate:function(e){return!!e.match(/^([^.\s](\.[^.\s]+)*)+@[^.\s]+\.\S+$/g)}}}}},57398:function(e){e.exports={checkbox:"Checkbox_checkbox__xRftJ",checkbox__checkmark:"Checkbox_checkbox__checkmark__ztl1c",pulse:"Checkbox_pulse__LKg_J","image-pulse":"Checkbox_image-pulse__GkvTn",shine:"Checkbox_shine__5Yutl"}}
1,68897:function(e){e.exports={"checkbox-label":"CheckboxLabel_checkbox-label__ywE28","checkbox-label__label":"CheckboxLabel_checkbox-label__label__JhD3P",pulse:"CheckboxLabel_pulse__Lgv4W","image-pulse":"CheckboxLabel_image-pulse__sBez2",shine:"CheckboxLabel_shine__HXAM0"}},43383:function(e){e.exports={select:"Select_select__3i0vX",select__title:"Select_select__title__61s5G","select__error-message":"Select_select__error-message__a9VO8","select__valid-icon":"Select_select__valid-icon__dtRL8",pulse:"Select_pulse__33Iou","image-pulse":"Select_image-pulse__G_JL6",shine:"Select_shine___rh4r"}}}]);

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.