PageSourceSearch

https://udn.com/static/js/udn-feature.bundle.js?tsb=1789960739698

js udn.com collected 2026-09-24 07:37:04 UTC 22,344 bytes, 2 lines download raw bytes

1/*! For license information please see udn-feature.bundle.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[379],{2471:function(t,e,r){"use strict";r.r(e);var n=r(5285),i=r.n(n),a=r(8856),o=r(9776),u=r(3503),s=(r(9966),r(5015)),c=r(1315),f=r(2092),l=r(9008);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e,r){var n;return n=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==h(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}(t)||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.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a=e&&e.prototype instanceof b?e:b,o=Object.create(a.prototype),u=new I(n||[]);return i(o,"_invoke",{value:M(t,r,u)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",y="executing",v="completed",m={};function b(){}function w(){}function $(){}var x={};c(x,o,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,o)&&(x=O);var _=$.prototype=b.prototype=Object.create(x);function D(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,o,u){var s=l(t[i],t,a);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==h(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,o,u)}),(function(t){r("throw",t,o,u)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function M(e,r,n){var i=p;return function(a,o){if(i===y)throw Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var u=n.delegate;if(u){var s=L(u,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===p)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=y;var c=l(e,r,n);if("normal"===c.type){if(i=n.done?v:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function L(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 4,433 bytes, line 2
2(r.method="return",r.arg=t,L(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=l(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(h(e)+" is not iterable")}return w.prototype=$,i(_,"constructor",{value:$,configurable:!0}),i($,"constructor",{value:w,configurable:!0}),w.displayName=c($,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,$):(t.__proto__=$,c(t,s,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},D(k.prototype),c(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new k(f(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},D(_),c(_,s,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return u.type="throw",u.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;j(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function b(t,e,r,n,i,a,o){try{var u=t[a](o),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,i)}function w(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,i){var a=t.apply(e,r);function o(t){b(a,n,i,o,u,"next",t)}function u(t){b(a,n,i,o,u,"throw",t)}o(void 0)}))}}var $,x,S,O,_=document.querySelector(".feature-guess"),D=document.getElementById("featureRefresh"),k=document.querySelectorAll(".feature-guess__list"),M=k.length,L=s.RECOMMENDATION_LISTS_TOTAL/M,E=0,j=!1;if(_&&"IntersectionObserver"in window){var I=new IntersectionObserver(function(){var t=w(g().mark((function t(e,r){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e[0].isIntersecting){t.next=5;break}if(!j){t.next=3;break}return t.abrupt("return");case 3:T(),I.disconnect();case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}());I.observe(_)}function T(){return A.apply(this,arguments)}function A(){return(A=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!j){t.next=2;break}return t.abrupt("return");case 2:if(!_.classList.contains("feature-guess--index")){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,r.e(518).then(r.t.bind(r,1967,23));case 6:return e=t.sent,O=e.default,t.next=10,U();case 10:J(),j=!0,v(document.querySelectorAll(".btn-setting:not(.btn-setting--ajax)")).forEach((function(t){t.addEventListener("click",f.$)}));case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function N(){try{var t=JSON.parse(localStorage.getItem("UDN_FID"));return t&&t.FFID}catch(t){return null}}function P(){return C.apply(this,arguments)}function C(){return(C=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.$5.getter("name","art_id"),t.next=3,(0,u.pl)(c.t.dddRecommendation,{ga_id:(0,o.X0)(),ff_id:N(),udn_member:(0,l.o4)(),num_recs:s.RECOMMENDATION_LISTS_TOTAL,pid:e||"index"});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function F(){return Y.apply(this,arguments)}function Y(){return(Y=w(g().mark((function t(){var e;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return localStorage.removeItem(s.STORAGE_DDD),t.prev=2,t.next=5,P();case 5:return(e=t.sent).pid||(e.rule="default-errors"),localStorage.setItem(s.STORAGE_DDD,O.stringify(d(d({},e),{},{timestamp:i()().valueOf()}))),t.abrupt("return",e);case 11:return t.prev=11,t.t0=t.catch(2),t.abrupt("return",{rule:"default-errors"});case 14:case"end":return t.stop()}}),t,null,[[2,11]])})))).apply(this,arguments)}function H(){return G.apply(this,arguments)}function G(){return(G=w(g().mark((function t(){var e,r,n,a;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=localStorage.getItem(s.STORAGE_DDD))){t.next=12;break}if(r=i()(),n=O.parse(e),!(r.diff(i()(n.timestamp),"minute")>s.RECOMMENDATION_LIFESPAN_IN_MINUTE)){t.next=9;break}return t.next=8,F();case 8:return t.abrupt("return",t.sent);case 9:return t.abrupt("return",n);case 12:return t.next=14,F();case 14:return a=t.sent,t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function R(){return q.apply(this,arguments)}function q(){return q=w(g().mark((function t(){var e,r,n,i,a;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,H();case 2:return e=t.sent,r=e.pid,n=e.rule,i=e.rec_source,a=void 0===i?"":i,t.abrupt("return",{pid:r,rule:n,rec_source:a});case 8:case"end":return t.stop()}}),t)}))),q.apply(this,arguments)}function U(){return W.apply(this,arguments)}function W(){return(W=w(g().mark((function t(){var e,r,n,i;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,R();case 2:e=t.sent,r=e.pid,n=e.rule,i=e.rec_source,s.SHUFFLE_ALGORITHM&&(r=void 0!==r?(0,o.R3)(r):[]),S=n,x=i,$=void 0!==r?r.reduce((function(t,e,r){var n=Math.floor(r/M);return t[n]||(t[n]=[]),t[n].push(e),t}),[]):[];case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function J(){return z.apply(this,arguments)}function z(){return(z=w(g().mark((function t(){var e,r,n,i,s,f,l,h;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(E>=L)){t.next=2;break}return t.abrupt("return");case 2:if($){t.next=4;break}return t.abrupt("return");case 4:if(e={channelId:o.$5.getter("name","channel_id")},!$.length){t.next=15;break}if(2!==M){t.next=14;break}return t.next=9,R();case 9:r=t.sent,n=r.pid,e.pid=(0,o.se)(n,M).toString(),t.next=15;break;case 14:e.pid=$[E].toString();case 15:return t.prev=16,t.next=19,(0,u.J4)(c.t.feature,d({},e),{retryOn:[503,504]});case 19:if(i=t.sent,s=i.lists,f=i.state,i.message,f){t.next=26;break}return t.abrupt("return");
2case 26:if(v(k).forEach((function(t,e){for(var r=t.classList.contains("rounded-thumb__list"),n=t.querySelector("h3");n.firstChild;)n.firstChild.parentNode.removeChild(n.firstChild);var i=document.querySelector(".main-index")?"_index":document.querySelector(".main-story")?"_story":"";s[e]?(t.style.visibility="visible",(0,a.CC)({urlPrefix:i,list:s[e],feat:t,isIndex:r,json5:O,source:x})):t.style.visibility="hidden"})),l=(0,o.es)(),h=s.map((function(t){return t.articleId})),t.t0=u.pl,t.t1=c.t.dddImpression,t.t2=(0,o.X0)(),t.t3=N(),t.t4=h,t.t5=(new Date).getTime(),t.t6=o.$5.getter("property","og:url"),t.t7="".concat(l.width,"x").concat(l.height),!S){t.next=41;break}t.t8=S,t.next=44;break;case 41:return t.next=43,H();case 43:t.t8=t.sent.rule;case 44:t.t9=t.t8,t.t10={ga_id:t.t2,ff_id:t.t3,pid:t.t4,timestamp:t.t5,url:t.t6,screen_size:t.t7,rule:t.t9},(0,t.t0)(t.t1,t.t10),(E+=1)>=L&&(D.style.display="none"),t.next=54;break;case 51:t.prev=51,t.t11=t.catch(16);case 54:case"end":return t.stop()}}),t,null,[[16,51]])})))).apply(this,arguments)}document.querySelector(".main-mynews--feature")&&(j||T()),D&&D.addEventListener("click",function(){var t=w(g().mark((function t(e){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.classList.add("feature-loading"),t.next=3,J();case 3:_.classList.remove("feature-loading");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}
vendor: 7,367 bytes, line 2
2()),v(k).forEach((function(t){t.querySelector(".story-list__image--holder").addEventListener("click",function(){var t=w(g().mark((function t(e){var r;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.target.closest(".feature-guess__list").dataset.id,(0,f.l)(r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}))},5285:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",u="day",s="week",c="month",f="quarter",l="year",h="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},g={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,c),a=r-i<0,o=e.clone().add(n+(a?-1:1),c);return+(-(n+(r-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:l,w:s,d:u,D:h,h:o,m:a,s:i,ms:n,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=v;var $="$isDayjsObject",x=function(t){return t instanceof D||!(!t||!t[$])},S=function t(e,r,n){var i;if(!e)return b;if("string"==typeof e){var a=e.toLowerCase();w[a]&&(i=a),r&&(w[a]=r,i=a);var o=e.split("-");if(!i&&o.length>1)return t(o[0])}else{var u=e.name;w[u]=e,i=u}return!n&&i&&(b=i),i||!n&&b},O=function(t,e){if(x(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new D(r)},_=g;_.l=S,_.i=x,_.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var D=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[$]=!0}var m=v.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(d);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return _},m.isValid=function(){return!(this.$d.toString()===p)},m.isSame=function(t,e){var r=O(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,r){return _.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,n=!!_.u(e)||e,f=_.p(t),p=function(t,e){var i=_.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?i:i.endOf(u)},d=function(t,e){return _.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},y=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(f){case l:return n?p(1,0):p(31,11);case c:return n?p(1,v):p(0,v+1);case s:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return p(n?m-w:m+(6-w),v);case u:case h:return d(g+"Hours",0);case o:return d(g+"Minutes",1);case a:return d(g+"Seconds",2);case i:return d(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var r,s=_.p(t),f="set"+(this.$u?"UTC":""),p=(r={},r[u]=f+"Date",r[h]=f+"Date",r[c]=f+"Month",r[l]=f+"FullYear",r[o]=f+"Hours",r[a]=f+"Minutes",r[i]=f+"Seconds",r[n]=f+"Milliseconds",r)[s],d=s===u?this.$D+(e-this.$W):e;if(s===c||s===l){var y=this.clone().set(h,1);y.$d[p](d),y.init(),this.$d=y.set(h,Math.min(this.$D,y.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[_.p(t)]()},m.add=function(n,f){var h,p=this;n=Number(n);var d=_.p(f),y=function(t){var e=O(p);return _.w(e.date(e.date()+Math.round(t*n)),p)};if(d===c)return this.set(c,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===u)return y(1);if(d===s)return y(7);var v=(h={},h[a]=e,h[o]=r,h[i]=t,h)[d]||1,m=this.$d.getTime()+n*v;return _.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||p;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),a=this.$H,o=this.$m,u=this.$M,s=r.weekdays,c=r.months,f=r.meridiem,l=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].slice(0,a)},h=function(t){return _.s(a%12||12,t,"0")},d=f||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return _.s(e.$y,4,"0");case"M":return u+1;case"MM":return _.s(u+1,2,"0");case"MMM":return l(r.monthsShort,u,c,3);case"MMMM":return l(c,u);case"D":return e.$D;case"DD":return _.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return l(r.weekdaysMin,e.$W,s,2);case"ddd":return l(r.weekdaysShort,e.$W,s,3);case"dddd":return s[e.$W];case"H":return String(a);case"HH":return _.s(a,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return d(a,o,!0);case"A":return d(a,o,!1);case"m":return String(o);case"mm":return _.s(o,2,"0");case"s":return String(e.$s);case"ss":return _.s(e.$s,2,"0");case"SSS":return _.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,h,p){var d,y=this,v=_.p(h),m=O(n),g=(m.utcOffset()-this.utcOffset())*e,b=this-m,w=function(){return _.m(y,m)};switch(v){case l:d=w()/12;break;case c:d=w();break;case f:d=w()/3;break;case s:d=(b-g)/6048e5;break;case u:d=(b-g)/864e5;break;case o:d=b/r;break;case a:d=b/e;break;case i:d=b/t;break;default:d=b}return p?d:_.a(d)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return w[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return _.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),k=D.prototype;return O.prototype=k,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",u],["$M",c],["$y",l],["$D",h]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,D,O),t.$i=!0),O},O.locale=S,O.isDayjs=x,O.unix=function(t){return O(1e3*t)},O.en=w[b],O.Ls=w,O.p={},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.