PageSourceSearch

https://www.joyn.at/_next/static/chunks/pages/abo-kuendigen-c99890db3dceec8d.js

js joyn.at collected 2026-10-01 12:02:27 UTC 9,007 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4849],{17865:(a,e,l)=>{"use strict";l.d(e,{z:()=>o});var t=l(80263);l(53239);var n=l(80363),i=l.n(n);let o=a=>{let{children:e}=a;return(0,t.jsx)("div",{className:i().CancellationContent,children:e})}},56300:(a,e,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/abo-kuendigen",function(){return l(63794)}])},60484:(a,e,l)=>{"use strict";l.d(e,{s:()=>n,y:()=>i});var t=l(29065);let n={DEATH:(0,t.o)("DEATH_REASON"),MOVE_ABROAD:(0,t.o)("MOVE_ABROAD_REASON"),BY_GUARDIAN:(0,t.o)("BY_GUARDIAN_REASON"),OTHER:(0,t.o)("OTHER_REASON_SELECTION")},i={ORDINARY:(0,t.o)("ORDINARY_CANCELLATION_TYPE"),EXTRAORDINARY:(0,t.o)("EXTRA_ORDINARY_CANCELLATION_TYPE")}},63794:(a,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>f});var t=l(80263),n=l(29065),i=l(38306),o=l(63422),r=l(53239),s=l(61654),c=l(9893),d=l(17865),_=l(35293),A=l(63168),O=l(87101),u=l(26477),N=l(50),C=l(90372),E=l(75198),m=l(37138),T=l(17556),v=l(15994),g=l(13693),h=l(44186),p=l(80363),L=l.n(p),R=l(60484);let I=()=>{var a,e;let{push:l}=(0,N.Y)(),i=(0,u.T)(),s=null==i||null==(a=i.activeSubscriptions)?void 0:a[0],c=(0,_.fP)(null==s||null==(e=s.productDetails)?void 0:e.id),{addToast:d}=(0,A.Yf)(),[p,I]=(0,m.Q)("CancellationFormResponseData",null),[x,b]=(0,r.useState)(!1),[j,y]=(0,r.useState)(!1),[B,D]=(0,r.useState)(null),[f,P]=(0,r.useState)(""),S=B===g.id.EXTRAORDINARY,M=f===g.Ys.OTHER,K=(0,r.useRef)(null),H=async a=>{var e,t,i;a.preventDefault();let o=a.currentTarget.elements,r={cancellationType:null==(e=o["cancellation-type"])?void 0:e.value,cancellationReason:null==o||null==(t=o["cancellation-reason"])?void 0:t.value,cancellationReasonDetails:null==o||null==(i=o["cancellation-reason-details"])?void 0:i.value,fullName:o["full-name"].value,email:o.email.value,birthdate:o.birthdate.value,campaignType:"CANCELLATION"};try{b(!0);let a=(0,O.$)("NEXT_PUBLIC_CANCELLATION_HASH");if(!a)throw Error((0,n.o)("CANCELLATION_ERROR"));let e=(0,C.ZC)(C.h_,a+(0,C.V2)()),t=await fetch("/api/cancellation-email",{method:"POST",headers:{"Content-Type":"application/json","X-Cancellation-Token":e},body:JSON.stringify(r)});if(t.ok){let a=await (null==t?void 0:t.json());I(a.data),T.j.trackEvent("Subscription Cancellation Completed",{productId:c}),l("/abo-kuendigen-bestaetigung")}else{if(t.status===E.tG[E.sA.UNPROCESSABLE_ENTITY]){let a=(await (null==t?void 0:t.json())).data[0],e=a?E.Pm[a]:(0,n.o)("CANCELLATION_INVA
1LID");throw Error(e)}if(t.status===E.tG[E.sA.TOO_MANY_REQUESTS])throw Error((0,n.o)("CANCELLATION_RATELIMIT"));throw Error((0,n.o)("CANCELLATION_ERROR"))}}catch(a){b(!1),d({message:a instanceof Error?a.message:(0,n.o)("TOAST_ERROR_MESSAGE"),appearance:"success"})}},Y=a=>{D(a.target.value)};return(0,t.jsxs)("form",{onSubmit:H,style:{marginTop:"var(--global-ui-space-14)"},children:[(0,t.jsxs)("fieldset",{style:{marginBottom:"var(--global-ui-space-6-1)"},children:[(0,t.jsx)("legend",{children:(0,t.jsx)(o.o,{as:"h2",variant:"CAMPTON_BOLD_20_120",style:{marginBottom:"var(--global-ui-space-6-1)"},children:(0,n.o)("CANCELLATION_KIND_HEADLINE")})}),(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-3)"},children:(0,n.o)("CANCELLATION_KIND")}),(0,t.jsxs)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-2)"},children:[(0,t.jsx)("input",{ref:K,...(0,h.dA)((0,n.o)("CHOOSE_CANCELLATION_KIND"))({type:"radio",required:!0,name:"cancellation-type",id:"ordinary",value:g.id.ORDINARY,checked:B===g.id.ORDINARY,onChange:Y})}),(0,t.jsx)("label",{htmlFor:"ordinary",children:(0,n.o)("ORDINARY_CANCELLATION")})]}),(0,t.jsxs)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-3-1)"},children:[(0,t.jsx)("input",{type:"radio",name:"cancellation-type",id:"extraordinary",value:g.id.EXTRAORDINARY,onChange:a=>{var e;a.currentTarget.setCustomValidity(""),null==(e=K.current)||e.setCustomValidity(""),Y(a)},checked:B===g.id.EXTRAORDINARY}),(0,t.jsx)("label",{htmlFor:"extraordinary",children:(0,n.o)("EXTRA_ORDINARY_CANCELLATION")})]}),S&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginTop:"var(--global-ui-space-8)",marginBottom:"var(--global-ui-space-3)"},children:(0,t.jsx)("label",{htmlFor:"cancellation-reason",children:(0,n.o)("REASON_OF_CANCELLATION")})}),(0,t.jsxs)("select",{...(0,h.dA)((0,n.o)("PICK_CANCELLATION_REASON"))({name:"cancellation-reason",id:"cancellation-reason",required:!0,onChange:a=>{P(a.target.value)},value:f,defaultValue:""}),children:[(0,t.jsx)("option",{value:"",disabled:!0,children:(0,n.o)("PICK_REASON")}),Object.entries(R.s).map(a=>{let[e,l]=a;return(0,t.jsx)("option",{value:e,children:l},e)})]}),M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginTop:"var(--global-ui-space-6-1)",marginBottom:"var(--global-ui-space-3)"},children:(0,t.jsx)("label",{htmlFor:"cancellation-reason-details",children:(0,n.o)("PUT_REASON")})}),(0,t.jsx)("div",{style:{marginTop:"var(--global-ui-space-4)",marginBottom:"var(--global-ui-space-6-1)"},children:(0,t.jsx)("input",{...(0,h.dA)((0,n.o)("DESCRIBE_REASON_OF_CANCELLATION"))({type:"text",required:!0,maxLength:50,name:"cancellation-reason-details",id:"cancellation-reason-details","aria-label":(0,n.o)("OTHER_REASON")})})})]})]})]}),(0,t.jsxs)("fieldset",{style:{marginTop:"var(--global-ui-space-6-1)",marginBottom:"var(--global-ui-space-6-1)"},children:[(0,t.jsx)("legend",{children:(0,t.jsx)(o.o,{as:"h2",variant:"CAMPTON_BOLD_20_120",style:{marginTop:"var(--global-ui-space-6-1)",marginBottom:"var(--global-ui-space-6-1)"},children:(0,n.o)("PERSONAL_DETAILS")})}),(0,t.jsxs)("div",{style:{marginBottom:"var(--global-ui-space-6-1)"},children:[(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-3)"},children:(0,t.jsx)("label",{htmlFor:"full-name",children:(0,n.o)("NAME")})}),(0,t.jsx)("input",{...(0,h.dA)((0,n.o)("FULL_NAME"))({type:"text",required:!0,name:"full-name",id:"full-name"})})]}),(0,t.jsxs)("div",{style:{marginBottom:"var(--global-ui-space-6-1)"},children:[(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-3)"},children:(0,t.jsx)("label",{htmlFor:"email",children:(0,n.o)("EMAIL")})}),(0,t.jsx)("input",{...(0,h.dA)((0,n.o)("CHECK_EMAIL"))({type:"email",required:!0,name:"email",id:"email"})}),(0,t.jsx)(o.o,{variant:"CAMPTON_BOOK_14_120",style:{marginTop:"var(--global-ui-space-3)"},children:(0,n.o)("EMAIL_HINT")})]}),(0,t.jsxs)("div",{style:{marginBottom:"var(--global-ui-space-6-1)"},children:[(0,t.jsx)(o.o,{as:"div",variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-3)"},children:(0,t.jsx)("label",{htmlFor:"birthdate",children:(0,n.o)("BIRTHDAY")})}),(0,t.jsx)("input",{...(0,h.dA)((0,n.o)("CHECK_BIRTHDAY"))({type:"text",required:!0,name:"birthdate",id:"birthdate",pattern:"[0-9]{1,2}[.][0-9]{1,2}[.][0-9]{4}"})})]})]}),(0,t.jsxs)("div",{className:L().DataProofCheckboxContainer,children:[(0,t.jsx)("input",{...(0,h.dA)((0,n.o)("CHECK_CANCELLATION_DATA_PROOF"))({type:"checkbox",required:!0,name:"data-proof",id:"data-proof",checked:j,onChange:a=>{y(a.target.checked)}})}),(0,t.jsx)("label",{htmlFor:"data-proof",children:(0,t.jsx)(o.o,{variant:"CAMPTON_BOOK_16_120",as:"div",children:(0,n.o)("CANCELLATION_DATA_PROOF")})})]}),(0,t.jsx)(v.$,{type:"submit",isLoading:x,disabled:x,children:(0,n.o)("SUBMIT_CANCELLATION")})]})};var x=l(23993),b=l(90465),j=l(83621),y=l.n(j),B=l(79523),D=l(64119);let f=y()(b.q,(0,x.W)({pageName:B.PO.Unsubscribe}),(0,D.V)({hasPageLayout:!0,stickyHeaderLayout:!0}))(()=>(0,i.q)()?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.G,{pageTitle:(0,n.o)("PAGE_TITLE"),metaTags:{description:(0,n.o)("META_DESCRIPTION"),indexMarker:"noindex"}}),(0,t.jsx)(c.r,{}),(0,t.jsxs)(d.z,{children:[(0,t.jsx)(o.o,{as:"h1",variant:"CAMPTON_BOLD_26_120",style:{marginBottom:"var(--global-ui-space-6-1)"},children:(0,n.o)("CANCEL_HEADLINE")}),(0,t.jsx)(o.o,{variant:"CAMPTON_BOLD_16_120",style:{marginBottom:"var(--global-ui-space-5)"},children:(0,n.o)("SUB_CANCEL_HEADLINE")}),(0,t.jsx)(o.o,{variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-5)"},children:(0,n.o)("MANDATORY_HEADLINE")}),(0,t.jsx)(o.o,{variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-5)"}
1,dangerouslySetInnerHTML:{__html:(0,n.o)("ALTERNATIVE_CANCELLATION_TEXT")}}),(0,t.jsx)(o.o,{variant:"CAMPTON_BOOK_16_120",style:{marginBottom:"var(--global-ui-space-5)"},dangerouslySetInnerHTML:{__html:(0,n.o)("COMPLETE_HINT")}}),(0,t.jsx)(I,{})]})]}):null)},80363:a=>{a.exports={CancellationContent:"Cancellation_CancellationContent__IcpTC",DataProofCheckboxContainer:"Cancellation_DataProofCheckboxContainer__cfJVE",fadeInKeyframes:"Cancellation_fadeInKeyframes__gsZfE",fadeOutKeyframes:"Cancellation_fadeOutKeyframes__E6Nft"}}},a=>{a.O(0,[3976,5385,4183,5327,3653,5364,9558,1603,2958,7036,348,636,6593,8792],()=>a(a.s=56300)),_N_E=a.O()}]);

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.