1(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{166:function(t,e,s){"use strict";var a=s(668),i=s(3),r=s(626),n=s(670),o=s(692),l=s(662),c=function(){var t=this,e=t._self._c;return e(r.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(a.a,{staticClass:"check-your-email"},[e(i.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/email_psi.svg"}})],1)])],1),t._v(" "),e(i.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",{staticClass:"verify-title"},[t._v("\n "+t._s(t.title)+"\n ")])])],1),t._v(" "),e(i.b,[e(l.a,{staticClass:"text-center"},[t._v("\n "+t._s(t.info)+"\n ")])],1),t._v(" "),t.emailWasResent?e(i.c,[e(l.a,{staticClass:"text-center",attrs:{"justify-center":""}},[t.canResendEmailAgain?e("div",[e("a",{on:{click:t.resendEmail}},[t._v("Resend")])]):e("countdown",{attrs:{time:t.delay},on:{end:function(e){t.canResendEmailAgain=!0}},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n Resend\n "+t._s("0".concat(e.minutes).slice(-2))+":"+t._s("0".concat(e.seconds).slice(-2))+"\n sec\n ")]}}],null,!1,1313919118)})],1)],1):t._e(),t._v(" "),e(n.a,{staticClass:"mt-7 ma-auto mb-10",attrs:{width:"160"}}),t._v(" "),e(i.c,[e(l.a,{staticClass:"text-center",attrs:{"justify-center":""}},[t.emailWasResent?e("div",[t._v("\n Still did not receive the email? Check your spam filter or contact\n "),e("a",{attrs:{href:"mailto:[email protected]?subject=Can't receive email after registration"}},[t._v("\n [email protected]\n ")])]):e("div",[t._v("\n Did not receive the email? Check your spam filter or\n "),e("a",{on:{mousedown:t.resendEmail}},[t._v("Resend")])])])],1)],1)],1)],1)};c._vuetifyStyles=function(t){0};var d={name:"EmailSender",props:{title:{type:String,required:!0},info:{type:String,required:!0},delay:{type:Number,default:9e4}},data:()=>({emailWasResent:!1,canResendEmailAgain:!1}),methods:{resendEmail(){this.emailWasResent=!0,this.canResendEmailAgain=!1,this.$emit("resend")}}},u=s(10),p=Object(u.a)(d,c,[],!1,null,null,null);e.a=p.exports},260:function(t,e,s){var a=s(415);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("663fa2a8",a,!0,{manualInject:!0,sourceMap:!1})},261:function(t,e,s){var a=s(417);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("e8c6e7d0",a,!0,{manualInject:!0,sourceMap:!1})},262:function(t,e,s){var a=s(423);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("93c4541e",a,!0,{manualInject:!0,sourceMap:!1})},263:function(t,e,s){var a=s(425);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("474d7946",a,!0,{manualInject:!0,sourceMap:!1})},334:function(t,e,s){var a=s(597);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("642cdd0e",a,!0,{manualInject:!0,sourceMap:!1})},335:function(t,e,s){var a=s(599);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("55ce8b1a",a,!0,{manualInject:!0,sourceMap:!1})},336:function(t,e,s){var a=s(601);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("285564cc",a,!0,{manualInject:!0,sourceMap:!1})},337:function(t,e,s){var a=s(603);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("46d1f20a",a,!0,{manualInject:!0,sourceMap:!1})},339:function(t,e,s){var a=s(605);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("1d24deda",a,!0,{manualInject:!0,sourceMap:!1})},340:function(t,e,s){var a=s(607);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("7adf1ddd",a,!0,{manualInject:!0,sourceMap:!1})},341:function(t,e,s){var a=s(609);
1a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("278b7456",a,!0,{manualInject:!0,sourceMap:!1})},342:function(t,e,s){var a=s(611);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("20d7ee16",a,!0,{manualInject:!0,sourceMap:!1})},343:function(t,e,s){var a=s(613);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(21).default)("50c12bc4",a,!0,{manualInject:!0,sourceMap:!1})},360:function(t,e,s){"use strict";var a=s(629),i=function(){var t=this._self._c;return t(a.a,{staticClass:"blank-layout"},[t("nuxt")],1)};i._vuetifyStyles=function(t){0};var r=s(209),n={created(){console.log("Application info: ",{version:r.version})}},o=(s(422),s(10)),l=Object(o.a)(n,i,[],!1,null,"48711a4b",null);e.a=l.exports},361:function(t,e,s){"use strict";var a=s(629),i=function(){var t=this._self._c;return t(a.a,{staticClass:"login-layout",attrs:{id:"appLogin",light:""}},[t("nuxt")],1)};i._vuetifyStyles=function(t){0};var{version:r}=s(209),n={auth:"guest",theme:{dark:!1},created(){console.log("Application info: ",{version:r})}},o=(s(424),s(10)),l=Object(o.a)(n,i,[],!1,null,null,null);e.a=l.exports},362:function(t,e,s){"use strict";var a={name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((()=>this.startTimer()),this.throttle):this.startTimer(),this},set(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get(){return this.percent},increase(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),setTimeout((()=>{this.show=!1,this.$nextTick((()=>{this.percent=0,this.reversed=!1}))}),500),this},fail(t){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100||this.percent<=0)&&(this.skipTimerCount=1,this.reversed=!this.reversed))}),100)}},render(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}},i=(s(416),s(10)),r=Object(i.a)(a,undefined,undefined,!1,null,null,null);e.a=r.exports},363:function(t,e,s){"use strict";var a=s(10),i=Object(a.a)({},(function(){return(0,this._self._c)("Nuxt")}),[],!1,null,null,null);e.a=i.exports},414:function(t,e,s){"use strict";s(260)},415:function(t,e,s){var a=s(20)(!1);a.push([t.i,".error-code[data-v-97f144fc]{font-size:21.875rem;line-height:21.875rem}",""]),t.exports=a},416:function(t,e,s){"use strict";s(261)},417:function(t,e,s){var a=s(20)(!1);a.push([t.i,".nuxt-progress{position:fixed;top:0;left:0;right:0;height:2px;width:0;opacity:1;transition:width .1s,opacity .4s;background-color:#fff;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}",""]),t.exports=a},422:function(t,e,s){"use strict";s(262)},423:function(t,e,s){var a=s(20)(!1);a.push([t.i,".v-application.blank-layout[data-v-48711a4b]{background-image:url(/pattern/pattern_background_login_new.jpeg);background-size:cover;background-position:50% 100%;background-repeat:no-repeat}",""]),t.exports=a},424:function(t,e,s){"use strict";s(263)},425:function(t,e,s){var a=s(20)(!1);a.push([t.i,".login-layout .logo{height:40px;width:100%}",""]),t.exports=a},596:function(t,e,s){"use strict";s(334)},597:function(t,e,s){var a=s(20)(!1);a.push([t.i,".verify-title[data-v-f15f6f1a]{font-size:24px;margin:40px auto 32px}",""]),t.exports=a},598:function(t,e,s){"use strict";s(335)},599:function(t,e,s){var a=s(20)(!1);a.push([t.i,".logo .v-image__image{width:100%;background-size:contain;background-position:50%!important}",""]),t.exports=a},600:function(t,e,s){"use strict";s(336)},601:function(t,e,s){var a=s(20)(!1);a.push([t.i,".confirmation-card .logo{height:38px;width:257px}.confirmation-card .logo .v-image__image{background-size:contain!important}.v-card.v-sheet.confirmation-card{max-width:440px;min-width:440px;padding:48px 60px 35px;border-radius:2px}.confirmation-card.v-card.v-sheet.v-sheet.v-card:not(.v-sheet--outlined){box-shadow:0 0 120px 20px rgba(0,0,0,.05)}.confirmation-card .v-card__title{padding:0;margin:0 auto 20px;font-size:16px;text-align:center}.confirmation-card .v-card__subtitle{padding:0;margin:0 auto 30px;text-align:center;font-size:16px}.confirmation-card .v-card__text{padding:0;color:#757575;text-align:center;font-size:16px;font-weight:700;margin:0 0 10px}.confirmation-card a{color:#325a7f;text-decoration:underline}.confirmation-card a:hover{text-decoration:none}.confirmation-card.v-card.v-sheet .theme--light.v-btn:not(.v-btn--round).v-size--default{min-width:100px!important}.confirmation-card.v-card.v-sheet .theme--light.v-btn:not(.v-btn--round).primary{box-shadow:none;font-size:14px;color:#1d1d1b;background-color:#dabd00!important}.confirmation-card.v-card.v-sheet .theme--light.v-btn.v-btn--disabled.v-btn--has-bg{background-color:#e0e0e0!important;color:#757575!important;text-transform:uppercase!important;font-size:16px!important;height:52px!important;font-weight:500;border-radius:2px}
1.form-action{display:flex;justify-content:space-around}",""]),t.exports=a},602:function(t,e,s){"use strict";s(337)},603:function(t,e,s){var a=s(20)(!1);a.push([t.i,".autofill-fix.v-text-field.v-input .v-label{transform:translateY(-16px) scale(.75)}.v-text-field .v-label{top:inherit!important}.v-card.v-sheet.login-card .forgot-password-text{font-style:normal;font-weight:400;font-size:12px;line-height:16px;text-align:right;letter-spacing:.4px;margin:0 0 65px}.v-card.v-sheet.login-card .forgot-password-text a{text-decoration:none}.v-card.v-sheet.login-card .forgot-password-text a:hover{text-decoration:underline}.v-card.v-sheet.login-card .alert-verification-letter{background:rgba(50,90,127,.05);border-radius:2px;margin:32px 0 0;font-size:12px;line-height:16px;padding:16px 32px 16px 16px}.v-card.v-sheet.login-card .alert-verification-letter a{font-weight:400}.v-card.v-sheet.login-card .alert-verification-letter .theme--light.v-icon{color:#325a7f;font-size:20px!important}",""]),t.exports=a},604:function(t,e,s){"use strict";s(339)},605:function(t,e,s){var a=s(20)(!1);a.push([t.i,".maintenance-page .title-row{border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0}.maintenance-page .chart-title{border:1px solid #e0e0e0;border-bottom:none}.maintenance-page .chart-wrapper .v-image{margin-top:-1px}",""]),t.exports=a},606:function(t,e,s){"use strict";s(340)},607:function(t,e,s){var a=s(20)(!1);a.push([t.i,"#register-form{padding:15px 0}#register-form .primary--text{color:#325a7f!important}#register-form .error--text{color:#f44336!important}.already-have-account,.terms-and-usage{font-size:14px;color:#757575}",""]),t.exports=a},608:function(t,e,s){"use strict";s(341)},609:function(t,e,s){var a=s(20)(!1);a.push([t.i,".status-icon[data-v-0928fa71]{position:absolute;right:5px;bottom:10px}",""]),t.exports=a},610:function(t,e,s){"use strict";s(342)},611:function(t,e,s){var a=s(20)(!1);a.push([t.i,".invite-error-card[data-v-96b332f6]{width:440px}.status-icon[data-v-96b332f6]{position:absolute;right:0;bottom:3px}",""]),t.exports=a},612:function(t,e,s){"use strict";s(343)},613:function(t,e,s){var a=s(20)(!1);a.push([t.i,".status-icon[data-v-37fca728]{position:absolute;right:0;bottom:3px}",""]),t.exports=a},635:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(628),o=s(670),l=s(646),c=s(692),d=s(627),u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"maintenance-page white"},[e(d.a,{ref:"titleRow",staticClass:"title-row py-3 px-4 align-center",attrs:{"no-gutters":""}},[e(n.a,{attrs:{cols:"6"}},[e("h2",[t._v(t._s(t.$t("maintenance.title")))])]),t._v(" "),e(n.a,{staticClass:"d-flex align-center",attrs:{cols:"6"}},[e(a.a,{staticClass:"white--text ml-auto",attrs:{color:"amber darken-2",elevation:"0"},on:{click:t.contactSales}},[t._v("\n "+t._s(t.$t("maintenance.contactSales"))+"\n ")])],1)],1),t._v(" "),e(d.a,{staticClass:"px-4 py-6",attrs:{"no-gutters":""}},[e(n.a,{attrs:{cols:"6"}},[e("div",[t._v("\n "+t._s(t.$t("maintenance.organizeAdministrateAndMonitor"))+"\n ")]),t._v(" "),e("div",{staticClass:"mt-8"},[t._v("\n "+t._s(t.$t("maintenance.maintenanceComprisesWork"))+"\n ")]),t._v(" "),e("div",{staticClass:"mt-8"},[e(c.a,{attrs:{src:"/images/maintenance-schema.svg"}})],1),t._v(" "),e("div",{staticClass:"mt-8"},[t._v("\n "+t._s(t.$t("maintenance.maintenanceModuleEnablesProfessionalManagement"))+"\n ")]),t._v(" "),e(a.a,{staticClass:"white--text mt-8 ml-auto",attrs:{color:"amber darken-2",elevation:"0"},on:{click:t.contactSales}},[t._v("\n "+t._s(t.$t("maintenance.contactSales"))+"\n ")])],1),t._v(" "),e(n.a,{staticClass:"pl-8",attrs:{cols:"6"}},[e(i.a,{staticClass:"rounded-sm",attrs:{elevation:"0"}},[e(r.d,{staticClass:"chart-title py-3"},[e("span",{staticClass:"subtitle-2"},[t._v(t._s(t.$t("maintenance.structure"))+":Â ")]),t._v(" "),e("span",{staticClass:"body-2"},[t._v("Northen Railway Bridge")]),t._v(" "),e(l.a,{staticClass:"ml-2 grey--text text--lighten-1"},[t._v("mdi-menu-down")])],1),t._v(" "),e(o.a),t._v(" "),e(r.c,{staticClass:"pa-0 chart-wrapper"},[e(c.a,{attrs:{src:"/images/maintenance-chart.png"}})],1)],1)],1)],1),t._v(" "),e("ContactSalesDialog",{attrs:{"title-key":"requestMaintenance.requestAMaintenance","proceed-btn-key":"requestMaintenance.requestInfo",subject:"Maintenance requested"},model:{value:t.showRequestMaintenance,callback:function(e){t.showRequestMaintenance=e},expression:"showRequestMaintenance"}})],1)};u._vuetifyStyles=function(t){0};var p=s(700),f=s(667),m=s(694),h=s(666),v=s(671),g=s(338),_=function(){var t=this,e=t._self._c;return e(p.a,{attrs:{value:t.value,persistent:"","max-width":"700"}},[e(i.a,[e(v.a,{staticClass:"elevation-0"},[e(g.a,[t._v("\n "+t._s(t.$t(t.titleKey))+"\n ")]),t._v(" "),e(m.a),t._v(" "),e(a.a,{ref:"closeBtn",attrs:{icon:""},on:{click:t.close}},[e(l.a,[t._v("mdi-close")])],1)],1),t._v(" "),e(r.c,[e("div",{staticClass:"text-center mb-9 grey--text text--darken-1 body-2"},[e("span",[t._v(t._s(t.$t("requestMaintenance.pleaseFillInDetails")))])]),t._v(" "),e(f.a,{ref:"form"},[e(h.a,{ref:"comment",attrs:{maxlength:255,counter:"",label:t.$t("requestMaintenance.comment")},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],1)],1),t._v(" "),e(r.a,[e(m.a),t._v(" "),e(a.a,{ref:"cancelBtn",attrs:{color:"accent",elevation:"0"},on:{click:t.close}},[t._v(t._s(t.$t("requestMaintenance.cancel")))]),t._v(" "),e(a.a,{ref:"proceedBtn",attrs:{color:"secondary",outlined:"",elevation:"0"},on:{click:t.submitContactSales}},[t._v(t._s(t.$t(t.proceedBtnKey)))])],1)],1)],1)};_._vuetifyStyles=function(t){0};var y=s(2),w=s(62),x={props:{value:{type:Boolean,default:!1},titleKey:{type:String,required:!0},proceedBtnKey:{type:String,required:!0},subject:{type:String,required:!0},inspectionId:{type:Number,default:null}},data:()=>({comment:null}),methods:{submitContactSales(){var t=this;return Object(y.a)((function*(){try{var e={subject:t.subject};t.inspectionId&&(e.inspectionId=t.inspectionId),t.comment&&(e.message=t.comment.trim()),yield t.$contactsService.contactSales(new w.ContactSales(e)),t.$notifier.showSuccessMessage({localeKey:"requestMaintenance.requestWasSentToSales"}),yield t.$store.dispatch("unsavedChanges/updateFormFieldsHasInput",!1)}finally{t.close()}}))()},close(){this.comment=null,this.$emit("input",!1)}}},b=s(10),C={name:"MaintenancePage",components:{ContactSalesDialog:Object(b.a)(x,_,[],!1,null,null,null).exports},layout:"blank",data:()=>({showRequestMaintenance:!1}),methods:{contactSales(){this.showRequestMaintenance=!0}}},I=(s(604),Object(b.a)(C,u,[],!1,null,null,null));e.default=I.exports},636:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(626),o=s(692),l=s(662),c=s(669),d=s(208),u=s(666),p=function(){var t=this,e=t._self._c;
1return t.viewMode===t.CHANGE_PASSWORD_MODE?e(n.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"change-password-card"},[e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/lock_psi.svg"}})],1)])],1),t._v(" "),e(r.d,[e(l.a,[e("div",{staticClass:"verify-title"},[t._v("\n "+t._s(t.$t("pages.change-password.index.title"))+"\n ")])])],1),t._v(" "),e(r.b,[e(l.a,{staticClass:"text-center",domProps:{textContent:t._s(t.$t("pages.change-password.index.description"))}})],1),t._v(" "),e(r.c,[e(u.a,{staticClass:"asterisk",attrs:{name:"email",rules:t.emailRules,label:t.$t("pages.change-password.index.label.email"),type:"text"},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}})],1),t._v(" "),e(r.c,[e("div",{staticClass:"d-flex justify-center align-center"},[e(a.a,{staticClass:"mt-11 mb-4",attrs:{width:"320",height:"50","max-width":"320",color:"primary",disabled:t.emailIsInvalid},on:{click:t.resetPassword}},[t._v("\n "+t._s(t.$t("pages.change-password.index.resetBtn"))+"\n ")])],1)]),t._v(" "),e(c.a,{attrs:{absolute:!0,value:t.loadingPage}},[e(d.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)],1):e("EmailSender",{attrs:{title:t.$t("pages.change-password.index.checkEmailTitle"),info:t.$t("pages.change-password.index.checkEmailText")},on:{resend:t.resendEmail}})};p._vuetifyStyles=function(t){0};var f=s(2),m=s(166),h=s(43),v=s(51),g={name:"ChangePassword",components:{EmailSender:m.a},layout:"blank",auth:!1,data:()=>({pageName:"ChangePassword",CHANGE_PASSWORD_MODE:1,VERIFICATION_MODE:2,viewMode:1,loadingPage:!1,email:"",intents:[]}),head(){return{title:"StrucInspect Management Center - ".concat(this.pageName," ")}},computed:{emailRules(){return[Object(h.a)(this),Object(h.d)(this)]},emailIsInvalid(){return this.fieldIsInvalid(this.emailRules,this.email)}},created(){this.intents=this.$route.query["i[]"]||this.intents,this.intents=Object(v.b)(this.intents)},methods:{fieldIsInvalid:(t,e)=>!!t.map((t=>t(e))).find((t=>"string"==typeof t)),resetPassword(){var t=this;return Object(f.a)((function*(){t.loadingPage=!0,yield t.resendEmail(),t.viewMode=2,t.loadingPage=!1}))()},resendEmail(){var t=this;return Object(f.a)((function*(){return yield t.$authService.claimChangePassword(t.email,t.intents)}))()}}},_=(s(596),s(10)),y=Object(_.a)(g,p,[],!1,null,"f15f6f1a",null);e.default=y.exports},637:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(626),o=s(667),l=s(662),c=function(){var t=this,e=t._self._c;return e(n.a,{attrs:{id:"confirm","fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"confirmation-card"},[e(r.d,[e("Logo")],1),t._v(" "),e(r.c,[t._v("\n "+t._s(t.clientName)+" application wants to access you account\n ")]),t._v(" "),e(r.b,[t._v("\n This will allow "+t._s(t.clientName)+" application to access your\n user information\n ")]),t._v(" "),e("div",{staticClass:"form-action"},[e(o.a,{ref:"deny-form",attrs:{id:"deny-form",method:"post",action:"/o/interaction/".concat(t.uid,"/deny/")}},[e(a.a,{attrs:{type:"submit",color:"blue-grey lighten-4",form:"deny-form",block:""}},[t._v("Deny\n ")])],1),t._v(" "),e(o.a,{ref:"confirm-form",attrs:{id:"confirm-form",method:"post",action:"/o/interaction/".concat(t.uid,"/confirm/")}},[e(a.a,{attrs:{type:"submit",color:"primary",form:"confirm-form",block:""}},[t._v("Confirm\n ")])],1)],1)],1)],1)],1)};c._vuetifyStyles=function(t){0};var d={name:"ConfirmationPage",components:{Logo:s(86).a},layout:"login",data:()=>
1({pageName:"Access Request Confirmation",clientName:"",uid:"",intent:""}),head(){return{title:"StrucInspect Management Center - ".concat(this.pageName," ")}},mounted(){this.uid=this.$route.query.uid,this.intent=this.$route.query.intent,this.clientName=this.$route.query.clientName}},u=(s(600),s(10)),p=Object(u.a)(d,c,[],!1,null,null,null);e.default=p.exports},638:function(t,e,s){"use strict";s.r(e);var a=s(628),i=s(626),r=s(627),n=function(){var t=this,e=t._self._c;return e(i.a,{staticClass:"p-0",attrs:{"fill-height":"",fluid:""}},[e(r.a,[e(a.a,{staticClass:"mb-16 pb-16"},[e(r.a,{attrs:{justify:"center","justify-content":"center"}},[e("div",[e("Logo")],1)]),t._v(" "),e(r.a,{staticClass:"mt-6",attrs:{justify:"center"}},[e(a.a,{staticClass:"text-center",attrs:{md:"7",lg:"5",xl:"3"}},[e("h3",[t._v(t._s(t.$t("maintenance.downForMaintenance")))])])],1),t._v(" "),e(r.a,{staticClass:"mt-6",attrs:{justify:"center"}},[e("span",[t._v(t._s(t.$t("maintenance.longAsRepairing")))])]),t._v(" "),e(r.a,{attrs:{justify:"center"}},[e("span",[t._v(t._s(t.$t("maintenance.checkLater")))])])],1)],1)],1)};n._vuetifyStyles=function(t){0};var o={name:"EmergencyMaintenancePage",layout:"blank",auth:!1,components:{Logo:s(86).a}},l=s(10),c=Object(l.a)(o,n,[],!1,null,null,null);e.default=c.exports},639:function(t,e,s){"use strict";s.r(e);var a=s(702),i=s(618),r=s(668),n=s(3),o=s(626),l=s(667),c=s(662),d=s(669),u=s(208),p=s(666),f=function(){var t=this,e=t._self._c;return t.isReady?e(o.a,{attrs:{id:"login","fill-height":"true"}},[e(c.a,{attrs:{"align-center":"","justify-center":""}},[e(r.a,{staticClass:"login-card"},[e(n.d,{staticClass:"mb-14 mt-4"},[e("Logo")],1),t._v(" "),e(n.c,[t.uid?e(l.a,{ref:"form",attrs:{id:"login-form","lazy-validation":!0,method:"post",action:"/o/interaction/".concat(t.uid,"/login/")}},[e(p.a,{ref:"email",class:{"autofill-fix":t.autofillFix},attrs:{id:"email",name:"email",rules:t.emailRules,label:"E-mail",placeholder:t.autofill?" ":null,type:"text",error:t.nonFieldError},on:{focus:function(e){t.autofillFix=!1}},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),e(p.a,{ref:"password",staticClass:"mt-4 mb-0",class:{"autofill-fix":t.autofillFix},attrs:{id:"password","append-icon":t.showPassword?"mdi-eye-outline":"mdi-eye-off-outline",rules:t.passwordRules,type:t.passwordType,name:"password",label:"Password",placeholder:t.autofill?" ":null,error:t.nonFieldError},on:{focus:function(e){t.autofillFix=!1},"click:append":function(e){t.showPassword=!t.showPassword}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),t._v(" "),e("div",{staticClass:"forgot-password-text"},[e("nuxt-link",{attrs:{to:{name:"change-password"}}},[t._v(t._s(t.$t("pages.login.index.forgotPass")))])],1),t._v(" "),e(i.a,{ref:"login-submit-btn",attrs:{type:"submit",color:"primary",form:"login-form",block:"",large:"",disabled:t.emailIsInvalid||t.passwordIsInvalid}},[t._v(t._s(t.$t("pages.login.index.loginBtn")))]),t._v(" "),t.nonFieldError||t.error.invalidCredentials?e(a.a,{staticClass:"alert-invalid-credentials mt-4 mb-0",attrs:{color:"red lighten-5",icon:"mdi-close-circle-outline"}},[e("span",{staticClass:"caption red--text text--darken-1"},[t._v(t._s(t.$t("pages.login.index.emailPassDontMatch")))])]):t._e()],1):e(l.a,{ref:"form",attrs:{id:"login-form","lazy-validation":!0},on:{submit:function(e){return e.preventDefault(),t.login.apply(null,arguments)}}},[e(p.a,{ref:"email",class:{"autofill-fix":t.autofillFix},attrs:{id:"email",name:"email",rules:t.emailRules,label:"E-mail",placeholder:t.autofill?" ":null,type:"text",error:t.nonFieldError},on:{focus:function(e){t.autofillFix=!1}},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),e(p.a,{ref:"password",staticClass:"mt-4 mb-0",class:{"autofill-fix":t.autofillFix},attrs:{id:"password","append-icon":t.showPassword?"mdi-eye-outline":"mdi-eye-off-outline",rules:t.passwordRules,type:t.passwordType,name:"password",label:"Password",placeholder:t.autofill?" ":null,error:t.nonFieldError},on:{focus:function(e){t.autofillFix=!1},"click:append":function(e){t.showPassword=!t.showPassword}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),t._v(" "),e("div",{staticClass:"forgot-password-text"},[e("nuxt-link",{attrs:{to:{name:"change-password"}}}
1,[t._v(t._s(t.$t("pages.login.index.forgotPass")))])],1),t._v(" "),e(i.a,{ref:"login-submit-btn",attrs:{type:"submit",color:"primary",form:"login-form",block:"",large:"",disabled:t.emailIsInvalid||t.passwordIsInvalid}},[t._v(t._s(t.$t("pages.login.index.loginBtn")))]),t._v(" "),t.isPasswordCorrect?e(a.a,{staticClass:"alert-invalid-credentials mt-4 mb-0",attrs:{color:"red lighten-5",icon:"mdi-close-circle-outline"}},[e("span",{staticClass:"caption red--text text--darken-1"},[t._v(t._s(t.$t("pages.login.index.emailPassDontMatch")))])]):t._e()],1),t._v(" "),t.cpShowPoweredBy?e("div",{staticClass:"flex align-center justify-center pt-3"},[e("span",{staticClass:"caption grey--text text--darken-1"},[t._v(t._s(t.$t("pages.login.index.poweredBySi")))]),t._v(" "),e("Logo",{attrs:{"force-default-asset":"","custom-styles":"max-height:18px; max-width:126px; margin-left:5px;"}})],1):t._e()],1),t._v(" "),e(n.c,[e(a.a,{staticClass:"alert-verification-letter",attrs:{value:t.error.emailNotVerified,icon:"mdi-information-outline"}},[t._v("\n "+t._s(t.$t("pages.login.index.emailHasNotVerified"))+"\n "),e("b",[e("a",{on:{click:t.resendEmail}},[t._v(t._s(t.$t("pages.login.index.resendVerification")))])])])],1),t._v(" "),e(d.a,{attrs:{absolute:!0,value:t.loadingLogin}},[e(u.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)],1):t._e()};f._vuetifyStyles=function(t){0};s(17);var m=s(5),h=s(2),v=s(86),g=s(43),_=s(51),y=s(127);function w(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function x(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?w(Object(s),!0).forEach((function(e){Object(m.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):w(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var b={name:"LoginPage",components:{Logo:v.a},mixins:[y.a],layout:"login",data:()=>({loadingLogin:!1,showPassword:!1,email:"",password:"",error:{email:[],password:[],non_field_errors:[],emailNotVerified:!1},pageName:"Login",emailToResend:"",isReady:!1,autofill:!1,autofillFix:!1,autofillFixCheckInterval:null,uid:"",intents:[]}),head(){return{title:"StrucInspect Management Center - ".concat(this.pageName," ")}},computed:{cpShowPoweredBy(){return!!this.$config.siClientName},nonFieldError(){return!(!this.error.non_field_errors||!this.error.non_field_errors.length)},isPasswordCorrect(){return!(!this.nonFieldError&&!this.error.invalidCredentials)||null},emailRules(){return[Object(g.a)(this),Object(g.d)(this)]},passwordRules(){return[Object(g.c)(this)]},emailIsInvalid(){return this.fieldIsInvalid(this.emailRules,this.email)},passwordIsInvalid(){return this.fieldIsInvalid(this.passwordRules,this.password)},passwordType(){return this.showPassword?"text":"password"}},watch:{password(){this.autofill=!1},autofill(){this.removeAutofillDetectInterval()}},mounted(){this.isReady=!0,this.autofillFixCheck(),this.uid=this.$route.query.uid,this.intents=Object(_.b)(this.$route.query["i[]"]),this.error.emailNotVerified=!!this.$route.query.emailNotVerified,this.emailToResend=this.$route.query.email,this.error.invalidCredentials=!!this.$route.query.invalidCredentials},beforeDestroy(){this.removeAutofillDetectInterval()},methods:{fieldIsInvalid:(t,e)=>!!t.map((t=>t(e))).find((t=>"string"==typeof t)),resetErrors(){this.error={email:[],password:[],non_field_errors:[],emailNotVerified:!1,invalidCredentials:!1}},resendEmail(){var t=this;return Object(h.a)((function*(){return t.error.emailNotVerified=!1,yield t.$authService.resendEmailConfirmationLink(t.emailToResend)}))()},checkInviteParam(){if(this.inviteParams)return this.$router.push({name:"invite-accept",query:x({},this.inviteParams)}),!0},login(){var t=this;return Object(h.a)((function*(){if(t.resetErrors(),t.$store.dispatch("warnings/resetWarningsForNewInspection"),t.$refs.form.validate()){t.loadingLogin=!0;try{yield t.$auth.login({data:{email:t.email,password:t.password}})}catch(e){switch(e.response&&e.response.status){case 400:case 401:return t.error=x(x(x({},t.error),e.response.data),{},{invalidCredentials:!0}),void(t.password="");case 403:return t.emailToResend=t.email,t.error.emailNotVerified=!0,void(t.password="");default:throw t.password="",e}}finally{var{uid:e}=t.$route.query;if(t.loadingLogin=!1,t.$auth.loggedIn){var s=t.$route.query.next;if(s)window.location.href=new URL(s,window.location.href).href;else t.checkInviteParam()||e||(window.location.href="https://app.strucinspect.com/")}}}}))()},autofillFixCheck(){this.autofillFixCheckInterval=setInterval((()=>{document.querySelectorAll('input[type="password"]:-webkit-autofill').length>0&&(this.autofillFix=!0,this.removeAutofillDetectInterval())}),100),setTimeout((()=>{this.removeAutofillDetectInterval()}),3e3)},removeAutofillDetectInterval(){this.autofillFixCheckInterval&&(clearInterval(this.autofillFixCheckInterval),this.autofillFixCheckInterval=null)}}},C=(s(602),s(10)),I=Object(C.a)(b,f,[],!1,null,null,null);e.default=I.exports},640:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(701),o=s(628),l=s(626),c=s(670),d=s(667),u=s(662),p=s(669),f=s(208),m=s(627),h=s(666),v=function(){var t=this,e=t._self._c;return t.isReady&&t.viewMode===t.REGISTRATION_MODE?e(l.a,{attrs:{"fill-height":"true"}},[e(u.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"register-card-large"},[e(u.a,{staticClass:"mb-12",attrs:{"justify-center":""}},[e("Logo")],1),t._v(" "),e(r.b,{staticClass:"pb-3"},[t._v("\n "+t._s(t.$t("pages.register.index.title"))+"\n ")]),t._v(" "),e(r.c,[e(d.a,{ref:"form",attrs:{id:"register-form"},on:{submit:function(e){return e.preventDefault(),t.register.apply(null,arguments)}},model:{value:t.formIsValid,callback:function(e){t.formIsValid=e},expression:"formIsValid"}},[e(m.a,[e(o.a,{staticClass:"mr-3"},[e(h.a,{ref:"firstName",staticClass:"asterisk",attrs:{name:"firstName",rules:t.firstNameRules,label:t.$t("pages.register.index.label.firstName"),type:"text"},model:{value:t.firstName,callback:function(e){t.firstName=e},expression:"firstName"}})],1),t._v(" "),e(o.a,{staticClass:"ml-3"},[e(h.a,{ref:"lastName",staticClass:"asterisk",attrs:{name:"lastName",rules:t.lastNameRules,label:t.$t("pages.register.index.label.lastName"),type:"text"},model:{value:t.lastName,callback:function(e){t.lastName=e},expression:"lastName"}})],1)],1),t._v(" "),e(m.a,[e(o.a,{staticClass:"pr-5",attrs:{cols:"6"}},[e(h.a,{ref:"email",staticClass:"asterisk",attrs:{name:"email",rules:t.emailRules,label:t.$t("pages.register.index.label.email"),type:"text",error:t.error.emailInUseError},on:{input:t.emailHasChanged},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),t.error.emailInUseError?e("div",{staticClass:"d-flex caption mt-n4 error--text"},[t._v("\n "+t._s(t.$t("pages.register.index.emailTaken"))+"\n ")]):t._e()],1)],1),t._v(" "),e(m.a,[e(o.a,{staticClass:"mr-3"}
1,[e(h.a,{ref:"password",staticClass:"asterisk",attrs:{"append-icon":t.showPassword?"mdi-eye-outline":"mdi-eye-off-outline",rules:[...t.passwordRules],type:t.passwordType(t.showPassword),name:"password",label:t.$t("pages.register.index.label.password")},on:{"click:append":function(e){t.showPassword=!t.showPassword}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),e(o.a,{staticClass:"ml-3"},[e(h.a,{ref:"passwordConfirm",staticClass:"asterisk",attrs:{"append-icon":t.showPassword?"mdi-eye-outline":"mdi-eye-off-outline",rules:t.confirmPasswordRules,type:t.passwordType(t.showPasswordConfirm),name:"passwordConfirm",label:t.$t("pages.register.index.label.confirmPassword")},on:{"click:append":function(e){t.showPasswordConfirm=!t.showPasswordConfirm}},model:{value:t.passwordConfirm,callback:function(e){t.passwordConfirm=e},expression:"passwordConfirm"}})],1)],1),t._v(" "),e("div",[e(n.a,{scopedSlots:t._u([{key:"label",fn:function(){return[e("div",{staticClass:"terms-and-usage"},[t._v("\n "+t._s(t.$t("pages.register.index.readAndAgreeWith"))+"\n "),e("a",{attrs:{target:"_blank",href:t.PRIVACY_POLICY_LINK},on:{click:function(t){t.stopPropagation()}}},[t._v(t._s(t.$t("pages.register.index.privacyPolicy")))]),t._v("Â \n "+t._s(t.$t("pages.register.index.readAndAgreeAnd"))+"Â \n "),e("a",{attrs:{target:"_blank",href:t.TERMS_OF_USAGE_LINK},on:{click:function(t){t.stopPropagation()}}},[t._v(t._s(t.$t("pages.register.index.termsConditions")))])])]},proxy:!0}],null,!1,1023249756),model:{value:t.privacyPolicyAndTermsOfUsageSigned,callback:function(e){t.privacyPolicyAndTermsOfUsageSigned=e},expression:"privacyPolicyAndTermsOfUsageSigned"}})],1),t._v(" "),e("div",{staticClass:"d-flex justify-center align-center"},[e(a.a,{ref:"register-submit-btn",staticClass:"mt-7",attrs:{width:"320",height:"50","max-width":"320",type:"submit",color:"primary",form:"register-form",disabled:!(t.formIsValid&&t.privacyPolicyAndTermsOfUsageSigned)}},[t._v(t._s(t.$t("pages.register.index.registerBtn")))])],1)],1)],1),t._v(" "),e(c.a,{staticClass:"mt-10 ma-auto mb-10",attrs:{width:"160"}}),t._v(" "),e("div",{staticClass:"already-have-account text-center"},[t._v("\n "+t._s(t.$t("pages.register.index.alreadyHaveAnAccount"))+"Â \n "),t.isOnlyKnowledgeHubIntent?e("a",{attrs:{target:"_blank",href:t.KNOWLEDGE_HUB_URL},on:{click:function(t){t.stopPropagation()}}},[t._v("\n "+t._s(t.$t("pages.register.index.loginButton"))+"\n ")]):e("nuxt-link",{attrs:{to:t.loginLink}},[t._v("\n "+t._s(t.$t("pages.register.index.loginButton"))+"\n ")])],1),t._v(" "),e(p.a,{attrs:{absolute:!0,value:t.loadingPage}},[e(f.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)],1):t.isReady?e("EmailSender",{attrs:{title:t.$t("pages.register.index.checkEmailTitle"),info:t.$t("pages.register.index.checkEmailText")},on:{resend:t.resendEmail}}):t._e()};v._vuetifyStyles=function(t){0};var g=s(2),_=(s(27),s(54)),y=s(86),w=s(166),x=s(43),b=s(51),C=s(127),I={name:"Register",components:{Logo:y.a,EmailSender:w.a},mixins:[C.a],layout:"blank",auth:!1,data:()=>({pageName:"Register",INITIAL_TIMER_MSEC:9e4,REGISTRATION_MODE:1,VERIFICATION_MODE:2,viewMode:1,TERMS_OF_USAGE_LINK:"https://strucinspect.com/legal/terms",PRIVACY_POLICY_LINK:"https://strucinspect.com/legal/privacy",formIsValid:!0,loadingPage:!1,showPassword:!1,showPasswordConfirm:!1,firstName:"",lastName:"",email:"",password:"",passwordConfirm:"",privacyPolicyAndTermsOfUsageSigned:!1,error:{emailInUseError:!1},intents:[_.a],KNOWLEDGE_HUB_URL:void 0,isReady:!1}),head(){return{title:"StrucInspect Management Center - ".concat(this.pageName," ")}},computed:{loginLink(){var t={name:"login"};return this.inviteParams?Object.assign({},t,{query:this.inviteParams}):t},firstNameRules(){return[t=>!!t||this.$t("pages.register.index.rules.firstNameRequired")||"First Name is required"]},lastNameRules(){return[t=>
1!!t||this.$t("pages.register.index.rules.lastNameRequired")||"Last Name is required"]},emailRules(){return[Object(x.a)(this),Object(x.d)(this)]},confirmPasswordRules(){return[t=>!!t||this.$t("pages.register.index.rules.confirmPassRequired")||"Password confirmation is required",this.passwordConfirmationRule()]},passwordRules(){return[Object(x.c)(this),Object(x.b)(this,8)]},isOnlyKnowledgeHubIntent(){return 1===this.intents.length&&this.intents.includes(_.c)}},mounted(){this.intents=Object(b.b)(this.$route.query["i[]"]),this.$auth.loggedIn?this.isOnlyKnowledgeHubIntent&&(window.location.href=void 0):this.isReady=!0},methods:{passwordType:t=>t?"text":"password",passwordConfirmationRule(){return this.password===this.passwordConfirm||this.$t("pages.register.index.confirmDoesNotMatch")},fieldIsInvalid:(t,e)=>!!t.map((t=>t(e))).find((t=>"string"==typeof t)),resetErrors(){this.error={email:[]}},emailHasChanged(){this.error.emailInUseError=!1},register(){var t=this;return Object(g.a)((function*(){t.resetErrors(),t.loadingPage=!0;try{yield t.$authService.register({firstName:t.firstName,lastName:t.lastName,email:t.email,password:t.password,passwordConfirm:t.passwordConfirm},{intents:t.intents,inviteId:t.$route.query.ivt_id}),t.viewMode=2}catch(e){e.response&&400===e.response.status&&(t.error.emailInUseError=!0)}finally{t.loadingPage=!1}}))()},resendEmail(){var t=this;return Object(g.a)((function*(){return yield t.$authService.resendEmailConfirmationLink(t.email,t.intents)}))()}}},k=(s(606),s(10)),P=Object(k.a)(I,v,[],!1,null,null,null);e.default=P.exports},641:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(626),o=s(692),l=s(662),c=s(669),d=s(208),u=s(627),p=s(666),f=(s(27),function(){var t=this,e=t._self._c;return t.error||t.passwordWasChanged?e(n.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"register-card"},[e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/key_psi.svg"}},[t.error?e(o.a,{staticClass:"status-icon",attrs:{src:"/error-icon.svg",width:"40"}}):e(o.a,{staticClass:"status-icon",attrs:{src:"/success-icon.svg",width:"40"}})],1)],1)])],1),t._v(" "),e(r.d,[e("div",{staticClass:"verify-title"},[t._v("\n "+t._s(t.error?t.$t("pages.change-password.set.somethingWentWrong"):t.$t("pages.change-password.set.passUpdated"))+"\n ")])]),t._v(" "),e(r.b,[t._v("\n "+t._s(t.error?t.$t("pages.change-password.set.linkExpired"):t.$t("pages.change-password.set.passUpdatedDescription"))+"\n ")]),t._v(" "),e(r.c,[e("div",{staticClass:"d-flex justify-center align-center"},[e(n.a,[e(u.a,{attrs:{justify:"center"}},[!t.error&&t.intents.includes(t.DIGITAL_INSPECTION_INTENT)?e(a.a,{staticClass:"my-3 text-decoration-none",attrs:{width:"320",height:"50","max-width":"320",color:"primary",nuxt:"",to:{name:"login"}}},[t._v("\n "+t._s(t.$t("pages.change-password.set.loginBtn"))+"\n ")]):t._e()],1),t._v(" "),e(u.a,{attrs:{justify:"center"}},[!t.error&&t.intents.includes(t.KNOWLEDGE_HUB_INTENT)?e(a.a,{staticClass:"my-3",attrs:{width:"320",height:"50","max-width":"320",color:"primary"},on:{click:t.goToKHLogin}},[t._v(t._s(t.$t("pages.change-password.set.loginBtnKHub")))]):t._e()],1)],1)],1)])],1)],1)],1):e(n.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"change-password-card"},[e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/key_psi.svg"}})],1)])],1),t._v(" "),e(r.d,[e("div",{staticClass:"verify-title"},[t._v("\n "+t._s(t.$t("pages.change-password.set.title"))+"\n ")])]),t._v(" "),e(r.b,[e(l.a,{staticClass:"text-center nl-text",attrs:{"justify-center":""},domProps:{textContent:t._s(t.$t("pages.change-password.set.description"))}})],1),t._v(" "),e(r.c,[e("div",{staticClass:"d-flex justify-center align-center mb-3"},[e(p.a,{staticClass:"asterisk",attrs:{"append-icon":t.showPassword?"mdi-eye":"mdi-eye-off",rules:[...t.passwordRules,t.passwordConfirmationRule()],type:t.passwordType(t.showPassword),name:"password",label:t.$t("pages.change-password.set.label.newPass")},on:{"click:append":function(e){t.showPassword=!t.showPassword}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1)]),t._v(" "),e(r.c,[e("div",{staticClass:"d-flex justify-center align-center mb-11"}
1,[e(p.a,{staticClass:"asterisk",attrs:{"append-icon":t.showPasswordConfirm?"mdi-eye":"mdi-eye-off",rules:t.confirmPasswordRules,type:t.passwordType(t.showPasswordConfirm),name:"passwordConfirm",label:t.$t("pages.change-password.set.label.confirmPass")},on:{"click:append":function(e){t.showPasswordConfirm=!t.showPasswordConfirm}},model:{value:t.passwordConfirm,callback:function(e){t.passwordConfirm=e},expression:"passwordConfirm"}})],1)]),t._v(" "),e(r.c,[e("div",{staticClass:"d-flex justify-center align-center"},[e(a.a,{staticClass:"mb-4",attrs:{width:"320",height:"50","max-width":"320",color:"primary",disabled:t.passwordIsInvalid},on:{click:t.resetPassword}},[t._v("\n "+t._s(t.$t("pages.change-password.set.resetBtn"))+"\n ")])],1)]),t._v(" "),e(c.a,{attrs:{absolute:!0,value:t.loadingPage}},[e(d.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)],1)});f._vuetifyStyles=function(t){0};var m=s(2),h=s(54),v=s(43),g=s(51),_={name:"SetPassword",auth:!1,layout:"blank",data:()=>({DIGITAL_INSPECTION_INTENT:h.a,KNOWLEDGE_HUB_INTENT:h.c,uid:void 0,token:void 0,loadingPage:!1,passwordWasChanged:!1,error:!1,password:"",passwordConfirm:"",showPassword:!1,showPasswordConfirm:!1,intents:[h.a]}),computed:{passwordRules(){return[Object(v.c)(this),Object(v.b)(this,8)]},confirmPasswordRules(){return[t=>!!t||this.$t("pages.register.index.rules.confirmPassRequired")||"Password confirmation is required",this.passwordConfirmationRule()]},passwordIsInvalid(){return this.fieldIsInvalid(this.passwordRules,this.password)||this.fieldIsInvalid(this.passwordRules,this.passwordConfirm)||!0!==this.passwordConfirmationRule()}},created(){var t=this;return Object(m.a)((function*(){t.uid=t.$route.query.uid,t.token=t.$route.query.token,t.intents=t.$route.query["i[]"]||t.intents,t.intents=Object(g.b)(t.intents),t.uid&&t.token||t.$auth.loggedIn||(yield t.$router.push({name:"Error404"}))}))()},methods:{passwordType:t=>t?"text":"password",passwordConfirmationRule(){return this.password===this.passwordConfirm||"Password confirmation doesn't match"},fieldIsInvalid:(t,e)=>!!t.map((t=>t(e))).find((t=>"string"==typeof t)),resetPassword(){var t=this;return Object(m.a)((function*(){t.loadingPage=!0;var e=yield t.$authService.changePassword(t.uid,t.token,t.password,t.passwordConfirm);t.error=!e,t.loadingPage=!1,t.passwordWasChanged=!0}))()},goToKHLogin(){window.location.href=void 0}}},y=(s(608),s(10)),w=Object(y.a)(_,f,[],!1,null,"0928fa71",null);e.default=w.exports},642:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(626),o=s(692),l=s(662),c=s(669),d=s(208),u=s(627),p=function(){var t=this,e=t._self._c;return e(n.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[t.error?e(i.a,{staticClass:"invite-error-card pa-12"},[e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/email_psi.svg"}},[e(o.a,{staticClass:"status-icon",attrs:{src:"/error-icon.svg",width:"40"}})],1)],1)])],1),t._v(" "),t.loadingPage?t._e():e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",{staticClass:"error-title"},[t._v("\n "+t._s(t.$t("pages.invite.accept.somethingWentWrong"))+"\n ")])])],1),t._v(" "),t.loadingPage?t._e():e(r.b,{staticClass:"mt-2 text-center"},[t.errorMessage?e("div",[t._v(t._s(t.$t(t.errorMessage)))]):[e("div",[t._v(t._s(t.$t("pages.invite.accept.errorMsg")))]),t._v(" "),e("div",[t._v(t._s(t.$t("pages.invite.accept.pleaseContactUs")))])]],2),t._v(" "),e(r.c,{staticClass:"mt-12"},[e("div",{staticClass:"d-flex justify-center align-center"},[e(n.a,[e(u.a,{attrs:{justify:"center"}},[e(a.a,{attrs:{width:"320",height:"50","max-width":"320",color:"primary"},on:{click:t.goToDISHome}}
1,[t._v(t._s(t.$t("pages.invite.accept.home")))])],1)],1)],1)])],1):t._e(),t._v(" "),e(c.a,{attrs:{absolute:!0,value:t.loadingPage}},[e(d.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)};p._vuetifyStyles=function(t){0};var f=s(2),m=s(54),h={name:"AcceptInvitation",auth:!1,layout:"blank",data:()=>({inviteId:void 0,loadingPage:!1,error:!1,errorMessage:void 0}),created(){this.inviteId=this.$route.query.ivt_id,this.$auth.loggedIn?this.accept():this.$router.push({name:"register",query:{ivt_id:this.inviteId,"i[]":[m.b]}})},methods:{accept(){var t=this;return Object(f.a)((function*(){t.loadingPage=!0;try{var{redirectUrl:e}=yield t.$invitationsService.accept(t.inviteId);window.location.href=e}catch(e){var{data:s}=e.response,a=Array.isArray(s)&&s[0]&&s[0].codename;switch(e.response&&e.response.status){case 400:"invalid_invitee_email"===a&&(t.errorMessage="pages.invite.accept.emailIsDifferent");break;case 404:t.errorMessage="pages.invite.accept.invitationOutdated"}t.error=!0}finally{t.loadingPage=!1}}))()},goToDISHome(){window.location.href="https://app.strucinspect.com/"}}},v=(s(610),s(10)),g=Object(v.a)(h,p,[],!1,null,"96b332f6",null);e.default=g.exports},643:function(t,e,s){"use strict";s.r(e);var a=s(618),i=s(668),r=s(3),n=s(626),o=s(692),l=s(662),c=s(669),d=s(208),u=s(627),p=function(){var t=this,e=t._self._c;return t.uid&&t.token?e(n.a,{attrs:{"fill-height":"true"}},[e(l.a,{attrs:{"align-center":"","justify-center":""}},[e(i.a,{staticClass:"register-card"},[e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",[e(o.a,{attrs:{src:"/email_psi.svg"}},[t.loadingPage||t.error?t._e():e(o.a,{staticClass:"status-icon",attrs:{src:"/success-icon.svg",width:"40"}}),t._v(" "),!t.loadingPage&&t.error?e(o.a,{staticClass:"status-icon",attrs:{src:"/error-icon.svg",width:"40"}}):t._e()],1)],1)])],1),t._v(" "),t.loadingPage?t._e():e(r.d,[e(l.a,{attrs:{"justify-center":""}},[e("div",{staticClass:"verify-title"},[t._v("\n "+t._s(t.error?t.$t("pages.register.verify.somethingWentWrong"):t.$t("pages.register.verify.emailVerified"))+"\n ")])])],1),t._v(" "),t.loadingPage?t._e():e(r.b,[t.error?e(l.a,{domProps:{textContent:t._s(t.$t("pages.register.verify.errorMsg"))}}):e(l.a,{domProps:{textContent:t._s(t.$t("pages.register.verify.successMsg"))}})],1),t._v(" "),t.loadingPage?t._e():e(r.c,[t.emailWasResent?e("div",[e(l.a,{staticClass:"text-center",attrs:{"justify-center":""}},[t._v("\n "+t._s(t.$t("pages.register.verify.emailWasSent"))+"\n ")])],1):e("div",{staticClass:"d-flex justify-center align-center"},[e(n.a,[e(u.a,{attrs:{justify:"center"}},[t.error?e(a.a,{staticClass:"my-6 mb-4",attrs:{width:"320",height:"50","max-width":"320",color:"primary"},on:{click:t.resendEmail}},[t._v(t._s(t.$t("pages.register.verify.resendBtn")))]):t._e()],1),t._v(" "),e(u.a,{attrs:{justify:"center"}},[t.error?t._e():e(a.a,{staticClass:"my-3 text-decoration-none",attrs:{width:"320",height:"50","max-width":"320",color:"primary"},on:{click:t.goToDISLogin}},[t._v(t._s(t.$t("pages.register.verify.loginBtn")))])],1)],1)],1)]),t._v(" "),e(c.a,{attrs:{absolute:!0,value:t.loadingPage}},[e(d.a,{attrs:{indeterminate:"",size:"64"}})],1)],1)],1)],1):t._e()};p._vuetifyStyles=function(t){0};s(17);var f=s(5),m=s(2),h=s(54),v=s(51);function g(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function _(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?g(Object(s),!0).forEach((function(e){Object(f.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var y={name:"VerifyEmail",auth:!1,mixins:[s(127).a],layout:"blank",data:()=>({DIGITAL_INSPECTION_INTENT:h.a,uid:void 0,token:void 0,email:void 0,intents:[h.a],loadingPage:!0,error:!1,inviteId:void 0,emailWasResent:!1}),created(){var t=this;return Object(m.a)((function*(){t.uid=t.$route.query.uid,t.token=t.$route.query.token,t.email=t.$route.query.email,t.intents=t.$route.query["i[]"]||t.intents,t.intents=Object(v.b)(t.intents),t.inviteId=t.$route.query.ivt_id,t.uid&&t.token||t.$auth.loggedIn||(yield t.$router.push({name:"Error404"}))}))()},mounted(){var t=this;return Object(m.a)((function*(){t.uid&&t.token&&((yield t.$authService.confirmEmail(t.uid,t.token,{intents:t.intents,inviteId:t.inviteId}))||(t.error=!0),t.loadingPage=!1)}))()},methods:{resendEmail(){var t=this;return Object(m.a)((function*(){if(t.emailWasResent=!0,t.email)return yield t.$authService.resendEmailConfirmationLink(t.email,t.intents)}))()},goToDISLogin(){this.$router.push({name:"login",query:_({},this.inviteParams)})}}},w=(s(612),s(10)),x=Object(w.a)(y,p,[],!1,null,"37fca728",null);e.default=x.exports},644:function(t,e,s){"use strict";s.r(e);var a={layout:"blank"},i=s(10),r=Object(i.a)(a,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null);e.default=r.exports},85:function(t,e,s){"use strict";var a=s(618),i=s(628),r=s(626),n=s(627),o=function(){var t=this,e=t._self._c;return e(r.a,{staticClass:"p-0 error-layout",attrs:{"fill-height":"",fluid:""}},[e(n.a,{attrs:{align:"center",justify:"center"}},[e(i.a,{staticClass:"text-center"},[t.showStatusCode?e(n.a,{staticClass:"font-weight-medium error-code",attrs:{"no-gutters":""}},[e(i.a,[t._v(t._s(t.error.statusCode))])],1):t._e(),t._v(" "),t.errorCode?e(n.a,{staticClass:"display-1",attrs:{"no-gutters":""}},[e(i.a,[t._v(t._s(t.$t(t.errorMessageKey)))])],1):t._e(),t._v(" "),t.errorCode&&t.detailsKey?e(n.a,{staticClass:"subtitle-1 mt-12 pt-8",attrs:{"no-gutters":""}},[e(i.a,[t._v(t._s(t.$t(t.detailsKey)))])],1):t._e(),t._v(" "),t.errorCode?t._e():e(n.a,{staticClass:"display-1 mt-12 pt-8",attrs:{"no-gutters":""}},[e(i.a,[e("p",[t._v(t._s(t.$t("error.messageOtherSorry")))]),t._v(" "),e("p",[t._v(t._s(t.$t("error.messageOtherWeKnow")))])])],1
1),t._v("\n "+t._s(t.error)+"\n "),e(a.a,{staticClass:"px-8 mt-4",attrs:{color:"primary"},on:{click:t.leavePageAction}},[t._v(t._s(t.$t(t.buttonLabelKey)))])],1)],1)],1)};o._vuetifyStyles=function(t){0};s(27);var l={name:"NuxtError",layout:"blank",props:{error:{type:Object,default:()=>{}}},data:()=>({errorCodes:[404,403,500,401],errorsSettings:{401:{showDetails:!1,buttonLabelKey:"error.gotToLogin",btnAction:()=>{window.location.href="/"}}},errorCode:null,showStatusCode:!1,errorMessageKey:null,detailsKey:null,buttonLabelKey:null}),created(){this.showStatusCode=this.error&&this.errorCodes.includes(this.error.statusCode),this.showStatusCode?this.errorCode=this.error.statusCode:this.errorCode=null;var t=this.errorsSettings[this.errorCode];this.errorCode?(this.errorMessageKey="error.message".concat(this.errorCode),this.detailsKey=t&&t.showDetails?"error.details".concat(this.errorCode):null,this.buttonLabelKey=t&&t.buttonLabelKey||"error.home"):(this.errorMessageKey=null,this.detailsKey=null)},methods:{leavePageAction(){var t=this.errorsSettings[this.errorCode];this.errorCode&&t&&t.btnAction?t.btnAction():this.$router.push("/")}}},c=(s(414),s(10)),d=Object(c.a)(l,o,[],!1,null,"97f144fc",null);e.a=d.exports},86:function(t,e,s){"use strict";var a=s(692),i=function(){var t=this;return(0,t._self._c)(a.a,{staticClass:"logo",style:t.cpLogoStyle,attrs:{src:t.cpLogoSrc}})};i._vuetifyStyles=function(t){0};var r={props:{forceDefaultAsset:{type:Boolean,default:!1},customStyles:{type:String,default:""}},computed:{cpLogoSrc(){return!this.forceDefaultAsset&&this.$config.siClientName?"/clients/logos/".concat(this.$config.siClientName,"-logo.svg"):"/logos/strucinspect-logo.svg"},cpLogoStyle(){return!this.forceDefaultAsset&&this.$config.siClientName?this.customStyles||"max-height: 24px;":this.customStyles||"max-height: 40px;"}}},n=(s(598),s(10)),o=Object(n.a)(r,i,[],!1,null,null,null);e.a=o.exports}}]);
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.