1"use strict";(self.webpackChunkravvoo=self.webpackChunkravvoo||[]).push([[1627],{15641(e,t,c){c(9950);var n=c(44517),o=c(62894),s=c(37085),l=c(74635),a=c(44414);const r=e=>{let t=e.title,c=void 0===t?(0,l.t)("BackButtonTitle.title"):t,r=e.classNAme,i=e.classTitle,d=e.icon,f=e.iconClassName,u=e.isdraftDelete,p=e.backNav;const x=(0,n.Zp)();return(0,a.jsx)("div",{className:"text-center ".concat(r),children:(0,a.jsxs)("div",{className:"flex items-center justify-between w-full my-2 ",children:[!u&&(0,a.jsx)(o.A,{onClick:()=>{p?p():x(-1)},src:s.b.ICONS.NavArrow,className:"w-[48px] sm:w-[44px] h-[40px] ".concat(f," cursor-pointer")}),(0,a.jsx)("p",{className:"text-black-100 titleMedium w-full text-center ".concat(i," font-semibold"),children:c}),d]})})};c.d(t,["A",0,r])},31627(e,t,c){c.r(t);var n=c(5544),o=c(9950),s=c(15641),l=c(62851),a=c(66146),r=c(55088),i=c(41988),d=c(87094),f=c(62894),u=c(37085),p=c(90215),x=c(55620),m=c(16985),y=c(53461),g=c(74635),b=c(44414);const v=function(){var e,t,c;const v=(0,p.A)({queryKey:x.B.COMMON.COMMON_CONTENT,url:"".concat(m.Y.COMMON.COMMON_CONTENT,"?language=en")}),h=v.data,j=v.isLoading,O=null===h||void 0===h||null===(e=h.data)||void 0===e?void 0:e.community_guideline,N=null===h||void 0===h||null===(t=h.data)||void 0===t?void 0:t.safety_and_policy,A=null===h||void 0===h||null===(c=h.data)||void 0===c?void 0:c.safety_tips,C=(0,o.useState)("guidelines"),w=(0,n.A)(C,2),k=w[0],S=w[1];return(0,b.jsx)("div",{children:(0,b.jsx)(y.A,{loading:j,children:(0,b.jsxs)("div",{className:"flex flex-col mx-0 sm:mx-4 md:mx-12 lg:mx-24 xl:mx-32 my-2 ",children:[(0,b.jsx)("div",{children:(0,b.jsx)(s.A,{classNAme:"mr-4",title:(0,g.t)("Community.Community")})}),(0,b.jsxs)(d.A,{gutter:[16,16],children:[(0,b.jsx)(i.A,{xs:24,xl:12,className:"",children:(0,b.jsxs)(l.A,{onClick:()=>S("guidelines"),className:"titleSmall border 2xl:titleMedium h-16 w-full flex justify-start items-center gap-2 ".concat("guidelines"===k?"bg-blue-100 text-white":"bg-grey-5 text-black-100"),children:[(0,b.jsx)(a.A,{className:"bg-white",icon:(0,b.jsx)(f.A,{src:"guidelines"===k?u.b.ICONS.folderIcon:u.b.ICONS.blackFolderIcon,className:"h-4"})}),(0,b.jsx)("p",{children:(0,g.t)("Community.CommunityGuidelines")})]})}),(0,b.jsx)(i.A,{xs:24,xl:12,children:(0,b.jsxs)(l.A,{onClick:()=>S("safetyTips"),className:"titleSmall 2xl:titleMedium h-16 w-full flex justify-start items-center gap-2 ".concat("safetyTips"===k?"bg-blue-100 text-white":"bg-grey-5 text-black-100"),children:[(0,b.jsx)(a.A,{className:"bg-white",icon:(0,b.jsx)(r.a.SecurityCheckIcon,{style:{fontSize:25},className:"".concat("safetyTips"===k?"text-blue-50":"text-black-100")})}),(0,b.jsx)("p",{children:(0,g.t)("Community.SafetyTips")})]})})]}),(0,b.jsx)("div",{className:"bg-grey-5 p-2 sm:p-4 md:p-8 rounded-lg flex flex-col gap-4 border border-grey-18 my-2 h-[70vh] overflow-auto",children:h&&(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:"guidelines"===k?O:"safetyPolicy"===k?N:"safetyTips"===k?A:""}})})]})})})};c.d(t,["default",0,v])},41988(e,t,c){const n=c(55352).A;c.d(t,["A",0,n])},7647(e,t,c){const n=(0,c(9950).createContext)({});c.d(t,["A",0,n])},55352(e,t,c){var n=c(5544),o=c(9950),s=c(48738),l=c.n(s),a=c(5741),r=c(7647),i=c(70620),d=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(c[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(c[n[o]]=e[n[o]])}return c};function f(e){return"auto"===e?"1 1 auto":"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}const u=["xs","sm","md","lg","xl","xxl"];const p=o.forwardRef(((e,t)=>{const c=o.useContext(a.QO),s=c.getPrefixCls,p=c.direction,x=o.useContext(r.A),m=x.gutter,y=x.wrap,g=e.prefixCls,b=e.span,v=e.order,h=e.offset,j=e.push,O=e.pull,N=e.className,A=e.children,C=e.flex,w=e.style,k=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=s("col",g),M=(0,i.xV)(S),T=(0,n.A)(M,3),E=T[0],P=T[1],I=T[2],_={};let L={};u.forEach((t=>{let c={};const n=e[t];"number"===typeof n?c.span=n:"object"===typeof n&&(c=n||{}),delete k[t],L=Object.assign(Object.assign({},L),{["".concat(S,"-").concat(t,"-").concat(c.span)]:void 0!==c.span,["".concat(S,"-").concat(t,"-order-").concat(c.order)]:c.order||0===c.order,["".concat(S,"-").concat(t,"-offset-").concat(c.offset)]:c.offset||0===c.offset,["".concat(S,"-").concat(t,"-push-").concat(c.push)]:c.push||0===c.push,["".concat(S,"-").concat(t,"-pull-").concat(c.pull)]:c.pull||0===c.pull,["".concat(S,"-rtl")]:"rtl"===p}),c.flex&&(L["".concat(S,"-").concat(t,"-flex")]=!0,_["--".concat(S,"-").concat(t,"-flex")]=f(c.flex))}));const R=l()(S,{["".concat(S,"-").concat(b)]:void 0!==b,["".concat(S,"-order-").concat(v)]:v,["".concat(S,"-offset-").concat(h)]:h,["".concat(S,"-push-").concat(j)]:j,["".concat(S,"-pull-").concat(O)]:O},N,L,P,I),B={};if(null===m||void 0===m?void 0:m[0]){const e="number"===typeof m[0]?"".concat(m[0]/2,"px"):"calc(".concat(m[0]," / 2)");B.paddingLeft=e,B.paddingRight=e}return C&&(B.flex=f(C),!1!==y||B.minWidth||(B.minWidth=0)),E(o.createElement("div",Object.assign({},k,{style:Object.assign(Object.assign(Object.assign({},B),w),_),className:R,ref:t}),A))}));c.d(t,["A",0,p])},66577(e,t,c){c.d(t,{A:()=>x});var n=c(5544),o=c(9950),s=c(48738),l=c.n(s),a=c(66191),r=c(5741),i=c(16661);var d=c(7647),f=c(70620),u=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(c[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(c[n[o]]=e[n[o]])}return c};
1function p(e,t){const c=o.useState("string"===typeof e?e:""),s=(0,n.A)(c,2),l=s[0],r=s[1];return o.useEffect((()=>{(()=>{if("string"===typeof e&&r(e),"object"===typeof e)for(let c=0;c<a.ye.length;c++){const n=a.ye[c];if(!t||!t[n])continue;const o=e[n];if(void 0!==o)return void r(o)}})()}),[JSON.stringify(e),t]),l}const x=o.forwardRef(((e,t)=>{const c=e.prefixCls,s=e.justify,x=e.align,m=e.className,y=e.style,g=e.children,b=e.gutter,v=void 0===b?0:b,h=e.wrap,j=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),O=o.useContext(r.QO),N=O.getPrefixCls,A=O.direction,C=(0,i.A)(!0,null),w=p(x,C),k=p(s,C),S=N("row",c),M=(0,f.L3)(S),T=(0,n.A)(M,3),E=T[0],P=T[1],I=T[2],_=function(e,t){const c=[void 0,void 0],n=Array.isArray(e)?e:[e,void 0],o=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return n.forEach(((e,t)=>{if("object"===typeof e&&null!==e)for(let n=0;n<a.ye.length;n++){const s=a.ye[n];if(o[s]&&void 0!==e[s]){c[t]=e[s];break}}else c[t]=e})),c}(v,C),L=l()(S,{["".concat(S,"-no-wrap")]:!1===h,["".concat(S,"-").concat(k)]:k,["".concat(S,"-").concat(w)]:w,["".concat(S,"-rtl")]:"rtl"===A},m,P,I),R={};if(null===_||void 0===_?void 0:_[0]){const e="number"===typeof _[0]?"".concat(_[0]/-2,"px"):"calc(".concat(_[0]," / -2)");R.marginLeft=e,R.marginRight=e}const B=(0,n.A)(_,2),G=B[0],Q=B[1];R.rowGap=Q;const W=o.useMemo((()=>({gutter:[G,Q],wrap:h})),[G,Q,h]);return E(o.createElement(d.A.Provider,{value:W},o.createElement("div",Object.assign({},j,{className:L,style:Object.assign(Object.assign({},R),y),ref:t}),g)))}))},87094(e,t,c){const n=c(66577).A;c.d(t,["A",0,n])}}]);
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.