PageSourceSearch

https://getpica.com/js/signup.65eb5fd0.js

js getpica.com collected 2026-09-24 11:20:01 UTC 15,711 bytes, 2 lines download raw bytes

1(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["signup"],{"1aa5":function(t,e,r){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-wrapper"},[e("div",{staticClass:"intro-section__form"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.signup.apply(null,arguments)}}},[e("div",{staticClass:"form-group",class:{"form-group--error":t.hasValidationError("email")}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input input-lg form-control",attrs:{type:"email",required:"",placeholder:t.$t("forms.signup_form.email")},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t.hasValidationError("email")?e("span",{staticClass:"form-group--error__message"},[t._v("\n          "+t._s(t.validationErrorsEmail)+"\n        ")]):t._e()]),e("div",{staticClass:"form-group",class:{"form-group--error":t.hasValidationError("password")}},[e("input-password",{attrs:{required:!0,autocomplete:"new-password",placeholder:t.$t("forms.signup_form.password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),t.hasValidationError("password")?e("span",{staticClass:"form-group--error__message"},[t._v("\n          "+t._s(t.validationErrors.password)+"\n        ")]):t._e()],1),e("transition",{attrs:{name:"slide"}},[t.password?e("div",{staticClass:"form-group"},[e("input-password",{attrs:{required:!0,autocomplete:"new-password","extra-classes":"input-confirm",placeholder:t.$t("forms.signup_form.password_confirm"),paste:function(){return!1}},model:{value:t.passwordConfirm,callback:function(e){t.passwordConfirm=e},expression:"passwordConfirm"}})],1):t._e()]),e("div",{staticClass:"form-check-container"},[t.getAppConfigReady?e("div",{staticClass:"form-check"},[t.$store.state.appConfig.privacyCheckboxes&&t.getPrivacyCheckboxes.length?e("div",[t._l(t.getPrivacyCheckboxes,(function(r){return[e("b-form-checkbox",{key:r.field_name,attrs:{required:r.is_required,name:r.field_name,value:!0,"unchecked-value":!1},model:{value:t.userCheckboxChoices[r.field_name],callback:function(e){t.$set(t.userCheckboxChoices,r.field_name,e)},expression:"userCheckboxChoices[checkbox.field_name]"}},[e("span",{domProps:{innerHTML:t._s(r.label)}})])]}))],2):e("div",[e("b-form-checkbox",{attrs:{required:"",name:"consent_privacy_and_terms",value:"true","unchecked-value":"false"},model:{value:t.consent_privacy_and_terms,callback:function(e){t.consent_privacy_and_terms=e},expression:"consent_privacy_and_terms"}},[[e("span",{domProps:{innerHTML:t._s(t.privacyStatement)}})]],2)],1),t.hasValidationError("consent_privacy_and_terms")?e("span",{staticClass:"form-group--error__message"},[t._v("\n            "+t._s(t.validationErrors.consent_privacy_and_terms)+"\n          ")]):t._e()]):t._e()]),e("div",{staticClass:"form-group"},[e("button",{staticClass:"btn btn-primary m-0 w-100",attrs:{type:"submit",disabled:t.loading}},[t.loading?e("b-spinner",{attrs:{small:"",label:"Loading..."}}):e("span",[t._v(t._s(t.$t("forms.signup_form.create_account_btn")))])],1)])],1)]),t.showSocialLogin?e("SocialLogin"):t._e(),t.showBottomPoweredBy?e("div",{staticClass:"row d-lg-flex align-items-center mt-4"},[e("div",{staticClass:"col-lg-12"},[e("PoweredBy",{attrs:{url:t.urlPoweredBy}})],1)]):t._e()],1)},i=[],n=r("413d"),s=r("2f62"),a=r("8c4f"),c=r("6f60"),l=r("a5f5"),u=r("fcf3"),p=r("ed08");function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){var e=b(t,"string");return"symbol"==d(e)?e:e+""}function b(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var h={components:{PoweredBy:u["a"],SocialLogin:l["a"],InputPassword:c["a"]},data:function(){return{email:"",password:"",passwordConfirm:"",consent_privacy_and_terms:!1,loading:!1,validationErrors:{},userCheckboxChoices:{}}},props:{backHomeBtnTxt:{type:String,required:!1}},watch:{getAppConfigReady:{handler:function(){this.setUserCheckboxChoices()},immediate:!0}},computed:m(m(m({},Object(s["c"])(["thirdLevelDomain"])),Object(s["c"])("appConfig",["getPrivacyCheckboxes","getAppConfigReady","getEventOwnerId","disableSocialLogin"])),{},{useStrongPassword:function(){return void 0!==this.thirdLevelDomain&&this.thirdLevelDomain.includes("watchesandwonders")},showSocialLogin:function(){return!!this.getAppConfigReady&&(!this.disableSocialLogin&&!["photos"].includes(this.thirdLevelDomain))},validationErrorsEmail:function(){return this.validationErrors.email[0]},privacyStatement:function(){return this.$t("forms.signup_form.privacy_statement",{terms_url:this.policyUrl().terms,privacy_url:this.policyUrl().privacy})},showBottomPoweredBy:function(){var t=["hublot"];return t.includes(this.thirdLevelDomain)},urlPoweredBy:function(){return"https://business.getpica.com/?utm_source=hublot.getpica.com&utm_medium=website&utm_campaign="+this.thirdLevelDomain}}),methods:{policyUrl:p["h"],setUserCheckboxChoices:function(){var t={},e=this.getPrivacyCheckboxes;e.forEach((function(e){t[e.field_name]=!1})),this.$set(this,"userCheckboxChoices",t)},validateFormData:function(){if(this.validationErrors={},this.password!==this.passwordConfirm)return this.$set(this.validationErrors,"password",this.$t("forms.signup_form.password_error_match")),!1;if(this.useStrongPassword){var t=/^(?=.*\d)(?=.*[A-Z])(?=.*\W).{8,}$/;if(!t.test(this.password))return this.$set(this.validationErrors,"password",this.$t("forms.signup_form.password_error_invalid")),!1}return!0},signup:function(){var t=this;if(this.loading)return!1;if(!this.validateFormData())return!1;this.validationErrors=m({},this.validationErrors),this.loading=!0;var e={email:this.email,password:this.password,language:this.$i18n.locale};e.event_owner_id=this.getEventOwnerId,this.getEventOwnerId&&this.getPrivacyCheckboxes.length?e.consent_third_party_fields=this.userCheckboxChoices:e.consent_privacy_and_terms=this.consent_privacy_and_terms,n["a"].createAccount(e).then((function(){var e={email:t.email,password:t.password};t.$store.dispatch("auth/login",e).then((function(){t.loading=!1,t.$router.push({name:"checkins-list"}).catch((function(t){if(!Object(a["b"])(t))throw t})),t.$store.getters["showMarketingCheck"]&&t.$bvModal.show("modal-marketing-consent")})).catch((function(e){t.loading=!1}))})).catch((function(e){t.loading=!1,t.validationErrors=Object.assign({},t.validationErrors,e.response.data)}))},hasValidationError:function(t){return this.validationErrors.hasOwnProperty(t)}}},v=h,y=r("2877"),w=Object(y["a"])(v,o,i,!1,null,null,null);e["a"]=w.exports},"34c3":function(t,e,r){"use strict";r.r(e);var o=function(){var t=this,e=t._self._c;return e("section",[e("LayoutAccount",{scopedSlots:t._u([{key:"title",fn:function(){return[t.getAppConfigReady&&t.loginSubtitle?e("h5",{staticClass:"mb-3 intro-pre-title",domProps:{innerHTML:t._s(t.loginSubtitle)}}):t._e(),t.isPicaThirdLevelDomain?[e("div",[t._v(t._s(t.$t("pages.login.getPica_title")))]),e("div",{staticStyle:{color:"#CECCE8","font-size":"16px","font-weight":"400","margin-top":"8px"}},[t._v(t._s(t.$t("pages.login.getPica_subtitle")))])]:[t._v("\n        "+t._s(t.$t("pages.signup.headline_title_line1"))+" "+t._s(t.$t("pages.signup.headline_title_line2"))+"\n      ")]]},proxy:!0},{key:"subtitle",fn:function(){return[t.socialLoginOnTop?[e("SocialLogin",{attrs:{title:t.$t("forms.login_form.social_login_title_top")}}),t._v("\n        "+t._s(t.$t("forms.login_form.social_login_title_or"))+" "),e("span",{staticClass:"text-lowercase"},[t._v(t._s(t.$t("pages.signup.headline_txt"))+" "),e("router-link",{staticClass:"text-primary text-capitalize",attrs:{to:{name:"login"},exact:""}}
1,[t._v(t._s(t.$t("forms.signup_form.btn_login")))])],1)]:[e("span",[t._v(t._s(t.$t("pages.signup.headline_txt"))+" "),e("router-link",{staticClass:"text-primary",attrs:{to:{name:"login"},exact:""}},[t._v(t._s(t.$t("forms.signup_form.btn_login")))])],1)]]},proxy:!0},{key:"mainContent",fn:function(){return[e("SignupForm")]},proxy:!0}])}),t.isPicaThirdLevelDomain?[e("B2BSection")]:t._e()],2)},i=[],n=r("8917"),s=r("1aa5"),a=r("e932"),c=r("2f62"),l=r("a5f5");function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){var e=g(t,"string");return"symbol"==u(e)?e:e+""}function g(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var _={components:{SocialLogin:l["a"],B2BSection:a["a"],LayoutAccount:n["a"],SignupForm:s["a"]},computed:d(d(d({},Object(c["c"])(["isPicaThirdLevelDomain","thirdLevelDomain"])),Object(c["c"])("appConfig",["getAppConfigReady","loginSubtitle"])),{},{socialLoginOnTop:function(){return["photos"].includes(this.thirdLevelDomain)}})},b=_,h=r("2877"),v=Object(h["a"])(b,o,i,!1,null,null,null);e["default"]=v.exports},4268:function(t,e,r){},4281:function(t,e,r){t.exports=r.p+"img/pica-text.3969db5a.svg"},8917:function(t,e,r){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",[t.isPicaThirdLevelDomain?e("GetPicaHeader"):t._e(),e("div",{staticClass:"container account intro-section",class:{"
1intro-section--powered-by":t.showPoweredBy}},[e("div",{staticClass:"row d-lg-flex align-items-center"},[t.showPoweredBy?e("div",{staticClass:"col-lg-12"},[e("PoweredBy",{attrs:{"as-logo":["photos","fotosmile"].includes(t.thirdLevelDomain)}})],1):t._e(),e("div",{staticClass:"col-12 col-sm-10 offset-sm-1 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xxl-4 offset-xxl-4 intro-section__headline"},[t.isPicaThirdLevelDomain?t._e():e("div",{staticClass:"intro-section__headline__image d-block"},[e("router-link",{attrs:{to:{name:"homepage"}}},[e("Transition",{attrs:{name:"fade"}},[t.getAppConfigReady?e("img",{attrs:{src:t.$store.getters["appConfig/getAppLogo"],alt:"Logo"}}):t._e()])],1)],1),e("h1",{staticClass:"intro-section__headline__title"},[t._t("title")],2),e("h4",{staticClass:"intro-section__headline__txt"},[t._t("subtitle")],2)]),e("div",{staticClass:"col-12 col-sm-10 offset-sm-1 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xxl-4 offset-xxl-4"},[t._t("mainContent")],2),t._t("bottomContent")],2)])],1)},i=[],n=r("2f62"),s=r("fcf3"),a=function(){var t=this,e=t._self._c;return e("header",{staticClass:"get-pica-header container"},[e("div",{staticClass:"get-pica-header__logo"},[e("img",{staticClass:"get-pica-header__logo-icon",attrs:{src:t.picaIconSrc,alt:"GetPica"}}),e("img",{attrs:{src:t.picaTextSrc,alt:"GetPica"}})]),e("a",{staticClass:"get-pica-header__btn",attrs:{href:t.b2bUrl,target:"_blank",rel:"noopener"}},[e("span",[t._v(t._s(t.$t("menu.discover_pica")))]),e("Icon",{attrs:{name:"arrowNarrowUpRight",width:17}})],1)])},c=[],l=r("5231"),u=r("b48c"),p=r.n(u),d=r("4281"),f=r.n(d),m=r("ed08"),g={name:"GetPicaHeader",components:{Icon:l["a"]},computed:{picaIconSrc:function(){return p.a},picaTextSrc:function(){return f.a},b2bUrl:function(){return Object(m["d"])(m["g"].HEADER)}}},_=g,b=(r("aaad"),r("2877")),h=Object(b["a"])(_,a,c,!1,null,"11c245a5",null),v=h.exports;function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function O(t,e,r){return(e=P(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t){var e=x(t,"string");return"symbol"==y(e)?e:e+""}function x(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=y(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var j={components:{PoweredBy:s["a"],GetPicaHeader:v},computed:C(C(C({},Object(n["c"])(["isPicaThirdLevelDomain","thirdLevelDomain"])),Object(n["c"])("appConfig",["getAppConfigReady","getHidePoweredByLogo"])),{},{showPoweredBy:function(){return this.getAppConfigReady&&!this.getHidePoweredByLogo&&!this.isPicaThirdLevelDomain}})},S=j,k=Object(b["a"])(S,o,i,!1,null,null,null);e["a"]=k.exports},aaad:function(t,e,r){"use strict";r("4268")},e932:function(t,e,r){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 text-center"},[e("div",{staticClass:"b2b-section"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-11 col-sm-10 col-md-7 col-lg-7 col-xl-6 col-xxl-5"},[e("div",{staticClass:"b2b-section__box"},[e("h4",{staticClass:"b2b-section__title"},[t._v(t._s(t.$t("pages.homepage.b2b_section_title")))]),e("div",{staticClass:"b2b-section__message"},[t._v("\n                  "+t._s(t.$t("pages.homepage.b2b_section_txt"))+"\n                ")]),e("div",[e("a",{staticClass:"btn btn-primary",attrs:{href:t.getB2BUrl(t.metricB2B.BOX_CTA),target:"_blank"}},[t._v(t._s(t.$t("pages.homepage.b2b_section_btn")))])])])])])])])])])},i=[],n=r("ed08"),s={computed:{metricB2B:function(){return n["g"]}},methods:{getB2BUrl:n["d"]}},a=s,c=r("2877"),l=Object(c["a"])(a,o,i,!1,null,"3d3e8884",null);e["a"]=l.exports}}]);
2//# sourceMappingURL=signup.65eb5fd0.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.