PageSourceSearch

https://app.desiweds.com/_next/static/chunks/74349.763f30ecb99fe005.js

js desiweds.com collected 2026-10-05 19:52:12 UTC 22,899 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="70bae189-acbd-4b4b-98c6-11c2c3e58c75",e._sentryDebugIdIdentifier="sentry-dbid-70bae189-acbd-4b4b-98c6-11c2c3e58c75")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74349,81332],{20597:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>b});var n=s(37876),l=s(95062),a=s.n(l),i=s(14232),r=s(42604);function o(){return(0,n.jsxs)("svg",{width:"12",height:"20",viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"11",y:"19.5",width:"10",height:"19",rx:"0.5",transform:"rotate(-180 11 19.5)",fill:"#DCDCDC"}),(0,n.jsx)("rect",{x:"11",y:"19.5",width:"10",height:"19",rx:"0.5",transform:"rotate(-180 11 19.5)",stroke:"#BDBDBD"})]})}function c(){return(0,n.jsxs)("svg",{width:"21",height:"12",viewBox:"0 0 21 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"20",y:"1",width:"10",height:"19",rx:"0.5",transform:"rotate(90 20 1)",fill:"#DCDCDC"}),(0,n.jsx)("rect",{x:"20",y:"1",width:"10",height:"19",rx:"0.5",transform:"rotate(90 20 1)",stroke:"#BDBDBD"})]})}function d(){return(0,n.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"15",y:"1",width:"14",height:"14",rx:"0.5",transform:"rotate(90 15 1)",fill:"#DCDCDC"}),(0,n.jsx)("rect",{x:"15",y:"1",width:"14",height:"14",rx:"0.5",transform:"rotate(90 15 1)",stroke:"#BDBDBD"})]})}let u=function(){return(0,n.jsxs)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M14.9671 12.2214V1.77794C14.9671 0.912769 14.1956 0.211426 13.2439 0.211426H1.75613C0.804437 0.211426 0.032959 0.912769 0.032959 1.77794V12.2214C0.032959 13.0866 0.804437 13.7879 1.75613 13.7879H13.2439C14.1956 13.7879 14.9671 13.0866 14.9671 12.2214ZM10.5419 6.6259C10.5408 6.62691 10.5397 6.62792 10.5386 6.62893L8.07442 8.87428L5.61029 6.63415C5.38624 6.43168 5.02445 6.43168 4.8004 6.63415L1.18174 9.91862V1.77794C1.18174 1.48954 1.43889 1.25577 1.75613 1.25577H13.2439C13.5612 1.25577 13.8183 1.48954 13.8183 1.77794V8.87428L11.3542 6.63415C11.1324 6.42796 10.7687 6.42427 10.5419 6.6259Z",fill:"#636363"}),(0,n.jsx)("path",{d:"M8.07473 2.82227C7.12304 2.82227 6.35156 3.52361 6.35156 4.38878C6.35156 5.25396 7.12304 5.9553 8.07473 5.9553C9.02643 5.9553 9.7979 5.25396 9.7979 4.38878C9.7979 3.52361 9.02643 2.82227 8.07473 2.82227ZM8.07473 4.91096C7.75749 4.91096 7.50034 4.67719 7.50034 4.38878C7.50034 4.10038 7.75749 3.86661 8.07473 3.86661C8.39198 3.86661 8.64912 4.10038 8.64912 4.38878C8.64912 4.67719 8.39198 4.91096 8.07473 4.91096Z",fill:"#636363"})]})},h=function(){return(0,n.jsx)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M14.0583 4.58491C14.0637 4.59479 14.0687 4.60497 14.0732 4.61555C14.629 5.92835 14.709 7.34717 14.3686 8.65692C14.0284 9.9662 13.2686 11.1662 12.1445 12.0423C10.7723 13.1121 9.09574 13.5244 7.49507 13.326C5.89447 13.1277 4.36925 12.319 3.29942 10.9466C3.18683 10.8022 3.21261 10.5936 3.35709 10.4811C3.50157 10.3685 3.71007 10.3942 3.82274 10.5387C4.77982 11.7667 6.14458 12.4903 7.57663 12.6678C9.00861 12.8452 10.5088 12.4763 11.7366 11.5191C12.7435 10.7341 13.4242 9.65999 13.7283 8.48901C14.0305 7.32633 13.9616 6.0668 13.4732 4.89833C13.4658 4.88501 13.4591 4.87114 13.4533 4.85656C12.9846 3.66967 12.1467 2.71408 11.1093 2.09227C10.0716 1.47007 8.83342 1.18079 7.56496 1.32645C6.01827 1.50423 4.68956 2.29231 3.79242 3.42239C3.03365 4.37798 2.58312 5.57859 2.56949 6.8617L3.10644 6.34778L3.17131 6.28564L3.17194 6.28502L3.17257 6.28447L3.17327 6.28392L3.17382 6.28329L3.17453 6.28275L3.17515 6.28212L3.1757 6.28149L3.34784 6.11664C3.34855 6.11601 3.35756 6.10778 3.35795 6.10723C3.48911 5.98171 3.70059 5.99237 3.82462 6.12494C3.94858 6.25736 3.94246 6.46586 3.81169 6.59106L3.63516 6.76015L3.56512 6.82699L2.54857 7.80013C2.52036 7.84032 2.48338 7.87425 2.43997 7.89878C2.38684 7.93591 2.32518 7.9555 2.26297 7.95793L2.2614 7.95801L2.25498 7.95825L2.25419 7.95825C2.19621 7.95942 2.13815 7.9454 2.08683 7.91617L2.0866 7.91609L2.08041 7.91249L2.07962 7.91194C2.05447 7.89705 2.03097 7.87864 2.00989 7.8567L2.00981 7.85662C2.00346 7.85004 1.99751 7.84322 1.99187 7.83617L1.84065 7.67821L1.83986 7.67751L1.83947 7.67688L1.83877 7.67625L1.8383 7.67563L1.83767 7.675L1.83696 7.67437L1.83649 7.67375L1.77428 7.60879L0.73438 6.52251C0.609328 6.39189 0.614029 6.17861 0.744644 6.05364L0.744644 6.05356C0.875415 5.92843 1.08736 5.9318 1.21366 6.06375L1.90725 6.78836C1.93694 5.3791 2.43785 4.06183 3.27294 3.01002C4.27586 1.74673 5.76057 0.865968 7.48919 0.667343C8.90511 0.504682 10.2881 0.828202 11.4483 1.52374C12.6005 2.21458 13.5326 3.27227 14.0583 4.58491Z",fill:"#191919"})})};var g=s(90601),C=s(55270);let p={LANDSCAPE:"landscape",PORTRAIT:"portrait",SQUARE:"square"};function x(e,t,s){if(t)return null;let n=g.IX.imageMinSize*g.o_,l=g.IX.imageMaxSize*g.o_;return["image/jpeg","image/jpg","image/png"].includes(e.type)?!s&&e.size<n?g.IX.imageValidationMessages.lessThanMinSize:e.size>l?g.IX.imageValidationMessages.greaterThanMaxSize:null:g.IX.imageValidationMessages.invalidFormat}function m(e){let{imageSrc:t,onClose:s,onCropComplete:l,skipMinSizeCheck:a=!0,squareOnly:g=!1}=e,m="string"==typeof t&&(null==t?void 0:t.startsWith("/images/")),[b,f]=(0,i.useState)({x:0,y:0}),[j,v]=(0,i.useState)(1),[k,y]=(0,i.useState)(null),[N,L]=(0,i.useState)(0),[A,T]=(0,i.useState)(g?p.SQUARE:p.PORTRAIT),[D,B]=(0,i.useState)(null),[S,E]=(0,i.useState)(!1),M=(0,i.useCallback)(e=>{f(e)},[]),R=(0,i.useCallback)(e=>{v(e)},[]),I=(0,i.useCallback)((e,t)=>{y(t)},[]),P=(0,i.useCallback)(async()=>{try{let e=await fetch(t),s=await e.blob(),n=new File([s],"image",{type:s.type}),i=x(n,m,a);if(i)B(i),E(!0);else{let e=await w(t,k);l(e)}}catch(e){console.error(e),l(""),B("An error occurred while processing the image."),E(!0)}},[t,k,l]),W={background:"linear-gradient(to right, #D62C81 0%, #D62C81 ".concat((j-1)*50,"%, #CCCCCC ").concat((j-1)*50,"%, #CCCCCC 100%)")},U=e=>{T(e)};return(0,i.useEffect)(()=>{t&&fetch(t).then(e=>e.blob()).then(e=>{B(x(new File([e],"image",{type:e.type}),m))}).catch(e=>{console.error("Error validating image:",e),B("An error occurred while validating the image.")})},[t]),(0,n.jsxs)(C.default,{className:"crop-popup",onCloseClick:s,children:[(0,n.jsxs)("div",{className:"crop-popup-head",children:[(0,n.jsx)("h4",{children:"Adjust Photo"}),(0,n.jsxs)("div",{className:"crop-action-btns",children:[(0,n.jsxs)("div",{className:"crop-btn-grp",children:[(0,n.jsx)("button",{className:"left-rotate",onClick:()=>{L(e=>(e-90+360)%360)},children:(0,n.jsx)(h,{})}),(0,n.jsx)("button",{className:"right-rotate",onClick:()=>{L(e=>(e+90)%360)},children:(0,n.jsx)(h,{})})]}),!g&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h6",{children:"Crop:"}),(0,n.jsx)("button",{className:A===p.PORTRAIT?"active":"",onClick:()=>U(p.PORTRAIT),children:(0,n.jsx)(o,{})}),(0,n.jsx)("button",{className:A===p.LANDSCAPE?"active":"",onClick:()=>U(p.LANDSCAPE),children:(0,n.jsx)(c,{})}),(0,n.jsx)("button",{className:A===p.SQUARE?"active":"",onClick:()=>U(p.SQUARE),children:(0,n.jsx)(d,{})})]})]})]}),(0,n.jsx)("div",{className:"crop-container",style:{height:"300px",position:"relative"},children:(0,n.jsx)(r.Ay,{image:t,crop:b,zoom:j,aspect:(()=>{switch(A){case p.LANDSCAPE:return 4/3;case p.PORTRAIT:return 3/4;case p.SQUARE:return 1;default:return 4/3}})(),rotation:N,onCropChange:M,onZoomChange:R,onCropComplete:I})}),(0,n.jsxs)("div",{className:"wb-ranger",children:[(0,n.jsx)(u,{}),(0,n.jsx)("input",{type:"range",value:j,min:1,max:3,step:.1,"aria-labelledby":"Zoom",onChange:e=>R(Number(e.target.value)),className:"zoom-slider",style:W}),(0,n.jsx)(u,{})]}),S&&D&&(0,n.jsx)("div",{className:"error-message",style:{color:"red",marginTop:"10px",textAlign:"center"},children:D}),(0,n.jsxs)("div",{className:"button-group",children:[(0,n.jsx)("button",{className:"wbBtn wb-borderBtn",onClick:s,children:"Discard Photo"}),(0,n.jsx)("button",{className:"wbBtn wb-bgBtn",onClick:P,children:"Upload Photo"})]})]})}let b=m,w=async(e,t)=>{let s=await new Promise((t,s)=>{let n=new Image;n.addEventListener("load",()=>t(n)),n.addEventListener("error",e=>s(e)),n.setAttribute("crossOrigin","anonymous"),n.src=e}),n=document.createElement("canvas"),l=n.getContext("2d");return n.width=t.width,n.height=t.height,l.drawImage(s,t.x,t.y,t.width,t.height,0,0,t.width,t.height),new Promise(e=>{n.toBlob(t=>{e({blob:t,url:URL.createObjectURL(t)})},"image/jpeg")})};m.propTypes={imageSrc:a().string.isRequired,onClose:a().func.isRequired,onCropComplete:a().func.isRequired,skipMinSizeCheck:a().bool,squareOnly:a().bool}},34616:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var n=s(37876);let l=()=>(0,n.jsx)("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M0.833374 6.91671L3.75004 4.00004L0.833374 1.08337",stroke:"#5e5e5e",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},35654:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var n=s(37876),l=s(95062);function a(e){let{message:t}=e;return t?(0,n.jsx)("p",{className:"wb-error-message",children:t}):null}a.propTypes={message:s.n(l)().string};let i=a},36306:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var n=s(37876),l=s(95062),a=s.n(l),i=s(34616),r=s(66632);function o(e){let{title:t="",children:s,buttons:l,onClick:a,onCancelClick:o,onUpdateClick:c,onDeleteClick:d,hideArrow:u=!1}=e;return(0,n.jsxs)("div",{className:"side-panel-editor",children:[(0,n.jsxs)("div",{className:"side-panel-head",children:[(0,n.jsxs)("button",{className:"side-panel-back-btn",onClick:a,children:[u?"":(0,n.jsx)(i.A,{}),t," "]}),d&&(0,n.jsx)(r.WbDeletewithText,{text:"",onClick:d})]}),s,l&&(0,n.jsxs)("div",{className:"wb-action-btns",children:[(0,n.jsx)("button",{className:"wbBtn wb-borderBtn ml-auto",onClick:o,children:"Cancel"}),(0,n.jsx)("button",{className:"wbBtn wb-bgBtn",onClick:c,children:"Update"})]})]})}o.propTypes={title:a().string,children:a().node,buttons:a().bool,onClick:a().func,onCancelClick:a().func,onUpdateClick:a().func,onDeleteClick:a().func,hideArrow:a().bool};let c=o},37244:(e,t,s)=>{"use strict";s.d(t,{A:()=>r,l:()=>o});var n=s(37876),l=s(95062),a=s.n(l);let i=e=>{let{className:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"".concat(t),children:[(0,n.jsx)("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),(0,n.jsx)("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})};i.propTypes={className:a().string};let r=i,o=e=>{let{className:t}=e;return(0,n.jsxs)("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"no-width ".concat(t),children:[(0,n.jsx)("path",{d:"M1.73507 7.31211C1.65507 7.31211 1.57522 7.28164 1.51413 7.22055C1.3921 7.09852 1.3921 6.9007 1.51413 6.77867L6.39757 1.89523C6.51944 
11.7732 6.71741 1.7732 6.83944 1.89523C6.96147 2.01727 6.96147 2.21508 6.83944 2.33711L1.95601 7.22055C1.89507 7.28148 1.81507 7.31211 1.73507 7.31211Z",fill:"#3A3A3A"}),(0,n.jsx)("path",{d:"M1.25275 9.56206C1.23103 9.56206 1.209 9.55971 1.18697 9.55503C1.01822 9.51877 0.910722 9.35268 0.946972 9.18393L1.42978 6.93346C1.46603 6.76471 1.63291 6.65752 1.80088 6.69346C1.96963 6.72971 2.07713 6.89581 2.04088 7.06456L1.55807 9.31502C1.52666 9.46174 1.39697 9.56206 1.25275 9.56206Z",fill:"#3A3A3A"}),(0,n.jsx)("path",{d:"M3.50289 9.07953C3.42289 9.07953 3.34305 9.04906 3.28195 8.98797C3.15992 8.86594 3.15992 8.66813 3.28195 8.54609L8.16539 3.66281C8.28727 3.54078 8.48523 3.54078 8.60727 3.66281C8.7293 3.78484 8.7293 3.98266 8.60727 4.10469L3.72398 8.98797C3.66289 9.04906 3.58289 9.07953 3.50289 9.07953Z",fill:"#3A3A3A"}),(0,n.jsx)("path",{d:"M1.25199 9.5629C1.10778 9.5629 0.978244 9.46259 0.946682 9.31587C0.910588 9.14712 1.01793 8.98103 1.18668 8.94478L3.43715 8.46196C3.60606 8.42618 3.77215 8.53337 3.80824 8.70196C3.84434 8.87071 3.73699 9.03681 3.56824 9.07306L1.31778 9.55587C1.29574 9.56071 1.27371 9.5629 1.25199 9.5629Z",fill:"#3A3A3A"}),(0,n.jsx)("path",{d:"M7.50224 5.08012C7.42224 5.08012 7.34224 5.04965 7.2813 4.98855L5.51364 3.2209C5.39161 3.09887 5.39161 2.90105 5.51364 2.77902C5.63552 2.65699 5.83364 2.65699 5.95552 2.77902L7.72317 4.54668C7.84521 4.66871 7.84521 4.86652 7.72317 4.98855C7.66224 5.04965 7.58224 5.08012 7.50224 5.08012Z",fill:"#3A3A3A"}),(0,n.jsx)("path",{d:"M8.38634 4.19644C8.30634 4.19644 8.22634 4.16598 8.16524 4.10488C8.04321 3.98285 8.04321 3.78504 8.16524 3.66285C8.33915 3.48895 8.43493 3.25348 8.43493 3.00004C8.43493 2.7466 8.33915 2.51113 8.16524 2.33723C7.99118 2.16316 7.75571 2.06738 7.50228 2.06738C7.24884 2.06738 7.01337 2.16316 6.83946 2.33723C6.71759 2.45926 6.51978 2.45941 6.39743 2.33723C6.2754 2.2152 6.2754 2.01738 6.39743 1.8952C6.68931 1.60316 7.08165 1.44238 7.50228 1.44238C7.92274 1.44238 8.31524 1.60316 8.60712 1.8952C8.89915 2.18707 9.05993 2.57941 9.05993 3.00004C9.05993 3.42066 8.89915 3.81301 8.60712 4.10488C8.54634 4.16582 8.46634 4.19644 8.38634 4.19644Z",fill:"#3A3A3A"})]})};o.propTypes={className:a().string}},41377:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});var n=s(37876),l=s(95062),a=s.n(l),i=s(35654);function r(e){let{label:t="-",value:s="",onChange:l,onBlur:a=()=>{},name:r,type:o="text",placeholder:c="",className:d="",required:u=!1,disabled:h=!1,error:g=null}=e;return(0,n.jsxs)("div",{className:"wb-input-wrapper",children:[(0,n.jsxs)("label",{className:"wb-input-label",htmlFor:r,children:[t,u?(0,n.jsx)("em",{children:"*"}):""]}),(0,n.jsx)("div",{className:"wb-input",children:(0,n.jsx)("div",{className:"wb-form-field",children:(0,n.jsx)("input",{type:o,id:r,name:r,value:s,onChange:l,onBlur:a,placeholder:c,className:"form-control ".concat(d),required:u,disabled:h})})}),(0,n.jsx)(i.default,{message:g})]})}r.propTypes={label:a().string,value:a().string,onChange:a().func.isRequired,onBlur:a().func,name:a().string,type:a().string,placeholder:a().string,className:a().string,required:a().bool,disabled:a().bool,error:a().string};let o=r},45633:()=>{},47551:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var n=s(37876),l=s(95062),a=s.n(l);let i=e=>(0,n.jsx)("button",{className:"wb-remove-btn wb-secondary-btn",onClick:e.onClick,children:(0,n.jsx)("p",{children:e.buttonText})});i.propTypes={buttonText:a().string,onClick:a().func};let r=i},55270:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var n=s(37876),l=s(95062),a=s.n(l);let i=e=>{let{children:t,className:s,onCloseClick:l=()=>{}}=e;return(0,n.jsx)("div",{className:"wb-overlay show ".concat(s),children:(0,n.jsxs)("div",{className:"wb-popup",children:[(0,n.jsx)("button",{className:"close-popup-btn",onClick:l,children:"X"}),t]})})};i.propTypes={children:a().node,className:a().string,onCloseClick:a().func};let r=i},66632:(e,t,s)=>{"use strict";s.r(t),s.d(t,{WbDeletewithText:()=>r,default:()=>c});var n=s(37876);s(14232);var l=s(95062),a=s.n(l),i=s(95807);function r(e){let{text:t="delete",className:s,onClick:l}=e;return(0,n.jsxs)("button",{className:"wb-delete-with-text-btn ".concat(s),onClick:l,children:[(0,n.jsx)(i.A,{}),(0,n.jsx)("p",{children:t})]})}function o(e){let{className:t,onDeleteClick:s}=e;return(0,n.jsx)("button",{className:"wb-delete-round-btn ".concat(t),onClick:s,children:(0,n.jsx)(i.A,{})})}r.propTypes={text:a().string,className:a().string,onClick:a().func},o.propTypes={className:a().string,onDeleteClick:a().func};let c=o},74349:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>j});var n=s(37876),l=s(54587),a=s.n(l),i=s(95062),r=s.n(i),o=s(14232),c=s(28680),d=s(62361),u=s(36306),h=s(97531),g=s(41377),C=s(47551),p=s(95617
1),x=s(75706),m=s(20597),b=s(66632),w=s(35654);function f(e){let{onDeleteClick:t,name:s,onNameChange:l,address:i,onAddressChange:r,phone:f,onPhoneChange:j,email:v,onEmailChange:k,website:y,onWebsiteChange:N,details:L,onDetailsChange:A,onImageUpload:T,onImageRemove:D,image:B,showValidation:S=!1,componentNumber:E}=e,[M,R]=(0,o.useState)(s),[I,P]=(0,o.useState)(""),[W,U]=(0,o.useState)((0,d.AE)(B)),[Z,V]=(0,o.useState)(!1),[q,F]=(0,o.useState)({}),_=!(0,c.TD)(I||W);(0,o.useEffect)(()=>{F({name:(0,c.jr)("name",M,"Activity"),image:(0,c.jr)("image",I,"Activity")})},[M,S,i,v,y,f,I]);let z=(e,t,s)=>{t(e),F({...q,[s]:(0,c.jr)(s,e,"Activity")})},H=(0,o.useCallback)(e=>{(0,d.P5)(e,P,V)},[]);return(0,n.jsxs)(u.default,{title:E?"Activity ".concat(E):"Add an Activity",onDeleteClick:t,hideArrow:!0,children:[(0,n.jsx)(g.default,{label:"Name",value:M,onChange:e=>R(e.target.value),onBlur:e=>z(e.target.value,l,"name")}),S&&(0,n.jsx)(w.default,{message:q.name}),W&&_?(0,n.jsx)("div",{className:"wb-add-activity-wrp",children:(0,n.jsxs)("div",{className:"wb-Edit-photo-sec",children:[(0,n.jsx)("div",{children:(0,n.jsx)(a(),{src:I||W,alt:"",width:110,height:110,objectFit:"cover",style:{objectFit:"cover"}})}),(0,n.jsxs)("div",{className:"wb-edit-remove-button-wrap",children:[(0,n.jsx)(h.default,{buttonText:"Edit Photo",onClick:()=>V(!0)}),(0,n.jsx)(C.default,{buttonText:"Remove",onClick:function(){D(),U(null),P(null)}})]})]})}):(0,n.jsx)(x.default,{onFileUpload:H}),S||!_?(0,n.jsx)(w.default,{message:q.image}):null,(0,n.jsxs)("div",{className:"wb-add-activity-wrp",children:[(0,n.jsx)(g.default,{label:"Address",value:i,onChange:e=>r(e.target.value),onBlur:e=>z(e.target.value,r,"address")}),S&&(0,n.jsx)(w.default,{message:q.address}),(0,n.jsxs)("div",{className:"wb-row-2",children:[(0,n.jsx)(g.default,{label:"Phone",value:f,onChange:e=>{let t=e.target.value;/^\d*$/.test(t)&&t.length<=10&&j(t)},onBlur:e=>z(e.target.value,j,"phone"),error:S&&q.phone}),(0,n.jsx)(g.default,{label:"Email",value:v,onChange:e=>k(e.target.value),onBlur:e=>z(e.target.value,k,"email"),error:S&&q.email})]}),(0,n.jsx)(g.default,{label:"Website",value:y,onChange:e=>N(e.target.value),onBlur:e=>z(e.target.value,N,"website")}),S&&(0,n.jsx)(w.default,{message:q.website}),(0,n.jsx)(p.default,{label:"Details",value:L,onChange:e=>A(e.target.value)})]}),(0,n.jsx)(b.WbDeletewithText,{text:"Delete Activity",className:"ml-auto",onClick:()=>t()}),Z&&_?(0,n.jsx)(m.default,{imageSrc:I||W,onClose:()=>V(!1),onCropComplete:function(e){U(e),(0,d.C1)(e,T,P,V)}}):null]})}f.propTypes={onDeleteClick:r().func,name:r().string,onNameChange:r().func,address:r().string,onAddressChange:r().func,phone:r().string,onPhoneChange:r().func,email:r().string,onEmailChange:r().func,website:r().string,onWebsiteChange:r().func,details:r().string,onDetailsChange:r().func,onImageUpload:r().func,onImageRemove:r().func,image:r().string,showValidation:r().bool,componentNumber:r().number};let j=f},75706:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var n=s(37876),l=s(95062),a=s.n(l),i=s(81332),r=s(62361);let o=e=>{let{className:t="",text:s="Add a Photo",onFileUpload:l,accept:a="image/jpeg, image/png, image/webp",multiple:o=!0}=e;return(0,n.jsx)("div",{className:"wb-upload-image wb-form-field ".concat(t),children:(0,n.jsxs)("label",{className:"wb-upload-button",children:[(0,n.jsx)("input",{type:"file",id:"",className:"wb-upload-input form-control",accept:a,onChange:e=>(0,r.i_)(e.target.files,a,l),multiple:o}),(0,n.jsx)(i.A,{})," ",(0,n.jsx)("span",{children:s})]})})};o.propTypes={className:a().string,text:a().string,onFileUpload:a().func,accept:a().string,multiple:a().bool};let c=o},81332:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var n=s(37876);let l=()=>(0,n.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M5.49996 1.54163V9.45829M1.54163 5.49996H9.45829",stroke:"#5e5e5e",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},95617:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>C});var n=s(37876),l=s(95062),a=s.n(l),i=s(14232),r=s(18847),o=s.n(r);s(45633);var c=s(28680),d=s(35654),u=s(62361);let h=o()(()=>s.e(45276).then(s.bind(s,45276)),{loadableGenerated:{webpack:()=>[45276]},ssr:!1});
1function g(e){let{label:t="-",name:s,value:l,onChange:a,onBlur:r=()=>{},className:o="",placeholder:g="",showValidation:C=!1,fieldType:p="TextBlock",disableFormatting:x=!1,from:m="weddingWebsite",editorRef:b}=e,[w,f]=(0,i.useState)(l),[j,v]=(0,i.useState)(null),k=(0,i.useCallback)(e=>{v((0,c.jr)(s,e,p))},[s,p]);(0,i.useEffect)(()=>{f(l)},[l]),(0,i.useEffect)(()=>{C&&k(w)},[w,C,k]);let y=(0,i.useCallback)((e,t,n,l)=>{let i=l.getHTML(),r=(0,u.Hi)(i);("weddingWebsite"!==m||r)&&(f(i),a({target:{name:s,value:i}}))},[s,a]),N=(0,i.useCallback)(()=>{k(w),r({target:{name:s,value:w}})},[w,s,r,k]),L=(0,i.useMemo)(()=>({toolbar:!x&&{container:[["bold","italic","link"],[{align:[]}]]}}),[x]),A=x?[]:["bold","italic","link","align"];return(0,n.jsxs)("div",{className:"wb-input-wrapper",children:[(0,n.jsx)("label",{className:"wb-input-label",htmlFor:s,children:t}),(0,n.jsx)("div",{className:"wb-input wb-text-editor",children:(0,n.jsx)("div",{className:"wb-form-field",children:(0,n.jsx)(h,{ref:b,theme:"snow",value:w,onChange:y,onBlur:N,placeholder:g,modules:L,formats:A,className:"editor-content ".concat(o," ").concat(!w?"empty":""," ").concat(j?"error":"").trim()})})}),C&&j&&(0,n.jsx)(d.default,{message:j})]})}g.propTypes={label:a().string,name:a().string.isRequired,value:a().string.isRequired,onChange:a().func.isRequired,onBlur:a().func,className:a().string,placeholder:a().string,showValidation:a().bool,fieldType:a().string,disableFormatting:a().bool,from:a().string,editorRef:a().object};let C=g},95807:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var n=s(37876);let l=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-trash-2 no-width",children:[(0,n.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,n.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),(0,n.jsx)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),(0,n.jsx)("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},97531:(e,t,s)=>{"use strict";s.r(t),s.d(t,{WbEditButtonWithoutText:()=>c,default:()=>o});var n=s(37876),l=s(95062),a=s.n(l),i=s(37244);let r=e=>(0,n.jsx)("button",{className:"wb-edit-btn wb-secondary-btn",onClick:e.onClick,children:(0,n.jsx)("p",{children:e.buttonText})});r.propTypes={buttonText:a().string,onClick:a().func};let o=r,c=e=>(0,n.jsx)("button",{className:"wb-edit-without-text-btn ",onClick:e.onEditClick,children:(0,n.jsx)(i.A,{})});c.propTypes={onEditClick:a().func},c.propTypes={onEditClick:a().func}}}]);

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.