PageSourceSearch

https://www.reelshort.com/_next/static/chunks/pages/campaign/movie…/upload-video-d27acb1a066a83a8.js

js reelshort.com collected 2026-10-01 12:30:58 UTC 38,678 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9024],{74957:function(e,t,r){"use strict";var n,a,i=r(51776);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(null,arguments)}t.Z=function(e){return i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 21"},e),n||(n=i.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.938,d:"M10 18.625a8.125 8.125 0 1 0 0-16.25 8.125 8.125 0 0 0 0 16.25"})),a||(a=i.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:.938,d:"m12.5 8-5 5M7.5 8l5 5"})))}},19426:function(e,t,r){"use strict";var n=r(23642),a=r(83616),i=r(57270),s=r(60483),o=r(51776),c=r(27997),l=r.n(c),u=r(36734);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=function(e){var t=e.commonProps,r=e.drawerProps,n=e.modalProps,c=e.children,d=(0,a.Z)();return(0,o.useEffect)((function(){document.body.style.overflow=t.open?"hidden":"unset"}),[t.open]),d?(0,u.jsx)(i.Z,p(p(p({rootClassName:l()["ugc-drawer"]},t),r),{},{zIndex:1003,height:"80vh",children:c})):(0,u.jsx)(s.Z,p(p(p({},t),n),{},{children:c}))};x.displayName="DrawerModal",t.Z=x},5108:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return Ae},default:function(){return Ee}});var n,a,i,s=r(23642),o=r(25548),c=r(77895),l=r(17),u=r.n(l),d=r(51776),p=r(46643),x=r.n(p),f=r(64518),m=r(60483);function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(null,arguments)}var h,w=function(e){return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 33"},e),n||(n=d.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:2.5,d:"M5.833 16.5v10.667A2.667 2.667 0 0 0 8.5 29.833h16a2.667 2.667 0 0 0 2.666-2.666V16.5"})),a||(a=d.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeWidth:2.5,d:"M21.834 9.833 16.5 4.5l-5.333 5.333"})),i||(i=d.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:2.5,d:"M16.5 5.833v16"})))};function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(null,arguments)}var g,j=function(e){return d.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 16"},e),h||(h=d.createElement("path",{stroke:"#000",d:"m2.25 10.666 4 2.667v-12M14.25 5.334l-4-2.667v12"})))};function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(null,arguments)}var y,_,N,O=function(e){return d.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"},e),g||(g=d.createElement("path",{fill:"currentColor",d:"M6 .5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11m0 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m-.5-.75h1V3h-1z"})))};function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(null,arguments)}var E,C=function(e){return d.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"},e),y||(y=d.createElement("circle",{cx:6,cy:6,r:6,fill:"#E52E2E"})),_||(_=d.createElement("path",{stroke:"#fff",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:1.125,d:"M6 6.75V3"})),N||(N=d.createElement("path",{fill:"#fff",d:"M5.438 8.438a.563.563 0 1 1 1.125 0 .563.563 0 0 1-1.125 0"})))},S=r(74957);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(null,arguments)}var P,I,Z=function(e){return d.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 21"},e),E||(E=d.createElement("path",{fill:"currentColor",d:"M10.037 3.541a6.65 6.65 0 0 1 4.35.85 7.21 7.21 0 0 1 2.978 3.43c.613 1.449.764 3.069.432 4.616a7.424 7.424 0 0 1-2.281 3.973 6.764 6.764 0 0 1-4.104 1.734 6.688 6.688 0 0 1-4.267-1.225 7.28 7.28 0 0 1-2.601-3.396l-.099-.278-.147-.445.89-.296.147.445.087.244a6.343 6.343 0 0 0 2.264 2.96 5.75 5.75 0 0 0 3.67 1.055 5.825 5.825 0 0 0 3.534-1.496 6.487 6.487 0 0 0 1.99-3.473 6.784 6.784 0 0 0-.378-4.053A6.276 6.276 0 0 0 13.913 5.2a5.712 5.712 0 0 0-3.737-.732c-1.31.195-2.768.824-3.675 1.773L4.285 9.094H7.97v.937H3.125a.469.469 0 0 1-.469-.469V4.72h.938v3.737l2.18-2.808.03-.035.21-.21C7.1 4.38 8.662 3.746 10.038 3.541M3.594 8.897l.252.197-.096-.075z"})))};function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D.apply(null,arguments)}var M,U=function(e){return d.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33"},e),P||(P=d.createElement("path",{fill:"currentColor",d:"M5 17.5h22V19H5zM5 13.501h22v1.5H5z"})),I||(I=d.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"m5 11 11-6 11 6M5 21.5l11 6 11-6"})))};function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},L.apply(null,arguments)}var R=function(e){return d.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),M||(M=d.createElement("path",{stroke:"currentColor",strokeWidth:2.5,d:"M8 17h16M16 9v16"})))},T=r(42445),z=r(73786),B=r(38935),W=r(95623),V=r(51282),q=r(23082),H=r(67832),X=r.n(H),Y=r(63200),J=r(31683),$=r(36734);function K(){var e=(0,J.v)((function(e){return e.submission_format})),t=(0,J.v)((function(e){return e.uploadRules}));return e&&t?(0,$.jsxs)("div",{className:"grid grid-cols-1 overflow-hidden text-#000 gap-32/vw pb-40/vw md:grid-cols-2 md:gap-20px md:pb-40px",children:[(0,$.jsxs)("div",{children:[(0,$.jsx)("h3",{className:"font-700 uppercase text-20/vw md:text-24px",children:"RULES"}),(0,$.jsx)("div",{className:"flex-col bg-#f5f5f5 mt-12/vw px-12/vw py-24/vw md:mt-12px md:h-full md:p-40px md:pb-0",children:t.map((function(e,r){return(0,$.jsxs)(d.Fragment,{children:[(0,$.jsxs)("div",{className:"w-full flex gap-12/vw md:gap-12px",children:[(0,$.jsxs)("div",{className:"text-#222 font-900 text-18/vw md:text-24px",children:["0",r+1]}),(0,$.jsx)("p",{className:"text-14/vw md:text-20px",dangerouslySetInnerHTML:{__html:e}})]}),r!==t.length-1&&(0,$.jsx)("div",{className:"h-[1px] w-full bg-black/10 my-16/vw md:my-20px"})]},r)}))})]}),(0,$.jsxs)("div",{children:[(0,$.jsx)("h3",{className:"font-700 uppercase text-20/vw md:text-24px",children:"Format"}),(0,$.jsx)("div",{className:"flex-col items-center bg-#f5f5f5 gap-4/vw mt-12/vw px-12/vw py-24/vw md:mt-12px md:h-full md:gap-4px md:p-40px md:pb-0",children:Object.entries(e||{}).map((function(t,r){var n=(0,Y.Z)(t,2),a=n[0],i=n[1];return(0,$.jsxs)(d.Fragment,{children:[(0,$.jsxs)("div",{className:"w-full flex flex-col gap-8/vw md:flex-row md:justify-between",children:[(0,$.jsx)("div",{className:"text-black/70 capitalize text-14/vw md:text-20px",children:a}),(0,$.jsx)("div",{className:"font-400 text-16/vw md:text-right md:text-20px",children:String(i)})]}),r!==Object.entries(e||{}).length-1&&(0,$.jsx)("div",{className:"h-[1px] w-full bg-black/10 my-16/vw md:my-20px"})]},a)}))})]})]}):null}var Q=function(e){var t=e.visible,r=e.onClose;return(0,$.jsx)(m.Z,{className:"ugc-modal",open:t,onCancel:r,closable:!1,centered:!0,footer:null,width:1140,children:(0,$.jsxs)("div",{className:"relative p-44px",children:[(0,$.jsx)("div",{className:"mb-32px text-32px font-600",children:"Rules & Format"}),(0,$.jsx)("div",{className:"absolute right-44px top-55px h-16/vw w-16/vw md:h-24px md:w-24px",children:(0,$.jsx)(X(),{src:q.Z,alt:"close",layout:"fill",className:"cursor-pointer filter-invert-100",onClick:r,unoptimized:!0})}),(0,$.jsx)(K,{})]})})},G=r(19426),ee=function(e){var t=e.visible,r=e.onClose;return(0,$.jsx)(G.Z,{commonProps:{open:t,title:(0,$.jsxs)("div",{className:"flex items-center justify-between text-black text-20/vw md:text-32px",children:[(0,$.jsx)("div",{className:"text-18/vw",children:"Rules & Format"}),(0,$.jsx)("div",{className:"relative h-16/vw w-16/vw md:h-24px md:w-24px",children:(0,$.jsx)(X(),{src:q.Z,alt:"close",layout:"fill",className:"cursor-pointer filter-invert-100",onClick:r})})]}),closable:!1},drawerProps:{placement:"bottom",onClose:r},modalProps:{footer:null,width:800,onCancel:r},children:(0,$.jsx)(K,{})})},te=r(59415),re=r(28479),ne=r(25876),ae=r(55307),ie=r(93072),se=r(21322),oe=r(29212),ce=r(40377);function le(e){var t=e.id,r=e.children,n=e.isDragging,a=(0,re.nB)({id:t}),i=a.attributes,s=a.listeners,o=a.setNodeRef,c=a.transform,l=a.transition,u={transform:ce.ux.Transform.toString(c),zIndex:n?99:"auto",boxShadow:n?"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1)":"none",transition:l};return(0,$.jsx)("div",{ref:o,style:u,className:"box-content bg-white md:px-40px relative  ".concat(n?"md:bg-#ededed":"md:bg-#f5f5f5"),children:(0,$.jsx)("div",{className:"relative box-content w-full flex items-center h-85/vw py-16/vw md:h-107px md:py-20px",children:r({attributes:i,listeners:s})})})}var ue=r(54694),de=r(20860),pe=r(33906),xe=r.n(pe),fe=r(65716),me=r(67127),ve=r(27280),he=r.n(ve);function we(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,i=e}
1,f:function(){try{s||null==r.return||r.return()}finally{if(o)throw i}}}}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){(0,s.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ke=/\.[^/.]+$/,ye=null,_e=null,Ne=function(e){var t=e.isWebview,r=(0,T.o)(),n=(0,z.wj)(),a=n.isVisitor,i=n.jumpToLogin,s=n.sid,l=(0,ue.c)(),p=l.files,v=l.setFiles,h=l.uploadStory,b=l.setUploadStory,g=(0,d.useState)(null),k=g[0],y=g[1],_=(0,d.useState)(!1)[1],N=(0,d.useState)(!0),A=N[0],E=N[1],F=(0,d.useState)(!1),P=F[0],I=F[1],D=(0,d.useState)(!1),M=D[0],L=D[1],q=(0,d.useState)(null),H=q[0],X=q[1],Y=(0,d.useState)(!1),J=Y[0],G=Y[1],ce=(0,d.useState)(!1),pe=ce[0],ve=ce[1],be=(0,d.useState)(!1),ge=be[0],Ne=be[1],Oe=(0,d.useState)(!1),Ae=Oe[0],Ee=Oe[1],Ce=(0,d.useState)(0),Se=Ce[0],Fe=Ce[1],Pe=(0,d.useState)(!1),Ie=Pe[0],Ze=Pe[1],De=(0,d.useState)(""),Me=De[0],Ue=De[1],Le=(0,d.useState)(!1),Re=Le[0],Te=Le[1],ze=(0,d.useRef)([]),Be=(0,se.Z)().navigateTo,We=(0,V.L)().userInfo,Ve=(0,d.useRef)(new Map),qe=(0,d.useRef)(new Map),He=(0,d.useRef)("");(0,d.useEffect)((function(){He.current=h.storyId||""}),[h]);var Xe=p.length>0&&p.every((function(e){return"success"===e.status}));function Ye(){return(Ye=(0,c.Z)(u().mark((function e(){var t,r,n,a,s,o,c,l,d,p;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(t=new URL(window.location.href).searchParams.get("story_id"))){e.next=15;break}return e.next=5,(0,de.VI)({storyId:t});case 5:if(r=e.sent,b({storyId:t}),0!==r.code){e.next=13;break}if(1===r.data.user_story.status||5===r.data.user_story.status){e.next=11;break}return Be("/campaign/movie-making-contest/review-video".concat(location.search)),e.abrupt("return");case 11:v((null===(n=r.data)||void 0===n||null===(a=n.chapter_videos)||void 0===a?void 0:a.map(ie.Ur))||[]),Ue((null===(s=r.data)||void 0===s?void 0:s.user_story.story_pic)||"");case 13:e.next=19;break;case 15:return e.next=17,(0,de.wF)();case 17:0===(o=e.sent).code?(Fe(o.data.total),b({storyId:o.data.story_id})):Ze(!0);case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(0),500001===(null===e.t0||void 0===e.t0||null===(c=e.t0.response)||void 0===c||null===(l=c.data)||void 0===l?void 0:l.code)?Be("/campaign/movie-making-contest/upload-video".concat(location.search)):100009===(null===e.t0||void 0===e.t0||null===(d=e.t0.response)||void 0===d||null===(p=d.data)||void 0===p?void 0:p.code)?i(!0):Ze(!0);case 24:return e.prev=24,E(!1),e.finish(24);case 27:case"end":return e.stop()}}),e,null,[[0,21,24,27]])})))).apply(this,arguments)}(0,d.useEffect)((function(){tt("show")}),[]),(0,d.useEffect)((function(){(null===We||void 0===We?void 0:We.uid)&&function(){Ye.apply(this,arguments)}()}),[null===We||void 0===We?void 0:We.uid]),(0,d.useEffect)((function(){ze.current=p}),[p]);var Je=(0,te.Dy)((0,te.VT)(te.LO),(0,te.VT)(te.MA)),$e=function(){var e=(0,c.Z)(u().mark((function e(t){var n,a,i,s,c,l,d,x,f,m;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.active,(a=t.over)&&n.id!==a.id){e.next=5;break}return X(null),_(!1),e.abrupt("return");case 5:if(i=(0,o.Z)(p),s=(0,o.Z)(p),c=s.findIndex((function(e){return e.id===n.id})),l=s.findIndex((function(e){return e.id===a.id})),-1!==c&&-1!==l){e.next=13;break}return X(null),_(!1),e.abrupt("return");case 13:if(d=s.splice(c,1)[0],s.splice(l,0,d),v(s),"success"===s[l].status){e.next=20;break}return X(null),_(!1),e.abrupt("return");case 20:return x=ct(n.id,s),f=x.preChapterId,m=x.nextChapterId,L(!0),e.prev=22,e.next=25,(0,de.it)({chapter_id:n.id,story_id:He.current,pre_chapter_id:f||"",next_chapter_id:m||"",sort_index:l});case 25:e.sent,e.next=33;break;case 28:e.prev=28,e.t0=e.catch(22),console.error(e.t0),r.error({content:e.t0.message}),v(i);case 33:return e.prev=33,L(!1),e.finish(33);case 36:X(null),_(!1);case 38:case"end":return e.stop()}}),e,null,[[22,28,33,36]])})));return function(t){return e.apply(this,arguments)}}();function Ke(e){return Qe.apply(this,arguments)}function Qe(){return(Qe=(0,c.Z)(u().mark((function e(t){var r,n,a,i,s,o,c,l,d,p,x;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ie.$p)(t);case 2:return r=e.sent,n=r.width,a=r.height,i=r.duration,s=r.videoUrl,o=t.name.replace(ke,""),c=[n,a],l=t.size,d=(0,ie.PI)({resolution:c,size:l,duration:i}),p=d.valid,x=d.type,e.abrupt("return",{id:Math.random().toString(36).substring(2,15),name:o,file:t,status:p?"waiting":"error",progress:0,cover:"",duration:i,errorType:n?x:"other",width:n,height:a,size:t.size,type:"video/quicktime"===t.type?"video/mov":t.type,videoUrl:s});case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,d.useEffect)((function(){return function(){v([]),ze.current=[],
1Ve.current.forEach((function(e,t){var r=e.checkPoint,n=e.client;r&&n&&n.abortMultipartUpload(r.name,r.uploadId).then((function(){})).catch((function(e){console.error("Failed to abort upload for file ".concat(t,":"),e)}))})),Ve.current.clear()}}),[]),(0,d.useEffect)((function(){var e=function(e){if(p.some((function(e){return"uploading"===e.status}))){var t="You have files uploading, are you sure to leave the current page?";return e.preventDefault(),e.returnValue=t,t}},t=function(){if(p.some((function(e){return"uploading"===e.status}))){if(window.confirm("You have files uploading, are you sure to leave the current page?"))return!0;throw"\u8def\u7531\u5207\u6362\u88ab\u53d6\u6d88"}return!0};return xe().events.on("routeChangeStart",t),window.addEventListener("beforeunload",e),function(){xe().events.off("routeChangeStart",t),window.removeEventListener("beforeunload",e)}}),[p]);var Ge=function(e){var t=ze.current.length,r=Math.max(0,100-t);return 0===r?[]:e.slice(0,r)},et=(0,z.LK)((0,c.Z)(u().mark((function e(){var t;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(Se>=20)){e.next=4;break}return r.warning({content:"Each account can submit up to 20 entries."}),e.abrupt("return");case 4:return e.next=6,(0,ie.I$)({mimeTypes:["video/mp4","video/quicktime",".mp4",".mov"],multiple:!0});case 6:if((t=e.sent).length){e.next=9;break}return e.abrupt("return");case 9:return tt("upload_click"),e.next=12,nt(t);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})))),tt=(0,d.useCallback)((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URL(window.location.href).searchParams.get("story_id"),a={event_name:"m_custom_event",sub_event_name:"h5_ugc_contest_videos_tab_click",properties:je({_action:e,isWebview:t,_url:window.location.href,entry_type:n?2:1,_page_name:(0,W.j0)(xe().pathname),_pre_page_name:(0,W.j0)((0,me.LH)())||"",total_videos:ze.current.length,verify_success_videos:ze.current.filter((function(e){return"success"===e.status})).length,_app_account_bindtype:fe.E[s],story_id:null!==n&&void 0!==n?n:""},r)};t?(0,W.sU)(a):B.X.clickReport(a)}),[s,t]),rt=function(e){return ze.current.some((function(t){return(0,ie.UO)(t.name,!0,0)===e.name.replace(ke,"")&&t.size===e.size}))},nt=function(){var e=(0,c.Z)(u().mark((function e(t){var n,a,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(ze.current.length>=100)){e.next=3;break}return r.warning({content:"Each entry can include up to ".concat(100," episodes.")}),e.abrupt("return");case 3:if(0!==(n=t.filter((function(e){return!rt(e)}))).length){e.next=7;break}return r.error({content:"File already exists"}),e.abrupt("return");case 7:if(a=Ge(n),L(!0),e.prev=9,ye){e.next=15;break}return e.next=13,(0,ie.i9)();case 13:(ye=e.sent)&&(_e=(0,ie.LR)(ye));case 15:return e.next=17,Promise.all(a.map(Ke));case 17:i=e.sent,v((function(e){e.push.apply(e,(0,o.Z)(i))})),L(!1),e.next=26;break;case 22:e.prev=22,e.t0=e.catch(9),r.error({content:JSON.stringify(e.t0)}),L(!1);case 26:case"end":return e.stop()}}),e,null,[[9,22]])})));return function(t){return e.apply(this,arguments)}}(),at=function(){var e=(0,c.Z)(u().mark((function e(){var t,r,n,a,i,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=ze.current[0],r="",Te(!0),Me||ye){e.next=7;break}return e.next=6,(0,ie.i9)();case 6:ye=e.sent;case 7:if(Me||!ye||!t.videoUrl){e.next=15;break}return _e||(_e=(0,ie.LR)(ye)),n=new(x())(je(je({},ye),{},{bucket:"v-ugc-sng"})),a=(0,ie.h4)(t.videoUrl,n),e.next=13,(0,ie.YY)(_e,a);case 13:i=e.sent,r=i.url;case 15:s=r?{story_pic:r}:{},(0,de.lu)(je(je({},s),{},{page_id:3})).catch((function(e){Te(!1)})),Te(!1),tt("next_click"),Be("/campaign/movie-making-contest/edit-video".concat(location.search));case 20:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),it=function(){var e=(0,c.Z)(u().mark((function e(t,r){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"error"!==t.status){e.next=5;break}return v(p.filter((function(e){return e.id!==t.id}))),tt("delete_click"),e.abrupt("return");case 5:y(t),Ne(!0),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,r){return e.apply(this,arguments)}}(),st=(0,d.useCallback)((0,c.Z)(u().mark((function e(){var t,n,a,i,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=k){e.next=3;break}return e.abrupt("return");case 3:if(e.prev=3,["success","reviewError"].includes(t.status)){e.next=9;break}n=Ve.current.get(t.id)||{},a=n.checkPoint,i=n.client,a&&(null===i||void 0===i||i.abortMultipartUpload(a.name,a.uploadId).catch((function(e){}))),e.next=13;break;case 9:return L(!0),s=ze.current.findIndex((function(e){return e.id===t.id})),e.next=13,(0,de.T6)(t.id,h.storyId,s);case 13:v(p.filter((function(e){return e.id!==t.id}))),tt("delete_click"),e.next=21;break;case 17:e.prev=17,e.t0=e.catch(3),tt("error",{_err_code:null===e.t0||void 0===e.t0?void 0:e.t0.code,_err_info:null===e.t0||void 0===e.t0?void 0:e.t0.message}),r.error({content:e.t0.message});case 21:return e.prev=21,L(!1),Ne(!1),e.finish(21);case 25:case"end":return e.stop()}}),e,null,[[3,17,21,25]])}))),[k]);(0,d.useEffect)((function(){!function(){var e=3-p.filter((function(e){return"uploading"===e.status||"failed"===e.status})).length;if(!(e<=0)){var t,r=we(p.filter((function(e){return"waiting"===e.status})).slice(0,e));try{for(r.s();!(t=r.n()).done;){var n=t.value;ot(n)}}catch(a){r.e(a)}finally{r.f()}}}()}),[p]);var ot=function(){var e=(0,c.Z)(u().mark((function e(t){var r,n,a,i,s,o,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return r=t.id,v((function(e){var t=e.find((function(e){return e.id===r}));t&&(t.status="uploading")})),e.prev=4,a=t.type.split("/")[1],i="".concat((0,ae.Z)(),".").concat(a),s=new(x())(je(je({},ye),{},{bucket:"v-ugc-sng"})),o=(null===(n=Ve.current.get(r))||void 0===n?void 0:n.checkPoint)||null,e.next=11,s.multipartUpload("".concat("video","/").concat(i),t.file,{checkpoint:o,partSize:3145728,progress:function(e,t){v((function(t){var n=t.find((function(e){return e.id===r}));n&&(n.progress=Math.min(99,Math.floor(100*e)),n.status="uploading")})),Ve.current.set(r,{checkPoint:t,client:s})}});case 11:c=e.sent,lt(c,t),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),dt(e.t0,t);case 18:case"end":return e.stop()}}),e,null,[[4,15]])})));return function(t){return e.apply(this,arguments)}}(),ct=function(e,t){for(var r=t.findIndex((function(t){return t.id===e})),n="",a=r-1;a>=0;a--){var i;
1if("success"===(null===(i=t[a])||void 0===i?void 0:i.status)){n=t[a].id;break}}for(var s="",o=r+1;o<t.length;o++){var c;if("success"===(null===(c=t[o])||void 0===c?void 0:c.status)){s=t[o].id;break}}return{preChapterId:n,nextChapterId:s}},lt=function(){var e=(0,c.Z)(u().mark((function e(t,n){var a,i,s,o,c,l,d,p,x,f,m,h;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=n.id,i=Ve.current.get(a)||{},s=i.client,o=(0,ie.tX)(t.name,s),e.next=5,(0,ie.YY)(_e,o);case 5:return c=e.sent,Ve.current.delete(a),l=ct(a,ze.current),d=l.preChapterId,p=l.nextChapterId,x="".concat("https://v-ugc-img.stardustgod.com","/").concat(c.name),f=ze.current.findIndex((function(e){return e.id===a})),m={chapter_file_name:(0,ie.UO)(n.name),video_pic:x,video_play_url:t.name,pre_chapter_id:d,next_chapter_id:p,sort_index:f,duration:n.duration,size:n.size,format:n.type,width:n.width,height:n.height},He.current&&(m.story_id=He.current),qe.current.set(a,m),e.next=15,(0,de.IS)(m);case 15:0===(h=e.sent).code?ut(h,a,m):(r.error({content:h.msg}),v((function(e){var t=e.find((function(e){return e.id===a}));t&&(t.status="saveFail")})),tt("error",{_err_code:h.code,_err_info:h.msg}));case 17:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),ut=function(e,t,r){b({storyId:e.data.story_id});var n=new URL(window.location.href);n.searchParams.set("story_id",e.data.story_id),window.history.replaceState(null,"",n),v((function(n){var a=n.find((function(e){return e.id===t}));a&&(a.id=e.data.chapter_id,a.status="success",a.progress=100,a.cover=r.video_pic,a.videoUrl=r.video_play_url)})),tt("save_success")},dt=function(){var e=(0,c.Z)(u().mark((function e(t,r){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.error("\u4e0a\u4f20\u5931\u8d25:",t),tt("error",{_err_code:null===t||void 0===t?void 0:t.code,_err_info:null===t||void 0===t?void 0:t.message}),"SecurityTokenExpired"!==t.code){e.next=8;break}return e.next=5,(0,ie.i9)();case 5:return ye=e.sent,v((function(e){var t=e.find((function(e){return e.id===r.id}));t&&(t.status="waiting")})),e.abrupt("return");case 8:v((function(e){var t=e.find((function(e){return e.id===r.id}));t&&(t.status="failed")}));case 9:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),pt=function(){G((function(e){return!e}))},xt=function(){var e=(0,c.Z)(u().mark((function e(t){var n,a,i,s,o,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("saveFail"!==t.status){e.next=14;break}if(!(n=qe.current.get(t.id))){e.next=12;break}return a=ct(t.id,ze.current),i=a.preChapterId,s=a.nextChapterId,o=ze.current.findIndex((function(e){return e.id===t.id})),n.pre_chapter_id=i,n.next_chapter_id=s,n.sort_index=o,e.next=10,(0,de.IS)(n);case 10:0===(c=e.sent).code?ut(c,t.id,n):(r.error({content:c.msg}),tt("error",{_err_code:c.code,_err_info:c.msg}));case 12:e.next=15;break;case 14:v((function(e){var r=e.find((function(e){return e.id===t.id}));!r||"failed"!==r.status&&"error"!==r.status||(r.status="waiting")}));case 15:tt("retry_click");case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ft=function(e){return"success"===e||"error"===e||"reviewError"===e};return A?(0,$.jsx)("div",{className:"flex-center min-h-500/vw md:min-h-500px",children:(0,$.jsx)(f.Z,{indicator:(0,$.jsx)(oe.Z,{spin:!0}),size:"large"})}):Ie?(0,$.jsxs)("div",{className:"mx-auto flex flex-center flex-col min-h-400/vw w-227/vw md:min-h-500px md:w-full",children:[(0,$.jsx)("div",{className:"text-center font-600 mb-24/vw text-18/vw md:mb-60px md:text-40px",children:"Something's wrong, please try again"}),(0,$.jsx)("button",{onClick:function(){window.location.reload()},className:"w-full flex-center cursor-pointer bg-black text-20px text-white font-600 h-48/vw text-16/vw md:h-80px md:w-auto md:px-40px md:text-20px",children:"Try again"})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{className:"mx-auto md:max-w-1114px ".concat(t?"pb-100/vw md:pb-160px":""),children:[(0,$.jsx)(f.Z,{spinning:M,indicator:(0,$.jsx)(oe.Z,{spin:!0}),size:"large",children:(0,$.jsxs)("div",{className:"pb-0 px-16/vw lg:px-0 md:px-24px md:pb-40px",children:[p.length>0&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{className:"flex flex-between font-600 gap-20/vw text-14/vw md:justify-start md:gap-40px",children:[!J&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("button",{onClick:pt,className:"w-full flex-center cursor-pointer border-black border-solid bg-white text-black font-600 border-1/vw h-40/vw text-14/vw md:border-1px md:hidden",children:[(0,$.jsx)(j,{className:"h-16/vw mr-2/vw w-16/vw"}),"Sort"]}),(0,$.jsxs)("button",{onClick:et,className:"w-full flex-center cursor-pointer border-1px border-black border-solid bg-black text-white font-600 hidden hidden h-40/vw md:h-58px md:w-auto md:flex md:px-40px md:text-24px",children:[(0,$.jsx)(R,{className:"mr-4px w-32px text-white"}),"Upload"]}),(0,$.jsx)("button",{onClick:function(){ve(!0),tt("rules_click")},className:"w-full flex-center cursor-pointer border-black border-solid bg-white text-black font-600 hidden border-1/vw h-40/vw md:h-58px md:w-auto md:flex md:border-1px md:px-40px md:text-24px",children:"Rules & Format"}),(0,$.jsx)("button",{onClick:function(){Ee(!0),tt("rules_click")},className:"w-full flex-center cursor-pointer border-black border-solid bg-white text-black font-600 border-1/vw h-40/vw text-14/vw md:h-58px md:w-auto md:border-1px md:px-40px md:text-24px md:hidden",children:"Rules & Format"})]}),J&&(0,$.jsx)("button",{onClick:pt,className:"w-full flex-center cursor-pointer border-1px border-black border-solid bg-white text-black font-600 h-40/vw text-14/vw md:hidden",children:"Done"})]}),(0,$.jsxs)("div",{className:"flex items-center bg-#2B65FE1A/10 text-#3A7DFA mt-16/vw p-8/vw text-12/vw md:mt-24px md:p-24px md:text-20px",children:[(0,$.jsx)(O,{className:"text-#3A7DFA mr-8/vw w-24/vw md:mr-8px md:w-24px"}),"Please make sure your videos are in the correct episode order, or your entry may not pass review."]})]}),0===p.length?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{onDragOver:function(e){e.preventDefault(),I(!0)},onDragLeave:function(){I(!1)},onDrop:function(e){if(e.preventDefault(),I(!1),Se>=20)r.warning({content:"Each account can submit up to 20 entries."});else{var t=Array.from(e.dataTransfer.files);t.length&&(a?i(!0):(tt("drag_click"),nt(t)))}},className:"border-1px border-dashed border-black/30 flex-center cursor-pointer transition-all duration-200 mb-32/vw md:mb-40px ",style:P?{background:"rgba(58,125,250,0.20)",border:"solid 1px #3A7DFA"}:{border:"1px dashed rgba(0,0,0,.3)",background:"linear-gradient(268deg, #FDFFFF 26.93%, #F7FCFF 63.41%, #FDFEFF 98.71%)"},onClick:et,children:(0,$.jsxs)("div",{className:"flex flex-col flex-col items-center justify-center h-240/vw md:h-240px",children:[(0,$.jsx)(w,{className:"text-#000 h-32/vw w-32/vw md:h-32px md:w-32px"}),(0,$.jsxs)("p",{className:"mt-12px hidden text-14/vw md:block md:text-24px",children:["Drop your entry here, or"," ",(0,$.jsx)("span",{className:"text-#3A7DFA underline",children:"browse"})," to upload."]}),(0,$.jsx)("p",{className:"mt-12px text-14/vw md:text-24px md:hidden",children:"Upload Your Entry"})]})}),(0,$.jsx)(K,{})]}):(0,$.jsx)("div",{className:"md:mt-24px md:pb-40px",children:(0,$.jsx)(te.LB,{sensors:Je,collisionDetection:te.pE,onDragStart:function(e){X(e.active.id),_(!0)},onDragEnd:$e,modifiers:[ne.DL,ne.F4],children:(0,$.jsx)(re.Fo,{items:p.map((function(e){return e.id})),strategy:re.qw,children:p.map((function(e,t){return(0,$.jsx)(le,{id:e.id,isDragging:H===e.id,children:function(r){var n,a,i=r.attributes,s=r.listeners;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{className:"h-full flex-center flex-shrink-0 text-black/50 mr-12/vw text-20/vw w-24/vw md:mr-40px md:w-auto md:text-20px",children:t+1}),(0,$.jsx)("div",{className:"flex-center flex-shrink-0 overflow-hidden bg-#ebebeb text-0 h-85/vw w-48/vw md:h-107px md:w-60px",children:e.cover?(0,$.jsx)("img",{src:"".concat(e.cover),alt:"",className:"h-full w-full object-cover",onError:function(e){e.currentTarget.style.display="none"}}):null}),(0,$.jsx)("div",{className:"h-full flex flex-grow ml-10/vw md:ml-20px",children:(0,$.jsxs)("div",{className:"h-full flex flex-col justify-between w-172/vw md:max-w-690px md:w-90%",children:[(0,$.jsx)("div",{className:"line-clamp-1 flex-shrink-0 break-all leading-[normal] text-14/vw md:text-20px md:font-600",children:(0,ie.UO)(e.name,!0,0)}),(0,$.jsxs)("div",{className:"flex flex-col gap-2/vw md:gap-4px",children:[(n=e.status,a=e.reason,"waiting"===n?(0,$.jsx)("div",{className:"text-waiting text-12/vw md:text-16px",children:"Waiting for upload..."}):"uploading"===n?(0,$.jsx)("div",{className:"text-uploading text-12/vw md:text-16px",children:"Uploading..."}):"failed"===n||"saveFail"===n?(0,$.jsxs)("div",{className:"flex items-center text-error text-12/vw md:text-16px",children:[(0,$.jsx)(C,{className:"mr-4/v
1w w-12/vw md:mr-4px md:w-16px"}),"Network error. Please try again."]}):"reviewError"===n&&a?(0,$.jsxs)("div",{className:"flex items-center text-error text-12/vw md:text-16px",children:[(0,$.jsx)(C,{className:"mr-4/vw w-12/vw md:mr-4px md:w-16px"}),(0,$.jsx)("span",{className:"line-clamp-2 break-all md:line-clamp-1",children:a})]}):"error"===n?(0,$.jsxs)("div",{className:"flex items-center text-error text-12/vw md:text-16px",children:[(0,$.jsx)(C,{className:"mr-4/vw w-12/vw md:mr-4px md:w-16px"}),"Unsupported file format"]}):null),(0,$.jsxs)("div",{className:"flex-center gap-10/vw md:gap-10px md:w-380px ".concat(ft(e.status)?"hidden":""),children:[(0,$.jsx)("div",{className:"h-4/vw md:h-4px w-full rounded-full bg-black/10 ",children:(0,$.jsx)("div",{className:"h-full rounded-full transition-all duration-300 ".concat("error"===e.status||"failed"===e.status||"saveFail"===e.status?"bg-error":"bg-uploading"),style:{width:"".concat(e.progress,"%")}})}),(0,$.jsx)("div",{className:"text-12/vw md:text-14px ".concat("failed"===e.status||"saveFail"===e.status?"text-error":""),children:"".concat(e.progress,"%")})]}),ft(e.status)&&"other"!==e.errorType&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("div",{className:"text-black/50 text-12/vw md:text-16px",children:[(0,$.jsx)("span",{className:"uppercase",children:e.type.split("/")[1]}),(0,$.jsx)("span",{className:"mx-10/vw md:mx-10px",children:"\xb7"}),(0,$.jsx)("span",{className:"FILE_SIZE"===(null===e||void 0===e?void 0:e.errorType)?"text-error":"",children:(0,ie.sS)(e.size)})]}),(0,$.jsxs)("div",{className:"text-black/50 text-12/vw md:text-16px",children:[(0,$.jsx)("span",{className:"DURATION"===(null===e||void 0===e?void 0:e.errorType)?"text-error":"",children:(0,ie.LU)(e.duration)}),(0,$.jsx)("span",{className:"mx-10/vw md:mx-10px",children:"\xb7"}),(0,$.jsx)("span",{className:"RESOLUTION"===(null===e||void 0===e?void 0:e.errorType)?"text-error":"",children:(0,ie.Zz)([e.width,e.height])})]})]})]})]})}),(0,$.jsxs)("div",{className:"h-full flex flex-shrink-0 items-center justify-end gap-4/vw md:gap-20px",children:[!J&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(S.Z,{className:"cursor-pointer text-black/50 transition duration-300 w-20/vw md:w-32px hover:text-#004CFF",onClick:function(){return it(e,t)}}),["failed","saveFail"].includes(e.status)?(0,$.jsx)(Z,{className:"cursor-pointer text-black/50 w-20/vw md:w-32px hover:text-#004CFF",onClick:function(){return xt(e)}}):null]}),J&&(0,$.jsx)("div",je(je(je({className:"flex-center cursor-move h-85/vw md:hidden",style:{touchAction:"manipulation"}},i),s),{},{children:(0,$.jsx)(U,{className:"text-black/50 w-20/vw md:w-32px"})})),(0,$.jsx)("div",je(je(je({className:"h-full w-32px flex-center cursor-move hidden md:flex"},i),s),{},{children:(0,$.jsx)(U,{className:"text-black/50 transition duration-300 w-20/vw md:h-32px md:w-32px hover:text-#004CFF"})}))]}),(0,$.jsx)("div",{className:"absolute bottom-0 w-full bg-black/10 h-1/vw md:h-1px "+(t===p.length-1?"hidden":"")})]})}},e.id)}))})})})]})}),p.length>0&&(0,$.jsx)($.Fragment,{children:(0,$.jsx)("div",{className:he()("bg-white bottom-68/vw px-16/vw py-24/vw md:hidden",J&&"invisible"),children:(0,$.jsxs)("div",{onClick:et,className:"w-full flex-center border-black/30 border-dashed  font-600 border-1/vw h-48/vw text-16/vw md:text-16px",children:[(0,$.jsx)(R,{className:"text-black w-24/vw"}),"Upload"]})})})]}),(0,$.jsx)("div",{className:"".concat(t?"fixed":"sticky"," bottom-0 w-full bg-white py-10/vw md:py-20px"),style:{borderTop:"1px solid rgba(0, 0, 0, 0.1)"},children:(0,$.jsx)("div",{className:he()("mx-auto flex justify-end px-16/vw md:max-w-1114px md:px-24px lg:px-0",t?"pb-25/vw md:pb-40px":""),children:(0,$.jsx)(f.Z,{spinning:Re,indicator:(0,$.jsx)(oe.Z,{spin:!0}),size:"large",children:(0,$.jsx)("button",{disabled:!Xe,className:he()("flex-center text-16/vw font-600 h-48/vw w-78/vw md:h-80px md:text-24px bg-black text-white md:px-0 md:w-180px ".concat(Xe?"bg-black cursor-pointer":"bg-black/10 text-black/30")),onClick:at,children:"Next"})})})}),(0,$.jsx)(m.Z,{centered:!0,maskClosable:!1,className:"ugc-modal",open:ge,onOk:function(){return Ne(!1)},onCancel:function(){return Ne(!1)},closable:!1,footer:null,children:(0,$.jsxs)("div",{className:"p-24/vw md:p-44px",children:[(0,$.jsx)("p",{className:"font-600 text-18/vw md:text-32px",children:"Delete"}),(0,$.jsx)("div",{className:"mt-24px text-black/70 text-14/vw md:text-20px",children:"Are you sure you want to delete this episode? It cannot be recovered."}),(0,$.jsxs)("div",{className:"flex gap-20/vw mt-24/vw md:mt-40px md:justify-end md:gap-20px",children:[(0,$.jsx)("button",{onClick:function(){return Ne(!1)},className:"w-full flex-center cursor-pointer border-black border-solid bg-white text-black font-600 border-1/vw h-48/vw px-20/vw text-16/vw md:h-64px md:w-auto md:border-1px md:px-40px md:text-20px",children:"Cancel"}),(0,$.jsx)("button",{onClick:function(){return st()},className:"w-full flex-center cursor-pointer bg-#E52E2E text-white font-600 h-48/vw px-20/vw text-16/vw md:h-64px md:w-auto md:px-40px md:text-20px",children:"Delete"})]})]})}),(0,$.jsx)(Q,{visible:pe,onClose:function(){return ve(!1)}}),(0,$.jsx)(ee,{visible:Ae,onClose:function(){return Ee(!1)}})]})},Oe=r(72283),Ae=!0;function Ee(e){var t=e.isWebview,r=e.isMobile;return(0,$.jsx)(Oe.default,{isWebview:t,isMobile:r,children:(0,$.jsx)(Ne,{isWebview:t})})}},99806:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/campaign/movie-making-contest/upload-video",function(){return r(5108)}])},23082:function(e,t){"use strict";t.Z={src:"/_next/static/media/icon_close.2505e993.png",height:28,width:28,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAD1BMVEX/////
1//////9MaXH///9e6SF2AAAABXRSTlM54gMA0ni3WFQAAAAJcEhZcwAACxMAAAsTAQCanBgAAAApSURBVHicRYtBCgAwDINM7P/fPBisuwRBw2ArA0EJ3AlSSbAfVm387gcNOABdQIfI0AAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},27997:function(e){e.exports={"ugc-popover":"common_ugc-popover__B4USn","ugc-drawer":"common_ugc-drawer__OciaP",entries_action:"common_entries_action__MjpxS",tooltip:"common_tooltip__kofnq","white-icon":"common_white-icon__cuxAx",title_content:"common_title_content__pq9R6",title:"common_title__X8so7","remove-scrollbar":"common_remove-scrollbar__TfgeD","ugc-modal":"common_ugc-modal__COswK"}}},function(e){e.O(0,[6965,7589,4095,5692,2283,4977,9774,2888,179],(function(){return t=99806,e(e.s=t);var t}));var t=e.O();_N_E=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.