1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"d550ef807d0377358caaeb96b27eda673de86179"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6688be12-dcd8-43fa-9e29-e74405af7f97",t._sentryDebugIdIdentifier="sentry-dbid-6688be12-dcd8-43fa-9e29-e74405af7f97")}catch(n){}}();import{V as t,n as e,i as n,N as r,E as a,e as s,S as i,bQ as o,a7 as d}from"./client-B_OO2n2q.js";import{O as u}from"./OnboardingScaffold-DwTh8nd8.js";import{O as l}from"./OnboardingStep-DpUsC1nH.js";import{A as c}from"./AuthFormContent-R0mzj3e_.js";import"./KanopyForm-B7ccVCLt.js";import"./InlineExternalLink-CZAHzaTX.js";import"./ProxyModal-Cmu41beD.js";import"./CTAButtonBlackAndWhite-CDeFVSOp.js";import"./Spinner-tQpZnze5.js";const f=e(t.extend({name:"AuthLibraryContentHeader",components:{OnboardingStep:l}}),function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"auth-library-header"},[e("onboarding-step",{attrs:{step:3,total:4}}),e("h1",{staticClass:"title"},[t._v(t._s("Add your library card".localized()))])],1)},[],!1,null,"1fd6f170").exports;const b=e(t.extend({name:"AuthLibraryContent",methods:{on_auth_success(){const t=this.$router.currentRoute.query.destination;if(this.$kuistore.commit("site/set_new_user_intro_modal",!0),this.$kuistore.getters["user/has_user_account_logged_in"])n(t)?r.navigate(this.$router,t,!1):r.navigate(this.$router,`/user/${this.$kuistore.state.user.user?.userId}/identities`);else{a.sendEvent(this.$nuxt.context,s.Onboarding,{event_label:"add_library_card",onboarding_step:3});let e="/signup/create/publiclibrary";n(t)&&(e=`${e}?destination=${t}`),r.navigate(this.$router,e)}}},components:{OnboardingScaffold:u,AuthLibraryContentHeader:f,AuthFormContent:c}}),function(){var t=this,e=t._self._c;return t._self._setupProxy,e("onboarding-scaffold",{attrs:{nav_back_path:"/signup/find/publiclibrary"}},[e("div",{staticClass:"content-section"},[e("auth-library-content-header"),e("auth-form-content",{on:{auth_success:t.on_auth_success}})],1)])},[],!1,null,"3fd1ffcb").exports;const h=e(t.extend({name:"SignupAuthLibrary",layout:"onboarding-no-header",middleware(t){new i(o).addNewGuard({name:"VP is a public library",checker:(t,e)=>t.$kuistore.state.site.domain?.institutionType!==d.Publiclibrary&&e(t),handler:t=>{const e=t.route.query.destination;let a="/signup/auth/university";return n(e)&&(a=`${a}?destination=${e}`),r.redirect(t,a),!0}}).guard(t)},head:{title:"Add your library card | Kanopy"},components:{AuthLibraryContent:b}}),function(){var t=this._self._c;return this._self._setupProxy,t("auth-library-content")},[],!1,null,"dc1ae1c4").exports;export{h as default}; 2//# sourceMappingURL=publiclibrary-CCGYnLho.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.