1"use strict";(self.webpackChunkts_boilerplate=self.webpackChunkts_boilerplate||[]).push([[2792],{67668:function(e,t,n){n.d(t,{i:function(){return a},l:function(){return o}});var r=n(78915),a={typeName:r.Ef.HOME,path:"home"},o={boardSet:[{typeName:r.Ef.POSTING,path:"posting"},{typeName:r.Ef.TIMELINE,path:"timeline"},{typeName:r.Ef.TIMELINE,path:"timeline2"},{typeName:r.Ef.MEMO,path:"memo"},{typeName:r.Ef.GALLERY,path:"gallery"},{typeName:r.Ef.COUPLE,path:"couple"},{typeName:r.Ef.GUESTBOOK,path:"guestbook"}],cursorCustom:!0,backgroundEffect:!0,commentMode:{battle:!1},widget:{ddayWidget:!1,currentBoardWidget:!1},postingThemeSet:!0,photocardPosting:!1,challenge:!1,soundEffect:!1,photocardThemeSet:!1,stickerDoc:!1,gatePage:!1,shootingStar:!1}},78915:function(e,t){t.J1=t.Op=t.E1=t.Ef=void 0,t.Ef={HOME:"Home",LINK:"Link",FOLDER:"Folder",PHOTOCARD:"PhotoCard",GALLERY:"Gallery",TIMELINE:"Timeline",POSTING:"Posting",COUPLE:"Couple",GUESTBOOK:"GuestBook",CALENDAR:"Calendar",STICKERBOARD:"StickerBoard",TRPG:"Trpg",CHALLENGE:"Challenge",MEMO:"Memo",WORLD:"world",HISTORY:"history",STORE:"store",CALCULATE:"calculate",EXPLORATION:"Exploration",RAID:"Raid",WORLDMAP:"Worldmap",GAMBLING:"Gambling",FORM:"Form",THREADS:"Threads",PET:"Pet",QUEST:"Quest",INTERACTIVE_STORY:"InteractiveStory",BETTING:"Betting",WIKI:"Wiki"},t.E1={HOME:"기본 í",PHOTOCARD:"í¬í ì¹´ëí",GALLERY:"ê°¤ë¬ë¦¬í",TIMELINE:"íìë¼ì¸í",POSTING:"í¬ì¤í
í",COUPLE:"커íí",GUESTBOOK:"ë°©ëª
ë¡í",CALENDAR:"ìºë¦°ëí",STICKERBOARD:"ì¤í°ì»¤ë³´ëí",TRPG:"TRPGí",INTERACTIVE_STORY:"ì¸í°ëí°ë¸ ì¤í 리í",LINK:"커ì¤í
ë©ë´í",MEMO:"ë©ëª¨í",FOLDER:"ð í´ë",WORLD:"ì¸ê³ê´í",HISTORY:"ì°íí",STORE:"ìì í",CALCULATE:"ì ì°í",EXPLORATION:"ííì¡°ì¬í",RAID:"ë ì´ëí",WORLDMAP:"ìëë§µí",GAMBLING:"ëë°í",FORM:"í¼í",THREADS:"ì¤ë ëí",PET:"í«í",QUEST:"íì¤í¸í",BETTING:"ë² í
í",WIKI:"ìí¤í"},t.Op={HOME:"home",PHOTOCARD:"photocard",GALLERY:"gallery",TIMELINE:"timeline",POSTING:"posting",COUPLE:"couple",GUESTBOOK:"guestbook",CALENDAR:"calendar",STICKERBOARD:"stickerBoard",TRPG:"trpg",CHATROOM:"chatRoom",CHALLENGE:"challenge",MEMO:"memo",WORLD:"world",HISTORY:"history",STORE:"store",CALCULATE:"calculate",EXPLORATION:"exploration",RAID:"raid",INTERACTIVE_STORY:"interactiveStory",WORLDMAP:"worldmap",GAMBLING:"gambling",FORM:"form",THREADS:"threads",PET:"pet",QUEST:"quest",BETTING:"betting",WIKI:"wiki"},t.J1=Object.keys(t.Ef).map(function(e){return{key:e,value:t.E1[e]}})},82792:function(e,t,n){n.r(t),n.d(t,{default:function(){return Ie}}),n(3940),n(32145),n(74277),n(61445),n(57045),n(65114),n(32242),n(60039),n(12064),n(75868),n(42652),n(34068),n(44465),n(31863),n(82185),n(85062),n(97152),n(66706),n(98832),n(77654),n(86608),n(62469),n(49374),n(60368);var r=n(37953),a=n(84136),o=n(67668),i=n(78915),u=(n(80545),n(19224),n(94513),n(51163),n(82758),n(77135),n(10475),n(82106),n(3233),n(20884),n(59352)),c=n(81481);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},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 o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,a)}function m(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,u,"next",e)}function u(e){h(o,r,a,i,u,"throw",e)}i(void 0)})}}var g,x,y,b,v,E,w,T,R,A,C,I,O,k,P,S,L,N,M,G,D,j=u.default.firestore(),H=c.A.firestore.FieldValue,U="COPY_TIMELINE_TAG_POSTS",B="DELETE_SOURCE_TIMELINE_TAG_POSTS";function V(e){return/^timeline\d*$/.test(e)}function Y(e){return e?"function"==typeof e.toMillis?e.toMillis():e instanceof Date?e.getTime():"number"==typeof e.seconds?1e3*e.seconds+Math.floor((e.nanoseconds||0)/1e6):0:0}function W(e,t){var n;null===(n=e.onProgress)||void 0===n||n.call(e,t)}function _(e){if(!["copy","verify","delete"].includes(e.action))throw new Error("actionì copy, verify, delete ì¤ íëì¬ì¼ í©ëë¤.");if(!V(e.sourceCollectionPath))throw new Error("sourceCollectionPathë timeline 컬ë ì
ë§ íì©ë©ëë¤.");if(!V(e.targetCollectionPath))throw new Error("targetCollectionPathë timeline 컬ë ì
ë§ íì©ë©ëë¤.");if(e.sourceCollectionPath===e.targetCollectionPath)throw new Error("sourceCollectionPathì targetCollectionPathê° ê°ì ì ììµëë¤.");if(!e.sourceTagId&&!e.sourceTagValue)throw new Error("sourceTagId ëë sourceTagValueê° íìí©ëë¤.");if(null!=e.limit&&e.limit<=0)throw new Error("limitì 1 ì´ìì´ì´ì¼ í©ëë¤.")}function K(e){if(!e.dryRun){if("copy"===e.action&&e.confirmationText!==U)throw new Error('ì¤ì ë³µì¬ë confirmationText="'.concat(U,'"ê° íìí©ëë¤.'));if("delete"===e.action&&e.confirmationText!==B)throw new Error('ì본 ìì ë confirmationText="'.concat(B,'"ê° íìí©ëë¤.'))}}function z(e){return F.apply(this,arguments)}function F(){return(F=m(regeneratorRuntime.mark(function e(t){var n,r,a,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=j.collection("".concat(t.sourceCollectionPath,"Hashtag")),!t.sourceTagId){e.next=8;break}return e.next=4,n.doc(t.sourceTagId).get();case 4:if((r=e.sent).exists){e.next=7;break}throw new Error("sourceTagId를 ì°¾ì ì ììµëë¤: ".concat(t.sourceTagId));case 7:return e.abrupt("return",p(p({},r.data()),{},{id:r.id}));case 8:return e.next=10,n.where("value","==",t.sourceTagValue||"").limit(2).get();case 10:if(!(a=e.sent).empty){e.next=13;break}throw new Error("sourceTagValue를 ì°¾ì ì ììµëë¤: ".concat(t.sourceTagValue));case 13:if(!(a.size>1)){e.next=15;break}throw new Error("ëì¼í sourceTagValueê° 2ê° ì´ìì
ëë¤: ".concat(t.sourceTagValue));case 15:return o=a.docs[0],e.abrupt("return",p(p({},o.data()),{},{id:o.id}));case 17:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Q(e,t){return $.apply(this,arguments)}function $(){return($=m(regeneratorRuntime.mark(function e(t,n){var r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.collection(t.sourceCollectionPath).where("hashtagIdList","array-contains",n).get();case 2:return r=e.sent,a=r.docs.map(function(e){return{id:e.id,data:e.data()}}).sort(function(e,t){return Y(e.data.createdAt)-Y(t.data.createdAt)}),e.abrupt("return",t.limit?a.slice(0,t.limit):a);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function X(e,t){return J.apply(this,arguments)}function J(){return(J=m(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.collection("".concat(t,"Hashtag")).doc(n).get();case 2:if((r=e.sent).exists){e.next=5;break}return e.abrupt("return",null);case 5:return e.abrupt("return",p(p({},r.data()),{},{id:r.id}));case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}function q(e,t,n){return Z.apply(this,arguments)}function Z(){return(Z=m(regeneratorRuntime.mark(function e(t,n,r){var a,o,i,u,c,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=j.collection("".concat(t,"Hashtag")),e.next=3,a.where("value","==",n).limit(1).get();
1case 3:if((o=e.sent).empty){e.next=7;break}return i=o.docs[0],e.abrupt("return",p(p({},i.data()),{},{id:i.id}));case 7:return e.next=9,a.get();case 9:if(u=e.sent,c=a.doc(),s={id:c.id,value:n,order:u.size,count:0,docIdList:[]},r){e.next=15;break}return e.next=15,c.set({value:s.value,order:s.order,count:s.count,docIdList:s.docIdList});case 15:return e.abrupt("return",s);case 16:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ee(e,t,n){return te.apply(this,arguments)}function te(){return(te=m(regeneratorRuntime.mark(function e(t,n,r){var a,o,i,u,c,s,l,d,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=!1!==t.includeAllPostTags,o=new Set([n.id]),a&&r.forEach(function(e){(Array.isArray(e.data.hashtagIdList)?e.data.hashtagIdList:[]).forEach(function(e){return o.add(e)})}),i=new Map,u=0,c=Array.from(o);case 5:if(!(u<c.length)){e.next=25;break}if((s=c[u])!==n.id){e.next=11;break}e.t0=n,e.next=14;break;case 11:return e.next=13,X(t.sourceCollectionPath,s);case 13:e.t0=e.sent;case 14:if(null!=(l=e.t0)&&l.value){e.next=17;break}return e.abrupt("continue",22);case 17:return d=s===n.id&&t.targetTagValue?t.targetTagValue:l.value,e.next=20,q(t.targetCollectionPath,d,!!t.dryRun);case 20:p=e.sent,i.set(s,p.id);case 22:u++,e.next=5;break;case 25:return e.abrupt("return",i);case 26:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ne(e,t){return re.apply(this,arguments)}function re(){return re=m(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n<=0)){e.next=2;break}return e.abrupt("return",[]);case 2:return r=j.collection("_meta").doc(t),e.abrupt("return",j.runTransaction(function(){var e=m(regeneratorRuntime.mark(function e(t){var a,o,i,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.get(r);case 2:return o=e.sent,i=o.exists&&(null===(a=o.data())||void 0===a?void 0:a.lastNumberId)||0,u=Array.from({length:n},function(e,t){return i+t+1}),t.set(r,{lastNumberId:i+n},{merge:!0}),e.abrupt("return",u);case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 4:case"end":return e.stop()}},e)})),re.apply(this,arguments)}function ae(e){return oe.apply(this,arguments)}function oe(){return(oe=m(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=regeneratorRuntime.mark(function e(n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=j.batch(),t.slice(n,n+450).forEach(function(e){return e(r)}),e.next=4,r.commit();case 4:case"end":return e.stop()}},e)}),r=0;case 2:if(!(r<t.length)){e.next=7;break}return e.delegateYield(n(r),"t0",4);case 4:r+=450,e.next=2;break;case 7:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ie(e,t){return ue.apply(this,arguments)}function ue(){return(ue=m(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.collection("".concat(t,"Comment")).where("boardId","==",n).get();case 2:return r=e.sent,e.abrupt("return",r.docs.map(function(e){return{id:e.id,data:e.data()}}).sort(function(e,t){return Y(e.data.createdAt)-Y(t.data.createdAt)}));case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ce(e,t,n){return(Array.isArray(e)?e:[t]).map(function(e){return n.get(e)}).filter(function(e){return!!e})}function se(e,t,n){return le.apply(this,arguments)}function le(){return(le=m(regeneratorRuntime.mark(function e(t,n,r){var a,o,i,u,c,l,d,f,h,m,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ee(t,n,r);case 2:a=e.sent,o=[],i=[],u=j.collection(t.targetCollectionPath),c=s(r),e.prev=7,c.s();case 9:if((l=c.n()).done){e.next=17;break}return d=l.value,e.next=13,u.doc(d.id).get();case 13:e.sent.exists&&!t.overwriteExisting?o.push({postId:d.id,status:"skipped",commentCopiedCount:0,commentSkippedCount:0,reason:"target post already exists"}):i.push(d);case 15:e.next=9;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(7),c.e(e.t0);case 22:return e.prev=22,c.f(),e.finish(22);case 25:if(!t.preserveNumberId&&!t.dryRun){e.next=29;break}e.t1=[],e.next=32;break;case 29:return e.next=31,ne(t.targetCollectionPath,i.length);case 31:e.t1=e.sent;case 32:f=e.t1,h=regeneratorRuntime.mark(function e(){var r,i,c,l,d,h,x,y,b;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=g[m],W(t,"ë³µì¬ ì¤ë¹: ".concat(r.id)),e.next=4,ie(t.sourceCollectionPath,r.id);case 4:i=e.sent,c=0,l=[],d=ce(r.data.hashtagIdList,n.id,a),h=p(p({},r.data),{},{id:r.id,hashtagIdList:d}),t.preserveNumberId||(h.numberId=f.shift()),l.push(function(e){e.set(u.doc(r.id),h)}),d.forEach(function(e){l.push(function(n){n.set(j.collection("".concat(t.targetCollectionPath,"Hashtag")).doc(e),{docIdList:H.arrayUnion(r.id)},{merge:!0})})}),x=s(i),e.prev=13,b=regeneratorRuntime.mark(function e(){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=y.value,a=j.collection("".concat(t.targetCollectionPath,"Comment")).doc(n.id),e.next=4,a.get();case 4:if(!e.sent.exists||t.overwriteExisting){e.next=8;break}return c+=1,e.abrupt("return","continue");case 8:l.push(function(e){e.set(a,p(p({},n.data),{},{id:n.id,boardId:r.id}))});case 9:case"end":return e.stop()}},e)}),x.s();case 16:if((y=x.n()).done){e.next=23;break}return e.delegateYield(b(),"t0",18);case 18:if("continue"!==e.t0){e.next=21;break}return e.abrupt("continue",21);case 21:e.next=16;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),x.e(e.t1);case 28:return e.prev=28,x.f(),e.finish(28);case 31:if(t.dryRun){e.next=34;break}return e.next=34,ae(l);case 34:o.push({postId:r.id,status:"copied",commentCopiedCount:i.length-c,commentSkippedCount:c});case 35:case"end":return e.stop()}},e,null,[[13,25,28,31]])}),m=0,g=i;case 35:if(!(m<g.length)){e.next=40;break}return e.delegateYield(h(),"t2",37);case 37:m++,e.next=35;break;case 40:return e.abrupt("return",o);case 41:case"end":return e.stop()}},e,null,[[7,19,22,25]])}))).apply(this,arguments)}function de(e,t){return pe.apply(this,arguments)}function pe(){return(pe=m(regeneratorRuntime.mark(function e(t,n){var r,a,o,i,u,c,l,d,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=[],a=s(n),e.prev=2,a.s();case 4:if((o=a.n()).done){e.next=20;break}return i=o.value,e.next=8,j.collection(t.targetCollectionPath).doc(i.id).get();case 8:return u=e.sent,e.next=11,ie(t.sourceCollectionPath,i.id);case 11:return c=e.sent,e.next=14,ie(t.targetCollectionPath,i.id);case 14:l=e.sent,d=[],u.exists?((p=u.data()||{}).authorUid!==i.data.authorUid&&d.push("authorUid mismatch"),Y(p.createdAt)!==Y(i.data.createdAt)&&d.push("createdAt mismatch"),c.length!==l.length&&d.push("comment count mismatch"),Array.isArray(p.hashtagIdList)&&0!==p.hashtagIdList.length||d.push("target hashtagIdList empty")):d.push("target post missing"),r.push({postId:i.id,existsInTarget:u.exists,sourceCommentCount:c.length,targetCommentCount:l.length,mismatches:d});case 18:e.next=4;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(2),a.e(e.t0);case 25:return e.prev=25,a.f(),e.finish(25);case 28:return e.abrupt("return",r);case 29:case"end":return e.stop()}},e,null,[[2,22,25,28]])}))).apply(this,arguments)}function fe(e,t){return he.apply(this,arguments)}
1function he(){return(he=m(regeneratorRuntime.mark(function e(t,n){var r,a,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=[],a=s(n),e.prev=2,i=regeneratorRuntime.mark(function e(){var n,a,i,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.value,W(t,"ì본 ìì ì¤ë¹: ".concat(n.id)),e.next=4,ie(t.sourceCollectionPath,n.id);case 4:if(a=e.sent,i=[],u=Array.isArray(n.data.hashtagIdList)?n.data.hashtagIdList:[],a.forEach(function(e){i.push(function(n){n.delete(j.collection("".concat(t.sourceCollectionPath,"Comment")).doc(e.id))})}),u.forEach(function(e){i.push(function(r){r.set(j.collection("".concat(t.sourceCollectionPath,"Hashtag")).doc(e),{docIdList:H.arrayRemove(n.id)},{merge:!0})})}),i.push(function(e){e.delete(j.collection(t.sourceCollectionPath).doc(n.id))}),t.dryRun){e.next=13;break}return e.next=13,ae(i);case 13:r.push({postId:n.id,deletedCommentCount:a.length});case 14:case"end":return e.stop()}},e)}),a.s();case 5:if((o=a.n()).done){e.next=9;break}return e.delegateYield(i(),"t0",7);case 7:e.next=5;break;case 9:e.next=14;break;case 11:e.prev=11,e.t1=e.catch(2),a.e(e.t1);case 14:return e.prev=14,a.f(),e.finish(14);case 17:return e.abrupt("return",r);case 18:case"end":return e.stop()}},e,null,[[2,11,14,17]])}))).apply(this,arguments)}function me(e){return ge.apply(this,arguments)}function ge(){return(ge=m(regeneratorRuntime.mark(function e(t){var n,r,a,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return _(t),K(t),W(t,"ì본 íê·¸ íì¸ ì¤"),e.next=5,z(t);case 5:return n=e.sent,e.next=8,Q(t,n.id);case 8:if(r=e.sent,W(t,"ëì ê²ìê¸ ".concat(r.length,"ê±´ íì¸")),"copy"!==t.action){e.next=15;break}return e.next=13,se(t,n,r);case 13:return a=e.sent,e.abrupt("return",{action:t.action,dryRun:!!t.dryRun,sourceTag:n,sourcePostCount:r.length,copiedCount:a.filter(function(e){return"copied"===e.status}).length,skippedCount:a.filter(function(e){return"skipped"===e.status}).length,results:a});case 15:if("verify"!==t.action){e.next=20;break}return e.next=18,de(t,r);case 18:return o=e.sent,e.abrupt("return",{action:t.action,dryRun:!!t.dryRun,sourceTag:n,sourcePostCount:r.length,passedCount:o.filter(function(e){return 0===e.mismatches.length}).length,failedCount:o.filter(function(e){return e.mismatches.length>0}).length,results:o});case 20:return e.next=22,fe(t,r);case 22:return i=e.sent,e.abrupt("return",{action:t.action,dryRun:!!t.dryRun,sourceTag:n,sourcePostCount:r.length,deletedCount:i.length,results:i});case 24:case"end":return e.stop()}},e)}))).apply(this,arguments)}function xe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ye(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,a)}function be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw a}}return o}}(e,t)||ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ve(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var we=o.l.boardSet.filter(function(e){return e.typeName===i.Ef.TIMELINE&&/^timeline\d*$/.test(e.path)}),Te=a.Ay.div(g||(g=xe(["\n max-width: 960px;\n margin: 0 auto;\n padding: 24px 16px 48px;\n color: var(--textColor);\n"]))),Re=(a.Ay.div(x||(x=xe(["\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 12px;\n margin-bottom: 16px;\n"]))),a.Ay.h1(y||(y=xe(["\n margin: 0;\n font-size: 20px;\n font-weight: 700;\n"])))),Ae=(a.Ay.span(b||(b=xe(["\n font-size: 12px;\n color: var(--subTextColor);\n"]))),a.Ay.div(v||(v=xe(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 16px;\n border: 1px solid var(--lineColor);\n border-radius: 8px;
1\n background: var(--cardBackgroundColor);\n"]))),a.Ay.div(E||(E=xe(["\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px;\n\n @media (max-width: 720px) {\n grid-template-columns: 1fr;\n }\n"]))),a.Ay.label(w||(w=xe(["\n display: flex;\n flex-direction: column;\n gap: 6px;\n"]))),a.Ay.span(T||(T=xe(["\n font-size: 12px;\n font-weight: 600;\n color: var(--subTextColor);\n"]))),a.Ay.input(R||(R=xe(["\n width: 100%;\n min-height: 36px;\n padding: 0 10px;\n border: 1px solid var(--lineColor);\n border-radius: 6px;\n background: var(--backgroundColor);\n color: var(--textColor);\n"]))),a.Ay.select(A||(A=xe(["\n width: 100%;\n min-height: 36px;\n padding: 0 10px;\n border: 1px solid var(--lineColor);\n border-radius: 6px;\n background: var(--backgroundColor);\n color: var(--textColor);\n"]))),a.Ay.div(C||(C=xe(["\n display: flex;\n flex-wrap: wrap;\n gap: 10px 16px;\n"]))),a.Ay.label(I||(I=xe(["\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-size: 13px;\n"]))),a.Ay.div(O||(O=xe(["\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n"]))),a.Ay.button(k||(k=xe(["\n min-height: 36px;\n padding: 0 14px;\n border: 1px solid var(--primaryColor);\n border-radius: 6px;\n background: var(--primaryColor);\n color: #fff;\n cursor: pointer;\n\n &:disabled {\n opacity: 0.55;\n cursor: default;\n }\n"])))),Ce=((0,a.Ay)(Ae)(P||(P=xe(["\n border-color: #b00020;\n background: #b00020;\n"]))),a.Ay.div(S||(S=xe(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 12px;\n margin-top: 12px;\n\n @media (max-width: 900px) {\n grid-template-columns: 1fr;\n }\n"]))),a.Ay.div(L||(L=xe(["\n min-width: 0;\n"]))),a.Ay.h2(N||(N=xe(["\n margin: 0 0 8px;\n font-size: 13px;\n font-weight: 700;\n"]))),a.Ay.pre(M||(M=xe(["\n min-height: 160px;\n max-height: 420px;\n overflow: auto;\n padding: 12px;\n border-radius: 6px;\n background: #1f2328;\n color: #d0d7de;\n font-size: 12px;\n line-height: 1.5;\n white-space: pre-wrap;\n word-break: break-word;\n"]))),a.Ay.div(G||(G=xe(["\n margin-top: 12px;\n padding: 12px;\n border-radius: 6px;\n background: #fff1f1;\n color: #b00020;\n font-size: 13px;\n"]))),a.Ay.p(D||(D=xe(["\n color: #b00020;\n"])))),Ie=function(){var e,t,n=(null===(e=we[0])||void 0===e?void 0:e.path)||"timeline",a=(null===(t=we[1])||void 0===t?void 0:t.path)||"timeline2",o=be((0,r.useState)(n),2),i=o[0],u=(o[1],be((0,r.useState)(a),2)),c=u[0],s=(u[1],be((0,r.useState)(""),2)),l=s[0],d=(s[1],be((0,r.useState)(""),2)),p=d[0],f=(d[1],be((0,r.useState)(""),2)),h=f[0],m=(f[1],be((0,r.useState)(""),2)),g=m[0],x=(m[1],be((0,r.useState)(!0),2)),y=x[0],b=(x[1],be((0,r.useState)(!1),2)),v=b[0],E=(b[1],be((0,r.useState)(!1),2)),w=E[0],T=(E[1],be((0,r.useState)(!0),2)),R=T[0],A=(T[1],be((0,r.useState)(""),2)),C=A[0],I=(A[1],be((0,r.useState)(null),2)),O=(I[0],I[1]),k=be((0,r.useState)([]),2),P=(k[0],k[1]),S=be((0,r.useState)(null),2),L=(S[0],S[1]),N=be((0,r.useState)(""),2),M=(N[0],N[1]),G=((0,r.useMemo)(function(){return we.length>0?we:[{path:"timeline",label:"timeline"},{path:"timeline2",label:"timeline2"}]},[]),(0,r.useCallback)(function(e){P(function(t){return[].concat(function(e){if(Array.isArray(e))return Ee(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||ve(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["".concat((new Date).toLocaleTimeString()," ").concat(e)]);var n})},[]));return(0,r.useCallback)(function(){var e,t=(e=regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(""),L(null),P([]),O(t),e.prev=4,e.next=7,me({action:t,sourceCollectionPath:i,targetCollectionPath:c,sourceTagId:p.trim()||void 0,sourceTagValue:l.trim()||void 0,targetTagValue:h.trim()||void 0,dryRun:"verify"===t||R,limit:g.trim()?Number(g):void 0,preserveNumberId:v,overwriteExisting:w,includeAllPostTags:y,confirmationText:C.trim(),onProgress:G});case 7:n=e.sent,L(n),G("ìë£"),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(4),M((null===e.t0||void 0===e.t0?void 0:e.t0.message)||String(e.t0)),G("ì¤ë¥ ë°ì");case 16:return e.prev=16,O(null),e.finish(16);case 19:case"end":return e.stop()}},e,null,[[4,12,16,19]])}),function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ye(o,r,a,i,u,"next",e)}function u(e){ye(o,r,a,i,u,"throw",e)}i(void 0)})});return function(e){return t.apply(this,arguments)}}(),[G,C,R,y,g,w,v,i,p,l,c,h]),r.createElement(Te,null,r.createElement(Re,null,"íìë¼ì¸ íê·¸ ê²ìê¸ ì´ë"),r.createElement(Ce,null,"íë¡ëì íê²½ììë ë¹íì±íëì´ ììµëë¤."))}}}]); 2//# sourceMappingURL=2792.bccf1f29.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.