PageSourceSearch

https://www.invisalign.no/_next/static/chunks/6668.236c161f408a3654.js

js invisalign.no collected 2026-10-01 01:28:26 UTC 11,548 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6668],{36668:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return P}});var a=r(85893),n=r(67294),i=r(21608),o=r(76097),s=r(50286),l=r(86202),c=r(93652),u=r(79730),d=r(62335),m=r(44700),h=r(26826),p=r.n(h),_=(0,l.ss)(p()),v=function(e){var t=e.buttonArray,r=e.heading,n=e.size,i=e.error;return(0,a.jsxs)("div",{className:_("root"),children:[(0,a.jsx)("h2",{className:_("title"),dangerouslySetInnerHTML:{__html:r}}),(0,a.jsx)("div",{className:_("buttons-container"),children:t.map((function(t){var r,o,s;return(0,a.jsxs)("div",{className:_("radio-buttons"),children:[(0,a.jsx)("input",{type:"radio",value:t.value,checked:e.size===t.value,onChange:e.onClickHandler,className:_("hide"),id:t.event}),(0,a.jsx)("div",{className:_("get-start revert"),children:(0,a.jsxs)("a",{className:_({"button-error":i,"button-active":n===t.value}),title:t.title,"data-telium-event":t.event,children:[!!(null===(r=t.image)||void 0===r?void 0:r.url)&&(0,a.jsx)("img",{alt:"button",src:null===(o=t.image)||void 0===o?void 0:o.url}),(0,a.jsx)("label",{className:_({imaged:!!(null===(s=t.image)||void 0===s?void 0:s.url)}),htmlFor:t.event,"data-telium-event":t.event,dangerouslySetInnerHTML:{__html:t.label}})]})})]},t.value)}))})]})},f=r(53785),g=r(16214),b=r.n(g);function y(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){k(e,t,r[t])}))}return e}function w(e,t){return!t||"object"!==q(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}var q=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function N(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=S(e);if(t){var n=S(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return w(this,r)}}var x=(0,l.ss)(b()),O=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(p,e);var t,r,o,h=N(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=h.call(this,e)).onFormSubmit=function(e){var r=e.optin,a=r?"opt-in":"opt-out";if("CA"==e.country_code&&(1==r?(c.Z.gtmTrackNA("vivera_rcform_optin"),c.Z.gtmTrackNA("rcform_submit_event_optin_true")):c.Z.gtmTrackNA("rcform_submit_event_optin_false")),c.Z.gtmTrackNA("vivera_retainers_candidate_completed",void 0,{i_have_had:t.state.que1,user_category:t.state.que0,time_since_completed_treatment:t.state.que2,contact_consent:a}),0==t.state.que0.length||0==t.state.que1.length||0==t.state.que2.length)t.formCentered("start"),t.queErrorHandler();else{if(t.context.pageProps.localeId){var n=t.context.pageProps.localeId.split("-");n[0]&&t.setState({language:n[0]})}t.setState({firstName:e.firstName,formStatus:"requested"});var i=t.props.item.fields.contents,o=void 0===i?[]:i,l=o.length&&o[0].fields.custom||{},u=l.dobUtility,d=(l.OptionalDOB,l.hideDOBField,l.inputFieldEvents);u.dobPlaceholder&&u.dobPlaceholder;e.viveraOrthoHistory=t.state.que1,e.ageGroup=t.state.que0,e.viveraTimeSinceTreatment=t.state.que2,e.language=t.state.language,void 0!=window.dataLayer&&(e.optin?c.Z.gtmTrackNA((null===d||void 0===d?void 0:d.rcSubmitOptinTrue)?d.rcSubmitOptinTrue:"scform_submit_event_optin_true"):c.Z.gtmTrackNA((null===d||void 0===d?void 0:d.rcSubmitOptinFalse)?d.rcSubmitOptinFalse:"scform_submit_event_optin_false")),t.formCentered("center"),(0,s.NK)(e,"Vivera (Consumer)","rcForm",void 0,{pageProps:t.context.pageProps,cookieValue:{firstName:e.firstName,zip:e.zip}}).then((function(){"US"==e.country_code&&(!0===e.optin&&(window.optimizely=window.optimizely||[],window.optimizely.push({type:"event",eventName:"Vivera_AmIaCandidate_Form_Optins",tags:{revenue:0,value:0}})),window.optimizely=window.optimizely||[],window.optimizely.push({type:"event",eventName:"Vivera_AmIaCandidate_Form_Submits",tags:{revenue:0,value:0}})),t.setState({formStatus:"thankyou"})})).catch((function(e){console.log(e),t.setState({formStatus:"error"})}))}},t.queErrorHandler=function(){t.setState({que0Error:!t.state.que0.length,que1Error:!t.state.que1.length,que2Error:!t.state.que2.length})},t.que0HandleChange=function(e){t.setState({que0:e.target.value,que0Error:!1})},t.que1HandleChange=function(e){t.setState({que1:e.target.value,que1Error:!1})},t.que2HandleChange=function(e){t.setState({que2:e.target.value,que2Error:!1})},t.formCentered=function(e){var t=document.getElementById("RCform");null===t||void 0===t||t.scrollIntoView({behavior:"smooth",block:e})},t.handleRCFormZipChange=function(e){t.setState({rcFormZip:e})},t.state={currentStep:0,firstName:"",lastName:"",age:"",ageGroup:"",email:"",phone:"",zip:"",mobileWidth:!1,isPatient:"",aligner_number:"",doctorsaddress:"",doctorsname:"",alignerinvalidModal:!1,que0:"",que0Error:!1,que1:"",que1Error:!1,que2:"",que2Error:!1,formStatus:"new",language:"",rcFormZip:""},t}return t=p,(r=[{key:"componentDidMount",value:function(){var e=this.context.pageProps,t=(e.localeId,e&&u.Z.getCookie("submitted_form_".concat(d.Z.createIdFromLocaleAndSlug(e)))),r=t?JSON.parse(t):void 0;r&&this.setState({firstName:r.firstName,rcFormZip:r.zip,formStatus:"thankyou"})}},{key:"render",value:function(){var e,t=this.props.item,r=t.fields,o=(r.caption,r.content),s=void 0===o?"":o,c=r.contents,u=void 0===c?[]:c,d=r.custom,h=void 0===d?{}:d,p=u.length&&u[0].fields.custom||{};p.forSmileCheck=!0,p.queErrorHandler=this.queErrorHandler,p.ageValidationMessage=h.ageValidationMessage;var _={doclocUrl:h.doclocUrl,addColon:!1,hide_header_take_sa:!0,hide_fad_label:!0,custom_go:!0,custom_go_label:"Go",search_type:"A teen"===this.state.ageGroup?"teen":"adult",custom_zip:this.state.rcFormZip,useLocation:!0,useLocationLabel:"Use your location",fadGoEvent:"vivera_thankyou_go_button_leads_to_fad",customFadPosition:"inline",theme:"orange"},g={className:l.ZP.getEntryClassesStrFromModuleCss(t,b(),"root")},y=h.labelSmileCheckQuestion1,k=h.smileCheckQuestion1,S=h.labelSmileCheckQuestion2,w=h.smileCheckQuestion2,j=h.additional_language,q=h.step0;return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("div",{className:x("root"),dangerouslySetInnerHTML:{__html:s}}),(0,a.jsx)("div",C({},g,{children:(0,a.jsx)("div",{id:"RCform",className:x("rc-background-image-wrapper"),children:(0,a.jsxs)(i.Z,{className:x("rc-container"),children:["new"===this.state.formStatus&&(0,a.jsxs)(a.Fragment,{children:[q&&(0,a.jsx)("div",{className:x("step-wrapper","step-wrapper1"),children:(0,a.jsx)(v,{buttonArray:null===q||void 0===q?void 0:q.ageGroupButtons,heading:null===q||void 0===q?void 0:q.heading,onClickHandler:this.que0HandleChange,size:this.state.que0,error:this.state.que0Error})}),(0,a.jsx)("div",{className:x("step-wrapper","step-wrapper1"),children:(0,a.jsx)(v,{buttonArray:k,heading:y,onClickHandler:this.que1HandleChange,size:this.state.que1,error:this.state.que1Error})}),(0,a.jsx)("div",{className:x("step-wrapper","step-wrapper1"),children:(0,a.jsx)(v,{buttonArray:w,heading:S,onClickHandler:this.que2HandleChange,size:this.state.que2,error:this.state.que2Error})}),(0,a.jsx)("div",{className:x("step-wrapper","step-wrapper2"),children:(0,a.jsx)(m.Z,C({onSubmit:this.onFormSubmit,handleRCFormZipChange:this.handleRCFormZipChange},this.state,p,{isPatient:"not a invisalign patient"}))})]}),"requested"===this.state.formStatus&&(0,a.jsx)("div",{className:x("step-wrapper","step-wrapper2","loading-platform"),children:(0,a.jsx)("div",{className:x("loader-screen"),children:(0,a.jsx)("img",{alt:"loader-screen",src:"https://d2i6vk5bmh3r0a.cloudfront.net/invisalign_next/loader_n.gif",style:{width:60}})})}),"thankyou"===this.state.formStatus&&(0,a.jsxs)("div",{className:x("step-wrapper","step-wrapper5","thankyouWrapper"),children:[(0,a.jsxs)("h3",{className:x("result-label"),children:[null===j||void 0===j?void 0:j.sc_heading_inverted,this.state.firstName,null===j||void 0===j?void 0:j.sc_heading]}),(0,a.jsx)("h2",{className:x("ty-sub-heading"),dangerouslySetInnerHTML:{__html:null===j||void 0===j?void 0:j.sc_subheading1}}),(0,a.jsx)("p",{className:x("ty-sub-heading2"),dangerouslySetInnerHTML:{__html:null===j||void 0===j?void 0:j.sc_subheading2}}),(0,a.jsx)("br",{}),(0,a.jsx)("p",{className:x("ty-sub-heading2"),dangerouslySetInnerHTML:{__html:null===j||void 0===j?void 0:j.sc_subheading3}}),(0,a.jsx)("div",{className:x("get-start")}),(0,a.jsx)("div",{className:x("vivera-thanks-fad-btn"),children:_&&0!==Object.keys(_).length&&(0,a.jsx)(f.Z,C({},null===(e=this.props.pageContext)||void 0===e?void 0:e.pageProps,{customFadParam:_}))})]}),"error"===this.state.formStatus&&(0,a.jsx)("div",{className:x("step-wrapper"),children:(0,a.jsx)("h2",{className:x("form-error"),children:(null===j||void 0===j?void 0:j.errorText)?null===j||void 0===j?void 0:j.errorText:"Something went wrong! Please try again later..."})})]})})}))]})}}])&&y(t.prototype,r),o&&y(t,o),p}(n.Component);O.contextType=o.Z;var P=O},16214:function(e){e.exports={root:"SmileCheck_root__jyMzO","rc-background-image-wrapper":"SmileCheck_rc-background-image-wrapper__29hOo","rc-container":"SmileCheck_rc-container__sGcrD","step-wrapper":"SmileCheck_step-wrapper__Gd6IT","get-start":"SmileCheck_get-start__W_uOq","step-wrapper1":"SmileCheck_step-wrapper1__yNfcP","form-group":"SmileCheck_form-group__Gfokb","smile-check-info":"SmileCheck_smile-check-info__im_UB","smile-check-label":"SmileCheck_smile-check-label__Dkb_k","smile-check-required":"SmileCheck_smile-check-required__dEAb0","smile-check-required-label":"SmileCheck_smile-check-required-label__X_o1p",thankyouWrapper:"SmileCheck_thankyouWrapper__QTors","result-label":"SmileCheck_result-label__yw1ju","ty-sub-heading":"SmileCheck_ty-sub-heading__57Gqr","ty-sub-heading2":"SmileCheck_ty-sub-heading2__0uzQh","button-active":"SmileCheck_button-active__9NdZ6","vivera-thanks-fad-btn":"SmileCheck_vivera-thanks-fad-btn__mMDp4","loading-platform":"SmileCheck_loading-platform__gP9aC"}},26826:function(e){e.exports={root:"SmileCheckRadio_root__W84Hr",title:"SmileCheckRadio_title___y8cr","buttons-container":"SmileCheckRadio_buttons-container__Pi3kc","radio-buttons":"SmileCheckRadio_radio-buttons__Q
1hDZe",hide:"SmileCheckRadio_hide__5PcrX","get-start":"SmileCheckRadio_get-start__V2TPz","button-active":"SmileCheckRadio_button-active__tVlBi",imaged:"SmileCheckRadio_imaged__4RLP6","button-error":"SmileCheckRadio_button-error__hhNSO"}}}]);

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.