PageSourceSearch

https://www.freelance.hr/_nuxt/1b614aa.js

js freelance.hr collected 2026-10-04 13:26:22 UTC 12,174 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[332,63,64,66,113],{1019:function(t,e,n){"use strict";n.r(e);n(5),n(7),n(72),n(88);var r={name:"ValidationMessages",props:{title:{type:String,required:!0},validation:{type:Object,default:function(){return{}}}},computed:{visible:function(){return this.validation&&this.validation.$dirty&&this.validation.$error},messages:function(){var t=this,e=[];return this.validation.$params&&Object.keys(this.validation.$params).forEach((function(p){t.validation[p]||e.push(p)})),e}},methods:{errorVisible:function(t){return this.messages.includes(t)}}},o=n(12),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-form-invalid-feedback",{class:{"d-block":t.visible}},[t.errorVisible("required")?n("div",[t._v("\n    "+t._s(t.$t("validation.required",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("alphaNum")?n("div",[t._v("\n    "+t._s(t.$t("validation.alphaNum",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("integer")?n("div",[t._v("\n    "+t._s(t.$t("validation.integer",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("numeric")?n("div",[t._v("\n    "+t._s(t.$t("validation.numeric",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("decimal")?n("div",[t._v("\n    "+t._s(t.$t("validation.decimal",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("minValue")?n("div",[t._v("\n    "+t._s(t.$t("validation.minValue",{title:t.title,min:t.validation.$params.minValue.min}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("maxValue")?n("div",[t._v("\n    "+t._s(t.$t("validation.maxValue",{title:t.title,max:t.validation.$params.maxValue.max}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("minLength")?n("div",[t._v("\n    "+t._s(t.$t("validation.minLength",{title:t.title,min:t.validation.$params.minLength.min}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("maxLength")?n("div",[t._v("\n    "+t._s(t.$t("validation.maxLength",{title:t.title,max:t.validation.$params.maxLength.max}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("passwordStrength")?n("div",[t._v("\n    "+t._s(t.$t("validation.passwordStrength",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("isUnique")?n("div",[t._v("\n    "+t._s(t.$t("validation.isUnique",{title:t.title}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("richTextMinCharacters")?n("div",[t._v("\n    "+t._s(t.$t("validation.richTextMinCharacters",{title:t.title,min:t.validation.$params.richTextMinCharacters.min}))+"\n  ")]):t._e(),t._v(" "),t.errorVisible("richTextMaxCharacters")?n("div",[t._v("\n    "+t._s(t.$t("validation.richTextMaxCharacters",{title:t.title,max:t.validation.$params.richTextMaxCharacters.max}))+"\n  ")]):t._e()])}),[],!1,null,null,null);e.default=component.exports},1020:function(t,e,n){"use strict";n(61);e.a={mounted:function(){var t=this;this.$gtag&&setTimeout((function(){var e={page_path:location.pathname,page_title:document.title,page_location:location.href};t.$gtag.pageview(e)}),1e3)}}},1079:function(t,e,n){"use strict";n.r(e);var r={name:"AuthContainer"},o=n(12),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-10 offset-lg-1 col-xxxl-8 offset-xxxl-2"},[n("div",{staticClass:"paper"},[n("div",{staticClass:"row align-items-stretch"},[n("div",{staticClass:"col-12 col-lg-8"},[n("div",{staticClass:"p-4 py-lg-5 px-lg-6 py-xxxl-6 px-xxxl-7 auth-form-container h-100"},[t._t("default")],2)]),t._v(" "),n("div",{staticClass:"col-12 col-lg-4"},[n("div",{staticClass:"p-4 py-lg-6 px-lg-4 h-100 d-flex align-items-center"},[t._t("description")],2)])])])])])}),[],!1,null,null,null);e.default=component.exports},1083:function(t,e,n){"use strict";n.r(e);n(61);var r=n(1116),o=n.n(r),l={name:"HCaptchaInput",components:{ValidationMessages:n(1019).default,VueHcaptcha:o.a},props:{validation:{type:Object,default:null}},data:function(){return{hidden:!1}},computed:{enabled:function(){return!1},siteKey:function(){return"6df27d97-1806-4fe0-b29c-7b2a72bb95e9"},theme:function(){return this.$store.state.ui.isDarkThemeEnabled?"dark":"light"}},watch:{theme:function(t,e){var n=this;t&&t!==e&&setTimeout((function(){n.hidden=!0,setTimeout((function(){n.hidden=!1}),1)}),1)}},methods:{handleVerified:function(t,e){this.$emit("verified",{token:t,eKey:e})}}},c=n(12),component=Object(c.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.siteKey&&!t.hidden&&t.enabled?n("div",[n("vue-hcaptcha",{ref:"hcap",attrs:{sitekey:t.siteKey,theme:t.theme},on:{verify:t.handleVerified}}),t._v(" "),t.validation?n("validation-messages",{attrs:{title:"Captcha",validation:t.validation}}):t._e()],1):t._e()}),[],!1,null,"3328432e",null);e.default=component.exports},1084:function(t,e,n){"use strict";n(7),n(6),n(3),n(8),n(5),n(9);var r=n(0);function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?o(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a={methods:{handleCaptchaVerified:function(t){var e=t.token;this.form=l(l({},this.form),{},{token:e})}}}},1151:function(t,e,n){"use strict";n.r(e);var r={name:"AuthDescription"},o=n(12),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("strong",{staticClass:"d-block mb-3 font-14-sm"},[t._v(t._s(t.$t("auth.info.why_cryptotask")))]),t._v(" "),n("ul",{staticClass:"list-unstyled m-0"},[n("li",{staticClass:"mb-3 font-12-sm"},[t._v("\n        "+t._s(t.$t("auth.info.line1"))+"\n      ")]),t._v(" "),n("li",{staticClass:"mb-3 font-12-sm"},[t._v("\n        "+t._s(t.$t("auth.info.line2"))+"\n      ")]),t._v(" "),n("li",{staticClass:"font-12-sm"},[t._v("\n        "+t._s(t.$t("auth.info.line3"))+"\n      ")])])])])}),[],!1,null,null,null);e.default=component.exports},1544:function(t,e,n){"use strict";n.r(e);n(7),n(6),n(3),n(8),n(5),n(9);var r=n(4),o=n(0),l=(n(33),n(23),n(16),n(30),n(15),n(1021)),c=n(340),d=n(363),m=n(1083),v=n(1019),f=n(1084);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var $={email:null,password:null,token:null},x={name:"LoginForm",components:{HCaptchaInput:m.default,ValidationMessages:v.default},mixins:[c.a,f.a],data:function(){return{form:_({},$),sending:!1}},validations:{form:{email:{required:l.required,email:l.email},password:{required:l.required}}},computed:{buttonMessage:function(){return this.sending?this.$t("auth.login.button_label_sending"):this.$t("auth.login.button_label")}},methods:{login:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,data,o,l,c,m,v,f,h;return regeneratorRuntime.wrap((function(e){for(;;
1)switch(e.prev=e.next){case 0:if(t.$v.$touch(),t.$v.$invalid){e.next=46;break}return t.sending=!0,e.prev=3,e.next=6,t.$auth.loginWith("local",{data:t.form});case 6:if(n=e.sent,data=n.data,o=data.data.user,t.$auth.setUser(o),l=t.$store.getters["user/getActiveRoleType"],c=t.$store.getters["user/getActiveRoleData"],m=t.$store.getters["user/getActiveRoleTypeName"],v=t.$store.getters["user/isUserCompleted"],f=t.$store.getters["user/currentWizardStep"],t.$smartContract.createKeypairs(t.form),t.$smartContract.createBcData().then(Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.$store.commit("user/activateBcData"),n=t.$store.state.i18n.locale,"freelancer"!==l.name||null==c||!c.name||null!=(null==c?void 0:c.bcId)){e.next=13;break}return e.next=5,t.$smartContract.setFreelancerProperties(c,n);case 5:return o=e.sent,e.next=8,t.$axios.put("/freelancers/regBcFreelancer",o);case 8:r=e.sent,console.log(o),console.log(r.data),e.next=22;break;case 13:if("client"!==l.name||null==c||!c.name||null!=(null==c?void 0:c.bcId)){e.next=22;break}return e.next=16,t.$smartContract.setClientProperties(c,n);case 16:return d=e.sent,e.next=19,t.$axios.put("/clients/regBcClient",d);case 19:r=e.sent,console.log(d),console.log(r.data);case 22:case"end":return e.stop()}}),e)})))).catch((function(t){return console.error(t.response?t.response.data:t)})),t.form=_({},$),t.$v.$reset(),t.$Tawk&&t.$Tawk.$updateChatUser({name:t.$store.getters["user/getUserName"],email:o.email}),t.$sentry&&t.$sentry.setUser({id:o.id,email:o.email}),t.$gtag.set({user_id:o.id}),t.$gtag.event("login",{role:m,method:"email"}),v){e.next=28;break}return e.next=26,t.$router.replace(t.localePath("/create-".concat(l.name,"/").concat(f)));case 26:e.next=36;break;case 28:if(!(h=t.$auth.$storage.getUniversal("redirect"))){e.next=34;break}return e.next=32,t.$router.replace(h);case 32:e.next=36;break;case 34:return e.next=36,t.$router.replace(t.localePath(d.a[m]));case 36:t.$socket.disconnect(),t.$socket.connect(),t.sending=!1,e.next=46;break;case 41:return e.prev=41,e.t0=e.catch(3),t.sending=!1,e.next=46,t.handleError(e.t0);case 46:case"end":return e.stop()}}),e,null,[[3,41]])})))()}}},y=n(12),component=Object(y.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"auth-form"},[n("h1",{staticClass:"mb-5 text-center text-lg-left"},[t._v("\n    "+t._s(t.$t("auth.login.title"))+"\n  ")]),t._v(" "),n("b-form",{on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[n("b-form-group",[n("b-form-input",{attrs:{type:"email",placeholder:t.$t("auth.login.email"),size:"lg",state:t.$v.form.email.$dirty?!t.$v.form.email.$error:null},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),n("validation-messages",{attrs:{title:"Email",validation:t.$v.form.email}})],1),t._v(" "),n("b-form-group",[n("b-form-input",{attrs:{type:"password",placeholder:t.$t("auth.login.password"),size:"lg",state:t.$v.form.password.$dirty?!t.$v.form.password.$error:null},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),n("validation-messages",{attrs:{title:"Password",validation:t.$v.form.password}})],1),t._v(" "),n("h-captcha-input",{staticClass:"mb-2",attrs:{validation:t.$v.form.token},on:{verified:t.handleCaptchaVerified}}),t._v(" "),n("b-button",{staticClass:"mb-3",attrs:{type:"submit",variant:"dark",size:"lg",block:"",disabled:t.sending}},[t._v("\n      "+t._s(t.buttonMessage)+"\n    ")]),t._v(" "),n("div",{staticClass:"text-center"},[n("nuxt-link",{attrs:{to:t.localePath("/forgot-password")}},[t._v("\n        "+t._s(t.$t("auth.login.forgot_password"))+"\n      ")])],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports},1825:function(t,e,n){"use strict";n.r(e);var r=n(1079),o=n(1544),l=n(1020),c={name:"LoginPage",components:{AuthContainer:r.default,LoginForm:o.default},mixins:[l.a],layout:"auth",auth:!1},d=n(12),component=Object(d.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("auth-container",{scopedSlots:t._u([{key:"description",fn:function(){return[n("auth-description")]},proxy:!0}])},[n("login-form")],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{AuthDescription:n(1151).default,AuthContainer:n(1079).default})}}]);
2//# sourceMappingURL=1b614aa.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.