PageSourceSearch

https://my.doran.app/_next/static/chunks/vendor-f48f2170-9ce1bc87817031c6.js

js doran.app collected 2026-10-01 12:09:03 UTC 87,123 bytes, 1,730 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78099],{57190:function(e,t,r){r.d(t,{C:function(){return a}});var n=r(27730),i=r(8863);let o=i.ZP.span`
2  display: inline-flex;
3  align-items: center;
4  border-radius: 0.25rem;
5  padding-left: 0.625rem;
6  padding-right: 0.625rem;
7  padding-top: 0.125rem;
8  padding-bottom: 0.125rem;
9  font-size: 0.75rem;
10  line-height: 1rem;
11`,a=({name:e,color:t})=>(0,n.jsx)(o,Object.assign({style:{color:t,backgroundColor:`${t}30`}},{children:e}))},98974:function(e,t,r){r.d(t,{z:function(){return s}});var n=r(27730),i=r(20485),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let a=e=>{var{content:t,bgColor:r,textColor:a,fullWidth:s,height:l,loading:d}=e,c=o(e,["content","bgColor","textColor","fullWidth","height","loading"]);return d?(0,n.jsx)(i.d,{$bgColor:r,$textColor:a,$fullWidth:s,$height:l}):(0,n.jsx)(i.A,Object.assign({$fullWidth:s},c,{$bgColor:r,$textColor:a,$height:l},{children:t}))},s={Primary:a}},20485:function(e,t,r){r.d(t,{A:function(){return a},d:function(){return o}});var n=r(8863);let i=n.F4`
12 from {
13      transform: rotate(0turn);
14    }
15  
16    to {
17      transform: rotate(1turn);
18    }
19`,o=n.ZP.button`
20  width: ${e=>e.$fullWidth?"100%":"20%"};
21  height: ${e=>e.$height||"2.5rem"};
22  display: inline-block;
23  position: relative;
24  overflow: hidden;
25  background-color: ${e=>e.$bgColor||e.theme.primaryColor};
26  color: ${e=>e.$textColor||e.theme.buttonTextColor};
27  border-radius: 0.25rem;
28  user-select: none;
29  cursor: not-allowed;
30
31  &:after {
32    content: '';
33    position: absolute;
34    width: 16px;
35    height: 16px;
36    top: 0;
37    left: 0;
38    right: 0;
39    bottom: 0;
40    margin: auto;
41    border: 4px solid transparent;
42    border-top-color: #ffffff;
43    border-radius: 50%;
44    animation: ${i} 1s ease infinite;
45  }
46`,a=n.ZP.button`
47  display: inline-block;
48  padding-left: 1rem;
49  padding-right: 1rem;
50  background-color: ${e=>e.$bgColor||e.theme.primaryColor};
51  color: ${e=>e.$textColor||e.theme.buttonTextColor};
52  font-size: 0.875rem;
53  line-height: 1.25rem;
54  font-weight: 500;
55  justify-content: center;
56  border-radius: 0.25rem;
57  border-width: 1px;
58  border-color: transparent;
59  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
60  height: ${e=>e.$height||"2.5rem"};
61  &:hover {
62    background-color: ${e=>e.theme.primaryColor}80;
63  }
64  &:focus {
65    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05 0 0 #0000);
66    outline: 0;
67  }
68  ${e=>e.$fullWidth&&n.iv`
69      width: 100%;
70    `}
71`},44713:function(e,t,r){r.d(t,{S:function(){return s}});var n=r(27730),i=r(30812),o=r(8863);let a=o.ZP.p`
72  padding: 0.5rem;
73  text-align: center;
74`;class s extends i.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?(0,n.jsx)(a,{children:"Error when loading this page"}):this.props.children}}},1918:function(e,t,r){r.d(t,{j:function(){return u}});var n=r(27730),i=r(30812),o=r(82905),a=r(8863);let s=a.ZP.div`
75  margin-bottom: 1rem;
76  display: flex;
77  align-items: center;
78`,l=a.ZP.div`
79  display: flex;
80  height: 1.25rem;
81  align-items: center;
82  input {
83    height: 1rem;
84    width: 1rem;
85    border-radius: 0.25rem;
86    --tw-border-opacity: 1;
87    border-color: rgb(209 213 219 / var(--tw-border-opacity));
88  }
89`,d=a.ZP.label`
90  margin-left: 0.75rem;
91  p {
92    margin: 0;
93    text-decoration: ${e=>e.$withLineThrough&&"line-through"};
94  }
95`;var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let u=(0,i.forwardRef)((e,t)=>{var{label:r,checked:i,withLineThrough:a}=e,u=c(e,["label","checked","withLineThrough"]);let p=(0,o.WB)();return(0,n.jsxs)(s,{children:[(0,n.jsx)(l,{children:(0,n.jsx)("input",Object.assign({type:"checkbox"},u,{ref:t,id:p}))}),(0,n.jsx)(d,Object.assign({htmlFor:p,$withLineThrough:a&&i},{children:(0,n.jsx)("p",{children:r})}))]})})},86276:function(e,t,r){r.d(t,{g:function(){return y}});var n=r(27730),i=r(29845),o=r(30812),a=r(82905),s=r(73238),l=r(90860),d=r(52333),c=r(8863);let u=c.ZP.div`
96  position: relative;
97  height: 100px;
98  width: 100%;
99  border: 1px dashed gray;
100  border-radius: 4px;
101  padding-top: 10px;
102  padding-bottom: 10px;
103
104  &:hover {
105    cursor: pointer;
106    border-color: ${e=>e.theme.primaryColor};
107    background-color: #dfdfdf3d;
108  }
109`,p=c.ZP.input`
110  position: absolute;
111  opacity: 0;
112  width: 100%;
113  height: 100%;
114`,h=c.ZP.div`
115  height: 100%;
116  display: flex;
117  justify-content: center;
118  align-items: center;
119`,g=c.ZP.button`
120  color: #ffffff;
121  font-size: 0.75rem;
122  line-height: 1rem;
123  text-transform: uppercase;
124  cursor: pointer;
125  position: absolute;
126  top: 50%;
127  left: 50%;
128  transform: translate(-50%, -50%);
129  opacity: 0;
130  transition: opacity 300ms ease-in-out;
131`,f=c.ZP.div`
132  height: 100%;
133  display: flex;
134  justify-content: center;
135  position: relative;
136
137  &:hover ${g} {
138    opacity: 1;
139  }
140`,m=({currentFile:e,onChangeUpload:t})=>{let[r,c]=(0,o.useState)(e),[m,b]=(0,o.useState)(!1),x=(0,o.useCallback)(e=>{var r,n,o,l;return r=void 0,n=void 0,o=void 0,l=function*(){let r=e.target.files;if(r.length<1)return;let n=r[0];if(!n.type.includes("image/")||n.size>=1e6)return!1;let o=yield(0,s.c)();b(!0);try{let l=(0,i.ref)(o,`images/${(0,a.WB)(4)}_${n.name}`),d=yield r[0].arrayBuffer(),u=yield(0,i.uploadBytes)(l,new Uint8Array(d)),p=`https://storage.cloud.google.com/${l.bucket}/${u.ref.fullPath}`;c(p),t(p)}catch(h){console.log("error: ",h)}finally{b(!1)}},new(o||(o=Promise))(function(e,t){function i(e){try{s(l.next(e))}catch(r){t(r)}}function a(e){try{s(l.throw(e))}catch(r){t(r)}}function s(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(i,a)}s((l=l.apply(r,n||[])).next())})},[]),w=(0,o.useCallback)(()=>{c(""),t("")},[]);return(0,o.useEffect)(()=>{c(e)},[e]),(0,n.jsx)(u,{children:r?(0,n.jsxs)(f,{children:[(0,n.jsx)("img",{src:r,alt:"Avatar"}),(0,n.jsx)(g,Object.assign({onClick:w},{children:(0,n.jsx)(l.J,{type:"trash-can",className:"text-red-500"})}))]}):(0,n.jsx)(h,{children:m?(0,n.jsx)(d.$,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:"Upload file"}),(0,n.jsx)(p,{type:"file",multiple:!1,accept:"image/*",onChange:x})]})})})};var b=r(1918),x=r(4154),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let v=(0,o.forwardRef)((e,t)=>{var{type:r="text",suffix:i,prefix:o,error:a}=e,s=w(e,["type","suffix","prefix","error"]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)(x.OP,{children:[!!o&&(0,n.jsx)(x.Zc,{children:o}),(0,n.jsx)(x.x2,Object.assign({$error:!!a,$hasSuffix:!!i,$hasPrefix:!!o,type:r,ref:t},s)),!!i&&(0,n.jsx)(x.eu,{children:i})]}),!!a&&(0,n.jsx)(x.Vx,{children:a})]})}),y={Text:v,Checkbox:b.j,AvatarUpload:m}},4154:function(e,t,r){r.d(t,{OP:function(){return i},Vx:function(){return a},Zc:function(){return l},eu:function(){return s},x2:function(){return o}});var n=r(8863);let i=n.ZP.div`
141  margin-top: 0.25rem;
142  border-radius: 0.375rem;
143  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
144  position: relative;
145`,o=n.ZP.input`
146  display: block;
147  font-size: 0.875rem !important;
148  line-height: 1.25rem !important;
149  width: 100% !important;
150  border-radius: 0.375rem !important;
151  appearance: none;
152  padding-top: 0.375rem !important;
153  padding-bottom: 0.375rem !important;
154
155  &:focus {
156    border-color: ${e=>e.theme.primaryColor} !important;
157  }
158
159  ${e=>e.$hasSuffix&&n.iv`
160      padding-right: 1.75rem !important;
161    `}
162
163  ${e=>e.$hasPrefix&&n.iv`
164      padding-left: 2rem !important;
165    `}
166
167  ${e=>e.$error?n.iv`
168          color: #fca5a5;
169          border-color: #fca5a5 !important;
170
171          &:focus {
172            border-color: #ef4444 !important;
173          }
174        `:n.iv`
175          border-color: #d1d5db !important;
176          &:focus {
177            border-color: ${e=>e.theme.primaryColor} !important;
178          }
179        `}
180`,a=n.ZP.p`
181  margin-top: 0.5rem;
182  color: #dc2626;
183  font-size: 0.875rem;
184  line-height: 1.25rem;
185`,s=n.ZP.div`
186  padding-right: 0.75rem;
187  align-items: center;
188  display: flex;
189  right: 0px;
190  top: 0px;
191  bottom: 0px;
192  position: absolute;
193  cursor: pointer;
194`,l=n.ZP.div`
195  padding-left: 0.75rem;
196  align-items: center;
197  display: flex;
198  left: 0px;
199  top: 0px;
200  bottom: 0px;
201  position: absolute;
202  cursor: pointer;
203`},51308:function(e,t,r){r.d(t,{x:function(){return g}});var n=r(27730),i=r(30812),o=r(23041),a=r(8863);let s=a.ZP.div`
204  position: relative;
205  ${e=>{switch(e.$gutterSize){case"none":return"margin-top: 0;";case"xs":return"margin-top: 0.5rem;";case"s":return"margin-top: 1rem";case"m":return"margin-top: 1.25rem;";case"l":return"margin-top: 2rem;";default:return"margin-top: 1rem;"}}}
206`,l=(0,a.ZP)(o.Z)`
207  color: #dc2626;
208  font-size: 0.75rem;
209  line-height: 1rem;
210  font-weight: 400;
211
212  &-enter {
213    height: 0;
214    opacity: 0;
215    padding-top: 0;
216  }
217
218  &-enter-active {
219    opacity: 1;
220    height: 20px;
221    padding-top: 4px;
222    transition-property: opacity, height, padding-top;
223    transition-duration: 90ms;
224  }
225
226  &-enter-done {
227    opacity: 1;
228    height: 20px;
229    padding-top: 4px;
230  }
231
232  &-exit {
233    opacity: 1;
234    height: 20px;
235    padding-top: 4px;
236  }
237
238  &-exit-active {
239    height: 0;
240    opacity: 0;
241    padding-top: 0;
242    transition-property: opacity, height, padding-top;
243    transition-duration: 90ms;
244  }
245
246  &-exit-done {
247    height: 0;
248    opacity: 0;
249    padding-top: 0;
250  }
251`,d=a.ZP.div`
252  margin-top: 0.25rem;
253  color: #dc2626;
254  font-size: 0.75rem;
255  line-height: 1rem;
256  font-weight: 400;
257  text-align: left;
258`,c=a.ZP.div`
259  display: flex;
260  font-size: 0.875rem;
261  line-height: 1.25rem;
262  font-weight: 500;
263  white-space: normal;
264  align-items: center;
265  margin-bottom: 6px;
266  color: #22313f;
267`,u=a.ZP.span`
268  margin-left: 0.125rem;
269  color: #dc2626;
270`,p=a.ZP.div`
271  margin-top: 0.25rem;
272  font-size: 0.75rem;
273  line-height: 1rem;
274  font-weight: 400;
275  color: #636c79;
276`,h=a.ZP.div`
277  position: relative;
278  line-height: 0;
279`,g=({name:e,hint:t,label:r,required:o,errors:a=[],gutterSize:g="m",children:f})=>{var m;let b=i.Children.only(f),{name:x,disabled:w,isDisabled:v}=b.props,y=x||e,k=null===(m=a.find(({field:t})=>t===e))||void 0===m?void 0:m.message,j=!!k;return(0,n.jsxs)(s,Object.assign({$gutterSize:g},{children:[r&&(0,n.jsxs)(c,{children:[r,o&&(0,n.jsx)(u,{children:"*"})]}),(0,n.jsx)(h,{children:(0,i.cloneElement)(b,Object.assign({},a&&y&&{isInvalid:j}))}),y&&!(w||v)&&(0,n.jsx)(l,Object.assign({in:j,timeout:90,unmountOnExit:!0},{children:(0,n.jsx)(d,{children:k})}
279)),t&&(0,n.jsx)(p,{children:t})]}))}},90860:function(e,t,r){r.d(t,{J:function(){return l}});var n=r(27730),i=r(30812),o=r(8863),a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let s=(0,i.memo)(e=>{var{type:t}=e,o=a(e,["type"]);let s=(0,i.useMemo)(()=>(0,i.lazy)(()=>r(51272)(`./${t}.svg`)),[t]);return(0,n.jsx)(i.Suspense,Object.assign({fallback:(0,n.jsx)(n.Fragment,{})},{children:(0,n.jsx)(s,Object.assign({},o))}))}),l=(0,o.ZP)(s)`
280  width: ${e=>e.$width||1}rem;
281  height: ${e=>e.$height||1}rem;
282  color: ${e=>e.$color};
283  opacity: ${e=>e.$disabled?"0.5":"1"};
284  transform: ${e=>`rotate(${e.$rotate})`};
285  transition: all cubic-bezier(0.4, 0, 0.2, 1) 150ms;
286`},8804:function(e,t,r){r.d(t,{e:function(){return A}});var n=r(27730),i=r(30812),o=r(88077),a=r.n(o),s=r(1684).lW;let l=e=>{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},d=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(3294.6*t+.5):Math.trunc((1.055*Math.pow(t,1/2.4)-.055)*255+.5)},c=e=>e<0?-1:1,u=(e,t)=>c(e)*Math.pow(Math.abs(e),t);
286class p extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}}let h=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],g=e=>{let t=0;for(let r=0;r<e.length;r++){let n=e[r],i=h.indexOf(n);t=83*t+i}return t},f=e=>{if(!e||e.length<6)throw new p("The blurhash string must be at least 6 characters");let t=g(e[0]),r=Math.floor(t/9)+1,n=t%9+1;if(e.length!==4+2*n*r)throw new p(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*n*r}`)},m=e=>{try{f(e)}catch(t){return{result:!1,errorReason:t.message}}return{result:!0}},b=e=>[l(e>>16),l(e>>8&255),l(255&e)],x=(e,t)=>{let r=[u((Math.floor(e/361)-9)/9,2)*t,u((Math.floor(e/19)%19-9)/9,2)*t,u((e%19-9)/9,2)*t];return r},w=(e,t,r,n)=>{f(e),n|=1;let i=g(e[0]),o=Math.floor(i/9)+1,a=i%9+1,s=g(e[1]),l=(s+1)/166,c=Array(a*o);for(let u=0;u<c.length;u++)if(0===u){let p=g(e.substring(2,6));c[u]=b(p)}else{let h=g(e.substring(4+2*u,6+2*u));c[u]=x(h,l*n)}let m=4*t,w=new Uint8ClampedArray(m*r);for(let v=0;v<r;v++)for(let y=0;y<t;y++){let k=0,j=0,C=0;for(let $=0;$<o;$++){let P=Math.cos(Math.PI*v*$/r);for(let O=0;O<a;O++){let S=Math.cos(Math.PI*y*O/t)*P,Z=c[O+$*a];k+=Z[0]*S,j+=Z[1]*S,C+=Z[2]*S}}let E=d(k),I=d(j),A=d(C);w[4*y+0+v*m]=E,w[4*y+1+v*m]=I,w[4*y+2+v*m]=A,w[4*y+3+v*m]=255}return w},v=(e,t)=>e>100||t>100?{width:16,height:9}:{width:10*(Math.round(e/t*10)/10),height:10},y=(e,t=16,r=9)=>{if(!e)return;let n=v(t,r),i=w(e,n.width,n.height),o=k(i,n.width,n.height);return o},k=(e,t,r)=>{let n=[...e].map(e=>String.fromCharCode(e)).join(""),i=C(t,r,n),o=void 0!==s?s.from(j(i)).toString("base64"):btoa(i);return"data:image/png;base64,"+o},j=e=>{let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t},C=(e,t,r)=>{let n,i,o,a;let s=String.fromCharCode(120,1),l=[],d=String.fromCharCode(137,80,78,71,13,10,26,10);for(n=0;n<256;n++){for(o=0,i=n;o<8;o++)1&i?i=3988292384^i>>>1:i>>>=1;l[n]=i}function c(e){return String.fromCharCode((4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e)}function u(e,t,r){let n=4294967295^function(e,t){let r=4294967295;for(let n=0;n<t.length;n++)r=l[(r^t.charCodeAt(n))&255]^r>>>8;return r}(0,t+r);return c(e)+t+r+c(n)}let p=u(0,"IEND",""),h=function(e,t){let r=c(e)+c(t)+"\b\x06\0\0\0";return u(13,"IHDR",r)}(e,t),g="";for(let f=0;f<r.length;f+=4*e){if(a="\0",Array.isArray(r))for(let m=0;m<4*e;m++)a+=String.fromCharCode(255&r[f+m]);else a+=r.substr(f,4*e);g+=a}let b=s+function(e){let t,r;let n="";for(let i=0;i<e.length;i+=65535)t=e.length-i,r="",t<=65535?r="\x01":(t=65535,r="\0"),n+=r+String.fromCharCode(255&t,(65280&t)>>>8)+String.fromCharCode(255&~t,(65280&~t)>>>8)+e.substring(i,i+t);return n}(g)+c(function(e){let t=1,r=0;for(let n=0;n<e.length;n++)r=(r+(t=(t+e.charCodeAt(n))%65521))%65521;return r<<16|t}(g)),x=u(b.length,"IDAT",b);return d+h+x+p},$=()=>"undefined"==typeof window?0:window.scrollX||window.pageXOffset,P=()=>"undefined"==typeof window?0:window.scrollY||window.pageYOffset,O=()=>"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype;var S=r(8863);let Z=S.ZP.img`
287  border-radius: 0.25rem;
288  width: 100%;
289  margin-top: 0.25rem;
290  margin-bottom: 0.25rem;
291  ${e=>!!e.$isBlurHash&&S.iv`
292      max-height: 150px !important;
293    `}
294`;var E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let I="LKN]Rv%2Tw=w]~RBVZRi};RPxuwH",A=e=>{var{blurHash:t=I,threshold:r=0,blurHashWidth:o,blurHashHeight:s}=e,l=E(e,["blurHash","threshold","blurHashWidth","blurHashHeight"]);t=m(t)?t:I;let d=(0,i.useRef)(),c=(0,i.useRef)(),[u,p]=(0,i.useState)(!1),[h,g]=(0,i.useState)(!1),[f,b]=(0,i.useState)({x:$(),y:P()}),x=(0,i.useCallback)(()=>{O()||(b(()=>({x:$(),y:P()})),S())},[]),w=a()(x,300),v=(0,i.useCallback)(()=>p(!0),[]),k=(0,i.useCallback)(()=>{g(!0)},[g]),j=(0,i.useCallback)(()=>
294{if(!d.current)return!1;let e=d.current.getBoundingClientRect(),t=d.current.style,r={left:parseInt(t.getPropertyValue("margin-left"),10)||0,top:parseInt(t.getPropertyValue("margin-top"),10)||0};return{bottom:f.y+e.bottom+r.top,left:f.x+e.left+r.left,right:f.x+e.right+r.left,top:f.y+e.top+r.top}},[f,d]),C=(0,i.useCallback)(()=>{if("undefined"==typeof window||!d.current)return!1;let e=j();if(!e)return!1;let t={bottom:f.y+window.innerHeight,left:f.x,right:f.x+window.innerWidth,top:f.y};return Boolean(t.top-r<=e.bottom&&t.bottom+r>=e.top&&t.left-r<=e.right&&t.right+r>=e.left)},[d,f]),S=(0,i.useCallback)(()=>{C()&&v()},[]);return((0,i.useEffect)(()=>{if(!O())return window.addEventListener("scroll",w),window.addEventListener("resize",w,{passive:!0}),()=>{window.removeEventListener("scroll",w),window.removeEventListener("resize",w)}},[w]),(0,i.useEffect)(()=>{if(O()&&d.current)return c.current=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&v()})},{rootMargin:r+"px"}),c.current.observe(d.current),()=>{c.current&&d.current&&c.current.unobserve(d.current)}},[d]),h)?(0,n.jsx)(Z,Object.assign({},l)):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z,Object.assign({},l,{src:y(t,o,s),ref:d,$isBlurHash:!0})),u&&(0,n.jsx)(Z,Object.assign({onLoad:k},l))]})}},14644:function(e,t,r){r.d(t,{u:function(){return b}});var n=r(27730),i=r(30812),o=r(42146),a=r(71113),s=r(67465),l=r(98974),d=r(8863),c=r(20485);let u=d.ZP.div`
295  overflow-y: auto;
296  position: fixed;
297  top: 0;
298  right: 0;
299  bottom: 0;
300  left: 0;
301  z-index: 101;
302  padding: 1rem;
303`,p=d.ZP.div`
304  position: fixed;
305  top: 0;
306  right: 0;
307  bottom: 0;
308  left: 0;
309  background-color: #6b7280;
310  opacity: 0.75;
311  transition-property: opacity;
312`,h=d.ZP.div`
313  display: flex;
314  text-align: center;
315  justify-content: center;
316  align-items: flex-end;
317  min-height: 100%;
318  width: 100%;
319
320  @media (min-width: 640px) {
321    align-items: center;
322  }
323`,g=d.ZP.div`
324  overflow: hidden;
325  position: relative;
326  background-color: #ffffff;
327  transition-property: all;
328  text-align: left;
329  width: 100%;
330  border-top-width: 1px;
331  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
332  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
333  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
334  border-radius: 0.25rem;
335
336  @media (min-width: 640px) {
337    margin-top: 2rem;
338    margin-bottom: 2rem;
339    width: 100%;
340    max-width: 32rem;
341  }
342`,f=d.ZP.div`
343  display: flex;
344  padding: 1rem;
345  padding-top: 0;
346  gap: 0.5rem;
347  align-items: center;
348  justify-content: center;
349  @media (min-width: 640px) {
350    display: flex;
351    flex-direction: row-reverse;
352  }
353`,m=(0,d.ZP)(c.A)`
354  background-color: #ddd;
355`,b=({isOpen:e,widgetId:t,onClose:r,confirmText:d,isConfirmLoading:c,children:b,onConfirm:x})=>{let{document:w}=(0,a.xQ)(),v=(0,s.$)(),y=(0,i.useCallback)(()=>r(),[]);return e?(0,o.createPortal)((0,n.jsxs)(u,{children:[(0,n.jsx)(p,{}),(0,n.jsx)(h,{children:(0,n.jsxs)(g,{children:[b,(0,n.jsxs)(f,{children:[(0,n.jsx)(l.z.Primary,{content:d,onClick:x,loading:c}),(0,n.jsx)(m,{content:v("cancelButton",t),onClick:y})]})]})})]}),w.body):null}},28174:function(e,t,r){r.d(t,{a:function(){return s}});var n=r(27730),i=r(23041),o=r(8863);let a=o.ZP.div`
356  position: fixed;
357  top: 0;
358  right: 0;
359  bottom: 0;
360  left: 0;
361  background-color: transparent;
362  transition-property: background-color, border-color, color, fill, stroke;
363  transition-duration: 200ms;
364  z-index: ${e=>e.theme.highestZIndex-1};
365
366  &.dimming-enter {
367    background-color: transparent;
368  }
369
370  &.dimming-enter-active {
371    background-color: #0009;
372  }
373
374  &.dimming-enter-done {
375    background-color: #0009;
376  }
377
378  &.dimming-exit {
379    background-color: #0009;
380  }
381
382  &.dimming-exit-active {
383    background-color: transparent;
384  }
385
386  &.dimming-exit-done {
387    background-color: transparent;
388  }
389`,s=({open:e,onClick:t})=>(0,n.jsx)(i.Z,Object.assign({in:e,unmountOnExit:!0,appear:e,timeout:200,classNames:"dimming"},{children:(0,n.jsx)(a,{onClick:t})}))},95862:function(e,t,r){r.d(t,{S:function(){return l}});var n=r(27730),i=r(52333),o=r(8863);let a=o.ZP.div`
390  display: flex;
391  justify-content: center;
392  align-items: center;
393  width: 100%;
394  height: calc(100vh - 90px);
395`,s=()=>(0,n.jsx)(a,{children:(0,n.jsx)(i.$,{})}),l={Sidebar:s}},89551:function(e,t,r){r.d(t,{pV:function(){return y},Dg:function(){return k},Hq:function(){return b}});var n=r(8863),i=r(27730),o=r(30812),a=r(38102),s=r(43388),l=r(3276),d=r(67465),c=r(997),u=r(68337),p=r(95745),h=r(90860),g=r(52333);let f=n.ZP.form`
396  padding-right: 0.5rem;
397  gap: 0.75rem;
398  align-items: center;
399  flex: 1 1 0%;
400  display: flex;
401`,m=n.ZP.input`
402  font-size: 0.875rem;
403  line-height: 1.25rem;
404  padding-left: 0px;
405  padding-right: 0px;
406  border-style: none;
407  width: 100%;
408  display: block;
409
410  :focus {
411    outline: none;
412  }
413`,b=({widgetId:e,wid:t,post:r})=>{let n=(0,d.$)(),{reducer:b,dispatch:x}=(0,s.bp)(),w=(0,l.Q)(b,`widgets.${e}.currentSubscriber`),[v,y]=(0,o.useState)(!1),[k,j]=(0,o.useState)(""),C=e=>{j(e.target.value)},$=()=>{y(!0),(0,p._t)(t,a.ed,{input:{content:k,postId:null==r?void 0:r.id}}).then(()=>{j(""),x((0,c.CF)(e,{content:n("feedbackSent",e)})),(0,u.Z)(t,{action:"feedback",resource_id:r.id,action_value:k,subscriber_id:null==w?void 0:w.id},e)}).catch(()=>{x((0,c.CF)(e,{content:n("feedbackFail",e),isError:!0}))}).finally(()=>{y(!1)})},P=t=>
413{if(t.preventDefault(),!w){x((0,c.Mo)({widgetId:e,callback:()=>$()}));return}$()};return(0,i.jsxs)(f,Object.assign({onSubmit:P},{children:[(0,i.jsx)(m,{placeholder:n("feedbackPlaceholder",e),value:k,autoComplete:"off",onChange:C}),(0,i.jsx)("button",Object.assign({type:"submit",disabled:!k},{children:v?(0,i.jsx)(g.$,{size:1}):(0,i.jsx)(h.J,{type:"send",$disabled:!k})}))]}))};var x=r(62853),w=r(15427),v=r(55425);let y=({currentReaction:e,handleReact:t,post:r,isPostReactionCount:n})=>{let a=(0,o.useCallback)(()=>t(x.kE.Sad),[e]),s=(0,o.useCallback)(()=>t(x.kE.Happy),[e]),l=(0,o.useCallback)(()=>t(x.kE.Neutral),[e]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(v.Zt,Object.assign({className:"feedback"},{children:[(0,i.jsxs)(v.cG,Object.assign({onClick:s,className:`feedback-item happy${e===x.kE.Happy?" active":""}`},{children:[(0,i.jsxs)(v.av,{children:[(0,i.jsx)("svg",Object.assign({className:"eye left"},{children:(0,i.jsx)("path",{d:"M1,1 C1.83333333,2.16666667 2.66666667,2.75 3.5,2.75 C4.33333333,2.75 5.16666667,2.16666667 6,1"})})),(0,i.jsx)("svg",Object.assign({className:"eye right"},{children:(0,i.jsx)("path",{d:"M1,1 C1.83333333,2.16666667 2.66666667,2.75 3.5,2.75 C4.33333333,2.75 5.16666667,2.16666667 6,1"})}))]}),n&&r.happyCount>0&&(0,i.jsx)("span",{children:(0,w.u)(r.happyCount)})]})),(0,i.jsxs)(v.cG,Object.assign({onClick:l,className:`feedback-item neutral${e===x.kE.Neutral?" active":""}`},{children:[(0,i.jsx)(v.av,{}),n&&r.neutralCount>0&&(0,i.jsx)("span",{children:(0,w.u)(r.neutralCount)})]})),(0,i.jsxs)(v.cG,Object.assign({onClick:a,className:`feedback-item sad${e===x.kE.Sad?" active":""}`},{children:[(0,i.jsxs)(v.av,{children:[(0,i.jsx)("svg",Object.assign({className:"eye left"},{children:(0,i.jsx)("path",{d:"M1,1 C1.83333333,2.16666667 2.66666667,2.75 3.5,2.75 C4.33333333,2.75 5.16666667,2.16666667 6,1"})})),(0,i.jsx)("svg",Object.assign({className:"eye right"},{children:(0,i.jsx)("path",{d:"M1,1 C1.83333333,2.16666667 2.66666667,2.75 3.5,2.75 C4.33333333,2.75 5.16666667,2.16666667 6,1"})})),(0,i.jsx)("svg",Object.assign({className:"mouth"},{children:(0,i.jsx)("path",{d:"M1,5.5 C3.66666667,2.5 6.33333333,1 9,1 C11.6666667,1 14.3333333,2.5 17,5.5"})}))]}),n&&r.sadCount>0&&(0,i.jsx)("span",{children:(0,w.u)(r.sadCount)})]}))]}))})},k=n.ZP.div`
414  border-width: 1px;
415  border-radius: 1.5rem;
416  gap: 1rem;
417  align-items: center;
418  display: flex;
419  margin: auto;
420
421  @media (min-width: 640px) {
422    max-width: 500px;
423  }
424`},55425:function(e,t,r){r.d(t,{Rs:function(){return s},Zt:function(){return i},av:function(){return a},cG:function(){return o}});var n=r(8863);let i=n.ZP.div`
425  margin: 0px;
426  display: flex;
427  gap: 0.5rem;
428  padding: 0px;
429`,o=n.ZP.div`
430  position: relative;
431  --tw-scale-x: 68%;
432  --tw-scale-y: 68%;
433  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
434    skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
435  cursor: pointer;
436  border-radius: 50%;
437  &:hover {
438    --tw-scale-x: 1.5;
439    --tw-scale-y: 1.5;
440    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
441      skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
442  }
443`,a=n.ZP.div`
444  position: relative;
445  height: 2.5rem;
446  width: 2.5rem;
447`,s=n.vJ`
448  .feedback {
449    --normal: #eceaf3;
450    --normal-shadow: #d9d8e3;
451    --normal-mouth: #9795a4;
452    --normal-eye: #595861;
453    --active: #f8da69;
454    --active-shadow: #f4b555;
455    --active-mouth: #f05136;
456    --active-eye: #313036;
457    --active-tear: #76b5e7;
458    --active-shadow-sad: #e94f1d;
459  }
460  .feedback .feedback-item {
461    background: var(--sb, var(--normal));
462    box-shadow: inset 3px -3px 4px var(--sh, var(--normal-shadow));
463    transition: background 0.4s, box-shadow 0.4s, transform 0.3s;
464  }
465
466  .feedback .feedback-item div svg, .feedback .feedback-item div:before, .feedback .feedback-item div:after {
467    display: block;
468    position: absolute;
469    left: var(--l, 9px);
470    top: var(--t, 13px);
471    width: var(--w, 8px);
472    height: var(--h, 2px);
473    transform: rotate(var(--r, 0deg)) scale(var(--sc, 1)) translateZ(0);
474  }
475  .feedback .feedback-item div svg {
476    fill: none;
477    stroke: var(--s);
478    strokeWidth: 2px;
479    strokeLinecap: round;
480    strokeLinejoin: round;
481    transition: stroke 0.4s;
482  }
483  .feedback .feedback-item div svg.eye {
484    --s: var(--e, var(--normal-eye));
485    --t: 17px;
486    --w: 7px;
487    --h: 4px;
488  }
489  .feedback .feedback-item div svg.eye.right {
490    --l: 23px;
491  }
492  .feedback .feedback-item div svg.mouth {
493    --s: var(--m, var(--normal-mouth));
494    --l: 11px;
495    --t: 23px;
496    --w: 18px;
497    --h: 7px;
498  }
499  .feedback .feedback-item div:before, .feedback .feedback-item div:after {
500    content: "";
501    z-index: var(--zi, 1);
502    border-radius: var(--br, 1px);
503    background: var(--b, var(--e, var(--normal-eye)));
504    transition: background 0.4s;
505  }
506  .feedback .feedback-item.sad {
507    --step-1-rx: -24deg;
508    --step-1-ry: 20deg;
509    --step-2-rx: -24deg;
510    --step-2-ry: -20deg;
511  }
512  .feedback .feedback-item.sad div:before {
513    --r: 20deg;
514  }
515  .feedback .feedback-item.sad div:after {
516    --l: 23px;
517    --r: -20deg;
518  }
519  .feedback .feedback-item.sad div svg.eye {
520    stroke-dasharray: 4.55;
521    stroke-dashoffset: 8.15;
522  }
523  .feedback .feedback-item.sad:hover {
524    animation: sad 1s linear;
525  }
526  .feedback .feedback-item.sad:hover div:before {
527    --middle-y: -2px;
528    --middle-r: 22deg;
529    animation: toggle 0.8s linear forwards;
530  }
531  .feedback .feedback-item.sad:hover div:after {
532    --middle-y: 1px;
533    --middle-r: -18deg;
534    animation: toggle 0.8s linear forwards;
535  }
536  .feedback .feedback-item.neutral {
537    --step-1-rx: 4deg;
538    --step-1-ry: -22deg;
539    --step-1-rz: 6deg;
540    --step-2-rx: 4deg;
541    --step-2-ry: 22deg;
542    --step-2-rz: -6deg;
543  }
544  .feedback .feedback-item.neutral div:before {
545    --l: 12px;
546    --t: 17px;
547    --h: 4px;
548    --w: 4px;
549    --br: 50%;
550    box-shadow: 12px 0 0 var(--e, var(--normal-eye));
551  }
552  .feedback .feedback-item.neutral div:after {
553    --l: 13px;
554    --t: 26px;
555    --w: 14px;
556    --h: 2px;
557    --br: 1px;
558    --b: var(--m, var(--normal-mouth));
559  }
560  .feedback .feedback-item.neutral:hover div:before {
561    --middle-s-y: 0.35;
562    animation: toggle 0.2s linear forwards;
563  }
564  .feedback .feedback-item.neutral:hover div:after {
565    --middle-s-x: 0.5;
566    animation: toggle 0.7s linear forwards;
567  }
568  .feedback .feedback-item.happy div {
569    --step-1-rx: 18deg;
570    --step-1-ry: 24deg;
571    --step-2-rx: 18deg;
572    --step-2-ry: -24deg;
573  }
574  .feedback .feedback-item.happy div:before {
575    --sc: 0;
576  }
577  .feedback .feedback-item.happy div:after {
578    --b: var(--m, var(--normal-mouth));
579    --l: 11px;
580    --t: 23px;
581    --w: 18px;
582    --h: 8px;
583    --br: 0 0 8px 8px;
584  }
585  .feedback .feedback-item.happy div svg.eye {
586    --t: 14px;
587    --sc: -1;
588  }
589  .feedback .feedback-item.happy:hover div:after {
590    --middle-s-x: 0.95;
591    --middle-s-y: 0.75;
592    animation: toggle 0.8s linear forwards;
593  }
594
595  .feedback .feedback-item:hover, .feedback .feedback-item.active {
596    --sb: var(--active);
597    --sh: var(--active-shadow);
598    --m: var(--active-mouth);
599    --e: var(--active-eye);
600  }
601
602  .feedback .feedback-item:hover div {
603    animation: shake 0.8s linear forwards;
604  }
605
606  @keyframes shake {
607    30% {
608      transform: perspective(240px) rotateX(var(--step-1-rx, 0deg)) rotateY(var(--step-1-ry, 0deg)) rotateZ(var(--step-1-rz, 0deg)) translateZ(10px);
609    }
610    60% {
611      transform: perspective(240px) rotateX(var(--step-2-rx, 0deg)) rotateY(var(--step-2-ry, 0deg)) rotateZ(var(--step-2-rz, 0deg)) translateZ(10px);
612    }
613    100% {
614      transform: perspective(240px) translateZ(4px);
615    }
616  }
617  @keyframes tear {
618    0% {
619      opacity: 0;
620      transform: translateY(-2px) scale(0) translateZ(0);
621    }
622    50% {
623      transform: translateY(12px) scale(0.6, 1.2) translateZ(0);
624    }
625    20%, 80% {
626      opacity: 1;
627    }
628    100% {
629      opacity: 0;
630      transform: translateY(24px) translateX(4px) rotateZ(-30deg) scale(0.7, 1.1) translateZ(0);
631    }
632  }
633  @keyframes toggle {
634    50% {
635      transform: translateY(var(--middle-y, 0)) scale(var(--middle-s-x, var(--middle-s, 1)), var(--middle-s-y, var(--middle-s, 1))) rotate(var(--middle-r, 0deg));
636    }
637  }
638  @keyframes sad {
639    40% {
640      background: var(--active);
641    }
642    45% {
643      box-shadow: inset 3px -3px 4px var(--active-shadow), inset 0 8px 10px var(--active-shadow-sad);
644    }
645  }
646
647  .feedback-item > span {
648    position: absolute;
649    top: -6px;
650    left: calc(100% - 15px);
651    display: flex;
652    height: 1rem;
653    align-items: center;
654    justify-content: center;
655    border-radius: 0.25rem;
656    border-width: 0px;
657    --tw-bg-opacity: 1;
658    background-color: rgb(220 38 38 / var(--tw-bg-opacity));
659    padding-left: 0.25rem;
660    padding-right: 0.25rem;
661    font-size: 0.75rem;
662    line-height: 1rem;
663    --tw-text-opacity: 1;
664    color: rgb(255 255 255 / var(--tw-text-opacity))
665  }
666`},33816:function(e,t,r){r.d(t,{i:function(){return c}});var n=r(27730),i=r(30812),o=r(8863),a=r(43388),s=r(44572),l=r(8804);let d=(0,o.ZP)(l.e)`
667  cursor: zoom-in;
668  border-radius: 4px;
669`,c=({imageUrl:e,alt:t,blurHash:r})=>{let{dispatch:o}=(0,a.bp)(),l=(0,i.useCallback)(()=>o((0,s.xE)(e)),[e]);return(0,n.jsx)(d,{src:e,alt:t,blurHash:r,loading:"lazy",onClick:l})}},33165:function(e,t,r){r.d(t,{kq:function(){return H}});var n,i,o,a,s=r(27730),l=r(16913),d=r(90860),c=r(30812),u=r(8804),p=r(8863);let h=p.ZP.div`
670  position: relative;
671  padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
672  --tw-aspect-w: 16;
673  --tw-aspect-h: 9;
674  position: relative;
675  cursor: pointer;
676  overflow: hidden;
677`,g=p.ZP.button`
678  position: absolute;
679  left: 50%;
680  top: 50%;
681  display: flex;
682  height: 4rem;
683  width: 4rem;
684  --tw-translate-x: -50%;
685  --tw-translate-y: -50%;
686  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
687    skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
688  align-items: center;
689  justify-content: center;
690  border-radius: 9999px;
691  --tw-bg-opacity: 1;
692  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
693  --tw-text-opacity: 1;
694  color: rgb(34 197 94 / var(--tw-text-opacity));
695  transition-property: all;
696  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
697  transition-duration: 300ms;
698`;var f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let m=e=>{let t,r;let n="https://www.youtube.com/embed/",i="https://player.vimeo.com/video/",o="https://loom.com/embed/",a="https://dailymotion.com/embed/video/";if(null!==(t=e.match(/https?:\/\/(www\.)?youtube\.com\/embed\/([a-zA-Z0-9_-]+)/i))){let s=t[2];return{type:"youtube",url:`${n}${s}`,id:s,thumbnail:`https://i.ytimg.com/vi/${s}/maxresdefault.jpg`,autoplayURL:`${n}${s}?autoplay=1`}}if(null!==(t=e.match(/https?:\/\/player\.vimeo\.com\/video\/([0-9]+)/i))){let l=t[1];return{type:"vimeo",url:`${i}${l}`,autoplayURL:`${i}${l}
698?autoplay=1`,id:l,thumbnail:`https://i.vimeocdn.com/video/${l}_1920x1080.jpg`}}if(null!==(t=e.match(/https?:\/\/(www\.)?loom\.com\/share\/([a-zA-Z0-9]+)/i))){let d=t[2];return{type:"loom",url:`${o}${d}`,autoplayURL:`${o}${d}?autoplay=1`,id:d,thumbnail:`https://cdn.loom.com/sessions/thumbnails/${d}-with-play.gif`}}if(null!==(t=e.match(/https?:\/\/(www\.)?dailymotion\.com\/embed\/video\/([a-zA-Z0-9]+)/i))){let c=t[1];return{type:"dailymotion",url:`${a}${c}`,autoplayURL:`${a}${c}?autoplay=1`,id:c,thumbnail:`https://s1.dmcdn.net/v/${c}/sd/hqdefault.jpg`}}if(null!==(r=e.match(/https?:\/\/(www\.)?youtube\.com\/watch\?(.*&)?v=([a-zA-Z0-9_-]+)/i))){let u=r[3];return{type:"youtube",url:`${n}${u}`,id:u,thumbnail:`https://i.ytimg.com/vi/${u}/maxresdefault.jpg`,autoplayURL:`${n}${u}?autoplay=1`}}if(null!==(r=e.match(/https?:\/\/(www\.)?vimeo\.com\/([0-9]+)/i))){let p=r[2];return{type:"vimeo",url:`${i}${p}`,autoplayURL:`${i}${p}?autoplay=1`,id:p,thumbnail:`https://i.vimeocdn.com/video/${p}_1920x1080.jpg`}}if(null!==(r=e.match(/https?:\/\/(www\.)?loom\.com\/(share|embed)\/([a-zA-Z0-9]+)/i))){let h=r[3];return{type:"loom",url:`${o}${h}`,autoplayURL:`${o}${h}?autoplay=1`,id:h,thumbnail:`https://cdn.loom.com/sessions/thumbnails/${h}-with-play.gif`}}if(null!==(r=e.match(/https?:\/\/(www\.)?dailymotion\.com\/video\/([a-zA-Z0-9]+)/i))){let g=r[2];return{type:"dailymotion",url:`${a}${g}`,autoplayURL:`${a}${g}?autoplay=1`,id:g,thumbnail:`https://s1.dmcdn.net/v/${g}/sd/hqdefault.jpg`}}return null},b=e=>{var{src:t}=e,r=f(e,["src"]);let[n,i]=(0,c.useState)(!1),o=(0,c.useCallback)(()=>i(!0),[]),a=m(t),l=(null==a?void 0:a.thumbnail)||"https://static.doran.app/images/default-video-thumbnail.jpg",p=(null==a?void 0:a.autoplayURL)||t,b=(null==a?void 0:a.type)!=="loom";return n?(0,s.jsx)("iframe",Object.assign({src:p},r)):(0,s.jsxs)(h,{children:[(0,s.jsx)(u.e,{src:l,onClick:o,className:r.className}),b&&(0,s.jsx)(g,Object.assign({onClick:o,type:"button"},{children:(0,s.jsx)(d.J,{type:"button-play"})}))]})},x=p.ZP.div`
699  margin-top: 1rem;
700  margin-bottom: 1rem;
701  overflow: hidden;
702  border-radius: 1rem;
703  border-width: 1px;
704
705  & > :not([hidden]) ~ :not([hidden]) {
706    --tw-divide-y-reverse: 0;
707    border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
708    border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
709  }
710`,w=p.ZP.div`
711  position: relative;
712  display: flex;
713  align-items: center;
714  transition-property: background-color;
715  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
716  transition-duration: 300ms
717
718  &:hover {
719    --tw-bg-opacity: 1;
720    background-color: rgb(243 244 246 / var(--tw-bg-opacity))
721  }
722`,v=p.ZP.a`
723  position: absolute;
724  inset: 0;
725`,y=p.ZP.div`
726  max-width: 100px;
727  padding: 0.5rem;
728  img {
729    margin: 0;
730    width: 100%;
731    max-width: 100px;
732    border-radius: 1rem;
733    object-fit: cover;
734  }
735`,k=p.ZP.div`
736  padding: 1rem;
737`,j=p.ZP.p`
738  margin: 0px;
739  font-size: 0.875rem;
740  line-height: 1.25rem;
741  font-weight: 700;
742`,C=p.ZP.p`
743  margin: 0px;
744  margin-top: 0.5rem;
745  font-size: 0.875rem;
746  line-height: 1rem;
747`,$=({element:e,children:t})=>(0,s.jsxs)(x,{children:[e.posts.map((e,t)=>(0,s.jsxs)(w,{children:[e.url&&(0,s.jsx)(v,Object.assign({href:e.url,target:"_blank",rel:"noreferrer"},{children:"\xa0"})),!!e.image&&(0,s.jsx)(y,{children:(0,s.jsx)("img",{alt:e.title,src:e.image})}),(0,s.jsxs)(k,{children:[(0,s.jsx)(j,{children:e.title}),(0,s.jsx)(C,{children:e.description})]})]},t)),t]});var P=r(86),O=r(82108),S=r(43388),Z=r(62853),E=r(13105),I=r(15427),A=r(3276),L=r(82905),R=r(997);(n=o||(o={})).Action="action",n.Heading="heading",n.BulletedList="bulleted-list",n.ToDo="todo",n.Paragraph="paragraph",n.Image="image",n.Video="video",n.Link="link",n.Idea="idea",n.Blog="blog";let M=e=>e===o.Heading||e===o.Paragraph||e===o.BulletedList||e===o.ToDo;var z=r(85637);let B=({element:e,attributes:t,children:r,widgetId:n})=>{var i;let{dispatch:o,reducer:a}=(0,S.bp)(),l=(0,A.Q)(a,`widgets.${n}`),u=localStorage.getItem((0,L.bH)(n))||O.E.DEFAULT_LANGUAGE,p=(null==e?void 0:e.idea)||null,h=((null==p?void 0:p.content)||[]).filter(e=>M(e.type)),g=(0,c.useCallback)(()=>{o((0,R.LR)(n,{page:"detail-idea",context:{idea:p}}))}
747,[p]);return p?(0,s.jsxs)(z.pu,Object.assign({},t,{contentEditable:!1},{children:[(0,s.jsxs)(P.BS,Object.assign({disabled:p.status!==Z.yy.Published,$isVoted:p.isVoted,type:"button"},{children:[(0,s.jsx)(d.J,{type:"triangle-up",$height:1,$width:1}),(0,s.jsx)("span",{children:(0,I.u)(p.voteCount)})]})),(0,s.jsxs)(P.qr,{children:[l.isOpenLinkPage&&l.pageDomain?(0,s.jsx)("a",Object.assign({href:`${l.pageDomain}/ideas/${p.slug}`,target:"_blank",rel:"noreferrer"},{children:(0,s.jsx)(P.Ym,{children:p.title})})):(0,s.jsx)(P.Ym,Object.assign({onClick:g},{children:p.title})),(0,s.jsxs)(P.sG,{children:[(0,s.jsxs)(P.sp,{children:[(null===(i=null==p?void 0:p.author)||void 0===i?void 0:i.name)&&(0,s.jsx)("strong",{children:p.author.name}),(0,s.jsx)("time",{children:(0,E.o0)({date:p.createdAt,format:l.dateTimeFormat,language:u})})]}),(0,s.jsxs)(P.IV,{children:[(0,s.jsx)(d.J,{type:"chat"}),(0,s.jsx)(P.Z$,{children:(0,I.u)(p.commentCount)})]})]}),(0,s.jsx)(H,{blocks:h,widgetId:n})]})]})):null};var F=r(33816);(i=a||(a={})).Heading="heading",i.BulletedList="bulleted-list",i.ToDo="todo",i.Paragraph="paragraph",i.Image="image",i.Video="video",i.Link="link",i.Action="action",i.Idea="idea",i.Blog="blog";let T=e=>{let{children:t,attributes:r,element:n,widgetId:i}=e;switch(n.type){case a.Idea:return(0,s.jsx)(B,Object.assign({attributes:r,element:n,widgetId:i},{children:t}));case a.Blog:return(0,s.jsx)($,Object.assign({element:n},{children:t}));case a.Action:return(0,s.jsx)("div",{children:(0,s.jsxs)(z.Ee,Object.assign({href:n.url,target:"_blank",rel:"noreferrer"},{children:[(0,s.jsx)("span",{children:t}),(0,s.jsx)("span",{children:(0,s.jsx)(d.J,{type:"external"})})]}))});case a.Heading:return(0,s.jsx)(z.eX,Object.assign({},r,{children:t}));case a.Paragraph:return(0,s.jsx)(z._B,Object.assign({},r,{children:t}));case a.BulletedList:return(0,s.jsx)(z.Px,{children:(0,s.jsx)("li",{children:t})});case a.ToDo:return(0,s.jsxs)(z.L1,{children:[(0,s.jsx)(z.$q,{children:(0,s.jsx)("input",{type:"checkbox",checked:n.checked,readOnly:!0})}),(0,s.jsx)(z.Q1,Object.assign({$checked:n.checked},{children:(0,s.jsx)("p",{children:t})}))]});case a.Image:return(0,s.jsx)(F.i,{imageUrl:n.url,blurHash:n.blurHash,alt:n.alt});case a.Video:return(0,s.jsx)(z.sr,{children:(0,s.jsx)(b,{width:"100%",src:n.url,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"YouTube video player"})});case a.Link:return(0,s.jsx)(z.Fg,Object.assign({href:n.url},r,{target:n.isExternal?"_blank":"_self",rel:"noreferrer"},{children:t}));default:return(0,s.jsx)(z._B,Object.assign({},r,{children:t}))}},_=({attributes:e,children:t,leaf:r})=>r.bold?(0,s.jsx)(z.HK,Object.assign({},e,{children:t})):r.italic?(0,s.jsx)(z.Rp,Object.assign({},e,{children:t})):r.underline?(0,s.jsx)(z.RM,Object.assign({},e,{children:t})):r.strikeThrough?(0,s.jsx)(z.DG,Object.assign({},e,{children:t})):(0,s.jsx)("span",Object.assign({},e,{children:t})),D=({element:e={children:[]},widgetId:t})=>(0,s.jsx)(s.Fragment,{children:T({attributes:{},children:(0,s.jsx)(U,{children:e.children,widgetId:t}),element:e,widgetId:t})}),N=({leaf:e={text:""}})=>(0,s.jsx)(s.Fragment,{children:_({attributes:{},children:e.text,leaf:e})}),U=({children:e=[],widgetId:t})=>(0,s.jsx)(s.Fragment,{children:e.map((e,r)=>(0,l.kK)(e)?(0,s.jsx)(D,{element:e,widgetId:t},r):(0,s.jsx)(N,{leaf:e},r))}),H=({blocks:e=[],widgetId:t=""})=>(0,s.jsx)(U,{children:e,widgetId:t})},85637:function(e,t,r){r.d(t,{$q:function(){return g},DG:function(){return d},Ee:function(){return b},Fg:function(){return m},HK:function(){return a},L1:function(){return h},Px:function(){return o},Q1:function(){return f},RM:function(){return l},Rp:function(){return s},_B:function(){return p},eX:function(){return u},pu:function(){return x},sr:function(){return c}});var n=r(8863),i=r(86);let o=n.ZP.ul`
748  list-style-type: disc;
749  margin-top: 1.25em;
750  margin-bottom: 1.25em;
751  padding-left: 1.625em;
752  margin-top: 1.1428571em;
753  margin-bottom: 1.1428571em;
754  padding-left: 1.5714286em;
755  li {
756    list-style-type: none;
757    &:before {
758      content: '•';
759      width: 1rem;
760      margin-right: 0.25rem;
761      display: inline-flex;
762      align-items: center;
763      flex-grow: 0;
764      justify-content: center;
765    }
766  }
767`,a=n.ZP.span`
768  font-weight: bold;
769`,s=n.ZP.span`
770  text-style: italic;
771`,l=n.ZP.span`
772  text-decoration: underline;
773`,d=n.ZP.span`
774  text-decoration: line-through;
775`,c=n.ZP.div`
776  display: flex;
777  position: relative;
778  padding-bottom: 10rem;
779  justify-content: center;
780  width: 100%;
781  height: 0;
782  min-height: 230px;
783  margin-top: 1.25em;
784  margin-bottom: 1.25em;
785  margin-top: 1.1428571em;
786  margin-bottom: 1.1428571em;
787  iframe {
788    position: absolute;
789    top: 0;
790    left: 0;
791    width: 100%;
792    height: 100%;
793  }
794`,u=n.ZP.h3`
795  --tw-text-opacity: 1;
796  color: rgb(17 24 39 / var(--tw-text-opacity));
797  line-height: 1.5rem;
798  font-weight: 600;
799  font-size: 1.125rem;
800  margin-top: 1.1428571em;
801  margin-bottom: 1.1428571em;
802`,p=n.ZP.p`
803  margin-top: 1.1428571em;
804  margin-bottom: 1.1428571em;
805`,h=n.ZP.div`
806  margin-bottom: 1rem;
807  display: flex;
808  align-items: flex-start;
809`,g=n.ZP.div`
810  display: flex;
811  height: 1.25rem;
812  align-items: center;
813  input {
814    height: 1rem;
815    width: 1rem;
816    border-radius: 0.25rem;
817    --tw-border-opacity: 1;
818    border-color: rgb(209 213 219 / var(--tw-border-opacity));
819  }
820`,f=n.ZP.div`
821  margin-left: 0.75rem;
822  p {
823    margin: 0;
824    ${e=>e.$checked&&n.iv`
825        text-decoration-line: line-through;
826      `};
827  }
828`,m=n.ZP.a`
829  text-decoration: underline;
830`,b=n.ZP.a`
831  display: flex;
832  align-items: center;
833  gap: 0.5rem;
834  cursor: pointer;
835  color: rgb(59 130 246);
836`,x=(0,n.ZP)(i.LI)`
837  border-radius: 4px;
838  border: 1px solid #ebe8e8;
839`},15920:function(e,t,r){r.d(t,{S:function(){return c}});var n=r(27730),i=r(30812),o=r(23041),a=r(43388),s=r(95862),l=r(29729);let d={posts:0,search:0,ideas:1,roadmap:2,"detail-idea":10,"detail-post":10,"create-idea":10},c=({children:e,widgetId:t})=>{let{reducer:r}=(0,a.bp)(),c=r.widgets[t],u=(0,i.useRef)(null),{page:p}=(null==c?void 0:c.page)||{},h=(0,i.useRef)(null),g=(0,i.useRef)("forward");(0,i.useEffect)(()=>{h?d[p]>=d[h.current]?g.current="forward":g.current="back":g.current="forward",h.current=p},[p]);let f=(0,i.useCallback)(e=>(0,i.cloneElement)(e,{classNames:g.current}),[]);return(0,i.useEffect)(()=>{h.current&&u.current&&setTimeout(()=>{u.current&&u.current.classList.add("show")},100)},[h.current,u.current]),h.current?(0,n.jsx)(l.Oy,Object.assign({className:"slide",childFactory:f},{children:(0,n.jsx)(o.Z,Object.assign({timeout:0},{children:(0,n.jsx)(l.Ft,{children:(0,n.jsx)(i.Suspense,Object.assign({fallback:(0,n.jsx)(s.S.Sidebar,{})},{children:e}))})}),p)})):(0,n.jsx)(l.Fu,Object.assign({ref:u},{children:(0,n.jsx)(i.Suspense,Object.assign({fallback:(0,n.jsx)(s.S.Sidebar,{})},{children:e}))}))}},91881:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(27730),i=r(30812),o=r(95862);let a=({children:e})=>(0,n.jsx)(i.Suspense,Object.assign({fallback:(0,n.jsx)(o.S.Sidebar,{})},{children:e}))},29729:function(e,t,r){r.d(t,{Ft:function(){return o},Fu:function(){return l},Oy:function(){return s},TF:function(){return a}});var n=r(15851),i=r(8863);let o=i.ZP.div`
840  grid-area: 1 / 1 / 2 / 2;
841  transition: transform 200ms linear;
842  height: 100%;
843  overflow-x: auto;
844`,a=i.ZP.div`
845  top: 300px;
846  position: absolute;
847  z-index: 100;
848  background: white;
849  width: 100%;
850  transition:
851    all 300ms ease,
852    z-index 0s;
853  &.show {
854    top: 0;
855  }
856`,s=(0,i.ZP)(n.Z)`
857  display: grid;
858  height: 100%;
859
860  & > .back-enter {
861    transform: translateX(-100%);
862  }
863  & > .back-enter-done {
864    transform: translateX(0);
865  }
866  & > .back-exit {
867    transform: translateX(0);
868  }
869  & > .back-exit-done {
870    transform: translateX(100%);
871  }
872
873  & > .forward-enter {
874    transform: translateX(100%);
875  }
876  & > .forward-enter-done {
877    transform: translateX(0);
878  }
879  & > .forward-exit {
880    transform: translateX(0);
881  }
882  & > .forward-exit-done {
883    transform: translateX(-100%);
884  }
885`,l=i.ZP.div`
886  top: 0px;
887  position: absolute;
888  z-index: 20;
889  background: white;
890  width: 100%;
891  transition:
892    top 200ms ease,
893    z-index 0s;
894
895  &.show {
896    top: 100px;
897  }
898`},14439:function(e,t,r){r.d(t,{l:function(){return s}});var n=r(27730),i=r(30812),o=r(95862),a=r(29729);let s=({children:e})=>{let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{t.current&&setTimeout(()=>{t.current&&t.current.classList.add("show")},100)},[t.current]),(0,n.jsx)(a.TF,Object.assign({ref:t},{children:(0,n.jsx)(i.Suspense,Object.assign({fallback:(0,n.jsx)(o.S.Sidebar,{})},{children:e}))}))}},52333:function(e,t,r){r.d(t,{$:function(){return s}});var n=r(27730),i=r(8863);let o=i.F4`
899  0% { transform: rotate(0deg) }
900  100% { transform: rotate(360deg); }
901`,a=i.ZP.div`
902  border: solid 3px;
903  border-color: ${e=>e.$color}30;
904  border-top-color: ${e=>e.$color};
905  animation: ${o} 0.4s infinite;
906  display: block;
907  width: ${e=>e.$size}rem;
908  height: ${e=>e.$size}rem;
909  border-radius: 50%;
910`,s=({size:e=2.5,color:t})=>{let{primaryColor:r}=(0,i.Fg)();return(0,n.jsx)(a,{$size:e,$color:t||r})}},73455:function(e,t,r){r.d(t,{b:function(){return m},Z:function(){return b}});var n=r(27730),i=r(30812),o=r(71113),a=r(8863),s=r(8015);let l={CSS_BUCKET:s.env.NEXT_PUBLIC_CSS_BUCKET},d=e=>{switch(e){case"Inter":return"https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap";case"Montserrat":return"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap";case"Open+Sans":return"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap";case"Roboto":return"https://fonts.googleapis.com/css2?family=Roboto:wght@400;600&display=swap";case"Poppins":return"https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap";case"DM+Sans":return"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"}return null};var c=r(55425);let u=a.iv`
911  *,
912  ::before,
913  ::after {
914    box-sizing: border-box;
915    border-width: 0;
916    border-style: solid;
917    border-color: #e5e7eb;
918  }
919  ::before,
920  ::after {
921    --tw-content: '';
922  }
923  ::-webkit-scrollbar {
924    width: 0;
925  }
926  html {
927    line-height: 1.5;
928    -webkit-text-size-adjust: 100%;
929    -moz-tab-size: 4;
930    tab-size: 4;
931    font-family:
932      ui-sans-serif,
933      system-ui,
934      -apple-system,
935      BlinkMacSystemFont,
936      'Segoe UI',
937      Roboto,
938      'Helvetica Neue',
939      Arial,
940      'Noto Sans',
941      sans-serif,
942      'Apple Color Emoji',
943      'Segoe UI Emoji',
944      'Segoe UI Symbol',
945      'Noto Color Emoji';
946    font-feature-settings: normal;
947  }
948  body {
949    width: 100%;
950    margin: 0px;
951    font-weight: 400;
952    box-sizing: border-box;
953    font-size: 14px;
954    line-height: 1.5;
955    --tw-text-opacity: 1;
956    color: rgb(82 82 91 / var(--tw-text-opacity));
957    margin: 0;
958    line-height: inherit;
959  }
960  hr {
961    height: 0;
962    color: inherit;
963    border-top-width: 1px;
964  }
965  abbr:where([title]) {
966    -webkit-text-decoration: underline dotted;
967    text-decoration: underline dotted;
968  }
969  h1,
970  h2,
971  h3,
972  h4,
973  h5,
974  h6 {
975    font-size: inherit;
976    font-weight: inherit;
977  }
978  a {
979    color: inherit;
980    text-decoration: inherit;
981  }
982  b,
983  strong {
984    font-weight: bolder;
985  }
986  code,
987  kbd,
988  samp,
989  pre {
990    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
991    font-size: 1em;
992  }
993  small {
994    font-size: 80%;
995  }
996  sub,
997  sup {
998    font-size: 75%;
999    line-height: 0;
1000    position: relative;
1001    vertical-align: baseline;
1002  }
1003  sub {
1004    bottom: -0.25em;
1005  }
1006  sup {
1007    top: -0.5em;
1008  }
1009  table {
1010    text-indent: 0;
1011    border-color: inherit;
1012    border-collapse: collapse;
1013  }
1014  button,
1015  input,
1016  optgroup,
1017  select,
1018  textarea {
1019    font-family: inherit;
1020    font-size: 100%;
1021    font-weight: inherit;
1022    line-height: inherit;
1023    color: inherit;
1024    margin: 0;
1025    padding: 0;
1026  }
1027  button,
1028  select {
1029    text-transform: none;
1030  }
1031  button,
1032  [type='button'],
1033  [type='reset'],
1034  [type='submit'] {
1035    -webkit-appearance: button;
1036    background-color: transparent;
1037    background-image: none;
1038  }
1039  :-moz-focusring {
1040    outline: auto;
1041  }
1042  :-moz-ui-invalid {
1043    box-shadow: none;
1044  }
1045  progress {
1046    vertical-align: baseline;
1047  }
1048  ::-webkit-inner-spin-button,
1049  ::-webkit-outer-spin-button {
1050    height: auto;
1051  }
1052  [type='search'] {
1053    -webkit-appearance: textfield;
1054    outline-offset: -2px;
1055  }
1056  ::-webkit-search-decoration {
1057    -webkit-appearance: none;
1058  }
1059  ::-webkit-file-upload-button {
1060    -webkit-appearance: button;
1061    font: inherit;
1062  }
1063  summary {
1064    display: list-item;
1065  }
1066  blockquote,
1067  dl,
1068  dd,
1069  h1,
1070  h2,
1071  h3,
1072  h4,
1073  h5,
1074  h6,
1075  hr,
1076  figure,
1077  p,
1078  pre {
1079    margin: 0;
1080  }
1081  fieldset {
1082    margin: 0;
1083    padding: 0;
1084  }
1085  legend {
1086    padding: 0;
1087  }
1088  ol,
1089  ul,
1090  menu {
1091    list-style: none;
1092    margin: 0;
1093    padding: 0;
1094  }
1095  textarea {
1096    resize: vertical;
1097  }
1098  input::placeholder,
1099  textarea::placeholder {
1100    opacity: 1;
1101    color: #9ca3af;
1102  }
1103  button,
1104  [role='button'] {
1105    cursor: pointer;
1106  }
1107  :disabled {
1108    cursor: default;
1109  }
1110  img,
1111  svg,
1112  video,
1113  canvas,
1114  audio,
1115  iframe,
1116  embed,
1117  object {
1118    display: block;
1119    vertical-align: middle;
1120  }
1121  img,
1122  video {
1123    max-width: 100%;
1124    height: auto;
1125  }
1126  [hidden] {
1127    display: none;
1128  }
1129  [type='text'],
1130  [type='email'],
1131  [type='url'],
1132  [type='password'],
1133  [type='number'],
1134  [type='date'],
1135  [type='datetime-local'],
1136  [type='month'],
1137  [type='search'],
1138  [type='tel'],
1139  [type='time'],
1140  [type='week'],
1141  [multiple],
1142  textarea,
1143  select {
1144    -webkit-appearance: none;
1145    appearance: none;
1146    background-color: #fff;
1147    border-color: #6b7280;
1148    border-width: 1px;
1149    border-radius: 0px;
1150    padding-top: 0.5rem;
1151    padding-right: 0.75rem;
1152    padding-bottom: 0.5rem;
1153    padding-left: 0.75rem;
1154    font-size: 1rem;
1155    line-height: 1.5rem;
1156    --tw-shadow: 0 0 #0000;
1157  }
1158  [type='text']:focus,
1159  [type='email']:focus,
1160  [type='url']:focus,
1161  [type='password']:focus,
1162  [type='number']:focus,
1163  [type='date']:focus,
1164  [type='datetime-local']:focus,
1165  [type='month']:focus,
1166  [type='search']:focus,
1167  [type='tel']:focus,
1168  [type='time']:focus,
1169  [type='week']:focus,
1170  [multiple]:focus,
1171  textarea:focus,
1172  select:focus {
1173    outline: 2px solid transparent;
1174    outline-offset: 2px;
1175    --tw-ring-inset: var(--tw-empty);
1176    --tw-ring-offset-width: 0px;
1177    --tw-ring-offset-color: #fff;
1178    --tw-ring-color: #2563eb;
1179    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1180    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1181    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1181dow);
1182    border-color: #2563eb;
1183  }
1184  input::placeholder,
1185  textarea::placeholder {
1186    color: #6b7280;
1187    opacity: 1;
1188  }
1189  ::-webkit-datetime-edit-fields-wrapper {
1190    padding: 0;
1191  }
1192  ::-webkit-date-and-time-value {
1193    min-height: 1.5em;
1194  }
1195  ::-webkit-datetime-edit,
1196  ::-webkit-datetime-edit-year-field,
1197  ::-webkit-datetime-edit-month-field,
1198  ::-webkit-datetime-edit-day-field,
1199  ::-webkit-datetime-edit-hour-field,
1200  ::-webkit-datetime-edit-minute-field,
1201  ::-webkit-datetime-edit-second-field,
1202  ::-webkit-datetime-edit-millisecond-field,
1203  ::-webkit-datetime-edit-meridiem-field {
1204    padding-top: 0;
1205    padding-bottom: 0;
1206  }
1207  select {
1208    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' strokeLinecap='round' strokeLinejoin='round' strokeWidth='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
1209    background-position: right 0.5rem center;
1210    background-repeat: no-repeat;
1211    background-size: 1.5em 1.5em;
1212    padding-right: 2.5rem;
1213    print-color-adjust: exact;
1214  }
1215  [multiple] {
1216    background-image: initial;
1217    background-position: initial;
1218    background-repeat: unset;
1219    background-size: initial;
1220    padding-right: 0.75rem;
1221    print-color-adjust: unset;
1222  }
1223  [type='checkbox'],
1224  [type='radio'] {
1225    -webkit-appearance: none;
1226    appearance: none;
1227    padding: 0;
1228    print-color-adjust: exact;
1229    display: inline-block;
1230    vertical-align: middle;
1231    background-origin: border-box;
1232    -webkit-user-select: none;
1233    user-select: none;
1234    flex-shrink: 0;
1235    height: 1rem;
1236    width: 1rem;
1237    color: #2563eb;
1238    background-color: #fff;
1239    border-color: #6b7280;
1240    border-width: 1px;
1241    --tw-shadow: 0 0 #0000;
1242  }
1243  [type='checkbox'] {
1244    border-radius: 0px;
1245  }
1246  [type='radio'] {
1247    border-radius: 100%;
1248  }
1249  [type='checkbox']:focus,
1250  [type='radio']:focus {
1251    outline: 2px solid transparent;
1252    outline-offset: 2px;
1253    --tw-ring-inset: var(--tw-empty);
1254    --tw-ring-offset-width: 2px;
1255    --tw-ring-offset-color: #fff;
1256    --tw-ring-color: #2563eb;
1257    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1258    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1259    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1259dow);
1260  }
1261  [type='checkbox']:checked,
1262  [type='radio']:checked {
1263    border-color: transparent;
1264    background-color: currentColor;
1265    background-size: 100% 100%;
1266    background-position: center;
1267    background-repeat: no-repeat;
1268  }
1269  [type='checkbox']:checked {
1270    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
1271  }
1272  [type='radio']:checked {
1273    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
1274  }
1275  [type='checkbox']:checked:hover,
1276  [type='checkbox']:checked:focus,
1277  [type='radio']:checked:hover,
1278  [type='radio']:checked:focus {
1279    border-color: transparent;
1280    background-color: currentColor;
1281  }
1282  [type='checkbox']:indeterminate {
1283    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' strokeLinecap='round' strokeLinejoin='round' strokeWidth='2' d='M4 8h8'/%3e%3c/svg%3e");
1284    border-color: transparent;
1285    background-color: currentColor;
1286    background-size: 100% 100%;
1287    background-position: center;
1288    background-repeat: no-repeat;
1289  }
1290  [type='checkbox']:indeterminate:hover,
1291  [type='checkbox']:indeterminate:focus {
1292    border-color: transparent;
1293    background-color: currentColor;
1294  }
1295  [type='file'] {
1296    background: unset;
1297    border-color: inherit;
1298    border-width: 0;
1299    border-radius: 0;
1300    padding: 0;
1301    font-size: unset;
1302    line-height: inherit;
1303  }
1304  [type='file']:focus {
1305    outline: 1px solid ButtonText;
1306    outline: 1px auto -webkit-focus-ring-color;
1307  }
1308  *,
1309  ::before,
1310  ::after {
1311    --tw-border-spacing-x: 0;
1312    --tw-border-spacing-y: 0;
1313    --tw-translate-x: 0;
1314    --tw-translate-y: 0;
1315    --tw-rotate: 0;
1316    --tw-skew-x: 0;
1317    --tw-skew-y: 0;
1318    --tw-scale-x: 1;
1319    --tw-scale-y: 1;
1320    --tw-pan-x: ;
1321    --tw-pan-y: ;
1322    --tw-pinch-zoom: ;
1323    --tw-scroll-snap-strictness: proximity;
1324    --tw-ordinal: ;
1325    --tw-slashed-zero: ;
1326    --tw-numeric-figure: ;
1327    --tw-numeric-spacing: ;
1328    --tw-numeric-fraction: ;
1329    --tw-ring-inset: ;
1330    --tw-ring-offset-width: 0px;
1331    --tw-ring-offset-color: #fff;
1332    --tw-ring-color: rgb(59 130 246 / 0.5);
1333    --tw-ring-offset-shadow: 0 0 #0000;
1334    --tw-ring-shadow: 0 0 #0000;
1335    --tw-shadow: 0 0 #0000;
1336    --tw-shadow-colored: 0 0 #0000;
1337    --tw-blur: ;
1338    --tw-brightness: ;
1339    --tw-contrast: ;
1340    --tw-grayscale: ;
1341    --tw-hue-rotate: ;
1342    --tw-invert: ;
1343    --tw-saturate: ;
1344    --tw-sepia: ;
1345    --tw-drop-shadow: ;
1346    --tw-backdrop-blur: ;
1347    --tw-backdrop-brightness: ;
1348    --tw-backdrop-contrast: ;
1349    --tw-backdrop-grayscale: ;
1350    --tw-backdrop-hue-rotate: ;
1351    --tw-backdrop-invert: ;
1352    --tw-backdrop-opacity: ;
1353    --tw-backdrop-saturate: ;
1354    --tw-backdrop-sepia: ;
1355  }
1356  ::backdrop {
1357    --tw-border-spacing-x: 0;
1358    --tw-border-spacing-y: 0;
1359    --tw-translate-x: 0;
1360    --tw-translate-y: 0;
1361    --tw-rotate: 0;
1362    --tw-skew-x: 0;
1363    --tw-skew-y: 0;
1364    --tw-scale-x: 1;
1365    --tw-scale-y: 1;
1366    --tw-pan-x: ;
1367    --tw-pan-y: ;
1368    --tw-pinch-zoom: ;
1369    --tw-scroll-snap-strictness: proximity;
1370    --tw-ordinal: ;
1371    --tw-slashed-zero: ;
1372    --tw-numeric-figure: ;
1373    --tw-numeric-spacing: ;
1374    --tw-numeric-fraction: ;
1375    --tw-ring-inset: ;
1376    --tw-ring-offset-width: 0px;
1377    --tw-ring-offset-color: #fff;
1378    --tw-ring-color: rgb(59 130 246 / 0.5);
1379    --tw-ring-offset-shadow: 0 0 #0000;
1380    --tw-ring-shadow: 0 0 #0000;
1381    --tw-shadow: 0 0 #0000;
1382    --tw-shadow-colored: 0 0 #0000;
1383    --tw-blur: ;
1384    --tw-brightness: ;
1385    --tw-contrast: ;
1386    --tw-grayscale: ;
1387    --tw-hue-rotate: ;
1388    --tw-invert: ;
1389    --tw-saturate: ;
1390    --tw-sepia: ;
1391    --tw-drop-shadow: ;
1392    --tw-backdrop-blur: ;
1393    --tw-backdrop-brightness: ;
1394    --tw-backdrop-contrast: ;
1395    --tw-backdrop-grayscale: ;
1396    --tw-backdrop-hue-rotate: ;
1397    --tw-backdrop-invert: ;
1398    --tw-backdrop-opacity: ;
1399    --tw-backdrop-saturate: ;
1400    --tw-backdrop-sepia: ;
1401  }
1402`;a.vJ`${u}`;let p=(0,a.ZP)(o.ZP)`
1403  width: 100%;
1404  height: 100%;
1405  border-width: 0;
1406`;var h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let g=({children:e})=>{let{document:t}=(0,i.useContext)(o.lB);return(0,n.jsx)(a.LC,Object.assign({target:t.head},{children:e}))},f=a.vJ`
1407  ${u}
1408  body {
1409    font-family: ${e=>e.fontFamily} !important;
1410  }
1411`,m=(0,i.forwardRef)((e,t)=>{var{children:r,widget:i,style:o,fontFamily:s="Inter"}=e,u=h(e,["children","widget","style","fontFamily"]);let m=(0,a.Fg)();return(0,n.jsx)(p,Object.assign({},u,{head:(0,n.jsxs)(n.Fragment,{children:[s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,n.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),(0,n.jsx)("link",{href:d(s),rel:"stylesheet"})]}),(null==i?void 0:i.hasCustomCSS)&&(0,n.jsx)("link",{rel:"stylesheet",href:`https://storage.googleapis.com/${l.CSS_BUCKET}/widget/${i.id}.css?t=${new Date().getTime()}`})]}),ref:t,initialContent:"<!DOCTYPE html><html><head></head><body></body></html>",mountTarget:"body"},{children:(0,n.jsx)(g,{children:(0,n.jsxs)(a.f6,Object.assign({theme:m},{children:[(0,n.jsx)(f,{fontFamily:s}),(0,n.jsx)(c.Rs,{}),r]}))})}))});var b=m},51618:function(e,t,r){r.d(t,{p:function(){return d}});var n=r(27730),i=r(82108),o=r(90860),a=r(8863);let s=a.ZP.div`
1412  right: 0.5rem;
1413  bottom: 0.5rem;
1414  position: fixed;
1415`,l=a.ZP.a`
1416  --tw-text-opacity: 1;
1417  color: rgb(75 85 99 / var(--tw-text-opacity));
1418  font-weight: 500;
1419  font-size: 0.75rem;
1420  line-height: 1rem;
1421  vertical-align: middle;
1422  --tw-bg-opacity: 1;
1423  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1424  gap: 0.25rem;
1425  align-items: center;
1426  display: flex;
1427`,d=({type:e})=>(0,n.jsx)(s,{children:(0,n.jsxs)(l,Object.assign({href:`${i.E.POWERED_BY_LINK}&utm_content=${e}&utm_source=survey`,target:"_blank",rel:"noreferrer"},{children:[(0,n.jsx)(o.J,{type:"camera-flash"})," Made in Doran"]}))})},51225:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(27730),i=r(30812),o=r(23041),a=r(43388),s=r(67465),l=r(997),d=r(8863);let c=d.ZP.div`
1428  position: fixed;
1429  bottom: 0;
1430  left: 0;
1431  right: 0;
1432  z-index: 9999;
1433  display: flex;
1434  align-items: center;
1435  flex-direction: column;
1436
1437  > div {
1438    margin-bottom: 10px;
1439  }
1440`,u=d.ZP.div`
1441  background-color: ${e=>e.isError?"#d82c0d":"#202123"};
1442  border-radius: 4px;
1443  width: auto;
1444  text-align: center;
1445  padding: 10px 16px;
1446  color: #fff;
1447  font-family: inherit;
1448
1449  transition: all 400ms linear;
1450  opacity: 0;
1451  transform: translateY(20px);
1452  &.btt-enter-done {
1453    opacity: 1;
1454    transform: translateX(0);
1455  }
1456`,p=({toast:e,widgetId:t})=>{let{dispatch:r}=(0,a.bp)(),d=(0,s.$)(),[c,p]=(0,i.useState)(!0),h=(0,i.useCallback)(()=>r((0,l.yg)(t,e.id)),[e]);return(0,i.useEffect)(()=>{setTimeout(()=>p(!1),5e3),setTimeout(h,6e3)},[e]),(0,n.jsx)(o.Z,Object.assign({in:c,appear:!0,classNames:"btt",timeout:0},{children:(0,n.jsx)(u,Object.assign({isError:e.isError,onClick:h},{children:d(e.content,t)}))}))},h=({widgetId:e})=>{var t,r;let{reducer:i}=(0,a.bp)(),o=(null===(r=null===(t=i.widgets)||void 0===t?void 0:t[e])||void 0===r?void 0:r.toasts)||[];return(null==o?void 0:o.length)?(0,n.jsx)(c,{children:o.map(t=>(0,n.jsx)(p,{toast:t,widgetId:e},t.id))}):(0,n.jsx)(n.Fragment,{})};var g=h},73664:function(e,t,r){r.d(t,{j:function(){return ee}});var n=r(27730),i=r(30812),o=r(43388),a=r(997),s=r(90860),l=r(82108),d=r(8863);let c=d.ZP.div`
1457  margin-top: 1rem;
1458  right: 0.5rem;
1459  bottom: 0.5rem;
1460  position: fixed;
1461`,u=d.ZP.a`
1462  --tw-backdrop-blur: blur(16px);
1463  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
1464    var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
1465    var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
1466  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
1467    var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
1468    var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
1469  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
1470  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
1471  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1472  --tw-text-opacity: 1;
1473  color: rgb(75 85 99 / var(--tw-text-opacity));
1474  font-weight: 500;
1475  font-size: 0.75rem;
1476  line-height: 1rem;
1477  vertical-align: middle;
1478  padding-top: 0.25rem;
1479  padding-bottom: 0.25rem;
1480  padding-left: 0.5rem;
1481  padding-right: 0.5rem;
1482  --tw-bg-opacity: 1;
1483  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1484  border-width: 1px;
1485  border-radius: 0.375rem;
1486  gap: 0.25rem;
1487  align-items: center;
1488  display: flex;
1489`,p=({type:e})=>(0,n.jsx)(c,{children:(0,n.jsxs)(u,Object.assign({href:`${l.E.POWERED_BY_LINK}&utm_content=${e}&utm_source=widget`,target:"_blank",rel:"noreferrer"},{children:[(0,n.jsx)(s.J,{type:"camera-flash"})," Made in Doran"]}))});var h=r(67465);let g=d.ZP.button`
1490  white-space: nowrap;
1491  border-bottom-width: 2px;
1492  padding: 0.5rem;
1493  font-size: 0.875rem;
1494  line-height: 1.25rem;
1495  font-weight: 500;
1496  --tw-text-opacity: 1;
1497  color: rgb(0 0 0 / var(--tw-text-opacity));
1498  flex: 1;
1499
1500  ${e=>e.$active?d.iv`
1501          border-color: ${e=>e.theme.primaryColor};
1502        `:d.iv`
1503          border-color: transparent;
1504          &:hover {
1505            border-color: ${e=>e.theme.primaryColor};
1506          }
1507        `}
1508`,f=({children:e,active:t,onClick:r})=>(0,n.jsx)(g,Object.assign({onClick:r,$active:t},{children:e})),m=d.ZP.div`
1509  width: 100%;
1510  border-bottom-width: 1px;
1511  border-color: #e5e7eb;
1512  border-bottom-style: solid;
1513  gap: 2rem;
1514  display: flex;
1515  transition: all 0.25s ease;
1516  background-color: white;
1517
1518  ${e=>e.$isSearchPage?d.iv`
1519          margin-top: -40px !important;
1520        `:d.iv`
1521          margin-top: 0;
1522        `}
1523`,b=d.ZP.nav`
1524  display: flex;
1525  flex: 1 1 0%;
1526`,x=d.ZP.button`
1527  white-space: nowrap;
1528  border-bottom-width: 2px;
1529  padding: 0.5rem;
1530  font-size: 0.875rem;
1531  line-height: 1.25rem;
1532  font-weight: 500;
1533  --tw-text-opacity: 1;
1534  color: rgb(0 0 0 / var(--tw-text-opacity));
1535  transition: all 400ms ease;
1536  cursor: pointer;
1537
1538  ${e=>e.$active?d.iv`
1539          border-color: ${e=>e.theme.primaryColor};
1540        `:d.iv`
1541          border-color: transparent;
1542          &:hover {
1543            border-color: ${e=>e.theme.primaryColor};
1544          }
1545        `}
1546`,w=d.ZP.div`
1547  display: flex;
1548  padding-right: 8px;
1549  align-items: center;
1550`,v=({widgetId:e})=>{let{reducer:t,dispatch:r}=(0,o.bp)(),l=(0,h.$)(),d=t.widgets[e],c=d.page.page,u=["search-idea","search-post"].includes(null==d?void 0:d.page.page),p=(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"posts"}))},[]),g=(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"ideas"}))},[]);(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"roadmap"}))},[]);let v=(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"create-idea"}))},[]),y=(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"search-post"}))},[e]),k=(0,i.useCallback)(()=>{r((0,a.LR)(e,{page:"search-idea"}))},[e]);return(0,n.jsxs)(m,Object.assign({$isSearchPage:u,className:"header-tabs"},{children:[(0,n.jsxs)(b,{children:[(null==d?void 0:d.isShowPosts)&&(0,n.jsx)(f,Object.assign({onClick:p,active:["posts","detail-post"].includes(c)},{children:l("postTabName",e)})),(null==d?void 0:d.isShowRoadmap)&&(0,n.jsx)(f,Object.assign({onClick:g,active:["ideas","detail-idea","create-idea","roadmap"].includes(c)},{children:l("roadmapTabName",e)}))]}),(0,n.jsxs)(w,{children:[(null==d?void 0:d.isAllowSubmitIdeas)&&"ideas"===c&&(0,n.jsx)(x,Object.assign({onClick:v,title:l("createIdeaButton",e)},{children:(0,n.jsx)(s.J,{type:"bulb-63",$width:1.25,$height:1.25})})),["ideas","posts"].includes(c)&&(0,n.jsx)(x,Object.assign({onClick:"ideas"===c?k:y,title:l("search",e)},{children:(0,n.jsx)(s.J,{type:"search",$width:1.25,$height:1.25})}))]})]}))},y=d.vJ`
1551  .dr-no-scroll {
1552    overflow: hidden !important;
1553  }
1554`,k=d.ZP.main`
1555  flex: 1;
1556  height: calc(100% - 100px);
1557`,j=d.ZP.div`
1558  max-height: -webkit-fill-available;
1559  display: flex;
1560  position: fixed;
1561  width: 100%;
1562  max-width: 28rem;
1563  height: 100vh;
1564  border: 0;
1565  opacity: 0;
1566  transition:
1567    opacity 0.25s ease-in 0s,
1568    transform 0.2s ease-in 0s;
1569  top: -1000em;
1570  z-index: ${e=>e.theme.highestZIndex};
1571  pointer-events: none;
1572  overflow: hidden;
1573  transform: translateX(60px);
1574
1575  &.sidebar-enter-done {
1576    opacity: 1;
1577    right: 0;
1578    bottom: 0;
1579    top: 0;
1580    transform: translateX(0px);
1581    pointer-events: auto;
1582  }
1583`,C=d.ZP.div`
1584  display: flex;
1585  overflow-y: scroll;
1586  background-color: #ffffff;
1587  flex-direction: column;
1588  height: 100%;
1589  height: 100vh;
1590  box-shadow:
1591    0 20px 25px -5px rgba(0, 0, 0, 0.1),
1592    0 10px 10px -5px rgba(0, 0, 0, 0.04);
1593`,$=d.ZP.header`
1594  position: sticky;
1595  top: 0;
1596  z-index: 50;
1597  background-color: #ffffff;
1598`,P=d.ZP.div`
1599  padding: 1rem;
1600  padding-bottom: 1rem;
1601  background-color: ${e=>e.theme.primaryColor};
1602  ${e=>e.$isSearchPage?d.iv`
1603          display: none;
1604        `:d.iv`
1605          align-items: center;
1606          justify-content: space-between;
1607          display: flex;
1608        `}
1609`,O=d.ZP.div`
1610  max-width: 100px;
1611  max-height: 35px;
1612  display: flex;
1613  gap: 0.5rem;
1614  align-items: center;
1615
1616  img {
1617    width: 100%;
1618    height: 100%;
1619    max-width: 100px;
1620    max-height: 35px;
1621  }
1622`,S=d.ZP.a``,Z=d.ZP.div`
1623  display: flex;
1624  margin-left: 0.75rem;
1625  align-items: center;
1626  gap: 1rem;
1627`,E=d.ZP.button`
1628  background-color: transparent;
1629  border-radius: 0;
1630  border-width: 0;
1631  color: #fff;
1632`,I=d.ZP.button`
1633  svg {
1634    color: ${e=>e.theme.buttonTextColor};
1635  }
1636`,A=d.ZP.select`
1637  border-radius: 5px;
1638  border: none;
1639  font-size: 13px;
1640  padding: 0px 10px;
1641  background-image: none;
1642  text-transform: uppercase;
1643  cursor: pointer;
1644`,L=d.ZP.div`
1645  width: 100%;
1646  height: 100%;
1647  background-color: #00000014;
1648  position: absolute;
1649  top: 0;
1650  left: 0;
1651  z-index: 1000;
1652  display: flex;
1653  align-items: center;
1654  justify-content: center;
1655  flex-direction: column;
1656  border-radius: 4px;
1657`;d.ZP.div`
1658  display: flex;
1659  position: fixed;
1660  top: 0;
1661  bottom: 0;
1662  transition-duration: 200ms;
1663  width: 100%;
1664  max-width: 28rem;
1665  height: 100vh;
1666  border-left-width: 1px;
1667  transition-property: right;
1668  &.sidebar-enter {
1669    right: -28rem;
1670  }
1671
1672  &.sidebar-enter-active {
1673    right: 0;
1674  }
1675
1676  &.sidebar-enter-done {
1677    right: 0;
1678  }
1679
1680  &.sidebar-exit {
1681    right: 0;
1682  }
1683
1684  &.sidebar-exit-active {
1685    right: -28rem;
1686  }
1687
1688  &.sidebar-exit-done {
1689    right: -28rem;
1690  }
1691`;let R=d.ZP.div`
1692  display: flex;
1693  overflow-y: scroll;
1694  background-color: #ffffff;
1695  flex-direction: column;
1696  height: 100%;
1697  height: 100vh;
1698  box-shadow:
1699    0 20px 25px -5px rgba(0, 0, 0, 0.1),
1700    0 10px 10px -5px rgba(0, 0, 0, 0.04);
1701`,M=d.ZP.header`
1702  position: sticky;
1703  top: 0;
1704  z-index: 50;
1705`,z=d.ZP.div`
1706  padding: 1rem;
1707
1708  justify-content: space-between;
1709  align-items: flex-start;
1710  background-color: ${e=>e.theme.primaryColor};
1711  ${e=>e.$isSearchPage?d.iv`
1712          display: none;
1713        `:d.iv`
1714          display: flex;
1715        `}
1716`,B=d.ZP.div`
1717  max-width: 100px;
1718  max-height: 35px;
1719
1720  img {
1721    width: 100%;
1722    height: 100%;
1723    max-width: 100px;
1724    max-height: 35px;
1725  }
1726`,F=d.ZP.div`
1727  display: flex;
1728  margin-left: 0.75rem;
1729  align-items: center;
1730`,T=({widgetId:e,children:t})=>{let{reducer:r,dispatch:l}=(0,o.bp)(),d=r.widgets[e],c=(0,i.useCallback)(()=>{l((0,a.LR)(e,{page:"create-idea"}))},[]),u=(null==d?void 0:d.page.page)==="search-idea";return(0,n.jsxs)(R,{children:[(0,n.jsxs)(M,{children:[(0,n.jsxs)(z,Object.assign({$isSearchPage:u},{children:[(0,n.jsx)(B,{children:(0,n.jsx)("img",{src:d.logo,alt:"Logo"})}),(0,n.jsx)(F,{children:(null==d?void 0:d.isAllowSubmitIdeas)&&(0,n.jsx)(E,Object.assign({onClick:c},{children:(0,n.jsx)(s.J,{type:"bulb-63",$width:1.25,$height:1.25})}))})]})),(0,n.jsx)(v,{widgetId:e})]}),(0,n.jsx)("main",{children:t}),d.isBrandmark&&(0,n.jsx)(p,{type:"embed"})]})};var _=r(23041),D=r(6466),N=r(22123),U=r(10186),H=r(45926),X=r(40727),Y=r(3276),W=r(82905),V=r(44572),J=r(95745),G=r(28174),K=r(52333),q=r(73455);let Q=({widgetId:e,children:t})=>{var l;let{reducer:d,dispatch:c}=(0,o.bp)(),u=(0,Y.Q)(d,`widgets.${e}.wid`),h=null===(l=d.widgets[e])||void 0===l?void 0:l.currentSubscriber,[g,f]=(0,i.useState)(!1),m=d.widgets[e],b=null==m?void 0:m.page.page,x=(null==m?void 0:m.supportedLanguages)||[],{handlePaginatePosts:w}=(0,U.B)(u,e),R=["search-idea","search-post"].includes(b),M=localStorage.getItem((0,W.bH)(e)),z=(0,i.useCallback)(t=>{let n=t.target.value;(0,X.On)(e,n),"posts"===b&&w(void 0,!0),f(!0),(0,J._t)(u,D.dL,{id:e},e,n).then(t=>{var i,o,a,s;return i=void 0,o=void 0,a=void 0,s=function*(){let i=yield r(38917)(`./${n}.json`);c((0,V.EK)(Object.assign(Object.assign({},m),{id:e,translation:Object.assign(Object.assign({},i.default),t.widget.translation||{})})))},new(a||(a=Promise))(function(e,t){function r(e){try{l(s.next(e))}catch(r){t(r)}}function n(e){try{l(s.throw(e))}catch(r){t(r)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof a?i:new a(function(e){e(i)})).then(r,n)}l((s=s.apply(i,o||[])).next())})}).finally(()=>{f(!1)})},[e,m]),B=(0,i.useCallback)(()=>c((0,a.i0)(e)),[e]),F=(0,i.useCallback)(()=>{c((0,a.LR)(e,{page:"profile"}))},[e]);return(0,i.useEffect)(()=>
1730{if(document.body)return m.isWidgetOpen?document.body&&document.body.classList.add("dr-no-scroll"):document.body&&document.body.classList.remove("dr-no-scroll"),()=>{document.body.classList.remove("dr-no-scroll")}},[m]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{}),(0,n.jsx)(G.a,{onClick:B,open:m.isWidgetOpen}),(0,n.jsx)(_.Z,Object.assign({unmountOnExit:!0,in:m.isWidgetOpen,appear:m.isWidgetOpen,timeout:200,classNames:"sidebar"},{children:(0,n.jsx)(j,{children:(0,n.jsxs)(q.b,Object.assign({fontFamily:null==m?void 0:m.fontFamily,widget:m},{children:[(0,n.jsx)(C,{children:g?(0,n.jsx)(L,{children:(0,n.jsx)(K.$,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)($,Object.assign({className:"header"},{children:[(0,n.jsxs)(P,Object.assign({className:"header-title",$isSearchPage:R},{children:[(0,n.jsxs)(O,{children:[(0,n.jsx)("img",{src:m.logo,alt:"Logo",className:"logo"}),!!m.isOpenPage&&!!m.pageDomain&&(0,n.jsx)(S,Object.assign({target:"_blank",href:m.pageDomain},{children:(0,n.jsx)(s.J,{type:"external",$color:m.buttonTextColor})}))]}),(0,n.jsxs)(Z,{children:[x.length>1?(0,n.jsx)(A,Object.assign({onChange:z,value:M},{children:x.map(e=>(0,n.jsx)("option",Object.assign({value:e},{children:e}),e))})):null,h&&(0,n.jsx)(I,Object.assign({onClick:F},{children:(0,n.jsx)(s.J,{$color:m.buttonTextColor,type:"user",$width:1,$height:1,color:"white"})})),(0,n.jsx)(E,Object.assign({onClick:B},{children:(0,n.jsx)(s.J,{$color:m.buttonTextColor,type:"e-remove",$width:1.25,$height:1.25})}))]})]})),(0,n.jsx)(v,{widgetId:e}),"search-idea"===b&&(0,n.jsx)(N.T,{widgetId:e,isSearchPage:R,onChangeFilter(){}}),"search-post"===b&&(0,n.jsx)(H.v,{widgetId:e,isSearchPage:R,onChangeFilter(){}})]})),(0,n.jsx)(k,{children:t})]})}),m.isBrandmark&&(0,n.jsx)(p,{type:"sidebar"})]}))})}))]})},ee={Sidebar:Q,Embed:T}},9983:function(e,t,r){r.d(t,{q:function(){return i}});var n=r(8015);let i={BASE_API_URL:n.env.BASE_API_URL,CDN_BASE_URL:n.env.CDN_BASE_URL,VERSION_ID:n.env.VERSION_ID,FIREBASE_API_KEY:n.env.FIREBASE_API_KEY,FIREBASE_PROJECT_ID:n.env.FIREBASE_PROJECT_ID,FIREBASE_STORAGE_BUCKET:n.env.FIREBASE_STORAGE_BUCKET,FIREBASE_APP_ID:n.env.FIREBASE_APP_ID}},82108:function(e,t,r){r.d(t,{E:function(){return n}});let n={POWERED_BY_LINK:"https://doran.app?utm_medium=poweredby",DEFAULT_LANGUAGE:"en"}},43388:function(e,t,r){r.d(t,{bp:function(){return c},wI:function(){return d}});var n=r(27730),i=r(30812),o=r(82108),a=r(27202);let s={language:o.E.DEFAULT_LANGUAGE,widgets:{},surveys:{}},l=(0,i.createContext)(null),d=({children:e,initialState:t=s})=>{let[r,o]=(0,i.useReducer)(a.Q,t);return(0,n.jsx)(l.Provider,Object.assign({value:{reducer:r,dispatch:o}},{children:e}))},c=()=>(0,i.useContext)(l)},90577:function(e,t,r){r.d(t,{V:function(){return n}});let n={fontFamily:"Inter",textColor:"#000000",backgroundColor:"#ffffff",isSurveyOpen:!0,isBrandmark:!0}},35360:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(62853);let i={logo:"https://static.doran.app/images/logo/icon-text/1x/icon_text_green.png",primaryColor:"#000000",buttonTextColor:"#ffffff",floatBackgroundColor:"#ffffff",floatIcon:n.sf.Bell,floatPosition:n.XC.BottomRight,floatAnimation:n.y5.HeartBeat,floatTextColor:"#ffffff",isAllowSubmitIdeas:!1,isShowIdeas:!1,isShowPosts:!1,isShowRoadmap:!1,launcherType:n.L6.Float,widgetType:n.hQ.Sidebar,isLauncherOpen:!0,isWidgetOpen:!0,highestZIndex:Number.MAX_SAFE_INTEGER}},62853:function(e,t,r){var n,i,o,a,s,l,d,c,u,p,h,g,f,m,b,x,w,v,y,k,j,C,$,P,O,S,Z,E,I,A;r.d(t,{FP:function(){return a},L6:function(){return p},XC:function(){return o},XI:function(){return s},hQ:function(){return b},j5:function(){return m},kE:function(){return h},oe:function(){return c},sf:function(){return i},vj:function(){return d},y5:function(){return n},yv:function(){return u},yy:function(){return l}}),(x=n||(n={})).HeartBeat="HeartBeat",x.Shake="Shake",(w=i||(i={})).Bell="Bell",w.Bulb="Bulb",w.Lighting="Lighting",(v=o||(o={})).BottomLeft="BottomLeft",v.BottomRight="BottomRight",v.Custom="Custom",v.TopLeft="TopLeft",v.TopRight="TopRight",(y=a||(a={})).Latest="Latest",y.MostComments="MostComments",y.MostVotes="MostVotes",(k=s||(s={})).Latest="Latest",k.MostComments="MostComments",k.MostVotes="MostVotes",(j=l||(l={})).Achieved="Achieved",j.Draft="Draft",j.Pending="Pending",j.Published="Published",(C=d||(d={})).Important="Important",C.Often="Often",C.Urgency="Urgency",($=c||(c={})).Done="Done",$.Todo="Todo",(P=u||(u={})).AddNote="AddNote",P.BeMerged="BeMerged",P.ChangeBoard="ChangeBoard",P.ChangeStatus="ChangeStatus",P.ChangeTopic="ChangeTopic",P.Create="Create",P.MarkAsBug="MarkAsBug",P.MentionOnPost="MentionOnPost",P.Merge="Merge",P.Pin="Pin",P.RemoveMarkAsBug="RemoveMarkAsBug",P.UnPin="UnPin",P.UpdateContent="Update
1730Content",(O=p||(p={})).Badge="Badge",O.Custom="Custom",O.Float="Float",(S=h||(h={})).Happy="Happy",S.Neutral="Neutral",S.Sad="Sad",(Z=g||(g={})).Private="Private",Z.Public="Public",(E=f||(f={})).Csat="CSAT",E.Nps="NPS",(I=m||(m={})).Close="Close",I.FirstVisit="FirstVisit",(A=b||(b={})).Embed="Embed",A.Sidebar="Sidebar"},42258:function(e,t,r){r.d(t,{c:function(){return b}});var n=r(1684).lW;let i="function"==typeof btoa,o="function"==typeof n,a="function"==typeof TextEncoder?new TextEncoder:void 0,s=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),l=String.fromCharCode.bind(String),d=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),c=e=>{let t,r,n,i,o="",a=e.length%3;for(let l=0;l<e.length;){if((r=e.charCodeAt(l++))>255||(n=e.charCodeAt(l++))>255||(i=e.charCodeAt(l++))>255)throw TypeError("invalid character found");o+=s[(t=r<<16|n<<8|i)>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},u=i?e=>btoa(e):o?e=>n.from(e,"binary").toString("base64"):c,p=o?e=>n.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(l.apply(null,e.subarray(r,r+4096)));return u(t.join(""))},h=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},g=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=e=>e.replace(g,h),m=o?e=>n.from(e,"utf8").toString("base64"):a?e=>p(a.encode(e)):e=>u(f(e)),b=(e,t=!1)=>t?d(m(e)):m(e)},95876:function(e,t,r){r.d(t,{A:function(){return o},H:function(){return i}});var n=r(82905);let i=e=>localStorage.getItem((0,n.XC)(e)),o=(e,t)=>localStorage.setItem((0,n.XC)(e),t)},13105:function(e,t,r){r.d(t,{$X:function(){return g},mP:function(){return f},o0:function(){return h}});let n=e=>e.toLocaleString(),i=()=>"RelativeTimeFormat"in Intl,o=()=>"DateTimeFormat"in Intl,a=(e,t)=>{let r=new Intl.DateTimeFormat(t,{weekday:"long"}).format,n=[...Array(7).keys()].map(e=>r(new Date(Date.UTC(2021,5,e))));return n[e.getDay()]},s=(e,t)=>new Intl.DateTimeFormat(t,{month:"long"}).format(e),l=(e,t)=>new Intl.DateTimeFormat(t,{month:"short"}).format(e),d=(e,t)=>{let r=new Intl.DateTimeFormat(t,{weekday:"short"}).format,n=[...Array(7).keys()].map(e=>r(new Date(Date.UTC(2021,5,e))));return n[e.getDay()]},c=e=>{let t=e.getHours();return t>12?t-=12:0===t&&(t=12),String(t)},u=e=>e.getHours()>=12?"am":"pm",p=(e,t)=>{let r=new Intl.RelativeTimeFormat(t,{style:"long"}),n=Date.now()-e.getTime(),i=Math.floor(n/1e3),o=Math.floor(i/60),a=Math.floor(o/60),s=Math.floor(a/24),l=Math.floor(s/30),d=Math.floor(l/12);return d>0?r.format(-d,"years"):l>0?r.format(-l,"months"):s>0?r.format(-s,"days"):a>0?r.format(-a,"hours"):o>0?r.format(-o,"minutes"):r.format(-i,"seconds")},h=({date:e,format:t,language:r})=>e?(e=new Date(e),i()&&o()&&t)?t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("[EEEE]",a(e,r))).replace("[E..EEE]",d(e,r))).replace("[DD]",String(e.getDate()).padStart(2,"0"))).replace("[D]",String(e.getDate()))).replace("[MMMM]",s(e,r))).replace("[MMM]",l(e,r))).replace("[MM]",String(e.getMonth()).padStart(2,"0"))).replace("[M]",String(e.getMonth()))).replace("[YYYY]",String(e.getFullYear()))).replace("[YY]",String(e.getFullYear()).slice(2))).replace("[hh]",String(c(e)).padStart(2,"0"))).replace("[h]",String(c(e)))).replace("[HH]",String(e.getHours()).padStart(2,"0"))).replace("[H]",String(e.getHours()))).replace("[mm]",String(e.getMinutes()).padStart(2,"0"))).replace("[m]",String(e.getMinutes()))).replace("[ss]",String(e.getSeconds()).padStart(2,"0"))).replace("[s]",String(e.getSeconds()))).replace("[aaa]",u(e))).replace("[a..aa]",u(e).toUpperCase())).replace("[ago]",p(e,r)):n(e):null,g=e=>new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCMilliseconds()),f=864e5},25082:function(e,t,r){r.d(t,{Wb:function(){return n},cZ:function(){return i},wv:function(){return o}}),r(9983);let n=e=>{let t=[];
1730return document.querySelectorAll(e).forEach(e=>{t.push(e)}),t},i=(e,t,r)=>{let n=[`[doran-widget-${t}="${e}"]`];return r&&n.push(r),n.join(", ")},o=e=>{let t=document.querySelector("link[rel~='icon']");if(!t||t.classList.contains("doran-favicon-added"))return;let r=t.getAttribute("href");if(!r)return;let n=new Image;n.crossOrigin="anonymous";try{n.addEventListener("load",function(){let r=document.createElement("canvas"),i=r.getContext("2d");r.width=n.width,r.height=n.height,i.beginPath(),i.drawImage(n,0,0,n.width,n.height,0,0,r.width,r.height),i.stroke(),i.beginPath(),i.fillStyle="#ff0000",i.strokeStyle="#ff0000",i.arc(.7*r.width,.7*r.height,r.height/3.5,0,2*Math.PI),i.fill(),i.stroke(),i.closePath(),i.fillStyle="#ffffff",i.font=`bold ${n.height/2}px sans-serif`,i.textAlign="center",i.textBaseline="middle",i.fillText(e,.7*r.width,.74*r.height),t.setAttribute("href",r.toDataURL())}),n.src=r,t.classList.add("doran-favicon-added")}catch(i){}}},96059:function(e,t,r){r.d(t,{v:function(){return n}});let n=e=>/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e)},36886:function(e,t,r){r.d(t,{b:function(){return n}});let n=e=>{if(e.errors){let t=e.errors.shift();if(t)return t.message}return e.message?e.message:""}},40727:function(e,t,r){r.d(t,{On:function(){return o},fz:function(){return i}}),r(82108);var n=r(82905);let i=e=>localStorage.getItem((0,n.bH)(e)),o=(e,t)=>localStorage.setItem((0,n.bH)(e),t)},22182:function(e,t,r){r.d(t,{D:function(){return n}});let n=(e,t)=>void 0!==window.localStorage&&(window.localStorage.setItem(e,t),!0)},15427:function(e,t,r){r.d(t,{u:function(){return n}});let n=e=>Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(e)},3276:function(e,t,r){r.d(t,{Q:function(){return n},x:function(){return i}});let n=(e,t)=>{let[r,...i]=t.split(".");return 0===i.length?e[r]:n(e[r],i.join("."))},i=e=>{for(let t in e)if(e.hasOwnProperty(t))return!1;return!0}},1511:function(e,t,r){r.d(t,{i:function(){return n}});let n=(e,t={includes:"",excludes:""})=>{let{includes:r,excludes:n}=t,i=(null==r?void 0:r.trim())!==""?null==r?void 0:r.trim().split("\n"):[],o=(null==n?void 0:n.trim())!==""?null==n?void 0:n.trim().split("\n"):[];if(!(null==i?void 0:i.length)&&!(null==o?void 0:o.length))return!1;if((null==i?void 0:i.length)&&(null==o?void 0:o.length)){let a=!!o.filter(t=>RegExp(t).test(e)&&!i.includes(t)).length;if(a)return!0}if((null==i?void 0:i.length)&&!(null==o?void 0:o.length)){let s=!!(null==i?void 0:i.filter(t=>RegExp(t).test(e)).length);if(!s)return!0}if(!(null==i?void 0:i.length)&&(null==o?void 0:o.length)){let l=!!(null==o?void 0:o.filter(t=>RegExp(t).test(e)).length);if(l)return!0}return!1}},16913:function(e,t,r){r.d(t,{g4:function(){return a},kK:function(){return o}});let n=e=>"[object Object]"===Object.prototype.toString.call(e),i=e=>{let t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))},o=e=>i(e)&&Array.isArray(e.children),a=e=>e.length<1||e[0].children.length<1||""===e[0].children[0].text},82905:function(e,t,r){r.d(t,{B7:function(){return i},NN:function(){return u},WB:function(){return n},XC:function(){return s},bH:function(){return a},du:function(){return d},gC:function(){return c},gs:function(){return o},oL:function(){return l},uC:function(){return p}});let n=(e=8)=>{let t="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=r.length,i=0;for(;i<e;)t+=r.charAt(Math.floor(Math.random()*n)),i+=1;return t},i=e=>`doran/${e}/subscriber`,o=e=>`doran/${e}/lr`,a=e=>`doran/${e}/translation`,s=e=>`doran/${e}/boostPost`,l=e=>`doran/${e}/surveyFirstVisit`,d=e=>`doran/${e}/surveyLastSubmission`,c=e=>`doran/${e}/surveySubmissionCount`,u=e=>`doran/${e}/surveyLastClose`,p=e=>`doran/${e}/surveyCloseCount`},32788:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(30812);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(0),o=(0,n.useRef)(null),a=(0,n.useRef)([]),s=(0,n.useRef)(),l=(0,n.useRef)(),d=(0,n.useRef)(e),c=(0,n.useRef)(!0);(0,n.useEffect)(()=>{d.current=e},[e]);let u=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0,(0,n.useEffect)(()=>(c.current=!0,()=>{c.current=!1}),[]);let p=(0,n.useMemo)(()=>{let e=e=>{let t=a.current,r=s.current;return a.current=s.current=null,i.current=e,l.current=d.current.apply(r,t)},n=(e,t)=>{u&&cancelAnimationFrame(o.current),o.current=u?requestAnimationFrame(e):setTimeout(e,t)},p=e=>{if(!c.current)return!1;let n=e-r.current;return!r.current||n>=t||n<0},h=t=>(o.current=null,a.current)?e(t):(a.current=s.current=null,l.current),g=()=>{let e=Date.now();if(p(e))return h(e);if(!c.current)return;let o=e-r.current;i.current;let a=t-o;n(g,a)},f=(...e)=>{let d=Date.now(),u=p(d);return(a.current=e,s.current=this,r.current=d,u&&!o.current&&c.current)?(i.current=r.current,n(g,t),l.current):(o.current||n(g,t),l.current)};return f},[t,u]);return p}},67465:function(e,t,r){r.d(t,{$:function(){return i}});var n=r(43388);let i=()=>{let{reducer:e}=(0,n.bp)();return(t,r)=>{if(!r)return t;let n=e.widgets[r]||e.surveys[r],i=n.translation;return(null==i?void 0:i[t])||t}}}}]);

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.