1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1900],{73846:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/governance/democracy/[id]",function(){return r(3481)}])},3481:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return u}});var l=r(85893),i=r(5152),s=r.n(i);r(67294);var t=r(11163),o=r(25885),a=r(30629);let c=s()(()=>r.e(8016).then(r.bind(r,18016)),{loadableGenerated:{webpack:()=>[18016]},ssr:!1});var u=!0;n.default=()=>{let e=(0,t.useRouter)().query.id;return(0,l.jsxs)(o.Z,{pathname:"/governance/democracy/[id]",children:[(0,l.jsx)(a.Z,{title:"Democracy Proposal #".concat(e||""),mb:6}),(0,l.jsx)(c,{proposalId:e})]})}},30629:function(e,n,r){"use strict";var l=r(85893),i=r(93344),s=r(47523),t=r(33838),o=r(62723),a=r(204),c=r(14418),u=r(75350),d=r(23279),x=r.n(d),f=r(67294),h=r(26156),b=r(46604),p=r(89633),m=r(71577);let g=e=>{if(!e)return null;if(e.isLoading)return(0,l.jsx)(i.O,{boxSize:6,display:"inline-block",borderRadius:"base",mr:3,my:2,verticalAlign:"text-bottom",isLoaded:!e.isLoading});let n=(0,l.jsx)(p.Z,{name:"arrows/east",boxSize:6,transform:"rotate(180deg)",margin:"auto",color:"gray.400"});return"url"in e?(0,l.jsx)(s.u,{label:e.label,children:(0,l.jsx)(m.Z,{display:"inline-flex",href:e.url,h:"40px",mr:3,children:n})}):(0,l.jsx)(s.u,{label:e.label,children:(0,l.jsx)(t.r,{display:"inline-flex",onClick:e.onClick,h:"40px",mr:3,children:n})})};n.Z=(0,u.m)(e=>{let{title:n,contentAfter:r,withTextAd:t,backLink:u,className:d,isLoading:p,afterTitle:m,beforeTitle:w,secondRow:j}=e,k=(0,o.q)(),v=(0,h.Z)(),[_,y]=f.useState(!1),C=f.useRef(null),E=f.useRef(null),O=f.useCallback(()=>{if(!C.current||!E.current)return;let e=C.current.getBoundingClientRect(),n=E.current.getBoundingClientRect();2*e.height<=n.height?y(!0):y(!1)},[]);return f.useEffect(()=>{p||O()},[p,O]),f.useEffect(()=>{let e=x()(O,1e3);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[O]),(0,l.jsxs)(a.k,{className:d,flexDir:"column",rowGap:3,mb:6,children:[(0,l.jsxs)(a.k,{flexDir:"row",flexWrap:"wrap",rowGap:3,columnGap:3,alignItems:"center",children:[(0,l.jsxs)(a.k,{h:{base:"auto",lg:p?10:"auto"},maxW:"100%",alignItems:"center",children:[u&&(0,l.jsx)(g,{...u,isLoading:p}),w,(0,l.jsx)(i.O,{isLoaded:!p,overflow:"hidden",children:(0,l.jsx)(s.u,{label:n,isOpen:k.isOpen,onClose:k.onClose,maxW:{base:"calc(100vw - 32px)",lg:"500px"},closeOnScroll:!!v,isDisabled:!_,children:(0,l.jsx)(c.X,{ref:C,as:"h1",size:"lg",whiteSpace:"normal",wordBreak:"break-all",style:{WebkitLineClamp:1,WebkitBoxOrient:"vertical",display:"-webkit-box"},overflow:"hidden",textOverflow:"ellipsis",onMouseEnter:k.onOpen,onMouseLeave:k.onClose,onClick:v?k.onToggle:void 0,children:(0,l.jsx)("span",{ref:E,children:n})})})}),m]}),r,t&&(0,l.jsx)(b.Z,{order:{base:-1,lg:100},mb:{base:6,lg:0},ml:"auto",w:{base:"100%",lg:"auto"}})]}),j&&(0,l.jsx)(a.k,{alignItems:"center",minH:10,overflow:"hidden",_empty:{display:"none"},children:j})]})})}},function(e){e.O(0,[5481,5640,2888,9774,179],function(){return e(e.s=73846)}),_N_E=e.O()}]); 2//# sourceMappingURL=[id]-d0af7370ba6ef568.js.map
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.