1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8881],{93009:function(e,o,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/base/inputs/select",function(){return a(89754)}])},89754:function(e,o,a){"use strict";a.r(o),a.d(o,{__N_SSG:function(){return r}});var n=a(26042),l=a(69396),i=a(10253),s=a(29815),t=a(85893),u=(a(67294),a(62132));var r=!0;o.default=function(e){var o=!1;return(0,t.jsxs)(u.KR.Container,{children:[(0,t.jsx)("button",{className:"mdn-Button",onClick:function(){var e;o=!o,null===window||void 0===window||null===(e=window.MondrianReact)||void 0===e||e.setTheme(o?"contrast":"")},children:"Alto contraste"}),(0,t.jsxs)("form",{id:"formulario",onSubmit:function(e){e.preventDefault();var o=new FormData(e.target),a={},n=!0,l=!1,t=void 0;try{for(var u,r=Array.from(o.entries())[Symbol.iterator]();!(n=(u=r.next()).done);n=!0){var c=(0,i.Z)(u.value,2),m=c[0],v=c[1];a[m]?"object"===typeof a[m]?a[m]=(0,s.Z)(a[m]).concat([v]):a[m]=[a[m],v]:a[m]=v}}catch(p){l=!0,t=p}finally{try{n||null==r.return||r.return()}finally{if(l)throw t}}console.log(a)},children:[(0,t.jsx)(u.KR.Select,{native:!0,label:"Selecione a fabricante",placeholder:"Selecione um",id:"fabricante",selectProps:{onChange:function(e){console.log(e)}},options:[{name:"Samsung",value:"samsung"},{name:"Apple",value:"apple"},{name:"Motorolla",value:"motorolla"}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{native:!0,label:"Escolha um modelo",placeholder:"Selecione abaixo...",id:"modelo",options:[{label:"Samsung",options:[{name:"Samsung S22",value:"samsung-s22"},{name:"Samsung S23",value:"samsung-s23"},{name:"Samsung S24",value:"samsung-s24"}]},{label:"Apple",options:[{name:"iPhone 13 ",value:"iphone-13"},{name:"iPhone 13 Pro",value:"iphone-13-pro"},{name:"iPhone 13 Pro Max",value:"iphone-13-pro-max"}]},{label:"Motorolla",options:[{name:"Moto G",value:"moto-g"},{name:"Moto Z",value:"moto-z"},{name:"Moto Z Play",value:"moto-z-play"}]}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{native:!0,label:"Tipo do plano",placeholder:"Selecione abaixo...",id:"tipoPlano",selectProps:{onChange:function(e){console.log(e)}},optionRender:function(e){var o=e.name,a=e.value;return(0,t.jsxs)("option",{value:a,style:{color:"red"},children:[o," ."]},a)},options:[{name:"Pr\xe9-pago",value:"pre-pago"}
1,{name:"P\xf3s-pago",value:"pos-pago"},{name:"Controle",value:"controle"}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{native:!0,label:"Servi\xe7os Adicionais",id:"servicos",selectProps:{onChange:function(e){console.log(e.target.selectedOptions)}},options:[{name:"Nenhum",value:""},{name:"Antivirus",value:"antivirus"},{name:"Seguro",value:"seguro"},{name:"Passaporte",value:"passaporte"}],multiselect:!0}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{native:!0,label:"Escolha um hor\xe1rio para a instala\xe7\xe3o",multiselect:!0,id:"horaInstalacao",options:[{label:"",options:[{name:"Selecione",value:""}]},{label:"Per\xedodo da manh\xe3",options:[{name:"8:00 \xe0s 9:00",value:"8h00-9h00"},{name:"9:00 \xe0s 10:00",value:"9h00-10h00"},{name:"10:00 \xe0s 11:00",value:"10h00-11h00"}]},{label:"Per\xedodo da Tarde",options:[{name:"13:00 \xe0s 14:00",value:"13h00-14h00"},{name:"14:00 \xe0s 15:00",value:"14h00-15h00"},{name:"15:00 \xe0s 16:00",value:"15h00-16h00"}]},{label:"Per\xedodo da Noite",options:[{name:"18:00 \xe0s 19:00",value:"18h00-19h00"},{name:"19:00 \xe0s 20:00",value:"19h00-20h00"},{name:"20:00 \xe0s 21:00",value:"20h00-21h00"}]}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Title,{title:"CUSTOM selects"}),(0,t.jsx)(u.KR.Select,{label:"Plano de TV",placeholder:"Selecione um",id:"planoTV",selectProps:{onChange:function(e){console.log(e)}},options:[{name:"Canais Bas\xedcos",value:"basico"},{name:"Canais B\xe1sicos + HD",value:"basico-hd"},{name:"Canais Premium + 4K",value:"premium-4k"}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{label:"Telefone Fixo",placeholder:"Selecione um",id:"telefoneFixo",selectProps:{onChange:function(e){console.log(e)}},optionRender:function(e){return(0,t.jsxs)("span",(0,l.Z)((0,n.Z)({className:"cms-test mdn-Input-select--custom-option","data-value":null===e||void 0===e?void 0:e.value},e),{style:{color:"red"},children:[null===e||void 0===e?void 0:e.name,(null===e||void 0===e?void 0:e.icon)&&(0,t.jsx)("img",{src:"https://mondrian.claro.com.br/icons/icons/".concat(e.icon,".svg"),alt:e.icon})]}))},options:[{name:"Telefone Fixo B\xe1sico",value:"telefonefixo-basico",icon:"whatsapp"},{name:"Telefone Fixo Brasil",value:"telefonefixo-brasil",icon:"telefone"},{name:"Telefone Fixo Mundo",value:"telefonefixo-mundo",icon:"mundo"}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)(u.KR.Select,{placeholder:"Plano de Internet",label:"Escolha um plano",id:"planoInternet",selectProps:{onChange:function(e){console.log(e)}},options:[{label:"300 Mega",options:[{name:"300 Mega + Netflix",value:"300-mega-netflix"},{name:"300 Mega + GloboPlay",value:"300-mega-globoPlay"},{name:"300 Mega + Disney+",value:"300-mega-disneyplus"}]},{label:"500 Mega",options:[{name:"500 Mega + Netflix",value:"500-mega-netflix"},{name:"500 Mega + GloboPlay",value:"500-mega-globoPlay"},{name:"500 Mega + Disney+",value:"500-mega-disneyplus"}]},{label:"1 Giga",options:[{name:"1 Giga + Netflix",value:"1-giga-netflix"},{name:"1 Giga + GloboPlay",value:"1-giga-globoPlay"},{name:"1 Giga + Disney+",value:"1-giga-disneyplus"}]}]}),(0,t.jsx)(u.TY.Divider,{}),(0,t.jsx)("button",{type:"submit",className:"mdn-Button",children:"enviar"})]})]})}}},function(e){e.O(0,[9774,2888,179],(function(){return o=93009,e(e.s=o);var o}));var o=e.O();_N_E=o}]);
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.