PageSourceSearch

https://www.kanopy.com/kui-assets/confirm-BrNmx58_.js

js kanopy.com collected 2026-09-24 08:29:40 UTC 3,748 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"f2e84f41ed6c0beba456d92f07f35b71be0836fd"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8eace2da-1a5e-44c2-9484-682162b75634",e._sentryDebugIdIdentifier="sentry-dbid-8eace2da-1a5e-44c2-9484-682162b75634")}catch(s){}}();import{V as e,aM as t,J as s,C as a,N as o,d as i,n,q as r,S as c,bu as l}from"./client-ANZ33kkl.js";const u=n(e.extend({name:"DeleteAccountConfirmation",data:()=>({show_all_memberships:!1}),computed:{cancel_link(){return`/user/${this.$kuistore.getters["user/userId"]}/information`},description:()=>"You are about to delete your account. Once your account is deleted, you won't be able to access Kanopy through the following library memberships:".localized(),filtered_memberships(){return this.show_all_memberships?this.$kuistore.state.user.memberships??[]:this.$kuistore.state.user.memberships?.slice(0,1)??[]},memberships(){return this.$kuistore.state.user.memberships??[]},more_button_text(){return"+{memberships} more".localized({memberships:this.memberships.length-1})},warning:()=>"Kanopy will remove your account information within 30 days, and deleted accounts can’t be recovered. You won’t be able to create a new account with any memberships listed above until next month. Deleting your Kanopy account will not affect your library or university accounts.".localized()},methods:{async delete_account(){try{await this.$kuistore.dispatch("user/delete_account"),await this.$kuistore.dispatch("user/logout"),o.navigate(this.$router,"/")}catch(e){const t="We weren't able to delete your account. Please try again.".localized();i.notify(t).asFailure().asHtml().during(15e3).push()}},show_more(){this.show_all_memberships=!0}},components:{CTAButton:a,KanopyLink:s,ContentSection:t}}),function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"container"},[t("div",{staticClass:"header-container"},[t("h1",{staticClass:"header"},[e._v(e._s("Delete Account Confirmation".localized()))])]),t("div",{staticClass:"content"},[t("div",{staticClass:"description"},[e._v(e._s(e.description))]),t("content-section",{staticClass:"content-section"},[t("ul",{attrs:{"data-clarity-mask":"true"}},[e._l(e.filtered_memberships,function(s,a){return t("li",{key:a,staticClass:"membership"},[e._v(" "+e._s(s.sitename)+" ")])}),e.memberships.length>1&&!e.show_all_memberships?t("button",{staticClass:"show-more",on:{click:e.show_more}},[e._v(" "+e._s(e.more_button_text)+" ")]):e._e()],2)]),t("div",{staticClass:"warning"},[e._v(e._s(e.warning))]),t("div",{staticClass:"delete-container"},[t("div",{staticClass:"confirm-text"},[e._v(e._s("Do you want to delete your account?".localized()))]),t("c-t-a-button",{staticClass:"delete-button",attrs:{title:"Yes, delete my account".localized()},on:{click:e.delete_account}}),t("kanopy-link",{staticClass:"cancel-button",attrs:{title:"No, cancel my request".localized(),to:e.cancel_link}})],1)],1)])},[],!1,null,"20bde2c9").exports;const d=n(e.extend({name:"DeleteAccountConfirmPage",layout:"default",middleware(e){new c(l).guard(e)},head:{title:`${"Delete Account".localized()} | Kanopy`},validate(e){const t=e.params.id;return r.isEmpty(t)?Promise.resolve(!1):e.from.fullPath.includes(`/user/${t}/delete-account/verify`)?Promise.resolve(!0):(o.redirect(e,`/user/${t}/information`),Promise.resolve(!1))},components:{DeleteAccountConfirmation:u}}),function(){var e=this._self._c;return this._self._setupProxy,e("delete-account-confirmation")},[],!1,null,"41b836de").exports;export{d as default};
2//# sourceMappingURL=confirm-BrNmx58_.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.