1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92888],{8392:function(e,t,n){"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:function(e,t){var n,r,a=1===e.length?i:o;return n=t.cache.create(),r=t.serializer,a.bind(this,e,n,r)})(e,{cache:n,serializer:r})}function i(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),o=t.get(i);return void 0===o&&(o=e.call(this,r),t.set(i,o)),o}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}n.r(t),n.d(t,{memoize:function(){return r},strategies:function(){return u}});var a=function(){return JSON.stringify(arguments)};function s(){this.cache=Object.create(null)}s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new s}},u={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,o.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,i.bind(this,e,n,r)}}},49963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.markdownToRichText=t.markdownToBlocks=void 0;let i=r(n(75355)),o=r(n(90182)),a=n(50823),s=r(n(11322)),l=r(n(96641));t.markdownToBlocks=function(e,t){let n=(0,i.default)().use(o.default).use(s.default).use(l.default).parse(e);return(0,a.parseBlocks)(n,t)},t.markdownToRichText=function(e,t){let n=(0,i.default)().use(o.default).use(s.default).parse(e);return(0,a.parseRichText)(n,t)}},69022:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equation=t.tableRow=t.table=t.toDo=t.numberedListItem=t.bulletedListItem=t.headingThree=t.headingTwo=t.headingOne=t.table_of_contents=t.image=t.blockquote=t.code=t.paragraph=void 0;let r=n(60285);t.paragraph=function(e){return{object:"block",type:"paragraph",paragraph:{rich_text:e}}},t.code=function(e,t="plain text"){return{object:"block",type:"code",code:{rich_text:e,language:t}}},t.blockquote=function(e=[],t=[]){return{object:"block",type:"quote",quote:{rich_text:e.length?e:[(0,r.richText)("")],children:t}}},t.image=function(e){return{object:"block",type:"image",image:{type:"external",external:{url:e}}}},t.table_of_contents=function(){return{object:"block",type:"table_of_contents",table_of_contents:{}}},t.headingOne=function(e){return{object:"block",type:"heading_1",heading_1:{rich_text:e}}},t.headingTwo=function(e){return{object:"block",type:"heading_2",heading_2:{rich_text:e}}},t.headingThree=function(e){return{object:"block",type:"heading_3",heading_3:{rich_text:e}}},t.bulletedListItem=function(e,t=[]){return{object:"block",type:"bulleted_list_item",bulleted_list_item:{rich_text:e,children:t.length?t:void 0}}},t.numberedListItem=function(e,t=[]){return{object:"block",type:"numbered_list_item",numbered_list_item:{rich_text:e,children:t.length?t:void 0}}},t.toDo=function(e,t,n=[]){return{object:"block",type:"to_do",to_do:{rich_text:t,checked:e,children:n.length?n:void 0}}},t.table=function(e,t){return{object:"block",type:"table",table:{table_width:t,has_column_header:!0,children:(null==e?void 0:e.length)?e:[]}}},t.tableRow=function(e=[]){return{object:"block",type:"table_row",table_row:{cells:e.length?e:[]}}},t.equation=function(e){return{type:"equation",equation:{expression:e}}}},60285:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupportedCodeLang=t.SUPPORTED_CODE_BLOCK_LANGUAGES=t.richText=t.LIMITS=void 0,t.LIMITS={PAYLOAD_BLOCKS:1e3,RICH_TEXT_ARRAYS:100,RICH_TEXT:{TEXT_CONTENT:2e3,LINK_URL:1e3,EQUATION_EXPRESSION:1e3}},t.richText=function(e,t={}){let n={bold:!1,strikethrough:!1,underline:!1,italic:!1,code:!1,color:"default",...t.annotations||{}};return"equation"===t.type?{type:"equation",annotations:n,equation:{expression:e}}:{type:"text",annotations:n,text:{content:e,link:t.url?{type:"url",url:t.url}:void 0}}},t.SUPPORTED_CODE_BLOCK_LANGUAGES=["abap","arduino","bash","basic","c","clojure","coffeescript","c++","c#","css","dart","diff","docker","elixir","elm","erlang","flow","fortran","f#","gherkin","glsl","go","graphql","groovy","haskell","html","java","javascript","json","julia","kotlin","latex","less","lisp","livescript","lua","makefile","markdown","markup","matlab","mermaid","nix","objective-c","ocaml","pascal","perl","php","plain text","powershell","prolog","protobuf","python","r","reason","ruby","rust","sass","scala","scheme","scss","shell","sql","swift","typescript","vb.net","verilog","vhdl","visual basic","webassembly","xml","yaml","java/c/c++/c#"],t.isSupportedCodeLang=function(e){return t.SUPPORTED_CODE_BLOCK_LANGUAGES.includes(e)}},650: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}
1,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseCodeLanguage=void 0;let a=o(n(18344));i(n(69022),t),i(n(60285),t),t.parseCodeLanguage=function(e){return e?a.default[e.toLowerCase()]:void 0}},50823: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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseRichText=t.parseBlocks=void 0;let s=o(n(650)),l=a(n(96593)),u=n(32207),c=n(650);function d(e,t){return(e.match(/[^]{1,2000}/g)||[]).flatMap(e=>s.richText(e,t))}function f(e,t){var n;let r={annotations:{...null!==(n=null==t?void 0:t.annotations)&&void 0!==n?n:{}},url:null==t?void 0:t.url};switch(e.type){case"text":return d(e.value,r);case"delete":return r.annotations.strikethrough=!0,e.children.flatMap(e=>f(e,r));case"emphasis":return r.annotations.italic=!0,e.children.flatMap(e=>f(e,r));case"strong":return r.annotations.bold=!0,e.children.flatMap(e=>f(e,r));case"link":return r.url=e.url,e.children.flatMap(e=>f(e,r));case"inlineCode":return r.annotations.code=!0,[s.richText(e.value,r)];case"inlineMath":return[s.richText(e.value,{...r,type:"equation"})];default:return[]}}t.parseBlocks=function(e,t){var n,r,i,o;let a=e.children.flatMap(e=>(function e(t,n){switch(t.type){case"heading":return[function(e){let t=e.children.flatMap(e=>f(e));switch(e.depth){case 1:return s.headingOne(t);case 2:return s.headingTwo(t);default:return s.headingThree(t)}}(t)];case"paragraph":return function(e,t){if(e.children.length>2&&"text"===e.children[0].type&&"[["===e.children[0].value&&"emphasis"===e.children[1].type&&"TOC"===e.children[1].children[0].value)return[s.table_of_contents()];let n=[],r=[];return(e.children.forEach(e=>{if("image"===e.type)n.push(function(e,t){var n;function r(){return s.paragraph([s.richText(e.url)])}try{if(null!==(n=t.strictImageUrls)&&void 0!==n&&!n)return s.image(e.url);{let t=new u.URL(e.url),n=l.default.extname(t.pathname);if([".png",".jpg",".jpeg",".gif",".tif",".tiff",".bmp",".svg",".heic"].includes(n))return s.image(e.url);return r()}}catch(e){return r()}}(e,t));else{let t=f(e);t.length&&r.push(t)}}),r.length)?[s.paragraph(r.flat()),...n]:n}(t,n);case"code":return[function(e){let t=d(e.value),n=function(e){if(e)return e=e.toLowerCase(),(0,c.isSupportedCodeLang)(e)?e:s.parseCodeLanguage(e)}(e.lang);return s.code(t,n)}(t)];case"blockquote":return[function(t,n){let r=t.children.flatMap(t=>e(t,n));return s.blockquote([],r)}(t,n)];case"list":return t.children.flatMap(r=>{let i=r.children.shift();if(void 0===i||"paragraph"!==i.type)return[];let o=i.children.flatMap(e=>f(e)),a=r.children.flatMap(t=>e(t,n));return null!==t.start&&void 0!==t.start?[s.numberedListItem(o,a)]:null!==r.checked&&void 0!==r.checked?[s.toDo(r.checked,o,a)]:[s.bulletedListItem(o,a)]});case"table":return function(e){var t;let n=(null===(t=e.children)||void 0===t?void 0:t.length)?e.children[0].children.length:0,r=e.children.flatMap(e=>(function(e){let t=e.children.flatMap(e=>[e.children.flatMap(e=>f(e))]);return[s.tableRow(t)]})(e));return[s.table(r,n)]}(t);case"math":return[function(e){let t=e.value.split("\n").join("\\\\\n");return s.equation(t)}(t)];default:return[]}})(e,t||{})),h=!!(null===(r=null===(n=null==t?void 0:t.notionLimits)||void 0===n?void 0:n.truncate)||void 0===r||r),p=null!==(o=null===(i=null==t?void 0:t.notionLimits)||void 0===i?void 0:i.onError)&&void 0!==o?o:()=>{};return a.length>c.LIMITS.PAYLOAD_BLOCKS&&p(Error(`Resulting blocks array exceeds Notion limit (${c.LIMITS.PAYLOAD_BLOCKS})`)),h?a.slice(0,c.LIMITS.PAYLOAD_BLOCKS):a},t.parseRichText=function(e,t){var n,r,i,o;let a=[];
1e.children.forEach(e=>{if("paragraph"===e.type)e.children.forEach(e=>a.push(...f(e)));else if((null==t?void 0:t.nonInline)==="throw")throw Error(`Unsupported markdown element: ${JSON.stringify(e)}`)});let s=!!(null===(r=null===(n=null==t?void 0:t.notionLimits)||void 0===n?void 0:n.truncate)||void 0===r||r),l=null!==(o=null===(i=null==t?void 0:t.notionLimits)||void 0===i?void 0:i.onError)&&void 0!==o?o:()=>{};return a.length>c.LIMITS.RICH_TEXT_ARRAYS&&l(Error(`Resulting richTexts array exceeds Notion limit (${c.LIMITS.RICH_TEXT_ARRAYS})`)),(s?a.slice(0,c.LIMITS.RICH_TEXT_ARRAYS):a).map(e=>{var t;return"text"!==e.type||(e.text.content.length>c.LIMITS.RICH_TEXT.TEXT_CONTENT&&(l(Error(`Resulting text content exceeds Notion limit (${c.LIMITS.RICH_TEXT.TEXT_CONTENT})`)),s&&(e.text.content=e.text.content.slice(0,c.LIMITS.RICH_TEXT.TEXT_CONTENT-3)+"...")),(null===(t=e.text.link)||void 0===t?void 0:t.url)&&e.text.link.url.length>c.LIMITS.RICH_TEXT.LINK_URL&&l(Error(`Resulting text URL exceeds Notion limit (${c.LIMITS.RICH_TEXT.LINK_URL})`))),e})}},71728:function(e){"use strict";e.exports=function(e){if(e)throw e}},41157:function(e){"use strict";e.exports=function(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw Error("Expected character");for(n=r.indexOf(t);-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},53419:function(e){"use strict";e.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},27396:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],f=1,h=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<h;++f)if(t=arguments[f],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(d,{name:n,newValue:e(p,c,i)})):void 0!==i&&s(d,{name:n,newValue:i}));return d}},2065:function(e,t,n){"use strict";n.r(t),n.d(t,{ErrorCode:function(){return h},FormatError:function(){return es},IntlMessageFormat:function(){return ep},InvalidValueError:function(){return el},InvalidValueTypeError:function(){return eu},MissingValueError:function(){return ec},PART_TYPE:function(){return p},default:function(){return em},formatToParts:function(){return ef},isFormatXMLElementFn:function(){return ed}});var r,i,o,a,s,l,u,c,d,f,h,p,m=n(15767),g=n(8392);function _(e){return e.type===u.literal}function v(e){return e.type===u.number}function y(e){return e.type===u.date}function b(e){return e.type===u.time}function w(e){return e.type===u.select}function E(e){return e.type===u.plural}function C(e){return e.type===u.tag}function x(e){return!!(e&&"object"==typeof e&&e.type===c.number)}function T(e){return!!(e&&"object"==typeof e&&e.type===c.dateTime)}(r=l||(l={}))[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=u||(u={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(o=c||(c={}))[o.number=0]="number",o[o.dateTime=1]="dateTime";var S=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,A=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,L=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?[rs]?$/g,O=/(\*)(0+)|(#+)(0+)|(0+)/g,P=/^(0+)$/;function j(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(I,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function R(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(e){return R(e)||{}}var N={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},D=new RegExp("^".concat(S.source,"*")),H=new RegExp("".concat(S.source,"*$"));function F(e,t){return{start:e,end:t}}var U=!!String.prototype.startsWith&&"_a".startsWith("a",1),V=!!String.fromCodePoint,G=!!Object.fromEntries,B=!!String.prototype.codePointAt,z=!!String.prototype.trimStart,$=!!String.prototype.trimEnd,Z=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},W=!0;try{var Y=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=(null===(d=Y.exec("a"))||void 0===d?void 0:d[0])==="a"}catch(e){W=!1}var X=U?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},J=V?String.fromCodePoint:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0;i>o;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");r+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return r},q=G?Object.fromEntries:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n],i=r[0],o=r[1];t[i]=o}return t},K=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0)&&!(t>=r)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536}},Q=z?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},ee=$?function(e){return e.trimEnd()}:function(e){return e.replace(H,"")};function et(e,t){return new RegExp(e,t)}if(W){var en=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");f=function(e,t){var n;return en.lastIndex=t,null!==(n=en.exec(e)[1])&&void 0!==n?n:""}}else f=function(e,t){for(var n=[];;){var r,i=K(e,t);if(void 0===i||eo(i)||(r=i)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>
1=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(i),t+=i>=65536?2:1}return J.apply(void 0,n)};var er=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(e,n);if(o.err)return o;r.push(o.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var a=this.clonePosition();this.bump(),r.push({type:u.pound,location:F(a,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ei(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;r.push(o.val)}else{var o=this.parseLiteral(e,t);if(o.err)return o;r.push(o.val)}}else{if(!n)return this.error(l.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()));break}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:u.literal,value:"<".concat(r,"/>"),location:F(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(l.INVALID_TAG,F(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(l.UNCLOSED_TAG,F(n,this.clonePosition()));if(this.isEOF()||!ei(this.char()))return this.error(l.INVALID_TAG,F(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,F(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:u.tag,value:r,children:o,location:F(n,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,F(a,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){r+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var s=F(n,this.clonePosition());return{val:{type:u.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ei(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return J.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),J(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,F(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(l.MALFORMED_ARGUMENT,F(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:u.argument,value:r,location:F(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));return this.parseArgumentOptions(e,t,r,n);default:return this.error(l.MALFORMED_ARGUMENT,F(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=f(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:F(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,F(o,s));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var p=ee(h.val);if(0===p.length)return this.error(l.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));d={style:p,styleLocation:F(f,this.clonePosition())}}var g=this.tryParseArgumentClose(r);if(g.err)return g;var _=F(r,this.clonePosition());if(d&&X(null==d?void 0:d.style,"::",0)){var v,y=Q(d.style.slice(2));if("number"===a){var h=this.parseNumberSkeletonFromString(y,d.styleLocation);if(h.err)return h;return{val:{type:u.number,value:n,location:_,style:h.val},err:null}}if(0===y.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,_);var b=y;this.locale&&(b=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var r=e.language;return"root"!==r&&(t=e.maximize().region),(N[t||""]||N[r||""]||N["".concat(r,"-001")]||N["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else"J"===i?n+="H":n+=i}return n}(y,this.locale));var p={type:c.dateTime,pattern:b,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},b.replace(k,function(e){var t=e.length;switch(e[0]){case"G":v.era=4===t?"long":5===t?"narrow":"short";break;case"y":v.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":v.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":v.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":v.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"a":v.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":v.hourCycle="h12",v.hour=["numeric","2-digit"][t-1];break;case"H":v.hourCycle="h23",v.hour=["numeric","2-digit"][t-1];break;case"K":v.hourCycle="h11",v.hour=["numeric","2-digit"][t-1];break;case"k":v.hourCycle="h24",v.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":v.minute=["numeric","2-digit"][t-1];break;case"s":v.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":v.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),v):{}};return{val:{type:"date"===a?u.date:u.time,value:n,location:_,style:p},err:null}}return{val:{type:"number"===a?u.number:"date"===a?u.date:u.time,value:n,location:_,style:null!==(i=null==d?void 0:d.style)&&void 0!==i?i:null},err:null};
1case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,F(w,(0,m.pi)({},w)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),C=0;if("select"!==a&&"offset"===E.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),E=this.parseIdentifierIfPossible(),C=h.val}var x=this.tryParsePluralOrSelectOptions(e,a,t,E);if(x.err)return x;var g=this.tryParseArgumentClose(r);if(g.err)return g;var T=F(r,this.clonePosition());if("select"===a)return{val:{type:u.select,value:n,options:q(x.val),location:T},err:null};return{val:{type:u.plural,value:n,options:q(x.val),offset:C,pluralType:"plural"===a?"cardinal":"ordinal",location:T},err:null};default:return this.error(l.INVALID_ARGUMENT_TYPE,F(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(A).filter(function(e){return e.length>0}),n=[],r=0;r<t.length;r++){var i=t[r].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0;s<a.length;s++)if(0===a[s].length)throw Error("Invalid number skeleton");n.push({stem:o,options:a})}return n}(e)}catch(e){return this.error(l.INVALID_NUMBER_SKELETON,t)}return{val:{type:c.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"scientific"}),r.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),R(t)||{})},{}));continue;case"engineering":t=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"engineering"}),r.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),R(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(O,function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(P.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(L.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(L,function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=r.options[0];"w"===i?t=(0,m.pi)((0,m.pi)({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=(0,m.pi)((0,m.pi)({},t),j(i)));continue}if(I.test(r.stem)){t=(0,m.pi)((0,m.pi)({},t),j(r.stem));continue}var o=R(r.stem);o&&(t=(0,m.pi)((0,m.pi)({},t),o));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!P.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);a&&(t=(0,m.pi)((0,m.pi)({},t),a))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,a=[],s=new Set,u=r.value,c=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_SELECTOR,l.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=F(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(s.has(u))return this.error("select"===t?l.DUPLICATE_SELECT_ARGUMENT_SELECTOR:l.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:l.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(h);if(m.err)return m;a.push([u,{value:p.val,location:F(h,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR:l.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(l.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=F(r,this.clonePosition());return i?Z(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=K(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(X(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function eo(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ea(e,t){void 0===t&&(t={});var n=new er(e,t=(0,m.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(l[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,w(t)||E(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else v(t)&&x(t.style)?delete t.style.location:(y(t)||b(t))&&T(t.style)?delete t.style.location:C(t)&&e(t.children)})}(n.val),n.val}
1(a=h||(h={})).MISSING_VALUE="MISSING_VALUE",a.INVALID_VALUE="INVALID_VALUE",a.MISSING_INTL_API="MISSING_INTL_API";var es=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,m.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),el=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),h.INVALID_VALUE,i)||this}return(0,m.ZT)(t,e),t}(es),eu=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),h.INVALID_VALUE,r)||this}return(0,m.ZT)(t,e),t}(es),ec=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),h.MISSING_VALUE,n)||this}return(0,m.ZT)(t,e),t}(es);function ed(e){return"function"==typeof e}function ef(e,t,n,r,i,o,a){if(1===e.length&&_(e[0]))return[{type:p.literal,value:e[0].value}];for(var s=[],l=0;l<e.length;l++){var c=e[l];if(_(c)){s.push({type:p.literal,value:c.value});continue}if(c.type===u.pound){"number"==typeof o&&s.push({type:p.literal,value:n.getNumberFormat(t).format(o)});continue}var d=c.value;if(!(i&&d in i))throw new ec(d,a);var f=i[d];if(c.type===u.argument){f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?p.literal:p.object,value:f});continue}if(y(c)){var m="string"==typeof c.style?r.date[c.style]:T(c.style)?c.style.parsedOptions:void 0;s.push({type:p.literal,value:n.getDateTimeFormat(t,m).format(f)});continue}if(b(c)){var m="string"==typeof c.style?r.time[c.style]:T(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:p.literal,value:n.getDateTimeFormat(t,m).format(f)});continue}if(v(c)){var m="string"==typeof c.style?r.number[c.style]:x(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(f*=m.scale||1),s.push({type:p.literal,value:n.getNumberFormat(t,m).format(f)});continue}if(C(c)){var g=c.children,S=c.value,k=i[S];if(!ed(k))throw new eu(S,"function",a);var A=k(ef(g,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(A)||(A=[A]),s.push.apply(s,A.map(function(e){return{type:"string"==typeof e?p.literal:p.object,value:e}}))}if(w(c)){var L=c.options[f]||c.options.other;if(!L)throw new el(c.value,f,Object.keys(c.options),a);s.push.apply(s,ef(L.value,t,n,r,i));continue}if(E(c)){var L=c.options["=".concat(f)];if(!L){if(!Intl.PluralRules)throw new es('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',h.MISSING_INTL_API,a);var I=n.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));L=c.options[I]||c.options.other}if(!L)throw new el(c.value,f,Object.keys(c.options),a);s.push.apply(s,ef(L.value,t,n,r,i,f-(c.offset||0)));continue}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===p.literal&&t.type===p.literal?n.value+=t.value:e.push(t),e},[])}function eh(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(s=p||(p={}))[s.literal=0]="literal",s[s.object=1]="object";var ep=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var o,a,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===p.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return ef(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=s.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=i||{},u=(l.formatters,(0,m._T)(l,["formatters"]));this.ast=e.__parse(t,(0,m.pi)((0,m.pi)({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(o=e.formats,r?Object.keys(o).reduce(function(e,t){var n,i;return e[t]=(n=o[t],(i=r[t])?(0,m.pi)((0,m.pi)((0,m.pi)({},n||{}),i||{}
1),Object.keys(n).reduce(function(e,t){return e[t]=(0,m.pi)((0,m.pi)({},n[t]),i[t]||{}),e},{})):n),e},(0,m.pi)({},o)):o),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,g.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eh(a.number),strategy:g.strategies.variadic}),getDateTimeFormat:(0,g.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eh(a.dateTime),strategy:g.strategies.variadic}),getPluralRules:(0,g.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eh(a.pluralRules),strategy:g.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=ea,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),em=ep},69965:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},44291:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},87269:function(e,t,n){var r=n(47758)(n(29165),"DataView");e.exports=r},88987:function(e,t,n){var r=n(71519),i=n(82999),o=n(76111),a=n(50506),s=n(80845);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},175:function(e,t,n){var r=n(2173),i=n(33752),o=n(10548),a=n(63410),s=n(3564);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},35922:function(e,t,n){var r=n(47758)(n(29165),"Map");e.exports=r},9440:function(e,t,n){var r=n(7140),i=n(56504),o=n(88833),a=n(80953),s=n(70724);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},6795:function(e,t,n){var r=n(47758)(n(29165),"Promise");e.exports=r},81956:function(e,t,n){var r=n(47758)(n(29165),"Set");e.exports=r},78188:function(e,t,n){var r=n(9440),i=n(96659),o=n(97230);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},5929:function(e,t,n){var r=n(175),i=n(40551),o=n(4090),a=n(47694),s=n(86220),l=n(68958);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},74396:function(e,t,n){var r=n(29165).Symbol;e.exports=r},92210:function(e,t,n){var r=n(29165).Uint8Array;e.exports=r},69477:function(e,t,n){var r=n(47758)(n(29165),"WeakMap");e.exports=r},48969:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},79809:function(e,t,n){var r=n(39739),i=n(30353),o=n(24669),a=n(61563),s=n(91010),l=n(73806),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),f=!n&&!c&&!
1d&&l(e),h=n||c||d||f,p=h?r(e.length,String):[],m=p.length;for(var g in e)(t||u.call(e,g))&&!(h&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m)))&&p.push(g);return p}},75697:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},28486:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},84330:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},93719:function(e,t,n){var r=n(30404),i=n(42448),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},62718:function(e,t,n){var r=n(42448);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},30404:function(e,t,n){var r=n(34082);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},97499:function(e,t,n){var r=n(60399),i=n(77817);e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},38084:function(e,t,n){var r=n(28486),i=n(24669);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},80732:function(e,t,n){var r=n(74396),i=n(31239),o=n(57058),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},71664:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},84742:function(e,t,n){var r=n(80732),i=n(55073);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},6620:function(e,t,n){var r=n(83977),i=n(55073);e.exports=function e(t,n,o,a,s){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,a,e,s):t!=t&&n!=n)}},83977:function(e,t,n){var r=n(5929),i=n(22684),o=n(7456),a=n(18120),s=n(81887),l=n(24669),u=n(61563),c=n(73806),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,_){var v=l(e),y=l(t),b=v?f:s(e),w=y?f:s(t);b=b==d?h:b,w=w==d?h:w;var E=b==h,C=w==h,x=b==w;if(x&&u(e)){if(!u(t))return!1;v=!0,E=!1}if(x&&!E)return _||(_=new r),v||c(e)?i(e,t,n,m,g,_):o(e,t,b,n,m,g,_);if(!(1&n)){var T=E&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");
1if(T||S){var k=T?e.value():e,A=S?t.value():t;return _||(_=new r),g(k,A,n,m,_)}}return!!x&&(_||(_=new r),a(e,t,n,m,g,_))}},27122:function(e,t,n){var r=n(5929),i=n(6620);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}},58939:function(e,t,n){var r=n(92042),i=n(90654),o=n(36838),a=n(51059),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},22882:function(e,t,n){var r=n(80732),i=n(17216),o=n(55073),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},5673:function(e,t,n){var r=n(3772),i=n(30493),o=n(48148),a=n(24669),s=n(51798);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},87473:function(e,t,n){var r=n(92963),i=n(14457),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},52506:function(e,t,n){var r=n(36838),i=n(92963),o=n(10814),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}},3772:function(e,t,n){var r=n(27122),i=n(67487),o=n(78857);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},30493:function(e,t,n){var r=n(6620),i=n(65439),o=n(28281),a=n(2610),s=n(92769),l=n(78857),u=n(77817);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},32648:function(e,t,n){var r=n(97499),i=n(85713),o=n(60399);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var u=t[a],c=r(e,u);n(c,u)&&i(l,o(u,e),c)}return l}},17498:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},71e3:function(e,t,n){var r=n(97499);e.exports=function(e){return function(t){return r(t,e)}}},85713:function(e,t,n){var r=n(93719),i=n(60399),o=n(91010),a=n(36838),s=n(77817);e.exports=function(e,t,n,l){if(!a(e))return e;t=i(t,e);for(var u=-1,c=t.length,d=c-1,f=e;null!=f&&++u<c;){var h=s(t[u]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var m=f[h];void 0===(p=l?l(m,h,f):void 0)&&(p=a(m)?m:o(t[u+1])?[]:{})}r(f,h,p),f=f[h]}return e}},39739:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},73150:function(e,t,n){var r=n(74396),i=n(75697),o=n(24669),a=n(16764),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},58792:function(e){e.exports=function(e){return function(t){return e(t)}}},29880:function(e){e.exports=function(e,t){return e.has(t)}},60399:function(e,t,n){var r=n(24669),i=n(2610),o=n(77057),a=n(8389);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},36633:function(e,t,n){var r=n(29165)["__core-js_shared__"];e.exports=r},34082:function(e,t,n){var r=n(47758),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},22684:function(e,t,n){var r=n(78188),i=n(84330),o=n(29880);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var _=e[p],v=t[p];if(a)var y=u?a(v,_,p,t,e,l):a(_,v,p,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(_===e||s(_,e,n,a,l)))return g.push(t)})){m=!1;break}}else if(!(_===v||s(_,v,n,a,l))){m=!1;break}}return l.delete(e),l.delete(t),m}},7456:function(e,t,n){var r=n(74396),i=n(92210),o=n(42448),a=n(22684),s=n(7523),l=n(79967),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)break;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(h(e),h(t),r,u,d,f);return f.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},18120:function(e,t,n){var r=n(69698),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in t:i.call(t,f)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<c;){var _=e[f=u[d]],v=t[f];if(o)var y=l?o(v,_,f,t,e,s):o(_,v,f,e,t,s);if(!(void 0===y?_===v||a(_,v,n,o,s):y)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(m=!1)}return s.delete(e),s.delete(t),m}},96476:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},69698:function(e,t,n){var r=n(38084),i=n(97482),o=n(50579);e.exports=function(e){return r(e,o,i)}},21699:function(e,t,n){var r=n(38084),i=n(41288),o=n(37390);e.exports=function(e){return r(e,o,i)}},67707:function(e,t,n){var r=n(3880);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},67487:function(e,t,n){var r=n(92769),i=n(50579);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},47758:function(e,t,n){var r=n(58939),i=n(9149);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},11389:function(e,t,n){var r=n(75542)(Object.getPrototypeOf,Object);e.exports=r},31239:function(e,t,n){var r=n(74396),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},97482:function(e,t,n){var r=n(48969),i=n(68036),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},41288:function(e,t,n){var r=n(28486),i=n(11389),o=n(97482),a=n(68036),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},81887:function(e,t,n){var r=n(87269),i=n(35922),o=n(6795),a=n(81956),s=n(69477),l=n(80732),u=n(51059),c="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=u(r),g=u(i),_=u(o),v=u(a),y=u(s),b=l;
1(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=c||o&&b(o.resolve())!=d||a&&b(new a)!=f||s&&b(new s)!=h)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return p;case g:return c;case _:return d;case v:return f;case y:return h}return t}),e.exports=b},9149:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},18554:function(e,t,n){var r=n(60399),i=n(30353),o=n(24669),a=n(91010),s=n(17216),l=n(77817);e.exports=function(e,t,n){t=r(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var f=l(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},71519:function(e,t,n){var r=n(37722);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},82999:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},76111:function(e,t,n){var r=n(37722),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},50506:function(e,t,n){var r=n(37722),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},80845:function(e,t,n){var r=n(37722);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},91010:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},2610:function(e,t,n){var r=n(24669),i=n(16764),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},3880:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},90654:function(e,t,n){var r,i=n(36633),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},92963:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},92769:function(e,t,n){var r=n(36838);e.exports=function(e){return e==e&&!r(e)}},2173:function(e){e.exports=function(){this.__data__=[],this.size=0}},33752:function(e,t,n){var r=n(62718),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},10548:function(e,t,n){var r=n(62718);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},63410:function(e,t,n){var r=n(62718);e.exports=function(e){return r(this.__data__,e)>-1}},3564:function(e,t,n){var r=n(62718);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},7140:function(e,t,n){var r=n(88987),i=n(175),o=n(35922);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},56504:function(e,t,n){var r=n(67707);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},88833:function(e,t,n){var r=n(67707);e.exports=function(e){return r(this,e).get(e)}},80953:function(e,t,n){var r=n(67707);e.exports=function(e){return r(this,e).has(e)}},70724:function(e,t,n){var r=n(67707);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},7523:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},78857:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},45171:function(e,t,n){var r=n(34736);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},37722:function(e,t,n){var r=n(47758)(Object,"create");e.exports=r},14457:function(e,t,n){var r=n(75542)(Object.keys,Object);e.exports=r},10814:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},8478:function(e,t,n){e=n.nmd(e);var r=n(96476),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").t
1ypes;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},57058:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},75542:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},29165:function(e,t,n){var r=n(96476),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},96659:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},97230:function(e){e.exports=function(e){return this.__data__.has(e)}},79967:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},40551:function(e,t,n){var r=n(175);e.exports=function(){this.__data__=new r,this.size=0}},4090:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},47694:function(e){e.exports=function(e){return this.__data__.get(e)}},86220:function(e){e.exports=function(e){return this.__data__.has(e)}},68958:function(e,t,n){var r=n(175),i=n(35922),o=n(9440);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},77057:function(e,t,n){var r=n(45171),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},77817:function(e,t,n){var r=n(16764),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},51059:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},42448:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},65439:function(e,t,n){var r=n(97499);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},28281:function(e,t,n){var r=n(71664),i=n(18554);e.exports=function(e,t){return null!=e&&i(e,t,r)}},48148:function(e){e.exports=function(e){return e}},30353:function(e,t,n){var r=n(84742),i=n(55073),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},24669:function(e){var t=Array.isArray;e.exports=t},47428:function(e,t,n){var r=n(92042),i=n(17216);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},61563:function(e,t,n){e=n.nmd(e);var r=n(29165),i=n(84193),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},92042:function(e,t,n){var r=n(80732),i=n(36838);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},17216:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},46207:function(e){e.exports=function(e){return null==e}},36838:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55073:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},16764:function(e,t,n){var r=n(80732),i=n(55073);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},73806:function(e,t,n){var r=n(22882),i=n(58792),o=n(8478),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},50579:function(e,t,n){var r=n(79809),i=n(87473),o=n(47428);e.exports=function(e){return o(e)?r(e):i(e)}},37390:function(e,t,n){var r=n(79809),i=n(52506),o=n(47428);e.exports=function(e){return o(e)?r(e,!0):i(e)}},34736:function(e,t,n){var r=n(9440);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},2226:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},24465:function(e,t,n){var r=n(5673),i=n(2226),o=n(12557);e.exports=function(e,t){return o(e,i(r(t)))}},12557:function(e,t,n){var r=n(75697),i=n(5673),o=n(32648),a=n(21699);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),function(e){return[e]});return t=i(t),o(e,n,function(e,n){return t(e,n[0])})}},51798:function(e,t,n){var r=n(17498),i=n(71e3),o=n(2610),a=n(77817);e.exports=function(e){return o(e)?r(a(e)):i(e)}},68036:function(e){e.exports=function(){return[]}},84193:function(e){e.exports=function(){return!1}},8389:function(e,t,n){var r=n(73150);e.exports=function(e){return null==e?"":r(e)}},89778:function(e){"use strict";e.exports=function(e,t){var n,r,i=0,o=0;if("string"!=typeof t||1!==t.length)throw Error("Expected character");for(n=r=(e=String(e)).indexOf(t);-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}},69615:function(e,t,n){"use strict";var r=n(11455);e.exports=function(e,t){for(var n,s,l,u,c,d,f,h,p,m,g,_,v=t||{},y=!1!==v.padding,b=!1!==v.delimiterStart,w=!1!==v.delimiterEnd,E=(v.align||[]).concat(),C=!1!==v.alignDelimiters,x=[],T=v.stringLength||o,S=-1,k=e.length,A=[],L=[],I=[],O=[],P=[],j=0;++S<k;){for(s=e[S],l=-1,u=s.length,I=[],O=[],u>j&&(j=u);++l<u;)f=null==(n=s[l])?"":String(n),!0===C&&(d=T(f),O[l]=d,(void 0===(c=P[l])||d>c)&&(P[l]=d)),I.push(f);A[S]=I,L[S]=O}if(l=-1,u=j,"object"==typeof E&&"length"in E)for(;++l<u;)x[l]=a(E[l]);else for(_=a(E);++l<u;)x[l]=_;for(l=-1,u=j,I=[],O=[];++l<u;)_=x[l],m="",g="",108===_?m=":":114===_?g=":":99===_&&(m=":",g=":"),d=C?Math.max(1,P[l]-m.length-g.length):1,f=m+r("-",d)+g,!0===C&&((d=m.length+d+g.length)>P[l]&&(P[l]=d),O[l]=d),I[l]=f;for(A.splice(1,0,I),L.splice(1,0,O),S=-1,k=A.length,h=[];++S<k;){for(I=A[S],O=L[S],l=-1,u=j,p=[];++l<u;)f=I[l]||"",m="",g="",!0===C&&(d=P[l]-(O[l]||0),114===(_=x[l])?m=r(" ",d):99===_?d%2==0?g=m=r(" ",d/2):(m=r(" ",d/2+.5),g=r(" ",d/2-.5)):g=r(" ",d)),!0===b&&0===l&&p.push("|"),!0!==y||!1===C&&""===f||!0!==b&&0===l||p.push(" "),!0===C&&p.push(m),p.push(f),!0===C&&p.push(g),!0===y&&p.push(" "),(!0===w||l!==u-1)&&p.push("|");p=p.join(""),!1===w&&(p=p.replace(i,"")),h.push(p)}return h.join("\n")};var i=/ +$/;function o(e){return e.length}function a(e){var t="string"==typeof e?e.charCodeAt(0):0;return 76===t||108===t?108:82===t||114===t?114:67===t||99===t?99:0}},13347:function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o;return"string"==typeof t||t&&"function"==typeof t.exec?o=[[t,n]]:(o=t,r=n),s(e,i=r||{},function e(t){var n=t[0];return function(r,o){var l,u,c,d,f=n[0],h=n[1],p=[],m=0,g=o.children.indexOf(r);for(f.lastIndex=0,u=f.exec(r.value);u&&(l=u.index,!1!==(d=h.apply(null,[].concat(u,{index:u.index,input:u.input})))&&(m!==l&&p.push({type:"text",value:r.value.slice(m,l)}),"string"==typeof d&&d.length>0&&(d={type:"text",value:d}),d&&(p=[].concat(p,d)),m=l+u[0].length),f.global);)u=f.exec(r.value);
1if(void 0===l?(p=[r],g--):(m<r.value.length&&p.push({type:"text",value:r.value.slice(m)}),p.unshift(g,1),a.apply(o.children,p)),t.length>1)for(c=e(t.slice(1)),l=-1;++l<p.length;)"text"===(r=p[l]).type?c(r,o):s(r,i,c);return g+p.length+1}}(function(e){var t,n,r=[];if("object"!=typeof e)throw Error("Expected array or object as schema");if("length"in e)for(n=-1;++n<e.length;)r.push([l(e[n][0]),u(e[n][1])]);else for(t in e)r.push([l(t),u(e[t])]);return r}(o))),e};var r=n(85112),i=n(43302),o=n(53419),a=[].splice;function s(e,t,n){var o=i(t.ignore||[]);return r(e,"text",function(e,t){for(var r,i,a=-1;++a<t.length;){if(o(r=t[a],i?i.children.indexOf(r):void 0,i))return;i=r}return n(e,i)}),[]}function l(e){return"string"==typeof e?RegExp(o(e),"g"):e}function u(e){return"function"==typeof e?e:function(){return e}}},49826:function(e,t,n){"use strict";e.exports=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t=function(e,t){for(var n=-1;++n<t.length;)(function(e,t){var n,r;for(n in t)r=o.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])})(e,t[n]);return e}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(k),autolinkProtocol:y,autolinkEmail:y,atxHeading:h(x),blockQuote:h(function(){return{type:"blockquote",children:[]}}),characterEscape:y,characterReference:y,codeFenced:h(C),codeFencedFenceInfo:p,codeFencedFenceMeta:p,codeIndented:h(C,p),codeText:h(function(){return{type:"inlineCode",value:""}},p),codeTextData:y,data:y,codeFlowValue:y,definition:h(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:p,definitionLabelString:p,definitionTitleString:p,emphasis:h(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:h(T),hardBreakTrailing:h(T),htmlFlow:h(S,p),htmlFlowData:y,htmlText:h(S,p),htmlTextData:y,image:h(function(){return{type:"image",title:null,url:"",alt:null}}),label:p,link:h(k),listItem:h(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:h(A,function(){n.expectingFirstListItemValue=!0}),listUnordered:h(A),paragraph:h(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:p,resourceDestinationString:p,resourceTitleString:p,setextHeading:h(x),strong:h(function(){return{type:"strong",children:[]}}),thematicBreak:h(function(){return{type:"thematicBreak"}})},exit:{atxHeading:g(),atxHeadingSequence:function(e){this.stack[this.stack.length-1].depth||(this.stack[this.stack.length-1].depth=this.sliceSerialize(e).length)},autolink:g(),autolinkEmail:function(e){b.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){b.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:g(),characterEscapeValue:b,characterReferenceMarkerHexadecimal:E,characterReferenceMarkerNumeric:E,characterReferenceValue:function(e){var t,r,i=this.sliceSerialize(e),o=n.characterReferenceType;o?(t=s(i,"characterReferenceMarkerNumeric"===o?10:16),n.characterReferenceType=void 0):t=d(i),r=this.stack.pop(),r.value+=t,r.position.end=c(e.end)},codeFenced:g(function(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){var e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){var e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:b,codeIndented:g(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),codeText:g(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:b,data:b,definition:g(),definitionDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:g(),hardBreakEscape:g(w),hardBreakTrailing:g(w),htmlFlow:g(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:b,htmlText:g(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:b,image:g(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),label:function(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,n.inReference=!0,"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t},labelText:function(e){this.stack[this.stack.length-2].identifier=a(this.sliceSerialize(e)).toLowerCase()},lineEnding:function(e){var r=this.stack[this.stack.length-1];if(n.atHardBreak){r.children[r.children.length-1].position.end=c(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.indexOf(r.type)>-1&&(y.call(this,e),b.call(this,e))},link:g(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:g(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:g(),thematicBreak:g()}},(e||{}).mdastExtensions||[]),n={};return function(e){for(var n,r,a={type:"root",children:[]},s=[],d=[],h=-1,g={stack:[a],tokenStack:s,config:t,enter:m,exit:_,buffer:p,resume:v,setData:l,getData:u};++h<e.length;)("listOrdered"===e[h][1].type||"listUnordered"===e[h][1].type)&&("enter"===e[h][0]?d.push(h):h=function(e,t,n){for(var r,i,o,a,s,l,u,d=t-1,f=-1,h=!1;++d<=n;)if("listUnordered"===(s=e[d])[1].type||"listOrdered"===s[1].type||"blockQuote"===s[1].type?("enter"===s[0]?f++:f--,u=void 0):"lineEndingBlank"===s[1].type?"enter"
1===s[0]&&(!r||u||f||l||(l=d),u=void 0):"linePrefix"===s[1].type||"listItemValue"===s[1].type||"listItemMarker"===s[1].type||"listItemPrefix"===s[1].type||"listItemPrefixWhitespace"===s[1].type||(u=void 0),!f&&"enter"===s[0]&&"listItemPrefix"===s[1].type||-1===f&&"exit"===s[0]&&("listUnordered"===s[1].type||"listOrdered"===s[1].type)){if(r){for(i=d,o=void 0;i--;)if("lineEnding"===(a=e[i])[1].type||"lineEndingBlank"===a[1].type){if("exit"===a[0])continue;o&&(e[o][1].type="lineEndingBlank",h=!0),a[1].type="lineEnding",o=i}else if("linePrefix"===a[1].type||"blockQuotePrefix"===a[1].type||"blockQuotePrefixWhitespace"===a[1].type||"blockQuoteMarker"===a[1].type||"listItemIndent"===a[1].type);else break;l&&(!o||l<o)&&(r._spread=!0),r.end=c(o?e[o][1].start:s[1].end),e.splice(o||d,0,["exit",r,s[2]]),d++,n++}"listItemPrefix"===s[1].type&&(r={type:"listItem",_spread:!1,start:c(s[1].start)},e.splice(d,0,["enter",r,s[2]]),d++,n++,l=void 0,u=!0)}return e[t][1]._spread=h,n}(e,r=d.pop(h),h));for(h=-1;++h<e.length;)n=t[e[h][0]],o.call(n,e[h][1].type)&&n[e[h][1].type].call(i({sliceSerialize:e[h][2].sliceSerialize},g),e[h][1]);if(s.length)throw Error("Cannot close document, a token (`"+s[s.length-1].type+"`, "+f({start:s[s.length-1].start,end:s[s.length-1].end})+") is still open");for(a.position={start:c(e.length?e[0][1].start:{line:1,column:1,offset:0}),end:c(e.length?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)a=t.transforms[h](a)||a;return a};function l(e,t){n[e]=t}function u(e){return n[e]}function c(e){return{line:e.line,column:e.column,offset:e.offset}}function h(e,t){return function(n){m.call(this,e(n),n),t&&t.call(this,n)}}function p(){this.stack.push({type:"fragment",children:[]})}function m(e,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push(t),e.position={start:c(t.start)},e}function g(e){return function(t){e&&e.call(this,t),_.call(this,t)}}function _(e){var t=this.stack.pop(),n=this.tokenStack.pop();if(n){if(n.type!==e.type)throw Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+f({start:n.start,end:n.end})+") is open")}else throw Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): itâs not open");return t.position.end=c(e.end),t}function v(){return r(this.stack.pop())}function y(e){var t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:c(e.start)},this.stack[this.stack.length-1].children.push(n)),this.stack.push(n)}function b(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=c(e.end)}function w(){n.atHardBreak=!0}function E(e){var t;t=e.type,n.characterReferenceType=t}function C(){return{type:"code",lang:null,meta:null,value:""}}function x(){return{type:"heading",depth:void 0,children:[]}}function T(){return{type:"break"}}function S(){return{type:"html",value:""}}function k(){return{type:"link",title:null,url:"",children:[]}}function A(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(c(l(n).document().write(u()(e,t,!0))))};var r=n(30554),i=n(59271),o=n(31135),a=n(44574),s=n(69015),l=n(69725),u=n(60892),c=n(6962),d=n(93026),f=n(48491)},66174:function(e,t,n){"use strict";e.exports=n(49826)},31381:function(e,t,n){var r=n(41157),i=n(13347),o=n(85543),a=n(97476);function s(e){this.config.enter.autolinkProtocol.call(this,e)}function l(e,t,n,i,o){var a,s,l,u="";return!!c(o)&&(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!((a=n.split(".")).length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))&&!!(s=function(e){var t,n,i,o=/[!"&'),.:;<>?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),t=(o=o[0]).indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),t=(o=o.slice(t+1)).indexOf(")"),i++;return[e,o]}(n+i))[0]&&(l={type:"link",title:null,url:u+t+s[0],children:[{type:"text",value:t+s[0]}]},s[1]&&(l=[l,{type:"text",value:s[1]}]),l))}function u(e,t,n,r){return!(!c(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function c(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,l],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,u]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:s,literalAutolinkHttp:s,literalAutolinkWww:s},t.exit={literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},87052:function(e,t){var n="phrasing",r=["autolink","link","image","label"];t.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:":",before:"[ps]",after:"\\/",inConstruct:n,notInConstruct:r}]},75253:function(e,t){t.canContainEols=["delete"],t.enter={strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},t.exit={strikethrough:function(e){this.exit(e)}}},76950:function(e,t,n){var r=n(87717);
1function i(e,t,n){var i=n.enter("emphasis"),o=r(e,n,{before:"~",after:"~"});return i(),"~~"+o+"~~"}t.unsafe=[{character:"~",inConstruct:"phrasing"}],t.handlers={delete:i},i.peek=function(){return"~"}},41210:function(e,t){function n(e){this.exit(e)}function r(e){this.enter({type:"tableCell",children:[]},e)}function i(e,t){return"|"===t?t:e}t.enter={table:function(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:r,tableHeader:r,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,i)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:n,tableHeader:n,tableRow:n}},19801:function(e,t,n){var r=n(87717),i=n(77047),o=n(69615);e.exports=function(e){var t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,s=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n){return c(function(e,t){for(var n=e.children,r=-1,i=n.length,o=[],a=t.enter("table");++r<i;)o[r]=d(n[r],t);return a(),o}(e,n),e.align)},tableRow:function(e,t,n){var r=c([d(e,n)]);return r.slice(0,r.indexOf("\n"))},tableCell:u,inlineCode:function(e,t,n){var r=i(e,t,n);return -1!==n.stack.indexOf("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function u(e,t,n){var i=n.enter("tableCell"),o=r(e,n,{before:l,after:l});return i(),o}function c(e,t){return o(e,{align:t,alignDelimiters:a,padding:n,stringLength:s})}function d(e,t){for(var n=e.children,r=-1,i=n.length,o=[],a=t.enter("tableRow");++r<i;)o[r]=u(n[r],e,t);return a(),o}}},25441:function(e,t){function n(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}t.exit={taskListCheckValueChecked:n,taskListCheckValueUnchecked:n,paragraph:function(e){var t,n=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],i=n.children,o=r.children[0],a=-1;if(n&&"listItem"===n.type&&"boolean"==typeof n.checked&&o&&"text"===o.type){for(;++a<i.length;)if("paragraph"===i[a].type){t=i[a];break}t===r&&(o.value=o.value.slice(1),0===o.value.length?r.children.shift():(o.position.start.column++,o.position.start.offset++,r.position.start=Object.assign({},o.position.start)))}this.exit(e)}}},77333:function(e,t,n){var r=n(59181);t.unsafe=[{atBreak:!0,character:"-",after:"[:|-]"}],t.handlers={listItem:function(e,t,n){var i=r(e,t,n),o=e.children[0];return"boolean"==typeof e.checked&&o&&"paragraph"===o.type&&(i=i.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+"["+(e.checked?"x":" ")+"] "})),i}}},92409:function(e,t,n){var r=n(31381),i=n(75253),o=n(41210),a=n(25441),s={}.hasOwnProperty;e.exports=function(e){for(var t={transforms:[],canContainEols:[]},n=e.length,r=-1;++r<n;)!function(e,t){var n,r,i;for(n in t)r=s.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,i):Object.assign(r,i)}(t,e[r]);return t}([r,i,o,a])},73857:function(e,t,n){var r=n(87052),i=n(76950),o=n(19801),a=n(77333),s=n(80977);e.exports=function(e){var t=s({handlers:{},join:[],unsafe:[],options:{}},{extensions:[r,i,o(e),a]});return Object.assign(t.options,{handlers:t.handlers,join:t.join,unsafe:t.unsafe})}},26633:function(e,t){"use strict";function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}t.enter={mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},e),this.buffer()}},t.exit={mathFlow:function(e){var t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t,this.setData("mathFlowInside")},mathFlowFence:function(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))},mathFlowFenceMeta:function(){var e=this.resume();this.stack[this.stack.length-1].meta=e},mathFlowValue:n,mathText:function(e){var t=this.resume(),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t},mathTextData:n}},34678:function(e,t,n){"use strict";t.unsafe=[{character:"\r",inConstruct:["mathFlowMeta"]},{character:"\r",inConstruct:["mathFlowMeta"]},{character:"$",inConstruct:["mathFlowMeta","phrasing"]},{atBreak:!0,character:"$",after:"\\$"}],t.handlers={math:function(e,t,n){var a,s=e.value||"",l=r("$",Math.max(i(s,"$")+1,2)),u=n.enter("mathFlow"),c=l;return e.meta&&(a=n.enter("mathFlowMeta"),c+=o(n,e.meta,{before:"$",after:" ",encode:["$"]}),a()),c+="\n",s&&(c+=s+"\n"),c+=l,u(),c},inlineMath:a},a.peek=function(){return"$"};var r=n(11455),i=n(89778),o=n(65440);function a(e){for(var t,n=e.value||"",i=1,o="";RegExp("(^|[^$])"+r("\\$",i)+"([^$]|$)").test(n);)i++;return/[^ \r\n]/.test(n)&&(/[ \r\n$]/.test(n.charAt(0))||/[ \r\n$]/.test(n.charAt(n.length-1)))&&(o=" "),
1(t=r("$",i))+o+n+o+t}},80977:function(e){e.exports=function e(t,n){var r,i=-1;if(n.extensions)for(;++i<n.extensions.length;)e(t,n.extensions[i]);for(r in n)"extensions"===r||("unsafe"===r||"join"===r?t[r]=t[r].concat(n[r]||[]):"handlers"===r?t[r]=Object.assign(t[r],n[r]||{}):t.options[r]=n[r]);return t}},77047:function(e,t,n){e.exports=i,i.peek=function(){return"`"};var r=n(23867);function i(e,t,n){for(var i,o,a,s,l=e.value||"",u="`",c=-1;RegExp("(^|[^`])"+u+"([^`]|$)").test(l);)u+="`";for(/[^ \r\n]/.test(l)&&(/[ \r\n`]/.test(l.charAt(0))||/[ \r\n`]/.test(l.charAt(l.length-1)))&&(l=" "+l+" ");++c<n.unsafe.length;)if((i=n.unsafe[c]).atBreak)for(o=r(i);a=o.exec(l);)s=a.index,10===l.charCodeAt(s)&&13===l.charCodeAt(s-1)&&s--,l=l.slice(0,s)+" "+l.slice(a.index+1);return u+l+u}},59181:function(e,t,n){e.exports=function(e,t,n){var l,u,c,d=i(n),f=o(n);return t&&t.ordered&&(d=(t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+"."),l=d.length+1,("tab"===f||"mixed"===f&&(t&&t.spread||e.spread))&&(l=4*Math.ceil(l/4)),c=n.enter("listItem"),u=s(a(e,n),function(e,t,n){return t?(n?"":r(" ",l))+e:(n?d:d+r(" ",l-d.length))+e}),c(),u};var r=n(11455),i=n(70078),o=n(98673),a=n(87572),s=n(51631)},70078:function(e){e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},98673:function(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},87572:function(e,t,n){e.exports=function(e,t){for(var n,i=e.children||[],o=[],a=-1;++a<i.length;)n=i[a],o.push(t.handle(n,e,t,{before:"\n",after:"\n"})),a+1<i.length&&o.push(function(n,i){for(var o,a=-1;++a<t.join.length&&!0!==(o=t.join[a](n,i,e,t))&&1!==o;){if("number"==typeof o)return r("\n",1+Number(o));if(!1===o)return"\n\n<!---->\n\n"}return"\n\n"}(n,i[a+1]));return o.join("")};var r=n(11455)},87717:function(e){e.exports=function(e,t,n){for(var r,i,o,a=e.children||[],s=[],l=-1,u=n.before;++l<a.length;)o=a[l],l+1<a.length?((i=t.handle.handlers[a[l+1].type])&&i.peek&&(i=i.peek),r=i?i(a[l+1],e,t,{before:"",after:""}).charAt(0):""):r=n.after,s.length>0&&("\r"===u||"\n"===u)&&"html"===o.type&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),u=" "),s.push(t.handle(o,e,t,{before:u,after:r})),u=s[s.length-1].slice(-1);return s.join("")}},51631:function(e){e.exports=function(e,n){for(var r,i=[],o=0,a=0;r=t.exec(e);)s(e.slice(o,r.index)),i.push(r[0]),o=r.index+r[0].length,a++;return s(e.slice(o)),i.join("");function s(e){i.push(n(e,a,!e))}};var t=/\r?\n|\r/g},23867:function(e){e.exports=function(e){var t,n;return e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g")),e._compiled}},33010:function(e){e.exports=function(e,n){return t(e,n.inConstruct,!0)&&!t(e,n.notInConstruct)};function t(e,t,n){var r;if(!t)return n;for("string"==typeof t&&(t=[t]),r=-1;++r<t.length;)if(-1!==e.indexOf(t[r]))return!0;return!1}},65440:function(e,t,n){e.exports=function(e,t,n){for(var s,l,u,c,d,f,h,p,m=(n.before||"")+(t||"")+(n.after||""),g=[],_=[],v={},y=-1;++y<e.unsafe.length;)if(c=e.unsafe[y],i(e.stack,c))for(d=r(c);f=d.exec(m);)s="before"in c||c.atBreak,l="after"in c,-1===g.indexOf(u=f.index+(s?f[1].length:0))?(g.push(u),v[u]={before:s,after:l}):(v[u].before&&!s&&(v[u].before=!1),v[u].after&&!l&&(v[u].after=!1));for(g.sort(o),h=n.before?n.before.length:0,p=m.length-(n.after?n.after.length:0),y=-1;++y<g.length;)!((u=g[y])<h)&&!(u>=p)&&(!(u+1<p)||g[y+1]!==u+1||!v[u].after||v[u+1].before||v[u+1].after)&&(h!==u&&_.push(a(m.slice(h,u),"\\")),h=u,/[!-/:-@[-`{-~]/.test(m.charAt(u))&&(!n.encode||-1===n.encode.indexOf(m.charAt(u)))?_.push("\\"):(_.push("&#x"+m.charCodeAt(u).toString(16).toUpperCase()+";"),h++));return _.push(a(m.slice(h,p),n.after)),_.join("")};var r=n(23867),i=n(33010);function o(e,t){return e-t}function a(e,t){for(var n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],a=-1,s=0,l=e+t;n=r.exec(l);)i.push(n.index);for(;++a<i.length;)s!==i[a]&&o.push(e.slice(s,i[a])),o.push("\\"),s=i[a];return o.push(e.slice(s)),o.join("")}},30554:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return n.join("")}e.exports=t},86411:function(e,t,n){e.exports=n(86285)},86285:function(e,t,n){var r=n(33264),i=n(77111),o=n(82029),a=n(62588),s=n(85543),l=n(97476),u={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||t-32==87?(e.consume(t),i):n(t)}function i(t){return 87===t||t-32==87?(e.consume(t),o):n(t)}function o(t){return 46===t?(e.consume(t),s):n(t)}function s(e){return null===e||a(e)?n(e):t(e)}},partial:!0},c={tokenize:function(e,t,n){var r,i;return a;function a(t){return 38===t?e.check(h,c,u)(t):46===t||95===t?e.check(f,c,u)(t):o(t)||l(t)||45!==t&&s(t)?c(t):(e.consume(t),a)}function u(t){return 46===t?(i=r,r=void 0):95===t&&(r=!0),e.consume(t),a}function c(e){return i||r?n(e):t(e)}},partial:!0},d={tokenize:function(e,t){var n=0;return r;function r(a){return 38===a?e.check(h,t,i)(a):(40===a&&n++,41===a)?e.check(f,o,i)(a):b(a)?t(a
1):y(a)?e.check(f,t,i)(a):(e.consume(a),r)}function i(t){return e.consume(t),r}function o(e){return--n<0?t(e):i(e)}},partial:!0},f={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return y(i)?(e.consume(i),r):b(i)?t(i):n(i)}},partial:!0},h={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(t){return r(t)?(e.consume(t),i):59===t?(e.consume(t),o):n(t)}function o(e){return b(e)?t(e):n(e)}},partial:!0},p={tokenize:function(e,t,n){var r=this;return function(t){return 87!==t&&t-32!=87||!E(r.previous)||T(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(u,e.attempt(c,e.attempt(d,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:E},m={tokenize:function(e,t,n){var r=this;return function(t){return 72!==t&&t-32!=72||!C(r.previous)||T(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i)};function i(t){return 84===t||t-32==84?(e.consume(t),a):n(t)}function a(t){return 84===t||t-32==84?(e.consume(t),u):n(t)}function u(t){return 80===t||t-32==80?(e.consume(t),f):n(t)}function f(t){return 83===t||t-32==83?(e.consume(t),h):h(t)}function h(t){return 58===t?(e.consume(t),p):n(t)}function p(t){return 47===t?(e.consume(t),m):n(t)}function m(t){return 47===t?(e.consume(t),g):n(t)}function g(t){return o(t)||l(t)||s(t)?n(t):e.attempt(c,e.attempt(d,_),n)(t)}function _(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:C},g={tokenize:function(e,t,n){var r,o=this;return function(t){return!w(t)||!x(o.previous)||T(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return w(r)?(e.consume(r),t):64===r?(e.consume(r),a):n(r)}(t))};function a(t){return 46===t?e.check(f,c,s)(t):45===t||95===t?e.check(f,n,l)(t):i(t)?(e.consume(t),a):c(t)}function s(t){return e.consume(t),r=!0,a}function l(t){return e.consume(t),u}function u(t){return 46===t?e.check(f,n,s)(t):a(t)}function c(i){return r?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:x},_={};t.text=_;for(var v=48;v<123;)_[v]=g,58==++v?v=65:91===v&&(v=97);function y(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function b(e){return null===e||e<0||32===e||60===e}function w(e){return 43===e||45===e||46===e||95===e||i(e)}function E(e){return null===e||e<0||32===e||40===e||42===e||95===e||126===e}function C(e){return null===e||!r(e)}function x(e){return 47!==e&&C(e)}function T(e){for(var t=e.length;t--;)if(("labelLink"===e[t][1].type||"labelImage"===e[t][1].type)&&!e[t][1]._balanced)return!0}_[43]=g,_[45]=g,_[46]=g,_[95]=g,_[72]=[g,m],_[104]=[g,m],_[87]=[g,p],_[119]=[g,p]},92565:function(e,t,n){e.exports=function(e){var t=(e||{}).singleTilde,n={tokenize:function(e,n,i){var o=this.previous,a=this.events,s=0;return function(l){return 126!==l||126===o&&"characterEscape"!==a[a.length-1][1].type?i(l):(e.enter("strikethroughSequenceTemporary"),function a(l){var u,c,d=r(o);return 126===l?s>1?i(l):(e.consume(l),s++,a):s<2&&!t?i(l):(u=e.exit("strikethroughSequenceTemporary"),c=r(l),u._open=!c||2===c&&d,u._close=!d||2===d&&c,n(l))}(l))}},resolveAll:function(e,t){for(var n,r,s,l,u=-1;++u<e.length;)if("enter"===e[u][0]&&"strikethroughSequenceTemporary"===e[u][1].type&&e[u][1]._close){for(s=u;s--;)if("exit"===e[s][0]&&"strikethroughSequenceTemporary"===e[s][1].type&&e[s][1]._open&&e[u][1].end.offset-e[u][1].start.offset==e[s][1].end.offset-e[s][1].start.offset){e[u][1].type="strikethroughSequence",e[s][1].type="strikethroughSequence",n={type:"strikethrough",start:a(e[s][1].start),end:a(e[u][1].end)},r={type:"strikethroughText",start:a(e[s][1].end),end:a(e[u][1].start)},i(l=[["enter",n,t],["enter",e[s][1],t],["exit",e[s][1],t],["enter",r,t]],l.length,0,o(t.parser.constructs.insideSpan.null,e.slice(s+1,u),t)),i(l,l.length,0,[["exit",r,t],["enter",e[u][1],t],["exit",e[u][1],t],["exit",n,t]]),i(e,s-1,u-s+3,l),u=s+l.length-2;break}}return function(e){for(var t=-1,n=e.length;++t<n;)"strikethroughSequenceTemporary"===e[t][1].type&&(e[t][1].type="data");return e}(e)}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:n}}};var r=n(45832),i=n(33471),o=n(95606),a=n(76758)},44885:function(e,t,n){e.exports=n(61014)},61014:function(e,t,n){t.flow={null:{tokenize:function(e,t,n){var a,s,l=[],u=0;return function(t){return null===t||-5===t||-4===t||-3===t?n(t):(e.enter("table")._align=l,e.enter("tableHead"),e.enter("tableRow"),124===t)?c(t):(u++,e.enter("temporaryTableCellContent"),h(t))};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,d}function d(t){return null===t||-5===t||-4===t||-3===t?null===t?n(t):(e.exit("tableRow"),e.exit("tableHead"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e.check(i,n,r(e,m,"linePrefix",4))):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t)?c(t):(e.enter("temporaryTableCellContent"),h(t))}function f(t){return -2===t||-1===t||32===t?(e.consume(t),f):(e.exit("whitespace"),d(t))}function h(t){return null===t||t<0||32===t||124===t?(e.exit("temporaryTableCellContent"),d(t)):(e.consume(t),92===t?p:h)}function p(t){return 92===t||124===t?(e.consume(t),h):h(t)}function m(t){return null===t||t<0||32===t?n(t):(e.enter("tableDelimiterRow"),g(t))}function g(t){return null===t||-5===t||-4===t||-3===t?w(t):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),_):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,l.push(null),v):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),l.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function _(t){return -2===t||-1===t||32===t?(e.consume(t),_):(e.exit("whitespace"),g(t))}function v(t){return 45===t?(e.consume(t),v):(e.exit("tableDelimiterFiller"),58===t)?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),l[l.length-1]="left"===l[l.length-1]?"center":"right",b):g(t)}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,v):n(t)}function b(t){return null===t||-5===t||-4===t||-3===t?w(t):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),_):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function w(t){return(e.exit("tableDelimiterRow"),s&&u===l.length)?null===t?E(t):e.check(o,E,C)(t):n(t)}function E(n){return e.exit("table"),t(n)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r(e,x,"linePrefix",4)}function x(t){return e.enter("tableBody"),T(t)}function T(t){return(e.enter("tableRow"),124===t)?S(t):(e.enter("temporaryTableCellContent"),L(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),k}function k(t){return null===t||-5===t||-4===t||-3===t?(e.exit("tableRow"),null===t)?O(t):e.check(o,O,P)(t):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),A):124===t?S(t):(e.enter("temporaryTableCellContent"),L(t))}function A(t){return -2===t||-1===t||32===t?(e.consume(t),A):(e.exit("whitespace"),k(t))}function L(t){return null===t||t<0||32===t||124===t?(e.exit("temporaryTableCellContent"),k(t)):(e.consume(t),92===t?I:L)}function I(t){return 92===t||124===t?(e.consume(t),L):L(t)}function O(t){return e.exit("tableBody"),E(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r(e,T,"linePrefix",4)}},resolve:function(e,t){for(var n,r,i,o,a,s,l,u,c,d,f=e.length,h=-1;++h<f;)n=e[h][1],o&&("temporaryTableCellContent"===n.type&&(u=u||h,c=h),("tableCellDivider"===n.type||"tableRow"===n.type)&&c&&(l={type:"chunkText",start:(s={type:"tableContent",start:e[u][1].start,end:e[c][1].end}).start,end:s.end,contentType:"text"},e.splice(u,c-u+1,["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t]),h-=c-u-3,f=e.length,u=void 0,c=void 0)),"exit"===e[h][0]&&d&&d+1<h&&("tableCellDivider"===n.type||"tableRow"===n.type&&(d+3<h||"whitespace"!==e[d][1].type))&&(a={type:i?"tableDelimiter":r?"tableHeader":"tableData",start:e[d][1].start,end:e[h][1].end},e.splice(h+("tableCellDivider"===n.type?1:0),0,["exit",a,t]),e.splice(d,0,["enter",a,t]),h+=2,f=e.length,d=h+1),"tableRow"===n.type&&(o="enter"===e[h][0])&&(d=h+1),"tableDelimiterRow"===n.type&&(i="enter"===e[h][0])&&(d=h+1),"tableHead"===n.type&&(r="enter"===e[h][0]);return e},interruptible:!0}};var r=n(24347),i={tokenize:function(e,t,n){return function(r){return 45!==r?n(r):(e.enter("setextUnderline"),function r(i){return 45===i?(e.consume(i),r):function r(i){return -2===i||-1===i||32===i?(e.consume(i),r):null===i||-5===i||-4===i||-3===i?t(i):n(i)}(i)}(r))}},partial:!0},o={tokenize:function(e,t,n){var r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(o){return -1===o||32===o?(e.consume(o),4==++r?t:i):null===o||o<0?t(o
1):n(o)}},partial:!0}},56019:function(e,t,n){e.exports=n(96370)},96370:function(e,t,n){var r=n(33081),i=n(24347),o=n(99022);function a(e,t,n){var a=this;return i(e,function(e){return o(a.events,"whitespace")&&null!==e&&!r(e)?t(e):n(e)},"whitespace")}t.text={91:{tokenize:function(e,t,n){var r=this;return function(t){return 91===t&&null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return -2===t||32===t?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:a},t,n)):n(r)}}}}},53484:function(e,t,n){e.exports=n(45388)},45388:function(e,t,n){var r=n(1278),i=n(86411),o=n(92565),a=n(44885),s=n(56019);e.exports=function(e){return r([i,o(e),a,s])}},46336:function(e,t,n){e.exports=n(64406)},64406:function(e,t,n){"use strict";t.flow={36:n(74993)},t.text={36:n(39914)}},74993:function(e,t,n){"use strict";t.tokenize=function(e,t,n){var o=this,a=r(this.events,"linePrefix"),s=0;return function(t){if(36!==t)throw Error("expected `$`");return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(e.consume(r),s++,t):(e.exit("mathFlowFenceSequence"),s<2?n(r):i(e,l,"whitespace")(r))}(t)};function l(t){return null===t||-5===t||-4===t||-3===t?u(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||-5===r||-4===r||-3===r?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),u(r)):36===r?n(r):(e.consume(r),t)}(t))}function u(n){return e.exit("mathFlowFence"),o.interrupt?t(n):function t(n){return null===n?c(n):-5===n||-4===n||-3===n?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt({tokenize:d,partial:!0},c,a?i(e,t,"linePrefix",a+1):t)):(e.enter("mathFlowValue"),function n(r){return null===r||-5===r||-4===r||-3===r?(e.exit("mathFlowValue"),t(r)):(e.consume(r),n)}(n))}(n)}function c(n){return e.exit("mathFlow"),t(n)}function d(e,t,n){var r=0;return i(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(a){return 36===a?(e.consume(a),r++,t):r<s?n(a):(e.exit("mathFlowFenceSequence"),i(e,o,"whitespace")(a))}(t)},"linePrefix",4);function o(r){return null===r||-5===r||-4===r||-3===r?(e.exit("mathFlowFence"),t(r)):n(r)}}},t.concrete=!0;var r=n(99022),i=n(24347)},39914:function(e,t){"use strict";function n(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}t.tokenize=function(e,t,r){var i,o,a=this,s=0;return function(t){if(36!==t)throw Error("expected `$`");if(!n.call(a,a.previous))throw Error("expected correct previous");return e.enter("mathText"),e.enter("mathTextSequence"),function t(n){return 36===n?(e.consume(n),s++,t):(e.exit("mathTextSequence"),l(n))}(t)};function l(n){return null===n?r(n):36===n?(o=e.enter("mathTextSequence"),i=0,function n(r){return 36===r?(e.consume(r),i++,n):i===s?(e.exit("mathTextSequence"),e.exit("mathText"),t(r)):(o.type="mathTextData",u(r))}(n)):32===n?(e.enter("space"),e.consume(n),e.exit("space"),l):-5===n||-4===n||-3===n?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),l):(e.enter("mathTextData"),u(n))}function u(t){return null===t||32===t||36===t||-5===t||-4===t||-3===t?(e.exit("mathTextData"),l(t)):(e.consume(t),u)}},t.resolve=function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},t.previous=n},33264:function(e,t,n){"use strict";var r=n(23448)(/[A-Za-z]/);e.exports=r},77111:function(e,t,n){"use strict";var r=n(23448)(/[\dA-Za-z]/);e.exports=r},218:function(e,t,n){"use strict";var r=n(23448)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},82029:function(e){"use strict";e.exports=function(e){return e<32||127===e}},31599:function(e,t,n){"use strict";var r=n(23448)(/\d/);e.exports=r},95961:function(e,t,n){"use strict";var r=n(23448)(/[\dA-Fa-f]/);e.exports=r},5942:function(e,t,n){"use strict";var r=n(23448)(/[!-/:-@[-`{-~]/);e.exports=r},33081:function(e){"use strict";e.exports=function(e){return e<0||32===e}},62588:function(e){"use strict";e.exports=function(e){return e<-2}},32677:function(e){"use strict";e.exports=function(e){return -2===e||-1===e||32===e}},85543:function(e,t,n){"use strict";var r=n(27365),i=n(23448)(r);e.exports=i},97476:function(e,t,n){"use strict";var r=n(23448)(/\s/);e.exports=r},59271:function(e){"use strict";var t=Object.assign;e.exports=t},3407:function(e){"use strict";var t=String.fromCharCode;e.exports=t},31135:function(e){"use strict";e.exports=({}).hasOwnProperty},68215:function(e){"use strict";e.exports=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},39427:function(e){"use strict";e.exports=["pre","script","style","textarea"]},89147:function(e){"use strict";var t=[].splice;e.exports=t},27365:function(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},77314:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=n(133),i=n(85736),o=n(80126),a=n(20770),s=n(66198),l=n(60570),u=n(28152),c=n(88155),d=n(12219),f=n(91239),h=n(47035),p=n(64965),m=n(21224),g=n(38050),_=n(30524),v=n(41757),y=n(53280),b=n(36304),w=n(93660),E=n(67829),C=n(81025),x={null:[i,r.resolver]};t.contentInitial={91:f},t.disable={null:[]},t.document={42:w,43:w,45:w,48:w,49:w,50:w,51:w,52:w,53:w,54:w,55:w,56:w,57:w,62:a},t.flow={35:p,42:C,45:[E,C],60:m,61:E,95:C,96:u,126:u},t.flowInitial={"-2":c,"-1":c,32:c},t.insideSpan=x,t.string={38:l,92:s},t.text={"-5":b,"-4":b,"-3":b,33:v,38:l,42:i,60:[o,g],91:y,92:[h,s],93:_,95:i,96:d}},1579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62588),i=n(24347);t.tokenize=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(i){var o=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=o),t=o,function t(i){if(null===i){e.exit("chunkText"),e.exit("paragraph"),e.consume(i);return}return r(i)?(e.consume(i),e.exit("chunkText"),n):(e.consume(i),t)}(i)}(n)});return n}},79309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62588),i=n(24347),o=n(83525),a={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},s={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=function(e){var t,n,i,l=this,u=[],c=0,d={tokenize:function(e,r){var i=0;return t={},c;function c(r){return i<u.length?(l.containerState=u[i][1],e.attempt(u[i][0].continuation,d,f)(r)):n.currentConstruct&&n.currentConstruct.concrete?(t.flowContinue=!0,m(r)):(l.interrupt=n.currentConstruct&&n.currentConstruct.interruptible,l.containerState={},e.attempt(a,p,m)(r))}function d(e){return i++,l.containerState._closeFlow?p(e):c(e)}function f(t){return n.currentConstruct&&n.currentConstruct.lazy?(l.containerState={},e.attempt(a,p,e.attempt(s,p,e.check(o,p,h)))(t)):p(t)}function h(e){return i=u.length,t.lazy=!0,t.flowContinue=!0,m(e)}function p(e){return t.flowEnd=!0,m(e)}function m(e){return t.continued=i,l.interrupt=l.containerState=void 0,r(e)}},partial:!0};return f;function f(t){return c<u.length?(l.containerState=u[c][1],e.attempt(u[c][0].continuation,h,p)(t)):p(t)}function h(e){return c++,f(e)}function p(r){return t&&t.flowContinue?g(r):(l.interrupt=n&&n.currentConstruct&&n.currentConstruct.interruptible,l.containerState={},e.attempt(a,m,g)(r))}function m(e){return u.push([l.currentConstruct,l.containerState]),l.containerState=void 0,p(e)}function g(t){if(null===t){y(0,!0),e.consume(t);return}return n=n||l.parser.flow(l.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:n}),function t(n){return null===n?(v(e.exit("chunkFlow")),g(n)):r(n)?(e.consume(n),v(e.exit("chunkFlow")),e.check(d,_)):(e.consume(n),t)}(t)}function _(e){return y(t.continued,t&&t.flowEnd),c=0,f(e)}function v(e){i&&(i.next=e),i=e,n.lazy=t&&t.lazy,n.defineSkip(e.start),n.write(l.sliceStream(e))}function y(t,r){var o=u.length;for(n&&r&&(n.write([null]),i=n=void 0);o-- >t;)l.containerState=u[o][1],u[o][0].exit.call(l,e);u.length=t}}},52126:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56606),i=n(24347),o=n(83525);t.tokenize=function(e){var t=this,n=e.attempt(o,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,a,i(e,e.attempt(this.parser.constructs.flow,a,e.attempt(r,a)),"linePrefix")));return n;function a(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},133:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=n(59271),i=n(76758),o=l("text"),a=l("string"),s={resolveAll:u()};function l(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){var t=r[e],i=-1;if(null===e)return!0;if(t){for(;++i<t.length;)if(!t[i].previous||t[i].previous.call(n,n.previous))return!0}}},resolveAll:u("text"===e?c:void 0)}}function u(e){return function(t,n){for(var r,i=-1;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function c(e,t){for(var n,o,a,s,l,u,c,d,f=-1;++f<=e.length;)if((f===e.length||"lineEnding"===e[f][1].type)&&"data"===e[f-1][1].type){for(o=e[f-1][1],s=(n=t.sliceStream(o)).length,l=-1,u=0,c=void 0;s--;)if("string"==typeof(a=n[s])){for(l=a.length;32===a.charCodeAt(l-1);)u++,l--;if(l)break;l=-1}else if(-2===a)c=!0,u++;else if(-1===a);else{s++;break}u&&(d={type:f===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{line:o.end.line,column:o.end.column-u,offset:o.end.offset-u,_index:o.start._index+s,_bufferIndex:s?l:o.start._bufferIndex+l},end:i(o.end)},o.end=i(d.start),o.start.offset===o.end.offset?r(o,d):(e.splice(f,0,["enter",d,t],["exit",d,t]),f+=2)),f++}return e}t.resolver=s,t.string=a,t.text=o},69725:function(e,t,n){"use strict";var r=n(1579),i=n(79309),o=n(52126),a=n(133),s=n(1278),l=n(97947),u=n(35131),c=n(77314);e.exports=function(e){var t={defined:[],constructs:s([c].concat(u((e||{}).extensions))),content:n(r),document:n(i),flow:n(o),string:n(a.string),text:n(a.text)};return t;function n(e){return function(n){return l(t,e,n)}}}},6962:function(e,t,n){"use strict";var r=n(46639);e.exports=function(e){for(;!r(e););return e}},60892:function(e){"use strict";var t=/[\0\t\n\r]/g;e.exports=function(){var e,n=!0,r=1,i="";return function(o,a,s){var l,u,c,d,f,h=[];for(o=i+o.toString(a),c=0,i="",n&&(65279===o.charCodeAt(0)&&c++,n=void 0);c<o.length;){if(t.lastIndex=c,d=(l=t.exec(o))?l.index:o.length,f=o.charCodeAt(d),!l){i=o.slice(c);break}if(10===f&&c===d&&e)h.push(-3),e=void 0;else if(e&&(h.push(-5),e=void 0),c<d&&(h.push(o.slice(c,d)),r+=d-c),0===f)h.push(65533),r++;else if(9===f)for(u=4*Math.ceil(r/4),h.push(-2);r++<u;)h.push(-1);else 10===f?h.push(-4):e=!0,r=1;c=d+1}return s&&(e&&h.push(-5),i&&h.push(i),h.push(null)),h}}},85736:function(e,t,n){"use strict";var r=n(33878),i=n(33471),o=n(45832),a=n(21735),s=n(95606),l=n(76758);e.exports={name:"attention",tokenize:function(e,t){var n,r=o(this.previous);return function(i){return e.enter("attentionSequence"),n=i,function i(a){var s,l,u,c;return a===n?(e.consume(a),i):(s=e.exit("attentionSequence"),u=!(l=o(a))||2===l&&r,c=!r||2===r&&l,s._open=42===n?u:u&&(r||!c),s._close=42===n?c:c&&(l||!u),t(a))}(i)}},resolveAll:function(e,t){for(var n,o,u,c,d,f,h,p,m=-1;++m<e.length;)if("enter"===e[m][0]&&"attentionSequence"===e[m][1].type&&e[m][1]._close){for(n=m;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[m][1]).charCodeAt(0)){if((e[n][1]._close||e[m][1]._open)&&(e[m][1].end.offset-e[m][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[m][1].end.offset-e[m][1].start.offset)%3))continue;c={type:(f=e[n][1].end.offset-e[n][1].start.offset>1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:a(l(e[n][1].end),-f),end:l(e[n][1].end)},d={type:f>1?"strongSequence":"emphasisSequence",start:l(e[m][1].start),end:a(l(e[m][1].start),f)},u={type:f>1?"strongText":"emphasisText",start:l(e[n][1].end),end:l(e[m][1].start)},o={type:f>1?"strong":"emphasis",start:l(c.start),end:l(d.end)},e[n][1].end=l(c.start),e[m][1].start=l(d.end),h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=r(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=r(h,[["enter",o,t],["enter",c,t],["exit",c,t],["enter",u,t]]),h=r(h,s(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),h=r(h,[["exit",u,t],["enter",d,t],["exit",d,t],["exit",o,t]]
1),e[m][1].end.offset-e[m][1].start.offset?(p=2,h=r(h,[["enter",e[m][1],t],["exit",e[m][1],t]])):p=0,i(e,n-1,m-n+3,h),m=n+h.length-p-2;break}}for(m=-1;++m<e.length;)"attentionSequence"===e[m][1].type&&(e[m][1].type="data");return e}}},80126:function(e,t,n){"use strict";var r=n(33264),i=n(77111),o=n(218),a=n(82029);e.exports={name:"autolink",tokenize:function(e,t,n){var s=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(t){return r(t)?(e.consume(t),u):o(t)?d(t):n(t)}function u(t){return 43===t||45===t||46===t||i(t)?function t(n){return 58===n?(e.consume(n),c):(43===n||45===n||46===n||i(n))&&s++<32?(e.consume(n),t):d(n)}(t):d(t)}function c(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):32===t||60===t||a(t)?n(t):(e.consume(t),c)}function d(t){return 64===t?(e.consume(t),s=0,f):o(t)?(e.consume(t),d):n(t)}function f(t){return i(t)?function t(r){return 46===r?(e.consume(r),s=0,f):62===r?(e.exit("autolinkProtocol").type="autolinkEmail",h(r)):function r(o){return(45===o||i(o))&&s++<63?(e.consume(o),45===o?r:t):n(o)}(r)}(t):n(t)}function h(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},20770:function(e,t,n){"use strict";var r=n(32677),i=n(24347),o={name:"blockQuote",tokenize:function(e,t,n){var i=this;return function(t){return 62===t?(i.containerState.open||(e.enter("blockQuote",{_container:!0}),i.containerState.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o):n(t)};function o(n){return r(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return i(e,e.attempt(o,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=o},66198:function(e,t,n){"use strict";var r=n(5942);e.exports={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}}},60570:function(e,t,n){"use strict";var r=n(93026),i=n(77111),o=n(31599),a=n(95961),s=r&&"object"==typeof r&&"default"in r?r:{default:r};e.exports={name:"characterReference",tokenize:function(e,t,n){var r,l,u=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),d};function d(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),r=31,l=i,h(t))}function f(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,l=a,h):(e.enter("characterReferenceValue"),r=7,l=o,h(t))}function h(o){var a;return 59===o&&c?(a=e.exit("characterReferenceValue"),l!==i||s.default(u.sliceSerialize(a)))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o):l(o)&&c++<r?(e.consume(o),h):n(o)}}}},28152:function(e,t,n){"use strict";var r=n(62588),i=n(33081),o=n(99022),a=n(24347);e.exports={name:"codeFenced",tokenize:function(e,t,n){var s,l=this,u={tokenize:function(e,t,n){var i=0;return a(e,function(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(r){return r===s?(e.consume(r),i++,t):i<d?n(r):(e.exit("codeFencedFenceSequence"),a(e,o,"whitespace")(r))}(t)},"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4);function o(i){return null===i||r(i)?(e.exit("codeFencedFence"),t(i)):n(i)}},partial:!0},c=o(this.events,"linePrefix"),d=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("co
1deFencedFenceSequence"),s=t,function t(r){return r===s?(e.consume(r),d++,t):(e.exit("codeFencedFenceSequence"),d<3?n(r):a(e,f,"whitespace")(r))}(t)};function f(t){return null===t||r(t)?p(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||i(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(e,h,"whitespace")(r)):96===r&&r===s?n(r):(e.consume(r),t)}(t))}function h(t){return null===t||r(t)?p(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||r(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(i)):96===i&&i===s?n(i):(e.consume(i),t)}(t))}function p(n){return e.exit("codeFencedFence"),l.interrupt?t(n):function t(n){return null===n?m(n):r(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(u,m,c?a(e,t,"linePrefix",c+1):t)):(e.enter("codeFlowValue"),function n(i){return null===i||r(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),n)}(n))}(n)}function m(n){return e.exit("codeFenced"),t(n)}},concrete:!0}},88155:function(e,t,n){"use strict";var r=n(62588),i=n(33471),o=n(99022),a=n(24347),s={tokenize:function(e,t,n){var i=this;return a(e,function s(l){return r(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a(e,s,"linePrefix",5)):4>o(i.events,"linePrefix")?n(l):t(l)},"linePrefix",5)},partial:!0};e.exports={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(s,function n(i){return null===i?t(i):r(i)?e.attempt(s,n,t)(i):(e.enter("codeFlowValue"),function t(i){return null===i||r(i)?(e.exit("codeFlowValue"),n(i)):(e.consume(i),t)}(i))},n)},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return i(e,0,0,[["enter",n,t]]),i(e,e.length,0,[["exit",n,t]]),e}}},12219:function(e,t,n){"use strict";var r=n(62588);e.exports={name:"codeText",tokenize:function(e,t,n){var i,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(u){return null===u?n(u):96===u?(o=e.enter("codeTextSequence"),i=0,function n(r){return 96===r?(e.consume(r),i++,n):i===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(o.type="codeTextData",l(r))}(u)):32===u?(e.enter("space"),e.consume(u),e.exit("space"),s):r(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(u))}function l(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}},resolve:function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[r][1].type=e[i][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},56606:function(e,t,n){"use strict";var r=n(62588),i=n(99022),o=n(46639),a=n(24347),s={tokenize:function(e,t,n){var o=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a(e,s,"linePrefix")};function s(a){return null===a||r(a)?n(a):o.parser.constructs.disable.null.indexOf("codeIndented")>-1||4>i(o.events,"linePrefix")?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?o(t):r(t)?e.check(s,a,o)(t):(e.consume(t),i)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),i}},resolve:function(e){return o(e),e},interruptible:!0,lazy:!0}},91239:function(e,t,n){"use strict";var r=n(62588),i=n(33081),o=n(44574),a=n(48153),s=n(2102),l=n(24347),u=n(62382),c=n(17607),d={tokenize:function(e,t,n){return function(t){return i(t)?u(e,o)(t):n(t)};function o(t){return 34===t||39===t||40===t?c(e,l(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports={name:"definition",tokenize:function(e,t,n){var i,c=this;return function(t){return e.enter("definition"),s.call(c,e,f,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function f(t){return(i=o(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u(e,a(e,e.attempt(d,l(e,h,"whitespace"),l(e,h,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}
1function h(o){return null===o||r(o)?(e.exit("definition"),0>c.parser.defined.indexOf(i)&&c.parser.defined.push(i),t(o)):n(o)}}}},48153:function(e,t,n){"use strict";var r=n(82029),i=n(33081),o=n(62588);e.exports=function(e,t,n,a,s,l,u,c,d){var f=d||1/0,h=0;return function(t){return 60===t?(e.enter(a),e.enter(s),e.enter(l),e.consume(t),e.exit(l),p):r(t)||41===t?n(t):(e.enter(a),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),_(t))};function p(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(s),e.exit(a),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),p(t)):null===t||60===t||o(t)?n(t):(e.consume(t),92===t?g:m)}function g(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function _(o){return 40===o?++h>f?n(o):(e.consume(o),_):41===o?h--?(e.consume(o),_):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(o)):null===o||i(o)?h?n(o):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?v:_)}function v(t){return 40===t||41===t||92===t?(e.consume(t),_):_(t)}}},2102:function(e,t,n){"use strict";var r=n(62588),i=n(32677);e.exports=function(e,t,n,o,a,s){var l,u=this,c=0;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(s),d};function d(i){return null===i||91===i||93===i&&!l||94===i&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs||c>999?n(i):93===i?(e.exit(s),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(i))}function f(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),d(t)):(e.consume(t),l=l||!i(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},24347:function(e,t,n){"use strict";var r=n(32677);e.exports=function(e,t,n,i){var o=i?i-1:1/0,a=0;return function(i){return r(i)?(e.enter(n),function i(s){return r(s)&&a++<o?(e.consume(s),i):(e.exit(n),t(s))}(i)):t(i)}}},17607:function(e,t,n){"use strict";var r=n(62588),i=n(24347);e.exports=function(e,t,n,o,a,s){var l;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),l=40===t?41:t,u};function u(n){return n===l?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),t):(e.enter(s),c(n))}function c(t){return t===l?(e.exit(s),u(l)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===l||null===t||r(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?f:d)}function f(t){return t===l||92===t?(e.consume(t),d):d(t)}}},62382:function(e,t,n){"use strict";var r=n(62588),i=n(32677),o=n(24347);e.exports=function(e,t){var n;return function a(s){return r(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,a):i(s)?o(e,a,n?"linePrefix":"lineSuffix")(s):t(s)}}},47035:function(e,t,n){"use strict";var r=n(62588);e.exports={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return r(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}}},64965:function(e,t,n){"use strict";var r=n(62588),i=n(33081),o=n(32677),a=n(33471),s=n(24347);e.exports={name:"headingAtx",tokenize:function(e,t,n){var a=this,l=0;return function(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function u(c){return 35===c&&l++<6?(e.consume(c),u):null===c||i(c)?(e.exit("atxHeadingSequence"),a.interrupt?t(c):function n(a){return 35===a?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(a)):null===a||r(a)?(e.exit("atxHeading"),t(a)):o(a)?s(e,n,"whitespace")(a):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||i(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(a))}(c)):n(c)}(u)}},resolve:function(e,t){var n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}}},21224:function(e,t,n){"use strict";var r=n(33264),i=n(77111),o=n(62588),a=n(33081),s=n(32677),l=n(3407),u=n(68215),c=n(39427),d=n(83525),f={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports={name:"htmlFlow",tokenize:function(e,t,n){var d,h,p,m,g,_=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),v};function v(i){return 33===i?(e.consume(i),y):47===i?(e.consume(i),E):63===i?(e.consume(i),d=3,_.interrupt?t:F):r(i)?(e.consume(i),p=l(i),h=!0,C):n(i)}function y(i){return 45===i?(e.consume(i),d=2,b):91===i?(e.consume(i),d=5,p="CDATA[",m=0,w):r(i)?(e.consume(i),d=4,_.interrupt?t:F):n(i)}function b(r){return 45===r?(e.consume(r),_.interrupt?t:F):n(r)}
1function w(r){return r===p.charCodeAt(m++)?(e.consume(r),m===p.length?_.interrupt?t:j:w):n(r)}function E(t){return r(t)?(e.consume(t),p=l(t),C):n(t)}function C(r){return null===r||47===r||62===r||a(r)?47!==r&&h&&c.indexOf(p.toLowerCase())>-1?(d=1,_.interrupt?t(r):j(r)):u.indexOf(p.toLowerCase())>-1?(d=6,47===r)?(e.consume(r),x):_.interrupt?t(r):j(r):(d=7,_.interrupt?n(r):h?T(r):function t(n){return s(n)?(e.consume(n),t):O(n)}(r)):45===r||i(r)?(e.consume(r),p+=l(r),C):n(r)}function x(r){return 62===r?(e.consume(r),_.interrupt?t:j):n(r)}function T(t){return 47===t?(e.consume(t),O):58===t||95===t||r(t)?(e.consume(t),S):s(t)?(e.consume(t),T):O(t)}function S(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),S):k(t)}function k(t){return 61===t?(e.consume(t),A):s(t)?(e.consume(t),k):T(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),g=t,L):s(t)?(e.consume(t),A):(g=void 0,function t(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||a(n)?k(n):(e.consume(n),t)}(t))}function L(t){return t===g?(e.consume(t),I):null===t||o(t)?n(t):(e.consume(t),L)}function I(e){return 47===e||62===e||s(e)?T(e):n(e)}function O(t){return 62===t?(e.consume(t),P):n(t)}function P(t){return s(t)?(e.consume(t),P):null===t||o(t)?j(t):n(t)}function j(t){return 45===t&&2===d?(e.consume(t),M):60===t&&1===d?(e.consume(t),N):62===t&&4===d?(e.consume(t),U):63===t&&3===d?(e.consume(t),F):93===t&&5===d?(e.consume(t),H):o(t)&&(6===d||7===d)?e.check(f,U,R)(t):null===t||o(t)?R(t):(e.consume(t),j)}function R(t){return e.exit("htmlFlowData"),function t(n){return null===n?V(n):o(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t):(e.enter("htmlFlowData"),j(n))}(t)}function M(t){return 45===t?(e.consume(t),F):j(t)}function N(t){return 47===t?(e.consume(t),p="",D):j(t)}function D(t){return 62===t&&c.indexOf(p.toLowerCase())>-1?(e.consume(t),U):r(t)&&p.length<8?(e.consume(t),p+=l(t),D):j(t)}function H(t){return 93===t?(e.consume(t),F):j(t)}function F(t){return 62===t?(e.consume(t),U):j(t)}function U(t){return null===t||o(t)?(e.exit("htmlFlowData"),V(t)):(e.consume(t),U)}function V(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){for(var t=e.length;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0}},38050:function(e,t,n){"use strict";var r=n(33264),i=n(77111),o=n(62588),a=n(33081),s=n(32677),l=n(24347);e.exports={name:"htmlText",tokenize:function(e,t,n){var u,c,d,f,h=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),p};function p(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),A):63===t?(e.consume(t),S):r(t)?(e.consume(t),I):n(t)}function m(t){return 45===t?(e.consume(t),g):91===t?(e.consume(t),c="CDATA[",d=0,w):r(t)?(e.consume(t),T):n(t)}function g(t){return 45===t?(e.consume(t),_):n(t)}function _(t){return null===t||62===t?n(t):45===t?(e.consume(t),v):y(t)}function v(e){return null===e||62===e?n(e):y(e)}function y(t){return null===t?n(t):45===t?(e.consume(t),b):o(t)?(f=y,D(t)):(e.consume(t),y)}function b(t){return 45===t?(e.consume(t),F):y(t)}function w(t){return t===c.charCodeAt(d++)?(e.consume(t),d===c.length?E:w):n(t)}function E(t){return null===t?n(t):93===t?(e.consume(t),C):o(t)?(f=E,D(t)):(e.consume(t),E)}function C(t){return 93===t?(e.consume(t),x):E(t)}function x(t){return 62===t?F(t):93===t?(e.consume(t),x):E(t)}function T(t){return null===t||62===t?F(t):o(t)?(f=T,D(t)):(e.consume(t),T)}function S(t){return null===t?n(t):63===t?(e.consume(t),k):o(t)?(f=S,D(t)):(e.consume(t),S)}function k(e){return 62===e?F(e):S(e)}function A(t){return r(t)?(e.consume(t),L):n(t)}function L(t){return 45===t||i(t)?(e.consume(t),L):function t(n){return o(n)?(f=t,D(n)):s(n)?(e.consume(n),t):F(n)}(t)}function I(t){return 45===t||i(t)?(e.consume(t),I):47===t||62===t||a(t)?O(t):n(t)}function O(t){return 47===t?(e.consume(t),F):58===t||95===t||r(t)?(e.consume(t),P):o(t)?(f=O,D(t)):s(t)?(e.consume(t),O):F(t)}function P(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),j):o(n)?(f=t,D(n)):s(n)?(e.consume(n),t):O(n)}(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,R):o(t)?(f=j,D(t)):s(t)?(e.consume(t),j):(e.consume(t),u=void 0,N)}function R(t){return t===u?(e.consume(t),M):null===t?n(t):o(t)?(f=R,D(t)):(e.consume(t),R)}function M(e){return 62===e||47===e||a(e)?O(e):n(e)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||a(t)?O(t):(e.consume(t),N)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l(e,H,"linePrefix",h.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function H(t){return e.enter("htmlTextData"),f(t)}function F(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}}},30524:function(e,t,n){"use strict";var r=n(33081),i=n(33878),o=n(33471),a=n(44574),s=n(95606),l=n(76758),u=n(48153),c=n(2102),d=n(17607),f=n(62382),h={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),f(e,i)};function i(t){return 41===t?s(t):u(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function o(t){return r(t)?f(e,a)(t):s(t)}function a(t){return 34===t||39===t||40===t?d(e,f(e,s),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},p={tokenize:function(e,t,n){var r=this;return function(t){return c.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return 0>r.parser.defined.indexOf(a(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}}},m={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};e.exports={name:"labelEnd",tokenize:function(e,t,n){for(var r,i,o=this,s=o.events.length;s--;)if(("labelImage"===o.events[s][1].type||"labelLink"===o.events[s][1].type)&&!o.events[s][1]._balanced){r=o.events[s][1];break}return function(t){return r?r._inactive?u(t):(i=o.parser.defined.indexOf(a(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(n){return 40===n?e.attempt(h,t,i?t:u)(n):91===n?e.attempt(p,t,i?e.attempt(m,t,u):u)(n):i?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){for(var n,r,a,u,c,d,f,h=e.length,p=0;h--;
1)if(u=e[h][1],c){if("link"===u.type||"labelLink"===u.type&&u._inactive)break;"enter"===e[h][0]&&"labelLink"===u.type&&(u._inactive=!0)}else if(d){if("enter"===e[h][0]&&("labelImage"===u.type||"labelLink"===u.type)&&!u._balanced&&(c=h,"labelLink"!==u.type)){p=2;break}}else"labelEnd"===u.type&&(d=h);return n={type:"labelLink"===e[c][1].type?"link":"image",start:l(e[c][1].start),end:l(e[e.length-1][1].end)},r={type:"label",start:l(e[c][1].start),end:l(e[d][1].end)},a={type:"labelText",start:l(e[c+p+2][1].end),end:l(e[d-2][1].start)},f=i(f=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+p+3)),f=i(f,[["enter",a,t]]),f=i(f,s(t.parser.constructs.insideSpan.null,e.slice(c+p+4,d-3),t)),f=i(f,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),f=i(f,e.slice(d+1)),f=i(f,[["exit",n,t]]),o(e,c,e.length,f),e},resolveAll:function(e){for(var t,n=-1;++n<e.length;)!(t=e[n][1])._used&&("labelImage"===t.type||"labelLink"===t.type||"labelEnd"===t.type)&&(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}}},41757:function(e,t,n){"use strict";var r={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(30524).resolveAll};e.exports=r},53280:function(e,t,n){"use strict";var r={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(30524).resolveAll};e.exports=r},36304:function(e,t,n){"use strict";var r=n(24347);e.exports={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r(e,t,"linePrefix")}}}},93660:function(e,t,n){"use strict";var r=n(31599),i=n(32677),o=n(99022),a=n(77713),s=n(24347),l=n(83525),u=n(81025),c={name:"list",tokenize:function(e,t,n){var s=this,c=o(s.events,"linePrefix"),f=0;return function(t){var i=s.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!s.containerState.marker||t===s.containerState.marker:r(t)){if(s.containerState.type||(s.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(u,n,h)(t):h(t);if(!s.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return r(i)&&++f<10?(e.consume(i),t):(!s.interrupt||f<2)&&(s.containerState.marker?i===s.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),h(i)):n(i)}(t)}return n(t)};function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||t,e.check(l,s.interrupt?n:p,e.attempt(d,g,m))}
1function p(e){return s.containerState.initialBlankLine=!0,c++,g(e)}function m(t){return i(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),g):n(t)}function g(n){return s.containerState.size=c+a(s.sliceStream(e.exit("listItemPrefix"))),t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(l,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,s(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!i(n)?(r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,e.attempt(f,t,o)(n))});function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,s(e,e.attempt(c,t,n),"linePrefix",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},d={tokenize:function(e,t,n){var r=this;return s(e,function(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},f={tokenize:function(e,t,n){var r=this;return s(e,function(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},83525:function(e,t,n){"use strict";var r=n(62588),i=n(24347);e.exports={tokenize:function(e,t,n){return i(e,function(e){return null===e||r(e)?t(e):n(e)},"linePrefix")},partial:!0}},67829:function(e,t,n){"use strict";var r=n(62588),i=n(76758),o=n(24347);e.exports={name:"setextUnderline",tokenize:function(e,t,n){for(var i,a,s=this,l=s.events.length;l--;)if("lineEnding"!==s.events[l][1].type&&"linePrefix"!==s.events[l][1].type&&"content"!==s.events[l][1].type){a="paragraph"===s.events[l][1].type;break}return function(t){return!s.lazy&&(s.interrupt||a)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,function t(n){return n===i?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),o(e,u,"lineSuffix")(n))}(t)):n(t)};function u(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){for(var n,r,o,a,s=e.length;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),o||"definition"!==e[s][1].type||(o=s);return a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}}},81025:function(e,t,n){"use strict";var r=n(62588),i=n(32677),o=n(24347);e.exports={name:"thematicBreak",tokenize:function(e,t,n){var a,s=0;return function(l){return e.enter("thematicBreak"),a=l,function l(u){return u===a?(e.enter("thematicBreakSequence"),function t(n){return n===a?(e.consume(n),s++,t):(e.exit("thematicBreakSequence"),l(n))}(u)):i(u)?o(e,l,"whitespace")(u):s<3||null!==u&&!r(u)?n(u):(e.exit("thematicBreak"),t(u))}(l)}}}},33878:function(e,t,n){"use strict";var r=n(33471);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},33471:function(e,t,n){"use strict";var r=n(89147);e.exports=function(e,t,n,i){var o,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);s<i.length;)(o=i.slice(s,s+1e4)).unshift(t,0),r.apply(e,o),s+=1e4,t+=1e4}},45832:function(e,t,n){"use strict";var r=n(33081),i=n(85543),o=n(97476);e.exports=function(e){return null===e||r(e)||o(e)?1:i(e)?2:void 0}},1278:function(e,t,n){"use strict";var r=n(31135),i=n(33471),o=n(35131);e.exports=function(e){for(var t={},n=-1;++n<e.length;)!function(e,t){var n,a,s,l;for(n in t)for(l in a=r.call(e,n)?e[n]:e[n]={},s=t[n])a[l]=function(e,t){for(var n=-1,r=[];++n<e.length;)("after"===e[n].add?t:r).push(e[n]);return i(t,0,0,r),t}(o(s[l]),r.call(a,l)?a[l]:[])}(t,e[n]);return t}},97947:function(e,t,n){"use strict";var r=n(59271),i=n(62588),o=n(33878),a=n(33471),s=n(35131),l=n(95606),u=n(54337),c=n(76758),d=n(82197);e.exports=function(e,t,n){var f=n?c(n):{line:1,column:1,offset:0},h={},p=[],m=[],g=[],_={consume:function(e){i(e)?(f.line++,f.column=1,f.offset+=-3===e?2:1,T()):-1!==e&&(f.column++,f.offset++),f._bufferIndex<0?f._index++:(f._bufferIndex++,f._bufferIndex===m[f._index].length&&(f._bufferIndex=-1,f._index++)),v.previous=e}
1,enter:function(e,t){var n=t||{};return n.type=e,n.start=w(),v.events.push(["enter",n,v]),g.push(n),n},exit:function(e){var t=g.pop();return t.end=w(),v.events.push(["exit",t,v]),t},attempt:C(function(e,t){x(e,t.from)}),check:C(E),interrupt:C(E,{interrupt:!0}),lazy:C(E,{lazy:!0})},v={previous:null,events:[],parser:e,sliceStream:b,sliceSerialize:function(e){return u(b(e))},now:w,defineSkip:function(e){h[e.line]=e.column,T()},write:function(e){return(m=o(m,e),function(){for(var e,t,n;f._index<m.length;)if("string"==typeof(t=m[f._index]))for(e=f._index,f._bufferIndex<0&&(f._bufferIndex=0);f._index===e&&f._bufferIndex<t.length;)n=t.charCodeAt(f._bufferIndex),y=y(n);else y=y(t)}(),null!==m[m.length-1])?[]:(x(t,0),v.events=l(p,v.events,v),v.events)}},y=t.tokenize.call(v,_);return t.resolveAll&&p.push(t),f._index=0,f._bufferIndex=-1,v;function b(e){return d(m,e)}function w(){return c(f)}function E(e,t){t.restore()}function C(e,t){return function(n,i,o){var a,l,u,c;return n.tokenize||"length"in n?d(s(n)):function(e){return e in n||null in n?d(n.null?s(n[e]).concat(s(n.null)):n[e])(e):o(e)};function d(e){return a=e,h(e[l=0])}function h(e){return function(n){var i,o,a,s,l;return(i=w(),o=v.previous,a=v.currentConstruct,s=v.events.length,l=Array.from(g),c={restore:function(){f=i,v.previous=o,v.currentConstruct=a,v.events.length=s,g=l,T()},from:s},u=e,e.partial||(v.currentConstruct=e),e.name&&v.parser.constructs.disable.null.indexOf(e.name)>-1)?m():e.tokenize.call(t?r({},v,t):v,_,p,m)(n)}}function p(t){return e(u,c),i}function m(e){return(c.restore(),++l<a.length)?h(a[l]):o}}}function x(e,t){e.resolveAll&&0>p.indexOf(e)&&p.push(e),e.resolve&&a(v.events,t,v.events.length-t,e.resolve(v.events.slice(t),v)),e.resolveTo&&(v.events=e.resolveTo(v.events,v))}function T(){f.line in h&&f.column<2&&(f.column=h[f.line],f.offset+=h[f.line]-1)}}},35131:function(e){"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},21735:function(e){"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},44574:function(e){"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},99022:function(e,t,n){"use strict";var r=n(77713);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},23448:function(e,t,n){"use strict";var r=n(3407);e.exports=function(e){return function(t){return e.test(r(t))}}},95606:function(e){"use strict";e.exports=function(e,t,n){for(var r,i=[],o=-1;++o<e.length;)(r=e[o].resolveAll)&&0>i.indexOf(r)&&(t=r(t,n),i.push(r));return t}},69015:function(e,t,n){"use strict";var r=n(3407);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":r(n)}},54337:function(e,t,n){"use strict";var r=n(3407);e.exports=function(e){for(var t,n,i,o=-1,a=[];++o<e.length;){if("string"==typeof(t=e[o]))n=t;else if(-5===t)n="\r";else if(-4===t)n="\n";else if(-3===t)n="\r\n";else if(-2===t)n=" ";else if(-1===t){if(i)continue;n=" "}else n=r(t);i=-2===t,a.push(n)}return a.join("")}},76758:function(e,t,n){"use strict";var r=n(59271);e.exports=function(e){return r({},e)}},77713:function(e){"use strict";e.exports=function(e){for(var t=-1,n=0;++t<e.length;)n+="string"==typeof e[t]?e[t].length:1;return n}},82197:function(e){"use strict";e.exports=function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;return r===o?n=[e[r].slice(i,a)]:(n=e.slice(r,o),i>-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},46639:function(e,t,n){"use strict";var r=n(59271),i=n(33471),o=n(76758);e.exports=function(e){for(var t,n,a,s,l,u,c,d={},f=-1;++f<e.length;){for(;(f in d);)f=d[f];if(t=e[f],f&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[f-1][1].type&&((a=0)<(u=t[1]._tokenizer.events).length&&"lineEndingBlank"===u[a][1].type&&(a+=2),a<u.length&&"content"===u[a][1].type))for(;++a<u.length&&"content"!==u[a][1].type;)"chunkText"===u[a][1].type&&(u[a][1].isInFirstContentOfListItem=!0,a++);if("enter"===t[0])t[1].contentType&&(r(d,function(e,t){for(var n,r,o,a,s,l,u=e[t][1],c=e[t][2],d=t-1,f=[],h=u._tokenizer||c.parser[u.contentType](u.start),p=h.events,m=[],g={};u;){for(;e[++d][1]!==u;);f.push(d),!u._tokenizer&&(n=c.sliceStream(u),u.next||n.push(null),r&&h.defineSki
1p(u.start),u.isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(n),u.isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),r=u,u=u.next}for(u=r,o=p.length;o--;)"enter"===p[o][0]?a=!0:a&&p[o][1].type===p[o-1][1].type&&p[o][1].start.line!==p[o][1].end.line&&(_(p.slice(o+1,s)),u._tokenizer=u.next=void 0,u=u.previous,s=o+1);for(h.events=u._tokenizer=u.next=void 0,_(p.slice(0,s)),o=-1,l=0;++o<m.length;)g[l+m[o][0]]=l+m[o][1],l+=m[o][1]-m[o][0]-1;return g;function _(t){var n=f.pop();m.unshift([n,n+t.length-1]),i(e,n,2,t)}}(e,f)),f=d[f],c=!0);else if(t[1]._container||t[1]._movePreviousLineEndings){for(a=f,n=void 0;a--;)if("lineEnding"===(s=e[a])[1].type||"lineEndingBlank"===s[1].type)"enter"===s[0]&&(n&&(e[n][1].type="lineEndingBlank"),s[1].type="lineEnding",n=a);else break;n&&(t[1].end=o(e[n][1].start),(l=e.slice(n,f)).unshift(t),i(e,n,f-n+1,l))}}return!c}},11333:function(e,t,n){var r;e=n.nmd(e),r=function(){"use strict";function t(){return U.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(i(e,t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function c(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return i(t,"toString")&&(e.toString=t.toString),i(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return ti(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return(r&&(t=f(e),n=V.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e))?r:(e._isValid=r,e._isValid)}function p(e){var t=d(NaN);return null!=e?c(f(t),e):f(t).userInvalidated=!0,t}V=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var m,g,_=t.momentProperties=[],v=!1;function y(e,t){var n,r,i,o=_.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=f(t)),a(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)a(i=t[r=_[n]])||(e[r]=i);return e}function b(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,t.updateOffset(this),v=!1)}function w(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function E(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,n){var r=!0;return c(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){var o,a,s,l=[],u=arguments.length;for(a=0;a<u;a++){if(o="","object"==typeof arguments[a]){for(s in o+="\n["+a+"] ",arguments[0])i(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[a];l.push(o)}E(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+Error().stack),r=!1}return n.apply(this,arguments)},n)}var x={};function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),x[e]||(E(n),x[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var n,o=c({},e);for(n in t)i(t,n)&&(r(e[n])&&r(t[n])?(o[n]={},c(o[n],e[n]),c(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)i(e,n)&&!i(t,n)&&r(e[n])&&(o[n]=c({},o[n]));return o}function A(e){null!=e&&this.set(e)}function L(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,G=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},j={};function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(j[e]=i),t&&(j[t[0]]=function(){return L(i.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function M(e,t){return e.isValid()?(P[t=N(t,e.localeData())]=P[t]||function(e){var t,n,r,i=e.match(I);for(n=0,r=i.length;n<r;n++)j[i[n]]?i[n]=j[i[n]]:i[n]=(t=i[n]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var n,o="";for(n=0;n<r;n++)o+=S(i[n])?i[n].call(t,e):i[n];return o}}(t),P[t](e)):e.localeData().invalidDate()}function N(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;n>=0&&O.test(e);)e=e.replace(O,r),O.lastIndex=0,n-=1;return e}var D={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function H(e){return"string"==typeof e?D[e]||D[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)i(e,n)&&(t=H(n))&&(r[t]=e[n]);return r}var U,V,G,B,z={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},$=/\d/,Z=/\d\d/,W=/\d{3}/,Y=/\d{4}/,X=/[+-]?\d{6}/,J=/\d\d?/,q=/\d\d\d\d?/,K=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,et=/[+-]?\d{1,6}/,en=/\d+/,er=/[+-]?\d+/,ei=/Z|[+-]\d\d:?\d\d/gi,eo=/Z|[+-]\d\d(?::?\d\d)?/gi,ea=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,es=/^[1-9]\d?/,el=/^([1-9]\d|\d)/;function eu(e,t,n){B[e]=S(t)?t:function(e,r){return e&&n?n:t}}function ec(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ed(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ef(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ed(t)),n}B={};var eh={};function ep(e,t){var n,r,i=t;
1for("string"==typeof e&&(e=[e]),s(t)&&(i=function(e,n){n[t]=ef(e)}),r=e.length,n=0;n<r;n++)eh[e[n]]=i}function em(e,t){ep(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function eg(e){return e%4==0&&e%100!=0||e%400==0}function e_(e){return eg(e)?366:365}R("Y",0,0,function(){var e=this.year();return e<=9999?L(e,4):"+"+e}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),eu("Y",er),eu("YY",J,Z),eu("YYYY",ee,Y),eu("YYYYY",et,X),eu("YYYYYY",et,X),ep(["YYYYY","YYYYYY"],0),ep("YYYY",function(e,n){n[0]=2===e.length?t.parseTwoDigitYear(e):ef(e)}),ep("YY",function(e,n){n[0]=t.parseTwoDigitYear(e)}),ep("Y",function(e,t){t[0]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return ef(e)+(ef(e)>68?1900:2e3)};var ev=ey("FullYear",!0);function ey(e,n){return function(r){return null!=r?(ew(this,e,r),t.updateOffset(this,n),this):eb(this,e)}}function eb(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function ew(e,t,n){var r,i,o,a;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=e.month(),a=29!==(a=e.date())||1!==o||eg(n)?a:28,i?r.setUTCFullYear(n,o,a):r.setFullYear(n,o,a)}}function eE(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?eg(e)?29:28:31-n%7%2}eG=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return -1},R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),R("MMMM",0,0,function(e){return this.localeData().months(this,e)}),eu("M",J,es),eu("MM",J,Z),eu("MMM",function(e,t){return t.monthsShortRegex(e)}),eu("MMMM",function(e,t){return t.monthsRegex(e)}),ep(["M","MM"],function(e,t){t[1]=ef(e)-1}),ep(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:f(n).invalidMonth=e});var eC="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ex=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;function eT(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(r=0,this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[];r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=eG.call(this._shortMonthsParse,a))?i:null:-1!==(i=eG.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=eG.call(this._shortMonthsParse,a))?i:-1!==(i=eG.call(this._longMonthsParse,a))?i:null:-1!==(i=eG.call(this._longMonthsParse,a))?i:-1!==(i=eG.call(this._shortMonthsParse,a))?i:null}function eS(e,t){if(!e.isValid())return e;if("string"==typeof t){if(/^\d+$/.test(t))t=ef(t);else if(!s(t=e.localeData().monthsParse(t)))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,eE(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function ek(e){return null!=e?(eS(this,e),t.updateOffset(this,!0),this):eb(this,"Month")}function eA(){function e(e,t){return t.length-e.length}var t,n,r,i,o=[],a=[],s=[];for(t=0;t<12;t++)n=d([2e3,t]),r=ec(this.monthsShort(n,"")),i=ec(this.months(n,"")),o.push(r),a.push(i),s.push(i),s.push(r);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+o.join("|")+")","i")}function eL(e,t,n,r,i,o,a){var s;return e<100&&e>=0?isFinite((s=new Date(e+400,t,n,r,i,o,a)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,n,r,i,o,a),s}function eI(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eO(e,t,n){var r=7+t-n;return-((7+eI(e,0,r).getUTCDay()-t)%7)+r-1}function eP(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+eO(e,r,i);return s<=0?a=e_(o=e-1)+s:s>e_(e)?(o=e+1,a=s-e_(e)):(o=e,a=s),{year:o,dayOfYear:a}}
1function ej(e,t,n){var r,i,o=eO(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+eR(i=e.year()-1,t,n):a>eR(e.year(),t,n)?(r=a-eR(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function eR(e,t,n){var r=eO(e,t,n),i=eO(e+1,t,n);return(e_(e)-r+i)/7}function eM(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),eu("w",J,es),eu("ww",J,Z),eu("W",J,es),eu("WW",J,Z),em(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=ef(e)}),R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),eu("d",J),eu("e",J),eu("E",J),eu("dd",function(e,t){return t.weekdaysMinRegex(e)}),eu("ddd",function(e,t){return t.weekdaysShortRegex(e)}),eu("dddd",function(e,t){return t.weekdaysRegex(e)}),em(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),em(["d","e","E"],function(e,t,n,r){t[r]=ef(e)});var eN="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eD(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(r=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))||-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null}function eH(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=ec(this.weekdaysMin(n,"")),i=ec(this.weekdaysShort(n,"")),o=ec(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eF(){return this.hours()%12||12}function eU(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eV(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,eF),R("k",["kk",2],0,function(){return this.hours()||24}),R("hmm",0,0,function(){return""+eF.apply(this)+L(this.minutes(),2)}),R("hmmss",0,0,function(){return""+eF.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),eU("a",!0),eU("A",!1),eu("a",eV),eu("A",eV),eu("H",J,el),eu("h",J,es),eu("k",J,es),eu("HH",J,Z),eu("hh",J,Z),eu("kk",J,Z),eu("hmm",q),eu("hmmss",K),eu("Hmm",q),eu("Hmmss",K),ep(["H","HH"],3),ep(["k","kk"],function(e,t,n){var r=ef(e);t[3]=24===r?0:r}),ep(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ep(["h","hh"],function(e,t,n){t[3]=ef(e),f(n).bigHour=!0}),ep("hmm",function(e,t,n){var r=e.length-2;t[3]=ef(e.substr(0,r)),t[4]=ef(e.substr(r)),f(n).bigHour=!0}),ep("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=ef(e.substr(0,r)),t[4]=ef(e.substr(r,2)),t[5]=ef(e.substr(i)),f(n).bigHour=!0}),ep("Hmm",function(e,t,n){var r=e.length-2;t[3]=ef(e.substr(0,r)),t[4]=ef(e.substr(r))}),ep("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=ef(e.substr(0,r)),t[4]=ef(e.substr(r,2)),t[5]=ef(e.substr(i))});var eG,eB,ez=ey("Hours",!0),e$={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:eC,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eN,meridiemParse:/[ap]\.?m?\.?/i},eZ={},eW={};function eY(e){return e?e.toLowerCase().replace("_","-"):e}function eX(t){var n=null;if(void 0===eZ[t]&&e&&e.exports&&t&&t.match("^[^/\\\\]*$"))try{n=eB._abbr,function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),eJ(n)}catch(e){eZ[t]=null}return eZ[t]}function eJ(e,t){var n;return e&&((n=a(t)?eK(e):eq(e,t))?eB=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eB._abbr}function eq(e,t){if(null===t)return delete eZ[e],null;var n,r=e$;if(t.abbr=e,null!=eZ[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=eZ[e]._config;else if(null!=t.parentLocale){if(null!=eZ[t.parentLocale])r=eZ[t.parentLocale]._config;else{if(null==(n=eX(t.parentLocale)))return eW[t.parentLocale]||(eW[t.parentLocale]=[]),eW[t.parentLocale].push({name:e,config:t}),null;r=n._config}}return eZ[e]=new A(k(r,t)),eW[e]&&eW[e].forEach(function(e){eq(e.name,e.config)}),eJ(e),eZ[e]}function eK(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eB;if(!n(e)){if(t=eX(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=eY(e[o]).split("-")).length,n=(n=eY(e[o+1]))?n.split("-"):null;t>0;){if(r=eX(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}(i,n)>=t-1)break;t--}o++}return eB}(e)}function eQ(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>eE(n[0],n[1])?2:n[3]<0||n[3]>
124||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var e1=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e0=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/Z|[+-]\d\d(?::?\d\d)?/,e3=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e6=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e4=/^\/?Date\((-?\d+)/i,e5=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e9={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e7(e){var t,n,r,i,o,a,s=e._i,l=e1.exec(s)||e0.exec(s),u=e3.length,c=e6.length;if(l){for(t=0,f(e).iso=!0,n=u;t<n;t++)if(e3[t][1].exec(l[1])){i=e3[t][0],r=!1!==e3[t][2];break}if(null==i){e._isValid=!1;return}if(l[3]){for(t=0,n=c;t<n;t++)if(e6[t][1].exec(l[3])){o=(l[2]||" ")+e6[t][0];break}if(null==o){e._isValid=!1;return}}if(!r&&null!=o){e._isValid=!1;return}if(l[4]){if(e2.exec(l[4]))a="Z";else{e._isValid=!1;return}}e._f=i+(o||"")+(a||""),tn(e)}else e._isValid=!1}function e8(e){var t,n,r,i,o,a,s,l,u,c=e5.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],i=c[2],o=c[5],a=c[6],s=c[7],l=[(t=parseInt(n,10))<=49?2e3+t:t<=999?1900+t:t,eC.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),(u=c[1])&&eN.indexOf(u)!==new Date(l[0],l[1],l[2]).getDay()&&(f(e).weekdayMismatch=!0,e._isValid=!1,1))return;e._a=l,e._tzm=function(e,t,n){if(e)return e9[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),e._d=eI.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function te(e,t,n){return null!=e?e:null!=t?t:n}function tt(e){var n,r,i,o,a,s,l,u,c,d,h,p,m,g,_,v=[];if(!e._d){for(d=new Date(t.now()),m=e._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[2]&&null==e._a[1]&&(null!=(n=e._w).GG||null!=n.W||null!=n.E?(a=1,s=4,r=te(n.GG,e._a[0],ej(to(),1,4).year),i=te(n.W,1),((o=te(n.E,1))<1||o>7)&&(u=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,c=ej(to(),a,s),r=te(n.gg,e._a[0],c.year),i=te(n.w,c.week),null!=n.d?((o=n.d)<0||o>6)&&(u=!0):null!=n.e?(o=n.e+a,(n.e<0||n.e>6)&&(u=!0)):o=a),i<1||i>eR(r,a,s)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(l=eP(r,i,o,a,s),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(_=te(e._a[0],m[0]),(e._dayOfYear>e_(_)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),p=eI(_,0,e._dayOfYear),e._a[1]=p.getUTCMonth(),e._a[2]=p.getUTCDate()),h=0;h<3&&null==e._a[h];++h)e._a[h]=v[h]=m[h];for(;h<7;h++)e._a[h]=v[h]=null==e._a[h]?2===h?1:0:e._a[h];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eI:eL).apply(null,v),g=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==g&&(f(e).weekdayMismatch=!0)}}function tn(e){if(e._f===t.ISO_8601){e7(e);return}if(e._f===t.RFC_2822){e8(e);return}e._a=[],f(e).empty=!0;var n,r,o,a,s,l,u,c,d,h,p,m=""+e._i,g=m.length,_=0;for(s=0,p=(u=N(e._f,e._locale).match(I)||[]).length;s<p;s++)(c=u[s],(l=(m.match(i(B,c)?B[c](e._strict,e._locale):new RegExp(ec(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))))||[])[0])&&((d=m.substr(0,m.indexOf(l))).length>0&&f(e).unusedInput.push(d),m=m.slice(m.indexOf(l)+l.length),_+=l.length),j[c])?(l?f(e).empty=!1:f(e).unusedTokens.push(c),null!=l&&i(eh,c)&&eh[c](l,e._a,e,c)):e._strict&&!l&&f(e).unusedTokens.push(c);f(e).charsLeftOver=g-_,m.length>0&&f(e).unusedInput.push(m),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=(n=e._locale,r=e._a[3],null==(o=e._meridiem)?r:null!=n.meridiemHour?n.meridiemHour(r,o):(null!=n.isPM&&((a=n.isPM(o))&&r<12&&(r+=12),a||12!==r||(r=0)),r)),null!==(h=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(h,e._a[0])),tt(e),eQ(e)}function tr(e){var i,o=e._i,d=e._f;return(e._locale=e._locale||eK(e._l),null===o||void 0===d&&""===o)?p({nullInput:!0}):("string"==typeof o&&(e._i=o=e._locale.preparse(o)),w(o))?new b(eQ(o)):(l(o)?e._d=o:n(d)?function(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(0===l){f(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)o=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],tn(t),h(t)&&(a=!0),o+=f(t).charsLeftOver+10*f(t).unusedTokens.length,f(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));c(e,n||t)}(e):d?tn(e):a(i=e._i)?e._d=new Date(t.now()):l(i)?e._d=new Date(i.valueOf()):"string"==typeof i?function(e){var n=e4.exec(e._i);if(null!==n){e._d=new Date(+n[1]);return}
1e7(e),!1===e._isValid&&(delete e._isValid,e8(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:t.createFromInputFallback(e)))}(e):n(i)?(e._a=u(i.slice(0),function(e){return parseInt(e,10)}),tt(e)):r(i)?function(e){if(!e._d){var t=F(e._i),n=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),tt(e)}}(e):s(i)?e._d=new Date(i):t.createFromInputFallback(e),h(e)||(e._d=null),e)}function ti(e,t,i,a,s){var l,u={};return(!0===t||!1===t)&&(a=t,t=void 0),(!0===i||!1===i)&&(a=i,i=void 0),(r(e)&&o(e)||n(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=i,u._i=e,u._f=t,u._strict=a,(l=new b(eQ(tr(u))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function to(e,t,n,r){return ti(e,t,n,r,!1)}t.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var ta=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),ts=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()});function tl(e,t){var r,i;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return to();for(i=1,r=t[0];i<t.length;++i)(!t[i].isValid()||t[i][e](r))&&(r=t[i]);return r}var tu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tc(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1,o=tu.length;for(t in e)if(i(e,t)&&!(-1!==eG.call(tu,t)&&(null==e[t]||!isNaN(e[t]))))return!1;for(n=0;n<o;++n)if(e[tu[n]]){if(r)return!1;parseFloat(e[tu[n]])!==ef(e[tu[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+36e5*l,this._days=+s+7*a,this._months=+o+3*r+12*n,this._data={},this._locale=eK(),this._bubble()}function td(e){return e instanceof tc}function tf(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function th(e,t){R(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)})}th("Z",":"),th("ZZ",""),eu("Z",eo),eu("ZZ",eo),ep(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=tm(eo,e)});var tp=/([\+\-]|\d\d)/gi;function tm(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=+(60*(n=((i[i.length-1]||[])+"").match(tp)||["-",0,0])[1])+ef(n[2]))?0:"+"===n[0]?r:-r}function tg(e,n){var r,i;return n._isUTC?(r=n.clone(),i=(w(e)||l(e)?e.valueOf():to(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),t.updateOffset(r,!1),r):to(e).local()}function t_(e){return-Math.round(e._d.getTimezoneOffset())}function tv(){return!!this.isValid()&&this._isUTC&&0===this._offset}t.updateOffset=function(){};var ty=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,tb=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tw(e,t){var n,r,o,a,l,u,c=e,d=null;return td(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=ty.exec(e))?(a="-"===d[1]?-1:1,c={y:0,d:ef(d[2])*a,h:ef(d[3])*a,m:ef(d[4])*a,s:ef(d[5])*a,ms:ef(tf(1e3*d[6]))*a}):(d=tb.exec(e))?(a="-"===d[1]?-1:1,c={y:tE(d[2],a),M:tE(d[3],a),w:tE(d[4],a),d:tE(d[5],a),h:tE(d[6],a),m:tE(d[7],a),s:tE(d[8],a)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(n=to(c.from),r=to(c.to),u=n.isValid()&&r.isValid()?(r=tg(r,n),n.isBefore(r)?o=tC(n,r):((o=tC(r,n)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(c={}).ms=u.milliseconds,c.M=u.months),l=new tc(c),td(e)&&i(e,"_locale")&&(l._locale=e._locale),td(e)&&i(e,"_isValid")&&(l._isValid=e._isValid),l}function tE(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function tC(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function tx(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),tT(this,tw(n,r),e),this}}function tT(e,n,r,i){var o=n._milliseconds,a=tf(n._days),s=tf(n._months);e.isValid()&&(i=null==i||i,s&&eS(e,eb(e,"Month")+s*r),a&&ew(e,"Date",eb(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&t.updateOffset(e,a||s))}tw.fn=tc.prototype,tw.invalid=function(){return tw(NaN)};var tS=tx(1,"add"),tk=tx(-1,"subtract");function tA(e){return"string"==typeof e||e instanceof String}function tL(e,t){if(e.date()<t.date())return-tL(t,e);var n,r=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(r,"months");return n=t-i<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(r+1,"months")-i),-(r+n)||0}function tI(e){var t;return void 0===e?this._locale._abbr:(null!=(t=eK(e))&&(this._locale=t),this)}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tO=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function tP(){return this._locale}function tj(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tR(e,t,n){return e<100&&e>
1=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tM(e,t){return t.erasAbbrRegex(e)}function tN(){var e,t,n,r,i,o=[],a=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)n=ec(u[e].name),r=ec(u[e].abbr),i=ec(u[e].narrow),a.push(n),o.push(r),s.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+s.join("|")+")","i")}function tD(e,t){R(0,[e,e.length],0,t)}function tH(e,t,n,r,i){var o;return null==e?ej(this,r,i).year:(t>(o=eR(e,r,i))&&(t=o),tF.call(this,e,t,n,r,i))}function tF(e,t,n,r,i){var o=eP(e,t,n,r,i),a=eI(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),eu("N",tM),eu("NN",tM),eu("NNN",tM),eu("NNNN",function(e,t){return t.erasNameRegex(e)}),eu("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ep(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?f(n).era=i:f(n).invalidEra=e}),eu("y",en),eu("yy",en),eu("yyy",en),eu("yyyy",en),eu("yo",function(e,t){return t._eraYearOrdinalRegex||en}),ep(["y","yy","yyy","yyyy"],0),ep(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)}),R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tD("gggg","weekYear"),tD("ggggg","weekYear"),tD("GGGG","isoWeekYear"),tD("GGGGG","isoWeekYear"),eu("G",er),eu("g",er),eu("GG",J,Z),eu("gg",J,Z),eu("GGGG",ee,Y),eu("gggg",ee,Y),eu("GGGGG",et,X),eu("ggggg",et,X),em(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=ef(e)}),em(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),R("Q",0,"Qo","quarter"),eu("Q",$),ep("Q",function(e,t){t[1]=(ef(e)-1)*3}),R("D",["DD",2],"Do","date"),eu("D",J,es),eu("DD",J,Z),eu("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ep(["D","DD"],2),ep("Do",function(e,t){t[2]=ef(e.match(J)[0])});var tU=ey("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),eu("DDD",Q),eu("DDDD",W),ep(["DDD","DDDD"],function(e,t,n){n._dayOfYear=ef(e)}),R("m",["mm",2],0,"minute"),eu("m",J,el),eu("mm",J,Z),ep(["m","mm"],4);var tV=ey("Minutes",!1);R("s",["ss",2],0,"second"),eu("s",J,el),eu("ss",J,Z),ep(["s","ss"],5);var tG=ey("Seconds",!1);for(R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),eu("S",Q,$),eu("SS",Q,Z),eu("SSS",Q,W),m="SSSS";m.length<=9;m+="S")eu(m,en);function tB(e,t){t[6]=ef(("0."+e)*1e3)}for(m="S";m.length<=9;m+="S")ep(m,tB);g=ey("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var tz=b.prototype;function t$(e){return e}tz.add=tS,tz.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var u,c,d;(u=arguments[0],w(u)||l(u)||tA(u)||s(u)||(c=n(u),d=!1,c&&(d=0===u.filter(function(e){return!s(e)&&tA(u)}).length),c&&d)||function(e){var t,n,a=r(e)&&!o(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)n=l[t],s=s||i(e,n);return a&&s}(u)||null==u)?(e=arguments[0],a=void 0):function(e){var t,n,a=r(e)&&!o(e),s=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)n=l[t],s=s||i(e,n);return a&&s}(arguments[0])&&(a=arguments[0],e=void 0)}else e=void 0,a=void 0}var f=e||to(),h=tg(f,this).startOf("day"),p=t.calendarFormat(this,h)||"sameElse",m=a&&(S(a[p])?a[p].call(this,f):a[p]);return this.format(m||this.localeData().calendar(p,this,to(f)))},tz.clone=function(){return new b(this)},tz.diff=function(e,t,n){var r,i,o;if(!this.isValid()||!(r=tg(e,this)).isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=H(t)){case"year":o=tL(this,r)/12;break;case"month":o=tL(this,r);break;case"quarter":o=tL(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:ed(o)},tz.endOf=function(e){var n,r;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?tR:tj,e){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;
1case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5-1;break;case"minute":n=this._d.valueOf(),n+=6e4-(n%6e4+6e4)%6e4-1;break;case"second":n=this._d.valueOf(),n+=1e3-(n%1e3+1e3)%1e3-1}return this._d.setTime(n),t.updateOffset(this,!0),this},tz.format=function(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=M(this,e);return this.localeData().postformat(n)},tz.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||to(e).isValid())?tw({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tz.fromNow=function(e){return this.from(to(),e)},tz.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||to(e).isValid())?tw({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tz.toNow=function(e){return this.to(to(),e)},tz.get=function(e){return S(this[e=H(e)])?this[e]():this},tz.invalidAt=function(){return f(this).overflow},tz.isAfter=function(e,t){var n=w(e)?e:to(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},tz.isBefore=function(e,t){var n=w(e)?e:to(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},tz.isBetween=function(e,t,n,r){var i=w(e)?e:to(e),o=w(t)?t:to(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},tz.isSame=function(e,t){var n,r=w(e)?e:to(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},tz.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},tz.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},tz.isValid=function(){return h(this)},tz.lang=tO,tz.locale=tI,tz.localeData=tP,tz.max=ts,tz.min=ta,tz.parsingFlags=function(){return c({},f(this))},tz.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)i(e,t)&&n.push({unit:t,priority:z[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=F(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(S(this[e=H(e)]))return this[e](t);return this},tz.startOf=function(e){var n,r;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?tR:tj,e){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5;break;case"minute":n=this._d.valueOf(),n-=(n%6e4+6e4)%6e4;break;case"second":n=this._d.valueOf(),n-=(n%1e3+1e3)%1e3}return this._d.setTime(n),t.updateOffset(this,!0),this},tz.subtract=tk,tz.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},tz.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},tz.toDate=function(){return new Date(this.valueOf())},tz.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return 0>n.year()||n.year()>9999?M(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",M(n,"Z")):M(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
1,tz.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tz[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tz.toJSON=function(){return this.isValid()?this.toISOString():null},tz.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tz.unix=function(){return Math.floor(this.valueOf()/1e3)},tz.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tz.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tz.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""},tz.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""},tz.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""},tz.eraYear=function(){var e,n,r,i,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e)if(r=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-t(o[e].since).year())*r+o[e].offset;return this.year()},tz.year=ev,tz.isLeapYear=function(){return eg(this.year())},tz.weekYear=function(e){return tH.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},tz.isoWeekYear=function(e){return tH.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},tz.quarter=tz.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)},tz.month=ek,tz.daysInMonth=function(){return eE(this.year(),this.month())},tz.week=tz.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add((e-t)*7,"d")},tz.isoWeek=tz.isoWeeks=function(e){var t=ej(this,1,4).week;return null==e?t:this.add((e-t)*7,"d")},tz.weeksInYear=function(){var e=this.localeData()._week;return eR(this.year(),e.dow,e.doy)},tz.weeksInWeekYear=function(){var e=this.localeData()._week;return eR(this.weekYear(),e.dow,e.doy)},tz.isoWeeksInYear=function(){return eR(this.year(),1,4)},tz.isoWeeksInISOWeekYear=function(){return eR(this.isoWeekYear(),1,4)},tz.date=tU,tz.day=tz.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=eb(this,"Day");return null==e?r:(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d"))},tz.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},tz.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n=(t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?n:n-7)},tz.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},tz.hour=tz.hours=ez,tz.minute=tz.minutes=tV,tz.second=tz.seconds=tG,tz.millisecond=tz.milliseconds=g,tz.utcOffset=function(e,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:t_(this);if("string"==typeof e){if(null===(e=tm(eo,e)))return this}else 16>Math.abs(e)&&!r&&(e*=60);return!this._isUTC&&n&&(i=t_(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o===e||(!n||this._changeInProgress?tT(this,tw(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},tz.utc=function(e){return this.utcOffset(0,e)},tz.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(t_(this),"m")),this},tz.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tm(ei,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tz.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?to(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tz.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tz.isLocal=function(){return!!this.isValid()&&!this._isUTC},tz.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tz.isUtc=tv,tz.isUTC=tv,tz.zoneAbbr=function(){return this._isUTC?"UTC":""},tz.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tz.dates=C("dates accessor is deprecated. Use date instead.",tU),tz.months=C("months accessor is deprecated. Use month instead",ek),tz.years=C("years accessor is deprecated. Use year instead",ev),tz.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tz.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=tr(t))._a?(e=t._isUTC?d(t._a):to(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)ef(e[r])!==ef(t[r])&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var tZ=A.prototype;function tW(e,t,n,r){var i=eK(),o=d().set(r,t);return i[n](o,e)}function tY(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return tW(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=tW(e,r,n,"month");return i}function tX(e,t,n,r){"boolean"==typeof e||(n=t=e,e=!1),s(t)&&(n=t,t=void 0),t=t||"";var i,o=eK(),a=e?o._week.dow:0,l=[];
1if(null!=n)return tW(t,(n+a)%7,r,"day");for(i=0;i<7;i++)l[i]=tW(t,(i+a)%7,r,"day");return l}tZ.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},tZ.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tZ.invalidDate=function(){return this._invalidDate},tZ.ordinal=function(e){return this._ordinal.replace("%d",e)},tZ.preparse=t$,tZ.postformat=t$,tZ.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return S(i)?i(e,t,n,r):i.replace(/%d/i,e)},tZ.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},tZ.set=function(e){var t,n;for(n in e)i(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tZ.eras=function(e,n){var r,i,o,a=this._eras||eK("en")._eras;for(r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(o=t(a[r].since).startOf("day"),a[r].since=o.valueOf()),typeof a[r].until){case"undefined":a[r].until=Infinity;break;case"string":o=t(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}return a},tZ.erasParse=function(e,t,n){var r,i,o,a,s,l=this.eras();for(r=0,e=e.toUpperCase(),i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,a,s].indexOf(e)>=0)return l[r]},tZ.erasConvertYear=function(e,n){var r=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*r},tZ.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||tN.call(this),e?this._erasAbbrRegex:this._erasRegex},tZ.erasNameRegex=function(e){return i(this,"_erasNameRegex")||tN.call(this),e?this._erasNameRegex:this._erasRegex},tZ.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||tN.call(this),e?this._erasNarrowRegex:this._erasRegex},tZ.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ex).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},tZ.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ex.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tZ.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return eT.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e)||n&&"MMM"===t&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r},tZ.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eA.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(i(this,"_monthsRegex")||(this._monthsRegex=ea),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tZ.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eA.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ea),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tZ.week=function(e){return ej(e,this._week.dow,this._week.doy).week},tZ.firstDayOfYear=function(){return this._week.doy},tZ.firstDayOfWeek=function(){return this._week.dow},tZ.weekdays=function(e,t){var r=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?eM(r,this._week.dow):e?r[e.day()]:r},tZ.weekdaysMin=function(e){return!0===e?eM(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tZ.weekdaysShort=function(e){return!0===e?eM(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tZ.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return eD.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;
1r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e)||n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},tZ.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eH.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(i(this,"_weekdaysRegex")||(this._weekdaysRegex=ea),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tZ.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eH.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ea),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tZ.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eH.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ea),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tZ.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tZ.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},eJ("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===ef(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=C("moment.lang is deprecated. Use moment.locale instead.",eJ),t.langData=C("moment.langData is deprecated. Use moment.localeData instead.",eK);var tJ=Math.abs;function tq(e,t,n,r){var i=tw(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function tK(e){return e<0?Math.floor(e):Math.ceil(e)}function tQ(e){return 4800*e/146097}function t1(e){return 146097*e/4800}function t0(e){return function(){return this.as(e)}}var t2=t0("ms"),t3=t0("s"),t6=t0("m"),t4=t0("h"),t5=t0("d"),t9=t0("w"),t7=t0("M"),t8=t0("Q"),ne=t0("y");function nt(e){return function(){return this.isValid()?this._data[e]:NaN}}var nn=nt("milliseconds"),nr=nt("seconds"),ni=nt("minutes"),no=nt("hours"),na=nt("days"),ns=nt("months"),nl=nt("years"),nu=Math.round,nc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nd(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var nf=Math.abs;function nh(e){return(e>0)-(e<0)||+e}function np(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=nf(this._milliseconds)/1e3,u=nf(this._days),c=nf(this._months),d=this.asSeconds();return d?(e=ed(l/60),t=ed(e/60),l%=60,e%=60,n=ed(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=nh(this._months)!==nh(d)?"-":"",a=nh(this._days)!==nh(d)?"-":"",s=nh(this._milliseconds)!==nh(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var nm=tc.prototype;return nm.isValid=function(){return this._isValid},nm.abs=function(){var e=this._data;return this._milliseconds=tJ(this._milliseconds),this._days=tJ(this._days),this._months=tJ(this._months),e.milliseconds=tJ(e.milliseconds),e.seconds=tJ(e.seconds),e.minutes=tJ(e.minutes),e.hours=tJ(e.hours),e.months=tJ(e.months),e.years=tJ(e.years),this},nm.add=function(e,t){return tq(this,e,t,1)},nm.subtract=function(e,t){return tq(this,e,t,-1)},nm.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=H(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+tQ(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(t1(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}},nm.asMilliseconds=t2,nm.asSeconds=t3,nm.asMinutes=t6,nm.asHours=t4,nm.asDays=t5,nm.asWeeks=t9,nm.asMonths=t7,nm.asQuarters=t8,nm.asYears=ne,nm.valueOf=t2,nm._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*tK(t1(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=ed(o/1e3),l.seconds=e%60,t=ed(e/60),l.minutes=t%60,n=ed(t/60),l.hours=n%24,a+=ed(n/24),s+=i=ed(tQ(a)),a-=tK(t1(i)),r=ed(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},nm.clone=function(){return tw(this)},nm.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},nm.milliseconds=nn,nm.seconds=nr,nm.minutes=ni,nm.hours=no,nm.days=na,nm.weeks=function(){return ed(this.days()/7)},nm.months=ns,nm.years=nl,nm.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i,o,a,s,l,u,c,d,f,h,p,m=!1,g=nc;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(m=e),"object"==typeof t&&(g=Object.assign({},nc,t),null!=t.s&&null==t.ss&&(g.ss=t.s-1)),h=this.localeData(),n=!m,r=g,i=tw(this).abs(),o=nu(i.as("s")),a=nu(i.as("m")),s=nu(i.as("h")),l=nu(i.as("d")),u=nu(i.as("M")),c=nu(i.as("w")),d=nu(i.as("y")),f=
1o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l],null!=r.w&&(f=f||c<=1&&["w"]||c<r.w&&["ww",c]),(f=f||u<=1&&["M"]||u<r.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=n,f[3]=+this>0,f[4]=h,p=nd.apply(null,f),m&&(p=h.pastFuture(+this,p)),h.postformat(p)},nm.toISOString=np,nm.toString=np,nm.toJSON=np,nm.locale=tI,nm.localeData=tP,nm.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",np),nm.lang=tO,R("X",0,0,"unix"),R("x",0,0,"valueOf"),eu("x",er),eu("X",/[+-]?\d+(\.\d{1,3})?/),ep("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ep("x",function(e,t,n){n._d=new Date(ef(e))}),t.version="2.30.1",U=to,t.fn=tz,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return tl("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=d,t.unix=function(e){return to(1e3*e)},t.months=function(e,t){return tY(e,t,"months")},t.isDate=l,t.locale=eJ,t.invalid=p,t.duration=tw,t.isMoment=w,t.weekdays=function(e,t,n){return tX(e,t,n,"weekdays")},t.parseZone=function(){return to.apply(null,arguments).parseZone()},t.localeData=eK,t.isDuration=td,t.monthsShort=function(e,t){return tY(e,t,"monthsShort")},t.weekdaysMin=function(e,t,n){return tX(e,t,n,"weekdaysMin")},t.defineLocale=eq,t.updateLocale=function(e,t){if(null!=t){var n,r,i=e$;null!=eZ[e]&&null!=eZ[e].parentLocale?eZ[e].set(k(eZ[e]._config,t)):(null!=(r=eX(e))&&(i=r._config),t=k(i,t),null==r&&(t.abbr=e),(n=new A(t)).parentLocale=eZ[e],eZ[e]=n),eJ(e)}else null!=eZ[e]&&(null!=eZ[e].parentLocale?(eZ[e]=eZ[e].parentLocale,e===eJ()&&eJ(e)):null!=eZ[e]&&delete eZ[e]);return eZ[e]},t.locales=function(){return G(eZ)},t.weekdaysShort=function(e,t,n){return tX(e,t,n,"weekdaysShort")},t.normalizeUnits=H,t.relativeTimeRounding=function(e){return void 0===e?nu:"function"==typeof e&&(nu=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==nc[e]&&(void 0===t?nc[e]:(nc[e]=t,"s"===e&&(nc.ss=t-1),!0))},t.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},t.prototype=tz,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t},e.exports=r()},6551:function(e,t){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=n},7717:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72138),i=n(91295),o=n(83377),a=n(98070);t.useFormatter=r.useFormatter,t.useTranslations=r.useTranslations,t.useLocale=i.default,t.NextIntlClientProvider=o.default,Object.keys(a).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})},72138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(98070);function i(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let o=i(0,r.useTranslations),a=i(0,r.useFormatter);t.useFormatter=a,t.useTranslations=o,Object.keys(r).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})},91295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(75963),i=n(32547),o=n(30338);t.default=function(){let e;let t=r.useParams();try{e=i.useLocale()}catch(n){if("string"!=typeof(null==t?void 0:t[o.LOCALE_SEGMENT_NAME]))throw n;e=t[o.LOCALE_SEGMENT_NAME]}return e}},83377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6551),i=n(75271),o=n(57470),a=i&&i.__esModule?i:{default:i};t.default=function(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return a.default.createElement(o.IntlProvider,r.extends({locale:t},n))}},30338:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.COOKIE_LOCALE_NAME="NEXT_LOCALE",t.COOKIE_MAX_AGE=31536e3,t.COOKIE_SAME_SITE="lax",t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},59:function(e,t,n){e.exports=n(56834)},53868:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(44119)}])},50451:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(75271);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),a=e=>{let t=o(e);return t.charAt(0).toUpperCase()+t.slice(1)},s=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},l=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:a,className:c="",children:d,iconNode:f,...h}=e;return(0,r.createElement)("svg",{ref:t,...u,width:i,height:i,stroke:n,strokeWidth:a?24*Number(o)/Number(i):o,className:s("lucide",c),...!d&&!l(h)&&{"aria-hidden":"true"},...h},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:l,...u}=n;return(0,r.createElement)(c,{ref:o,iconNode:t,className:s(`lucide-${i(a(e))}`,`lucide-${e}`,l),...u})});return n.displayName=a(e),n}},29596:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(50451).Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},53805:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(50451).Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},88932:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(50451).Z)("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]])},13297:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(50451).Z)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},87156:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(50451).Z)("shapes",[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]])},60275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(36368).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(60275);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45877:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return f},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return p},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let r=n(75271),i=n(73931),o=n(59166),a=n(55909),s=n(38782),l=n(20744),u=n(26978);function c(){let e=(0,r.useContext)(o.SearchParamsContext);return(0,r.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,r.useContext)(o.PathnameContext)}function f(){let e=(0,r.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,r.useContext)(o.PathParamsContext)}function p(e){void 0===e&&(e="children");let t=(0,r.useContext)(i.LayoutRouterContext);return t?function e(t,n,r,i){let o;if(void 0===r&&(r=!0),void 0===i&&(i=[]),r)o=t[1][n];else{var l;let e=t[1];o=null!=(l=e.children)?l:Object.values(e)[0]}if(!o)return i;let u=o[0],c=(0,a.getSegmentValue)(u);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(c),e(o,n,!1,i))}(t.tree,e):null}function m(e){void 0===e&&(e="children");let t=p(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===s.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return r.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(72170),i=n(52076);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52076:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return i},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81076:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72170:function(e,t,n){"use strict";var r,i;
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return u},getRedirectStatusCodeFromError:function(){return m},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return h},isRedirectError:function(){return f},permanentRedirect:function(){return d},redirect:function(){return c}});let o=n(84240),a=n(96962),s=n(81076),l="NEXT_REDIRECT";function u(e,t,n){void 0===n&&(n=s.RedirectStatusCode.TemporaryRedirect);let r=Error(l);r.digest=l+";"+t+";"+e+";"+n+";";let i=o.requestAsyncStorage.getStore();return i&&(r.mutableCookies=i.mutableCookies),r}function c(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw u(e,t,(null==n?void 0:n.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw u(e,t,(null==n?void 0:n.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,i]=e.digest.split(";",4),o=Number(i);return t===l&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(o)&&o in s.RedirectStatusCode}function h(e){return f(e)?e.digest.split(";",3)[2]:null}function p(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function m(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=r||(r={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(36368).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(25581);function i(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55909:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let r=n(42430),i=n(11778),o=n(52676),a=i._(n(75271)),s=r._(n(30967)),l=r._(n(7367)),u=n(48864),c=n(89338),d=n(10981);n(31264);let f=n(72684),h=r._(n(15200)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let _=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:_,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:E,sizesInput:C,onLoad:x,onError:T,...S}=e;return(0,o.jsx)("img",{...S,...g(f),loading:p,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(T&&(e.src=e.src),e.complete&&m(e,h,y,b,w,_,C))},[n,h,y,b,w,T,_,C,t]),onLoad:e=>{m(e.currentTarget,h,y,b,w,_,C)},onError:e=>{E(!0),"empty"!==h&&w(!0),T&&T(e)}})});function v(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...g(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
1e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,b]=(0,a.useState)(!1),[w,E]=(0,a.useState)(!1),{props:C,meta:x}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(_,{...C,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:E,sizesInput:e.sizes,ref:t}),x.priority?(0,o.jsx)(v,{isAppRouter:!n,imgAttributes:C}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return a}});let r=n(42430);n(52676),n(75271);let i=r._(n(15645));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let s=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(31264);let r=n(4140),i=n(89338);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:h=!1,loading:p,className:m,quality:g,width:_,height:v,fill:y=!1,style:b,overrideSrc:w,onLoad:E,onLoadingComplete:C,placeholder:x="empty",blurDataURL:T,fetchPriority:S,decoding:k="async",layout:A,objectFit:L,objectPosition:I,lazyBoundary:O,lazyRoot:P,...j}=e,{imgConf:R,showAltText:M,blurComplete:N,defaultLoader:D}=t,H=R||i.imageConfigDefault;if("allSizes"in H)s=H;else{let e=[...H.deviceSizes,...H.imageSizes].sort((e,t)=>e-t),t=H.deviceSizes.sort((e,t)=>e-t);s={...H,allSizes:e,deviceSizes:t}}if(void 0===D)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=j.loader||D;delete j.loader,delete j.srcSet;let U="__next_img_default"in F;if(U){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(b={...b,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!d&&(d=t)}let V="",G=a(_),B=a(v);if("object"==typeof(n=c)&&(o(n)||void 0!==n.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,T=T||e.blurDataURL,V=e.src,!y){if(G||B){if(G&&!B){let t=G/e.width;B=Math.round(e.height*t)}else if(!G&&B){let t=B/e.height;G=Math.round(e.width*t)}}else G=e.width,B=e.height}}let z=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:V)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,z=!1),s.unoptimized&&(f=!0),U&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),h&&(S="high");let $=a(g),Z=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:L,objectPosition:I}:{},M?{}:{color:"transparent"},b),W=N||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:G,heightInt:B,blurWidth:l,blurHeight:u,blurDataURL:T||"",objectFit:Z.objectFit})+'")':'url("'+x+'")',Y=W?{backgroundSize:Z.objectFit||"cover",backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{}
1,X=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:f,width:G,quality:$,sizes:d,loader:F});return{props:{...j,loading:z?"lazy":p,fetchPriority:S,width:G,height:B,decoding:k,className:m,style:{...Z,...Y},sizes:X.sizes,srcSet:X.srcSet,src:w||X.src},meta:{unoptimized:f,priority:h,placeholder:x,fill:y}}}},4140:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},59583:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(42430),i=n(48864),o=n(32679),a=r._(n(15200));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},15200:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},2575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(42430)._(n(75271)).default.createContext(null)},15645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(42430)._(n(75271)),i=n(2575),o=[],a=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){let t=new u(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=n.webpack?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function c(e,t){!function(){l();let e=r.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let a=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),r.default.useMemo(()=>{var t;return a.loading||a.error?r.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>l(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(l,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},26978:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let r=n(11778)._(n(75271)),i=r.default.createContext(null);function o(e){let t=(0,r.useContext)(i);t&&t(e)}},43046:function(e,t,n){"use strict";var r,i,o,a,s,l;n.d(t,{Ai:function(){return u},KC:function(){return o},PA:function(){return c},Xy:function(){return d},e0:function(){return r},gY:function(){return i}});let u=[{value:"USD",label:"USD $"},{value:"JPY",label:"JPY \xa5"},{value:"TWD",label:"TWD NT$"},{value:"CNY",label:"CNY \xa5"},{value:"EUR",label:"EUR â¬"},{value:"KRW",label:"KRW â©"},{value:"THB",label:"THB ฿"}],c={felosearch_standard:"Standard",felosearch_premium:"Premium",felosearch_ultimate:"Ultimate"};(a=r||(r={})).FREE="FREE",a.PAID="PAID",(s=i||(i={})).OWNER="OWNER",s.ADMIN="ADMIN",s.MEMBER="MEMBER";let d="[email protected]";(l=o||(o={})).PRODUCT_PRO_ID="felo_search_pro",l.ENTERPRISE_PRO_ID="felo_search_ent",l.USER_BASE_ID="felo_search_basic",l.SEARCH_ONLY="felo_search_search_only"},11509:function(e,t,n){"use strict";n.d(t,{$0:function(){return d},FW:function(){return h},G1:function(){return o},KI:function(){return f},RU:function(){return s},Ru:function(){return i},U4:function(){return m},hk:function(){return p},kH:function(){return c},lU:function(){return l},pZ:function(){return u},sg:function(){return a}});var r=n(52676);let i=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M5.83913 15.3332H10.1609C10.6975 15.3332 11.1404 15.3332 11.5012 15.3037C11.8759 15.2731 12.2204 15.2074 12.544 15.0425C13.0457 14.7869 13.4537 14.3789 13.7094 13.8771C13.8742 13.5536 13.9399 13.2091 13.9705 12.8344C14 12.4736 14 12.0307 14 11.4941V8.99984C14 8.63165 13.7015 8.33317 13.3333 8.33317C12.9651 8.33317 12.6667 8.63165 12.6667 8.99984V11.4665C12.6667 12.0376 12.6661 12.4258 12.6416 12.7258C12.6178 13.0181 12.5745 13.1676 12.5213 13.2718C12.3935 13.5227 12.1895 13.7267 11.9387 13.8545C11.8344 13.9076 11.6849 13.9509 11.3926 13.9748C11.0926 13.9993 10.7044 13.9998 10.1333 13.9998H5.86667C5.29561 13.9998 4.90742 13.9993 4.60736 13.9748C4.31508 13.9509 4.16561 13.9076 4.06135 13.8545C3.81046 13.7267 3.60649 13.5227 3.47866 13.2718C3.42553 13.1676 3.38225 13.0181 3.35837 12.7258C3.33385 12.4258 3.33333 12.0376 3.33333 11.4665V4.53317C3.33333 3.96212 3.33385 3.57392 3.35837 3.27386C3.38225 2.98159 3.42553 2.83212 3.47866 2.72785C3.60649 2.47697 3.81046 2.27299 4.06135 2.14516C4.16561 2.09204 4.31508 2.04875 4.60736 2.02487C4.90742 2.00036 5.29561 1.99984 5.86667 1.99984H7.66667C8.03486 1.99984 8.33333 1.70136 8.33333 1.33317C8.33333 0.964981 8.03486 0.666504 7.66667 0.666504H5.83912C5.30248 0.666495 4.85958 0.666489 4.49878 0.695966C4.12405 0.726583 3.77958 0.792293 3.45603 0.957154C2.95426 1.21282 2.54631 1.62076 2.29065 2.12253C2.12579 2.44609 2.06008 2.79056 2.02946 3.16529C1.99999 3.52608 1.99999 3.96899 2 4.50563V11.494C1.99999 12.0307 1.99999 12.4736 2.02946 12.8344C2.06008 13.2091 2.12579 13.5536 2.29065 13.8771C2.54631 14.3789 2.95426 14.7869 3.45603 15.0425C3.77958 15.2074 4.12405 15.2731 4.49878 15.3037C4.85956 15.3332 5.30252 15.3332 5.83913 15.3332Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00411 9.67648H6.88674V11.3813C6.88674 11.625 6.82923 11.8099 6.7142 11.9359C6.59918 12.0618 6.45403 12.1248 6.27876 12.1248C6.09527 12.1248 5.94738 12.0632 5.83509 11.94C5.72281 11.814 5.66667 11.6305 5.66667 11.3895V6.74749C5.66667 6.4791 5.72829 6.2874 5.85153 6.17237C5.97477 6.05735 6.17058 5.99984 6.43897 5.99984H8.00411C8.46694 5.99984 8.82297 6.03544 9.07218 6.10665C9.3
11866 6.17511 9.53091 6.28876 9.70892 6.44761C9.88967 6.60645 10.0266 6.80089 10.1197 7.03094C10.2128 7.26099 10.2594 7.51979 10.2594 7.80735C10.2594 8.42081 10.0704 8.88638 9.69249 9.20406C9.31455 9.51901 8.75176 9.67648 8.00411 9.67648ZM7.70833 6.91592H6.88674V8.75629H7.70833C7.99589 8.75629 8.23552 8.72617 8.42723 8.66592C8.62167 8.60567 8.76956 8.50708 8.87089 8.37014C8.97222 8.23321 9.02289 8.05383 9.02289 7.832C9.02289 7.56635 8.94484 7.34999 8.78873 7.18294C8.61346 7.00492 8.25333 6.91592 7.70833 6.91592Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M11.9981 7.33306C11.8972 7.33306 11.8086 7.29878 11.7324 7.23022V7.22927C11.6581 7.16008 11.6121 7.07279 11.5943 6.96741C11.5219 6.5605 11.4489 6.21802 11.3753 5.93997C11.3016 5.66573 11.2105 5.44101 11.102 5.2658C10.9959 5.09123 10.8572 4.95125 10.6858 4.84587C10.5131 4.74049 10.2934 4.65606 10.0267 4.59258C9.76262 4.52847 9.43342 4.46752 9.03914 4.40976C8.93121 4.39389 8.84137 4.34755 8.76962 4.27073C8.70105 4.19456 8.66677 4.10346 8.66677 3.99745C8.6656 3.94711 8.67442 3.89703 8.69273 3.85012C8.71104 3.80322 8.73847 3.7604 8.77343 3.72416C8.843 3.64559 8.93952 3.59598 9.0439 3.58514C9.43818 3.54007 9.7696 3.48706 10.0382 3.42612C10.2721 3.37828 10.497 3.2941 10.7048 3.17664C10.8784 3.06951 11.024 2.92264 11.1296 2.74814C11.2544 2.53497 11.3454 2.30367 11.3991 2.06254C11.4796 1.72195 11.5444 1.37783 11.5934 1.03129C11.6052 0.930509 11.6533 0.837462 11.7286 0.769431C11.8013 0.701383 11.8977 0.66447 11.9972 0.666591C12.096 0.664969 12.1917 0.701847 12.2638 0.769431C12.3413 0.836794 12.392 0.929715 12.4067 1.03129C12.4784 1.43884 12.5499 1.78132 12.621 2.05873C12.6797 2.29527 12.7717 2.52227 12.8943 2.7329C12.9993 2.90396 13.1432 3.04783 13.3143 3.15283C13.518 3.27042 13.7387 3.35586 13.9686 3.40612C14.2365 3.47024 14.5657 3.52991 14.9562 3.58514C15.0603 3.59951 15.156 3.65008 15.2266 3.72797C15.2963 3.80023 15.3346 3.89708 15.3333 3.99745C15.3347 4.10189 15.296 4.2029 15.2251 4.27963C15.1542 4.35635 15.0566 4.40293 14.9523 4.40976C14.619 4.44492 14.2879 4.49961 13.9609 4.57354C13.6917 4.63448 13.4683 4.71764 13.2905 4.82302C13.1159 4.9284 12.9746 5.07123 12.8667 5.25152C12.7445 5.46555 12.6549 5.69663 12.601 5.93711C12.5324 6.21706 12.4676 6.56081 12.4067 6.96836C12.393 7.06941 12.3437 7.16226 12.2676 7.23022C12.1948 7.2985 12.098 7.33544 11.9981 7.33306Z",fill:"currentColor"})]}),o=e=>(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M13.1423 5.41858L12.9779 5.7957C12.8576 6.07178 12.4757 6.07178 12.3554 5.7957L12.1911 5.41858C11.8981 4.74615 11.3703 4.21078 10.7118 3.91789L10.2053 3.69265C9.93153 3.57086 9.93153 3.17238 10.2053 3.05058L10.6835 2.83793C11.3589 2.53751 11.8961 1.98232 12.1841 1.28706L12.3529 0.879524C12.4705 0.595497 12.8628 0.595497 12.9804 0.879524L13.1492 1.28706C13.4372 1.98232 13.9744 2.53751 14.6499 2.83793L15.1279 3.05058C15.4018 3.17238 15.4018 3.57086 15.1279 3.69265L14.6215 3.91789C13.963 4.21078 13.4353 4.74615 13.1423 5.41858ZM14.2815 13.9998C14.7533 13.9998 15.076 13.5232 14.9008 13.0851L12.5809 7.28546C12.4314 6.91163 12.0693 6.6665 11.6667 6.6665C11.264 6.6665 10.902 6.91167 10.7524 7.28553L8.4329 13.0857C8.2578 13.5236 8.58028 13.9998 9.05186 13.9998C9.32452 13.9998 9.56969 13.8338 9.67088 13.5806L10.3027 11.9998H13.0293L13.6622 13.5807C13.7636 13.8339 14.0088 13.9998 14.2815 13.9998ZM10.8353 10.6665L11.6667 8.58997L12.4967 10.6665H10.8353ZM5.03106 8.20224C4.51279 7.6135 4.05054 6.97421 3.65264 6.29271C3.39823 5.85696 3.72816 5.33317 4.23274 5.33317C4.48509 5.33317 4.71569 5.47213 4.84453 5.68911C5.17869 6.2519 5.5624 6.78188 5.98961 7.27297C6.84913 6.32533 7.53513 5.21752 7.9974 3.99984H2C1.63181 3.99984 1.33333 3.70136 1.33333 3.33317C1.33333 2.96498 1.63181 2.6665 1.99999 2.6665H5.33333V1.99984C5.33333 1.63165 5.63181 1.33317 6 1.33317C6.36819 1.33317 6.66666 1.63165 6.66666 1.99984V2.6665H8.95082C9.37232 2.6665 9.68893 3.05333 9.57624 3.45948C9.57114 3.47787 9.56599 3.49625 9.56079 3.51461C9.05746 5.2942 8.1428 6.90064 6.92599 8.22484C7.2663 8.53082 7.62608 8.81559 8.00324 9.07701C8.27194 9.26324 8.38758 9.60827 8.26618 9.91182C8.11282 10.2953 7.65252 10.4525 7.31148 10.2195C6.8384 9.89628 6.38932 9.5406 5.96745 9.15557C4.94974 10.0369 3.77793 10.7452 2.49772 11.2345C2.1538 11.3659 1.77811 11.17 1.66666 10.819C1.55521 10.4681 1.75034 10.0953 2.09328 9.96132C3.17255 9.53953 4.16364 8.94134 5.03106 8.20224Z",fill:"currentColor"})}),a=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_30328_91969)",children:[(0,r.jsx)("path",{d:"M9.81641 0.666504C11.2891 0.666603 12.4831 1.86047 12.4831 3.33317V3.99984C12.4831 4.36797 12.1845 4.66641 11.8164 4.6665C11.4482 4.6665 11.1497 4.36803 11.1497 3.99984V3.33317C11.1497 2.59685 10.5527 1.99994 9.81641 1.99984H3.14974C2.41337 1.99984 1.81641 2.59679 1.81641 3.33317V12.6665C1.81641 13.4029 2.41337 13.9998 3.14974 13.9998H9.81641C10.5527 13.9997 11.1497 13.4028 11.1497 12.6665V12.4328C11.1497 12.0646 11.4482 11.7661 11.8164 11.7661C12.1845 11.7662 12.4831 12.0647 12.4831 12.4328V12.6665L12.4798 12.8039C12.4106 14.1672 11.3171 15.2606 9.95378 15.3299L9.81641 15.3332H3.14974L3.01237 15.3299C1.64895 15.2607 0.555517 14.1673 0.486333 12.8039L0.483078 12.6665V3.33317C0.483078 1.86041 1.67699 0.666
1504 3.14974 0.666504H9.81641Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M13.6569 9.78109C13.6992 9.78015 13.7402 9.79612 13.7708 9.82536C13.8038 9.85435 13.8255 9.89397 13.832 9.93734C13.8629 10.112 13.8933 10.2595 13.9238 10.3787C13.9485 10.4803 13.988 10.5777 14.041 10.6678C14.0857 10.742 14.1485 10.8041 14.2227 10.8488C14.3098 10.8997 14.4046 10.9368 14.5033 10.9582C14.6433 10.9899 14.7847 11.0154 14.9271 11.0343C14.9716 11.0407 15.0129 11.0621 15.043 11.0955C15.058 11.1107 15.0702 11.1291 15.0781 11.1489C15.0861 11.1687 15.0896 11.1901 15.0892 11.2114C15.09 11.2563 15.0734 11.2995 15.043 11.3325C15.0125 11.3655 14.9706 11.3856 14.9258 11.3885C14.7826 11.4035 14.6405 11.4267 14.5 11.4582C14.3843 11.4844 14.2882 11.5205 14.2122 11.5656C14.1374 11.6114 14.0762 11.6728 14.0293 11.7498C13.9832 11.8268 13.9452 11.9249 13.9154 12.0441C13.8863 12.1645 13.8587 12.3125 13.832 12.4875C13.8262 12.5306 13.8048 12.57 13.7721 12.5988C13.7569 12.6135 13.7392 12.6256 13.7194 12.6333C13.6996 12.641 13.6782 12.6443 13.6569 12.6437C13.636 12.6441 13.6152 12.6403 13.5957 12.6327C13.5762 12.625 13.5581 12.6134 13.543 12.5988C13.5113 12.569 13.49 12.5298 13.4831 12.4868C13.4522 12.3122 13.4206 12.1653 13.3887 12.0461C13.3574 11.9278 13.319 11.8309 13.2721 11.7563C13.2274 11.6815 13.1676 11.6211 13.0931 11.5754C13.0196 11.5303 12.9252 11.494 12.8106 11.4666C12.6966 11.4393 12.555 11.4133 12.3861 11.3885C12.3397 11.3817 12.3013 11.3619 12.2708 11.3286C12.2418 11.2966 12.2259 11.2546 12.2266 11.2114C12.2256 11.1677 12.2419 11.1252 12.2721 11.0936C12.3021 11.06 12.3439 11.0391 12.3887 11.0343C12.532 11.019 12.6747 10.9964 12.8158 10.9666C12.9317 10.9404 13.0271 10.904 13.1016 10.8586C13.176 10.8126 13.2384 10.7497 13.2839 10.675C13.3369 10.583 13.3762 10.4836 13.3997 10.38C13.4343 10.234 13.4617 10.086 13.4824 9.93734C13.4878 9.89423 13.5088 9.85447 13.541 9.82536C13.5726 9.79667 13.6142 9.78082 13.6569 9.78109Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5579 5.40153C12.9719 5.03776 13.5656 4.96188 14.0579 5.20947L14.082 5.22184C14.5731 5.46901 14.9415 5.90728 15.1009 6.43343C15.2508 6.92879 15.0978 7.46611 14.709 7.80778L10.2656 11.7121C10.0595 11.8931 9.79317 11.9904 9.51889 11.9849L8.45639 11.9634C8.01877 11.9543 7.67723 11.581 7.70704 11.1444L7.78516 10.0122C7.80456 9.72889 7.93452 9.46403 8.14779 9.27653L12.5579 5.40153ZM13.4889 6.34098C13.458 6.32547 13.4199 6.32991 13.3939 6.3527L9.04362 10.1763L9.00717 10.7075L9.47982 10.7166L13.8731 6.85661C13.8888 6.84276 13.8946 6.82072 13.8887 6.80062C13.8299 6.6065 13.6942 6.44459 13.513 6.35335L13.4889 6.34098Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.89258 5.18864C6.35521 5.18864 6.7111 5.22426 6.96029 5.29541C7.20672 5.36386 7.41902 5.47776 7.59701 5.63656C7.77776 5.7954 7.9147 5.98984 8.00782 6.21989C8.1009 6.44987 8.14777 6.70847 8.14779 6.99593C8.14779 7.60939 7.95867 8.07538 7.58073 8.39307C7.20281 8.7079 6.64007 8.86506 5.89258 8.86507H4.7754V10.5702C4.77539 10.8138 4.71786 10.9989 4.60287 11.1248C4.48788 11.2508 4.34252 11.3136 4.16732 11.3136C3.98383 11.3136 3.8356 11.252 3.72331 11.1287C3.61114 11.0028 3.55539 10.8194 3.55534 10.5786V5.93604C3.55538 5.66778 3.61704 5.47615 3.74024 5.36117C3.86349 5.24625 4.05922 5.18864 4.32748 5.18864H5.89258ZM4.7754 7.94515H5.59701C5.88445 7.94513 6.12412 7.91489 6.31576 7.85466C6.51006 7.79443 6.65782 7.69589 6.75912 7.55908C6.86045 7.42215 6.91146 7.2425 6.91146 7.02067C6.91144 6.75508 6.83317 6.53861 6.67709 6.37158C6.50181 6.19367 6.14175 6.10468 5.59701 6.10466H4.7754V7.94515Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.33073 3.73161C9.36207 3.7309 9.3927 3.74251 9.41537 3.76416C9.43981 3.78566 9.45612 3.8153 9.46094 3.84749C9.48379 3.97665 9.50607 4.08544 9.52865 4.17367C9.54689 4.24887 9.57664 4.32116 9.61589 4.38786C9.64891 4.44252 9.6947 4.48829 9.74935 4.52132C9.81383 4.55899 9.88406 4.58687 9.95704 4.6027C10.0608 4.62619 10.166 4.64463 10.2715 4.65869C10.3044 4.6634 10.3345 4.6796 10.3568 4.70426C10.3679 4.7155 10.3769 4.72929 10.3828 4.74398C10.3887 4.75863 10.3916 4.77443 10.3913 4.7902C10.3918 4.82339 10.3793 4.85564 10.3568 4.88005C10.3343 4.90435 10.3033 4.91894 10.2702 4.92106C10.1642 4.93217 10.0591 4.94987 9.95508 4.97314C9.86949 4.99257 9.7984 5.01859 9.74219 5.05192C9.68675 5.08582 9.64146 5.13162 9.60678 5.18864C9.57266 5.24564 9.54484 5.31853 9.52279 5.40674C9.50128 5.49573 9.48063 5.60487 9.46094 5.73421C9.45669 5.76613 9.44077 5.79554 9.41667 5.81689C9.40534 5.82783 9.39165 5.8366 9.37696 5.84229
1C9.36231 5.84793 9.34643 5.85055 9.33073 5.8501C9.31538 5.85035 9.30012 5.84786 9.28581 5.84229C9.27134 5.8366 9.25794 5.82769 9.24675 5.81689C9.22335 5.79487 9.20761 5.76593 9.20248 5.73421C9.17962 5.60493 9.15647 5.49568 9.13282 5.40739C9.10973 5.32012 9.08082 5.24894 9.04623 5.19385C9.01312 5.13841 8.9686 5.09363 8.91342 5.05973C8.85904 5.0264 8.78924 4.99922 8.70443 4.979C8.62015 4.9588 8.51553 4.93943 8.39063 4.92106C8.35628 4.91608 8.32792 4.9014 8.30534 4.87679C8.28386 4.85312 8.27169 4.82216 8.27214 4.7902C8.27145 4.75789 8.28369 4.72634 8.30599 4.70296C8.3281 4.67814 8.35889 4.66226 8.39193 4.65869C8.49808 4.64737 8.60389 4.63059 8.70834 4.60856C8.79422 4.58912 8.86477 4.56275 8.91993 4.52913C8.97511 4.49513 9.02166 4.44844 9.05534 4.39307C9.09451 4.32505 9.12318 4.25149 9.14063 4.17497C9.16623 4.06687 9.18713 3.95751 9.20248 3.84749C9.20644 3.81548 9.22149 3.78575 9.24545 3.76416C9.26877 3.743 9.29924 3.73149 9.33073 3.73161Z",fill:"currentColor"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_30328_91969",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),s=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M3.68937 4.84315C3.70575 4.85894 3.72508 4.87135 3.74626 4.87967C3.76744 4.88798 3.79005 4.89203 3.8128 4.8916C3.83584 4.89226 3.85878 4.88832 3.88027 4.88C3.90176 4.87168 3.92137 4.85915 3.93796 4.84315C3.97338 4.81188 3.99632 4.76887 4.00256 4.72203C4.0314 4.53247 4.06158 4.37251 4.09311 4.24217C4.12541 4.11297 4.16655 4.00666 4.21654 3.92322C4.26729 3.83978 4.33324 3.77326 4.41437 3.72366C4.49665 3.67483 4.60047 3.63619 4.72582 3.60773C4.87804 3.57365 5.0321 3.54843 5.18724 3.53218C5.23578 3.52907 5.28127 3.50738 5.31424 3.47161C5.34722 3.43585 5.36515 3.38875 5.36431 3.34012C5.36474 3.31696 5.36053 3.29395 5.35191 3.27245C5.34329 3.25095 5.33044 3.2314 5.31413 3.21496C5.28156 3.17865 5.23725 3.15496 5.18897 3.14805C5.03458 3.12747 4.8812 3.09995 4.72928 3.06558C4.62237 3.04243 4.51978 3.00252 4.42533 2.94734C4.34498 2.8989 4.27767 2.83159 4.22923 2.75124C4.17179 2.65365 4.12903 2.54812 4.10234 2.43806C4.06927 2.30887 4.03601 2.14968 4.00256 1.96051C3.9955 1.91339 3.97201 1.87028 3.93623 1.83881C3.90306 1.80712 3.85866 1.7899 3.8128 1.79094C3.76656 1.79065 3.72189 1.80774 3.68764 1.83881C3.65253 1.87041 3.63 1.91362 3.6242 1.96051C3.60173 2.12159 3.57171 2.28153 3.53422 2.43979C3.50867 2.55195 3.46648 2.65965 3.40906 2.75932C3.35978 2.84035 3.29198 2.90855 3.21123 2.9583C3.13048 3.00752 3.02724 3.04635 2.90151 3.07481C2.74866 3.10704 2.59427 3.13148 2.43894 3.14805C2.39045 3.15321 2.34563 3.17624 2.3132 3.21265C2.28043 3.24689 2.26259 3.29273 2.2636 3.34012C2.26288 3.38695 2.27999 3.43231 2.31147 3.467C2.34454 3.50315 2.38626 3.52487 2.43663 3.53218C2.61966 3.55909 2.77289 3.58735 2.89632 3.61696C3.02051 3.64657 3.12241 3.68579 3.202 3.73462C3.28275 3.78422 3.34735 3.84959 3.3958 3.93072C3.44655 4.01146 3.48885 4.11586 3.52269 4.2439C3.55729 4.37309 3.59132 4.53228 3.62477 4.72145C3.63226 4.76805 3.65498 4.81084 3.68937 4.84315Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M12.3223 14.1272C12.369 14.1704 12.4304 14.1943 12.4941 14.194C12.5589 14.1951 12.6223 14.1712 12.6699 14.1272C12.7195 14.083 12.7517 14.0225 12.7605 13.9566C12.8001 13.6913 12.8424 13.4675 12.8874 13.285C12.9229 13.1285 12.981 12.978 13.0599 12.8382C13.1273 12.7234 13.2226 12.6275 13.3368 12.5592C13.473 12.4829 13.6201 12.4281 13.773 12.3966C13.986 12.3495 14.2013 12.3142 14.4181 12.2908C14.4862 12.2867 14.5502 12.2565 14.5965 12.2063C14.6428 12.1562 14.6679 12.09 14.6666 12.0218C14.6662 11.9548 14.6428 11.8962 14.5966 11.846C14.5521 11.7962 14.4934 11.7653 14.4207 11.7534C14.1665 11.7173 13.9524 11.6785 13.7783 11.6371C13.606 11.5956 13.4639 11.5406 13.352 11.4718C13.2401 11.4031 13.1489 11.3118 13.0784 11.1981C13.0079 11.0844 12.9484 10.9381 12.8999 10.7592C12.8532 10.5785 12.8067 10.3555 12.7605 10.0902C12.7511 10.0241 12.7183 9.96356 12.6679 9.91969C12.6195 9.87518 12.5618 9.85292 12.4948 9.85292C12.4299 9.85224 12.3671 9.87608 12.319 9.91969C12.2693 9.96352 12.238 10.0244 12.2311 10.0902C12.1918 10.3555 12.1498 10.5
1794 12.1048 10.7618C12.0603 10.9425 12.0017 11.0915 11.929 11.2087C11.8585 11.3242 11.7664 11.4172 11.6527 11.4877C11.5395 11.5564 11.3948 11.6106 11.2185 11.6503C11.0431 11.6899 10.8272 11.7243 10.5708 11.7534C10.503 11.7597 10.4403 11.7919 10.3956 11.8433C10.3489 11.8935 10.3256 11.953 10.3256 12.0218C10.3251 12.0876 10.3491 12.1512 10.393 12.2003C10.4391 12.2499 10.501 12.282 10.5681 12.2908C10.825 12.3283 11.0394 12.3679 11.2112 12.4098C11.3619 12.4419 11.5064 12.4977 11.6395 12.5751C11.751 12.6426 11.844 12.7366 11.9105 12.8487C11.9908 12.9857 12.0509 13.1335 12.089 13.2877C12.1374 13.4684 12.1848 13.6913 12.2311 13.9566C12.2416 14.0221 12.2737 14.0821 12.3223 14.1272Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M2.07407 14.2425C1.86419 14.2425 1.68827 14.1715 1.54629 14.0296C1.40432 13.8876 1.33333 13.7116 1.33333 13.5018V11.7055C1.33333 11.5079 1.37037 11.3197 1.44444 11.1407C1.51851 10.9616 1.62345 10.8042 1.75925 10.6684L11.0926 1.35362C11.2407 1.20548 11.4074 1.09436 11.5926 1.02029C11.7778 0.946217 11.963 0.90918 12.1481 0.90918C12.3457 0.90918 12.5339 0.946217 12.713 1.02029C12.892 1.09436 13.0494 1.20548 13.1852 1.35362L14.2222 2.39066C14.3704 2.52646 14.4815 2.68387 14.5556 2.86288C14.6296 3.0419 14.6667 3.23017 14.6667 3.4277C14.6667 3.61288 14.6296 3.79807 14.5556 3.98325C14.4815 4.16844 14.3704 4.33511 14.2222 4.48325L4.9074 13.8166C4.7716 13.9524 4.61419 14.0573 4.43518 14.1314C4.25617 14.2055 4.0679 14.2425 3.87037 14.2425H2.07407ZM2.81481 12.761H3.85185L11.1296 5.50177L10.6111 4.96474L10.0741 4.44622L2.81481 11.724V12.761ZM10.6111 4.96474L10.0741 4.44622L11.1296 5.50177L10.6111 4.96474Z",fill:"currentColor"})]}),l=e=>(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M13.3333 8.3335V4.5335C13.3333 3.41339 13.3333 2.85334 13.1154 2.42552C12.9236 2.04919 12.6176 1.74323 12.2413 1.55148C11.8135 1.3335 11.2534 1.3335 10.1333 1.3335H5.86667C4.74657 1.3335 4.18651 1.3335 3.75869 1.55148C3.38237 1.74323 3.07641 2.04919 2.88466 2.42552C2.66667 2.85334 2.66667 3.41339 2.66667 4.5335V11.4668C2.66667 12.5869 2.66667 13.147 2.88466 13.5748C3.07641 13.9511 3.38237 14.2571 3.75869 14.4488C4.18651 14.6668 4.74657 14.6668 5.86667 14.6668H8.00001M9.33334 7.3335H5.33334M6.66667 10.0002H5.33334M10.6667 4.66683H5.33334M9.66667 12.6668L11 14.0002L14 11.0002",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),u=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00014 2.26021H5.68018C5.05917 2.26021 4.63702 2.26077 4.31071 2.28715C3.99286 2.31285 3.83032 2.35943 3.71693 2.41661C3.4441 2.55418 3.22228 2.77371 3.08327 3.04371C3.02549 3.15593 2.97842 3.31679 2.95245 3.63134C2.92579 3.95428 2.92523 4.37206 2.92523 4.98664V11.0135C2.92523 11.6281 2.92579 12.0459 2.95245 12.3688C2.97842 12.6834 3.02549 12.8442 3.08327 12.9564C3.22228 13.2264 3.4441 13.446 3.71693 13.5835C3.83032 13.6407 3.99286 13.6873 4.31071 13.713C4.63702 13.7394 5.05917 13.7399 5.68018 13.7399H7.27516C7.67556 13.7399 8.00014 14.0612 8.00014 14.4574C8.00014 14.8537 7.67556 15.1749 7.27516 15.1749H5.65022C5.06664 15.1749 4.58499 15.1749 4.19263 15.1432C3.78512 15.1102 3.41052 15.0395 3.05865 14.8621C2.51299 14.587 2.06936 14.1479 1.79133 13.6079C1.61204 13.2597 1.54059 12.889 1.50729 12.4857C1.47523 12.0974 1.47524 11.6207 1.47525 11.0431V4.95701C1.47524 4.37946 1.47523 3.90279 1.50729 3.51449C1.54059 3.1112 1.61204 2.74047 1.79133 2.39225C2.06936 1.85224 2.51299 1.41319 3.05865 1.13804C3.41052 0.960618 3.78512 0.889899 4.19263 0.856949C4.58499 0.825224 5.06665 0.825231 5.65024 0.82524L8.08254 0.825217C8.54291 0.825001 8.89075 0.824837 9.2262 0.904537C9.5221 0.974841 9.80498 1.0908 10.0644 1.24815C10.3586 1.42654 10.6044 1.67007 10.9298 1.99238L11.8957 2.94829C12.2214 3.27029 12.4675 3.5136 12.6477 3.80469C12.8067 4.06147 12.9239 4.34142 12.9949 4.63426C13.0755 4.96623 13.0753 5.31047 13.0751 5.76606L13.0751 8.00007C13.0751 8.39633 12.7505 8.71756 12.3501 8.71756C11.9497 8.71756 11.6251 8.39633 11.6251 8.00007V5.84762H10.1751C8.97391 5.84762 8.00014 4.88394 8.00014 3.69517V2.26021ZM11.3061 4.41266C11.2189 4.3107 11.0798 4.17022 10.8182 3.91129L9.95673 3.05876C9.69509 2.79984 9.55314 2.66214 9.45012 2.57592V3.69517C9.45012 4.09143 9.77471 4.41266 10.1751 4.41266H11.3061Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M10.12 13.1534L9.47731 14.6788C9.35273 14.9745 9.65255 15.2712 9.95137 15.148L11.4928 14.512C11.5801 14.476 11.6595 14.4234 11.7265 14.3571L14.3096 11.8006C14.5928 11.5204 14.5928 11.
10661 14.3096 10.7859L13.885 10.3657C13.6018 10.0855 13.1428 10.0855 12.8597 10.3657L10.2765 12.9222C10.2095 12.9884 10.1564 13.067 10.12 13.1534Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M3.65021 6.56511C3.65021 6.16885 3.9748 5.84762 4.3752 5.84762H7.27516C7.67555 5.84762 8.00014 6.16885 8.00014 6.56511C8.00014 6.96136 7.67555 7.28259 7.27516 7.28259H4.3752C3.9748 7.28259 3.65021 6.96136 3.65021 6.56511Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M3.65021 9.79378C3.65021 9.39752 3.9748 9.0763 4.3752 9.0763H8.72513C9.12553 9.0763 9.45012 9.39752 9.45012 9.79378C9.45012 10.19 9.12553 10.5113 8.72513 10.5113H4.3752C3.9748 10.5113 3.65021 10.19 3.65021 9.79378Z",fill:"currentColor"})]}),c=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M7.66667 0.66659C8.03483 0.66659 8.33328 0.965112 8.33333 1.33326C8.33333 1.70145 8.03486 1.99992 7.66667 1.99992H5.86654C5.29558 1.99992 4.90745 2.0008 4.60742 2.02531C4.31515 2.04919 4.16546 2.09198 4.0612 2.14511C3.81037 2.27292 3.60635 2.47698 3.47852 2.72779C3.42539 2.83205 3.38195 2.98174 3.35807 3.27401C3.33356 3.57403 3.33333 3.9622 3.33333 4.53313V11.4667C3.33333 12.0376 3.33357 12.4258 3.35807 12.7258C3.38195 13.0181 3.42539 13.1678 3.47852 13.2721C3.60633 13.5229 3.81036 13.7269 4.0612 13.8547C4.16546 13.9079 4.31515 13.9513 4.60742 13.9752C4.90745 13.9997 5.29561 13.9999 5.86654 13.9999H10.1335C10.7044 13.9999 11.0926 13.9997 11.3926 13.9752C11.6849 13.9513 11.8345 13.9079 11.9388 13.8547C12.1896 13.7269 12.3937 13.5229 12.5215 13.2721C12.5746 13.1678 12.618 13.0181 12.6419 12.7258C12.6664 12.4258 12.6667 12.0376 12.6667 11.4667V8.99992C12.6667 8.63178 12.9652 8.33326 13.3333 8.33326C13.7015 8.33326 13.9999 8.63178 14 8.99992V11.4941C14 12.0307 14.0002 12.4738 13.9707 12.8346C13.9401 13.2093 13.8745 13.554 13.7096 13.8775C13.454 14.3792 13.0459 14.7872 12.5443 15.0429C12.2207 15.2077 11.876 15.2733 11.5013 15.304C11.1405 15.3334 10.6974 15.3333 10.1608 15.3333H5.83919C5.30258 15.3333 4.85948 15.3334 4.4987 15.304C4.124 15.2733 3.77926 15.2077 3.45573 15.0429C2.95405 14.7872 2.546 14.3792 2.29037 13.8775C2.12551 13.554 2.05991 13.2093 2.0293 12.8346C1.99982 12.4738 1.99999 12.0307 2 11.4941V4.50578C1.99999 3.96915 1.99982 3.52608 2.0293 3.16529C2.05991 2.79075 2.12565 2.44638 2.29037 2.12297C2.54597 1.62132 2.95413 1.21328 3.45573 0.957606C3.77927 0.792756 4.12399 0.726506 4.4987 0.695887C4.85949 0.66641 5.30255 0.666581 5.83919 0.66659H7.66667Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M10.6667 11.3333C11.0348 11.3333 11.3333 11.6318 11.3333 11.9999C11.3333 12.3681 11.0349 12.6666 10.6667 12.6666H5.33333C4.96514 12.6666 4.66667 12.3681 4.66667 11.9999C4.66671 11.6318 4.96517 11.3333 5.33333 11.3333H10.6667Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.66667 8.66659C10.0348 8.66659 10.3333 8.96511 10.3333 9.33326C10.3333 9.70145 10.0349 9.99992 9.66667 9.99992H5.33333C4.96514 9.99992 4.66667 9.70145 4.66667 9.33326C4.66671 8.96511 4.96517 8.66659 5.33333 8.66659H9.66667Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M8.33333 5.99992C8.7015 5.99992 8.99995 6.29844 9 6.66659C9 7.03478 8.70152 7.33326 8.33333 7.33326H5.33333C4.96514 7.33326 4.66667 7.03478 4.66667 6.66659C4.66671 6.29844 4.96517 5.99992 5.33333 5.99992H8.33333Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M11.9974 0.66659C12.0961 0.665028 12.1916 0.702022 12.2637 0.769455C12.3411 0.83676 12.3921 0.929701 12.4069 1.03117C12.4786 1.43872 12.55 1.78176 12.6211 2.05917C12.6798 2.29561 12.772 2.52245 12.8945 2.733C12.9995 2.90403 13.1434 3.04793 13.3145 3.15292C13.5182 3.27049 13.739 3.35592 13.9688 3.40617C14.2367 3.47028 14.566 3.52999 14.9564 3.58521C15.0604 3.59963 15.156 3.6506 15.2266 3.72844C15.2961 3.80062 15.3346 3.89712 15.3333 3.99732C15.3348 4.10175 15.2961 4.20315 15.2253 4.27987C15.1544 4.35657 15.0567 4.40323 14.9525 4.41008C14.6191 4.44524 14.2879 4.49956 13.9609 4.57349C13.6917 4.63443 13.4681 4.71811 13.2904 4.82349C13.1159 4.92886 12.9744 5.07167 12.8665 5.25188C12.7444 5.46585 12.6548 5.69702 12.6009 5.93742C12.5324 6.21735 12.4678 6.5612 12.4069 6.96867C12.3932 7.06968 12.3436 7.16245 12.2676 7.23039C12.1947 7.29865 12.0979 7.33563 11.998 7.33326C11.8971 7.33324 11.8086 7.29893 11.7324 7.23039C11.6581 7.1612 11.6122 7.07275 11.5944 6.96737C11.522 6.56055 11.4486 6.21803 11.375 5.94003C11.3014 5.66602 11.2107 5.44133 11.1022 5.2662C10.9962 5.09163 10.857 4.95165 10.6855 4.84628C10.5129 4.74092 10.2933 4.6565 10.0267 4.59302C9.76257 4.52891 9.43334 4.46785 9.03906 4.41008C8.93116 4.3942 8.84126 4.34756 8.76953 4.27076C8.70104 4.19461 8.66667 4.10327 8.66667 3.99732C8.66554 3.94708 8.67444 3.897 8.69271 3.85018C8.711 3.80336 8.73855 3.76073 8.77344 3.72453C8.84294 3.64603 8.93934 3.59611 9.04362 3.58521C9.4379 3.54014 9.76985 3.4873 10.0384 3.42636C10.2722 3.37851 10.4973 3.29443 10.7051 3.17701C10.8785 3.06994 11.024 2.92298 11.1296 2.74862C11.2544 2.53546 11.3454 2.30355 11.3991 2.06242C11.4796 1.72192 11.5442 1.37762 11.5931 1.03117C11.605 0.930494 11.6533 0.837427 11.7285 0.769455C11.8012 0.701425 11.8979 0.66447 11.9974 0.66659Z",fill:"currentColor"})]}),d=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M7.9668 1.73381C8.35334 1.73388 8.66667 2.04712 8.66667 2.43368C8.66657 2.82015 8.35328 3.13348 7.9668 3.13355H3.06641V12.9337H12.8665V8.03329C12.8667 7.64687 13.18 7.33356 13.5664 7.33342C13.9529 7.33342 14.2668 7.64678 14.2669 8.03329V12.9337C14.2669 13.3185 14.1295 13.6479 13.8555 13.922C13.5813 14.1961 13.2515 14.3334 12.8665 14.3334H3.06641C2.68152 14.3334 2.35223 14.1961 2.07813 13.922C1.80403 13.6478 1.66672 13.3
1186 1.66667 12.9337V3.13355C1.66667 2.74855 1.80396 2.41878 2.07813 2.14462C2.3522 1.87062 2.6816 1.73387 3.06641 1.73381H7.9668Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.54167 8.26115C9.65834 8.26115 9.75162 8.3078 9.82162 8.40113L11.7467 10.9734C11.8401 11.0901 11.8519 11.2129 11.7819 11.3412C11.7119 11.4695 11.6067 11.5332 11.4668 11.5333H4.4668C4.32687 11.5333 4.2217 11.4694 4.1517 11.3412C4.0817 11.2129 4.09352 11.0901 4.18685 10.9734L5.58659 9.101C5.65657 9.0077 5.74994 8.96106 5.86654 8.96102C5.98317 8.96102 6.0765 9.00772 6.14649 9.101L7.44141 10.8334L9.26172 8.40113C9.33172 8.3078 9.425 8.26115 9.54167 8.26115Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M11.6641 1.00009C11.7628 0.998525 11.8582 1.03551 11.9303 1.10295C12.0077 1.17026 12.0588 1.26319 12.0736 1.36467C12.1453 1.77222 12.2167 2.11525 12.2878 2.39266C12.3465 2.62911 12.4386 2.85594 12.5612 3.06649C12.6662 3.23753 12.8101 3.38142 12.9811 3.48641C13.1849 3.60398 13.4056 3.68942 13.6354 3.73967C13.9033 3.80377 14.2327 3.86349 14.6231 3.91871C14.7271 3.93312 14.8227 3.9841 14.8932 4.06194C14.9628 4.13411 15.0013 4.23061 15 4.33082C15.0014 4.43525 14.9628 4.53665 14.8919 4.61337C14.8211 4.69007 14.7233 4.73673 14.6191 4.74358C14.2858 4.77874 13.9546 4.83306 13.6276 4.90699C13.3584 4.96793 13.1348 5.05161 12.957 5.15699C12.7825 5.26235 12.6411 5.40516 12.5332 5.58537C12.4111 5.79935 12.3215 6.03051 12.2676 6.27092C12.199 6.55085 12.1345 6.89469 12.0736 7.30217C12.0598 7.40318 12.0103 7.49595 11.9342 7.56389C11.8614 7.63215 11.7646 7.66913 11.6647 7.66675C11.5638 7.66674 11.4753 7.63243 11.3991 7.56389C11.3248 7.49469 11.2789 7.40625 11.2611 7.30087C11.1887 6.89404 11.1153 6.55153 11.0417 6.27352C10.9681 5.99951 10.8774 5.77483 10.7689 5.5997C10.6629 5.42512 10.5236 5.28515 10.3522 5.17977C10.1795 5.07442 9.95999 4.98999 9.69337 4.92652C9.42924 4.8624 9.10001 4.80134 8.70573 4.74358C8.59783 4.7277 8.50794 4.68105 8.4362 4.60425C8.36771 4.5281 8.33334 4.43677 8.33334 4.33082C8.33221 4.28058 8.34111 4.2305 8.35938 4.18368C8.37767 4.13685 8.40522 4.09423 8.44011 4.05803C8.50961 3.97953 8.60601 3.92961 8.71029 3.91871C9.10457 3.87363 9.43652 3.82079 9.70508 3.75985C9.93889 3.712 10.164 3.62793 10.3717 3.5105C10.5452 3.40344 10.6907 3.25648 10.7962 3.08212C10.9211 2.86895 11.012 2.63705 11.0658 2.39592C11.1463 2.05542 11.2109 1.71112 11.2598 1.36467C11.2717 1.26399 11.3199 1.17093 11.3952 1.10295C11.4678 1.03492 11.5646 0.997966 11.6641 1.00009Z",fill:"currentColor"})]}),f=()=>(0,r.jsxs)("svg",{width:"101",height:"91",viewBox:"0 0 101 91",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0856 50.581L53.3997 43.4226L85.1187 50.581L53.9756 67.7529L22.0856 50.581Z",fill:"#ECEDEB",stroke:"#545457",strokeWidth:"0.714286",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M53.3997 43.4226L53.6022 59.3868",stroke:"#545457",strokeWidth:"0.714286"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.9143 50.5808V81.0076L53.5675 90.2904V58.5913L21.9143 50.5808ZM85.2203 50.5808V81.0076L53.5675 90.2904V58.5913L85.2203 50.5808Z",fill:"#F5F5F3"}),(0,r.jsx)("path",{d:"M53.5675 90.2904L21.9143 81.0076V50.5808L53.5675 58.5913M53.5675 90.2904V58.5913M53.5675 90.2904L85.2203 81.0076V50.5808L53.5675 58.5913",stroke:"#545457",strokeWidth:"0.714286",strokeLinejoin:"round"}),(0,r.jsx)("path",{opacity:"0.200007",d:"M22.0856 53.4343L22.1198 68.6993L40.6668 74.0625L53.5675 58.5914L22.0856 53.4343ZM85.1187 53.4343V68.6993L66.5717 74.0625L53.6707 58.5914L85.1187 53.4343Z",fill:"black",stroke:"black",strokeWidth:"0.497713",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.324 50.5808L100.415 62.0981L66.9823 71.3465L53.6366 58.5913L85.324 50.5808ZM7.5083 61.617L40.2222 71.3465L53.5679 58.5913L21.9147 50.5808L7.5083 61.617Z",fill:"white",stroke:"#545457",strokeWidth:"0.714286",strokeLinejoin:"round"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.2127 6.69731L41.3526 2.59027C41.1696 2.54578 40.9773 2.60844 40.8556 2.7524C40.7339 2.89632 40.7036 3.09684 40.7773 3.27067L47.2202 18.4564C47.2875 18.6145 47.431 18.727 47.6001 18.7541C47.7692 18.7814 47.9403 18.7193 48.0529 18.5901L51.0201 15.1891C51.1898 14.9948 51.4794 14.9628 51.6876 15.115L53.7204 16.596C53.8833 16.714 54.1007 16.7225 54.2719 16.6174C54.4431 16.5124 54.5346 16.3145 54.5038 16.1154L53.915 12.3977C53.8943 12.2668 53.8227 12.1496 53.7158 12.0714L45.4483 6.04338L55.5351 10.3144C55.7391 10.4225 55.9906 10.376 56.1422 10.2018L58.4701 7.51116C58.5844 7.37986 58.6221 7.1982 58.5695 7.03191C58.5169 6.8656 58.3816 6.73879 58.2127 6.69731Z",fill:"#0080FF"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M96.2094 47.4481C96.2108 47.7769 96.1144 48.0986 95.9327 48.3724C95.7509 48.6463 95.4918 48.86 95.1884 48.9864C94.885 49.1128 94.5508 49.1462 94.2283 49.0825C93.9059 49.0186 93.6097 48.8605 93.3772 48.6281C93.1448 48.3957 92.9866 48.0994 92.9229 47.7769C92.859 47.4545 92.8925 47.1204 93.0189 46.817C93.1453 46.5135 93.3591 46.2545 93.6329 46.0727C93.9068 45.891 94.2285 45.7946 94.5572 45.7959C94.9954 45.7959 95.4156 45.97 95.7255 46.2799C96.0353 46.5897 96.2094 47.01 96.2094 47.4481Z",stroke:"#0080FF",strokeWidth:"0.829522",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3871 39.9806C39.3888 40.3915 39.2684 40.7936 39.0412 41.136C38.814 41.4783 38.4901 41.7454 38.1109 41.9034C37.7316 42.0614 37.3139 42.1032 36.9108 42.0235C36.5078 41.9437 36.1375 41.7461 35.8469 41.4555C35.5564 41.165 35.3587 40.7947 35.279 40.3916C35.1992 39.9886 35.241 39.5709 35.3991 39.1916C35.557 38.8123 35.8242 38.4885 36.1665 38.2613C36.5089 38.0341 36.911 37.9137 37.3219 37.9153C37.8696 37.9153 38.3949 38.1329 38.7822 38.5203C39.1695 38.9075 39.3871 39.4329 39.3871 39.9806Z",stroke:"#0080FF",strokeWidth:"0.829522",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M76.835 30.593C78.2479 32.6022 80.6122 33.4326 83.9279 33.0841C85.438 32.9254 85.4414 31.1433 84.398 30.585C83.4561 30.081 82.0986 30.8266 82.433 32.2369C82.9579 34.4501 89.3154 36.2155 93.3622 35.2676",stroke:"#0080FF",strokeWidth:"0.829522",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M0.414795 55.1311C3.38679 54.7073 5.60293 52.5933 7.06323 48.7891C7.72829 47.0566 5.78952 46.0641 4.60249 46.8906C3.531 47.6367 3.58981 49.5287 5.31114 49.947C8.01259 50.6035 13.4626 44.6598 14.6758 39.7269",stroke:"#0080FF",strokeWidth:"0.829522",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M56.5529 15.9397C60.4247 20.0198 62.3605 24.600
15 62.3605 29.6819C62.3605 37.3039 59.3703 41.1787 54.3764 42.063C49.3825 42.9474 50.263 34.2291 55.8357 36.6623C59.5509 38.2845 59.0644 45.192 54.3764 57.3849",stroke:"#0080FF",strokeWidth:"0.829522",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"0.83 2.49"})]}),h=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_31498_20532)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.33317 3.33335C5.33317 1.86059 6.52708 0.666687 7.99984 0.666687C9.4726 0.666687 10.6665 1.86059 10.6665 3.33335V8.00002C10.6665 9.47278 9.4726 10.6667 7.99984 10.6667C6.52708 10.6667 5.33317 9.47278 5.33317 8.00002V3.33335ZM7.99984 2.00002C7.26346 2.00002 6.6665 2.59697 6.6665 3.33335V8.00002C6.6665 8.7364 7.26346 9.33335 7.99984 9.33335C8.73622 9.33335 9.33317 8.7364 9.33317 8.00002V3.33335C9.33317 2.59697 8.73622 2.00002 7.99984 2.00002ZM3.33317 6.00002C3.70136 6.00002 3.99984 6.2985 3.99984 6.66669V8.00002C3.99984 10.2092 5.7907 12 7.99984 12C10.209 12 11.9998 10.2092 11.9998 8.00002V6.66669C11.9998 6.2985 12.2983 6.00002 12.6665 6.00002C13.0347 6.00002 13.3332 6.2985 13.3332 6.66669V8.00002C13.3332 10.7198 11.2974 12.964 8.6665 13.2921V14H10.6665C11.0347 14 11.3332 14.2985 11.3332 14.6667C11.3332 15.0349 11.0347 15.3334 10.6665 15.3334H5.33317C4.96498 15.3334 4.6665 15.0349 4.6665 14.6667C4.6665 14.2985 4.96498 14 5.33317 14H7.33317V13.2921C4.7023 12.964 2.6665 10.7198 2.6665 8.00002V6.66669C2.6665 6.2985 2.96498 6.00002 3.33317 6.00002Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_31498_20532",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),p=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00017 2.26012H4.68021C4.0592 2.26012 3.63705 2.26067 3.31074 2.28706C2.99289 2.31276 2.83035 2.35934 2.71696 2.41652C2.44413 2.55409 2.22231 2.77361 2.0833 3.04362C2.02552 3.15584 1.97845 3.3167 1.95248 3.63125C1.92582 3.95419 1.92526 4.37197 1.92526 4.98655V11.0134C1.92526 11.628 1.92582 12.0458 1.95248 12.3687C1.97845 12.6833 2.02552 12.8441 2.0833 12.9563C2.22231 13.2264 2.44413 13.4459 2.71696 13.5834C2.83035 13.6406 2.99289 13.6872 3.31074 13.7129C3.63705 13.7393 4.0592 13.7398 4.68021 13.7398H6.27519C6.67559 13.7398 7.00017 14.0611 7.00017 14.4573C7.00017 14.8536 6.67559 15.1748 6.27519 15.1748H4.65025C4.06667 15.1748 3.58502 15.1748 3.19266 15.1431C2.78515 15.1102 2.41055 15.0394 2.05868 14.862C1.51302 14.5869 1.06939 14.1478 0.791358 13.6078C0.612075 13.2596 0.540617 12.8889 0.507322 12.4856C0.475265 12.0973 0.475272 11.6206 0.475281 11.0431V4.95692C0.475272 4.37937 0.475265 3.9027 0.507322 3.5144C0.540617 3.11111 0.612075 2.74038 0.791358 2.39216C1.06939 1.85215 1.51302 1.4131 2.05868 1.13795C2.41055 0.960526 2.78515 0.889808 3.19266 0.856857C3.58502 0.825132 4.06668 0.82514 4.65027 0.825149L7.08257 0.825126C7.54294 0.824909 7.89078 0.824745 8.22623 0.904445C8.52213 0.974749 8.80501 1.09071 9.06447 1.24806C9.35861 1.42645 9.60446 1.66998 9.92983 1.99229L10.8957 2.9482C11.2214 3.2702 11.4675 3.51351 11.6478 3.8046C11.8068 4.06138 11.9239 4.34133 11.995 4.63417C12.0755 4.96614 12.0753 5.31038 12.0751 5.76597L12.0751 7.99998C12.0751 8.39624 11.7505 8.71747 11.3501 8.71747C10.9497 8.71747 10.6251 8.39624 10.6251 7.99998V5.84753H9.17514C7.97394 5.84753 7.00017 4.88385 7.00017 3.69508V2.26012ZM10.3061 4.41256C10.219 4.31061 10.0798 4.17013 9.81821 3.9112L8.95676 3.05867C8.69512 2.79974 8.55317 2.66205 8.45015 2.57583V3.69508C8.45015 4.09134 8.77474 4.41256 9.17514 4.41256H10.3061Z",fill:"#34A6D8"}),(0,r.jsx)("path",{d:"M9.11998 13.1533L8.47734 14.6787C8.35276 14.9744 8.65258 15.2711 8.9514 15.1479L10.4928 14.5119C10.5802 14.4759 10.6596 14.4233 10.7265 14.357L13.3097 11.8005C13.5928 11.5203 13.5928 11.066 13.3097 10.7859L12.885 10.3656C12.6019 10.0854 12.1428 10.0854 11.8597 10.3656L9.27649 12.9221C9.20957 12.9883 9.1564 13.0669 9.11998 13.1533Z",fill:"#34A6D8"}),(0,r.jsx)("path",{d:"M2.65025 6.56501C2.65025 6.16876 2.97483 5.84753 3.37523 5.84753H6.27519C6.67559 5.84753 7.00017 6.16876 7.00017 6.56501C7.00017 6.96127 6.67559 7.2825 6.27519 7.2825H3.37523C2.97483 7.2825 2.65025 6.96127 2.65025 6.56501Z",fill:"#34A6D8"}),(0,r.jsx)("path",{d:"M2.65025 9.79369C2.65025 9.39743 2.97483 9.07621 3.37523 9.07621H7.72516C8.12556 9.07621 8.45015 9.39743 8.45015 9.79369C8.45015 10.1899 8.12556 10.5112 7.72516 10.5112H3.37523C2.97483 10.5112 2.65025 10.1899 2.65025 9.79369Z",fill:"#34A6D8"})]}),m=e=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M9.95842 2.16726C10.4416 2.16735 10.8333 2.55891 10.8333 3.0421C10.8331 3.52519 10.4415 3.91685 9.95842 3.91694H3.83293V16.1671H16.0831V10.0416C16.0832 9.55859 16.4749 9.16695 16.95
179 9.16677C17.4411 9.16677 17.8334 9.55848 17.8336 10.0416V16.1671C17.8335 16.6482 17.6618 17.0598 17.3193 17.4025C16.9765 17.7452 16.5643 17.9168 16.0831 17.9168H3.83293C3.35182 17.9167 2.94021 17.7451 2.59757 17.4025C2.25495 17.0598 2.08331 16.6482 2.08325 16.1671V3.91694C2.08325 3.43569 2.25487 3.02348 2.59757 2.68077C2.94016 2.33828 3.35191 2.16734 3.83293 2.16726H9.95842Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.58 1.25011C14.7034 1.24816 14.8227 1.29439 14.9128 1.37869C15.0096 1.46282 15.0734 1.57899 15.0919 1.70584C15.1816 2.21527 15.2707 2.64406 15.3596 2.99083C15.433 3.28638 15.5482 3.56993 15.7014 3.83312C15.8327 4.04691 16.0125 4.22678 16.2263 4.35802C16.481 4.50498 16.7569 4.61177 17.0442 4.67459C17.3791 4.75471 17.7907 4.82936 18.2787 4.89838C18.4088 4.9164 18.5283 4.98012 18.6165 5.07742C18.7034 5.16764 18.7515 5.28826 18.7499 5.41352C18.7517 5.54406 18.7034 5.67081 18.6148 5.76671C18.5263 5.86258 18.4041 5.92091 18.2738 5.92947C17.8571 5.97342 17.4431 6.04133 17.0344 6.13373C16.6979 6.20991 16.4184 6.31451 16.1962 6.44623C15.9781 6.57794 15.8013 6.75645 15.6664 6.98172C15.5137 7.24919 15.4018 7.53814 15.3344 7.83865C15.2487 8.18856 15.1681 8.61836 15.0919 9.12771C15.0747 9.25397 15.0127 9.36994 14.9177 9.45486C14.8266 9.54019 14.7056 9.58641 14.5808 9.58344C14.4547 9.58342 14.344 9.54054 14.2488 9.45486C14.1559 9.36837 14.0985 9.25781 14.0763 9.12608C13.9858 8.61755 13.894 8.18941 13.802 7.8419C13.71 7.49939 13.5966 7.21853 13.461 6.99962C13.3285 6.7814 13.1545 6.60644 12.9402 6.47472C12.7243 6.34302 12.4499 6.23749 12.1166 6.15815C11.7865 6.078 11.3749 6.00168 10.8821 5.92947C10.7472 5.90962 10.6348 5.85131 10.5452 5.75532C10.4596 5.66013 10.4166 5.54596 10.4166 5.41352C10.4152 5.35072 10.4263 5.28812 10.4491 5.2296C10.472 5.17106 10.5064 5.11778 10.55 5.07254C10.6369 4.97441 10.7574 4.91201 10.8878 4.89838C11.3806 4.84204 11.7956 4.77599 12.1313 4.69982C12.4235 4.64 12.7049 4.53491 12.9646 4.38813C13.1814 4.25429 13.3633 4.0706 13.4952 3.85265C13.6513 3.58619 13.765 3.29631 13.8321 2.9949C13.9327 2.56927 14.0135 2.1389 14.0746 1.70584C14.0895 1.57998 14.1498 1.46366 14.2439 1.37869C14.3347 1.29365 14.4556 1.24746 14.58 1.25011Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M12.482 7.91688C12.952 7.91688 13.3333 8.29809 13.3333 8.76812V9.58355C13.3333 10.0438 12.9602 10.4169 12.4999 10.4169C12.0397 10.4169 11.6666 10.0438 11.6666 9.58355H10.4166V12.9169H10.8333C11.2935 12.9169 11.6666 13.29 11.6666 13.7502C11.6666 14.2105 11.2935 14.5835 10.8333 14.5835H8.33325C7.87302 14.5835 7.49992 14.2105 7.49992 13.7502C7.49992 13.29 7.87302 12.9169 8.33325 12.9169H8.74992V9.58355H7.49992C7.49992 10.0438 7.12682 10.4169 6.66659 10.4169C6.20635 10.4169 5.83325 10.0438 5.83325 9.58355V8.76812C5.83325 8.29809 6.21446 7.91688 6.68449 7.91688H12.482Z",fill:"currentColor"})]})},67241:function(e,t,n){"use strict";n.d(t,{$X:function(){return L},EB:function(){return T},Hb:function(){return I},IX:function(){return D},Ir:function(){return i},Is:function(){return u},M$:function(){return a},MT:function(){return w},OC:function(){return k},Od:function(){return y},Os:function(){return s},Re:function(){return P},Tv:function(){return O},UF:function(){return S},VP:function(){return j},VR:function(){return N},VW:function(){return A},WO:function(){return E},XQ:function(){return c},Zm:function(){return x},bA:function(){return p},dP:function(){return M},eC:function(){return C},f$:function(){return b},iB:function(){return l},iw:function(){return d},nz:function(){return o},oA:function(){return R},tJ:function(){return f},vW:function(){return m},vZ:function(){return v},xt:function(){return g},yO:function(){return h},zX:function(){return _}});var r=n(52676);let i=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 9C3.44772 9 3 9.44772 3 10V14C3 14.5523 3.44772 15 4 15C4.55228 15 5 14.5523 5 14V10C5 9.44772 4.55228 9 4 9ZM20 9C19.4477 9 19 9.44772 19 10V14C19 14.5523 19.4477 15 20 15C20.5523 15 21 14.5523 21 14V10C21 9.44772 20.5523 9 20 9Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 16.0002V11.5002C7 11.2241 7.22386 11.0002 7.5 11.0002H16.5C16.7761 11.0002 17 11.2241 17 11.5002V16.0002C17 17.1048 16.1046 18.0002 15 18.0002V20C15 20.5523 14.5523 21 14 21C13.4477 21 13 20.5523 13 20V18.0002H11V20C11 20.5523 10.5523 21 10 21C9.44772 21 9 20.5523 9 20L9 18.0002C7.89543 18.0002 7 17.1048 7 16.0002Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.8945 3.55301C9.64751 3.05903 9.04684 2.8588 8.55286 3.10579C8.05888 3.35278 7.85866 3.95345 8.10565 4.44743L8.56529 5.36671C7.71491 6.17086 7.14669 7.2703 7.02469 8.50096C6.99744 8.77575 7.22393 9.00022 7.50007 9.00022H16.5001C16.7762 9.00022 17.0027 8.77575 16.9755 8.50096C16.8535 7.2703 16.2852 6.17086 15.4349 5.36671L15.8945 4.44743C16.1415 3.95345 15.9413 3.35278 15.4473 3.10579C14.9533 2.8588 14.3526 3.05903 14.1056 3.55301L13.7286 4.30706C13.1899 4.10859 12.6077 4.00022
112.0001 4.00022C11.3925 4.00022 10.8102 4.10859 10.2715 4.30706L9.8945 3.55301Z",fill:"currentColor"})]}),o=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5309 7.55376C10.0692 7.28719 9.5718 7 8.5 7C6.5 7 4 9 4 13C4 17 6.6438 22 9 22C9.75 22 10.125 21.75 10.5 21.5C10.875 21.25 11.25 21 12 21C12.75 21 13.125 21.25 13.5 21.5C13.875 21.75 14.25 22 15 22C16.6777 22 18.8562 19.4844 19.9717 16.5777C20.0868 16.2776 19.8745 15.9593 19.5646 15.8736C18.0858 15.4645 17 14.109 17 12.5C17 11.1846 17.7257 10.0386 18.7986 9.44066C19.1026 9.27122 19.2297 8.86526 18.985 8.61778C17.9132 7.5338 16.5433 7 15.5 7C14.75 7 14.25 7.25 13.75 7.5C13.25 7.75 12.75 8 12 8C11.3038 8 10.9308 7.78461 10.5309 7.55376Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M12 5.55556C12 3.59188 13.5919 2 15.5556 2C15.801 2 16 2.19898 16 2.44444C16 4.40812 14.4081 6 12.4444 6C12.199 6 12 5.80102 12 5.55556Z",fill:"currentColor"})]}),a=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"31",viewBox:"0 0 28 31",fill:"none",...e,children:[(0,r.jsx)("path",{d:"M13.0401 14.8242L0.617188 28.0054V28.017C0.75161 28.5164 0.999599 28.9779 1.3418 29.3655C1.684 29.7532 2.11116 30.0565 2.58994 30.2519C3.06872 30.4472 3.58616 30.5293 4.10189 30.4917C4.61762 30.4541 5.11767 30.2978 5.56304 30.035L5.59803 30.0117L19.5724 21.9514L13.0401 14.8242Z",fill:"#EA4335"}),(0,r.jsx)("path",{d:"M25.6026 12.5843L25.591 12.5727L19.5603 9.07324L12.7598 15.1272L19.5836 21.9511L25.591 18.4867C26.1223 18.199 26.5663 17.7734 26.876 17.2547C27.1858 16.7359 27.3499 16.1432 27.3511 15.539C27.3523 14.9348 27.1906 14.3414 26.8828 13.8214C26.5751 13.3014 26.1329 12.8741 25.6026 12.5843Z",fill:"#FBBC04"}),(0,r.jsx)("path",{d:"M0.617136 2.99512C0.547148 3.27507 0.500488 3.55502 0.500488 3.85831V27.1528C0.500488 27.4561 0.535483 27.736 0.617136 28.016L13.46 15.1731L0.617136 2.99512Z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M13.1335 15.5002L19.5607 9.07295L5.59803 0.977623C5.15168 0.710729 4.64962 0.550763 4.13114 0.510244C3.61266 0.469726 3.09184 0.549756 2.60944 0.744069C2.12705 0.938383 1.69618 1.2417 1.35055 1.63029C1.00492 2.01888 0.753915 2.4822 0.617188 2.98396L13.1335 15.5002Z",fill:"#34A853"})]}),s=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M8.52062 13.8458C7.48059 13.8458 6.63159 12.9014 6.63159 11.7446 6.63159 10.5879 7.45936 9.64331 8.52062 9.64331 9.57123 9.64331 10.4308 10.5879 10.4096 11.7446 10.4096 12.9014 9.57123 13.8458 8.52062 13.8458ZM15.4941 13.8458C14.454 13.8458 13.604 12.9014 13.604 11.7446 13.604 10.5879 14.4328 9.64331 15.4941 9.64331 16.5447 9.64331 17.4043 10.5879 17.3831 11.7446 17.3831 12.9014 16.5553 13.8458 15.4941 13.8458ZM10.1253 4.32296 9.81655 3.76001 9.18323 3.86556C7.71915 4.10958 6.32658 4.54677 5.02544 5.14604L4.79651 5.25148 4.65507 5.46009C2.0418 9.31441 1.3258 13.1087 1.68032 16.8362L1.71897 17.2425 2.04912 17.4824C3.78851 18.7465 5.47417 19.5189 7.12727 20.0257L7.91657 20.2676 9.03013 17.5506C10.9397 18.0226 13.0592 18.0228 14.969 17.5511L16.0757 20.2683 16.8668 20.0256C18.5173 19.5193 20.2137 18.7472 21.9466 17.4811L22.2726 17.243 22.3131 16.8414C22.7491 12.5213 21.616 8.75773 19.3547 5.45652L19.2128 5.24944 18.9846 5.14504C17.6767 4.54685 16.2852 4.10981 14.8309 3.86573L14.2132 3.76207 13.8987 4.30369C13.8112 4.45445 13.7215 4.62464 13.6364 4.79687 12.5441 4.6847 11.456 4.68446 10.3726 4.79652 10.2882 4.62736 10.2025 4.4638 10.1253 4.32296ZM6.71436 16.6102C6.91235 16.7243 7.11973 16.8358 7.32557 16.9381L6.8764 18.034C5.75585 17.6259 4.61837 17.0637 3.4476 16.2557 3.22313 13.1178 3.86092 9.951 6.01196 6.68626 6.90962 6.29123 7.8535 5.98279 8.83606 5.77295 8.89631 5.89831 8.95235 6.02066 8.99839 6.12917L9.27128 6.77238 9.96259 6.67098C11.3152 6.4726 12.6772 6.47234 14.0523 6.67124L14.7424 6.77106 15.0147 6.12917C15.0621 6.01743 15.1167 5.89547 15.1743 5.77322 16.1525 5.98326 17.098 6.29212 18.0029 6.68812 19.8781 9.50857 20.8241 12.6544 20.5486 16.2552 19.3837 17.0625 18.2422 17.6249 17.1193 18.0335L16.6735 16.939C16.8799 16.8365 17.0879 16.7246 17.2865 16.6102 17.7763 16.328 18.3039 15.976 18.6402 15.6397L17.3606 14.3602C17.1969 14.5239 16.837 14.7808 16.3831 15.0423 15.9388 15.2983 15.498 15.5052 15.2164 15.5983 13.2126 16.2608 10.7883 16.2608 8.78443 15.5983 8.50285 15.50
152 8.06205 15.2983 7.61772 15.0423 7.16383 14.7808 6.80392 14.5239 6.64017 14.3602L5.36065 15.6397C5.6969 15.976 6.2245 16.328 6.71436 16.6102Z"})}),l=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})}),u=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:(0,r.jsx)("path",{d:"M13.0713 4.6632C13.0205 4.46462 12.8768 4.3148 12.7123 4.26858C12.4199 4.18707 11.0007 3.99999 8.00067 3.99999C5.00065 3.99999 3.58168 4.18714 3.28816 4.26881C3.12517 4.31414 2.98153 4.46394 2.93006 4.6632C2.85753 4.94614 2.66732 6.13062 2.66732 7.99999C2.66732 9.86932 2.85753 11.0539 2.93026 11.3376C2.98084 11.5354 3.1245 11.6852 3.28834 11.7312C3.58168 11.8129 5.00065 12 8.00067 12C11.0007 12 12.4199 11.8129 12.7131 11.7312C12.8761 11.6859 13.0198 11.5361 13.0713 11.3368C13.1438 11.0539 13.334 9.86666 13.334 7.99999C13.334 6.13332 13.1438 4.94614 13.0713 4.6632ZM14.3628 4.33211C14.6673 5.51999 14.6673 7.99999 14.6673 7.99999C14.6673 7.99999 14.6673 10.48 14.3628 11.6679C14.1931 12.3249 13.698 12.8412 13.0704 13.0157C11.9314 13.3333 8.00067 13.3333 8.00067 13.3333C8.00067 13.3333 4.07224 13.3333 2.93091 13.0157C2.30097 12.8388 1.80586 12.3224 1.63849 11.6679C1.33398 10.48 1.33398 7.99999 1.33398 7.99999C1.33398 7.99999 1.33398 5.51999 1.63849 4.33211C1.80818 3.67514 2.3033 3.15878 2.93091 2.98423C4.07224 2.66666 8.00067 2.66666 8.00067 2.66666C8.00067 2.66666 11.9314 2.66666 13.0704 2.98423C13.7003 3.1612 14.1955 3.67756 14.3628 4.33211ZM6.66733 10.3333V5.66666L10.6673 7.99999L6.66733 10.3333Z",fill:"currentColor"})}),c=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M11.0526 7.8154L11.8042 4.27941C12.0339 3.19898 13.0959 2.50929 14.1764 2.73894L17.3725 3.4183C17.8351 2.90546 18.5509 2.64644 19.275 2.80035C20.3554 3.03 21.0451 4.09204 20.8155 5.17247C20.5858 6.2529 19.5238 6.94259 18.4434 6.71294C17.7193 6.55903 17.1707 6.03124 16.9567 5.3746L13.7605 4.69523L13.0943 7.82978C14.8789 7.96683 16.6522 8.56079 18.2581 9.52961C19.0892 9.06763 20.0992 8.99337 21.007 9.36091C22.1731 9.833 22.9531 10.9459 22.9991 12.2031L22.9996 12.2241C23.0151 13.2277 22.559 14.1657 21.792 14.7742C21.7899 14.8178 21.7871 14.859 21.7836 14.8971C21.7836 18.8949 17.3341 21.9267 11.9852 21.9267C6.65232 21.9267 2.27693 18.9027 2.27987 14.9738C2.27523 14.9134 2.27162 14.853 2.26905 14.7926C1.46701 14.1873 0.984722 13.2277 1.00037 12.1962C1.01955 10.9317 1.78341 9.79777 2.94804 9.30491C3.85909 8.91936 4.881 8.98299 5.72371 9.44381C7.3578 8.46653 9.15777 7.91241 11.0526 7.8154ZM20.3385 13.341C20.7466 13.1382 21.003 12.7207 21.0001 12.2656C20.9789 11.8005 20.6887 11.3897 20.2565 11.2147C19.821 11.0384 19.3226 11.1343 18.9837 11.4597L18.3991 12.0207L17.729 11.5652C16.1137 10.4672 14.2771 9.8397 12.4995 9.80134L11.493 9.80123C9.61791 9.8295 7.84136 10.4002 6.25552 11.4757L5.59246 11.9254L5.00897 11.3764C4.66501 11.0528 4.16243 10.9627 3.7275 11.1468C3.29257 11.3308 3.0073 11.7543 3 12.2265C2.99298 12.6987 3.26526 13.1307 3.69441 13.3278L4.32738 13.6186L4.27399 14.3132C4.261 14.482 4.261 14.6516 4.27693 14.8971C4.27693 17.6071 7.63313 19.9267 11.9852 19.9267C16.3561 19.9267 19.7836 17.5913 19.7865 14.8205C19.7995 14.6516 19.7995 14.482 19.7865 14.3132L19.7348 13.6411L20.3385 13.341ZM6.95075 13.4999C6.95075 12.6715 7.62232 11.9999 8.45075 11.9999C9.27918 11.9999 9.95075 12.6715 9.95075 13.4999C9.95075 14.3283 9.27918 14.9999 8.45075 14.9999C8.05292 14.9999 7.67139 14.8419 7.39009 14.5606C7.10878 14.2793 6.95075 13.8977 6.95075 13.4999ZM13.9507 13.4999C13.9507 12.6715 14.6223 11.9999 15.4507 11.9999C16.2792 11.9999 16.9507 12.6715 16.9507 13.4999C16.9507 14.3283 16.2792 14.9999 15.4507 14.9999C15.0529 14.9999 14.6714 14.8419 14.3901 14.5606C14.1088 14.2793 13.9507 13.8977 13.9507 13.4999ZM11.9665 18.6028C10.5693 18.6028 9.19993 18.2329 8.08503 17.3928C7.94659 17.2241 7.95868 16.9779 8.11299 16.8236C8.2673 16.6693 8.51349 16.6572 8.68218 16.7956C9.62697 17.4886 10.805 17.7856 11.9507 17.7856C13.0965 17.7856 14.2813 17.5112 15.235 16.8271C15.3473 16.7176 15.5095 16.6763 15.6604 16.7188C15.8114 16.7613 15.9282 16.8811 15.9669 17.0331C16.0055 17.1851 15.9517 17.3346 15.8479 17.45
156C15.1638 18.2531 13.3636 18.6028 11.9665 18.6028Z"})}),d=e=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M12.5 14.5v-6m-3 3h6m-3 8.5a8.5 8.5 0 1 0-8.057-5.783c.108.32.162.481.172.604a.899.899 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021.07.002.12.009.187.024.069.016.155.05.329.116A8.478 8.478 0 0 0 12.5 20z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),f=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00006 7C4.00006 4.23858 6.23864 2 9.00006 2H15C17.7614 2 20 4.23858 20 7V18.9892C20 21.5429 17.0127 22.9289 15.0628 21.2799L12.6458 19.2358C12.273 18.9205 11.7271 18.9205 11.3543 19.2358L8.9373 21.2799C6.9874 22.9289 4.00006 21.543 4.00006 18.9892V7ZM9.00006 4C7.34321 4 6.00006 5.34315 6.00006 7V18.9892C6.00006 19.8405 6.99584 20.3025 7.64581 19.7528L10.0628 17.7087C11.1812 16.7629 12.819 16.7629 13.9373 17.7087L16.3543 19.7528C17.0042 20.3024 18 19.8405 18 18.9892V7C18 5.34315 16.6569 4 15 4H9.00006Z"})}),h=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.81417 22 2.55032 18.0526 2.04924 12.9986C1.99475 12.449 2.44772 12 3 12C3.55228 12 3.99344 12.45 4.06165 12.998C4.55286 16.9453 7.91969 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.70077 4 7.62809 4.96996 6.16881 6.523C5.99136 6.71184 6.00547 7.00595 6.18872 7.18916L7.1462 8.1464C7.46124 8.46137 7.23817 9 6.79269 9H2.78125C2.50511 9 2.28125 8.77614 2.28125 8.5V4.64103C2.28125 4.21018 2.7898 3.98106 3.11251 4.26651L4.06861 5.11218C4.27678 5.29631 4.59431 5.27438 4.78682 5.07394C6.60653 3.17927 9.16555 2 12 2ZM12 7C12.5523 7 13 7.44774 13 8.00004L12.9998 10.6382C12.9998 11.2444 13.2406 11.8258 13.6692 12.2546L15.5356 14.1213C15.9261 14.5118 15.9261 15.1449 15.5356 15.5354C15.145 15.926 14.5118 15.9259 14.1213 15.5353L11.79 13.2034C11.284 12.6973 10.9998 12.011 10.9998 11.2954L11 7.99996C11 7.44769 11.4477 7 12 7Z"})}),p=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_131_143)",children:(0,r.jsx)("path",{d:"M7.2 4C7.08954 4 7 4.08954 7 4.2V19.8C7 19.9105 7.08954 20 7.2 20H16.8C16.9105 20 17 19.9105 17 19.8V4.2C17 4.08954 16.9105 4 16.8 4H7.2ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_131_143",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),m=e=>(0,r.jsxs)("svg",{width:"14",height:"15",viewBox:"0 0 14 15",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_204_652)",children:(0,r.jsx)("path",{d:"M9.33333 4.05575V3.58908C9.33333 2.93568 9.33333 2.60899 9.20617 2.35942C9.09432 2.1399 8.91585 1.96142 8.69632 1.84957C8.44676 1.72241 8.12006 1.72241 7.46667 1.72241H6.53333C5.87994 1.72241 5.55324 1.72241 5.30368 1.84957C5.08416 1.96142 4.90568 2.1399 4.79383 2.35942C4.66667 2.60899 4.66667 2.93568 4.66667 3.58908V4.05575M5.83333 7.26408V10.1807M8.16667 7.26408V10.1807M1.75 4.05575H12.25M11.0833 4.05575V10.5891C11.0833 11.5692 11.0833 12.0592 10.8926 12.4336C10.7248 12.7628 10.4571 13.0306 10.1278 13.1983C9.75347 13.3891 9.26343 13.3891 8.28333 13.3891H5.71667C4.73658 13.3891 4.24653 13.3891 3.87218 13.1983C3.5429 13.0306 3.27518 12.7628 3.10741 12.4336C2.91667 12.0592 2.91667 11.5692 2.91667 10.5891V4.05575",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_204_652",children:(0,r.jsx)("rect",{width:"14",height:"14",fill:"white",transform:"translate(0 0.555664)"})})})]}),g=e=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M9.16675 10C9.16675 10.4603 9.53984 10.8334 10.0001 10.8334C10.4603 10.8334 10.8334 10.4603 10.8334 10C10.8334 9.53978 10.4603 9.16669 10.0001 9.16669C9.53984 9.16669 9.16675 9.53978 9.16675 10Z",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M15.0001 10C15.0001 10.4603 15.3732 10.8334 15.8334 10.8334C16.2937 10.8334 16.6667 10.4603 16.6667 10C16.6667 9.53978 16.2937 9.16669 15.8334 9.16669C15.3732 9.16669 15.0001 9.53978 15.0001 10Z",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33341 10C3.33341 10.4603 3.70651 10.8334 4.16675 10.8334C4.62699 10.8334 5.00008 10.4603 5.00008 10C5.00008 9.53978 4.62699 9.16669 4.16675 9.16669C3.70651 9.16669 3.33342 9.53978 3.33341 10Z",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]}),_=e=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_140_1639)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.39197 1.11108C6.91795 1.11108 7.34433 1.5574 7.34433 2.10795V5.05704H9.76003C10.026 5.05704 10.2798 5.17344 10.4601 5.37807C10.6404 5.58271 10.7307 5.85694 10.7093 6.1344C10.5362 8.37086 9.61054 10.6701 8.13131 12.4216C8.05467 12.5124 7.97643 12.6018 7.89661 12.6897C8.32448 12.857 8.78993 12.949 9.27812 12.949C9.80409 12.949 10.2305 13.3953 10.2305 13.9458C10.2305 14.4964 9.80409 14.9427 9.27812 14.9427C8.19165 14.9427 7.17188 14.6319 6.30112 14.0904C5.08804 14.922 3.6575 15.4359 2.06344 15.4359C1.53747 15.4359 1.11108 14.9896 1.11108 14.4391C1.11108 13.8885 1.53747 13.4422 2.06344 13.4422C3.04489 13.4422 3.95859 13.1805 4.77996 12.72C3.99014 11.7074 3.516 10.4205 3.516 9.0134C3.516 8.46285 3.94238 8.01653 4.46835 8.01653C4.99432 8.01653 5.42071 8.46285 5.42071 9.0134C5.42071 9.96628 5.75494 10.8461 6.31367 11.5312C6.44813 11.3937 6.57839 11.2502 6.70427 11.1011C7.67367 9.95329 8.35332 8.50822 8.65644 7.05078H2.0644C1.53843 7.05078 1.11205 6.60447 1.11205 6.05391C1.11205 5.50336 1.53843 5.05704 2.0644 5.05704H5.43962V2.10795C5.43962 1.5574 5.866 1.11108 6.39197 1.11108ZM14.5694 7.02997C14.9719 7.02997 15.3309 7.29477 15.4663 7.69147L18.8331 17.5564C19.01 18.0748 18.752 18.6453 18.2566 18.8305C17.7613 19.0157 17.2164 18.7456 17.0394 18.2271L16.5918 16.9156L12.547 16.9156L12.0994 18.2271C11.9225 18.7456 11.3775 19.0157 10.8822 18.8305C10.3869 18.6453 10.1288 18.0748 10.3057 17.5564L13.6726 7.69147C13.808 7.29477 14.167 7.02997 14.5694 7.02997ZM13.2275 14.9219L15.9114 14.9219L14.5694 10.99L13.2275 14.9219Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_140_1639",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]}),v=e=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.37738 4.30892L9.70197 4.66941C9.89161 4.88001 10.1617 5.00026 10.4451 5.00026H13.5547C13.8381 5.00026 14.1082 4.88004 14.2978 4.66947L14.6223 4.30916C14.8567 4.04892 15.2104 3.93111 15.5434 4.03963C17.0057 4.5162 20.9681 6.3173 21.78 12.0003C21.9876 13.4541 22.0073 16.115 22.0044 17.3449C22.0034 17.7432 21.7623 18.0996 21.3949 18.2533L17.4096 19.9198C16.9052 20.1308 16.3248 19.8974 16.1068 19.396L15.8334 18.7672C15.6404 18.3233 15.793 17.8049 16.1957 17.5364L16.8965 17.0692C16.9611 17.0261 16.9999 16.9536 16.9999 16.876C17 16.7034 16.8165 16.5857 16.6564 16.6502C15.9629 16.9292 14.2669 17.5003 11.9999 17.5003C9.66807 17.5003 8.0217 16.9378 7.34413 16.6566C7.18565 16.5908 6.99996 16.7068 6.99993 16.8783C6.99992 16.9545 7.03799 17.0256 7.10136 17.0679L7.80412 17.5364C8.20685 17.8049 8.35948 18.3233 8.16649 18.7672L7.89311 19.3959C7.67509 19.8974 7.09471 20.1308 6.59024 19.9198L2.61108 18.2558C2.24063 18.1009 1.99882 17.7413 2 17.3397C2.00383 16.0407 2.03192 13.1777 2.20013 12.0003C3.01233 6.31484 6.99093 4.51464 8.45662 4.03901C8.78955 3.93097 9.14317 4.04881 9.37738 4.30892ZM10 12.5C10 13.3284 9.32843 14 8.5 14C7.67157 14 7 13.3284 7 12.5C7 11.6716 7.67157 11 8.5 11C9.32843 11 10 11.6716 10 12.5ZM15.5 14C16.3284 14 17 13.3284 17 12.5C17 11.6716 16.3284 11 15.5 11C14.6716 11 14 11.6716 14 12.5C14 13.3284 14.6716 14 15.5 14Z",fill:"#7A90B1"})}),y=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",children:(0,r.jsx)("path",{d:"M14.1666 12.0833V9.57866C14.1666 9.4291 14.1666 9.35431 14.1439 9.28829C14.1237 9.22991 14.0908 9.17673 14.0476 9.1326C13.9988 9.08271 13.9319 9.04926 13.7981 8.98238L9.99996 7.08331M3.33329 7.91664V13.5888C3.33329 13.8987 3.33329 14.0537 3.38164 14.1894C3.42438 14.3093 3.49404 14.4179 3.58527 14.5067C3.68847 14.6072 3.82935 14.6718 4.11109 14.8009L9.44442 17.2454C9.64878 17.339 9.75096 17.3859 9.85741 17.4043C9.95174 17.4207 10.0482 17.4207 10.1425 17.4043C10.249 17.3859 10.3511 17.339 10.5555 17.2454L15.8888 14.8009C16.1706 14.6718 16.3114 14.6072 16.4146 14.5067C16.5059 14.4179 16.5755 14.3093 16.6183 14.1894C16.6666 14.0537 16.6666 13.8987 16.6666 13.5888V7.91664M1.66663 7.08331L9.70182 3.06571C9.81114 3.01105 9.86579 2.98372 9.92313 2.97297C9.9739 2.96344 10.026 2.96344 10.0768 2.97297C10.1341 2.98372 10.1888 3.01105 10.2981 3.06571L18.3333 7.08331L10.2981 11.1009C10.1888 11.1556 10.1341 11.1829 10.0768 11.1936C10.026 11.2032 9.9739 11.2032 9.92313 11.1936C9.86579 11.1829 9.81114 11.1556 9.70182 11.1009L1.66663 7.08331Z",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),b=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"0",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"#000"}),(0,r.jsx)("rect",{width:"7",height:"7",x:"8.5",y:"8.5",fill:"#FFF"})]}),w=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"0",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"#FFF"}),(0,r.jsx)("rect",{width:"7",height:"7",x:"8.5",y:"8.5",fill:"#000"})]}),E=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",focusable:"false","data-icon":"file-markdown",width:"1em",height:"1em",fill:"
1currentColor",...e,children:(0,r.jsx)("path",{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"})}),C=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",focusable:"false","data-icon":"file-text",width:"1em",height:"1em",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"})}),x=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",...e,children:(0,r.jsx)("path",{d:"M7.99967 13.3333H3.46634C2.7196 13.3333 2.34624 13.3333 2.06102 13.188C1.81014 13.0601 1.60616 12.8562 1.47833 12.6053C1.33301 12.3201 1.33301 11.9467 1.33301 11.2V4.79996C1.33301 4.05322 1.33301 3.67985 1.47833 3.39464C1.60616 3.14376 1.81014 2.93978 2.06102 2.81195C2.34624 2.66663 2.7196 2.66663 3.46634 2.66663H3.73301C5.22648 2.66663 5.97322 2.66663 6.54365 2.95728C7.04541 3.21294 7.45336 3.62089 7.70903 4.12265C7.99967 4.69308 7.99967 5.43982 7.99967 6.93329M7.99967 13.3333V6.93329M7.99967 13.3333H12.533C13.2797 13.3333 13.6531 13.3333 13.9383 13.188C14.1892 13.0601 14.3932 12.8562 14.521 12.6053C14.6663 12.3201 14.6663 11.9467 14.6663 11.2V4.79996C14.6663 4.05322 14.6663 3.67985 14.521 3.39464C14.3932 3.14376 14.1892 2.93978 13.9383 2.81195C13.6531 2.66663 13.2797 2.66663 12.533 2.66663H12.2663C10.7729 2.66663 10.0261 2.66663 9.4557 2.95728C8.95393 3.21294 8.54599 3.62089 8.29032 4.12265C7.99967 4.69308 7.99967 5.43982 7.99967 6.93329",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),T=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",imageRendering:"optimizeQuality",fillRule:"evenodd",clipRule:"evenodd",viewBox:"0 0 512 512",...e,children:[(0,r.jsx)("rect",{fill:"#10A37F",width:"512",height:"512",rx:"104.187",ry:"105.042"}),(0,r.jsx)("path",{fill:"#fff",fillRule:"nonzero",d:"M378.68 230.011a71.432 71.432 0 003.654-22.541 71.383 71.383 0 00-9.783-36.064c-12.871-22.404-36.747-36.236-62.587-36.236a72.31 72.31 0 00-15.145 1.604 71.362 71.362 0 00-53.37-23.991h-.453l-.17.001c-31.297 0-59.052 20.195-68.673 49.967a71.372 71.372 0 00-47.709 34.618 72.224 72.224 0 00-9.755 36.226 72.204 72.204 0 0018.628 48.395 71.395 71.395 0 00-3.655 22.541 71.388 71.388 0 009.783 36.064 72.187 72.187 0 0077.728 34.631 71.375 71.375 0 0053.374 23.992H271l.184-.001c31.314 0 59.06-20.196 68.681-49.995a71.384 71.384 0 0047.71-34.619 72.107 72.107 0 009.736-36.194 72.201 72.201 0 00-18.628-48.394l-.003-.004zM271.018 380.492h-.074a53.576 53.576 0 01-34.287-12.423 44.928 44.928 0 001.694-.96l57.032-32.943a9.278 9.278 0 004.688-8.06v-80.459l24.106 13.919a.859.859 0 01.469.661v66.586c-.033 29.604-24.022 53.619-53.628 53.679zm-115.329-49.257a53.563 53.563 0 01-7.196-26.798c0-3.069.268-6.146.79-9.17.424.254 1.164.706 1.695 1.011l57.032 32.943a9.289 9.289 0 009.37-.002l69.63-40.205v27.839l.001.048a.864.864 0 01-.345.691l-57.654 33.288a53.791 53.791 0 01-26.817 7.17 53.746 53.746 0 01-46.506-26.818v.003zm-15.004-124.506a53.5 53.5 0 0127.941-23.534c0 .491-.028 1.361-.028 1.965v65.887l-.001.054a9.27 9.27 0 004.681 8.053l69.63 40.199-24.105 13.919a.864.864 0 01-.813.074l-57.66-33.316a53.746 53.746 0 01-26.805-46.5 53.787 53.787 0 017.163-26.798l-.003-.003zm198.055 46.089l-69.63-40.204 24.106-13.914a.863.863 0 01.813-.074l57.659 33.288a53.71 53.71 0 0126.835 46.491c0 22.489-14.033 42.612-35.133 50.379v-67.857c.003-.025.003-.051.003-.076a9.265 9.265 0 00-4.653-8.033zm23.993-36.111a81.919 81.919 0 00-1.694-1.01l-57.032-32.944a9.31 9.31 0 00-4.684-1.266 9.31 9.31 0 00-4.684 1.266l-69.631 40.205v-27.839l-.001-.048c0-.272.129-.528.346-.691l57.654-33.26a53.696 53.696 0 0126.816-7.177c29.644 0 53.684 24.04 53.684 53.684a53.91 53.91 0 01-.774 9.077v.003zm-150.831 49.618l-24.111-13.919a.859.859 0 01-.469-.661v-66.587c.013-29.628 24.053-53.648 53.684-53.648a53.719 53.719 0 0134.349 12.426c-.434.237-1.191.655-1.694.96l-57.032 32.943a9.272 9.272 0 00-4.687 8.057v.053l-.04 80.376zm13.095-28.233l31.012-17.912 31.012 17.9v35.812l-31.012 17.901-31.012-17.901v-35.8z"})]}),S=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",imageRendering:"optimizeQuality",fillRule:"evenodd",clipRule:"evenodd",viewBox:"0 0 512 512",...e,children:[(0,r.jsx)("rect",{fill:"#CC9B7A",width:"512",height:"512",rx:"104.187",ry:"105.042"}),(0,r.jsx)("path",{fill:"#1F1F1E",fillRule:"nonzero",d:"M318.663 149.787h-43.3
168l78.952 212.423 43.368.004-78.952-212.427zm-125.326 0l-78.952 212.427h44.255l15.932-44.608 82.846-.004 16.107 44.612h44.255l-79.126-212.427h-45.317zm-4.251 128.341l26.91-74.701 27.083 74.701h-53.993z"})]}),k=e=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{x:"1",width:"16",height:"16",rx:"8",fill:"white"}),(0,r.jsx)("rect",{x:"1",width:"16",height:"16",rx:"8",fill:"#F3F3FA"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_39411_116250.8523098267320623)",children:[(0,r.jsx)("path",{d:"M3.85857 9.20519C3.85857 9.70602 3.96845 10.0905 4.11217 10.3231C4.30056 10.6278 4.58152 10.7571 4.86797 10.7571C5.23739 10.7571 5.57538 10.6654 6.22669 9.76459C6.74861 9.04257 7.36333 8.0291 7.77703 7.39372L8.47762 6.31729C8.96427 5.56972 9.52757 4.73871 10.1734 4.17541C10.7009 3.71562 11.2695 3.46021 11.8419 3.46021C12.803 3.46021 13.7184 4.01713 14.419 5.06164C15.1857 6.20554 15.5579 7.64644 15.5579 9.13333C15.5579 10.0173 15.3836 10.6668 15.0871 11.1799C14.8007 11.6762 14.2424 12.172 13.3033 12.172V10.7569C14.1075 10.7569 14.3081 10.018 14.3081 9.17234C14.3081 7.96729 14.0271 6.63 13.4082 5.67444C12.969 4.99665 12.3998 4.58251 11.7735 4.58251C11.0962 4.58251 10.5511 5.09345 9.93852 6.00419C9.61284 6.48815 9.27853 7.07787 8.90313 7.74336L8.48987 8.47543C7.65984 9.94753 7.44953 10.2827 7.03446 10.8358C6.30701 11.8045 5.68575 12.1718 4.86797 12.1718C3.8978 12.1718 3.28434 11.7516 2.90438 11.1186C2.59424 10.6027 2.44189 9.92583 2.44189 9.15459L3.85857 9.20519Z",fill:"#0081FB"}),(0,r.jsx)("path",{d:"M3.55908 5.16128C4.20858 4.16011 5.1459 3.45996 6.22096 3.45996C6.84354 3.45996 7.4626 3.64423 8.1088 4.17198C8.81576 4.74885 9.56926 5.6993 10.5093 7.26508L10.8464 7.82684C11.6601 9.18242 12.123 9.87982 12.394 10.2087C12.7424 10.631 12.9865 10.7569 13.3035 10.7569C14.1076 10.7569 14.3082 10.018 14.3082 9.17237L15.558 9.13314C15.558 10.0171 15.3838 10.6666 15.0873 11.1798C14.8009 11.676 14.2426 12.1718 13.3035 12.1718C12.7196 12.1718 12.2024 12.045 11.6304 11.5054C11.1909 11.0912 10.6767 10.3555 10.2812 9.69418L9.10491 7.72927C8.51475 6.74315 7.97315 6.0079 7.66 5.67491C7.32289 5.31681 6.88958 4.88444 6.19811 4.88444C5.63849 4.88444 5.16321 5.27714 4.7655 5.87786L3.55908 5.16128Z",fill:"url(#paint0_linear_39411_116250.8523098267320623)"}),(0,r.jsx)("path",{d:"M6.19795 4.88444C5.63834 4.88444 5.16305 5.27715 4.76535 5.87786C4.20293 6.72667 3.85884 7.991 3.85884 9.20517C3.85884 9.706 3.96872 10.0905 4.11244 10.3231L2.90438 11.1185C2.59424 10.6027 2.44189 9.92581 2.44189 9.15457C2.44189 7.75201 2.82686 6.29018 3.55893 5.16128C4.20842 4.16011 5.14575 3.45996 6.22081 3.45996L6.19795 4.88444Z",fill:"url(#paint1_linear_39411_116250.8523098267320623)"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_39411_116250.8523098267320623",x1:"5.28529",y1:"7.5901",x2:"14.3163",y2:"8.04621",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0064E1"}),(0,r.jsx)("stop",{offset:"0.4",stopColor:"#0064E1"}),(0,r.jsx)("stop",{offset:"0.83",stopColor:"#0073EE"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0082FB"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_39411_116250.8523098267320623",x1:"4.33132",y1:"9.79994",x2:"4.33132",y2:"6.47032",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0082FB"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0064E0"})]}),(0,r.jsx)("clipPath",{id:"clip0_39411_116250.8523098267320623",children:(0,r.jsx)("rect",{width:"18",height:"8.712",fill:"white",transform:"translate(0 3.45996)"})})]})]}),A=e=>(0,r.jsxs)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e,children:[(0,r.jsx)("path",{d:"M16 8.016A8.522 8.522 0 008.016 16h-.032A8.521 8.521 0 000 8.016v-.032A8.521 8.521 0 007.984 0h.032A8.522 8.522 0 0016 7.984v.032z",fill:"url(#prefix__paint0_radial_980_20147)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("radialGradient",{id:"prefix__paint0_radial_980_20147",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(16.1326 5.4553 -43.70045 129.2322 1.588 6.503)",children:[(0,r.jsx)("stop",{offset:".067",stopColor:"#9168C0"}),(0,r.jsx)("stop",{offset:".343",stopColor:"#5684D1"}),(0,r.jsx)("stop",{offset:".672",stopColor:"#1BA1E3"})]})})]}),L=e=>(0,r.jsxs)("svg",{height:"1em",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("title",{children:"DeepSeek"}),(0,r.jsx)("path",{d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173
10 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z",fill:"#4D6BFE"})]}),I=e=>(0,r.jsxs)("svg",{fill:"currentColor",fillRule:"evenodd",height:"1em",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("title",{children:"Grok"}),(0,r.jsx)("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]}),O=e=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("title",{children:"Stealth"}),(0,r.jsx)("rect",{width:"24",height:"24",rx:"5",fill:"#E9ECEF"}),(0,r.jsx)("path",{d:"M12 4.5 5.2 13.5 2.5 16.2 4.8 18 12 13.7 19.2 18l2.3-1.8-2.7-2.7Z",fill:"#111827"}),(0,r.jsx)("path",{d:"m9.3 13.7 2.7 3 2.7-3Z",fill:"#111827"})]}),P=e=>(0,r.jsxs)("svg",{height:"1em",viewBox:"0 0 22 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("title",{children:"BigModel"}),(0,r.jsx)("path",{d:"M21.052 11.79V5.916a.049.049 0 0 0-.025-.043L10.55.006A.05.05 0 0 0 10.525 0v2.458c0 4.77 3.986 9.326 8.903 9.326-.1 0-.198.002-.296.006h1.92Z",fill:"url(#bigmodel-gradient-top-right)"}),(0,r.jsx)("path",{d:"M0 11.79v6.083c0 .018.01.035.024.044L10.501 24a.05.05 0 0 0 .024.006V21.454c0-4.94-3.985-9.659-8.902-9.659.099 0 .198-.002.296-.005H0Z",fill:"url(#bigmodel-gradient-bottom-left)"}),(0,r.jsx)("path",{d:"M0 11.79V5.916c0-.018.01-.034.024-.043L10.501.006A.05.05 0 0 1 10.525 0v2.458c0 4.77-3.985 9.326-8.902 9.326.099 0 .198.002.296.006H0Z",fill:"url(#bigmodel-gradient-top-left)"}),(0,r.jsx)("path",{d:"M21.052 11.79v6.083a.05.05 0 0 1-.025.044L10.55 24a.05.05 0 0 1-.024.006V21.454c0-4.94 3.986-9.659 8.903-9.659-.1 0-.198-.002-.296-.005h1.92Z",fill:"url(#bigmodel-gradient-bottom-right)"}),(0,r.jsx)("path",{d:"M10.527 2.458c0 4.77 3.986 9.326 8.903 9.326l-.296.005c.098.004.197.006.296.006-4.917 0-8.903 4.72-8.903 9.659 0-4.896-3.915-9.574-8.772-9.656l-.001-.006.167-.003-.167-.003v-.006c4.857-.079 8.773-4.595 8.773-9.322Z",fill:"#F7F8FA"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"bigmodel-gradient-top-right",x1:"9.938",x2:"20.463",y1:".565",y2:"7.686",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#988EFF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2153DD"})]}),(0,r.jsxs)("linearGradient",{id:"bigmodel-gradient-bottom-left",x1:"9.348",x2:"-1.571",y1:"21.242",y2:"11.426",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#8EAEFF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2199DD"})]}),(0,r.jsxs)("linearGradient",{id:"bigmodel-gradient-top-left",x1:"1.283",x2:"9.869",y1:"11.79",y2:"-.121",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#988EFF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2153DD"})]}),(0,r.jsxs)("linearGradient",{id:"bigmodel-gradient-bottom-right",x1:"21.052",x2:"10.766",y1:"11.298",y2:"23.796",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#8EA7FF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2161DD"})]})]})]}),j=e=>(0,r.jsxs)("svg",{fill:"currentColor",fillRule:"evenodd",height:"1em",viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("title",{children:"Kimi"}),(0,r.jsx)("path",{d:"M19.738 5.776c.163-.209.306-.4.457-.585.07-.087.064-.153-.004-.244-.655-.861-.717-1.817-.34-2.787.283-.73.909-1.072 1.674-1.145.477-.045.945.004 1.379.236.57.305.902.77 1.01 1.412.086.512.07 1.012-.075 1.508-.257.878-.888 1.333-1.753 1.448-.718.096-1.446.108-2.17.157-.056.004-.113 0-.178 0z",fill:"
1currentColor"}),(0,r.jsx)("path",{d:"M17.962 1.844h-4.326l-3.425 7.81H5.369V1.878H1.5V22h3.87v-8.477h6.824a3.025 3.025 0 002.743-1.75V22h3.87v-8.477a3.87 3.87 0 00-3.588-3.86v-.01h-2.125a3.94 3.94 0 002.323-2.12l2.545-5.689z"})]}),R=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14px",height:"14px",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.33457 2H16.6654H16.6655C17.5509 1.99999 18.2817 1.99998 18.877 2.0442C19.4953 2.09012 20.0637 2.18868 20.5976 2.43598C21.4255 2.81947 22.0986 3.43139 22.5204 4.18404C22.7924 4.66938 22.9009 5.18608 22.9514 5.74818C23 6.28937 23 6.95372 23 7.75868V16.2413C23 17.0463 23 17.7106 22.9514 18.2518C22.9009 18.8139 22.7924 19.3306 22.5204 19.816C22.0986 20.5686 21.4255 21.1805 20.5976 21.564C20.0637 21.8113 19.4953 21.9099 18.877 21.9558C18.2817 22 17.5509 22 16.6655 22H7.33455C6.44909 22 5.7183 22 5.12299 21.9558C4.50469 21.9099 3.93631 21.8113 3.40244 21.564C2.57453 21.1805 1.90142 20.5686 1.47957 19.816C1.20755 19.3306 1.09913 18.8139 1.04862 18.2518C0.999977 17.7106 0.999988 17.0463 1 16.2413V16.2413V7.75869V7.75865C0.999988 6.9537 0.999977 6.28936 1.04862 5.74818C1.09913 5.18608 1.20755 4.66938 1.47957 4.18404C1.90142 3.43139 2.57453 2.81947 3.40244 2.43598C3.93631 2.18868 4.50469 2.09012 5.12299 2.0442C5.7183 1.99998 6.4491 1.99999 7.33455 2H7.33457ZM3 6C3 4.89543 3.89543 4 5 4H19C20.1046 4 21 4.89543 21 6V12C21 13.1046 20.1046 14 19 14H16.5C15.6716 14 15.0311 14.7118 14.6333 15.4385C14.1239 16.369 13.1356 17 12 17C10.8644 17 9.8761 16.369 9.36671 15.4385C8.96891 14.7118 8.32843 14 7.5 14H5C3.89543 14 3 13.1046 3 12V6Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 15C12.5523 15 13 14.5523 13 14V9.41421L14.2929 10.7071C14.6834 11.0976 15.3166 11.0976 15.7071 10.7071C16.0976 10.3166 16.0976 9.68342 15.7071 9.29289L12.7071 6.29289C12.5196 6.10536 12.2652 6 12 6C11.7348 6 11.4804 6.10536 11.2929 6.29289L8.29289 9.29289C7.90237 9.68342 7.90237 10.3166 8.29289 10.7071C8.68342 11.0976 9.31658 11.0976 9.70711 10.7071L11 9.41421V14C11 14.5523 11.4477 15 12 15Z",fill:"currentColor"})]}),M=()=>(0,r.jsxs)("svg",{className:"animate-spin -ml-1 h-5 w-5 text-gray-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),N=e=>(0,r.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_15100_6630)",children:[(0,r.jsx)("path",{d:"M6 10V11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6 1V2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8.5 10V11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8.5 1V2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M1 6H2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M1 8.5H2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M1 3.5H2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 6H11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 8.5H11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 3.5H11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.5 10V11",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.5 1V2",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9 2H3C2.44772 2 2 2.44772 2 3V9C2 9.55228 2.44772 10 3 10H9C9.55228 10 10 9.55228 10 9V3C10 2.44772 9.55228 2 9 2Z",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M7.5 4H4.5C4.22386 4 4 4.22386 4 4.5V7.5C4 7.77614 4.22386 8 4.5 8H7.5C7.77614 8 8 7.77614 8 7.5V4.5C8 4.22386 7.77614 4 7.5 4Z",stroke:"#0080FF",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_15100_6630",children:(0,r.jsx)("rect",{width:"12",height:"12",fill:"white"})})})]}),D=e=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M11.9962 18.9998C11.7894 19.0011 11.5899 18.9238 11.438 18.7834C11.2811 18.6387 11.1783 18.4447 11.1467 18.2336C10.9968 17.3787 10.8438 16.6597 10.6877 16.0764C10.5322 15.4994 10.3408 15.0276 10.1135 14.6611C9.89714 14.3009 9.59742 13.9979 9.23956 13.7778C8.878 13.5561 8.41715 13.3784 7.85701 13.2448C7.17159 13.0872 6.47966 12.9594 5.78318 12.8617C5.56616 12.834 5.36567 12.7313 5.21648 12.5713C5.07457 12.4137 4.9973 12.2083 5.0001 11.9962C4.99669 11.7824 5.07743 11.5758 5.22491 11.4211C5.37097 11.257 5.5731 11.1534 5.79161 11.1307C6.61902 11.0358 7.3156 10.9243 7.88136 10.7963C8.44775 10.6689 8.91422 10.494 9.28078 10.2717C9.64437 10.0463 9.94959 9.73822 10.1716 9.37251C10.4051 8.99471 10.594 8.5145 10.7383 7.93188C10.8825 7.34364 11.0187 6.62176 11.1467 5.76625C11.1716 5.55514 11.2721 5.36017 11.4295 5.21735C11.5837 5.0757 11.786 4.998 11.9953 5.00004C12.2126 5.00004 12.3987 5.07248 12.5536 5.21735C12.7159 5.35856 12.8223 5.55331 12.8533 5.76625C13.0032 6.62114 13.1531 7.3402 13.3029 7.92345C13.4578 8.50108 13.6495 8.97286 13.8781 9.33879C14.1054 9.70597 14.3995 10.0004 14.7604 10.2221C15.122 10.4444 15.58 10.6221 16.1345 10.7551C16.6953 10.8881 17.3866 11.013 18.2084 11.1297C18.4413 11.1691 18.6302 11.269 18.7751 11.4295C18.9249 11.5906 18.9999 11.7795 18.9999 11.9962C19.0037 12.2157 18.9226 12.4282 18.7736 12.5895C18.6246 12.7507 18.4191 12.8482 18.1999 12.8617C17.3788 12.9566 16.6847 13.0706 16.1177 13.2036C15.5519 13.331 15.0829 13.5058 14.7108 13.7281C14.3449 13.9506 14.039 14.2594 13.82 14.6273C13.5914 15.0051 13.4053 15.4854 13.2617 16.068C13.1168 16.6575 12.9807 17.3793 12.8533 18.2336C12.8255 18.446 12.7221 18.6412 12.562 18.7834C12.4085 18.9267 12.2061 19.0043 11.9962 18.9998Z"})})},72251:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(52676),i=n(29634),o=n(30743),a=n(93726),s=n(13297),l=n(87156),u=n(88932),c=n(17224),d=n(65819),f=n(7717),h=n(97571),p=n(67241),m=n(57546),g=n(75271),_=n(16023),v=n(91161),y=n(66510),b=n(97247);let w=(0,n(50451).Z)("command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);var E=n(29871),C=n(46571);let x=()=>{let e=(0,b.V5)(),t=e=>{let{children:t,className:n=""}=e;return(0,r.jsx)("div",{className:(0,C.cn)("text-felo-text-3 dark:text-felo-text-3-dark","border border-felo-border-1 dark:border-felo-border-1-dark","inline-flex items-center justify-center font-mono px-1.5 rounded-md","text-sm font-semibold transition-colors duration-200",n),children:t})};return(0,r.jsxs)("div",{className:"ml-auto flex gap-x-1 items-center",children:[e?(0,r.jsx)(t,{className:"px-1 py-[3px] text-base",children:(0,r.jsx)(w,{size:14})}):(0,r.jsx)(t,{children:"Ctrl"}),(0,r.jsx)(t,{children:e?"K":"I"})]})},T=e=>{let{children:t,icon:n,onClick:i,className:o,...a}=e,s=(0,f.useLocale)(),{isMobile:l}=(0,E.Z)();return(0,r.jsxs)("button",{className:(0,C.cn)("flex items-center gap-3 p-2 rounded-xl cursor-pointer","text-sm","w-full group whitespace-nowrap","text-felo-text-1 dark:text-felo-text-1-dark","bg-felo-bg-1 dark:bg-felo-bg-1-dark","border border-felo-border-1 dark:border-felo-border-1-dark","hover:border-felo-gray-800 hover:dark:border-felo-gray-dark-600",o),onClick:e=>{e.currentTarget.blur(),null==i||i(e)},...a,children:[n,t,!l&&"ru"!==s&&x()]})};var S=n(44342),k=n(3295),A=n(84706);let L=e=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M1.66699 12.2221V7.69826C1.66699 4.78342 4.04123 2.42048 6.97001 2.42048H11.5154C11.9338 2.42048 12.273 2.75805 12.273 3.17445C12.273 3.59086 11.9338 3.92842 11.5154 3.92842H6.97001C4.87803 3.92842 3.18214 5.61623 3.18214 7.69826V12.2221C3.18214 14.3041 4.87803 15.9919 6.97001 15.9919H11.5154C13.6074 15.9919 15.3033 14.3041 15.3033 12.2221V9.20619C15.3033 8.78979 15.6425 8.45222 16.0609 8.45222C16.4793 8.45222 16.8185 8.78979 16.8185 9.20619V12.2221C16.8185 15.1369 14.4442 17.4998 11.5154 17.4998H6.97001C4.04123 17.4998 1.66699 15.1369 1.66699 12.2221ZM14.9201 2.20401C15.7213 1.46707 16.9658 1.49068 17.7381 2.25776C18.5108 3.0255 18.5346 4.2633 17.7921 5.06011L12.5068 10.7303C12.2711 10.9832 12.0462 11.2367 11.781 11.3923C11.5437 11.5315 11.2829 11.6143 11.0176 11.6433C11.0317 12.369 10.761 13.0991 10.2038 13.6527C9.61391 14.2386 8.81205 14.4063 8.13744 14.4597C7.48
1182 14.5115 6.70653 14.4619 6.21243 14.4619C5.94842 14.4619 5.70342 14.3253 5.56583 14.1011C5.42831 13.8769 5.41801 13.5977 5.53846 13.3641C5.72454 13.0034 5.70498 12.5699 5.67755 11.8856C5.65535 11.3318 5.60403 10.4031 6.27014 9.74148C6.82734 9.18801 7.56204 8.91873 8.29206 8.93303C8.32154 8.66959 8.40579 8.41098 8.54582 8.17538C8.70257 7.91174 8.95789 7.68789 9.2124 7.45381L14.9201 2.20401ZM9.13324 10.8091C8.63835 10.3175 7.83554 10.3175 7.34066 10.8091C7.21619 10.9328 7.16474 11.1462 7.19195 11.8252C7.20411 12.1284 7.23063 12.5358 7.18603 12.9731C7.46644 12.9786 7.73882 12.9789 8.01759 12.9569C8.58398 12.9121 8.93243 12.7851 9.13324 12.5858C9.62728 12.095 9.62723 11.2999 9.13324 10.8091ZM10.2407 8.5612C10.0879 8.70178 9.99369 8.7887 9.92558 8.85792C9.86307 8.92148 9.85001 8.94346 9.85012 8.94333C9.77943 9.06234 9.77666 9.20908 9.84272 9.33063C9.84165 9.32866 9.85213 9.34977 9.91448 9.41825C9.97988 9.49006 10.0703 9.58098 10.2178 9.72749C10.3653 9.87399 10.457 9.96367 10.5293 10.0286C10.5903 10.0835 10.6139 10.0981 10.6173 10.1001C10.7408 10.1663 10.8908 10.1636 11.0116 10.0927C11.0148 10.0907 11.0379 10.0754 11.0967 10.0183C11.1662 9.95091 11.2533 9.85716 11.3941 9.70614L10.2407 8.56046V8.5612ZM16.6675 3.32539C16.4708 3.12997 16.1527 3.12355 15.9484 3.3114L11.3542 7.53627L12.4254 8.60022L16.6809 4.03518C16.869 3.83332 16.8633 3.5201 16.6675 3.32539Z",fill:"currentColor"})}),I=e=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50014 10.8334C8.42056 10.8335 9.16681 11.5797 9.16681 12.5001V15.8334C9.16674 16.7538 8.42052 17.5 7.50014 17.5001H4.16681C3.24638 17.5001 2.50021 16.7538 2.50014 15.8334V12.5001C2.50014 11.5796 3.24634 10.8334 4.16681 10.8334H7.50014ZM5.00014 12.5001C4.53991 12.5001 4.16681 12.8732 4.16681 13.3334V15.0001C4.16688 15.4603 4.53995 15.8334 5.00014 15.8334H6.66681C7.12695 15.8334 7.50008 15.4602 7.50014 15.0001V13.3334C7.50014 12.8732 7.12699 12.5002 6.66681 12.5001H5.00014Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.1668 10.8334C14.627 10.8335 15.0001 11.2066 15.0001 11.6668V13.3334H16.6668C17.127 13.3335 17.5001 13.7066 17.5001 14.1668C17.5001 14.6269 17.1269 15 16.6668 15.0001H15.0001V16.6668C15.0001 17.1269 14.6269 17.5 14.1668 17.5001C13.7066 17.5001 13.3335 17.1269 13.3335 16.6668V15.0001H11.6668C11.2066 15.0001 10.8335 14.6269 10.8335 14.1668C10.8335 13.7065 11.2066 13.3334 11.6668 13.3334H13.3335V11.6668C13.3335 11.2065 13.7066 10.8334 14.1668 10.8334Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.65509 2.29746C5.30592 1.64698 6.36108 1.6469 7.01186 2.29746L9.36863 4.65504C10.0195 5.30592 10.0195 6.36094 9.36863 7.01182L7.01186 9.36859C6.36099 10.0195 5.30597 10.0195 4.65509 9.36859L2.29751 7.01182C1.64691 6.361 1.64693 5.30587 2.29751 4.65504L4.65509 2.29746ZM6.42267 4.06585C6.09723 3.74041 5.56972 3.74041 5.24428 4.06585L4.0659 5.24424C3.74046 5.56967 3.74046 6.09719 4.0659 6.42262L5.24428 7.60101C5.56972 7.92643 6.09724 7.92644 6.42267 7.60101L7.60106 6.42262C7.92649 6.09719 7.92648 5.56967 7.60106 5.24424L6.42267 4.06585Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1668 2.5001C16.0077 2.50016 17.5001 3.99252 17.5001 5.83343C17.5001 7.67428 16.0077 9.16669 14.1668 9.16676C12.3259 9.16676 10.8335 7.67432 10.8335 5.83343C10.8335 3.99248 12.3259 2.5001 14.1668 2.5001ZM14.1668 4.16676C13.2463 4.16676 12.5001 4.91296 12.5001 5.83343C12.5002 6.75385 13.2464 7.5001 14.1668 7.5001C15.0872 7.50003 15.8334 6.7538 15.8335 5.83343C15.8335 4.913 15.0872 4.16683 14.1668 4.16676Z",fill:"currentColor"})]});var O=n(25010),P=n(29596),j=n(53805);let R=g.createContext(null);function M(){return g.useContext(R)}function N(e){let{children:t,className:n,defaultOpen:i=!1,onOpenChange:o}=e,[a,s]=g.useState(i),l=g.useMemo(()=>({isOpen:a,setIsOpen:e=>{s(e),null==o||o("function"==typeof e?e(a):e)}}),[a]);return(0,r.jsx)(R.Provider,{value:l,children:(0,r.jsx)("div",{className:(0,C.cn)("flex flex-col gap-2 select-none",n
1),"data-state":a?"open":"closed",children:t})})}function D(e){let{icon:t,children:n,className:i,onClick:o,...a}=e,s=M(),l=!!s,u=e=>{if(o){o(e);return}s&&s.setIsOpen(e=>!e)};return(0,r.jsxs)("div",{role:"button",tabIndex:0,onClick:u,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),u(e))},className:(0,C.cn)("flex items-center gap-3 p-2 rounded-xl cursor-pointer group","text-sm font-semibold","text-felo-text-1 dark:text-felo-text-1-dark","hover:bg-felo-bg-3 dark:hover:bg-felo-bg-3-dark",l&&"justify-between",i),...a,children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[t,n]}),l&&(0,r.jsx)(O.z,{className:(0,C.cn)("group-hover:flex hidden size-4 rounded p-0.5","bg-felo-bg-4 dark:bg-felo-bg-4-dark","hover:bg-felo-bg-3 dark:hover:bg-felo-bg-3-dark","text-felo-text-1 dark:text-felo-text-1-dark"),variant:"reset",onClick:e=>{e.stopPropagation(),s&&s.setIsOpen(e=>!e)},children:(null==s?void 0:s.isOpen)?(0,r.jsx)(P.Z,{className:"w-4 h-4"}):(0,r.jsx)(j.Z,{className:"w-4 h-4"})})]})}function H(e){let{children:t,className:n,...i}=e,o=M(),a=(null==o?void 0:o.isOpen)??!1;return(0,r.jsx)("div",{className:(0,C.cn)(!a&&"hidden",n),"data-state":a?"open":"closed",...i,children:t})}function F(e){let{icon:t,children:n,className:i,onClick:o,...a}=e,s=e=>{o&&o(e)};return(0,r.jsx)("div",{role:"button",tabIndex:0,onClick:s,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),s(e))},className:(0,C.cn)("flex items-center gap-3 p-2 pl-8 rounded-xl cursor-pointer","text-sm font-medium","text-felo-text-2 dark:text-felo-text-2-dark","hover:bg-felo-bg-4 dark:hover:bg-felo-bg-4-dark",i),...a,children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[t,n]})})}var U=n(72135),V=n.n(U),G=n(11509);let B=V()(()=>Promise.all([n.e(10881),n.e(24256),n.e(88028),n.e(19388),n.e(36980),n.e(40548),n.e(14454),n.e(89761),n.e(37108),n.e(93616),n.e(18960),n.e(11864),n.e(66428),n.e(40141),n.e(39231),n.e(71404),n.e(90447),n.e(43599),n.e(29937),n.e(57225),n.e(36314),n.e(22843),n.e(62157)]).then(n.bind(n,62157)),{loadableGenerated:{webpack:()=>[62157]},ssr:!1});var z=e=>{let{isHover:t=!1,isFolded:n,setIsFolded:b}=e,w=(0,f.useLocale)(),x=(0,f.useTranslations)(),{mounted:O}=(0,h.Z)(),P=(0,c.useRouter)(),{isApp:j}=(0,S.b)(),R=g.useRef(null),M=(0,m.Z)(e=>e.sidebarVisible),{isMobile:U}=(0,E.Z)(),V=(0,d.ZP)(e=>e.isLogin),z="/search"===P.pathname,$=()=>{b(!0),i.Z.set(v.y,"true",{expires:365})},Z=()=>{(0,y.f8)(()=>{b(!1),i.Z.set(v.y,"false",{expires:365})})};(0,g.useEffect)(()=>{let e=e=>{e?Z():$()};return A.$.subscribe("setSidebarFolded",e),()=>{A.$.unsubscribe("setSidebarFolded",e)}},[]),(0,g.useEffect)(()=>{M&&b(!1)},[M]),(0,g.useEffect)(()=>{m.Z.getState().setSidebarVisible(!1)},[P.pathname]);let W=()=>{A.$.publish("onGoHome",{}),P.push("/search")},Y=(0,k.Z)(e=>e.foldHistory),X=(0,C.cn)("p-5","transition-transform","fixed md:transform-none z-40",M||t?"transform-none":(0,y.dZ)(w)?"translate-x-full":"-translate-x-full","fixed md:sticky top-0 flex flex-col shrink-0 transition-[transform,width] duration-300 ease-in w-16","",!n&&"w-[280px]",t?"border-1 border-[#E6E9EF] dark:border-[#353B46] rounded-3xl h-[calc(100dvh-80px)] md:h-[calc(100vh-80px)]":"h-[100dvh] md:h-screen");if(j)return null;if(!O)return(0,r.jsx)("aside",{className:(0,C.cn)(X,"bg-felo-gray-100 dark:bg-felo-gray-dark-950 w-[280px]"),ref:R});let J=t&&!z||!t;return(0,r.jsxs)("aside",{className:(0,C.cn)(X,"bg-felo-gray-100 dark:bg-felo-gray-dark-950"),ref:R,children:[J&&(0,r.jsxs)("section",{className:"flex flex-nowrap items-center justify-between",children:[(0,r.jsxs)("section",{className:"flex items-center cursor-pointer min-w-0",onClick:W,children:[(0,r.jsx)("section",{className:"flex-none",children:(0,r.jsx)(a.T,{size:32})}),(0,r.jsx)("div",{className:"mx-3 min-w-0 whitespace-nowrap duration-500",children:(0,r.jsx)("p",{className:"font-bold text-[23px] leading-8",children:_.rZ})})]}),!t&&(0,r.jsx)(o.pn,{delayDuration:0,children:(0,r.jsxs)(o.u,{children:[(0,r.jsx)(o.aJ,{asChild:!0,children:(0,r.jsx)("section",{onClick:$,className:"hidden md:block cursor-pointer duration-500 animate-[fadeIn_500ms_ease-in-out] hover:border-[#0080FF] hover:text-[#0080FF] dark:border-[#343B4D] hover:dark:border-[#0080FF] active:dark:bg-[#2E3643] active:dark:border-[#2F95FB]",children:(0,r.jsx)(s.Z,{className:"w-5 h-5"})})}),(0,r.jsx)(o._v,{side:"left",children:(0,r.jsx)("p",{children:x("sidebar.collapse")})})]})})]}),(0,r.jsxs)("section",{className:(0,C.cn)("flex flex-col space-y-3 min-h-0",J&&"mt-6"),children:[(0,r.jsx)(T,{icon:(0,r.jsx)(p.iw,{className:"w-5 h-5"}),onClick:W,children:x("sidebar.new_thread")}),(0,r.jsx)(D,{icon:(0,r.jsx)(L,{className:"w-5 h-5"}),onClick:()=>{P.push("/livedoc")},children:"LiveDoc"}),(0,r.jsxs)(N,{children:[(0,r.jsx)(D,{icon:(0,r.jsx)(I,{className:"w-5 h-5"}),children:x("sidebar.extension.more")}),(0,r.jsxs)(H,{className:"space-y-2",children:[(0,r.jsx)(F,{icon:(0,r.jsx)(l.Z,{className:"w-5 h-5"}),onClick:()=>{P.push("/agents")},children:x("common.extension.search_agent")}),(0,r.jsx)(F,{icon:(0,r.jsx)(p.tJ,{className:"w-5 h-5"}),onClick:()=>{V?P.push("/topic"):m.Z.getState().setLoginModalVisible(!0)},children:x("topics")}),!U&&(0,r.jsx)(F,{icon:(0,r.jsx)(u.Z,{className:"w-5 h-5"}),onClick:()=>{P.push("/library")},children:x("sidebar.drive.drive")}
1),!U&&(0,r.jsx)(F,{icon:(0,r.jsx)(G.FW,{className:"w-5 h-5"}),onClick:()=>{P.push("/voice")},children:x("voice.voice_note_title")})]})]}),(0,r.jsxs)(N,{className:"min-h-0",defaultOpen:!Y,onOpenChange:e=>{k.Z.getState().setFoldHistory(!e)},children:[(0,r.jsx)(D,{onClick:()=>{V?P.push("/history"):m.Z.getState().setLoginModalVisible(!0)},icon:(0,r.jsx)(p.yO,{className:"w-5 h-5"}),children:x("sidebar.history")}),(0,r.jsx)(H,{className:(0,C.cn)("border-l border-felo-border-1 dark:border-felo-border-1-dark","ml-4 pl-4","overflow-y-auto custom-menu-scrollbar custom-scrollbar overflow-x-hidden space-y-2"),children:(0,r.jsx)(B,{})})]})]}),(0,r.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-20 z-20 pointer-events-none bg-gradient-to-t from-felo-gray-100 to-transparent dark:from-felo-gray-dark-950"}),M&&(0,r.jsx)("div",{className:"fixed top-0 bottom-0 left-0 right-0 -z-10 md:hidden",onClick:()=>{let{sidebarVisible:e,setSidebarVisible:t}=m.Z.getState();t(!e)}})]})}},84989:function(e,t,n){"use strict";n.d(t,{l:function(){return d}});var r=n(52676),i=n(72135),o=n.n(i),a=n(75271),s=n(89053),l=n(37481);function u(e){let{pastDelay:t,error:n,className:i}=e;return n||!t?null:(0,r.jsx)("div",{className:(0,l.cn)("fixed inset-0 z-50 flex items-center justify-center bg-black/60","animate-in fade-in-0 duration-150",i),role:"status","aria-live":"polite","aria-busy":"true",children:(0,r.jsx)(s.$,{size:"lg",color:"white"})})}let c=()=>null;function d(e){let t=!1===e.loading?c:e.loading??u,n=o()(e.load,{ssr:!1,loading:t}),i=t=>{let i=e.useOpen(),[o,s]=(0,a.useState)(i);return(i&&!o&&s(!0),o)?(0,r.jsx)(n,{...t}):null};return i.displayName=e.displayName??"LazyModal",i}},93726:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(52676);n(75271);let i=e=>{let{size:t=48,text:n}=e;return(0,r.jsxs)("div",{className:"flex gap-4 items-center justify-center relative",children:[(0,r.jsx)("img",{src:"/icon.svg",width:t,height:t,alt:"Felo",style:{width:t,height:t}}),n&&(0,r.jsx)("div",{className:"text-center font-semibold text-zinc-950 dark:text-zinc-200 relative text-nowrap text-2xl md:text-3xl",children:n})]})}},94572:function(e,t,n){"use strict";let r;n.d(t,{BN:function(){return N},F_:function(){return A},LB:function(){return s},NV:function(){return H},OA:function(){return V},OW:function(){return b},Oz:function(){return U},Q0:function(){return S},Qr:function(){return O},TT:function(){return k},Wx:function(){return T},XQ:function(){return x},Zd:function(){return I},bs:function(){return w},cS:function(){return C},gw:function(){return y},nV:function(){return a},nw:function(){return P},om:function(){return E},qR:function(){return F},tG:function(){return L},uN:function(){return R}});var i,o,a,s,l=n(24465),u=n.n(l),c=n(46207),d=n.n(c);n(69194);var f=n(45360),h=n(77998),p=n(18881),m=n(35063),g=n(36551);let _=0;(i=a||(a={})).OUTLINE="OUTLINE",i.PROGRESS="PROGRESS",i.COVER_URL="COVER_URL",i.PPT="PPT",i.SUCCESS="SUCCESS",i.TIMEOUT="TIMEOUT",(o=s||(s={})).THREAD="THREAD",o.NOTE="NOTE",o.MESSAGE="MESSAGE";let v="PPT_CACHE";function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return new Promise(t=>setTimeout(t,e))}function b(e){let{threadId:t}=e;try{return(JSON.parse(localStorage.getItem(v)||"{}")||{})[t]||{}}catch(e){return null}}function w(e){let{threadId:t,expiryTime:n,pptUrl:r,pdfUrl:i,templateId:o,pptId:a,isReport:s,canvaEditUrl:l,canvaThumbnailUrl:c,progress:f,isProgress:h,coverUrl:p,status:m}=e;try{let e=JSON.parse(localStorage.getItem(v)||"{}")||{},g=u()({expiryTime:n,pptUrl:r,templateId:o,pptId:a,pdfUrl:i,isReport:s,canvaEditUrl:l,canvaThumbnailUrl:c,progress:f,isProgress:h,threadId:t,coverUrl:p,status:m},d()),_=(null==e?void 0:e[t])||{},y={...e,[t]:{..._,...g}};localStorage.setItem(v,JSON.stringify(y))}catch(e){return null}}function E(e){let{threadId:t}=e;try{let e=JSON.parse(localStorage.getItem(v)||"{}")||{};delete e[t],localStorage.setItem(v,JSON.stringify(e))}catch(e){}}function C(){try{var e;null===(e=localStorage)||void 0===e||e.removeItem(v)}catch(e){}}function x(e){let{expiryTime:t}=e;return!t||Date.now()>=t}let T=[0,1,3,4];function S(){try{return JSON.parse(localStorage.getItem(v)||"{}")||{}}catch(e){return null}}let k=async e=>{let{threadId:t,time:n}=e;return new Promise(e=>{r=setInterval(async()=>{var n,i,o;++_>=20&&(clearInterval(r),h.Z.getState().setPptDetail({status:"TIMEOUT"}),w({threadId:t,status:"TIMEOUT"}),h.Z.getState().setPptGenerateStatusSingle({threadId:t,status:"TIMEOUT"}),e(null));let a=await (0,f.AG)({threadId:t}),s=null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.new_api_ppt,l=null==a?void 0:null===(i=a.data)||void 0===i?void 0:i.old_api_ppt,u=null==l?void 0:l.status;if(l||s){if(s||"SUCCESS"!==u){if(_>=20)clearInterval(r),h.Z.getState().setPptDetail({status:"TIMEOUT"}),w({threadId:t,status:"TIMEOUT"}),h.Z.getState().setPptGenerateStatusSingle({threadId:t,status:"TIMEOUT"}),e(null);
1else{let e=h.Z.getState().generatePptProgress,n=e;switch((null==s?void 0:s.status)&&(h.Z.getState().setPptDetail({cover_url:null==s?void 0:s.cover_url,ppt_url:null==s?void 0:s.ppt_url,pdf_url:null==s?void 0:s.pdf_url,status:null==s?void 0:s.status}),w({threadId:t,status:null==s?void 0:s.status}),h.Z.getState().setPptGenerateStatusSingle({threadId:t,status:null==s?void 0:s.status})),null==s?void 0:s.status){case"PROGRESS":n=80;break;case"COVER_URL":n=85,(null===(o=h.Z.getState().pptDetail)||void 0===o?void 0:o.hasNewCoverUrl)||p.Z.getState().setCoverUrl(null==s?void 0:s.cover_url),h.Z.getState().setPptDetail({hasNewCoverUrl:!0,status:null==s?void 0:s.status});break;case"PPT":n=96;break;case"SUCCESS":n=100}n>e&&(w({threadId:t,progress:n}),h.Z.getState().setGeneratePptProgress(n),h.Z.getState().setPptGenerateStatusSingle({threadId:t,progress:n}))}}else clearInterval(r),h.Z.getState().setGeneratePptProgress(100),w({threadId:t,progress:100,status:"SUCCESS"}),h.Z.getState().setPptGenerateStatusSingle({threadId:t,progress:100,status:"SUCCESS"}),h.Z.getState().setPptDetail({status:"SUCCESS"}),p.Z.getState().setCoverUrl(null==l?void 0:l.cover_url),m.Z.getState().setMergedSourcesPptCover(null==l?void 0:l.cover_ur),e(l)}else clearInterval(r),e(null)},n||6e3)})},A=async e=>{!1!==e&&await y(600);let t=document.querySelector("html");t&&(t.style.removeProperty("overflow"),t.style.removeProperty("padding-right"),t.style.removeProperty("overscroll-behavior"))},L=()=>{let e=document.querySelector("html");e&&(e.style.overflow="hidden",e.style.paddingRight="0")},I=e=>{h.Z.getState().setIsHideModal(e)};function O(e){return 0===Object.keys(e).length}let P=e=>{switch(e){case"SUCCESS":return"preview";case"OUTLINE":case"PROGRESS":case"COVER_URL":case"PPT":return"progress";default:return"generate"}},j={en:2,ja:9,ko:10,"zh-hans":1,"zh-hant":1,ru:2,he:2,ar:2},R=e=>{if(!e)return 2;let t=e.toLocaleLowerCase();return(null==j?void 0:j[t])||2},M={en:6,ja:41,ko:40,"zh-hant":42},N=e=>{let{lang:t,locale:n}=e,r=t&&"auto"!==t?t:n;if(!r)return 6;let i=r.toLocaleLowerCase(),o=null==n?void 0:n.toLocaleLowerCase();return(null==M?void 0:M[i])||(null==M?void 0:M[o])||6},D={en:"en",ja:"ja",ko:"ko","zh-hant":"zh_hant"},H=e=>{let{lang:t,locale:n}=e,r=t&&"auto"!==t?t:n;if(!r)return"en";let i=r.toLocaleLowerCase(),o=null==n?void 0:n.toLocaleLowerCase();return(null==D?void 0:D[i])||(null==D?void 0:D[o])||"en"},F=()=>{try{var e,t,n;return null===(n=location)||void 0===n?void 0:null===(t=n.pathname)||void 0===t?void 0:null===(e=t.match(/\/search\/([^\/\?]+)/))||void 0===e?void 0:e[1]}catch(e){return""}},U={generate:"note.generating_ppt",preview:"note.preview_ppt",edit:"note.generating_ppt_edit",regenerate:"note.generating_ppt_regenerate",connectCanva:"note.edit_canva",download:"note.download_ppt"},V=[g.rN,g.V9]},41223:function(e,t,n){"use strict";n.d(t,{AO:function(){return u},Do:function(){return O},Dt:function(){return p},EY:function(){return P},G6:function(){return h},N6:function(){return w},S2:function(){return L},VN:function(){return M},W7:function(){return R},cX:function(){return k},d0:function(){return H},f3:function(){return C},iL:function(){return j},m7:function(){return I},s2:function(){return f},uv:function(){return g},xD:function(){return N},xI:function(){return d},xe:function(){return x},xz:function(){return E}});var r=n(49963),i=n(16427),o=n(93191),a=n.n(o),s=n(27976),l=n(67284);let u="NOTION_TEMPLATE_ID",c="NOTION_CALLBACK_REDIRECT_URL",d=16e3,f=()=>{let e=new(a())().getDevice();return"mobile"===e.type||"tablet"===e.type},h=()=>{var e;return null===(e=new(a())().getBrowser().name)||void 0===e?void 0:e.toLowerCase().includes("safari")},p=()=>{var e;return(null===(e=new(a())().getOS().name)||void 0===e?void 0:e.toLowerCase())==="android"},m=()=>{var e;let t=new(a())().getBrowser();return{isChrome:(null===(e=t.name)||void 0===e?void 0:e.toLowerCase())==="chrome",version:t.version||null}},g=e=>{let{isChrome:t,version:n}=m();return!!t&&!!n&&parseInt(n.split(".")[0],10)>=e},_=["bmp","gif","heic","jpeg","jpg","png","svg","tif","tiff"],v=e=>{try{var t;let n=null===(t=e.split(".").pop())||void 0===t?void 0:t.toLowerCase().split("?")[0];return!!n&&_.includes(n)}catch{return!1}};function y(e){return/^(https:\/\/youtu\.be|https:\/\/(www\.)?youtube\.com|https:\/\/youtube\.com)/.test(e)}let b=async()=>await (0,i.f7)(),w=async()=>new Promise(async(e,t)=>{try{let n=await b();if(!n){t(null);return}if(f()){await D(),window.location.href=n;return}let r=Math.max(0,(window.innerWidth-600)/2),i=Math.max(0,(window.innerHeight-700)/2),o=["popup","width=600","height=700",`left=${r}`,`top=${i}`],a=window.open(n,"",o.join(","));window.addEventListener("message",n=>{"authorization_success"===n.data?(e(!0),null==a||a.close()):"authorization_error"===n.data&&(t(null),null==a||a.close())})}catch(e){t(e)}}),E=e=>{let{title:t,content:n,blocks:i,type:o}=e,a=F([...(0,r.markdownToBlocks)(n||"",{notionLimits:{truncate:!1},strictImageUrls:!1})]);return"title"===o?[{object:"block",type:"heading_1",heading_1:{rich_text:[{type:"text",text:{content:t},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}]}},...a]:[{object:"block",type:"heading_1",heading_1:{rich_text:[{type:"text",text:{content:t},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}],is_toggleable:!0,children:(i||a).map(e=>{let{archived:t,has_children:n,in_trash:r,...i}=e;return i})}}]},C=e=>{let{sources:t}=e;return E({title:"Sources",blocks:t.slice(0,100).filter(e=>e.title&&(e.url||e.link)).map(e=>{let t=(e.title||e.snippet).slice(0,1900),n=(0,l.v)(e.url||e.link||"");return{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"bulleted_list_item",bulleted_list_item:{rich_text:[{type:"text",text:{content:t,link:{url:n}},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"},plain_text:t,href:n}],color:"default"}}})})},x=e=>{let{relates:t}=e;return t&&(null==t?void 0:t.length)?E({title:"Related",blocks:t.slice(0,100).map(e=>{let t=e.question,n=`https://felo.ai/search?q=${encodeURIComponent(t)}&utm_source=notion&utm_medium=notion`;return{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"bulleted_list_item",bulleted_list_item:{rich_text:[{type:"text",text:{content:"\uD83D\uDD0D\xa0",link:null},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"},plain_text:"\uD83D\uDD0D\xa0",href:null},{type:"text",text:{content:t,link:{url:n}},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"},plain_text:t,href:n}],color:"default"}}})}):[]},T=e=>{let{title:t,url:n,link:r}=e;return n?E({title:t,blocks:[{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"image",image:{caption:r?[{type:"text",text:{content:"PowerPoint"===t?"View Document":"View Mind Map",link:{url:r}},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}]:[],type:"external",external:{url:n}}}]}):[]},S=e=>{let{title:t,imgUrl:n,link:r}=e;return{object:"block",type:"column",column:{children:[{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"heading_1",heading_1:{rich_text:[{type:"text",text:{content:t,link:null},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"},plain_text:t,href:null}
1],is_toggleable:!1,color:"default"}},{object:"block",type:"image",image:{caption:r?[{type:"text",text:{content:"PowerPoint"===t?"View Document":"View Mind Map",link:{url:r}},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}]:[],type:"external",external:{url:n}}}]}}},k=e=>{let{mindMapCoverUrl:t,pptConverUrl:n,link:r,mindMapLink:i}=e;return t&&n?[{object:"block",type:"column_list",column_list:{children:[S({title:"Mind Map",imgUrl:t,link:i}),S({title:"PowerPoint",imgUrl:n,link:r})]}}]:t?T({title:"Mind Map",url:t,link:i}):n?T({title:"PowerPoint",url:n,link:r}):[]},A=e=>e&&e.endsWith("?")?e.slice(0,-1):e,L=e=>{var t,n;let{images:r}=e;if(!r||!(null==r?void 0:r.length))return[];let i=r.slice(0,100);if((null==i?void 0:i.length)===1)return[{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"image",image:{caption:[],type:"external",external:{url:null==i?void 0:null===(n=i[0])||void 0===n?void 0:n.link}}}];let o=null==i?void 0:null===(t=i.filter(e=>v(e.link)))||void 0===t?void 0:t.map(e=>{let t=A(null==e?void 0:e.link);return{...e,link:t}}),a=[{object:"block",type:"heading_1",heading_1:{rich_text:[{type:"text",text:{content:"Related Image"},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}]}}];for(let e=0;e<o.length;e+=5){let t=o.slice(e,e+5);e+5>=o.length&&1===t.length&&(t=[...t,o[0]]);let n=t.map(e=>({object:"block",type:"column",column:{children:[{object:"block",type:"image",image:{caption:[],type:"external",external:{url:e.link}}}]}}));a.push({object:"block",type:"column_list",column_list:{children:n}})}return a},I=e=>{let{videos:t}=e;if(!t||!(null==t?void 0:t.length))return[];let n=t.slice(0,100).filter(e=>y(e.url)),r=[{object:"block",type:"heading_1",heading_1:{rich_text:[{type:"text",text:{content:"Related Video"},annotations:{bold:!1,italic:!1,strikethrough:!1,underline:!1,code:!1,color:"default"}}]}}];for(let e=0;e<n.length;e+=3){let t=n.slice(e,e+3);if(1===t.length){let e=null==t?void 0:t[0];r.push({object:"block",type:"video",video:{caption:[],type:"external",external:{url:e.url}}});break}let i=t.map(e=>y(e.url)?{object:"block",type:"column",column:{children:[{object:"block",type:"video",video:{caption:[],type:"external",external:{url:e.url}}}]}}:{object:"block",type:"column",column:{children:[{object:"block",type:"embed",embed:{caption:[],url:e.url}}]}});r.push({object:"block",type:"column_list",column_list:{children:i}})}return r},O=async e=>{let{templateId:t,setNotionDirectories:n}=e,r=await (0,i.ey)({});if(!r.length)return{isExist:!1,notionDirectories:[]};let o=r.filter(e=>{var t,n,r;return"database"===e.object&&(null==e?void 0:null===(r=e.title)||void 0===r?void 0:null===(n=r.find(e=>(null==e?void 0:e.type)==="text"))||void 0===n?void 0:null===(t=n.text)||void 0===t?void 0:t.content)==="Felo.ai"}).map(e=>{var t,n;let r=null==e?void 0:null===(t=e.title)||void 0===t?void 0:t.filter(e=>(null==e?void 0:e.type)==="text").map(e=>null==e?void 0:e.plain_text).join(" "),i=null==e?void 0:null===(n=e.description)||void 0===n?void 0:n.filter(e=>(null==e?void 0:e.type)==="text").map(e=>null==e?void 0:e.plain_text).join(" ");return{id:e.id,title:r,description:i}});return n(o),{isExist:null==r?void 0:r.some(e=>(null==e?void 0:e.id)===t),notionDirectories:o}},P=()=>{let e=localStorage.getItem(u);return new Promise(t=>{t(e||"")})},j=()=>{localStorage.removeItem(u)},R=e=>{let{scholarReferences:t}=e;return t&&(null==t?void 0:t.length)?E({title:"References",blocks:t.slice(0,100).map(e=>{let t=`[${e.number}] ${e.title} ${null==e?void 0:e.formattedDate}.`.slice(0,1900);return{object:"block",has_children:!1,archived:!1,in_trash:!1,type:"bulleted_list_item",bulleted_list_item:{rich_text:[{type:"text",text:{content:t,link:{url:(0,l.v)(e.link)}},plain_text:t,href:(0,l.v)(e.link)}],color:"default"}}})}):[]},M=e=>{let{threadId:t}=e;return`${s.QT}/ui/ppt/getPicture/${t}.jpeg`},N=e=>{let{name:t}=e;return`${s.XJ}/resources/${t}`},D=async()=>(localStorage.setItem(c,location.href),new Promise(e=>{e("ok")})),H=async()=>{let e=localStorage.getItem(c);return new Promise(t=>{t(e||"")})},F=e=>e.map(e=>{var t;if(!(null==e?void 0:e.numbered_list_item)&&!(null==e?void 0:e.bulleted_list_item))return e;let n=(null==e?void 0:e.numbered_list_item)?"numbered_list_item":"bulleted_list_item",r=e[n];if(!(null==r?void 0:r.children)||(null==r?void 0:null===(t=r.children)||void 0===t?void 0:t.length)===0)return e;let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.map(e=>{var n,r,o,a,s,l;let u=e.bulleted_list_item?"bulleted_list_item":"numbered_list_item",c=e[u];if(!(null==c?void 0:null===(n=c.children)||void 0===n?void 0:n.length))return e;if(2===t&&(null==c?void 0:null===(r=c.children)||void 0===r?void 0:r.length)){let t=null==c?void 0:null===(s=c.rich_text)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:null===(o=a.text)||void 0===o?void 0:o.content,n=null==c?void 0:null===(l=c.children)||void 0===l?void 0:l.map(e=>{var t,n,r;let i=e.bulleted_list_item?"bulleted_list_item":"numbered_list_item",o=e[i];return(null==o?void 0:null===(r=o.rich_text)||void 0===r?void 0:null===(n=r[0])||void 0===n?void 0:null===(t=n.text)||void 0===t?void 0:t.content)||""}).join(" / ");return c.rich_text[0].text.content=`${t} - ${n}`,delete c.children,e}return(null==c?void 0:c.children)&&(c.children=i(c.children,t+1)),e})};return r.children=i(r.children),e})},25010:function(e,t,n){"use strict";n.d(t,{d:function(){return l},z:function(){return u}});var r=n(52676),i=n(75271),o=n(75802),a=n(2808),s=n(37481);let l=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-[#E05E2F] dark:bg-[#E05E2F] text-destructive-foreground hover:bg-[#
1E05E2F]/90 dark:hover:bg-[#E05E2F]/90",outline:"bg-felo-bg-top dark:bg-felo-bg-top-dark border border-felo-border-3 dark:border-felo-border-3-dark text-felo-text-2 dark:text-felo-text-2-dark hover:bg-felo-bg-1-lighter dark:hover:bg-felo-bg-1-lighter-dark","outline-primary":"bg-felo-bg-top dark:bg-felo-bg-top-dark focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 focus:ring-offset-0 border border-primary text-primary hover:bg-primary hover:text-white",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",simple:"focus-visible:bg-[#F6F7F9] dark:focus-visible:bg-[#353B46] focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 focus:ring-offset-0 border rounded-lg border-[#E6E9EF] font-medium dark:border-[#353B46] dark:text-white hover:bg-transparent text-[#30394A] hover:bg-[#F6F7F9] dark:hover:bg-[#353B46]","no-border":"text-[#30394A] dark:text-white bg-white dark:bg-[#353B46] focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 focus:ring-offset-0 border-0","outline-secondary":"focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 focus:ring-offset-0 border border-felo-border-second dark:border-felo-border-second-dark/80 text-primary bg-felo-brand-50 dark:bg-felo-bg-brand-50-dark hover:bg-primary hover:border-transparent hover:text-white","secondary-default":"bg-felo-bg-2 dark:bg-felo-bg-2-dark text-felo-text-1 dark:text-felo-text-1-dark hover:bg-felo-bg-3 dark:hover:bg-felo-bg-3-dark","secondary-primary":"bg-felo-bg-2 dark:bg-felo-bg-2-dark text-felo-text-brand hover:bg-primary hover:text-white","outline-error":"border border-input bg-background hover:bg-error-50 hover:dark:bg-error-950 text-error-600 dark:text-error-400 hover:border-error-200 hover:dark:border-error-400",reset:""},size:{default:"h-8 px-2 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10","icon-sm":"p-2 [&_svg]:size-6","next-xs":"px-2 py-1.5 rounded","next-sm":"p-2 h-8","next-md":"py-2 px-3 h-9","next-lg":"px-3 py-2 h-10","next-xl":"px-6 py-3 h-12","next-2xl":"p-4 h-14"},isLoading:{true:"opacity-50 cursor-not-allowed pointer-events-none",false:""}},defaultVariants:{variant:"default",size:"default"}}),u=i.forwardRef((e,t)=>{let{className:n,variant:i,size:a,isLoading:u,asChild:c=!1,...d}=e,f=c?o.g7:"button";return(0,r.jsx)(f,{className:(0,s.cn)(l({variant:i,size:a,className:n,isLoading:u})),ref:t,...d})});u.displayName="Button"},20434:function(e,t,n){"use strict";n.d(t,{E:function(){return w}});var r=n(52676),i=n(75271),o=n(42478),a=n(64457),s="Progress",[l,u]=(0,o.b)(s),[c,d]=l(s),f=i.forwardRef((e,t)=>{var n,i;let{__scopeProgress:o,value:s=null,max:l,getValueLabel:u=m,...d}=e;(l||0===l)&&!v(l)&&console.error((n=`${l}`,`Invalid prop \`max\` of value \`${n}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let f=v(l)?l:100;null===s||y(s,f)||console.error((i=`${s}`,`Invalid prop \`value\` of value \`${i}\` supplied to \`Progress\`. The \`value\` prop must be: 2 - a positive number 3 - less than the value passed to \`max\` (or 100 if no \`max\` prop is set) 4 - \`null\` or \`undefined\` if the progress is indeterminate. 5 6Defaulting to \`null\`.`));let h=y(s,f)?s:null,p=_(h)?u(h,f):void 0;return(0,r.jsx)(c,{scope:o,value:h,max:f,children:(0,r.jsx)(a.WV.div,{"aria-valuemax":f,"aria-valuemin":0,"aria-valuenow":_(h)?h:void 0,"aria-valuetext":p,role:"progressbar","data-state":g(h,f),"data-value":h??void 0,"data-max":f,...d,ref:t})})});f.displayName=s;var h="ProgressIndicator",p=i.forwardRef((e,t)=>{let{__scopeProgress:n,...i}=e,o=d(h,n);return(0,r.jsx)(a.WV.div,{"data-state":g(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...i,ref:t})});function m(e,t){return`${Math.round(e/t*100)}%`}function g(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function _(e){return"number"==typeof e}function v(e){return _(e)&&!isNaN(e)&&e>0}function y(e,t){return _(e)&&!isNaN(e)&&e<=t&&e>=0}p.displayName=h;var b=n(37481);let w=i.forwardRef((e,t)=>
6{let{className:n,value:i,indicatorClassName:o,...a}=e;return(0,r.jsx)(f,{ref:t,className:(0,b.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary","dark:bg-slate-400",n),...a,children:(0,r.jsx)(p,{className:(0,b.cn)("bg-primary h-full w-full flex-1 transition-all",o),style:{transform:`translateX(-${100-(i||0)}%)`}})})});w.displayName=f.displayName},86378:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(52676),i=n(37481);function o(e){let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("animate-pulse rounded-md bg-muted",t),...n})}},89053:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(52676);n(75271);var i=n(37481);let o=e=>{let{size:t="md",color:n="default",className:o}=e;return(0,r.jsx)("div",{className:(0,i.cn)("animate-spin rounded-full border-2 border-solid border-current border-r-transparent",{sm:"h-4 w-4",md:"h-6 w-6",lg:"h-8 w-8"}[t],{default:"text-gray-500",white:"text-white",primary:"text-primary"}[n],o),role:"status","aria-label":"Loading",children:(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})})}},30743:function(e,t,n){"use strict";n.d(t,{Ce:function(){return c},NM:function(){return d},_v:function(){return f},aJ:function(){return u},pn:function(){return s},u:function(){return l}});var r=n(52676),i=n(75271),o=n(98764),a=n(37481);let s=o.zt,l=o.fC,u=o.xz,c=o.Eh,d=o.h_,f=i.forwardRef((e,t)=>{let{className:n,sideOffset:i=4,...s}=e;return(0,r.jsx)(o.VY,{ref:t,sideOffset:i,className:(0,a.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...s})});f.displayName=o.VY.displayName},3803:function(e,t,n){"use strict";n.d(t,{Rt:function(){return r},XF:function(){return i}});let r={brandName:"MemClaw",baseUrl:"https://memclaw.me",ogImage:"/memclaw-icon-square.png",favicon:"/favicon-claw.ico",faviconSvg:"/logo/memclaw.svg",appleTouchIcon:"/apple-touch-icon-claw.png",opensearch:null,match:i};function i(e){return/^(\/[a-zA-Z-]+)?\/claw(\/|$|\?)/.test(e)}},78017:function(e,t,n){"use strict";n.d(t,{F$:function(){return x},Ih:function(){return j},JM:function(){return u},KP:function(){return v},MN:function(){return s},Mi:function(){return L},Nz:function(){return E},PZ:function(){return _},Rg:function(){return b},S:function(){return f},TU:function(){return S},W3:function(){return i},_I:function(){return y},_q:function(){return O},aX:function(){return p},ab:function(){return h},fc:function(){return d},jP:function(){return k},kt:function(){return A},ln:function(){return l},m5:function(){return r},mm:function(){return P},mv:function(){return T},nA:function(){return C},p:function(){return c},pT:function(){return I},up:function(){return m},xE:function(){return o},yh:function(){return a},yw:function(){return g},z3:function(){return w}});let r="ppt_generation_v2",i="astra_agent",o="fable_agent",a="patent_search_agent",s="video_agent",l="video_generation",u="twitter_agent",c="ppt_edit",d="ppt_outline",f="ppt_outline_edit",h="ppt_render_v2",p="ppt_outline_image_search",m="ppt_modify_slide",g="create",_="html_agent",v="landing_page_agent",y="doc_agent",b="word_agent",w="image_agent",E="livedoc_image_generation",C="image_answer",x="page_planning",T="action_confirm",S="action_slides",k="ppt_insert_slide",A="action_images",L="action_blocks",I="modify_images",O="modify_blocks",P="action_summary_thread",j="mindmap_agent"},16023:function(e,t,n){"use strict";n.d(t,{Wk:function(){return o},es:function(){return i},rZ:function(){return r}});let r="Felo",i="https://discord.gg/5PyvkAnJZS",o="home_page_visited_search"},51545:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=[{product_id:"felo_search_pro",name:"Felo Search Pro",description:"Felo Search Pro",weight:10,prices:[{price_id:"felo_search_pro_pr",price_type:"RECURRING",bill_period:"MONTHLY",price:14.99,monthly_price:14.99,original_price:14.9,currency:"USD",discount_type:"NONE"},{price_id:"felo_search_pro_jpy",price_type:"RECURRING",bill_period:"MONTHLY",price:2099,monthly_price:2099,original_price:2099,currency:"JPY",discount_type:"NONE"},{price_id:"felo_search_pro_y",price_type:"RECURRING",bill_period:"ANNUALLY",price:149.99,monthly_price:12.5,original_price:179,currency:"USD",discount_type:"NONE"},{price_id:"felo_search_pro_y_jpy",price_type:"RECURRING",bill_period:"ANNUALLY",price:20998,monthly_price:1750,original_price:25e3,currency:"JPY",discount_type:"NONE"},{price_id:"felo_search_pro_twd_m",price_type:"RECURRING",bill_period:"MONTHLY",price:525,monthly_price:525,original_price:525,currency:"TWD",discount_type:"NONE"},{price_id:"felo_search_pro_twd_y",price_type:"RECURRING",bill_period:"ANNUALLY",price:5040,monthly_price:420,original_price:5040,currency:"TWD",discount_type:"NONE"},{price_id:"felo_search_pro_krw",price_type:"RECURRING",bill_period:"MONTHLY",price:23e3,monthly_price:23e3,original_price:23e3,currency:"KRW",discount_type:"NONE"},{price_id:"felo_search_pro_thb",price_type:"RECURRING",bill_period:"MONTHLY",price:499,monthly_price:499,original_price:499,currency:"THB",discount_type:"NONE"},{price_id:"felo_search_pro_eur",price_type:"RECURRING",bill_period:"MONTHLY",price:14.99,monthly_price:14.99,original_price:14.99,currency:"EUR",discount_type:"NONE"},{price_id:"felo_search_pro_cny",price_type:"RECURRING",bill_period:"MONTHLY",price:109,monthly_price:109,original_price:109,currency:"CNY",discount_type:"NONE"},{price_id:"felo_search_pro_y_krw",price_type:"RECURRING",bill_period:"ANNUALLY",price:23e4,monthly_price:19167,original_price:276e3,currency:"KRW",discount_type:"NONE"},{price_id:"felo_search_pro_y_thb",price_type:"RECURRING",bill_period:"ANNUALLY",price:4899,monthly_price:409,original_price:5988,currency:"THB",discount_type:"NONE"},{price_id:"felo_search_pro_y_eur",price_type:"RECURRING",bill_period:"ANNUALLY",price:149.99,monthly_price:12.5,original_price:179.88,currency:"EUR",discount_type:"NONE"},{price_id:"felo_search_pro_y_cny",price_type:"RECURRING",bill_period:"ANNUALLY",price:1090,monthly_price:91,original_price:1308,currency:"CNY",discount_type:"NONE"}]},{product_id:"felo_search_basic",name:"Felo Search Basic",description:"Felo Search Basic",weight:0,prices:[{price_id:"felo_search_basic_pr",price_type:"RECURRING",bill_period:"MONTHLY",price:0,monthly_price:0,original_price:0,currency:"USD",discount_type:"NONE"}]}]},68436:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});let r="thread-history-list"},75551:function(e,t,n){"use strict";function r(e){return Array.isArray(e)&&0!==e.length?e.map(e=>({title:e.title,value:e.value,model_name:e.model_name??e.value,is_pro:!!e.is_pro,is_default:!!e.is_default,is_new:!!e.is_new,sizes:Array.isArray(e.sizes)?e.sizes:[],ratios:Array.isArray(e.ratios)?e.ratios:[],qualities:Array.isArray(e.qualities)?e.qualities:void 0})):[]}n.d(t,{$:function(){return i},H:function(){return r}});let i=[{title:"Nano Banana 2",value:"gemini-3.1-flash-image",model_name:"gemini-3.1-flash-image",is_default:!0,is_new:!1,is_pro:!1,sizes:[{value:"0.5K",label:"0.5K",is_default:!1,is_pro:!1},{value:"1K",label:"1K",is_default:!1,is_pro:!1},{value:"2K",label:"2K",is_default:!0,is_pro:!1},{value:"4K",label:"4K",is_default:!1,is_pro:!0}],ratios:[{value:"auto",label:"Auto",is_default:!0,is_pro:!1},{value:"16:9",label:"16:9",is_default:!1,is_pro:!1},{value:"9:16",label:"9:16",is_default:!1,is_pro:!1},{value:"1:1",label:"1:1",is_default:!1,is_pro:!1},{value:"4:3",label:"4:3",is_default:!1,is_pro:!1},{value:"3:4",label:"3:4",is_default:!1,is_pro:!1},{value:"3:2",label:"3:2",is_default:!1,is_pro:!1},{value:"2:3",label:"2:3",is_default:!1,is_pro:!1},{value:"5:4",label:"5:4",is_default:!1,is_pro:!1},{value:"4:5",label:"4:5",is_default:!1,is_pro:!1},{value:"21:9",label:"21:9",is_default:!1,is_pro:!1},{value:"1:4",label:"1:4",is_default:!1,is_pro:!1},{value:"1:8",label:"1:8",is_default:!1,is_pro:!1},{value:"4:1",label:"4:1",is_default:!1,is_pro:!1},{value:"8:1",label:"8:1",is_default:!1,is_pro:!1}]},{title:"GPT Image 2.5 Sunburst",value:"gpt-image-2.5-sunburst",model_name:"gpt-image-2.5-sunburst",is_default:!1,is_new:!0,is_pro:!1,sizes:[{value:"low",label:"Low",is_default:!1,is_pro:!1},{value:"medium",label:"Medium",is_default:!0,is_pro:!1},{value:"high",label:"High",is_default:!1,is_pro:!0},{value:"xhigh",label:"XHigh",is_default:!1,is_pro:!0},{value:"max",label:"Max",is_default:!1,is_pro:!0},{value:"auto",label:"Auto",is_default:!1,is_pro:!0}],ratios:[{value:"auto",label:"Auto",is_default:!1,is_pro:!1},{value:"1024x1024",label:"1024\xd71024",is_default:!1,is_pro:!1},{value:"1536x1024",label:"1536\xd71024",is_default:!0,is_pro:!1},{value:"1024x1536",label:"1024\xd71536",is_default:!1,is_pro:!1},{value:"2048x2048",label:"2048\xd72048",is_default:!1,is_pro:!1},{value:"2048x1152",label:"2048\xd71152",is_default:!1,is_pro:!1},{value:"3840x2160",label:"3840\xd72160",is_default:!1,is_pro:!1},{value:"2160x3840",label:"2160\xd73840",is_default:!1,is_pro:!1}]},{title:"GPT-Image 2",value:"gpt-image-2",model_name:"gpt-image-2",is_default:!1,is_new:!0,is_pro:!1,sizes:[{value:"low",label:"Low",is_default:!1,is_pro:!1},{value:"medium",label:"Medium",is_default:!0,is_pro:!1},{value:"high",label:"High",is_default:!1,is_pro:!0},{value:"auto",label:"Auto",is_default:!1,is_pro:!0}],ratios:[{value:"auto",label:"Auto",is_default:!1,is_pro:!1},{value:"1024x1024",label:"1024\xd71024",is_default:!1,is_pro:!1},{value:"1536x1024",label:"1536\xd71024",is_default:!0,is_pro:!1},{value:"1024x1536",label:"1024\xd71536",is_default:!1,is_pro:!1},{value:"2048x2048",label:"2048\xd72048",is_default:!1,is_pro:!1},{value:"2048x1152",label:"2048\xd71152",is_default:!1,is_pro:!1},{value:"3840x2160",label:"3840\xd72160",is_default:!1,is_pro:!1},{value:"2160x3840",label:"2160\xd73840",is_default:!1,is_pro:!1}]},{title:"Nano Banana Pro",value:"gemini-3.0-pro-image",model_name:"gemini-3.0-pro-image",is_default:!1,is_new:!1,is_pro:!0,sizes:[{value:"2K",label:"2K",is_default:!0,is_pro:!1},{value:"4K",label:"4K",is_default:!1,is_pro:!0}],ratios:[{value:"auto",label:"Auto",is_default:!0,is_pro:!1},{value:"16:9",label:"16:9",is_default:!1,is_pro:!1},{value:"9:16",label:"9:16",is_default:!1,is_pro:!1},{value:"1:1",label:"1:1",is_default:!1,is_pro:!1},{value:"4:3",label:"4:3",is_default:!1,is_pro:!1},{value:"3:4",label:"3:4",is_default:!1,is_pro:!1},{value:"3:2",label:"3:2",is_default:!1,is_pro:!1},{value:"2:3",label:"2:3",is_default:!1,is_pro:!1},{value:"5:4",label:"5:4",is_default:!1,is_pro:!1},{value:"4:5",label:"4:5",is_default:!1,is_pro:!1},{value:"21:9",label:"21:9",is_default:!1,is_pro:!1}]},{title:"Nano Banana",value:"gemini-2.5-flash-image",model_name:"gemini-2.5-flash-image",is_default:!1,is_new:!1,is_pro:!1,sizes:[{value:"1K",label:"1K",is_default:!0,is_pro:!1}],ratios:[{value:"auto",label:"Auto",is_default:!0,is_pro:!1},{value:"21:9",label:"21:9",is_default:!1,is_pro:!1},{value:"16:9",label:"16:9",is_default:!1,is_pro:!1},{value:"1:1",label:"1:1",is_default:!1,is_pro:!1},{value:"3:4",label:"3:4",is_default:!1,is_pro:!1},{value:"9:16",label:"9:16",is_default:!1,is_pro:!1}]}]},38188:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});let r={CANVAS_NOVICE_GUIDE:"canvas_novice_guide",FEEDBACK_FIRST_CLICK:"feedback_first_click",AUTO_TRANSLATE_SOURCE:"auto_translate_source",SIDEBAR_FOLD_TOPIC:"sidebar_fold_topic",SIDEBAR_FOLD_HISTORY:"sidebar_fold_history",SIDEBAR_FOLD_AGENTS:"sidebar_fold_agents",SIDEBAR_HISTORY_FOCUS:"sidebar_history_focus",GTAG_EVENT_ACTIVATION:"gtag_event_activation",TOPIC_SOURCE_SELECTED:"topic_source_selected",TOPIC_WEB_SEARCH:"topic_web_search",AGENT_ACTIVE_TAB:"agent_active_tab",HOME_TRY_CREATE_MODE_SHOW:"home_try_create_mode_show",ENABLE_EXPERIMENTAL_SLIDES:"enable_experimental_slides",SLIDES_MENTAL_MODEL_FIRST_SHOW:"slides_mental_model_first_show",USER_CACHE:"user_cache",IP_UNAUTHORIZED_TOAST:"ip_unauthorized_toast",SEARCH_TYPE_SEARCH_PRO_STATUS:"search_type_search_pro_status",CANVAS_GET_STARTED_HAND_ANIMATION_VERSION:"canvas_get_started_hand_animation_version",CANVAS_GET_STARTED_MISSION_VERSION:"canvas_get_started_mission_version",AGENT_NETWORK_MODE_ENABLED:"agent_network_mode_enabled",IMAGE_GENERATION_PREFERENCES:"image_generation_preferences_v4",IMAGE_GENERATION_UPGRADE_MODAL_SHOWN:"image_generation_upgrade_modal_shown",SIGN_IN_REWARD_PROMPT_SHOWN:"sign_in_reward_prompt_shown",MINDMAP_THEME:"mindmap_theme",USER_FIRST_GENERATE_TOOL_SUCCESS:"user_first_generate_tool_success",
6LIVEDOC_CREATE_PROMPT:"livedoc-create-prompt",HOME_QUERY_DRAFT:"felo-home-query-draft-v1"}},36551:function(e,t,n){"use strict";n.d(t,{Bv:function(){return b},EB:function(){return M},HK:function(){return O},J5:function(){return p},Kp:function(){return l},N2:function(){return I},NY:function(){return S},RQ:function(){return _},R_:function(){return T},SF:function(){return E},SH:function(){return m},Ts:function(){return v},V9:function(){return h},VP:function(){return U},Wh:function(){return d},X7:function(){return s},Ys:function(){return g},aI:function(){return u},dP:function(){return L},eA:function(){return H},gl:function(){return r},hs:function(){return c},iV:function(){return k},iu:function(){return C},kL:function(){return j},me:function(){return f},no:function(){return D},o4:function(){return N},pN:function(){return i},qY:function(){return x},rN:function(){return w},sd:function(){return A},ti:function(){return y},u_:function(){return P},vo:function(){return F},xn:function(){return a},z:function(){return R},zA:function(){return o}});let r="google",i="social",o="xiaohongshu",a="reddit",s="twitter",l="scholar",u="chat",c="document",d="agent",f="search",h="web_summary",p="chat_with_document",m="long_text",g="chat_with_image",_="topic",v="chat_with_voice",y="chat_with_reflection",b="chat_with_topic",w="video_summary",E="super_agent",C=[r,i,l],x=[r,o,a,s,l,u,c],T="concise",S="verbose",k="discovery",A="query_search_extension_selected",L="0.1.0",I=2e4,O=2e3,P="gpt-4o",j="gpt-6-luna",R="grok-4.7",M="claude-5-5-opus",N="felo:model-switch-feedback",D="model_switch_feedback",H="banner",F="Best (Recommended model)",U="isCoerceR1"},55994:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});let r={FELO_ACTIVE_QUERY:"felo_active_query",AGENT_SHARE_TEMPLATE_ID:"agent_share_template_id",FELO_ACTIVE_LIVEDOC_CHAT:"felo_active_livedoc_chat",LAST_USED_DOCX_TEMPLATE_ID:"last_used_docx_template_id",LIVEDOC_FULLSCREEN_INTENT:"livedoc-fullscreen-intent"}},91161:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r="search_sidebar_folded"},60161:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});let r={SEARCH_SUBMIT:"felo_search_submit",PRO_SEARCH_OPEN:"felo_search_pro_enable",SEARCH_LANGUAGE:"felo_search_language",COLLECTION_CREATE:"felo_search_collection_create",COLLECTION_UPDATE:"felo_search_collection_update",COLLECTION_SHARE:"felo_search_collection_share",COLLECTION_SHARE_VIEW:"felo_search_collection_share_view",COLLECTION_UPGRADE_LINKS:"felo_search_collection_upload_links_upgrade_pro",THREAD_EDIT:"felo_search_thread_edit",FIRST_ANSWER_PAUSED:"felo_search_first_answer_paused",THREAD_FAVORITE:"felo_search_thread_favorite",THREAD_SHARE:"felo_search_thread_share",THREAD_SHARE_VIEW:"felo_search_thread_share_view",MINDMAP:"felo_search_mindmap",MINDMAP_DOWNLOAD:"felo_search_mindmap_download",SMARTART_CREATE:"felo_search_create_smartgraphic",GENERATE_PPT:"felo_search_generate_ppt",THREAD_NEW:"felo_search_thread_new",THREAD_FOLLOWUP_CHAT:"felo_search_followup_chat",THREAD_FOLLOWUP_SHARE_SUBMIT:"felo_search_followup_share_submit",THREAD_FOLLOWUP_PRO_ENABLE:"felo_search_followup_pro_enable",THREAD_FOLLOWUP_ANSWER_PAUSE:"felo_search_followup_answer_pause",THREAD_MORE_SOURCES:"felo_search_more_sources",THREAD_RELATED_IMAGES:"felo_search_related_images",THREAD_RELATED_VIDEOS:"felo_search_related_videos",FELO_UPGRADE_NOW:"felo_search_upgrade_now",FELO_UPGRADE_ERROR:"felo_search_upgrade_error",FELO_UPGRADE_MODAL:"felo_search_upgrade_modal",FELO_UPGRADE_MODAL_CLOSE:"felo_search_upgrade_modal_close",FELO_PURCHASE_SUCCESS:"felo_pro_purchase_success",FELO_PURCHASE_FAIL:"felo_pro_purchase_failed",FELO_SEARCH_CHAT:"felo_search_chat",FELO_SEARCH_THREAD_VOICE:"felo_search_thread_voice",THREAD_REANSWER_MENU_OPEN:"thread_reanswer_menu_open",THREAD_REANSWER_QUERY:"thread_reanswer_query",THREAD_REANSWER_PRO:"thread_reanswer_pro",THREAD_REANSWER_DISCOVERY:"thread_reanswer_discovery",THREAD_REANSWER_4OMINI:"thread_reanswer_4omini",THREAD_REANSWER_CHAT:"thread_reanswer_chat",THREAD_REANSWER_FORCE_SEARCH:"thread_reanswer_force_search",THREAD_REANSWER_DELETE_SOURCES:"thread_reanswer_delete_sources",REGENERATE_PPT:"felo_search_regenerate_p
6pt",PREVIEW_PPT:"felo_search_preview_ppt",TIMEOUT_REGENERATE_PPT:"felo_search_timeout_regenerate_ppt",AUTHOR_DOWNLOAD_PPT:"felo_search_author_download_ppt",AUTHOR_SHARE_PPT:"felo_search_author_share_ppt",DOWNLOAD_PPT:"felo_search_download_ppt",SHARE_PPT:"felo_search_share_ppt",PREVIEW_SHARE_PPT:"felo_search_preview_share_ppt",GENERATE_FAILURE_PPT:"felo_search_generate_failure_ppt",EDIT_PPT:"felo_search_edit_ppt",REGISTRATION_TURNSTILE_RESULT:"registration_turnstile_result",REGISTRATION_RECAPTCHA_RESULT:"registration_recaptcha_result",SAVE_TO_NOTION:"felo_search_save_notion",TOPIC_UPLOAD_FILES:"felo_search_topic_upload_files",TOPIC_ADD_URL:"felo_search_topic_add_url",THREAD_SHARE_CLICK:"felo_search_thread_share",THREAD_ERROR:"felo_search_thread_error",THREAD_CREDITS_ENOUGH:"felo_search_thread_credit_error",MQTT_DISCONNECT:"felo_search_mqtt_disconnect",THREAD_SHARE_COPY_IMG:"felo_search_thread_share_copy_img",THREAD_SHARE_DOWNLOAD_IMG:"felo_search_thread_share_download_img",THREAD_SHARE_SHARE_COPYLINK:"felo_search_thread_share_copylink",THREAD_SHARE_SHARE_CHANGE_IMG:"felo_search_thread_share_change_img",THREAD_SHARE_SHARE_LINE:"felo_search_thread_share_line_social",THREAD_SHARE_SHARE_X:"felo_search_thread_share_X_social",THREAD_SHARE_SHARE_FACEBOOK:"felo_search_thread_share_facebook_social",THREAD_SHARE_SHARE_WHATSAPP:"felo_search_thread_share_whatsapp_social ",THREAD_COPYLINK:"felo_search_thread_copylink",THREAD_QUERY_SHARE:"felo_search_query_share",THREAD_MINDMAP_SHARE:"felo_search_query_share_mindmap",THREAD_CONNECT_CANVA:"felo_search_thread_connect_canva",THREAD_CANVA_EDIT:"felo_search_thread_canva_edit",TOPIC_COPYLINK:"felo_search_topic_copylink",TOPIC_QUERY_SHARE:"felo_search_query_share",TOPIC_SHARE_SHARE_LINE:"felo_search_topic_share_line_social",TOPIC_SHARE_SHARE_X:"felo_search_topic_share_X_social",TOPIC_SHARE_SHARE_FACEBOOK:"felo_search_topic_share_facebook_social",TOPIC_SHARE_SHARE_WHATSAPP:"felo_search_topic_share_whatsapp_social ",TOPIC_SHARE_SHARE_COPYLINK:"felo_search_topic_share_copylink",TOPIC_SHARE_CLICK:"felo_search_topic_share",TRADITIONAL_SEARCH:"felo_search_traditional",PRO_DISCOVERY_SEARCH:"felo_search_pro_deep_reasoning",MINDMAP_LAYOUT_CHANGE:"felo_search_query_changeskeleton_mindmap",MINDMAP_THEME_CHANGE:"felo_search_query_changestyle_mindmap",MINDMAP_SETTING_CLICK:"felo_search_query_setting_mindmap",MINDMAP_RETRY:"felo_search_query_regenerate_mindmap",SEAECH_FILE:"felo_search_query_file",THREAD_TIMEOUT:"felo_search_thread_timeout",SEARCH_AGENT:"felo_search_ai_agents",COLLECTION_SHARE_THREAD_SUBMIT:"felo_search_collection_share_thread_submit",COLLECTION_THREAD_SUBMIT:"felo_search_collection_thread_submit",COLLECTION_THREAD_SUBMIT_FOLLOWUP:"felo_search_collection_thread_submit_followup",AGENT_SEARCH_SELECTED:"felo_search_agent",AGENT_SEARCH_USE:"felo_search_agent_use",AGENT_SEARCH_OPEN_DOSC:"felo_search_agent_open_doc",AGENT_SEARCH_THREAD_REWRITE:"felo_search_agent_thread_rewrite",AGENT_SEARCH_THREAD_REWRITE_DOC:"felo_search_agent_thread_rewrite_open_doc",AGENT_SHARE:"felo_search_agent_share",AGENT_SHARE_VIEW:"felo_search_agent_share_view",DOCS_CREATE:"felo_search_docs_create",DOCS_OPEN:"felo_search_docs_open",DOCS_DELETE:"felo_search_docs_delete",CHAT_IMAGE:"felo_search_chat_image",DOCS_GENERATE_PPT:"felo_search_docs_generate_ppt",AGENT_EDIT:"felo_search_agent_selection_edit",AGENT_SAVE:"felo_search_agent_selection_save",AGENT_USE:"felo_search_agent_selection_use",SEARCH_AGENT_CREATE:"felo_search_agent_create",CUSTOM_AGENT_CREATE:"felo_search_agent_create_custom",AGENT_CREATE_SUBMIT:"felo_search_agent_create_submit",AGENT_CREATE_SAVE:"felo_search_agent_create_save",AGENT_CREATE_USE:"felo_search_agent_create_use",DOCS_SAVE_TO_NOTION:"felo_search_docs_savenotion",AGENT_EXECUTE:"felo_search_agent_execute",AGENT_CREATE_EXECUTE:"felo_search_agent_create_execute",DOCS_CREATE_MINDMAP:"felo_search_docs_create_mindmap",DOCS_INSERT_MINDMAP:"felo_search_docs_insert_mindmap_docs",DOCS_CREATE_SMARTART:"felo_search_docs_create_smartgraphic",DOCS_SAVE_TO_GOOGLE:"felo_search_docs_save_googledrive",SEARCH_AGENT_SIDEBAR_MENU:"felo_search_sidebar_agent_menu",SEARCH_AGENT_SIDEBAR_CREATE_ISA:"felo_search_sidebar_agent_create_isa",SEARCH_AGENT_SIDEBAR_CREATE_SA:"felo_search_sidebar_agent_create_sa",SEARCH_AGENT_SIDEBAR_PING:"felo_search_sidebar_agent_ping",SEARCH_AGENT_SIDEBAR_USE_ISA:"felo_search_sidebar_agent_use_isa",SEARCH_AGENT_SIDEBAR_USE_SA:"felo_search_sidebar_agent_use_sa",SEARCH_AGENT_SIDEBAR_SHARE:"felo_search_sidebar_agent_share",SEARCH_AGENT_SIDEBAR_SHARE_VIEW:"felo_search_sidebar_agent_share_view",FELO_DRIVE_CREATE:"felo_search_drive_new",DOCS_EXPORT_FILE_START:"felo_search_docs_export_file",DOCS_EXPORT_FILE_SUCCESS:"felo_search_docs_export_file_success",TOPIC_BIND_DRIVE_FILES:"felo_search_topic_bind_drive_files",SIDEBAR_AGENT_SHARE_NEW_CHAT:"felo_search_sidebar_agent_share_newchat",HOME_PAGE_PIN_CLICK:"felo_search_home_page_pin_click",WEBPAGE_COPYLINK:"felo_search_webpage_copylink",WEBPAGE_QUERY_SHARE:"felo_search_query_webpage_share",WEBPAGE_SHARE_SHARE_LINE:"felo_search_webpage_share_line_social",WEBPAGE_SHARE_SHARE_X:"felo_search_webpage_share_X_social",WEBPAGE_SHARE_SHARE_FACEBOOK:"felo_search_webpage_share_facebook_social",WEBPAGE_SHARE_SHARE_WHATSAPP:"felo_search_webpage_share_whatsapp_s
6ocial ",WEBPAGE_SHARE_SHARE_COPYLINK:"felo_search_webpage_share_copylink",WEBPAGE_PREVIEW_CLICK:"felo_search_webpage_preview",CREATE_WEBPAGE:"felo_search_create_webpage",WEBPAGE_URL_COPY:"felo_search_webpage_url_copy",WEBPAGE_REGENERATE:"felo_search_webpage_regenerate",CREATE_WEBPAGE_BUTTON:"felo_search_webpage_button_click",CREATE_LANDING_PAGE_BUTTON:"felo_search_landing_page_button_click",CREATE_SLIDES_PPT:"felo_search_create_slides_ppt",CREATE_SLIDES_PPT_PRO:"felo_search_create_slides_ppt_pro",SLIDES_SHARE_SHARE_LINE:"felo_search_slides_share_line_social",SLIDES_SHARE_SHARE_X:"felo_search_slides_share_X_social",SLIDES_SHARE_SHARE_FACEBOOK:"felo_search_slides_share_facebook_social",SLIDES_SHARE_SHARE_WHATSAPP:"felo_search_slides_share_whatsapp_social ",SLIDES_SHARE_SHARE_COPYLINK:"felo_search_slides_share_copylink",SLIDES_SHARE_CLICK:"felo_search_slides_share",CREATE_SLIDES_PPT_AGENT:"felo_search_create_slides_ppt_agent",CREATE_SLIDES_PPT_SUCCESS:"felo_search_create_slides_ppt_success",CREATE_SLIDES_PPT_PLAN:"felo_search_create_slides_ppt_plan",CREATE_SLIDES_PPT_BUTTON:"felo_search_slides_ppt_button_click",SLIDES_PPT_REGENERATE:"felo_search_slides_ppt_regenerate",SLIDES_PPT_EXPORT_PDF:"felo_search_slides_export_pdf",SLIDES_PPT_EXPORT_PDF_IMAGE:"felo_search_slides_export_pdf_image",SLIDES_PPT_EXPORT_PPTX:"felo_search_slides_export_pptx",SLIDES_PPT_EXPORT_PPTX_IMAGE:"felo_search_slides_export_pptx_image",SLIDES_PPT_COMFIRM_BUTTON:"felo_search_slides_confirm_button",SLIDES_PPT_PLAN_MINDMAP_BUTTON:"felo_search_slides_mindmap_button",SLIDES_PPT_PLAN_MINDMAP_APPLY_BUTTON:"felo_search_slides_mindmap_apply_button",SLIDES_PPT_PLAN_EDIT_BUTTON:"felo_search_slides_plan_edit_button",SLIDES_PPT_PLAN_GENERATE_SUCCESS:"felo_search_slides_plan_generate_success",SLIDES_PPT_PLAN_GENERATE_FAIL:"felo_search_slides_plan_generate_fail",SLIDES_PPT_PAGE_GENERATE_START:"felo_search_slides_page_generate_start",SLIDES_PPT_PAGE_GENERATE_SUCCESS:"felo_search_slides_page_generate_success",SLIDES_PPT_PAGE_GENERATE_FAIL:"felo_search_slides_page_generate_fail",PPT_GENERATION_PAUSED_INSUFFICIENT_CREDITS:"ppt_generation_paused_insufficient_credits",PPT_PAUSE_UPGRADE_CLICK:"ppt_pause_upgrade_click",PPT_GENERATION_RESUME_CLICK:"ppt_generation_resume_click",PPT_GENERATION_RESUME_SUCCESS:"ppt_generation_resume_success",PPT_GENERATION_RESUME_FAIL:"ppt_generation_resume_fail",SLIDES_PPT_STORYLINE_GENERATE_FAIL:"felo_search_slides_storyline_generate_fail",SLIDES_PPT_RENDER_START:"felo_search_slides_render_start",SLIDES_PPT_RENDER_COMPLETE:"felo_search_slides_render_complete",SLIDES_PPT_EDITOR_AI_EDIT_BUTTON:"felo_search_slides_editor_ai_edit_button",SLIDES_PPT_EDITOR_AI_EDIT_SUBMIT:"felo_search_slides_editor_ai_edit_submit",SLIDES_PPT_EDITOR_IMAGE_AI_EDIT_BUTTON:"felo_search_slides_editor_image_ai_edit_button",SLIDES_PPT_EDITOR_IMAGE_AI_GENERATE_SUBMIT:"felo_search_slides_editor_image_ai_generate_submit",SLIDES_PPT_EDITOR_IMAGE_AI_EDIT_SUBMIT:"felo_search_slides_editor_image_ai_edit_submit",HOME_PAGE_TAB_CREATE:"felo_search_home_page_tab_create",HOME_PAGE_TAB_SEARCH:"felo_search_home_page_tab_search",HOME_PAGE_TAB_RESEARCH:"felo_search_home_page_tab_research",HOME_PAGE_TAB_SLIDES:"felo_search_home_page_tab_slides",HOME_PAGE_TAB_SLIDES_FILE:"felo_search_home_page_tab_slides_file",HOME_PAGE_TAB_WEBPAGE:"felo_search_home_page_tab_webpage",HOME_PAGE_TAB_WEBPAGE_FILE:"felo_search_home_page_tab_webpage_file",HOME_PAGE_TAB_LANDING_PAGE:"felo_search_home_page_tab_landing_page",HOME_PAGE_TAB_LANDING_PAGE_FILE:"felo_search_home_page_tab_landing_page_file",HOME_PAGE_RESEARCH_BUTTON_CLICK:"felo_search_home_page_research_button_click",HOME_PAGE_EXAMPLES_CLICK:"felo_search_case",THREAD_EDIT_ANSWER:"felo_search_edit_answer",SEARCH_SELETE_CREATE_IMAGE:"felo_search_selecttext_create_images",SEARCH_CREATE_IMAGE:"felo_search_prompt_create_images",FACT_CHECK_TEXT_SELECTION:"felo_search_factcheck_text_selection",QUERY_FELO_CREATE:"query_felo_create",THREAD_CREATE_SLIDE:"felo_search_thread_createslide",ELEMENT_DRAG_START:"felo_search_element_drag_start",LIVEDOC_CREATE_SUCCESS:"felo_search_livedoc_create_success",
6LIVEDOC_UPLOAD_START:"felo_search_livedoc_upload_start",LIVEDOC_UPLOAD_SUCCESS:"felo_search_livedoc_upload_success",LIVEDOC_UPOLAD_FAIL:"felo_search_livedoc_upload_fail",LANDING_PAGE_CREATE_LIVEDOC_START:"landing_page_livedoc_start",LANDING_PAGE_CREATE_LIVEDOC_SUCCESS:"landing_page_livedoc_success",PPT_CREATE_LIVEDOC_SUCCESS:"ppt_create_livedoc_success",IMAGE_CREATE_LIVEDOC_SUCCESS:"image_create_livedoc_success",IMAGE_CREATE_LIVEDOC_START:"image_create_livedoc_start",PPT_CREATE_LIVEDOC_START:"ppt_create_livedoc_start",PAGE_CREATE_LIVEDOC_START:"page_create_livedoc_start",PAGE_CREATE_LIVEDOC_SUCCESS:"page_create_livedoc_success",X_SEARCH_CREATE_LIVEDOC_SUCCESS:"x_search_create_livedoc_success",X_SEARCH_CREATE_LIVEDOC_START:"x_search_create_livedoc_start",LIVEDOC_SESSION_START:"felo_search_livedoc_session_start",LIVEDOC_FELO_PRODUCT_START:"felo_search_livedoc_product_start",LIVEDOC_FELO_PRODUCT_SUCCESS:"felo_search_livedoc_product_success",LIVEDOC_CHAT_START:"felo_search_livedoc_chat_start",LIVEDOC_CHAT_QUESTION:"felo_search_livedoc_chat_question",LIVEDOC_CHAT_QUESTION_SUCCESS:"felo_search_livedoc_chat_success",LIVEDOC_ENTRANCE_CLICK:"felo_search_entrance_click",LIVEDOC_IMAGE_GENERATE_SUCCESS:"felo_search_livedoc_image_generate_success",LIVEDOC_IMAGE_GENERATE_FAIL:"felo_search_livedoc_image_generate_fail",LIVEDOC_IMAGE_GENERATE_FAIL_INSUFFICIENT:"felo_search_livedoc_image_generate_fail_insufficient",LIVEDOC_IMAGE_REGENERATE_SUCCESS:"felo_search_livedoc_image_regenerate_success",LIVEDOC_IMAGE_REGENERATE_FAIL:"felo_search_livedoc_image_regenerate_fail",LIVEDOC_IMAGE_GENERATE_BY_PROMPT_SUCCESS:"felo_search_livedoc_image_generate_by_prompt_success",LIVEDOC_IMAGE_GENERATE_BY_PROMPT_FAIL:"felo_search_livedoc_image_generate_by_prompt_fail",LIVEDOC_IMAGE_CROP_SUCCESS:"felo_search_livedoc_image_crop_success",LIVEDOC_IMAGE_CROP_FAIL:"felo_search_livedoc_image_crop_fail",LIVEDOC_IMAGE_GENERATE_START:"felo_search_livedoc_image_generate_start",LIVEDOC_SCREENSHOT_FAIL:"felo_search_livedoc_screenshot_fail",LIVEDOC_CREATE_SLIDES_BUTTON:"felo_search_livedoc_create_slides_button_click",LIVEDOC_RESOURCE_GENERATED:"felo_search_livedoc_ai_resource_generate",LIVEDOC_ASK_CANVAS:"felo_search_livedoc_ask_canvas",LIVEDOC_GA_REPORT_ACTION:"felo_search_livedoc_ga_report_action",LIVEDOC_CLONE_START:"felo_search_livedoc_clone_start",LIVEDOC_CREATE_PPT:"felo_search_livedoc_create_ppt",LIVEDOC_CREATE_WEBPAGE:"felo_search_livedoc_create_webpage",LIVEDOC_CREATE_LANDING_PAGE:"felo_search_livedoc_create_landing_page",LIVEDOC_CREATE_PPT_TEMPORARY:"felo_search_livedoc_create_ppt_temporary",LIVEDOC_GENERATE_PPT_THEME_FAIL:"felo_search_generate_ppt_theme_fail",LIVEDOC_ONLINE_USERS_UPDATE:"felo_search_livedoc_online_users_update",LIVEDOC_CHAT_INTENT_BUTTON:"felo_search_livedoc_chat_intent_button",NANO_BANANA_PRO_LIMITED_TIME_DISCOUNT:"nano_banana_pro_limited_time_discount",TWITTER_AGENT_LIMITED_TIME_DISCOUNT:"twitter_agent_limited_time_discount",IMAGE_HIGH_TRAFFIC_SHOW:"free_user_image_agent_insufficient_show",IMAGE_HIGH_TRAFFIC_CLICK:"free_user_image_agent_insufficient_click",IMAGE_HIGH_TRAFFIC_DISMISS:"free_user_image_agent_insufficient_dismiss",LIVEDOC_SEARCH_START:"felo_livedoc_search_start",LIVEDOC_X_SEARCH_START:"felo_livedoc_Xsearch_start",LIVEDOC_RESEARCH_START:"felo_livedoc_research_start",HOME_PAGE_TAB_TWITTER_AGENT:"felo_search_home_page_tab_twitter_agent",HOME_PAGE_TAB_SOCIAL_MEDIA:"felo_search_home_page_tab_social_media_click",LIVEDOC_VOICE_RECORDING_START:"felo_search_livedoc_voice_recording_start",LIVEDOC_VOICE_RECORDING_FAIL:"felo_search_livedoc_voice_recording_fail",LIVEDOC_IMAGE_EDIT_TEXT:"felo_search_livedoc_image_edit_text",LIVEDOC_IMAGE_EDIT_TEXT_NO_TEXT_FOUND:"felo_search_livedoc_image_edit_text_no_text_found",LIVEDOC_IMAGE_EDIT_TEXT_SUCCESS:"felo_search_livedoc_image_edit_text_success",LIVEDOC_IMAGE_EDIT_TEXT_FAIL:"felo_search_livedoc_image_edit_text_fail",LIVEDOC_IMAGE_EDIT_TEXT_APPLY:"felo_search_livedoc_image_edit_text_apply",LIVEDOC_USER_FIRST_GENERATE_UPSELL_SHOW:"felo_search_livedoc_first_generate_upsell_show",LIVEDOC_USER_FIRST_GENERATE_UPSELL_CLICK:"felo_search_livedoc_first_generate_upsell_click",LIVEDOC_THRESHOLD_PROMPT_SHOW:"felo_search_livedoc_threshold_prompt_show",LIVEDOC_THRESHOLD_PROMPT_CLICK:"felo_search_livedoc_threshold_prompt_click",LIVEDOC_THRESHOLD_PROMPT_DISMISS:"felo_search_livedoc_threshold_prompt_dism
6iss",LIVEDOC_SHARE_AND_COLLABORATION_UPSELL_SHOW:"felo_search_livedoc_share_and_collaboration_upsell_show",LIVEDOC_SHARE_AND_COLLABORATION_UPSELL_CLICK:"felo_search_livedoc_share_and_collaboration_upsell_click",VOICE_INPUT_START:"voice_input_start",VOICE_INPUT_SUCCESS:"voice_input_success",VOICE_INPUT_ERROR:"voice_input_error",VOICE_BRAINSTORM_START:"felo_search_livedoc_voice_brainstorm_click",HOME_PAGE_SCENARIO_CLICK:"felo_search_home_page_scenario_click",HOME_PAGE_TAB_VOICE:"felo_search_home_page_tab_voice",HOME_PAGE_TAB_IMAGE_PLUS:"felo_search_home_page_tab_image_click",HOME_PAGE_TAB_INS_CLICK:"felo_search_home_page_tab_ins_click",HOME_PAGE_TAB_LEMON8_CLICK:"felo_search_home_page_tab_lemon8_click",HOME_PAGE_TAB_NOTECOM_CLICK:"felo_search_home_page_tab_notecom_click",LIVEDOC_VOICE_CHAT_CLICK:"felo_search_livedoc_voice_chat_click",LIVEDOC_VOICE_SUMMARY_CLICK:"felo_search_livedoc_voice_summary_click",LIVEDOC_VOICE_INFOGRAPHIC_CLICK:"felo_search_livedoc_voice_infographic_click",HOME_LIVEDOC_VOICE_RECORDING_START:"felo_search_home_page_voice_recording_start",LIVEDOC_ILLUSTRATE_DOCUMENT_CLICK:"felo_search_livedoc_illustrate_document_click",LIVEDOC_CREATE_MINDMAP_CLICK:"mindmap_generate_trigger",LIVEDOC_CREATE_MINDMAP_SUCCESS:"mindmap_generate_success",LIVEDOC_CREATE_MINDMAP_MODAL_OPEN:"mindmap_modal_open",MINDMAP_EXPORT_FORMAT:"mindmap_export_format",MINDMAP_LAYOUT_SWITCH:"mindmap_layout_switch",HOME_PAGE_TAB_MINDMAP_AGENT:"felo_search_home_page_tab_mindmap_agent",MINDMAP_EDIT_NODE:"mindmap_edit_node",LIVEDOC_VOICE_LIST_CLICK:"felo_search_livedoc_voice_list_click",HOME_LIVEDOC_MINDMAP_SUBMIT:"felo_search_home_page_mindmap_submit",AI_DEEP_DIVE_CLICK:"ai_deep_dive_click",LIVEDOC_EXPORT_WORD_CLICK:"felo_search_livedoc_export_word_click",LIVEDOC_EXPORT_WORD_UPLOAD_TEMPLATE:"felo_search_livedoc_upload_template_success",LIVEDOC_EXPORT_WORD_APPLY_TEMPLATE:"felo_search_livedoc_apply_template_success",LIVEDOC_EXPORT_WORD_DELET
6E_TEMPLATE:"felo_search_livedoc_delete_template_success",PPT_TEMPLATE_IMPORT_BUTTON_HOME:"felo_search_ppt_template_import_button_home",PPT_TEMPLATE_IMPORT_BUTTON_LIST:"felo_search_ppt_template_import_button_list",PPT_TEMPLATE_IMPORT_SUCCEED:"felo_search_ppt_template_import_succeed",PPT_TEMPLATE_APPLY_BUTTON:"felo_search_ppt_template_apply_button",PPT_TEMPLATE_PREVIEW_CLICK:"felo_search_ppt_template_preview_click",PPT_TEMPLATE_GENERATE_BUTTON:"felo_search_ppt_template_generate_button",PPT_TEMPLATE_GENERATE_FAILED:"felo_search_ppt_template_generate_failed",PPT_TEMPLATE_GENERATE_SUCCEED:"felo_search_ppt_template_generate_succeed",AIDOC_GENERATE_TRIGGER:"aidoc_generate_trigger",AIDOC_GENERATE_SUCCESS:"aidoc_generate_success",AIDOC_MODAL_OPEN:"aidoc_modal_open",AIDOC_MODAL_UPLOAD_TEMPLATE:"aidoc_modal_upload_template",AIDOC_MODAL_TEMPLATE_APPLY:"aidoc_modal_template_apply",AIDOC_MODAL_DELETE_TEMPLATE:"aidoc_modal_delete_template",AIDOC_INDEX_TEMPLATE_APPLY:"aidoc_index_template_apply",FELOS_SEARCH_HOME_PAGE_TAB_AIDOC_AGENT:"felo_search_home_page_tab_aidoc_agent",FELOS_SEARCH_HOME_PAGE_AIDOC_SUBMIT:"felo_search_home_page_aidoc_submit",LIVEDOC_CREATE_DOCUMENT_CLICK:"felo_search_livedoc_create_document_click",LIVEDOC_CREATE_METHOD_SOCIAL_MEDIA_CLICK:"felo_search_livedoc_create_method_social_media_click",LIVEDOC_CREATE_METHOD_SOCIAL_MEDIA_INS_CLICK:"felo_search_livedoc_create_method_social_media_ins_click",LIVEDOC_CREATE_METHOD_SOCIAL_MEDIA_LEMON8_CLICK:"felo_search_livedoc_create_method_social_media_lemon8_click",LIVEDOC_CREATE_METHOD_SOCIAL_MEDIA_NOTECOM_CLICK:"felo_search_livedoc_create_method_social_media_notecom_click",LIVEDOC_CREATE_METHOD_AI_DESIGN_LOGO_CLICK:"felo_search_livedoc_create_method_ai_design_logo_click",LIVEDOC_CREATE_METHOD_AI_DESIGN_ECOMMERCE_CLICK:"felo_search_livedoc_create_method_ai_design_ecommerce_click",LIVEDOC_CREATE_METHOD_AI_DESIGN_MARKETING_CLICK:"felo_search_livedoc_create_method_ai_design_marketing_click",FELOS_SEARCH_HOME_PAGE_TAB_DESIGN_CLICK:"felo_search_home_page_tab_design_click",HOME_PAGE_AI_DESIGN_SKILL_LOGO_CLICK:"felo_search_home_page_ai_design_skill_logo_click",HOME_PAGE_AI_DESIGN_SKILL_ECOMMERCE_CLICK:"felo_search_home_page_ai_design_skill_ecommerce_click",HOME_PAGE_AI_DESIGN_SKILL_MARKETING_CLICK:"felo_search_home_page_ai_design_skill_marketing_click",DESIGN_INDEX_TEMPLATE_APPLY:"design_index_template_apply",DESIGN_INDEX_TEMPLATE_CLICK:"felo_search_home_page_tab_design_click",HOME_PAGE_DESIGN_SUBMIT:"felo_search_home_page_design_submit",HOME_PAGE_SA_SUBMIT:"felo_search_home_page_sa_submit",LIVEDOC_SA_SUBMIT:"felo_search_livedoc_sa_submit",LIVEDOC_SA_REPLY:"felo_search_livedoc_sa_reply",LIVEDOC_SA_STOP_ANSWER:"felo_search_livedoc_sa_stop_answer",LIVEDOC_SA_TOOL_CALL_END:"felo_search_livedoc_sa_tool_call_end",LIVEDOC_IMAGE_GENERATE_START_PARAMS:"felo_search_livedoc_image_generate_start_params",UPSELL_MODAL_IMPRESSION:"upsell_modal_impression",IMAGE_MODEL_CLICK_PRO:"image_model_click_pro",UPSELL_MODAL_ACTION:"upsell_modal_action",IMAGE_GENERATION_UPGRADE_MODAL_SHOW:"felo_search_image_generation_upgrade_modal_show",IMAGE_GENERATION_UPGRADE_MODAL_CLOSE_CLICK:"felo_search_image_generation_upgrade_modal_close_click",IMAGE_GENERATION_UPGRADE_MODAL_NOT_NOW_CLICK:"felo_search_image_generation_upgrade_modal_not_now_click",IMAGE_GENERATION_UPGRADE_MODAL_UPGRADE_PRO_CLICK:"felo_search_image_generation_upgrade_modal_upgrade_pro_click",HOME_CLICK_TEXT_TO_VIDEO:"felo_search_home_click_text_to_video",HOME_ASTRA_ANNOUNCEMENT_CLICK:"felo_search_home_astra_announcement_click",HOME_VIDEO_ANNOUNCEMENT_CLICK:"felo_search_home_video_announcement_click",HOME_COMPOSER_ATTACHMENT_SWITCH:"felo_search_home_composer_attachment_switch",VIDEO_AGENT_PROMOTION_MODAL_SHOW:"felo_search_video_agent_promotion_modal_show",VIDEO_AGENT_PROMOTION_VIDEO_PLAY_CLICK:"felo_search_video_agent_promotion_video_play_click",VIDEO_AGENT_PROMOTION_TRY_NOW_CLICK:"felo_search_video_agent_promotion_try_now_click",VIDEO_AGENT_GENERATION_SUCCESS:"felo_search_video_agent_generation_success",VIDEO_AGENT_GENERATION_FAILED:"felo_search_video_agent_generation_failed",VIDEO_AGENT_PRO_PLAN_CLICK:"felo_search_video_agent_pro_plan_click"}},78423:function(e,t,n){"use strict";n.d(t,{ZP:function(){return R},bf:function(){return P},sE:function(){return j}});var r=n(65105),i=n(65819),o=n(97247),a=n(60635),s=n(38710),l=n(52166),u=n(75271),c=n(25794);let d=()=>new Promise((e,t)=>
6{if(document.getElementById("google-gsi")){e();return}let n=document.createElement("script");n.id="google-gsi",n.src="https://accounts.google.com/gsi/client",n.async=!0,n.defer=!0,n.onload=()=>{e()},n.onerror=()=>{t()},document.body.appendChild(n)}),f=(e,t)=>{var n,r;null===(n=window.google)||void 0===n||n.accounts.id.initialize({client_id:e,callback:t,itp_support:!0}),null===(r=window.google)||void 0===r||r.accounts.id.prompt()};var h=n(81492),p=n(93086),m=n(38188),g=n(41847),_=n(77844),v=n(49575),y=n(22617),b=n(68605),w=n(31022),E=n(5311),C=n(50933),x=n(33451),T=n(97824),S=n(79501),k=n(36716),A=n(17224),L=n(47795),I=n(39075);let O=async()=>{let{setAnonymousToken:e}=i.ZP.getState(),t=await (0,s.f)(),n=localStorage.getItem(m.J.GTAG_EVENT_ACTIVATION);t&&(e(t),(0,v.CK)(n||t))},P=async()=>{let{setUserInfo:e}=i.ZP.getState(),t=(0,c.Nh)()||"";if((0,o.N0)()){(0,a.EC)();let e=await (0,a.C1)({type:"onFetchToken"});e.idToken&&(0,c.F_)(e.idToken),(0,a.ED)();let t=await (0,a.C1)({type:"onFetchDeviceInfo"});t&&t.device_id&&localStorage.setItem(m.J.GTAG_EVENT_ACTIVATION,t.device_id)}let n=localStorage.getItem(m.J.GTAG_EVENT_ACTIVATION),s=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);if(!(0,o.N0)()){let n=(0,S.TK)(t,"userInfo"),i=(0,S.TK)(t,"subscriptionInfo"),o=(0,S.TK)(t,"enterpriseSubscription");n&&(e(n),(0,v.vf)(n.uid,n.email||""),w.Z.getState().setSelectedModel(n.chat_model||"",!0)),i&&r.ZP.getState().setSubscriptionInfo(i),o&&y.ZP.getState().setEnterprisePlan(o)}await Promise.all([(0,l.bG)(),(0,p.NT)(),(0,h.AA)(n||"",s),(0,b.JL)(),(0,C.mQ)()]).then(n=>{let[o,a,s,l,u]=n;s&&i.ZP.getState().setDeviceUserInfo(s),o?((0,S.cW)(t,"userInfo",o),e(o),(0,v.vf)(o.uid,o.email||""),i.ZP.getState().setIsFetchUserInfo(!0),w.Z.getState().setSelectedModel(o.chat_model||"",!0)):(i.ZP.setState({isLogin:!1}),e(i.Vr)),a?((0,S.cW)(t,"subscriptionInfo",a),r.ZP.getState().setSubscriptionInfo(a)):r.ZP.getState().reset(),l?((0,S.cW)(t,"enterpriseSubscription",l),y.ZP.getState().setEnterprisePlan(l)):y.ZP.getState().setEnterpriseInfo(null),u&&x.Z.getState().setPointsConfig(u)}).catch(()=>{i.ZP.setState({isLogin:!1})}).finally(()=>{T.Z.getState().checkActivityStatus()})},j=async()=>{let e=await (0,l.bG)();e?i.ZP.getState().setUserInfo(e):i.ZP.setState({isLogin:!1})};var R=function(){let e=(0,i.ZP)(e=>e.isLogin),t=(0,y.nM)(),n=(0,A.useRouter)();(0,u.useEffect)(()=>{location.pathname.split("/").includes("callback")||P(),O()},[]);let r=async()=>{let e=new URLSearchParams(location.search),t=e.get("code"),r=e.get("RelayState");if(t){let e=await (0,E.HB)(t);e&&((0,c.F_)(e),P());try{if(r){let e=decodeURIComponent(atob(r));n.replace(e||"/search")}}catch(e){n.replace("/search")}}};(0,u.useEffect)(()=>{r()},[]),(0,u.useEffect)(()=>{if(!1!==e||(0,I.L)()||!t)return;let n=!1,r=0,o=window.setTimeout(()=>{r=(0,L.a)(()=>{Promise.all([d(),(0,h.u9)({clientType:"WEB",redirectUri:location.origin})]).then(e=>{let[,t]=e;if(n||"OK"!==t.code)return;let{state:r,client_id:o}=t.data;f(o,e=>{let{credential:t}=e,n=new URLSearchParams(location.search).get("invite_code")||_.Z.getState().firstFrom,{anonymousToken:o}=i.ZP.getState();(0,h.a1)({state:r,clientType:"WEB",appId:"glaritySearch",idToken:t,deviceId:o,invitationCode:n}).then(e=>{var t,n,r;let i=e.data;if((null==i?void 0:i.error_code)==="IP_DISABLED"&&y.ZP.getState().setIsOrgSwitchError(!0),(null==i?void 0:i.error_code)==="TOTP_VERIFICATION_REQUIRED"||(null==i?void 0:i.error_code)==="TOTP_BINDING_REQUIRED"){k.Z.getState().setModalStep("twoFactor"),k.Z.getState().setStep((null==i?void 0:i.error_code)==="TOTP_VERIFICATION_REQUIRED"?"verify":"setup"),k.Z.getState().openModal({org_id:"",name:"",avatar:"",id:""},(null==i?void 0:i.error_code)==="TOTP_BINDING_REQUIRED",null==i?void 0:null===(t=i.token)||void 0===t?void 0:t.token_value);return}(0,c.F_)(e.data.token.token_value),P(),e.data.user.is_new&&((0,g.I)({eventName:"user_register_success",eventParams:{event_category:"customEvent",event_label:"user_register_success",value:1}}),null===(n=(r=window).clarity)||void 0===n||n.call(r,"event","felo_search_register"))})})}).catch(e=>{console.warn("Google one tap init failed:",e)})},{timeout:5e3})},3e3);return()=>{n=!0,window.clearTimeout(o),(0,L.g)(r)}},[t,e]),(0,u.useEffect)(()=>{e&&((0,c.y7)(),(0,c.j4)())},[e])}},29871:function(e,t,n){"use strict";var r=n(75271),i=n(97247);t.Z=()=>{let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!0),[a,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{o(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),s(!0),t((0,i.N0)())},[]),{isMobile:n,isReady:a,isApp:e}}},94821:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(75271);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{interval:t=1e3,manual:n=!0}=e,[i,o]=(0,r.useState)(0),a=(0,r.useRef)(0),s=(0,r.useRef)(null),l=(0,r.useCallback)(()=>{s.current||(a.current=0,o(0),s.current=setInterval(()=>{a.current++,o(a.current),a.current>=90&&u()},t))},[t]),u=()=>{s.current&&(clearInterval(s.current),s.current=null)};return(0,r.useEffect)(()=>
6{if(!n)return l(),u},[n,l]),{progress:i,start:l,stop:u}}},97571:function(e,t,n){"use strict";var r=n(75271),i=n(55850);t.Z=()=>{let{theme:e}=(0,i.F)(),[t,n]=(0,r.useState)("dark"===e),[o,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=t=>{"system"===e&&n(t.matches)},r=window.matchMedia("(prefers-color-scheme: dark)");return"system"===e?n(r.matches):n("dark"===e),r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}},[e]),(0,r.useEffect)(()=>{a(!0)},[]),{isDark:t,mounted:o}}},39109:function(e,t,n){"use strict";var r=n(4814),i=n(16137);let o={position:"top-center",style:{backgroundColor:"hsl(var(--muted))",color:"hsl(var(--muted-foreground))",border:"1px solid hsl(var(--muted))"},action:{label:"\xd7",onClick:()=>{}},actionButtonStyle:{backgroundColor:"transparent",color:"#4B5F7E",fontWeight:"bold",fontSize:"18px"}};t.Z=()=>({default:(e,t)=>(0,i.Am)(e,{...o,...t}),loading:(e,t)=>i.Am.loading(e,{...o,duration:1/0,...t}),success:(e,t)=>{i.Am.success(e,{...o,style:{...o.style,backgroundColor:"hsl(var(--success))",borderColor:"hsl(var(--success))",color:"hsl(var(--success-foreground))"},...t,actionButtonStyle:{backgroundColor:"transparent",color:"white",fontWeight:"bold",fontSize:"18px"}})},error:(e,t)=>{i.Am.error(e,{...o,style:{...o.style,backgroundColor:"hsl(var(--destructive))",borderColor:"hsl(var(--destructive))",color:"hsl(var(--destructive-foreground))"},...t,actionButtonStyle:{backgroundColor:"transparent",color:"white",fontWeight:"bold",fontSize:"18px"}})},custom:(e,t,n)=>i.Am.error(e,{...o,style:{...o.style,backgroundColor:"#EDFAFF",color:"#4B5F7E",width:"max-content",maxWidth:"90vw",minWidth:"30vw"},...t,duration:n??5e3}),customContent:(e,t,n)=>{let o="";switch(n){case"success":o=(0,r.Z)("border-[#E3F6E2] bg-[#F4FAF3] shadow-[0_4px_12px_rgba(75, 181, 72, 0.12)]","dark:border-[#255625] dark:bg-[#173118] dark:shadow-[0_4px_12px_rgba(23, 49, 24, 0.12)]");break;case"failure":o=(0,r.Z)("border-[#F6F3CF] bg-[#FCFBEE] shadow-[0_4px_12px_rgba(212, 170, 44, 0.12)]","dark:border-[#7F5121] dark:bg-[#4B2F15] dark:shadow-[0_4px_12px_rgba(75, 47, 21, 0.12)]")}i.Am.custom(t=>e(t),{position:"top-center",duration:1/0,dismissible:!1,action:null,classNames:{toast:(0,r.Z)("w-full rounded-lg"),content:(0,r.Z)("flex items-center justify-between gap-2 border p-[16px] rounded-lg w-full text-base",o)},className:"",...t})},success2:(e,t)=>{i.Am.success(e,{...o,style:{...o.style,backgroundColor:"#F4FAF3",borderColor:"#E3F6E2",color:"#30394A",fontSize:"16px",fontWeight:"500"},...t,actionButtonStyle:{backgroundColor:"transparent",color:"#30394A",fontWeight:"bold",fontSize:"18px"},classNames:{icon:"text-green-600"}})},dismiss:e=>{i.Am.dismiss(e)}})},98952:function(e,t,n){"use strict";var r,i,o,a,s,l;n.d(t,{Z3:function(){return r},_g:function(){return u},ni:function(){return o},z6:function(){return i}}),(a=r||(r={})).LIVE_DOC_CREATED="live_doc_created",a.LIVE_DOC_UPDATED="live_doc_updated",a.LIVE_DOC_DELETED="live_doc_deleted",a.RESOURCE_ADDED="resource_added",a.RESOURCE_SINGLE_ADDED="resource_single_added",a.RESOURCE_UPDATED="resource_updated",a.RESOURCE_DELETED="resource_deleted",a.RESOURCE_NOTE_UPDATED="resource_note_updated",a.RESOURCE_POSITIONS_UPDATED="resource_positions_updated",a.TASK_COMPLETION_REWARD="task_completion_reward",a.RESOURCE_MINDMAP_UPDATED="resource_mindmap_updated",a.RESOURCE_DOWNLOAD="resource_download",(s=i||(i={})).ONLINE_USERS_UPDATE="online_users_update",s.PERMISSION_CHANGE="permission";let u={WEB:"web",IMAGE:"image",VIDEO:"video",DOCUMENT:"document",RESEARCH_REPORT:"research_report",AI_PPT:"ai_ppt",AI_PAGE:"ai_page",AI_DOC:"ai_doc",TEXT:"text",VOICE:"voice",MINDMAP:"mindmap",COLLABORATION_GENERATING:"collaboration_generating",LANDING_PAGE:"landing_page"};(l=o||(o={})).TEMPORARY="temporary",l.CREATED="created",l.IN_PROGRESS="in_progress",l.OUTLINE="outline",l.COMPLETED="completed"},37481:function(e,t,n){"use strict";n.d(t,{U:function(){return a},cn:function(){return o}});var r=n(4814),i=n(5515);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.m6)((0,r.W)(t))}async function a(e){try{let t=await fetch(e);if(!t.ok)throw Error(`HTTP error! status: ${t.status}`);return await t.text()}catch(e){throw e}}},44119:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return td}});var r=n(52676);n(17397),n(11463),n(56414),n(18869);var i=n(59),o=n.n(i),a=n(93992),s=n.n(a),l=n(9785),u=n(60909),c=n(96072),d=n(97180),f=n(75271),h=n(
654747),p=({children:e,navigate:t,useHref:n,disableAnimation:i=!1,disableRipple:o=!1,skipFramerMotionAnimations:a=i,validationBehavior:s="aria",locale:p="en-US",defaultDates:m,createCalendar:g,..._})=>{let v=e;t&&(v=(0,r.jsx)(c.pG,{navigate:t,useHref:n,children:v}));let y=(0,f.useMemo)(()=>(i&&a&&(h.c.skipAnimations=!0),{createCalendar:g,defaultDates:m,disableAnimation:i,disableRipple:o,validationBehavior:s}),[g,null==m?void 0:m.maxDate,null==m?void 0:m.minDate,i,o,s]);return(0,r.jsx)(l.a,{value:y,children:(0,r.jsx)(u.b,{locale:p,children:(0,r.jsx)(d.N3,{..._,children:v})})})},m=n(55850);function g(e){let{children:t}=e;return(0,r.jsx)(m.f,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:(0,r.jsx)(p,{children:t})})}var _=n(79448),v=n(38363);n(79281);var y=n(34778),b=n(65105),w=n(84706),E=n(57546),C=n(27751),x=n(97682),T=n(60161),S=n(88955);let k=()=>{let{onMessage:e}=(0,f.useContext)(y.M);return(0,f.useEffect)(()=>e((e,t)=>{try{let e=JSON.parse(t);if(!e.data)return;let{type:n,data:r}=e.data;switch(n){case"custom_event":{let{event_type:e}=r;switch(e){case"deduction_completed":b.ZP.getState().refreshPointsInfo();break;case"subscription_created":case"purchase_completed":b.ZP.getState().refreshSubscriptionInfo(),C.Z.getState().setShowBuyPointsModal(!1),E.Z.getState().setPlanModalVisible(!1);break;case"org_deduction_export_task_success":{let{task_id:e,url:t}=(null==r?void 0:r.payload)||{};w.$.publish("orgDeductionExportTask",{status:"success",taskId:e||"",url:t});break}case"org_deduction_export_task_failed":{let{task_id:e,message:t,reason:n}=(null==r?void 0:r.payload)||{};w.$.publish("orgDeductionExportTask",{status:"failed",taskId:e||"",errorMessage:t||n||""});break}case"STYLE_TEMP_CREATED":{let e=(null==r?void 0:r.payload)||{},t=Object.keys(e)[0],n=e[t];n&&w.$.publish("styleTemplateCreated",{id:n.id,name:n.name,creator:n.creator,file_path:n.file_path,cover_path:n.cover_path,slide_images:n.slide_images,status:n.status})}}break}case"insufficient_credits":w.$.publish("felo_showPaidModal",{type:"INSUFFICIENT_POINTS"}),(0,x.D)(T.U.THREAD_CREDITS_ENOUGH),(0,x.b)(T.U.THREAD_CREDITS_ENOUGH,(0,S.x0)());break;case"insufficient_queries":w.$.publish("felo_showPaidModal",{type:"INSUFFICIENT_QUERIES"}),(0,x.D)(T.U.THREAD_CREDITS_ENOUGH),(0,x.b)(T.U.THREAD_CREDITS_ENOUGH,(0,S.x0)());break;case"free_user_pro_insufficient":case"free_user_discovery_insufficient":w.$.publish("felo_showPaidModal",{type:"RATE_LIMIT_EXCEEDED"}),(0,x.D)(T.U.THREAD_CREDITS_ENOUGH),(0,x.b)(T.U.THREAD_CREDITS_ENOUGH,(0,S.x0)());break;case"free_user_image_agent_insufficient":E.Z.getState().setIsHighTrafficAlertDialogVisible(!0)}}catch(e){console.error("Error parsing MQTT message:",e)}}),[e]),null},A=e=>{let{children:t}=e;return(0,r.jsx)(g,{children:(0,r.jsx)(_.DL,{children:(0,r.jsxs)(v.W,{children:[(0,r.jsx)(k,{}),t]})})})};var L=n(72251),I=n(78423),O=n(36551),P=n(31022),j=n(97247),R=n(66510),M=n(46344),N=()=>{let e=()=>{let{setExtensionEnable:e,setExtensionEnableLoading:t}=P.Z.getState();if((0,j.N0)()||(0,j.zd)()){e(!0);return}t(!0),setTimeout(()=>{(0,M.ix)().then(e=>{P.Z.setState({legacyExtensionEnable:!!e})}),(0,M.ev)(2e3).then(t=>{!P.Z.getState().extensionEnable&&(t||e(!1))}).finally(()=>{t(!1)})},300)},t=()=>{let{setExtensionSelected:e}=P.Z.getState(),t=sessionStorage.getItem(O.sd);t&&e(t)};(0,f.useEffect)(()=>{t(),e();let n=e=>{if(!e.data||!e.data.type)return;let{extensionEnable:t,legacyExtensionEnable:r,setExtensionEnable:i}=P.Z.getState();if("RETURN_GLARITY_GET_VERSION"!==e.data.type||r||P.Z.setState({legacyExtensionEnable:!0}),"SEND_FELO_SEARCH_GET_VERSION"===e.data.type){if(t){window.removeEventListener("message",n);return}let{status:r,version:o}=e.data.data;200===r&&i((0,R.n4)(o,O.dP)>=0)}};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[])},D=n(16054),H=n(53410),F=n(52166),U=n(55480),V=n(65819),G=n(7717),B=function(){let e=(0,V.ZP)(e=>e.isLogin),t=(0,b.ZP)(e=>e.subscriptionInfo),n=(0,V.ZP)(e=>e.deviceUserInfo),r=(0,b.ZP)(e=>e.isPro),i=(0,P.Z)(e=>e.freeUserSearchCountInfo),o=(0,b.GS)("used"),a=(0,V.ZP)(e=>e.isFetchUserInfo),s=(0,G.useLocale)(),{reorderPinList:l,setPinUserList:u,setPinSystemList:c,setLoading:d}=(0,U.Z)();(0,f.useEffect)(()=>{let e=new URLSearchParams(location.search).get("mode");if(!e||![O.R_,O.NY,O.iV].includes(e))return;let t=e===O.NY,n=e===O.iV;t||n?P.Z.getState().setProSelected(!0):P.Z.getState().setProSelected(!1),P.Z.getState().setIsDiscovery(n)},[]),(0,f.useEffect)(()=>
6{if(!1===e&&n){(null==n?void 0:n.is_new_device)||P.Z.getState().setProSelected(!1);return}t&&(o||P.Z.getState().setProSelected(!1))},[e,t,n]),(0,f.useEffect)(()=>{if(!e){P.Z.getState().setFreeUserSearchCountInfo({research:1,proSearch:5});return}try{(0,F.rI)().then(e=>{if(e.daily_limits&&e.usage_counts){let t=e.daily_limits.verbose-e.usage_counts.verbose,n=e.daily_limits.discovery-e.usage_counts.discovery;P.Z.getState().setFreeUserSearchCountInfo({research:n,proSearch:t})}})}catch(e){}},[e]),(0,f.useEffect)(()=>{!1!==e||(0,j.N0)()||P.Z.getState().setProSelected(!1)},[e]);let h=async()=>{try{let e=await (0,H.rc)({lang:s});u(e.user),c(e.system),l()}catch(e){console.error("Failed to fetch pin list:",e)}finally{d(!1)}};(0,f.useEffect)(()=>{void 0!==e&&h()},[s,e]),(0,f.useEffect)(()=>{0!==i.proSearch||r||P.Z.getState().setProSelected(!1)},[i]);let p=async()=>{try{var e;let t=await (0,D.PD)();(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.records)&&V.ZP.getState().setCreditsPurchaseList(t.data.records)}catch(e){console.error("Failed to fetch purchases:",e)}};(0,f.useEffect)(()=>{e&&a&&p()},[a,e])},z=n(27378),$=n(44342),Z=n(60635);let W=e=>{let t=e.match(/(\d+\.\d+\.\d+)/);return t?t[1]:"0.0.0"},Y=[{name:"topBar",branch:"Android",requireVersion:"0.3.1",checkVersion:e=>"0.4.4"===e},{name:"topBar",branch:"iOS",requireVersion:"1.2.1",checkVersion:e=>!!["1.2.1","1.2.3","1.3.0","1.4.0","1.4.1","1.5.0"].includes(e)},{name:"subscriptionPlan",branch:"Android",requireVersion:"1.5.0"},{name:"subscriptionPlan",branch:"iOS",requireVersion:"1.4.2"},{name:"openFullPage",branch:"iOS",requireVersion:"2.0.0"},{name:"openFullPage",branch:"Android",requireVersion:"2.0.0"},{name:"shareThread",branch:"iOS",requireVersion:"2.5.0"}];var X=function(){let e=(0,$.b)(),t=(null==e?void 0:e.isApp)||!1;(0,f.useEffect)(()=>{if(t)return(0,Z.ED)(),(0,Z.mI)(e=>{if(!e)return;let t=e.report_application_branch||e.reportApplicationBranch,n=W(e.report_application_version||e.reportApplicationVersion),{features:r,setData:i}=z.Z.getState();Y.forEach(e=>{if(e.branch===t){if(e.checkVersion&&!e.checkVersion(n)){let t=(r=[...r]).findIndex(t=>t===e.name);-1!==t&&r.splice(t,1);return}if(-1===(0,R.n4)(n,e.requireVersion)){let t=(r=[...r]).findIndex(t=>t===e.name);-1!==t&&r.splice(t,1)}}}),i({branch:t,version:n,features:r})})},[]),(0,f.useEffect)(()=>{if(t)return(0,Z.Ow)(()=>{b.ZP.getState().refreshSubscriptionInfo()})},[])},J=n(17224),q=n(22617),K=()=>{(0,f.useEffect)(()=>{q.ZP.getState().fetchDomainOrgInfo()},[])},Q=n(68605),ee=n(39109),et=n(36716),en=n(25794),er=n(38188),ei=()=>{let e=(0,V.gQ)(),t=(0,ee.Z)(),n=(0,G.useTranslations)(),r=(0,f.useRef)(null),i=(0,f.useRef)(!1),o=(0,q.ZP)(e=>e.isOrgSwitchError);(0,V.ZP)(e=>e.userInfo);let a=(0,q.ZP)(e=>e.setIsOrgSwitchError),{isApp:s}=(0,$.b)(),l=async()=>{if(!i.current&&!et.Z.getState().isOpen&&!s){i.current=!0;try{let i=await (0,Q.CL)();if(!i)return;if("RESTRICT_ACCOUNT_SWITCH"===i.data.error_code){t.custom(n("security.ipRestrictNoSwitchTip"),void 0,1/0);return}if("IP_DISABLED"===i.data.error_code){var e,r;(null===(r=i.data)||void 0===r?void 0:null===(e=r.token_info)||void 0===e?void 0:e.token_value)&&(0,en.F_)(i.data.token_info.token_value),localStorage.setItem(er.J.IP_UNAUTHORIZED_TOAST,"true"),setTimeout(()=>{window.location.reload()},1e3)}}catch(e){console.error("result:",e)}finally{i.current=!1}}},u=()=>{e&&"visible"===document.visibilityState&&l()};(0,f.useEffect)(()=>{if(!e){r.current&&(clearInterval(r.current),r.current=null);return}return l(),r.current=setInterval(()=>{l()},6e5),document.addEventListener("visibilitychange",u),()=>{r.current&&(clearInterval(r.current),r.current=null),document.removeEventListener("visibilitychange",u)}},[e]),(0,f.useEffect)(()=>()=>{r.current&&(clearInterval(r.current),r.current=null)},[]),(0,f.useEffect)(()=>{o&&(t.error(n("security.ipNotAuthorizedTip2")),a(!1))},[o]),(0,f.useEffect)(()=>{"true"===localStorage.getItem(er.J.IP_UNAUTHORIZED_TOAST)&&(localStorage.removeItem(er.J.IP_UNAUTHORIZED_TOAST),t.custom(n("security.ipNotAuthorizedTip"),void 0,1/0))},[])},eo=n(24375),ea=n(75551),es=n(16137);let el=e=>{let{...t}=e,{theme:n="system"}=(0,m.F)();
6return(0,r.jsx)(es.x7,{theme:n,className:"toaster group",expand:!0,toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})};var eu=n(72135),ec=n.n(eu);let ed=["/ExportHtml/[id]","/library/preview","/invitation","/auth_privacy","/gpt-image-2-prompts"],ef=["/thread-chat/[id]",...ed],eh=e=>ed.some(t=>t.includes("[id]")?new RegExp(t.replace("[id]","[^/]+")).test(e):e===t),ep=e=>ef.some(t=>t.includes("[id]")?new RegExp(t.replace("[id]","[^/]+")).test(e):e===t),em=e=>e.startsWith("/slides/")||e.startsWith("/page/")||e.startsWith("/livedoc/");var eg=n(91161),e_=n(46571),ev=n(86378),ey=n(73991),eb=n.n(ey);let ew=new Set(["input","select","textarea"]),eE=(e,t)=>{let n=e.key.toLowerCase();return!e.altKey&&!e.shiftKey&&(t?e.metaKey&&!e.ctrlKey&&"k"===n:e.ctrlKey&&!e.metaKey&&"i"===n)},eC=e=>{var t,n;let r=e.target;if(!r)return!1;if(r.isContentEditable)return!0;let i=null===(t=r.tagName)||void 0===t?void 0:t.toLowerCase();return!!(i&&ew.has(i))||!!(null===(n=r.closest)||void 0===n?void 0:n.call(r,"[contenteditable='true']"))},ex=e=>{let{enabled:t,onTrigger:n}=e;(0,f.useEffect)(()=>{if(!t)return;let e=e=>{!eC(e)&&eE(e,(0,j.V5)())&&(e.preventDefault(),n())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[t,n])};var eT=n(84989),eS=n(74926),ek=n(35525),eA=n(43215),eL=n(14950),eI=n(12971);let eO=ec()(()=>Promise.all([n.e(24256),n.e(14454),n.e(77320)]).then(n.bind(n,77320)),{loadableGenerated:{webpack:()=>[77320]},ssr:!1}),eP=ec()(()=>Promise.all([n.e(10881),n.e(88028),n.e(36980),n.e(97331),n.e(43599),n.e(17182)]).then(n.bind(n,17182)),{loadableGenerated:{webpack:()=>[17182]},ssr:!1}),ej=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(24256),n.e(19388),n.e(14454),n.e(37108),n.e(96096),n.e(42714)]).then(n.bind(n,42714)),useOpen:()=>(0,E.Z)(e=>e.searchErrorModalVisible),displayName:"ExtensionErrorModal"}),eR=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(25337)]).then(n.bind(n,25337)),useOpen:()=>(0,E.Z)(e=>e.inviteModalVisible),displayName:"InviteModal"}),eM=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(81496),n.e(99499)]).then(n.bind(n,47245)),useOpen:()=>(0,E.Z)(e=>e.loginModalVisible),displayName:"LoginModal"}),eN=(0,eT.l)({load:()=>Promise.all([n.e(85162),n.e(33342),n.e(10881),n.e(24256),n.e(19388),n.e(40548),n.e(14454),n.e(37108),n.e(96096),n.e(2366),n.e(24906),n.e(48217),n.e(62279),n.e(20124)]).then(n.bind(n,20124)),useOpen:()=>(0,E.Z)(e=>e.planModalVisible),displayName:"PlanIndex"}),eD=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(24256),n.e(88028),n.e(36980),n.e(14454),n.e(37108),n.e(71965),n.e(93616),n.e(29679),n.e(17938),n.e(73611),n.e(83350),n.e(54296),n.e(20993)]).then(n.bind(n,20993)),useOpen:()=>(0,eS.Z)(e=>e.isAgentPlanModalOpen),displayName:"AgentPlanModal"}),eH=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(9157)]).then(n.bind(n,9157)),useOpen:()=>(0,ek.Z)(e=>e.isOpen),displayName:"AiDataRetentionConfirm"}),eF=(0,eT.l)({load:()=>Promise.all([n.e(85162),n.e(33342),n.e(10881),n.e(88028),n.e(62625),n.e(25382),n.e(48217),n.e(28915),n.e(90408)]).then(n.bind(n,90408)),useOpen:()=>(0,E.Z)(e=>e.planEnterpriseModalVisible),displayName:"EnterprisePlanModal"}),eU=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(88028),n.e(36980),n.e(51919),n.e(66951),n.e(31089)]).then(n.bind(n,31089)),useOpen:()=>(0,q.ZP)(e=>e.isOpenInviteModal),displayName:"InviteMemberModal"}),eV=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(83544)]).then(n.bind(n,83544)),useOpen:()=>(0,E.Z)(e=>e.usePcDialogVisible||e.usePcCreateDialogVisible),displayName:"UsePcDialog"}),eG=(0,eT.l)({load:()=>n.e(98440).then(n.bind(n,98440)),useOpen:()=>(0,E.Z)(e=>e.usePcToastVisible),displayName:"UsePcToast"}),eB=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(57375)]).then(n.bind(n,57375)),useOpen:()=>(0,E.Z)(e=>
6null!==e.planExpiredDialog.type),displayName:"PaidModal"}),ez=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(26033)]).then(n.bind(n,26033)),useOpen:()=>(0,eA.Z)(e=>e.isOpen),displayName:"EditTitleModal"}),e$=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(24256),n.e(88028),n.e(36980),n.e(40548),n.e(14454),n.e(93616),n.e(18960),n.e(21148),n.e(46593),n.e(39231),n.e(71404),n.e(90447),n.e(807),n.e(34217)]).then(n.bind(n,10075)),useOpen:()=>(0,E.Z)(e=>e.settingsModalVisible),displayName:"SettingsModal"}),eZ=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(31179)]).then(n.bind(n,31179)),useOpen:()=>(0,C.Z)(e=>e.showBuyPointsModal),displayName:"BuyPointsModal"}),eW=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(55333)]).then(n.bind(n,55333)),useOpen:()=>(0,et.Z)(e=>e.isOpen),displayName:"EnterpriseVerificationModal"}),eY=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(24256),n.e(64220),n.e(90488),n.e(43005)]).then(n.bind(n,43005)),useOpen:()=>(0,E.Z)(e=>e.imageLightboxVisible),displayName:"ImageLightboxModal"}),eX=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(46805)]).then(n.bind(n,46805)),useOpen:()=>(0,eL.Z)(e=>e.isOpenPermissionChangeModal),displayName:"PermissionChangeModal"}),eJ=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(41963)]).then(n.bind(n,61284)),useOpen:()=>(0,E.Z)(e=>e.isHighTrafficAlertDialogVisible),displayName:"HighTrafficAlertDialog"}),eq=(0,eT.l)({load:()=>Promise.all([n.e(10881),n.e(98900),n.e(58362)]).then(n.bind(n,58362)),useOpen:()=>(0,eI.Z)(e=>e.isOpen),displayName:"HumanVerificationDialog"});function eK(e){let{children:t}=e,n=(0,J.useRouter)(),{locale:i,pathname:o,query:a}=n,{third_auth_token:s}=a,l=(0,f.useRef)(null),u=(0,P.Z)(e=>e.allModelList),c=(0,P.Z)(e=>e.agentModelList),d=(0,P.Z)(e=>e.setAllModelList),h=(0,P.Z)(e=>e.setAgentModelList),p=(0,E.Z)(e=>e.isFoldedSidebar),m=(0,E.Z)(e=>e.isHiddenSidebar),{cookies:g,isMobile:_,isApp:v}=(0,$.b)(),y=function(){let e=(0,J.useRouter)(),[t,n]=(0,f.useState)("");return(0,f.useEffect)(()=>{n(window.location.pathname);let t=()=>{n(window.location.pathname)};return e.events.on("routeChangeComplete",t),e.events.on("routeChangeError",t),()=>{e.events.off("routeChangeComplete",t),e.events.off("routeChangeError",t)}},[e.events]),t}(),b=(0,V.ZP)(e=>e.isLogin),[C,x]=(0,f.useState)(!0),T=()=>{document.body.style.direction=(0,R.dZ)(i)?"rtl":"ltr"},S=async()=>{try{let{models:e,agent_models:t,image_models:n}=await (0,F.ig)();if(e&&d(e),t&&h(t),null!=n&&n.length>0){let e=(0,ea.H)(n);e.length>0&&eo.h.getState().setImageModels(e)}eo.h.getState().setHasFetched(!0)}catch(e){d([]),h([])}};(0,f.useEffect)(()=>{void 0!==b&&(0===u.length||0===c.length)&&S()},[b]),K(),(0,f.useEffect)(()=>{if(s&&"string"==typeof s){(0,en.F_)(s),setTimeout(()=>{(0,I.bf)()},1e3);let e=new URL(window.location.href);e.searchParams.delete("third_auth_token"),window.history.replaceState({},"",e.toString())}},[s]),(0,f.useEffect)(()=>{if(_){E.Z.getState().setIsFoldedSidebar(!1);return}let e=!!em(o)||"true"===g[eg.y];E.Z.getState().setIsFoldedSidebar(e)},[o,_]),(0,f.useEffect)(()=>{T()},[i]);let k=(0,f.useCallback)(()=>{w.$.publish("onGoHome",{}),n.push("/search")},[n]),O=y||o;return(ex({enabled:!v&&!m&&!ep(O),onTrigger:k}),(0,f.useEffect)(()=>{if(_)return;let e=setTimeout(()=>{x(!1),l.current&&(l.current.style.display="none")},1e3);return()=>clearTimeout(e)},[_]),(0,I.ZP)(),X(),N(),B(),ei(),eh(o))?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eO,{}),(0,r.jsxs)(A,{children:[(0,r.jsxs)("div",{className:(0,e_.cn)("flex","en"===i?eb().className:""),children:[m||ep(y)||p?C?(0,r.jsx)("aside",{ref:l,className:"w-[280px] p-4 hidden md:block",children:(0,r.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,r.jsx)(ev.O,{className:"h-12 w-12 rounded-full"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(ev.O,{className:"h-4 w-[150px]"}),(0,r.jsx)(ev.O,{className:"h-4 w-[100px]"})]})]})}):null:(0,r.jsx)(L.Z,{isFolded:p,setIsFolded:E.Z.getState().setIsFoldedSidebar,isHover:!1},"sidebar"),(0,r.jsx)("main",{className:"relative flex flex-col grow min-w-0 min-h-dvh",children:t}),(0,r.jsx)(eP,{})]}),(0,r.jsx)(eD,{}),(0,r.jsx)(ej,{}),(0,r.jsx)(eR,{}),(0,r.jsx)(eN,{}),(0,r.jsx)(eM,{}),(0,r.jsx)(eH,{}),(0,r.jsx)(eU,{}),(0,r.jsx)(eF,{}),(0,r.jsx)(el,{}),(0,r.jsx)(eB,{}),(0,r.jsx)(eG,{}),(0,r.jsx)(eV,{}),(0,r.jsx)(ez,{}),(0,r.jsx)(e$,{}),(0,r.jsx)(eZ,{}),(0,r.jsx)(eW,{}),(0,r.jsx)(eY,{}),(0,r.jsx)(eq,{}),(0,r.jsx)(eX,{}),(0,r.jsx)(eJ,{})]})]})}let eQ=e=>{let t=e.split("; "),n={};
6return e&&t.forEach(e=>{let[t,r]=e.split("=");n[t]=decodeURIComponent(r.trim())}),n};var e1=e=>{let{value:t,children:n}=e;return(0,r.jsx)($.Z.Provider,{value:t,children:n})},e0=n(27976),e2=n(59262),e3=n(81492),e6=n(77844),e4=n(1343),e5=function(){let{query:e,isReady:t}=(0,J.useRouter)(),n=(0,V.ZP)(e=>e.isLogin);(0,f.useEffect)(()=>{let t;let n=(0,e4.YT)(),r=(0,e4.t8)();e.invite&&"string"==typeof e.invite?(t=e.invite,n||((0,e4.zd)(t),e6.Z.getState().setFirstFrom(t)),(0,e4.t_)(t)):r&&(t=r),n&&e6.Z.getState().setFirstFrom(n),t&&e6.Z.getState().setFrom(t)},[t]),(0,f.useEffect)(()=>{n&&t&&e.invite&&"string"==typeof e.invite&&(0,e3.g$)({code:e.invite,app_id:"glaritySearch"})},[t,n])},e9=n(28485),e7=n.n(e9),e8=n(47795),te=n(39075);function tt(){let{enabled:e=!0,delayMs:t=0,idleTimeoutMs:n=5e3,skipLighthouse:r=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[i,o]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{if(!e||r&&(0,te.L)()){o(!1);return}let i=0,a=window.setTimeout(()=>{i=(0,e8.a)(()=>o(!0),{timeout:n})},t);return()=>{window.clearTimeout(a),(0,e8.g)(i)}},[t,e,n,r]),i}function tn(e){let{id:t}=e;return tt({enabled:!!t,delayMs:1500,idleTimeoutMs:3e3})?(0,r.jsx)(e7(),{defer:!0,strategy:"lazyOnload",id:`ga-init-${t}`,src:`https://www.googletagmanager.com/gtag/js?id=${t}`,onLoad:()=>{window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",t)}}):null}var tr=n(49575);function ti(e){let{id:t}=e,n=(0,V.ZP)(e=>e.userInfo),i=(0,f.useRef)(0),o=tt({enabled:!!t,delayMs:4e3,idleTimeoutMs:5e3});return((0,f.useEffect)(()=>{if(!o||!n.uid)return;let e=()=>{if(window.clarity)try{window.clarity("identify",n.uid,void 0,void 0,n.email),i.current=0}catch(e){console.error("Failed to set Clarity user ID:",e)}else i.current<5?(i.current+=1,setTimeout(()=>{e()},2e3)):console.warn("Clarity script failed to load after multiple retries")};e()},[o,n.uid,n.email,5]),o)?(0,r.jsx)(e7(),{defer:!0,id:`clarity-${t}`,strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:` 7 (function(c,l,a,r,i,t,y){ 8 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 9 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; 10 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); 11 })(window, document, "clarity", "script", "${t}"); 12 `}}):null}function to(){return tt({delayMs:6e3,idleTimeoutMs:5e3})?(0,r.jsx)(e7(),{id:"twitter-pixel",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:` 13 !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); 14},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js', 15a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); 16twq('config','q1qoc'); 17 `}}):null}var ta=n(75284);let ts={};async function tl(e,t){let r={};return await Promise.all(t.map(async t=>{let i=`${e}.${t}`;if(ts[i]){r[t]=ts[i];return}try{let o=await n(64085)(`./${e}/${t}.json`);ts[i]=o.default,r[t]=o.default}catch(o){if(console.error(`Failed to load namespace ${t} for locale ${e}`,o),"en"!==e){let e=await n(49094)(`./${t}.json`);r[t]=e.default,ts[i]=e.default}else r[t]={},ts[i]={}}})),r}async function tu(e,t){if(0===t.length)return{};let n=ta.kv.includes(e)?e:"en",r=t.includes("common")?t:["common",...t];return Object.values(await tl(n,r)).reduce((e,t)=>({...e,...t}),{})}var tc=n(11249);function td(e){let{Component:t,pageProps:n,providerProps:i,messages:o}=e,{locale:a,asPath:l}=(0,J.useRouter)(),u=(0,e2.AU)(l),c=!!t.isStandalone,[d,h]=(0,f.useState)(o);return e5(),(0,f.useEffect)(()=>{let e=(0,R.f8)(()=>{(0,tr.D_)()},{timeout:4e3});return()=>{(0,R.Fe)(e)}},[]),(0,f.useEffect)(()=>{o||tu(a||"en",tm(l)).then(h).catch(console.error)},[o]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{children:(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"})}),(0,r.jsx)(e1,{value:i,children:(0,r.jsx)(G.NextIntlClientProvider,{locale:a,messages:o||d,timeZone:"UTC",onError:e=>{"MISSING_MESSAGE"!==e.code&&console.warn(e)},children:c?(0,r.jsx)(t,{...n}):(0,r.jsx)(eK,{children:(0,r.jsx)(t,{...n})})})}),(0,r.jsx)(tn,{id:u}),(0,r.jsx)(ti,{id:e0.r8?"nblx3bq4e3":"ndekezabd5"}),(0,r.jsx)(to,{})]})}function tf(e){return"search"===e?["common","header","subscription","activity","settings","enterprise","auth","collaboration","agent","thread","errors"]:["common","header","subscription","settings","enterprise","auth","collaboration","errors","agent"]}function th(e){return["common","footer"]}function tp(e){return["common","sidebar","thread"]}function tm(e){if(e.startsWith("/mobile/turnstile"))return["auth"];if(e.includes("/page/preview/"))return[];if(e.startsWith("/version")){let e=tp("version");return(0,tc.Nb)(["common","version",...e])}if(e.startsWith("/faq")){let e=th("faq"),t=tp("faq");return(0,tc.Nb)(["common","faq",...t,...e])}if(e.startsWith("/search/")){let e=tf("search"),t=th("search"),n=tp("search");return(0,tc.Nb)([...e,...t,...n,"home","search","note","slides","canvas"])}if(e.startsWith("/search")||"/"===e){let e=tf("search"),t=th("search"),n=tp("search");return(0,tc.Nb)([...e,...t,...n,"home","search","slides","livedoc","note"])}if(e.startsWith("/livedoc")){let e=tf("livedoc"),t=th("livedoc"),n=tp("livedoc");return(0,tc.Nb)([...e,...t,...n,"livedoc","slides","note","canvas","search","agent","home"])}if(e.startsWith("/slides")){let e=tf("slides"),t=th("slides"),n=tp("slides");return(0,tc.Nb)([...e,...t,...n,"slides","canvas","search"])}if(e.startsWith("/docs")){let e=tf("docs"),t=th("docs"),n=tp("docs");return(0,tc.Nb)([...e,...t,...n,"note","canvas"])}if(e.startsWith("/claw")){let e=tf("claw"),t=th("claw");return(0,tc.Nb)([...e,...t,"claw"])}if(e.startsWith("/page")){let e=tf("page"),t=th("page"),n=tp("page");return(0,tc.Nb)([...e,...t,...n,"search","slides"])}if(e.startsWith("/library")){let e=tf("library"),t=th("library"),n=tp("library");return(0,tc.Nb)([...e,...t,...n,"search"])}if(e.startsWith("/history")){let e=tf("history"),t=th("history"),n=tp("history");return(0,tc.Nb)([...e,...t,...n,"search"])}if(e.startsWith("/enterprise")||e.startsWith("/settings/enterprise")){let e=tf("enterprise"),t=th("enterprise"),n=tp("enterprise");return(0,tc.Nb)([...e,...t,...n])}if(e.startsWith("/settings")){let e=tf("settings"),t=th("settings"),n=tp("settings");return(0,tc.Nb)([...e,...t,...n])}if(e.startsWith("/gpt-image-2-prompts"))return(0,tc.Nb)(["common","gptImage2Prompts","settings","auth","enterprise","livedoc"]);if(e.startsWith("/agents")){let e=tf("agents"),t=th("agents"),n=tp("agents");return(0,tc.Nb)([...e,...t,...n,"agent","search","note"])}if(e.startsWith("/topic")){let e=tf("topic"),t=th("topic"),n=tp("topic");return(0,tc.Nb)([...e,...t,...n,"agent","search"])}if(e.startsWith("/oauth")||e.startsWith("/open-auth")||e.startsWith("/login")||e.startsWith("/callback")||e.startsWith("/pay-callback")){let e=tf("oauth"),t=th("oauth"),n=tp("oauth");return(0,tc.Nb)([...e,...t,...n])}let t=tf(""),n=th(""),r=tp("");return(0,tc.Nb)([...t,...n,...r])}td.getInitialProps=async e=>{var t,n;let{ctx:{req:r,locale:i,pathname:a}}=e,s={};s=(null==r?void 0:null===(t=r.headers)||void 0===t?void 0:t.cookie)?eQ(r.headers.cookie):eQ(document.cookie);let l="",u=!1,c=!1;(l=(null==r?void 0:null===(n=r.headers)||void 0===n?void 0:n["user-agent"])?r.headers["user-agent"]:navigator.userAgent).toLocaleLowerCase().includes("felo")&&(u=!0),c=/iPhone|iPad|iPod|Android/i.test(l);let d=tm(a);return{...await (async()=>{try{return await o().getInitialProps(e)}catch(e){return{}}})(),providerProps:{cookies:s,userAgent:l,isApp:u,isMobile:c},messages:await tu(i||"en",d)}}},44342:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(75271);let i=(0,r.createContext)({cookies:{},userAgent:"",isApp:!1,isMobile:!1}),o=()=>{let e=(0,r.useContext)(i);return void 0===e?{cookies:{},userAgent:"",isApp:!1,isMobile:!1}:e};t.Z=i},79448:function(e,t,n){"use strict";n.d(t,{p9:function(){return I},DL:function(){return m},$P:function(){return R},Rd:function(){return _.R},oi:function(){return P}});var r,i,o,a,s=n(52676),l=n(75271),u=n(52166),c=n(25794),d=n(65819);(r=o||(o={})).INIT="INIT",r.SUBSCRIBE="SUBSCRIBE",r.UNSUBSCRIBE="UNSUBSCRIBE",r.DISCONNECT="DISCONNECT",r.REINITIALIZE="REINITIALIZE",(i=a||(a={})).CONNECTED="CONNECTED",i.DISCONNECTED="DISCONNECTED",i.RECONNECTING="RECONNECTING",i.OFFLINE="OFFLINE",i.MESSAGE="MESSAGE",i.ERROR="ERROR",i.SUBSCRIBED="SUBSCRIBED",i.UNSUBSCRIBED="UNSUBSCRIBED";var f=n(27340);let h=()=>{let e=(0,d.ZP)(e=>e.isLogin),t=(0,d.ZP)(e=>{var t;return null===(t=e.userInfo)||void 0===t?void 0:t.uid}),r=(0,d.ZP)(e=>{var t;return null===(t=e.userInfo)||void 0===t?void 0:t.user_org_member}),i=r?`${r.org.org_id},${r.org_member.member_id}`:t,s=(0,c.Nh)(),[h,p]=(0,l.useState)(),[m,g]=(0,l.useState)(),[_,v]=(0,l.useState)(0),[y,b]=(0,l.useState)(!1),[w,E]=(0,l.useState)(!1),[C,x]=(0,l.useState)(),[T,S]=(0,l.useState)(new Set),k=(0,l.useRef)(),A=(0,l.useRef)(),L=(0,l.useRef)(new Map),I=(0,l.useRef)(new Set),O=(0,l.useRef)(new WeakSet),P=(0,l.useCallback)((e,t)=>{if(!(0,f.Bj)(e))return()=>{};let n={id:e,initial:t,owner:Symbol()};return p(n),()=>p(e=>(null==e?void 0:e.owner)===n.owner?void 0:e)},[]),j=(0,l.useCallback)(e=>{if(!(0,f.Bj)(e))return()=>{};let t={id:e,owner:Symbol()};return g(t),()=>g(e=>(null==e?void 0:e.owner)===t.owner?void 0:e)},[]),R=(0,l.useCallback)(()=>v(e=>e+1),[]);return(0,l.useEffect)(()=>{let t,r;if(b(!1),E(!1),x(void 0),S(new Set),L.current.clear(),!h&&!m||void 0===e||e&&!i)return;let l=!1,c={livedoc_id:null==h?void 0:h.id,follow_id:null==m?void 0:m.id},d=null==h?void 0:h.initial,p=d&&!O.current.has(d)&&d.livedoc_id===c.livedoc_id&&!c.follow_id&&1e3*d.expires_at>Date.now()+3e4&&(e?d.username===i:!s);return d&&O.current.add(d),(async()=>{try{let e=p?d:await (0,u.Qe)(c);if(l)return;if(!e||(e.livedoc_id??void 0)!==c.livedoc_id||(e.follow_id??void 0)!==c.follow_id){E(!0);return}
17t=new Worker(n.tu(new URL(n.p+n.u(16975),n.b)),{type:void 0}),k.current=t,A.current=e,x(e),t.onmessage=t=>{if(l)return;let n=t.data;switch(n.type){case a.CONNECTED:b(!0),E(!1);break;case a.DISCONNECTED:case a.OFFLINE:b(!1),E(!0),S(new Set);break;case a.SUBSCRIBED:S(e=>new Set(e).add(n.payload.topic));break;case a.UNSUBSCRIBED:S(e=>{let t=new Set(e);return t.delete(n.payload.topic),t});break;case a.MESSAGE:if(!(0,f.Vy)(e,n.payload.topic))return;for(let e of I.current)Promise.resolve().then(()=>{if(!l&&I.current.has(e))return e(n.payload.topic,n.payload.message)}).catch(()=>console.error("MQTT_MESSAGE_HANDLER_FAILED"));break;case a.ERROR:E(!0),console.error("MQTT_CONNECTION_FAILED")}},t.onerror=()=>{l||(b(!1),E(!0))},t.postMessage({type:o.INIT,payload:e}),r=setTimeout(R,Math.max(1e3,1e3*e.expires_at-Date.now()-3e4))}catch{l||(E(!0),console.error("MQTT_AUTH_UNAVAILABLE"))}})(),()=>{l=!0,clearTimeout(r),null==t||t.postMessage({type:o.DISCONNECT}),null==t||t.terminate(),k.current===t&&(k.current=void 0,A.current=void 0)}},[h,m,e,i,s,_,R]),{isConnected:y,connectionError:w,connectionInfo:C,subscribedTopics:T,acquireCanvas:P,acquirePresentation:j,reinitialize:R,subscribe:(0,l.useCallback)(e=>{let t=A.current;if(!t||!(0,f.Rs)(t,e))return;let n=L.current.get(e)??0;if(L.current.set(e,n+1),!n&&!t.sub_topics.includes(e)){var r;null===(r=k.current)||void 0===r||r.postMessage({type:o.SUBSCRIBE,payload:{topic:e}})}},[]),unsubscribe:(0,l.useCallback)(e=>{var t,n;let r=L.current.get(e)??0;if(r>1){L.current.set(e,r-1);return}L.current.delete(e),!r||(null===(t=A.current)||void 0===t?void 0:t.sub_topics.includes(e))||null===(n=k.current)||void 0===n||n.postMessage({type:o.UNSUBSCRIBE,payload:{topic:e}})},[]),onMessage:(0,l.useCallback)(e=>(I.current.add(e),()=>{I.current.delete(e)}),[])}};var p=n(34778);let m=e=>{let{children:t}=e,n=h();return(0,s.jsx)(p.M.Provider,{value:n,children:t})};var g=n(7717),_=n(55413),v=n(72070),y=n.n(v),b=n(20434),w=n(94821),E=n(25010),C=e=>{let{hasError:t,onRetry:n}=e,r=(0,g.useTranslations)(),{progress:i}=(0,w.j)({interval:50,manual:t});return(0,s.jsx)("div",{className:"fixed inset-0 z-30 flex bg-felo-bg-page dark:bg-felo-bg-page-dark",children:(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center max-w-80 m-auto gap-8",children:[(0,s.jsx)(y(),{src:"/icon.svg",width:64,height:64,alt:"Felo"}),t?(0,s.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[(0,s.jsx)("p",{role:"alert",className:"text-sm text-red-500",children:r("error.network_error")}),(0,s.jsx)(E.z,{onClick:n,children:r("livedoc.failed_retry_btn")})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{role:"status",className:"sr-only",children:r("livedoc.loading")}),(0,s.jsx)(b.E,{"aria-label":r("livedoc.loading"),indicatorClassName:"bg-gradient-to-br from-[#0080FF] to-[#9A4DFF]",value:i,className:"h-3.5"})]})]})})},x=n(43150),T=n(98952),S=n(59850),k=n(14950),A=n(84878),L=n(60161);let I=e=>{var t;let{liveDocData:n,initialConnection:r,children:i}=e,o=(0,g.useTranslations)(),a=null==n?void 0:n.short_id,[u,c]=(0,l.useState)("waiting"),{isConnected:f,connectionError:h,reinitialize:m,connectionInfo:v,acquireCanvas:y,subscribedTopics:b,subscribe:w,unsubscribe:E,onMessage:I}=(0,l.useContext)(p.M),{fetchOnlineUsers:O,updateOnlineUsersFromMqtt:P,updateResourcesOnlineUsersFromMqtt:j,setUser:R,removeUser:M,reset:N}=(0,x.Z)(),{setIsOpenPermissionChangeModal:D,setPermissionChangeRole:H}=(0,k.Z)(),F=(0,A.ZP)(e=>e.liveDocId),U=(0,d.ZP)(e=>e.userInfo),V=(0,l.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.permission)||void 0===e?void 0:e.role)||null},[null==n?void 0:null===(t=n.permission)||void 0===t?void 0:t.role]),G=(0,l.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.permission)||void 0===e?void 0:e.can_write)||!1},[null==n?void 0:n.permission]),B=(0,l.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.permission)||void 0===e?void 0:e.can_read)||!1},[null==n?void 0:n.permission]),z=(0,l.useMemo)(()=>V===S.Em.OWNER,[V]),$=(0,l.useMemo)(()=>V===S.Em.COLLABORATOR,[V]),Z=(0,l.useMemo)(()=>V===S.Em.VIEWER,[V]),W=(0,l.useMemo)(()=>`a/livedoc/${a}`,[a]),Y=(0,l.useMemo)(()=>`a/livedoc/${a}`,[a]),X=!!a&&f&&(null==v?void 0:v.livedoc_id)===a&&b.has(W);(0,l.useEffect)(()=>{X&&c("ready")},[X]),(0,l.useEffect)(()=>
17{if("waiting"!==u||h)return;let e=setTimeout(()=>{c(e=>"waiting"===e?"timeout":e)},3e4);return()=>clearTimeout(e)},[u,h]);let J=()=>{"timeout"===u&&c("waiting"),m()},q=B&&!!a&&"ready"!==u;(0,l.useEffect)(()=>{if(a&&B)return y(a,r)},[a,B,r,y]),(0,l.useEffect)(()=>{if(f&&a&&(null==v?void 0:v.livedoc_id)===a)return w(W),()=>{E(W),N()}},[f,v,a,W,w,E,N]),(0,l.useEffect)(()=>{X&&a&&O(a)},[X,a,O]),(0,l.useEffect)(()=>{if(!X)return;let e=I((e,t)=>{if(e===Y)try{let e=JSON.parse(t);if(!e.data||!e.data.type)return;let{type:i,data:o}=e.data;if(i===T.z6.ONLINE_USERS_UPDATE){let e=o.notify_type;switch(e){case"livedoc":if(o.users&&Array.isArray(o.users)){var n,r;P(o.users),null===(n=(r=window).clarity)||void 0===n||n.call(r,"event",L.U.LIVEDOC_ONLINE_USERS_UPDATE)}break;case"livedoc_resource":o.resources&&Array.isArray(o.resources)&&j(o.resources);break;default:console.warn("[MqttLiveDocCollaborationProvider] æªç¥ç notify_type:",e)}}i===T.z6.PERMISSION_CHANGE&&F===(null==o?void 0:o.businessId)&&(null==U?void 0:U.uid)===(null==o?void 0:o.userId)&&(D(!0),H((null==o?void 0:o.currentRole)||""))}catch(e){console.error("[MqttLiveDocCollaborationProvider] å使¶æ¯è§£æå¤±è´¥:",e)}});return()=>{e()}},[X,Y,I,P,j,R,M,F,U,D,H]);let K=(0,l.useMemo)(()=>({liveDocShortId:a,receiveTopic:Y,isSubscribed:X,userRole:V,canWrite:G,canRead:B,isOwner:z,isCollaborator:$,isViewer:Z}),[a,Y,X,V,G,B,z,$,Z]);return(0,s.jsxs)(_.p.Provider,{value:K,children:[q?(0,s.jsx)(C,{hasError:h||"timeout"===u,onRetry:J}):i,!q&&B&&h&&(0,s.jsxs)("div",{role:"status",className:"absolute bottom-4 right-4 z-40 flex gap-3 rounded border bg-white p-3 text-sm text-gray-800 shadow dark:bg-gray-900 dark:text-gray-100",children:[(0,s.jsx)("span",{children:o("error.network_error")}),(0,s.jsx)("button",{type:"button",className:"underline",onClick:J,children:o("livedoc.failed_retry_btn")})]})]})},O=(0,l.createContext)(void 0),P=()=>{let e=(0,l.useContext)(O);return void 0===e?{onlineUsers:[],editingUser:null,canEdit:!0}:e};var j=n(29793);let R=e=>{let{resourceKey:t,children:n}=e,{canWrite:r,liveDocShortId:i}=(0,_.R)(),o=(0,d.ZP)(e=>{var t;return null===(t=e.userInfo)||void 0===t?void 0:t.uid}),{isConnected:a,connectionInfo:u,subscribedTopics:c,subscribe:h,unsubscribe:m,onMessage:g}=(0,l.useContext)(p.M),[v,y]=(0,l.useState)([]),b=i&&(0,f.Bj)(t)?`a/livedoc/${i}/resources/${t}`:"",w=c.has(b);(0,l.useEffect)(()=>{if(y([]),a&&r&&b&&(null==u?void 0:u.livedoc_id)===i)return h(b),()=>m(b)},[a,u,r,b,i,h,m]),(0,l.useEffect)(()=>{if(!w||!i)return;let e=!0,n=!1,r=g((t,r)=>{if(t===b&&e)try{var i,o;let e=null===(i=JSON.parse(r))||void 0===i?void 0:i.data;(null==e?void 0:e.type)===T.z6.ONLINE_USERS_UPDATE&&Array.isArray(null===(o=e.data)||void 0===o?void 0:o.users)&&(n=!0,y(e.data.users))}catch{console.error("MQTT_RESOURCE_MESSAGE_INVALID")}});return(0,j.V)(t,i).then(t=>{e&&!n&&y(t)}).catch(()=>console.error("RESOURCE_PRESENCE_UNAVAILABLE")),()=>{e=!1,r()}},[w,i,t,b,g]);let E=w&&r?v[0]:void 0,C=E&&E.uid!==o?E:null;return(0,s.jsx)(O.Provider,{value:{onlineUsers:v,editingUser:C,canEdit:!C},children:n})}},34778:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r=(0,n(75271).createContext)({isConnected:!1,connectionError:!1,acquireCanvas:()=>()=>{},acquirePresentation:()=>()=>{},subscribedTopics:new Set,reinitialize:()=>{},connectionInfo:void 0,subscribe:()=>{},unsubscribe:()=>{},onMessage:()=>()=>{}})},55413:function(e,t,n){"use strict";n.d(t,{R:function(){return o},p:function(){return i}});var r=n(75271);let i=(0,r.createContext)(void 0),o=()=>{let e=(0,r.useContext)(i);return void 0===e?{receiveTopic:"",isSubscribed:!1,userRole:null,canWrite:!1,canRead:!1,isOwner:!1,isCollaborator:!1,isViewer:!1}:e}},27340:function(e,t,n){"use strict";n.d(t,{Bj:function(){return r},Rs:function(){return i},Vy:function(){return o}});let r=e=>/^[A-Za-z0-9_-]{1,128}$/.test(e);function i(e,t){if(e.sub_topics.includes(t))return!0;let n=`a/livedoc/${e.livedoc_id}/resources/`;return!!e.livedoc_id&&t.startsWith(n)&&r(t.slice(n.length))&&e.allowed_sub_topics.includes(`${n}#`)}function o(e,t){if(i(e,t))return!0;let n=`a/user/${e.username}/`;return e.sub_topics.includes(`${n}#`)&&t.startsWith(n)}},38363:function(e,t,n){"use strict";n.d(t,{W:function(){return s},q:function(){return l}});
17var r=n(52676),i=n(75271),o=n(79281);let a=(0,i.createContext)(null),s=e=>{let{children:t}=e,n=(0,o.$)();return(0,r.jsx)(a.Provider,{value:n,children:t})},l=()=>{let e=(0,i.useContext)(a);if(!e)throw Error("usePerformance must be used inside the PerformanceProvider");return e}},79281:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(75271);let i=()=>{let e=(0,r.useRef)([]),t=(0,r.useCallback)((t,n)=>{let r=e.current.find(e=>e.id===n);if(r&&!r[t])r[t]=Date.now();else{let r={id:n,startSearchTime:0,requestStartTime:0,mqttRequestStartTime:0,threadTypeTime:0,firstSourcesTime:0,queryRewriterTime:0,secondSourcesTime:0,getResultTime:0,getMqttResultTime:0,[t]:Date.now()};e.current.push(r)}},[]);return{startTimer:t,resetTimers:(0,r.useCallback)(()=>{e.current=[]},[]),getSingleMetric:(0,r.useCallback)((t,n)=>{var r;return(null===(r=e.current.find(e=>e.id===n))||void 0===r?void 0:r[t])||0},[]),getMetrics:(0,r.useCallback)(t=>e.current.find(e=>e.id===t),[])}}},81492:function(e,t,n){"use strict";n.d(t,{AA:function(){return f},U:function(){return p},a1:function(){return d},g$:function(){return h},iJ:function(){return m},oC:function(){return g},u9:function(){return c}});var r=n(25794),i=n(27976),o=n(97247),a=n(5517),s=n(36716);let l=i.vA,u=()=>({Authorization:(0,r.Nh)()||""}),c=e=>{let t=new URLSearchParams({source:"GOOGLE"});return Object.keys(e).forEach(n=>{e[n]&&t.set(n,e[n])}),(0,a.Z)(`${l}/api/oauth.app.authorize?${t.toString()}`,{headers:{...u()}}).then(e=>e.json())},d=e=>{let t=new URLSearchParams;return Object.keys(e).forEach(n=>{e[n]&&t.set(n,e[n])}),(0,a.Z)(`${l}/api/oauth.app.login?${t.toString()}`,{headers:{...u()}}).then(e=>e.json())},f=(e,t)=>{if(!(0,o.N0)())return null;let n=new URLSearchParams;return void 0!==t&&n.set("anonymous_pro",t.toString()),(0,a.Z)(`${i.XJ}/user/device/${e}?${n.toString()}`).then(e=>e.json())},h=e=>(0,a.Z)(`${l}/api/user/invitation/bind`,{method:"POST",body:JSON.stringify(e),headers:{...u()}}).then(e=>e.json());function p(e){let t=new URLSearchParams({app_id:e.appId,client_type:e.clientType});return(0,a.Z)(`${l}/api/registration/policy?${t.toString()}`,{method:"GET",headers:{...u()}}).then(e=>e.json())}let m=()=>{let e=s.Z.getState().tempToken||"";return e||(e=(0,r.Nh)()||""),(0,a.Z)(`${l}/api/user/totp/query`,{method:"GET",headers:{Authorization:e}}).then(e=>e.json())},g=e=>{let t=new URLSearchParams({code:e}),n=s.Z.getState().tempToken||"";return n||(n=(0,r.Nh)()||""),(0,a.Z)(`${l}/api/user/totp/verify?${t.toString()}`,{method:"GET",headers:{Authorization:n}}).then(e=>e.json())}},87106:function(e,t,n){"use strict";n.d(t,{EK:function(){return C},Ef:function(){return _},GK:function(){return c},P:function(){return u},RV:function(){return p},VN:function(){return l},Vk:function(){return w},WN:function(){return E},YX:function(){return d},ZR:function(){return v},_Z:function(){return h},hJ:function(){return y},hX:function(){return f},hi:function(){return m},iw:function(){return b},qP:function(){return g}});var r=n(27976),i=n(52166),o=n(65819),a=n(13263),s=n(5517);let l=async e=>{try{let t=(0,i.a1)(),n=await (0,s.Z)(`${r.XJ}/threads/templates/${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}});if(!n.ok){let e=await n.json().catch(()=>({}));return{success:!1,error:e.message||"failed to get template",code:n.status,detail:e.detail}}let o=await n.json();return{success:!0,data:o}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to get template",code:500}}},u=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let t=(0,i.a1)(),n=new URLSearchParams({system:(e.system??!0).toString(),language:e.language??"en",from_org:((null==e?void 0:e.from_org)??!1).toString()}),o=await (0,s.Z)(`${r.XJ}/threads/templates?${n}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}});if(!o.ok){let e=await o.json().catch(()=>({}));return{success:!1,error:e.message||"failed to get templates",code:o.status}}let a=await o.json();return{success:!0,data:a}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to get templates",code:500}}},c=async(e,t)=>{try{let n=(0,i.a1)(),o=await (0,s.Z)(`${r.XJ}/threads/templates/${e}/plan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify(t)});if(!o.ok){let e=await o.json().catch(()=>({}));if(422===o.status)return{success:!1,error:e.message||"failed to validate params",code:o.status};return{success:!1,error:e.message||"failed to get template plan",code:o.status}}let a=await o.json();return{success:!0,data:a}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to get template plan",code:500}}},d=async e=>{try{let t=(0,i.a1)(),n=await (0,s.Z)(`${r.XJ}/threads/templates`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)});if(!n.ok){let e=await n.json().catch(()=>({}
17)),t="string"==typeof e.detail?e.detail:void 0;if(422===n.status)return{success:!1,error:t||e.message||"failed to validate params",code:n.status,detail:e.detail};return{success:!1,error:t||e.message||"failed to create template",code:n.status,detail:e.detail}}let o=await n.json();return{success:!0,data:o}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to create template",code:500}}},f=async e=>{try{let t=(0,i.a1)(),n=await (0,s.Z)(`${r.XJ}/threads/templates`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({short_ids:e})});if(!n.ok){let e=await n.json().catch(()=>({}));if(422===n.status)return{success:!1,error:e.message||"failed to validate params",code:n.status};return{success:!1,error:e.message||"failed to delete templates",code:n.status}}return{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to delete templates",code:500}}},h=async e=>{try{let t=(0,i.a1)(),{short_id:n,...o}=e,a=await (0,s.Z)(`${r.XJ}/threads/templates/${n}`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(o)});if(!a.ok){let e=await a.json().catch(()=>({}));if(422===a.status)return{success:!1,error:e.message||"failed to validate params",code:a.status};return{success:!1,error:e.message||"failed to update template",code:a.status}}let l=await a.json();return{success:!0,data:l}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to update template",code:500}}},p=async e=>{try{let t=(0,i.a1)(),n=await (0,s.Z)(`${r.XJ}/threads/templates/generate`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)});if(!n.ok){let e=await n.json().catch(()=>({}));if(422===n.status)return{success:!1,error:e.message||"failed to validate params",code:n.status};return{success:!1,error:e.message||"failed to generate template",code:n.status}}let o=await n.json();return{success:!0,data:o}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to generate template",code:500}}},m=async e=>{try{let t=(0,i.a1)(),n=await (0,s.Z)(`${r.XJ}/threads/templates/${e}/resources?`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}});if(!n.ok){let e=await n.json().catch(()=>({}));return{success:!1,error:e.message||"failed to get template topic",code:n.status}}let o=await n.json();return{success:!0,data:o}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to get templates",code:500}}},g=async e=>{var t,n,i;let l=(0,a.LP)();return(0,s.Z)(`${r.QT}/sharePermission/update`,{headers:{"Content-Type":"application/json",Authorization:`${l}`},body:JSON.stringify({business_id:e.agent_id,read_permission:e.read_permission,business_type:"AGENT",org_id:"PARTIAL_PUBLIC"===e.read_permission?null===(i=o.ZP.getState().userInfo)||void 0===i?void 0:null===(n=i.user_org_member)||void 0===n?void 0:null===(t=n.org)||void 0===t?void 0:t.org_id:null,access_emails:null==e?void 0:e.access_emails}),method:"POST"}).then(async e=>await e.json()).catch(e=>{})},_=async e=>{let{topic_short_id:t}=e,n=(0,a.LP)();return(0,s.Z)(`${r.XJ}/threads/templates/${t}/org_shares`,{headers:{"Content-Type":"application/json",Authorization:`${n}`},method:"POST"}).then(async e=>!![200,204].includes(e.status)).catch(()=>!1)},v=async e=>{let{topic_short_id:t}=e,n=(0,a.LP)();return(0,s.Z)(`${r.XJ}/threads/templates/${t}/org_shares`,{headers:{"Content-Type":"application/json",Authorization:`${n}`},method:"DELETE"}).then(async e=>!![200,204].includes(e.status)).catch(()=>!1)},y=async e=>{let{short_id:t}=e,n=(0,a.LP)();return(0,s.Z)(`${r.XJ}/threads/templates/${t}/virtual_org_shares`,{headers:{"Content-Type":"application/json",Authorization:`${n}`},method:"POST"}).then(async e=>!![200,204].includes(e.status)).catch(()=>!1)},b=async e=>{let{short_id:t}=e,n=(0,a.LP)();return(0,s.Z)(`${r.XJ}/threads/templates/${t}/virtual_org_shares`,{headers:{"Content-Type":"application/json",Authorization:`${n}`},method:"DELETE"}).then(async e=>!![200,204].includes(e.status)).catch(()=>!1)},w=async(e,t)=>{try{let n=(0,i.a1)(),o=await (0,s.Z)(`${r.XJ}/threads/templates/render_info?lang=${e}&code=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}});
17if(!o.ok)return{success:!1,code:500};let a=await o.json();return{success:!0,data:a}}catch(e){return{success:!1,code:500}}},E=async(e,t)=>{try{let n=(0,i.a1)(),o=await (0,s.Z)(`${r.XJ}/threads/templates/${e}/save_user_tool_selections`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({tools:t})});if(!o.ok){let e=await o.json().catch(()=>({}));return{success:!1,error:e.message||"failed to save tool selections",code:o.status,detail:e.detail}}return{success:!0,data:void 0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"failed to save tool selections",code:500}}},C=async e=>{try{let t=(0,i.a1)(),n=new FormData;n.append("file",e);let o=await (0,s.Z)(`${r.XJ}/threads/templates/upload-image`,{method:"POST",headers:{Authorization:`${t}`},body:n});if(!o.ok)return{error:"upload failed"};let a=await o.json();return{data:(null==a?void 0:a.data)||(null==a?void 0:a.url)}}catch{return{error:"upload failed"}}}},97682:function(e,t,n){"use strict";n.d(t,{D:function(){return a},b:function(){return s}});var r=n(65819),i=n(27976),o=n(52166);let a=async(e,t)=>{let n=`${i.QT}/cloudwatch/report`;try{let r=(0,o.a1)(),i=await fetch(n,{method:"POST",headers:{Authorization:`${r}`,"Content-Type":"application/json"},body:JSON.stringify({cloud_watch_namespace_enum:"SEARCH_MAIN",time_stamp:new Date().getTime(),metric_name:e,value:t??"1"})});return 204===i.status}catch(e){return console.error("CloudWatch error:",e),!1}},s=async(e,t,n)=>{let a=(0,o.a1)(),s=`${i.XJ}/cloudwatch/report`,l=r.ZP.getState().userInfo;try{let r=await fetch(s,{method:"POST",headers:{Authorization:`${a}`,"Content-Type":"application/json"},body:JSON.stringify({time_stamp:(null==n?void 0:n.timestamp)??Date.now(),metric_name:e,user_id:l.uid,search_uuid:t,platform:"web"})});return 204===r.status}catch(e){return console.error("CloudWatch error:",e),Promise.reject(!1)}}},93086:function(e,t,n){"use strict";n.d(t,{Mg:function(){return u},NT:function(){return h},O0:function(){return m},O9:function(){return f},Re:function(){return s},ce:function(){return d},pb:function(){return l},sJ:function(){return c},ww:function(){return p}}),n(65819);var r=n(52166),i=n(25794);let o=n(27976).QT,a=()=>(0,r.a1)().replace("Bearer ",""),s=(e,t)=>{let n=a();return n?fetch(`${o}/checkout/${e}`,{method:"PUT",headers:{Authorization:n},body:JSON.stringify({receipt:t})}).then(async e=>{if(200!==e.status)return null;let t=await e.json();return t?t.data:null}):Promise.reject("")},l=e=>{let t=a();return t?fetch(`${o}/checkout/${e}`,{method:"DELETE",headers:{Authorization:t}}).then(async e=>{if(200!==e.status)return!1;let t=await e.json();return!!t&&t.data}):Promise.reject("")},u=e=>{let t=a();return t?fetch(`${o}/user/subscription/update`,{method:"PUT",headers:{Authorization:t},body:JSON.stringify(e)}).then(async e=>{if(200!==e.status)throw e;return(await e.json()).data.url}):Promise.reject(null)},c=()=>{let e=a();return e?fetch(`${o}/user/subscription/restore`,{method:"PUT",headers:{Authorization:e}}).then(async e=>(401===e.status&&(0,i.Ne)(),await e.json())):Promise.reject(null)},d=e=>{let t=a();return t?fetch(`${o}/user/subscription/redeem`,{method:"POST",headers:{Authorization:t},body:JSON.stringify(e)}).then(async e=>(401===e.status&&(0,i.Ne)(),await e.json())):Promise.reject(null)},f=e=>{let t=a();return t?fetch(`${o}/checkout/completed.third`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify({token:e})}).then(async e=>{401===e.status&&(0,i.Ne)();let t=await e.json();return{status:e.status,...t}}):Promise.reject(null)},h=()=>{let e=a();return e?fetch(`${o}/user/plan`,{method:"GET",headers:{Authorization:e}}).then(async e=>{var t,n,r,o,a,s,l,u,c,d,f,h,p,m;if(401===e.status&&(0,i.Ne)(),200!==e.status)return null;let g=await e.json();return{currency:g.data.currency,subscriptions:g.data.subscription,used:g.data.user_product_total.find(e=>{var t;return(null==g?void 0:null===(t=g.data)||void 0===t?void 0:t.level)==="felo_search_search_only"?"FELO_SEARCH_ONLY"===e.product_item_type:"FELO_SEARCH_QUERIES"===e.product_item_type}
17),pptUsage:g.data.user_product_total.find(e=>"FELO_SEARCH_PPT_COUNTS"===e.product_item_type),chatDocumentsUsage:null===(t=g.data.user_product_total)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_ATTACHMENTS_COUNTS"),voiceNoteUsage:null==g?void 0:null===(r=g.data)||void 0===r?void 0:null===(n=r.user_product_total)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_TRANSCRIPTION_DURATIONS"),topicFileUsage:null==g?void 0:null===(a=g.data)||void 0===a?void 0:null===(o=a.user_product_total)||void 0===o?void 0:o.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_TOPIC_FILES"),level:null==g?void 0:null===(s=g.data)||void 0===s?void 0:s.level,pointsUsage:null==g?void 0:null===(u=g.data)||void 0===u?void 0:null===(l=u.user_product_total)||void 0===l?void 0:l.find(e=>"FELO_SEARCH_POINTS"===e.product_item_type),pointsEnterpriseUsage:null==g?void 0:null===(d=g.data)||void 0===d?void 0:null===(c=d.org_user_product_total)||void 0===c?void 0:c.find(e=>"FELO_SEARCH_POINTS"===e.product_item_type),subscriptionResetsDaily:null==g?void 0:null===(h=g.data)||void 0===h?void 0:null===(f=h.subscription_resets)||void 0===f?void 0:f.find(e=>"DAILY"===e.reset_period),subscriptionResetsMonthly:null==g?void 0:null===(m=g.data)||void 0===m?void 0:null===(p=m.subscription_resets)||void 0===p?void 0:p.find(e=>"MONTHLY"===e.reset_period)}}):Promise.resolve(null)},p=async()=>{let e=a();return e?fetch(`${o}/user/plan/total/list`,{method:"GET",headers:{Authorization:e}}).then(async e=>{if(401===e.status&&(0,i.Ne)(),200!==e.status)return null;try{var t,n,r,o,a,s,l,u,c;let i=await e.json();return{used:i.data.user_product_total.find(e=>{var t;return(null==i?void 0:null===(t=i.data)||void 0===t?void 0:t.level)==="felo_search_search_only"?"FELO_SEARCH_ONLY"===e.product_item_type:"FELO_SEARCH_QUERIES"===e.product_item_type}),pptUsage:i.data.user_product_total.find(e=>"FELO_SEARCH_PPT_COUNTS"===e.product_item_type),chatDocumentsUsage:null===(t=i.data.user_product_total)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_ATTACHMENTS_COUNTS"),voiceNoteUsage:null==i?void 0:null===(r=i.data)||void 0===r?void 0:null===(n=r.user_product_total)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_TRANSCRIPTION_DURATIONS"),topicFileUsage:null==i?void 0:null===(a=i.data)||void 0===a?void 0:null===(o=a.user_product_total)||void 0===o?void 0:o.find(e=>(null==e?void 0:e.product_item_type)==="FELO_SEARCH_TOPIC_FILES"),pointsUsage:null==i?void 0:null===(l=i.data)||void 0===l?void 0:null===(s=l.user_product_total)||void 0===s?void 0:s.find(e=>"FELO_SEARCH_POINTS"===e.product_item_type),pointsEnterpriseUsage:null==i?void 0:null===(c=i.data)||void 0===c?void 0:null===(u=c.org_user_product_total)||void 0===u?void 0:u.find(e=>"FELO_SEARCH_POINTS"===e.product_item_type)}}catch(e){return null}}):Promise.resolve(null)},m=e=>e?fetch(`${o}/checkout/completed.third.check`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:e},body:JSON.stringify({token:e})}).then(async e=>await e.json()):Promise.resolve(null)},29793:function(e,t,n){"use strict";n.d(t,{V:function(){return s},g:function(){return a}});var r=n(27976),i=n(5517),o=n(52166);let a=e=>{let t=(0,o.a1)();return(0,i.Z)(`${r.XJ}/livedocs/${e}/status`,{method:"GET",headers:{Authorization:`${t}`}}).then(async e=>200!==e.status?Promise.reject(e):await e.json())},s=(e,t)=>{let n=(0,o.a1)();return(0,i.Z)(`${r.XJ}/livedocs/resources/${encodeURIComponent(e)}/users/online?livedoc_id=${encodeURIComponent(t)}`,{method:"GET",headers:{Authorization:`${n}`}}).then(async e=>200!==e.status?Promise.reject(e):(await e.json()).users)}},65856:function(e,t,n){"use strict";n.d(t,{Dv:function(){return s},d8:function(){return u},iN:function(){return o},jK:function(){return l},sI:function(){return a},zO:function(){return c}});var r=n(27976),i=n(13263);let o=e=>fetch(`${r.QT}/user/activity/participation/create?activity_id=${e.activity_id}`,{method:"POST",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e),a=e=>fetch(`${r.QT}/user/activity/participation/query?activity_id=${e}`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e),s=e=>fetch(`${r.QT}/activity/query?activity_id=${e}`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e),l=()=>fetch(`${r.QT}/invitation/activity/records`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e),u=()=>fetch(`${r.QT}/invitation/activity/query`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e),c=()=>fetch(`${r.QT}/invitation/activity/reward`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e)},68605:function(e,t,n){"use strict";n.d(t,{$p:function(){return es},Ax:function(){return p},BH:function(){return h},CL:function(){return V},EO:function(){return ei},FD:function(){return m},FK:function(){return Z},HU:function(){return s},IF:function(){return O},IT:function(){return u},J4:function(){return S},JL:function(){return I},JS:function(){return j},KL:function(){return U},LL:function(){return L},Ob:function(){return y},P:function(){return P},PO:function(){return ee},Q7:function(){return _},RA:function(){return $},Rp:function(){return v},S1:function(){return T},S2:function(){return z},TZ:function(){return el},UB:function(){return er}
17,UM:function(){return G},Uh:function(){return F},WZ:function(){return M},XW:function(){return et},YB:function(){return R},Zt:function(){return C},_y:function(){return Y},bT:function(){return W},dC:function(){return g},dt:function(){return N},fA:function(){return c},j:function(){return en},jL:function(){return a},jW:function(){return Q},ji:function(){return x},kU:function(){return K},mH:function(){return o},mR:function(){return eo},mj:function(){return q},mq:function(){return E},n5:function(){return X},nK:function(){return l},nx:function(){return k},p$:function(){return J},pE:function(){return ea},rX:function(){return B},s2:function(){return b},sb:function(){return d},v:function(){return f},vy:function(){return H},y:function(){return w},yG:function(){return D},z8:function(){return A}});var r=n(27976),i=n(13263);let o=async()=>{try{let e=await fetch(`${r.QT}/domain/org`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json(),n=null==t?void 0:t.data;if(!n)return null;return{domain:n.domain,enterpriseDomain:n.enterprise_domain,registerEnabled:n.register_enabled,subDomain:n.sub_domain}}catch(e){return null}},a=async()=>{let e=(0,i.LP)();return fetch(`${r.QT}/userOrg/detail`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},s=async e=>{let{name:t,description:n,avatar:o}=e;if(!t)return null;let a=(0,i.LP)();try{return fetch(`${r.QT}/org/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${a}`},body:JSON.stringify({name:t,avatar:o,description:n})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})}catch(e){return null}},l=async e=>{let{file:t}=e;if(!t)return null;let n=(0,i.LP)(),o=new FormData;o.append("file",t);try{return fetch(`${r.QT}/org/uploadImage`,{method:"POST",headers:{Authorization:`${n}`},body:o}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})}catch(e){return null}},u=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(0,i.LP)();return fetch(`${r.QT}/org/member/pageList?current=${e}&size=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},c=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/invitation/invitationByEmail`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({email:e})}).then(async e=>await e.json())},d=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/member/setAdmin`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({member_id:e})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():null)},f=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/member/remove`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({member_id:e})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():null)},h=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/member/removeAdmin`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({member_id:e})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():null)},p=async(e,t)=>{let n=(0,i.LP)();return fetch(`${r.QT}/org/invitation/acceptByToken`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({token:e,org_id:t})}).then(async e=>await e.json())},m=async(e,t)=>{let n=(0,i.LP)();return fetch(`${r.QT}/org/invitation/rejectByToken`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({token:e,org_id:t})}).then(async e=>await e.json())},g=async()=>{let e=(0,i.LP)();try{return fetch(`${r.QT}/userOrg/detail`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})}catch(e){return null}},_=async e=>{let{org_id:t,name:n,description:o,avatar:a}=e;if(!n)return null;let s=(0,i.LP)();try{return fetch(`${r.QT}/org/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},body:JSON.stringify({org_id:t,name:n,avatar:a,description:o})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})}catch(e){return null}},v=async()=>{let e=(0,i.LP)();try{return fetch(`${r.QT}/org/member/leave`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.code)==="OK"})}catch(e){return!1}},y=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(0,i.LP)();return fetch(`${r.QT}/org/member/invitePageList?current=${e}&size=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},b=async(e,t)=>{let n=(0,i.LP)();return fetch(`${r.QT}/org/invitationLink/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({id:e,status:t})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},w=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/invitationLink/generate`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({org_id:e})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},E=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/invitation/acceptByLink`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({uuid:e})}).then(async e=>await e.json())},C=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/invitationLink/query?uuid=${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},x=async(e,t)=>{let n=(0,i.LP)();return fetch(`${r.QT}/org/invitation/queryToken?token=${e}&org_id=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},T=async()=>{let e=(0,i.LP)();try{return fetch(`${r.QT}/org/dissolved`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.code)==="OK"})}catch(e){return!1}},S=async e=>{let{id:t}=e,n=(0,i.LP)();try{return fetch(`${r.QT}/org/seat/bind`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({member_id:t})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.code)==="OK"})}catch(e){return!1}},k=async()=>{let e=(0,i.LP)();return fetch(`${r.QT}/org/product/list`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>200!==e.status?null:await e.json())},A=e=>{let t=(0,i.LP)();return t?fetch(`${r.QT}/org/subscription/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)}).then(async e=>200!==e.status?"":await e.json()):Promise.reject(null)},L=async e=>{let{id:t}=e,n=(0,i.LP)();try{return fetch(`${r.QT}/org/seat/unbind`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({member_id:t})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.code)==="OK"})}catch(e){return!1}},I=async()=>{let e=(0,i.LP)();try{return fetch(`${r.QT}/userOrg/subscription`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return(null==t?void 0:t.data)||null})}catch(e){return null}},O=async e=>{let t=(0,i.LP)(),n=new URLSearchParams(e);try{return fetch(`${r.QT}/org/subscription/portal?${n}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return"";let t=await e.json();return(null==t?void 0:t.data)||""})}catch(e){return""}},P=async e=>{let t=(0,i.LP)(),n=new URLSearchParams(e);try{return fetch(`${r.QT}/user/subscription/portal?${n}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return"";let t=await e.json();return(null==t?void 0:t.data)||""})}catch(e){return""}},j=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/invitationLink/queryByOrg?org_id=${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},R=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/settings/update`,{method:"POST",body:JSON.stringify({share_permission_config:e}),headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},M=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/sso/domain/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({domain:e})}).then(async e=>await e.json())},N=async()=>{let e=(0,i.LP)();return fetch(`${r.QT}/org/sso/domain/verify`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>await e.json())},D=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/sso/saml/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({metadata:e})}).then(async e=>await e.json())},H=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/sso/domain/update`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({domain:e})}).then(async e=>await e.json())},F=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/sso/enable`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({enabled:e})}).then(async e=>await e.json())},U=async e=>{let t=(0,i.LP)();return fetch(`${r.QT}/org/member/resetTotp`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({member_id:e})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():null)},V=async(e,t)=>{let n=e||(0,i.LP)();try{let e=await fetch(`${r.QT}/org/security/check`,{method:"POST",signal:t,headers:{"Content-Type":"application/json",Authorization:`${n}`}});if(!(null==e?void 0:e.ok)||200!==e.status)return null;return await e.json()}catch(e){return null}},G=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/settings/ip/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},B=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/settings/ip/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},z=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/settings/mfa/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({enabled:e})});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},$=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/settings/mfa/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({enabled:e})});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},Z=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/settings/security/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({security_config:{restrict_account_switch:e}})});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},W=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},Y=async()=>{let e=(0,i.LP)();try{let t=await fetch(`${r.QT}/virtual-group/list`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:e}});if(!(null==t?void 0:t.ok))return null;return await t.json()}catch(e){return null}},X=async()=>{let e=(0,i.LP)();try{let t=await fetch(`${r.QT}/virtual-group/joined`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:e}});if(!(null==t?void 0:t.ok))return null;return await t.json()}catch(e){return null}},J=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/members/add`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},q=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/members/remove`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},K=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/${e}`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:t}});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},Q=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(0,i.LP)();try{let i=await fetch(`${r.QT}/org/seat/page?current=${e}&size=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:n}});if(!(null==i?void 0:i.ok))return null;return await i.json()}catch(e){return null}},ee=async e=>{let t=(0,i.LP)();try{let n={start_time:e.startDate,end_time:e.endDate,email:e.email},i=new URLSearchParams;i.set("size",String(e.size)),e.cursor&&i.set("cursor",e.cursor);let o=await fetch(`${r.QT}/org/deduction/searchCursor?${i.toString()}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(n)});if(!(null==o?void 0:o.ok))return null;return await o.json()}catch(e){return null}},et=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/org/deduction/export/task/create`,{method:"POST",signal:e.signal,headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify({start_time:e.startDate,end_time:e.endDate,email:e.email})});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},en=async(e,t)=>{let n=(0,i.LP)();if(!e)return null;try{let i=await fetch(`${r.QT}/org/deduction/export/task/${encodeURIComponent(e)}
17`,{method:"GET",cache:"no-store",signal:t,headers:{"Content-Type":"application/json",Authorization:n}});if(!(null==i?void 0:i.ok))return null;return await i.json()}catch(e){return null}},er=async(e,t)=>{let n=(0,i.LP)();try{let i=await fetch(`${r.QT}/org/dashboard?size=10¤t=1${e?`&period_id=${e}`:""}${t?`&start=${t}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:n}});if(!(null==i?void 0:i.ok))return null;return await i.json()}catch(e){return null}},ei=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/resource/list?resourceType=${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:t}});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},eo=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/resource/groups?resourceId=${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:t}});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},ea=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/search?keyword=${encodeURIComponent(e)}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:t}});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},es=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/resource/share`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}},el=async e=>{let t=(0,i.LP)();try{let n=await fetch(`${r.QT}/virtual-group/resource/unshare`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:t},body:JSON.stringify(e)});if(!(null==n?void 0:n.ok))return null;return await n.json()}catch(e){return null}}},16054:function(e,t,n){"use strict";n.d(t,{Di:function(){return a},PD:function(){return o},un:function(){return s}});var r=n(27976),i=n(13263);let o=()=>{let e=(0,i.LP)();return fetch(`${r.QT}/user/plan/purchases?size=100¤t=1`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>200!==e.status?Promise.reject(e):await e.json()).catch(e=>e)},a=async e=>{let t=(0,i.LP)(),n=new URLSearchParams;n.set("size",String(e.size)),e.cursor&&n.set("cursor",e.cursor);let o=await fetch(`${r.QT}/user/plan/points/detail/cursor?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}});return(null==o?void 0:o.ok)&&200===o.status?await o.json():Promise.reject(o)},s=async e=>{let t=(0,i.LP)(),n=new URLSearchParams;n.set("size",String(e.size)),e.cursor&&n.set("cursor",e.cursor);let o=await fetch(`${r.QT}/user/plan/points/deduction/cursor?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}});return(null==o?void 0:o.ok)&&200===o.status?await o.json():Promise.reject(o)}},13263:function(e,t,n){"use strict";n.d(t,{$K:function(){return L},Fe:function(){return d},GP:function(){return _},HQ:function(){return l},KC:function(){return C},LP:function(){return u},M:function(){return S},Oq:function(){return O},Qx:function(){return k},Xs:function(){return g},Ys:function(){return E},_R:function(){return j},a5:function(){return p},bo:function(){return m},cU:function(){return A},d4:function(){return v},e7:function(){return y},jw:function(){return w},lC:function(){return P},mT:function(){return f},pK:function(){return x},pU:function(){return h},sI:function(){return T},wg:function(){return I},zC:function(){return b}});var r=n(65819),i=n(52166),o=n(25794);n(95174);var a=n(5517),s=n(22617);let l=n(27976).QT,u=()=>(0,i.a1)().replace("Bearer ","")||r.ZP.getState().anonymousToken,c=()=>(0,i.a1)().replace("Bearer ",""),d=()=>{let e=(0,o.Kd)(),t={Authorization:u()};return e&&(t["X-Visitor-Id"]=e),t},f=(e,t)=>(0,a.Z)(`${l}/message/share/${e}`,{method:"GET",signal:null==t?void 0:t.signal}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return t?t.data.url:""}),h=(e,t)=>(0,a.Z)(`${l}/mindmap/getByThread?thread_id=${e}`,{method:"GET",signal:null==t?void 0:t.signal}).then(async e=>200!==e.status?"":(await e.json()).data||[]),p=e=>(0,a.Z)(`${l}/search/getQuestion?keywords=${encodeURIComponent(e.keywords)}`).then(async e=>{if(200!==e.status)return[];let t=await e.json();return t?t.data:[]}),m=async(e,t)=>{try{let n=await (0,a.Z)(`${l}/scholar/article/translation/query?session_id=${t}&article_id=${e}`,{method:"GET",headers:{Authorization:u()}});if(200!==n.status)throw Error(`Error: ${n.status}`);let r=await n.json();return r?r.data:[]}catch(e){throw Error(`Error: ${e}`)}},g=async(e,t)=>(0,a.Z)(`${l}/social/postImage/batchUpload`,{method:"POST",body:JSON.stringify({image_list:e,platform:t})}).then(async e=>200===e.status),_=async(e,t)=>{try{let n=await (0,a.Z)(`${l}/social/postImage/batchQuery`,{method:"POST",body:JSON.stringify({postIds:e,platform:t})});if(200!==n.status&&404!==n.status)return[];let r=await n.json();return r?r.data:void 0}catch(e){return[]}},v=async e=>{try{let t=await (0,a.Z)(`${l}/search/tips`,{method:"POST",body:JSON.stringify(e)});if(200!==t.status&&404!==t.status)throw Error(`Error: ${t.status}`);let n=await t.json();return n?n.data:void 0}catch(e){throw Error(`Error: ${e}`)}},y=async()=>{try{let e=await (0,a.Z)(`${l}/user/invitation/code`,{method:"GET",headers:{Authorization:c()}});if(200!==e.status)throw Error(`Error: ${e.status}`);let t=await e.json();return t?t.data:void 0}catch(e){throw Error(`Error: ${e}`)}},b=async(e,t,n)=>{e.language=e.language.replace("-","_").toLocaleLowerCase();try{let r=await (0,a.Z)(`${l}/file/download`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(200!==r.status)throw Error(`Error: ${r.status}`);let i=await r.blob(),o=URL.createObjectURL(i),s=document.createElement("a");s.href=o,s.download=`${(null==n?void 0:n.slice(0,100))||"exported_file"}.${e.file_type.toLowerCase()}`,null==t||t(),document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o)}catch(e){throw null==t||t(),Error(`Error: ${e}`)}},w=async e=>{try{let t=await (0,a.Z)(`${l}/product/list${e?`?code=${e}`:""}`,{method:"GET",headers:{Authorization:c()}});if(200!==t.status)throw Error(`Error: ${t.status}`);let n=await t.json();return n?n.data:void 0}catch(e){throw Error(`Error: ${e}`)}},E=async e=>{try{let t=await (0,a.Z)(`${l}/product/check${e?`?code=${e}`:""}`,{method:"GET",headers:{Authorization:c()}});if(200!==t.status)return!1;let n=await t.json();return!!n&&n.data}catch(e){return!1}},C=async e=>{try{let t=await (0,a.Z)(`${l}/mindmap/imageSign`,{method:"POST",headers:d(),body:JSON.stringify(e)});if(200!==t.status)throw Error(`Error: ${t.status}`);return await t.json()}catch(e){throw Error(`Error: ${e}`)}},x=async e=>{try{let t=await (0,a.Z)(`${l}/mindmap/update`,{method:"POST",headers:d(),body:JSON.stringify(e)});if(200!==t.status)throw Error(`Error: ${t.status}`);return await t.json()}catch(e){throw Error(`Error: ${e}`)}},T=async e=>{try{let t=await (0,a.Z)(`${l}/note/mindmap/update`,{method:"POST",headers:d(),body:JSON.stringify(e)});if(200!==t.status)throw Error(`Error: ${t.status}`);return await t.json()}catch(e){throw Error(`Error: ${e}`)}},S=async e=>{try{let t=await (0,a.Z)(`${l}/mindmap/switchCover`,{method:"POST",headers:d(),body:JSON.stringify(e)});if(200!==t.status)throw Error(`Error: ${t.status}`);return await t.json()}catch(e){throw Error(`Error: ${e}`)}},k=async e=>{try{let t=await (0,a.Z)(`${l}/note/mindmap/switchCover`,{method:"POST",headers:d(),body:JSON.stringify(e)});if(200!==t.status)throw Error(`Error: ${t.status}`);return await t.json()}catch(e){throw Error(`Error: ${e}`)}},A=async()=>{try{let e=await (0,a.Z)(`${l}/userOrg/list`,{method:"GET",headers:{Authorization:c()}});if(200!==e.status)throw Error(`Error: ${e.status}`);let t=await e.json();return t?t.data:[]}catch(e){throw Error(`Error: ${e}`)}},L=async e=>{let{id:t}=e;try{let e=await (0,a.Z)(`${l}/user/org/recent/update`,{method:"PUT",headers:{Authorization:c()},body:JSON.stringify({org_id:t})});if(200!==e.status)throw Error(`Error: ${e.status}`);let n=await e.json();
17if("IP_DISABLED"===n.code)return s.ZP.getState().setIsOrgSwitchError(!0),null;return n.data?n.data:null}catch(e){throw Error(`Error: ${e}`)}},I=async e=>{try{let t=await (0,a.Z)(`${l}/user/info/update`,{method:"POST",headers:{Authorization:c()},body:JSON.stringify(e)});t.status;let n=await t.json();return null==n?void 0:n.data}catch(e){throw Error(`Error: ${e}`)}},O=async e=>{let{file:t}=e;if(!t)return null;let n=u(),r=new FormData;r.append("file",t);try{return(0,a.Z)(`${l}/user/info/uploadAvatar`,{method:"POST",headers:{Authorization:`${n}`},body:r}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})}catch(e){return null}},P=async()=>{try{let e=await (0,a.Z)(`${l}/product/add-on-packs`,{method:"GET",headers:{Authorization:c()}});if(200!==e.status)return[];let t=await e.json();return(null==t?void 0:t.data)||[]}catch(e){return console.error(`Failed to query add-on packs: ${e}`),[]}},j=async e=>{try{let t=await (0,a.Z)(`${l}/checkout/create`,{method:"POST",headers:{Authorization:c()},body:JSON.stringify(e)});return t.status,await t.json()}catch(e){throw Error(`Error: ${e}`)}}},46344:function(e,t,n){"use strict";n.d(t,{PC:function(){return f},PS:function(){return h},ev:function(){return l},hM:function(){return d},i9:function(){return u},ix:function(){return s},zC:function(){return c}});var r=n(27976),i=n(69824),o=n(52166),a=n(30007);let s=async()=>(0,i.C)({type:"GLARITY_GET_VERSION",timeout:1e3},!0).then(e=>200===e.data.status&&e.data.version||"0.0.0").catch(()=>""),l=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;try{var t,n,r;let e=(0,a.M)();return null===(r=window)||void 0===r?void 0:null===(n=r.chrome)||void 0===n?void 0:null===(t=n.runtime)||void 0===t?void 0:t.sendMessage(e,{type:"FELO_SEARCH_GET_VERSION"}).then(e=>(null==e?void 0:e.status)===200&&(null==e?void 0:e.version)||"").catch(()=>"")}catch(t){return(0,i.C)({type:"FELO_SEARCH_GET_VERSION",timeout:e}).then(e=>200===e.data.status&&e.data.version||"").catch(()=>"")}},u=async()=>(0,i.C)({type:"FELO_SEARCH_XHS_LOGIN"}).then(e=>(200===e.data.status&&e.data.isLogin)??!1).catch(()=>!1),c=e=>{let{shortId:t,existing_uuid:n,query:i,sources:a,category:s,mode:l}=e,u=(0,o.a1)();return fetch(`${r.XJ}/threads${t?`/${t}`:""}/analytics`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${u}`},body:JSON.stringify({query:i,existing_uuid:n,contexts:a,category:s,mode:l})}).then(async e=>200!==e.status?[]:await e.json()).catch(()=>{})},d=()=>{let e=(0,o.a1)();return fetch(`${r.XJ}/models`,{method:"GET",headers:{Authorization:`${e}`}}).then(async e=>200!==e.status?Promise.reject([]):await e.json()).catch(e=>[])},f=async e=>{let t=(0,o.a1)();fetch(`${r.XJ}/query/google_extension/failed`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)})},h=async e=>{let t=(0,o.a1)();fetch(`${r.XJ}/query/xiaohongshu_extension/failed`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)})}},5517:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(60161),i=n(57546),o=n(84706),a=n(97682);let s=["free_user_image_agent_insufficient","pro_image_model_forbidden"],l=e=>{var t,n;return(null==e?void 0:e.code)==="FILE_UPLOAD_SUBSCRIPTION_REQUIRED"||(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.code)==="FILE_UPLOAD_SUBSCRIPTION_REQUIRED"||(null==e?void 0:null===(n=e.detail)||void 0===n?void 0:n.error_type)==="file_upload_subscription_required"},u=async(e,t)=>{let n=await fetch(e,t);if(!n.ok){var u,c,d,f;let e=await n.clone().json().catch(()=>null),h=null==e?void 0:null===(u=e.detail)||void 0===u?void 0:u.error_type;if(l(e))return o.$.publish("showSubscriptionPlan",{triggerSource:"file_upload_paywall"}),n;if(s.some(e=>e===h))return i.Z.getState().setIsHighTrafficAlertDialogVisible(!0),n;if(402!==n.status&&429!==n.status)return n;let p=null==e?void 0:e.code,m=null;if(null==e?void 0:null===(c=e.detail)||void 0===c?void 0:c.insufficient_type)switch(null==e?void 0:null===(d=e.detail)||void 0===d?void 0:d.insufficient_type){case"credits":m="INSUFFICIENT_POINTS";break;case"queries":m="INSUFFICIENT_QUERIES";break;case"pro":case"discovery":m="RATE_LIMIT_EXCEEDED"}else switch(p){case"RATE_LIMIT_EXCEEDED":m="RATE_LIMIT_EXCEEDED";break;case"INSUFFICIENT_POINTS":m="INSUFFICIENT_POINTS";break;case"INSUFFICIENT_QUERIES":m="INSUFFICIENT_QUERIES"}if(m){(0,a.D)(r.U.THREAD_CREDITS_ENOUGH);let e=null==t?void 0:null===(f=t.signal)||void 0===f?void 0:f.traceId;(0,a.b)(r.U.THREAD_CREDITS_ENOUGH,e||"")}m&&o.$.publish("felo_showPaidModal",{type:m,data:(null==e?void 0:e.data)||{}})}return n};t.Z=u},2605:function(e,t,n){"use strict";n.d(t,{At:function(){return c},F3:function(){return l},Kp:function(){return u},M6:function(){return f},NV:function(){return s},OC:function(){return d},Sk:function(){return a},wc:function(){return h}});var r=n(27976),i=n(52166),o=n(5517);let a=e=>{let{page:t,size:n,offset:o,limit:a,title:s,include_livedoc:l=!1}=e,u=(0,i.a1)(),c=new URLSearchParams({include_livedoc:l.toString()});return void 0!==o&&void 0!==a?(c.set("offset",o.toString()),c.set("limit",a.toString())):(c.set("page",(t??1).toString()),c.set("size",(n??50).toString())),s&&c.set("title",s),fetch(`${r.XJ}/threads?${c.toString()}`,{method:"GET",headers:{Authorization:`${u}`}}).then(async e=>200!==e.status?Promise.reject(null):await e.json()).catch(e=>null)},s=async e=>{let t=(0,i.a1)();try{let n=await fetch(`${r.XJ}/threads/${e}`,{method:"DELETE",credentials:"include",headers:{Authorization:`${t}`}});if(204===n.status)return{success:!0};let i=`Request failed with status ${n.status}`;try{let e=await n.json();(null==e?void 0:e.detail)?i=e.detail:(null==e?void 0:e.error)&&(i=e.error)}catch{}return{success:!1,error:i}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error occurred"}}},l=e=>{let t=(0,i.a1)();return fetch(`${r.XJ}/threads`,{method:"DELETE",headers:{Authorization:`${t}`,"Content-Type":"application/json"},body:JSON.stringify(e)}).then(async e=>200===e.status||204===e.status).catch(()=>!1)},u=(e,t)=>
17{let n=(0,i.a1)();return fetch(`${r.XJ}/threads/${e}/messages/${t}`,{method:"DELETE",headers:{Authorization:`${n}`,"Content-Type":"application/json"}}).then(async e=>204===e.status).catch(()=>!1)},c=e=>{let t=(0,i.a1)();return fetch(`${r.XJ}/threads/${e}/ppt_render_tool_status`,{method:"GET",headers:{Authorization:`${t}`}}).then(async e=>200!==e.status?Promise.reject(null):(await e.json()).ppt_render_tool_status).catch(e=>null)},d=async e=>{let{page:t,size:n,offset:a,limit:s,keyword:l}=e,u=(0,i.a1)(),c=new URLSearchParams;return void 0!==a&&void 0!==s?(c.set("offset",a.toString()),c.set("limit",s.toString())):(c.set("page",(t??1).toString()),c.set("size",(n??30).toString())),l&&c.set("keyword",l),(0,o.Z)(`${r.XJ}/livedocs/artifacts?${c.toString()}`,{method:"GET",headers:{Authorization:`${u}`}}).then(async e=>200!==e.status?{}:await e.json()).catch(e=>({}))},f=e=>{let t=(0,i.a1)();return fetch(`${r.XJ}/livedocs/${e}`,{method:"DELETE",headers:{Authorization:`${t}`}}).then(async e=>200===e.status).catch(()=>!1)},h=(e,t)=>{let n=(0,i.a1)();return fetch(`${r.XJ}/livedocs/${e}/pin`,{method:"PUT",headers:{Authorization:`${n}`,"Content-Type":"application/json"},body:JSON.stringify({is_pinned:t})}).then(async e=>200===e.status).catch(()=>!1)}},69194:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(5517),i=n(27976);let o=e=>{let{fileUrl:t}=e,n=`${i.vm}/convert?url=${t}`;return(0,r.Z)(n,{method:"GET"}).then(async e=>200!==e.status?(console.error("Error: Response status is not 200:",e.status),e.status):await e.json()).catch(e=>(console.error("Fetch error:",e),e.response)?e.response.status:e.request?503:500)}},59850:function(e,t,n){"use strict";n.d(t,{Em:function(){return a},Ge:function(){return l},HG:function(){return p},Ht:function(){return g},JK:function(){return A},Jd:function(){return w},KM:function(){return T},N:function(){return h},NV:function(){return S},RX:function(){return _},T:function(){return b},Ti:function(){return k},Uk:function(){return s},XB:function(){return m},XO:function(){return y},b$:function(){return v},dS:function(){return C},kx:function(){return E},pT:function(){return f},xp:function(){return x}});var r,i,o,a,s,l,u=n(27976),c=n(5517),d=n(13263);(r=a||(a={})).OWNER="OWNER",r.COLLABORATOR="COLLABORATOR",r.VIEWER="VIEWER",(i=s||(s={})).LINK_NOT_FOUND="LINK_NOT_FOUND",i.LINK_DISABLE="LINK_DISABLE",i.LINK_EXPIRED="LINK_EXPIRED",i.LINK_ORG_NEED_SAME="LINK_ORG_NEED_SAME",i.EXCEEDING_THE_MAXIMUM_NUMBER_OF_PEOPLE="EXCEEDING_THE_MAXIMUM_NUMBER_OF_PEOPLE",i.INVITE_NOT_YOUR_URL="INVITE_NOT_YOUR_URL",(o=l||(l={})).VIEW="CAN_READ",o.EDIT="CAN_WRITE";let f={CAN_READ:"livedoc.collaboration.invite.permission_view",CAN_WRITE:"livedoc.collaboration.invite.permission_edit"},h=async e=>{let t=(0,d.LP)();return(0,c.Z)(`${u.QT}/livedoc/collaboration/init`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify({business_id:e})}).then(async e=>{if(200!==e.status)return[];let t=await e.json();return(null==t?void 0:t.data)||[]}).catch(()=>[])},p=async e=>{let t=(0,d.LP)(),n=new URLSearchParams;n.append("business_id",e);let r=n.toString();return(0,c.Z)(`${u.QT}/livedoc/collaboration/list${r?`?${r}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(200!==e.status)return[];let t=await e.json();return(null==t?void 0:t.data)||[]}).catch(()=>[])},m=async e=>{let t=(0,d.LP)(),n=new URLSearchParams;n.append("collaboration_id",e);let r=n.toString();return(0,c.Z)(`${u.QT}/livedoc/collaboration/delete${r?`?${r}`:""}`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>!![200,204].includes(e.status)).catch(()=>!1)},g=async e=>{let t=(0,d.LP)(),n=new URLSearchParams;n.append("business_id",e);let r=n.toString();return fetch(`${u.QT}/livedoc/collaboration/invitation/link/query.by.business.id${r?`?${r}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},_=async e=>{let{id:t,need_same_org:n,gmt_expired:r,permission:i}=e,o=(0,d.LP)();return n=n??!1,fetch(`${u.QT}/livedoc/collaboration/invitation/link/generate`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${o}`},body:JSON.stringify({business_id:t,gmt_expired:r,need_same_org:n,permission:i})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},v=async e=>{let{id:t,status:n,need_same_org:r,gmt_expired:i,permission:o}=e,a=(0,d.LP)();return r=r??!1,fetch(`${u.QT}/livedoc/collaboration/invitation/link/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${a}`},body:JSON.stringify({id:t,status:n,need_same_org:r,gmt_expired:i,permission:o})}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data})},y=async e=>{let{id:t,email:n,lang:r,gmt_expired:i,need_same_org:o,permission:a}=e,s=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/invitationByEmail`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},body:JSON.stringify({business_id:t,email:n,lang:r,gmt_expired:i,need_same_org:o,permission:a})}).then(async e=>await e.json())},b=async e=>{let{current:t,size:n,business_id:r}=e,i=(0,d.LP)(),o=new URLSearchParams;o.append("business_id",null==r?void 0:r.toString()),o.append("current",(null==t?void 0:t.toString())||"1"),o.append("size",(null==n?void 0:n.toString())||"50");let a=o.toString();return(0,c.Z)(`${u.QT}/livedoc/collaboration/emails/list${a?`?${a}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${i}`}}).then(async e=>{if(200!==e.status)return[];let t=await e.json();return(null==t?void 0:t.data)||[]}).catch(()=>[])},w=async e=>{let{id:t}=e,n=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/acceptByLink`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({invitation_id:t})}).then(async e=>{try{return await e.json()}catch(e){return null}})},E=async e=>{let{business_id:t,token:n}=e,r=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/acceptByToken`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${r}`},body:JSON.stringify({business_id:t,token:n})}).then(async e=>{try{return await e.json()}catch(e){return null}})},C=async e=>{let{id:t}
17=e,n=(0,d.LP)(),r=new URLSearchParams;r.append("invitation_id",t);let i=r.toString();return fetch(`${u.QT}/livedoc/collaboration/invitation/link/query.by.invitation.id${i?`?${i}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{let t=await e.json();return null==t?void 0:t.data})},x=async e=>{let{token:t,business_id:n}=e,r=(0,d.LP)(),i=new URLSearchParams;i.append("token",t),i.append("business_id",n);let o=i.toString();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/queryToken${o?`?${o}`:""}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${r}`}}).then(async e=>{let t=await e.json();return null==t?void 0:t.data})},T=async e=>{let{id:t}=e,n=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/remove`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({id:t})}).then(async e=>{try{let t=await e.json();return(null==t?void 0:t.status)===200&&(null==t?void 0:t.data)===!0}catch(e){return!1}})},S=async e=>{let{business_id:t,collaborator:n,role:r}=e,i=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/update`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`${i}`},body:JSON.stringify({business_id:t,collaborator:n,role:r})}).then(async e=>{try{let t=await e.json();return(null==t?void 0:t.status)===200&&(null==t?void 0:t.code)==="OK"}catch(e){return!1}})},k=async(e,t)=>{let n=(0,d.LP)(),r=new URLSearchParams;return r.append("business_id",e),r.append("user",t),fetch(`${u.QT}/livedoc/collaboration/exit?${r.toString()}`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{try{let t=await e.json();return(null==t?void 0:t.status)===200&&(null==t?void 0:t.code)==="OK"}catch(e){return!1}})},A=async e=>{let{business_id:t,group_ids:n,permission:r}=e,i=(0,d.LP)();return fetch(`${u.QT}/livedoc/collaboration/invitation/token/addCollaboratorsByGroup`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${i}`},body:JSON.stringify({business_id:t,group_ids:n,permission:r})}).then(async e=>{try{return await e.json()}catch(e){return null}})}},5311:function(e,t,n){"use strict";n.d(t,{AR:function(){return l},HB:function(){return a},Tv:function(){return o},Vc:function(){return u},uf:function(){return s}});var r=n(25794),i=n(27976);let o=e=>fetch(`${i.vA}/api/user/token.code.create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:(0,r.Nh)()||""},body:JSON.stringify(e)}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return"OK"!==t.code?"":t.data}),a=e=>fetch(`${i.vA}/api/user/token.code.parse?appId=glaritySearch&code=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return"OK"!==t.code?"":t.data}),s=()=>{let e=(0,r.Nh)()||"";return fetch(`${i.vA}/api/user/sign.out`,{method:"POST",headers:{Authorization:e}}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return"OK"!==t.code?"":t.data})},l=async e=>fetch(`${i.vA}/api/open.auth.login`,{method:"POST",body:JSON.stringify(e)}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return"OK"!==t.code?"":t.data}),u=async e=>fetch(`${i.vA}/api/user/third/query.auth.time?user_third_id 18=${e.user_third_id}`,{method:"GET"}).then(async e=>{if(200!==e.status)return"";let t=await e.json();return"OK"!==t.code?"":t.data})},16427:function(e,t,n){"use strict";n.d(t,{Zl:function(){return d},C8:function(){return g},ey:function(){return f},f7:function(){return c},kG:function(){return p},MJ:function(){return h},Ye:function(){return _}});var r=n(27976),i=n(41223),o=n(13263),a=n(49963);let s=e=>({type:"image",image:{type:"external",external:{url:e}}}),l=e=>{let t=[],n="",r=()=>{if(n.trim()){let e=(0,a.markdownToBlocks)(n);t.push(...e),n=""}},i=e.split("\n");for(let e=0;e<i.length;e++){let o=i[e],a=o.match(/!\[(.*?)\]\((.*?)\)/);a?(r(),t.push(s(a[2]))):n+=o+"\n"}return r(),t};var u=n(5517);let c=async()=>{let e=(0,o.LP)();return(0,u.Z)(`${r.QT}/notion/authorize`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if((null==e?void 0:e.status)===403)throw Error("403");if(null==e?void 0:e.ok){var t;if(200!==e.status)return"";let n=await e.json();return null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.url}return""})},d=async()=>{let e=(0,o.LP)();return(0,u.Z)(`${r.QT}/notion/authorized`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${e}`}}).then(async e=>{if((null==e?void 0:e.status)===403)throw Error("403");if(null==e?void 0:e.ok){var t,n;if(200!==e.status)return null;let r=await e.json();return{isAuthorized:(null==r?void 0:r.code)==="OK",templateId:(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.duplicated_template_id)||(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.database_id)}}return null})},f=async e=>{let{params:t}=e,n=(0,o.LP)(),i={sort:{direction:"ascending",timestamp:"last_edited_time"}};return t&&(i={...i,...t}),(0,u.Z)(`${r.QT}/notion/search`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify(i)}).then(async e=>{if((null==e?void 0:e.status)===403)throw Error("403");if(null==e?void 0:e.ok){var t,n;if(200!==e.status)return[];let r=await e.json();return(null==r?void 0:null===(n=r.data)||void 0===n?void 0:null===(t=n.results)||void 0===t?void 0:t.filter(e=>(null==e?void 0:e.in_trash)===!1))||[]}return[]})},h=async e=>{var t,n;let{shortId:a,databaseId:s,title:l,url:c,summary:d,content:f,sources:h,relates:p,thread:m,pptCoverUrl:g,images:_,videos:v,mergedSources:y,scholarReferences:b}=e,w=(0,o.LP)(),E=g?(0,i.VN)({threadId:a}):"",C=(null===(t=m.mindmap)||void 0===t?void 0:t.cover_name)?(0,i.xD)({name:null===(n=m.mindmap)||void 0===n?void 0:n.cover_name}):"",x=[...(0,i.cX)({mindMapCoverUrl:C,pptConverUrl:E||g,link:`${location.origin}${location.pathname}?showppt=1`,mindMapLink:`${location.origin}${location.pathname}?showmindmap=1`}),...(0,i.xz)({title:"Summary",content:""}),...(0,i.xz)({title:"Content",content:f,type:"title"}),...(0,i.W7)({scholarReferences:b||[]}),...h&&h.length>0?(0,i.f3)({sources:h}):[],...(0,i.xe)({relates:p}),...(0,i.S2)({images:_||[]}),...(0,i.m7)({videos:v||[]})];return(0,u.Z)(`${r.QT}/notion/pages/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${w}`},body:JSON.stringify({cover:{type:"external",external:{url:r.r8?"https://dev.felo.ai/notion-cover.webp?v=2024wk47":"https://felo.ai/notion-cover.webp?v=2024wk47"}},icon:{type:"emoji",emoji:"\uD83D\uDD0D"},parent:{type:"database_id",database_id:s},properties:{Query:{title:[{text:{content:l}}]},Thread:{url:c}},children:x})}).then(async e=>{if((null==e?void 0:e.status)===403)throw Error("403");return(null==e?void 0:e.ok)&&200===e.status?await e.json():""})},p=async e=>{var t,n;let{shortId:a,databaseId:s,title:c,url:d,summary:f,content:h,sources:p,relates:g,thread:_,pptCoverUrl:v,images:y,videos:b,mergedSources:w,scholarReferences:E}=e,C=(0,o.LP)(),x=v?(0,i.VN)({threadId:a}):"",T=(null===(t=_.mindmap)||void 0===t?void 0:t.cover_name)?(0,i.xD)({name:null===(n=_.mindmap)||void 0===n?void 0:n.cover_name}):"",S=l(h),k=[...(0,i.cX)({mindMapCoverUrl:T,pptConverUrl:x||v,link:`${location.origin}${location.pathname}?showppt=1`,mindMapLink:`${location.origin}${location.pathname}?showmindmap=1`}),...S,...(0,i.W7)({scholarReferences:E||[]}),...(0,i.xe)({relates:g}),...(0,i.S2)({images:y||[]}),...(0,i.m7)({videos:b||[]})];try{let e=await (0,u.Z)(`${r.QT}/notion/pages/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${C}`},body:JSON.stringify({cover:{type:"external",external:{url:r.r8?"https://dev.felo.ai/notion-cover.webp?v=2024wk47":"https://felo.ai/notion-cover.webp?v=2024wk47"}},icon:{type:"emoji",emoji:"\uD83D\uDD0D"},parent:{type:"database_id",database_id:s},properties:{Query:{title:[{text:{content:c}}]},Thread:{url:d}},children:[]})});if((null==e?void 0:e.status)===403)throw Error("403");if(!(null==e?void 0:e.ok)||200!==e.status)return"";let t=await e.json();return await m(t.data.id,k,C),t}catch(e){throw console.error("Error creating Notion page:",e),e}};async function m(e,t,n){for(let i=0;i<t.length;i+=99){let o=t.slice(i,i+99);await (0,u.Z)(`${r.QT}/notion/blocks/${e}/children`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({children:o})}),t.length>99&&await new Promise(e=>setTimeout(e,500))}}let g=async e=>{let{pageId:t}=e,n=(0,o.LP)();return(0,u.Z)(`${r.QT}
18/notion/databases/create`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({parent:{type:"page_id",page_id:t},cover:{type:"external",external:{url:r.r8?"https://dev.felo.ai/notion-cover.webp?v=2024wk47":"https://felo.ai/notion-cover.webp?v=2024wk47"}},icon:{type:"external",external:{url:"https://felo.ai/icon.webp"}},title:[{type:"text",text:{content:"Felo.ai"}}],description:[{type:"text",text:{content:"Welcome to your centralized hub for AI-powered search results and insights. "}}],properties:{Date:{name:"Date",type:"created_time",created_time:{}},Query:{name:"Query",type:"title",title:{}},Category:{name:"Category",type:"select",select:{options:[{name:"News",color:"gray"}]}},Tags:{name:"Tags",type:"multi_select",multi_select:{options:[{name:"RAGs",color:"brown"},{name:"Search",color:"green"}]}},Thread:{url:{}}}})}).then(async e=>{var t;if((null==e?void 0:e.status)===403)throw Error("403");if(!(null==e?void 0:e.ok)||200!==e.status)return"";let n=await e.json();return null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.id})},_=async e=>{let{templateId:t}=e,n=(0,o.LP)();return(0,u.Z)(`${r.QT}/notion/authorized/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${n}`},body:JSON.stringify({database_id:t})}).then(async e=>(null==e?void 0:e.ok)?200!==e.status?null:await e.json():null)}},53410:function(e,t,n){"use strict";n.d(t,{AA:function(){return l},nG:function(){return a},rc:function(){return s},sy:function(){return u}});var r=n(27976),i=n(52166),o=n(5517);let a="The number of components has reached the maximum limit",s=async e=>{let{lang:t}=e,n=(0,i.a1)();return(0,o.Z)(`${r.XJ}/components?lang=${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>200!==e.status?null:await e.json()).catch(()=>null)},l=async e=>{try{let t=(0,i.a1)(),n=await (0,o.Z)(`${r.XJ}/components`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${t}`},body:JSON.stringify(e)});if(!n.ok){let e=await n.json().catch(()=>({}));return{success:!1,error:null==e?void 0:e.detail,code:n.status}}let a=await n.json();return{success:!0,data:a}}catch(e){return{success:!1,error:e instanceof Error?e.message:"",code:500}}},u=async e=>{let{key:t}=e;if(!t)return{success:!1,error:"",code:500};try{let e=(0,i.a1)(),n=await (0,o.Z)(`${r.XJ}/components/${t}`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:`${e}`}});if(!n.ok){let e=await n.json().catch(()=>({}));return{success:!1,error:null==e?void 0:e.detail,code:n.status}}return{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"",code:500}}}},50933:function(e,t,n){"use strict";n.d(t,{O7:function(){return a},Uh:function(){return o},mQ:function(){return s}}),n(25794);var r=n(27976),i=n(13263);let o=e=>Promise.resolve({success:!0}),a=()=>Promise.resolve({points:1e3}),s=async()=>fetch(`${r.QT}/points/deduction/config`,{method:"GET",headers:(0,i.Fe)()}).then(async e=>{var t;if(200!==e.status)return Promise.reject(e);let n=await e.json();return(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.deductionItems)||[]})},45360:function(e,t,n){"use strict";n.d(t,{AG:function(){return C},B0:function(){return E},Cl:function(){return h},LK:function(){return S},Lz:function(){return I},N:function(){return v},OQ:function(){return p},Pr:function(){return g},RM:function(){return c},SG:function(){return u},TH:function(){return f},TK:function(){return x},Wd:function(){return b},X3:function(){return k},a1:function(){return A},aL:function(){return m},ax:function(){return d},f0:function(){return T},gi:function(){return w},if:function(){return L},sR:function(){return y},uO:function(){return _}});var r=n(27976),i=n(95174),o=n(13263),a=n(94572),s=n(18881),l=n(5517);let u=async e=>{let{thread_id:t,language:n,template_id:s,setOutline:u,setOutlineLoading:c,stream:d,businessType:f}=e,h=(0,o.LP)(),p=new URLSearchParams({thread_id:t,language:n,template_id:s,business_type:f||""});try{let e=await (0,l.Z)(`${r.QT}/ppt/getOutline?${p}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${h}`}});if(e.ok){let t="",n="",r="false";if(d){let o=(0,i.U)(e);c(!1);let s=0;for await(let e of o){let i=(null==e?void 0:e.data)||"";try{let e=JSON.parse(i)||{};0===s?(n=null==e?void 0:e.task_id,r=null==e?void 0:e.task_id_used):s>2&&(t+=(null==e?void 0:e.content)||"")}catch(e){}if(await (0,a.gw)(30),s%10==0||"api-close"===i){var m,g;let e=null===(g=t||"")||void 0===g?void 0:null===(m=g.replace("```markdown",""))||void 0===m?void 0:m.replaceAll("```","");t&&u(e||"")}s++}return{data:{outline:t,task_id:n,task_id_used:r}}}{let t=await e.text();return c(!1),{data:{outline:t}}}}{let t=await e.json();return{data:{status:null==t?void 0:t.status}}}}catch(e){console.error("Fetch error:",e)}},c=async e=>{let{thread_id:t,page:n="1",page_size:i="24",scene_id:a="",style_id:s="",colour_id:u=""}=e,c=(0,o.LP)(),d=new URLSearchParams({thread_id:t,page:n,page_size:i,scene_id:a,style_id:s,colour_id:u});return(0,l.Z)(`${r.QT}/ppt/getTemplate?${d}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${c}`}}).then(async e=>
18(null==e?void 0:e.ok)?await e.json():null).catch(e=>e)},d=async e=>{let{thread_id:t}=e,n=(0,o.LP)(),i=new URLSearchParams({thread_id:t});return(0,l.Z)(`${r.QT}/ppt/getTemplateMenu?${i}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}}).then(async e=>{if(!(null==e?void 0:e.ok))return;let t=await e.json();if(200===e.status)return null==t?void 0:t.data})},f=async e=>{let{thread_id:t,businessType:n=a.LB.THREAD}=e,i=(0,o.LP)(),s=new URLSearchParams({thread_id:t,business_type:n||""});return(0,l.Z)(`${r.QT}/ui/ppt/getCode?${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${i}`}}).then(async e=>{if(!(null==e?void 0:e.ok))return;let t=await e.json();if(200===e.status)return null==t?void 0:t.data}).catch(e=>e)},h=async e=>{let{thread_id:t,id:n,businessType:i=a.LB.THREAD}=e,s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/cache`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},body:JSON.stringify({id:n,thread_id:t,business_type:i})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():"")},p=async e=>{var t,n,r,i,o;let{thread_id:l,type:u,businessType:c=a.LB.THREAD}=e;if(!l)return null;let d=await C({threadId:l,type:u,businessType:c});if((null==d?void 0:null===(t=d.data)||void 0===t?void 0:t.ui_ppt)&&(null==d?void 0:null===(r=d.data)||void 0===r?void 0:null===(n=r.ui_ppt)||void 0===n?void 0:n.status)===2){let e=await x({threadId:l,type:u,businessType:c});return((null==e?void 0:e.cover_url)&&s.Z.getState().setCoverUrl(null==e?void 0:e.cover_url),null==e?void 0:e.pdf_url)?{...e,status:2}:null}if(!(null==d?void 0:null===(i=d.data)||void 0===i?void 0:i.ui_ppt)){let e=await x({threadId:l,type:u,businessType:c});return((null==e?void 0:e.cover_url)&&s.Z.getState().setCoverUrl(null==e?void 0:e.cover_url),null==e?void 0:e.pdf_url)?{...e,status:2,type:(null==e?void 0:e.type)===1?"api":"ui"}:null}return(null==d?void 0:null===(o=d.data)||void 0===o?void 0:o.ui_ppt)||null},m=async e=>{let{thread_id:t}=e,n=(0,o.LP)();return(0,l.Z)(`${r.XJ}/threads/${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`},credentials:"include"}).then(async e=>{if(!(null==e?void 0:e.ok))return;let t=await e.json();if(200===e.status)return(null==t?void 0:t.messages)||[]}).catch(e=>e)},g=async e=>{let{thread_id:t}=e,n=(0,o.LP)();return(0,l.Z)(`${r.XJ}/threads/${t}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`},credentials:"include"}).then(async e=>{if(!(null==e?void 0:e.ok))return;let t=await e.json();if(200===e.status)return t}).catch(e=>e)},_=async e=>{let{thread_id:t,outline:n,businessType:i=a.LB.THREAD}=e,s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/outline`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},body:JSON.stringify({outline:n,thread_id:t,business_type:i})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():"")},v=async e=>{let{threadId:t,businessType:n=a.LB.THREAD}=e,i=new URLSearchParams({thread_id:t,business_type:n||""}),s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/edit/authorization?${i}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${s}`}}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return"";let t=await e.json();return null==t?void 0:t.data})},y=async e=>{let{threadId:t,businessType:n=a.LB.THREAD}=e,i=new URLSearchParams({thread_id:t,business_type:n||""}),s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/edit/isAuthorization?${i}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${s}`}}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)return{status:!1};let t=await e.json();return{status:(null==t?void 0:t.code)==="OK"&&(null==t?void 0:t.data)}}return{status:!1}})},b=async e=>{let{threadId:t,businessType:n=a.LB.THREAD}=e,i=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/edit/authorization/cancel`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${i}`},body:JSON.stringify({thread_id:t,business_type:n})}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.code)==="OK"&&(null==t?void 0:t.data)}return!1})},w=async e=>{let{threadId:t,businessType:n=a.LB.THREAD}=e,i=new URLSearchParams({thread_id:t,business_type:n||""}),s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/edit/getId?${i}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${s}`}}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)return null;let t=await e.json();return null==t?void 0:t.data}let t=await e.json();if((null==t?void 0:t.code)==="CANVA_GET_TOKEN_FAIL")throw Error("CANVA_GET_TOKEN_FAIL");return null})},E=async e=>{let{threadId:t,jobId:n,businessType:i=a.LB.THREAD}=e,s=new URLSearchParams({thread_id:t,job_id:n,business_type:i||""}),u=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/edit/getUrl?${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${u}`}}).then(async e=>{if(null==e?void 0:e.ok){var t,n,r;if(200!==e.status)return{};let i=await e.json();return{status:(null==i?void 0:i.code)==="OK"?"success":"failed",editUrl:null==i?void 0:null===(t=i.data)||void 0===t?void 0:t.edit_url,viewUrl:null==i?void 0:null===(n=i.data)||void 0===n?void 0:n.view_url,thumbnailUrl:null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.thumbnail_url}}return{}})},C=async e=>{let{threadId:t,type:n,businessType:i=a.LB.THREAD}=e,s="server"===n?"":(0,o.LP)(),u=new URLSearchParams({thread_id:t,business_type:i||""});return(0,l.Z)(`${r.QT}/ppt/get?${u}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${s}`}}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)throw Error("error");return await e.json()}throw Error("error")})},x=async e=>{let{threadId:t,type:n,businessType:i=a.LB.THREAD}=e,s="server"===n?"":(0,o.LP)(),u=new URLSearchParams({thread_id:t,business_type:i||""});return(0,l.Z)(`${r.QT}/ppt/getLatest?${u}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${s}`}}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)return"";let t=await e.json();return null==t?void 0:t.data}return""})},T=async e=>{let{threadId:t,businessType:n=a.LB.THREAD}
18=e,i=(0,o.LP)(),s=n!==a.LB.THREAD?"/ui/ppt/v2/charge":"/ui/ppt/charge",u=n!==a.LB.THREAD?JSON.stringify({thread_id:t,business_type:n}):t;return(0,l.Z)(`${r.QT}${s}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${i}`},body:u}).then(async e=>{if(!(null==e?void 0:e.ok)||200!==e.status)return!1;let t=await e.json();return(null==t?void 0:t.data)||!1})},S=async e=>{let{threadId:t}=e;return new Promise(async(e,n)=>{try{let n=(0,o.LP)(),a=new URLSearchParams({thread_id:t}),s=await (0,l.Z)(`${r.EG}/file/getFileContent?${a}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${n}`}});if(null==s?void 0:s.ok){let t=(0,i.U)(s),n=null;for await(let e of t){let t=(null==e?void 0:e.data)||"",r=t||e||"";if("END"===t)break;try{n=JSON.parse(r)||{}}catch(e){}}(null==n?void 0:n.status)!=="INIT"&&e(n)}else e(null)}catch(e){n(e)}})},k=async e=>{let{thread_id:t,id:n,businessType:i=a.LB.THREAD}=e,s=(0,o.LP)();return(0,l.Z)(`${r.QT}/ui/ppt/update`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},body:JSON.stringify({id:n,thread_id:t,business_type:i})}).then(async e=>(null==e?void 0:e.ok)&&200===e.status?await e.json():"")},A=async e=>{let t=(0,o.LP)();return(0,l.Z)(`${r.QT}/ppt/encrypt.org.id/?org_id=${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${t}`}}).then(async e=>{if(null==e?void 0:e.ok){if(200!==e.status)return"";let t=await e.json();return null==t?void 0:t.data}return""})},L=async e=>{let{livedoc_id:t,page:n=1,size:i=100}=e,a=(0,o.LP)();return(0,l.Z)(`${r.XJ}/livedocs/${t}/resources?page=${n}&size=${i}&exclude_resource_type=ai_ppt&exclude_resource_type=ai_page`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`${a}`},credentials:"include"}).then(async e=>{if(!(null==e?void 0:e.ok))return;let t=await e.json();if(200===e.status)return t}).catch(e=>e)},I=async e=>{let{thread_id:t,language:n,resource_id:i,signal:a}=e,s=(0,o.LP)();return(0,l.Z)(`${r.XJ}/threads/ppt/translate/${t}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`${s}`},signal:a,body:JSON.stringify({target_language:n,...i&&{resource_id:i}})})}},52166:function(e,t,n){"use strict";n.d(t,{Qe:function(){return c},a1:function(){return l},bG:function(){return u},ig:function(){return f},rI:function(){return h}});var r=n(27976),i=n(25794),o=n(64155),a=n(13263),s=n(68436);let l=()=>(0,i.Nh)()?`Bearer ${(0,i.Nh)()||""}`:"",u=()=>{let e=(0,i.Nh)();return e?fetch(`${r.QT}/user/info`,{method:"GET",headers:{Authorization:`${e}`}}).then(async t=>{var n,r;if(401===t.status){e||(0,i.Ne)();let t=await (0,a.$K)({id:""}),n=null==t?void 0:null===(r=t.token_info)||void 0===r?void 0:r.token_value;return n?((0,i.F_)(n),localStorage.removeItem(s.Q),window.location.href="/search"):(0,i.Ne)(),""}if(200!==t.status)return"";let o=await t.json(),l=null==o?void 0:o.data;return(null==l?void 0:l.user_org_member)&&(null==l?void 0:null===(n=l.user_org_member)||void 0===n?void 0:n.org)||delete l.user_org_member,l}):Promise.resolve(null)},c=e=>{if(!e.livedoc_id&&!e.follow_id)return Promise.resolve(null);let t=new URLSearchParams({client_id:(0,o.Z)()});e.livedoc_id&&t.set("livedoc_id",e.livedoc_id),e.follow_id&&t.set("follow_id",e.follow_id);let n=(0,i.Nh)(),r={"Content-Type":"application/json"};return n&&(r.Authorization=`${n}`),fetch(`/api/search/user/connection?${t}`,{method:"GET",credentials:"include",cache:"no-store",headers:r}).then(async e=>200!==e.status?null:await e.json())},d={models:[],agent_models:[],image_models:[]},f=()=>{let e=(0,i.Nh)();return fetch(`${r.XJ}/search/user/presets`,{method:"GET",headers:{Authorization:`${e}`}}).then(async e=>200!==e.status?d:await e.json())},h=()=>{let e=(0,i.Nh)();return fetch(`${r.XJ}/user/usage-limits`,{method:"GET",headers:{Authorization:`${e}`}}).then(async e=>200!==e.status?null:await e.json())}},97824:function(e,t,n){"use strict";var r=n(19624),i=n(65856),o=n(65819),a=n(65105);let s=(0,r.Ue)(e=>({showReward:!1,isChecking:!0,activityDetail:null,rewardType:null,showInviteRe
18ward:!1,invitationActivity:{count:5,expiration:3,point:1e3},setShowInviteReward:t=>e({showInviteReward:t}),setInvitationActivity:t=>e({invitationActivity:t}),setShowReward:t=>e({showReward:t}),checkActivityStatus:async()=>{e({isChecking:!0,rewardType:null});try{var t,n,r,s,l,u;let{isLogin:c,userInfo:d}=o.ZP.getState(),{subscriptionInfo:f}=a.ZP.getState(),h=await (0,i.Dv)("activity_points_20250709");if(200!==h.status||!(null==h?void 0:null===(t=h.data)||void 0===t?void 0:t.enabled)){e({showReward:!1});return}if(e({activityDetail:h.data}),c){if((null==f?void 0:f.level)==="felo_search_basic"||(null==d?void 0:null===(r=d.user_org_member)||void 0===r?void 0:null===(n=r.org_member)||void 0===n?void 0:n.role)){let t=(null==f?void 0:f.level)==="felo_search_basic";if(!(null==d?void 0:d.created_at)||(null==d?void 0:null===(u=d.user_org_member)||void 0===u?void 0:null===(l=u.org_member)||void 0===l?void 0:l.role)||!t){e({showReward:!1});return}e({rewardType:"default"})}else e({rewardType:"paid"});let t=await (0,i.sI)("activity_points_20250709");e({showReward:200===t.status&&!(null==t?void 0:null===(s=t.data)||void 0===s?void 0:s.prize_id)})}else e({showReward:!0,rewardType:"default"})}catch(t){e({showReward:!1})}finally{e({isChecking:!1})}}}));t.Z=s},19546:function(e,t,n){"use strict";var r=n(19624),i=n(68605);try{localStorage.removeItem("agent-list-storage")}catch(e){console.warn("Failed to remove legacy agent list cache:",e)}let o=(0,r.Ue)()(e=>({templateLocale:"",systemTemplates:[],userTemplates:[],favoriteTemplates:[],enterpriseTemplates:[],virtualGroupTemplates:[],setTemplateLocale:t=>e({templateLocale:t}),setSystemTemplates:t=>e({systemTemplates:t}),setUserTemplates:t=>e({userTemplates:t}),clearSystemTemplates:()=>e({systemTemplates:[]}),clearUserTemplates:()=>e({userTemplates:[]}),addUserTemplate:t=>e(e=>({userTemplates:[t,...e.userTemplates]})),removeUserTemplate:t=>e(e=>({userTemplates:e.userTemplates.filter(e=>e.id!==t.id)})),updateUserTemplate:t=>e(e=>({userTemplates:e.userTemplates.map(e=>e.id===t.id?t:e)})),setFavoriteTemplates:t=>e({favoriteTemplates:t}),addFavoriteTemplate:t=>e(e=>({favoriteTemplates:[t,...e.favoriteTemplates]})),removeFavoriteTemplate:t=>e(e=>({favoriteTemplates:e.favoriteTemplates.filter(e=>e.short_id!==t)})),cleanFavoriteTemplates:()=>e({favoriteTemplates:[]}),setEnterpriseTemplates:t=>e({enterpriseTemplates:t}),addEnterpriseTemplate:t=>e(e=>({enterpriseTemplates:[t,...e.enterpriseTemplates]})),removeEnterpriseTemplate:t=>e(e=>({enterpriseTemplates:e.enterpriseTemplates.filter(e=>e.short_id!==t)})),clearEnterpriseTemplates:()=>e({enterpriseTemplates:[]}),updateEnterpriseTemplate:t=>e(e=>({enterpriseTemplates:e.enterpriseTemplates.map(e=>e.id===t.id?t:e)})),changeEnterpriseTemplateFavorite:(t,n)=>e(e=>({enterpriseTemplates:e.enterpriseTemplates.map(e=>e.short_id===t?{...e,component:n}:e)})),changeSystemTemplateFavorite:(t,n)=>e(e=>({systemTemplates:e.systemTemplates.map(e=>e.short_id===t?{...e,component:n}:e)})),changeUserTemplateFavorite:(t,n)=>e(e=>({userTemplates:e.userTemplates.map(e=>e.short_id===t?{...e,component:n}:e)})),setVirtualGroupTemplates:t=>e({virtualGroupTemplates:t}),updateVirtualGroupTemplate:t=>e(e=>({virtualGroupTemplates:e.virtualGroupTemplates.map(e=>e.id===t.id?t:e)})),removeVirtualGroupTemplate:t=>e(e=>({virtualGroupTemplates:e.virtualGroupTemplates.filter(e=>e.short_id!==t)})),refreshVirtualGroupTemplates:async()=>{try{let t=await (0,i.EO)("AGENT");if((null==t?void 0:t.code)==="OK"&&(null==t?void 0:t.data)){let n=t.data.filter(e=>null==e?void 0:e.resource_detail).map(e=>({...e.resource_detail,groups:e.groups||[],virtual_group_info:{group_id:e.group_id,group_identity:e.group_identity,group_display_name:e.group_display_name}}));e({virtualGroupTemplates:n})}else e({virtualGroupTemplates:[]})}catch(t){console.error("Failed to refresh virtual group templates:",t),e({virtualGroupTemplates:[]})}}}));t.Z=o},74926:function(e,t,n){"use strict";n.d(t,{U:function(){return l}});var r=n(87106),i=n(19624),o=n(98496);let a="agent-storage",s="agent-template-storage",l=e=>String((null==e?void 0:e.id)||(null==e?void 0:e.short_id)||(null==e?void 0:e.code)||""),u=()=>{try{let t=localStorage.getItem(a);if(t){var e;let n=JSON.parse(t);return(null===(e=n.state)||void 0===e?void 0:e.tempTemplates)||[]}}catch(e){console.error("Failed to parse stored templates:",e)}return[]},c=()=>{try{let t=localStorage.getItem(s);if(t){var e;let n=JSON.parse(t);return(null===(e=n.state)||void 0===e?void 0:e.template)||null}}catch(e){console.error("Failed to parse stored template:",e)}return null},d=(0,i.Ue)()((0,o.tJ)((0,o.tJ)((e,t)=>({templateQuery:"",templateSourceSnapshot:void 0,templateSourceAgentIdentity:void 0,templateSourceShouldDeductPoints:!1,template:c(),homeTemplate:null,isAgentPlanModalOpen:!1,tempTemplates:u(),templateCache:{},setTemplate:t=>e(()=>({template:t})),setHomeTemplate:t=>e(()=>({homeTemplate:t})),clearTemplate:()=>e(()=>({template:void 0})),setAgentPlanModalOpen:t=>e(()=>({isAgentPlanModalOpen:t})),openAgentPlanModal:function(t,n,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e(()=>({templateQuery:t,templateSourceSnapshot:n,templateSourceAgentIdentity:r,templateSourceShouldDeductPoints:i,isAgentPlanModalOpen:!0}))},closeAgentPlanModal:()=>e(()=>({templateQuery:"",templateSourceSnapshot:void 0,templateSourceAgentIdentity:void 0,templateSourceShouldDeductPoints:!1,isAgentPlanModalOpen:!1})),addTempTemplate:t=>e(e=>({tempTemplates:[...e.tempTemplates,t]})),category:"",setCategory:t=>e({category:t}),getCachedTemplate:e=>
18t().templateCache[e]||null,setCachedTemplate:(t,n)=>e(e=>({templateCache:{...e.templateCache,[t]:n}})),clearTemplateCache:()=>e({templateCache:{}}),asyncGetCachedTemplateAsync:async(e,n)=>{var i;if(t().getCachedTemplate(n))return;let o=null===(i=(await (0,r.Vk)(e,n)).data)||void 0===i?void 0:i.template_info;o&&t().setCachedTemplate(n,o)}}),{name:s,storage:{getItem:async e=>{let t=window.localStorage.getItem(e);return{state:t?JSON.parse(t):null}},setItem:(e,t)=>{window.localStorage.setItem(e,JSON.stringify(t))},removeItem:e=>{window.localStorage.removeItem(e)}},partialize:e=>({template:e.template}),skipHydration:!0}),{name:a,partialize:e=>({tempTemplates:e.tempTemplates}),skipHydration:!0}));t.Z=d},27378:function(e,t,n){"use strict";let r=(0,n(19624).Ue)(e=>({branch:"",version:"",features:["topBar","subscriptionPlan","openFullPage","shareThread"],setData:t=>e(t)}));t.Z=r},43150:function(e,t,n){"use strict";var r=n(19624),i=n(29793);let o={livedocOnlineUsers:[],resourcesOnlineUsers:[],isLoading:!1,hasMqttUpdateLivedoc:!1,hasMqttUpdateResources:!1,apiRequestTime:null,currentLivedocId:null},a=0,s=(0,r.Ue)((e,t)=>({...o,fetchOnlineUsers:async n=>{let r=++a;e({isLoading:!0,apiRequestTime:Date.now(),currentLivedocId:n});try{let o=await (0,i.g)(n);if(r!==a)return;let{hasMqttUpdateLivedoc:s,hasMqttUpdateResources:l}=t(),u=!s,c=!l;if(!u&&!c){e({isLoading:!1});return}let d={isLoading:!1};u&&(d.livedocOnlineUsers=o.livedoc.users||[]),c&&(d.resourcesOnlineUsers=o.resources||[]),e(d)}catch(t){if(r!==a)return;console.error("[CollaborationStore] è·åå¨çº¿ç¨æ·å¤±è´¥:",t),e({isLoading:!1})}},updateOnlineUsersFromMqtt:t=>{e({livedocOnlineUsers:t,hasMqttUpdateLivedoc:!0,isLoading:!1})},updateResourcesOnlineUsersFromMqtt:t=>{e({resourcesOnlineUsers:t,hasMqttUpdateResources:!0,isLoading:!1})},setUser:n=>{let{livedocOnlineUsers:r}=t(),i=r.findIndex(e=>e.uid===n.uid);if(i>=0){let t=[...r];t[i]=n,e({livedocOnlineUsers:t,hasMqttUpdateLivedoc:!0})}else e({livedocOnlineUsers:[...r,n],hasMqttUpdateLivedoc:!0})},removeUser:n=>{let{livedocOnlineUsers:r}=t();e({livedocOnlineUsers:r.filter(e=>e.uid!==n),hasMqttUpdateLivedoc:!0})},reset:()=>{a++,e(o)}}));t.Z=s},35525:function(e,t,n){"use strict";var r=n(19624),i=n(65819);let o=(0,r.Ue)(e=>({isOpen:!1,callback:()=>{},setIsOpen:t=>e({isOpen:t}),getDataRetentionEnabled:()=>{var e;return(null===(e=i.ZP.getState().userInfo.settings)||void 0===e?void 0:e.ai_data_retention)??!0},setCallback:t=>e({callback:t})}));t.Z=o},43215:function(e,t,n){"use strict";let r=(0,n(19624).Ue)(e=>({isOpen:!1,data:null,openModal:t=>e({isOpen:!0,data:t}),closeModal:()=>e({isOpen:!1,data:null})}));t.Z=r},22617:function(e,t,n){"use strict";n.d(t,{FO:function(){return c},eI:function(){return f},nM:function(){return u},px:function(){return d}});var r=n(43046),i=n(68605),o=n(19624);let a=e=>{try{return new URL(e,window.location.origin).origin}catch{return e}},s=()=>{let e="https://felo.ai";return!!e&&a(window.location.origin)===a(e)},l=(0,o.Ue)((e,t)=>({isEnterprise:!1,setIsEnterprise:t=>e({isEnterprise:t}),isCreating:!1,isOrgSwitchError:!1,setIsOrgSwitchError:t=>e({isOrgSwitchError:t}),setIsCreating:t=>e({isCreating:t}),isAvatarUploading:!1,setIsAvatarUploading:t=>e({isAvatarUploading:t}),enterpriseInfo:null,setEnterpriseInfo:n=>{e({enterpriseInfo:n}),(null==n?void 0:n.org_invitation_link)&&t().setOrgInvitationLink(null==n?void 0:n.org_invitation_link)},updateEnterpriseInfo:async()=>{e({enterpriseInfo:await (0,i.dC)()})},isOpenInviteModal:!1,setIsOpenInviteModal:t=>e({isOpenInviteModal:t}),enterprisePlan:{org_type:r.e0.FREE},setEnterprisePlan:t=>e({enterprisePlan:t}),updateEnterpriseInfoField:(n,r)=>{let i=t().enterpriseInfo;i&&e({enterpriseInfo:{...i,[n]:r}})},updateEnterprisePlanSeat:n=>{var r;let{enterprisePlan:i}=t(),o=((null==i?void 0:null===(r=i.org_subscription)||void 0===r?void 0:r.bind_seats)??0)+(n??0);e({enterprisePlan:{...i,org_subscription:i.org_subscription?{...i.org_subscription,bind_seats:o<0?0:o}:null}})},orgInvitationLink:null,setOrgInvitationLink:t=>e({orgInvitationLink:t}),orgAccountList:[],setOrgAccountList:t=>{e(()=>({orgAccountList:t}))},domainLoginPolicy:"unknown",isEnterpriseDomain:!1,fetchDomainOrgInfo:async()=>
18{if(s()){e({domainLoginPolicy:"enabled",isEnterpriseDomain:!1});return}let t=await (0,i.mH)();t&&e({domainLoginPolicy:!1===t.registerEnabled?"disabled":"enabled",isEnterpriseDomain:t.enterpriseDomain})}})),u=()=>l(e=>"enabled"===e.domainLoginPolicy),c=()=>l(e=>e.isEnterpriseDomain),d=()=>l(e=>{var t;return null===(t=e.enterprisePlan)||void 0===t?void 0:t.org_type}),f=()=>l(e=>{var t,n;return null===(n=e.enterprisePlan)||void 0===n?void 0:null===(t=n.org_subscription)||void 0===t?void 0:t.product_id});t.ZP=l},36716:function(e,t,n){"use strict";let r=(0,n(19624).Ue)(e=>({isOpen:!1,organizationInfo:null,isFirstTimeSetup:!1,bindingConfig:null,tempToken:null,modalStep:"enterprise",step:"setup",oauthResumePath:null,setOauthResumePath:t=>e({oauthResumePath:t}),setStep:t=>e({step:t}),setIsOpen:t=>e({isOpen:t}),setModalStep:t=>e({modalStep:t}),setTempToken:t=>e({tempToken:t}),openModal:(t,n,r)=>e({isOpen:!0,organizationInfo:t,isFirstTimeSetup:n,tempToken:r}),closeModal:()=>e({isOpen:!1,organizationInfo:null,isFirstTimeSetup:!1,step:"setup",modalStep:"enterprise"}),setBindingConfig:t=>e({bindingConfig:t})}));t.Z=r},12971:function(e,t,n){"use strict";var r=n(4774);let i=(0,n(19624).Ue)(e=>({isOpen:!1,requestId:0,source:null,action:r.Vr,open:function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.Vr;return e({isOpen:!0,requestId:t,source:n,action:i})},close:t=>e(e=>e.requestId===t?{...e,isOpen:!1,source:null}:e)}));t.Z=i},24375:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});let r=(0,n(19624).Ue)(e=>({imageModels:null,isLoading:!1,hasFetched:!1,setImageModels:t=>e({imageModels:t}),setLoading:t=>e({isLoading:t}),setHasFetched:t=>e({hasFetched:t})}))},57546:function(e,t,n){"use strict";let r=(0,n(19624).Ue)(e=>{let t=!1;return"plan"===new URLSearchParams(location.search).get("action")&&(t=!0),{sidebarVisible:!1,planModalVisible:t,planModalTriggerSource:void 0,loginModalVisible:!1,inviteModalVisible:!1,searchErrorModalVisible:!1,planEnterpriseModalVisible:!1,isEnterpriseLogin:!1,planExpiredDialog:{type:null,data:null},switchModelTipVisible:!1,redemptionModalVisible:!1,redemptionCode:null,settingsModalVisible:!1,settingsModalInitialTab:"account",imageLightboxVisible:!1,imageLightboxList:[],imageLightboxActiveIndex:0,settingsModalTitle:"",isBoardDetailsView:!1,isFoldedSidebar:!0,isHiddenSidebar:!1,isHighTrafficAlertDialogVisible:!1,setIsHighTrafficAlertDialogVisible:t=>{e({isHighTrafficAlertDialogVisible:t})},setSwitchModelTipVisible:t=>{e({switchModelTipVisible:t})},setPlanExpiredDialog:t=>{e({planExpiredDialog:t})},setIsEnterpriseLogin:t=>{e({isEnterpriseLogin:t})},callbackUri:void 0,setCallbackUri:t=>{e({callbackUri:t})},callbackFunction:void 0,setCallbackFunction:t=>{e({callbackFunction:t})},setSidebarVisible:t=>{e({sidebarVisible:t})},closeSidebar:()=>{e({sidebarVisible:!1})},setPlanModalVisible:(t,n)=>{e({planModalVisible:t,planModalTriggerSource:n})},setLoginModalVisible:t=>{e({loginModalVisible:t})},setInviteModalVisible:t=>{e({inviteModalVisible:t})},setSearchErrorModalVisible:t=>{e({searchErrorModalVisible:t})},setPlanEnterpriseModalVisible:t=>{e({planEnterpriseModalVisible:t})},usePcToastVisible:!1,setUsePcToastVisible:t=>{e({usePcToastVisible:t})},usePcDialogVisible:!1,setUsePcDialogVisible:t=>{e({usePcDialogVisible:t})},usePcCreateDialogVisible:!1,setUsePcCreateDialogVisible:t=>{e({usePcCreateDialogVisible:t})},setRedemptionModalVisible:t=>{e({redemptionModalVisible:t})},setRedemptionCode:t=>{e({redemptionCode:t})},setSettingsModalVisible:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"account";e({settingsModalVisible:t,settingsModalInitialTab:n})},openImageLightbox:(t,n)=>{e({imageLightboxVisible:!0,imageLightboxList:t,imageLightboxActiveIndex:n})},closeImageLightbox:()=>{e({imageLightboxVisible:!1})},setImageLightboxActiveIndex:t=>{e({imageLightboxActiveIndex:t})},setSettingsModalTitle:t=>{e({settingsModalTitle:t})},setIsBoardDetailsView:t=>{e({isBoardDetailsView:t})},setIsFoldedSidebar:t=>e(()=>({isFoldedSidebar:t})),setIsHiddenSidebar:t=>e(()=>({isHiddenSidebar:t})),isLiveDocLogin:!1,setIsLiveDocLogin:t=>e(()=>({isLiveDocLogin:t})),isLoginRequired:!1,setIsLoginRequired:t=>e(()=>({isLoginRequired:t}))}});t.Z=r},77844:function(e,t,n){"use strict";let r=(0,n(19624).Ue)(e=>({current:"",firstFrom:"",from:"",setCurrent:t=>e({current:t}),setFrom:t=>e({from:t}),setFirstFrom:t=>e({firstFrom:t}),clear:()=>e({current:"",firstFrom:"",from:""})}));t.Z=r},64167:function(e,t,n){"use strict";var r=n(2605);let i=(0,n(19624).Ue)((e,t)=>({list:[],loading:!1,initialized:!1,pageInfo:{total:0,offset:0,limit:30},getList:async n=>{if(t().loading)return;let{offset:i,limit:o,total:a}=t().pageInfo;if(!a||!(i>=a)){e({loading:!0});try{let a=await (0,r.OC)({offset:i,limit:o,keyword:n});if(!a||!a.items){e({loading:!1,initialized:!0,pageInfo:{total:0,offset:0,limit:t().pageInfo.limit},list:[]});return}let{items:s,total:l}=a,u=t().list;e({loading:!1,initialized:!0,list:u.concat(s),pageInfo:{total:l,offset:i+s.length,limit:o}})}catch(t){e({loading:!1,initialized:!0})}}},deleteItems:t=>{e(e=>({list:e.list.filter(e=>
18!t.includes(e.short_id)),pageInfo:{...e.pageInfo,offset:Math.max(0,e.pageInfo.offset-t.length)}}))},cleanList:()=>{e({list:[],initialized:!1,pageInfo:{total:0,offset:0,limit:30}})},updateTitle:(n,r)=>{e({list:t().list.map(e=>e.short_id===n?{...e,title:r}:e)})}}));t.Z=i},14950:function(e,t,n){"use strict";var r=n(19624);let i={inviteId:null,inviterInfo:null,inviteLink:null,status:null,isLoading:!1,isOpenCollaboratorModal:!1,isOpenLiveDocLimitModal:!1,liveDocLimitModalData:null,isOpenPermissionChangeModal:!1,permissionChangeRole:""},o=(0,r.Ue)(e=>({...i,setInviteId:t=>e({inviteId:t}),setInviterInfo:t=>e({inviterInfo:t}),setInviteLink:t=>e({inviteLink:t}),setStatus:t=>e({status:t}),setIsLoading:t=>e({isLoading:t}),setIsCollaboratorModal:t=>e({isOpenCollaboratorModal:t}),setIsOpenLiveDocLimitModal:t=>e({isOpenLiveDocLimitModal:t}),setLiveDocLimitModalData:t=>e({liveDocLimitModalData:t}),setIsOpenPermissionChangeModal:t=>e({isOpenPermissionChangeModal:t}),setPermissionChangeRole:t=>e({permissionChangeRole:t})}));t.Z=o},84878:function(e,t,n){"use strict";n.d(t,{CX:function(){return s}});var r=n(19624),i=n(55994);let o={liveDocId:null,liveDocData:null,selectedThreadId:null,selectedResourceIds:[],shouldStartAssistantFullscreen:!1,isAssistantOpen:!1,isWebpageOpen:!1,webpageData:null,isFeloDocOpen:!1,feloDocData:null,isVoiceNoteOpen:!1,voiceNoteData:null,resources:[],selectedLiveDocItem:null,cursorMode:"arrow",selectedNodesByThreadChat:[],allNodes:[],feloDocDataList:null,isGeneratingNodeIds:[],hideProductFileName:!1,isRetryResearchReport:!1,isDocumentDetailOpen:!1,documentDetailData:null,isDraggingCanvas:!1,activeRecordingLiveDocId:null,activeRecordingNoteId:null,openThreadChatReason:"",isMindmapDetailOpen:!1,currentMindmapInfo:null,mindmapDatas:{},isExportTemplateOpen:!1,exportTemplateMode:"export",referenceTemplateInitialId:null,onReferenceTemplateApply:null,selectedExportTemplateData:{resourceId:""},isDownloadPopupOpen:!1,downloadPopupData:null},a=(0,r.Ue)((e,t)=>({...o,setIsDraggingCanvas:t=>{e({isDraggingCanvas:t})},setIsDocumentDetailOpen:t=>{e({isDocumentDetailOpen:t})},setDocumentDetailData:t=>{e({documentDetailData:t||null})},init:(t,n)=>{e({liveDocId:t,liveDocData:n||null,selectedThreadId:null})},setSelectedThreadId:t=>{e({selectedThreadId:t})},setSelectedLiveDocItem:t=>{e({selectedLiveDocItem:t})},setSelectedResourceIds:t=>{e({selectedResourceIds:t})},checkAndConsumeFullscreenIntent:t=>{sessionStorage.getItem(i.o.LIVEDOC_FULLSCREEN_INTENT)===t&&(sessionStorage.removeItem(i.o.LIVEDOC_FULLSCREEN_INTENT),e({shouldStartAssistantFullscreen:!0}))},setShouldStartAssistantFullscreen:t=>{e({shouldStartAssistantFullscreen:t})},setIsAssistantOpen:t=>{e({isAssistantOpen:t})},openWebpage:t=>{e({isWebpageOpen:!0,webpageData:t})},closeWebpage:()=>{e({isWebpageOpen:!1,webpageData:null})},updateWebpageData:t=>{e(e=>e.webpageData?{webpageData:{...e.webpageData,...t}}:{})},openFeloDoc:t=>{e({isFeloDocOpen:!0,feloDocData:t})},closeFeloDoc:()=>{e({isFeloDocOpen:!1,feloDocData:null})},openVoiceNote:t=>{e({isVoiceNoteOpen:!0,voiceNoteData:t})},closeVoiceNote:()=>{e({isVoiceNoteOpen:!1,voiceNoteData:null})},updateLiveDocData:t=>{e({liveDocData:t})},updateLiveDocTitle:n=>{let r=t().liveDocData;r&&e({liveDocData:{...r,name:n}})},updateLiveDocPermissionItem:n=>{let r=t().liveDocData;r&&r.permission&&e({liveDocData:{...r,permission:{...r.permission,...n}}})},addResources:n=>{e({resources:[...t().resources,...n]})},setResources:t=>{e({resources:t})},setCursorMode:t=>{e({cursorMode:t})},reset:()=>{e(o)},setSelectedNodesByThreadChat:t=>{e({selectedNodesByThreadChat:t})},setAllNodes:t=>{e({allNodes:t})},setFeloDocDataList:(n,r)=>{e({feloDocDataList:{...t().feloDocDataList||{},[n]:r}})},setIsRetryResearchReport:t=>{e({isRetryResearchReport:t})},addToGeneratingNodeIds:n=>{t().isGeneratingNodeIds.includes(n)||e({isGeneratingNodeIds:[...t().isGeneratingNodeIds,n]})},removeFromGeneratingNodeIds:n=>{e({isGeneratingNodeIds:t().isGeneratingNodeIds.filter(e=>e!==n)})},setHideProductFileName:t=>{e({hideProductFileName:t})},getPermissionLevel:()=>{let e=t().liveDocData;if(e&&null===e.permission)return"editable";if(!e||!e.permission)return"none";let{can_read:n,can_write:r}=e.permission;return r?"editable":n?"readable":"none"},setActiveRecording:(t,n)=>{e({activeRecordingLiveDocId:t,activeRecordingNoteId:n})},clearActiveRecording:()=>{e({activeRecordingLiveDocId:null,activeRecordingNoteId:null})},hasActiveRecording:e=>{let n=t();return n.activeRecordingLiveDocId===e&&null!==n.activeRecordingNoteId},setOpenThreadChatReason:t=>{e({openThreadChatReason:t})},setIsMindmapDetailOpen:t=>{e({isMindmapDetailOpen:t})},setCurrentMindmapInfo:t=>{e({currentMindmapInfo:t})},setMindmapData:(t,n)=>{e(e=>({mindmapDatas:{...e.mindmapDatas,[t]:n}}))},getMindmapData:e=>t().mindmapDatas[e],setIsExportTemplateOpen:t=>{e({isExportTemplateOpen:t})},setExportTemplateMode:t=>{e({exportTemplateMode:t})},clearReferenceTemplateState:()=>{e({exportTemplateMode:"export",referenceTemplateInitialId:null,onReferenceTemplateApply:null,isExportTemplateOpen:!1})},openReferenceTemplateModal:(t,n)=>{e({exportTemplateMode:"reference",referenceTemplateInitialId:n??null,onReferenceTemplateApply:t,isExportTemplateOpen:!0})},setSelectedExportTemplateData:t=>{e({selectedExportTemplateData:t})},setIsDownloadPopupOpen:t=>{e({isDownloadPopupOpen:t})},setDownloadPopupData:t=>{e({downloadPopupData:t})}}));t.ZP=a;let s=()=>a(e=>e.getPermissionLevel())},3295:function(e,t,n){"use strict";var r=n(38188),i=n(19624);let o=(e,t)=>{let n=localStorage.getItem(e);return null===n?t:"true"===n},a=(0,i.Ue)(e=>{let t=!1,n=!1,i=!1,a=!0;return t=o(r.J.SIDEBAR_FOLD_TOPIC,!1),n=o(r.J.SIDEBAR_FOLD_HISTORY,!1),{autoTranslateSources:!1,foldTopic:t,foldHistory:n,foldAgents:i=o(r.J.SIDEBAR_FOLD_AGENTS,!1),slidesMentalModelFirstShow:o(r.J.SLIDES_MENTAL_MODEL_FIRST_SHOW,!0),homeTryCreateModeShow:o(r.J.HOME_TRY_CREATE_MODE_SHOW,!0),setAutoTranslateSources:t=>{localStorage.setItem(r.J.AUTO_TRANSLATE_SOURCE,String(t)),e({autoTranslateSources:t})},setFoldTopic:t=>
18{localStorage.setItem(r.J.SIDEBAR_FOLD_TOPIC,String(t)),e({foldTopic:t})},setFoldHistory:t=>{localStorage.setItem(r.J.SIDEBAR_FOLD_HISTORY,String(t)),e({foldHistory:t})},setFoldAgents:t=>{localStorage.setItem(r.J.SIDEBAR_FOLD_AGENTS,String(t)),e({foldAgents:t})},setSlidesMentalModelFirstShow:t=>{localStorage.setItem(r.J.SLIDES_MENTAL_MODEL_FIRST_SHOW,String(t)),e({slidesMentalModelFirstShow:t})},setHomeTryCreateModeShow:t=>{localStorage.setItem(r.J.HOME_TRY_CREATE_MODE_SHOW,String(t)),e({homeTryCreateModeShow:t})}}});t.Z=a},35063:function(e,t,n){"use strict";let r=(0,n(19624).Ue)((e,t)=>({mergedSources:[],setMergedSources:t=>e({mergedSources:t}),scholarReferences:[],setScholarReferences:t=>e({scholarReferences:t}),setMergedSourcesPptCover:n=>{try{let r=t().mergedSources.map(e=>{let t=null==e?void 0:e.other_info;return(null==t?void 0:t.type)==="PPT"?(t.imageUrl=n||"",{...e,other_info:{...t}}):e});e({mergedSources:{...r}})}catch(e){}}}));t.Z=r},55480:function(e,t,n){"use strict";var r=n(19624),i=n(19546),o=n(78017);let a=(0,r.Ue)((e,t)=>({pinList:[],setPinList:t=>e({pinList:t}),pinUserList:[],setPinUserList:t=>e({pinUserList:t}),pinSystemList:[],setPinSystemList:t=>e({pinSystemList:t}),updatePinList:(e,n)=>{var r;let o=t().pinUserList,a=null==e?void 0:null===(r=e.thread_template_tiny)||void 0===r?void 0:r.short_id;if(n)o.push(e),a&&i.Z.getState().changeSystemTemplateFavorite(a,e);else{let t=o.findIndex(t=>t.component_key===e.component_key);-1!==t&&o.splice(t,1),a&&(i.Z.getState().changeSystemTemplateFavorite(a),i.Z.getState().changeUserTemplateFavorite(a),i.Z.getState().changeEnterpriseTemplateFavorite(a))}t().reorderPinList()},reorderPinList:()=>{let e=t().pinUserList,n=t().pinSystemList,r=[],i=[o.m5,o.PZ],a=n.filter(e=>i.includes(e.component_key)),s=n.filter(e=>!i.includes(e.component_key)),l=e.slice(0,8),u=new Set(l.map(e=>e.component_key)),c=a.filter(e=>!u.has(e.component_key));r.push(...c),r.push(...l);let d=10-r.length;if(d>0){let e=new Set([...u,...c.map(e=>e.component_key)]),t=s.filter(t=>!e.has(t.component_key)).slice(0,d);r.push(...t)}t().setPinList(r)},loading:!0,setLoading:t=>e({loading:t}),pinItemkey:"",setPinItemkey:t=>e({pinItemkey:t})}));t.Z=a},27751:function(e,t,n){"use strict";var r=n(19624),i=n(51545);let o=(0,r.Ue)(e=>({products:i.s,showBuyPointsModal:!1,setProducts:t=>e({products:t}),setShowBuyPointsModal:t=>e({showBuyPointsModal:t})}));t.Z=o},33451:function(e,t,n){"use strict";var r=n(19624);let i={points:null,isLoading:!1,error:null,pointsConfig:[]},o=(0,r.Ue)((e,t)=>({...i,setPoints:t=>e({points:t,isLoading:!1,error:null}),deduct:t=>e(e=>({points:null!==e.points?e.points-t:null})),startLoading:()=>e({isLoading:!0,error:null}),setError:t=>e({error:t,isLoading:!1}),reset:()=>e(i),setPointsConfig:t=>e({pointsConfig:t}),getPointsByDeductionItem:e=>{let{pointsConfig:n}=t(),r=n.find(t=>t.deduction_item===e);return(null==r?void 0:r.points)??0}}));t.Z=o},77998:function(e,t,n){"use strict";let r;var i=n(94572),o=n(45360);let a=(0,n(19624).Ue)((e,t)=>({generatePptProgress:0,setGeneratePptProgress:t=>{e({generatePptProgress:Math.min(t,100)})},pptStatus:"init",setPptStatus:t=>e({pptStatus:t}),templateId:0,setTemplateId:t=>e({templateId:t}),outline:"",outlineLoading:!1,outlineStatus:"init",setOutline:t=>e({outline:t}),setOutlineLoading:t=>e({outlineLoading:t}),setOutlineStatus:t=>e({outlineStatus:t}),updateGeneratePptProgress:n=>{let{maxProgress:o=100,increment:a=2,interval:s=2e3,threadId:l}=n;return r=setInterval(()=>{let n=t().generatePptProgress;if(n>=o)clearInterval(r);else{let r=Math.min(n+a,o);(0,i.bs)({threadId:l,progress:r}),e({generatePptProgress:r}),t().setPptGenerateStatusSingle({threadId:l,progress:r})}},s),()=>clearInterval(r)},increaseGeneratePptProgress:n=>{let{increment:r=2,threadId:o}=n,a=Math.min(t().generatePptProgress+r,99);(0,i.bs)({threadId:o,progress:a}),e({generatePptProgress:a}),t().setPptGenerateStatusSingle({threadId:o,progress:a})},clearUpdateGeneratePptProgress:()=>{clearInterval(r)},pptDetail:null,setPptDetail:n=>{e({...t().pptGenerateStatusList,pptDetail:n})},isPptLoading:!1,setIsPptLoading:t=>e({isPptLoading:t}),pptModalType:"generate",setPptModalType:t=>e({pptModalType:t}),templateStatus:"init",setTemplateStatus:t=>e({templateStatus:t}),pptGenerateStatusList:{},setPptGenerateStatusList:t=>{e({pptGenerateStatusList:t})},setPptGenerateStatusSingle:n=>{let r=t().pptGenerateStatusList;
18(null==n?void 0:n.threadId)&&(null==r?void 0:r[n.threadId])&&(r[n.threadId].progress=Math.min((null==n?void 0:n.progress)??0,100)),e({pptGenerateStatusList:{...r}})},updatePptGenerateStatusList:()=>{let t=(0,i.Q0)();t&&e({pptGenerateStatusList:{...Object.entries(t).filter(e=>{let[t,n]=e;return null==n?void 0:n.isProgress}).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{})}})},isHiddenModal:!1,setIsHideModal:t=>e({isHiddenModal:t}),isLoadingButton:!0,setIsLoadingButton:t=>e({isLoadingButton:t}),getOutline:async e=>{let{thread_id:n,template_id:r,stream:i,language:a}=e;return await (0,o.SG)({thread_id:n,template_id:r,stream:i,language:a,setOutline:t().setOutline,setOutlineLoading:t().setOutlineLoading})}}));t.Z=a},18881:function(e,t,n){"use strict";var r=n(94572);let i=(0,n(19624).Ue)((e,t)=>({isShowPptModal:!1,setIsShowPptModal:t=>{t?((0,r.Zd)(!1),(0,r.tG)()):(0,r.F_)(),e({isShowPptModal:t})},isShowPptBtnAnimate:!1,setIsShowPptBtnAnimate:t=>e({isShowPptBtnAnimate:t}),isPptGenerated:!1,setIsPptGenerated:t=>e({isPptGenerated:t}),cachePptListFirst:null,setCachePptListFirst:t=>e({cachePptListFirst:t}),isRegenerate:!1,setIsRegenerate:t=>e({isRegenerate:t}),isPdfLoaded:!1,setIsPdfLoaded:t=>e({isPdfLoaded:t}),isRegenerateLoading:!1,setIsRegenerateLoading:t=>e({isRegenerateLoading:t}),isMyThread:!1,setIsMyThread:t=>e({isMyThread:t}),uiModalType:"generate",setUiModalType:t=>e({uiModalType:t}),pptBtnEntrance:[],setPptBtnEntrance:t=>e({pptBtnEntrance:t}),selectedOptionKey:"generate",setSelectedOptionKey:t=>e({selectedOptionKey:t}),selectedOptionValue:"ppt.generate_ppt_btn",setSelectedOptionValue:t=>e({selectedOptionValue:t}),selectedOption:new Set(["generate"]),setSelectedOption:t=>e({selectedOption:t}),pptBtnKey:"generate",setPptBtnKey:t=>e({pptBtnKey:t}),pptDetailCahce:null,setPptDetailCache:t=>e({pptDetailCahce:t}),disabledMenu:new Set([]),setDisabledMenu:t=>e({disabledMenu:t}),isCanvaAuthorized:!1,setIsCanvaAuthorized:t=>e({isCanvaAuthorized:t}),coverUrl:"",setCoverUrl:t=>e({coverUrl:t}),isCanvaConnectedLoading:!1,setIsCanvaConnectedLoading:t=>e({isCanvaConnectedLoading:t}),isOpenCanvaEditorLoading:!1,setIsOpenCanvaEditorLoading:t=>e({isOpenCanvaEditorLoading:t}),pptGenerateStatusList:{},showPpt:"0",setShowPpt:t=>e({showPpt:t}),isShowSelectType:!1,setIsShowSelectType:t=>e({isShowSelectType:t}),generateType:"answer",setGenerateType:t=>e({generateType:t}),generateKey:"generate",setGenerateKey:t=>e({generateKey:t}),isReauthorized:!1,setIsReauthorized:t=>e({isReauthorized:t}),isShowCanvaModal:!1,setIsShowCanvaModal:t=>e({isShowCanvaModal:t}),isImportLoading:!1,setIsImportLoading:t=>e({isImportLoading:t}),design:null,setDesign:t=>e({design:t}),isGenerateLoading:!1,setIsGenerateLoading:t=>e({isGenerateLoading:t}),isGeneratedSuccess:!1,setIsGeneratedSuccess:t=>e({isGeneratedSuccess:t}),agentOutline:"",setAgentOutline:t=>e({agentOutline:t}),businessType:"THREAD",setBusinessType:t=>e({businessType:t}),businessId:"",setBesinessId:t=>e({businessId:t}),previewPPTData:void 0,setPreviewPPTData:t=>e({previewPPTData:t}),pptGenerateStep:1,setPptGenerateStep:t=>e({pptGenerateStep:t}),pptLanguage:0,setPPTLanguage:t=>e({pptLanguage:t}),allPptGenerateData:{},setAllPptGenerateData:t=>e({allPptGenerateData:t})}));t.Z=i},37766:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(19624);let i=e=>"uploading"===e.status||"analyzing"===e.status,o=(0,r.Ue)((e,t)=>({homeFiles:[],setHomeFiles:t=>e(e=>({...e,homeFiles:t})),files:[],setFiles:t=>e(e=>({...e,files:t})),isUploading:!1,setIsUploading:t=>e({isUploading:t}),documents:[],setDocuments:t=>e({documents:t}),chatDocumentsCounts:0,setChatDocumentsCounts:t=>e({chatDocumentsCounts:t}),threadFiles:[],setThreadFiles:t=>e(e=>({...e,threadFiles:t})),currentFileProgress:0,setCurrentFileProgress:t=>e({currentFileProgress:t}),previousSearchCategory:null,setPreviousSearchCategory:t=>e({previousSearchCategory:t}),removeHomeFilesById:n=>{let r=t().homeFiles;e({homeFiles:[...null==r?void 0:r.filter(e=>!n.includes(e.id))]})},removeFilesById:n=>{let r=t().files;e({files:[...null==r?void 0:r.filter(e=>!n.includes(e.id))]})},nThUpload:0,setNThUpload:t=>e({nThUpload:t}),isImageUploading:!1,setIsImageUploading:t=>e({isImageUploading:t}),homeImages:[],setHomeImages:t=>e({homeImages:t}),threadImages:[],setThreadImages:t=>e({threadImages:t}),isOpenFirstUseModal:!1,setIsOpenFirstUseModal:t=>e({isOpenFirstUseModal:t}),removeHomeImageSById:n=>{let r=t().homeImages;e({homeImages:[...null==r?void 0:r.filter(e=>!n.includes(e.id))]})},homeImageSQustions:[],setHomeImagesQustions:t=>e({homeImageSQustions:t}),isImageChat:!0,setIsImageChat:t=>e({isImageChat:t}),isGoToSearch:!1,setIsGoToSearch:t=>e({isGoToSearch:t})}));t.Z=o},31022:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r,i,o=n(36551),a=n(17588),s=n(19624),l=n(98496),u=n(65819);(r=i||(i={})).SEARCH="search_agent",r.AI_IMAGE="ai_image",r.AI_PPT="ppt_generation_v2",r.INTERACTIVE_WEBPAGE="html_agent",r.LANDING_PAGE="landing_page_agent",r.RESEARCH="research",r.CREATE="create",r.TWITTER_AGENT="twitter_agent",r.VOICE="voice",r.MINDMAP="mindmap",r.DOCUMENT="document",r.SOCIAL_MEDIA="social_media";let c=e=>{try{var t,n,r;return(null===(n=JSON.parse((null===(r=window.localStorage)||void 0===r?void 0:r.getItem("felo-search-storage"))||"{}"))||void 0===n?void 0:null===(t=n.state)||void 0===t?void 0:t[e])??!1}catch{return!1}},d=()=>{var e;return!!(null===(e=localStorage)||void 0===e?void 0:e.getItem(o.VP))},f=(0,s.Ue)()((0,l.tJ)((e,t)=>({loading:!1,searchType:"",errorQuery:void 0,setSearchType:t=>e(e=>e.searchType===t?e:{searchType:t,searchValueRevision:e.searchValueRevision+1}),isBeginAnswer:!1,isChat:!1,isTopicSearchNetwork:!0,isTopicReply:!1,webSummarySources:[],selectedModel:"",selectedModelItem:void 0,isSingleAgentCanUse:!1,isFirstDeepCoerceR1:d(),isShowDeepTooltip:!1,isShowAgentSources:!1,agentSources:[],isShowMobileSource:!1,sourcesHtml:"",sourceType:"sources",sourceTitle:"",threadIndex:0,editSource:[],freeUserSearchCountInfo:{research:1,proSearch:5},setFreeUserSearchCountInfo:t=>e(()=>({freeUserSearchCountInfo:t})),setErrorQuery:t=>e(()=>({errorQuery:t})),selectedSkills:"",setSelectedSkills:t=>e(e=>e.selectedSkills===t?e:{selectedSkills:t,searchValueRevision:e.searchValueRevision+1}),setEditSource:t=>e(()=>({editSource:t})),setThreadIndex:t=>{e(()=>({threadIndex:t})),e(()=>({sourceType:"think"}))},setSourceType:t=>e(()=>({sourceType:t})),setSourceTitle:t=>e(()=>({sourceTitle:t})),setIsShowMobileSource:t=>e(()=>({isShowMobileSource:t})),setClearSources:()=>{e(()=>({agentSources:[],sourcesHtml:"",sourceType:"sources"}))},setSourcesHtml:t=>{e(()=>({sourcesHtml:t})),e(()=>({sourceType:"html"}))},setIsShowAgentSources:t=>e(()=>({isShowAgentSources:t})),setAgentSources:t=>{e(()=>({agentSources:t})),e(()=>({sourceType:"sources"}))},setIsShowDeepTooltip:t=>e(()=>({isShowDeepTooltip:t})),setIsFirstDeepCoerceR1:t=>e(()=>({isFirstDeepCoerceR1:t})),setIsSingleAgentCanUse:t=>e(()=>({isSingleAgentCanUse:t})),setSelectedModel:function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e(()=>({selectedModel:t})),n||u.ZP.getState().updateUserInfo({chat_model:t})},setSelectedModelItem:t=>e(()=>({selectedModelItem:t})),allModelList:[],agentModelList:[],setAllModelList:t=>e(()=>({allModelList:t})),setAgentModelList:t=>e(()=>({agentModelList:t})),setWebSummarySources:t=>e({webSummarySources:t}),isDiscovery:c("isDiscovery"),setIsTopicSearchNetwork:t=>e(()=>({isTopicSearchNetwork:t})),setIsChat:t=>e(()=>({isChat:t})),setIsTopicReply:t=>e(()=>({isTopicReply:t})),setIsDiscovery:t=>e(()=>({isDiscovery:t})),startSearch:t=>{if(t){e(()=>({from:t,loading:!0}));return}e(()=>({loading:!0}))},endSearch:()=>e(()=>
18({loading:!1,isBeginAnswer:!1})),extensionEnable:void 0,extensionEnableLoading:!0,legacyExtensionEnable:!1,extensionSelected:"google",extensionSelectedLoading:!1,extensionSelectedError:void 0,extensionSelectedErrorMsg:"",proSelected:!1,from:"default",willBindTopicId:"",setProSelected:t=>e(()=>({proSelected:t})),setExtensionEnable:t=>e(()=>({extensionEnable:t})),setExtensionEnableLoading:t=>e(()=>({extensionEnableLoading:t})),setExtensionSelected:t=>{try{var n;null===(n=sessionStorage)||void 0===n||n.setItem(o.sd,t)}catch(e){}e(()=>({extensionSelected:t}))},setExtensionSelectedLoading:t=>e(()=>({extensionSelectedLoading:t})),setExtensionError:(t,n)=>e(()=>({extensionSelectedError:t,extensionSelectedErrorMsg:n})),setWillBindTopicId:t=>{e({willBindTopicId:t})},startBeginAnswer:()=>{e({isBeginAnswer:!0})},searchValue:"",searchValueRevision:0,setHomeSearchValue:n=>{e(e=>e.searchValue===n?e:{searchValue:n,searchValueRevision:e.searchValueRevision+1}),n&&(0,a.cD)(n,t().searchType)},getSearchValueSnapshot:()=>({value:t().searchValue,revision:t().searchValueRevision}),isSearchValueSnapshotCurrent:e=>{let n=t();return n.searchValue===e.value&&n.searchValueRevision===e.revision},consumeSearchValue:(n,r)=>!!t().isSearchValueSnapshotCurrent(r)&&((0,a.hK)(),e(e=>({searchValue:"",searchValueRevision:e.searchValueRevision+1})),!0),hydrateSearchValueDraft:()=>{if(t().searchValue)return!1;let n=(0,a.VS)();return!!n&&(e({searchValue:n.query,searchValueRevision:t().searchValueRevision+1,...n.searchType?{searchType:n.searchType}:{}}),!0)},setLoading:t=>{e({loading:t})},getAndResetDiscovery:()=>{let n=t().isDiscovery;return e(()=>({isDiscovery:!1})),n}}),{name:"felo-search-storage",partialize:e=>({proSelected:e.proSelected,isDiscovery:e.isDiscovery,selectedModel:e.selectedModel,selectedModelItem:e.selectedModelItem}),storage:{getItem:e=>{let t=window.localStorage.getItem(e);return t?JSON.parse(t):null},setItem:(e,t)=>{window.localStorage.setItem(e,JSON.stringify(t))},removeItem:e=>{window.localStorage.removeItem(e)}}}));t.Z=f},65105:function(e,t,n){"use strict";n.d(t,{GS:function(){return g},GT:function(){return m},Oi:function(){return v},P2:function(){return _},WI:function(){return h},yn:function(){return p}});var r=n(93086),i=n(19624),o=n(65819),a=n(43046),s=n(98795),l=n(33451);let u=a.KC.PRODUCT_PRO_ID,c=a.KC.SEARCH_ONLY,d=a.KC.ENTERPRISE_PRO_ID,f=(0,i.Ue)((e,t)=>({isPro:!1,subscriptionInfo:null,isSearchOnlyProduct:!1,setIsSearchOnlyProduct:t=>{e(()=>({isSearchOnlyProduct:t}))},setSubscriptionInfo:t=>{t&&"felo_search_search_only"===t.level?f.getState().setIsSearchOnlyProduct(!0):f.getState().setIsSearchOnlyProduct(!1),e({subscriptionInfo:t,isPro:t.level===u||t.level===d||t.level===c})},refreshSubscriptionInfo:async()=>{let e=await (0,r.NT)();e&&t().setSubscriptionInfo(e)},reduceProTimes:n=>{let{subscriptionInfo:r}=t(),i=0;if(r){let{used:t}=r,o=t.balance;if(o<=0)return 0;i=o-n,e({subscriptionInfo:{...r,used:{...t,balance:i}}})}let{deviceUserInfo:a}=o.ZP.getState();return(null==a?void 0:a.is_new_device)&&(i=a.pro_count-n,o.ZP.getState().setDeviceUserInfo({pro_count:i,is_new_device:i>0})),i},reduceSubscriptioUsageTimes:n=>{var r;let{times:i=1,featureName:o="pointsUsage",deductionItem:a,amount:s}=n,{subscriptionInfo:u}=t();if(!u)return 0;let c=u[o],d=(null==c?void 0:c.balance)??0,f=null==u?void 0:u.used,h=(null==f?void 0:f.balance)??0,p=l.Z.getState().pointsConfig,m=(null==p?void 0:null===(r=p.find(e=>e.deduction_item===a))||void 0===r?void 0:r.points)??0;if(d>=h){let t=(null==c?void 0:c.balance)-(s??m);return t=t<=0?0:t,e({subscriptionInfo:{...u,[o]:{...c,balance:t}}}),t}return"PRO_SEARCH"!==a||h<=0?0:t().reduceProTimes(i)},reset:()=>{e({isPro:!1,subscriptionInfo:null})},refreshPointsInfo:async()=>{var n,i,a;let l=await (0,r.ww)();if(!l)return 0;let u=t().isSearchOnlyProduct,c=t().subscriptionInfo;if(!c)return 0;e({subscriptionInfo:{...c,used:u?c.used:l.used,pointsUsage:l.pointsUsage,pointsEnterpriseUsage:l.pointsEnterpriseUsage}});let{total_limit:d}=l.pointsUsage;if(d===s.a.UNLIMITED)return 1/0;let f=(null===(n=l.pointsUsage)||void 0===n?void 0:n.balance)??0;return o.ZP.getState().isEnterprise&&(null===(i=l.pointsEnterpriseUsage)||void 0===i?void 0:i.balance)&&(f=(null===(a=l.pointsEnterpriseUsage)||void 0===a?void 0:a.balance)+f),f}})),h=()=>f(e=>e.isPro),p=()=>f(e=>{var t;return(null===(t=e.subscriptionInfo)||void 0===t?void 0:t.subscriptions.subscription_channel)==="FELO_REDEMPTION"}),m=()=>f(e=>{var t;return null===(t=e.subscriptionInfo)||void 0===t?void 0:t.subscriptions.product_id}),g=e=>f(t=>{var n,r;return!!t.subscriptionInfo&&((null===(n=t.subscriptionInfo[e])||void 0===n?void 0:n.total_limit)===s.a.UNLIMITED||(null===(r=t.subscriptionInfo[e])||void 0===r?void 0:r.balance)>0)}),_=()=>f(e=>{var t,n,r,i,o,a,l;if(!e.subscriptionInfo)return{used:{balance:0,total:0},pptUsage:{balance:0,total:0},chatDocumentsUsage:{balance:0,total:0},voiceNoteUsage:{balance:0,total:0},topicFileUsage:{balance:0,total:0},pointsUsage:{balance:0,total:0},pointsEnterpriseUsage:{balance:0,total:0}};let u=null==e?void 0:null===(t=e.subscriptionInfo)||void 0===t?void 0:t.used,c=null==e?void 0:null===(n=e.subscriptionInfo)||void 0===n?void 0:n.pptUsage,d=null==e?void 0:null===(r=e.subscriptionInfo)||void 0===r?void 0:r.chatDocumentsUsage,f=null==e?void 0:null===(i=e.subscriptionInfo)||void 0===i?void 0:i.voiceNoteUsage,h=null==e?void 0:null===(o=e.subscriptionInfo)||void 0===o?void 0:o.topicFileUsage,p=null==e?void 0:null===(a=e.subscriptionInfo)||void 0===a?void 0:a.pointsUsage,m=null==e?void 0:null===(l=e.subscriptionInfo)||void 0===l?void 0:l.pointsEnterpriseUsage;return{used:(null==u?void 0:u.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==u?void 0:u.balance)||0,total:(null==u?void 0:u.total)||0},pptUsage:(null==c?void 0:c.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==c?void 0:c.balance)||0,total:(null==c?void 0:c.total)||0},chatDocumentsUsage:(null==d?void 0:d.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==d?void 0:d.balance)||0,total:(null==d?void 0:d.total)||0},voiceNoteUsage:(null==f?void 0:f.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==f?void 0:f.balance)||0,total:(null==f?void 0:f.total)||0},topicFileUsage:(null==h?void 0:h.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==h?void 0:h.balance)||0,total:(null==h?void 0:h.total)||0},pointsUsage:(null==p?void 0:p.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==p?void 0:p.balance)||0,total:(null==p?void 0:p.total)||0},pointsEnterpriseUsage:(null==m?void 0:m.total_limit)===s.a.UNLIMITED?{balance:1/0,total:1/0}:{balance:(null==m?void 0:m.balance)||0,total:(null==m?void 0:m.total)||0}}}),v=e=>f(t=>{var n;return!!t.subscriptionInfo&&(null===(n=t.subscriptionInfo[e])||void 0===n?void 0:n.total_limit)===s.a.UNLIMITED});t.ZP=f},65819:function(e,t,n){"use strict";n.d(t,{Vr:function(){return o},_n:function(){return s},c0:function(){return u},gQ:function(){return l}});var r=n(13263),i=n(19624);let o={email:"",name:"",picture:"",uid:""},a=(0,i.Ue)(e=>({anonymousToken:"",userInfo:o,deviceUserInfo:void 0,isLogin:void 0,isEnterprise:!1,isNewUser:!1,creditsPurchaseList:[],setCreditsPurchaseList:t=>e({creditsPurchaseList:t}),setDeviceUserInfo:t=>e({deviceUserInfo:t}),setAnonymousToken:t=>e({anonymousToken:t}),setIsNewUser:t=>e({isNewUser:t}),setUserInfo:t=>{t.uid?e(()=>({userInfo:t,isLogin:!0,isEnterprise:!!(null==t?void 0:t.user_org_member)})):e(()=>({userInfo:t,isLogin:!1,isEnterprise:!1}))},cleanUserInfo:()=>e(()=>({userInfo:o,isLogin:!1,isEnterprise:!1})),updateUserInfo:async t=>{let n=await (0,r.wg)(t);return n&&e(e=>{let t=Object.fromEntries(Object.entries(n).filter(e=>{let[t,n]=e;return null!==n&&""!==n}));return{userInfo:{...e.userInfo,...t}}}),n},updateUserSingleSettings:async t=>{let n={...a.getState().userInfo.settings||{},...t},i=await (0,r.wg)({settings:n});return i&&e({userInfo:i}),i},isFetchUserInfo:!1,setIsFetchUserInfo:t=>e({isFetchUserInfo:t})})),s=()=>a(e=>e.isLogin),l=()=>a(e=>e.isEnterprise),u=()=>a(e=>{var t,n;return null===(n=e.userInfo.user_org_member)||void 0===n?void 0:null===(t=n.org_member)||void 0===t?void 0:t.role});t.ZP=a},20796:function(e,t,n){"use strict";n.d(t,{JK:function(){return o},OT:function(){return i},YA:function(){return a}});var r=n(27976);let i=e=>{if(e&&(e.startsWith("https://sandbox_outputs")||e.startsWith("sandbox_outputs"))){let t=e.replace(/^(https:\/\/)?sandbox_outputs/,`${r.XJ}/resources/sandbox_outputs`),n=t.includes("?")?"&":"?";return`${t}${n}download=true`}return e},o=e=>e&&(e.startsWith("http://felo_generate_images")||e.startsWith("felo_generate_images"))?e.replace(/^(http:\/\/)?felo_generate_images/,`${r.XJ}/resources/felo_generate_images`):e,a=e=>e.includes(r.XJ)?e:`${r.XJ}
18/imgs/${btoa(e)}`},41847:function(e,t,n){"use strict";n.d(t,{I:function(){return o},c:function(){return a}});var r=n(27976),i=n(59262);let o=async e=>{let{eventName:t,eventParams:n}=e,o=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if("function"!=typeof window.gtag)return e<3?(await new Promise(e=>setTimeout(e,1e3)),o(e+1)):void console.warn("Google Analytics (gtag) not init");try{await new Promise((e,o)=>{try{window.gtag("event",t,{send_to:(0,i.AU)(window.location.pathname),...n,...r.r8&&{debug_mode:!0}}),e()}catch(e){o(e)}})}catch(t){if(console.warn("gtag event error:",t),e<3)return await new Promise(e=>setTimeout(e,1e3)),o(e+1)}};"requestIdleCallback"in window?window.requestIdleCallback(()=>o()):setTimeout(()=>o(),0)},a=(e,t)=>{var n,r;null===(n=(r=window).clarity)||void 0===n||n.call(r,"event",e),o({eventName:e,eventParams:{event_category:"customEvent",event_label:t,value:1}})}},27976:function(e,t,n){"use strict";n.d(t,{EG:function(){return u},Ez:function(){return h},JD:function(){return v},Pg:function(){return o},QT:function(){return s},XJ:function(){return a},cH:function(){return p},cQ:function(){return _},dk:function(){return l},g6:function(){return m},nd:function(){return c},q1:function(){return g},r8:function(){return i},rP:function(){return y},ru:function(){return b},vA:function(){return d},vm:function(){return f}});var r=n(14224);let i=!1;window.location.hostname.includes("pre.felo.ai");let o="true"===r.env.NEXT_PUBLIC_ENABLE_LOCAL_API_PROXY,a="/api-proxy/main/search",s="/api-proxy/ext",l="/api-proxy/main",u="/api-proxy/ext-index-file",c="/api-proxy/ext-index-file",d="/api-proxy/account",f="/api-proxy/preview",h="/app-proxy/account",p="/app-proxy/mindmap",m="/app-proxy/smartart",g="https://prd-felo-meet-felo.s3.ap-northeast-1.amazonaws.com/search-ext/ppt-html",_="https://felo.ai",v="https://prd-felo-meet-felo.s3.ap-northeast-1.amazonaws.com/search-ext-index-file/html",y="https://prd-felo-meet-felo.s3.ap-northeast-1.amazonaws.com/search-ext-index-file/parse";function b(e,t){let n=new URLSearchParams;for(let[e,r]of Object.entries(t))null!=r&&n.append(e,String(r));let r=n.toString();if(!r)return e;let i=e.includes("?")?"&":"?";return`${e}${i}${r}`}},60635:function(e,t,n){"use strict";n.d(t,{C1:function(){return l},DB:function(){return p},EC:function(){return u},ED:function(){return c},HF:function(){return m},Lk:function(){return S},Ow:function(){return I},SS:function(){return _},TX:function(){return v},Te:function(){return T},VK:function(){return j},W9:function(){return P},WU:function(){return g},Yr:function(){return E},ZB:function(){return h},cm:function(){return f},eo:function(){return x},fu:function(){return L},j1:function(){return A},kS:function(){return y},mI:function(){return k},mN:function(){return R},oh:function(){return d},rE:function(){return C},rg:function(){return w},vE:function(){return O},vg:function(){return b}});var r=n(41223);let i={},o=(e,t)=>(e in window||(window[e]=t=>{a(e,t)}),i[e]||(i[e]=[]),i[e].push(t),i[e].indexOf(t)),a=(e,t)=>{i[e]||(i[e]=[]),i[e].forEach(e=>e(t))},s=(e,t)=>{var n,r,i,o,a;return(null===(r=window.webkit)||void 0===r?void 0:null===(n=r.messageHandlers)||void 0===n?void 0:n[e])?(window.webkit.messageHandlers[e].postMessage(t),!0):null!==(i=window.felo)&&void 0!==i&&!!i[e]&&(null===(o=(a=window.felo)[e])||void 0===o||o.call(a,JSON.stringify(t)),!0)},l=e=>{let{type:t,timeout:n=3e3}=e;return new Promise((e,r)=>{let a=window.setTimeout(()=>{i[t].splice(s,1),r()},n),s=o(t,n=>{window.clearTimeout(a),i[t].splice(s,1),e(n)})})},u=()=>{s("fetchToken")},c=()=>{s("fetchDeviceInfo")},d=e=>{s("openPage",e)},f=e=>{s("openFullPage",e)},h=e=>{s("openFile",e)},p=e=>{s("saveImage",e)},m=e=>{s("updateImg",e)},g=()=>{s("closeWebView")},_=e=>s("turnstileResult",e),v=()=>{s("showLogin")},y=()=>{s("logout")},b=e=>{s("openShareThread",e)},w=e=>{s("updateTopBar",e)},E=()=>{s("startSpeechRecognition")},C=()=>{s("showSubscriptionPlan")},x=()=>{s("getMultiAgentPlan")},T=e=>{s("exportThreadReport",e)},S=e=>{s("getThreadQueryById",e)},k=e=>{let t=o("onFetchDeviceInfo",e);return()=>{i.onFetchDeviceInfo.splice(t,1)}},A=e=>
18{let t=o("handleTopbarClick",e);return()=>{i.handleTopbarClick.splice(t,1)}},L=e=>{let t=o("handleSpeechRecognition",e);return()=>{i.handleSpeechRecognition.splice(t,1)}},I=e=>{let t=o("onPurchaseComplete",e);return()=>{i.onPurchaseComplete.splice(t,1)}},O=e=>{s("downloadPpt",e)},P=e=>{s("switchAccount",e)},j=e=>{s("switchIdentity",e)},R=e=>{var t,n,i,o,a,s,l,u;(0,r.Dt)()&&(null===(n=window)||void 0===n?void 0:null===(t=n.nativeConversion)||void 0===t?void 0:t.ToHKTVmallQuestion)?null===(o=window)||void 0===o||null===(i=o.nativeConversion)||void 0===i||i.ToHKTVmallQuestion(e):null===(u=window)||void 0===u||null===(l=u.webkit)||void 0===l||null===(s=l.messageHandlers)||void 0===s||null===(a=s.ToHKTVmallQuestion)||void 0===a||a.postMessage(e)}},97247:function(e,t,n){"use strict";n.d(t,{Eg:function(){return l},N0:function(){return r},V5:function(){return a},s:function(){return o},un:function(){return s},vU:function(){return i},zd:function(){return u}});let r=()=>"undefined"!=typeof navigator&&navigator.userAgent.toLocaleLowerCase().includes("felo"),i=()=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,o=e=>{if(!e&&"undefined"==typeof navigator)return!1;let t=(e||navigator.userAgent).toLowerCase();return/iphone|ipad|ipod/.test(t)},a=()=>{if("undefined"==typeof navigator)return!1;let e=navigator.userAgent.toLowerCase();return/mac|iphone|ipad|ipod/.test(e)},s=()=>/Edge\/\d+|Edg\/\d+/.test(navigator.userAgent),l=()=>"undefined"!=typeof navigator&&navigator.userAgent.toLocaleLowerCase().includes("hktvmall"),u=()=>{try{return window.self!==window.top}catch(e){return!0}}},79501:function(e,t,n){"use strict";n.d(t,{LK:function(){return s},TK:function(){return a},cW:function(){return o}});var r=n(38188);let i=(e,t)=>`${r.J.USER_CACHE}_${e}_${t}`,o=(e,t,n)=>{if(!e)return;let r=i(e,t),o={[t]:n,timestamp:Date.now()};try{localStorage.setItem(r,JSON.stringify(o))}catch(e){console.warn("Failed to save to cache:",e)}},a=(e,t)=>{if(!e)return null;let n=i(e,t);try{let e=localStorage.getItem(n);if(!e)return null;let r=JSON.parse(e);if(Date.now()-r.timestamp>1296e6)return localStorage.removeItem(n),null;return r[t]}catch(e){return console.warn("Failed to get from cache:",e),null}},s=e=>{e&&Object.keys(localStorage).filter(t=>t.includes(`${r.J.USER_CACHE}_${e}`)).forEach(e=>{localStorage.removeItem(e)})}},27585:function(e,t,n){"use strict";n.d(t,{CN:function(){return o},Oh:function(){return a},lx:function(){return s},pz:function(){return i}});var r=n(75284);let i=e=>{try{return s(e).pathname.toLowerCase().endsWith(".pdf")}catch(e){return!1}},o=e=>{let{url:t,title:n,sourceType:r}=e;try{if("document"===r||"image"===r)return n||"";t.includes("http")||(t="http://"+t);let e=s(t),i=e.hostname,o=e.pathname.slice(1).split("/").filter(e=>""!==e),a=o.join(" > ");if(o.length>0)return`${i} > ${function(e){try{return decodeURIComponent(e)}catch(t){return console.warn(`Failed to decode URL component: ${e}`,t),e}}(a)}`;return i}catch(e){return n||""}},a=e=>{let t=e.split("/").filter(e=>""!==e).filter(e=>!r.kv.includes(e));return`/${t.join("/")}`},s=e=>{try{return new URL(e)}catch(e){return console.warn("Error parsing URL:",e),new URL("about:blank")}}},69824:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=async function(e){let{timeout:t=5e3,type:n="PING_URL",data:r={},lang:i}=e,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=o?`RETURN_${n}`:`SEND_${n}`,s=null,l=null;window.postMessage({type:n,data:{...r,timeout:t,lang:i}});let u=new Promise((e,n)=>{l=setTimeout(()=>{n(Error("timeout"))},t)}),c=new Promise((e,n)=>{window.addEventListener("message",function r(i){s=setTimeout(()=>{window.removeEventListener("message",r)},t);let o=null==i?void 0:i.data;(null==o?void 0:o.type)===a&&(o&&o.type===a?e(o):n(Error("No data received in message")),s&&clearTimeout(s),l&&clearTimeout(l),window.removeEventListener("message",r))})});return await Promise.race([c,u])}},46571:function(e,t,n){"use strict";n.d(t,{cn:function(){return o}});var r=n(4814),i=n(5515);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.m6)((0,r.W)(t))}},66510:function(e,t,n){"use strict";n.d(t,{m1:function(){return y},hh:function(){return x},cI:function(){return D},n4:function(){return g},qE:function(){return j},el:function(){return M},rb:function(){return R},YY:function(){return E},rX:function(){return N},JB:function(){return S},_p:function(){return A},xT:function(){return _},r5:function(){return H},zc:function(){return I},dZ:function(){return L},Po:function(){return k},nG:function(){return O},pn:function(){return P},XU:function(){return v},Fe:function(){return w},f8:function(){return b},eW:function(){return C},h5:function(){return T}});var r=n(88955),i=n(27585),o=n(3295),a=n(11333),s=n.n(a),l=n(97247),u=n(60635),c=n(31022),d=n(32017),f=n.n(d);async function h(e){let t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(e=>e.toString(16).padStart(2,"0")).join("")}var p=n(20796),m=n(27976);let g=(e,t)=>{let n=e.split(".").map(Number),r=t.split(".").map(Number),i=Math.max(n.length,r.length);for(let e=0;e<i;e++){let t=n[e]||0,i=r[e]||0;if(t>i)return 1;if(t<i)return -1}return 0},_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;return Math.floor(Math.random()*(t-e+1))+e},v=(e,t)=>
18e.replace(/\/search\/([^/]+)(\/)?/,`/search/${t}`),y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return"";let n=e;try{let r=(0,i.lx)(e);o.Z.getState().autoTranslateSources&&(t?r.searchParams.set("glarity_translate","1"):r.searchParams.set("felosearch_translate","1")),n=r.toString()}catch(e){console.warn(e)}return n},b="requestIdleCallback"in window?window.requestIdleCallback:e=>{let t=Date.now();return setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},0)},w=e=>{null!=e&&("function"==typeof window.cancelIdleCallback?window.cancelIdleCallback(e):clearTimeout(e))},E=(e,t)=>{let n=new Map;for(let r of e){let e=r[t];n.has(e)||n.set(e,r)}return Array.from(n.values())};function C(e,t){let n=t||`${document.title} @felo_ai #felo ${window.location.href}`,r="";switch(e){case"twitter":r=`https://twitter.com/intent/tweet?text=${encodeURIComponent(n)}`;break;case"facebook":r="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(window.location.href)+""e="+encodeURIComponent(n);break;case"linkedin":r=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(n)}`;break;case"whatsapp":r=`https://api.whatsapp.com/send?text=${encodeURIComponent(n)}`;break;case"line":r=`https://social-plugins.line.me/lineit/share?url=${encodeURIComponent(window.location.href)}`;break;default:return}window.open(r,"_blank")}async function x(e,t){let{default:i}=await n.e(62706).then(n.t.bind(n,59928,23));e.querySelectorAll("img").forEach(e=>{e.src.includes("data:image")||e.src.includes(m.XJ)||(e.src=(0,p.YA)(e.src))});try{await Promise.allSettled([])}catch(e){console.warn("Some images failed to preload:",e)}return new Promise((n,o)=>{i(e,{useCORS:!0,allowTaint:!0,scale:3,logging:!1,imageTimeout:3e4,foreignObjectRendering:!1,removeContainer:!0,onclone:async e=>{let t=e.querySelector(".shareTemplate15 .shareTitle");t&&(t.style.top="-94px");let n=e.querySelector(".logoIcon");document.querySelector(".shareTitle");let r=e.querySelector(".threadMarkdownView");r&&(r.style.borderRadius="0px"),n&&(n.style.marginTop="20px")}}).then(e=>{let i=e.width,a=e.height,s=i/3,l=a/3,u=document.createElement("canvas");u.width=s,u.height=l;let c=u.getContext("2d");c&&c.drawImage(e,0,0,s,l);let d=e.toDataURL("image/png",1);if("link"===t){let e=document.createElement("a");e.href=d,e.download=`${(0,r.x0)()}.png`,e.click(),n("The download link has been generated")}else"img"===t?e.toBlob(e=>{if(e){let t=new ClipboardItem({"image/png":e});navigator.clipboard.write([t]).then(()=>{n("The picture has been copied to the clipboard")}).catch(e=>{o("Failed to copy to clipboard "+e)})}else o("Failed to generate blobs")}):o("Invalid type")}).catch(e=>{o("There was an error capturing the picture "+e)})})}function T(e){return s().utc(e).local().format("YYYY-MM-DD HH:mm:ss")}let S=e=>{switch(e){case 1:return"docx";case 2:return"doc";case 3:return"ppt";case 4:return"pdf";case 5:return"txt";case 6:return"note";case 7:return"xls";case 8:return"xlsx";case 9:return"voice_note";case 10:return"csv";default:return"file"}},k={af:1,id:2,cs:3,da:4,de:5,en:6,"en-id":7,"en-gb":8,"en-us":9,es:10,"es-es":11,"es-419":12,"es-mx":13,tl:14,fr:15,it:16,"es-lt":17,ms:18,nl:19,pl:20,"pt-br":21,pt:22,fi:23,sv:24,vi:25,tr:26,el:27,kk:28,ru:29,he:30,"ar-eg":31,ar:32,mr:33,hi:34,bn:35,ta:36,te:37,th:38,jv:39,ko:40,ja:41,"zh-Hant":42,"zh-Hans":43};function A(e){return k[e]||6}function L(e){return!!e&&["he","ar"].includes(e)}function I(){let e=/iPad/.test(navigator.userAgent),t="MacIntel"===navigator.platform,n="ontouchend"in document,r=window.screen.width;return e||t&&n&&r>=750}let O=e=>{if((0,l.N0)()){(0,u.oh)({url:e});return}c.Z.getState().extensionEnable?window.open(y(e),"_blank"):c.Z.getState().legacyExtensionEnable?window.open(y(e,!0),"_blank"):window.open(e,"_blank")},P=e=>{let t=e.match(/(\[\d+\])+/g);return t&&t.forEach(t=>{let n=(t.match(/\[\d+\]/g)||[]).slice(0,3);e=e.replace(t,n.join(""))}),e},j=(e,t,n)=>{try{let r=new Blob([e],{type:"text/plain;charset=utf-8"}),i=document.createElement("a");i.download=`${t}.md`,i.href=URL.createObjectURL(r),document.body.appendChild(i),null==n||n(),i.click(),document.body.removeChild(i),URL.revokeObjectURL(i.href)}catch(e){throw Error("Export failed")}};function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"export",n=arguments.length>2?arguments[2]:void 0,r=new Blob([f()(e)],{type:"text/plain;charset=utf-8"}),i=URL.createObjectURL(r),o=document.createElement("a");o.href=i,o.download=`${t}.txt`,null==n||n(),o.click(),URL.revokeObjectURL(i)}function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"export",n=Array.from(e.rows),r=[];
18n.forEach(e=>{let t=[];Array.from(e.cells).forEach(e=>{let n=e.textContent||"";(n.includes(",")||n.includes('"')||n.includes("\n"))&&(n=`"${n.replace(/"/g,'""')}"`),t.push(n)}),r.push(t.join(","))});let i=new Blob(["\uFEFF"+r.join("\n")],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),a=URL.createObjectURL(i);o.setAttribute("href",a),o.setAttribute("download",`${t}.csv`),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)}async function N(e){let t=`${e}`;return(await h(t)).slice(0,16)}let D=e=>{if(!e)return!1;let t=Array.from(e.childNodes),n=0;for(let e of t)if(e.nodeType===Node.ELEMENT_NODE){if("img"===e.tagName.toLowerCase())n++;else{if("div"!==e.tagName.toLowerCase())return!1;n+=e.querySelectorAll("img").length}}else if(e.nodeType===Node.TEXT_NODE&&(e.textContent||"").trim().length>0)return!1;return 1===n},H=e=>{if(!e)return!1;let t=window.getComputedStyle(e).getPropertyValue("background-image");return!!t&&"none"!==t&&t.includes("url(")}},81342:function(e,t,n){"use strict";n.d(t,{eb:function(){return a}});var r=n(11320);let i=new Map,o=e=>{let t=`${e}Mounted`;i.has(e)||i.set(e,{promise:null,resolve:null});let n=i.get(e);return n.promise||(n.promise=new Promise(e=>{n.resolve=e}),r.p.subscribe(t,()=>{n.resolve&&(n.resolve(),n.resolve=null,n.promise=null)})),n.promise},a=()=>o("threadPageCore")},84706:function(e,t,n){"use strict";n.d(t,{$:function(){return C},p:function(){return E}});var r=n(97247),i=n(57546),o=n(60635),a=n(5311),s=n(65819),l=n(41223),u=n(65105),c=n(55480),d=n(22617),f=n(94572),h=n(25794),p=n(37766),m=n(19546),g=n(74926),_=n(79501),v=n(43046),y=n(64167),b=n(1343),w=n(77844);class E{subscribe(e,t){return this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push(t),()=>{this.unsubscribe(e,t)}}publish(e,t){let n=this.subscribers[e];n&&n.forEach(e=>e(t))}unsubscribe(e,t){let n=this.subscribers[e];n&&(this.subscribers[e]=n.filter(e=>e!==t))}constructor(){this.subscribers={}}}let C=new E;C.subscribe("showLogin",async e=>{if((0,r.N0)()){(0,o.TX)();return}(null==e?void 0:e.mode)==="enterprise"?(i.Z.getState().setIsEnterpriseLogin(!0),i.Z.getState().setIsLiveDocLogin(!1)):(null==e?void 0:e.mode)==="liveDoc"?(i.Z.getState().setIsLiveDocLogin(!0),i.Z.getState().setIsEnterpriseLogin(!1)):(i.Z.getState().setIsEnterpriseLogin(!1),i.Z.getState().setIsLiveDocLogin(!1)),(null==e?void 0:e.callbackUri)&&i.Z.getState().setCallbackUri(null==e?void 0:e.callbackUri),(null==e?void 0:e.callbackFunction)&&i.Z.getState().setCallbackFunction(null==e?void 0:e.callbackFunction),i.Z.getState().setLoginModalVisible(!0)}),C.subscribe("logout",()=>{s.ZP.setState({isLogin:void 0}),localStorage.removeItem("alreadyDraw");let e=(0,h.Nh)();(0,_.LK)(e||""),(0,a.uf)().then(()=>{(0,h.Ne)(),s.ZP.getState().cleanUserInfo(),u.ZP.getState().reset(),p.Z.getState().setFiles([]),p.Z.getState().setHomeFiles([]),p.Z.getState().setThreadFiles([]),p.Z.getState().setHomeImages([]),m.Z.getState().clearSystemTemplates(),m.Z.getState().clearUserTemplates();let{template:e,clearTemplate:t}=g.Z.getState();e&&!e.system&&t(),(0,f.cS)(),d.ZP.getState().setEnterpriseInfo(null),c.Z.getState().setPinList([]),w.Z.getState().clear(),(0,b.E$)(),(0,r.N0)()&&(0,o.kS)()}).finally(()=>{s.ZP.setState({isLogin:!1})})}),C.subscribe("showSubscriptionPlan",e=>{var t;if(null===(t=s.ZP.getState())||void 0===t?void 0:t.isEnterprise){if((0,l.s2)()){i.Z.getState().setUsePcDialogVisible(!0);return}i.Z.getState().setPlanEnterpriseModalVisible(!0);return}if((0,r.N0)()){(0,o.rE)();return}i.Z.getState().setPlanModalVisible(!0,null==e?void 0:e.triggerSource)}),C.subscribe("openChat",async()=>{let e=new URL("https://playground.felo.ai"),{anonymousToken:t,isLogin:n}=s.ZP.getState();if(n){let n=await (0,a.Tv)({app_id:"glaritySearch",client_type:"WEB",redirect_uri:"https://playground.felo.ai",device_id:t});e.pathname="/login",e.hash=n}window.open(e)}),C.subscribe("showSubscriptionEnterprisePlan",async()=>{if((0,l.s2)()){i.Z.getState().setUsePcDialogVisible(!0);return}i.Z.getState().setPlanEnterpriseModalVisible(!0)}),C.subscribe("requestUpdateSidebarItems",async e=>{let{type:t,threadId:n,title:r}=e;
18"live_doc"===t&&y.Z.getState().updateTitle(n,r)}),C.subscribe("felo_showPaidModal",async e=>{var t,n,r,o,a,l,c;let{type:d,data:f}=e,h=(null===(t=u.ZP.getState().subscriptionInfo)||void 0===t?void 0:t.level)==="felo_search_pro",p=s.ZP.getState().isEnterprise,m=null===(r=s.ZP.getState().userInfo.user_org_member)||void 0===r?void 0:null===(n=r.org_member)||void 0===n?void 0:n.role;if(h&&"INSUFFICIENT_POINTS_PRO"==(d+="_PRO")){let e=sessionStorage.getItem("felo_showPaidModal_pro"),t=null===(a=u.ZP.getState().subscriptionInfo)||void 0===a?void 0:null===(o=a.subscriptions)||void 0===o?void 0:o.reset_time;if(e&&t&&new Date(t)<new Date)return;sessionStorage.setItem("felo_showPaidModal_pro",new Date().getTime().toString()),i.Z.getState().setSwitchModelTipVisible(!0);return}if(p&&m!==v.gY.OWNER&&"INSUFFICIENT_POINTS"===d){let e=sessionStorage.getItem("felo_showPaidModal_pro"),t=null===(c=u.ZP.getState().subscriptionInfo)||void 0===c?void 0:null===(l=c.subscriptions)||void 0===l?void 0:l.reset_time;if(e&&t&&new Date(t)<new Date)return;sessionStorage.setItem("felo_showPaidModal_pro",new Date().getTime().toString()),i.Z.getState().setSwitchModelTipVisible(!0);return}if("INSUFFICIENT_POINTS"===d){C.publish("showSubscriptionPlan",void 0);return}i.Z.getState().setPlanExpiredDialog({type:d,data:f}),u.ZP.getState().refreshSubscriptionInfo()})},30007:function(e,t,n){"use strict";n.d(t,{M:function(){return o},v:function(){return i}});var r=n(97247);let i=()=>(0,r.un)()?"https://microsoftedge.microsoft.com/addons/detail/chihgbnddjalenialjgifefongcjbhmh":"https://chrome.google.com/webstore/detail/fbnbeocmafoobaeodhmcgnammdeaoglg",o=()=>(0,r.un)()?"chihgbnddjalenialjgifefongcjbhmh":"fbnbeocmafoobaeodhmcgnammdeaoglg"},38710:function(e,t,n){"use strict";n.d(t,{f:function(){return e_}});var r,i,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function s(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function l(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var u="4.3.0";function c(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function d(e){return!!e&&"function"==typeof e.then}function f(e,t){try{var n=e();d(n)?n.then(function(e){return t(!0,e)},function(e){return t(!1,e)}):t(!0,n)}catch(e){t(!1,e)}}function h(e,t,n){return void 0===n&&(n=16),a(this,void 0,void 0,function(){var r,i,o,a;return s(this,function(s){switch(s.label){case 0:r=Array(e.length),i=Date.now(),o=0,s.label=1;case 1:if(!(o<e.length))return[3,4];if(r[o]=t(e[o],o),!((a=Date.now())>=i+n))return[3,3];return i=a,[4,c(0)];case 2:s.sent(),s.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function p(e){e.then(void 0,function(){})}function m(e){return parseInt(e)}function g(e){return parseFloat(e)}function _(e,t){return"number"==typeof e&&isNaN(e)?t:e}function v(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}function y(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function b(e,t){var n,r,i=e[0]>>>16,o=65535&e[0],a=e[1]>>>16,s=65535&e[1],l=t[0]>>>16,u=65535&t[0],c=t[1]>>>16,d=65535&t[1],f=0,h=0;n=0+((r=0+(s+d))>>>16),r&=65535,n+=a+c,h+=n>>>16,n&=65535,h+=o+u,f+=h>>>16,h&=65535,f+=i+l,f&=65535,e[0]=f<<16|h,e[1]=n<<16|r}function w(e,t){var n,r,i=e[0]>>>16,o=65535&e[0],a=e[1]>>>16,s=65535&e[1],l=t[0]>>>16,u=65535&t[0],c=t[1]>>>16,d=65535&t[1],f=0,h=0;n=0+((r=0+s*d)>>>16),r&=65535,n+=a*d,h+=n>>>16,n&=65535,n+=s*c,h+=n>>>
1816,n&=65535,h+=o*d,f+=h>>>16,h&=65535,h+=a*c,f+=h>>>16,h&=65535,h+=s*u,f+=h>>>16,h&=65535,f+=i*d+o*c+a*u+s*l,f&=65535,e[0]=f<<16|h,e[1]=n<<16|r}function E(e,t){var n=e[0];32==(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function C(e,t){0!=(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function x(e,t){e[0]^=t[0],e[1]^=t[1]}var T=[4283543511,3981806797],S=[3301882366,444984403];function k(e){var t=[0,e[0]>>>1];x(e,t),w(e,T),t[1]=e[0]>>>1,x(e,t),w(e,S),t[1]=e[0]>>>1,x(e,t)}var A=[2277735313,289559509],L=[1291169091,658871167],I=[0,5],O=[0,1390208809],P=[0,944331445];function j(){var e=window,t=navigator;return v(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function R(){var e=window,t=navigator;return v(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function M(){var e=window,t=navigator;return v(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function N(){var e=window,t=e.HTMLElement,n=e.Document;return v(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function D(){var e,t=window;return e=t.print,!!/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&v(["[object WebPageNamespace]"===String(t.browser),"MicrodataExtractor"in t])>=1}function H(){var e,t,n=window;return v(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function F(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return v([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function U(){var e=R(),t=H(),n=window,r=navigator,i="connection";return e?v([!("SharedWorker"in n),r[i]&&"ontypechange"in r[i],!("sinkId"in new window.Audio)])>=2:!!t&&v(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function V(e,t,n){var r,i,o;return void 0===n&&(n=50),a(this,void 0,void 0,function(){var a,l;return s(this,function(s){switch(s.label){case 0:a=document,s.label=1;case 1:if(a.body)return[3,3];return[4,c(n)];case 2:return s.sent(),[3,1];case 3:l=a.createElement("iframe"),s.label=4;case 4:return s.trys.push([4,,10,11]),[4,new Promise(function(e,n){var r=!1,i=function(){r=!0,e()};l.onload=i,l.onerror=function(e){r=!0,n(e)};var o=l.style;o.setProperty("display","block","important"),o.position="absolute",o.top="0",o.left="0",o.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);var s=function(){var e,t;r||((null===(t=null===(e=l.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)==="complete"?i():setTimeout(s,10))};s()})];case 5:s.sent(),s.label=6;case 6:if(null===(i=null===(r=l.contentWindow)||void 0===r?void 0:r.document)||void 0===i?void 0:i.body)return[3,8];return[4,c(n)];case 7:return s.sent(),[3,6];case 8:return[4,e(l,l.contentWindow)];case 9:return[2,s.sent()];case 10:return null===(o=l.parentNode)||void 0===o||o.removeChild(l),[7];case 11:return[2]}})})}function G(e){return new Promise(function(t,n){var r=25;e.oncomplete=function(e){return t(e.renderedBuffer)};var i=function(){try{var o=e.startRendering();d(o)&&p(o),"suspended"===e.state&&(!document.hidden&&r--,r>0?setTimeout(i,200):t(null))}catch(e){n(e)}};i()})}var B=["monospace","sans-serif","serif"],z=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 5
185 Medium","Vrinda","ZWAdobeF"];function $(e){return e.toDataURL()}function Z(){var e=screen;return[_(g(e.availTop),null),_(g(e.width)-g(e.availWidth)-_(g(e.availLeft),0),null),_(g(e.height)-g(e.availHeight)-_(g(e.availTop),0),null),_(g(e.availLeft),null)]}function W(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function Y(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function X(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function J(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function q(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function K(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Q(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function ee(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var et=Math,en=function(){return 0},er={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ei=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),eo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),ea=["FRAGMENT_SHADER","VERTEX_SHADER"],es=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],el="WEBGL_debug_renderer_info";function eu(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var o=i[r];try{t=n.getContext(o)}catch(e){}if(t)break}return e.webgl={context:t},t}function ec(e){return Object.keys(e.__proto__).filter(ed)}function ed(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function ef(e){return"function"==typeof e.getParameter}var eh={fonts:function(){var e=this;return V(function(t,n){var r=n.document;return a(e,void 0,void 0,function(){var e,t,n,i,o,a,l,u,d,f,h,p;return s(this,function(s){switch(s.label){case 0:return(e=r.body).style.fontSize="48px",(t=r.createElement("div")).style.setProperty("visibility","hidden","important"),n={},i={},o=function(e){var n=r.createElement("span"),i=n.style;return i.position="absolute",i.top="0",i.left="0",i.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},a=function(e,t){return o("'".concat(e,"',").concat(t))},l=function(){return B.map(o)},u=function(){for(var e={},t=function(t){e[t]=B.map(function(e){return a(t,e)})},n=0;n<z.length;n++)t(z[n]);return e},d=function(e){return B.some(function(t,r){return e[r].offsetWidth!==n[t]||e[r].offsetHeight!==i[t]})},f=l(),h=u(),e.appendChild(t),[4,c(0)];case 1:for(s.sent(),p=0;p<B.length;p++)n[B[p]]=f[p].offsetWidth,i[B[p]]=f[p].offsetHeight;return[2,z.filter(function(e){return d(h[e])})]}})})})},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return a(this,void 0,void 0,function(){var e,n,r,i,o;return s(this,function(l){switch(l.label){case 0:var u;if(!(M()||U()))return[2,void 0];return n=Object.keys(e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',(u=atob)("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",u("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",u("LnNwb25zb3JpdA=="),".ylamainos",u("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),u("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",u("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",u("LmhlYWRlci1ibG9ja2VkLWFk"),u("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",u("I2FkXzMwMFgyNTA="),u("I2Jhbm5lcmZsb2F0MjI="),u("I2NhbXBhaWduLWJhbm5lcg=="),u("I0FkLUNvbnRlbnQ=")],adGuardChinese:[u("LlppX2FkX2FfSA=="),u("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",u("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),u("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",u("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",u("LmFkc19iYW4=")],adGuardGerman:['aside[data-
18portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",u("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),u("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),u("LmFkZ29vZ2xl"),u("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[u("YW1wLWF1dG8tYWRz"),u("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",u("I2FkX2ludmlld19hcmVh")],adGuardRussian:[u("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),u("LnJlY2xhbWE="),'div[id^="smi2adblock"]',u("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[u("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),u("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",u("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),u("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),u("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",u("I3Jla2xhbWk="),u("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),u("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),u("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[u("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",u("LndpZGdldF9wb19hZHNfd2lkZ2V0"),u("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",u("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[u("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),u("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",u("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",u("I3Jla2xhbW5pLWJveA=="),u("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",u("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[u("I2FkdmVydGVudGll"),u("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",u("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",u("LnNwb25zb3JsaW5rZ3J1ZW4="),u("I3dlcmJ1bmdza3k="),u("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),u("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[u("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",u("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),u("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),u("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[u("LnJla2xhbW9zX3RhcnBhcw=="),u("LnJla2xhbW9zX251b3JvZG9z"),u("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),u("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),u("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[u("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[u("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),u("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",u("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[u("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),u("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),u("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",u("LmFkX19tYWlu"),u("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[u("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[u("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),u("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[u("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),u("I2xpdmVyZUFkV3JhcHBlcg=="),u("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),u("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[u("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",u("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),u("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),u("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[u("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),u("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),u("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",u("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),u("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),u("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
18Q=="),u("ZGl2I3NrYXBpZWNfYWQ=")],ro:[u("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),u("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),u("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),u("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[u("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),u("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),u("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",u("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),u("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",u("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}),[4,function(e){var t;return a(this,void 0,void 0,function(){var n,r,i,o,a,l,u;return s(this,function(s){switch(s.label){case 0:for(r=(n=document).createElement("div"),i=Array(e.length),o={},Y(r),a=0;a<e.length;++a)"DIALOG"===(l=function(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),o=i[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,l=function(e,t){a[e]=a[e]||[],a[e].push(t)};;){var u=s.exec(i[2]);if(!u)break;var c=u[0];switch(c[0]){case".":l("class",c.slice(1));break;case"#":l("id",c.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(c);if(d)l(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");else throw Error(r);break;default:throw Error(r)}}return[o,a]}(e),n=t[0],r=t[1],i=document.createElement(null!=n?n:"div"),o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=r[s].join(" ");"style"===s?function(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(i);if(o){var a=o[1],s=o[2],l=o[4];e.setProperty(a,s,l||"")}}}(i.style,l):i.setAttribute(s,l)}return i}(e[a])).tagName&&l.show(),Y(u=n.createElement("div")),u.appendChild(l),r.appendChild(u),i[a]=l;s.label=1;case 1:if(n.body)return[3,3];return[4,c(50)];case 2:return s.sent(),[3,1];case 3:return n.body.appendChild(r),[4,c(0)];case 4:s.sent();try{for(a=0;a<e.length;++a)i[a].offsetParent||(o[e[a]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,o]}})})}((o=[]).concat.apply(o,n.map(function(t){return e[t]})))];case 1:return r=l.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n+="\n".concat(o,":");for(var a=0,s=e[o];a<s.length;a++){var l=s[a];n+="\n ".concat(t[l]?"\uD83D\uDEAB":"â¡ï¸"," ").concat(l)}}console.log("".concat(n,"\n```"))}(e,r),(i=n.filter(function(t){var n=e[t];return v(n.map(function(e){return r[e]}))>.6*n.length})).sort(),[2,i]}})})},fontPreferences:function(){var e,t;return e=function(e,t){for(var n={},r={},i=0,o=Object.keys(er);i<o.length;i++){var a=o[i],s=er[a],l=s[0],u=void 0===l?{}:l,c=s[1],d=void 0===c?"mmMwWLliI0fiflO&1":c,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,p=Object.keys(u);h<p.length;h++){var m=p[h],g=u[m];void 0!==g&&(f.style[m]=g)}n[a]=f,t.append(e.createElement("br"),f)}for(var _=0,v=Object.keys(er);_<v.length;_++){var a=v[_];r[a]=n[a].getBoundingClientRect().width}return r},void 0===t&&(t=4e3),V(function(n,r){var i=r.document,o=i.body,a=o.style;a.width="".concat(t,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",R()?o.style.zoom="".concat(1/r.devicePixelRatio):M()&&(o.style.zoom="reset");var s=i.createElement("div");return s.textContent=l([],Array(t/20<<0),!0).map(function(){return"word"}).join(" "),o.appendChild(s),e(i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')},audio:function(){return a(this,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return[4,function(){return a(this,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return[4,Promise.race([new Promise(function(e){var t=document,n="visibilitychange",r=function(){t.hidden||(t.removeEventListener(n,r),e())};t.addEventListener(n,r),r()}).then(function(){return c(500)}),(function(){return a(this,void 0,void 0,function(){var e,t,n,r,i,o;return s(this,function(l){switch(l.label){case 0:var u;if(!(t=(e=window).OfflineAudioContext||e.webkitOfflineAudioContext))return[2,-2];if(M()&&!N()&&!(v(["DOMRectList"in(u=window),"RTCPeerConnectionIceEvent"in u,"SVGGeometryElement"in u,"ontransitioncancel"in u])>=3))return[2,-1];return[4,function(e){return a(this,void 0,void 0,function(){var t,n,r,i;return s(this,function(o){switch(o.label){case 0:return(n=(t=new e(1,3396,44100)).createOscillator()).type="square",n.frequency.value=1e3,(r=t.createDynamicsCompressor()).threshold.value=-70,r.knee.value=40,r.ratio.value=12,r.attack.value=0,r.release.value=.25,(i=t.createBiquadFilter()).type="allpass",i.frequency.value=5.239622852977861,i.Q.value=.1,n.connect(r),r.connect(i),i.connect(t.destination),n.start(0),[4,G(t)];case 1:return[2,o.sent()]}})})}(t)];case 1:if(!(n=l.sent()))return[2,-3];return(i=(r=new t(1,n.length-1+4e4,44100)).createBufferSource()).buffer=n,i.loop=!0,i.loopStart=(n.length-1)/44100,i.loopEnd=n.length/44100,i.connect(r.destination),i.start(),[4,G(r)];case 2:if(!(o=l.sent()))return[2,-3];return[2,Math.abs(function(e,t){for(var n=void 0,r=!1,i=0;i<t.length;i+=Math.floor(t.length/10))if(0===t[i]);else if(void 0===n)n=t[i];else if(n!==t[i]){r=!0;break}return void 0===n?n=e.getChannelData(0)[e.length-1]:r&&(n=function(e){for(var t=1/0,n=-1/0,r=0;r<e.length;r++){var i=e[r];0!==i&&(i<t&&(t=i),i>n&&(n=i))}return(t+n)/2}(t)),n}(n,o.getChannelData(0).subarray(n.length-1)))]}})})})().then(function(t){return e=[!0,t]},function(t){return e=[!1,t]})])];case 1:return t.sent(),[2,function(){if(!e)return -3;if(!e[0])throw e[1];return e[1]}]}})})}()];case 1:return e=t.sent(),[2,function(){return function(e,t){if(0===e)return e;var n=2*Math.pow(10,-(Math.floor(Math.log10(Math.abs(e)))-Math.floor(6.2)+1));return Math.round(e*n)/n}(e(),6.2)}]}})})},screenFrame:function(){var e=this;if(M()&&F()&&D())return function(){return Promise.resolve(void 0)};var t=function(){var e=this;return!function(){if(void 0===i){var e=function(){var t=Z();W(t)?i=setTimeout(e,2500):(r=t,i=void 0)};e()}}(),function(){return a(e,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:var n,i;if(!W(e=Z()))return[3,2];if(r)return[2,l([],r,!0)];if(!((n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement))return[3,2];return[4,((i=document).exitFullscreen||i.msExitFullscreen||i.moz
18CancelFullScreen||i.webkitExitFullscreen).call(i)];case 1:t.sent(),e=Z(),t.label=2;case 2:return W(e)||(r=e),[2,e]}})})}}();return function(){return a(e,void 0,void 0,function(){var e,n;return s(this,function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:y(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}})})}},canvas:function(){return function(e){return a(this,void 0,void 0,function(){var t,n,r,i,o,l,u;return s(this,function(d){var f,h,p;switch(d.label){case 0:if(t=!1,o=((f=document.createElement("canvas")).width=1,f.height=1,i=[f,f.getContext("2d")])[0],l=i[1],h=o,l&&h.toDataURL)return[3,1];return n=r="unsupported",[3,4];case 1:if((p=l).rect(0,0,10,10),p.rect(2,2,6,6),t=!p.isPointInPath(5,5,"evenodd"),!e)return[3,2];return n=r="skipped",[3,4];case 2:return[4,function(e,t){return a(this,void 0,void 0,function(){var n,r;return s(this,function(i){switch(i.label){case 0:var o;return e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"',o="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835)),t.fillText(o,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(o,4,45),[4,c(0)];case 1:if(i.sent(),n=$(e),r=$(e),n!==r)return[2,["unstable","unstable"]];return function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var i=r[n],o=i[0],a=i[1],s=i[2];t.fillStyle=o,t.beginPath(),t.arc(a,s,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t),[4,c(0)];case 2:return i.sent(),[2,[$(e),n]]}})})}(o,l)];case 3:n=(u=d.sent())[0],r=u[1],d.label=4;case 4:return[2,{winding:t,geometry:n,text:r}]}})})}(M()&&F()&&D())},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))R()&&v([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return _(g(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(M()&&F()&&D())){var e,t,n;return e=screen,(n=[(t=function(e){return _(m(e),null)})(e.width),t(e.height)]).sort().reverse(),n}},hardwareConcurrency:function(){return _(m(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t,n=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(n){var r=new n().resolvedOptions().timeZone;if(r)return r}var i=-Math.max(g(new Date(e=new Date().getFullYear(),0,1).getTimezoneOffset()),g(new Date(e,6,1).getTimezoneOffset()));return"UTC".concat(i>=0?"+":"").concat(i)},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(j()||v(["msWriteProfilerMark"in(e=window),"MSStream"in e,"msLaunchUri"in(t=navigator),"msSaveBlob"in t])>=3&&!j()))try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&M()&&!N()?!function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return v(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPhone":"iPad":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var i=[],o=0;o<r.length;++o){var a=r[o];i.push({type:a.type,suffixes:a.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:i})}}return t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=m(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!X("inverted")||!X("none")&&void 0},forcedColors:function(){return!!J("active")||!J("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw Error("Too high value")}},contrast:function(){return q("no-preference")?0:q("high")||q("more")?1:q("low")||q("less")?-1:q("forced")?10:void 0},reducedMotion:function(){return!!K("reduce")||!K("no-preference")&&void 0},reducedTransparency:function(){return!!Q("reduce")||!Q("no-preference")&&void 0},hdr:function(){return!!ee("high")||!ee("standard")&&void 0},math:function(){var e=et.acos||en,t=et.acosh||en,n=et.asin||en,r=et.asinh||en,i=et.atanh||en,o=et.atan||en,a=et.sin||en,s=et.sinh||en,l=et.cos||en,u=et.cosh||en,c=et.tan||en,d=et.tanh||en,f=et.exp||en,h=et.expm1||en,p=et.log1p||en;return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:et.log(1e154+et.sqrt(1e154*1e154-1)),asin:n(.12312423423423424),asinh:r(1),asinhPf:et.log(1+et.sqrt(2)),atanh:i(.5),atanhPf:et.log(3)/2,atan:o(.5),sin:a(-1e300),sinh:s(1),sinhPf:et.exp(1)-1/et.exp(1)/2,cos:l(10.000000000123),cosh:u(1),coshPf:(et.exp(1)+1/et.exp(1))/2,tan:c(-1e300),tanh:d(1),tanhPf:(et.exp(2)-1)/(et.exp(2)+1),exp:f(1),expm1:h(1),expm1Pf:et.exp(1)-1,log1p:p(10),log1pPf:et.log(11),powPI:et.pow(et.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},applePay:function(){var e=window.ApplePaySession;if("function"!=typeof(null==e?void 0:e.canMakePayments))return -1;try{return e.canMakePayments()?1:0}catch(e){return function(e){if(e instanceof Error){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return -2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return -3}if("SecurityError"===e.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(e.message))return -3}throw e}(e)}},privateClickMeasurement:function(){var e,t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)}
18,webGlBasics:function(e){var t,n,r,i,o,a,s=eu(e.cache);if(!s)return -1;if(!ef(s))return -2;var l=H()?null:s.getExtension(el);return{version:(null===(t=s.getParameter(s.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=s.getParameter(s.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:l?null===(r=s.getParameter(l.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=s.getParameter(s.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:l?null===(o=s.getParameter(l.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=s.getParameter(s.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||""}},webGlExtensions:function(e){var t=eu(e.cache);if(!t)return -1;if(!ef(t))return -2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),i=[],o=[],a=[],s=[];if(r)for(var l=0,u=Object.keys(r);l<u.length;l++){var c=u[l];i.push("".concat(c,"=").concat(r[c]))}for(var d=ec(t),f=0;f<d.length;f++){var h=d[f],p=t[h];o.push("".concat(h,"=").concat(p).concat(ei.has(p)?"=".concat(t.getParameter(p)):""))}if(n)for(var m=0;m<n.length;m++){var g=n[m];if(!(g===el&&H()||"WEBGL_polygon_mode"===g&&(R()||M()))){var _=t.getExtension(g);if(_)for(var v=0,y=ec(_);v<y.length;v++){var h=y[v],p=_[h];a.push("".concat(h,"=").concat(p).concat(eo.has(p)?"=".concat(t.getParameter(p)):""))}}}for(var b=0;b<ea.length;b++)for(var w=ea[b],E=0;E<es.length;E++){var C=es[E],x=function(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}(t,w,C);s.push("".concat(w,".").concat(C,"=").concat(x.join(",")))}return a.sort(),o.sort(),{contextAttributes:i,parameters:o,shaderPrecisions:s,extensions:n,extensionParameters:a}}};function ep(e){return JSON.stringify(e,function(e,t){if(t instanceof Error){var n;return o({name:t.name,message:t.message,stack:null===(n=t.stack)||void 0===n?void 0:n.split("\n")},t)}return t},2)}function em(e){return function(e,t){var n,r=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return new TextEncoder().encode(e);t[n]=r}return t}(e);t=t||0;var i=[0,r.length],o=i[1]%16,a=i[1]-o,s=[0,t],l=[0,t],u=[0,0],c=[0,0];for(n=0;n<a;n+=16)u[0]=r[n+4]|r[n+5]<<8|r[n+6]<<16|r[n+7]<<24,u[1]=r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24,c[0]=r[n+12]|r[n+13]<<8|r[n+14]<<16|r[n+15]<<24,c[1]=r[n+8]|r[n+9]<<8|r[n+10]<<16|r[n+11]<<24,w(u,A),E(u,31),w(u,L),x(s,u),E(s,27),b(s,l),w(s,I),b(s,O),w(c,L),E(c,33),w(c,A),x(l,c),E(l,31),b(l,s),w(l,I),b(l,P);u[0]=0,u[1]=0,c[0]=0,c[1]=0;var d=[0,0];switch(o){case 15:d[1]=r[n+14],C(d,48),x(c,d);case 14:d[1]=r[n+13],C(d,40),x(c,d);case 13:d[1]=r[n+12],C(d,32),x(c,d);case 12:d[1]=r[n+11],C(d,24),x(c,d);case 11:d[1]=r[n+10],C(d,16),x(c,d);case 10:d[1]=r[n+9],C(d,8),x(c,d);case 9:d[1]=r[n+8],x(c,d),w(c,L),E(c,33),w(c,A),x(l,c);case 8:d[1]=r[n+7],C(d,56),x(u,d);case 7:d[1]=r[n+6],C(d,48),x(u,d);case 6:d[1]=r[n+5],C(d,40),x(u,d);case 5:d[1]=r[n+4],C(d,32),x(u,d);case 4:d[1]=r[n+3],C(d,24),x(u,d);case 3:d[1]=r[n+2],C(d,16),x(u,d);case 2:d[1]=r[n+1],C(d,8),x(u,d);case 1:d[1]=r[n],x(u,d),w(u,A),E(u,31),w(u,L),x(s,u)}return x(s,i),x(l,i),b(s,l),b(l,s),k(s),k(l),b(s,l),b(l,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var i=r[n],o=e[i],a="error"in o?"error":JSON.stringify(o.value);t+="".concat(t?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return t}(e))}var eg={load:function(e){var t;return void 0===e&&(e={}),a(this,void 0,void 0,function(){var n,r;return s(this,function(i){var o,l,d,m,g,_,v,b,w,E,C;switch(i.label){case 0:return(null===(t=e.monitoring)||void 0===t||t)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(u,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),n=e.delayFallback,r=e.debug,[4,(void 0===(o=n)&&(o=50),l=o,d=2*o,(m=window.requestIdleCallback)?new Promise(function(e){return m.call(window,function(){return e()},{timeout:d})}):c(Math.min(l,d)))];case 1:return i.sent(),g={cache:{},debug:r},_=[],b=h(v=Object.keys(eh).filter(function(e){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(_,e)}),function(e){var t,n;return t=eh[e],p(n=new Promise(function(e){var n=Date.now();f(t.bind(null,g),function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=Date.now()-n;if(!t[0])return e(function(){return{error:t[1],duration:i}});var o=t[1];if("function"!=typeof o)return e(function(){return{value:o,duration:i}});e(function(){return new Promise(function(e){var t=Date.now();f(o,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=i+Date.now()-t;if(!n[0])return e({error:n[1],duration:o});e({value:n[1],duration:o})})})})})})),function(){return n.then(function(e){return e()})}}),p(b),[2,(w=function(){return a(this,void 0,void 0,function(){var e,t,n;return s(this,function(r){switch(r.label){case 0:return[4,b];case 1:return[4,h(r.sent(),function(e){var t=e();return p(t),t})];case 2:return[4,Promise.all(r.sent())];case 3:for(n=0,e=r.sent(),t={};n<v.length;++n)t[v[n]]=e[n];return[2,t]}})})},E=r,C=Date.now(),{get:function(e){return a(this,void 0,void 0,function(){var t,n,r;return s(this,function(i){switch(i.label){case 0:return t=Date.now(),[4,w()];case 1:var o,a,s,l;
18return r={get visitorId(){return void 0===l&&(l=em(this.components)),l},set visitorId(visitorId){l=visitorId},confidence:(s=y(.99+.01*(a=function(e){if(U())return .4;if(M())return N()&&!(F()&&D())?.5:.3;var t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(o=n=i.sent())),1e-4),{score:a,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(s))}),components:o,version:u},(E||(null==e?void 0:e.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(r.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(t-C,"\nvisitorId: ").concat(r.visitorId,"\ncomponents: ").concat(ep(n),"\n```")),[2,r]}})})}})]}})})},hashComponents:em,componentsToDebugString:ep};async function e_(){let e=await eg.load();return(await e.get()).visitorId}},59262:function(e,t,n){"use strict";n.d(t,{AU:function(){return o}});var r=n(3803);let i=n(27976).r8?"G-TMMNSWFSCH":"G-Q9Q1E734CC";function o(e){return(0,r.XF)(e)?"G-1BF8Z9B7WQ":i}},17588:function(e,t,n){"use strict";let r,i;n.d(t,{VS:function(){return p},cD:function(){return f},hK:function(){return m}});var o=n(38188),a=n(36551);let s=!1,l=()=>{try{window.localStorage.removeItem(o.J.HOME_QUERY_DRAFT)}catch{}},u=e=>{let t=JSON.stringify(e);try{window.localStorage.setItem(o.J.HOME_QUERY_DRAFT,t)}catch{l();try{window.localStorage.setItem(o.J.HOME_QUERY_DRAFT,t)}catch{}}},c=()=>{if(i&&(clearTimeout(i),i=void 0),!r)return;let e=r;r=void 0,u(e)},d=()=>{s||(s=!0,window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&c()}))},f=(e,t)=>{if(d(),!e.trim()||e.length>a.N2){m();return}let n=Date.now(),o=p(),s=(null==o?void 0:o.query)===e;r={version:1,query:e,searchType:t.length<=256?t:"",updatedAt:s?o.updatedAt:n,expiresAt:s?o.expiresAt:n+36e5},i&&clearTimeout(i),i=setTimeout(c,200)},h=e=>!!e&&"object"==typeof e&&1===e.version&&"string"==typeof e.query&&e.query.trim().length>0&&e.query.length<=a.N2&&"string"==typeof e.searchType&&e.searchType.length<=256&&"number"==typeof e.updatedAt&&"number"==typeof e.expiresAt&&e.expiresAt>Date.now(),p=()=>{let e;if(r)return h(r)?r:void m();try{e=window.localStorage.getItem(o.J.HOME_QUERY_DRAFT)}catch{return}if(e)try{let t=JSON.parse(e);if(!h(t)){l();return}return t}catch{l();return}},m=()=>{i&&(clearTimeout(i),i=void 0),r=void 0,l()}},4774:function(e,t,n){"use strict";n.d(t,{Vr:function(){return r},_E:function(){return f},kX:function(){return d},n1:function(){return l},rO:function(){return s}});let r="anonymous_basic_search",i=new Set(["110600","110620","200500"]),o=new Set(["human_verification_required","turnstile_required","turnstile_token_required","turnstile_token_invalid","turnstile_verify_failed","turnstile_session_token_required","turnstile_session_token_invalid","turnstile_session_token_expired"]),a=["human_verification_required","need_human_verification","need_verify_turnstile","turnstile_required"],s=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.some(e=>"string"==typeof e&&o.has(e.toLowerCase()))},l=e=>!1!==e.retryable&&("expired"===e.type||"timeout"===e.type||"provider_failed"===e.type||"error"===e.type&&!!e.code&&(i.has(e.code)||e.code.startsWith("300")||e.code.startsWith("600"))),u=e=>e&&"object"==typeof e&&!Array.isArray(e)?e:null,c=e=>!!a.some(t=>!0===e[t])||s(e.error_type,e.reason,e.code),d=e=>{let t=u(e);if(!t)return null;let n=u(t.detail),r=u(t.challenge)??u(null==n?void 0:n.challenge);if(!(n?[t,n]:[t]).some(c)&&!s(t.detail,t.message))return null;let i=[null==r?void 0:r.action,null==n?void 0:n.turnstile_action,t.turnstile_action].find(e=>"string"==typeof e&&e.length>0);return i?{action:i}:{}},f=()=>!0},75284:function(e,t,n){"use strict";n.d(t,{Es:function(){return c},Gy:function(){return a},W8:function(){return h},hA:function(){return d},kv:function(){return r},s5:function(){return i},v0:function(){return u}});let r=["en","ja","zh-Hant","zh-Hans","ko","ru","he","ar","fr","es","de","th","pt","pl","it","tr","vi","id"],i=["en_US","ja_JP","ko_KR","zh_CN","zh_TW","ru_RU","he_IL","fr_FR","es_ES","de_DE","th_TH","pt_BR","pl_PL","it_IT","tr_TR","vi_VN","id_ID"],o={"zh-CN":"zh-Hans","zh-SG":"zh-Hans","zh-HK":"zh-Hant","zh-MO":"zh-Hant","zh-TW":"zh-Hant","ko-KR":"ko","ru-RU":"ru","he-IL":"he","ja-JP":"ja","ar-EG":"ar","fr-FR":"fr","es-ES":"es","de-DE":"de","th-TH":"th","pt-B
18R":"pt","pl-PL":"pl","it-IT":"it","tr-TR":"tr","vi-VN":"vi","id-ID":"id"},a=()=>{let e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(let t=0;t<navigator.languages.length;t++)e.push(navigator.languages[t]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}else e.push("en");return e},s=e=>"zh-TW"===e||"zh-HK"===e||"zh-MO"===e?"zh-Hant":e.startsWith("zh")?"zh-Hans":e.startsWith("en")?"en":e.startsWith("ja")?"ja":e.startsWith("ko")?"ko":e.startsWith("ru")?"ru":e.startsWith("he")?"he":e.startsWith("ar")?"ar":e.startsWith("fr")?"fr":e.startsWith("es")?"es":e.startsWith("de")?"de":e.startsWith("th")?"th":e.startsWith("pt")?"pt":e.startsWith("pl")?"pl":e.startsWith("it")?"it":e.startsWith("tr")?"tr":e.startsWith("vi")?"vi":e.startsWith("id")?"id":e,l=e=>e.map(s),u=()=>l(a())[0],c=e=>r.includes(e),d=e=>({nextLocale:e.cookies.NEXT_LOCALE,acceptLanguage:e.headers["accept-language"]||null}),f=e=>r.find(t=>t.toLowerCase()===e.toLowerCase()),h=e=>{let{nextLocale:t,acceptLanguage:n}=e;if(t){let e=f(t);if(e)return e}let i="";if(n){var a;i=(null===(a=n.split(",").map(e=>{let[t,n]=e.split(";").map(e=>e.trim());return{language:t,weight:n?parseFloat(n.split("=")[1]):1}}).sort((e,t)=>t.weight-e.weight)[0])||void 0===a?void 0:a.language)||""}let s=o[i]||i;return r.includes(s)?s:r[0]}},11249:function(e,t,n){"use strict";n.d(t,{Nb:function(){return r},eC:function(){return i}}),n(81342);let r=e=>e&&Array.isArray(e)?Array.from(new Map(e.map(e=>[e,e])).values()):[],i=e=>{try{return decodeURIComponent(e)}catch{return e}}},1343:function(e,t,n){"use strict";n.d(t,{E$:function(){return f},J7:function(){return p},YT:function(){return c},b4:function(){return h},t8:function(){return d},t_:function(){return u},zd:function(){return l}});var r=n(29634),i=n(27976);let o=i.r8?"first-invite-code-dev":"first-invite-code",a=i.r8?"invite-code-dev":"invite-code",s=i.r8?"pay-invite-code-dev":"pay-invite-code",l=e=>{r.Z.set(o,e,{expires:30,domain:"felo.ai"})},u=e=>{r.Z.set(a,e,{expires:30,domain:"felo.ai"}),r.Z.set(i.r8?"invite-code-dev-creates":"invite-code-creates",String(Date.now()),{expires:30,domain:"felo.ai"})},c=()=>r.Z.get(o),d=()=>r.Z.get(a),f=()=>{r.Z.remove(o,{domain:"felo.ai"}),r.Z.remove(a,{domain:"felo.ai"}),r.Z.remove(i.r8?"invite-code-dev-creates":"invite-code-creates",{domain:"felo.ai"})},h=e=>{r.Z.set(s,e,{expires:30,domain:"felo.ai"})},p=()=>r.Z.get(s)},39075:function(e,t,n){"use strict";function r(){if("undefined"==typeof navigator)return!1;let e=navigator.userAgent;if(e.includes("Chrome-Lighthouse")||e.includes("Lighthouse")||e.includes("moto g power")||e.includes("HeadlessChrome")||!0===navigator.webdriver)return!0;let t=window.innerWidth,n=window.innerHeight,r=window.devicePixelRatio;return 1350===t&&940===n&&1===r||412===t&&823===n&&1.75===r}n.d(t,{L:function(){return r}})},11320:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(84706),i=n(84878);let o=new r.p;o.subscribe("onResources",e=>{let{selectedThreadId:t,addResources:n}=i.ZP.getState();e.threadId===t&&n(e.list)})},98795:function(e,t,n){"use strict";var r,i;n.d(t,{a:function(){return r}}),(i=r||(r={})).LIMITED="LIMITED",i.UNLIMITED="UNLIMITED"},49575:function(e,t,n){"use strict";n.d(t,{CK:function(){return d},D_:function(){return u},vf:function(){return c},zr:function(){return f}});var r=n(27976);let i=null,o=null,a=null,s=null,l=()=>(i||(i=Promise.all([n.e(6235),n.e(51591)]).then(n.bind(n,81305)).catch(e=>{throw i=null,e})),i),u=()=>o||(o=(async()=>{try{let e=await l();e.init({dsn:"https://[email protected]/4508369401937920",environment:r.r8?"development":"production",integrations:[e.captureConsoleIntegration({levels:["error","fatal"]})],ignoreErrors:["[GSI_LOGGER]: The given origin is not allowed for the given client ID.","FedCM get() rejects","Non-Error promise rejection","Failed to load static props","Loading initial props cancelled","ResizeObserver loop limit exceeded","setState()","Route did not","Abort fetching component for route","TypeError","`DialogContent` requires a `DialogTitle`","Invalid image URL","Image load error","[GSI_LOGGER]","WebSocket is already","validateDOMNesting","A client-side exception has occurred","Unexpected token 'N'","Image Generation Service Request is Too High","[ImagePreviewStore]"],debug:!1,enabled:!0,tracesSampleRate:1,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1}),a&&(e.setUser(a),a=null),s&&(e.setTag("deviceId",s),s=null)}catch(e){o=null,console.warn("[sentry] init failed",e)}})()),c=async(e,t)=>{if(!o){a={id:e,username:t};return}try{await o;let n=await l();if(!n.isInitialized()){a={id:e,username:t};return}n.setUser({id:e,username:t})}catch{}},d=async e=>{if(!o){s=e;return}try{await o;let t=await l();if(!t.isInitialized()){s=e;return}t.setTag("deviceId",e)}catch{}},f=async e=>{if(e)try{await u();let t=await l();if(!t.isInitialized())return;t.captureMessage(`${e}`)}catch{}}},47795:function(e,t,n){"use strict";function r(e,t){return"function"==typeof window.requestIdleCallback?window.requestIdleCallback(e,t):globalThis.setTimeout(e,0)}function i(e){if(e){if("function"==typeof window.cancelIdleCallback){window.cancelIdleCallback(e);return}globalThis.clearTimeout(e)}}n.d(t,{a:function(){return r},g:function(){return i}})},67284:function(e,t,n){"use strict";n.d(t,{S:function(){return i},v:function(){return r}});let r=e=>e.startsWith("/goto?url=")?`https://www.google.com${e}`:e,i=e=>{let t=e.url?r(e.url):e.url,n=e.link?r(e.link):e.link;return t===e.url&&n===e.link?e:{...e,url:t,link:n}}},25794:function(e,t,n){"use strict";n.d(t,{F_:function(){return u},Kd:function(){return f},MX:function(){return a},Ne:function(){return c},Nh:function(){return d},a_:function(){return h},j4:function(){return m},y7:function(){return p}});var r=n(29634),i=n(27976);let o="felo_search_user_token",a=i.r8?"felo-user-token-dev":"felo-user-token",s="felo_search_cookie_dedup_v1",l={expires:365,secure:!0,domain:"felo.ai",sameSite:"None"},u=e=>{localStorage.setItem(o,e),r.Z.set(a,e,l)},c=()=>{localStorage.removeItem(o),r.Z.remove(a,l)},d=()=>localStorage.getItem(o)||r.Z.get(a)||"",f=()=>r.Z.get("visitor_id")||null,h=()=>!!(localStorage.getItem(o)||r.Z.get(a)),p=()=>
18{if(localStorage.getItem(s))return;let e=d();e&&(r.Z.remove(a,{path:"/"}),u(e)),localStorage.setItem(s,"1")},m=()=>{if(r.Z.get(a))return!1;let e=localStorage.getItem(o);return!!e&&(r.Z.set(a,e,l),!0)}},11463:function(){},17397:function(){},18869:function(){},56414:function(){},73991:function(e){e.exports={style:{fontFamily:"'__Poppins_e36b36', '__Poppins_Fallback_e36b36'",fontStyle:"normal"},className:"__className_e36b36"}},32207:function(e,t,n){!function(){var t={452:function(e){"use strict";e.exports=n(87438)}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete r[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function r(e){"string"==typeof e&&(e=_(e));var r,i,o,a,s,l,u,c,d,f=(i=(r=e).auth,o=r.hostname,a=r.protocol||"",s=r.pathname||"",l=r.hash||"",u=r.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",r.host?c=i+r.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),r.port&&(c+=":"+r.port)),u&&"object"==typeof u&&(u=t.encode(u)),d=r.search||u&&"?"+u||"",a&&":"!==a.substr(-1)&&(a+=":"),r.slashes||(!a||n.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:l});return""+f.protocol+f.host+f.pathname+f.search+f.hash}var a="http://",s=a+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function c(e,t){var n="string"==typeof e?_(e):e;e="object"==typeof e?r(e):e;var i=_(t),o="";n.protocol&&!n.slashes&&(o=n.protocol,e=e.replace(n.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,t=t.replace(i.protocol,"")));var c=e.match(l);c&&!i.protocol&&(e=e.substr((o=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var d=new URL(e,s+"/"),f=new URL(t,d).toString().replace(s,""),h=i.protocol||n.protocol;return h+=n.slashes||i.slashes?"//":"",!o&&h?f=f.replace(a,h):o&&(f=f.replace(a,"")),u.test(f)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==f.slice(-1)||(f=f.slice(0,-1)),o&&(f=o+("/"===f[0]?f.substr(1):f)),f}function d(){}d.prototype.parse=_,d.prototype.format=r,d.prototype.resolve=c,d.prototype.resolveObject=c;var f=/^https?|ftp|gopher|file/,h=/^(.*?)([#?].*)/,p=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function _(e,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof d)return e;var o=(e=e.trim()).match(h);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(p),l=m.test(e),u="";a&&(f.test(a[1])||(u=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(l=!1,f.test(a[1])?(u=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(u=a[1],e="/"+a[3]));var c,_=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=_&&_[1],y=new d,b="",w="";try{c=new URL(e)}catch(t){b=t,u||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{c=new URL(e,s)}catch(e){return y.protocol=u,y.href=u,y}}y.slashes=l&&!w,y.host="w.w"===c.host?"":c.host,y.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),y.protocol=b?u||null:c.protocol,y.search=c.search.replace(/\\/g,"%5C"),y.hash=c.hash.replace(/\\/g,"%5C");var E=e.split("#");!y.search&&~E[0].indexOf("?")&&(y.search="?"),y.hash||""!==E[1]||(y.hash="#"),y.query=n?t.decode(c.search.substr(1)):y.search.substr(1),y.pathname=w+(a?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===y.protocol&&"blank"===y.pathname&&(y.protocol="",y.pathname=""),b&&"/"!==e[0]&&(y.pathname=y.pathname.substr(1)),u&&!f.test(u)&&"/"!==e.slice(-1)&&"/"===y.pathname&&(y.pathname=""),y.path=y.pathname+y.search,y.auth=[c.username,c.password].map(decodeURIComponent).filter(
18Boolean).join(":"),y.port=c.port,v&&!y.host.endsWith(v)&&(y.host+=v,y.port=v.slice(1)),y.href=w?""+y.pathname+y.search+y.hash:r(y);var C=/^(file)/.test(y.href)?["host","hostname"]:[];return Object.keys(y).forEach(function(e){~C.indexOf(e)||(y[e]=y[e]||null)}),y}o.parse=_,o.format=r,o.resolve=c,o.resolveObject=function(e,t){return _(c(e,t))},o.Url=d}(),e.exports=o}()},96593:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else if(47===n)break;else n=47;if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--)a>=0?r=arguments[a]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,o=47===r.charCodeAt(0));return(i=n(i,!o),o)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,u=a<l?a:l,c=-1,d=0;d<=u;++d){if(d===u){if(l>u){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else a>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var h="";for(d=i+c+1;d<=o;++d)(d===o||47===e.charCodeAt(d))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!a){i=r+1;break}}else -1===l&&(a=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else -1===o&&(a=!1,o=r+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!o){r=s+1;break}continue}-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return -1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var a=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(0===s&&o?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&o?(r.name=e.slice(1,a),r.base=e.slice(1,l)):(r.name=e.slice(s,a),r.base=e.slice(s,l)),r.ext=e.slice(a,l)),s>0?r.dir=e.slice(0,s-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(114);e.exports=i}()},87438:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,d,f,h,p=e[u].replace(a,"%20"),m=p.indexOf(r);(m>=0?(c=p.substr(0,m),d=p.substr(m+1)):(c=p,d=""),f=decodeURIComponent(c),h=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,f))?t(o[f])?o[f].push(h):o[f]=[o[f],h]:o[f]=h}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?r(i(e),function(i){var s=encodeURIComponent(t(i))+a;return n(e[i])?r(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=Object.keys||function(e){var t=[];
18for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i={};i.decode=i.parse=r(815),i.encode=i.stringify=r(577),e.exports=i}()},72135:function(e,t,n){e.exports=n(51779)},93992:function(e,t,n){e.exports=n(7367)},72070:function(e,t,n){e.exports=n(59583)},75963:function(e,t,n){e.exports=n(45877)},17224:function(e,t,n){e.exports=n(70598)},28485:function(e,t,n){e.exports=n(10287)},93026:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},14224:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},11322:function(e,t,n){"use strict";var r,i=n(53484),o=n(92409),a=n(73857);e.exports=function(e){var t=this.data();function n(e,n){t[e]?t[e].push(n):t[e]=[n]}!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-gfm] Warning: please upgrade to remark 13 to use this plugin")),n("micromarkExtensions",i(e)),n("fromMarkdownExtensions",o),n("toMarkdownExtensions",a(e))}},96641:function(e,t,n){"use strict";var r,i=n(46336),o=n(26633),a=n(34678);e.exports=function(){var e=this.data();function t(t,n){e[t]?e[t].push(n):e[t]=[n]}!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-math] Warning: please upgrade to remark 13 to use this plugin")),t("micromarkExtensions",i),t("fromMarkdownExtensions",o),t("toMarkdownExtensions",a)}},90182:function(e,t,n){"use strict";e.exports=function(e){var t=this;this.Parser=function(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n(66174)},32017:function(e){e.exports=function(e,t){(t=t||{}).listUnicodeChar=!!t.hasOwnProperty("listUnicodeChar")&&t.listUnicodeChar,t.stripListLeaders=!t.hasOwnProperty("stripListLeaders")||t.stripListLeaders,t.gfm=!t.hasOwnProperty("gfm")||t.gfm,t.useImgAltText=!t.hasOwnProperty("useImgAltText")||t.useImgAltText,t.abbr=!!t.hasOwnProperty("abbr")&&t.abbr,t.replaceLinksWithURL=!!t.hasOwnProperty("replaceLinksWithURL")&&t.replaceLinksWithURL,t.htmlTagsToSkip=t.hasOwnProperty("htmlTagsToSkip")?t.htmlTagsToSkip:[],t.throwError=!!t.hasOwnProperty("throwError")&&t.throwError;var n=e||"";n=n.replace(/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/gm,"");try{t.stripListLeaders&&(n=t.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),t.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/```(?:.*)\n([\s\S]*?)```/g,(e,t)=>t.trim())),t.abbr&&(n=n.replace(/\*\[.*\]:.*\n/,""));let e=/<[^>]*>/g;if(t.htmlTagsToSkip&&t.htmlTagsToSkip.length>0){let n=t.htmlTagsToSkip.join("|");e=RegExp(`<(?!/?(${n})(?=>|s[^>]*>))[^>]*>`,"g")}n=n.replace(e,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,t.useImgAltText?"$1":"").replace(/\[([\s\S]*?)\]\s*[\(\[].*?[\)\]]/g,t.replaceLinksWithURL?"$2":"$1").replace(/^(\n)?\s{0,3}>\s?/gm,"$1").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s*( (.+))? +#+$|^(\n)?\s{0,}#{1,6}\s*( (.+))?$/gm,"$1$3$4$6").replace(/([\*]+)(\S)(.*?\S)??\1/g,"$2$3").replace(/(^|\W)([_]+)(\S)(.*?\S)??\2($|\W)/g,"$1$3$4$5").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/~(.*?)~/g,"$1")}catch(n){if(t.throwError)throw n;return console.error("remove-markdown encountered error: %s",n),e}return n}},11455:function(e){"use strict";var t,n="";e.exports=function(e,r){if("string"!=typeof e)throw TypeError("expected a string");if(1===r)return e;if(2===r)return e+e;var i=e.length*r;if(t!==e||void 0===t)t=e,n="";else if(n.length>=i)return n.substr(0,i);for(;i>n.length&&r>1;)1&r&&(n+=e),r>>=1,e+=e;return n+=e,n=n.substr(0,i)}},25329:function(e,t,n){"use strict";var r=n(64397);e.exports=o,o.wrap=r;var i=[].slice;function o(){var e=[],t={};return t.run=function(){var t=-1,n=i.call(arguments,0,-1),o=arguments[arguments.length-1];if("function"!=typeof o)throw Error("Expected function as last argument, not "+o);(function a(s){var l=e[++t],u=i.call(arguments,0),c=u.slice(1),d=n.length,f=-1;if(s){o(s);return}for(;++f<d;)(null===c[f]||void 0===c[f])&&(c[f]=n[f]);n=c,l?r(l,a).apply(null,n):o.apply(null,[null].concat(n))}).apply(null,[null].concat(n))},t.use=function(n){if("function"!=typeof n)throw Error("Expected `fn` to be a function, not "+n);return e.push(n),t},t}},64397:function(e){"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,a=t.call(arguments,0),s=e.length>a.length;s&&a.push(i);try{n=e.apply(null,a)}catch(e){if(s&&r)throw e;return i(e)}s||(n&&"function"==typeof n.then?n.then(o,i):n instanceof Error?i(n):o(n))};function i(){r||(r=!0,n.apply(null,arguments))}function o(e){i(null,e)}}},93191:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="string",c="major",d="model",f="name",h="type",p="vendor",m="version",g
vendor: 9,960 bytes, line 18
18="architecture",_="console",v="mobile",y="tablet",b="smarttv",w="wearable",E="embedded",C="Amazon",x="Apple",T="ASUS",S="BlackBerry",k="Browser",A="Chrome",L="Firefox",I="Google",O="Huawei",P="Microsoft",j="Motorola",R="Opera",M="Samsung",N="Sharp",D="Sony",H="Xiaomi",F="Zebra",U="Facebook",V="Chromium OS",G="Mac OS",B=" Browser",z=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},$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Z=function(e,t){return typeof e===u&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},X=function(e,t){for(var n,r,i,s,u,c,d=0;d<t.length&&!u;){var f=t[d],h=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(i=0;i<h.length;i++)c=u[++r],typeof(s=h[i])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):void 0):this[s]=c||o;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(Z(t[n][r],e))return"?"===n?o:n}else if(Z(t[n],e))return"?"===n?o:n;return t.hasOwnProperty("*")?t["*"]:e},q={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"},K={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,R+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[f,R+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[f,R]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,m],[/quark(?:pc)?\/([-\w\.]+)/i],[m,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[m,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo "+k]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+k],m],[/\bfocus\/([\w\.]+)/i],[m,[f,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,R+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,R+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI "+k]],[/fxios\/([-\w\.]+)/i],[m,[f,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360"+B]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],m],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+B],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,M+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,U],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,A+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,J,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/(wolvic)\/([\w\.]+)/i],[f,m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,[m,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,M],[h,y]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,M],[h,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,x],[h,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,x],[h,y]],[/(macintosh);/i],[d,[p,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,N],[h,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[p,O],[h,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,O],[h,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[d,/_/g," "],[p,H],[h,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[p,H],[h,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,"OPPO"],[h,v]],[/\b(opd2\d{3}a?) bui/i],[d,[p,"OPPO"],[h,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,j],[h,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,j],[h,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,"LG"],[h,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,"LG"],[h,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[p,"Lenovo"],[h,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[p,"Nokia"],[h,v]],[/(pixel c)\b/i],[d,[p,I],[h,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,I],[h,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,D],[h,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,D],[h,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,"OnePlus"],[h,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,C],[h,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,C],[h,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,S],[h,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,T],[h,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,T],[h,v]],[/(nexus 9)/i],[d,[p,"HTC"],[h,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,v]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[p,"TCL"],[h,y]],[/(itel) ((\w+))/i],[[p,W],d,[h,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[h,v]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[p,"Nothing"],[h,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 4,659 bytes, line 18
18s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[h,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,y]],[/(surface duo)/i],[d,[p,P],[h,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,v]],[/(u304aa)/i],[d,[p,"AT&T"],[h,v]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,v]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,y]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,y]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,y]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,v]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,v]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,y]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,y]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,v]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,y]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,y]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,y]],[/(shield[\w ]+) b/i],[d,[p,"Nvidia"],[h,y]],[/(sprint) (\w+)/i],[p,d,[h,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,P],[h,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,F],[h,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,F],[h,v]],[/smart-tv.+(samsung)/i],[p,[h,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,M],[h,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[h,b]],[/(apple) ?tv/i],[p,[d,x+" TV"],[h,b]],[/crkey/i],[[d,A+"cast"],[p,I],[h,b]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,C],[h,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,N],[h,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,D],[h,b]],[/(mitv-\w{5}) bui/i],[d,[p,H],[h,b]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Y],[d,Y],[h,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[h,_]],[/droid.+; (shield) bui/i],[d,[p,"Nvidia"],[h,_]],[/(playstation [345portablevi]+)/i],[d,[p,D],[h,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,P],[h,_]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[d,[p,M],[h,w]],[/((pebble))app/i],[p,d,[h,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,x],[h,w]],[/droid.+; (glass) \d/i],[d,[p,I],[h,w]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,F],[h,w]],[/(quest( \d| pro)?)/i],[d,[p,U],[h,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,E]],[/(aeobc)\b/i],[d,[p,C],[h,E]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,J,q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,J,q],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,G],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
18 rv:.+ gecko\/([\w\.]+)/i],[m,[f,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,V],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},Q=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof Q))return new Q(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),_=n&&n.userAgentData?n.userAgentData:o,b=t?z(K,t):K,w=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=o,t[m]=o,X.call(t,r,b.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,w&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,X.call(e,r,b.cpu),e},this.getDevice=function(){var e={};return e[p]=o,e[d]=o,e[h]=o,X.call(e,r,b.device),w&&!e[h]&&_&&_.mobile&&(e[h]=v),w&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=y),e},this.getEngine=function(){var e={};return e[f]=o,e[m]=o,X.call(e,r,b.engine),e},this.getOS=function(){var e={};return e[f]=o,e[m]=o,X.call(e,r,b.os),w&&!e[f]&&_&&_.platform&&"Unknown"!=_.platform&&(e[f]=_.platform.replace(/chrome os/i,V).replace(/macos/i,G)),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 r},this.setUA=function(e){return r=typeof e===u&&e.length>500?Y(e,500):e,this},this.setUA(r),this};Q.VERSION="1.0.39",Q.BROWSER=$([f,m,c]),Q.CPU=$([g]),Q.DEVICE=$([d,p,h,_,v,b,y,w,E]),Q.ENGINE=Q.OS=$([f,m]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):n.amdO?o!==(r=(function(){return Q}).call(t,n,t,e))&&(e.exports=r):typeof i!==s&&(i.UAParser=Q);var ee=typeof i!==s&&(i.jQuery||i.Zepto);if(ee&&!ee.ua){var et=new Q;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var n in t)ee.ua[n]=t[n]}}}("object"==typeof window?window:this)},75355:function(e,t,n){"use strict";var r=n(71728),i=n(69965),o=n(27396),a=n(44291),s=n(25329),l=n(58798);e.exports=(function e(){var t,n=[],i=s(),v={},y=-1;return b.data=function(e,n){return"string"==typeof e?2==arguments.length?(m("data",t),v[e]=n,b):c.call(v,e)&&v[e]||null:e?(m("data",t),v=e,b):v},b.freeze=w,b.attachers=n,b.use=function(e){var r;if(m("use",t),null==e);else if("function"==typeof e)l.apply(null,arguments);else if("object"==typeof e)"length"in e?s(e):i(e);else throw Error("Expected usable value, not `"+e+"`");return r&&(v.settings=o(v.settings||{},r)),b;function i(e){s(e.plugins),e.settings&&(r=o(r||{},e.settings))}function s(e){var t=-1;if(null==e);else if("object"==typeof e&&"length"in e)for(;++t<e.length;)!function(e){if("function"==typeof e)l(e);else if("object"==typeof e)"length"in e?l.apply(null,e):i(e);else throw Error("Expected usable value, not `"+e+"`")}(e[t]);else throw Error("Expected a list of plugins, not `"+e+"`")}function l(e,t){var r=function(e){for(var t=-1;++t<n.length;)if(n[t][0]===e)return n[t]}(e);r?(a(r[1])&&a(t)&&(t=o(!0,r[1],t)),r[1]=t):n.push(u.call(arguments))}},b.parse=function(e){var t,n=l(e);return(w(),h("parse",t=b.Parser),f(t,"parse"))?new t(String(n),n).parse():t(String(n),n)},b.stringify=function(e,t){var n,r=l(t);return(w(),p("stringify",n=b.Compiler),g(e),f(n,"compile"))?new n(e,r).compile():n(e,r)},b.run=E,b.runSync=function(e,t){var n,i;return E(e,t,function(e,t){i=!0,n=t,r(e)}),_("runSync","run",i),n},b.process=C,b.processSync=function(e){var t,n;return w(),h("processSync",b.Parser),p("processSync",b.Compiler),C(t=l(e),function(e){n=!0,r(e)}),_("processSync","process",n),t},b;function b(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(o(!0,{},v)),t}function w(){var e,r;if(t)return b;for(;++y<n.length;)!1!==(e=n[y])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(b,e.slice(1)))&&i.use(r));return t=!0,y=1/0,b}function E(e,t,n){if(g(e),w(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,o){i.run(e,l(t),function(t,i,a){i=i||e,t?o(t):r?r(i):n(null,i,a)})}r(null,n)}function C(e,t){if(w(),h("process",b.Parser),p("process",b.Compiler),!t)return new Promise(n);function n(n,r){var i=l(e);d.run(b,{file:i},function(e){e?r(e):n?n(i):t(null,i)})}n(null,t)}})().freeze();var u=[].slice,c={}.hasOwnProperty,d=s().use(function(e,t){t.tree=e.parse(t.file)}).use(function(e,t,n){e.run(t.tree,t.file,function(e,r,i){e?n(e):(t.tree=r,t.f
18ile=i,n())})}).use(function(e,t){var n=e.stringify(t.tree,t.file);null==n||("string"==typeof n||i(n)?("value"in t.file&&(t.file.value=n),t.file.contents=n):t.file.result=n)});function f(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function h(e,t){if("function"!=typeof t)throw Error("Cannot `"+e+"` without `Parser`")}function p(e,t){if("function"!=typeof t)throw Error("Cannot `"+e+"` without `Compiler`")}function m(e,t){if(t)throw Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function g(e){if(!e||"string"!=typeof e.type)throw Error("Expected node, got `"+e+"`")}function _(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}},43302:function(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return!!(e&&e.type===n)};if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){var t;for(t in n)if(e[t]!==n[t])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},48491:function(e){"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),i(e.line)+":"+i(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function i(e){return e&&"number"==typeof e?e:1}e.exports=function(e){return e&&"object"==typeof e?t.call(e,"position")||t.call(e,"type")?r(e.position):t.call(e,"start")||t.call(e,"end")?r(e):t.call(e,"line")||t.call(e,"column")?n(e):"":""}},11903:function(e){e.exports=function(e){return e}},85112:function(e,t,n){"use strict";e.exports=a;var r=n(43302),i=n(11903),o="skip";function a(e,t,n,a){var s,l;"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null),l=r(t),s=a?-1:1,(function e(r,u,c){var d,f="object"==typeof r&&null!==r?r:{};return"string"==typeof f.type&&(d="string"==typeof f.tagName?f.tagName:"string"==typeof f.name?f.name:void 0,h.displayName="node ("+i(f.type+(d?"<"+d+">":""))+")"),h;function h(){var i,d,f,h=c.concat(r),p=[];if((!t||l(r,u,c[c.length-1]||null))&&!1===(p=null!==(i=n(r,c))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return p;if(r.children&&p[0]!==o)for(f=(a?r.children.length:-1)+s;f>-1&&f<r.children.length;){if(!1===(d=e(r.children[f],f,h)())[0])return d;f="number"==typeof d[1]?d[1]:f+s}return p}})(e,null,[])()}a.CONTINUE=!0,a.SKIP=o,a.EXIT=!1},57470:function(e,t,n){"use strict";e.exports=n(93674)},32547:function(e,t,n){"use strict";e.exports=n(27833)},98070:function(e,t,n){"use strict";e.exports=n(72765)},85495:function(e,t,n){"use strict";let r=n(75271).createContext(void 0);t.IntlContext=r},93674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(75271),i=n(95478),o=n(85495);n(8392);var a=r&&r.__esModule?r:{default:r};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:n,formats:s,getMessageFallback:l,locale:u,messages:c,now:d,onError:f,timeZone:h}=e,p=r.useMemo(()=>i.createCache(),[u]),m=r.useMemo(()=>i.createIntlFormatters(p),[p]),g=r.useMemo(()=>({...i.initializeConfig({locale:u,defaultTranslationValues:n,formats:s,getMessageFallback:l,messages:c,now:d,onError:f,timeZone:h}),formatters:m,cache:p}),[p,n,s,m,l,u,c,d,f,h]);return a.default.createElement(o.IntlContext.Provider,{value:g},t)}},84134:function(e,t,n){"use strict";var r=n(75271),i=n(85495);function o(){let e=r.useContext(i.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=o,t.useLocale=function(){return o().locale}},27833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84134);n(75271),n(85495),t.useLocale=r.useLocale},63568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(96507),i=n(95478);n(2065),n(75271),n(8392),t.IntlError=r.IntlError,t.IntlErrorCode=r.IntlErrorCode,t.createFormatter=r.createFormatter,t._createCache=i.createCache,t._createIntlFormatters=i.createIntlFormatters,t.initializeConfig=i.initializeConfig,t.createTranslator=function(e){let{_cache:t=i.createCache(),_formatters:n=i.createIntlFormatters(t),getMessageFallback:o=i.defaultGetMessageFallback,messages:a,namespace:s,onError:l=i.defaultOnError,...u}=e;return function(e,t){let{messages:n,namespace:i,...o}=e;return n=n["!"],i=r.resolveNamespace(i,"!"),r.createBaseTranslator({...o,messages:n,namespace:i})}({...u,onError:l,cache:t,formatters:n,getMessageFallback:o,messages:{"!":a},namespace:s?"!.".concat(s):"!"},0)}},96507:function(e,t,n){"use strict";var r,i=n(2065),o=n(75271),a=n(95478),s=i&&i.__esModule?i:{default:i};function l(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let u=((r={}).MISSING_MESSAGE="MISSING_MESSAGE",r.MISSING_FORMAT="MISSING_FORMAT",r.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",r.INSUFFICIENT_PATH="INSUFFICIENT_PATH",r.INVALID_MESSAGE="INVALID_MESSAGE",r.INVALID_KEY="INVALID_KEY",r.FORMATTING_ERROR="FORMATTING_ERROR",r);
18class c extends Error{constructor(e,t){let n=e;t&&(n+=": "+t),super(n),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function d(e,t){return e?Object.keys(e).reduce((n,r)=>(n[r]={timeZone:t,...e[r]},n),{}):e}function f(e,t,n,r){let i=a.joinPath(r,n);if(!t)throw Error(i);let o=t;return n.split(".").forEach(t=>{let n=o[t];if(null==t||null==n)throw Error(i+" (".concat(e,")"));o=n}),o}let h=365/12*86400,p={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=c,t.IntlErrorCode=u,t.createBaseTranslator=function(e){let t=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.defaultOnError;try{if(!t)throw Error(void 0);let r=n?f(e,t,n):t;if(!r)throw Error(n);return r}catch(t){let e=new c(u.MISSING_MESSAGE,t.message);return r(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{cache:t,defaultTranslationValues:n,formats:r,formatters:i,getMessageFallback:l=a.defaultGetMessageFallback,locale:h,messagesOrError:p,namespace:m,onError:g,timeZone:_}=e,v=p instanceof c;function y(e,t,n){let r=new c(t,n);return g(r),l({error:r,key:e,namespace:m})}function b(e,c,g){let b,w;if(v)return l({error:p,key:e,namespace:m});try{b=f(h,p,e,m)}catch(t){return y(e,u.MISSING_MESSAGE,t.message)}if("object"==typeof b){let t;return y(e,Array.isArray(b)?u.INVALID_MESSAGE:u.INSUFFICIENT_PATH,t)}let E=function(e,t){if(t)return;let n=e.replace(/'([{}])/gi,"$1");return/<|{/.test(n)?void 0:n}(b,c);if(E)return E;i.getMessageFormat||(i.getMessageFormat=a.memoFn(function(){return new s.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:i,...arguments.length<=3?void 0:arguments[3]})},t.message));try{w=i.getMessageFormat(b,h,function(e,t){let n=t?{...e,dateTime:d(e.dateTime,t)}:e,r=s.default.formats.date,i=t?d(r,t):r,o=s.default.formats.time,a=t?d(o,t):o;return{...n,date:{...i,...null==n?void 0:n.dateTime},time:{...a,...null==n?void 0:n.dateTime}}}({...r,...g},_),{formatters:{...i,getDateTimeFormat:(e,t)=>i.getDateTimeFormat(e,{timeZone:_,...t})}})}catch(t){return y(e,u.INVALID_MESSAGE,t.message)}try{let e=w.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(n=>{let r,i=0,a=e[n];r="function"==typeof a?e=>{let t=a(e);return o.isValidElement(t)?o.cloneElement(t,{key:n+i++}):t}:a,t[n]=r}),t}({...n,...c}));if(null==e)throw Error(void 0);return o.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return y(e,u.FORMATTING_ERROR,t.message)}}function w(e,t,n){let r=b(e,t,n);return"string"!=typeof r?y(e,u.INVALID_MESSAGE,void 0):r}return w.rich=b,w.markup=(e,t,n)=>{let r=b(e,t,n);if("string"!=typeof r){let t=new c(u.FORMATTING_ERROR,void 0);return g(t),l({error:t,key:e,namespace:m})}return r},w.raw=e=>{if(v)return l({error:p,key:e,namespace:m});try{return f(h,p,e,m)}catch(t){return y(e,u.MISSING_MESSAGE,t.message)}},w.has=e=>{if(v)return!1;try{return f(h,p,e,m),!0}catch(e){return!1}},w}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_cache:t=a.createCache(),_formatters:n=a.createIntlFormatters(t),formats:r,locale:i,now:o,onError:s=a.defaultOnError,timeZone:l}=e;function d(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(l?e={...e,timeZone:l}:s(new c(u.ENVIRONMENT_FALLBACK,void 0))),e}function f(e,t,n,r){let i;try{i=function(e,t){let n;if("string"==typeof t){if(!(n=null==e?void 0:e[t])){let e=new c(u.MISSING_FORMAT,void 0);throw s(e),e}}else n=t;return n}(t,e)}catch(e){return r()}try{return n(i)}catch(e){return s(new c(u.FORMATTING_ERROR,e.message)),r()}}function m(e,t){return f(t,null==r?void 0:r.dateTime,t=>(t=d(t),n.getDateTimeFormat(i,t).format(e)),()=>String(e))}function g(){return o||(s(new c(u.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:m,number:function(e,t){return f(t,null==r?void 0:r.number,t=>n.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var r;let o,a;let s={};t instanceof Date||"number"==typeof t?o=new Date(t):t&&(o=null!=t.now?new Date(t.now):g(),a=t.unit,s.style=t.style,s.numberingSystem=t.numberingSystem),o||(o=g());let l=(new Date(e).getTime()-o.getTime())/1e3;a||(a=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<h?"week":t<31536e3?"month":"year"}(l)),s.numeric="second"===a?"auto":"always";
18let u=(r=a,Math.round(l/p[r]));return n.getRelativeTimeFormat(i,s).format(u,a)}catch(t){return s(new c(u.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t){let o=[],a=new Map,s=0;for(let t of e){let e;"object"==typeof t?(e=String(s),a.set(e,t)):e=String(t),o.push(e),s++}return f(t,null==r?void 0:r.list,e=>{let t=n.getListFormat(i,e).formatToParts(o).map(e=>"literal"===e.type?e.value:a.get(e.value)||e.value);return a.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,o){return f(o,null==r?void 0:r.dateTime,r=>(r=d(r),n.getDateTimeFormat(i,r).formatRange(e,t)),()=>[m(e),m(t)].join("âââ"))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},72765:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(96507),i=n(63568),o=n(95478),a=n(93674),s=n(46656),l=n(84134);n(2065),n(75271),n(8392),n(85495),t.IntlError=r.IntlError,t.IntlErrorCode=r.IntlErrorCode,t.createFormatter=r.createFormatter,t.createTranslator=i.createTranslator,t._createCache=o.createCache,t._createIntlFormatters=o.createIntlFormatters,t.initializeConfig=o.initializeConfig,t.IntlProvider=a.IntlProvider,t.useFormatter=s.useFormatter,t.useMessages=s.useMessages,t.useNow=s.useNow,t.useTimeZone=s.useTimeZone,t.useTranslations=s.useTranslations,t.useLocale=l.useLocale},95478:function(e,t,n){"use strict";var r=n(8392);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(".")}function o(e){return i(e.namespace,e.key)}function a(e){console.error(e)}function s(e,t){return r.memoize(e,{cache:{create:()=>({get:e=>t[e],set(e,n){t[e]=n}})},strategy:r.strategies.variadic})}function l(e,t){return s(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new e(...n)},t)}t.createCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},t.createIntlFormatters=function(e){return{getDateTimeFormat:l(Intl.DateTimeFormat,e.dateTime),getNumberFormat:l(Intl.NumberFormat,e.number),getPluralRules:l(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:l(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:l(Intl.ListFormat,e.list),getDisplayNames:l(Intl.DisplayNames,e.displayNames)}},t.defaultGetMessageFallback=o,t.defaultOnError=a,t.initializeConfig=function(e){let{getMessageFallback:t,messages:n,onError:r,...i}=e;return{...i,messages:n,onError:r||a,getMessageFallback:t||o}},t.joinPath=i,t.memoFn=s},46656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(93674),i=n(84134),o=n(75271),a=n(96507);n(95478),n(8392),n(85495),n(2065);let s=!1,l="undefined"==typeof window;t.IntlProvider=r.IntlProvider,t.useLocale=i.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:n,now:r,onError:s,timeZone:l}=i.useIntlContext();return o.useMemo(()=>a.createFormatter({formats:e,locale:n,now:r,onError:s,timeZone:l,_formatters:t}),[e,t,r,n,s,l])},t.useMessages=function(){let e=i.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:n}=i.useIntlContext(),[r,a]=o.useState(n||new Date);return o.useEffect(()=>{if(!t)return;let e=setInterval(()=>{a(new Date)},t);return()=>{clearInterval(e)}},[n,t]),null==t&&n?n:r},t.useTimeZone=function(){return i.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,n){let{cache:r,defaultTranslationValues:u,formats:c,formatters:d,getMessageFallback:f,locale:h,onError:p,timeZone:m}=i.useIntlContext(),g=e["!"],_=a.resolveNamespace(t,"!");return m||s||!l||(s=!0,p(new a.IntlError(a.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),o.useMemo(()=>a.createBaseTranslator({cache:r,formatters:d,getMessageFallback:f,messages:g,defaultTranslationValues:u,namespace:_,onError:p,formats:c,locale:h,timeZone:m}),[r,d,f,g,u,_,p,c,h,m])}({"!":i.useIntlContext().messages},e?"!.".concat(e):"!",0)}},99752:function(e,t,n){"use strict";var r=n(75271),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},44250:function(e,t,n){"use strict";var r=n(75271),i=n(48488),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=a(e,(d=u(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=h},[h]),c(h),h}},48488:function(e,t,n){"use strict";e.exports=n(99752)},8769:function(e,t,n){"use strict";e.exports=n(44250)},36081:function(e,t,n){"use strict";var r=n(48491);function i(){}e.exports=a,i.prototype=Error.prototype,a.prototype=new i;var o=a.prototype;function a(e,t,n){var i,o,a,s,l;"string"==typeof t&&(n=t,t=null),l=[null,null],"string"==typeof(a=n)&&(-1===(s=a.indexOf(":"))?l[1]=a:(l[0]=a.slice(0,s),l[1]=a.slice(s+1))),i=r(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=l[0],this.ruleId=l[1]}o.file="",o.name="",o.reason="",o.message="",o.stack="",o.fatal=null,o.column=null,o.line=null},58798:function(e,t,n){"use strict";e.exports=n(88522)},8249:function(e,t,n){"use strict";var r=n(5045),i=n(18615),o=n(69965);e.exports=l;var a={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(e){var t,n;if(e){if("string"==typeof e||o(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof l))return new l(e);for(this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),n=-1;++n<s.length;)t=s[n],a.call(e,t)&&(this[t]=e[t]);for(t in e)0>s.indexOf(t)&&(this[t]=e[t])}function u(e,t){if(e&&e.indexOf(r.sep)>-1)throw Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function d(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){d(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),d(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");
18if(e.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(l.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},88522:function(e,t,n){"use strict";var r=n(36081),i=n(8249);e.exports=i,i.prototype.message=function(e,t,n){var i=new r(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},5045:function(e,t){"use strict";function n(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,i,o,a,s=0,l=-1;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(o){s=r+1;break}}else l<0&&(o=!0,l=r+1);return l<0?"":e.slice(s,l)}if(t===e)return"";for(i=-1,a=t.length-1;r--;)if(47===e.charCodeAt(r)){if(o){s=r+1;break}}else i<0&&(o=!0,i=r+1),a>-1&&(e.charCodeAt(r)===t.charCodeAt(a--)?a<0&&(l=r):(a=-1,l=i));return s===l?l=i:l<0&&(l=e.length),e.slice(s,l)},t.dirname=function(e){var t,r,i;if(n(e),!e.length)return".";for(t=-1,i=e.length;--i;)if(47===e.charCodeAt(i)){if(r){t=i;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,i,o=-1,a=0,s=-1,l=0;for(n(e),i=e.length;i--;){if(47===(r=e.charCodeAt(i))){if(t){a=i+1;break}continue}s<0&&(t=!0,s=i+1),46===r?o<0?o=i:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||s<0||0===l||1===l&&o===s-1&&o===a+1?"":e.slice(o,s)},t.join=function(){for(var e,t,r,i,o=-1;++o<arguments.length;)n(arguments[o]),arguments[o]&&(i=void 0===i?arguments[o]:i+"/"+arguments[o]);return void 0===i?".":(n(e=i),t=47===e.charCodeAt(0),(r=function(e,t){for(var n,r,i="",o=0,a=-1,s=0,l=-1;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else if(47===n)break;else n=47;if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length){i="",o=0,a=l,s=0;continue}}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t)).length||t||(r="."),r.length&&47===e.charCodeAt(e.length-1)&&(r+="/"),t?"/"+r:r)},t.sep="/"},18615:function(e,t){"use strict";t.cwd=function(){return"/"}},49094:function(e,t,n){var r={"./activity.json":[87792,87792],"./agent.json":[99023,96156],"./auth.json":[62723,62723],"./canvas.json":[3172,3172],"./claw.json":[61182,61182],"./collaboration.json":[82508,82508],"./common.json":[74053,74053],"./enterprise.json":[65885,65885],"./errors.json":[76496,76496],"./faq.json":[73820,73820],"./footer.json":[89200,89200],"./gptImage2Prompts.json":[93208,93208],"./header.json":[70867,70867],"./home.json":[70972,70972],"./livedoc.json":[3175,3175],"./note.json":[77321,77321],"./search.json":[2480,2480],"./settings.json":[46841,46841],"./sidebar.json":[16099,16099],"./slides.json":[90764,90764],"./subscription.json":[13290,13290],"./thread.json":[40837,40837],"./version.json":[19937,19937]};function i(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(function(){return n.t(i,19)})}i.keys=function(){return Object.keys(r)},i.id=49094,e.exports=i},64085:function(e,t,n){var r={"./ar/activity.json":[41039,41039],"./ar/agent.json":[18334,18334],"./ar/auth.json":[70830,70830],"./ar/canvas.json":[64106,64106],"./ar/claw.json":[45022,45022],"./ar/collaboration.json":[40856,40856],"./ar/common.json":[9588,9588],"./ar/enterprise.json":[10961,10961],"./ar/errors.json":[35580,35580],"./ar/faq.json":[1070,1070],"./ar/footer.json":[10665,10665],"./ar/gptImage2Prompts.json":[20600,20600],"./ar/header.json":[70927,70927],"./ar/home.json":[51624,51624],"./ar/livedoc.json":[18348,18348],"./ar/note.json":[83534,83534],"./ar/search.json":[28166,28166],"./ar/settings.json":[64698,64698],"./ar/sidebar.json":[16435,48797],"./ar/slides.json":[7466,7466],"./ar/subscription.json":[38009,38009],"./ar/thread.json":[80437,98764],"./ar/version.json":[51200,51200],"./de/activity.json":[72961,72961],"./de/agent.json":[30188,30188],"./de/auth.json":[57082,57082],"./de/canvas.json":[3649,3649],"./de/claw.json":[61826,61826],"./de/collaboration.json":[72896,72896],"./de/common.json":[38214,38214],"./de/enterprise.json":[1656,1656],"./de/errors.json":[92813,92813],"./de/faq.json":[80585,80585],"./de/footer.json":[81749,81749],"./de/gptImage2Prompts.json":[37784,37784],"./de/header.json":[46447,46447],"./de/home.json":[92139,92139],"./de/livedoc.json":[66538,66538],"./de/note.json":[55662,55662],"./de/search.json":[2732,2732],"./de/settings.json":[50400,50400],"./de/sidebar.json":[44522,44522],"./de/slides.json":[27755,27755],"./de/subscription.json":[12405,12405],"./de/thread.json":[40453,40453],"./de/version.json":[84389,84389],"./en/activity.json":[87792,87792],"./en/agent.json":[99023,96156],"./en/auth.json":[62723,62723],"./en/canvas.json":[3172,3172],"./en/claw.json":[61182,61182],"./en/collaboration.json":[82508,82508],"./en/common.json":[74053,74053],"./en/enterprise.json":[65885,65885],"./en/errors.json":[76496,76496],"./en/faq.json":[73820,73820],"./en/footer.json":[89200,89200],"./en/gptImage2Prompts.json":[93208,93208],"./en/header.json":[70867,70867],"./en/home.json":[70972,70972],"./en/livedoc.json":[3175,3175],"./en/note.json":[77321,77321],"./en/search.json":[2480,2480],"./en/settings.json":[46841,46841],"./en/sidebar.json":[16099,16099],"./en/slides.json":[90764,90764],"./en/subscription.json":[13290,13290],"./en/thread.json":[40837,40837],"./en/version.json":[19937,19937],"./es/activity.json":[82938,82938],"./es/agent.json":[38973,38973],"./es/auth.json":[23545,23545],"./es/canvas.json":[88335,88335],"./es/claw.json":[12586,12586],"./es/collaboration.json":[10647,10647],"./es/common.json":[31952,31952],"./es/enterprise.json":[89498,89498],"./es/errors.json":[52420,52420],"./es/faq.json":[14612,14612],"./es/footer.json":[77075,77075],"./es/gptImage2Prompts.json":[44466,44466],"./es/header.json":[70551,70551],"./es/home.json":[68476,68476],"./es/livedoc.json":[84498,84498],"./es/note.json":[14931,14931],"./es/search.json":[94866,94866],"./es/settings.json":[22150,22150],"./es/sidebar.json":[98762,98762],"./es/slides.json":[29491,29491],"./es/subscription.json":[93733,93733],"./es/thread.json":[97430,97430],"./es/version.json":[62614,62614],"./fr/activity.json":[85718,85718],"./fr/agent.json":[72281,72281],"./fr/auth.json":[24047,24047],"./fr/canvas.json":[16747,16747],"./fr/claw.json":[10457,10457],"./fr/collaboration.json":[70467,70467],"./fr/common.json":[26566,26566],"./fr/enterprise.json":[50138,2240],"./fr/errors.json":[17822,17822],"./fr/faq.json":[8462,8462],"./fr/footer.json":[45311,45311],"./fr/gptImage2Prompts.json":[18486,18486],"./fr/header.json":[49950,49950],"./fr/home.json":[88205,88205],"./fr/livedoc.json":[62776,62776],"./fr/note.json":[85468,85468],"./fr/search.json":[23961,23961],"./fr/settings.json":[46658,46658],"./fr/sidebar.json":[25725,25725],"./fr/slides.json":[31684,31684],"./fr/subscription.json":[34969,34969],"./fr/thread.json":[4946,42781],"./fr/version.json":[15883,15883],"./he/activity.json":[54418,54418],"./he/agent.json":[11115,11115],"./he/auth.json":[79742,79742],"./he/canvas.json":[63422,63422],"./he/claw.json":[66440,66440],"./he/collaboration.json":[80552,80552],"./he/common.json":[83165,83165],"./he/enterprise.json":[75744,43089],"./he/errors.json":[20035,20035],"./he/faq.json":[25716,25716],"./he/footer.json":[83981,83981],"./he/gptImage2Prompts.json":[26550,26550],"./he/header.json":[73685,73685],"./he/home.json":[38101,38101],"./he/livedoc.json":[27240,27240],"./he/note.json":[31045,31045],"./he/search.json":[46946,46946],"./he/settings.json":[62732,62732],"./he/sidebar.json":[92240,92240],"./he/slides.json":[81226,81226],"./he/subscription.json":[82720,82720],"./he/thread.json":[80050,80050],"./he/version.json":[52150,52150],"./id/activity.json":[64264,64264],"./id/agent.json":[96230,11365],"./id/auth.json":[2922,2922],"./id/canvas.json":[36449,36449],"./id/claw.json":[41602,41602],"./id/collaboration.json":[61527,61527],"./id/common.json":[73389,73389],"./id/enterprise.json":[80349,80349],"./id/errors.json":[73805,73805],"./id/faq.json":[28184,28184],"./id/footer.json":[25912,25912],"./id/gptImage2Prompts.json":[1622,1622],"./id/header.json":[99201,99201
18],"./id/home.json":[87339,87339],"./id/livedoc.json":[84139,84139],"./id/note.json":[97195,97195],"./id/search.json":[39031,39031],"./id/settings.json":[67196,67196],"./id/sidebar.json":[4474,4474],"./id/slides.json":[59028,59028],"./id/subscription.json":[91065,91065],"./id/thread.json":[95641,95641],"./id/version.json":[55866,55866],"./it/activity.json":[98560,98560],"./it/agent.json":[34542,16017],"./it/auth.json":[95277,95277],"./it/canvas.json":[5092,5092],"./it/claw.json":[36409,36409],"./it/collaboration.json":[24038,24038],"./it/common.json":[27851,27851],"./it/enterprise.json":[72085,72085],"./it/errors.json":[90338,90338],"./it/faq.json":[17159,17159],"./it/footer.json":[35622,35622],"./it/gptImage2Prompts.json":[31098,31098],"./it/header.json":[83621,83621],"./it/home.json":[13532,13532],"./it/livedoc.json":[58674,58674],"./it/note.json":[4383,4383],"./it/search.json":[24252,24252],"./it/settings.json":[22340,22340],"./it/sidebar.json":[22135,22135],"./it/slides.json":[30706,30706],"./it/subscription.json":[39320,39320],"./it/thread.json":[96254,96254],"./it/version.json":[82516,82516],"./ja/activity.json":[9001,9001],"./ja/agent.json":[97533,97533],"./ja/auth.json":[21063,21063],"./ja/canvas.json":[55320,29185],"./ja/claw.json":[24342,24342],"./ja/collaboration.json":[67211,67211],"./ja/common.json":[44664,44664],"./ja/enterprise.json":[95442,95442],"./ja/errors.json":[8067,8067],"./ja/faq.json":[1964,1964],"./ja/footer.json":[67186,67186],"./ja/gptImage2Prompts.json":[42651,42651],"./ja/header.json":[18280,18280],"./ja/home.json":[80097,80097],"./ja/livedoc.json":[21217,21217],"./ja/note.json":[59753,59753],"./ja/search.json":[74665,74665],"./ja/settings.json":[5209,5209],"./ja/sidebar.json":[76038,76038],"./ja/slides.json":[23319,23319],"./ja/subscription.json":[47375,47375],"./ja/thread.json":[93415,93415],"./ja/version.json":[55983,55983],"./ko/activity.json":[5664,5664],"./ko/agent.json":[39672,39672],"./ko/auth.json":[78106,78106],"./ko/canvas.json":[43101,43101],"./ko/claw.json":[76979,76979],"./ko/collaboration.json":[79598,55755],"./ko/common.json":[16700,16700],"./ko/enterprise.json":[72348,72348],"./ko/errors.json":[15780,15780],"./ko/faq.json":[81339,16569],"./ko/footer.json":[18846,18846],"./ko/gptImage2Prompts.json":[3282,3282],"./ko/header.json":[45895,45895],"./ko/home.json":[5272,5272],"./ko/livedoc.json":[16702,16702],"./ko/note.json":[80810,80810],"./ko/search.json":[84038,84038],"./ko/settings.json":[21707,21707],"./ko/sidebar.json":[83375,83375],"./ko/slides.json":[18668,18668],"./ko/subscription.json":[38772,38772],"./ko/thread.json":[49201,49201],"./ko/version.json":[83066,83066],"./pl/activity.json":[2643,2643],"./pl/agent.json":[8942,8942],"./pl/auth.json":[57710,57710],"./pl/canvas.json":[32338,32338],"./pl/claw.json":[84542,84542],"./pl/collaboration.json":[37101,37101],"./pl/common.json":[35421,35421],"./pl/enterprise.json":[25545,25545],"./pl/errors.json":[95117,75349],"./pl/faq.json":[52711,52711],"./pl/footer.json":[50396,50396],"./pl/gptImage2Prompts.json":[24076,24076],"./pl/header.json":[25330,25330],"./pl/home.json":[71247,71247],"./pl/livedoc.json":[95170,95170],"./pl/note.json":[18119,84289],"./pl/search.json":[52829,52829],"./pl/settings.json":[9806,9806],"./pl/sidebar.json":[88685,88685],"./pl/slides.json":[77560,77560],"./pl/subscription.json":[79136,79136],"./pl/thread.json":[25826,25826],"./pl/version.json":[23242,23242],"./pt/activity.json":[43947,43947],"./pt/agent.json":[33464,33464],"./pt/auth.json":[84805,84805],"./pt/canvas.json":[91495,91495],"./pt/claw.json":[32077,32077],"./pt/collaboration.json":[54324,54324],"./pt/common.json":[93862,93862],"./pt/enterprise.json":[57828,57828],"./pt/errors.json":[23688,23688],"./pt/faq.json":[89474,89474],"./pt/footer.json":[30970,30970],"./pt/gptImage2Prompts.json":[26114,23927],"./pt/header.json":[43605,43605],"./pt/home.json":[42374,42374],"./pt/livedoc.json":[5565,5565],"./pt/note.json":[56935,56935],"./pt/search.json":[82236,82236],"./pt/settings.json":[11635,11635],"./pt/sidebar.json":[42376,42376],"./pt/slides.json":[58005,58005],"./pt/subscription.json":[40156,40156],"./pt/thread.json":[32539,32539],"./pt/version.json":[96110,96110],"./ru/activity.json":[32035,32035],"./ru/agent.json":[76662,76662],"./ru/auth.json":[82748,82748],"./ru/canvas.json":[78393,78393],"./ru/claw.json":[9868,69275],"./ru/collaboration.json":[31406,31406],"./ru/common.json":[14844,14844],"./ru/enterprise.json":[40833,40833],"./ru/errors.json":[15514,15514],"./ru/faq.json":[57446,57446],"./ru/footer.json":[88793,88793],"./ru/gptImage2Prompts.json":[43185,43185],"./ru/header.json":[66096,66096],"./ru/home.json":[72549,72549],"./ru/livedoc.json":[41791,41791],"./ru/note.json":[81141,81141],"./ru/search.json":[18162,18162],"./ru/settings.json":[94852,94852],"./ru/sidebar.json":[37469,37469],"./ru/slides.json":[56259,56259],"./ru/subscription.json":[28033,28033],"./ru/thread.json":[90098,90098],"./ru/version.json":[28419,28419],"./th/activity.json":[73284,73284],"./th/agent.
18json":[9148,9148],"./th/auth.json":[50549,50549],"./th/canvas.json":[76632,76632],"./th/claw.json":[58712,58712],"./th/collaboration.json":[64284,64284],"./th/common.json":[67394,67394],"./th/enterprise.json":[62778,62778],"./th/errors.json":[26829,26829],"./th/faq.json":[38660,38660],"./th/footer.json":[14607,14607],"./th/gptImage2Prompts.json":[16079,16079],"./th/header.json":[7663,7663],"./th/home.json":[11552,11552],"./th/livedoc.json":[15150,15150],"./th/note.json":[71443,71443],"./th/search.json":[92949,92949],"./th/settings.json":[24326,24326],"./th/sidebar.json":[97673,97673],"./th/slides.json":[14311,14311],"./th/subscription.json":[95101,95101],"./th/thread.json":[36115,36115],"./th/version.json":[8063,8063],"./tr/activity.json":[35415,35415],"./tr/agent.json":[60153,60153],"./tr/auth.json":[48795,48795],"./tr/canvas.json":[4296,4296],"./tr/claw.json":[98389,98389],"./tr/collaboration.json":[34001,34001],"./tr/common.json":[72588,72588],"./tr/enterprise.json":[33894,33894],"./tr/errors.json":[58872,58872],"./tr/faq.json":[56118,56118],"./tr/footer.json":[47931,47931],"./tr/gptImage2Prompts.json":[50740,75744],"./tr/header.json":[56762,56762],"./tr/home.json":[15988,15988],"./tr/livedoc.json":[27774,27774],"./tr/note.json":[18476,18476],"./tr/search.json":[20185,20185],"./tr/settings.json":[71250,71250],"./tr/sidebar.json":[43516,43516],"./tr/slides.json":[25262,25262],"./tr/subscription.json":[25320,25320],"./tr/thread.json":[14439,14439],"./tr/version.json":[66630,66630],"./vi/activity.json":[94820,94820],"./vi/agent.json":[16521,16521],"./vi/auth.json":[62142,62142],"./vi/canvas.json":[76644,61304],"./vi/claw.json":[54646,54646],"./vi/collaboration.json":[21839,21839],"./vi/common.json":[76834,76834],"./vi/enterprise.json":[15884,47104],"./vi/errors.json":[29026,29026],"./vi/faq.json":[40577,40577],"./vi/footer.json":[73641,73641],"./vi/gptImage2Prompts.json":[41640,41640],"./vi/header.json":[37808,37808],"./vi/home.json":[55415,55415],"./vi/livedoc.json":[26367,26367],"./vi/note.json":[7346,7346],"./vi/search.json":[81429,81429],"./vi/settings.json":[76079,76079],"./vi/sidebar.json":[31761,31761],"./vi/slides.json":[50243,50243],"./vi/subscription.json":[7942,7942],"./vi/thread.json":[43097,24411],"./vi/version.json":[33238,33238],"./zh-Hans/activity.json":[25415,25415],"./zh-Hans/agent.json":[65546,65546],"./zh-Hans/auth.json":[98582,98582],"./zh-Hans/canvas.json":[78303,78303],"./zh-Hans/claw.json":[15989,15989],"./zh-Hans/collaboration.json":[57171,57171],"./zh-Hans/common.json":[65387,65387],"./zh-Hans/enterprise.json":[9503,9503],"./zh-Hans/errors.json":[88451,88451],"./zh-Hans/faq.json":[16698,16698],"./zh-Hans/footer.json":[15713,15713],"./zh-Hans/gptImage2Prompts.json":[84226,84226],"./zh-Hans/header.json":[76057,76057],"./zh-Hans/home.json":[23254,23254],"./zh-Hans/livedoc.json":[70373,70373],"./zh-Hans/note.json":[88645,88645],"./zh-Hans/search.json":[74952,74952],"./zh-Hans/settings.json":[36122,36122],"./zh-Hans/sidebar.json":[87262,87262],"./zh-Hans/slides.json":[2087,2087],"./zh-Hans/subscription.json":[26930,26930],"./zh-Hans/thread.json":[30697,30697],"./zh-Hans/version.json":[60708,60708],"./zh-Hant/activity.json":[40011,40011],"./zh-Hant/agent.json":[62492,62492],"./zh-Hant/auth.json":[46210,46210],"./zh-Hant/canvas.json":[57143,57143],"./zh-Hant/claw.json":[49388,49388],"./zh-Hant/collaboration.json":[36637,36637],"./zh-Hant/common.json":[39952,39952],"./zh-Hant/enterprise.json":[17087,17087],"./zh-Hant/errors.json":[79840,79840],"./zh-Hant/faq.json":[14157,14157],"./zh-Hant/footer.json":[23093,23093],"./zh-Hant/gptImage2Prompts.json":[95151,95151],"./zh-Hant/header.json":[52093,52093],"./zh-Hant/home.json":[50445,50445],"./zh-Hant/livedoc.json":[90174,90174],"./zh-Hant/note.json":[47988,47988],"./zh-Hant/search.json":[51633,51633],"./zh-Hant/settings.json":[61985,61985],"./zh-Hant/sidebar.json":[99376,99376],"./zh-Hant/slides.json":[41050,41050],"./zh-Hant/subscription.json":[6699,6699],"./zh-Hant/thread.json":[72826,72826],"./zh-Hant/version.json":[97455,97455]};function i(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(function(){return n.t(i,19)})}i.keys=function(){return Object.keys(r)},i.id=64085,e.exports=i},50187:function(e,t,n){"use strict";n.d(t,{x7:function(){return eS},Me:function(){return eb},oo:function(){return eA},RR:function(){return eC},Cp:function(){return eT},dr:function(){return ek},cv:function(){return ew},uY:function(){return eE},dp:function(){return ex}});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,a=Math.round,s=Math.floor,l=e=>({x:e,y:e}
18),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function _(e){return g.has(f(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>c[e])}let y=["left","right"],b=["right","left"],w=["top","bottom"],E=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function x(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function T(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function S(e,t,n){let r,{reference:i,floating:o}=e,a=_(t),s=p(_(t)),l=m(s),u=f(t),c="y"===a,d=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,v=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[s]-=v*(n&&c?-1:1);break;case"end":r[s]+=v*(n&&c?-1:1)}return r}let k=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=S(u,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:g,y:_,data:v,reset:y}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=_?_:d,h={...h,[o]:{...h[o],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(u=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:c,y:d}=S(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function A(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=d(t,e),m=x(p),g=s[h?"floating"===f?"reference":"floating":f],_=T(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=T(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(_.top-w.top+m.top)/b.y,bottom:(w.bottom-_.bottom+m.bottom)/b.y,left:(_.left-w.left+m.left)/b.x,right:(w.right-_.right+m.right)/b.x}}function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function I(e){return r.some(t=>e[t]>=0)}let O=new Set(["left","top"]);async function P(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=f(n),s=h(n),l="y"===_(n),u=O.has(a)?-1:1,c=o&&l?-1:1,p=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof v&&(g="end"===s?-1*v:v),l?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function j(){return"undefined"!=typeof window}function R(e){return D(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(D(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function D(e){return!!j()&&(e instanceof Node||e instanceof M(e).Node)}function H(e){return!!j()&&(e instanceof Element||e instanceof M(e).Element)}function F(e){return!!j()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function U(e){return!!j()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}let V=new Set(["inline","contents"]);function G(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Q(e);
18return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!V.has(i)}let B=new Set(["table","td","th"]),z=[":popover-open",":modal"];function $(e){return z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Z=["transform","translate","scale","rotate","perspective"],W=["transform","translate","scale","rotate","perspective","filter"],Y=["paint","layout","strict","content"];function X(e){let t=J(),n=H(e)?Q(e):e;return Z.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||W.some(e=>(n.willChange||"").includes(e))||Y.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let q=new Set(["html","body","#document"]);function K(e){return q.has(R(e))}function Q(e){return M(e).getComputedStyle(e)}function ee(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if("html"===R(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||N(e);return U(t)?t.host:t}function en(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=et(t);return K(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&G(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=M(i);if(o){let e=er(a);return t.concat(a,a.visualViewport||[],G(i)?i:[],e&&n?en(e):[])}return t.concat(i,en(i,[],n))}function er(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=Q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=F(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,l=a(n)!==o||a(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function eo(e){return H(e)?e:e.contextElement}function ea(e){let t=eo(e);if(!F(t))return l(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ei(t),s=(o?a(n.width):n.width)/r,u=(o?a(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let es=l(0);function el(e){let t=M(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function eu(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=eo(e),s=l(1);t&&(r?H(r)&&(s=ea(r)):s=ea(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(a))&&i)?el(a):l(0),c=(o.left+u.x)/s.x,d=(o.top+u.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(a){let e=M(a),t=r&&H(r)?M(r):r,n=e,i=er(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=Q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=a,i=er(n=M(i))}}return T({width:f,height:h,x:c,y:d})}function ec(e,t){let n=ee(e).scrollLeft;return t?t.left+n:eu(N(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ec(e,n),y:n.top+t.scrollTop}}let ef=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=M(e),r=N(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=J();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ec(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=N(e),n=ee(e),r=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=o(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+ec(e),l=-n.scrollTop;return"rtl"===Q(r).direction&&(s+=o(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:s,y:l}}(N(e));else if(H(t))r=function(e,t){let n=eu(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=F(e)?ea(e):l(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=el(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return T(r)}function ep(e){return"static"===Q(e).position}function em(e,t){if(!F(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return N(e)===n&&(n=n.ownerDocument.body),n}function eg(e,t){var n;let r=M(e);if($(e))return r;if(!F(e)){let t=et(e);for(;t&&!K(t);){if(H(t)&&!ep(t))return t;t=et(t)}return r}let i=em(e,t);for(;i&&(n=i,B.has(R(n)))&&ep(i);)i=em(i,t);return i&&K(i)&&ep(i)&&!X(i)?r:i||function(e){let t=et(e);for(;F(t)&&!K(t);){if(X(t))return t;if($(t))break;t=et(t)}return null}(e)||r}let e_=async function(e){let t=this.getOffsetParent||eg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),i=N(t),o="fixed"===n,a=eu(e,!0,o,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(r||!r&&!o){if(("body"!==R(t)||G(i))&&(s=ee(t)),r){let e=eu(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ec(i))}o&&!r&&i&&(u.x=ec(i));let c=!i||r||o?l(0):ed(i,s);return{x:a.left+s.scrollLeft-u.x-c.x,y:a.top+s.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=N(r),s=!!t&&$(t.floating);if(r===a||s&&o)return n;let u={scrollLeft:0,scrollTop:0},c=l(1),d=l(0),f=F(r);if((f||!f&&!o)&&(("body"!==R(r)||G(a))&&(u=ee(r)),F(r))){let e=eu(r);c=ea(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!a||f||o?l(0):ed(a,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-u.scrollTop*c.y+d.y+h.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,s=[..."clippingAncestors"===n?$(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=en(e,[],!1).filter(e=>H(e)&&"body"!==R(e)),i=null,o="fixed"===Q(e).position,a=o?et(e):e;for(;H(a)&&!K(a);){let t=Q(a),n=X(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ef.has(i.position)||G(a)&&!n&&function e(t,n){let r=et(t);return!(r===n||!H(r)||K(r))&&("fixed"===Q(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=et(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=s[0],u=s.reduce((e,n)=>{let r=eh(t,n,a);return e.top=o(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=o(r.left,e.left),e},eh(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eg,getElementRects:e_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ei(e);return{width:t,height:n}},getScale:ea,isElement:H,isRTL:function(e){return"rtl"===Q(e).direction}};function ey(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eb(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=eo(e),p=l||u?[...h?en(h):[],...en(t)]:[];
18p.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=h&&d?function(e,t){let n,r=null,a=N(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=f;if(c||t(),!m||!g)return;let _=s(p),v=s(a.clientWidth-(h+m)),y={rootMargin:-_+"px "+-v+"px "+-s(a.clientHeight-(p+g))+"px "+-s(h)+"px",threshold:o(0,i(1,d))||1},b=!0;function w(t){let r=t[0].intersectionRatio;if(r!==d){if(!b)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ey(f,e.getBoundingClientRect())||u(),b=!1}try{r=new IntersectionObserver(w,{...y,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),l}(h,n):null,g=-1,_=null;c&&(_=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&_&&(_.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=_)||e.observe(t)})),n()}),h&&!f&&_.observe(h),_.observe(t));let v=f?eu(e):null;return f&&function t(){let r=eu(e);v&&!ey(v,r)&&n(),v=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=_)||e.disconnect(),_=null,f&&cancelAnimationFrame(a)}}let ew=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await P(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},eE=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(e,t),h={x:n,y:r},m=await A(t,c),g=_(f(a)),v=p(g),y=h[v],b=h[g];if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=y+m[e],r=y-m[t];y=o(n,i(y,r))}if(l){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=b+m[e],r=b-m[t];b=o(n,i(b,r))}let w=u.fn({...t,[v]:y,[g]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:s,[g]:l}}}}}},eC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:g,elements:x}=t,{mainAxis:T=!0,crossAxis:S=!0,fallbackPlacements:k,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:O=!0,...P}=d(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let j=f(s),R=_(c),M=f(c)===c,N=await (null==g.isRTL?void 0:g.isRTL(x.floating)),D=k||(M||!O?[C(c)]:function(e){let t=C(e);return[v(e),t,v(t)]}(c)),H="none"!==I;!k&&H&&D.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:y;return t?y:b;case"left":case"right":return t?w:E;default:return[]}}(f(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(c,O,I,N));let F=[c,...D],U=await A(t,P),V=[],G=(null==(r=l.flip)?void 0:r.overflows)||[];if(T&&V.push(U[j]),S){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=p(_(e)),o=m(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=C(a)),[a,C(a)]}(s,u,N);V.push(U[e[0]],U[e[1]])}if(G=[...G,{placement:s,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=F[e];if(t&&(!("alignment"===S&&R!==_(t))||G.every(e=>_(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let n=null==(o=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(a=G.filter(e=>{if(H){let t=_(e.placement);return t===R||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}},ex=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let a,s;let{placement:l,rects:u,platform:c,elements:p}=t,{apply:m=()=>{},...g}=d(e,t),v=await A(t,g),y=f(l),b=h(l),w="y"===_(l),{width:E,height:C}=u.floating;"top"===y||"bottom"===y?(a=y,s=b===(await (null==c.isRTL?void 0:c.isRTL(p.floating))?"start":"end")?"left":"right"):(s=y,a="end"===b?"top":"bottom");let x=C-v.top-v.bottom,T=E-v.left-v.right,S=i(C-v[a],x),k=i(E-v[s],T),L=!t.middlewareData.shift,I=S,O=k;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(O=T),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(I=x),L&&!b){let e=o(v.left,0),t=o(v.right,0),n=o(v.top,0),r=o(v.bottom,0);w?O=E-2*(0!==e||0!==t?e+t:o(v.left,v.right)):I=C-2*(0!==n||0!==r?n+r:o(v.top,v.bottom))}await m({...t,availableWidth:O,availableHeight:I});let P=await c.getDimensions(p.floating);return E!==P.width||C!==P.height?{reset:{rects:!0}}:{}}}},eT=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=d(e,t);switch(r){case"referenceHidden":{let e=L(await A(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:I(e)}}}case"escaped":{let e=L(await A(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:I(e)}}}default:return{}}}}},eS=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:f,padding:g=0}=d(e,t)||{};if(null==f)return{};let v=x(g),y={x:n,y:r},b=p(_(a)),w=m(b),E=await l.getDimensions(f),C="y"===b,T=C?"clientHeight":"clientWidth",S=s.reference[w]+s.reference[b]-y[b]-s.floating[w],k=y[b]-s.reference[b],A=await (null==l.getOffsetParent?void 0:l.getOffsetParent(f)),L=A?A[T]:0;L&&await (null==l.isElement?void 0:l.isElement(A))||(L=u.floating[T]||s.floating[w]);let I=L/2-E[w]/2-1,O=i(v[C?"top":"left"],I),P=i(v[C?"bottom":"right"],I),j=L-E[w]-P,R=L/2-E[w]/2+(S/2-k/2),M=o(O,i(R,j)),N=!c.arrow&&null!=h(a)&&R!==M&&s.reference[w]/2-(R<O?O:P)-E[w]/2<0,D=N?R<O?R-O:R-j:0;return{[b]:y[b]+D,data:{[b]:M,centerOffset:R-M-D,...N&&{alignmentOffset:D}},reset:N}}}),ek=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=d(e,t),c={x:n,y:r},h=_(i),m=p(h),g=c[m],v=c[h],y=d(s,t),b="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+b.mainAxis,n=o.reference[m]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var w,E;let e="y"===m?"width":"height",t=O.has(f(i)),n=o.reference[h]-o.floating[e]+(t&&(null==(w=a.offset)?void 0:w[h])||0)+(t?0:b.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[h])||0)-(t?b.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[m]:g,[h]:v}}}}
18,eA=(e,t,n)=>{let r=new Map,i={platform:ev,...n},o={...i.platform,_c:r};return k(e,t,{...i,platform:o})}},59453:function(e,t,n){"use strict";n.d(t,{Cp:function(){return v},RR:function(){return g},YF:function(){return d},cv:function(){return h},dp:function(){return _},dr:function(){return m},uY:function(){return p},x7:function(){return y}});var r=n(50187),i=n(75271),o=n(30967),a="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:g,open:_}=e,[v,y]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,w]=i.useState(d);s(b,d)||w(d);let[E,C]=i.useState(null),[x,T]=i.useState(null),S=i.useCallback(e=>{e!==I.current&&(I.current=e,C(e))},[]),k=i.useCallback(e=>{e!==O.current&&(O.current=e,T(e))},[]),A=h||E,L=p||x,I=i.useRef(null),O=i.useRef(null),P=i.useRef(v),j=null!=g,R=c(g),M=c(f),N=c(_),D=i.useCallback(()=>{if(!I.current||!O.current)return;let e={placement:t,strategy:n,middleware:b};M.current&&(e.platform=M.current),(0,r.oo)(I.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};H.current&&!s(P.current,t)&&(P.current=t,o.flushSync(()=>{y(t)}))})},[b,t,n,M,N]);a(()=>{!1===_&&P.current.isPositioned&&(P.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[_]);let H=i.useRef(!1);a(()=>(H.current=!0,()=>{H.current=!1}),[]),a(()=>{if(A&&(I.current=A),L&&(O.current=L),A&&L){if(R.current)return R.current(A,L,D);D()}},[A,L,D,R,j]);let F=i.useMemo(()=>({reference:I,floating:O,setReference:S,setFloating:k}),[S,k]),U=i.useMemo(()=>({reference:A,floating:L}),[A,L]),V=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!U.floating)return e;let t=u(U.floating,v.x),r=u(U.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,U.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:D,refs:F,elements:U,floatingStyles:V}),[v,D,F,U,V])}let f=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{}}}),h=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),p=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),m=(e,t)=>({...(0,r.dr)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),_=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),v=(e,t)=>
18({...(0,r.Cp)(e),options:[e,t]}),y=(e,t)=>({...f(e),options:[e,t]})},95374:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(75271);function i(e={}){let{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=r.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let a=r.useContext(o);if(!a&&t){let t=Error(n);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return a},o]}},9785:function(e,t,n){"use strict";n.d(t,{a:function(){return r},w:function(){return i}});var[r,i]=(0,n(95374).k)({name:"ProviderContext",strict:!1})},87653:function(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{Mj:function(){return r}}),"undefined"!=typeof window&&window.document&&window.document.createElement},39848:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(75271),i=n(63464),o=n(52676),a=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:a=5,...s}=e;return(0,o.jsx)(i.WV.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,o.jsx)("polygon",{points:"0,0 30,0 15,10"})})});a.displayName="Arrow";var s=a},62271:function(e,t,n){"use strict";n.d(t,{F:function(){return i},e:function(){return o}});var r=n(75271);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},49204:function(e,t,n){"use strict";n.d(t,{F:function(){return o},e:function(){return a}});var r=n(75271);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function a(...e){return r.useCallback(o(...e),e)}},35769:function(e,t,n){"use strict";n.d(t,{F:function(){return o},e:function(){return a}});var r=n(75271);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function a(...e){return r.useCallback(o(...e),e)}},42478:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(75271),i=n(52676);function o(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let a=r.createContext(o),s=n.length;n=[...n,o];let l=t=>{let{scope:n,children:o,...l}=t,u=n?.[e]?.[s]||a,c=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||a,u=r.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},65129:function(e,t,n){"use strict";n.d(t,{b:function(){return a},k:function(){return o}});var r=n(75271),i=n(52676);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,a=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let a=r.createContext(o),s=n.length;n=[...n,o];let l=t=>{let{scope:n,children:o,...l}=t,u=n?.[e]?.[s]||a,c=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||a,u=r.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},48183:function(e,t,n){"use strict";n.d(t,{XB:function(){return f}});var r,i=n(75271),o=n(87653),a=n(63464),s=n(35769),l=n(94545),u=n(52676),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=i.forwardRef((e,t)=>
18{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:_,onDismiss:v,...y}=e,b=i.useContext(d),[w,E]=i.useState(null),C=w?.ownerDocument??globalThis?.document,[,x]=i.useState({}),T=(0,s.e)(t,e=>E(e)),S=Array.from(b.layers),[k]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),A=S.indexOf(k),L=w?S.indexOf(w):-1,I=b.layersWithOutsidePointerEventsDisabled.size>0,O=L>=A,P=function(e,t=globalThis?.document){let n=(0,l.W)(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){p("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));!O||n||(m?.(e),_?.(e),e.defaultPrevented||v?.())},C),j=function(e,t=globalThis?.document){let n=(0,l.W)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[...b.branches].some(e=>e.contains(t))||(g?.(e),_?.(e),e.defaultPrevented||v?.())},C);return!function(e,t=globalThis?.document){let n=(0,l.W)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L!==b.layers.size-1||(f?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},C),i.useEffect(()=>{if(w)return n&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),h(),()=>{n&&1===b.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[w,C,n,b]),i.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),h())},[w,b]),i.useEffect(()=>{let e=()=>x({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.WV.div,{...y,ref:T,style:{pointerEvents:I?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.Mj)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,o.Mj)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,o.Mj)(e.onPointerDownCapture,P.onPointerDownCapture)})});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,a.jH)(i,o):i.dispatchEvent(o)}f.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(d),r=i.useRef(null),o=(0,s.e)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(a.WV.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},38423:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(75271),o=n(59699),a=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(a());return(0,o.b)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},62813:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(75271),i=n(30967),o=n(63464),a=n(59699),s=n(52676),l=r.forwardRef((e,t)=>{let{container:n,...l}=e,[u,c]=r.useState(!1);(0,a.b)(()=>c(!0),[]);let d=n||u&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(o.WV.div,{...l,ref:t}),d):null});l.displayName="Portal"},50529:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(75271),i=n(35769),o=n(59699),a=e=>{let t,n;let{present:a,children:l}=e,u=function(e){var t,n;let[i,a]=r.useState(),l=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>
18n[e][t]??e,t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.b)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,o.b)(()=>{if(i){let e;let t=i.ownerDocument.defaultView??window,n=n=>{let r=s(l.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(f("ANIMATION_END"),!u.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(a),c="function"==typeof l?l({present:u.isPresent}):r.Children.only(l),d=(0,i.e)(u.ref,(t=Object.getOwnPropertyDescriptor(c.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?c.ref:(t=Object.getOwnPropertyDescriptor(c,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?c.props.ref:c.props.ref||c.ref);return"function"==typeof l||u.isPresent?r.cloneElement(c,{ref:d}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},64457:function(e,t,n){"use strict";n.d(t,{WV:function(){return a}});var r=n(75271);n(30967);var i=n(18250),o=n(52676),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...a}=e,s=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(s,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{})},63464:function(e,t,n){"use strict";n.d(t,{WV:function(){return s},jH:function(){return l}});var r=n(75271),i=n(30967),o=n(37946),a=n(52676),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.Z8)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,s=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},75802:function(e,t,n){"use strict";n.d(t,{g7:function(){return a}});var r=n(75271),i=n(62271),o=n(52676),a=r.forwardRef((e,t)=>{let{children:n,...i}=e,a=r.Children.toArray(n),l=a.find(u);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(s,{...i,ref:t,children:n})});a.displayName="Slot";var s=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?(0,i.F)(t,s):s})}return r.Children.count(n)>1?r.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function u(e){return r.isValidElement(e)&&e.type===l}},18250:function(e,t,n){"use strict";n.d(t,{g7:function(){return a}});var r=n(75271),i=n(49204),o=n(52676),a=r.forwardRef((e,t)=>{let{children:n,...i}=e,a=r.Children.toArray(n),l=a.find(u);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(s,{...i,ref:t,children:n})});a.displayName="Slot";var s=r.forwardRef((e,t)=>
18{let{children:n,...o}=e;if(r.isValidElement(n)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,i.F)(t,s):s),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function u(e){return r.isValidElement(e)&&e.type===l}},37946:function(e,t,n){"use strict";n.d(t,{Z8:function(){return a},sA:function(){return l}});var r=n(75271),i=n(35769),o=n(52676);function a(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,i.F)(t,s):s),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...a}=e,s=r.Children.toArray(i),l=s.find(u);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},94545:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(75271);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},937:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r,i=n(75271),o=n(59699),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.b;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},59699:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(75271),i=globalThis?.document?r.useLayoutEffect:()=>{}},73856:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(75271),i=n(59699);function o(e){let[t,n]=r.useState(void 0);return(0,i.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},60909:function(e,t,n){"use strict";n.d(t,{b:function(){return m},j:function(){return g}});
18let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function o(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}var a=n(75271),s=n(48876);let l=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[l]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:o(e)?"rtl":"ltr"}}let c=u(),d=new Set;function f(){for(let e of(c=u(),d))e(c)}function h(){let e=(0,s.Av)(),[t,n]=(0,a.useState)(c);return((0,a.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",f),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}let p=a.createContext(null);function m(e){let{locale:t,children:n}=e,r=h(),i=a.useMemo(()=>t?{locale:t,direction:o(t)?"rtl":"ltr"}:r,[r,t]);return a.createElement(p.Provider,{value:i},n)}function g(){let e=h();return(0,a.useContext)(p)||e}},97180:function(e,t,n){"use strict";n.d(t,{N3:function(){return u},Xj:function(){return c}});var r=n(75271),i=n(30967),o=n(48876);let a=r.createContext(null);function s(e){let{children:t}=e,n=(0,r.useContext)(a),[i,o]=(0,r.useState)(0),s=(0,r.useMemo)(()=>({parent:n,modalCount:i,addModal(){o(e=>e+1),n&&n.addModal()},removeModal(){o(e=>e-1),n&&n.removeModal()}}),[n,i]);return r.createElement(a.Provider,{value:s},t)}function l(e){let t;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,r.useContext)(a))&&t.modalCount>0||null}};return r.createElement("div",{"data-overlay-container":!0,...e,...n})}function u(e){return r.createElement(s,null,r.createElement(l,e))}function c(e){let t=(0,o.Av)(),{portalContainer:n=t?null:document.body,...a}=e;if(r.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let s=r.createElement(u,a);return i.createPortal(s,n)}},48876:function(e,t,n){"use strict";n.d(t,{Av:function(){return h},gP:function(){return u}});var r=n(75271);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(i),a=r.createContext(!1),s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(h()),o=n?"react-aria":`react-aria${i.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,r.useContext)(o);t!==i||s||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=function(e=!1){let t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,a;let e=null===(a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a?void 0:null===(i=a.ReactCurrentOwner)||void 0===i?void 0:i.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${n}`};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function h(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,c,d):(0,r.useContext)(a)}},96072:function(e,t,n){"use strict";n.d(t,{pG:function(){return u},b0:function(){return d},eY:function(){return p},tv:function(){return c}});let r=null;function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function a(){return o(/^Mac/i)}var s=n(75271);let l=(0,s.createContext)({isNative:!0,open:function(e,t){h(e,e=>f(e,t))},useHref:e=>e});function u(e){let{children:t,navigate:n,useHref:r}=e,i=(0,s.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{h(e,e=>{d(e,t)?n(r,i):f(e,t)})},useHref:r||(e=>e)}),[n,r]);return s.createElement(l.Provider,{value:i},t)}function c(){return(0,s.useContext)(l)}function d(e,t){let n=e.getAttribute("target");return(!n||"_self"===n)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function f(e,t,n=!0){var s,l;
18let{metaKey:u,ctrlKey:c,altKey:d,shiftKey:h}=t;i(/Firefox/i)&&(null===(l=window.event)||void 0===l?void 0:null===(s=l.type)||void 0===s?void 0:s.startsWith("key"))&&"_blank"===e.target&&(a()?u=!0:c=!0);let p=i(/AppleWebKit/i)&&!i(/Chrome/i)&&a()&&!(o(/^iPad/i)||a()&&navigator.maxTouchPoints>1)?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:u,ctrlKey:c,altKey:d,shiftKey:h}):new MouseEvent("click",{metaKey:u,ctrlKey:c,altKey:d,shiftKey:h,bubbles:!0,cancelable:!0});f.isOpening=n,function(e){if(function(){if(null==r){r=!1;try{document.createElement("div").focus({get preventScroll(){return r=!0,!0}})}catch(e){}}return r}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(p),f.isOpening=!1}function h(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function p(e){let t=c();return{href:(null==e?void 0:e.href)?t.useHref(null==e?void 0:e.href):void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}f.isOpening=!1},2808:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r},o=(e,t)=>n=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],i=null==s?void 0:s[e];if(null===t)return null;let o=r(t)||r(i);return a[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,l,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},4814:function(e,t,n){"use strict";function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}}),t.Z=r},95174:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});class r extends TransformStream{#e="";constructor(e={allowCR:!1}){super({transform:(t,n)=>{for(t=this.#e+t;;){let r=t.indexOf("\n"),i=e.allowCR?t.indexOf("\r"):-1;if(-1!==i&&i!==t.length-1&&(-1===r||r-1>i)){n.enqueue(t.slice(0,i)),t=t.slice(i+1);continue}if(-1===r)break;let o="\r"===t[r-1]?r-1:r;n.enqueue(t.slice(0,o)),t=t.slice(r+1)}this.#e=t},flush:t=>{if(""===this.#e)return;let n=e.allowCR&&this.#e.endsWith("\r")?this.#e.slice(0,-1):this.#e;t.enqueue(n)}})}}async function*i(e,t){var n;let i,o,a;if(!e.body)return;let s,l=(n=e.body,o=new TextDecoderStream,a=new r({allowCR:!0}),n.pipeThrough(o).pipeThrough(a)).getReader();for(;;){if(t&&t.aborted)return l.cancel();if((s=await l.read()).done)return;if(!s.value){i&&(yield i),i=void 0;continue}let[e,n]=function(e){let t=/[:]\s*/.exec(e),n=t&&t.index;if(n)return[e.substring(0,n),e.substring(n+t[0].length)]}(s.value)||[];e&&("data"===e?(i||={})[e]=i[e]?i[e]+"\n"+n:n:"event"===e?(i||={})[e]=n:"id"===e?(i||={})[e]=+n||n:"retry"===e&&((i||={})[e]=+n||void 0))}}},29634:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:function(){return i}});var i=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
18URIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},54747:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});let r={}},88955:function(e,t,n){"use strict";n.d(t,{x0:function(){return r}});let r=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t}},55850:function(e,t,n){"use strict";n.d(t,{F:function(){return u},f:function(){return c}});var r=n(75271),i=["light","dark"],o="(prefers-color-scheme: dark)",a="undefined"==typeof window,s=r.createContext(void 0),l={setTheme:e=>{},themes:[]},u=()=>{var e;return null!=(e=r.useContext(s))?e:l},c=e=>r.useContext(s)?e.children:r.createElement(f,{...e}),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:a=!0,storageKey:l="theme",themes:u=d,defaultTheme:c=n?"system":"light",attribute:f="data-theme",value:_,children:v,nonce:y})=>{let[b,w]=r.useState(()=>p(l,c)),[E,C]=r.useState(()=>p(l)),x=_?Object.values(_):u,T=r.useCallback(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=g());let o=_?_[r]:r,s=t?m():null,l=document.documentElement;if("class"===f?(l.classList.remove(...x),o&&l.classList.add(o)):o?l.setAttribute(f,o):l.removeAttribute(f),a){let e=i.includes(c)?c:null,t=i.includes(r)?r:e;l.style.colorScheme=t}null==s||s()},[]),S=r.useCallback(e=>{let t="function"==typeof e?e(e):e;w(t);try{localStorage.setItem(l,t)}catch(e){}},[e]),k=r.useCallback(t=>{C(g(t)),"system"===b&&n&&!e&&T("system")},[b,e]);r.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(k),k(e),()=>e.removeListener(k)},[k]),r.useEffect(()=>{let e=e=>{e.key===l&&S(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[S]),r.useEffect(()=>{T(null!=e?e:b)},[e,b]);let A=r.useMemo(()=>({theme:b,setTheme:S,forcedTheme:e,resolvedTheme:"system"===b?E:b,themes:n?[...u,"system"]:u,systemTheme:n?E:void 0}),[b,S,e,E,n,u]);return r.createElement(s.Provider,{value:A},r.createElement(h,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:a,storageKey:l,themes:u,defaultTheme:c,attribute:f,value:_,children:v,attrs:x,nonce:y}),v)},h=r.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:a,enableColorScheme:s,defaultTheme:l,value:u,attrs:c,nonce:d})=>{let f="system"===l,h="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=s?(i.includes(l)?l:null)?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,r=!0)=>{let o=u?u[e]:e,a=t?e+"|| ''":`'${o}'`,l="";return s&&r&&!t&&i.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?t||o?l+=`c.add(${a})`:l+="null":o&&(l+=`d[s](n,${a})`),l},g=e?`!function(){${h}${m(e)}}()`:a?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${o}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}${f?"":"else{"+m(l,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}else{${m(l,!1,!1)};}${p}}catch(t){}}();`;
18return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:g}})}),p=(e,t)=>{let n;if(!a){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},m=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},g=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},98764:function(e,t,n){"use strict";n.d(t,{Eh:function(){return ey},VY:function(){return ev},h_:function(){return e_},zt:function(){return ep},fC:function(){return em},xz:function(){return eg}});var r=n(75271),i=n(87653),o=n(35769),a=n(65129),s=n(48183),l=n(38423),u=n(59453),c=n(50187),d=n(39848),f=n(63464),h=n(94545),p=n(59699),m=n(73856),g=n(52676),_="Popper",[v,y]=(0,a.b)(_),[b,w]=v(_),E=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,g.jsx)(b,{scope:t,anchor:i,onAnchorChange:o,children:n})};E.displayName=_;var C="PopperAnchor",x=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,s=w(C,n),l=r.useRef(null),u=(0,o.e)(t,l),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=i?.current||l.current,e!==c.current&&s.onAnchorChange(c.current)}),i?null:(0,g.jsx)(f.WV.div,{...a,ref:u})});x.displayName=C;var T="PopperContent",[S,k]=v(T),A=r.forwardRef((e,t)=>{let{__scopePopper:n,side:i="bottom",sideOffset:a=0,align:s="center",alignOffset:l=0,arrowPadding:d=0,avoidCollisions:_=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:E=!1,updatePositionStrategy:C="optimized",onPlaced:x,...k}=e,A=w(T,n),[L,I]=r.useState(null),O=(0,o.e)(t,e=>I(e)),[M,N]=r.useState(null),D=(0,m.t)(M),H=D?.width??0,F=D?.height??0,U="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},V=Array.isArray(v)?v:[v],G=V.length>0,B={padding:U,boundary:V.filter(P),altBoundary:G},{refs:z,floatingStyles:$,placement:Z,isPositioned:W,middlewareData:Y}=(0,u.YF)({strategy:"fixed",placement:i+("center"!==s?"-"+s:""),whileElementsMounted:(...e)=>(0,c.Me)(...e,{animationFrame:"always"===C}),elements:{reference:A.anchor},middleware:[(0,u.cv)({mainAxis:a+F,alignmentAxis:l}),_&&(0,u.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?(0,u.dr)():void 0,...B}),_&&(0,u.RR)({...B}),(0,u.dp)({...B,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),M&&(0,u.x7)({element:M,padding:d}),j({arrowWidth:H,arrowHeight:F}),E&&(0,u.Cp)({strategy:"referenceHidden",...B})]}),[X,J]=R(Z),q=(0,h.W)(x);(0,p.b)(()=>{W&&q?.()},[W,q]);let K=Y.arrow?.x,Q=Y.arrow?.y,ee=Y.arrow?.centerOffset!==0,[et,en]=r.useState();return(0,p.b)(()=>{L&&en(window.getComputedStyle(L).zIndex)},[L]),(0,g.jsx)("div",{ref:z.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:W?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,g.jsx)(S,{scope:n,placedSide:X,onArrowChange:N,arrowX:K,arrowY:Q,shouldHideArrow:ee,children:(0,g.jsx)(f.WV.div,{"data-side":X,"data-align":J,...k,ref:O,style:{...k.style,animation:W?void 0:"none"}})})})});A.displayName=T;var L="PopperArrow",I={top:"bottom",right:"left",bottom:"top",left:"right"},O=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=k(L,n),o=I[i.placedSide];return(0,g.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,g.jsx)(d.f,{...r,ref:t,style:{...r.style,display:"block"}})})});function P(e){return null!==e}O.displayName=L;var j=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=R(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,f=(i.arrow?.y??0)+s/2,h="",p="";return"bottom"===l?(h=o?c:`${d}px`,p=`${-s}px`):"top"===l?(h=o?c:`${d}px`,p=`${r.floating.height+s}px`):"right"===l?(h=`${-s}px`,p=o?c:`${f}px`):"left"===l&&(h=`${r.floating.width+s}px`,p=o?c:`${f}px`),{data:{x:h,y:p}}}});function R(e){let[t,n="center"]=e.split("-");return[t,n]}var M=n(62813),N=n(50529),D=n(37946),H=n(937),F=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),U=r.forwardRef((e,t)=>
18(0,g.jsx)(f.WV.span,{...e,ref:t,style:{...F,...e.style}}));U.displayName="VisuallyHidden";var[V,G]=(0,a.b)("Tooltip",[y]),B=y(),z="TooltipProvider",$="tooltip.open",[Z,W]=V(z),Y=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:a}=e,s=r.useRef(!0),l=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(Z,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:l,onPointerInTransitChange:r.useCallback(e=>{l.current=e},[]),disableHoverableContent:o,children:a})};Y.displayName=z;var X="Tooltip",[J,q]=V(X),K=e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:o,onOpenChange:a,disableHoverableContent:s,delayDuration:u}=e,c=W(X,e.__scopeTooltip),d=B(t),[f,h]=r.useState(null),p=(0,l.M)(),m=r.useRef(0),_=s??c.disableHoverableContent,v=u??c.delayDuration,y=r.useRef(!1),[b,w]=(0,H.T)({prop:i,defaultProp:o??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent($))):c.onClose(),null==a||a(e)},caller:X}),C=r.useMemo(()=>b?y.current?"delayed-open":"instant-open":"closed",[b]),x=r.useCallback(()=>{window.clearTimeout(m.current),m.current=0,y.current=!1,w(!0)},[w]),T=r.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w(!1)},[w]),S=r.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{y.current=!0,w(!0),m.current=0},v)},[v,w]);return r.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,g.jsx)(E,{...d,children:(0,g.jsx)(J,{scope:t,contentId:p,open:b,stateAttribute:C,trigger:f,onTriggerChange:h,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?S():x()},[c.isOpenDelayedRef,S,x]),onTriggerLeave:r.useCallback(()=>{_?T():(window.clearTimeout(m.current),m.current=0)},[T,_]),onOpen:x,onClose:T,disableHoverableContent:_,children:n})})};K.displayName=X;var Q="TooltipTrigger",ee=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...a}=e,s=q(Q,n),l=W(Q,n),u=B(n),c=r.useRef(null),d=(0,o.e)(t,c,s.onTriggerChange),h=r.useRef(!1),p=r.useRef(!1),m=r.useCallback(()=>h.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,g.jsx)(x,{asChild:!0,...u,children:(0,g.jsx)(f.WV.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...a,ref:d,onPointerMove:(0,i.Mj)(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),p.current=!0)}),onPointerLeave:(0,i.Mj)(e.onPointerLeave,()=>{s.onTriggerLeave(),p.current=!1}),onPointerDown:(0,i.Mj)(e.onPointerDown,()=>{s.open&&s.onClose(),h.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:(0,i.Mj)(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:(0,i.Mj)(e.onBlur,s.onClose),onClick:(0,i.Mj)(e.onClick,s.onClose)})})});ee.displayName=Q;var et="TooltipPortal",[en,er]=V(et,{forceMount:void 0}),ei=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=q(et,t);return(0,g.jsx)(en,{scope:t,forceMount:n,children:(0,g.jsx)(N.z,{present:n||o.open,children:(0,g.jsx)(M.h,{asChild:!0,container:i,children:r})})})};ei.displayName=et;var eo="TooltipContent",ea=r.forwardRef((e,t)=>{let n=er(eo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=q(eo,e.__scopeTooltip);return(0,g.jsx)(N.z,{present:r||a.open,children:a.disableHoverableContent?(0,g.jsx)(ed,{side:i,...o,ref:t}):(0,g.jsx)(es,{side:i,...o,ref:t})})}),es=r.forwardRef((e,t)=>{let n=q(eo,e.__scopeTooltip),i=W(eo,e.__scopeTooltip),a=r.useRef(null),s=(0,o.e)(t,a),[l,u]=r.useState(null),{trigger:c,onClose:d}=n,f=a.current,{onPointerInTransitChange:h}=i,p=r.useCallback(()=>{u(null),h(!1)},[h]),m=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>
18e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())])),h(!0)},[h]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(c&&f){let e=e=>m(e,f),t=e=>m(e,c);return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,p]),r.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],s=t[o],l=a.x,u=a.y,c=s.x,d=s.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(i=!i)}return i}(n,l);r?p():i&&(p(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,l,d,p]),(0,g.jsx)(ed,{...e,ref:s})}),[el,eu]=V(X,{isInside:!1}),ec=(0,D.sA)("TooltipContent"),ed=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:i,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:l,...u}=e,c=q(eo,n),d=B(n),{onClose:f}=c;return r.useEffect(()=>(document.addEventListener($,f),()=>document.removeEventListener($,f)),[f]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,f]),(0,g.jsx)(s.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,g.jsxs)(A,{"data-state":c.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(ec,{children:i}),(0,g.jsx)(el,{scope:n,isInside:!0,children:(0,g.jsx)(U,{id:c.contentId,role:"tooltip",children:o||i})})]})})});ea.displayName=eo;var ef="TooltipArrow",eh=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=B(n);return eu(ef,n).isInside?null:(0,g.jsx)(O,{...i,...r,ref:t})});eh.displayName=ef;var ep=Y,em=K,eg=ee,e_=ei,ev=ea,ey=eh},16137:function(e,t,n){"use strict";n.d(t,{Am:function(){return v},x7:function(){return C}});var r=n(75271),i=n(30967);let o=e=>{switch(e){case"success":return l;case"info":return c;case"warning":return u;case"error":return d;default:return null}},a=Array(12).fill(0),s=({visible:e,className:t})=>r.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},r.createElement("div",{className:"sonner-spinner"},a.map((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),u=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
18currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),f=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),h=()=>{let[e,t]=r.useState(document.hidden);return r.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},p=1;class m{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:p++,o=this.toasts.find(e=>e.id===i),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
18this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n,i;if(!t)return;void 0!==t.loading&&(i=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=Promise.resolve(e instanceof Function?e():e),a=void 0!==i,s=o.then(async e=>{if(n=["resolve",e],r.isValidElement(e))a=!1,this.create({id:i,type:"default",message:e});else if(_(e)&&!e.ok){a=!1;let n="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,r="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:i,type:"error",description:r,..."object"==typeof n?n:{message:n}})}else if(e instanceof Error){a=!1;let n="function"==typeof t.error?await t.error(e):t.error,r="function"==typeof t.description?await t.description(e):t.description;this.create({id:i,type:"error",description:r,..."object"==typeof n?n:{message:n}})}else if(void 0!==t.success){a=!1;let n="function"==typeof t.success?await t.success(e):t.success,r="function"==typeof t.description?await t.description(e):t.description;this.create({id:i,type:"success",description:r,..."object"==typeof n?n:{message:n}})}}).catch(async e=>{if(n=["reject",e],void 0!==t.error){a=!1;let n="function"==typeof t.error?await t.error(e):t.error,r="function"==typeof t.description?await t.description(e):t.description;this.create({id:i,type:"error",description:r,..."object"==typeof n?n:{message:n}})}}).finally(()=>{a&&(this.dismiss(i),i=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===n[0]?t(n[1]):e(n[1])).catch(t));return"string"!=typeof i&&"number"!=typeof i?{unwrap:l}:Object.assign(i,{unwrap:l})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||p++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let g=new m,_=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,v=Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||p++;return g.addToast({title:e,...t,id:n}),n},{success:g.success,info:g.info,warning:g.warning,error:g.error,custom:g.custom,message:g.message,promise:g.promise,dismiss:g.dismiss,loading:g.loading},{getHistory:()=>g.toasts,getToasts:()=>g.getActiveToasts()});function y(e){return void 0!==e.label}function b(...e){return e.filter(Boolean).join(" ")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}[data-sonner-toaster][data-lifted=true]{transform:translateY(-8px)}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
18left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}
18[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);
18--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let w=e=>{var t,n,i,a,l,u,c,d,p,m,g,_,v;let{invert:w,toast:E,unstyled:C,interacting:x,setHeights:T,visibleToasts:S,heights:k,index:A,toasts:L,expanded:I,removeToast:O,defaultRichColors:P,closeButton:j,style:R,cancelButtonStyle:M,actionButtonStyle:N,className:D="",descriptionClassName:H="",duration:F,position:U,gap:V,expandByDefault:G,classNames:B,icons:z,closeButtonAriaLabel:$="Close toast"}=e,[Z,W]=r.useState(null),[Y,X]=r.useState(null),[J,q]=r.useState(!1),[K,Q]=r.useState(!1),[ee,et]=r.useState(!1),[en,er]=r.useState(!1),[ei,eo]=r.useState(!1),[ea,es]=r.useState(0),[el,eu]=r.useState(0),ec=r.useRef(E.duration||F||4e3),ed=r.useRef(null),ef=r.useRef(null),eh=0===A,ep=A+1<=S,em=E.type,eg=!1!==E.dismissible,e_=E.className||"",ev=E.descriptionClassName||"",ey=r.useMemo(()=>k.findIndex(e=>e.toastId===E.id)||0,[k,E.id]),eb=r.useMemo(()=>{var e;return null!=(e=E.closeButton)?e:j},[E.closeButton,j]),ew=r.useMemo(()=>E.duration||F||4e3,[E.duration,F]),eE=r.useRef(0),eC=r.useRef(0),ex=r.useRef(0),eT=r.useRef(null),[eS,ek]=U.split("-"),eA=r.useMemo(()=>
18k.reduce((e,t,n)=>n>=ey?e:e+t.height,0),[k,ey]),eL=h(),eI=E.invert||w,eO="loading"===em;eC.current=r.useMemo(()=>ey*V+eA,[ey,eA]),r.useEffect(()=>{ec.current=ew},[ew]),r.useEffect(()=>{q(!0)},[]),r.useEffect(()=>{let e=ef.current;if(e){let t=e.getBoundingClientRect().height;return eu(t),T(e=>[{toastId:E.id,height:t,position:E.position},...e]),()=>T(e=>e.filter(e=>e.toastId!==E.id))}},[T,E.id]),r.useLayoutEffect(()=>{if(!J)return;let e=ef.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,eu(n),T(e=>e.find(e=>e.toastId===E.id)?e.map(e=>e.toastId===E.id?{...e,height:n}:e):[{toastId:E.id,height:n,position:E.position},...e])},[J,E.title,E.description,T,E.id]);let eP=r.useCallback(()=>{Q(!0),es(eC.current),T(e=>e.filter(e=>e.toastId!==E.id)),setTimeout(()=>{O(E)},200)},[E,O,T,eC]);return r.useEffect(()=>{let e;if((!E.promise||"loading"!==em)&&E.duration!==1/0&&"loading"!==E.type)return I||x||eL?(()=>{if(ex.current<eE.current){let e=new Date().getTime()-eE.current;ec.current=ec.current-e}ex.current=new Date().getTime()})():ec.current!==1/0&&(eE.current=new Date().getTime(),e=setTimeout(()=>{null==E.onAutoClose||E.onAutoClose.call(E,E),eP()},ec.current)),()=>clearTimeout(e)},[I,x,E,em,eL,eP]),r.useEffect(()=>{E.delete&&eP()},[eP,E.delete]),r.createElement("li",{tabIndex:0,ref:ef,className:b(D,e_,null==B?void 0:B.toast,null==E?void 0:null==(t=E.classNames)?void 0:t.toast,null==B?void 0:B.default,null==B?void 0:B[em],null==E?void 0:null==(n=E.classNames)?void 0:n[em]),"data-sonner-toast":"","data-rich-colors":null!=(m=E.richColors)?m:P,"data-styled":!(E.jsx||E.unstyled||C),"data-mounted":J,"data-promise":!!E.promise,"data-swiped":ei,"data-removed":K,"data-visible":ep,"data-y-position":eS,"data-x-position":ek,"data-index":A,"data-front":eh,"data-swiping":ee,"data-dismissible":eg,"data-type":em,"data-invert":eI,"data-swipe-out":en,"data-swipe-direction":Y,"data-expanded":!!(I||G&&J),style:{"--index":A,"--toasts-before":A,"--z-index":L.length-A,"--offset":`${K?ea:eC.current}px`,"--initial-height":G?"auto":`${el}px`,...R,...E.style},onDragEnd:()=>{et(!1),W(null),eT.current=null},onPointerDown:e=>{!eO&&eg&&(ed.current=new Date,es(eC.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(et(!0),eT.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r,i;if(en||!eg)return;eT.current=null;let o=Number((null==(e=ef.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),a=Number((null==(t=ef.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(n=ed.current)?void 0:n.getTime()),l="x"===Z?o:a;
18if(Math.abs(l)>=45||Math.abs(l)/s>.11){es(eC.current),null==E.onDismiss||E.onDismiss.call(E,E),"x"===Z?X(o>0?"right":"left"):X(a>0?"down":"up"),eP(),er(!0);return}null==(r=ef.current)||r.style.setProperty("--swipe-amount-x","0px"),null==(i=ef.current)||i.style.setProperty("--swipe-amount-y","0px"),eo(!1),et(!1),W(null)},onPointerMove:t=>{var n,r,i,o;if(!eT.current||!eg||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let a=t.clientY-eT.current.y,s=t.clientX-eT.current.x,l=null!=(o=e.swipeDirections)?o:function(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(U);!Z&&(Math.abs(s)>1||Math.abs(a)>1)&&W(Math.abs(s)>Math.abs(a)?"x":"y");let u={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if("y"===Z){if(l.includes("top")||l.includes("bottom")){if(l.includes("top")&&a<0||l.includes("bottom")&&a>0)u.y=a;else{let e=a*c(a);u.y=Math.abs(e)<Math.abs(a)?e:a}}}else if("x"===Z&&(l.includes("left")||l.includes("right"))){if(l.includes("left")&&s<0||l.includes("right")&&s>0)u.x=s;else{let e=s*c(s);u.x=Math.abs(e)<Math.abs(s)?e:s}}(Math.abs(u.x)>0||Math.abs(u.y)>0)&&eo(!0),null==(r=ef.current)||r.style.setProperty("--swipe-amount-x",`${u.x}px`),null==(i=ef.current)||i.style.setProperty("--swipe-amount-y",`${u.y}px`)}},eb&&!E.jsx&&"loading"!==em?r.createElement("button",{"aria-label":$,"data-disabled":eO,"data-close-button":!0,onClick:eO||!eg?()=>{}:()=>{eP(),null==E.onDismiss||E.onDismiss.call(E,E)},className:b(null==B?void 0:B.closeButton,null==E?void 0:null==(i=E.classNames)?void 0:i.closeButton)},null!=(g=null==z?void 0:z.close)?g:f):null,em||E.icon||E.promise?r.createElement("div",{"data-icon":"",className:b(null==B?void 0:B.icon,null==E?void 0:null==(a=E.classNames)?void 0:a.icon)},E.promise||"loading"===E.type&&!E.icon?E.icon||((null==z?void 0:z.loading)?r.createElement("div",{className:b(null==B?void 0:B.loader,null==E?void 0:null==(v=E.classNames)?void 0:v.loader,"sonner-loader"),"data-visible":"loading"===em},z.loading):r.createElement(s,{className:b(null==B?void 0:B.loader,null==E?void 0:null==(_=E.classNames)?void 0:_.loader),visible:"loading"===em})):null,"loading"!==E.type?E.icon||(null==z?void 0:z[em])||o(em):null):null,r.createElement("div",{"data-content":"",className:b(null==B?void 0:B.content,null==E?void 0:null==(l=E.classNames)?void 0:l.content)},r.createElement("div",{"data-title":"",className:b(null==B?void 0:B.title,null==E?void 0:null==(u=E.classNames)?void 0:u.title)},E.jsx?E.jsx:"function"==typeof E.title?E.title():E.title),E.description?r.createElement("div",{"data-description":"",className:b(H,ev,null==B?void 0:B.description,null==E?void 0:null==(c=E.classNames)?void 0:c.description)},"function"==typeof E.description?E.description():E.description):null),r.isValidElement(E.cancel)?E.cancel:E.cancel&&y(E.cancel)?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:E.cancelButtonStyle||M,onClick:e=>{y(E.cancel)&&eg&&(null==E.cancel.onClick||E.cancel.onClick.call(E.cancel,e),eP())},className:b(null==B?void 0:B.cancelButton,null==E?void 0:null==(d=E.classNames)?void 0:d.cancelButton)},E.cancel.label):null,r.isValidElement(E.action)?E.action:E.action&&y(E.action)?r.createElement("button",{"data-button":!0,"data-action":!0,style:E.actionButtonStyle||N,onClick:e=>{y(E.action)&&(null==E.action.onClick||E.action.onClick.call(E.action,e),e.defaultPrevented||eP())},className:b(null==B?void 0:B.actionButton,null==E?void 0:null==(p=E.classNames)?void 0:p.actionButton)},E.action.label):null)};function E(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let C=r.forwardRef(function(e,t){let{invert:n,position:o="bottom-right",hotkey:a=["altKey","KeyT"],expand:s,closeButton:l,className:u,offset:c,mobileOffset:d,theme:f="light",richColors:h,duration:p,style:m,visibleToasts:_=3,toastOptions:v,dir:y=E(),gap:b=14,icons:C,containerAriaLabel:x="Notifications"}=e,[T,S]=r.useState([]),k=r.useMemo(()=>Array.from(new Set([o].concat(T.filter(e=>e.position).map(e=>e.position)))),[T,o]),[A,L]=r.useState([]),[I,O]=r.useState(!1),[P,j]=r.useState(!1),[R,M]=r.useState("system"!==f?f:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
18k":"light"),N=r.useRef(null),D=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),H=r.useRef(null),F=r.useRef(!1),U=r.useCallback(e=>{S(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||g.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return r.useEffect(()=>g.subscribe(e=>{if(e.dismiss){let t=T.map(t=>t.id===e.id?{...t,delete:!0}:t);requestAnimationFrame(()=>{S(t)});return}setTimeout(()=>{i.flushSync(()=>{S(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[T]),r.useEffect(()=>{if("system"!==f){M(f);return}if("system"===f&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?M("dark"):M("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{e?M("dark"):M("light")})}catch(t){e.addListener(({matches:e})=>{try{e?M("dark"):M("light")}catch(e){console.error(e)}})}},[f]),r.useEffect(()=>{T.length<=1&&O(!1)},[T]),r.useEffect(()=>{let e=e=>{var t,n;a.every(t=>e[t]||e.code===t)&&(O(!0),null==(n=N.current)||n.focus()),"Escape"===e.code&&(document.activeElement===N.current||(null==(t=N.current)?void 0:t.contains(document.activeElement)))&&O(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),r.useEffect(()=>{if(N.current)return()=>{H.current&&(H.current.focus({preventScroll:!0}),H.current=null,F.current=!1)}},[N.current]),r.createElement("section",{ref:t,"aria-label":`${x} ${D}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((t,i)=>{var o;let[a,f]=t.split("-");return T.length?r.createElement("ol",{key:t,dir:"auto"===y?E():y,tabIndex:-1,ref:N,className:u,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":a,"data-lifted":I&&T.length>1&&!s,"data-x-position":f,style:{"--front-toast-height":`${(null==(o=A[0])?void 0:o.height)||0}px`,"--width":"356px","--gap":`${b}px`,...m,...function(e,t){let n={};return[e,t].forEach((e,t)=>{let r=1===t,i=r?"--mobile-offset":"--offset",o=r?"16px":"24px";function a(e){["top","right","bottom","left"].forEach(t=>{n[`${i}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${i}-${t}`]=o:n[`${i}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(o)}),n}(c,d)},onBlur:e=>{F.current&&!e.currentTarget.contains(e.relatedTarget)&&(F.current=!1,H.current&&(H.current.focus({preventScroll:!0}),H.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F.current||(F.current=!0,H.current=e.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{P||O(!1)},onDragEnd:()=>O(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||j(!0)},onPointerUp:()=>j(!1)},T.filter(e=>!e.position&&0===i||e.position===t).map((i,o)=>{var a,u;return r.createElement(w,{key:i.id,icons:C,index:o,toast:i,defaultRichColors:h,duration:null!=(a=null==v?void 0:v.duration)?a:p,className:null==v?void 0:v.className,descriptionClassName:null==v?void 0:v.descriptionClassName,invert:n,visibleToasts:_,closeButton:null!=(u=null==v?void 0:v.closeButton)?u:l,interacting:P,position:t,style:null==v?void 0:v.style,unstyled:null==v?void 0:v.unstyled,classNames:null==v?void 0:v.classNames,cancelButtonStyle:null==v?void 0:v.cancelButtonStyle,actionButtonStyle:null==v?void 0:v.actionButtonStyle,closeButtonAriaLabel:null==v?void 0:v.closeButtonAriaLabel,removeToast:U,toasts:T.filter(e=>e.position==i.position),heights:A.filter(e=>e.position==i.position),setHeights:L,expandByDefault:s,gap:b,expanded:I,swipeDirections:e.swipeDirections})})):null}))})},5515:function(e,t,n){"use strict";n.d(t,{m6:function(){return X}});let r=e=>{let t=s(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),o=r?i(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=e=>
18{if(o.test(e)){let t=o.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},s=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),n).forEach(([e,n])=>{l(n,r,e,t)}),r},l=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=n;return}if("function"==typeof e){if(c(e)){l(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{l(i,u(t,e),n,r)})})},u=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},c=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,f=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,o)=>{n.set(i,o),++t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},h=e=>{let{separator:t,experimentalParseClassName:n}=e,r=1===t.length,i=t[0],o=t.length,a=e=>{let n;let a=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===i&&(r||e.slice(u,u+o)===t)){a.push(e.slice(l,u)),l=u+o;continue}if("/"===c){n=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===a.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:n&&n>l?n-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},p=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},m=e=>({cache:f(e.cacheSize),parseClassName:h(e),...r(e)}),g=/\s+/,_=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(g),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=n(t),f=!!d,h=r(f?c.substring(0,d):c);if(!h){if(!f||!(h=r(c))){s=t+(s.length>0?" "+s:s);continue}f=!1}let m=p(l).join(":"),g=u?m+"!":m,_=g+h;if(o.includes(_))continue;o.push(_);let v=i(h,f);for(let e=0;e<v.length;++e){let t=v[e];o.push(g+t)}s=t+(s.length>0?" "+s:s)}return s};function v(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=y(e))&&(r&&(r+=" "),r+=t);return r}let y=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=y(e[r]))&&(n&&(n+=" "),n+=t);return n},b=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,E=/^\d+\/\d+$/,C=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,k=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>O(e)||C.has(e)||E.test(e),I=e=>z(e,"length",$),O=e=>!!e&&!Number.isNaN(Number(e)),P=e=>z(e,"number",O),j=e=>!!e&&Number.isInteger(Number(e)),R=e=>e.endsWith("%")&&O(e.slice(0,-1)),M=e=>w.test(e),N=e=>x.test(e),D=new Set(["length","size","percentage"]),H=e=>z(e,D,Z),F=e=>z(e,"position",Z),U=new Set(["image","url"]),V=e=>z(e,U,Y),G=e=>z(e,"",W),B=()=>!0,z=(e,t,n)=>{let r=w.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},$=e=>T.test(e)&&!S.test(e),Z=()=>!1,W=e=>k.test(e),Y=e=>A.test(e),X=function(e,...t){let n,r,i;let o=function(s){return r=(n=m(t.reduce((e,t)=>t(e),e()))).cache.get,i=n.cache.set,o=a,a(s)};function a(e){let t=r(e);if(t)return t;let o=_(e,n);return i(e,o),o}return function(){return o(v.apply(null,arguments))}}(()=>{let e=b("colors"),t=b("spacing"),n=b("blur"),r=b("brightness"),i=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),l=b("contrast"),u=b("grayscale"),c=b("hueRotate"),d=b("invert"),f=b("gap"),h=b("gradientColorStops"),p=b("gradientColorStopPositions"),m=b("inset"),g=b("margin"),_=b("opacity"),v=b("padding"),y=b("saturate"),w=b("scale"),E=b("sepia"),C=b("skew"),x=b("space"),T=b("translate"),S=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",M,t],D=()=>[M,t],U=()=>["",L,I],z=()=>["auto",O,M],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",M],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[O,M];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[L,I],blur:["none","",
vendor: 11,505 bytes, line 18
18N,M],brightness:q(),borderColor:[e],borderRadius:["none","","full",N,M],borderSpacing:D(),borderWidth:U(),contrast:q(),grayscale:X(),hueRotate:q(),invert:X(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[R,I],inset:A(),margin:A(),opacity:q(),padding:D(),saturate:q(),scale:q(),sepia:X(),skew:q(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),M]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,M]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",j,M]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",j,M]},M]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[j,M]},M]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,t]}],"min-w":[{"min-w":[M,t,"min","max","fit"]}],"max-w":[{"max-w":[M,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[M,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",O,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,I]}],"underline-offset":[{"underline-offset":["auto",L,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),F]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",H]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},V]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:Z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[L,M]}],"outline-w":[{outline:[L,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[L,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,G]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",N,M]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[j,M]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
18],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[L,I,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},15767:function(e,t,n){"use strict";n.d(t,{Jh:function(){return l},XA:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});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])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw 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 o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
18if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},64155:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return s}});var i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));var s=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();let s=(e=e||{}).random||(e.rng||function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)})();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=s[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(s)}},19624:function(e,t,n){"use strict";n.d(t,{Ue:function(){return f},oR:function(){return c}});var r=n(35987),i=n(75271),o=n(8769);let{useDebugValue:a}=i,{useSyncExternalStoreWithSelector:s}=o,l=!1,u=e=>e;function c(e,t=u,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);let r=s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(r),r}let d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.M)(e):e,n=(e,n)=>c(t,e,n);return Object.assign(n,t),n},f=e=>e?d(e):d},98496:function(e,t,n){"use strict";function r(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;let i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),o=null!=(r=n.getItem(e))?r:null;return o instanceof Promise?o.then(i):i(o)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}n.d(t,{FL:function(){return r},tJ:function(){return s}});let i=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>i(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>i(t)(e)}}},o=(e,t)=>(n,r,o)=>{let a,s,l={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},u=!1,c=new Set,d=new Set;try{a=l.getStorage()}catch(e){}if(!a)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),n(...e)},r,o);let f=i(l.serialize),h=()=>{let e;let t=f({state:l.partialize({...r()}),version:l.version}).then(e=>a.setItem(l.name,e)).catch(t=>{e=t});if(e)throw e;return t},p=o.setState;o.setState=(e,t)=>{p(e,t),h()};let m=e((...e)=>{n(...e),h()},r,o),g=()=>{var e;if(!a)return;u=!1,c.forEach(e=>e(r()));let t=(null==(e=l.onRehydrateStorage)?void 0:e.call(l,r()))||void 0;return i(a.getItem.bind(a))(l.name).then(e=>{if(e)return l.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return e.state;if(l.migrate)return l.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return n(s=l.merge(e,null!=(t=r())?t:m),!0),h()}).then(()=>{null==t||t(s,void 0),u=!0,d.forEach(e=>e(s))}).catch(e=>{null==t||t(void 0,e)})};return o.persist={setOptions:e=>{l={...l,...e},e.getStorage&&(a=e.getStorage())},clearStorage:()=>{null==a||a.removeItem(l.name)}
18,getOptions:()=>l,rehydrate:()=>g(),hasHydrated:()=>u,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},g(),s||m},a=(e,t)=>(n,o,a)=>{let s,l={storage:r(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},u=!1,c=new Set,d=new Set,f=l.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),n(...e)},o,a);let h=()=>{let e=l.partialize({...o()});return f.setItem(l.name,{state:e,version:l.version})},p=a.setState;a.setState=(e,t)=>{p(e,t),h()};let m=e((...e)=>{n(...e),h()},o,a);a.getInitialState=()=>m;let g=()=>{var e,t;if(!f)return;u=!1,c.forEach(e=>{var t;return e(null!=(t=o())?t:m)});let r=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=o())?e:m))||void 0;return i(f.getItem.bind(f))(l.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return[!1,e.state];if(l.migrate)return[!0,l.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[r,i]=e;if(n(s=l.merge(i,null!=(t=o())?t:m),!0),r)return h()}).then(()=>{null==r||r(s,void 0),s=o(),u=!0,d.forEach(e=>e(s))}).catch(e=>{null==r||r(void 0,e)})};return a.persist={setOptions:e=>{l={...l,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>g(),hasHydrated:()=>u,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},l.skipHydration||g(),s||m},s=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),o(e,t)):a(e,t)},35987:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});let r=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,i,o);return o},i=e=>e?r(e):r},18344:function(e){"use strict";e.exports=JSON.parse('{"abap":"abap","sh":"shell","shell-script":"shell","bash":"shell","zsh":"shell","text":"vb.net","c_cpp":"c++","clojure":"clojure","coffee":"coffeescript","coffee-script":"coffeescript","cpp":"c++","csharp":"c#","cake":"c#","cakescript":"c#","css":"css","dart":"dart","diff":"diff","udiff":"diff","dockerfile":"docker","elixir":"elixir","elm":"elm","erlang":"erlang","fsharp":"f#","cucumber":"gherkin","glsl":"glsl","golang":"go","groovy":"groovy","haskell":"haskell","html":"html","xhtml":"html","java":"java/c/c++/c#","javascript":"javascript","js":"javascript","node":"javascript","json":"json","julia":"julia","tex":"latex","latex":"latex","less":"less","lisp":"webassembly","livescript":"livescript","live-script":"livescript","ls":"livescript","lua":"lua","makefile":"makefile","bsdmake":"makefile","make":"makefile","mf":"makefile","markdown":"markdown","pandoc":"markdown","matlab":"matlab","octave":"matlab","nix":"nix","nixos":"nix","objectivec":"objective-c","obj-c":"objective-c","objc":"objective-c","ocaml":"ocaml","pascal":"pascal","delphi":"pascal","objectpascal":"pascal","perl":"perl","cperl":"perl","php":"php","inc":"php","powershell":"powershell","posh":"powershell","pwsh":"powershell","prolog":"prolog","protobuf":"protobuf","Protocol Buffers":"protobuf","python":"python","python3":"python","rusthon":"python","r":"r","R":"r","Rscript":"r","splus":"r","rust":"rust","ruby":"ruby","jruby":"ruby","macruby":"ruby","rake":"ruby","rb":"ruby","rbx":"ruby","rs":"rust","sass":"sass","scala":"scala","scheme":"scheme","scss":"scss","sql":"sql","typescript":"typescript","ts":"typescript","visual basic":"vb.net","vbnet":"vb.net","vb .net":"vb.net","vb.net":"vb.net","verilog":"verilog","vhdl":"vhdl","wast":"webassembly","wasm":"webassembly","xml":"xml","rss":"xml","xsd":"xml","wsdl":"xml","yaml":"yaml","yml":"yaml"}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[49774,40179],function(){return t(53868),t(70598)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.