1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28305],{6017:(e,a,s)=>{"use strict";s.d(a,{A:()=>r});var t=s(95155),i=s(15239);let l={profile:"/assets/profile.png",hub:"/assets/hubs.png",news:"/assets/hubs.png",offering:"/assets/hubs.png",prototype:"/assets/hubs.png",group:"/assets/hubs.png"},r=e=>{let{image:a,fallback:s,preferredSize:r="original",blurPlaceholder:n=!1,fill:o=!1,...c}=e,{src:d,width:u,height:m,availableFormats:h}=((e,a,s)=>{if(e){let{url:s,width:t,height:i}=e,l=e.formats,r=Object.entries(l||{}).filter(e=>{let[a,s]=e;return void 0!==s}).map(e=>{let[a,s]=e;return s}).sort((e,a)=>e.width-a.width);if(a&&"original"!==a&&(null==l?void 0:l[a])){let e=l[a];s=e.url,t=e.width,i=e.height}return{src:s,width:t,height:i,availableFormats:r}}return s&&l[s]?{src:l[s],width:80,height:80}:{}})(a,r,s),p=h&&h.length>0?h.map((e,a,s)=>{if(a===s.length-1)return"(min-width: ".concat(e.width,"px) ").concat(e.width,"px");let t=s[a+1];return"(max-width: ".concat(t.width,"px) ").concat(e.width,"px")}).join(", "):void 0,f=c.alt||(null==a?void 0:a.caption)||(null==a?void 0:a.name)||"";return o&&(c.style&&"object"==typeof c.style?c.style.objectFit="cover":c.style={objectFit:"cover"}),n&&(c.placeholder="blur",c.blurDataURL="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mM0d3CuBwACqwE7WZLrjQAAAABJRU5ErkJggg=="),(0,t.jsx)(i.default,{src:d||"",width:o?void 0:u,height:o?void 0:m,sizes:p,fill:o,...c,alt:f})}},6236:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>g});var t=s(95155),i=s(12115),l=s(12758),r=s.n(l),n=s(33599),o=s(63365),c=s(65117),d=s(65442),u=s(40274),m=s(21960),h=s(82722),p=s(21632),f=s(76282),b=s(61633),x=s(71269);function j(e){var a,s;let{data:l={},group:r={},meta:j,onSubmit:g,isSaving:y,mutate:v}=e,{currentUser:_}=(0,x.Ay)(),w=(0,h.A)(),A=i.useRef(),N=(0,p.pu)(r)||[],C=null==(a=r.application)?void 0:a.status,k=r.applicationOpen,T=(0,p.Ng)(r),P=(0,p.r9)(r),[L,I]=(0,i.useState)(),[S,R]=(0,i.useState)(),[M,E]=(0,i.useState)([]),[q,U]=(0,i.useState)(()=>{var e;return!P||!k||["pending","approved","rejected"].includes(null==(e=r.application)?void 0:e.status)});if(!T)return(0,t.jsx)(n.default,{children:(0,t.jsx)(o.default,{children:(0,t.jsx)(m.A,{className:"my-3",variant:"danger",icon:"fa-exclamation-circle",children:(0,t.jsxs)("p",{children:["Only ",j.members_label_plural.toLowerCase()," can view this application"]})})})});let W=async()=>{let e=A.current.getValues();await A.current.clearErrors(),e.aps_main&&M.length<=1&&(e.aps_main=""),await g(e,{extensionCode:"success"===S?L:null});let a=document.querySelector(".main-wrapper");null==a||a.scrollTo(0,0)},F=async()=>{let e=await A.current.validate(),a=A.current.getValues();if(a.aps_main&&M.length<=1&&(a.aps_main=""),L&&(a.extensionCode=L),e){await g(a,{submit:!0,extensionCode:"success"===S?L:null});let e=document.querySelector(".main-wrapper");null==e||e.scrollTo(0,0)}},H=e=>{e.preventDefault(),"%u-lab%2x(2024)%"===L?(R("success"),U(!1)):R("failed")};return(0,t.jsxs)(b.lV,{defaultValues:l,onSubmit:()=>{},ref:A,children:[(()=>{if("approved"===C)return(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-medal",variant:"golden",callToAction:{url:"/offerings/".concat(r.offering.slug),label:"Go to program",variant:"gold",target:"_self"},children:[(0,t.jsx)("h4",{children:"Congratulations: Your application has been approved!"}),(0,t.jsxs)("p",{children:["Your ",j.entity_name.toLowerCase()," is now registered as participating in ",r.offering.title,"."]})]});if("pending"===C)return(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-info-circle",children:[(0,t.jsx)("h4",{children:"This application is currently being reviewed"}),(0,t.jsx)("p",{children:"During the review-period you can not change the application, unless it gets re-opened by one member of the u-school team. That said, adding / removing team members will always be possible and will be reflected in your application."})]});if(!k)if("success"!==S)return(0,t.jsx)(m.A,{className:"my-3",icon:"fa-info-circle",children:(0,t.jsxs)(n.default,{children:[(0,t.jsx)(o.default,{children:(0,t.jsxs)("h4",{className:"mt-1",children:["The application for ",r.offering.title," is closed"]})}),(0,t.jsx)(o.default,{className:"d-flex align-items-center text-end",children:P&&(0,t.jsxs)("div",{className:"group-application-closed-form d-block ms-auto",children:[(0,t.jsx)("input",{type:"password",className:"",placeholder:"Do you have a code?",onChange:e=>I(e.target.value)}),(0,t.jsx)("button",{onClick:H,children:"Check"}),"failed"===S&&(0,t.jsx)("p",{className:"mb-0 text-danger",children:"Invalid code"})]})})]})});else return(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-info-circle",children:[(0,t.jsxs)("h4",{children:["The application for ",r.offering.title," has been enabled!"]}),(0,t.jsx)("p",{children:"The application has been re-opened for you. Please make sure to submit your application as soon as possible."})]});return(!C||" "===C)&&P?(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-info-circle",children:[(0,t.jsxs)("h4",{children:["The application for ",r.offering.title," is open"]}),(0,t.jsxs)("p",{children:["As a ",j.hosts_label.toLowerCase()," of this ",j.entity_name.toLowerCase()," you have full access to the application form. While we encourage you to co-create, it is probably best, if you decide, who within your group of ",j.hosts_label_plural.toLowerCase()," will submit the application. Make sure, to not work on the form simultaniously, so that changes applied by one, will not be overwritten by those from another one."]})]}):"draft"===C?(0,t.jsxs)(t.Fragment,{children:[P&&(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-info-circle",children:[(0,t.jsx)("h4",{children:"This application is currently in draft mode"}),(0,t.jsxs)("p",{children:["As a ",j.hosts_label.toLowerCase()," of this ",j.entity_name.toLowerCase()," you have full access to the application form. While we encourage you to co-create, it is probably best, if you decide, who within your group of ",j.hosts_label_plural.toLowerCase()," will submit the application. Make sure, to not work on the form simultaniously, so that changes applied by one, will not be overwritten by those from another one."]})]}),!P&&(0,t.jsx)(m.A,{className:"my-3",icon:"fa-info-circle",children:(0,t.jsx)("h4",{children:"This application is currently in draft mode"})})]}):"reopened"===C?(0,t.jsxs)(m.A,{className:"my-3",icon:"fa-info-circle",children:[(0,t.jsx)("h4",{children:"This application has been re-opened"}),P&&(0,t.jsxs)("p",{children:["This means, that the u-school team was in contact with one of your ",j.hosts_label_plural.toLowerCase()," ","and they agreed on an update on the application form."]}),!P&&(0,t.jsxs)("p",{children:["A ",j.hosts_label.toLowerCase()," of this ",j.entity_name.toLowerCase(),", is now able to adjust your application form and submit it again. You can send them a message (clicking on their name) and let them know.",r.hosts.map(e=>(0,t.jsx)("strong",{children:(0,t.jsx)(u.A,{user:e,variant:"text-only"})},"host-"+e.id))]})]}):null})(),(0,t.jsxs)("fieldset",{className:"variant-grey light-label mb-5 p-5 mt-4",children:[(0,t.jsx)("h4",{className:"fw-bold",children:"About your project"}),(0,t.jsx)("div",{className:"pi-head-line"}),(0,t.jsx)("h5",{className:"mt-5 mb-3 pb-2 fw-bold subheadline",children:"Short video"}),(0,t.jsx)("p",{children:"Submit a URL to a video (youtube, vimeo or similar) 60 seconds or less in which you share:"}),(0,t.jsxs)("ol",{style:{marginLeft:"15px",paddingLeft:"0px"},children:[(0,t.jsx)("li",{children:"Who you are (brief bio)"}),(0,t.jsx)("li",{children:"Briefly tell us about your project"}),(0,t.jsx)("li",{children:"What question or societal need area are you and your colleagues working to address?"}),(0,t.jsx)("li",{children:"What leverage do you have within your core team to create change in this area"}),(0,t.jsx)("li",{children:"How would the u-lab 2x community of change makers benefit from your teamâs participation?"})]}
1),(0,t.jsx)(b.pd,{label:"Video-URL",name:"video_url",placeholder:"Please enter a URL to your video",config:{required:!0},disabled:q}),(0,t.jsx)(b.lM,{className:"mt-3",type:"checkbox",name:"share_video_consent",id:"share_video_consent",label:"I authorize the Presencing Institute/u-school for Transformation to share the video included in this form in social media postings, or other formats to provide stories of transformation to inspire the community.",disabled:q}),(0,t.jsx)("h5",{className:"mt-5 mb-3 pb-2 fw-bold subheadline",children:"Short Description"}),(0,t.jsx)("p",{}),(0,t.jsx)(b.TM,{name:"description",placeholder:"please enter a brief description of your project",label:"Please briefly describe your project",config:{required:!0},disabled:q}),(0,t.jsx)(b.pZ,{name:"primary_language",label:"Please select your primary operating language in your project team",config:{required:!0},disabled:q}),(0,t.jsx)("h5",{className:"mt-5 pt-3 mb-3 pb-2 fw-bold subheadline",children:"Main Focus Area (Acupuncture Point)"}),(0,t.jsx)("p",{children:"Please select, which of the following areas your current prototype / project is focusing on*"}),(0,t.jsx)(b.Hl,{name:"accupuncture_points",type:j.aps_type,onInit:e=>E(e),onChange:e=>E(e),config:{required:!0},disabled:q}),(0,t.jsx)(b.yt,{name:"acs",validate:()=>!!M.length||"Please select at least one Acupuncture Point."}),M.length>1&&(0,t.jsx)(n.default,{children:(0,t.jsx)(o.default,{sm:12,children:(0,t.jsxs)(b.l6,{name:"aps_main",label:"Please select, which one of the selected areas is most relevant for you in the current situation:",config:{required:!0},disabled:q,children:[(0,t.jsx)("option",{value:"",disabled:!0,children:"Please select..."}),M.map(e=>(0,t.jsx)("option",{value:e.id,children:e.title},"ap_".concat(e.id)))]})})})]}),(0,t.jsxs)("fieldset",{className:"variant-grey light-label mb-5 p-5 mt-4",children:[(0,t.jsx)("h4",{className:"fw-bold",children:"Recurring participation?"}),(0,t.jsx)("div",{className:"pi-head-line"}),(0,t.jsx)("h5",{className:"mt-5 fw-bold subheadline",children:" Help us to identify your team"}),(0,t.jsx)("p",{children:"In case your team participated in a previous cohort of u-lab 2x, please provide the information below:"}),(0,t.jsxs)(n.default,{children:[(0,t.jsx)(o.default,{sm:12,md:6,children:(0,t.jsx)(b.pd,{label:"Previous application email",name:"alumni_email",placeholder:"Email address if available",disabled:q})}),(0,t.jsx)(o.default,{sm:12,md:6,children:(0,t.jsx)(b.pd,{type:"number",label:"Previous team-ID / -number",name:"alumni_teamid",placeholder:"Previous Team-ID if available",disabled:q})})]}),(0,t.jsxs)(n.default,{className:"mt-3",children:[(0,t.jsx)(o.default,{sm:12,children:(0,t.jsx)(b.pd,{label:"What was the name of the project/team in your previous journey?",name:"alumni_teamname",placeholder:"Please enter your team name during the past u-lab 2x journey",disabled:q})}),(0,t.jsx)(o.default,{xs:12,className:"mt-3",children:(0,t.jsx)(b.TM,{name:"alumni_current_status",placeholder:"Please describe your teams current status",label:"Where are you at right now in your journey with the project/team?",height:80,disabled:q})}),(0,t.jsx)(o.default,{xs:12,className:"mt-3",children:(0,t.jsx)(b.TM,{name:"alumni_intention",placeholder:"Please describe your intention",label:"What is your intention for taking u-lab 2x in 2024?",height:80,disabled:q})})]})]}),(0,t.jsxs)("fieldset",{className:"variant-grey light-label mb-5 p-5 mt-4",children:[(0,t.jsx)("h4",{className:"fw-bold",children:"Your team"}),(0,t.jsx)("div",{className:"pi-head-line"}),(0,t.jsxs)("p",{children:[(0,t.jsxs)("strong",{children:["The list below includes all individuals designated as â",j.hosts_label,"â or â",j.members_label,"â in your"," ",j.entity_name.toLowerCase(),"."," "]}),(0,t.jsx)("br",{}),"Personal information of ",j.entity_name.toLowerCase()," ",j.members_label_plural.toLowerCase(),", such as contact details and relevant Theory U experience, will be automatically extracted from their profiles. ",(0,t.jsx)("br",{}),j.entity_name," ",j.members_label_plural.toLowerCase()," can adjust this information by editing their profiles, even after the submission of this application. ",(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),(0,t.jsxs)("strong",{children:["Please find below the ",j.entity_name.toLowerCase()," information that will be submitted as of now:"]})]}),(0,t.jsx)(n.default,{children:N.map((e,a)=>(0,t.jsx)(o.default,{md:3,className:"text-center",children:(0,t.jsxs)("div",{className:"w-100 pi-bg-white pi-shadow-box rounded p-2 mt-5",children:[(0,t.jsx)(u.A,{user:e,size:60,className:"mt-n5"}),(0,t.jsx)("br",{}),(0,t.jsxs)("div",{className:"w-100 text-start px-4 pb-3 small",children:[_.id!=e.id&&(0,t.jsx)("strong",{children:e.full_name}),_.id==e.id&&(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:"You"})," ",(0,t.jsxs)("span",{className:"pi-fnt-stone fst-italic",children:["(",e.full_name,")"]})]}),(0,t.jsx)("br",{}),"member"===e.member_role&&(0,t.jsx)("span",{children:j.members_label}),"host"===e.member_role&&(0,t.jsx)("span",{children:j.hosts_label}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"pi-fnt-slate",children:"Email:"})," ",(0,t.jsx)("i",{className:"fal fa-check"}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"pi-fnt-slate",children:"City:"})," ",!e.city&&(0,t.jsx)("i",{className:"fal fa-exclamation-circle pi-fnt-fire"}),e.city&&(0,t.jsxs)("span",{children:[e.city," ",(0,t.jsx)("i",{className:"fal fa-check"})]}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"pi-fnt-slate",children:"Country:"})," ",!e.country&&(0,t.jsx)("i",{className:"fal fa-exclamation-circle pi-fnt-fire"})," ",e.country&&(0,t.jsxs)("span",{children:[e.country," ",(0,t.jsx)("i",{className:"fal fa-check"})]})]})]})},"m"+a))}),(null==r||null==(s=r.followers)?void 0:s.length)>0&&(0,t.jsxs)("div",{className:"format-members-for-application-form mt-5",children:[(0,t.jsxs)("h6",{className:"fw-bold",children:[j.followers_label_plural," (Currently not part of the applying ",j.entity_name.toLowerCase(),")"]}),(0,t.jsxs)("p",{children:["If you wish to include someone from the current ",j.entity_name.toLowerCase()," ",j.followers_label_plural.toLowerCase()," as part of the application, please ensure to upgrade their role to â",j.members_label,"â by clicking"," ",(0,t.jsxs)("span",{className:"text-nowrap",children:["âAdd as a ",j.members_label.toLowerCase(),"â"]}
1),"."," ",(0,t.jsx)("em",{className:"pi-fnt-stone",children:"(You can also do that later: member information will be updated even after your application has been submitted)"})]}),(0,t.jsx)(n.default,{children:r.followers.map((e,a)=>(0,t.jsx)(o.default,{md:3,className:"text-center",children:(0,t.jsxs)("div",{className:"w-100 pi-bg-sky rounded p-2 mt-5",style:{border:"5px dashed #d1d8da"},children:[(0,t.jsx)(u.A,{user:e,size:60,className:"mt-n5"}),(0,t.jsx)("br",{}),(0,t.jsxs)("div",{className:"w-100 text-start px-4 pb-3 small",children:[(0,t.jsx)("strong",{children:e.full_name}),(0,t.jsx)("br",{}),"As a ",j.followers_label,", ",e.full_name," is ",(0,t.jsx)("strong",{children:"not"})," part of your applying"," ",j.entity_name,"!",(0,t.jsx)("br",{}),(0,t.jsxs)(c.default,{variant:"secondary",className:"mt-3 px-2 w-100",onClick:()=>{var a;return a=e.id,void(0,f.Em)("/groups/".concat(r.slug,"/promoteMember"),{userId:a},{method:"POST"}).then(()=>{w({type:"success",message:"User is now a ".concat(j.hosts_label)}),v()}).catch(()=>{w({type:"error",message:"Request failed"})})},children:[(0,t.jsx)("i",{className:"fal fa-user-plus"})," ",(0,t.jsxs)("span",{style:{fontSize:"11px"},children:["Add as a ",j.members_label]})]})]})]})},"m"+a))})]})]}),!q&&(0,t.jsxs)("fieldset",{className:"variant-grey light-label mb-5 p-5 mt-4",children:[(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.lM,{type:"checkbox",name:"privacy_consent",id:"privacy_consent",label:"I hereby give my consent to the Presencing Institute to save my (and the additional team members) data and contact me/us in matters of this course. I accept the Presencing Institute terms and privacy policy.",config:{required:!0}}),(0,t.jsx)("p",{style:{paddingLeft:"20px"},children:(0,t.jsxs)("small",{children:[(0,t.jsx)("a",{href:"/policies/terms",target:"_blank",children:"Terms & Conditions"})," ","|"," ",(0,t.jsx)("a",{href:"/policies/privacy",target:"_blank",children:"Privacy Policy"})]})})]}),(0,t.jsxs)("p",{className:"mt-4 text-center",children:[(0,t.jsx)(c.default,{className:"mx-5 px-5",variant:"secondary",onClick:W,disabled:y||q,children:y?(0,t.jsx)(d.default,{animation:"border",size:"sm",className:"me-2"}):"Save as Draft"}),(0,t.jsxs)(c.default,{onClick:F,children:[y?(0,t.jsx)(d.default,{animation:"border",size:"sm",className:"me-2"}):""," ","Submit this application"]})]})]})]})}j.propTypes={data:r().object.isRequired,group:r().object.isRequired,meta:r().object.isRequired,onSubmit:r().func.isRequired,isSaving:r().bool};let g=j},16216:e=>{e.exports={piPopover:"PiPopover_piPopover__ZzldR",popoverArrow:"PiPopover_popoverArrow__TQN1O",minW:"PiPopover_minW__GKjky",popoverTrigger:"PiPopover_popoverTrigger__8OE__",disabledTrigger:"PiPopover_disabledTrigger__27TiY"}},21632:(e,a,s)=>{"use strict";s.d(a,{H$:()=>j,Ng:()=>p,Oc:()=>c,SR:()=>m,T5:()=>g,Zo:()=>y,b4:()=>o,dK:()=>n,p2:()=>d,pu:()=>u,r9:()=>x,zG:()=>f});var t=s(95155);s(12115);var i=s(65117),l=s(70926),r=s(96756);let n=(e,a)=>{var s,t;let i=null==(s=e.props)?void 0:s.group_number,l=null!=(t=e.title)?t:"";return(null==a?void 0:a.enable_seq)&&null!=i?"".concat(i," - ").concat(l):l},o=e=>{switch(e.type){case"coaching-circles":var a;return(0,r.c3)("/offerings/".concat(e.offering_slug||(null==(a=e.related_item)?void 0:a.slug),"/coaching-circles/").concat(e.slug));case"hubs":return(0,r.c3)("/community/hubs/".concat(e.slug));default:return(0,r.c3)("/g/".concat(e.type,"/").concat(e.slug))}},c=e=>"/g/".concat(e.type,"/").concat(e.slug,"/edit"),d=(e,a,s,t)=>{if(s)return!0;switch(a.can_edit){case"none":break;case"owner":var i;return("object"==typeof e.created_by_user?null==(i=e.created_by_user)?void 0:i.id:e.created_by_user)===t;case"members":if(a.enable_members)return h(e);break;case"hosts":if(a.enable_hosts)return b(e)}return!1},u=e=>(null==e?void 0:e.filter)?e.filter(e=>["active","inactive"].includes(e.member_status)&&["member","host"].includes(e.member_role)):[],m=e=>(null==e?void 0:e.filter)?e.filter(e=>"active"===e.member_status):[],h=e=>["active","inactive"].includes(e.member_status||"")&&["member","host"].includes(e.member_role||""),p=h,f=e=>"active"===e.member_status&&["member","host"].includes(e.member_role||""),b=e=>["active","inactive"].includes(e.member_status||"")&&"host"===e.member_role,x=b,j=e=>"active"===e.member_status&&"follower"===e.member_role,g=(e,a,s)=>e&&a&&s?(0,t.jsxs)(i.default,{variant:"secondary",className:"mt-2",onClick:()=>s(e.id),children:["Add as a ","follower"===e.member_role?a.members_label:a.hosts_label]},"btn-promote"):null,y=(e,a,s)=>e&&a&&s?(0,t.jsx)(l.A,{confirmTitle:"Inactive member of ".concat(a.entity_name,"?"),confirmText:"If this is an inactive member of the ".concat(a.entity_name," and is not responding to your messages, you can mark them as inactive here and they will receive an email where they must respond within 36 hours. If they do not respond, they will be removed from this ").concat(a.entity_name," in order to free up a slot for another person."),confirmBtnText:"Mark as Inactive",onBeforeConfirm:void 0,confirmHeadStyle:"bg-dark",onConfirm:function(){s(e.id)},children:(0,t.jsx)(i.default,{variant:"secondary",className:"mt-2",children:"Mark as Inactive"})},"btn-inactive"):null},21960:(e,a,s)=>{"use strict";s.d(a,{A:()=>d});var t=s(95155);s(12115);var i=s(87606),l=s(33599),r=s(63365),n=s(65117),o=s(52619),c=s.n(o);let d=e=>{let{children:a,className:s,icon:o,callToAction:d,variant:u}=e;return(0,t.jsx)(i.default,{className:"group-alert "+s+" "+u,children:(0,t.jsxs)(l.default,{className:"align-items-center",children:[o&&(0,t.jsx)(r.default,{className:"col-auto",children:(0,t.jsx)("i",{className:"main fal "+o})}),(0,t.jsx)(r.default,{children:a}),d&&d.label&&(0,t.jsx)(r.default,{className:"col-auto",children:(0,t.jsx)(c(),{href:d.url,className:"no-arrow",passHref:!0,children:(0,t.jsx)(n.default,{role:"button",className:"btn btn-".concat(d.variant?d.variant:"primary"),children:d.label})})})]})})}},23878:(e,a,s)=>{"use strict";s.d(a,{A:()=>r});var t=s(95155);s(12115);var i=s(63753),l=s(33912);let r=function(e){let{id:a,text:s,placement:r="top",children:n}=e;return s?(a||(a="tooltip-"+Math.floor(1e3*Math.random())),(0,t.jsx)(i.A,{placement:r,overlay:(0,t.jsx)(l.A,{id:a,children:s}),children:n},a)):n}},29700:(e,a,s)=>{"use strict";s.d(a,{A:()=>i});var t=s(25383);function i(){let e=(0,t.A)(e=>e.chat.user.openChat);return a=>
1{e(a)}}},40274:(e,a,s)=>{"use strict";s.d(a,{A:()=>f});var t=s(95155),i=s(12115),l=s(52619),r=s.n(l),n=s(65117),o=s(6017),c=s(91635),d=s(71269),u=s(29700),m=s(78542),h=s(78937),p=s.n(h);let f=e=>{let{user:a,includePopover:s=!0,size:l=80,profilePrefix:h="/community/members",className:f="",customContent:b,variant:x,enableInitials:j=!1,role:g="",roleLabel:y,imageClass:v=""}=e,_=(0,i.useRef)(null),w=(0,u.A)(),{currentUser:A}=(0,d.Ay)(),N=(0,i.useMemo)(()=>!!A&&!!a&&A.slug!==a.slug&&A.confirmed&&a.directMessages,[a,A]);if(!a)return console.error("Avatar: undefined user"),null;let C=a.slug===(null==A?void 0:A.slug),k=(0,t.jsx)(t.Fragment,{children:x&&"text-only"==x?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("i",{className:"fal fa-user-circle me-1"}),a.full_name]}):j&&!a.profile?(0,t.jsx)("span",{className:"".concat(p().initials," ").concat("muted"===j?p().initialsMuted:""," ").concat(v),style:{width:l+"px",height:l+"px",fontSize:.4*l+"px"},"aria-label":a.full_name,children:(0,m.IM)(a.full_name)}):(0,t.jsx)("span",{className:"rounded-circle no-arrow position-relative "+v,style:{display:"inline-block",width:l+"px",height:l+"px",overflow:"hidden"},children:(0,t.jsx)(o.A,{image:a.profile,fill:!0,preferredSize:"small",fallback:"profile",alt:a.full_name})})}),T=[a.city,a.state,a.country].filter(e=>e).join(", "),P=(0,t.jsxs)(t.Fragment,{children:[T&&(0,t.jsx)("span",{className:p().location,children:T}),(0,t.jsx)(r(),{href:(null==A?void 0:A.slug)==(null==a?void 0:a.slug)?"/user/profile":h+"/"+a.slug,className:"no-arrow",children:(0,t.jsx)(n.default,{variant:"secondary",children:"Visit Profile"})}),N&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)(n.default,{variant:"secondary",className:"mt-2",onClick:()=>{w({userId:a.id})},children:"Send Message"})]}),b&&!C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),b]})]});return(0,t.jsxs)("div",{className:"".concat(p().avatar," ").concat("host"===g?p().piRoleHost:"inactive"===g?p().piRoleInactive:""," ").concat(f),ref:_,style:x&&"text-only"==x?{display:"inline-block"}:{display:"inline-block",width:l+"px",height:l+"px"},children:[g&&!y&&(0,t.jsx)("span",{className:p().roleIndicator}),a.slug&&s?(0,t.jsx)(c.A,{label:k,title:a.full_name,placement:"auto",children:P}):k]})}},70926:(e,a,s)=>{"use strict";s.d(a,{A:()=>d,l:()=>c});var t=s(95155),i=s(12115),l=s(85937),r=s(65117),n=s(99885);let o=(0,n.AV)((0,n.r)(e=>{let{show:a,proceed:s,confirmation:i,title:n,okText:o="OK",cancelText:c="Cancel",okButtonStyle:d="primary",cancelButtonStyle:u="secondary",confirmHeadStyle:m="bg-dark"}=e,h=n?(0,t.jsx)(l.A.Header,{className:m,children:(0,t.jsx)(l.A.Title,{children:n})}):null;return(0,t.jsxs)(l.A,{show:a,onHide:()=>null==s?void 0:s(!1),backdrop:"static",children:[h,(0,t.jsx)(l.A.Body,{className:"fs-6",children:i&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})}),(0,t.jsxs)(l.A.Footer,{children:[(0,t.jsx)(r.default,{variant:u,onClick:()=>null==s?void 0:s(!1),children:c}),(0,t.jsx)(r.default,{variant:d,onClick:()=>null==s?void 0:s(!0),children:o})]})]})})),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(e)},d=e=>{let{onBeforeConfirm:a,onConfirm:s,confirmTitle:t="Delete?",confirmText:l="Are you sure you want to delete this item?",confirmBtnText:r="Delete",confirmBtnStyle:n="danger",children:o}=e,d=async e=>{e.preventDefault();let i={};if(a){let e=a();if(!1===e)return void s();void 0!==e&&(i=e)}await c({title:t,confirmation:l,okButtonStyle:n,okText:r,...i})&&s()};return i.cloneElement(o,{onClick:d})}},71269:(e,a,s)=>{"use strict";s.d(a,{Ay:()=>i}),s(65870);var t=s(25383);function i(){var e,a,s,i,l,r,n;let o=(0,t.A)(e=>e.auth);return{isAuthChecked:null!=(e=null==o?void 0:o.isAuthChecked)&&e,isAuthenticated:null!=(a=null==o?void 0:o.isAuthenticated)&&a,isConfirmed:null!=(s=null==o?void 0:o.isConfirmed)&&s,isEditor:null!=(i=null==o?void 0:o.isEditor)&&i,isAdmin:null!=(l=null==o?void 0:o.isAdmin)&&l,isSuperAdmin:null!=(r=null==o?void 0:o.isSuperAdmin)&&r,currentUser:null!=(n=null==o?void 0:o.currentUser)?n:null,refreshCurrentUser:o.refreshCurrentUser,openLogin:o.openLogin,logout:o.logout}}},78937:e=>{e.exports={avatar:"Avatar_avatar__Cepie",initials:"Avatar_initials__PfTS6",initialsMuted:"Avatar_initialsMuted__NWZ8p",location:"Avatar_location__4C0TR",piRoleHost:"Avatar_piRoleHost__cFIT_",roleIndicator:"Avatar_roleIndicator__ZEo9q",piRoleInactive:"Avatar_piRoleInactive__uuwrv"}},82722:(e,a,s)=>{"use strict";s.d(a,{A:()=>i});var t=s(25383);function i(){let e=(0,t.A)(e=>e.ui.addToast);return a=>
1{e(a)}}},91635:(e,a,s)=>{"use strict";s.d(a,{A:()=>c});var t=s(95155),i=s(12115),l=s(47695),r=s(63753),n=s(16216),o=s.n(n);let c=function(e){let{label:a,icon:s,children:n,title:c,className:d,placement:u="auto",containerPadding:m=20,disabled:h=!1,minWidth:p=!1,trigger:f="click",delay:b}=e,x=(0,i.useId)(),j=(0,t.jsxs)(l.A,{id:x,className:"".concat(o().piPopover," ").concat(p?o().minW:""),children:[c&&(0,t.jsx)(l.A.Header,{as:"h3",children:c}),(0,t.jsx)(l.A.Body,{children:n})]});if(h)return(0,t.jsxs)("span",{className:"".concat(d||""," ").concat(o().disabledTrigger),"aria-disabled":"true",children:[s&&(0,t.jsx)("i",{className:"fal ".concat(s)}),s&&a&&" ",a]});if(!a&&"click"!==f)return null;let g=(0,t.jsxs)("span",{className:"".concat(o().popoverTrigger," ").concat(d||""),children:[s&&(0,t.jsx)("i",{className:"fal ".concat(s)}),s&&a&&" ",a]});return(0,t.jsx)(r.A,{trigger:f,placement:u,overlay:j,delay:b,rootClose:!0,containerPadding:m,popperConfig:{modifiers:[{name:"flip",enabled:!0,options:{fallbackPlacements:["top","right","left"]}}]},children:g})}},96756:(e,a,s)=>{"use strict";s.d(a,{c3:()=>r,gb:()=>l});var t=s(26549);let i=e=>e.toLowerCase().replace(/^www\./,""),l=()=>{let e=i(window.location.hostname),a=i((()=>{if(!t.it)return"";try{return new URL(t.it.startsWith("http")?t.it:"https://".concat(t.it)).hostname}catch(e){return console.error("Error parsing MAIN_SITE:",e),t.it}})());return!e||!a||e===a},r=e=>t.it?"".concat(t.it.replace(/\/$/,"")).concat(e):e}}]);
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.