1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5010],{4696:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/feed/recent",function(){return n(62451)}])},52837:function(e,t,n){"use strict";var r=n(85893);n(67294);t.Z=function(e){null==e.visible||e.visible;return(0,r.jsx)("div",{className:"wrap-spinner",children:(0,r.jsx)("div",{})})}},28200:function(e,t,n){"use strict";n.d(t,{R:function(){return f}});var r=n(34051),a=n.n(r),u=n(61375),o=n(55087),i=n(5071);function s(e,t,n,r,a,u,o){try{var i=e[u](o),s=i.value}catch(c){return void n(c)}i.done?t(s):Promise.resolve(s).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var u=e.apply(t,n);function o(e){s(u,r,a,o,i,"next",e)}function i(e){s(u,r,a,o,i,"throw",e)}o(void 0)}))}}var f=function(){var e=(0,u.QT)(),t=(0,o.B)(),n=function(){var n=c(a().mark((function n(r){var u;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.post("/v1/push-token",r);case 2:return n.next=4,t.update();case 4:return u=n.sent,i.Z.localStorage.set("pushTokenId",""),(null===u||void 0===u?void 0:u.PUSH_TOKEN_ID)&&i.Z.localStorage.set("pushTokenId",u.PUSH_TOKEN_ID),n.abrupt("return",u);case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),r=function(){var e=c(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=i.Z.localStorage.get("pushTokenId"))){e.next=3;break}return e.abrupt("return",t);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return{initPushToken:n,getPushTokenId:r}}},92030:function(e,t,n){"use strict";n.d(t,{E:function(){return f}});var r=n(5071),a=n(30381),u=n.n(a);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=86400,c=2592e3,f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,a=[{key:"formatDate",value:function(e,t){if(r.Z.isEmpty(e))return"";if(null==t&&(t="-"),r.Z.isString(e)){if(8!=e.length)throw"type error";e=new Date(e.substring(0,4),parseInt(e.substring(4,6))-1,e.substring(6,8))}return e.getFullYear()+t+("0"+(e.getMonth()+1)).slice(-2)+t+("0"+e.getDate()).slice(-2)}},{key:"getDiff",value:function(e,t,n){var r=parseInt(r),a=e,u=(t.getTime()-a.getTime())/1e3;return"Y"==n?Math.floor(u/31104e3):"M"==n?Math.floor(u/c):"W"==n?Math.floor(u/604800):"D"==n?Math.floor(u/s):"H"==n?Math.floor(u/3600):"M"==n?Math.floor(u/60):u}},{key:"getRemainDays",value:function(e,t){return u()(e).diff(u()(t),"days")}}],(n=null)&&o(t.prototype,n),a&&o(t,a),e}();i(f,"getDiffAbbreviationDate",(function(e,t){var n=3600,a=86400,u=(e=parseInt(e),new Date),o=new Date(1e3*e),i=(u.getTime()-o.getTime())/1e3;if(i<n){var s=Math.floor(i/60);return s<=0?"\uc870\uae08\uc804":s+"\ubd84\uc804"}if(i<a)return Math.floor(i/n)+"\uc2dc\uac04\uc804";var c=new Date(u.getFullYear(),u.getMonth(),u.getDate()),l=new Date(o.getFullYear(),o.getMonth(),o.getDate()),p=c.getTime()-l.getTime(),h=Math.floor(p/864e5);return h<7?Math.floor(i/a)+"\uc77c\uc804":h<30?Math.floor(h/7)+"\uc8fc\uc804":r.Z.isEmpty(t)||"1"==t?f.formatDate(o,"-"):"2"==t?h<365?Math.floor(h/30)+"\uac1c\uc6d4\uc804":Math.floor(h/365)+"\ub144\uc804":""})),i(f,"getWeekNumOfMonth",(function(e){var t=5-new Date(e.getFullYear(),e.getMonth(),1).getDay();t<=0&&(t+=7);var n=t-7+3,r=Math.ceil((e.getDate()-n)/7)-1;if(r<0){var a=new Date(e.getFullYear(),e.getMonth(),0);return f.getWeekNumOfMonth(a)}return[["\uccab\uc9f8\uc8fc","\ub458\uc9f8\uc8fc","\uc14b\uc9f8\uc8fc","\ub137\uc9f8\uc8fc","\ub2e4\uc12f\uc9f8\uc8fc"][r],e.getMonth()+1+"\uc6d4"]}))},62451:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(85893),a=n(34051),u=n.n(a),o=n(19845),i=n.n(o),s=n(67294),c=n(68735),f=n.n(c),l=n(40193),p=n(16283),h=n(41554),v=n(61375),g=n(52837),d=n(6191);function m(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 y(e,t,n,r,a,u,o){try{var i=e[u](o),s=i.value}catch(c){return void n(c)}i.done?t(s):Promise.resolve(s).then(r,a)}function b(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||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.")}()}var w=i().bind(f()),M=function(){var e=(0,v.QT)(),t=(0,v.Py)(),n=(0,s.useRef)({pageNum:0,pageSize:20}
1),a=(0,s.useRef)(!1),o=(0,s.useState)([]),i=o[0],c=o[1],f=(0,s.useState)(!0),m=f[0],M=f[1],x=function(){var t,r=(t=u().mark((function t(){var r,o,s;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.current.pageNum++,r={pageNo:n.current.pageNum,pageSize:n.current.pageSize,typeCodes:[p.JZ.FEED],picksTypes:[h.jz.CUSTOM,h.jz.SERIES],displayTypes:[p.aA.NORMAL],recentDays:14},t.next=4,e.get("/v2/communities",r,{isJson:!1});case 4:if(200===(o=t.sent).status){t.next=7;break}return t.abrupt("return");case 7:s=o.result,a.current=s.hasMore,1===n.current.pageNum?c(s.items):c(b(i).concat(b(s.items)));case 10:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,a){var u=t.apply(e,n);function o(e){y(u,r,a,o,i,"next",e)}function i(e){y(u,r,a,o,i,"throw",e)}o(void 0)}))});return function(){return r.apply(this,arguments)}}();return(0,s.useEffect)((function(){t<=0||!a.current||m||x()}),[t]),(0,s.useEffect)((function(){x(),M(!1)}),[]),(0,r.jsxs)("div",{className:w("feed-recent-list-page"),children:[(0,r.jsx)(l.Z,{back:!0}),(0,r.jsx)("div",{style:{paddingTop:"56px"}}),(0,r.jsxs)("div",{className:w("wrap-title"),children:[(0,r.jsx)("h1",{children:"\ucd5c\uc2e0 \uc544\ud2f0\ud074"}),(0,r.jsx)("p",{children:"\ucd5c\uadfc 2\uc8fc \ub3d9\uc548 \uc62c\ub77c\uc628 \uc544\ud2f0\ud074\ub9cc \ubaa8\uc558\uc5b4\uc694"})]}),(0,r.jsx)("div",{style:{height:"12px",width:"100%",background:"#f3f5f7"}}),(0,r.jsx)("div",{className:w("wrap-list"),children:m?(0,r.jsx)(g.Z,{}):i.map((function(e){return(0,r.jsx)(d.Z,{data:e},e.no)}))})]})},x=function(){return(0,r.jsx)(M,{})}}},function(e){e.O(0,[1804,7709,6191,9774,2888,179],(function(){return t=4696,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.