1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[595,4540,7073],{6527:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(63154);a(62618);var n=a(57270);let r=e=>{let{to:t}=e;return t&&1?(window.location.href=t,null):(0,i.jsx)(n.A,{})}},12103:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>l,default:()=>u});var i=a(63154);a(62618);var n=a(39089),r=a(51835),o=a(8077);let s=a.n(o)()(()=>a.e(3222).then(a.bind(a,3222)),{loadableGenerated:{webpack:()=>[3222]}});var l=!0;let u=(0,n.withRouter)(e=>{let{router:t,data:a,...n}=e;return(0,i.jsxs)(i.Fragment,{children:["1"===t.query.preview&&(0,i.jsx)(s,{}),(0,i.jsx)(r.default,{id:t.query.id,ambassadorId:t.query.ambassador,initialData:a,...n})]})})},21531:(e,t,a)=>{"use strict";a.d(t,{H:()=>r,s:()=>n});var i=a(82972);let n=(0,i.Ay)` 2 fragment item on Item { 3 id 4 name(language: $language) 5 multiLanguageName { 6 language 7 value 8 } 9 multiLanguageDescription { 10 language 11 value 12 } 13 description(language: $language) 14 price 15 oldPrice 16 currency 17 totalAmount 18 purchasedAmount 19 image { 20 publicId 21 width 22 height 23 } 24 isShippableToMe 25 isShippableItem 26 isShippableEverywhere 27 shippableCountyCodes 28 customFields(language: $language) { 29 id 30 type 31 name 32 multiLanguageName { 33 language 34 value 35 } 36 required 37 choices 38 multiLanguageChoices { 39 language 40 value 41 } 42 placeholder 43 } 44 soldOut 45 manualSoldOut 46 hidden 47 withoutQuantity 48 howToGetPerkInstructions 49 monthly 50 } 51`,r=(0,i.Ay)` 52 fragment action on Action { 53 id 54 redirectTo 55 type 56 title(language: $language) 57 subtitle 58 performanceCount 59 performersCount 60 description 61 richDescription(language: $language) 62 performanceGoal 63 createdAt 64 deadline 65 startsAt 66 contentUrl(language: $language) 67 actionShares 68 contentImage(language: $language) { 69 publicId 70 width 71 height 72 } 73 contentDescription(language: $language) 74 contentTitle(language: $language) 75 performedByMe 76 status 77 proofInstructions 78 instructions 79 phoneNumber 80 contactName 81 message 82 proofCount 83 timezone 84 contacts { 85 phoneNumber 86 contactName 87 } 88 proofs(limit: 4, imageRequired: true) { 89 id 90 score 91 image { 92 publicId 93 width 94 height 95 } 96 } 97 notificationsSent 98 paymentCount 99 signatureCount 100 phoneRequired 101 billingAddressRequired 102 draftMode 103 place { 104 id 105 placeId 106 description 107 location { 108 latitude 109 longitude 110 } 111 viewport { 112 northEast { 113 latitude 114 longitude 115 } 116 southWest { 117 latitude 118 longitude 119 } 120 } 121 } 122 creator { 123 name 124 fullName 125 countryCode 126 id 127 shortDescription 128 editable 129 alias 130 customDomain 131 image { 132 publicId 133 width 134 height 135 } 136 donationSettings { 137 currency 138 receiptDataRequired 139 minAmount 140 } 141 subscriptionProviders 142 } 143 image(language: $language) { 144 publicId 145 width 146 height 147 } 148 proofRequired 149 hasVideo 150 score 151 recipients 152 emailSubject 153 surveyFields(language: $language) { 154 id 155 type 156 name 157 multiLanguageName { 158 language 159 value 160 } 161 multiLanguageChoices { 162 language 163 value 164 } 165 required 166 choices 167 placeholder 168 order 169 } 170 showPerformances 171 ticketPrice 172 myTicketsAmount 173 items { 174 ...item 175 } 176 fundWithoutItem 177 discountCode { 178 code 179 percentage 180 } 181 hideLikesAndDate 182 editable 183 archivable 184 hasDiscountCode 185 paymentProviders 186 contactLabel 187 campaignTerms 188 shippingPolicy 189 returnPolicy 190 publishStatus 191 hideParticipantsFromGallery 192 donationSuggestions 193 monthlyDonationSuggestions 194 tipSuggestions 195 galleryPledgeCount 196 relatedPerformersCount 197 isPerformable 198 internalName 199 callToAction(language: $language) 200 hideThankYouMessage 201 maxPayment 202 approveCampaignTerms 203 previewDescription(language: $language) 204 amlakAvailable(language: $language) 205 combinedPayments 206 optionalMonths 207 defaultMonths 208 igulLetovaDisplay
209 galleryAmbassadorCount 210 ambassadors(language: $language) { 211 allowJoin 212 defaultHeadlineText 213 defaultBodyText 214 multiLanguageDefaultHeadlineText { 215 language 216 value 217 } 218 multiLanguageDefaultBodyText { 219 language 220 value 221 } 222 minGoal 223 } 224 customItem(language: $language) { 225 name 226 multiLanguageName { 227 language 228 value 229 } 230 price 231 } 232 documentItems { 233 documentTitle 234 publicId 235 fileName 236 disableRemove 237 } 238 company { 239 companyNumEmployees 240 founded 241 evaluation 242 pricePerShare 243 logo { 244 publicId 245 height 246 width 247 } 248 } 249 teamItems { 250 titleMember 251 shortDescription 252 name 253 image { 254 publicId 255 height 256 width 257 } 258 } 259 shortDescription 260 shareOfferSuggestion { 261 numOfShares 262 amount 263 } 264 sharesFixedOfferMultiplier 265 languages 266 multiLanguageTitle { 267 language 268 value 269 } 270 multiLanguageRichDescription { 271 language 272 value 273 } 274 multiLanguageImage { 275 language 276 value { 277 publicId 278 width 279 height 280 } 281 } 282 multiLanguageContentUrl { 283 language 284 value 285 } 286 multiLanguageContentDescription { 287 language 288 value 289 } 290 multiLanguageContentTitle { 291 language 292 value 293 } 294 multiLanguageContentImage { 295 language 296 value { 297 publicId 298 width 299 height 300 } 301 } 302 multiLanguageCallToAction { 303 language 304 value 305 } 306 relatedMainPerformanceRatio 307 } 308 ${n} 309`},21947:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/campaign/[id]",function(){return a(12103)}])},27379:(e,t,a)=>{"use strict";a.d(t,{Yj:()=>g,mz:()=>u,h5:()=>d});var i=a(7608),n=a(82972),r=a(7073),o=a(58798);let s=e=>{try{if(!e)return!1;let t=String(e);return 24===t.length&&/^[0-9a-fA-F]{24}$/.test(t)}catch(e){return!1}},l=(0,n.Ay)` 310 mutation increaseViews($actionId: ID!, $locale: String) { 311 increaseViews(actionId: $actionId, locale: $locale) { 312 id 313 views 314 } 315 } 316`;async function u(e){let t=e.id||e.campaignId;if(t){let a=e.id?"id":"campaignId",i=r.A.get("actionViews");if(i){let n=i.split(",");if(n.indexOf(t)>-1)return;n.length>=100?r.A.set("actionViews",`${t},${n.slice(0,100).join(",")}`,{expires:365}):r.A.set("actionViews",`${t},${i}`,{expires:365}),s(e[a]||e.id)&&e.increaseViews(a)}else r.A.set("actionViews",t,{expires:365}),s(e[a]||e.id)&&e.increaseViews(a)}else console.error("could not find action id for view increase")}(0,i.UG)(l,{props:e=>{let{ownProps:t,mutate:a}=e;return{increaseViews:e=>a({variables:{actionId:t[e]||t.id,locale:(0,o.JK)("pages")||"en"}})}}});let c=(0,n.Ay)` 317 mutation increaseViews($actionId: ID!, $locale: String) { 318 increaseViews(actionId: $actionId, locale: $locale) { 319 id 320 views 321 } 322 } 323`,d=(0,i.UG)(c,{props:e=>{let{ownProps:t,mutate:a}=e;return{increaseViews:e=>a({variables:{actionId:t[e]||t.id,locale:(0,o.JK)("pages")||"en"}})}}}),g={uploadDate:{fontSize:14,color:"#8b8b8b",marginTop:15},actionText:{fontSize:15,lineHeight:"25px",whiteSpace:"pre-wrap",marginTop:15,wordBreak:"break-word"},imageBase:{margin:"0 auto",display:"block",maxWidth:"100%",objectFit:"cover"},actionContentImage:{width:"100%",maxHeight:"800px",border:"solid 1px #e6e6e6",boxSizing:"border-box"}}},51835:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>F});var i=a(63154),n=a(62618),r=a(7608),o=a(14777),s=a(56900),l=a(60741),u=a(8077),c=a.n(u),d=a(24528),g=a.n(d),p=a(39089),m=a.n(p),h=a(61294),y=a(27379),w=a(7402),b=a(73336),f=a(46853),v=a(96709),x=a(13922),I=a.n(x),j=a(595),$=a(72642);let{publicRuntimeConfig:{FACEBOOK_APP_ID:C}}=a.n($)()(),A=e=>{let{action:t,host:a,via:n,ambassadorId:r,data:o={},pagesLocale:s}=e,l=o.ambassador?.ambassador,u=r&&l?.image?l.image:null,c=n?`via=${n}`:"",d=t?.updatedAt&&new Date(t.updatedAt).getTime();r&&(c+=`${c.length>0?"&":""}ambassador=${r}`),"CROWD_FUNDING"===t.type&&(c+=`lang=${s}`);let g=(0,j.A)(u||t.contentImage||t.image||t.creator.coverImage||t.creator.image,{},1200,630),p=`https://${a}/campaign/${t.id}${c.length>0?`?${c}`:""}`;return(0,i.jsxs)(I(),{children:[(0,i.jsx)("meta",{property:"og:title",content:t.title}),(0,i.jsx)("meta",{property:"og:description",content:t.previewDescription||""}),(0,i.jsx)("meta",{property:"og:image",content:g}),(0,i.jsx)("meta",{property:"og:updated_time",content:d}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:p}),(0,i.jsx)("meta",{property:"fb:app_id",content:C}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{property:"twitter:title",content:t.title}),(0,i.jsx)("meta",{property:"twitter:description",content:t.previewDescription||""}),(0,i.jsx)("meta",{property:"twitter:image",content:g}),(0,i.jsx)("meta",{property:"twitter:site",content:p})]})};A.propTypes={action:g().object.isRequired,host:g().string,via:g().str
323ing,ambassadorId:g().string};let T=(0,o.A)((0,r.UG)(h.O,{options:e=>({variables:{id:e.ambassadorId}}),skip:e=>!e.ambassadorId||!e.action.ambassadors?.allowJoin}))(A);var S=a(22251);let D={"@type":"Organization",name:"Drove",url:(0,v.Gr)(),logo:{"@type":"ImageObject",url:(0,j.A)({publicId:"gwnpyhjyzfxzxz8tvuuv"},{},300,300),height:300,width:300}},k=e=>{let{action:t,url:a,host:n,via:r,pagesLocale:o,ambassadorId:s}=e,l=function(e){try{if(!e)return null;let t=JSON.parse(e),a=(0,S.A)(t,"blocks",[]).filter(e=>"atomic"!==e.type).map(e=>e.text).join(" "),i=function(e,t){if(!e?.length)return"";let a=e.substr(0,156);return a.substr(0,Math.min(a.length,a.lastIndexOf(" ")))}(a,0);return i.length>40?i:null}catch(t){return console.error("Failed to get seo action description",e),null}}(t?.richDescription),u=((e,t)=>{let a=e?.image||e?.contentImage||e?.creator?.image;return function(e,t,a,i){return JSON.stringify({"@context":"http://schema.org","@type":t,mainEntityOfPage:{"@type":"WebPage","@id":a},publisher:D,...i?{image:{"@type":"ImageObject",url:(0,j.A)(i),height:i.height,width:i.width}}:{},...e})}({headline:e?.title||e?.description,datePublished:e?.createdAt,description:e?.title?e?.description:"",creator:e?.creator?{"@type":"Organization",name:e.creator.fullName}:void 0},"SocialMediaPosting",t,a)})(t,a);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(I(),{children:[l&&(0,i.jsx)("meta",{name:"description",content:l}),(0,i.jsx)("script",{type:"application/ld+json",children:u}),(0,i.jsx)("meta",{name:"theme-color",content:"#000000"})]}),(0,i.jsx)(T,{action:t,host:n,via:r,pagesLocale:o||"en",ambassadorId:s})]})};k.propTypes={action:g().object.isRequired,url:g().string.isRequired,host:g().string,via:g().string,pagesLocale:g().string,ambassadorId:g().string};var L=a(99018),R=a(58736);let N=e=>{let{action:t,messageBarTextId:a,themeColors:i,requestMessage:r,routerQuery:o}=e;return(0,n.useEffect)(()=>{if(!(0,R.A)())return;let e=o?.completed;if(!e)return;let n=i?.lightColor;m().replace({pathname:"/campaign/[id]",query:{id:t.id}},`/campaign/${t.id}`,{shallow:!0}),"true"===e&&"actionCompletedMessage"!==a?r("actionCompletedMessage",{},n):"linkCopied"===e&&"linkWasCopiedVerbose"!==a&&r("linkWasCopiedVerbose",{},n)},[t,o,a,i,r]),null};N.propTypes={action:g().object.isRequired,messageBarTextId:g().string,themeColors:g().shape({lightColor:g().string}),requestMessage:g().func.isRequired,routerQuery:g().object};var q=a(26223),P=a(37736),M=a(58798),O=a(6527),_=a(51927);let V=c()(()=>a.e(4839).then(a.bind(a,34839)),{loadableGenerated:{webpack:()=>[34839]},ssr:!1}),G=c()(()=>Promise.all([a.e(748),a.e(7044),a.e(2433),a.e(5831),a.e(9068),a.e(4620),a.e(1549),a.e(4898),a.e(2492),a.e(8287)]).then(a.bind(a,98287)),{loadableGenerated:{webpack:()=>[98287]},loading:()=>null}),E=c()(()=>Promise.all([a.e(748),a.e(7044),a.e(2433),a.e(5831),a.e(4620),a.e(1549),a.e(2492),a.e(5251)]).then(a.bind(a,15251)),{loadableGenerated:{webpack:()=>[15251]},loading:()=>null}),U=e=>{if(!e)return!1;let t=(e.message||"").toLowerCase();return t.includes("network")||t.includes("fetch")||t.includes("timeout")};class B extends n.Component{componentDidMount(){(0,R.A)()&&m().prefetch("/campaign/[id]")}componentWillUnmount(){this.retryTimer&&clearTimeout(this.retryTimer)}componentDidUpdate(e){let{data:t}=this.props,a=e.data,i=t.action?.action,n=a.action?.action;i&&!n&&this.state.retryCount>0&&this.setState({retryCount:0}),t.networkStatus===s.pT.error&&U(t.error)&&!this.getResolvedAction()&&this.state.retryCount<3&&!this.retryTimer&&this.scheduleRetry()}render(){let{data:{error:e,networkStatus:t},router:a,isMobile:n,host:r,via:o,pagesLocale:l,ambassadorId:u,messageBarTextId:c,setMessageBarTextId:d,theme:g,id:p,increaseViews:m}=this.props,h=this.getResolvedAction(),y=this.getActionResultError(),w=this.getResolvedNetworkStatus(),{retryCount:f}=this.state;if(y)return(0,q.ip)(y)||(0,i.jsx)(q.Ay,{actionResultError:y});if((e||t===s.pT.error)&&!h)return U(e)&&f<3?(0,i.jsx)("div",{style:{paddingTop:50},children:(0,i.jsx)(b.K,{})}):(0,i.jsx)(q.Ay,{error:e});if(w===s.pT.loading||!h)return(0,i.jsx)("div",{style:{paddingTop:50},children:(0,i.jsx)(b.K,{})});if(h.redirectTo)return(0,i.jsx)(O.A,{to:h.redirectTo});"CROWD_FUNDING"===h.type&&(h.image||h.hasVideo)&&this.setMediaByLanguage(h);let x=`${(0,v.Gr)()}/campaign/${h.id}`;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(V,{actionId:p,increaseViews:m,action:h,networkStatus:w,routerQuery:a.query}),(0,i.jsx)(N,{action:h,routerQuery:a.query,messageBarTextId:c,themeColors:g,requestMessage:d}),(0,i.jsx)(k,{action:h,url:x,host:r,via:o,pagesLocale:l,ambassadorId:u}),(0,i.jsx)(L.A,{actionId:h.id}),n?(0,i.jsx)(E,{action:h,closeShare:this.closeShare}):(0,i.jsx)(G,{action:h,closeShare:this.closeShare})]})}constructor(...e){super(...e),this.state={retryCount:0},this.retryTimer=null,this.getResolvedAction=()=>{let{data:e,initialData:t}=this.props,a=e.action;return a?.action||t?.action},this.getActionResultError=()=>{let{data:e}=this.props,t=e.action;return t?.error},this.getResolvedNetworkStatus=()=>{let{data:e,initialData:t}=this.props,a=e.action;return a?.action?e.networkStatus:t?.action?t.networkStatus||s.pT.ready:e.networkStatus},this.scheduleRetry=()=>{let e=2e3*(this.state.retryCount+1);this.retryTimer=setTimeout(()=>{this.retryTimer=null,this.setState(e=>({retryCount:e.retryCount+1}),()=>{this.props.data.refetch&&this.props.data.refetch().catch(()=>{})})},e)},this.closeShare=(e,t)=>
323{if(!(0,R.A)())return;let a=this.props.data.action,i=a?.action;if(!i)return;let n=t?"true":e?"linkCopied":"";n?m().replace({pathname:"/campaign/[id]",query:{id:i.id,completed:n}},`/campaign/${i.id}?completed=${n}`,{shallow:!0}):m().replace({pathname:"/campaign/[id]",query:{id:i.id}},`/campaign/${i.id}`,{shallow:!0})},this.setMediaByLanguage=e=>{let t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=(e||[]).find(e=>{let{language:a}=e;return a===t});return a?a.value:null},a=this.props.pagesLocale||(0,M.JK)("pages")||"en";e.image=t(e.multiLanguageImage,a),e.contentUrl=t(e.multiLanguageContentUrl,a),e.contentTitle=t(e.multiLanguageContentTitle,a),e.contentImage=t(e.multiLanguageContentImage,a),e.contentDescription=t(e.multiLanguageContentDescription,a),e.hasVideo=!!e.contentUrl}}}B.propTypes={id:g().string.isRequired,host:g().string,via:g().string,ambassadorId:g().string,increaseViews:g().func,initialData:g().shape({action:g().object,networkStatus:g().number})};let F=(0,o.A)(P.A,_.A,(0,l.Ng)(e=>({messageBarTextId:e.systemActions.messageBarTextId?.messageId}),{setMessageBarTextId:f.Hl}),(0,r.UG)(h.H,{options:e=>({variables:{id:e.id,language:e.pagesLocale||"en"}}),notifyOnNetworkStatusChange:!0}),y.h5,p.withRouter,w.Ay)(B)},61294:(e,t,a)=>{"use strict";a.d(t,{H:()=>r,O:()=>o});var i=a(82972),n=a(21531);let r=(0,i.Ay)` 324 query action($id: ID!, $language: String) { 325 action(id: $id, language: $language) { 326 action { 327 ...action 328 coverFees 329 coverTips 330 updatedAt 331 } 332 error { 333 code 334 message 335 redirectPageId 336 } 337 } 338 } 339 ${n.H} 340`,o=(0,i.Ay)` 341 query ambassador($id: ID!) { 342 ambassador(id: $id) { 343 ambassador { 344 id 345 fullName 346 goal 347 performerCount 348 performanceCount 349 title 350 richDescription 351 image { 352 publicId 353 width 354 height 355 } 356 ambassadorPledgeCount 357 ambassadorPaymentCount 358 actionShares 359 } 360 error { 361 code 362 message 363 } 364 } 365 } 366`},73336:(e,t,a)=>{"use strict";a.d(t,{K:()=>o});var i=a(63154);a(62618);var n=a(37736),r=a(84186);let o=(0,n.A)(e=>{let{theme:{activeColor:t}}=e;return(0,i.jsx)(r.I,{color:t})})},82976:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>d});var i=a(63154);a(62618);var n=a(24528),r=a.n(n),o=a(13922),s=a.n(o);let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 367new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 368j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
369'https://www.googletagmanager.com/gtm.js?id='+i+dl+'${t}';f.parentNode.insertBefore(j,f); 370})(window,document,'script','dataLayer','${e}');`},u=e=>{let{containerId:t,urlSuffix:a=""}=e;return(0,i.jsx)("iframe",{title:"GTM",src:`https://www.googletagmanager.com/ns.html?id=${t}${a}`,height:0,width:0,style:{display:"none",visibility:"hidden"}})},c=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s(),{children:(0,i.jsx)("script",{children:l(e.containerId,e.urlSuffix)})}),(0,i.jsx)("noscript",{children:(0,i.jsx)(u,{...e})})]});c.propTypes={containerId:r().string.isRequired,urlSuffix:r().string};let d=c},96709:(e,t,a)=>{"use strict";a.d(t,{EX:()=>n,Gr:()=>i,RY:()=>r});let i=()=>window.fakeDOM?"":`${window.location.protocol}//${window.location.host}`;function n(e,t){return`https://api.whatsapp.com/send?text=${t?encodeURIComponent(`${t} - ${e}`):encodeURIComponent(e)}`}function r(e){return`https://twitter.com/intent/tweet?text=Check+this+out%3A&url=${encodeURIComponent(e)}`}},99018:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var i=a(63154);a(62618);var n=a(24528),r=a.n(n),o=a(58736),s=a(7608),l=a(82972),u=a(22251),c=a(82976);let d=(0,l.Ay)` 371 query containerQuery($actionId: ID!) { 372 action(id: $actionId) { 373 action { 374 id 375 tagManagerContainer 376 } 377 error { 378 code 379 message 380 redirectPageId 381 } 382 } 383 } 384`,g=e=>{let{actionId:t}=e;return(0,o.A)()?(0,i.jsx)(s.XK,{query:d,variables:{actionId:t},children:e=>{let{data:t}=e,a=(0,u.A)(t,"action.action.tagManagerContainer");return a?(0,i.jsx)(c.default,{containerId:a}):null}}):null};g.propTypes={actionId:r().string.isRequired};let p=g}},e=>{e.O(0,[6593,636,8792],()=>e(e.s=21947)),_N_E=e.O()}]);
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.