This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/source/plugins/comment/halo-comment.min.js

36 lines
214 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="5a74")})({0:function(e,t){},"00ce":function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(F){u=null}var l=function(){throw new a},c=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(t){return l}}}():l,d=n("5156")(),p=Object.getPrototypeOf||function(e){return e.__proto__},f={},m="undefined"===typeof Uint8Array?r:p(Uint8Array),h={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet},b=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=p(o.prototype))}return h[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n("0f7c"),w=n("a0d3"),v=y.call(Function.call,Array.prototype.concat),D=y.call(Function.apply,Array.prototype.splice),k=y.call(Function.call,String.prototype.replace),x=y.call(Function.call,String.prototype.slice),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,E=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return k(e,C,(function(e,t,n,o){r[r.length]=n?k(o,A,"$1"):t||e})),r},_=function(e,t){var n,r=e;if(w(g,r)&&(n=g[r],r="%"+n[0]+"%"),w(h,r)){var i=h[r];if(i===f&&(i=b(r)),"undefined"===typeof i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var n=E(e),r=n.length>0?n[0]:"",i=_("%"+r+"%",t),s=i.name,l=i.value,c=!1,d=i.alias;d&&(r=d[0],D(n,v([0,1],d)));for(var p=1,f=!0;p<n.length;p+=1){var m=n[p],b=x(m,0,1),g=x(m,-1);if(('"'===b||"'"===b||"`"===b||'"'===g||"'"===g||"`"===g)&&b!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==m&&f||(c=!0),r+="."+m,s="%"+r+"%",w(h,s))l=h[s];else if(null!=l){if(!(m in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&p+1>=n.length){var y=u(l,m);f=!!y,l=f&&"get"in y&&!("originalValue"in y.get)?y.get:l[m]}else f=w(l,m),l=l[m];f&&!c&&(h[s]=l)}}return l}},"00d8":function(e,t){(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?n.push(t.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}};e.exports=n})()},"00f6":function(e,t,n){"use strict";var r=n("5402"),o=n("3336"),i=n("9cec"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=String.prototype.split,c=Array.prototype.push,d=function(e,t){c.apply(e,u(t)?t:[t])},p=Date.prototype.toISOString,f=i["default"],m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},h=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},b={},g=function e(t,n,i,a,s,c,p,f,g,y,w,v,D,k,x){var C=t,A=x,E=0,_=!1;while(void 0!==(A=A.get(b))&&!_){var F=A.get(t);if(E+=1,"undefined"!==typeof F){if(F===E)throw new RangeError("Cyclic object value");_=!0}"undefined"===typeof A.get(b)&&(E=0)}if("function"===typeof p?C=p(n,C):C instanceof Date?C=y(C):"comma"===i&&u(C)&&(C=o.maybeMap(C,(function(e){return e instanceof Date?y(e):e}))),null===C){if(a)return c&&!D?c(n,m.encoder,k,"key",w):n;C=""}if(h(C)||o.isBuffer(C)){if(c){var S=D?n:c(n,m.encoder,k,"key",w);if("comma"===i&&D){for(var j=l.call(String(C),","),O="",P=0;P<j.length;++P)O+=(0===P?"":",")+v(c(j[P],m.encoder,k,"value",w));return[v(S)+"="+O]}return[v(S)+"="+v(c(C,m.encoder,k,"value",w))]}return[v(n)+"="+v(String(C))]}var B,z=[];if("undefined"===typeof C)return z;if("comma"===i&&u(C))B=[{value:C.length>0?C.join(",")||null:void 0}];else if(u(p))B=p;else{var T=Object.keys(C);B=f?T.sort(f):T}for(var R=0;R<B.length;++R){var N=B[R],$="object"===typeof N&&"undefined"!==typeof N.value?N.value:C[N];if(!s||null!==$){var I=u(C)?"function"===typeof i?i(n,N):n:n+(g?"."+N:"["+N+"]");x.set(t,E);var M=r();M.set(b,x),d(z,e($,I,i,a,s,c,p,f,g,y,w,v,D,k,M))}}return z},y=function(e){if(!e)return m;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i["default"];if("undefined"!==typeof e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=m.filter;return("function"===typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?m.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?m.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:m.encode,encoder:"function"===typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}};e.exports=function(e,t){var n,o,i=e,a=y(t);"function"===typeof a.filter?(o=a.filter,i=o("",i)):u(a.filter)&&(o=a.filter,n=o);var l,c=[];if("object"!==typeof i||null===i)return"";l=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[l];n||(n=Object.keys(i)),a.sort&&n.sort(a.sort);for(var f=r(),m=0;m<n.length;++m){var h=n[m];a.skipNulls&&null===i[h]||d(c,g(i[h],h,p,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,f))}var b=c.join(a.delimiter),w=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}},"01c3":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PostClient=void 0;const o=n("a8c2");class i{constructor(e){this.client=e}list(e){const t=o.buildPath({endpointName:"posts"});return this.client.get(t,Object.assign({},e))}search(e,t){const n=o.buildPath({endpointName:"posts/search"});return this.client.get(n,Object.assign({keyword:e},t))}get(e,t){const n=o.buildPath({endpointName:"posts/"+e});return this.client.get(n,Object.assign({},t))}getBySlug(e,t){const n=o.buildPath({endpointName:"posts/slug"});return this.client.get(n,Object.assign({slug:e},t))}getPrevPostById(e){const t=o.buildPath({endpointName:`posts/${e}/prev`});return this.client.get(t,{})}getNextPostById(e){const t=o.buildPath({endpointName:`posts/${e}/next`});return this.client.get(t,{})}listTopComments(e,t){const n=o.buildPath({endpointName:`posts/${e}/comments/top_view`});return this.client.get(n,Object.assign({},t))}listChildrenComments(e,t,n){const r=o.buildPath({endpointName:`posts/${e}/comments/${t}/children`});return this.client.get(r,{sort:n})}listCommentsAsTree(e,t){const n=o.buildPath({endpointName:`posts/${e}/comments/tree_view`});return this.client.get(n,Object.assign({},t))}listComments(e,t){const n=o.buildPath({endpointName:`posts/${e}/comments/list_view`});return this.client.get(n,Object.assign({},t))}comment(e){const t=o.buildPath({endpointName:"posts/comments"});return this.client.post(t,Object.assign({},e))}like(e){return r(this,void 0,void 0,(function*(){const t=o.buildPath({endpointName:`posts/${e}/likes`});yield this.client.get(t,{})}))}}t.PostClient=i},"044b":function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},"05cc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseInterceptor=t.RequestInterceptor=void 0;const r=n("978d"),o=(0,r.__importDefault)(n("bc3a"));class i{use(e,t){return o.default.interceptors.request.use(e,t)}eject(e){o.default.interceptors.request.eject(e)}}t.RequestInterceptor=i;class a{use(e,t){return o.default.interceptors.response.use(e,t)}eject(e){o.default.interceptors.response.eject(e)}}t.ResponseInterceptor=a},"06d0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiClient=void 0;const r=n("8aa4");class o{constructor(e){this.client=e.buildHttpClient(),this._archive=new r.ArchiveClient(this.client),this._category=new r.CategoryClient(this.client),this._journal=new r.JournalClient(this.client),this._link=new r.LinkClient(this.client),this._menu=new r.MenuClient(this.client),this._option=new r.OptionClient(this.client),this._photo=new r.PhotoClient(this.client),this._post=new r.PostClient(this.client),this._sheet=new r.SheetClient(this.client),this._statistic=new r.StatisticClient(this.client),this._tag=new r.TagClient(this.client),this._theme=new r.ThemeClient(this.client),this._user=new r.UserClient(this.client)}get archive(){return this._archive}get category(){return this._category}get journal(){return this._journal}get link(){return this._link}get menu(){return this._menu}get option(){return this._option}get photo(){return this._photo}get post(){return this._post}get sheet(){return this._sheet}get statistic(){return this._statistic}get tag(){return this._tag}get theme(){return this._theme}get user(){return this._user}}t.ContentApiClient=o},"0a06":function(e,t,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),a=n("5270"),s=n("4a7b"),u=n("848b"),l=u.validators;function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];Array.prototype.unshift.apply(c,n),c=c.concat(i),o=Promise.resolve(e);while(c.length)o=o.then(c.shift(),c.shift());return o}var d=e;while(n.length){var p=n.shift(),f=n.shift();try{d=p(d)}catch(m){f(m);break}}try{o=a(d)}catch(m){return Promise.reject(m)}while(i.length)o=o.then(i.shift(),i.shift());return o},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e54":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(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 t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n(e,t){if(e){if("string"===typeof e)return r(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)?r(e,t):void 0}}function r(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 o(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=n(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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={exports:{}};function a(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function s(e){i.exports.defaults=e}i.exports={defaults:a(),getDefaults:a,changeDefaults:s};var u=/[&<>"']/,l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,d=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},f=function(e){return p[e]};function m(e,t){if(t){if(u.test(e))return e.replace(l,f)}else if(c.test(e))return e.replace(d,f);return e}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function b(e){return e.replace(h,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function y(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(g,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var w=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function D(e,t,n){if(e){var r;try{r=decodeURIComponent(b(n)).replace(w,"").toLowerCase()}catch(o){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!v.test(n)&&(n=E(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(o){return null}return n}var k={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,A=/^([^:]+:\/*[^/]*)[\s\S]*$/;function E(e,t){k[" "+e]||(x.test(e)?k[" "+e]=e+"/":k[" "+e]=j(e,"/",!0)),e=k[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(C,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(A,"$1")+t:e+t}var _={exec:function(){}};function F(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function S(e,t){var n=e.replace(/\|/g,(function(e,t,n){var r=!1,o=t;while(--o>=0&&"\\"===n[o])r=!r;return r?"|":" |"})),r=n.split(/ \|/),o=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;o<r.length;o++)r[o]=r[o].trim().replace(/\\\|/g,"|");return r}function j(e,t,n){var r=e.length;if(0===r)return"";var o=0;while(o<r){var i=e.charAt(r-o-1);if(i!==t||n){if(i===t||!n)break;o++}else o++}return e.substr(0,r-o)}function O(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&(r--,r<0))return o;return-1}function P(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function B(e,t){if(t<1)return"";var n="";while(t>1)1&t&&(n+=e),t>>=1,e+=e;return n+e}var z={escape:m,unescape:b,edit:y,cleanUrl:D,resolveUrl:E,noopTest:_,merge:F,splitCells:S,rtrim:j,findClosingBracket:O,checkSanitizeDeprecation:P,repeatString:B},T=i.exports.defaults,R=z.rtrim,N=z.splitCells,$=z.escape,I=z.findClosingBracket;function M(e,t,n){var r=t.href,o=t.title?$(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:o,text:i}:{type:"image",raw:n,href:r,title:o,text:$(i)}}function U(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var q=function(){function e(e){this.options=e||T}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:R(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=U(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=R(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:N(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,o=n.align.length;for(r=0;r<o;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(o=n.cells.length,r=0;r<o;r++)n.cells[r]=N(n.cells[r],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,o,i,a,s,u,l,c,d=t[0],p=t[2],f=p.length>1,m={type:"list",raw:d,ordered:f,start:f?+p.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),b=!1,g=h.length;o=this.rules.block.listItemStart.exec(h[0]);for(var y=0;y<g;y++){if(n=h[y],d=n,this.options.pedantic||(c=n.match(new RegExp("\\n\\s*\\n {0,"+(o[0].length-1)+"}\\S")),c&&(a=n.length-c.index+h.slice(y+1).join("\n").length,m.raw=m.raw.substring(0,m.raw.length-a),n=n.substring(0,c.index),d=n,g=y+1)),y!==g-1){if(i=this.rules.block.listItemStart.exec(h[y+1]),this.options.pedantic?i[1].length>o[1].length:i[1].length>=o[0].length||i[1].length>3){h.splice(y,2,h[y]+(!this.options.pedantic&&i[1].length<o[0].length&&!h[y].match(/\n$/)?"":"\n")+h[y+1]),y--,g--;continue}(!this.options.pedantic||this.options.smartLists?i[2][i[2].length-1]!==p[p.length-1]:f===(1===i[2].length))&&(a=h.slice(y+1).join("\n").length,m.raw=m.raw.substring(0,m.raw.length-a),y=g-1),o=i}r=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) ?/,""),~n.indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),n=R(n,"\n"),y!==g-1&&(d+="\n"),s=b||/\n\n(?!\s*$)/.test(d),y!==g-1&&(b="\n\n"===d.slice(-2),s||(s=b)),s&&(m.loose=!0),this.options.gfm&&(u=/^\[[ xX]\] /.test(n),l=void 0,u&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:d,task:u,checked:l,loose:s,text:n})}return m}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):$(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var n=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:N(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,o=n.align.length;for(r=0;r<o;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(o=n.cells.length,r=0;r<o;r++)n.cells[r]=N(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:$(t[1])}},t.tag=function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):$(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=R(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var o=I(t[2],"()");if(o>-1){var i=0===t[0].indexOf("!")?5:4,a=i+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var s=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(s=this.options.pedantic&&!/>$/.test(n)?s.slice(1):s.slice(1,-1)),M(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return M(n,r,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){var i,a,s=r[0].length-1,u=s,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0,t=t.slice(-1*e.length+s);while(null!=(r=c.exec(t)))if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],i)if(a=i.length,r[3]||r[4])u+=a;else if(!((r[5]||r[6])&&s%3)||(s+a)%3){if(u-=a,!(u>0))return a=Math.min(a,a+u+l),Math.min(s,a)%2?{type:"em",raw:e.slice(0,s+r.index+a+1),text:e.slice(1,s+r.index+a)}:{type:"strong",raw:e.slice(0,s+r.index+a+1),text:e.slice(2,s+r.index+a-1)}}else l+=a}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return r&&o&&(n=n.substring(1,n.length-1)),n=$(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,r,o=this.rules.inline.autolink.exec(e);if(o)return"@"===o[2]?(n=$(this.options.mangle?t(o[1]):o[1]),r="mailto:"+n):(n=$(o[1]),r=n),{type:"link",raw:o[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,o;if("@"===n[2])r=$(this.options.mangle?t(n[0]):n[0]),o="mailto:"+r;else{var i;do{i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(i!==n[0]);r=$(n[0]),o="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,o=this.rules.inline.text.exec(e);if(o)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):$(o[0]):o[0]:$(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:r}},e}(),L=z.noopTest,H=z.edit,V=z.merge,W={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:L,table:L,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};W.def=H(W.def).replace("label",W._label).replace("title",W._title).getRegex(),W.bullet=/(?:[*+-]|\d{1,9}[.)])/,W.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,W.item=H(W.item,"gm").replace(/bull/g,W.bullet).getRegex(),W.listItemStart=H(/^( *)(bull) */).replace("bull",W.bullet).getRegex(),W.list=H(W.list).replace(/bull/g,W.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+W.def.source+")").getRegex(),W._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,W.html=H(W.html,"i").replace("comment",W._comment).replace("tag",W._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),W.paragraph=H(W._paragraph).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.blockquote=H(W.blockquote).replace("paragraph",W.paragraph).getRegex(),W.normal=V({},W),W.gfm=V({},W.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),W.gfm.nptable=H(W.gfm.nptable).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.gfm.table=H(W.gfm.table).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.pedantic=V({},W.normal,{html:H("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:L,paragraph:H(W.normal._paragraph).replace("hr",W.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",W.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Y={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:L,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:L,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};Y.punctuation=H(Y.punctuation).replace(/punctuation/g,Y._punctuation).getRegex(),Y.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Y.escapedEmSt=/\\\*|\\_/g,Y._comment=H(W._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Y.emStrong.lDelim=H(Y.emStrong.lDelim).replace(/punct/g,Y._punctuation).getRegex(),Y.emStrong.rDelimAst=H(Y.emStrong.rDelimAst,"g").replace(/punct/g,Y._punctuation).getRegex(),Y.emStrong.rDelimUnd=H(Y.emStrong.rDelimUnd,"g").replace(/punct/g,Y._punctuation).getRegex(),Y._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Y._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Y._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Y.autolink=H(Y.autolink).replace("scheme",Y._scheme).replace("email",Y._email).getRegex(),Y._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Y.tag=H(Y.tag).replace("comment",Y._comment).replace("attribute",Y._attribute).getRegex(),Y._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Y._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Y._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Y.link=H(Y.link).replace("label",Y._label).replace("href",Y._href).replace("title",Y._title).getRegex(),Y.reflink=H(Y.reflink).replace("label",Y._label).getRegex(),Y.reflinkSearch=H(Y.reflinkSearch,"g").replace("reflink",Y.reflink).replace("nolink",Y.nolink).getRegex(),Y.normal=V({},Y),Y.pedantic=V({},Y.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:H(/^!?\[(label)\]\((.*?)\)/).replace("label",Y._label).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y._label).getRegex()}),Y.gfm=V({},Y.normal,{escape:H(Y.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Y.gfm.url=H(Y.gfm.url,"i").replace("email",Y.gfm._extended_email).getRegex(),Y.breaks=V({},Y.gfm,{br:H(Y.br).replace("{2,}","*").getRegex(),text:H(Y.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Z={block:W,inline:Y},G=q,J=i.exports.defaults,X=Z.block,K=Z.inline,Q=z.repeatString;function ee(e){return e.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function te(e){var t,n,r="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var ne=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||J,this.options.tokenizer=this.options.tokenizer||new G,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:X.normal,inline:K.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=K.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=K.breaks:t.inline=K.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.lexInline=function(t,n){var r=new e(n);return r.inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,o,i,a,s,u,l=this;void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(r=n.call(l,e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),a=t[t.length-1],a&&"paragraph"===a.type?(a.raw+="\n"+r.raw,a.text+="\n"+r.text):t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),i=r.items.length,o=0;o<i;o++)r.items[o].tokens=this.blockTokens(r.items[o].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(s=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),r=void 0;l.options.extensions.startBlock.forEach((function(e){r=e.call(this,n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),n&&(r=this.tokenizer.paragraph(s)))a=t[t.length-1],u&&"paragraph"===a.type?(a.raw+="\n"+r.raw,a.text+="\n"+r.text):t.push(r),u=s.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),a=t[t.length-1],a&&"text"===a.type?(a.raw+="\n"+r.raw,a.text+="\n"+r.text):t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}return t},n.inline=function(e){var t,n,r,o,i,a,s=e.length;for(t=0;t<s;t++)switch(a=e[t],a.type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},o=a.header.length,n=0;n<o;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(o=a.cells.length,n=0;n<o;n++)for(i=a.cells[n],a.tokens.cells[n]=[],r=0;r<i.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(i[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(o=a.items.length,n=0;n<o;n++)this.inline(a.items[n].tokens);break}return e},n.inlineTokens=function(e,t,n,r){var o,i,a,s=this;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1);var u,l,c,d=e;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)while(null!=(u=this.tokenizer.rules.inline.reflinkSearch.exec(d)))p.includes(u[0].slice(u[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,u.index)+"["+Q("a",u[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(u=this.tokenizer.rules.inline.blockSkip.exec(d)))d=d.slice(0,u.index)+"["+Q("a",u[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(u=this.tokenizer.rules.inline.escapedEmSt.exec(d)))d=d.slice(0,u.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(o=n.call(s,e,t))&&(e=e.substring(o.raw.length),t.push(o),!0)}))))if(o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,n,r))e=e.substring(o.raw.length),n=o.inLink,r=o.inRawBlock,i=t[t.length-1],i&&"text"===o.type&&"text"===i.type?(i.raw+=o.raw,i.text+=o.text):t.push(o);else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,r)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(o.raw.length),i=t[t.length-1],"link"===o.type?(o.tokens=this.inlineTokens(o.text,[],!0,r),t.push(o)):i&&"text"===o.type&&"text"===i.type?(i.raw+=o.raw,i.text+=o.text):t.push(o);else if(o=this.tokenizer.emStrong(e,d,c))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.autolink(e,te))e=e.substring(o.raw.length),t.push(o);else if(n||!(o=this.tokenizer.url(e,te))){if(a=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),r=void 0;s.options.extensions.startInline.forEach((function(e){r=e.call(this,n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),o=this.tokenizer.inlineText(a,r,ee))e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),l=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=o.raw,i.text+=o.text):t.push(o);else if(e){var f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}throw new Error(f)}}else e=e.substring(o.raw.length),t.push(o);return t},t(e,null,[{key:"rules",get:function(){return{block:X,inline:K}}}]),e}(),re=i.exports.defaults,oe=z.cleanUrl,ie=z.escape,ae=function(){function e(e){this.options=e||re}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,r);null!=o&&o!==e&&(n=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+ie(r,!0)+'">'+(n?e:ie(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:ie(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var r=t?"ol":"ul",o=t&&1!==n?' start="'+n+'"':"";return"<"+r+o+">\n"+e+"</"+r+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(e=oe(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+ie(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r},t.image=function(e,t,n){if(e=oe(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r},t.text=function(e){return e},e}(),se=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ue=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),le=ae,ce=se,de=ue,pe=i.exports.defaults,fe=z.unescape,me=function(){function e(e){this.options=e||pe,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ce,this.slugger=new de}e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.parseInline=function(t,n){var r=new e(n);return r.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,o,i,a,s,u,l,c,d,p,f,m,h,b,g,y,w,v,D="",k=e.length;for(n=0;n<k;n++)if(d=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(v=this.options.extensions.renderers[d.type].call(this,d),!1!==v||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type)))D+=v||"";else switch(d.type){case"space":continue;case"hr":D+=this.renderer.hr();continue;case"heading":D+=this.renderer.heading(this.parseInline(d.tokens),d.depth,fe(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":D+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(l="",u="",i=d.header.length,r=0;r<i;r++)u+=this.renderer.tablecell(this.parseInline(d.tokens.header[r]),{header:!0,align:d.align[r]});for(l+=this.renderer.tablerow(u),c="",i=d.cells.length,r=0;r<i;r++){for(s=d.tokens.cells[r],u="",a=s.length,o=0;o<a;o++)u+=this.renderer.tablecell(this.parseInline(s[o]),{header:!1,align:d.align[o]});c+=this.renderer.tablerow(u)}D+=this.renderer.table(l,c);continue;case"blockquote":c=this.parse(d.tokens),D+=this.renderer.blockquote(c);continue;case"list":for(p=d.ordered,f=d.start,m=d.loose,i=d.items.length,c="",r=0;r<i;r++)b=d.items[r],g=b.checked,y=b.task,h="",b.task&&(w=this.renderer.checkbox(g),m?b.tokens.length>0&&"text"===b.tokens[0].type?(b.tokens[0].text=w+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&"text"===b.tokens[0].tokens[0].type&&(b.tokens[0].tokens[0].text=w+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:w}):h+=w),h+=this.parse(b.tokens,m),c+=this.renderer.listitem(h,y,g);D+=this.renderer.list(c,p,f);continue;case"html":D+=this.renderer.html(d.text);continue;case"paragraph":D+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":c=d.tokens?this.parseInline(d.tokens):d.text;while(n+1<k&&"text"===e[n+1].type)d=e[++n],c+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);D+=t?this.renderer.paragraph(c):c;continue;default:var x='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}return D},t.parseInline=function(e,t){t=t||this.renderer;var n,r,o,i="",a=e.length;for(n=0;n<a;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(o=this.options.extensions.renderers[r.type].call(this,r),!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))i+=o||"";else switch(r.type){case"escape":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;case"text":i+=t.text(r.text);break;default:var s='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}return i},e}(),he=ne,be=me,ge=q,ye=ae,we=se,ve=ue,De=z.merge,ke=z.checkSanitizeDeprecation,xe=z.escape,Ce=i.exports.getDefaults,Ae=i.exports.changeDefaults,Ee=i.exports.defaults;function _e(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"===typeof t&&(n=t,t=null),t=De({},_e.defaults,t||{}),ke(t),n){var r,o=t.highlight;try{r=he.lex(e,t)}catch(u){return n(u)}var i=function(e){var i;if(!e)try{t.walkTokens&&_e.walkTokens(r,t.walkTokens),i=be.parse(r,t)}catch(u){e=u}return t.highlight=o,e?n(e):n(null,i)};if(!o||o.length<3)return i();if(delete t.highlight,!r.length)return i();var a=0;return _e.walkTokens(r,(function(e){"code"===e.type&&(a++,setTimeout((function(){o(e.text,e.lang,(function(t,n){if(t)return i(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),a--,0===a&&i()}))}),0))})),void(0===a&&i())}try{var s=he.lex(e,t);return t.walkTokens&&_e.walkTokens(s,t.walkTokens),be.parse(s,t)}catch(u){if(u.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+xe(u.message+"",!0)+"</pre>";throw u}}_e.options=_e.setOptions=function(e){return De(_e.defaults,e),Ae(_e.defaults),_e},_e.getDefaults=Ce,_e.defaults=Ee,_e.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o,i=De.apply(void 0,[{}].concat(n)),a=_e.defaults.extensions||{renderers:{},childTokens:{}};n.forEach((function(t){if(t.extensions&&(o=!0,t.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=a.renderers?a.renderers[e.name]:null;a.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=e.renderer.apply(this,r);return!1===i&&(i=t.apply(this,r)),i}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");a[e.level]?a[e.level].unshift(e.tokenizer):a[e.level]=[e.tokenizer],e.start&&("block"===e.level?a.startBlock?a.startBlock.push(e.start):a.startBlock=[e.start]:"inline"===e.level&&(a.startInline?a.startInline.push(e.start):a.startInline=[e.start]))}e.childTokens&&(a.childTokens[e.name]=e.childTokens)}))),t.renderer&&function(){var e=_e.defaults.renderer||new ye,n=function(n){var r=e[n];e[n]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=t.renderer[n].apply(e,i);return!1===s&&(s=r.apply(e,i)),s}};for(var r in t.renderer)n(r);i.renderer=e}(),t.tokenizer&&function(){var e=_e.defaults.tokenizer||new ge,n=function(n){var r=e[n];e[n]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=t.tokenizer[n].apply(e,i);return!1===s&&(s=r.apply(e,i)),s}};for(var r in t.tokenizer)n(r);i.tokenizer=e}(),t.walkTokens){var n=_e.defaults.walkTokens;i.walkTokens=function(r){t.walkTokens.call(e,r),n&&n(r)}}o&&(i.extensions=a),_e.setOptions(i)}))},_e.walkTokens=function(e,t){for(var n,r=function(){var e=n.value;switch(t(e),e.type){case"table":for(var r,i=o(e.tokens.header);!(r=i()).done;){var a=r.value;_e.walkTokens(a,t)}for(var s,u=o(e.tokens.cells);!(s=u()).done;)for(var l,c=s.value,d=o(c);!(l=d()).done;){var p=l.value;_e.walkTokens(p,t)}break;case"list":_e.walkTokens(e.items,t);break;default:_e.defaults.extensions&&_e.defaults.extensions.childTokens&&_e.defaults.extensions.childTokens[e.type]?_e.defaults.extensions.childTokens[e.type].forEach((function(n){_e.walkTokens(e[n],t)})):e.tokens&&_e.walkTokens(e.tokens,t)}},i=o(e);!(n=i()).done;)r()},_e.parseInline=function(e,t){if("undefined"===typeof e||null===e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=De({},_e.defaults,t||{}),ke(t);try{var n=he.lexInline(e,t);return t.walkTokens&&_e.walkTokens(n,t.walkTokens),be.parseInline(n,t)}catch(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+xe(r.message+"",!0)+"</pre>";throw r}},_e.Parser=be,_e.parser=be.parse,_e.Renderer=ye,_e.TextRenderer=we,_e.Lexer=he,_e.lexer=he.lex,_e.Tokenizer=ge,_e.Slugger=ve,_e.parse=_e;var Fe=_e;return Fe}))},"0f7c":function(e,t,n){"use strict";var r=n("688e");e.exports=Function.prototype.bind||r},1121:function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return r})),n.d(t,"VERSION",(function(){return o})),n.d(t,"atob",(function(){return P})),n.d(t,"atobPolyfill",(function(){return O})),n.d(t,"btoa",(function(){return w})),n.d(t,"btoaPolyfill",(function(){return y})),n.d(t,"fromBase64",(function(){return N})),n.d(t,"toBase64",(function(){return E})),n.d(t,"utob",(function(){return C})),n.d(t,"encode",(function(){return E})),n.d(t,"encodeURI",(function(){return _})),n.d(t,"encodeURL",(function(){return _})),n.d(t,"btou",(function(){return j})),n.d(t,"decode",(function(){return N})),n.d(t,"isValid",(function(){return $})),n.d(t,"fromUint8Array",(function(){return D})),n.d(t,"toUint8Array",(function(){return z})),n.d(t,"extendString",(function(){return M})),n.d(t,"extendUint8Array",(function(){return U})),n.d(t,"extendBuiltins",(function(){return q})),n.d(t,"Base64",(function(){return L}));const r="3.7.2",o=r,i="function"===typeof atob,a="function"===typeof btoa,s="function"===typeof Buffer,u="function"===typeof TextDecoder?new TextDecoder:void 0,l="function"===typeof TextEncoder?new TextEncoder:void 0,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=Array.prototype.slice.call(c),p=(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(d),f=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,m=String.fromCharCode.bind(String),h="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(e,t=(e=>e))=>new Uint8Array(Array.prototype.slice.call(e,0).map(t)),b=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),g=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),y=e=>{let t,n,r,o,i="";const a=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},w=a?e=>btoa(e):s?e=>Buffer.from(e,"binary").toString("base64"):y,v=s?e=>Buffer.from(e).toString("base64"):e=>{const t=4096;let n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(m.apply(null,e.subarray(r,r+t)));return w(n.join(""))},D=(e,t=!1)=>t?b(v(e)):v(e),k=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?m(192|t>>>6)+m(128|63&t):m(224|t>>>12&15)+m(128|t>>>6&63)+m(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return m(240|t>>>18&7)+m(128|t>>>12&63)+m(128|t>>>6&63)+m(128|63&t)},x=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,C=e=>e.replace(x,k),A=s?e=>Buffer.from(e,"utf8").toString("base64"):l?e=>v(l.encode(e)):e=>w(C(e)),E=(e,t=!1)=>t?b(A(e)):A(e),_=e=>E(e,!0),F=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return m(55296+(n>>>10))+m(56320+(1023&n));case 3:return m((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return m((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},j=e=>e.replace(F,S),O=e=>{if(e=e.replace(/\s+/g,""),!f.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=p[e.charAt(i++)]<<18|p[e.charAt(i++)]<<12|(n=p[e.charAt(i++)])<<6|(r=p[e.charAt(i++)]),o+=64===n?m(t>>16&255):64===r?m(t>>16&255,t>>8&255):m(t>>16&255,t>>8&255,255&t);return o},P=i?e=>atob(g(e)):s?e=>Buffer.from(e,"base64").toString("binary"):O,B=s?e=>h(Buffer.from(e,"base64")):e=>h(P(e),e=>e.charCodeAt(0)),z=e=>B(R(e)),T=s?e=>Buffer.from(e,"base64").toString("utf8"):u?e=>u.decode(B(e)):e=>j(P(e)),R=e=>g(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),N=e=>T(R(e)),$=e=>{if("string"!==typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},I=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),M=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,I(t));e("fromBase64",(function(){return N(this)})),e("toBase64",(function(e){return E(this,e)})),e("toBase64URI",(function(){return E(this,!0)})),e("toBase64URL",(function(){return E(this,!0)})),e("toUint8Array",(function(){return z(this)}))},U=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,I(t));e("toBase64",(function(e){return D(this,e)})),e("toBase64URI",(function(){return D(this,!0)})),e("toBase64URL",(function(){return D(this,!0)}))},q=()=>{M(),U()},L={version:r,VERSION:o,atob:P,atobPolyfill:O,btoa:w,btoaPolyfill:y,fromBase64:N,toBase64:E,encode:E,encodeURI:_,encodeURL:_,utob:C,btou:j,decode:N,isValid:$,fromUint8Array:D,toUint8Array:z,extendString:M,extendUint8Array:U,extendBuiltins:q}},1696:function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==r||!0!==i.enumerable)return!1}return!0}},"19e9":function(e,t,n){var r,o,i;
/*!
autosize 4.0.4
license: MIT
http://www.jacklmoore.com/autosize
*/(function(n,a){o=[e,t],r=a,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})(0,(function(e,t){"use strict";var n="function"===typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(u){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t=null,o=null,i=null,a=function(){e.clientWidth!==o&&p()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),n.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",p,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:s,update:p}),u()}function u(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),p()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function c(e){var t=[];while(e&&e.parentNode&&e.parentNode instanceof Element)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function d(){if(0!==e.scrollHeight){var n=c(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",o=e.clientWidth,n.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function p(){d();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o<t?"hidden"===n.overflowY&&(l("scroll"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==o){i=o;var a=r("autosize:resized");try{e.dispatchEvent(a)}catch(s){}}}}function i(e){var t=n.get(e);t&&t.destroy()}function a(e){var t=n.get(e);t&&t.update()}var s=null;"undefined"===typeof window||"function"!==typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return o(e,t)})),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e}),t.default=s,e.exports=t["default"]}))},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"207f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArchiveClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}listYearArchives(){const e=r.buildPath({endpointName:"archives/years"});return this.client.get(e,{})}listMonthArchives(){const e=r.buildPath({endpointName:"archives/years"});return this.client.get(e,{})}}t.ArchiveClient=o},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),o=n("c8af"),i=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function u(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}function l(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:u(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw i(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c}).call(this,n("4362"))},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},2714:function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"===typeof u.get?u.get:null,c=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype,p=d?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype,m=f?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype,b=h?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,w=Function.prototype.toString,v=String.prototype.match,D=String.prototype.slice,k=String.prototype.replace,x=String.prototype.toUpperCase,C=String.prototype.toLowerCase,A=RegExp.prototype.test,E=Array.prototype.concat,_=Array.prototype.join,F=Array.prototype.slice,S=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,B="function"===typeof Symbol&&"object"===typeof Symbol.iterator,z="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===B||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,R=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||A.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var o=String(r),i=D.call(t,o.length+1);return k.call(o,n,"$&_")+"."+k.call(k.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return k.call(t,n,"$&_")}var $=n(0).custom,I=$&&G($)?$:null;function M(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function U(e){return k.call(String(e),/"/g,"&quot;")}function q(e){return"[object Array]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function L(e){return"[object Date]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function H(e){return"[object RegExp]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function V(e){return"[object Error]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function W(e){return"[object String]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function Y(e){return"[object Number]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function Z(e){return"[object Boolean]"===Q(e)&&(!z||!("object"===typeof e&&z in e))}function G(e){if(B)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!P)return!1;try{return P.call(e),!0}catch(t){}return!1}function J(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(K(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!K(s,"customInspect")||s.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return ue(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var p=String(t);return d?N(t,p):p}if("bigint"===typeof t){var f=String(t)+"n";return d?N(t,f):f}var m="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=m&&m>0&&"object"===typeof t)return q(t)?"[Array]":"[Object]";var h=me(s,r);if("undefined"===typeof o)o=[];else if(te(o,t)>=0)return"[Circular]";function b(t,n,i){if(n&&(o=F.call(o),o.push(n)),i){var a={depth:s.depth};return K(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"===typeof t){var y=ee(t),w=be(t,b);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(w.length>0?" { "+_.call(w,", ")+" }":"")}if(G(t)){var v=B?k.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(t);return"object"!==typeof t||B?v:ce(v)}if(se(t)){for(var x="<"+C.call(String(t.nodeName)),A=t.attributes||[],S=0;S<A.length;S++)x+=" "+A[S].name+"="+M(U(A[S].value),"double",s);return x+=">",t.childNodes&&t.childNodes.length&&(x+="..."),x+="</"+C.call(String(t.nodeName))+">",x}if(q(t)){if(0===t.length)return"[]";var O=be(t,b);return h&&!fe(O)?"["+he(O,h)+"]":"[ "+_.call(O,", ")+" ]"}if(V(t)){var $=be(t,b);return"cause"in t&&!T.call(t,"cause")?"{ ["+String(t)+"] "+_.call(E.call("[cause]: "+b(t.cause),$),", ")+" }":0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+_.call($,", ")+" }"}if("object"===typeof t&&u){if(I&&"function"===typeof t[I])return t[I]();if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(ne(t)){var X=[];return a.call(t,(function(e,n){X.push(b(n,t,!0)+" => "+b(e,t))})),pe("Map",i.call(t),X,h)}if(ie(t)){var le=[];return c.call(t,(function(e){le.push(b(e,t))})),pe("Set",l.call(t),le,h)}if(re(t))return de("WeakMap");if(ae(t))return de("WeakSet");if(oe(t))return de("WeakRef");if(Y(t))return ce(b(Number(t)));if(J(t))return ce(b(j.call(t)));if(Z(t))return ce(g.call(t));if(W(t))return ce(b(String(t)));if(!L(t)&&!H(t)){var ge=be(t,b),ye=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,we=t instanceof Object?"":"null prototype",ve=!ye&&z&&Object(t)===t&&z in t?D.call(Q(t),8,-1):we?"Object":"",De=ye||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",ke=De+(ve||we?"["+_.call(E.call([],ve||[],we||[]),": ")+"] ":"");return 0===ge.length?ke+"{}":h?ke+"{"+he(ge,h)+"}":ke+"{ "+_.call(ge,", ")+" }"}return String(t)};var X=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return X.call(e,t)}function Q(e){return y.call(e)}function ee(e){if(e.name)return e.name;var t=v.call(w.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function te(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function ne(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{l.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function re(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{m.call(e,m)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function oe(e){if(!b||!e||"object"!==typeof e)return!1;try{return b.call(e),!0}catch(t){}return!1}function ie(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function ae(e){if(!m||!e||"object"!==typeof e)return!1;try{m.call(e,m);try{p.call(e,p)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function se(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function ue(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ue(D.call(e,0,t.maxStringLength),t)+r}var o=k.call(k.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,le);return M(o,"single",t)}function le(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function ce(e){return"Object("+e+")"}function de(e){return e+" { ? }"}function pe(e,t,n,r){var o=r?he(n,r):_.call(n,", ");return e+" ("+t+") {"+o+"}"}function fe(e){for(var t=0;t<e.length;t++)if(te(e[t],"\n")>=0)return!1;return!0}function me(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=_.call(Array(e.indent+1)," ")}return{base:n,prev:_.call(Array(t+1),n)}}function he(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+_.call(e,","+n)+"\n"+t.prev}function be(e,t){var n=q(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=K(e,o)?t(e[o],e):""}var i,a="function"===typeof O?O(e):[];if(B){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)K(e,u)&&(n&&String(Number(u))===u&&u<e.length||B&&i["$"+u]instanceof Symbol||(A.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof O)for(var l=0;l<a.length;l++)T.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},2877:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=u):o&&(u=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},"2af9":function(e,t,n){"use strict";var r=n("8bbf"),o=n.n(r),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"comment-editor",attrs:{role:"form"}},[n("div",{staticClass:"inner"},[n("div",{staticClass:"commentator"},[n("img",{staticClass:"avatar",attrs:{src:e.avatar}})]),n("form",{staticClass:"comment-form"},[n("div",{staticClass:"author-info"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.comment.author,expression:"comment.author"}],attrs:{type:"text",id:"author",tabindex:"1",required:"required","aria-required":"true",placeholder:"* 昵称"},domProps:{value:e.comment.author},on:{input:function(t){t.target.composing||e.$set(e.comment,"author",t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.comment.email,expression:"comment.email"}],attrs:{type:"text",id:"email",tabindex:"2",required:"required","aria-required":"true",placeholder:"* 电子邮件"},domProps:{value:e.comment.email},on:{input:function(t){t.target.composing||e.$set(e.comment,"email",t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.comment.authorUrl,expression:"comment.authorUrl"}],attrs:{type:"text",id:"authorUrl",tabindex:"3",placeholder:"个人站点"},domProps:{value:e.comment.authorUrl},on:{input:function(t){t.target.composing||e.$set(e.comment,"authorUrl",t.target.value)}}})]),e.previewMode?n("div",{staticClass:"comment-preview markdown-body",domProps:{innerHTML:e._s(e.renderedContent)}}):n("div",{staticClass:"comment-textarea"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.comment.content,expression:"comment.content"}],ref:"commentTextarea",attrs:{required:"required","aria-required":"true",tabindex:"4",placeholder:e.options.comment_content_placeholder||"撰写评论..."},domProps:{value:e.comment.content},on:{input:function(t){t.target.composing||e.$set(e.comment,"content",t.target.value)}}})]),n("ul",{staticClass:"comment-buttons"},[e.comment.content?n("li",{staticClass:"middle",staticStyle:{"margin-right":"5px"}},[n("a",{staticClass:"button-preview-edit",attrs:{href:"javascript:void(0)",rel:"nofollow noopener"},on:{click:function(t){e.previewMode=!e.previewMode}}},[e._v(e._s(e.previewMode?"编辑":"预览"))])]):e._e(),n("li",{staticClass:"middle"},[n("a",{staticClass:"button-submit",attrs:{href:"javascript:void(0)",tabindex:"5",rel:"nofollow noopener"},on:{click:e.handleSubmitClick}},[e._v("提交")])])]),n("div",{staticClass:"comment-alert"},[e.infoAlertVisiable?e._l(e.infoes,(function(t,r){return n("div",{key:r,staticClass:"alert info"},[n("span",{staticClass:"closebtn",on:{click:e.clearAlertClose}},[e._v("×")]),n("strong",[e._v(e._s(t))])])})):e._e(),e.successAlertVisiable?e._l(e.successes,(function(t,r){return n("div",{key:r,staticClass:"alert success"},[n("span",{staticClass:"closebtn",on:{click:e.clearAlertClose}},[e._v("×")]),n("strong",[e._v(e._s(t))])])})):e._e(),e.warningAlertVisiable?e._l(e.warnings,(function(t,r){return n("div",{key:r,staticClass:"alert warning"},[n("span",{staticClass:"closebtn",on:{click:e.clearAlertClose}},[e._v("×")]),n("strong",[e._v(e._s(t))])])})):e._e()],2)])])])},a=[];function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=n("0e54"),d=n.n(c),p=n("6821"),f=n.n(p),m=n("ca00"),h=n("9b79"),b=n("19e9"),g=n.n(b),y={name:"CommentEditor",props:{targetId:{type:Number,required:!1,default:0},target:{type:String,required:!1,default:"posts",validator:function(e){return-1!==["posts","sheets","journals"].indexOf(e)}},replyComment:{type:Object,required:!1,default:function(){}},options:{required:!1,default:[]},configs:{type:Object,required:!0}},data:function(){return{comment:{author:null,authorUrl:null,email:null,content:""},previewMode:!1,infoes:[],warnings:[],successes:[]}},computed:{renderedContent:function(){return this.comment.content?d()(this.comment.content):""},avatar:function(){var e=this.options.comment_gravatar_default,t=this.options.gravatar_source||"//cn.gravatar.com/avatar/";if(!this.comment.email||!Object(m["d"])(this.comment.email))return"".concat(t,"?d=").concat(e);var n=f()(this.comment.email);return"".concat(t).concat(n,"?s=256&d=").concat(e)},commentValid:function(){return!Object(m["a"])(this.comment.author)&&!Object(m["a"])(this.comment.email)&&!Object(m["a"])(this.comment.content)},infoAlertVisiable:function(){return null!==this.infoes&&this.infoes.length>0},warningAlertVisiable:function(){return null!==this.warnings&&this.warnings.length>0},successAlertVisiable:function(){return null!==this.successes&&this.successes.length>0}},created:function(){var e=localStorage.getItem("comment-author"),t=localStorage.getItem("comment-authorUrl"),n=localStorage.getItem("comment-email");this.comment.author=e||"",this.comment.authorUrl=t||"",this.comment.email=n||""},mounted:function(){g()(document.querySelector("textarea"))},methods:{handleSubmitClick:function(){var e=this;if(Object(m["a"])(this.comment.author))this.warnings.push("评论者昵称不能为空");else if(Object(m["a"])(this.comment.email))this.warnings.push("邮箱不能为空");else if(Object(m["a"])(this.comment.content))this.warnings.push("评论内容不能为空");else{this.comment.postId=this.targetId,this.replyComment&&(this.comment.parentId=this.replyComment.id);var t=null;switch(this.target){case"posts":t=h["a"].post;break;case"sheets":t=h["a"].sheet;break;case"journals":t=h["a"].journal;break}t.comment(this.comment).then((function(t){localStorage.setItem("comment-author",e.comment.author),localStorage.setItem("comment-email",e.comment.email),localStorage.setItem("comment-authorUrl",e.comment.authorUrl),e.comment.content="",e.handleCommentCreated(t.data)})).catch((function(t){e.handleFailedToCreateComment(t)}))}},handleCommentCreated:function(e){if(this.clearAlertClose(),"PUBLISHED"===e.status)try{this.createdNewNode(e),this.successes.push("评论成功")}catch(t){this.successes.push("评论成功,刷新即可显示最新评论!")}else this.infoes.push("您的评论已经投递至博主,等待博主审核!")},createdNewNode:function(e){var t={targetId:this.targetId,target:this.target,options:this.options,configs:this.configs,comment:e};t=0===e.parentId?t:l(l({},t),{isChild:!0,parent:this.replyComment,depth:this.$parent.selfAddDepth});var r,i=function(){return Promise.resolve().then(n.bind(null,"f9af"))},a=new o.a({render:function(e){return e(i,{props:t})}});if(0===e.parentId){if(this.$root.$el.getElementsByClassName("comment-nodes").length>0)r=this.$root.$el.getElementsByClassName("comment-nodes")[0];else{r=document.createElement("ol"),r.setAttribute("class","comment-nodes");var s=this.$root.$el.getElementsByClassName("comment-empty")[0];s.parentNode.replaceChild(r,s)}r=this.$root.$el.getElementsByClassName("comment-nodes")[0]}else{var u=this.$parent.$el,c=u.getElementsByTagName("ol");c.length>0?r=c[0]:(r=document.createElement("ol"),r.setAttribute("class","children"),u.appendChild(r))}var d=document.createElement("div");r.children[0]?r.insertBefore(d,r.children[0]):r.appendChild(d),a.$mount(d)},handleFailedToCreateComment:function(e){var t=this;if(this.clearAlertClose(),400===e.status&&(this.warnings.push(e.data.message),e.data)){var n=e.data.data;Object(m["b"])(n)&&Object.keys(n).forEach((function(e){t.warnings.push(n[e])}))}},clearAlertClose:function(){this.infoes=[],this.warnings=[],this.successes=[]}}},w=y,v=n("2877"),D=Object(v["a"])(w,i,a,!1,null,null,null,!0),k=D.exports,x=n("f9af"),C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"comment-loader-container"},["default"===e.configs.loadingStyle?n("div",{staticClass:"comment-loader-default"},[n("span"),n("span"),n("span"),n("span")]):"circle"===e.configs.loadingStyle?n("div",{staticClass:"comment-loader-circle"}):"balls"===e.configs.loadingStyle?n("div",{staticClass:"comment-loader-balls"},[n("div"),n("div"),n("div")]):e._e()])},A=[],E={name:"CommentLoading",props:{configs:{type:Object,required:!0}}},_=E,F=Object(v["a"])(_,C,A,!1,null,null,null,!0),S=F.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"page"},[n("li",{staticClass:"page-item",class:{disabled:!e.hasPrev}},[n("button",{staticClass:"prev-button",attrs:{tabindex:"-1"},on:{click:e.handlePrevClick}},[e._v("上一页")])]),null!=e.firstPage?n("li",{staticClass:"page-item",class:{active:e.page===e.firstPage}},[n("button",{class:{active:e.page===e.firstPage},on:{click:function(t){return e.handlePageItemClick(e.firstPage)}}},[e._v(" "+e._s(e.firstPage+1)+" ")])]):e._e(),n("li",{directives:[{name:"show",rawName:"v-show",value:e.hasMorePrev,expression:"hasMorePrev"}],staticClass:"page-item"},[n("span",[e._v("...")])]),e._l(e.middlePages,(function(t){return n("li",{key:t,staticClass:"page-item",class:{active:t===e.page}},[n("button",{class:{active:t===e.page},on:{click:function(n){return e.handlePageItemClick(t)}}},[e._v(" "+e._s(t+1)+" ")])])})),n("li",{directives:[{name:"show",rawName:"v-show",value:e.hasMoreNext,expression:"hasMoreNext"}],staticClass:"page-item"},[n("span",[e._v("...")])]),e.lastPage?n("li",{staticClass:"page-item",class:{active:e.page===e.lastPage}},[n("button",{class:{active:e.page===e.lastPage},on:{click:function(t){return e.handlePageItemClick(e.lastPage)}}},[e._v(" "+e._s(e.lastPage+1)+" ")])]):e._e(),n("li",{staticClass:"page-item",class:{disabled:!e.hasNext}},[n("button",{staticClass:"next-button",on:{click:e.handleNextClick}},[e._v("下一页")])])],2)},O=[],P={name:"Pagination",model:{prop:"page",event:"change"},props:{page:{type:Number,required:!1,default:0},size:{type:Number,required:!1,default:10},total:{type:Number,required:!1,default:0}},data:function(){return{middleSize:3}},computed:{pages:function(){return Math.ceil(this.total/this.size)},hasNext:function(){return this.page<this.pages-1},hasPrev:function(){return this.page>0},firstPage:function(){return 0===this.pages?null:0},hasMorePrev:function(){return!(null===this.firstPage||this.pages<=this.middleSize+2)&&this.page>=2+this.middleSize/2},hasMoreNext:function(){return!(null===this.lastPage||this.pages<=this.middleSize+2)&&this.page<this.lastPage-1-this.middleSize/2},middlePages:function(){if(this.pages<=2)return[];if(this.pages<=2+this.middleSize)return this.range(1,this.lastPage);var e=Math.floor(this.middleSize/2),t=this.page-e,n=this.page+e;return this.page<=this.firstPage+e+1?(t=this.firstPage+1,n=t+this.middleSize-1):this.page>=this.lastPage-e-1&&(n=this.lastPage-1,t=n-this.middleSize+1),this.range(t,n+1)},lastPage:function(){return 0===this.pages||1===this.pages?0:this.pages-1}},methods:{handleNextClick:function(){this.hasNext&&this.$emit("change",this.page+1)},handlePrevClick:function(){this.hasPrev&&this.$emit("change",this.page-1)},handlePageItemClick:function(e){this.$emit("change",e)},range:function(e,t){if(e>=t)return[];for(var n=[],r=e;r<t;r++)n.push(r);return n}}},B=P;function z(e){}var T=Object(v["a"])(B,j,O,!1,z,null,null,!0),R=T.exports,N={CommentEditor:k,CommentNode:x["default"],CommentLoading:S,Pagination:R},$={};Object.keys(N).forEach((function(e){$[e]=o.a.component(e,N[e])}))},"2b80":function(e,t,n){var r;
/*!@license
* UAParser.js v0.7.28
* Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js
*
* Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
* Licensed under MIT License
*/(function(o,i){"use strict";var a="0.7.28",s="",u="?",l="function",c="undefined",d="object",p="string",f="major",m="model",h="name",b="type",g="vendor",y="version",w="architecture",v="console",D="mobile",k="tablet",x="smarttv",C="wearable",A="embedded",E=255,_={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return typeof e===p&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===p?e.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===c?e:e.substring(0,E)}},F={rgx:function(e,t){var n,r,o,a,s,u,c=0;while(c<t.length&&!s){var p=t[c],f=t[c+1];n=r=0;while(n<p.length&&!s)if(s=p[n++].exec(e),s)for(o=0;o<f.length;o++)u=s[++r],a=f[o],typeof a===d&&a.length>0?2==a.length?typeof a[1]==l?this[a[0]]=a[1].call(this,u):this[a[0]]=a[1]:3==a.length?typeof a[1]!==l||a[1].exec&&a[1].test?this[a[0]]=u?u.replace(a[1],a[2]):i:this[a[0]]=u?a[1].call(this,u,a[2]):i:4==a.length&&(this[a[0]]=u?a[3].call(this,u.replace(a[1],a[2])):i):this[a]=u||i;c+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===d&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(_.has(t[n][r],e))return n===u?i:n}else if(_.has(t[n],e))return n===u?i:n;return e}},S={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},j={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[h,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[h,y],[/opios[\/\s]+([\w\.]+)/i],[y,[h,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[y,[h,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[h,y],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[y,[h,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[y,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[h,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[y,[h,"IE"]],[/yabrowser\/([\w\.]+)/i],[y,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure Browser"],y],[/focus\/([\w\.]+)/i],[y,[h,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[y,[h,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[y,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[h,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[y,[h,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[y,[h,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[h,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 Browser"],y],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],y],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[h,y],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[h],[/;fbav\/([\w\.]+);/i],[y,[h,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[h,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[h,y],[/\bgsa\/([\w\.]+)\s.*safari\//i],[y,[h,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[y,[h,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[h,"Chrome WebView"],y],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[y,[h,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[h,y],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[y,[h,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[y,h],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[h,[y,F.str,S.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[h,y],[/(navigator|netscape)\/([\w\.-]+)/i],[[h,"Netscape"],y],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[y,[h,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[h,y]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,_.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[w,/ower/,"",_.lowerize]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,_.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[m,[g,"Samsung"],[b,k]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[m,[g,"Samsung"],[b,D]],[/\((ip(?:hone|od)[\s\w]*);/i],[m,[g,"Apple"],[b,D]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[g,"Apple"],[b,k]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[m,[g,"Huawei"],[b,k]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[m,[g,"Huawei"],[b,D]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[m,/_/g," "],[g,"Xiaomi"],[b,D]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[m,/_/g," "],[g,"Xiaomi"],[b,k]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[m,[g,"OPPO"],[b,D]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[m,[g,"Vivo"],[b,D]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[m,[g,"Realme"],[b,D]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[m,[g,"Motorola"],[b,D]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[m,[g,"Motorola"],[b,k]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[m,[g,"LG"],[b,k]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[m,[g,"LG"],[b,D]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[m,[g,"Lenovo"],[b,k]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[m,/_/g," "],[g,"Nokia"],[b,D]],[/droid.+;\s(pixel\sc)[\s)]/i],[m,[g,"Google"],[b,k]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[m,[g,"Google"],[b,D]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[g,"Sony"],[b,D]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[m,"Xperia Tablet"],[g,"Sony"],[b,k]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[m,[g,"OnePlus"],[b,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[m,[g,"Amazon"],[b,k]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[m,"Fire Phone"],[g,"Amazon"],[b,D]],[/\((playbook);[\w\s\),;-]+(rim)/i],[m,g,[b,k]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[m,[g,"BlackBerry"],[b,D]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[m,[g,"ASUS"],[b,k]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[m,[g,"ASUS"],[b,D]],[/(nexus\s9)/i],[m,[g,"HTC"],[b,k]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[g,[m,/_/g," "],[b,D]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[m,[g,"Acer"],[b,k]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[m,[g,"Meizu"],[b,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[g,m,[b,D]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[g,m,[b,k]],[/\s(surface\sduo)\s/i],[m,[g,"Microsoft"],[b,k]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[m,[g,"Fairphone"],[b,D]],[/\s(u304aa)\sbuild/i],[m,[g,"AT&T"],[b,D]],[/sie-(\w*)/i],[m,[g,"Siemens"],[b,D]],[/[;\/]\s?(rct\w+)\sbuild/i],[m,[g,"RCA"],[b,k]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[m,[g,"Dell"],[b,k]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[m,[g,"Verizon"],[b,k]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[m,[g,"Barnes & Noble"],[b,k]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[m,[g,"NuVision"],[b,k]],[/;\s(k88)\sbuild/i],[m,[g,"ZTE"],[b,k]],[/;\s(nx\d{3}j)\sbuild/i],[m,[g,"ZTE"],[b,D]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[m,[g,"Swiss"],[b,D]],[/[;\/]\s?(zur\d{3})\sbuild/i],[m,[g,"Swiss"],[b,k]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[m,[g,"Zeki"],[b,k]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[g,"Dragon Touch"],m,[b,k]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[m,[g,"Insignia"],[b,k]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[m,[g,"NextBook"],[b,k]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[g,"Voice"],m,[b,D]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[g,"LvTel"],m,[b,D]],[/;\s(ph-1)\s/i],[m,[g,"Essential"],[b,D]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[m,[g,"Envizen"],[b,k]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[m,[g,"MachSpeed"],[b,k]],[/[;\/]\s?tu_(1491)\sbuild/i],[m,[g,"Rotor"],[b,k]],[/(shield[\w\s]+)\sbuild/i],[m,[g,"Nvidia"],[b,k]],[/(sprint)\s(\w+)/i],[g,m,[b,D]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[g,"Microsoft"],[b,D]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[g,"Zebra"],[b,k]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[g,"Zebra"],[b,D]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[g,m,[b,v]],[/droid.+;\s(shield)\sbuild/i],[m,[g,"Nvidia"],[b,v]],[/(playstation\s[345portablevi]+)/i],[m,[g,"Sony"],[b,v]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[m,[g,"Microsoft"],[b,v]],[/smart-tv.+(samsung)/i],[g,[b,x]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[g,"Samsung"],[b,x]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[g,"LG"],[b,x]],[/(apple)\s?tv/i],[g,[m,"Apple TV"],[b,x]],[/crkey/i],[[m,"Chromecast"],[g,"Google"],[b,x]],[/droid.+aft([\w])(\sbuild\/|\))/i],[m,[g,"Amazon"],[b,x]],[/\(dtv[\);].+(aquos)/i],[m,[g,"Sharp"],[b,x]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[g,_.trim],[m,_.trim],[b,x]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[b,x]],[/((pebble))app\/[\d\.]+\s/i],[g,m,[b,C]],[/droid.+;\s(glass)\s\d/i],[m,[g,"Google"],[b,C]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[m,[g,"Zebra"],[b,C]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[g,[b,A]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[m,[b,D]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[m,[b,k]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[b,_.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[m,[g,"Generic"]],[/(phone)/i],[[b,D]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[y,[h,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[h,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,h]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[h,y],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[h,[y,F.str,S.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[h,"Windows"],[y,F.str,S.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[h,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[h,"Mac OS"],[y,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[h,y],[/\(bb(10);/i],[y,[h,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[y,[h,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[h,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[h,"webOS"]],[/crkey\/([\d\.]+)/i],[y,[h,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[h,"Chromium OS"],y],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[h,y],[/(sunos)\s?([\w\.\d]*)/i],[[h,"Solaris"],y],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[h,y]]},O=function(e,t){if("object"===typeof e&&(t=e,e=i),!(this instanceof O))return new O(e,t).getResult();var n=e||("undefined"!==typeof o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:s),r=t?_.extend(j,t):j;return this.getBrowser=function(){var e={name:i,version:i};return F.rgx.call(e,n,r.browser),e.major=_.major(e.version),e},this.getCPU=function(){var e={architecture:i};return F.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:i,model:i,type:i};return F.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:i,version:i};return F.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:i,version:i};return F.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===p&&e.length>E?_.trim(e,E):e,this},this.setUA(n),this};O.VERSION=a,O.BROWSER={NAME:h,MAJOR:f,VERSION:y},O.CPU={ARCHITECTURE:w},O.DEVICE={MODEL:m,VENDOR:g,TYPE:b,CONSOLE:v,MOBILE:D,SMARTTV:x,TABLET:k,WEARABLE:C,EMBEDDED:A},O.ENGINE={NAME:h,VERSION:y},O.OS={NAME:h,VERSION:y},typeof t!==c?(typeof e!==c&&e.exports&&(t=e.exports=O),t.UAParser=O):(r=function(){return O}.call(t,n,t,e),r===i||(e.exports=r));var P="undefined"!==typeof o&&(o.jQuery||o.Zepto);if(P&&!P.ua){var B=new O;P.ua=B.getResult(),P.ua.get=function(){return B.getUA()},P.ua.set=function(e){B.setUA(e);var t=B.getResult();for(var n in t)P.ua[n]=t[n]}}})("object"===typeof window?window:this)},"2cb4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloRestAPIClient=void 0;const r=n("c95e"),o=n("2d6c"),i=n("9559"),a=n("c1f2"),s=e=>"username"in e?Object.assign({type:"password"},e):"apiToken"in e?Object.assign({type:"apiToken"},e):"adminToken"in e?Object.assign({type:"adminToken"},e):"oAuthToken"in e?Object.assign({type:"oAuthToken"},e):"type"in e&&"customizeAuth"==e["type"]?e:void 0;class u{constructor(e={}){var t;this.baseUrl=a.platformDeps.buildBaseUrl(e.baseUrl);const n=s(null!==(t=e.auth)&&void 0!==t?t:{}),u=new o.HaloRequestConfigBuilder(Object.assign(Object.assign({},e),{baseUrl:this.baseUrl,auth:n})),l=new i.HaloResponseHandler;this.httpClient=new r.DefaultHttpClient({responseHandler:l,requestConfigBuilder:u}),this._interceptors=this.httpClient.interceptors}static get version(){return a.platformDeps.getVersion()}get interceptors(){return this._interceptors}getBaseUrl(){return this.baseUrl}buildHttpClient(){return this.httpClient}}t.HaloRestAPIClient=u},"2d6c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloRequestConfigBuilder=void 0;const r=n("978d"),o=(0,r.__importDefault)(n("cf3f")),i=(0,r.__importDefault)(n("7740")),a=n("1121"),s=n("c250"),u=n("c1f2"),l=4096;class c{constructor({baseUrl:e,auth:t,basicAuth:n,clientCertAuth:r,proxy:o,userAgent:i}){this.baseUrl=e,this.auth=t,this.headers=this.buildHeaders({basicAuth:n,userAgent:i}),this.clientCertAuth=r,this.proxy=o,this.requestToken=null}build(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const r=Object.assign(Object.assign(Object.assign({method:e,headers:this.headers,url:`${this.baseUrl}${t}`},i||{}),u.platformDeps.buildPlatformDependentConfig({clientCertAuth:this.clientCertAuth})),{proxy:this.proxy});switch(e){case"get":{const e=this.buildRequestUrl(t,n);return e.length>l?Object.assign(Object.assign({},r),{method:"post",headers:Object.assign(Object.assign({},this.headers),{"X-HTTP-Method-Override":"GET"}),data:yield this.buildData(n)}):Object.assign(Object.assign({},r),{url:e})}case"post":if(n instanceof o.default){const e=yield this.buildData(n);return Object.assign(Object.assign({},r),{headers:"function"===typeof e.getHeaders?Object.assign(Object.assign({},this.headers),e.getHeaders()):this.headers,data:e})}return Object.assign(Object.assign({},r),{data:yield this.buildData(n)});case"put":return Object.assign(Object.assign({},r),{data:yield this.buildData(n)});case"delete":{if(n instanceof Array)return Object.assign(Object.assign({},r),{headers:this.headers,data:n});const e=this.buildRequestUrl(t,yield this.buildData(n));return Object.assign(Object.assign({},r),{url:e})}default:throw new Error(e+" method is not supported")}}))}buildRequestUrl(e,t){const n=`${this.baseUrl}${e}`,r=i.default.stringify(t,{indices:!1});return r?`${n}?${r}`:n}buildData(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(this.auth&&"session"===this.auth.type){const t=yield this.getRequestToken();return e instanceof o.default?(e.append(s.SESSION_TOKEN_KEY,t),e):Object.assign({[s.SESSION_TOKEN_KEY]:t},e)}return e}))}buildHeaders(e){const{basicAuth:t,userAgent:n}=e,r=t?{Authorization:"Basic "+a.Base64.encode(`${t.username}:${t.password}`)}:{},o=u.platformDeps.buildHeaders({userAgent:n}),i=Object.assign(Object.assign({},o),r);if(!this.auth)return{};switch(this.auth.type){case"password":return Object.assign(Object.assign({},i),{Authorization:a.Base64.encode(`${this.auth.username}:${this.auth.password}`)});case"adminToken":{const e=this.auth.adminToken;return Object.assign(Object.assign({},i),{"Admin-Authorization":e})}case"apiToken":{const e=this.auth.apiToken;return Array.isArray(e)?Object.assign(Object.assign({},i),{"API-Authorization":e.join(",")}):Object.assign(Object.assign({},i),{"API-Authorization":e})}case"oAuthToken":return Object.assign(Object.assign({},i),{Authorization:"Bearer "+this.auth.oAuthToken});case"customizeAuth":return Object.assign(Object.assign({},i),{[this.auth.authHeader]:this.auth.getToken()});default:return Object.assign(Object.assign({},i),{"X-Requested-With":"XMLHttpRequest"})}}getRequestToken(){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return null===this.requestToken&&(this.requestToken=yield u.platformDeps.getRequestToken()),this.requestToken}))}}t.HaloRequestConfigBuilder=c},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},3336:function(e,t,n){"use strict";var r=n("9cec"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)"undefined"!==typeof n[o]&&r.push(n[o]);t.obj[t.prop]=r}}},u=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},l=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(i(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=u(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"===typeof a&&n&&"object"===typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)},c=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},d=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},p=function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var l=a[u],c=i[l];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:l}),n.push(c))}return s(t),e},m=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},h=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},b=function(e,t){return[].concat(e,t)},g=function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:u,assign:c,combine:b,compact:f,decode:d,encode:p,isBuffer:h,isRegExp:m,maybeMap:g,merge:l}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],u=i[2],l=i[3],c={id:e+":"+o,css:s,media:u,sourceMap:l};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function o(e,t,n){var o=r(e,t);i(o,n)}function i(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var o=e[r],i=n[o.id];if(!i){for(var a=0;a<o.parts.length;a++)s(o.parts[a],t);n[o.id]=!0}}}function a(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=a(t),r=e.css,o=e.media,i=e.sourceMap;if(o&&n.setAttribute("media",o),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return o}))},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a23":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedPlatformError=void 0;class r extends Error{constructor(e){const t=`This function is not supported in ${e} environment`;super(t),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="UnsupportedPlatformError",this.platform=e,Object.setPrototypeOf(this,r.prototype)}}t.UnsupportedPlatformError=r},"3eb1":function(e,t,n){"use strict";var r=n("0f7c"),o=n("00ce"),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(p){l=null}e.exports=function(e){var t=s(r,a,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,i,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},4318:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}latest(e){const t=r.buildPath({endpointName:"photos/latest"});return this.client.get(t,{sort:e})}list(e){const t=r.buildPath({endpointName:"photos"});return this.client.get(t,Object.assign({},e))}}t.PhotoClient=o},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function u(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||i,o=t(e);r.isUndefined(o)&&t!==u||(n[e]=o)})),n}},5156:function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n("1696");e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}}).call(this,n("c8ba"))},5270:function(e,t,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),a=n("2444"),s=n("7a77");function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5402:function(e,t,n){"use strict";var r=n("00ce"),o=n("545e"),i=n("2714"),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),m=o("Map.prototype.has",!0),h=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},b=function(e,t){var n=h(e,t);return n&&n.value},g=function(e,t,n){var r=h(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},y=function(e,t){return!!h(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return l(e,r)}else if(u){if(t)return p(t,r)}else if(n)return b(n,r)},has:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return d(e,r)}else if(u){if(t)return m(t,r)}else if(n)return y(n,r);return!1},set:function(r,o){s&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new s),c(e,r,o)):u?(t||(t=new u),f(t,r,o)):(n||(n={key:{},next:null}),g(n,r,o))}};return r}},"545e":function(e,t,n){"use strict";var r=n("00ce"),o=n("3eb1"),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var a=n("8bbf"),s=n.n(a);const u=/-(\w)/g,l=e=>e.replace(u,(e,t)=>t?t.toUpperCase():""),c=/\B([A-Z])/g,d=e=>e.replace(c,"-$1").toLowerCase();function p(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function f(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function m(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function h(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const b=e=>/function Boolean/.test(String(e)),g=e=>/function Number/.test(String(e));function y(e,t,{type:n}={}){if(b(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(g(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function w(e,t){const n=[];for(let r=0,o=t.length;r<o;r++)n.push(v(e,t[r]));return n}function v(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:D(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function D(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function k(e,t){const n="function"===typeof t&&!t.cid;let r,o,i,a=!1;function s(e){if(a)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(d),o=n.map(l);const s=Array.isArray(t.props)?{}:t.props||{};i=o.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),f(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(h(t,n)),e.call(this,t,...n))})),f(t,"created",(function(){o.forEach(e=>{this.$root.props[e]=this[e]})})),o.forEach(e=>{Object.defineProperty(c.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),a=!0}function u(e,t){const n=l(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=y(r,t,i[n])}class c extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),o=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const o=e[r];a&&"attributes"===o.type&&o.target===n?u(n,o.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(w(r.$createElement,n.childNodes)))});o.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)m(this.vueComponent,"activated");else{const n=()=>{e.props=p(o),r.forEach(e=>{u(this,e)})};a?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(w(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){m(this.vueComponent,"deactivated")}}return n||s(t),c}var x=k,C=(n("24fb"),n("35d6"),n("2877")),A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"halo-comment",attrs:{id:"halo-comment"}},[n("comment-editor",{attrs:{targetId:e.id,target:e.target,options:e.options,configs:e.mergedConfigs}}),e.mergedConfigs.autoLoad||e.loaded?e._e():n("div",{staticClass:"comment-load-button"},[n("a",{staticClass:"button-load",attrs:{href:"javascript:void(0)",rel:"nofollow noopener"},on:{click:e.loadComments}},[e._v("加载评论")])]),n("comment-loading",{directives:[{name:"show",rawName:"v-show",value:e.commentLoading,expression:"commentLoading"}],attrs:{configs:e.configs}}),e.comments.length>=1?n("ol",{staticClass:"comment-nodes"},[e._l(e.comments,(function(t,r){return[n("CommentNode",{key:r,attrs:{targetId:e.id,target:e.target,comment:t,options:e.options,configs:e.mergedConfigs}})]}))],2):e._e(),e.loaded&&!e.commentLoading&&e.comments.length<=0?n("div",{staticClass:"comment-empty"},[e._v(" 暂无评论 ")]):e._e(),e.pagination.pages>1?n("div",{staticClass:"comment-page"},[n("pagination",{attrs:{page:e.pagination.page,size:e.pagination.size,total:e.pagination.total},on:{change:e.handlePaginationChange}})],1):e._e()],1)},E=[],_=(n("2af9"),n("9b79")),F=(n("e4cb"),{name:"Comment",props:{id:{type:Number,required:!1,default:0},type:{type:String,required:!1,default:"post",validator:function(e){return-1!==["post","sheet","journal"].indexOf(e)}},configs:{type:Object,required:!1,default:function(){return{autoLoad:!0,showUserAgent:!0,loadingStyle:"default"}}}},data:function(){return{comments:[],pagination:{pages:0,page:0,sort:"",size:5,total:0},commentLoading:!1,loaded:!1,repliedSuccess:null,replyingComment:null,options:{comment_gravatar_default:"mm"}}},computed:{target:function(){return"".concat(this.type,"s")},mergedConfigs:function(){return Object.assign({autoLoad:!0,showUserAgent:!0,loadingStyle:"default"},this.configs)}},created:function(){this.mergedConfigs.autoLoad&&this.loadComments(),this.loadOptions()},methods:{loadComments:function(){var e=this;this.comments=[],this.commentLoading=!0;var t=null;switch(this.target){case"posts":t=_["a"].post;break;case"sheets":t=_["a"].sheet;break;case"journals":t=_["a"].journal;break}t.listCommentsAsTree(this.id,this.pagination).then((function(t){e.comments=t.data.content,e.pagination.total=t.data.total,e.pagination.pages=t.data.pages})).finally((function(){e.commentLoading=!1,e.loaded=!0}))},loadOptions:function(){var e=this;_["a"].option.comment().then((function(t){e.options=t.data}))},handlePaginationChange:function(e){this.pagination.page=e,this.loadComments()}}}),S=F;function j(e){var t=n("a85a");t.__inject__&&t.__inject__(e)}var O=Object(C["a"])(S,A,E,!1,j,null,null,!0),P=O.exports;window.customElements.define("halo-comment",x(s.a,P))},"5b15":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}getProfile(){const e=r.buildPath({endpointName:"users/profile"});return this.client.get(e,{})}}t.UserClient=o},"5b29":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TagClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"tags"});return this.client.get(t,Object.assign({},e))}listPostsBySlug(e,t){const n=r.buildPath({endpointName:`tags/${e}/posts`});return this.client.get(n,Object.assign({},t))}}t.TagClient=o},"5b7d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}getProperty(){const e=r.buildPath({endpointName:"themes/activation"});return this.client.get(e,{})}listSettings(){const e=r.buildPath({endpointName:"themes/activation/settings"});return this.client.get(e,{})}}t.ThemeClient=o},"5cce":function(e,t){e.exports={version:"0.24.0"}},"5f02":function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},"5fcd":function(e,t,n){"use strict";var r=n("3336"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(e,t){var n,d={},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,m=p.split(t.delimiter,f),h=-1,b=t.charset;if(t.charsetSentinel)for(n=0;n<m.length;++n)0===m[n].indexOf("utf8=")&&(m[n]===c?b="utf-8":m[n]===l&&(b="iso-8859-1"),h=n,n=m.length);for(n=0;n<m.length;++n)if(n!==h){var g,y,w=m[n],v=w.indexOf("]="),D=-1===v?w.indexOf("="):v+1;-1===D?(g=t.decoder(w,a.decoder,b,"key"),y=t.strictNullHandling?null:""):(g=t.decoder(w.slice(0,D),a.decoder,b,"key"),y=r.maybeMap(u(w.slice(D+1),t),(function(e){return t.decoder(e,a.decoder,b,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===b&&(y=s(y)),w.indexOf("[]=")>-1&&(y=i(y)?[y]:y),o.call(d,g)?d[g]=r.combine(d[g],y):d[g]=y}return d},p=function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[],a[c]=o):"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o},f=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=n.depth>0&&a.exec(i),l=u?i.slice(0,u.index):i,c=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}var d=0;while(n.depth>0&&null!==(u=s.exec(i))&&d<n.depth){if(d+=1,!n.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),p(c,t,n,r)}},m=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var n=m(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var o="string"===typeof e?d(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),s=0;s<a.length;++s){var u=a[s],l=f(u,o[u],n,"string"===typeof e);i=r.merge(i,l,n)}return!0===n.allowSparse?i:r.compact(i)}},6821:function(e,t,n){(function(){var t=n("00d8"),r=n("9a63").utf8,o=n("044b"),i=n("9a63").bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?i.stringToBytes(e):r.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var s=t.bytesToWords(e),u=8*e.length,l=1732584193,c=-271733879,d=-1732584194,p=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[u>>>5]|=128<<u%32,s[14+(u+64>>>9<<4)]=u;var m=a._ff,h=a._gg,b=a._hh,g=a._ii;for(f=0;f<s.length;f+=16){var y=l,w=c,v=d,D=p;l=m(l,c,d,p,s[f+0],7,-680876936),p=m(p,l,c,d,s[f+1],12,-389564586),d=m(d,p,l,c,s[f+2],17,606105819),c=m(c,d,p,l,s[f+3],22,-1044525330),l=m(l,c,d,p,s[f+4],7,-176418897),p=m(p,l,c,d,s[f+5],12,1200080426),d=m(d,p,l,c,s[f+6],17,-1473231341),c=m(c,d,p,l,s[f+7],22,-45705983),l=m(l,c,d,p,s[f+8],7,1770035416),p=m(p,l,c,d,s[f+9],12,-1958414417),d=m(d,p,l,c,s[f+10],17,-42063),c=m(c,d,p,l,s[f+11],22,-1990404162),l=m(l,c,d,p,s[f+12],7,1804603682),p=m(p,l,c,d,s[f+13],12,-40341101),d=m(d,p,l,c,s[f+14],17,-1502002290),c=m(c,d,p,l,s[f+15],22,1236535329),l=h(l,c,d,p,s[f+1],5,-165796510),p=h(p,l,c,d,s[f+6],9,-1069501632),d=h(d,p,l,c,s[f+11],14,643717713),c=h(c,d,p,l,s[f+0],20,-373897302),l=h(l,c,d,p,s[f+5],5,-701558691),p=h(p,l,c,d,s[f+10],9,38016083),d=h(d,p,l,c,s[f+15],14,-660478335),c=h(c,d,p,l,s[f+4],20,-405537848),l=h(l,c,d,p,s[f+9],5,568446438),p=h(p,l,c,d,s[f+14],9,-1019803690),d=h(d,p,l,c,s[f+3],14,-187363961),c=h(c,d,p,l,s[f+8],20,1163531501),l=h(l,c,d,p,s[f+13],5,-1444681467),p=h(p,l,c,d,s[f+2],9,-51403784),d=h(d,p,l,c,s[f+7],14,1735328473),c=h(c,d,p,l,s[f+12],20,-1926607734),l=b(l,c,d,p,s[f+5],4,-378558),p=b(p,l,c,d,s[f+8],11,-2022574463),d=b(d,p,l,c,s[f+11],16,1839030562),c=b(c,d,p,l,s[f+14],23,-35309556),l=b(l,c,d,p,s[f+1],4,-1530992060),p=b(p,l,c,d,s[f+4],11,1272893353),d=b(d,p,l,c,s[f+7],16,-155497632),c=b(c,d,p,l,s[f+10],23,-1094730640),l=b(l,c,d,p,s[f+13],4,681279174),p=b(p,l,c,d,s[f+0],11,-358537222),d=b(d,p,l,c,s[f+3],16,-722521979),c=b(c,d,p,l,s[f+6],23,76029189),l=b(l,c,d,p,s[f+9],4,-640364487),p=b(p,l,c,d,s[f+12],11,-421815835),d=b(d,p,l,c,s[f+15],16,530742520),c=b(c,d,p,l,s[f+2],23,-995338651),l=g(l,c,d,p,s[f+0],6,-198630844),p=g(p,l,c,d,s[f+7],10,1126891415),d=g(d,p,l,c,s[f+14],15,-1416354905),c=g(c,d,p,l,s[f+5],21,-57434055),l=g(l,c,d,p,s[f+12],6,1700485571),p=g(p,l,c,d,s[f+3],10,-1894986606),d=g(d,p,l,c,s[f+10],15,-1051523),c=g(c,d,p,l,s[f+1],21,-2054922799),l=g(l,c,d,p,s[f+8],6,1873313359),p=g(p,l,c,d,s[f+15],10,-30611744),d=g(d,p,l,c,s[f+6],15,-1560198380),c=g(c,d,p,l,s[f+13],21,1309151649),l=g(l,c,d,p,s[f+4],6,-145523070),p=g(p,l,c,d,s[f+11],10,-1120210379),d=g(d,p,l,c,s[f+2],15,718787259),c=g(c,d,p,l,s[f+9],21,-343485551),l=l+y>>>0,c=c+w>>>0,d=d+v>>>0,p=p+D>>>0}return t.endian([l,c,d,p])};a._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):t.bytesToHex(r)}})()},"688e":function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString,a="[object Function]";e.exports=function(e){var t=this;if("function"!==typeof t||i.call(t)!==a)throw new TypeError(r+t);for(var n,s=o.call(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,s.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,s.concat(o.call(arguments)))},l=Math.max(0,t.length-s.length),c=[],d=0;d<l;d++)c.push("$"+d);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var p=function(){};p.prototype=t.prototype,n.prototype=new p,p.prototype=null}return n}},"6fac":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' aria-hidden=\'true\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\'/%3E%3C/svg%3E")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body details{display:block}.markdown-body summary{display:list-item}.markdown-body a{background-color:initial}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit;font-weight:bolder}.markdown-body h1{margin:.67em 0}.markdown-body img{border-style:none}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{-webkit-box-sizing:initial;box-sizing:initial;overflow:visible}.markdown-body input{font:inherit;margin:0;overflow:visible}.markdown-body [type=checkbox]{padding:0}.markdown-body *,.markdown-body [type=checkbox]{-webkit-box-sizing:border-box;box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border-bottom:1px solid #dfe2e5}.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{clear:both}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px}.markdown-body h1,.markdown-body h2{font-weight:600}.markdown-body h2{font-size:24px}.markdown-body h3{font-size:20px}.markdown-body h3,.markdown-body h4{font-weight:600}.markdown-body h4{font-size:16px}.markdown-body h5{font-size:14px}.markdown-body h5,.markdown-body h6{font-weight:600}.markdown-body h6{font-size:12px}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .border{border:1px solid #e1e4e8!important}.markdown-body .border-0{border:0!important}.markdown-body .border-bottom{border-bottom:1px solid #e1e4e8!important}.markdown-body .rounded-1{border-radius:3px!important}.markdown-body .bg-white{background-color:#fff!important}.markdown-body .bg-gray-light{background-color:#fafbfc!important}.markdown-body .text-gray-light{color:#6a737d!important}.markdown-body .pl-3,.markdown-body .px-3{padding-left:16px!important}.markdown-body .px-3{padding-right:16px!important}.markdown-body .f6{font-size:12px!important}.markdown-body .lh-condensed{line-height:1.25!important}.markdown-body .text-bold{font-weight:600!important}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2:before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .mb-0{margin-bottom:0!important}.markdown-body .my-2{margin-bottom:8px!important;margin-top:8px!important}.markdown-body .pl-0{padding-left:0!important}.markdown-body .py-0{padding-top:0!important;padding-bottom:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .py-2{padding-top:8px!important;padding-bottom:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body .pl-7{padding-left:48px!important}.markdown-body .pl-8{padding-left:64px!important}.markdown-body .pl-9{padding-left:80px!important}.markdown-body .pl-10{padding-left:96px!important}.markdown-body .pl-11{padding-left:112px!important}.markdown-body .pl-12{padding-left:128px!important}.markdown-body hr{border-bottom-color:#eee}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #d1d5da;box-shadow:inset 0 -1px 0 #d1d5da}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1{font-size:2em}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;-webkit-box-sizing:initial;box-sizing:initial;background-color:#fff}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:initial;border:0}.markdown-body .commit-tease-sha{display:inline-block;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:90%;color:#444d56}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body .blob-wrapper{overflow-x:auto;overflow-y:hidden}.markdown-body .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.markdown-body .blob-num{width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,.3);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .blob-num:hover{color:rgba(27,31,35,.6)}.markdown-body .blob-num:before{content:attr(data-line-number)}.markdown-body .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.markdown-body .blob-code-inner{overflow:visible;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;color:#24292e;word-wrap:normal;white-space:pre}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{cursor:pointer;background:#ffea7f}.markdown-body .tab-size[data-tab-size="1"]{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.markdown-body .tab-size[data-tab-size="2"]{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.markdown-body .tab-size[data-tab-size="3"]{-moz-tab-size:3;-o-tab-size:3;tab-size:3}.markdown-body .tab-size[data-tab-size="4"]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.markdown-body .tab-size[data-tab-size="5"]{-moz-tab-size:5;-o-tab-size:5;tab-size:5}.markdown-body .tab-size[data-tab-size="6"]{-moz-tab-size:6;-o-tab-size:6;tab-size:6}.markdown-body .tab-size[data-tab-size="7"]{-moz-tab-size:7;-o-tab-size:7;tab-size:7}.markdown-body .tab-size[data-tab-size="8"]{-moz-tab-size:8;-o-tab-size:8;tab-size:8}.markdown-body .tab-size[data-tab-size="9"]{-moz-tab-size:9;-o-tab-size:9;tab-size:9}.markdown-body .tab-size[data-tab-size="10"]{-moz-tab-size:10;-o-tab-size:10;tab-size:10}.markdown-body .tab-size[data-tab-size="11"]{-moz-tab-size:11;-o-tab-size:11;tab-size:11}.markdown-body .tab-size[data-tab-size="12"]{-moz-tab-size:12;-o-tab-size:12;tab-size:12}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}',""]),e.exports=t},7018:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.JournalClient=void 0;const o=n("a8c2");class i{constructor(e){this.client=e}list(){const e=o.buildPath({endpointName:"journals"});return this.client.get(e,{})}listChildrenComments(e,t,n){const r=o.buildPath({endpointName:`journals/${e}/comments/${t}/children`});return this.client.get(r,{sort:n})}get(e){const t=o.buildPath({endpointName:"journals/"+e});return this.client.get(t,{})}like(e){return r(this,void 0,void 0,(function*(){const t=o.buildPath({endpointName:`journals/${e}/likes`});yield this.client.post(t,{})}))}listCommentsAsView(e,t){const n=o.buildPath({endpointName:`journals/${e}/comments/list_view`});return this.client.get(n,Object.assign({},t))}listCommentsAsTopView(e,t){const n=o.buildPath({endpointName:`journals/${e}/comments/top_view`});return this.client.get(n,Object.assign({},t))}listCommentsAsTreeView(e,t){const n=o.buildPath({endpointName:`journals/${e}/comments/tree_view`});return this.client.get(n,Object.assign({},t))}comment(e){const t=o.buildPath({endpointName:"journals/comments"});return this.client.post(t,Object.assign({},e))}}t.JournalClient=i},7203:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},"74d4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"menus"});return this.client.get(t,{sort:e})}listAsTreeView(e){const t=r.buildPath({endpointName:"menus/tree_view"});return this.client.get(t,{sort:e})}}t.MenuClient=o},"755b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Axios=t.FormData=t.DefaultHttpClient=t.HaloRequestConfigBuilder=t.HaloResponseHandler=t.HaloRestAPIClient=void 0;const r=n("978d"),o=n("c1f2"),i=(0,r.__importStar)(n("e222")),a=(0,r.__importDefault)(n("cf3f"));t.FormData=a.default;const s=(0,r.__importDefault)(n("bc3a"));t.Axios=s.default,(0,o.injectPlatformDeps)(i);var u=n("2cb4");Object.defineProperty(t,"HaloRestAPIClient",{enumerable:!0,get:function(){return u.HaloRestAPIClient}});var l=n("9559");Object.defineProperty(t,"HaloResponseHandler",{enumerable:!0,get:function(){return l.HaloResponseHandler}});var c=n("2d6c");Object.defineProperty(t,"HaloRequestConfigBuilder",{enumerable:!0,get:function(){return c.HaloRequestConfigBuilder}});var d=n("c95e");Object.defineProperty(t,"DefaultHttpClient",{enumerable:!0,get:function(){return d.DefaultHttpClient}})},7740:function(e,t,n){"use strict";var r=n("00f6"),o=n("5fcd"),i=n("9cec");e.exports={formats:i,parse:o,stringify:r}},"791b":function(e,t,n){var r=n("e64f");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("6193bffe",r,e)}},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"81b1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(){const e=r.buildPath({endpointName:"options/list_view"});return this.client.get(e,{})}listAsMapView(e){const t=r.buildPath({endpointName:"options/map_view"});return this.client.get(t,{key:e})}getByKey(e){const t=r.buildPath({endpointName:"options/keys/"+e});return this.client.get(t,{key:e})}comment(){const e=r.buildPath({endpointName:"options/comment"});return this.client.get(e,{})}}t.OptionClient=o},"83b9":function(e,t,n){"use strict";var r=n("d925"),o=n("e683");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"848b":function(e,t,n){"use strict";var r=n("5cce").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};function a(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var i=r[o],a=t[i];if(a){var s=e[i],u=void 0===s||a(s,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:a,validators:o}},8875:function(e,t,n){var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=i.exec(f.stack)||a.exec(f.stack),u=s&&s[1]||!1,l=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");u===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var p=0;p<d.length;p++){if("interactive"===d[p].readyState)return d[p];if(d[p].src===u)return d[p];if(u===c&&d[p].innerHTML&&d[p].innerHTML.trim()===o)return d[p]}return null}}return e}))},"8aa4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserClient=t.ThemeClient=t.TagClient=t.StatisticClient=t.SheetClient=t.PostClient=t.PhotoClient=t.OptionClient=t.MenuClient=t.LinkClient=t.JournalClient=t.CategoryClient=t.ArchiveClient=void 0;var r=n("207f");Object.defineProperty(t,"ArchiveClient",{enumerable:!0,get:function(){return r.ArchiveClient}});var o=n("f482");Object.defineProperty(t,"CategoryClient",{enumerable:!0,get:function(){return o.CategoryClient}});var i=n("7018");Object.defineProperty(t,"JournalClient",{enumerable:!0,get:function(){return i.JournalClient}});var a=n("94f1");Object.defineProperty(t,"LinkClient",{enumerable:!0,get:function(){return a.LinkClient}});var s=n("74d4");Object.defineProperty(t,"MenuClient",{enumerable:!0,get:function(){return s.MenuClient}});var u=n("81b1");Object.defineProperty(t,"OptionClient",{enumerable:!0,get:function(){return u.OptionClient}});var l=n("4318");Object.defineProperty(t,"PhotoClient",{enumerable:!0,get:function(){return l.PhotoClient}});var c=n("01c3");Object.defineProperty(t,"PostClient",{enumerable:!0,get:function(){return c.PostClient}});var d=n("e998");Object.defineProperty(t,"SheetClient",{enumerable:!0,get:function(){return d.SheetClient}});var p=n("b492");Object.defineProperty(t,"StatisticClient",{enumerable:!0,get:function(){return p.StatisticClient}});var f=n("5b29");Object.defineProperty(t,"TagClient",{enumerable:!0,get:function(){return f.TagClient}});var m=n("5b7d");Object.defineProperty(t,"ThemeClient",{enumerable:!0,get:function(){return m.ThemeClient}});var h=n("5b15");Object.defineProperty(t,"UserClient",{enumerable:!0,get:function(){return h.UserClient}})},"8bbf":function(e,t){e.exports=Vue},"8df4":function(e,t,n){"use strict";var r=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"94f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"links"});return this.client.get(t,{sort:e})}listTeams(e){const t=r.buildPath({endpointName:"links/team_view"});return this.client.get(t,{sort:e})}}t.LinkClient=o},9559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloResponseHandler=void 0;const r=n("978d"),o=n("dfc6");class i{handle(e){return e.then(e=>this.handleSuccessResponse(e),e=>this.handleErrorResponse(e))}handleSuccessResponse(e){return e.data}handleErrorResponse(e){if(!e.response){if(/MAC address verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}const t=e.response,{data:n}=t,i=(0,r.__rest)(t,["data"]);if("string"===typeof n)throw new Error(`${i.status}: ${i.statusText}`);throw new o.HaloRestAPIError(Object.assign({data:n},i))}}t.HaloResponseHandler=i},"978d":function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return l})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return f})),n.d(t,"__values",(function(){return m})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return b})),n.d(t,"__spreadArrays",(function(){return g})),n.d(t,"__spreadArray",(function(){return y})),n.d(t,"__await",(function(){return w})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return D})),n.d(t,"__asyncValues",(function(){return k})),n.d(t,"__makeTemplateObject",(function(){return x})),n.d(t,"__importStar",(function(){return A})),n.d(t,"__importDefault",(function(){return E})),n.d(t,"__classPrivateFieldGet",(function(){return _})),n.d(t,"__classPrivateFieldSet",(function(){return F}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return u([e,t])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}var p=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function f(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||p(t,e,n)}function m(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function w(e){return this instanceof w?(this.v=e,this):new w(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{u(o[e](t))}catch(n){d(i[0][3],n)}}function u(e){e.value instanceof w?Promise.resolve(e.value.v).then(l,c):d(i[0][2],e)}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:w(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof m?m(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){t=e[n](t),o(r,i,t.done,t.value)}))}}function o(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&p(t,e,n);return C(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function F(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}},"9a63":function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},"9b79":function(e,t,n){"use strict";var r=n("c256"),o=new r["HaloRestAPIClient"]({baseUrl:"https://localhost:8090/"}),i=new r["ContentApiClient"](o);t["a"]=i},"9cec":function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}},a0d3:function(e,t,n){"use strict";var r=n("0f7c");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},a40b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AxiosClient=void 0;const r=n("978d"),o=(0,r.__importDefault)(n("bc3a")),i=n("05cc");class a{constructor({responseHandler:e,requestConfigBuilder:t}){this.responseHandler=e,this.requestConfigBuilder=t,this.interceptors={request:new i.RequestInterceptor,response:new i.ResponseInterceptor}}get(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.requestConfigBuilder.build("get",e,t);return this.sendRequest(n)}))}getData(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.requestConfigBuilder.build("get",e,t,{responseType:"arraybuffer"});return this.sendRequest(n)}))}post(e,t,n){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.requestConfigBuilder.build("post",e,t,n);return this.sendRequest(r)}))}postData(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.requestConfigBuilder.build("post",e,t);return this.sendRequest(n)}))}put(e,t,n){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.requestConfigBuilder.build("put",e,t,n);return this.sendRequest(r)}))}delete(e,t,n){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.requestConfigBuilder.build("delete",e,t,n);return this.sendRequest(r)}))}sendRequest(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return this.responseHandler.handle((0,o.default)(Object.assign(Object.assign({},e),{maxContentLength:1/0})))}))}}t.AxiosClient=a},a85a:function(e,t,n){"use strict";n.r(t);var r=n("791b");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},a8c2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildPath=void 0;const r=e=>{const{endpointName:t,scope:n}=e,r=void 0!==n?""+n:"content";return`/api/${r}/${t}`};t.buildPath=r},b492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatisticClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}statistics(){const e=r.buildPath({endpointName:"statistics"});return this.client.get(e,{})}statisticsWithUser(){const e=r.buildPath({endpointName:"statistics/user"});return this.client.get(e,{})}}t.StatisticClient=o},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),u=n("c345"),l=n("3934"),c=n("2d83"),d=n("2444"),p=n("7a77");e.exports=function(e){return new Promise((function(t,n){var f,m=e.data,h=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(m)&&delete h["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(w+":"+v)}var D=s(e.baseURL,e.url);function k(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),g()}),(function(e){n(e),g()}),a),y=null}}if(y.open(e.method.toUpperCase(),a(D,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||l(D))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&r.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null),y.send(m)}))}},bc3a:function(e,t,n){e.exports=n("cee4")},c1f2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectPlatformDeps=t.platformDeps=void 0,t.platformDeps={readFileFromPath:()=>{throw new Error("not implemented")},getRequestToken:()=>{throw new Error("not implemented")},getDefaultAuth:()=>{throw new Error("not implemented")},buildPlatformDependentConfig:()=>{throw new Error("not implemented")},buildHeaders:()=>{throw new Error("not implemented")},buildFormDataValue:()=>{throw new Error("not implemented")},buildBaseUrl:()=>{throw new Error("not implemented")},getVersion:()=>{throw new Error("not implemented")}};const r=e=>{t.platformDeps.readFileFromPath=e.readFileFromPath,t.platformDeps.getRequestToken=e.getRequestToken,t.platformDeps.getDefaultAuth=e.getDefaultAuth,t.platformDeps.buildPlatformDependentConfig=e.buildPlatformDependentConfig,t.platformDeps.buildHeaders=e.buildHeaders,t.platformDeps.buildFormDataValue=e.buildFormDataValue,t.platformDeps.buildBaseUrl=e.buildBaseUrl,t.platformDeps.getVersion=e.getVersion};t.injectPlatformDeps=r},c250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_TOKEN_KEY=void 0,t.SESSION_TOKEN_KEY="__REQUEST_TOKEN__"},c256:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiClient=void 0;var i=n("06d0");Object.defineProperty(t,"ContentApiClient",{enumerable:!0,get:function(){return i.ContentApiClient}}),o(n("755b"),t),o(n("7203"),t),o(n("8aa4"),t)},c345:function(e,t,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c401:function(e,t,n){"use strict";var r=n("c532"),o=n("2444");e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){return"[object Date]"===o.call(e)}function b(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function w(e){return f(e)&&y(e.pipe)}function v(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function D(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function C(){var e={};function t(t,n){m(e[n])&&m(t)?e[n]=C(e[n],t):m(t)?e[n]=C({},t):i(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)x(arguments[n],t);return e}function A(e,t,n){return x(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function E(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:i,isArrayBuffer:u,isBuffer:s,isFormData:l,isArrayBufferView:c,isString:d,isNumber:p,isObject:f,isPlainObject:m,isUndefined:a,isDate:h,isFile:b,isBlob:g,isFunction:y,isStream:w,isURLSearchParams:v,isStandardBrowserEnv:k,forEach:x,merge:C,extend:A,trim:D,stripBOM:E}},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c95e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultHttpClient=void 0;var r=n("a40b");Object.defineProperty(t,"DefaultHttpClient",{enumerable:!0,get:function(){return r.AxiosClient}})},ca00:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=(new Date).getTime(),n=t-e,r=Math.floor(n/864e5);if(0===r){var o=n%864e5,a=Math.floor(o/36e5);if(0===a){var s=o%36e5,u=Math.floor(s/6e4);if(0===u){var l=s%6e4,c=Math.round(l/1e3);return c+" 秒前"}return u+" 分钟前"}return a+" 小时前"}return r<0?"刚刚":r<1?r+" 天前":i(e,"yyyy/MM/dd hh:mm")}function i(e,t){e=new Date(e),/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};for(var r in n)if(new RegExp("(".concat(r,")")).test(t)){var o=n[r]+"";t=t.replace(RegExp.$1,1===RegExp.$1.length?o:a(o))}return t}function a(e){return("00"+e).substr(e.length)}function s(e){return null===e||void 0===e||""===e}function u(e){return e&&"object"===r(e)&&e.constructor===Object}function l(e){var t=/^[A-Za-z1-9]+([-_.][A-Za-z1-9]+)*@([A-Za-z1-9]+[-.])+[A-Za-z]{2,8}$/;return t.test(e)}n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return l}))},cee4:function(e,t,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),a=n("4a7b"),s=n("2444");function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n.create=function(t){return u(a(e,t))},n}var l=u(s);l.Axios=i,l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.VERSION=n("5cce").version,l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),e.exports=l,e.exports.default=l},cf3f:function(e,t){e.exports="object"==typeof self?self.FormData:window.FormData},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u<a;u++)if(o[u]!==i[u]){s=u;break}var l=[];for(u=s;u<o.length;u++)l.push("..");return l=l.concat(i.slice(s)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dfc6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloRestAPIError=void 0;class r extends Error{constructor(e){const{data:t}=r.buildErrorResponseDate(e);super(t.message),this.name="HaloRestAPIError",this.data=t,this.status=t.status,this.headers=e.headers,this.message=`[${this.status}] ${this.message}`,Error.captureStackTrace&&Error.captureStackTrace(this,r),Object.setPrototypeOf(this,r.prototype)}static buildErrorResponseDate(e){return{data:e.data}}}t.HaloRestAPIError=r},e222:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVersion=t.buildBaseUrl=t.buildFormDataValue=t.buildHeaders=t.buildPlatformDependentConfig=t.getDefaultAuth=t.getRequestToken=t.readFileFromPath=void 0;const r=n("978d"),o=n("3a23"),i=()=>{throw new o.UnsupportedPlatformError("Browser")};t.readFileFromPath=i;const a=()=>(0,r.__awaiter)(void 0,void 0,void 0,(function*(){if("object"===typeof halo&&null!==halo&&"function"===typeof halo.getRequestToken)return halo.getRequestToken();throw new Error("session authentication must specify a request token")}));t.getRequestToken=a;const s=()=>({type:"session"});t.getDefaultAuth=s;const u=()=>({});t.buildPlatformDependentConfig=u;const l=()=>({});t.buildHeaders=l;const c=e=>new Blob([e]);t.buildFormDataValue=c;const d=e=>{if("undefined"===typeof e)throw new Error("in browser environment, baseUrl is required");return e};t.buildBaseUrl=d;const p=()=>PACKAGE_VERSION;t.getVersion=p},e4cb:function(e,t,n){var r=n("6fac");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("7fecc0b2",r,e)}},e64f:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.halo-comment{padding:1rem 2.5rem;position:relative;font-size:.875rem;font-weight:500;line-height:1.8;margin:0 auto;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background-color:#fff;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217)}@media (prefers-color-scheme:dark){.halo-comment{color:#a3a3a3;background-color:#292929;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353)}}.halo-comment a{text-decoration:none;color:#2775b6}.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#7d7d7d}@media (prefers-color-scheme:dark){.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#8c8c8c}}.halo-comment a,.halo-comment abbr,.halo-comment acronym,.halo-comment address,.halo-comment applet,.halo-comment big,.halo-comment blockquote,.halo-comment body,.halo-comment caption,.halo-comment cite,.halo-comment code,.halo-comment dd,.halo-comment del,.halo-comment dfn,.halo-comment div,.halo-comment dl,.halo-comment dt,.halo-comment em,.halo-comment fieldset,.halo-comment figure,.halo-comment form,.halo-comment h1,.halo-comment h2,.halo-comment h3,.halo-comment h4,.halo-comment h5,.halo-comment h6,.halo-comment html,.halo-comment iframe,.halo-comment ins,.halo-comment kbd,.halo-comment label,.halo-comment legend,.halo-comment li,.halo-comment object,.halo-comment ol,.halo-comment p,.halo-comment pre,.halo-comment q,.halo-comment s,.halo-comment samp,.halo-comment small,.halo-comment span,.halo-comment strike,.halo-comment strong,.halo-comment sub,.halo-comment sup,.halo-comment table,.halo-comment tbody,.halo-comment td,.halo-comment tfoot,.halo-comment th,.halo-comment thead,.halo-comment tr,.halo-comment tt,.halo-comment ul,.halo-comment var{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}.halo-comment ol.comment-nodes,.halo-comment ol.comment-nodes ol{margin:0;padding:0 0 0 2em}.halo-comment ol.comment-nodes{padding:0}.halo-comment ol.comment-nodes ol.children>li{list-style:none;position:relative}.halo-comment ol.comment-nodes ol.children>li:before{color:#d9d9d9;position:absolute;opacity:.5;content:"";top:-5.425em;left:-.5em;width:.3em;height:7em;border-style:none none dashed dashed;border-width:.09em}.halo-comment ol.comment-nodes ol.children>li:not(:last-child):after{color:#d9d9d9;opacity:.5;position:absolute;content:"";top:23px;left:-.5em;bottom:76px;width:.3em;border-style:none none none dashed;border-width:.09em}.halo-comment ol.comment-nodes .comment-editor+ol>li:first-child:before{border-style:none none solid none}.halo-comment button,.halo-comment input,.halo-comment textarea{-webkit-appearance:none;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.halo-comment button:focus,.halo-comment input:focus,.halo-comment textarea:focus{outline:none}.halo-comment ol,.halo-comment ul{list-style:none}.halo-comment .middle{display:inline-block;vertical-align:middle}.halo-comment .avatar{display:block;-o-object-fit:cover;object-fit:cover;border-radius:100%;width:48px;height:48px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s}.halo-comment .avatar:hover{-webkit-transform:rotate(1turn);transform:rotate(1turn)}.halo-comment .comment-editor{position:relative;z-index:1;-webkit-animation:top20 .5s;animation:top20 .5s}.halo-comment .comment-editor .inner{margin:auto;padding:20px 0}.halo-comment .comment-form{margin-left:56px}.halo-comment .comment-form input,.halo-comment .comment-form textarea{-webkit-box-shadow:none;box-shadow:none;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;resize:vertical;color:#262626;background-color:#fff;border:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-form input,.halo-comment .comment-form textarea{color:#dbdbdb!important;background-color:#292929!important;border:1px solid #434343!important}}.halo-comment .comment-form input:focus,.halo-comment .comment-form textarea:focus{border-color:#ccc}.halo-comment .commentator{position:relative;float:left}.halo-comment .author-info{position:relative;overflow:hidden;margin-bottom:10px}.halo-comment .author-info input{font-size:14px;float:left;width:32%;margin-right:2%}.halo-comment .author-info input#authorUrl{margin:0}.halo-comment .comment-textarea{position:relative;width:100%}.halo-comment .comment-textarea textarea{font-size:13px;line-height:18px;width:100%;min-height:90px;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;color:#000;overflow:hidden;overflow-wrap:break-word}.halo-comment .comment-preview{position:relative;width:100%;min-height:90px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #e1e8ed;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-bottom:10px;overflow-wrap:break-word}.halo-comment .comment-preview img{max-width:100%}.halo-comment .comment-buttons{font-size:14px;text-align:right;margin-top:10px}.halo-comment .comment-buttons .button-preview-edit,.halo-comment .comment-buttons .button-submit{-webkit-animation:bottom20 .5s;animation:bottom20 .5s;border:none;font-weight:500;padding:6px 18px;text-transform:uppercase;border-radius:4px;display:inline-block;-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s;color:#262626;background-color:#dbdbdb}.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{font-weight:700;letter-spacing:3px;background:none;-webkit-box-shadow:0 5px 40px -10px rgba(0,0,0,.57);box-shadow:0 5px 40px -10px rgba(0,0,0,.57);-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s}@media (prefers-color-scheme:dark){.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{color:#dbdbdb;background-color:#262626}}.halo-comment .comment-loader-container{-webkit-animation:top20 .5s;animation:top20 .5s;position:relative;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:30px 0}.halo-comment .comment-loader-container .comment-loader-default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:30px}.halo-comment .comment-loader-container .comment-loader-default span{width:4px;height:15px;background-color:#898c7b}.halo-comment .comment-loader-container .comment-loader-default span:first-of-type{-webkit-animation:grow 1s ease-in-out -.45s infinite;animation:grow 1s ease-in-out -.45s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(2){-webkit-animation:grow 1s ease-in-out -.3s infinite;animation:grow 1s ease-in-out -.3s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(3){-webkit-animation:grow 1s ease-in-out -.15s infinite;animation:grow 1s ease-in-out -.15s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(4){-webkit-animation:grow 1s ease-in-out infinite;animation:grow 1s ease-in-out infinite}@-webkit-keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}@keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}.halo-comment .comment-loader-container .comment-loader-circle{border:3px solid #898c7b;border-top-color:#fff;border-radius:50%;width:2.5em;height:2.5em;-webkit-animation:spin .7s linear infinite;animation:spin .7s linear infinite}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.halo-comment .comment-loader-container .comment-loader-balls{width:3.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.halo-comment .comment-loader-container .comment-loader-balls div{width:.7em;height:.7em;border-radius:50%;background-color:#898c7b;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-animation:wave .7s ease-in-out infinite alternate;animation:wave .7s ease-in-out infinite alternate}.halo-comment .comment-loader-container .comment-loader-balls div:first-of-type{-webkit-animation-delay:-.4s;animation-delay:-.4s}.halo-comment .comment-loader-container .comment-loader-balls div:nth-of-type(2){-webkit-animation-delay:-.2s;animation-delay:-.2s}@-webkit-keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.halo-comment .comment-nodes{-webkit-animation:top20 1s;animation:top20 1s;position:relative}.halo-comment .comment-nodes .comment-editor{-webkit-animation:bottom20 .5s;animation:bottom20 .5s}.halo-comment .comment-nodes .comment-editor .inner{padding:7px 0 12px}.halo-comment .comment-empty,.halo-comment .comment-load-button{margin:30px 0;text-align:center}.halo-comment .comment-empty{color:#8899a6}.halo-comment .comment-page{margin-top:30px;text-align:center;border-top:3px solid #f5f8fa}.halo-comment .comment-page .page{display:inline-block;padding:10px 0;margin:0}.halo-comment .comment-page .page li{display:inline;margin-right:5px}.halo-comment .comment-page .page button{margin-bottom:8px;position:relative;font-size:inherit;font-family:inherit;padding:5px 10px;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s;font-weight:400;color:rgba(0,0,0,.65);background-color:#fff}.halo-comment .comment-page .page .active,.halo-comment .comment-page .page button:hover{color:#1890ff;border-color:#1890ff}.halo-comment .comment-nodes .index-1{overflow:hidden;margin-top:30px;padding-bottom:20px;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-nodes .index-1{border-bottom:1px solid #434343}}.halo-comment .comment-nodes .commentator a:after,.halo-comment .comment-nodes .commentator a:before{display:none}.halo-comment .comment-body{position:relative;margin:0 auto;padding:0}.halo-comment .comment-body:hover .comment-reply{display:block}.halo-comment .comment-avatar{position:relative;z-index:1;float:left;padding:0}.halo-comment .contain-main{margin-left:58px}.halo-comment .comment-meta{line-height:1}.halo-comment .comment-meta .useragent-info{margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-meta .useragent-info{color:#acacac}}.halo-comment .comment-author{font-size:14px}.halo-comment .comment-author .author-name{font-size:16px;font-weight:700;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-author .author-name{color:#dbdbdb}}.halo-comment .is-admin{margin-left:4px;font-size:14px;cursor:pointer}.halo-comment .comment-time{display:inline-block;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-time{color:#acacac}}.halo-comment .comment-id{display:block;float:right;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-id{color:#acacac}}.halo-comment .comment-content{padding:20px 20px 19px 0;font-size:14px;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-content{color:#dbdbdb}}.halo-comment .comment-content p{margin:0}.halo-comment .comment-content p img{max-width:50%}.halo-comment .comment-reply{display:none;float:right;font-size:12px;color:#fff;padding:1px 5px;border-radius:3px;line-height:1.5;background:#898c7b;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.halo-comment .comment-reply a,.halo-comment .comment-reply a:hover{color:#fff}.halo-comment .comment-alert{margin-top:10px}.halo-comment .alert{-webkit-animation:top20 .5s;animation:top20 .5s;border-radius:4px;padding:8px 16px;background-color:#f44336;color:#fff;opacity:1;-webkit-transition:opacity .6s;transition:opacity .6s;margin-bottom:15px}.halo-comment .alert.success{background-color:#4caf50}.halo-comment .alert.info{background-color:#2196f3}.halo-comment .alert.warning{background-color:#ff9800}.halo-comment .alert .closebtn{margin-left:15px;color:#fff;font-weight:700;float:right;font-size:22px;line-height:16px;cursor:pointer;-webkit-transition:.3s;transition:.3s}.halo-comment .alert .closebtn:hover{color:#000}.halo-comment hr{border:none;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment hr{border-bottom:1px solid #434343}}@media only screen and (max-width:576px){.halo-comment .author-info input{width:100%;margin-right:0;margin-bottom:5px}}@-webkit-keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e998:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SheetClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"sheets"});return this.client.get(t,Object.assign({},e))}get(e,t){const n=r.buildPath({endpointName:"sheets/"+e});return this.client.get(n,Object.assign({},t))}getBySlug(e,t){const n=r.buildPath({endpointName:"sheets/slug"});return this.client.get(n,Object.assign({slug:e},t))}listTopComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/top_view`});return this.client.get(n,Object.assign({},t))}listChildrenComments(e,t,n){const o=r.buildPath({endpointName:`sheets/${e}/comments/${t}/children`});return this.client.get(o,{sort:n})}listCommentsAsTree(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/tree_view`});return this.client.get(n,Object.assign({},t))}listComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/list_view`});return this.client.get(n,Object.assign({},t))}comment(e){const t=r.buildPath({endpointName:"sheets/comments"});return this.client.post(t,Object.assign({},e))}}t.SheetClient=o},f482:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"categories"});return this.client.get(t,Object.assign({},e))}listPostBySlug(e){const t=r.buildPath({endpointName:`categories/${e.slug}/posts`});return this.client.get(t,Object.assign({},e))}}t.CategoryClient=o},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},f9af:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"comment",class:e.commentClass,attrs:{id:"li-comment-"+e.comment.id,itemprop:"comment",itemtype:"http://schema.org/Comment"}},[n("div",{staticClass:"comment-body",attrs:{id:"comment-"+e.comment.id}},[n("div",{staticClass:"comment-avatar"},[n("a",{attrs:{href:""+(e.comment.authorUrl?e.comment.authorUrl:"javascript:void(0)"),rel:"nofollow",target:"_blank"}},[n("img",{staticClass:"avatar",attrs:{alt:e.comment.author+"'s avatar",src:e.avatar}})])]),n("div",{staticClass:"contain-main"},[n("div",{staticClass:"comment-meta"},[n("div",{staticClass:"comment-author",attrs:{itemprop:"author"}},[n("a",{staticClass:"author-name",attrs:{href:e.comment.authorUrl,rel:"nofollow",target:"_blank"}},[e._v(e._s(e.comment.author))]),n("span",{staticClass:"comment-reply",staticStyle:{cursor:"pointer"},style:e.editing?"display:block;":"",on:{click:e.handleReplyClick}},[e._v(e._s(e.editing?"取消回复":"回复"))]),e.comment.isAdmin?n("span",{staticClass:"is-admin"},[n("svg",{staticClass:"icon",attrs:{height:"14",version:"1.1",viewBox:"0 0 1024 1024",width:"14",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z m0 896c-212.032 0-384-171.968-384-384S299.968 128 512 128s384 171.968 384 384-171.968 384-384 384z m94.08-513.408L512 192.064l-94.016 190.528-210.304 30.592 152.192 148.288-35.968 209.344L512 672l188.032 98.88-35.904-209.344 152.128-148.288-210.176-30.656z",fill:"#1296db","p-id":"6998"}})])]):e._e(),e.configs.showUserAgent?n("div",{staticClass:"useragent-info"},[e._v(" "+e._s(e.compileUserAgent)+" ")]):e._e()]),n("time",{staticClass:"comment-time",attrs:{datetime:e.comment.createTime,itemprop:"datePublished"}},[e._v(e._s(e.createTimeAgo))]),n("a",{staticClass:"comment-id",attrs:{href:"#comment-"+e.comment.id}},[e._v("#"+e._s(e.comment.id))])]),n("div",{staticClass:"comment-content markdown-body",attrs:{itemprop:"description"},domProps:{innerHTML:e._s(e.compileContent)}})])]),e.editing?n("comment-editor",{attrs:{configs:e.configs,options:e.options,replyComment:e.comment,target:e.target,targetId:e.targetId}}):e._e(),e.comment.children?n("ol",{staticClass:"children"},[e._l(e.comment.children,(function(t,r){return[n("CommentNode",{key:r,attrs:{comment:t,configs:e.configs,isChild:!0,options:e.options,parent:e.comment,target:e.target,targetId:e.targetId}})]}))],2):e._e()],1)},o=[],i=(n("2af9"),n("ca00")),a=n("2b80"),s=n.n(a),u=n("0e54"),l=n.n(u),c={name:"CommentNode",props:{isChild:{type:Boolean,required:!1,default:!1},targetId:{type:Number,required:!1,default:0},target:{type:String,required:!1,default:"posts",validator:function(e){return-1!==["posts","sheets","journals"].indexOf(e)}},parent:{type:Object,required:!1},comment:{type:Object,required:!1,default:function(){}},options:{type:Object,required:!1,default:function(){}},configs:{type:Object,required:!0}},data:function(){return{editing:!1}},computed:{avatar:function(){var e=this.options.comment_gravatar_default,t=this.options.gravatar_source||"//cn.gravatar.com/avatar/";return this.comment.avatar?this.comment.avatar:"".concat(t).concat(this.comment.gravatarMd5,"?s=256&d=").concat(e)},compileContent:function(){var e="";return this.parent&&(e="[@".concat(this.parent.author,"](#comment-").concat(this.parent.id,")")),l()(e+" "+this.comment.content)},createTimeAgo:function(){return Object(i["c"])(this.comment.createTime)},compileUserAgent:function(){var e=new s.a;e.setUA(this.comment.userAgent);var t=e.getResult();return t.browser.name+" in "+t.os.name+" "+t.os.version},commentClass:function(){var e=this.isChild?" ":" index-1";return" li-comment-"+this.comment.id+e}},methods:{handleReplyClick:function(){this.editing=!this.editing}}},d=c,p=n("2877"),f=Object(p["a"])(d,r,o,!1,null,null,null,!0);t["default"]=f.exports}});