PageSourceSearch

https://portal.ingemeinschaft.org/assets/index-CSQPjILO.js

js ingemeinschaft.org collected 2026-10-07 16:38:10 UTC 1,754 bytes, 1 lines download raw bytes

1import{y as C,g as y,aU as g,c3 as f,x as j,u as w,c4 as M,j as e,aV as b,aW as S,aZ as F,aC as v}from"./index-N0BqjmzG.js";import{r as E,F as d,S as N}from"./vendor-antd-D6_R94_L.js";import"./vendor-map-93e-Jyro.js";const T=C.div.withConfig({displayName:"styles__CancelModalContent",componentId:"sc-9dtn0m-0"})(["padding:1.5rem;min-width:477px;h2{margin-bottom:24px;}@media ","{min-width:fit-content;& form.ant-form{width:80vw;}}@media ","{padding:1.5rem 1rem;min-width:fit-content;& form.ant-form{width:80vw;}& button{width:100%;}}"],({theme:t})=>t.media.tablet,({theme:t})=>t.media.phone),z=({houseId:t,studentId:i,closeModal:n,matchStatus:m})=>{const[o,h]=E.useState(),{currentUserId:c}=y(),r=g(),{mutate:p,isLoading:l}=f(),u=j(),{t:a}=w("matches"),x=M.map(s=>({value:s,label:a("host.cancelMatchForm.reasons",{returnObjects:!0})[s]})),_=()=>{p({payload:{student_id:i,host_id:c,house_id:t??"",reason:o},matchStatus:m},{onSuccess:()=>{u.success({message:a("host.cancelled")}),window.dataLayer.push({event:"match_cancelled",user_id:c,house_id:t??"",student_id:i,user_type:"host"}),n()},onError:()=>{n()}})};return e.jsxs(T,{children:[e.jsx(b,{children:a("host.cancelMatchForm.title")}),e.jsxs(d,{layout:"vertical",onFinish:s=>{_()},children:[e.jsx(d.Item,{htmlFor:"cancel_match_reason",children:e.jsx(N,{options:x,value:o,placeholder:a("host.cancelMatchForm.placeholder"),size:r?"middle":"large",style:{minWidth:r?"100%":"350px"},onChange:s=>{h(s)},id:"cancel_match_reason",classNames:{popup:{root:"longOptionsTextSelectPopup"}}})}),e.jsxs(S,{children:[e.jsx(F,{size:"large",onClick:n,children:a("cancel")}),e.jsx(v,{htmlType:"submit",type:"primary",size:"large",disabled:l||!o,loading:l,children:a("host.cancelMatch")})]})]})]})};export{z as default};

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.